!function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var e=window.UIkit||t(window,window.jQuery,window.document);return e.load=function(t,i,o,n){var s,a=t.split(","),r=[],l=(n.config&&n.config.uikit&&n.config.uikit.base?n.config.uikit.base:"").replace(/\/+$/g,"");if(!l)throw new Error("Please define base path to UIkit in the requirejs config.");for(s=0;s0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,o.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,o.Utils={},o.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},o.Utils.str2json=function(t,e){try{return e?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,e){return'"'+e+'":'}).replace(/'([^']+)'/g,function(t,e){return'"'+e+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(i){return!1}},o.Utils.debounce=function(t,e,i){var o;return function(){var n=this,s=arguments,a=function(){o=null,i||t.apply(n,s)},r=i&&!o;clearTimeout(o),o=setTimeout(a,e),r&&t.apply(n,s)}},o.Utils.throttle=function(t,e){var i=!1;return function(){i||(t.call(),i=!0,setTimeout(function(){i=!1},e))}},o.Utils.removeCssRules=function(t){var e,i,o,n,s,a,r,l,d,h;t&&setTimeout(function(){try{for(h=document.styleSheets,n=0,r=h.length;n=a&&d-i.topoffset<=a+o.$win.height()&&l+n.width()>=s&&l-i.leftoffset<=s+o.$win.width()},o.Utils.checkDisplay=function(t,i){var n=o.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!n.length&&(n=e(t)),n.trigger("display.uk.check"),i&&("string"!=typeof i&&(i='[class*="uk-animation-"]'),n.find(i).each(function(){var t=o.$(this),e=t.attr("class"),i=e.match(/uk-animation-(.+)/);t.removeClass(i[0]).width(),t.addClass(i[0])})),n},o.Utils.options=function(t){if("string"!=e.type(t))return t;t.indexOf(":")!=-1&&"}"!=t.trim().substr(-1)&&(t="{"+t+"}");var i=t?t.indexOf("{"):-1,n={};if(i!=-1)try{n=o.Utils.str2json(t.substr(i))}catch(s){}return n},o.Utils.animate=function(t,i){var n=e.Deferred();return t=o.$(t),t.css("display","none").addClass(i).one(o.support.animation.end,function(){t.removeClass(i),n.resolve()}),t.css("display",""),n.promise()},o.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},o.Utils.template=function(t,e){for(var i,o,n,s,a=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),r=0,l=[],d=0;r/g, '>');}"].join("\n")),e?s(e):s},o.Utils.focus=function(t,i){t=e(t);var o,n=t.find("[autofocus]:first");return n.length?n.focus():(n=t.find(":input"+(i&&","+i||"")).first(),n.length?n.focus():(t.attr("tabindex")||(o=1e3,t.attr("tabindex",o)),t[0].focus(),o&&t.attr("tabindex",""),t))},o.Utils.events={},o.Utils.events.click=o.support.touch?"tap":"click",t.UIkit=o,o.fn=function(t,i){var n=arguments,s=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),a=s[1],r=s[2];return o[a]?this.each(function(){var t=e(this),s=t.data(a);s||t.data(a,s=o[a](this,r?void 0:i)),r&&s[r].apply(s,Array.prototype.slice.call(n,1))}):(e.error("UIkit component ["+a+"] does not exist."),this)},e.UIkit=o,e.fn.uk=o.fn,o.langdirection="rtl"==o.$html.attr("dir")?"right":"left",o.components={},o.component=function(t,i){var n=function(i,s){var a=this;return this.UIkit=o,this.element=i?o.$(i):null,this.options=e.extend(!0,{},this.defaults,s),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(n.plugins)).forEach(function(t){n.plugins[t].init&&(n.plugins[t].init(a),a.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return n.plugins={},e.extend(!0,n.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,e,i){return o.$(this.element||this).on(t,e,i)},one:function(t,e,i){return o.$(this.element||this).one(t,e,i)},off:function(t){return o.$(this.element||this).off(t)},trigger:function(t,e){return o.$(this.element||this).trigger(t,e)},find:function(t){return o.$(this.element?this.element:[]).find(t)},proxy:function(t,e){var i=this;e.split(" ").forEach(function(e){i[e]||(i[e]=function(){return t[e].apply(t,arguments)})})},mixin:function(t,e){var i=this;e.split(" ").forEach(function(e){i[e]||(i[e]=t[e].bind(i))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:void(2==arguments.length&&(this.options[arguments[0]]=arguments[1]))}},i),this.components[t]=n,this[t]=function(){var i,n;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?i=e(arguments[0]):n=arguments[0];break;case 2:i=e(arguments[0]),n=arguments[1]}return i&&i.data(t)?i.data(t):new o.components[t](i,n)},o.domready&&o.component.boot(t),n},o.plugin=function(t,e,i){this.components[t].plugins[e]=i},o.component.boot=function(t){o.components[t].prototype&&o.components[t].prototype.boot&&!o.components[t].booted&&(o.components[t].prototype.boot.apply(o,[]),o.components[t].booted=!0)},o.component.bootComponents=function(){for(var t in o.components)o.component.boot(t)},o.domObservers=[],o.domready=!1,o.ready=function(t){o.domObservers.push(t),o.domready&&t(document)},o.on=function(t,e,i){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready&&e.apply(o.$doc),o.$doc.on(t,e,i)},o.one=function(t,e,i){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready?(e.apply(o.$doc),o.$doc):o.$doc.one(t,e,i)},o.trigger=function(t,e){return o.$doc.trigger(t,e)},o.domObserve=function(t,e){o.support.mutationobserver&&(e=e||function(){},o.$(t).each(function(){var t=this,i=o.$(t);if(!i.data("observer"))try{var n=new o.support.mutationobserver(o.Utils.debounce(function(o){e.apply(t,[i]),i.trigger("changed.uk.dom")},50),{childList:!0,subtree:!0});n.observe(t,{childList:!0,subtree:!0}),i.data("observer",n)}catch(s){}}))},o.init=function(t){t=t||document,o.domObservers.forEach(function(e){e(t)})},o.on("domready.uk.dom",function(){o.init(),o.domready&&o.Utils.checkDisplay()}),document.addEventListener("DOMContentLoaded",function(){var t=function(){o.$body=o.$("body"),o.trigger("beforeready.uk.dom"),o.component.bootComponents();var t=requestAnimationFrame(function(){var e={dir:{x:0,y:0},x:window.pageXOffset,y:window.pageYOffset},i=function(){var n=window.pageXOffset,s=window.pageYOffset;e.x==n&&e.y==s||(n!=e.x?e.dir.x=n>e.x?1:-1:e.dir.x=0,s!=e.y?e.dir.y=s>e.y?1:-1:e.dir.y=0,e.x=n,e.y=s,o.$doc.trigger("scrolling.uk.document",[{dir:{x:e.dir.x,y:e.dir.y},x:n,y:s}])),cancelAnimationFrame(t),t=requestAnimationFrame(i)};return o.support.touch&&o.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",i),(e.x||e.y)&&i(),i}());if(o.trigger("domready.uk.dom"),o.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&o.$win.on("load orientationchange resize",o.Utils.debounce(function(){var t=function(){return e(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),o.trigger("afterready.uk.dom"),o.domready=!0,o.support.mutationobserver){var i=o.Utils.debounce(function(){requestAnimationFrame(function(){o.init(document.body)})},10);new o.support.mutationobserver(function(t){var e=!1;t.every(function(t){if("childList"!=t.type)return!0;for(var i,o=0;o=Math.abs(i-o)?t-e>0?"Left":"Right":i-o>0?"Up":"Down"}function i(){d=null,u.last&&(void 0!==u.el&&u.el.trigger("longTap"),u={})}function o(){d&&clearTimeout(d),d=null}function n(){a&&clearTimeout(a),r&&clearTimeout(r),l&&clearTimeout(l),d&&clearTimeout(d),a=r=l=d=null,u={}}function s(t){return t.pointerType==t.MSPOINTER_TYPE_TOUCH&&t.isPrimary}if(!t.fn.swipeLeft){var a,r,l,d,h,u={},c=750;t(function(){var p,f,m,g=0,v=0;"MSGesture"in window&&(h=new MSGesture,h.target=document.body),t(document).on("MSGestureEnd gestureend",function(t){var e=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;e&&void 0!==u.el&&(u.el.trigger("swipe"),u.el.trigger("swipe"+e))}).on("touchstart MSPointerDown pointerdown",function(e){("MSPointerDown"!=e.type||s(e.originalEvent))&&(m="MSPointerDown"==e.type||"pointerdown"==e.type?e:e.originalEvent.touches[0],p=Date.now(),f=p-(u.last||p),u.el=t("tagName"in m.target?m.target:m.target.parentNode),a&&clearTimeout(a),u.x1=m.pageX,u.y1=m.pageY,f>0&&f<=250&&(u.isDoubleTap=!0),u.last=p,d=setTimeout(i,c),!h||"MSPointerDown"!=e.type&&"pointerdown"!=e.type&&"touchstart"!=e.type||h.addPointer(e.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(t){("MSPointerMove"!=t.type||s(t.originalEvent))&&(m="MSPointerMove"==t.type||"pointermove"==t.type?t:t.originalEvent.touches[0],o(),u.x2=m.pageX,u.y2=m.pageY,g+=Math.abs(u.x1-u.x2),v+=Math.abs(u.y1-u.y2))}).on("touchend MSPointerUp pointerup",function(i){("MSPointerUp"!=i.type||s(i.originalEvent))&&(o(),u.x2&&Math.abs(u.x1-u.x2)>30||u.y2&&Math.abs(u.y1-u.y2)>30?l=setTimeout(function(){void 0!==u.el&&(u.el.trigger("swipe"),u.el.trigger("swipe"+e(u.x1,u.x2,u.y1,u.y2))),u={}},0):"last"in u&&(isNaN(g)||g<30&&v<30?r=setTimeout(function(){var e=t.Event("tap");e.cancelTouch=n,void 0!==u.el&&u.el.trigger(e),u.isDoubleTap?(void 0!==u.el&&u.el.trigger("doubleTap"),u={}):a=setTimeout(function(){a=null,void 0!==u.el&&u.el.trigger("singleTap"),u={}},250)},0):u={},g=v=0))}).on("touchcancel MSPointerCancel pointercancel",n),t(window).on("scroll",n)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(e){t.fn[e]=function(i){return t(this).on(e,i)}})}}(jQuery),function(t){"use strict";var e=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top",rowfirst:!1,observe:!1},boot:function(){t.ready(function(e){t.$("[data-uk-margin]",e).each(function(){var e=t.$(this);e.data("stackMargin")||t.stackMargin(e,t.Utils.options(e.attr("data-uk-margin")))})})},init:function(){var i=this;t.$win.on("resize orientationchange",function(){var e=function(){i.process()};return t.$(function(){e(),t.$win.on("load",e)}),t.Utils.debounce(e,20)}()),this.on("display.uk.check",function(t){this.element.is(":visible")&&this.process()}.bind(this)),this.options.observe&&t.domObserve(this.element,function(t){i.element.is(":visible")&&i.process()}),e.push(this)},process:function(){var e=this.element.children();if(t.Utils.stackMargin(e,this.options),!this.options.rowfirst||!e.length)return this;var i={},o=!1;return e.removeClass(this.options.rowfirst).each(function(e,n){n=t.$(this),"none"!=this.style.display&&(e=n.offset().left,((i[e]=i[e]||[])&&i[e]).push(this),o=o===!1?e:Math.min(o,e))}),t.$(i[o]).addClass(this.options.rowfirst),this}}),function(){var e=[],i=function(t){if(t.is(":visible")){var e=t.parent().width(),i=t.data("width"),o=e/i,n=Math.floor(o*t.data("height"));t.css({height:eo.top&&e.data("ukMarginPos")>o.pos&&e.addClass(i.cls)})},t.Utils.matchHeights=function(e,i){e=t.$(e).css("min-height",""),i=t.$.extend({row:!0},i);var o=function(e){if(!(e.length<2)){var i=0;e.each(function(){i=Math.max(i,t.$(this).outerHeight())}).each(function(){var e=t.$(this),o=i-("border-box"==e.css("box-sizing")?0:e.outerHeight()-e.height());e.css("min-height",o+"px")})}};i.row?(e.first().width(),setTimeout(function(){var i=!1,n=[];e.each(function(){var e=t.$(this),s=e.offset().top;s!=i&&n.length&&(o(t.$(n)),n=[],s=e.offset().top),n.push(e),i=s}),n.length&&o(t.$(n))},0)):o(e)},function(e){t.Utils.inlineSvg=function(i,o){t.$(i||'img[src$=".svg"]',o||document).each(function(){var i=t.$(this),o=i.attr("src");if(!e[o]){var n=t.$.Deferred();t.$.get(o,{nc:Math.random()},function(e){n.resolve(t.$(e).find("svg"))}),e[o]=n.promise()}e[o].then(function(e){var o=t.$(e).clone();i.attr("id")&&o.attr("id",i.attr("id")),i.attr("class")&&o.attr("class",i.attr("class")),i.attr("style")&&o.attr("style",i.attr("style")),i.attr("width")&&(o.attr("width",i.attr("width")),i.attr("height")||o.removeAttr("height")),i.attr("height")&&(o.attr("height",i.attr("height")),i.attr("width")||o.removeAttr("width")),i.replaceWith(o)})})},t.ready(function(e){t.Utils.inlineSvg("[data-uk-svg]",e)})}({}),t.Utils.getCssVar=function(t){var e,i=document.documentElement,o=i.appendChild(document.createElement("div"));o.classList.add("var-"+t);try{e=JSON.parse(e=getComputedStyle(o,":before").content.replace(/^["'](.*)["']$/,"$1"))}catch(n){e=void 0}return i.removeChild(o),e}}(UIkit),function(t){"use strict";function e(e,i){i=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},i);var o=e.offset().top-i.offset,n=t.$doc.height(),s=window.innerHeight;o+s>n&&(o=n-s),t.$("html,body").stop().animate({scrollTop:o},i.duration,i.transition).promise().done(i.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(e){var i=t.$(this);if(!i.data("smoothScroll")){t.smoothScroll(i,t.Utils.options(i.attr("data-uk-smooth-scroll")));i.trigger("click")}return!1})},init:function(){var i=this;this.on("click",function(o){o.preventDefault(),e(t.$(this.hash).length?t.$(this.hash):t.$("body"),i.options)})}}),t.Utils.scrollToElement=e,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,e,i,o,n){return e==n?i+o:o*(-Math.pow(2,-10*e/n)+1)+i})}(UIkit),function(t){"use strict";var e=t.$win,i=t.$doc,o=[],n=function(){for(var t=0;t=h)return i[t]}();if(!u)return;d.options.closest?(n.blur().closest(l).removeClass(r),s=n.filter("a[href='#"+u.attr("id")+"']").closest(l).addClass(r)):s=n.removeClass(r).filter("a[href='#"+u.attr("id")+"']").addClass(r),d.element.trigger("inview.uk.scrollspynav",[u,s])}};this.options.smoothscroll&&t.smoothScroll&&n.each(function(){t.smoothScroll(this,d.options.smoothscroll)}),h(),this.element.data("scrollspynav",this),this.check=h,s.push(this)}})}(UIkit),function(t){"use strict";var e=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-toggle]",i).each(function(){var e=t.$(this);if(!e.data("toggle")){t.toggle(e,t.Utils.options(e.attr("data-uk-toggle")))}}),setTimeout(function(){e.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=this.options.cls.indexOf("uk-hidden")!==-1,this.on("click",function(e){t.element.is('a[href="javascript:void(0);"]')&&e.preventDefault(),t.toggle()}),e.push(this)},toggle:function(){if(this.getToggles(),this.totoggle.length){if(this.options.animation&&t.support.animation){var e=this,i=this.options.animation.split(",");1==i.length&&(i[1]=i[0]),i[0]=i[0].trim(),i[1]=i[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.each(function(){var o=t.$(this);o.hasClass(e.options.cls)?(o.toggleClass(e.options.cls),t.Utils.animate(o,i[0]).then(function(){o.css("animation-duration",""),t.Utils.checkDisplay(o)})):t.Utils.animate(this,i[1]+" uk-animation-reverse").then(function(){o.toggleClass(e.options.cls).css("animation-duration",""),t.Utils.checkDisplay(o)})})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.not("[aria-hidden]").each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit),function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(e){var i=t.$(this);if(!i.data("alert")){var o=t.alert(i,t.Utils.options(i.attr("data-uk-alert")));t.$(e.target).is(o.options.trigger)&&(e.preventDefault(),o.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(e){e.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),e=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,e):e()}})}(UIkit),function(t){"use strict";t.component("buttonRadio",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(e){var i=t.$(this);if(!i.data("buttonRadio")){var o=t.buttonRadio(i,t.Utils.options(i.attr("data-uk-button-radio"))),n=t.$(e.target);n.is(o.options.target)&&n.trigger("click")}})},init:function(){var e=this;this.find(e.options.target).attr("aria-checked","false").filter("."+e.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(i){var o=t.$(this);o.is('a[href="javascript:void(0);"]')&&i.preventDefault(),e.find(e.options.target).not(o).removeClass(e.options.activeClass).blur(),o.addClass(e.options.activeClass),e.find(e.options.target).not(o).attr("aria-checked","false"),o.attr("aria-checked","true"),e.trigger("change.uk.button",[o])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("buttonCheckbox",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(e){var i=t.$(this);if(!i.data("buttonCheckbox")){var o=t.buttonCheckbox(i,t.Utils.options(i.attr("data-uk-button-checkbox"))),n=t.$(e.target);n.is(o.options.target)&&n.trigger("click")}})},init:function(){var e=this;this.find(e.options.target).attr("aria-checked","false").filter("."+e.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(i){var o=t.$(this);o.is('a[href="javascript:void(0);"]')&&i.preventDefault(),o.toggleClass(e.options.activeClass).blur(),o.attr("aria-checked",o.hasClass(e.options.activeClass)),e.trigger("change.uk.button",[o])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(e){var i=t.$(this);if(!i.data("button")){t.button(i,t.Utils.options(i.attr("data-uk-button")));i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(e){t.element.is('a[href="javascript:void(0);"]')&&e.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit),function(t){"use strict";function e(e,i,o,n){if(e=t.$(e),i=t.$(i),o=o||window.innerWidth,n=n||e.offset(),i.length){var s=i.outerWidth();if(e.css("min-width",s),"right"==t.langdirection){var a=o-(i.offset().left+s),r=o-(e.offset().left+e.outerWidth());e.css("margin-right",a-r)}else e.css("margin-left",i.offset().left-n.left)}}var i,o=!1,n={x:{"bottom-left":"bottom-right","bottom-right":"bottom-left","bottom-center":"bottom-center","top-left":"top-right","top-right":"top-left","top-center":"top-center","left-top":"right-top","left-bottom":"right-bottom","left-center":"right-center","right-top":"left-top","right-bottom":"left-bottom","right-center":"left-center"},y:{"bottom-left":"top-left","bottom-right":"top-right","bottom-center":"top-center","top-left":"bottom-left","top-right":"bottom-right","top-center":"bottom-center","left-top":"left-bottom","left-bottom":"left-top","left-center":"left-center","right-top":"right-bottom","right-bottom":"right-top","right-center":"right-center"},xy:{"bottom-left":"top-right","bottom-right":"top-left","bottom-center":"top-center","top-left":"bottom-right","top-right":"bottom-left","top-center":"bottom-center","left-top":"right-bottom","left-bottom":"right-top","left-center":"right-center","right-top":"left-bottom","right-bottom":"left-top","right-center":"left-center"}};t.component("dropdown",{defaults:{mode:"hover",pos:"bottom-left",offset:0,remaintime:800,justify:!1,boundary:t.$win,delay:0,dropdownSelector:".uk-dropdown,.uk-dropdown-blank",hoverDelayIdle:250,preventflip:!1},remainIdle:!1,boot:function(){var e=t.support.touch?"click":"mouseenter";t.$html.on(e+".dropdown.uikit focus","[data-uk-dropdown]",function(i){var o=t.$(this);if(!o.data("dropdown")){var n=t.dropdown(o,t.Utils.options(o.attr("data-uk-dropdown")));("click"==e||"mouseenter"==e&&"hover"==n.options.mode)&&n.element.trigger(e),n.element.find(n.options.dropdownSelector).length&&i.preventDefault()}})},init:function(){var e=this;this.dropdown=this.find(this.options.dropdownSelector),this.offsetParent=this.dropdown.parents().filter(function(){return t.$.inArray(t.$(this).css("position"),["relative","fixed","absolute"])!==-1}).slice(0,1),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=!!this.options.justify&&t.$(this.options.justify),this.boundary=t.$(this.options.boundary),this.boundary.length||(this.boundary=t.$win),this.dropdown.hasClass("uk-dropdown-up")&&(this.options.pos="top-left"),this.dropdown.hasClass("uk-dropdown-flip")&&(this.options.pos=this.options.pos.replace("left","right")),this.dropdown.hasClass("uk-dropdown-center")&&(this.options.pos=this.options.pos.replace(/(left|right)/,"center")),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),this.dropdown.attr("aria-hidden","true"),"click"==this.options.mode||t.support.touch?this.on("click.uk.dropdown",function(i){var o=t.$(i.target);o.parents(e.options.dropdownSelector).length||((o.is("a[href='javascript:void(0);']")||o.parent().is("a[href='javascript:void(0);']")||e.dropdown.length&&!e.dropdown.is(":visible"))&&i.preventDefault(),o.blur()),e.element.hasClass("uk-open")?(!e.dropdown.find(i.target).length||o.is(".uk-dropdown-close")||o.parents(".uk-dropdown-close").length)&&e.hide():e.show()}):this.on("mouseenter",function(t){e.trigger("pointerenter.uk.dropdown",[e]),e.remainIdle&&clearTimeout(e.remainIdle),i&&clearTimeout(i),o&&o==e||(i=o&&o!=e?setTimeout(function(){i=setTimeout(e.show.bind(e),e.options.delay)},e.options.hoverDelayIdle):setTimeout(e.show.bind(e),e.options.delay))}).on("mouseleave",function(){i&&clearTimeout(i),e.remainIdle=setTimeout(function(){o&&o==e&&e.hide()},e.options.remaintime),e.trigger("pointerleave.uk.dropdown",[e])}).on("click",function(i){var n=t.$(i.target);return e.remainIdle&&clearTimeout(e.remainIdle),o&&o==e?void((!e.dropdown.find(i.target).length||n.is(".uk-dropdown-close")||n.parents(".uk-dropdown-close").length)&&e.hide()):((n.is("a[href='javascript:void(0);']")||n.parent().is("a[href='javascript:void(0);']"))&&i.preventDefault(),void e.show())})},show:function(){t.$html.off("click.outer.dropdown"),o&&o!=this&&o.hide(!0),i&&clearTimeout(i),this.trigger("beforeshow.uk.dropdown",[this]),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.dropdown.attr("aria-hidden","false"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),t.Utils.focus(this.dropdown),o=this,this.registerOuterClick()},hide:function(t){this.trigger("beforehide.uk.dropdown",[this,t]),this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.dropdown.attr("aria-hidden","true"),this.trigger("hide.uk.dropdown",[this,t]),o==this&&(o=!1)},registerOuterClick:function(){var e=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(n){i&&clearTimeout(i);t.$(n.target);o!=e||e.element.find(n.target).length||(e.hide(!0),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.dropdown.removeClass("uk-dropdown-top uk-dropdown-bottom uk-dropdown-left uk-dropdown-right uk-dropdown-stack").css({"top-left":"",left:"","margin-left":"","margin-right":""}),this.justified&&this.justified.length&&this.dropdown.css("min-width","");var i,o=t.$.extend({},this.offsetParent.offset(),{width:this.offsetParent[0].offsetWidth,height:this.offsetParent[0].offsetHeight}),s=this.options.offset,a=this.dropdown,r=(a.show().offset()||{left:0,top:0},a.outerWidth()),l=a.outerHeight(),d=this.boundary.width(),h=(this.boundary[0]!==window&&this.boundary.offset()?this.boundary.offset():{top:0,left:0},this.options.pos),u={"bottom-left":{top:0+o.height+s,left:0},"bottom-right":{top:0+o.height+s,left:0+o.width-r},"bottom-center":{top:0+o.height+s,left:0+o.width/2-r/2},"top-left":{top:0-l-s,left:0},"top-right":{top:0-l-s,left:0+o.width-r},"top-center":{top:0-l-s,left:0+o.width/2-r/2},"left-top":{top:0,left:0-r-s},"left-bottom":{top:0+o.height-l,left:0-r-s},"left-center":{top:0+o.height/2-l/2,left:0-r-s},"right-top":{ top:0,left:0+o.width+s},"right-bottom":{top:0+o.height-l,left:0+o.width+s},"right-center":{top:0+o.height/2-l/2,left:0+o.width+s}},c={};if(i=h.split("-"),c=u[h]?u[h]:u["bottom-left"],this.justified&&this.justified.length)e(a.css({left:0}),this.justified,d);else if(this.options.preventflip!==!0){var p;switch(this.checkBoundary(o.left+c.left,o.top+c.top,r,l,d)){case"x":"x"!==this.options.preventflip&&(p=n.x[h]||"right-top");break;case"y":"y"!==this.options.preventflip&&(p=n.y[h]||"top-left");break;case"xy":this.options.preventflip||(p=n.xy[h]||"right-bottom")}p&&(i=p.split("-"),c=u[p]?u[p]:u["bottom-left"],this.checkBoundary(o.left+c.left,o.top+c.top,r,l,d)&&(i=h.split("-"),c=u[h]?u[h]:u["bottom-left"]))}r>d&&(a.addClass("uk-dropdown-stack"),this.trigger("stack.uk.dropdown",[this])),a.css(c).css("display","").addClass("uk-dropdown-"+i[0])}},checkBoundary:function(e,i,o,n,s){var a="";return(e<0||e-t.$win.scrollLeft()+o>s)&&(a+="x"),(i-t.$win.scrollTop()<0||i-t.$win.scrollTop()+n>window.innerHeight)&&(a+="y"),a}}),t.component("dropdownOverlay",{defaults:{justify:!1,cls:"",duration:200},boot:function(){t.ready(function(e){t.$("[data-uk-dropdown-overlay]",e).each(function(){var e=t.$(this);e.data("dropdownOverlay")||t.dropdownOverlay(e,t.Utils.options(e.attr("data-uk-dropdown-overlay")))})})},init:function(){var i=this;this.justified=!!this.options.justify&&t.$(this.options.justify),this.overlay=this.element.find("uk-dropdown-overlay"),this.overlay.length||(this.overlay=t.$('
').appendTo(this.element)),this.overlay.addClass(this.options.cls),this.on({"beforeshow.uk.dropdown":function(t,o){i.dropdown=o,i.justified&&i.justified.length&&e(i.overlay.css({display:"block","margin-left":"","margin-right":""}),i.justified,i.justified.outerWidth())},"show.uk.dropdown":function(e,o){var n=i.dropdown.dropdown.outerHeight(!0);i.dropdown.element.removeClass("uk-open"),i.overlay.stop().css("display","block").animate({height:n},i.options.duration,function(){i.dropdown.dropdown.css("visibility",""),i.dropdown.element.addClass("uk-open"),t.Utils.checkDisplay(i.dropdown.dropdown,!0)}),i.pointerleave=!1},"hide.uk.dropdown":function(){i.overlay.stop().animate({height:0},i.options.duration)},"pointerenter.uk.dropdown":function(t,e){clearTimeout(i.remainIdle)},"pointerleave.uk.dropdown":function(t,e){i.pointerleave=!0}}),this.overlay.on({mouseenter:function(){i.remainIdle&&(clearTimeout(i.dropdown.remainIdle),clearTimeout(i.remainIdle))},mouseleave:function(){i.pointerleave&&o&&(i.remainIdle=setTimeout(function(){o&&o.hide()},o.options.remaintime))}})}})}(UIkit),function(t){"use strict";var e=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1,observe:!1},boot:function(){t.ready(function(e){t.$("[data-uk-grid-match]",e).each(function(){var e,i=t.$(this);i.data("gridMatchHeight")||(e=t.gridMatchHeight(i,t.Utils.options(i.attr("data-uk-grid-match"))))})})},init:function(){var i=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var e=function(){i.element.is(":visible")&&i.match()};return t.$(function(){e()}),t.Utils.debounce(e,50)}()),this.options.observe&&t.domObserve(this.element,function(t){i.element.is(":visible")&&i.match()}),this.on("display.uk.check",function(t){this.element.is(":visible")&&this.match()}.bind(this)),e.push(this))},match:function(){var e=this.columns.filter(":visible:first");if(e.length){var i=Math.ceil(100*parseFloat(e.css("width"))/parseFloat(e.parent().css("width")))>=100;return i&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin",rowfirst:"uk-row-first"},boot:function(){t.ready(function(e){t.$("[data-uk-grid-margin]",e).each(function(){var e,i=t.$(this);i.data("gridMargin")||(e=t.gridMargin(i,t.Utils.options(i.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit),function(t){"use strict";function e(e,i){if(i)return"object"==typeof e?(e=e instanceof jQuery?e:t.$(e),e.parent().length&&(i.persist=e,i.persist.data("modalPersistParent",e.parent()))):e="string"==typeof e||"number"==typeof e?t.$("
").html(e):t.$("
").html("UIkit.modal Error: Unsupported data type: "+typeof e),e.appendTo(i.element.find(".uk-modal-dialog")),i}var i,o=!1,n=0,s=t.$html;t.$win.on("resize orientationchange",t.Utils.debounce(function(){t.$(".uk-modal.uk-open").each(function(){return t.$(this).data("modal")&&t.$(this).data("modal").resize()})},150)),t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,hasTransitioned:!0,init:function(){if(i||(i=t.$("body")),this.element.length){var e=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),e.hide()}).on("click",function(i){var o=t.$(i.target);o[0]==e.element[0]&&e.options.bgclose&&e.hide()}),t.domObserve(this.element,function(t){e.resize()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){var e=this;if(!this.isActive())return this.options.modal&&o&&o.hide(!0),this.element.removeClass("uk-open").show(),this.resize(!0),this.options.modal&&(o=this),this.active=!0,n++,t.support.transition?(this.hasTransitioned=!1,this.element.one(t.support.transition.end,function(){e.hasTransitioned=!0,t.Utils.focus(e.dialog,"a[href]")}).addClass("uk-open")):(this.element.addClass("uk-open"),t.Utils.focus(this.dialog,"a[href]")),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(e){if(!e&&t.support.transition&&this.hasTransitioned){var i=this;this.one(t.support.transition.end,function(){i._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(t){if(this.isActive()||t){var e=i.width();if(this.scrollbarwidth=window.innerWidth-e,i.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var o=this.dialog.outerHeight(),n=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);o+n0?n--:n=0,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),n||(s.removeClass("uk-modal-page"),i.css(this.paddingdir,"")),o===this&&(o=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.element.hasClass("uk-open")}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(e){var i=t.$(this);if(i.is("a")&&e.preventDefault(),!i.data("modalTrigger")){var o=t.modalTrigger(i,t.Utils.options(i.attr("data-uk-modal")));o.show()}}),t.$html.on("keydown.modal.uikit",function(t){o&&27===t.keyCode&&o.options.keyboard&&(t.preventDefault(),o.hide())})},init:function(){var e=this;this.options=t.$.extend({target:!!e.element.is("a")&&e.element.attr("href")},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),e.show()}),this.proxy(this.modal,"show hide isActive")}}),t.modal.dialog=function(i,o){var n=t.modal(t.$(t.modal.dialog.template).appendTo("body"),o);return n.on("hide.uk.modal",function(){n.persist&&(n.persist.appendTo(n.persist.data("modalPersistParent")),n.persist=!1),n.element.remove()}),e(i,n),n},t.modal.dialog.template='
',t.modal.alert=function(e,i){i=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},i);var o=t.modal.dialog(['
'+String(e)+"
",'"].join(""),i);return o.on("show.uk.modal",function(){setTimeout(function(){o.element.find("button:first").focus()},50)}),o.show()},t.modal.confirm=function(e,i,o){var n=arguments.length>1&&arguments[arguments.length-1]?arguments[arguments.length-1]:{};i=t.$.isFunction(i)?i:function(){},o=t.$.isFunction(o)?o:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},t.$.isFunction(n)?{}:n);var s=t.modal.dialog(['
'+String(e)+"
",'"].join(""),n);return s.element.find(".js-modal-confirm, .js-modal-confirm-cancel").on("click",function(){t.$(this).is(".js-modal-confirm")?i():o(),s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){s.element.find(".js-modal-confirm").focus()},50)}),s.show()},t.modal.prompt=function(e,i,o,n){o=t.$.isFunction(o)?o:function(t){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},n);var s=t.modal.dialog([e?'
'+String(e)+"
":"",'

','"].join(""),n),a=s.element.find("input[type='text']").val(i||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});return s.element.find(".js-modal-ok").on("click",function(){o(a.val())!==!1&&s.hide()}),s.show()},t.modal.blockUI=function(e,i){var o=t.modal.dialog(['
'+String(e||'
...
')+"
"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},i));return o.content=o.element.find(".uk-modal-content:first"),o.show()},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit),function(t){"use strict";function e(e){var i=t.$(e),o="auto";if(i.is(":visible"))o=i.outerHeight();else{var n={position:i.css("position"),visibility:i.css("visibility"),display:i.css("display")};o=i.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),i.css(n)}return o}t.component("nav",{defaults:{toggle:">li.uk-parent > a[href='javascript:void(0);']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){t.ready(function(e){t.$("[data-uk-nav]",e).each(function(){var e=t.$(this);if(!e.data("nav")){t.nav(e,t.Utils.options(e.attr("data-uk-nav")))}})})},init:function(){var e=this;this.on("click.uk.nav",this.options.toggle,function(i){i.preventDefault();var o=t.$(this);e.open(o.parent()[0]==e.element[0]?o:o.parent("li"))}),this.update(!0),t.domObserve(this.element,function(t){e.element.find(this.options.lists).not("[role]").length&&e.update()})},update:function(e){var i=this;this.find(this.options.lists).each(function(){var e=t.$(this).attr("role","menu"),o=e.closest("li"),n=o.hasClass("uk-active");o.data("list-container")||(e.wrap('
'),o.data("list-container",e.parent()[n?"removeClass":"addClass"]("uk-hidden"))),o.attr("aria-expanded",o.hasClass("uk-open")),n&&i.open(o,!0)})},open:function(i,o){var n=this,s=this.element,a=t.$(i),r=a.data("list-container");this.options.multiple||s.children(".uk-open").not(i).each(function(){var e=t.$(this);e.data("list-container")&&e.data("list-container").stop().animate({height:0},function(){t.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),a.toggleClass("uk-open"),a.attr("aria-expanded",a.hasClass("uk-open")),r&&(a.hasClass("uk-open")&&r.removeClass("uk-hidden"),o?(r.stop().height(a.hasClass("uk-open")?"auto":0),a.hasClass("uk-open")||r.addClass("uk-hidden"),this.trigger("display.uk.check")):r.stop().animate({height:a.hasClass("uk-open")?e(r.find("ul:first")):0},function(){a.hasClass("uk-open")?r.css("height",""):r.addClass("uk-hidden"),n.trigger("display.uk.check")}))}})}(UIkit),function(t){"use strict";var e={x:window.scrollX,y:window.scrollY},i=(t.$win,t.$doc,t.$html),o={show:function(o,n){if(o=t.$(o),o.length){n=t.$.extend({mode:"push"},n);var s=t.$("body"),a=o.find(".uk-offcanvas-bar:first"),r="right"==t.langdirection,l=a.hasClass("uk-offcanvas-bar-flip")?-1:1,d=l*(r?-1:1),h=window.innerWidth-s.width();e={x:window.pageXOffset,y:window.pageYOffset},a.attr("mode",n.mode),o.addClass("uk-active"),s.css({width:window.innerWidth-h,height:window.innerHeight}).addClass("uk-offcanvas-page"),"push"!=n.mode&&"reveal"!=n.mode||s.css(r?"margin-right":"margin-left",(r?-1:1)*(a.outerWidth()*d)),"reveal"==n.mode&&a.css("clip","rect(0, "+a.outerWidth()+"px, 100vh, 0)"),i.css("margin-top",e.y*-1).width(),a.addClass("uk-offcanvas-bar-show"),this._initElement(o),a.trigger("show.uk.offcanvas",[o,a]),o.attr("aria-hidden","false")}},hide:function(o){var n=t.$("body"),s=t.$(".uk-offcanvas.uk-active"),a="right"==t.langdirection,r=s.find(".uk-offcanvas-bar:first"),l=function(){n.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),r.removeClass("uk-offcanvas-bar-show"),i.css("margin-top",""),window.scrollTo(e.x,e.y),r.trigger("hide.uk.offcanvas",[s,r]),s.attr("aria-hidden","true")};s.length&&("none"==r.attr("mode")&&(o=!0),t.support.transition&&!o?(n.one(t.support.transition.end,function(){l()}).css(a?"margin-right":"margin-left",""),"reveal"==r.attr("mode")&&r.css("clip",""),setTimeout(function(){r.removeClass("uk-offcanvas-bar-show")},0)):l())},_initElement:function(e){e.data("OffcanvasInit")||(e.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(e){var i=t.$(e.target);if(!e.type.match(/swipe/)&&!i.hasClass("uk-offcanvas-close")){if(i.hasClass("uk-offcanvas-bar"))return;if(i.parents(".uk-offcanvas-bar:first").length)return}e.stopImmediatePropagation(),o.hide()}),e.on("click","a[href*='#']",function(e){var i=t.$(this),n=i.attr("href");"#"!=n&&(t.$doc.one("hide.uk.offcanvas",function(){var e;try{e=t.$(i[0].hash)}catch(o){e=""}e.length||(e=t.$('[name="'+i[0].hash.replace("#","")+'"]')),e.length&&t.Utils.scrollToElement?t.Utils.scrollToElement(e,t.Utils.options(i.attr("data-uk-smooth-scroll")||"{}")):window.location.href=n}),o.hide())}),e.data("OffcanvasInit",!0))}};t.component("offcanvasTrigger",{boot:function(){i.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(e){e.preventDefault();var i=t.$(this);if(!i.data("offcanvasTrigger")){t.offcanvasTrigger(i,t.Utils.options(i.attr("data-uk-offcanvas")));i.trigger("click")}}),i.on("keydown.uk.offcanvas",function(t){27===t.keyCode&&o.hide()})},init:function(){var e=this;this.options=t.$.extend({target:!!e.element.is("a")&&e.element.attr("href"),mode:"push"},this.options),this.on("click",function(t){t.preventDefault(),o.show(e.options.target,e.options)})}}),t.offcanvas=o}(UIkit),function(t){"use strict";function e(e,i,o){var n,s=t.$.Deferred(),a=e,r=e;return o[0]===i[0]?(s.resolve(),s.promise()):("object"==typeof e&&(a=e[0],r=e[1]||e[0]),t.$body.css("overflow-x","hidden"),n=function(){i&&i.hide().removeClass("uk-active "+r+" uk-animation-reverse"),o.addClass(a).one(t.support.animation.end,function(){setTimeout(function(){o.removeClass(""+a).css({opacity:"",display:""})},0),s.resolve(),t.$body.css("overflow-x",""),i&&i.css({opacity:"",display:""})}.bind(this)).show()},o.css("animation-duration",this.options.duration+"ms"),i&&i.length?(i.css("animation-duration",this.options.duration+"ms"),i.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){n()}.bind(this)).css("display","")):(o.addClass("uk-active"),n()),s.promise())}var i;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200,swiping:!0},animating:!1,boot:function(){t.ready(function(e){t.$("[data-uk-switcher]",e).each(function(){var e=t.$(this);if(!e.data("switcher")){t.switcher(e,t.Utils.options(e.attr("data-uk-switcher")))}})})},init:function(){var e=this;this.on("click.uk.switcher",this.options.toggle,function(t){t.preventDefault(),e.show(this)}),this.options.connect&&(this.connect=t.$(this.options.connect),this.connect.length&&(this.connect.on("click.uk.switcher","[data-uk-switcher-item]",function(i){i.preventDefault();var o=t.$(this).attr("data-uk-switcher-item");if(e.index!=o)switch(o){case"next":case"previous":e.show(e.index+("next"==o?1:-1));break;default:e.show(parseInt(o,10))}}),this.options.swiping&&this.connect.on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||e.show(e.index+("swipeLeft"==t.type?1:-1))}),this.update()))},update:function(){this.connect.children().removeClass("uk-active").attr("aria-hidden","true");var t=this.find(this.options.toggle),e=t.filter(".uk-active");if(e.length)this.show(e,!1);else{if(this.options.active===!1)return;e=t.eq(this.options.active),this.show(e.length?e:t.eq(0),!1)}t.not(e).attr("aria-expanded","false"),e.attr("aria-expanded","true")},show:function(o,n){if(!this.animating){if(isNaN(o))o=t.$(o);else{var s=this.find(this.options.toggle);o=o<0?s.length-1:o,o=s.eq(s[o]?o:0)}var a=this,s=this.find(this.options.toggle),r=t.$(o),l=i[this.options.animation]||function(t,o){if(!a.options.animation)return i.none.apply(a);var n=a.options.animation.split(",");return 1==n.length&&(n[1]=n[0]),n[0]=n[0].trim(),n[1]=n[1].trim(),e.apply(a,[n,t,o])};n!==!1&&t.support.animation||(l=i.none),r.hasClass("uk-disabled")||(s.attr("aria-expanded","false"),r.attr("aria-expanded","true"),s.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),this.index==-1&&(this.index=0),this.connect.each(function(){var e=t.$(this),i=t.$(e.children()),o=t.$(i.filter(".uk-active")),n=t.$(i.eq(a.index));a.animating=!0,l.apply(a,[o,n]).then(function(){o.removeClass("uk-active"),n.addClass("uk-active"),o.attr("aria-hidden","true"),n.attr("aria-hidden","false"),t.Utils.checkDisplay(n,!0),a.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),i={none:function(){var e=t.$.Deferred();return e.resolve(),e.promise()},fade:function(t,i){return e.apply(this,["uk-animation-fade",t,i])},"slide-bottom":function(t,i){return e.apply(this,["uk-animation-slide-bottom",t,i])},"slide-top":function(t,i){return e.apply(this,["uk-animation-slide-top",t,i])},"slide-vertical":function(t,i,o){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>i.index()&&n.reverse(),e.apply(this,[n,t,i])},"slide-left":function(t,i){return e.apply(this,["uk-animation-slide-left",t,i])},"slide-right":function(t,i){return e.apply(this,["uk-animation-slide-right",t,i])},"slide-horizontal":function(t,i,o){var n=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>i.index()&&n.reverse(),e.apply(this,[n,t,i])},scale:function(t,i){return e.apply(this,["uk-animation-scale-up",t,i])}},t.switcher.animations=i}(UIkit),function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200,swiping:!0},boot:function(){t.ready(function(e){t.$("[data-uk-tab]",e).each(function(){var e=t.$(this);if(!e.data("tab")){t.tab(e,t.Utils.options(e.attr("data-uk-tab")))}})})},init:function(){var e=this;this.current=!1,this.on("click.uk.tab",this.options.target,function(i){if(i.preventDefault(),!e.switcher||!e.switcher.animating){var o=e.find(e.options.target).not(this);o.removeClass("uk-active").blur(),e.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),e.current]),e.current=t.$(this),e.options.connect||(o.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('
  • ').append('
      '),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uk.tab","a",function(i){i.preventDefault(),i.stopPropagation();var o=t.$(this);e.element.children("li:not(.uk-tab-responsive)").eq(o.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,i){e.responsivetab.caption.html(i.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration,swiping:this.options.swiping})),t.dropdown(this.responsivetab,{mode:"click",preventflip:"y"}),e.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){e.element.is(":visible")&&e.check()},100)),this.on("display.uk.check",function(){e.element.is(":visible")&&e.check()})},check:function(){var e=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!e.length)return void this.responsivetab.addClass("uk-hidden");var i,o,n,s=e.eq(0).offset().top+Math.ceil(e.eq(0).height()/2),a=!1;if(this.responsivetab.lst.empty(),e.each(function(){t.$(this).offset().top>s&&(a=!0)}),a)for(var r=0;r-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,e,i=this.parent.width(),o=this.parent.height();i/this.ratio
      ').parent(),o.attr("aria-expanded","false")),n=s.toggle.eq(e),o.data("toggle",n),o.data("content",i),n.data("wrapper",o),i.data("wrapper",o)}),this.element.trigger("update.uk.accordion",[this]),e&&this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)}}),t.accordion}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-autocomplete",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:''},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(e){var i=t.$(this);i.data("autocomplete")||t.autocomplete(i,t.Utils.options(i.attr("data-uk-autocomplete")))}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,o=t.Utils.debounce(function(t){return i?i=!1:void e.handle()},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('
      ').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey&&e.visible)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:o}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=o},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.lengthd||r<0)&&o.dropdown.scrollTop(l+r)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){if(!this.visible)return this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this},hide:function(){if(this.visible)return this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var o=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(o.length){var n=[];o.forEach(function(t){t.value&&t.value.toLowerCase().indexOf(e.value.toLowerCase())!=-1&&n.push(t)}),i(n)}break;case"string":var s={};s[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:s,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-datepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i=!1;return t.component("datepicker",{defaults:{mobile:!1,weekstart:1,i18n:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},format:"DD.MM.YYYY",offsettop:5,maxDate:!1,minDate:!1,pos:"auto",addClass:"",template:function(e,i){var o,n="";if(n+='
      ',n+='',n+='',t.formSelect){var s,a,r,l,d=(new Date).getFullYear(),h=[];for(o=0;o'+i.i18n.months[o]+""):h.push('"); for(s=''+i.i18n.months[e.month]+'",h=[],r=e.minDate?e.minDate.year():d-50,l=e.maxDate?e.maxDate.year():d+20,o=r;o<=l;o++)o==e.year?h.push('"):h.push('");a=''+e.year+'",n+='
      '+s+" "+a+"
      "}else n+='
      '+i.i18n.months[e.month]+" "+e.year+"
      ";for(n+="
      ",n+='',n+="",o=0;o"+e.weekdays[o]+"");for(n+="",n+="",o=0;o";for(var u=0;u'+c.day.format("D")+""}n+=""}return n+="",n+="
      "}},boot:function(){t.$win.on("resize orientationchange",function(){i&&i.hide()}),t.$html.on("focus.datepicker.uikit","[data-uk-datepicker]",function(e){var i=t.$(this);i.data("datepicker")||(e.preventDefault(),t.datepicker(i,t.Utils.options(i.attr("data-uk-datepicker"))),i.trigger("focus"))}),t.$html.on("click focus","*",function(o){var n=t.$(o.target);!i||n[0]==e[0]||n.data("datepicker")||n.parents(".uk-datepicker:first").length||i.hide()})},init:function(){if(!t.support.touch||"date"!=this.element.attr("type")||this.options.mobile){var o=this;this.current=this.element.val()?moment(this.element.val(),this.options.format):moment(),this.on("click focus",function(){i!==o&&o.pick(this.value?this.value:o.options.minDate?o.options.minDate:"")}).on("change",function(){o.element.val()&&!moment(o.element.val(),o.options.format).isValid()&&o.element.val(moment().format(o.options.format))}),e||(e=t.$('
      '),e.on("click",".uk-datepicker-next, .uk-datepicker-previous, [data-date]",function(o){o.stopPropagation(),o.preventDefault();var n=t.$(this);return!n.hasClass("uk-datepicker-date-disabled")&&void(n.is("[data-date]")?(i.current=moment(n.data("date")),i.element.val(i.current.isValid()?i.current.format(i.options.format):null).trigger("change"),e.removeClass("uk-dropdown-shown"),setTimeout(function(){e.removeClass("uk-dropdown-active")},280),i.hide()):i.add(n.hasClass("uk-datepicker-next")?1:-1,"months"))}),e.on("change",".update-picker-month, .update-picker-year",function(){var e=t.$(this);i[e.is(".update-picker-year")?"setYear":"setMonth"](Number(e.val()))}),e.appendTo("body"))}},pick:function(o){var n=this.element.offset(),s=parseInt(n.left),a=parseInt(n.top),r={left:s,right:""};this.current=isNaN(o)?moment(o,this.options.format):moment(),this.initdate=this.current.format("YYYY-MM-DD"),this.update(),!$(this.element[0]).closest(".ui-dialog").length&&!$(this.element[0]).closest(".uk-modal").length||e.hasClass("dropdown-modal")||e.addClass("dropdown-modal"),("right"==t.langdirection||window.innerWidth-s-e.outerWidth()<0)&&(r.right=window.innerWidth-(window.innerWidth-$("body").width())-(r.left+this.element.outerWidth()),r.left="");var l=a-this.element.outerHeight()+this.element.height()-this.options.offsettop-e.outerHeight(),d=a+this.element.outerHeight()+this.options.offsettop;r.top=d,"top"==this.options.pos?(r.top=l,e.addClass("dp-top")):"auto"==this.options.pos&&window.innerHeight-d-e.outerHeight()+t.$win.scrollTop()<0&&l>=0&&(r.top=l,e.addClass("dp-top")),r.minWidth=e.actual("outerWidth"),e.css(r).addClass("uk-dropdown-active uk-dropdown-shown"),this.trigger("show.uk.datepicker"),i=this},add:function(t,e){this.current.add(t,e),this.update()},setMonth:function(t){this.current.month(t),this.update()},setYear:function(t){this.current.year(t),this.update()},update:function(){var t=this.getRows(this.current.year(),this.current.month()),i=this.options.template(t,this.options);e.html(i),this.trigger("update.uk.datepicker")},getRows:function(t,e){var i=this.options,o=moment().format("YYYY-MM-DD"),n=[31,t%4===0&&t%100!==0||t%400===0?29:28,31,30,31,30,31,31,30,31,30,31][e],s=new Date(t,e,1,12).getDay(),a={month:e,year:t,weekdays:[],days:[],maxDate:!1,minDate:!1},r=[];i.maxDate!==!1&&(a.maxDate=isNaN(i.maxDate)?moment(i.maxDate,i.format).startOf("day").hours(12):moment().add(i.maxDate,"days").startOf("day").hours(12)),i.minDate!==!1&&(a.minDate=isNaN(i.minDate)?moment(i.minDate,i.format).startOf("day").hours(12):moment().add(i.minDate-1,"days").startOf("day").hours(12)),a.weekdays=function(){for(var t=0,e=[];t<7;t++){for(var o=t+(i.weekstart||0);o>=7;)o-=7;e.push(i.i18n.weekdays[o])}return e}(),i.weekstart&&i.weekstart>0&&(s-=i.weekstart,s<0&&(s+=7));for(var l=n+s,d=l;d>7;)d-=7;l+=7-d;for(var h,u,c,p,f,m=0,g=0;mh||a.maxDate&&h>a.maxDate,f=!(m=n+s),h=moment(h),c=this.initdate==h.format("YYYY-MM-DD"),p=o==h.format("YYYY-MM-DD"),r.push({selected:c,today:p,disabled:u,day:h,inmonth:f}),7===++g&&(a.days.push(r),r=[],g=0);return a},hide:function(){i&&i===this&&(e.removeClass("uk-dropdown-shown"),setTimeout(function(){e.removeClass("uk-dropdown-active dp-top")},280),i=!1,this.trigger("hide.uk.datepicker"))}}),t.Utils.moment=moment(),t.datepicker}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-password",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("formPassword",{defaults:{lblShow:"Show",lblHide:"Hide"},boot:function(){t.$html.on("click.formpassword.uikit","[data-uk-form-password]",function(e){var i=t.$(this);i.data("formPassword")||(e.preventDefault(),t.formPassword(i,t.Utils.options(i.attr("data-uk-form-password"))),i.trigger("click"))})},init:function(){var t=this;this.on("click",function(e){if(e.preventDefault(),t.input.length){var i=t.input.attr("type");t.input.attr("type","text"==i?"password":"text"),t.element.html(t.options["text"==i?"lblShow":"lblHide"])}}),this.input=this.element.next("input").length?this.element.next("input"):this.element.prev("input"),this.element.html(this.options[this.input.is("[type='password']")?"lblShow":"lblHide"]),this.element.data("formPassword",this)}}),t.formPassword}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-select",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("formSelect",{defaults:{target:">span:first",activeClass:"uk-active"},boot:function(){t.ready(function(e){t.$("[data-uk-form-select]",e).each(function(){var e=t.$(this);e.data("formSelect")||t.formSelect(e,t.Utils.options(e.attr("data-uk-form-select")))})})},init:function(){var t=this;this.target=this.find(this.options.target),this.select=this.find("select"),this.select.on({change:function(){var e=t.select[0],i=function(){try{"input"===t.options.target?t.target.val(e.options[e.selectedIndex].text):t.target.text(e.options[e.selectedIndex].text)}catch(o){}return t.element[t.select.val()?"addClass":"removeClass"](t.options.activeClass),i};return i()}(),focus:function(){t.target.addClass("uk-focus")},blur:function(){t.target.removeClass("uk-focus")},mouseenter:function(){t.target.addClass("uk-hover")},mouseleave:function(){t.target.removeClass("uk-hover")}}),this.element.data("formSelect",this)}}),t.formSelect}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-grid",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(){function t(t){if(t){if("string"==typeof h[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,i=0,o=d.length;i
      "].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("uk-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,i[this.uuid]=this,e[this.options.pos]||(e[this.options.pos]=t.$('
      ').appendTo("body").on("click",".uk-notify-message",function(){var e=t.$(this).data("notifyMessage");e.element.trigger("manualclose.uk.notify",[e]),e.close()}))};return t.$.extend(s.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var t=this;e[this.options.pos].show().prepend(this.element);var i=parseInt(this.element.css("margin-bottom"),10);return this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":i},function(){if(t.options.timeout){var e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var o=this,n=function(){o.element.remove(),e[o.options.pos].children().length||e[o.options.pos].hide(),o.options.onClose.apply(o,[]),o.element.trigger("close.uk.notify",[o]),delete i[o.uuid]};this.timeout&&clearTimeout(this.timeout),t?n():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){n()})},content:function(t){var e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return t?(this.element.removeClass("uk-notify-message-"+this.currentstatus).addClass("uk-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),s.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},t.notify=o,t.notify.message=s,t.notify.closeAll=n,o}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i=0;t.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,slices:15,pauseOnHover:!0,kenburns:!1,kenburnsanimations:["uk-animation-middle-left","uk-animation-top-right","uk-animation-bottom-left","uk-animation-top-center","","uk-animation-bottom-right"]},current:!1,interval:null,hovering:!1,boot:function(){t.ready(function(e){t.$("[data-uk-slideshow]",e).each(function(){var e=t.$(this);e.data("slideshow")||t.slideshow(e,t.Utils.options(e.attr("data-uk-slideshow")))})})},init:function(){var e=this;this.container=this.element.hasClass("uk-slideshow")?this.element:t.$(this.find(".uk-slideshow:first")),this.current=this.options.start,this.animating=!1,this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass("uk-slideshow-fullscreen"),this.options.kenburns&&(this.kbanimduration=this.options.kenburns===!0?"15s":this.options.kenburns,String(this.kbanimduration).match(/(ms|s)$/)||(this.kbanimduration+="ms"),"string"==typeof this.options.kenburnsanimations&&(this.options.kenburnsanimations=this.options.kenburnsanimations.split(","))),this.update(),this.on("click.uk.slideshow","[data-uk-slideshow-item]",function(i){i.preventDefault();var o=t.$(this).attr("data-uk-slideshow-item");if(e.current!=o){switch(o){case"next":case"previous":e["next"==o?"next":"previous"]();break;default:e.show(parseInt(o,10))}e.stop()}}),t.$win.on("resize load",t.Utils.debounce(function(){e.resize(),e.fixFullscreen&&(e.container.css("height",window.innerHeight),e.slides.css("height",window.innerHeight))},100)),setTimeout(function(){e.resize()},80),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.current)),this.container.on({mouseenter:function(){e.options.pauseOnHover&&(e.hovering=!0)},mouseleave:function(){e.hovering=!1}}),this.on("swipeRight swipeLeft",function(t){e["swipeLeft"==t.type?"next":"previous"]()}),this.on("display.uk.check",function(){e.element.is(":visible")&&(e.resize(),e.fixFullscreen&&(e.container.css("height",window.innerHeight),e.slides.css("height",window.innerHeight)))}),t.domObserve(this.element,function(t){e.container.children(":not([data-slide])").length&&e.update(!0)})},update:function(e){var o,n=this,s=0;this.slides=this.container.children(),this.slidesCount=this.slides.length,this.slides.eq(this.current).length||(this.current=0),this.slides.each(function(e){var a=t.$(this);if(!a.data("processed")){var r=a.children("img,video,iframe").eq(0),l="html";if(a.data("media",r),a.data("sizer",r),r.length){var d;switch(l=r[0].nodeName.toLowerCase(),r[0].nodeName){case"IMG":var h=t.$('
      ').css({"background-image":"url("+r.attr("src")+")"});r.attr("width")&&r.attr("height")&&(d=t.$("").attr({width:r.attr("width"),height:r.attr("height")}),r.replaceWith(d),r=d,d=void 0),r.css({width:"100%",height:"auto",opacity:0}),a.prepend(h).data("cover",h);break;case"IFRAME":var u=r[0].src,c="sw-"+ ++i;r.attr("src","").on("load",function(){if((e!==n.current||e==n.current&&!n.options.videoautoplay)&&n.pausemedia(r),n.options.videomute){n.mutemedia(r);var t=setInterval(function(e){return function(){n.mutemedia(r),++e>=4&&clearInterval(t)}}(0),250)}}).data("slideshow",n).attr("data-player-id",c).attr("src",[u,u.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1&player_id="+c].join("")).addClass("uk-position-absolute"),t.support.touch||r.css("pointer-events","none"),d=!0,t.cover&&(t.cover(r),r.attr("data-uk-cover","{}"));break;case"VIDEO":r.addClass("uk-cover-object uk-position-absolute"),d=!0,n.options.videomute&&n.mutemedia(r)}if(d){o=t.$("").attr({width:r[0].width,height:r[0].height});var p=t.$('').attr("src",o[0].toDataURL());a.prepend(p),a.data("sizer",p)}}else a.data("sizer",a);n.hasKenBurns(a)&&a.data("cover").css({"-webkit-animation-duration":n.kbanimduration,"animation-duration":n.kbanimduration}),a.data("processed",++s),a.attr("data-slide",l)}}),s&&(this.triggers=this.find("[data-uk-slideshow-item]"),this.slides.attr("aria-hidden","true").removeClass("uk-active").eq(this.current).addClass("uk-active").attr("aria-hidden","false"),this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass("uk-active")),e&&s&&this.resize()},resize:function(){if(!this.container.hasClass("uk-slideshow-fullscreen")){var e=this.options.height;"auto"===this.options.height&&(e=0,this.slides.css("height","").each(function(){e=Math.max(e,t.$(this).height())})),this.container.css("height",e),this.slides.css("height",e)}},show:function(i,o){if(!this.animating&&this.current!=i){this.animating=!0;var n=this,s=this.slides.eq(this.current),a=this.slides.eq(i),r=o?o:this.current-1&&"ready"==o.event&&o.player_id&&(i=t.$('[data-player-id="'+o.player_id+'"]'),i.length&&i.data("slideshow").mutemedia(i))},!1)}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i,o,n,s={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,activecls:"uk-active"},boot:function(){t.ready(function(e){setTimeout(function(){t.$("[data-uk-slider]",e).each(function(){var e=t.$(this);e.data("slider")||t.slider(e,t.Utils.options(e.attr("data-uk-slider")))})},0)})},init:function(){var a=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){a.update(!0)},100)),this.on("click.uk.slider","[data-uk-slider-item]",function(e){e.preventDefault();var i=t.$(this).attr("data-uk-slider-item");if(a.focus!=i)switch(a.stop(),i){case"next":case"previous":a["next"==i?"next":"previous"]();break;default:a.updateFocus(parseInt(i,10))}}),this.container.on({"touchstart mousedown":function(r){r.originalEvent&&r.originalEvent.touches&&(r=r.originalEvent.touches[0]),r.button&&2==r.button||!a.active||(a.stop(),o=t.$(r.target).is("a")?t.$(r.target):t.$(r.target).parents("a:first"),n=!1,o.length&&o.one("click",function(t){n&&t.preventDefault()}),i=function(t){n=!0,e=a,s={touchx:parseInt(t.pageX,10),dir:1,focus:a.focus,base:a.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":a.pos}),a.container.addClass("uk-drag"),i=!1},i.x=parseInt(r.pageX,10),i.threshold=a.options.threshold)},mouseenter:function(){a.options.pauseOnHover&&(a.hovering=!0)},mouseleave:function(){a.hovering=!1}}),this.update(!0),this.on("display.uk.check",function(){a.element.is(":visible")&&a.update(!0)}),this.element.find("a,img").attr("draggable","false"),this.options.autoplay&&this.start(),t.domObserve(this.element,function(t){a.element.children(":not([data-slide])").length&&a.update(!0)})},update:function(e){var i,o,n,s,a=this,r=0,l=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(e){i=t.$(this).attr("data-slide",e),s=i.css({left:"",width:""})[0].getBoundingClientRect(),o=s.width,n=i.width(),l=Math.max(l,s.height),i.css({left:r,width:o}).data({idx:e,left:r,width:o,cwidth:n,area:r+o,center:r-(a.vp/2-n/2)}),r+=o}),this.container.css({"min-width":r,"min-height":l}),this.options.infinite&&(r<=2*this.vp||this.items.length<5)&&!this.itemsResized?(this.container.children().each(function(t){a.container.append(a.items.eq(t).clone(!0).attr("id",""))}).each(function(t){a.container.append(a.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.update()):(this.cw=r,this.pos=0,this.active=r>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),void(e&&this.updateFocus(this.focus)))},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(e,i){if(this.active){i=i||(e>this.focus?1:-1);var o,n,s=this.items.eq(e);if(this.options.infinite&&this.infinite(e,i),this.options.center)this.updatePos(s.data("center")*-1),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),s.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(s.data("left")*-1);else{for(o=0,n=e;nthis.vp)this.updatePos(s.data("left")*-1);else if(1==i){for(o=0,n=this.items.length-1;n>=0;n--){if(o+=this.items.eq(n).data("width"),o==this.vp){e=n;break}if(o>this.vp){e=nthis.vp?this.updatePos((this.container.width()-this.vp)*-1):this.updatePos(this.items.eq(e).data("left")*-1)}}var a=this.items.eq(e).data("left");this.items.removeClass("uk-slide-before uk-slide-after").each(function(i){i!==e&&t.$(this).addClass(t.$(this).data("left")this.vp));i++)s=s+1==this.items.length?0:s+1;a.length&&a.forEach(function(t){var e=n.data("area");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(o.vp/2-t.data("cwidth")/2)}),n=t})}else{for(i=this.items.length-1;i>-1&&(r+=this.items.eq(s).data("width"),s!=t&&a.push(this.items.eq(s)),!(r>this.vp));i--)s=s-1==-1?this.items.length-1:s-1;a.length&&a.forEach(function(t){var e=n.data("left")-t.data("width");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(o.vp/2-t.data("cwidth")/2)}),n=t})}}}),t.$doc.on("mousemove.uk.slider touchmove.uk.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i&&Math.abs(t.pageX-i.x)>i.threshold&&(window.getSelection().toString()?e=i=!1:i(t)),e){var o,n,a,r,l,d,h,u,c,p;if(t.clientX||t.clientY?o=t.clientX:(t.pageX||t.pageY)&&(o=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),l=s.focus,n=o-e.element.data("pointer-start").x,a=e.element.data("pointer-pos-start")+n,r=o>e.element.data("pointer-start").x?-1:1,d=e.items.eq(s.focus),1==r)for(h=d.data("left")+Math.abs(n),u=0,c=s.focus;uh){l=c;break}c=c+1==e.items.length?0:c+1}else for(h=d.data("left")-Math.abs(n),u=0,c=s.focus;us.diff){r=a;break}a=a+1==e.items.length?0:a+1}e.options.infinite||r||(r=e.items.length)}else{for(n=0,a=s.focus;nu.threshold||Math.abs(i.pageY-u.pos.y)>u.threshold)&&u.apply(i)}if(s){d||(d=!0,s.show(),s.$current.addClass(s.$sortable.options.placeholderClass),s.$sortable.element.children().addClass(s.$sortable.options.childClass),t.$html.addClass(s.$sortable.options.dragMovingClass));var o=s.data("mouse-offset"),n=e.originalEvent.touches&&e.originalEvent.touches[0]||e.originalEvent,a=parseInt(n.pageX,10)+o.left,r=parseInt(n.pageY,10)+o.top;if(s.css({left:a,top:r}),r+s.height()/3>document.body.offsetHeight)return;rwindow.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/3))}}),t.$html.on(w,function(t){if(u=h=!1,!a||!s)return void(a=s=null);var i=e(a),o=s.$sortable,n={type:t.type};i[0]&&o.dragDrop(n,o.element),o.dragEnd(n,o.element)})},init:function(){function e(){g&&m.touches&&m.touches.length?h.addEventListener(k,$,!1):(h.addEventListener("mouseover",b,!1),h.addEventListener("mouseout",y,!1))}function i(){g&&m.touches&&m.touches.length?h.removeEventListener(k,$,!1):(h.removeEventListener("mouseover",b,!1),h.removeEventListener("mouseout",y,!1))}function s(t){a&&d.dragMove(t,d)}function l(e){return function(i){var n,s,a;m=i,i&&(n=i.touches&&i.touches[0]||i,s=n.target||i.target,g&&document.elementFromPoint&&(s=document.elementFromPoint(n.pageX-document.body.scrollLeft,n.pageY-document.body.scrollTop)),f=t.$(s)),t.$(s).hasClass("."+d.options.childClass)?e.apply(s,[i]):s!==h&&(a=o(h,s),a&&e.apply(a,[i]))}}var d=this,h=this.element[0];c=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var u=l(function(e){if(!e.data||!e.data.sortable){var i=t.$(e.target),o=i.is("a[href]")?i:i.parents("a[href]");if(!i.is(":input")){if(d.options.handleClass){var n=i.hasClass(d.options.handleClass)?i:i.closest("."+d.options.handleClass,d.element);if(!n.length)return}return e.preventDefault(),o.length&&o.one("click",function(t){t.preventDefault()}).one(w,function(){p||(o.trigger("click"),g&&o.attr("href").trim()&&(location.href=o.attr("href")))}),e.data=e.data||{},e.data.sortable=h,d.dragStart(e,this)}}}),b=l(t.Utils.debounce(function(t){return d.dragEnter(t,this)}),40),y=l(function(e){var i=d.dragenterData(this);d.dragenterData(this,i-1),d.dragenterData(this)||(t.$(this).removeClass(d.options.overClass),d.dragenterData(this,!1))}),$=l(function(t){return!a||a===this||r===this||(d.element.children().removeClass(d.options.overClass),r=this,d.moveElementNextTo(a,this),n(t))});this.addDragHandlers=e,this.removeDragHandlers=i,window.addEventListener(k,s,!1),h.addEventListener(v,u,!1)},dragStart:function(e,i){p=!1,d=!1,l=!1;var o=this,n=t.$(e.target);if((g||2!=e.button)&&!n.is("."+o.options.noDragClass)&&!n.closest("."+o.options.noDragClass).length&&!n.is(":input")){a=i,s&&s.remove();var r=t.$(a),h=r.offset(),c=e.touches&&e.touches[0]||e;u={pos:{x:c.pageX,y:c.pageY},threshold:o.options.handleClass?1:o.options.threshold,apply:function(e){s=t.$('
      ').css({display:"none",top:h.top,left:h.left,width:r.width(),height:r.height(),padding:r.css("padding")}).data({"mouse-offset":{left:h.left-parseInt(c.pageX,10),top:h.top-parseInt(c.pageY,10)},origin:o.element,index:r.index()}).append(r.html()).appendTo("body"),s.$current=r,s.$sortable=o,r.data({"start-list":r.parent(),"start-index":r.index(),"sortable-group":o.options.group}),o.addDragHandlers(),o.options.start(this,a),o.trigger("start.uk.sortable",[o,a,s]),p=!0,u=!1}}}},dragMove:function(e,i){f=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)));var o,n=f.closest("."+this.options.baseClass),s=n.data("sortable-group"),r=t.$(a),l=r.parent(),d=r.data("sortable-group");n[0]!==l[0]&&void 0!==d&&s===d&&(n.data("sortable").addDragHandlers(),c.push(n),n.children().addClass(this.options.childClass),n.children().length>0?(o=f.closest("."+this.options.childClass),o.length?o.before(r):n.append(r)):f.append(r),UIkit.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(l)},dragEnter:function(e,i){if(!a||a===i)return!0;var o=this.dragenterData(i);if(this.dragenterData(i,o+1),0===o){var n=t.$(i).parent(),s=t.$(a).data("start-list");if(n[0]!==s[0]){var r=n.data("sortable-group"),l=t.$(a).data("sortable-group");if((r||l)&&r!=l)return!1}t.$(i).addClass(this.options.overClass),this.moveElementNextTo(a,i)}return!1},dragEnd:function(e,i){var o=this;a&&(this.options.stop(i),this.trigger("stop.uk.sortable",[this])),a=null,r=null,c.push(this.element),c.forEach(function(e,i){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(o.options.overClass).removeClass(o.options.placeholderClass).removeClass(o.options.childClass),o.dragenterData(this,!1))})}),c=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),s&&(s.remove(),s=null)},dragDrop:function(t,e){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(a){var e=t.$(a),i=s.data("origin"),o=e.closest("."+this.options.baseClass),n=[],r=t.$(a);i[0]===o[0]&&s.data("index")!=e.index()?n.push({sortable:this,mode:"moved"}):i[0]!=o[0]&&n.push({sortable:t.$(o).data("sortable"),mode:"added"},{sortable:t.$(i).data("sortable"),mode:"removed"}),n.forEach(function(t,e){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,r,t.mode])})}},dragenterData:function(e,i){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:void(i?e.data("child-dragenter",Math.max(0,i)):e.removeData("child-dragenter"))},moveElementNextTo:function(e,o){l=!0;var n=this,s=t.$(e).parent().css("min-height",""),a=i(e,o)?o:o.nextSibling,r=s.children(),d=r.length;return n.options.animation?(s.css("min-height",s.height()),r.stop().each(function(){var e=t.$(this),i=e.position();i.width=e.width(),e.data("offset-before",i)}),o.parentNode.insertBefore(e,a),t.Utils.checkDisplay(n.element.parent()),r=s.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),i=e.data("offset-before");e.css({position:"absolute",top:i.top,left:i.left,"min-width":i.width})}),void r.each(function(){var e=t.$(this),i=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:i.top,left:i.left},n.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(n.options.overClass).removeData("child-dragenter"),d--,d||(s.css("min-height",""),t.Utils.checkDisplay(n.element.parent()))})},0)})):(o.parentNode.insertBefore(e,a),void t.Utils.checkDisplay(n.element.parent()))},serialize:function(){var e,i,o=[];return this.element.children().each(function(n,s){e={};for(var a,r,l=0;lp?p-h:0,m=0;mu-r-(d.top<0?0:d.top)?u-r-(h+l):a}if(d.currentTop!=a){if(d.element.css({position:"fixed",top:a,width:d.getWidthFrom.length?d.getWidthFrom.width():d.element.width()}),!d.init&&(d.element.addClass(d.options.clsinit),location.hash&&h>0&&d.options.target)){var v=t.$(location.hash);v.length&&setTimeout(function(t,e){return function(){e.element.width();var i=t.offset(),o=i.top+t.outerHeight(),n=e.element.offset(),s=e.element.outerHeight(),a=n.top+s;n.top').parent(),this.computeWrapper(),this.wrapper.css({"margin-top":this.element.css("margin-top"),"margin-bottom":this.element.css("margin-bottom"),"margin-left":this.element.css("margin-left"),"margin-right":this.element.css("margin-right")}),this.element.css("margin",0),a&&(a===!0||"!"===a[0]?(a=a===!0?this.wrapper.parent():this.wrapper.closest(a.substr(1)),e=!0):"string"==typeof a&&(a=t.$(a))),this.sticky={self:this,options:this.options,element:this.element,currentTop:null,wrapper:this.wrapper,init:!1,getWidthFrom:t.$(this.options.getWidthFrom||this.wrapper),boundary:a,boundtoparent:e,top:0,calcTop:function(){var e=this.options.top;if(this.options.top&&"string"==typeof this.options.top)if(this.options.top.match(/^(-|)(\d+)vh$/))e=window.innerHeight*parseInt(this.options.top,10)/100;else{ var i=t.$(this.options.top).first();i.length&&i.is(":visible")&&(e=-1*(i.offset().top+i.outerHeight()-this.wrapper.offset().top))}this.top=e},reset:function(e){this.calcTop();var i=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"uk-animation-reverse",this.options.clsactive].join(" ")),this.element.addClass(this.options.clsinactive),this.element.trigger("inactive.uk.sticky"),this.currentTop=null,this.animate=!1}.bind(this);!e&&this.options.animation&&t.support.animation&&!t.Utils.isInView(this.wrapper)?(this.animate=!0,this.element.removeClass(this.options.animation).one(t.support.animation.end,function(){i()}).width(),this.element.addClass(this.options.animation+" uk-animation-reverse")):i()},check:function(){if(this.options.disabled)return!1;if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidtha?a-e:0,l=this.wrapper.offset().top,d=l-this.top-r,h=e>=d;return h&&this.options.showup&&(1==s&&(h=!1),s==-1&&!this.element.hasClass(this.options.clsactive)&&t.Utils.isInView(this.wrapper)&&(h=!1)),h}},this.sticky.calcTop(),n.push(this.sticky)},update:function(){e(this.sticky)},enable:function(){this.options.disabled=!1,this.update()},disable:function(t){this.options.disabled=!0,this.sticky.reset(t)},computeWrapper:function(){this.wrapper.css({height:["absolute","fixed"].indexOf(this.element.css("position"))==-1?this.element.outerHeight():"","float":"none"!=this.element.css("float")?this.element.css("float"):""}),"fixed"==this.element.css("position")&&this.element.css({width:this.sticky.getWidthFrom.length?this.sticky.getWidthFrom.width():this.element.width()})}}),t.sticky}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-tooltip",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i,o;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t){var e=t.attr("title");return void 0!==e&&t.data("cached-title",e).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(e){var i=t.$(this);i.data("tooltip")||(t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip"))),i.trigger("mouseenter"))})},init:function(){var i=this;e||(e=t.$('
      ').appendTo("body")),this.on({focus:function(t){i.show()},blur:function(t){i.hide()},mouseenter:function(t){i.show()},mouseleave:function(t){i.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,i&&clearTimeout(i),o&&clearTimeout(o),"string"==typeof this.tip&&this.tip.length){e.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),e.html('
      '+this.tip+"
      ");var n=this,s=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),a=e[0].offsetWidth,r=e[0].offsetHeight,l="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,d="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,h=d.split("-"),u={display:"none",visibility:"visible",top:s.top+s.height+r,left:s.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var c=t.$("body").offset(),p=t.$("html").offset(),f={top:p.top+c.top,left:p.left+c.left};s.left-=f.left,s.top-=f.top}"left"!=h[0]&&"right"!=h[0]||"right"!=t.langdirection||(h[0]="left"==h[0]?"right":"left");var m={bottom:{top:s.top+s.height+l,left:s.left+s.width/2-a/2},top:{top:s.top-r-l,left:s.left+s.width/2-a/2},left:{top:s.top+s.height/2-r/2,left:s.left-a-l},right:{top:s.top+s.height/2-r/2,left:s.left+s.width+l}};t.$.extend(u,m[h[0]]),2==h.length&&(u.left="left"==h[1]?s.left:s.left+s.width-a);var g=this.checkBoundary(u.left,u.top,a,r);if(g){switch(g){case"x":d=2==h.length?h[0]+"-"+(u.left<0?"left":"right"):u.left<0?"right":"left";break;case"y":d=2==h.length?(u.top<0?"bottom":"top")+"-"+h[1]:u.top<0?"bottom":"top";break;case"xy":d=2==h.length?(u.top<0?"bottom":"top")+"-"+(u.left<0?"left":"right"):u.left<0?"right":"left"}h=d.split("-"),t.$.extend(u,m[h[0]]),2==h.length&&(u.left="left"==h[1]?s.left:s.left+s.width-a)}u.left-=t.$body.position().left,i=setTimeout(function(){e.css(u).attr("class",["uk-tooltip","uk-tooltip-"+d,n.options.cls].join(" ")),n.options.animation?e.css({opacity:0,display:"block"}).addClass(n.options.activeClass).animate({opacity:1},parseInt(n.options.animation,10)||400):e.show().addClass(n.options.activeClass),i=!1,o=setInterval(function(){n.element.is(":visible")||n.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(i&&clearTimeout(i),o&&clearTimeout(o),e.stop(),this.options.animation){var t=this;e.fadeOut(parseInt(this.options.animation,10)||400,function(){e.removeClass(t.options.activeClass)})}else e.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(e,i,o,n){var s="";return(e<0||e-t.$win.scrollLeft()+o>window.innerWidth)&&(s+="x"),(i<0||i-t.$win.scrollTop()+n>window.innerHeight)&&(s+="y"),s}}),t.tooltip}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-timepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,o,n={"12h":[],"24h":[]};for(i=t,o="";i0&&i<13&&12!==i&&(n["12h"].push({value:o+":00 AM"}),n["12h"].push({value:o+":30 AM"})),i>=12&&(o-=12,0===o&&(o=12),o<10&&(o="0"+String(o)),n["12h"].push({value:o+":00 PM"}),n["12h"].push({value:o+":30 PM"}));return n}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(e){var i=t.$(this);if(!i.data("timepicker")){var o=t.timepicker(i,t.Utils.options(i.attr("data-uk-timepicker")));setTimeout(function(){o.autocomplete.input.focus()},40)}})},init:function(){var i,o=this,n=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='',this.options.source=function(t){t(n[o.options.format]||n["12h"])},this.element.is("input")?(this.element.wrap('
      '),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=o.autocomplete.dropdown.find('[data-value="'+o.autocomplete.input.val()+'"]');setTimeout(function(){o.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){o.autocomplete.value=Math.random(),o.autocomplete.triggercomplete()}).on("blur",t.Utils.debounce(function(){o.checkTime()},100)),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,o,n="AM",s=this.autocomplete.input.val();"12h"==this.options.format?(t=s.split(" "),e=t[0].split(":"),n=t[1]):e=s.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format?(i>12?i=12:i<0&&(i=12),"am"===n||"a"===n?n="AM":"pm"!==n&&"p"!==n||(n="PM"),"AM"!==n&&"PM"!==n&&(n="AM")):i>=24?i=23:i<0&&(i=0),o<0?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,n)).trigger("change")},formatTime:function(t,e,i){return t=t<10?"0"+t:t,e=e<10?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}),function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-upload",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(o,n){function s(e,i){var o=new FormData,n=new XMLHttpRequest;if(i.before(i,e)!==!1){for(var s,a=0;s=e[a];a++)o.append(i.param,s);for(var r in i.params)o.append(r,i.params[r]);n.upload.addEventListener("progress",function(t){var e=t.loaded/t.total*100;i.progress(e,t)},!1),n.addEventListener("loadstart",function(t){i.loadstart(t)},!1),n.addEventListener("load",function(t){i.load(t)},!1),n.addEventListener("loadend",function(t){i.loadend(t)},!1),n.addEventListener("error",function(t){i.error(t)},!1),n.addEventListener("abort",function(t){i.abort(t)},!1),n.open(i.method,i.action,!0),"json"==i.type&&n.setRequestHeader("Accept","application/json");for(var l in i.headers)n.setRequestHeader(l,i.headers[l]);n.onreadystatechange=function(){if(i.readystatechange(n),4==n.readyState){var e=n.responseText;if("json"==i.type)try{e=t.$.parseJSON(e)}catch(o){e=!1}i.complete(e,n)}},i.beforeSend(n),n.send(o)}}if(!t.support.ajaxupload)return this;if(n=t.$.extend({},e.defaults,n),o.length){if("*.*"!==n.allow)for(var a,r=0;a=o[r];r++)if(!i(n.allow,a.name))return void("string"==typeof n.notallowed?alert(n.notallowed):n.notallowed(a,n));var l=n.complete;if(n.single){var d=o.length,h=0,u=!0;n.beforeAll(o),n.complete=function(t,e){h+=1,l(t,e),n.filelimit&&h>=n.filelimit&&(u=!1),u&&h