// source --> https://passerelles-services.fr/wp-content/plugins/cookie-law-info/public/js/cookie-law-info-public.js?ver=1.8.2 CLI_ACCEPT_COOKIE_NAME =(typeof CLI_ACCEPT_COOKIE_NAME !== 'undefined' ? CLI_ACCEPT_COOKIE_NAME : 'viewed_cookie_policy'); CLI_ACCEPT_COOKIE_EXPIRE =(typeof CLI_ACCEPT_COOKIE_EXPIRE !== 'undefined' ? CLI_ACCEPT_COOKIE_EXPIRE : 365); CLI_COOKIEBAR_AS_POPUP=(typeof CLI_COOKIEBAR_AS_POPUP !== 'undefined' ? CLI_COOKIEBAR_AS_POPUP : false); var CLI_Cookie={ set: function (name, value, days) { if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); var expires = "; expires=" + date.toGMTString(); } else var expires = ""; document.cookie = name + "=" + value + expires + "; path=/"; if(days<1) { host_name=window.location.hostname; document.cookie = name + "=" + value + expires + "; path=/; domain=."+host_name+";"; if(host_name.indexOf("www")!=1) { var host_name_withoutwww=host_name.replace('www',''); document.cookie = name + "=" + value + expires + "; path=/; domain="+host_name_withoutwww+";"; } host_name=host_name.substring(host_name.lastIndexOf(".", host_name.lastIndexOf(".")-1)); document.cookie = name + "=" + value + expires + "; path=/; domain="+host_name+";"; } }, read: function (name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1, c.length); } if (c.indexOf(nameEQ) === 0) { return c.substring(nameEQ.length, c.length); } } return null; }, erase: function (name) { this.set(name, "", -10); }, exists: function (name) { return (this.read(name) !== null); }, getallcookies:function() { var pairs = document.cookie.split(";"); var cookieslist = {}; for (var i = 0; i < pairs.length; i++) { var pair = pairs[i].split("="); cookieslist[(pair[0] + '').trim()] = unescape(pair[1]); } return cookieslist; } } var CLI= { bar_config:{}, showagain_config:{}, set:function(args) { if(typeof JSON.parse !== "function") { console.log("CookieLawInfo requires JSON.parse but your browser doesn't support it"); return; } this.settings = JSON.parse(args.settings); this.bar_elm=jQuery(this.settings.notify_div_id); this.showagain_elm = jQuery(this.settings.showagain_div_id); /* buttons */ this.main_button=jQuery('.cli-plugin-main-button'); this.main_link = jQuery('.cli-plugin-main-link'); this.reject_link = jQuery('.cookie_action_close_header_reject'); this.delete_link=jQuery(".cookielawinfo-cookie-delete"); this.settings_button=jQuery('.cli_settings_button'); if(this.settings.cookie_bar_as=='popup') { CLI_COOKIEBAR_AS_POPUP=true; } this.configBar(); this.toggleBar(); this.attachDelete(); this.attachEvents(); this.configButtons(); var cli_hidebar_on_readmore=this.hideBarInReadMoreLink(); if(this.settings.scroll_close===true && cli_hidebar_on_readmore===false) { window.addEventListener("scroll",CLI.closeOnScroll, false); } }, hideBarInReadMoreLink:function() { if(CLI.settings.button_2_hidebar===true && this.main_link.length>0 && this.main_link.hasClass('cli-minimize-bar')) { this.hideHeader(); this.showagain_elm.slideDown(this.settings.animate_speed_show); return true; } return false; }, attachEvents:function() { jQuery('.cli_action_button').click(function(e){ e.preventDefault(); var elm=jQuery(this); var button_action=elm.attr('data-cli_action'); var open_link=elm[0].hasAttribute("href") && elm.attr("href") != '#' ? true : false; var new_window=false; if(button_action=='accept') { CLI.accept_close(); new_window=CLI.settings.button_1_new_win ? true : false; }else if(button_action=='reject') { CLI.reject_close(); new_window=CLI.settings.button_3_new_win ? true : false; } if(open_link) { if(new_window) { window.open(elm.attr("href"),'_blank'); }else { window.location.href =elm.attr("href"); } } }); this.settingsPopUp(); this.settingsTabbedAccordion(); this.toggleUserPreferenceCheckBox(); }, toggleUserPreferenceCheckBox:function() { jQuery('.cli-user-preference-checkbox').each(function(){ if(jQuery(this).is(':checked')) { CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'yes',CLI_ACCEPT_COOKIE_EXPIRE); }else { CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'no',CLI_ACCEPT_COOKIE_EXPIRE); } }); jQuery('.cli-user-preference-checkbox').click(function(){ if(jQuery(this).is(':checked')) { CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'yes',CLI_ACCEPT_COOKIE_EXPIRE); }else { CLI_Cookie.set('cookielawinfo-'+jQuery(this).attr('data-id'),'no',CLI_ACCEPT_COOKIE_EXPIRE); } }); }, settingsPopUp:function() { jQuery('.cli_settings_button').click(function (e) { e.preventDefault(); jQuery('#cliSettingsPopup').addClass("cli-show").css({'opacity':0}).animate({'opacity':1}); jQuery('#cliSettingsPopup').removeClass('cli-blowup cli-out').addClass("cli-blowup"); jQuery('body').addClass("cli-modal-open"); jQuery(".cli-settings-overlay").addClass("cli-show"); jQuery("#cookie-law-info-bar").css({'opacity':.1}); if(!jQuery('.cli-settings-mobile').is(':visible')) { jQuery('#cliSettingsPopup').find('.cli-nav-link:eq(0)').click(); } }); jQuery('#cliModalClose').click(function(){ CLI.settingsPopUpClose(); }); jQuery("#cliSettingsPopup").click(function(e){ if(!(document.getElementsByClassName('cli-modal-dialog')[0].contains(e.target))) { CLI.settingsPopUpClose(); } }); jQuery('.cli_enable_all_btn').click(function(){ var cli_toggle_btn = jQuery(this); var enable_text = cli_toggle_btn.attr('data-enable-text'); var disable_text= cli_toggle_btn.attr('data-disable-text'); if(cli_toggle_btn.hasClass('cli-enabled')){ CLI.disableAllCookies(); cli_toggle_btn.html(enable_text); } else { CLI.enableAllCookies(); cli_toggle_btn.html(disable_text); } jQuery(this).toggleClass('cli-enabled'); }); this.privacyReadmore(); }, settingsTabbedAccordion:function() { jQuery(".cli-tab-header").on("click", function(e) { if(!(jQuery(e.target).hasClass('cli-slider') || jQuery(e.target).hasClass('cli-user-preference-checkbox'))) { if (jQuery(this).hasClass("cli-tab-active")) { jQuery(this).removeClass("cli-tab-active"); jQuery(this) .siblings(".cli-tab-content") .slideUp(200); } else { jQuery(".cli-tab-header").removeClass("cli-tab-active"); jQuery(this).addClass("cli-tab-active"); jQuery(".cli-tab-content").slideUp(200); jQuery(this) .siblings(".cli-tab-content") .slideDown(200); } } }); }, settingsPopUpClose:function() { jQuery('#cliSettingsPopup').removeClass('cli-show'); jQuery('#cliSettingsPopup').addClass('cli-out'); jQuery('body').removeClass("cli-modal-open"); jQuery(".cli-settings-overlay").removeClass("cli-show"); jQuery("#cookie-law-info-bar").css({'opacity':1}); }, privacyReadmore:function() { var el= jQuery('.cli-privacy-content .cli-privacy-content-text'), clone= el.clone(), originalHtml= clone.html(), originalHeight= el.outerHeight(), Trunc = { addReadmore:function(textBlock) { if(textBlock.html().length > 250) { jQuery('.cli-privacy-readmore').show(); } else { jQuery('.cli-privacy-readmore').hide(); } }, truncateText : function( textBlock ) { var strippedText = jQuery('
').html(textBlock.html()); strippedText.find('table').remove(); textBlock.html(strippedText.html()); while (textBlock.text().length > 250 ) { textBlock.text(function(index, text) { return text.replace(/\W*\s(\S)*$/, '...'); }); } }, replaceText: function ( textBlock, original ){ return textBlock.html(original); } }; Trunc.addReadmore(el); Trunc.truncateText(el); jQuery('a.cli-privacy-readmore').click(function(e){ e.preventDefault(); if(jQuery('.cli-privacy-overview').hasClass('cli-collapsed')) { Trunc.truncateText(el); jQuery('.cli-privacy-overview').removeClass('cli-collapsed'); el.css('height', '100%'); } else { jQuery('.cli-privacy-overview').addClass('cli-collapsed'); Trunc.replaceText(el, originalHtml); } }); }, attachDelete:function() { this.delete_link.click(function () { CLI_Cookie.erase(CLI_ACCEPT_COOKIE_NAME); for(var k in Cli_Data.nn_cookie_ids) { CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]); } return false; }); }, configButtons:function() { /*[cookie_button] */ this.main_button.css('color',this.settings.button_1_link_colour); if(this.settings.button_1_as_button) { this.main_button.css('background-color',this.settings.button_1_button_colour); this.main_button.hover(function () { jQuery(this).css('background-color',CLI.settings.button_1_button_hover); },function (){ jQuery(this).css('background-color',CLI.settings.button_1_button_colour); }); } /* [cookie_link] */ this.main_link.css('color',this.settings.button_2_link_colour); if(this.settings.button_2_as_button) { this.main_link.css('background-color',this.settings.button_2_button_colour); this.main_link.hover(function () { jQuery(this).css('background-color',CLI.settings.button_2_button_hover); },function (){ jQuery(this).css('background-color',CLI.settings.button_2_button_colour); }); } /* [cookie_reject] */ this.reject_link.css('color',this.settings.button_3_link_colour); if(this.settings.button_3_as_button) { this.reject_link.css('background-color',this.settings.button_3_button_colour); this.reject_link.hover(function () { jQuery(this).css('background-color',CLI.settings.button_3_button_hover); },function () { jQuery(this).css('background-color',CLI.settings.button_3_button_colour); }); } /* [cookie_settings] */ this.settings_button.css('color',this.settings.button_4_link_colour); if(this.settings.button_4_as_button) { this.settings_button.css('background-color',this.settings.button_4_button_colour); this.settings_button.hover(function () { jQuery(this).css('background-color',CLI.settings.button_4_button_hover); },function () { jQuery(this).css('background-color',CLI.settings.button_4_button_colour); }); } }, toggleBar:function() { if(CLI_COOKIEBAR_AS_POPUP) { this.barAsPopUp(1); } if(CLI.settings.cookie_bar_as=='widget') { this.barAsWidget(1); } if(!CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)) { this.displayHeader(); }else { this.hideHeader(); } if(this.settings.show_once_yn) { setTimeout(function(){ CLI.close_header(); },CLI.settings.show_once); } this.showagain_elm.click(function (e) { e.preventDefault(); CLI.showagain_elm.slideUp(CLI.settings.animate_speed_hide,function() { CLI.bar_elm.slideDown(CLI.settings.animate_speed_show); if(CLI_COOKIEBAR_AS_POPUP) { CLI.showPopupOverlay(); } }); }); }, configShowAgain:function() { this.showagain_config = { 'background-color': this.settings.background, 'color':this.l1hs(this.settings.text), 'position': 'fixed', 'font-family': this.settings.font_family }; if(this.settings.border_on) { var border_to_hide = 'border-' + this.settings.notify_position_vertical; this.showagain_config['border'] = '1px solid ' + this.l1hs(this.settings.border); this.showagain_config[border_to_hide] = 'none'; } var cli_win=jQuery(window); var cli_winw=cli_win.width(); var showagain_x_pos=this.settings.showagain_x_position; if(cli_winw<300) { showagain_x_pos=10; this.showagain_config.width=cli_winw-20; }else { this.showagain_config.width='auto'; } var cli_defw=cli_winw>400 ? 500 : cli_winw-20; if(CLI_COOKIEBAR_AS_POPUP) /* cookie bar as popup */ { var sa_pos=this.settings.popup_showagain_position; var sa_pos_arr=sa_pos.split('-'); if(sa_pos_arr[1]=='left') { this.showagain_config.left=showagain_x_pos; }else if(sa_pos_arr[1]=='right') { this.showagain_config.right=showagain_x_pos; } if(sa_pos_arr[0]=='top') { this.showagain_config.top=0; }else if(sa_pos_arr[0]=='bottom') { this.showagain_config.bottom=0; } this.bar_config['position'] = 'fixed'; }else if(this.settings.cookie_bar_as=='widget') { this.showagain_config.bottom=0; if(this.settings.widget_position=='left') { this.showagain_config.left=showagain_x_pos; }else if(this.settings.widget_position=='right') { this.showagain_config.right=showagain_x_pos; } } else { if(this.settings.notify_position_vertical == "top") { this.showagain_config.top = '0'; } else if(this.settings.notify_position_vertical == "bottom") { this.bar_config['position'] = 'fixed'; this.bar_config['bottom'] = '0'; this.showagain_config.bottom = '0'; } if(this.settings.notify_position_horizontal == "left") { this.showagain_config.left =showagain_x_pos; }else if(this.settings.notify_position_horizontal == "right") { this.showagain_config.right =showagain_x_pos; } } this.showagain_elm.css(this.showagain_config); }, configBar:function() { this.bar_config = { 'background-color':this.settings.background, 'color':this.settings.text, 'font-family':this.settings.font_family }; if(this.settings.notify_position_vertical=="top") { this.bar_config['top'] = '0'; if(this.settings.header_fix === true) { this.bar_config['position'] = 'fixed'; } }else { this.bar_config['bottom'] = '0'; } this.configShowAgain(); this.bar_elm.css(this.bar_config).hide(); }, l1hs:function(str) { if (str.charAt(0) == "#") { str = str.substring(1, str.length); } else { return "#" + str; } return this.l1hs(str); }, close_header:function() { CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'yes',CLI_ACCEPT_COOKIE_EXPIRE); this.hideHeader(); }, accept_close:function() { this.hidePopupOverlay(); CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'yes',CLI_ACCEPT_COOKIE_EXPIRE); if(this.settings.notify_animate_hide) { this.bar_elm.slideUp(this.settings.animate_speed_hide); }else { this.bar_elm.hide(); } if(this.settings.showagain_tab) { this.showagain_elm.slideDown(this.settings.animate_speed_show); } if(this.settings.accept_close_reload === true) { this.reload_current_page(); } return false; }, reject_close:function() { this.hidePopupOverlay(); for(var k in Cli_Data.nn_cookie_ids) { CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]); } CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,'no',CLI_ACCEPT_COOKIE_EXPIRE); if(this.settings.notify_animate_hide) { this.bar_elm.slideUp(this.settings.animate_speed_hide); } else { this.bar_elm.hide(); } if(this.settings.showagain_tab) { this.showagain_elm.slideDown(this.settings.animate_speed_show); } if(this.settings.reject_close_reload === true) { this.reload_current_page(); } return false; }, reload_current_page:function() { if(typeof cli_flush_cache!=='undefined' && cli_flush_cache==1) { window.location.href=this.add_clear_cache_url_query(); }else { window.location.reload(true); } }, add_clear_cache_url_query:function() { var cli_rand=new Date().getTime()/1000; var cli_url=window.location.href; var cli_hash_arr=cli_url.split('#'); var cli_urlparts= cli_hash_arr[0].split('?'); if(cli_urlparts.length>=2) { var cli_url_arr=cli_urlparts[1].split('&'); cli_url_temp_arr=new Array(); for(var cli_i=0; cli_i0 ? '&': '')+'cli_action='; }else { cli_url=cli_hash_arr[0]+'?cli_action='; } cli_url+=cli_rand; if(cli_hash_arr.length>1) { cli_url+='#'+cli_hash_arr[1]; } return cli_url; }, closeOnScroll:function() { if(window.pageYOffset > 100 && !CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)) { CLI.accept_close(); if(CLI.settings.scroll_close_reload === true) { window.location.reload(); } window.removeEventListener("scroll",CLI.closeOnScroll,false); } }, displayHeader:function() { if(this.settings.notify_animate_show) { this.bar_elm.slideDown(this.settings.animate_speed_show); }else { this.bar_elm.show(); } this.showagain_elm.hide(); if(CLI_COOKIEBAR_AS_POPUP) { this.showPopupOverlay(); } }, hideHeader:function() { if(this.settings.showagain_tab) { if(this.settings.notify_animate_show) { this.showagain_elm.slideDown(this.settings.animate_speed_show); } else { this.showagain_elm.show(); } }else { this.showagain_elm.hide(); } this.bar_elm.slideUp(this.settings.animate_speed_show); this.hidePopupOverlay(); }, hidePopupOverlay:function() { jQuery('body').removeClass("cli-barmodal-open"); jQuery(".cli-popupbar-overlay").removeClass("cli-show"); }, showPopupOverlay:function() { if(this.settings.popup_overlay) { jQuery('body').addClass("cli-barmodal-open"); jQuery(".cli-popupbar-overlay").addClass("cli-show"); } }, barAsWidget:function(a) { var cli_elm=this.bar_elm; var cli_win=jQuery(window); var cli_winh=cli_win.height()-40; var cli_winw=cli_win.width(); var cli_defw=cli_winw>400 ? 300 : cli_winw-30; cli_elm.css({ 'width':cli_defw,'height':'auto','max-height':cli_winh,'padding':'25px 15px','overflow':'auto','position':'fixed','box-sizing':'border-box' }); if(this.settings.widget_position=='left') { cli_elm.css({ 'left':'15px','right':'auto','bottom':'15px','top':'auto' }); }else { cli_elm.css({ 'left':'auto','right':'15px','bottom':'15px','top':'auto' }); } if(a) { this.setResize(); } }, barAsPopUp:function(a) { if(typeof cookie_law_info_bar_as_popup==='function') { return false; } var cli_elm=this.bar_elm; var cli_win=jQuery(window); var cli_winh=cli_win.height()-40; var cli_winw=cli_win.width(); var cli_defw=cli_winw>700 ? 500 : cli_winw-20; cli_elm.css({ 'width':cli_defw,'height':'auto','max-height':cli_winh,'bottom':'','top':'50%','left':'50%','margin-left':(cli_defw/2)*-1,'margin-top':'-100px','padding':'25px 15px','overflow':'auto' }).addClass('cli-bar-popup cli-modal-content'); cli_h=cli_elm.height(); li_h=cli_h<200 ? 200 : cli_h; cli_elm.css({'top':'50%','margin-top':((cli_h/2)+30)*-1}); setTimeout(function(){ cli_elm.css({ 'bottom':'' }); },100); if(a) { this.setResize(); } }, setResize:function() { var resizeTmr=null; jQuery(window).resize(function() { clearTimeout(resizeTmr); resizeTmr=setTimeout(function() { if(CLI_COOKIEBAR_AS_POPUP) { CLI.barAsPopUp(); } if(CLI.settings.cookie_bar_as=='widget') { CLI.barAsWidget(); } CLI.configShowAgain(); },500); }); } } jQuery(document).ready(function() { if(typeof cli_cookiebar_settings!='undefined') { CLI.set({ settings:cli_cookiebar_settings }); } }); // source --> https://passerelles-services.fr/wp-content/themes/yootheme/cache/scripts-079394ae.js?ver=1.10.8 /*! UIkit 3.0.0-beta.35 | http://www.getuikit.com | (c) 2014 - 2017 YOOtheme | MIT License */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):t.UIkit=e()}(this,function(){"use strict";function t(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var n=s(t),o=n[0],r=n[1],l=n[2],u=n[3],c=n[4];return o=a(o),l&&(u=function(t,e,i){var n=this;return function(o){var s=o.target,r=">"===e[0]?zt(e,t).reverse().filter(function(t){return Rt(s,t)})[0]:Ut(s,e);r&&(o.delegate=t,o.current=r,i.call(n,o))}}(o,l,u)),u.length>1&&(u=function(t){return function(e){return je(e.detail)?t.apply(t,[e].concat(e.detail)):t(e)}}(u)),r.split(" ").forEach(function(t){return o.addEventListener(t,u,c)}),function(){return e(o,r,u,c)}}function e(t,e,i,n){void 0===n&&(n=!1),e.split(" ").forEach(function(e){return a(t).removeEventListener(e,i,n)})}function i(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];var n=s(e),o=n[0],r=n[1],a=n[2],l=n[3],u=n[4],c=n[5],h=t(o,r,a,function(t){var e=!c||c(t);e&&(h(),l(t,e))},u);return h}function n(t,e,i){return l(t).reduce(function(t,n){return t&&n.dispatchEvent(o(e,!0,!0,i))},!0)}function o(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),C(t)){var o=Ue.createEvent("CustomEvent");o.initCustomEvent(t,e,i,n),t=o}return t}function s(t){return C(t[0])&&(t[0]=Ht(t[0])),y(t[2])&&t.splice(2,0,!1),t}function r(t){return"EventTarget"in qe?t instanceof EventTarget:"addEventListener"in t}function a(t){return r(t)?t:Qt(t)}function l(t){return r(t)?[t]:je(t)?t.map(a).filter(Boolean):Kt(t)}function u(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function c(t,e){return Se.call(t,e)}function h(t){return t.replace(Ne,function(t,e){return e?e.toUpperCase():""})}function f(t){return t.replace(De,"$1-$2").toLowerCase()}function d(t){return t.replace(Be,p)}function p(t,e){return e?e.toUpperCase():""}function m(t){return t.length?p(0,t.charAt(0))+t.slice(1):""}function g(t,e){return Pe.call(t,e)}function v(t,e){return Me.call(t,e)}function w(t,e){return t&&(C(t)?ze:Le).call(t,e)}function y(t){return"function"==typeof t}function b(t){return null!==t&&"object"==typeof t}function x(t){return b(t)&&Object.getPrototypeOf(t)===Object.prototype}function k(t){return b(t)&&t===t.window}function $(t){return b(t)&&9===t.nodeType}function T(t){return"boolean"==typeof t}function C(t){return"string"==typeof t}function E(t){return"number"==typeof t}function A(t){return E(t)||C(t)&&!isNaN(t-parseFloat(t))}function _(t){return void 0===t}function S(t){return T(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function I(t){var e=Number(t);return!isNaN(e)&&e}function N(t){return parseFloat(t)||0}function D(t){return je(t)?t:C(t)?t.split(/,(?![^(]*\))/).map(function(t){return A(t)?I(t):S(t.trim())}):[t]}function B(t){if(C(t))if("@"===t[0]){var e="media-"+t.substr(1);t=Fe[e]||(Fe[e]=N(et(e)))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}function O(t,e,i){return t===Boolean?S(e):t===Number?I(e):"query"===t?jt(e,i):"list"===t?D(e):"media"===t?B(e):t?t(e):e}function P(t){return t?v(t,"ms")?N(t):1e3*N(t):0}function M(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}function H(t,e){for(var i in t)if(!1===e.call(t[i],t[i],i))break}function z(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(t,e),i)}function L(){}function j(t,e){return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function F(t,e){return j({top:t.y,bottom:t.y,left:t.x,right:t.x},e)}function W(e,i){return new Ie(function(n,o){var s=We({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:L,responseType:""},i),r=s.xhr;s.beforeSend(s);for(var a in s)if(a in r)try{r[a]=s[a]}catch(t){}r.open(s.method.toUpperCase(),e);for(var l in s.headers)r.setRequestHeader(l,s.headers[l]);t(r,"load",function(){0===r.status||r.status>=200&&r.status<300||304===r.status?n(r):o(We(Error(r.statusText),{xhr:r,status:r.status}))}),t(r,"error",function(){return o(We(Error("Network Error"),{xhr:r}))}),t(r,"timeout",function(){return o(We(Error("Network Timeout"),{xhr:r}))}),r.send(s.data)})}function V(t){this.state=Ve,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}function R(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];G(t,e,"add")}function Y(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];G(t,e,"remove")}function q(t,e){oe(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function U(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];e[0]&&Y(t,e[0]),e[1]&&R(t,e[1])}function X(t,e){return si.ClassList&&Kt(t).some(function(t){return t.classList.contains(e)})}function J(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(si.ClassList&&e.length){var n=C((e=Z(e))[e.length-1])?void 0:e.pop();e=e.filter(Boolean),Kt(t).forEach(function(t){for(var i=t.classList,o=0;o=a[d]&&n+u[e]<=a[p])return h[d]=n,["element","target"].forEach(function(i){l[i][f]=t?l[i][f]===hi[e][1]?hi[e][2]:hi[e][1]:l[i][f]}),!0}var f=t[0],d=t[1],p=t[2];if(!0===r||w(r,f)){var m=i[f]===d?-u[e]:i[f]===p?u[e]:0,g=n[f]===d?c[e]:n[f]===p?-c[e]:0;if(h[d]a[p]){var v=u[e]/2,y="center"===n[f]?-c[e]/2:0;"center"===i[f]&&(s(v,y)||s(-v,-y))||s(m,g)}}}),ot(t,h),l}function ot(t,e){t=Qt(t);{if(!e)return st(t);var i=ot(t),n=Q(t,"position");["left","top"].forEach(function(o){if(o in e){var s=Q(t,o);t.style[o]=e[o]-i[o]+N("absolute"===n&&"auto"===s?rt(t)[o]:s)+"px"}})}}function st(t){var e=ut(t=Qt(t)),i=e.pageYOffset,n=e.pageXOffset;if(k(t)){var o=t.innerHeight,s=t.innerWidth;return{top:i,left:n,height:o,width:s,bottom:i+o,right:n+s}}var r=!1;$t(t)||(r=t.style.display,t.style.display="block");var a=t.getBoundingClientRect();return!1!==r&&(t.style.display=r),{height:a.height,width:a.width,top:a.top+i,left:a.left+n,bottom:a.bottom+i,right:a.right+n}}function rt(t){var e=function(t){var e=Qt(t).offsetParent;for(;e&&"static"===Q(e,"position");)e=e.offsetParent;return e||mt(t)}(t=Qt(t)),i=e===mt(t)?{top:0,left:0}:ot(e);return["top","left"].reduce(function(n,o){var s=m(o);return n[o]-=i[o]+(N(Q(t,"margin"+s))||0)+(N(Q(e,"border"+s+"Width"))||0),n},ot(t))}function at(t){var e=m(t);return function(i,n){if(i=Qt(i),_(n)){if(k(i))return i["inner"+e];if($(i)){var o=i.documentElement;return Math.max(o.offsetHeight,o.scrollHeight)}return n=Q(i,t),n="auto"===n?i["offset"+e]:N(n)||0,lt(t,i,n)}Q(i,t,n||0===n?lt(t,i,n)+"px":"")}}function lt(t,e,i){return"border-box"===Q(e,"boxSizing")?hi[t].slice(1).map(m).reduce(function(t,i){return t-N(Q(e,"padding"+i))-N(Q(e,"border"+i+"Width"))},i):i}function ut(t){return k(t)?t:pt(t).defaultView}function ct(t,e,i,n){H(hi,function(o,s){var r=o[0],a=o[1],l=o[2];e[r]===l?t[a]+=i[s]*n:"center"===e[r]&&(t[a]+=i[s]*n/2)})}function ht(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 ft(t,e,i){var n=(t||"").split(" "),o=n[0],s=n[1];return{x:o?N(o)*(v(o,"%")?e/100:1):0,y:s?N(s)*(v(s,"%")?i/100:1):0}}function dt(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function pt(t){return Qt(t).ownerDocument}function mt(t){return pt(t).documentElement}function gt(){return"complete"===Ue.readyState||"loading"!==Ue.readyState&&!Xe.doScroll}function vt(e){if(gt())e();else var i=function(){n(),o(),e()},n=t(Ue,"DOMContentLoaded",i),o=t(qe,"load",i)}function wt(t,e,o,s){return void 0===o&&(o=400),void 0===s&&(s="linear"),Ie.all(Kt(t).map(function(t){return new Ie(function(r,a){for(var l in e){var u=Q(t,l);""===u&&Q(t,l,u)}var c=setTimeout(function(){return n(t,"transitionend")},o);i(t,"transitionend transitioncanceled",function(e){var i=e.type;clearTimeout(c),Y(t,"uk-transition"),Q(t,"transition",""),"transitioncanceled"===i?a():r()},!1,function(e){var i=e.target;return t===i}),R(t,"uk-transition"),Q(t,We({transition:"all "+o+"ms "+s},e))})}))}function yt(t,e,n,o,s){var r=arguments;return void 0===n&&(n=200),Ie.all(Kt(t).map(function(t){return new Ie(function(a,l){function u(){Q(t,"animationDuration",""),q(t,gi+"\\S*")}if(X(t,vi))requestAnimationFrame(function(){return Ie.resolve().then(function(){return yt.apply(null,r).then(a,l)})});else{var c=e+" "+gi+(s?"leave":"enter");g(e,gi)&&(o&&(c+=" "+gi+o),s&&(c+=" "+gi+"reverse")),u(),i(t,"animationend animationcancel",function(e){var i=!1;"animationcancel"===e.type?(l(),u()):(a(),Ie.resolve().then(function(){i=!0,u()})),requestAnimationFrame(function(){i||(R(t,vi),requestAnimationFrame(function(){return Y(t,vi)}))})},!1,function(e){var i=e.target;return t===i}),Q(t,"animationDuration",n+"ms"),R(t,c)}})}))}function bt(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),j(Qt(t).getBoundingClientRect(),{top:e,left:i,bottom:e+fi(qe),right:i+di(qe)})}function xt(t,e,i){void 0===i&&(i=0);var n=(e=Kt(e)).length;return(t=(A(t)?I(t):"next"===t?i+1:"previous"===t?i-1:Mt(e,t))%n)<0?t+n:t}function kt(t){return bi[Qt(t).tagName.toLowerCase()]}function $t(t){return Kt(t).some(function(t){return t.offsetHeight})}function Tt(t){return Kt(t).some(function(t){return qt(t,ki)})}function Ct(t){return t=Qt(t),t.innerHTML="",t}function Et(t,e){return t=Qt(t),_(e)?t.innerHTML:At(t.hasChildNodes()?Ct(t):t,e)}function At(t,e){return t=Qt(t),It(e,function(e){return t.appendChild(e)})}function _t(t,e){return t=Qt(t),It(e,function(e){return t.parentNode.insertBefore(e,t)})}function St(t,e){return t=Qt(t),It(e,function(e){return t.nextSibling?_t(t.nextSibling,e):At(t.parentNode,e)})}function It(t,e){return"length"in(t=C(t)?Pt(t):t)?Kt(t).map(e):e(t)}function Nt(t){Kt(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function Dt(t,e){for(e=Qt(_t(t,e));e.firstChild;)e=e.firstChild;return At(e,t),e}function Bt(t,e){return Kt(Kt(t).map(function(t){return t.hasChildNodes?Dt(Kt(t.childNodes),e):At(t,e)}))}function Ot(t){Kt(t).map(function(t){return t.parentNode}).filter(function(t,e,i){return i.indexOf(t)===e}).forEach(function(t){_t(t,t.childNodes),Nt(t)})}function Pt(t){var e;if(e=Ti.exec(t))return Ue.createElement(e[1]);var i=Ue.createElement("div");return $i.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,i.childNodes.length>1?Kt(i.childNodes):i.firstChild}function Mt(t,e){return e?Kt(t).indexOf(Qt(e)):Kt((t=Qt(t))&&t.parentNode.children).indexOf(t)}function Ht(t,e){return C(t)?Lt(t)?Qt(Pt(t)):function(t,e){return Qt(Wt(t,e,"querySelector"))}(t,e):Qt(t)}function zt(t,e){return C(t)?Lt(t)?Kt(Pt(t)):function(t,e){return Kt(Wt(t,e,"querySelectorAll"))}(t,e):Kt(t)}function Lt(t){return"<"===t[0]||t.match(/^\s*")&&(e=e.slice(1)),Gt(t)?t.parentNode&&Ii.call(t,e):Kt(t).map(function(t){return t.parentNode&&Ii.call(t,e)}).filter(Boolean)}function Xt(t,e){for(var i=[],n=Qt(t).parentNode;n&&1===n.nodeType;)qt(n,e)&&i.push(n),n=n.parentNode;return i}function Jt(t){return b(t)&&!!t.jquery}function Gt(t){return t instanceof Node||b(t)&&1===t.nodeType}function Zt(t){return t instanceof NodeList||t instanceof HTMLCollection}function Qt(t){return Gt(t)||k(t)||$(t)?t:Zt(t)||Jt(t)?t[0]:je(t)?Qt(t[0]):null}function Kt(t){return Gt(t)?[t]:Zt(t)?Ci.slice.call(t):je(t)?t.map(Qt).filter(Boolean):Jt(t)?t.toArray():[]}function te(t){return C(t)?Ni.call(null,t):""}function ee(t,e,i){if(b(e))for(var n in e)ee(t,n,e[n]);else{if(_(i))return(t=Qt(t))&&t.getAttribute(e);Kt(t).forEach(function(t){y(i)&&(i=i.call(t,ee(t,e))),null===i?ne(t,e):t.setAttribute(e,i)})}}function ie(t,e){return Kt(t).some(function(t){return t.hasAttribute(e)})}function ne(t,e){t=Kt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeAttribute(e)})})}function oe(t,e,i,n){ee(t,e,function(t){return t?t.replace(i,n):t})}function se(t,e){for(var i=0,n=[e,"data-"+e];i"}).join("")),n.forEach(function(t,e){return o.children[e].textContent=t}))})}},methods:{start:function(){var t=this;this.stop(),this.date&&this.units.length&&(this.$emit(),this.timer=setInterval(function(){return t.$emit()},1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}})}}function we(t){if(!we.installed){var e=t.util,i=e.addClass,n=e.css,o=e.scrolledOver,s=e.toFloat;t.component("grid-parallax",t.components.grid.extend({props:{target:String,translate:Number},defaults:{target:!1,translate:150},computed:{translate:function(t){var e=t.translate;return Math.abs(e)}},init:function(){i(this.$el,"uk-grid")},disconnected:function(){this.reset(),n(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 function(t,e){return t.sort(function(t,i){return t[e]>i[e]?1:i[e]>t[e]?-1:0})}(t,"offsetLeft")})}},write:function(t){var e=t.columns;n(this.$el,"marginBottom",e>1?this.translate+s(n(n(this.$el,"marginBottom",""),"marginBottom")):"")},events:["load","resize"]},{read:function(){return{scrolled:o(this.$el)*this.translate}},write:function(t){var e=t.rows,i=t.columns,o=t.scrolled;if(!e||1===i||!o)return this.reset();e.forEach(function(t){return t.forEach(function(t,e){return n(t,"transform","translateY("+(e%2?o:o/8)+"px)")})})},events:["scroll","load","resize"]}],methods:{reset:function(){n(this.$el.children,"transform","")}}})),t.component("grid-parallax").options.update.unshift({read:function(){this.reset()},events:["load","resize"]})}}function ye(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),"translate("+t+(t?e:"")+", 0)"}function be(t){return"scale3d("+t+", "+t+", 1)"}function xe(t){function e(t,e,n,o,s,r){var a=t.percent,l=t.translate,u=(0,t.show)(s);return{animation:t,dir:s,current:n,next:o,show:function(t,a,l){var c=this;void 0===a&&(a=0);var h=l?"linear":e;return t-=Math.round(t*a),this.translate(a),i(o,"itemin",{percent:a,duration:t,ease:h,dir:s}),n&&i(n,"itemout",{percent:1-a,duration:t,ease:h,dir:s}),A.all([N.start(o,u[1],t,h),n&&N.start(n,u[0],t,h)]).then(function(){c.reset(),r()},b)},stop:function(){return N.stop([o,n])},cancel:function(){N.cancel([o,n])},reset:function(){for(var t in u[0])c([o,n],t,"")},forward:function(t){var e=this.percent();N.cancel([o,n]),this.show(t,e,!0)},translate:function(t){var e=l(t,s);c(o,e[1]),n&&c(n,e[0]),i(o,"itemtranslatein",{percent:t,dir:s}),n&&i(n,"itemtranslateout",{percent:1-t,dir:s})},percent:function(){return a(n,o,s)}}}function i(t,e,i){D(t,u(e,!1,!1,i))}function n(t){return~~t}if(!xe.installed){var o=t.util,s=o.$$,r=o.$,a=o.addClass,l=o.assign,u=o.createEvent,c=o.css,h=o.data,f=o.doc,d=o.endsWith,p=o.fastdom,m=o.getIndex,g=o.getPos,v=o.hasClass,w=o.index,y=o.isTouch,b=o.noop,x=o.off,k=o.on,$=o.pointerDown,T=o.pointerMove,C=o.pointerUp,E=o.preventClick,A=o.Promise,_=o.removeClass,S=o.toggleClass,I=o.toNodes,N=o.Transition,D=o.trigger,B=o.win,O=Math.abs;t.mixin.slideshow={attrs:!0,props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean,animation:String,easing:String,velocity:Number},defaults:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,animation:"slide",easing:"ease",velocity:1,index:0,stack:[],threshold:10,percent:0,clsActive:"uk-active",clsActivated:"uk-transition-active",initialAnimation:!1,Animations:Sn(t)},computed:{list:function(t,e){var i=t.selList;return r(i,e)},slides:function(){return I(this.list.children)},animation:function(t){var e=t.animation,i=t.Animations;return l(e in i?i[e]:i.slide,{name:e})},duration:function(t,e){var i=t.velocity;return function(t){return.5*t+300}(e.offsetWidth/i)}},init:function(){var t=this;["start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){var n=g(e).x;t.prevPos=n!==t.pos?t.pos:t.prevPos,t.pos=n,i(e)}})},connected:function(){this.startAutoplay()},disconnected:function(){this.stopAutoplay()},update:[{read:function(){delete this._computeds.duration},events:["load","resize"]}],events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),t.current.blur(),this.show(h(t.current,this.attrItem))}},{name:$,delegate:function(){return this.selList+" > *"},handler:function(t){!y(t)&&function(t){return!t.children.length&&t.childNodes.length}(t.target)||this.start(t)}},{name:"visibilitychange",el:f,handler:function(){f.hidden?this.stopAutoplay():this.startAutoplay()}},{name:$,handler:"stopAutoplay"},{name:"mouseenter",filter:function(){return this.autoplay},handler:function(){this.isHovering=!0}},{name:"mouseleave",filter:function(){return this.autoplay},handler:function(){this.isHovering=!1}},{name:"beforeitemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;a(e,this.clsActive)}},{name:"itemshown",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;a(e,this.clsActivated)}},{name:"itemshow itemhide",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.type,i=t.target;S(s("["+this.attrItem+'="'+w(i)+'"],[data-'+this.attrItem+'="'+w(i)+'"]',this.$el),this.clsActive,d(e,"show"))}},{name:"itemhidden",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;_(e,this.clsActive),_(e,this.clsActivated)}},{name:"itemshow itemhide itemshown itemhidden",self:!0,delegate:function(){return this.selList+" > *"},handler:function(e){var i=e.target;t.update(null,i)}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(t){if(!(t.button>0||this.slides.length<2||this._animation&&this._animation.animation!==this.animation)){var e=0;if(this.stack.length){var i=this._animation,n=i.dir,o=i.percent,s=i.cancel,r=i.translate;e=o()*n,this.percent=O(e)*-n,this.stack.splice(0,this.stack.length),s(),r(O(e)),this.index=this.getIndex(this.index-n),this.dragging=!0}this.unbindMove=k(f,T,this.move,{capture:!0,passive:!1}),k(B,"scroll",this.unbindMove),k(f,C,this.end,!0),this.drag=this.pos+this.$el.offsetWidth*e}},move:function(i){var o=this,s=this.pos-this.drag;if(!(this.prevPos===this.pos||!this.dragging&&O(s)this.prevPos)&&(this.index=this.getIndex(t>0?"previous":"next"),this.percent=1-this.percent,t*=-1),this._animation&&this._animation.reset(),this.show(t>0?"previous":"next",!0),E()}this.drag=this.dragging=this.percent=null},show:function(t,e){var i=this;if(void 0===e&&(e=!1),e||!this.drag)if(this.stack[e?"unshift":"push"](t),!e&&this.stack.length>1)2===this.stack.length&&this._animation.forward(250);else{var n=this.index,o=this.getIndex(t),s=v(this.slides,"uk-active")&&this.slides[n],r=this.slides[o];if(s!==r){s&&D(s,"beforeitemhide",[this]),D(r,"beforeitemshow",[this]),this.index=o;var a=function(){s&&D(s,"itemhidden",[i]),D(r,"itemshown",[i]),p.write(function(){i.stack.shift(),i.stack.length?i.show(i.stack.shift(),!0):i._animation=null})};(s||this.initialAnimation)&&this._show(s?this.animation:this.Animations[this.initialAnimation],e?"cubic-bezier(0.165, 0.840, 0.440, 1.000)":this.easing,s,r,function(t,e){return"next"===t?1:"previous"===t?-1:t1,a),s&&D(s,"itemhide",[this]),D(r,"itemshow",[this]),s||this.initialAnimation||a(),s&&p.flush()}else this.stack[e?"shift":"pop"]()}},_show:function(t,i,n,o,s,r,a){this._animation=new e(t,i,n,o,s,a),this._animation.show(n===o?300:r?150:this.duration,this.percent,r)},getIndex:function(t){return void 0===t&&(t=this.index),m(t,this.slides,this.index)},startAutoplay:function(){var t=this;this.stopAutoplay(),this.autoplay&&(this.interval=setInterval(function(){t.isHovering&&t.pauseOnHover||t.stack.length||t.show("next")},this.autoplayInterval))},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}}}}function ke(t){function e(t,e,i,n){return''}if(!ke.installed){t.use(xe);var i=t.mixin,n=t.util,o=n.$,s=n.$$,r=n.addClass,a=n.ajax,l=n.append,u=n.assign,c=n.attr,h=n.css,f=n.doc,d=n.docEl,p=n.data,m=n.getImage,g=n.html,v=n.index,w=n.on,y=n.pointerDown,b=n.pointerMove,x=n.removeClass,k=n.Transition,$=n.trigger;t.component("lightbox",{attrs:!0,props:{animation:String,toggle:String,autoplay:Boolean,autoplayInterval:Number,videoAutoplay:Boolean},defaults:{animation:void 0,toggle:"a",autoplay:0,videoAutoplay:!1},computed:{toggles:function(t,e){var i=t.toggle;return s(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(v(this.toggles,t.current))}}],update:function(t){this.panel&&this.animation&&(this.panel.$props.animation=this.animation,this.panel.$emit()),!this.panel||t.toggles&&function(t,e){return t.length===e.length&&t.every(function(t,i){return t!==e[i]})}(t.toggles,this.toggles)||(t.toggles=this.toggles,this._destroy(),this._init())},methods:{_init:function(){return this.panel=this.panel||t.lightboxPanel(u({},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]=p(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()}}}),t.component("lightbox-panel",{mixins:[i.container,i.togglable,i.slideshow],functional:!0,defaults:{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",initialAnimation:"scale",pauseOnHover:!1,velocity:2,Animations:In(t),template:'
    '},created:function(){var t=this;this.$mount(l(this.container,this.template)),this.caption=o(".uk-lightbox-caption",this.$el),this.items.forEach(function(e,i){return l(t.list,"
  • ")})},events:[{name:b+" "+y+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){t.preventDefault(),this.hide()}},{name:"show",self:!0,handler:function(){r(d,this.clsPage)}},{name:"shown",self:!0,handler:"showControls"},{name:"hide",self:!0,handler:"hideControls"},{name:"hidden",self:!0,handler:function(){x(d,this.clsPage)}},{name:"keyup",el:function(){return f},handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 27:this.hide();break;case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"toggle",handler:function(t){t.preventDefault(),this.toggle()}},{name:"beforeitemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(){this.isToggled()||this.toggleNow(this.$el,!0)}},{name:"itemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target,i=v(e),n=this.getItem(i).caption;h(this.caption,"display",n?"":"none"),g(this.caption,n);for(var o=0;o<=this.preload;o++)this.loadItem(this.getIndex(i+o)),this.loadItem(this.getIndex(i-o))}},{name:"itemload",handler:function(t,i){var n,s=this,r=i.source,l=i.type,u=i.alt;if(this.setItem(i,""),r)if("image"===l||r.match(/\.(jp(e)?g|png|gif|svg)$/i))m(r).then(function(t){return s.setItem(i,''+(u||')},function(){return s.setError(i)});else if("video"===l||r.match(/\.(mp4|webm|ogv)$/i)){var h=o("');c(h,"src",r),w(h,"error",function(){return s.setError(i)}),w(h,"loadedmetadata",function(){c(h,{width:h.videoWidth,height:h.videoHeight}),s.setItem(i,h)})}else if("iframe"===l)this.setItem(i,'');else if(n=r.match(/\/\/.*?youtube\.[a-z]+\/watch\?v=([^&\s]+)/)||r.match(/youtu\.be\/(.*)/)){var f=n[1],d=function(t,n){return void 0===t&&(t=640),void 0===n&&(n=450),s.setItem(i,e("//www.youtube.com/embed/"+f,t,n,s.videoAutoplay))};m("//img.youtube.com/vi/"+f+"/maxresdefault.jpg").then(function(t){var e=t.width,i=t.height;120===e&&90===i?m("//img.youtube.com/vi/"+f+"/0.jpg").then(function(t){var e=t.width,i=t.height;return d(e,i)},d):d(e,i)},d)}else(n=r.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&a("//vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(r),{responseType:"json"}).then(function(t){var o=t.response,r=o.height,a=o.width;return s.setItem(i,e("//player.vimeo.com/video/"+n[2],a,r,s.videoAutoplay))})}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},hide:function(){this.isToggled()&&this.toggleNow(this.$el,!1),x(this.slides,this.clsActive),k.stop(this.slides),delete this.index,delete this.percent,delete this._animation},loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||$(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(e,i){u(e,{content:i});var n=g(this.slides[this.items.indexOf(e)],i);$(this.$el,"itemloaded",[this,n]),t.update(null,n)},setError:function(t){this.setItem(t,'')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),c(s("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el),"hidden",this.items.length<2?"":null),r(this.$el,"uk-active","uk-transition-active")},hideControls:function(){x(this.$el,"uk-active","uk-transition-active")}}})}}function $e(t){if(!$e.installed){var e=t.util,i=e.append,n=e.closest,o=e.css,s=e.each,r=e.pointerEnter,a=e.pointerLeave,l=e.remove,u=e.toFloat,c=e.Transition,h=e.trigger,f={};t.component("notification",{functional:!0,args:["message","status"],defaults:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},created:function(){f[this.pos]||(f[this.pos]=i(t.container,'
    '));var e=o(f[this.pos],"display","block");this.$mount(i(e,'
    '+this.message+"
    "))},ready:function(){var t=this,e=u(o(this.$el,"marginBottom"));c.start(o(this.$el,{opacity:0,marginTop:-1*this.$el.offsetHeight,marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout))})},events:(d={click:function(t){n(t.target,'a[href="#"]')&&t.preventDefault(),this.close()}},d[r]=function(){this.timer&&clearTimeout(this.timer)},d[a]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},d),methods:{close:function(t){var e=this,i=function(){h(e.$el,"close",[e]),l(e.$el),f[e.pos].children.length||o(f[e.pos],"display","none")};this.timer&&clearTimeout(this.timer),t?i():c.start(this.$el,{opacity:0,marginTop:-1*this.$el.offsetHeight,marginBottom:0}).then(i)}}});var d;t.notification.closeAll=function(e,i){s(t.instances,function(t){"notification"!==t.$options.name||e&&e!==t.group||t.close(i)})}}}function Te(t){function e(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 i(t,i){var n=e(t,i),o=n[0],s=n[1],r=n[2];return(h(o)?o+Math.abs(o-s)*r*(or&&(l=parseFloat(l))&&(e.props[t].steps=u.map(function(t){return t-(h-r)/(100/l)})),s=a.cover(i,o))}),r(this.$el,{backgroundSize:s.width+"px "+s.height+"px",backgroundRepeat:"no-repeat"})}else r(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["load","resize"]}],methods:{reset:function(){var t=this;l(this.getCss(0),function(e,i){return r(t.$el,i,"")})},getCss:function(t){var n=!1,o=this.props;return Object.keys(o).reduce(function(s,r){var a=o[r],l=a.steps,u=a.unit,c=a.pos,h=i(l,t);switch(r){case"x":case"y":if(n)break;var f=["x","y"].map(function(e){return r===e?h+u:o[e]?i(o[e].steps,t)+o[e].unit:0}),d=f[0],m=f[1];n=s.transform+=" translate3d("+d+", "+m+", 0)";break;case"rotate":s.transform+=" rotate("+h+"deg)";break;case"scale":s.transform+=" scale("+h+")";break;case"bgy":case"bgx":s["background-position-"+r[2]]="calc("+c+" + "+(h+u)+")";break;case"color":case"backgroundColor":case"borderColor":var g=e(l,t),v=g[0],w=g[1],y=g[2];s[r]="rgba("+v.map(function(t,e){return t+=y*(w[e]-t),3===e?p(t):parseInt(t,10)}).join(",")+")";break;case"blur":s.filter+=" blur("+h+"px)";break;case"hue":s.filter+=" hue-rotate("+h+"deg)";break;case"fopacity":s.filter+=" opacity("+h+"%)";break;case"grayscale":case"invert":case"saturate":case"sepia":s.filter+=" "+r+"("+h+"%)";break;default:s[r]=h}return s},{transform:"",filter:""})}}},t.component("parallax",{mixins:[n.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&&m(i,e)||e}},update:[{read:function(t){return{prev:t.percent,percent:function(t,e){return s(t*(1-(e-e*t)))}(d(this.target)/(this.viewport||1),this.easing)}},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"]}]})}}function Ce(t){function e(t){return l(t,"in")}function i(t,i,n){return n/=2,e(t)?i<0?1-n:n:i<0?n:1-n}if(!Ce.installed){t.use(Te),t.use(xe);var n=t.mixin,o=t.util,s=o.closest,r=o.css,a=o.fastdom,l=o.endsWith,u=o.height,c=o.noop,h=o.Transition;t.component("slideshow",{mixins:[n.class,n.slideshow],props:{ratio:String,minHeight:Boolean,maxHeight:Boolean},defaults:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",Animations:Nn(t)},ready:function(){var t=this;a.write(function(){return t.show(t.index)})},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;u(this.list,Math.floor(e))},events:["load","resize"]}}),t.component("slideshow-parallax",{mixins:[n.parallax],computed:{item:function(){var e=t.getComponent(s(this.$el,".uk-slideshow"),"slideshow");return e&&s(this.$el,e.selList+" > *")}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){r(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var n=t.type,o=t.detail,s=o.percent,a=o.duration,l=o.ease,u=o.dir;h.cancel(this.$el),r(this.$el,this.getCss(i(n,u,s))),h.start(this.$el,this.getCss(e(n)?.5:u>0?1:0),a,l).catch(c)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){h.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,n=t.detail,o=n.percent,s=n.dir;h.cancel(this.$el),r(this.$el,this.getCss(i(e,s,o)))}}]})}}function Ee(t){function e(i){return i&&(t.getComponent(i,"sortable")||e(i.parentNode))}if(!Ee.installed){var i=t.mixin,n=t.util,o=n.addClass,s=n.after,r=n.assign,a=n.append,l=n.attr,u=n.before,c=n.closest,h=n.css,f=n.doc,d=n.docEl,p=n.height,m=n.fastdom,g=n.getPos,v=n.includes,w=n.index,y=n.isInput,b=n.noop,x=n.offset,k=n.off,$=n.on,T=n.pointerDown,C=n.pointerMove,E=n.pointerUp,A=n.position,_=n.preventClick,S=n.Promise,I=n.remove,N=n.removeClass,D=n.toggleClass,B=n.toNodes,O=n.Transition,P=n.trigger,M=n.win,H=n.within;t.component("sortable",{mixins:[i.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=M.scrollY;var n=g(e),o=n.x,s=n.y;t.pos={x:o,y:s},i(e)}})},events:(z={},z[T]="init",z),update:{write:function(){if(this.clsEmpty&&D(this.$el,this.clsEmpty,!this.$el.children.length),this.drag){x(this.drag,{top:this.pos.y+this.origin.top,left:this.pos.x+this.origin.left});var t,e=x(this.drag).top,i=e+this.drag.offsetHeight;e>0&&ep(M)+this.scrollY&&(t=this.scrollY+5),t&&setTimeout(function(){return M.scrollTo(M.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 H(e,t)})[0];!o||y(t.target)||this.handle&&!H(e,this.handle)||i>0||H(e,"."+this.clsNoDrag)||n||(t.preventDefault(),this.touched=[this],this.placeholder=o,this.origin=r({target:e,index:w(o)},this.pos),$(d,C,this.move),$(d,E,this.end),$(M,"scroll",this.scroll),this.threshold||this.start(t))},start:function(e){this.drag=a(t.container,this.placeholder.outerHTML.replace(/^
  • $/i,"div>")),h(this.drag,r({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight},h(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),l(this.drag,"uk-no-boot",""),o(this.drag,this.clsDrag,this.clsCustom),p(this.drag.firstElementChild,p(this.placeholder.firstElementChild));var i=x(this.placeholder),n=i.left,s=i.top;r(this.origin,{left:n-this.pos.x,top:s-this.pos.y}),o(this.placeholder,this.clsPlaceholder),o(this.$el.children,this.clsItem),o(d,this.clsDragState),P(this.$el,"start",[this,this.placeholder,this.drag]),this.move(e)},move:function(t){if(this.drag){this.$emit();var i="mousemove"===t.type?t.target:f.elementFromPoint(this.pos.x-f.body.scrollLeft,this.pos.y-f.body.scrollTop),n=e(i),o=e(this.placeholder),s=n!==o;if(n&&!H(i,this.placeholder)&&(!s||n.group&&n.group===o.group)){if(i=n.$el===i.parentNode&&i||B(n.$el.children).filter(function(t){return H(i,t)})[0],s)o.remove(this.placeholder);else if(!i)return;n.insert(this.placeholder,i),v(this.touched,n)||this.touched.push(n)}}else(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},scroll:function(){var t=M.scrollY;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},end:function(t){if(k(d,C,this.move),k(d,E,this.end),k(M,"scroll",this.scroll),this.drag){_();var i=e(this.placeholder);this===i?this.origin.index!==w(this.placeholder)&&P(this.$el,"moved",[this,this.placeholder]):(P(i.$el,"added",[i,this.placeholder]),P(this.$el,"removed",[this,this.placeholder])),P(this.$el,"stop",[this]),I(this.drag),this.drag=null;var n=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" ");this.touched.forEach(function(t){return N(t.$el.children,n)}),N(d,this.clsDragState)}else"mouseup"!==t.type&&H(t.target,"a[href]")&&(location.href=c(t.target,"a[href]").href)},insert:function(t,e){var i=this;o(this.$el.children,this.clsItem);var n=function(){e?!H(t,i.$el)||function(t,e){return t.parentNode===e.parentNode&&w(t)>w(e)}(t,e)?u(e,t):s(e,t):a(i.$el,t)};this.animation?this.animate(n):n()},remove:function(t){H(t,this.$el)&&(this.animation?this.animate(function(){return I(t)}):I(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(r({position:"absolute",pointerEvents:"none",width:t.offsetWidth,height:t.offsetHeight},A(t)))}),t(),n.forEach(O.cancel),h(this.$el.children,o),this.$update("update",!0),m.flush(),h(this.$el,"minHeight",p(this.$el));var s=n.map(function(t){return A(t)});S.all(n.map(function(t,n){return O.start(h(t,i[n]),s[n],e.animation)})).then(function(){h(e.$el,"minHeight",""),h(n,o),e.$update("update",!0),m.flush()},b)}}});var z}}function Ae(t){if(!Ae.installed){var e=t.util,i=t.mixin,n=e.append,o=e.attr,s=e.doc,r=e.fastdom,a=e.flipPosition,l=e.includes,u=e.isTouch,c=e.isVisible,h=e.matches,f=e.on,d=e.pointerDown,p=e.pointerEnter,m=e.pointerLeave,g=e.remove,v=e.within,w=[];t.component("tooltip",{attrs:!0,mixins:[i.container,i.togglable,i.position],props:{delay:Number,title:String},defaults:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip"},connected:function(){var t=this;r.write(function(){return o(t.$el,{title:null,"aria-expanded":!1})})},disconnected:function(){this.hide()},methods:{show:function(){var t=this;l(w,this)||(w.forEach(function(t){return t.hide()}),w.push(this),this._unbind=f(s,"click",function(e){return!v(e.target,t.$el)&&t.hide()}),clearTimeout(this.showTimer),this.tooltip=n(this.container,'
    '+this.title+"
    "),o(this.$el,"aria-expanded",!0),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?a(this.dir)+"-"+this.align:this.align+"-"+a(this.dir),this.showTimer=setTimeout(function(){t.toggleElement(t.tooltip,!0),t.hideTimer=setInterval(function(){c(t.$el)||t.hide()},150)},this.delay))},hide:function(){var t=w.indexOf(this);!~t||h(this.$el,"input")&&this.$el===s.activeElement||(w.splice(t,1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),o(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&g(this.tooltip),this.tooltip=!1,this._unbind())}},events:(y={blur:"hide"},y["focus "+p+" "+d]=function(t){t.type===d&&u(t)||this.show()},y[m]=function(t){u(t)||this.hide()},y)});var y}}function _e(t){function e(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function i(t){t.preventDefault(),t.stopPropagation()}if(!_e.installed){var n=t.util,o=n.addClass,s=n.ajax,r=n.matches,a=n.noop,l=n.on,u=n.removeClass,c=n.trigger;t.component("upload",{props:{allow:String,clsDragover:String,concurrent:Number,mime:String,msgInvalidMime:String,msgInvalidName:String,multiple:Boolean,name:String,params:Object,type:String,url:String},defaults:{allow:!1,clsDragover:"uk-dragover",concurrent:1,mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",multiple:!1,name:"files[]",params:{},type:"POST",url:"",abort:a,beforeAll:a,beforeSend:a,complete:a,completeAll:a,error:a,fail:a,load:a,loadEnd:a,loadStart:a,progress:a},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){i(t);var e=t.dataTransfer;e&&e.files&&(u(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){i(t)},dragover:function(t){i(t),o(this.$el,this.clsDragover)},dragleave:function(t){i(t),u(this.$el,this.clsDragover)}},methods:{upload:function(t){var i=this;if(t.length){c(this.$el,"upload",[t]);for(var n=0;n0;)e[i]=arguments[i+1];t=Object(t);for(var n=0;ne[o]?i.ratio(t,o,e[o]):t}),t},cover:function(t,e){var i=this;return t=this.contain(t,e),H(t,function(n,o){return t=t[o]]*>/,Ti=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Ci=Array.prototype,Ei=/(^|,)\s*[!>+~]/,Ai=/([!>+~])(?=\s+[!>+~]|\s*$)/g,_i=Element.prototype,Si=_i.matches||_i.msMatchesSelector,Ii=_i.closest||function(t){var e=this;do{if(qt(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)},Ni=qe.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})},Di={reads:[],writes:[],read:function(t){return this.reads.push(t),re(),t},write:function(t){return this.writes.push(t),re(),t},clear:function(t){return le(this.reads,t)||le(this.writes,t)},flush:function(){ae(this.reads),ae(this.writes.splice(0,this.writes.length)),this.scheduled=!1,(this.reads.length||this.writes.length)&&re()}};ue.prototype={positions:[],position:null,init:function(){var e=this;this.positions=[],this.position=null;var i=!1;this.unbind=t(Ue,"mousemove",function(t){i||(setTimeout(function(){var n=Date.now(),o=e.positions.length;o&&n-e.positions[o-1].time>100&&e.positions.splice(0,o),e.positions.push({time:n,x:t.pageX,y:t.pageY}),e.positions.length>5&&e.positions.shift(),i=!1},5),i=!0)})},cancel:function(){this.unbind&&this.unbind()},movesTo:function(t){if(this.positions.length<2)return!1;var e=ot(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+(ce(n,e[0])ce(i,e[1]))},0)}};var Bi={};Bi.args=Bi.created=Bi.events=Bi.init=Bi.ready=Bi.connected=Bi.disconnected=Bi.destroy=function(t,e){return t=t&&!je(t)?[t]:t,e?t?t.concat(e):je(e)?e:[e]:t},Bi.update=function(t,e){return Bi.args(t,y(e)?{read:e}:e)},Bi.props=function(t,e){return je(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),Bi.methods(t,e)},Bi.computed=Bi.defaults=Bi.methods=function(t,e){return e?t?We({},t,e):e:t};var Oi=function(t,e){return _(e)?t:e},Pi=0,Mi=function(t){this.id=++Pi,this.el=Qt(t)};Mi.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Mi.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Mi.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Mi.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Mi.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Mi.prototype.enableApi=function(){var t=this;if(this.ready)return this.ready;var e,n=this.isYoutube(),o=this.isVimeo();return n||o?this.ready=new V(function(s){i(t.el,"load",function(){if(n){var i=function(){return fe(t.el,{event:"listening",id:t.id})};e=setInterval(i,100),i()}}),function(t){return new V(function(e){i(qe,"message",function(t,i){return e(i)},!1,function(e){var i=e.data;if(i&&C(i)){try{i=JSON.parse(i)}catch(t){return}return i&&t(i)}})})}(function(e){return n&&e.id===t.id&&"onReady"===e.event||o&&Number(e.player_id)===t.id}).then(function(){s(),e&&clearInterval(e)}),ee(t.el,"src",t.el.src+(w(t.el.src,"?")?"&":"?")+(n?"enablejsapi=1":"api=1&player_id="+Pi))}):V.resolve()},Mi.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then(function(){return fe(t.el,{func:"playVideo",method:"play"})});else if(this.isHTML5())try{this.el.play()}catch(t){}},Mi.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return fe(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Mi.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return fe(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,ee(this.el,"muted","")))};var Hi,zi,Li,ji,Fi={};vt(function(){t(Ue,"click",function(){return ji=!0},!0),t(Ue,ti,function(t){var e=t.target,i=me(t),n=i.x,o=i.y,s=Date.now();Fi.el="tagName"in e?e:e.parentNode,Hi&&clearTimeout(Hi),Fi.x1=n,Fi.y1=o,Fi.last&&s-Fi.last<=250&&(Fi={}),Fi.last=s,ji=t.button>0}),t(Ue,ei,function(t){var e=me(t),i=e.x,n=e.y;Fi.x2=i,Fi.y2=n}),t(Ue,ii,function(t){var e=t.type,i=t.target;Fi.x2&&Math.abs(Fi.x1-Fi.x2)>30||Fi.y2&&Math.abs(Fi.y1-Fi.y2)>30?zi=setTimeout(function(){Fi.el&&(n(Fi.el,"swipe"),n(Fi.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"}(Fi))),Fi={}}):"last"in Fi?(Li=setTimeout(function(){return Fi.el&&n(Fi.el,"tap")}),Fi.el&&"mouseup"!==e&&Rt(i,Fi.el)&&(Hi=setTimeout(function(){Hi=null,Fi.el&&!ji&&n(Fi.el,"click"),Fi={}},350))):Fi={}}),t(Ue,"touchcancel",de),t(qe,"scroll",de)});var Wi=!1;t(Ue,"touchstart",function(){return Wi=!0},!0),t(Ue,"click",function(){Wi=!1}),t(Ue,"touchcancel",function(){return Wi=!1},!0);var Vi=Object.freeze({attr:ee,hasAttr:ie,removeAttr:ne,filterAttr:oe,data:se,addClass:R,removeClass:Y,removeClasses:q,replaceClass:U,hasClass:X,toggleClass:J,isRtl:pi,isReady:gt,ready:vt,transition:wt,Transition:mi,animate:yt,Animation:yi,isInView:bt,scrolledOver:function(t){var e=(t=Qt(t)).offsetHeight,i=function(t){var e=0;do{e+=t.offsetTop}while(t=t.offsetParent);return e}(t),n=fi(qe),o=n+Math.min(0,i-n),s=Math.max(0,n-(fi(Ue)-(i+e)));return z((o+qe.pageYOffset-i)/((o+(e-(s *",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 zt(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Mt(zt(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],ready:function(){var t=!1!==this.active&&this.items[Number(this.active)]&&!X(t,this.clsOpen);t&&this.toggle(t,!1)},update:function(){var t=this;this.items.forEach(function(e){return t._toggleImmediate(Ht(t.content,e),X(e,t.clsOpen))});var e=!this.collapsible&&!X(this.items,this.clsOpen)&&this.items[0];e&&this.toggle(e,!1)},methods:{toggle:function(t,e){var i=this,n=xt(t,this.items),o=Vt(this.items,"."+this.clsOpen);(t=this.items[n])&&[t].concat(!this.multiple&&!w(o,t)&&o||[]).forEach(function(n){var s=n===t,r=s&&!X(n,i.clsOpen);if(r||!s||i.collapsible||!(o.length<2)){J(n,i.clsOpen,r);var a=n._wrapper?n._wrapper.firstElementChild:Ht(i.content,n);n._wrapper||(n._wrapper=Dt(a,"
    "),ee(n._wrapper,"hidden",r?"":null)),i._toggleImmediate(a,!0),i.toggleElement(n._wrapper,r,e).then(function(){X(n,i.clsOpen)===r&&(r||i._toggleImmediate(a,!1),n._wrapper=null,Ot(a))})}})}}})},tn=function(t){t.component("alert",{attrs:!0,mixins:[Xi,Gi],args:"animation",props:{close:String},defaults:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:We({opacity:0},Gi.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)})}}})},en=function(t){t.component("cover",{mixins:[Xi,t.components.video.options],props:{width:Number,height:Number},defaults:{automute:!0},update:{write:function(){var t=this.$el;if($t(t)){var e=t.parentNode,i=e.offsetHeight,n=e.offsetWidth;Q(Q(t,{width:"",height:""}),xi.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()}}})},nn=function(e){var o;e.component("drop",{mixins:[Qi,Gi],args:"pos",props:{mode:"list",toggle:Boolean,boundary:"query",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:["click","hover"],toggle:!0,boundary:qe,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},init:function(){this.tracker=new ue,this.clsDrop=this.clsDrop||"uk-"+this.$options.name,this.clsPos=this.clsDrop,R(this.$el,this.clsDrop)},ready:function(){this.updateAria(this.$el),this.toggle&&(this.toggle=e.toggle(C(this.toggle)?jt(this.toggle,this.$el):this.$el.previousElementSibling,{target:this.$el,mode:this.mode}))},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){if(!t.defaultPrevented){var e=t.target.hash;e||t.preventDefault(),e&&Rt(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:ni,filter:function(){return w(this.mode,"hover")},handler:function(t){pe(t)||(o&&o!==this&&o.toggle&&w(o.toggle.mode,"hover")&&!Rt(t.target,o.toggle.$el)&&!F({x:t.pageX,y:t.pageY},ot(o.$el))&&o.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!w(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+oi,handler:function(t,e){pe(t)||e&&!w(e.target,this.$el)||(t.preventDefault(),this.toggle&&w(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers()}},{name:"show",self:!0,handler:function(){this.tracker.init(),R(this.toggle.$el,this.cls),ee(this.toggle.$el,"aria-expanded","true"),s||(s=!0,t(Xe,"click",function(t){var e,i=t.target;if(!t.defaultPrevented)for(;o&&o!==e&&!Rt(i,o.$el)&&(!o.toggle||!Rt(i,o.toggle.$el));)e=o,o.hide(!1)}))}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(o=this.isActive()?null:o,Y(this.toggle.$el,this.cls),ee(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),zt("a, button",this.toggle.$el).forEach(function(t){return t.blur()}),this.tracker.cancel()):o=null===o&&Rt(e,this.$el)&&this.isToggled()?this:o}}],update:{write:function(){this.isToggled()&&!yi.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n=this;void 0===e&&(e=!0);var s=function(){n.isToggled()||(n.position(),n.toggleElement(n.$el,!0))},r=function(){if(n.toggle=t||n.toggle,n.clearTimers(),!n.isActive())if(e&&o&&o!==n&&o.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(o)){if(!o.hideTimer)return;o.hide(!1)}else if(o&&!n.isChildOf(o)&&!n.isParentOf(o))for(var i;o&&o!==i&&!n.isChildOf(o);)i=o,o.hide(!1);e&&n.delayShow?n.showTimer=setTimeout(s,n.delayShow):s(),o=n}};t&&this.toggle&&t.$el!==this.toggle.$el?(i(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 o===this},isChildOf:function(t){return t&&t!==this&&Rt(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&Rt(t.$el,this.$el)},position:function(){q(this.$el,this.clsDrop+"-(stack|boundary)"),Q(this.$el,{top:"",left:"",display:"block"}),J(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=ot(this.boundary),e=this.boundaryAlign?t:ot(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";Q(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&(R(this.$el,this.clsDrop+"-stack"),n(this.$el,"stack",[this]));this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),Q(this.$el,"display","")}}}),e.drop.getActive=function(){return o};var s},on=function(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))},sn=function(t){t.component("form-custom",{mixins:[Xi],args:"target",props:{target:Boolean},defaults:{target:!1},computed:{input:function(t,e){return Ht(ki,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||jt(i,e))}},connected:function(){n(this.input,"change")},events:[{name:"focusin focusout mouseenter mouseleave",delegate:ki,handler:function(t){var e=t.type;t.current===this.input&&J(this.state,"uk-"+(w(e,"focus")?"focus":"hover"),w(["focusin","mouseenter"],e))}},{name:"change",handler:function(){var t,e=this.target,i=this.input;e&&(e[Tt(e)?"value":"textContent"]=i.files&&i.files[0]?i.files[0].name:qt(i,"select")&&(t=zt("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)}}]})},rn=function(t){t.component("gif",{update:{read:function(t){var e=bt(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","load","resize"]}})},an=function(t){t.component("grid",t.components.margin.extend({mixins:[Xi],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(t){var e=t.stacks;J(this.$el,this.clsStack,e)},events:["load","resize"]}}))},ln=function(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},computed:{elements:function(t,e){return zt(t.target,e)}},update:{read:function(){var t=this,e=!1;return Q(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 Q(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;$t(t)||(n=ee(t,"style"),o=ee(t,"hidden"),ee(t,{style:(n||"")+";display:block !important;",hidden:null})),e=Math.max(e,t.offsetHeight),i.push(t.offsetHeight),_(n)||ee(t,{style:n,hidden:o})}),t=t.filter(function(t,n){return i[n]0&&(t=e(this.$el)+o)}else{var s=ot(this.$el).top;sr&&Q(this.$el,"minHeight",this.minHeight),i-n>=r&&Q(this.$el,"height",t)}},events:["load","resize"]}})},cn=function(e){vt(function(){if(Ke){t(Ue,"tap",function(t){var e=t.target;return zt(".uk-hover").forEach(function(t,i){return!Rt(e,i)&&Y(i,"uk-hover")})}),Object.defineProperty(e,"hoverSelector",{set:function(e){t(Ue,"tap",e,function(t){return R(t.current,"uk-hover")})}}),e.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})},hn=function(t){function e(e,i){t.component(e,t.components.icon.extend({name:e,mixins:i?[i]:[],defaults:{icon:e}}))}var i={},n={spinner:'',totop:'',marker:'',"close-icon":'',"close-large":'',"navbar-toggle-icon":'',"overlay-icon":'',"pagination-next":'',"pagination-previous":'',"search-icon":'',"search-large":'',"search-navbar":'',"slidenav-next":'',"slidenav-next-large":'',"slidenav-previous":'',"slidenav-previous-large":''};t.component("icon",t.components.svg.extend({attrs:["icon","ratio"],mixins:[Xi],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src","icon"]},init:function(){R(this.$el,"uk-icon"),pi&&(this.icon=M(M(this.icon,"left","right"),"previous","next"))},methods:{getSvg:function(){var t=function(t){return n[t]?(i[t]||(i[t]=Ht(n[t].trim())),i[t]):null}(this.icon);return t?Ie.resolve(t):Ie.reject("Icon not found.")}}})),["marker","navbar-toggle-icon","overlay-icon","pagination-previous","pagination-next","totop"].forEach(function(t){return e(t)}),["slidenav-previous","slidenav-next"].forEach(function(t){return e(t,{init:function(){R(this.$el,"uk-slidenav"),X(this.$el,"uk-slidenav-large")&&(this.icon+="-large")}})}),e("search-icon",{init:function(){X(this.$el,"uk-search-icon")&&Xt(this.$el,".uk-search-large").length?this.icon="search-large":Xt(this.$el,".uk-search-navbar").length&&(this.icon="search-navbar")}}),e("close",{init:function(){this.icon="close-"+(X(this.$el,"uk-close-large")?"large":"icon")}}),e("spinner",{connected:function(){var t=this;this.svg.then(function(e){return 1!==t.ratio&&Q(Ht("circle",e),"stroke-width",1/t.ratio)},L)}}),t.icon.add=function(e){Object.keys(e).forEach(function(t){n[t]=e[t],delete i[t]}),t._initialized&&H(t.instances,function(t){"icon"===t.$options.name&&t.$reset()})}},fn=function(t){t.component("leader",{mixins:[Xi],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||et("leader-fill")}},connected:function(){this.wrapper=Bt(this.$el,'')[0]},disconnected:function(){Ot(this.wrapper.childNodes)},update:[{read:function(t){var e=t.changed,i=t.width,n=i;return i=Math.floor(this.$el.offsetWidth/2),{width:i,changed:e||n!==i,hide:this.media&&!qe.matchMedia(this.media).matches}},write:function(t){J(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,ee(this.wrapper,this.attrFill,new Array(t.width).join(this.fill)))},events:["load","resize"]}]})},dn=function(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||!$t(this.$el))return t.rows=!1;t.stacks=!0;for(var i=[[]],n=0;n=0;r--){var a=i[r];if(!a[0]){a.push(o);break}var l=a[0].getBoundingClientRect();if(s.top>=Math.floor(l.bottom)){i.push([o]);break}if(Math.floor(s.bottom)>l.top){if(t.stacks=!1,s.left
    '+i+"
    ",n);return t(o.$el,"hidden",function(t){t.target===t.current&&o.$destroy(!0)}),o.show(),o},e.modal.alert=function(i,n){return n=We({bgClose:!1,escClose:!1,labels:e.modal.labels},n),new Ie(function(o){return t(e.modal.dialog('
    '+(C(i)?i:Et(i))+'
    ",n).$el,"hide",o)})},e.modal.confirm=function(i,n){return n=We({bgClose:!1,escClose:!1,labels:e.modal.labels},n),new Ie(function(o,s){return t(e.modal.dialog('
    '+(C(i)?i:Et(i))+'
    ",n).$el,"click",".uk-modal-footer button",function(t){return 0===Mt(t.target)?s():o()})})},e.modal.prompt=function(i,n,o){return o=We({bgClose:!1,escClose:!1,labels:e.modal.labels},o),new Ie(function(s){var r=!1,a=e.modal.dialog('
    ",o),l=Ht("input",a.$el);l.value=n,t(a.$el,"submit","form",function(t){t.preventDefault(),s(l.value),r=!0,a.hide()}),t(a.$el,"hide",function(){r||s(null)})})},e.modal.labels={ok:"Ok",cancel:"Cancel"}},mn=function(t){t.component("nav",t.components.accordion.extend({name:"nav",defaults:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}}))},gn=function(t){t.component("navbar",{mixins:[Xi],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:pi?"right":"left",clsDrop:"uk-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200},computed:{boundary:function(t,e){var i=t.boundary,n=t.boundaryAlign;return!0===i||n?e:i},pos:function(t){return"bottom-"+t.align}},ready:function(){this.dropbar&&t.navbarDropbar(jt(this.dropbar,this.$el)||St(this.dropbarAnchor||this.$el,"
    "),{clsDrop:this.clsDrop,mode:this.dropbarMode,duration:this.duration,navbar:this})},update:function(){t.drop(zt(this.dropdown+" ."+this.clsDrop,this.$el).filter(function(e){return!t.getComponent(e,"dropdown")}),We({},this.$props,{boundary:this.boundary,pos:this.pos}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,i=this.getActive();i&&i.toggle&&!Rt(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}}],methods:{getActive:function(){var e=t.drop.getActive();return e&&w(e.mode,"hover")&&Rt(e.toggle.$el,this.$el)&&e}}}),t.component("navbar-dropbar",{mixins:[Xi],defaults:{clsDrop:"",mode:"slide",navbar:null,duration:200},init:function(){"slide"===this.mode&&R(this.$el,"uk-navbar-dropbar-slide")},events:[{name:"beforeshow",el:function(){return this.navbar.$el},handler:function(t,e){var i=e.$el;"bottom"!==e.dir||Rt(i,this.$el)||(At(this.$el,i),e.show(),t.preventDefault())}},{name:"mouseleave",handler:function(){var t=this.navbar.getActive();t&&!qt(this.$el,":hover")&&t.hide()}},{name:"show",handler:function(t,e){var i=e.$el;this.clsDrop&&R(i,this.clsDrop+"-dropbar"),this.transitionTo(i.offsetHeight+N(Q(i,"margin-top"))+N(Q(i,"margin-bottom")))}},{name:"beforehide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();qt(this.$el,":hover")&&n&&n.$el===i&&t.preventDefault()}},{name:"hide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();(!n||n&&n.$el===i)&&this.transitionTo(0)}}],methods:{transitionTo:function(t){return fi(this.$el,$t(this.$el)?fi(this.$el):0),mi.cancel(this.$el),mi.start(this.$el,{height:t},this.duration).catch(L)}}})},vn=function(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 Ht(e)},clsFlip:function(t){var e=t.flip,i=t.clsFlip;return e?i:""},clsOverlay:function(t){var e=t.overlay,i=t.clsOverlay;return e?i:""},clsMode:function(t){var e=t.mode,i=t.clsMode;return i+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,i=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":i},clsContentAnimation:function(t){var e=t.mode,i=t.clsContentAnimation;return"push"!==e&&"reveal"!==e?"":i},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},update:{write:function(){this.getActive()===this&&((this.overlay||this.clsContentAnimation)&&di(this.content,di(qe)-this.scrollbarWidth),this.overlay&&(fi(this.content,fi(qe)),Ui&&(this.content.scrollTop=Ui.y)))},events:["resize"]},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current;e.hash&&Ht(e.hash,this.content)&&(Ui=null,this.hide())}},{name:"beforescroll",filter:function(){return this.overlay},handler:function(t,e,n){e&&n&&this.isToggled()&&Ht(n,this.content)&&(i(this.$el,"hidden",function(){return e.scrollTo(n)}),t.preventDefault())}},{name:"show",self:!0,handler:function(){Ui=Ui||{x:qe.pageXOffset,y:qe.pageYOffset},"reveal"!==this.mode||X(this.panel,this.clsMode)||(Dt(this.panel,"
    "),R(this.panel.parentNode,this.clsMode)),Q(Xe,"overflowY",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),R(Ue.body,this.clsContainer,this.clsFlip,this.clsOverlay),fi(Ue.body),R(this.content,this.clsContentAnimation),R(this.panel,this.clsSidebarAnimation+" "+("reveal"!==this.mode?this.clsMode:"")),R(this.$el,this.clsOverlay),Q(this.$el,"display","block"),fi(this.$el)}},{name:"hide",self:!0,handler:function(){Y(this.content,this.clsContentAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&n(this.panel,"transitionend")}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&Ot(this.panel),this.overlay){if(!Ui){var t=this.content,e=t.scrollLeft,i=t.scrollTop;Ui={x:e,y:i}}}else Ui={x:qe.pageXOffset,y:qe.pageYOffset};Y(this.panel,this.clsSidebarAnimation,this.clsMode),Y(this.$el,this.clsOverlay),Q(this.$el,"display",""),Y(Ue.body,this.clsContainer,this.clsFlip,this.clsOverlay),Ue.body.scrollTop=Ui.y,Q(Xe,"overflow-y",""),di(this.content,""),fi(this.content,""),qe.scrollTo(Ui.x,Ui.y),Ui=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&pe(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]})},wn=function(t){t.component("responsive",{props:["width","height"],init:function(){R(this.$el,"uk-responsive-width")},update:{read:function(){return!!($t(this.$el)&&this.width&&this.height)&&{width:di(this.$el.parentNode),height:this.height}},write:function(t){fi(this.$el,xi.contain({height:this.height,width:this.width},t).height)},events:["load","resize"]}})},yn=function(t){t.component("scroll",{props:{duration:Number,offset:Number},defaults:{duration:1e3,offset:0},methods:{scrollTo:function(t){var e=this,i=ot(t=t&&Ht(t)||Ue.body).top-this.offset,o=fi(Ue),s=fi(qe);if(i+s>o&&(i=o-s),n(this.$el,"beforescroll",[this,t])){var r=Date.now(),a=qe.pageYOffset,l=function(){var o=a+(i-a)*function(t){return.5*(1-Math.cos(Math.PI*t))}(z((Date.now()-r)/e.duration));qe.scrollTo(qe.pageXOffset,o),o!==i?Ge(l):n(e.$el,"scrolled",[e,t])};l()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(te(this.$el.hash).substr(1)))}}})},bn=function(t){t.component("scrollspy",{args:"cls",props:{cls:"list",target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},defaults:{cls:["uk-scrollspy-inview"],target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"},computed:{elements:function(t,e){var i=t.target;return i?zt(i,e):[e]}},update:[{write:function(){this.hidden&&Q(Vt(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 s=ee(t,"uk-scrollspy-class");o={toggles:s&&s.split(",")||i.cls}}o.show=bt(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(o,s){var r=t[s],a=r.toggles[s]||r.toggles[0];if(r.show){if(!r.inview&&!r.timer){var l=function(){Q(o,"visibility",""),R(o,e.inViewClass),J(o,a),n(o,"inview"),e.$update(),r.inview=!0,delete r.timer};e.delay&&i?r.timer=setTimeout(l,e.delay*i):l(),i++}}else r.inview&&e.repeat&&(r.timer&&(clearTimeout(r.timer),delete r.timer),Q(o,"visibility",e.hidden?"hidden":""),Y(o,e.inViewClass),J(o,a),n(o,"outview"),e.$update(),r.inview=!1)})},events:["scroll","load","resize"]}]})},xn=function(t){t.component("scrollspy-nav",{props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},defaults:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(t,e){return zt('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?Ut(this.links,this.closest):this.links},targets:function(){return zt(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=qe.pageYOffset+this.offset+1,n=fi(Ue)-fi(qe)+this.offset;t.active=!1,this.targets.every(function(o,s){var r=ot(o).top,a=s+1===e.targets.length;if(!e.overflow&&(0===s&&r>i||a&&r+o.offsetTop=n)for(var l=e.targets.length-1;l>s;l--)if(bt(e.targets[l])){o=e.targets[l];break}return!(t.active=Ht(Vt(e.links,'[href="#'+o.id+'"]')))})},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),Y(this.elements,this.cls),e&&n(this.$el,"active",[e,R(this.closest?Ut(e,this.closest):e,this.cls)])},events:["scroll","load","resize"]}]})},kn=function(t){t.component("sticky",{mixins:[Xi],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&&Ht(i,e)||e}},connected:function(){this.placeholder=Ht('
    '),this.widthElement=this.$props.widthElement||this.placeholder,this.isActive||this.hide()},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),Y(this.$el,this.clsInactive)),Nt(this.placeholder),this.placeholder=null,this.widthElement=null},ready:function(){var t=this;if(this.target&&location.hash&&qe.pageYOffset>0){var e=Ht(location.hash);e&&Di.read(function(){var i=ot(e).top,n=ot(t.$el).top,o=t.$el.offsetHeight;n+o>=i&&n<=i+e.offsetHeight&&qe.scrollTo(0,i-o-t.target-t.offset)})}},events:[{name:"active",self:!0,handler:function(){U(this.selTarget,this.clsInactive,this.clsActive)}},{name:"inactive",self:!0,handler:function(){U(this.selTarget,this.clsActive,this.clsInactive)}}],update:[{write:function(){var t,e=this,i=this.placeholder,n=(this.isActive?i:this.$el).offsetHeight;Q(i,We({height:"absolute"!==Q(this.$el,"position")?n:""},Q(this.$el,["marginTop","marginBottom","marginLeft","marginRight"]))),Rt(i,Xe)||(St(this.$el,i),ee(i,"hidden","")),ee(this.widthElement,"hidden",null),this.width=this.widthElement.offsetWidth,ee(this.widthElement,"hidden",this.isActive?null:""),this.topOffset=ot(this.isActive?i:this.$el).top,this.bottomOffset=this.topOffset+n,["top","bottom"].forEach(function(i){e[i]=e.$props[i],e[i]&&(A(e[i])?e[i]=e[i+"Offset"]+N(e[i]):C(e[i])&&e[i].match(/^-?\d+vh$/)?e[i]=fi(qe)*N(e[i])/100:(t=!0===e[i]?e.$el.parentNode:jt(e[i],e.$el))&&(e[i]=ot(t).top+t.offsetHeight))}),this.top=Math.max(N(this.top),this.topOffset)-this.offset,this.bottom=this.bottom&&this.bottom-n,this.inactive=this.media&&!qe.matchMedia(this.media).matches,this.isActive&&this.update()},events:["load","resize"]},{read:function(t,e){var i=e.scrollY;return void 0===i&&(i=qe.pageYOffset),{scroll:this.scroll=i,visible:$t(this.$el)}},write:function(t,e){var i=this,n=t.visible,o=t.scroll;void 0===e&&(e={});var s=e.dir;if(!(o<0||!n||this.disabled||this.showOnUp&&!s))if(this.inactive||othis.topOffset?(yi.cancel(this.$el),yi.out(this.$el,this.animation).then(function(){return i.hide()},L)):this.hide()}else this.isActive?this.update():this.animation?(yi.cancel(this.$el),this.show(),yi.in(this.$el,this.animation).catch(L)):this.show()},events:["scroll"]}],methods:{show:function(){this.isActive=!0,this.update(),ee(this.placeholder,"hidden",null)},hide:function(){this.isActive&&!X(this.selTarget,this.clsActive)||n(this.$el,"inactive"),Y(this.$el,this.clsFixed,this.clsBelow),Q(this.$el,{position:"",top:"",width:""}),ee(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),Q(this.$el,{position:"fixed",top:t+"px",width:this.width}),X(this.selTarget,this.clsActive)?e||n(this.$el,"inactive"):e&&n(this.$el,"active"),J(this.$el,this.clsBelow,this.scroll>this.bottomOffset),R(this.$el,this.clsFixed)}}})},$n={},Tn=function(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&&w(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(C(n)?(t.icon&&w(n,""}return i[t][n]}(n,t.icon)||n),o=Ht(n.substr(n.indexOf("/g,i={}},Cn=function(t){t.component("switcher",{mixins:[Gi],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 Ft(t.connect,e)},toggles:function(t,e){return zt(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(se(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){pe(t)&&(t.preventDefault(),qe.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(Vt(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&&Mt(Vt(this.connects[0].children,"."+this.cls)[0]),s=o>=0,r=xt(t,this.toggles,o),a="previous"===t?-1:1,l=0;l=0&&X(e,this.cls)||o===r||(Y(this.toggles,this.cls),ee(this.toggles,"aria-expanded",!1),R(e,this.cls),ee(e,"aria-expanded",!0),this.connects.forEach(function(t){s?i.toggleElement([t.children[o],t.children[r]]):i.toggleNow(t.children[r])}))}}})},En=function(t){t.component("tab",t.components.switcher.extend({mixins:[Xi],name:"tab",props:{media:"media"},defaults:{media:960,attrItem:"uk-tab-item"},init:function(){var e=X(this.$el,"uk-tab-left")?"uk-tab-left":!!X(this.$el,"uk-tab-right")&&"uk-tab-right";e&&t.toggle(this.$el,{cls:e,mode:"media",media:this.media})}}))},An=function(t){t.component("toggle",{mixins:[t.mixin.togglable],args:"target",props:{href:String,target:null,mode:"list",media:"media"},defaults:{href:!1,target:!1,mode:"click",queued:!0,media:!1},computed:{target:function(t,e){var i=t.href,n=t.target;return n=Ft(n||i,e),n.length&&n||[e]}},events:[{name:ni+" "+oi,filter:function(){return w(this.mode,"hover")},handler:function(t){pe(t)||this.toggle("toggle"+(t.type===ni?"show":"hide"))}},{name:"click",filter:function(){return w(this.mode,"click")||Ke},handler:function(t){if(pe(t)||w(this.mode,"click")){var e;(Ut(t.target,'a[href="#"], button')||(e=Ut(t.target,"a[href]"))&&(this.cls||!$t(this.target)||e.hash&&qt(this.target,e.hash)))&&i(Ue,"click",function(t){return t.preventDefault()}),this.toggle()}}}],update:{write:function(){if(w(this.mode,"media")&&this.media){var t=this.isToggled(this.target);(qe.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){n(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}})},_n=function(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 Mi(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:$t(this.$el)&&"hidden"!==Q(this.$el,"visibility"),inView:this.inView&&bt(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"]}]})};Ri.version="3.0.0-beta.35",function(t){t.mixin.class=Xi,t.mixin.container=Ji,t.mixin.modal=Zi,t.mixin.position=Qi,t.mixin.togglable=Gi}(Ri),function(e){var i=0,n=0;t(qe,"load resize",e.update),t(qe,"scroll",function(t){t.dir=i<=qe.pageYOffset?"down":"up",t.scrollY=i=qe.pageYOffset,e.update(t)}),t(Ue,"animationstart",function(t){var e=t.target;(Q(e,"animationName")||"").match(/^uk-.*(left|right)/)&&(n++,Ue.body.style.overflowX="hidden",setTimeout(function(){--n||(Ue.body.style.overflowX="")},P(Q(e,"animationDuration"))+100))},!0),e.use(An),e.use(Ki),e.use(tn),e.use(_n),e.use(en),e.use(nn),e.use(on),e.use(sn),e.use(ln),e.use(un),e.use(cn),e.use(dn),e.use(rn),e.use(an),e.use(fn),e.use(pn),e.use(mn),e.use(gn),e.use(vn),e.use(wn),e.use(yn),e.use(bn),e.use(xn),e.use(kn),e.use(Tn),e.use(hn),e.use(Cn),e.use(En)}(Ri);var Sn=function(t){var e=t.util.css,i={slide:{show:function(t){return[{transform:ye(-100*t)},{transform:ye()}]},percent:function(t){return i.translated(t)},translate:function(t,e){return[{transform:ye(-100*e*t)},{transform:ye(100*e*(1-t))}]}},translated:function(t){return Math.abs(e(t,"transform").split(",")[4]/t.offsetWidth)||0}};return i},In=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:be(.8)},{opacity:1,transform:be(1)}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:be(1-.2*t)},{opacity:t,transform:be(.8+.2*t)}]}}})},Nn=function(t){var e=t.mixin,i=t.util,n=i.assign,o=i.css,s=n({},e.slideshow.defaults.Animations,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:be(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-o(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:be(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:ye(30),zIndex:-1},{transform:ye(),zIndex:0}]:[{transform:ye(-100),zIndex:0},{transform:ye(),zIndex:-1}]},percent:function(t,e,i){return i<0?1-s.translated(e):s.translated(t)},translate:function(t,e){return e<0?[{transform:ye(30*t),zIndex:-1},{transform:ye(-100*(1-t)),zIndex:0}]:[{transform:ye(100*-t),zIndex:0},{transform:ye(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:ye(100),zIndex:0},{transform:ye(),zIndex:-1}]:[{transform:ye(-30),zIndex:-1},{transform:ye(),zIndex:0}]},percent:function(t,e,i){return i>0?1-s.translated(e):s.translated(t)},translate:function(t,e){return e<0?[{transform:ye(100*t),zIndex:0},{transform:ye(-30*(1-t)),zIndex:-1}]:[{transform:ye(-30*t),zIndex:-1},{transform:ye(100*(1-t)),zIndex:0}]}}});return s};return Ri.use(ve),Ri.use(we),Ri.use(ke),Ri.use($e),Ri.use(Te),Ri.use(Ce),Ri.use(Ee),Ri.use(Ae),Ri.use(_e),function(t){function e(){n(Ue.body,s),Di.flush(),new Je(function(t){return t.forEach(i)}).observe(Xe,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),t._initialized=!0}function i(e){var i=e.attributeName,a=e.target;("attributes"!==e.type?function(t){var e,i=t.addedNodes,o=t.removedNodes;for(e=0;e ',ban:' ',behance:' ',bell:' ',bold:' ',bolt:' ',bookmark:' ',calendar:' ',camera:' ',cart:' ',check:' ',clock:' ',close:' ',code:' ',cog:' ',comment:' ',commenting:' ',comments:' ',copy:' ',database:' ',desktop:' ',download:' ',dribbble:' ',expand:' ',facebook:' ',file:' ',flickr:' ',folder:' ',forward:' ',foursquare:' ',future:' ',github:' ',gitter:' ',google:' ',grid:' ',happy:' ',hashtag:' ',heart:' ',history:' ',home:' ',image:' ',info:' ',instagram:' ',italic:' ',joomla:' ',laptop:' ',lifesaver:' ',link:' ',linkedin:' ',list:' ',location:' ',lock:' ',mail:' ',menu:' ',minus:' ',more:' ',move:' ',nut:' ',pagekit:' ',pencil:' ',phone:' ',pinterest:' ',play:' ',plus:' ',pull:' ',push:' ',question:' ',receiver:' ',refresh:' ',reply:' ',rss:' ',search:' ',server:' ',settings:' ',shrink:' ',social:' ',soundcloud:' ',star:' ',strikethrough:' ',table:' ',tablet:' ',tag:' ',thumbnails:' ',trash:' ',tripadvisor:' ',tumblr:' ',tv:' ',twitter:' ',uikit:' ',unlock:' ',upload:' ',user:' ',users:' ',vimeo:' ',warning:' ',whatsapp:' ',wordpress:' ',world:' ',xing:' ',yelp:' ',youtube:' ',"500px":' ',"arrow-down":' ',"arrow-left":' ',"arrow-right":' ',"arrow-up":' ',"chevron-down":' ',"chevron-left":' ',"chevron-right":' ',"chevron-up":' ',"cloud-download":' ',"cloud-upload":' ',"credit-card":' ',"file-edit":' ',"git-branch":' ',"git-fork":' ',"github-alt":' ',"google-plus":' ',"minus-circle":' ',"more-vertical":' ',"paint-bucket":' ',"phone-landscape":' ',"play-circle":' ',"plus-circle":' ',"quote-right":' ',"sign-in":' ',"sign-out":' ',"tablet-landscape":' ',"triangle-down":' ',"triangle-left":' ',"triangle-right":' ',"triangle-up":' ',"video-camera":' ',"slidenav-next-large":' ',"slidenav-next":' ',"slidenav-previous-large":' ',"slidenav-previous":' '};return"undefined"!=typeof window&&window.UIkit&&window.UIkit.use(t),t}); // Theme JavaScript (function (UIkit) { var util = UIkit.util, $ = util.$, attr = util.attr, css = util.css, addClass = util.addClass; UIkit.component('header', { name: 'header', connected: function () { this.initialize(); }, ready: function () { if (!this.section) { this.initialize(); } }, update: [ { read: function () { this.prevHeight = this.height; this.height = this.$el.offsetHeight; var sticky = this.modifier && UIkit.getComponent(this.sticky, 'sticky'); if (sticky) { sticky.$props.top = this.section.offsetHeight <= window.innerHeight ? this.selector : util.offset(this.section).top + 300; } }, write: function () { if (this.placeholder && this.prevHeight !== this.height) { css(this.placeholder, {height: this.height}); } }, events: ['load', 'resize'] } ], methods: { initialize: function () { this.selector = '.tm-header ~ [class*="uk-section"], .tm-header ~ * > [class*="uk-section"]'; this.section = $(this.selector); this.sticky = $('[uk-sticky]', this.$el); this.modifier = attr(this.section, 'tm-header-transparent'); if (!this.modifier || !this.section) { return; } addClass(this.$el, 'tm-header-transparent'); this.placeholder = util.hasAttr(this.section, 'tm-header-transparent-placeholder') && util.before($('[uk-grid]', this.section), '
    '); var container = $('.uk-navbar-container', this.$el), navbar = $('[uk-navbar]', this.$el), cls = 'uk-navbar-transparent uk-' + this.modifier; addClass($('.tm-headerbar-top, .tm-headerbar-bottom'), 'uk-' + this.modifier); if (attr(navbar, 'dropbar-mode') === 'push') { attr(navbar, 'dropbar-mode', 'slide'); } if (!this.sticky) { addClass(container, cls); } else { attr(this.sticky, { animation: 'uk-animation-slide-top', top: this.selector, 'cls-inactive': cls }); } } } }); if (UIkit.util.isRtl) { var mixin = { init: function () { this.$props.pos = util.swap(this.$props.pos, 'left', 'right'); } }; UIkit.mixin(mixin, 'drop'); UIkit.mixin(mixin, 'tooltip'); } })(UIkit);