!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof module&&module.exports?require("jquery"):jQuery)}(function(t){function e(t){return t.replace(/(:|\.|\/)/g,"\\$1")}var o="1.6.0",i={},l={exclude:[],excludeWithin:[],offset:0,direction:"top",delegateSelector:null,scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficient:2,preventDefault:!0},s=function(e){var o=[],i=!1,l=e.dir&&"left"===e.dir?"scrollLeft":"scrollTop";return this.each(function(){var e=t(this);return this!==document&&this!==window?!document.scrollingElement||this!==document.documentElement&&this!==document.body?void(e[l]()>0?o.push(this):(e[l](1),i=e[l]()>0,i&&o.push(this),e[l](0))):(o.push(document.scrollingElement),!1):void 0}),o.length||this.each(function(){"BODY"===this.nodeName&&(o=[this])}),"first"===e.el&&o.length>1&&(o=[o[0]]),o};t.fn.extend({scrollable:function(t){var e=s.call(this,{dir:t});return this.pushStack(e)},firstScrollable:function(t){var e=s.call(this,{el:"first",dir:t});return this.pushStack(e)},smoothScroll:function(o,i){if(o=o||{},"options"===o)return i?this.each(function(){var e=t(this),o=t.extend(e.data("ssOpts")||{},i);t(this).data("ssOpts",o)}):this.first().data("ssOpts");var l=t.extend({},t.fn.smoothScroll.defaults,o),s=function(o){var i=this,s=t(this),n=t.extend({},l,s.data("ssOpts")||{}),c=l.exclude,a=n.excludeWithin,r=0,h=0,u=!0,d={},p=t.smoothScroll.filterPath(location.pathname),f=t.smoothScroll.filterPath(i.pathname),m=location.hostname===i.hostname||!i.hostname,g=n.scrollTarget||f===p,v=e(i.hash);if(n.scrollTarget||m&&g&&v){for(;u&&r<c.length;)s.is(e(c[r++]))&&(u=!1);for(;u&&h<a.length;)s.closest(a[h++]).length&&(u=!1)}else u=!1;u&&(n.preventDefault&&o.preventDefault(),t.extend(d,n,{scrollTarget:n.scrollTarget||v,link:i}),t.smoothScroll(d))};return null!==o.delegateSelector?this.undelegate(o.delegateSelector,"click.smoothscroll").delegate(o.delegateSelector,"click.smoothscroll",s):this.unbind("click.smoothscroll").bind("click.smoothscroll",s),this}}),t.smoothScroll=function(e,o){if("options"===e&&"object"==typeof o)return t.extend(i,o);var l,s,n,c,a,r=0,h="offset",u="scrollTop",d={},p={};"number"==typeof e?(l=t.extend({link:null},t.fn.smoothScroll.defaults,i),n=e):(l=t.extend({link:null},t.fn.smoothScroll.defaults,e||{},i),l.scrollElement&&(h="position","static"===l.scrollElement.css("position")&&l.scrollElement.css("position","relative"))),u="left"===l.direction?"scrollLeft":u,l.scrollElement?(s=l.scrollElement,/^(?:HTML|BODY)$/.test(s[0].nodeName)||(r=s[u]())):s=t("html, body").firstScrollable(l.direction),l.beforeScroll.call(s,l),n="number"==typeof e?e:o||t(l.scrollTarget)[h]()&&t(l.scrollTarget)[h]()[l.direction]||0,d[u]=n+r+l.offset,c=l.speed,"auto"===c&&(a=Math.abs(d[u]-s[u]()),c=a/l.autoCoefficient),p={duration:c,easing:l.easing,complete:function(){l.afterScroll.call(l.link,l)}},l.step&&(p.step=l.step),s.length?s.stop().animate(d,p):l.afterScroll.call(l.link,l)},t.smoothScroll.version=o,t.smoothScroll.filterPath=function(t){return t=t||"",t.replace(/^\//,"").replace(/(?:index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},t.fn.smoothScroll.defaults=l}),jQuery.cookie=function(t,e,o){if(arguments.length>1&&"[object Object]"!==String(e)){if(o=jQuery.extend({},o),(null===e||void 0===e)&&(o.expires=-1),"number"==typeof o.expires){var i=o.expires,l=o.expires=new Date;l.setDate(l.getDate()+i)}return e=String(e),document.cookie=[encodeURIComponent(t),"=",o.raw?e:encodeURIComponent(e),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}o=e||{};var s,n=o.raw?function(t){return t}:decodeURIComponent;return(s=new RegExp("(?:^|;)"+encodeURIComponent(t)+"=([^;]*)").exec(document.cookie))?n(s[1]):null},jQuery(document).ready(function(t){if("undefined"!=typeof tocplus){if(t.fn.shrinkTOCWidth=function(){t(this).css({width:"auto",display:"table"}),/MSIE 7\./.test(navigator.userAgent)&&t(this).css("width","")},1==tocplus.smooth_scroll){var e=hostname=pathname=qs=hash=null;t("body a").click(function(){if(hostname=t(this).prop("hostname"),pathname=t(this).prop("pathname"),qs=t(this).prop("search"),hash=t(this).prop("hash"),pathname.length>0&&"/"!=pathname.charAt(0)&&(pathname="/"+pathname),window.location.hostname==hostname&&window.location.pathname==pathname&&window.location.search==qs&&""!==hash){var o=hash.replace(/([ !"$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g,"\\$1");t(o).length>0?e=hash:(anchor=hash,anchor=anchor.replace("#",""),e='a[name="'+anchor+'"]',0==t(e).length&&(e="")),offset="undefined"!=typeof tocplus.smooth_scroll_offset?-1*tocplus.smooth_scroll_offset:t("#wpadminbar").length>0&&t("#wpadminbar").is(":visible")?-30:0,e&&t.smoothScroll({scrollTarget:e,offset:offset})}})}if("undefined"!=typeof tocplus.visibility_show){var o="undefined"!=typeof tocplus.visibility_hide_by_default?!0:!1;if(t.cookie)var i=t.cookie("tocplus_hidetoc")?tocplus.visibility_show:tocplus.visibility_hide;else var i=tocplus.visibility_hide;o&&(i=i==tocplus.visibility_hide?tocplus.visibility_show:tocplus.visibility_hide),t("#toc_container p.toc_title").append(' <span class="toc_toggle"><span class="toc_brackets">[</span><a href="#">'+i+'</a><span class="toc_brackets">]</span></span>'),i==tocplus.visibility_show&&(t("ul.toc_list").hide(),t("#toc_container").addClass("contracted").shrinkTOCWidth()),t("span.toc_toggle a").click(function(e){switch(e.preventDefault(),t(this).html()){case t("<div/>").html(tocplus.visibility_hide).text():t(this).html(tocplus.visibility_show),t.cookie&&(o?t.cookie("tocplus_hidetoc",null,{path:"/"}):t.cookie("tocplus_hidetoc","1",{expires:30,path:"/"})),t("ul.toc_list").hide("fast"),t("#toc_container").addClass("contracted").shrinkTOCWidth();break;case t("<div/>").html(tocplus.visibility_show).text():default:t(this).html(tocplus.visibility_hide),t.cookie&&(o?t.cookie("tocplus_hidetoc","1",{expires:30,path:"/"}):t.cookie("tocplus_hidetoc",null,{path:"/"})),t("#toc_container").css("width",tocplus.width).removeClass("contracted"),t("ul.toc_list").show("fast")}})}}});
jQuery.event.special.touchstart={setup: function(_, ns, handle){this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") });}};
jQuery.event.special.touchmove={setup: function(_, ns, handle){this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") });}};
function expand (t){t.style.display="none"==t.style.display?"block":"none"}function read_toggle(t,e,i){el=document.getElementById("readlink"+t),el.innerHTML=el.innerHTML==e?i:e,expand (document.getElementById("read"+t))}!function(t){"use strict";var e,i,n;(jQuery(document).on("click",".kan-category-subscribe-button.hf1s",(function(e){var i=t(this),n=i.attr("data-cat-id"),o=i.attr("data-user-id"),a=!!i.attr("data-author"),s=i.find("#kan-loader"),r=geo_vars.nonce;return e.preventDefault(),""!==n&&t.ajax({type:"POST",url:geo_vars.ajax,data:{action:"kan_ajax_subscribe_category",cat_id:n,uid:o,nonce:r},beforeSend:function(){s.html('<div id="geo-like-loader"><i class="gi gi-loading gi-spin"></i></div>'),i.addClass("loading")},error:function(t){i.attr("disabled",!0),s.empty(),i.removeClass("loading")},success:function(e){var n;e.success?i.hasClass("category-subscribed")?(i.removeClass("category-subscribed"),a&&i.html(e.data.message+'  <div id="kan-loader"></div>')):(i.addClass("category-subscribed"),i.find(".check").show(),a&&i.html(e.data.message+' <div id="kan-loader"></div>')):i.attr("disabled",!0),s.empty(),i.removeClass("loading"),n=e.data.message,t("#kan-alert").remove(),t("body").append('<div id="kan-alert" class="kan-response-fixed ">'+n+"</div>"),setTimeout((function(){t("#kan-alert").fadeOut("normal",(function(){t(this).remove()}))}),3e3)}}),!1})),(e=jQuery).fn.theiaStickySidebar=function(t){function i(t,i){return!0===t.initialized||!(e("body").width()<t.minWidth)&&(function(t,i){t.initialized=!0,0===e("#theia-sticky-sidebar-stylesheet-"+t.namespace).length&&e("head").append(e('<style id="theia-sticky-sidebar-stylesheet-'+t.namespace+'">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')),i.each((function(){function i(){a.fixedScrollTop=0,a.sidebar.css({"min-height":"1px"}),a.stickySidebar.css({position:"static",width:"",transform:"none"})}function o(t){var i=t.height();return t.children().each((function(){i=Math.max(i,e(this).height())})),i}var a={};if(a.sidebar=e(this),a.options=t||{},a.container=e(a.options.containerSelector),0==a.container.length&&(a.container=a.sidebar.parent()),a.sidebar.parents().css("-webkit-transform","none"),a.sidebar.css({position:a.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),a.stickySidebar=a.sidebar.find(".theiaStickySidebar"),0==a.stickySidebar.length){var s=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;a.sidebar.find("script").filter((function(t,e){return 0===e.type.length||e.type.match(s)})).remove(),a.stickySidebar=e("<div>").addClass("theiaStickySidebar").append(a.sidebar.children()),a.sidebar.append(a.stickySidebar)}a.marginBottom=parseInt(a.sidebar.css("margin-bottom")),a.paddingTop=parseInt(a.sidebar.css("padding-top")),a.paddingBottom=parseInt(a.sidebar.css("padding-bottom"));var r=a.stickySidebar.offset().top,c=a.stickySidebar.outerHeight();a.stickySidebar.css("padding-top",1),a.stickySidebar.css("padding-bottom",1),r-=a.stickySidebar.offset().top,c=a.stickySidebar.outerHeight()-c-r,0==r?(a.stickySidebar.css("padding-top",0),a.stickySidebarPaddingTop=0):a.stickySidebarPaddingTop=1,0==c?(a.stickySidebar.css("padding-bottom",0),a.stickySidebarPaddingBottom=0):a.stickySidebarPaddingBottom=1,a.previousScrollTop=null,a.fixedScrollTop=0,i(),a.onScroll=function(a){if(a.stickySidebar.is(":visible")){if(e("body").width()<a.options.minWidth)return void i();if(a.options.disableOnResponsiveLayouts&&a.sidebar.outerWidth("none"==a.sidebar.css("float"))+50>a.container.width())return void i();var s=e(document).scrollTop(),r="static";if(s>=a.sidebar.offset().top+(a.paddingTop-a.options.additionalMarginTop)){var c,d=a.paddingTop+t.additionalMarginTop,l=a.paddingBottom+a.marginBottom+t.additionalMarginBottom,u=a.sidebar.offset().top,f=a.sidebar.offset().top+o(a.container),p=0+t.additionalMarginTop;c=a.stickySidebar.outerHeight()+d+l<e(window).height()?p+a.stickySidebar.outerHeight():e(window).height()-a.marginBottom-a.paddingBottom-t.additionalMarginBottom;var h=u-s+a.paddingTop,g=f-s-a.paddingBottom-a.marginBottom,m=a.stickySidebar.offset().top-s,v=a.previousScrollTop-s;"fixed"==a.stickySidebar.css("position")&&"modern"==a.options.sidebarBehavior&&(m+=v),"stick-to-top"==a.options.sidebarBehavior&&(m=t.additionalMarginTop),"stick-to-bottom"==a.options.sidebarBehavior&&(m=c-a.stickySidebar.outerHeight()),m=v>0?Math.min(m,p):Math.max(m,c-a.stickySidebar.outerHeight()),m=Math.max(m,h),m=Math.min(m,g-a.stickySidebar.outerHeight());var b=a.container.height()==a.stickySidebar.outerHeight();r=!b&&m==p||!b&&m==c-a.stickySidebar.outerHeight()?"fixed":s+m-a.sidebar.offset().top-a.paddingTop<=t.additionalMarginTop?"static":"absolute"}if("fixed"==r){var y=e(document).scrollLeft();a.stickySidebar.css({position:"fixed",width:n(a.stickySidebar)+"px",transform:"translateY("+m+"px)",left:a.sidebar.offset().left+parseInt(a.sidebar.css("padding-left"))-y+"px",top:"0px"})}else if("absolute"==r){var _={};"absolute"!=a.stickySidebar.css("position")&&(_.position="absolute",_.transform="translateY("+(s+m-a.sidebar.offset().top-a.stickySidebarPaddingTop-a.stickySidebarPaddingBottom)+"px)",_.top="0px"),_.width=n(a.stickySidebar)+"px",_.left="",a.stickySidebar.css(_)}else"static"==r&&i();"static"!=r&&1==a.options.updateSidebarHeight&&a.sidebar.css({"min-height":a.stickySidebar.outerHeight()+a.stickySidebar.offset().top-a.sidebar.offset().top+a.paddingBottom}),a.previousScrollTop=s}},a.onScroll(a),e(document).on("scroll."+a.options.namespace,function(t){return function(){t.onScroll(t)}}(a)),e(window).on("resize."+a.options.namespace,function(t){return function(){t.stickySidebar.css({position:"static"}),t.onScroll(t)}}(a)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(a.stickySidebar[0],function(t){return function(){t.onScroll(t)}}(a))}))}(t,i),!0)}function n(t){var e;try{e=t[0].getBoundingClientRect().width}catch(t){}return void 0===e&&(e=t.width()),e}return(t=e.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0,function(t,n){i(t,n)||(e(document).on("scroll."+t.namespace,function(t,n){return function(o){i(t,n)&&e(this).unbind(o)}}(t,n)),e(window).on("resize."+t.namespace,function(t,n){return function(o){i(t,n)&&e(this).unbind(o)}}(t,n)))}(t,this),this},t((function(){jQuery(".kan_sticky_sidebar").theiaStickySidebar({additionalMarginTop:30})})),"on"==geo_vars.sticky&&(t((function(){jQuery(".kan_sticky-sidebar>.elementor-widget-wrap").theiaStickySidebar({minWidth:940,updateSidebarHeight:!1,additionalMarginTop:30,additionalMarginBottom:20,disableOnResponsiveLayouts:!1})})),t((function(){jQuery(".sidebar").theiaStickySidebar({additionalMarginTop:30})}))),1==geo_vars.geoit_lazy)&&(i=this,n=function(){function t(){return(t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}var e="undefined"!=typeof window,i=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),n=e&&"IntersectionObserver"in window,o=e&&"classList"in document.createElement("p"),a=e&&window.devicePixelRatio>1,s={elements_selector:".geo-lazy",container:i||e?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1},r=function(e){return t({},s,e)},c=function(t,e){var i,n="LazyLoad::Initialized",o=new t(e);try{i=new CustomEvent(n,{detail:{instance:o}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent(n,!1,!1,{instance:o})}window.dispatchEvent(i)},d="loading",l="loaded",u="applied",f="error",p="native",h=function(t,e){return t.getAttribute("data-"+e)},g=function(t){return h(t,"ll-status")},m=function(t,e){return function(t,e,i){var n="data-ll-status";null!==i?t.setAttribute(n,i):t.removeAttribute(n)}(t,0,e)},v=function(t){return m(t,null)},b=function(t){return null===g(t)},y=function(t){return g(t)===p},_=[d,l,u,f],k=function(t,e,i,n){t&&(void 0===n?void 0===i?t(e):t(e,i):t(e,i,n))},w=function(t,e){o?t.classList.add(e):t.className+=(t.className?" ":"")+e},C=function(t,e){o?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},x=function(t){return t.llTempImage},S=function(t,e){if(e){var i=e._observer;i&&i.unobserve(t)}},T=function(t,e){t&&(t.loadingCount+=e)},j=function(t,e){t&&(t.toLoadCount=e)},E=function(t){for(var e,i=[],n=0;e=t.children[n];n+=1)"SOURCE"===e.tagName&&i.push(e);return i},O=function(t,e,i){i&&t.setAttribute(e,i)},I=function(t,e){t.removeAttribute(e)},B=function(t){return!!t.llOriginalAttrs},L=function(t){if(!B(t)){var e={};e.src=t.getAttribute("src"),e.srcset=t.getAttribute("srcset"),e.sizes=t.getAttribute("sizes"),t.llOriginalAttrs=e}},M=function(t){if(B(t)){var e=t.llOriginalAttrs;O(t,"src",e.src),O(t,"srcset",e.srcset),O(t,"sizes",e.sizes)}},z=function(t,e){O(t,"sizes",h(t,e.data_sizes)),O(t,"srcset",h(t,e.data_srcset)),O(t,"src",h(t,e.data_src))},H=function(t){I(t,"src"),I(t,"srcset"),I(t,"sizes")},Q=function(t,e){var i=t.parentNode;i&&"PICTURE"===i.tagName&&E(i).forEach(e)},A={IMG:function(t,e){Q(t,(function(t){L(t),z(t,e)})),L(t),z(t,e)},IFRAME:function(t,e){O(t,"src",h(t,e.data_src))},VIDEO:function(t,e){!function(t,i){E(t).forEach((function(t){O(t,"src",h(t,e.data_src))}))}(t),O(t,"poster",h(t,e.data_poster)),O(t,"src",h(t,e.data_src)),t.load()}},N=function(t,e){var i=A[t.tagName];i&&i(t,e)},R=function(t,e,i){T(i,1),w(t,e.class_loading),m(t,d),k(e.callback_loading,t,i)},P=["IMG","IFRAME","VIDEO"],D=function(t,e){!e||function(t){return t.loadingCount>0}(e)||function(t){return t.toLoadCount>0}(e)||k(t.callback_finish,e)},U=function(t,e,i){t.addEventListener(e,i),t.llEvLisnrs[e]=i},F=function(t,e,i){t.removeEventListener(e,i)},Y=function(t){return!!t.llEvLisnrs},W=function(t){if(Y(t)){var e=t.llEvLisnrs;for(var i in e){var n=e[i];F(t,i,n)}delete t.llEvLisnrs}},q=function(t,e,i){!function(t){delete t.llTempImage}(t),T(i,-1),function(t){t&&(t.toLoadCount-=1)}(i),C(t,e.class_loading),e.unobserve_completed&&S(t,i)},G=function(t,e,i){var n=x(t)||t;Y(n)||function(t,e,i){Y(t)||(t.llEvLisnrs={});var n="VIDEO"===t.tagName?"loadeddata":"load";U(t,n,e),U(t,"error",i)}(n,(function(o){!function(t,e,i,n){var o=y(e);q(e,i,n),w(e,i.class_loaded),m(e,l),k(i.callback_loaded,e,n),o||D(i,n)}(0,t,e,i),W(n)}),(function(o){!function(t,e,i,n){var o=y(e);q(e,i,n),w(e,i.class_error),m(e,f),k(i.callback_error,e,n),o||D(i,n)}(0,t,e,i),W(n)}))},V=function(t,e,i){!function(t){return P.indexOf(t.tagName)>-1}(t)?function(t,e,i){!function(t){t.llTempImage=document.createElement("IMG")}(t),G(t,e,i),function(t,e,i){var n=h(t,e.data_bg),o=h(t,e.data_bg_hidpi),s=a&&o?o:n;s&&(t.style.backgroundImage='url("'.concat(s,'")'),x(t).setAttribute("src",s),R(t,e,i))}(t,e,i),function(t,e,i){var n=h(t,e.data_bg_multi),o=h(t,e.data_bg_multi_hidpi),s=a&&o?o:n;s&&(t.style.backgroundImage=s,function(t,e,i){w(t,e.class_applied),m(t,u),e.unobserve_completed&&S(t,e),k(e.callback_applied,t,i)}(t,e,i))}(t,e,i)}(t,e,i):function(t,e,i){G(t,e,i),N(t,e),R(t,e,i)}(t,e,i)},$=["IMG","IFRAME"],J=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},Z=function(t){return Array.prototype.slice.call(t)},K=function(t){return t.container.querySelectorAll(t.elements_selector)},X=function(t){return function(t){return g(t)===f}(t)},tt=function(t,e){return function(t){return Z(t).filter(b)}(t||K(e))},et=function(t,i){var o=r(t);this._settings=o,this.loadingCount=0,function(t,e){n&&!J(t)&&(e._observer=new IntersectionObserver((function(i){!function(t,e,i){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,e,i,n){m(t,"entered"),w(t,i.class_entered),C(t,i.class_exited),function(t,e,i){e.unobserve_entered&&S(t,i)}(t,i,n),k(i.callback_enter,t,e,n),function(t){return _.indexOf(g(t))>=0}(t)||V(t,i,n)}(t.target,t,e,i):function(t,e,i,n){b(t)||(w(t,i.class_exited),function(t,e,i,n){i.cancel_on_exit&&function(t){return g(t)===d}(t)&&"IMG"===t.tagName&&(W(t),function(t){Q(t,(function(t){H(t)})),H(t)}(t),function(t){Q(t,(function(t){M(t)})),M(t)}(t),C(t,i.class_loading),T(n,-1),v(t),k(i.callback_cancel,t,e,n))}(t,e,i,n),k(i.callback_exit,t,e,n))}(t.target,t,e,i)}))}(i,t,e)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(o,this),function(t,i){e&&window.addEventListener("online",(function(){!function(t,e){var i;(i=K(t),Z(i).filter(X)).forEach((function(e){C(e,t.class_error),v(e)})),e.update()}(t,i)}))}(o,this),this.update(i)};return et.prototype={update:function(t){var e,o,a=this._settings,s=tt(t,a);j(this,s.length),!i&&n?J(a)?function(t,e,i){t.forEach((function(t){-1!==$.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),function(t,e,i){G(t,e,i),N(t,e),m(t,p)}(t,e,i))})),j(i,0)}(s,a,this):(o=s,function(t){t.disconnect()}(e=this._observer),function(t,e){e.forEach((function(e){t.observe(e)}))}(e,o)):this.loadAll(s)},destroy:function(){this._observer&&this._observer.disconnect(),K(this._settings).forEach((function(t){delete t.llOriginalAttrs})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,i=this._settings;tt(t,i).forEach((function(t){S(t,e),V(t,i,e)}))}},et.load=function(t,e){var i=r(e);V(t,i)},et.resetStatus=function(t){v(t)},e&&function(t,e){if(e)if(e.length)for(var i,n=0;i=e[n];n+=1)c(t,i);else c(t,e)}(et,window.lazyLoadOptions),et},"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(i=i||self).LazyLoad=n(),new LazyLoad({callback_loaded:t=>{t.removeAttribute("data-src")}}).update());!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self,function(){var i=t.Cookies,n=t.Cookies=e();n.noConflict=function(){return t.Cookies=i,n}}())}(this,(function(){function t(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)t[n]=i[n]}return t}var e={read:function(t){return t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};return function i(n,o){function a(e,i,a){if("undefined"!=typeof document){"number"==typeof(a=t({},o,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),i=n.write(i,e);var s="";for(var r in a)a[r]&&(s+="; "+r,!0!==a[r]&&(s+="="+a[r].split(";")[0]));return document.cookie=e+"="+i+s}}return Object.create({set:a,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var i=document.cookie?document.cookie.split("; "):[],o={},a=0;a<i.length;a++){var s=i[a].split("="),r=s.slice(1).join("=");'"'===r[0]&&(r=r.slice(1,-1));try{var c=e.read(s[0]);if(o[c]=n.read(r,c),t===c)break}catch(t){}}return t?o[t]:o}},remove:function(e,i){a(e,"",t({},i,{expires:-1}))},withAttributes:function(e){return i(this.converter,t({},this.attributes,e))},withConverter:function(e){return i(t({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}(e,{path:"/"})})),t(document).on("click",".geo-switch-button",(function(){var e="light";t("html").hasClass("dark-mode")&&(e="dark");var i="dark"==e?"light":"dark";return"undefined"!=typeof localStorage&&localStorage.setItem("geoit_skin",i),"dark"==i?(t("html").addClass("dark-mode"),t(".geo-switch-button").addClass("geo-switch-on"),t(".geo-switch-button").attr("aria-checked","true")):(t(".geo-switch-button").removeClass("geo-switch-on"),t(".geo-switch-button").attr("aria-checked","false"),t("html").removeClass("dark-mode")),!1})),t("html").hasClass("dark-mode")&&(t(".geo-switch-button").addClass("geo-switch-on"),t(".geo-switch-button").attr("aria-checked","true"));(-1<window.location.search.indexOf("?islem")||-1<window.location.search.indexOf("login=true"))&&t(".geoit_login").last().addClass("collapsible-active"),t(window).scroll((function(){t(this).scrollTop()>=50?t("#back-to-top").fadeIn(200):t("#back-to-top").fadeOut(200)})),t("#back-to-top").click((function(){t("body,html").animate({scrollTop:0},500)})),jQuery(".menu-mobil li.menu-item-has-children>a").click((function(){return jQuery(this).parent().find("ul").first().slideToggle(300),jQuery(this).toggleClass("active-menu"),!1})),t("#mobile-menu-icon, #geo_mobil_menu .login-close").click((function(){t("body").toggleClass("collapsible-active")}));!function(e){var i,n=e.find("ul > li"),o=n.hide().first();function a(t){void 0!==i&&clearInterval(i),o.find("a").fadeOut("slow",(function(){var e,n,a;t.hide(),o=o.next().length?o.next():t.first(),e=o.show().find("a").text("").fadeIn(),n=0,a=e.data("title"),i=setInterval((function(){e.text().length>=a.length?clearInterval(i):e.text(a.substr(0,n++))}),30)}))}n.find("a").each((function(){t(this).data("title",t(this).text())})),a(n),setInterval((function(){a(n)}),5e3)}(t("#news-ticker")),t("[data-toggle]").on("click",(function(){var e="[id='"+t(this).attr("data-toggle")+"']";t(e).toggleClass("collapsible-active")})),t(".header__search, .search-close").click((function(){t(".header__search--form").toggleClass("is-active")})),document.onkeydown=function(e){27==(e=e||window.event).keyCode&&t("div").removeClass("collapsible-active"),27==(e=e||window.event).keyCode&&t("div").removeClass("is-active")};function o(){var t=jQuery("#coin_calc .currency5value").val(),e=jQuery("#coin_calc .currency_switcher_3").val(),i=jQuery("#coin_calc .currency_switcher_x").val();jQuery("#coin_calc .currency6value").val(Number((t*i/e).toFixed(3)).toLocaleString())}t(".geoit-popular-post-item-style3").hover((function(){t(".geoit-popular-post-item-style3").removeClass("geoit-popular-post-active"),t(this).addClass("geoit-popular-post-active")}),(function(){t(".geoit-popular-post-item-style3").removeClass("geoit-popular-post-active"),t(".geoit-popular-post-item-style3").first().addClass("geoit-popular-post-active")})),t(".notification-button").click((function(){var e=t(this).data("user-id"),i=parseInt(Date.now()/1e3);if(t(this).find(".notification-count").remove(),1==geo_vars.logged_in&&!ajaxExecuted)return t.ajax({type:"POST",url:geo_vars.ajax,data:{action:"show_user_notifications",nonce:geo_vars.nonce},success:function(t){ajaxExecuted=!0}}),!1;Cookies.set("geoit_user_time_"+e,i,{path:null,expires:365})})),t(document).on("click","#clearNotification",(function(e){return e.preventDefault(),t.ajax({type:"POST",url:geo_vars.ajax,data:{action:"clear_user_notifications",nonce:geo_vars.nonce},success:function(e){t(".geo-notification-content").html("<li>"+e.data.message+"</li>")}}),!1})),t(document).on("click",".geoit-location-weather",(function(){var e=t(this),i=e.closest(".geoit-weather-widget");return e.html('<div id="geo-like-loader"><i class="gi gi-loading gi-spin"></i></div>'),t.ajax({type:"POST",url:geo_vars.ajax,data:{action:"geoit_get_user_weather",api_key:t(".geoit-location-weather").data("api")},success:function(t){i.html(t)}}),!1})),o(),jQuery("#coin_calc .currency5value").keyup(o),jQuery("#coin_calc .currency_switcher_x").change(o),jQuery("#coin_calc .currency_switcher_3").change(o),jQuery("#coin_calc .currency6value").keyup((function(){var t=jQuery("#coin_calc .currency6value").val(),e=jQuery("#coin_calc .currency_switcher_3").val(),i=jQuery("#coin_calc .currency_switcher_x").val();jQuery("#coin_calc .currency5value").val(t*e/i)})),t(document).ready((function(){t(".kan-circle").each((function(){var e=t(this),i=100-10*e.data("complate");e.css("stroke-dashoffset",i)}))}))}(jQuery),function(t){var e=function(e){this.element=t(e)};function i(i){return this.each((function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new e(this)),"string"==typeof i&&o[i]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("data-href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=i.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(a),e.trigger(s),!s.isDefaultPrevented()&&!a.isDefaultPrevented()){var r=t(document).find(n);this.activate(e.closest("li"),i),this.activate(r,r.parent(),(function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})}))}}},e.prototype.activate=function(i,n,o){var a=n.find("> .active"),s=o&&t.support.transition&&(a.length&&a.hasClass("fade")||!!n.find("> .fade").length);function r(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}a.length&&s?a.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),a.removeClass("in")};var n=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),"on"==geo_vars.headroom&&(function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Headroom=e()}(this,(function(){"use strict";function t(){return"undefined"!=typeof window}function e(t,e,i){var n,o=function(){var t=!1;try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}(),a=!1,s=function(t){return function(t){return t&&t.document&&function(t){return 9===t.nodeType}(t.document)}(t)?function(t){var e=t.document,i=e.body,n=e.documentElement;return{scrollHeight:function(){return Math.max(i.scrollHeight,n.scrollHeight,i.offsetHeight,n.offsetHeight,i.clientHeight,n.clientHeight)},height:function(){return t.innerHeight||n.clientHeight||i.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(n||i.parentNode||i).scrollTop}}}(t):function(t){return{scrollHeight:function(){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},height:function(){return Math.max(t.offsetHeight,t.clientHeight)},scrollY:function(){return t.scrollTop}}}(t)}(t),r=s.scrollY(),c={};function d(){var t=Math.round(s.scrollY()),n=s.height(),o=s.scrollHeight();c.scrollY=t,c.lastScrollY=r,c.direction=r<t?"down":"up",c.distance=Math.abs(t-r),c.isOutOfBounds=t<0||o<t+n,c.top=t<=e.offset,c.bottom=o<=t+n,c.toleranceExceeded=c.distance>e.tolerance[c.direction],i(c),r=t,a=!1}function l(){a||(a=!0,n=requestAnimationFrame(d))}var u=!!o&&{passive:!0,capture:!1};return t.addEventListener("scroll",l,u),d(),{destroy:function(){cancelAnimationFrame(n),t.removeEventListener("scroll",l,u)}}}function i(t,e){e=e||{},Object.assign(this,i.options,e),this.classes=Object.assign({},i.options.classes,e.classes),this.elem=t,this.tolerance=function(t){return t===Object(t)?t:{down:t,up:t}}(this.tolerance),this.initialised=!1,this.frozen=!1}return i.prototype={constructor:i,init:function(){return i.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout((function(t){t.scrollTracker=e(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))}),100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every((function(t){return this.classList.contains(t)}),this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},i.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},i.cutsTheMustard=!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),i})),function(t){t&&(t.fn.headroom=function(e){return this.each((function(){var i=t(this),n=i.data("headroom"),o="object"==typeof e&&e;o=t.extend(!0,{},Headroom.options,o),n||((n=new Headroom(this,o)).init(),i.data("headroom",n)),"string"==typeof e&&(n[e](),"destroy"===e&&i.removeData("headroom"))}))},t("[data-headroom]").each((function(){var e=t(this);e.headroom(e.data())})))}(window.Zepto||window.jQuery),function(t){t(document).ready((function(){t(".headroom").headroom({offset:200,tolerance:0,tolerance:{up:5,down:0}})}))}(jQuery)),function(t){"use strict";t(document).on("mouseenter",".geoit_mega_cards_tab li",(function(){var e=t(this),i=e.attr("data-cat-id"),n=e.closest(".megapost"),o=n.find(".geoit_mega_cards_tab").attr("sortby"),a=n.find(".geoit_mega_content");if(!e.hasClass("is-active"))return n.find(".geoit_mega_cards_tab li").removeClass("is-active"),e.addClass("is-active"),a.find("#mega-posts-"+i).length?(a.find(".geoit_mega_tab_content").hide(),a.find("#mega-posts-"+i).show(),!1):(e.removeClass("ajax-trigger"),i&&!e.hasClass("ajax-trigger")&&(e.addClass("ajax-trigger"),t.ajax({url:geo_vars.ajax,type:"post",data:{action:"kan_mega_menu_ajax",cat_id:i,sortby:o},beforeSend:function(){a.hasClass("is-loading")||(e.addClass("is-loading"),a.addClass("is-loading"),a.append('<div class="geoit-loading-overlay"><i class="gi gi-loading gi-spin"></i></div>'))},success:function(t){t=jQuery.parseJSON(t),a.find(".geoit_mega_tab_content").hide(),a.append(t.content)},error:function(){e.removeClass("ajax-trigger")},complete:function(){a.removeClass("is-loading"),a.find(".geoit-loading-overlay").remove(),e.removeClass("is-loading")}})),!1)})),t(document).on("click",".geoit-load-more-btn",(function(){var e=t(this),i=e.closest(".geoit_fav_posts"),n=i.find(".kan-widget-ajax-posts"),o=n.attr("data-current"),a=n.attr("data-query"),s=e.find("#geo-like-loader");return o++,t.ajax({url:geo_vars.ajax,type:"post",data:{action:"geoit_user_favorites",query:a,page:o,page2:n.attr("data-current")},beforeSend:function(){e.attr("disabled",!0),s.html('<i class="gi gi-loading gi-spin"></i>')},success:function(t){(t=jQuery.parseJSON(t)).disabled?(e.attr("disabled",!0),e.html(t.button)):(i.find(n).append(t.content),e.attr("disabled",!1),s.empty())}}),n.attr("data-current",o),!1})),t(document).on("click",".jm-post-like",(function(){var e,i=t(this),n=i.attr("data-post-id"),o=i.attr("data-nonce"),a=i.attr("data-iscomment"),s=(e=t("1"===a?".jm-comment-like-button-"+n:".jm-post-like-"+n)).find("#geo-like-loader");return e.r,""!==n&&t.ajax({type:"POST",url:geo_vars.ajax,data:{action:"process_simple_like",post_id:n,nonce:o,is_comment:a},beforeSend:function(){s.html('<i class="gi gi-loading gi-spin"></i>')},success:function(t){if("1"===a)if("unliked"===t.status)var i='<i class="gi gi-like-o"></i>';else i='<i class="gi gi-like"></i>';else if("unliked"===t.status)i=geo_vars.fav_down;else i=geo_vars.fav_up;var n=t.count;if(e.html(i+n+'<span id="geo-like-loader"></div>'),"unliked"===t.status){e.prop("title",""),e.removeClass("liked")}else{e.prop("title",""),e.addClass("liked")}s.empty()}}),!1}))}(jQuery),geo_vars.gotop&&function(t){"use strict";t(".switch").on("click",(function(){t("body").hasClass("light")?(t("body").removeClass("light"),t(".switch").removeClass("switched")):(t("body").addClass("light"),t(".switch").addClass("switched"))})),t(document).ready((function(){var e=document.querySelector(".progress-wrap path"),i=e.getTotalLength();e.style.transition=e.style.WebkitTransition="none",e.style.strokeDasharray=i+" "+i,e.style.strokeDashoffset=i,e.getBoundingClientRect(),e.style.transition=e.style.WebkitTransition="stroke-dashoffset 10ms linear";var n=function(){var n=t(window).scrollTop(),o=t(document).height()-t(window).height(),a=i-n*i/o;e.style.strokeDashoffset=a};n(),t(window).scroll(n),jQuery(window).on("scroll",(function(){jQuery(this).scrollTop()>50?jQuery(".progress-wrap").addClass("active-progress"):jQuery(".progress-wrap").removeClass("active-progress")})),jQuery(".progress-wrap").on("click",(function(t){return t.preventDefault(),jQuery("html, body").animate({scrollTop:0},550),!1}))}))}(jQuery);
!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,n=t.console,o=void 0===n?function(){}:function(t){n.error(t)};function r(n,r,l){(l=l||e||t.jQuery)&&(r.prototype.option||(r.prototype.option=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))}),l.fn[n]=function(t){var e;return"string"==typeof t?function(t,e,i){var r,s="$()."+n+'("'+e+'")';return t.each(function(t,a){var h=l.data(a,n);if(h){var c=h[e];if(c&&"_"!=e.charAt(0)){var u=c.apply(h,i);r=void 0===r?u:r}else o(s+" is not a valid method")}else o(n+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==r?r:t}(this,t,i.call(arguments,1)):(e=t,this.each(function(t,i){var o=l.data(i,n);o?(o.option(e),o._init()):(o=new r(i,e),l.data(i,n,o))}),this)},s(l))}function s(t){!t||t&&t.bridget||(t.bridget=r)}return s(e||t.jQuery),r}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o];n&&n[r]&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}else o.push(t)}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,l=document.querySelectorAll("["+s+"]"),a=document.querySelectorAll(".js-"+r),h=i.makeArray(l).concat(i.makeArray(a)),c=s+"-options",u=t.jQuery;h.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(c);try{i=r&&JSON.parse(r)}catch(e){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+e))}var l=new e(t,i);u&&u.data(t,n,l)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/core",["ev-emitter/ev-emitter","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("fizzy-ui-utils")):t.InfiniteScroll=e(t,t.EvEmitter,t.fizzyUIUtils)}(window,function(t,e,i){var n=t.jQuery,o={};function r(t,e){var s=i.getQueryElement(t);if(s){if((t=s).infiniteScrollGUID){var l=o[t.infiniteScrollGUID];return l.option(e),l}this.element=t,this.options=i.extend({},r.defaults),this.option(e),n&&(this.$element=n(this.element)),this.create()}else console.error("Bad element for InfiniteScroll: "+(s||t))}r.defaults={},r.create={},r.destroy={};var s=r.prototype;i.extend(s,e.prototype);var l=0;s.create=function(){var t=this.guid=++l;if(this.element.infiniteScrollGUID=t,o[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath())for(var e in this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit(),r.create)r.create[e].call(this);},s.option=function(t){i.extend(this.options,t)},s.callOnInit=function(){var t=this.options.onInit;t&&t.call(this,this)},s.dispatchEvent=function(t,e,i){this.log(t,i);var o=e?[e].concat(i):i;if(this.emitEvent(t,o),n&&this.$element){var r=t+=".infiniteScroll";if(e){var s=n.Event(e);s.type=t,r=s}this.$element.trigger(r,i)}};var a={initialized:function(t){return"on "+t},request:function(t){return"URL: "+t},load:function(t,e){return(t.title||"")+". URL: "+e},error:function(t,e){return t+". URL: "+e},append:function(t,e,i){return i.length+" items. URL: "+e},last:function(t,e){return"URL: "+e},history:function(t,e){return"URL: "+e},pageIndex:function(t,e){return"current page determined to be: "+t+" from "+e}};s.log=function(t,e){if(this.options.debug){var i="[InfiniteScroll] "+t,n=a[t];n&&(i+=". "+n.apply(this,e)),console.log(i)}},s.updateMeasurements=function(){this.windowHeight=t.innerHeight;var e=this.element.getBoundingClientRect();this.top=e.top+t.pageYOffset},s.updateScroller=function(){var e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:i.getQueryElement(e),!this.scroller)throw"Unable to find elementScroll: "+e}else this.scroller=t},s.updateGetPath=function(){var t=this.options.path;if(t){var e=typeof t;if("function"!=e)"string"==e&&t.match("{{#}}")?this.updateGetPathTemplate(t):this.updateGetPathSelector(t);else this.getPath=t}else console.error("InfiniteScroll path option required. Set as: "+t)},s.updateGetPathTemplate=function(t){this.getPath=function(){var e=this.pageIndex+1;return t.replace("{{#}}",e)}.bind(this);var e=t.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),i=new RegExp(e),n=location.href.match(i);n&&(this.pageIndex=parseInt(n[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};var h=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/];return s.updateGetPathSelector=function(t){var e=document.querySelector(t);if(e){for(var i,n,o=e.getAttribute("href"),r=0;o&&r<h.length;r++){n=h[r];var s=o.match(n);if(s){i=s.slice(1);break}}i?(this.isPathSelector=!0,this.getPath=function(){var t=this.pageIndex+1;return i[0]+t+i[2]}.bind(this),this.pageIndex=parseInt(i[1],10)-1,this.log("pageIndex",[this.pageIndex,"next link"])):console.error("InfiniteScroll unable to parse next link href: "+o)}else console.error("Bad InfiniteScroll path option. Next link not found: "+t)},s.updateGetAbsolutePath=function(){var t=this.getPath();if(t.match(/^http/)||t.match(/^\//))this.getAbsolutePath=this.getPath;else{var e=location.pathname;if(t.match(/^\?/))this.getAbsolutePath=function(){return e+this.getPath()};else{var i=e.substring(0,e.lastIndexOf("/"));this.getAbsolutePath=function(){return i+"/"+this.getPath()}}}},r.create.hideNav=function(){var t=i.getQueryElement(this.options.hideNav);t&&(t.style.display="none",this.nav=t)},r.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},s.destroy=function(){for(var t in this.allOff(),r.destroy)r.destroy[t].call(this);delete this.element.infiniteScrollGUID,delete o[this.guid],n&&this.$element&&n.removeData(this.element,"infiniteScroll")},r.throttle=function(t,e){var i,n;return e=e||200,function(){var o=+new Date,r=arguments,s=function(){i=o,t.apply(this,r)}.bind(this);i&&o<i+e?(clearTimeout(n),n=setTimeout(s,e)):s()}},r.data=function(t){var e=(t=i.getQueryElement(t))&&t.infiniteScrollGUID;return e&&o[e]},r.setJQuery=function(t){n=t},i.htmlInit(r,"infinite-scroll"),s._init=function(){},n&&n.bridget&&n.bridget("infiniteScroll",r),r}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/page-load",["./core"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core")):e(t,t.InfiniteScroll)}(window,function(t,e){var i=e.prototype;function n(t){for(var e=document.createDocumentFragment(),i=0;t&&i<t.length;i++)e.appendChild(t[i]);return e}function o(t,e){for(var i=t.attributes,n=0;n<i.length;n++){var o=i[n];e.setAttribute(o.name,o.value)}}return e.defaults.loadOnScroll=!0,e.defaults.checkLastPage=!0,e.defaults.responseType="document",e.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},i.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()},i.loadNextPage=function(){if(!this.isLoading&&this.canLoad){var t=this.getAbsolutePath();this.isLoading=!0;var e=function(e){this.onPageLoad(e,t)}.bind(this),i=function(e){this.onPageError(e,t)}.bind(this),n=function(e){this.lastPageReached(e,t)}.bind(this);!function(t,e,i,n,o){var r=new XMLHttpRequest;r.open("GET",t,!0),r.responseType=e||"",r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.onload=function(){if(200==r.status)i(r.response);else if(204==r.status)o(r.response);else{var t=new Error(r.statusText);n(t)}},r.onerror=function(){var e=new Error("Network error requesting "+t);n(e)},r.send()}(t,this.options.responseType,e,i,n),this.dispatchEvent("request",null,[t])}},i.onPageLoad=function(t,e){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[t,e]),this.appendNextPage(t,e),t},i.appendNextPage=function(t,e){var i=this.options.append;if("document"==this.options.responseType&&i){var o=t.querySelectorAll(i),r=n(o),s=function(){this.appendItems(o,r),this.isLoading=!1,this.dispatchEvent("append",null,[t,e,o])}.bind(this);this.options.outlayer?this.appendOutlayerItems(r,s):s()}},i.appendItems=function(t,e){t&&t.length&&(function(t){for(var e=t.querySelectorAll("script"),i=0;i<e.length;i++){var n=e[i],r=document.createElement("script");o(n,r),r.innerHTML=n.innerHTML,n.parentNode.replaceChild(r,n)}}(e=e||n(t)),this.element.appendChild(e))},i.appendOutlayerItems=function(i,n){var o=e.imagesLoaded||t.imagesLoaded;if(!o)return console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1);o(i,n)},i.onAppendOutlayer=function(t,e,i){this.options.outlayer.appended(i)},i.checkLastPage=function(t,e){var i=this.options.checkLastPage;if(i){var n,o=this.options.path;if("function"==typeof o)if(!this.getPath())return void this.lastPageReached(t,e);if("string"==typeof i?n=i:this.isPathSelector&&(n=o),n&&t.querySelector)t.querySelector(n)||this.lastPageReached(t,e)}},i.lastPageReached=function(t,e){this.canLoad=!1,this.dispatchEvent("last",null,[t,e])},i.onPageError=function(t,e){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[t,e]),t},e.create.prefill=function(){if(this.options.prefill){var t=this.options.append;t?(this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()):console.error("append option required for prefill. Set as :"+t)}},i.prefill=function(){var t=this.getPrefillDistance();this.isPrefilling=t>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},i.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},i.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/scroll-watch",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype;return e.defaults.scrollThreshold=400,e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);var t=this.options.scrollThreshold;(t||0===t)&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},n.bindScrollWatchEvents=function(e){var i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.pageScrollHandler),t[i]("resize",this.resizeHandler)},n.onPageScroll=e.throttle(function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),n.getBottomDistance=function(){return this.options.elementScroll?this.getElementBottomDistance():this.getWindowBottomDistance()},n.getWindowBottomDistance=function(){return this.top+this.element.clientHeight-(t.pageYOffset+this.windowHeight)},n.getElementBottomDistance=function(){return this.scroller.scrollHeight-(this.scroller.scrollTop+this.scroller.clientHeight)},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/history",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype;e.defaults.history="replace";var o=document.createElement("a");return e.create.history=function(){this.options.history&&(o.href=this.getAbsolutePath(),(o.origin||o.protocol+"//"+o.host)==location.origin?this.options.append?this.createHistoryAppend():this.createHistoryPageLoad():console.error("[InfiniteScroll] cannot set history with different origin: "+o.origin+" on "+location.origin+" . History behavior disabled."))},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPageIndex=0,this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){var i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.scrollHistoryHandler),t[i]("pagehide",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(t,e,i){if(i&&i.length){var n=i[0],r=this.getElementScrollY(n);o.href=e,this.scrollPages.push({top:r,path:o.href,title:t.title})}},n.getElementScrollY=function(t){return this.options.elementScroll?this.getElementElementScrollY(t):this.getElementWindowScrollY(t)},n.getElementWindowScrollY=function(e){return e.getBoundingClientRect().top+t.pageYOffset},n.getElementElementScrollY=function(t){return t.offsetTop-this.top},n.onScrollHistory=function(){for(var t,e,i=this.getScrollViewY(),n=0;n<this.scrollPages.length;n++){var o=this.scrollPages[n];if(o.top>=i)break;t=n,e=o}t!=this.scrollPageIndex&&(this.scrollPageIndex=t,this.setHistory(e.title,e.path))},i.debounceMethod(e,"onScrollHistory",150),n.getScrollViewY=function(){return this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},n.setHistory=function(t,e){var i=this.options.history;i&&history[i+"State"]&&(history[i+"State"](null,t,e),this.options.historyTitle&&(document.title=t),this.dispatchEvent("history",null,[t,e]))},n.onUnload=function(){var e=this.scrollPageIndex;if(0!==e){var i=this.scrollPages[e],n=t.pageYOffset-i.top+this.top;this.destroyHistory(),scrollTo(0,n)}},n.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){function n(t,e){this.element=t,this.infScroll=e,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),e.on("request",this.disable.bind(this)),e.on("load",this.enable.bind(this)),e.on("error",this.hide.bind(this)),e.on("last",this.hide.bind(this))}return e.create.button=function(){var t=i.getQueryElement(this.options.button);t&&(this.button=new n(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},n.prototype.onClick=function(t){t.preventDefault(),this.infScroll.loadNextPage()},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.disabled="disabled"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},e.Button=n,e}),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,function(t,e,i){var n=e.prototype;function o(t){s(t,"none")}function r(t){s(t,"block")}function s(t,e){t&&(t.style.display=e)}return e.create.status=function(){var t=i.getQueryElement(this.options.status);t&&(this.statusElement=t,this.statusEventElements={request:t.querySelector(".infinite-scroll-request"),error:t.querySelector(".infinite-scroll-error"),last:t.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},n.bindHideStatus=function(t){var e=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},n.showRequestStatus=function(){this.showStatus("request")},n.showErrorStatus=function(){this.showStatus("error")},n.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},n.showStatus=function(t){r(this.statusElement),this.hideStatusEventElements(),r(this.statusEventElements[t])},n.hideAllStatus=function(){o(this.statusElement),this.hideStatusEventElements()},n.hideStatusEventElements=function(){for(var t in this.statusEventElements){o(this.statusEventElements[t])}},e}),function(t,e){"function"==typeof define&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))}(window,function(t){return t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){var i=t.jQuery,n=t.console;function o(t,e){for(var i in e)t[i]=e[i];return t}var r=Array.prototype.slice;function s(t,e,l){if(!(this instanceof s))return new s(t,e,l);var a,h=t;("string"==typeof t&&(h=document.querySelectorAll(t)),h)?(this.elements=(a=h,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?r.call(a):[a]),this.options=o({},this.options),"function"==typeof e?l=e:o(this.options,e),l&&this.on("always",l),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(h||t))}s.prototype=Object.create(e.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var l={1:!0,9:!0,11:!0};function a(t){this.img=t}function h(t,e){this.url=t,this.element=e,this.img=new Image}return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var i=new h(t,e);this.images.push(i)},s.prototype.check=function(){var t=this;function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(t){t.once("progress",e),t.check()}):this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(e.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype=Object.create(a.prototype),h.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},h.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(i(this))})},s.makeJQueryPlugin(),s});
(function($){
'use strict';
if(geo_vars.is_single!=true&&(geo_vars.pagination=='load_more'||geo_vars.pagination=='infinite_scroll')){
"infinite_scroll"==geo_vars.pagination?$(function(){"use strict";$("[geoit-data-load-more]").infiniteScroll({path:".geoit_pagination_next a",append:"[geoit-data-load-more] .uck-card, [geoit-data-load-more] .kqa-question-list-item2",scrollThreshold:100,status:".page-load-status"}).on("append.infiniteScroll",function(){var myLazyLoad=new LazyLoad();myLazyLoad.update();var ga=window[window['GoogleAnalyticsObject']||'ga'];if(typeof ga=='function'){ga('send', 'pageview', $('.geoit_pagination_next:last a').attr('href'));}})}):$(function(){"use strict";$("[geoit-data-load-more]").infiniteScroll({path:".geoit_pagination_next a",append:"[geoit-data-load-more] .uck-card, [geoit-data-load-more] .kqa-question-list-item2",button:"[geoit-data-load-more-button]",scrollThreshold:!1,status:".page-load-status"}).on("append.infiniteScroll",function(){var myLazyLoad=new LazyLoad();myLazyLoad.update();var ga=window[window['GoogleAnalyticsObject']||'ga'];if(typeof ga=='function'){ga('send', 'pageview', $('.geoit_pagination_next:last a').attr('href'));}})});
}
var ajaxExecuted=false;
if(geo_vars.is_single&&geo_vars.post_infinite=='on'){
$('#content').infiniteScroll({
path: function(){
return $('.content-row .geoprev a').attr('href');
},
append: '.content-row',
button: 0,
scrollThreshold: 600,
history: 'replace',
historyTitle: true,
status: '.page-load-status',
}).on("append.infiniteScroll",function(){
$(".geo-truncate-mobile .kan-single-read-more").click(function(){$(".geoit_entry-content").toggleClass("is-active")})
$('.geoprev').not(':last').remove();
if(geo_vars.geoit_lazy==true){
var myLazyLoad=new LazyLoad();
myLazyLoad.update();
}
$("[data-toggle]").on("click", function(){var t="[id='"+$(this).attr("data-toggle")+"']"; $(t).toggleClass("collapsible-active")});
$(".geoit_pagination_next:last a").attr("href");
$(".geoit-comments-show").click(function (){
$(this).next("#comments").removeClass("comments-hidden");
$(this).remove();
});
if(typeof window.pageTracker!=='undefined') window.pageTracker._trackPageview(path);
window.history.pushState(null, (0, $(document).attr('title'), $(location).attr('href')));
});
}})(jQuery);
if(function(e){"use strict";if(jQuery(document).on("click",".geoit-ingredients-item, .geoit-recipe-instructions-item",(function(){e(this).toggleClass("done")})),navigator.share)jQuery(document).on("click",".kan-native-share",(function(){var t=e("head title").text(),i=window.location.href;navigator.share({title:t,url:i}).then(void 0).catch(console.error)}));else{var t=e("head title").text(),i=window.location.href;e(".kan-native-share").html('<i class="gi gi-share"></i>'),e(".kan-native-share").removeAttr("onclick"),e(".kan-native-share").attr("href","mailto:e-posta@domain.com?subject="+t+">&body="+i)}if(navigator.share)jQuery(document).on("click",".kan-native-share2",(function(){var t=e(this).data("title"),i=e(this).attr("href");navigator.share({title:t,url:i}).then(void 0).catch(console.error)}));else{t=e("head title").text(),i=window.location.href;e(".kan-native-share").html('<i class="gi gi-share"></i>'),e(".kan-native-share").removeAttr("onclick"),e(".kan-native-share").attr("href","mailto:e-posta@domain.com?subject="+t+">&body="+i)}if(jQuery(document).on("click",".geo_mobile_share_btn",(function(){e(".geo_mobile_share ul").toggleClass("expand")})),e(".geoit-video-box-iframe").length){var o=e(".geoit-video-box-iframe").offset().top+e(".geoit-video-box-iframe").height();e(window).scroll((function(){e(window).scrollTop()>o+500||(e(window).scrollTop()<o+200?e(".geoit-video-box-iframe").removeClass("out").addClass("in"):e(".geoit-video-box-iframe").removeClass("in").addClass("out"))}))}var n;1==geo_vars.is_single&&"video"==geo_vars.post_format&&(e.fn.extend({toggleText:function(e,t){return this.text(this.text()==t?e:t)}}),e(".geoit-video-box-iframe-close").click((function(){document.getElementById("geoit-video-box").remove()})),e(n=".video_expand_btn").click((function(){e("#geoit-video-box").toggleClass("expand_active"),e(n).toggleText("Genişlet","Daralt")})));var a;a=0,e(window).scroll((function(t){var i=e(this).scrollTop();a<i?e(".more-in-category").addClass("active"):e(".more-in-category").removeClass("active"),a=i})),e(".more-in-category .right").click((function(){e(this).parent().animate({opacity:0},(function(){e(this).wrapInner("<div />").fadeIn(250,(function(){e(this).closest(".more-in-category").remove()}))}))})),e(".geo-truncate-mobile .kan-single-read-more").click((function(){e(".geoit_entry-content").toggleClass("is-active")}));!function(){var t=16;e("#increase-text").click((function(){if(24<=t)return!1;t+=1,e(".geoit_entry-content p, .geoit_entry-content ul li, .geoit_entry-content ol li").attr("style","font-size:"+(t+1)+"px !important; line-height: calc(1.54 * "+t+"px) !important")})),e("#decrease-text").click((function(){if(t<=10)return!1;t-=1,e(".geoit_entry-content p, .geoit_entry-content ul li, .geoit_entry-content ol li").attr("style","font-size:"+(t+1)+"px !important; line-height: calc(1.54 * "+t+"px) !important")}))}(),e(".uckan-card button").click((function(){e(this).parent().animate({opacity:0},250,(function(){e(this).animate({marginBottom:0},250).children().animate({padding:0},250).wrapInner("<div />").children().slideUp(250,(function(){e(this).closest(".uckan-card").remove()}))}))})),e(".geoit-comments-show").click((function(){e(this).remove(),e("#comments").removeClass("comments-hidden")}))}(jQuery),function(e){e(document).ready((function(){e("#geo_viral_reactions li").click((function(){var t=!!e(this).hasClass("clicked"),i=e(this).parent().data("postId")||e(this).parent().data("post-id"),o=geo_vars.ajax,n=e(this).data().reaction;e.post(o,{postid:i,action:"geo_react",reaction:n,unreact:t},(function(e){})),e(this).toggleClass("clicked"),e("#geo_viral_reactions li").toggleClass("none"),e(this).hasClass("clicked none")&&e(this).removeClass("none");var a=parseInt(e(this).find("span").text());a>0?e(this).hasClass("clicked")?a+=1:a-=1:a=1,e(this).find("span").text(a)}))}))}(jQuery),document.addEventListener("touchstart",(function(){}),{passive:!0}),"createTouch"in document)try{for(var ignore=/:hover/,i=0;i<document.styleSheets.length;i++)for(var sheet=document.styleSheets[i],j=sheet.cssRules.length-1;j>=0;j--){var rule=sheet.cssRules[j];rule.type===CSSRule.STYLE_RULE&&ignore.test(rule.selectorText)&&sheet.deleteRule(j)}}catch(e){};
!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&b<i+f?e=a:"right"===c&&b>i-g-f&&b<i-g+f?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).attr("aria-label", "Previous").html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).attr("aria-label", "Next").html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);
(function($){
"use strict";
var geoit_sliders=function(){
var geoit_nav=["<i aria-hidden='true' class='gi gi-angle-left'></i>", "<i aria-hidden='true' class='gi gi-angle-right'></i>"];
$(".content .loop4, .kan_vc_content .loop4").owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:2,autoHeight:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:15,responsive:{1000:{items:2},768:{items:2},480:{items:1,margin:0},0:{items:1,margin:0}}})
$(".sidebar .loop4, #footer .loop4, .kan_vc_sidebar .loop4, .sidebar .loop3, .sidebar .loop5, .kan_vc_sidebar .loop2, .kan_vc_sidebar .loop3").owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:1,autoHeight:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:0,responsive:{1000:{items:1},768:{items:2},480:{items:1},0:{items:1,margin:0}}})
$(".widget-homepage .loop4, .widget-homepage .loop3, .kan_vc_content .loop3").owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:3,autoHeight:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:2,responsive:{1000:{items:3},768:{items:2},480:{items:1,margin:0},0:{items:1,margin:0}}})
$(".content .loop6, .kan_vc_content .loop6").owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:2,autoHeight:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:15,responsive:{1000:{items:3},768:{items:3},480:{items:2},0:{items:1,margin:0}}})
$(".sidebar .loop4, #footer .loop6, .kan_vc_sidebar .loop6, .sidebar .loop2, .kan_vc_sidebar .loop2, .footer .loop2").owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:1,autoHeight:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:0,responsive:{1000:{items:1},768:{items:3},480:{items:1},0:{items:1,margin:0}}})
$(".widget-homepage .loop6, .vc_row[data-vc-full-width='true'][data-vc-stretch-content='true'] .loop2").owlCarousel({ center: 0, lazyLoad: geo_vars.geoit_lazy, items: 5, autoHeight: 1, loop: 0, autoplay: geo_vars.slider_autoplay, nav: geo_vars.slider_pagination, navText: geoit_nav, dots: !1, margin: 1, responsive: { 1000: { items: 4 }, 768: { items: 3 }, 480: { items: 2 }, 0: { items: 1, margin: 0 }} })
$(".content .loop5, .kan_vc_content .loop5").owlCarousel({center:1,stagePadding: 50,lazyLoad:geo_vars.geoit_lazy,lazyLoadEager: 1,items:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:4,responsive:{1400:{stagePadding: 115},768:{stagePadding: 0, margin:0},480:{stagePadding: 0, margin:0},0:{stagePadding: 0,margin:0}}})
$(".carousel-slider").not('.owl-loaded').owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:1,autoplay:geo_vars.slider_autoplay,loop:0,nav:!0,navText:geoit_nav,dots:!0,margin:0});
$(".loop").not('.owl-loaded').owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:1,autoplay:geo_vars.slider_autoplay,loop:0,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!0,margin:0});
$(".loop1").not('.owl-loaded').owlCarousel({center:0,items:3,lazyLoad:geo_vars.geoit_lazy,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:4,responsive:{1300:{items:4},1000:{items:3},768:{items:2},480:{items:1},0:{items:1,margin:0}}})
$(".loop2").not('.owl-loaded').owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:3,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:4,responsive:{1000:{items:3},768:{items:2},480:{items:1},0:{items:1,margin:0}}})
$(".loop3").not('.owl-loaded').owlCarousel({center:0,lazyLoad:geo_vars.geoit_lazy,items:4,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:0,responsive:{1000:{items:4},768:{items:2},480:{items:1},0:{items:1,margin:0}}})
$(".loop5").not('.owl-loaded').owlCarousel({center:1,stagePadding: 280,lazyLoad:geo_vars.geoit_lazy,lazyLoadEager: 1,items:1,loop:0,autoplay:geo_vars.slider_autoplay,nav:geo_vars.slider_pagination,navText:geoit_nav,dots:!1,margin:4,responsive:{2000:{stagePadding: 780}, 1600:{stagePadding: 308},1400:{stagePadding: 115},768:{stagePadding: 0, margin:0},480:{stagePadding: 0, margin:0},0:{stagePadding: 0,margin:0}}})
}
geoit_sliders();
$('.owl-carousel').each(function(){
$(this).find('.owl-dot').each(function(index){
$(this).attr('aria-label', index + 1);
});
});
$(window).on("elementor/frontend/init", function(){
elementorFrontend.hooks.addAction("frontend/element_ready/geoit-slider.default",
geoit_sliders
);
elementorFrontend.hooks.addAction("frontend/element_ready/geoit-hero.default",
geoit_sliders
);
});
})(jQuery);