1/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 2"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window}
2,"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
2,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); 3function lfc_submit_func(){var nameInput=document.getElementById('lfc-contact-name');var emailInput=document.getElementById('lfc-contact-email');var messageInput=document.getElementById('lfc-contact-message');var nameError=document.getElementById('lfc-contact-name-error');var emailError=document.getElementById('lfc-contact-email-error');var messageError=document.getElementById('lfc-contact-message-error');var hasError=false;nameError.textContent='';emailError.textContent='';messageError.textContent='';if(nameInput.value.trim()===''){nameError.textContent='Name is required';hasError=true;} 4var emailPattern=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(!emailPattern.test(emailInput.value.trim())){emailError.textContent='Email is not val
4id';hasError=true;} 5if(messageInput.value.trim().length>500||messageInput.value.trim().length<3){messageError.textContent='The message should be in 3â500 characters.';hasError=true;} 6if(hasError){return;} 7var formContact=document.querySelector('.leafio_form_contact');formContact.innerHTML='<p>Thanks for contacting us! We will be in touch with you shortly.</p>';formContact.classList.add('submit-done');} 8function leafio_my_subscribe(){var emailInput=document.getElementById('lfs_email_input');var errorText=document.querySelector('.lfs_error_text');errorText.textContent='';var emailPattern=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(emailInput.value.trim()===''||!emailPattern.test(emailInput.value.trim())){errorText.textContent='Email is not valid';return;} 9var rawForm=document.querySelector('.leafio_form_subs');rawForm.innerHTML='<p>Thanks for signing up for the newsletter! We\'ll be in touch soon.</p>';rawForm.classList.add('submit-done');} 10function sanitizeTitle(title){var sanitizedTitle=title.toLowerCase().replace(/[^a-z0-9]+/g,'-').replace(/(^-|-$)/g,'');return sanitizedTitle;} 11document.addEventListener('DOMContentLoaded',function(){var postContainer=document.getElementById('the-post');if(!postContainer)return;var tocLinks=document.querySelectorAll('.leafio-toc-wrapper ul li a');for(var i=0;i<tocLinks.length;i++){var link=tocLinks[i];link.addEventListener('click',function(e){e.preventDefault();var targetId=this.getAttribute('href').substring(1);var targetElement=document.getElementById(targetId);if(targetElement){var offset=targetElement.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:offset,behavior:'smooth'});}});} 12var headings=postContainer.querySelectorAll('h2');for(var j=0;j<headings.length;j++){var heading=headings[j];var headingText=heading.textContent;var sanitizedHeadingText=sanitizeTitle(headingText);heading.id=sanitizedHeadingText;}}); 13!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}((function(e){var t,i=window.innerWidth,a=[];e(window).resize((function(){clearTimeout(t),t=setTimeout((function(){var t=window.innerWidth;t!==i&&(i=t,e(a).each((function(){e(this).flexMenu({undo:!0}).flexMenu(this.options)})))}),200)})),e.fn.flexMenu=function(t){var i,n=e.extend({threshold:2,cutoff:2,linkText:"More",linkTitle:"View More",linkTextAll:"Menu",linkTitleAll:"Open/Close Menu",shouldApply:function(){return!0},showOnHover:!0,popupAbsolute:!0,popupClass:"",undo:!1},t);return this.options=n,0<=(i=e.inArray(this,a))?a.splice(i,1):a.push(this),this.each((function(){var t=e(this),i=t.find("> li"),a=i.length;if(a){var s,o,r,l,d,c,u=f(i)+20,p=!1;function f(e){return e[0].offsetTop}function h(e){return f(e)>=u}if(h(i.last())&&a>n.threshold&&!n.undo&&n.shouldApply()){var m=e('<ul class="flexMenu-popup" style="display:none;'+(n.popupAbsolute?" position: absolute;":"")+'"></ul>');for(n.popupClass&&m.addClass(n.popupClass),c=a;1<c;c--){if(o=h(s=t.find("li:last-child")),c-1<=n.cutoff){e(t.children().get().reverse()).appendTo(m),p=!0;break}if(!o)break;s.appendTo(m)}p?t.append('<li class="flexMenu-viewMore flexMenu-allInPopup"><a href="#" title="'+n.linkTitleAll+'">'+n.linkTextAll+"</a></li>"):t.append('<li class="flexMenu-viewMore"><a href="#" title="'+n.linkTitle+'">'+n.linkText+"</a></li>"),h(r=t.find("> li.flexMenu-viewMore"))&&t.find("> li:nth-last-child(2)").appendTo(m),m.children().each((function(e,t){m.prepend(t)})),r.append(m),t.find("> li.flexMenu-viewMore > a").click((function(t){var i;i=r,e("li.flexMenu-viewMore.active").not(i).find("> ul").hide(),m.toggle(),t.preventDefault()})),n.showOnHover&&"undefined"!=typeof Modernizr&&!Modernizr.touch&&r.hover((function(){m.show()}),(function(){m.hide()}))}else if(n.undo&&t.find("ul.flexMenu-popup")){for(l=(d=t.find("ul.flexMenu-popup")).find("li").length,c=1;c<=l;c++)d.find("> li:first-child").appendTo(t);d.remove(),t.find("> li.flexMenu-viewMore").remove()}}}))}})),function(e,t){"function"==typeof define&&define.amd?define((function(){return t(e)})):"object"==typeof exports?module.exports=t:e.emergence=t(e)}(this,(function(e){"use strict";var t,i,a,n,s,o,r,l={},d=function(){},c=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|playbook|silk/i.test(navigator.userAgent)},u=function(e){var t=e.offsetWidth,i=e.offsetHeight,a=0,n=0;do{isNaN(e.offsetTop)||(a+=e.offsetTop),isNaN(e.offsetLeft)||(n+=e.offsetLeft)}while(null!==(e=e.offsetParent));return{width:t,height:i,top:a,left:n}},p=function(e){if(function(e){return null===e.offsetParent}(e))return!1;var t,a,n,l=u(e),d=function(e){var t,i;return e!==window?(t=e.clientWidth,i=e.clientHeight):(t=window.innerWidth||document.documentElement.clientWidth,i=window.innerHeight||document.documentElement.clientHeight),{width:t,height:i}}(i),c=function(e){return e!==window?{x:e.scrollLeft+u(e).left,y:e.scrollTop+u(e).top}:{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}}(i),p=(l.width,l.height),f=l.top;return l.left,t=f+p*s,a=f+p-p*s,n=c.y+o,t<c.y-r+d.height&&a>n},f=function(){t||(clearTimeout(t),t=setTimeout((function(){l.engage(),t=null}),a))};return l.init=function(e){var t,l=function(e,t){return parseInt(e||t,10)};i=(e=e||{}).container||window,n=void 0===e.handheld||e.handheld,a=l(e.throttle,250),t=e.elemCushion,s=parseFloat(t||.1),o=l(e.offsetTop,0),l(e.offsetRight,0),r=l(e.offsetBottom,0),l(e.offsetLeft,0),d=e.callback||d,"querySelectorAll"in document?(c()&&n||!c())&&(window.addEventListener?(window.addEventListener("load",f,!1),i.addEventListener("scroll",f,!1),i.addEventListener("resize",f,!1)):(document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&f()})),i.attachEvent("onscroll",f),i.attachEvent("onresize",f))):console.log("Emergence.js is not supported in this browser.")},l.engage=function(){if(tie.lazyload){if("loading"in HTMLImageElement.prototype);else for(var e=(c=document.querySelectorAll("[data-src]")).length,t=0;t<e;t++)u=c[t],p(u)&&(u.setAttribute("src",u.getAttribute("data-src")),u.removeAttribute("data-src"),d(u,"tie_img_visible"),jQuery.fn.masonry&&jQuery("#masonry-grid").masonry("layout"));var i=(c=document.querySelectorAll("[data-lazy-bg]")).length;for(t=0;t<i;t++)if(u=c[t],p(u)){var a="";null!==u.getAttribute("style")&&(a=u.getAttribute("style")),u.setAttribute("style",a+"background-image:url("+u.getAttribute("data-lazy-bg")+")"),u.removeAttribute("data-lazy-bg"),d(u,"tie_bg_visible")}}if(tie.is_taqyeem_active){var n=(c=document.querySelectorAll("[data-lazy-pie]")).length;for(t=0;t<n;t++)if(u=c[t],p(u)){var s=parseInt(u.getAttribute("data-pct")),o=u.getElementsByClassName("circle_bar")[0],r=(100-s)/100*Math.PI*38;o.setAttribute("style","stroke-dashoffset:"+r+"px"),u.removeAttribute("data-lazy-pie"),d(u,"tie_pie_visible")}var c,u,f=(c=document.querySelectorAll("[data-lazy-percent]")).length;for(t=0;t<f;t++)u=c[t],p(u)&&(u.setAttribute("style","width:"+u.getAttribute("data-rate-val")),u.removeAttribute("data-lazy-percent"),d(u,"tie_rate_visible"))}e||n||f||i||l.disengage()},l.disengage=function(){window.removeEventListener?(i.removeEventListener("scroll",f,!1),i.removeEventListener("resize",f,!1)):(i.detachEvent("onscroll",f),i.detachEvent("onresize",f)),clearTimeout(t)},l}));var $doc=jQuery(document),$window=jQuery(window),$html=jQuery("html"),$body=jQuery("body"),$themeHeader=jQuery("#theme-header"),$mainNav=jQuery("#main-nav"),$container=jQuery("#tie-container"),is_RTL=!!tie.is_rtl,intialWidth=window.innerWidth,isDuringAjax=!1,scrollBarWidth=!1,mobileMenu=!1;function tieFlexMenu(){var e=jQuery(".is-flex-tabs, .is-flex-tabs-shortcodes .tabs");e.length&&(e.flexMenu({threshold:0,cutoff:0,linkText:'<span class="tie-icon-dots-three-horizontal"><span class="screen-reader-text">More</span></span>',linkTextAll:'<span class="tie-icon-dots-three-horizontal"><span class="screen-reader-text">More</span></span>',linkTitle:"",linkTitleAll:"",showOnHover:intialWidth>991}),e.css({opacity:1}))}function tieLazyLoad(){emergence.init()}function tieTabs(){document.querySelectorAll(".tabs-wrapper").forEach((function(e){var t=e.querySelector(".tabs");
13if(void 0!==t&&null!=t){e.classList.contains("tabs-vertical");var i=!1;t.querySelectorAll("li").forEach((function(a){i||(a.classList.add("active"),i=!0),a.addEventListener("click",(function(i){if(!a.classList.contains("active")){t.querySelector(".active").classList.remove("active"),a.classList.add("active"),e.querySelectorAll(".tab-content").forEach((function(e){e.style.display="none",e.classList.add("is-not-active")}));var n=a.querySelector("a").getAttribute("href"),s=e.querySelector(n);s.style.display="block";var o=s.querySelector(".tab-content-wrap");o&&o.classList.add("tie-animate-slideInUp"),s.querySelectorAll(".tab-content-elements li").forEach((function(e){e&&e.classList.add("tie-animate-slideInUp")})),tie_animate_element(s)}i.preventDefault()}))}))}}))}function tie_animate_element(e){e&&(tie_animate_reviews(e=jQuery(e)),tie.lazyload&&(e.find("[data-src]").each((function(){var e=jQuery(this);e.attr("src",e.data("src")),e.removeAttr("data-src")})),e.find("[data-lazy-bg]").each((function(){var e=jQuery(this);e.attr("style","background-image:url("+e.data("lazy-bg")+")"),e.removeAttr("data-lazy-bg")}))),adBlockBlock(e))}function tie_animate_reviews(e){tie.is_taqyeem_active&&(e.find("[data-lazy-pie]").each((function(){var e=jQuery(this),t=parseInt(e.data("pct")),i=e.find(".circle_bar"),a=(100-t)/100*Math.PI*38;i.attr("style","stroke-dashoffset:"+a+"px"),e.removeAttr("data-lazy-pie")})),e.find("[data-lazy-percent]").each((function(){var e=jQuery(this);e.attr("style","width:"+e.data("rate-val")),e.removeAttr("data-lazy-percent")})))}function adBlockBlock(e){tie.ad_blocker_disallow_images_placeholder&&jQuery(".Ad-Container").length>0&&0===jQuery(".Ad-Container").outerWidth()&&(tie.ad_blocker_disallow_images_post?e=jQuery("#the-post .entry-content"):e||(e=$body),e.find("img:not(.tie-logo-img)").attr({src:tie.ad_blocker_disallow_images_placeholder,srcset:tie.ad_blocker_disallow_images_placeholder}),e.find(".grid-item, .big-thumb-left-box-inner, .main-slider:not(.tie-grid-slider) .slide, .post-thumb[style]").attr("style",'background-image: url("'+tie.ad_blocker_disallow_images_placeholder+'"); background-position: center;'))}tieLazyLoad(),tieTabs(),$doc.ready((function(){"use strict";if(performance.mark("TieStart"),tieFlexMenu(),tie.ad_blocker_detector&&jQuery(".Ad-Container").length>0&&0===jQuery(".Ad-Container").outerWidth()&&!$body.hasClass("is-ajax-loaded-post")&&jQuery("#tie-popup-adblock").length>0&&(tie.ad_blocker_detector_delay?setTimeout((function(){s("#tie-popup-adblock")}),tie.ad_blocker_detector_delay):s("#tie-popup-adblock")),adBlockBlock(),$doc.on("click",".profile-btn",(function(){return!1})),$doc.on("click",".change-skin",(function(){jQuery("#autocomplete-suggestions").hide();var e=$html.data("skin"),t="light",i=!1,a=!1,n="",s="";$html.hasClass("dark-skin")&&(t="dark");var o="dark"==t?"light":"dark";return $themeHeader.hasClass("main-nav-default-dark")&&(i=!0),$themeHeader.hasClass("top-nav-default-dark")&&(a=!0),"undefined"!=typeof localStorage&&localStorage.setItem("tie-skin",o),e==o?($html.removeClass("tie-skin-inverted"),s+=" tie-skin-inverted"):($html.addClass("tie-skin-inverted"),n+=" tie-skin-inverted"),"dark"==o?($html.addClass("dark-skin"),n+=" dark-skin",$themeHeader.addClass("main-nav-dark top-nav-dark"),$themeHeader.removeClass("main-nav-light top-nav-light")):($html.removeClass("dark-skin"),s+=" dark-skin",i||($themeHeader.removeClass("main-nav-dark"),$themeHeader.addClass("main-nav-light")),a||($themeHeader.removeClass("top-nav-dark"),$themeHeader.addClass("top-nav-light"))),tie.autoload_posts&&jQuery(".tie-infinte-post-iframe").each((function(){jQuery(this)[0].contentWindow.postMessage({removeClass:s,addClass:n})})),!1})),jQuery.fn.masonry){var e=jQuery("#masonry-grid");if(e.length){var t=jQuery("#media-page-layout");e.masonry({columnWidth:".grid-sizer",gutter:".gutter-sizer",itemSelector:".post-element",percentPosition:!0,isInitLayout:!1,initLayout:!1,originLeft:!is_RTL,isOriginLeft:!is_RTL}).addClass("masonry-loaded"),e.masonry("on","layoutComplete",(function(){isDuringAjax=!1})),e.masonry(),jQuery.fn.imagesLoaded&&e.imagesLoaded().progress((function(){e.masonry("layout")})),t.find(".loader-overlay").fadeOut().remove();var i=0;t.find(".post-element").each((function(){i++;var e=jQuery(this);e.addClass("tie-animate-slideInUp"),e.attr("style",e.attr("style")+"; animation-delay:"+i/10+"s")})),jQuery(window).resize((function(){t.find(".post-element").removeClass("tie-animate-slideInUp")}))}}function a(e){if(!(window.innerWidth>991)){var t=!0,i=0,a=0,n=0,s=0,o=!1,r="upwards"==tie.sticky_mobile_behavior,l=0,d=0,c=$themeHeader.hasClass("header-layout-1")?$mainNav:jQuery(".logo-container");if(c.length){var u=0,p=0;if($body.hasClass("admin-bar")){var f=jQuery("#wpadminbar");f.length>0&&(p=u=f.outerHeight(),"resize"!==e.type&&(o=p),"absolute"===f.css("position")&&(p=0,"resize"!==e.type&&(o=0)))}var h=c.parent(),m=c.not(".fixed-nav").offset();m&&(d=h.outerHeight()+m.top,m&&!c.hasClass(".fixed-nav")?(l=m.top,s=m.top):l=s,32===o?46===u?l=l-p+14:l-=p:4
136!==o&&0!==o||(32===u?l=l-p-14:l-=p));var y=jQuery(c).outerHeight();h.data("min-height",d-y),h.height(y),"resize"!==e.type&&(r&&h.addClass("sticky-type-slide"),jQuery(window).scroll((function(e){if(e.originalEvent){var s=jQuery(window).scrollTop();r?(s>d&&c.addClass("fixed-nav"),s<=l&&c.removeClass("fixed-nav"),s>a?(i=0,n="down",c.addClass("sticky-down").removeClass("sticky-up")):(i+=a-s,n="up",c.addClass("sticky-up").removeClass("sticky-down")),i>150&&"up"===n?(c.addClass("sticky-nav-slide-visible"),$doc.trigger("sticky-nav-visible")):(c.removeClass("sticky-nav-slide-visible"),$doc.trigger("sticky-nav-hide")),s>d+150?c.addClass("sticky-nav-slide"):c.removeClass("sticky-nav-slide"),t&&s>d+150&&(c.addClass("sticky-nav-slide sticky-nav-slide-visible sticky-up"),$doc.trigger("sticky-nav-visible"),i=151,n="up",t=!1)):s>l?(c.addClass("fixed-nav default-behavior-mode"),$doc.trigger("sticky-nav-visible")):(c.removeClass("fixed-nav"),$doc.trigger("sticky-nav-hide")),a=s}})))}}}tie.sticky_mobile&&($window.on("load",(function(e){a(e)})),$window.resize(a));var n=jQuery(".tie-popup");function s(e){jQuery(e).show(),"#tie-popup-search-desktop"!=e&&"#tie-popup-search-mobile"!=e||n.find('form input[type="text"]').focus(),tie_animate_element(jQuery(e)),scrollBarWidth||(scrollBarWidth=100-document.getElementById("is-scroller").offsetWidth),setTimeout((function(){$body.addClass("tie-popup-is-opend")}),10),jQuery("html").css({marginRight:scrollBarWidth,overflow:"hidden"})}function o(e){void 0!==e&&e.data("show-once")&&(document.cookie="AdBlockerDismissed=true; expires=Thu, 18 Dec 2100 12:00:00 UTC"),jQuery.when(n.fadeOut(500)).done((function(){jQuery("html").removeAttr("style")})),jQuery.when(jQuery("#autocomplete-suggestions").fadeOut(50)).done((function(){jQuery(this).html("")})),$body.removeClass("tie-popup-is-opend"),jQuery(".tie-popup-search-input").val("")}$doc.on("click",".tie-popup-trigger",(function(e){e.preventDefault(),s("#tie-popup-login")})),tie.type_to_search&&window.self===window.top&&jQuery("#tie-popup-search-desktop").length&&!jQuery(".ql-editor").length&&$doc.bind("keydown",(function(e){!jQuery(".ql-editor").is(":focus")&&!jQuery("input, textarea").is(":focus")&&!jQuery("#tie-popup-login").is(":visible")&&!e.ctrlKey&&!e.metaKey&&e.keyCode>=65&&e.keyCode<=90&&($container.removeClass("side-aside-open"),s("#tie-popup-search-desktop"))})),jQuery(".tie-search-trigger").on("click",(function(){return s("#tie-popup-search-desktop"),!1})),jQuery(".tie-search-trigger-mobile").on("click",(function(){return s("#tie-popup-search-mobile"),!1})),n.length&&$doc.keyup((function(e){"27"==e.which&&$body.hasClass("tie-popup-is-opend")&&!jQuery("#tie-popup-adblock").is(":visible")&&o()})),n.on("click",(function(e){if(jQuery(e.target).is(".tie-popup:not(.is-fixed-popup)"))return o(),!1})),jQuery(".tie-btn-close").on("click",(function(){return o(jQuery(this)),!1}));var r,l,d=function(){$container.removeClass("side-aside-open"),$container.off("touchstart click",c)},c=function(e){if(!$container.hasClass("side-aside-open"))return!1;jQuery(e.target).parents(".side-aside").length||d()};jQuery(".side-aside-nav-icon, #mobile-menu-icon").on("touchstart click",(function(e){return tie.is_side_aside_light&&(jQuery(this).hasClass("side-aside-nav-icon")?jQuery(".side-aside").removeClass("dark-skin dark-widgetized-area"):jQuery(".side-aside").addClass("dark-skin dark-widgetized-area")),function(){if(!tie.mobile_menu_active||mobileMenu)return!1;var e=jQuery("#mobile-menu"),t="";if(e.hasClass("has-custom-menu")){var i=jQuery("#mobile-custom-menu");i.find("div.mega-menu-content").remove(),i.find("li.menu-item-has-children:not(.hide-mega-headings)").append('<span class="mobile-arrows tie-icon-chevron-down"></span>')}else{var a=$mainNav.find("div.main-menu > ul");if(a.length){(t=a.clone()).find(".mega-menu-content").remove(),t.removeAttr("id").find("li").removeAttr("id"),t.find("li.menu-item-has-children:not(.hide-mega-headings)").append('<span class="mobile-arrows tie-icon-chevron-down"></span>'),e.append(t);var n=t.find("> li");1==n.length&&(n.find("> .mobile-arrows").toggleClass("is-open"),n.find("> ul").show())}if(tie.mobile_menu_top){var s=jQuery("#top-nav div.top-menu > ul");if(s.length){var o=s.clone();o.removeAttr("id").find("li").removeAttr("id"),o.find("li.menu-item-has-children").append('<span class="mobile-arrows tie-icon-chevron-down"></span>
13'),e.append(o)}}}tie.mobile_menu_parent?jQuery("li.menu-item-has-children .mobile-arrows","#mobile-menu").click((function(){return jQuery(this).toggleClass("is-open").closest(".menu-item").find("ul").first().slideToggle(300),!1})):jQuery("li.menu-item-has-children > a, li.menu-item-has-children > .mobile-arrows","#mobile-menu").click((function(){return jQuery(this).parent().find("ul").first().slideToggle(300),jQuery(this).parent().find("> .mobile-arrows").toggleClass("is-open"),!1}));mobileMenu=!0}(),$container.addClass("side-aside-open"),$container.on("touchstart click",c),jQuery("#autocomplete-suggestions").hide(),tie_animate_element(jQuery(".side-aside")),!1})),$doc.on("keydown",(function(e){27==e.which&&d()})),jQuery(".close-side-aside").on("click",(function(e){return d(),!1})),jQuery('a[href^="#go-to-"]').on("click",(function(){var e="#"+jQuery(this).attr("href").slice(7),t=tie.sticky_desktop?100:40,i=jQuery(e).offset().top-t;return jQuery("html, body").animate({scrollTop:i},"slow"),!1})),r=jQuery("#go-to-top"),l=!1,$window.scroll((function(){r.length&&(l&&window.clearTimeout(l),l=window.setTimeout((function(){$window.scrollTop()>100?r.addClass("show-top-button"):r.removeClass("show-top-button")}),100))})),$doc.on("click",".tie-weather-user-location",(function(){var e=jQuery(this);if(!e.hasClass("is-loading")){var t=e.closest(".tie-weather-widget"),i=e.attr("data-options");return jQuery.ajax({url:tie.ajaxurl,type:"post",data:{action:"tie_get_user_weather",options:i},beforeSend:function(){e.addClass("is-loading").find("span").attr("class","tie-icon-spinner")},success:function(i){"theme-notice"==jQuery(i).attr("class")?(t.append('<div class="user-weather-error">'+i+"</div>"),t.find(".user-weather-error").delay(3e3).fadeOut()):(t.find(".weather-wrap").remove(),t.append(i)),e.removeClass("is-loading").find("span").attr("class","tie-icon-gps")}}),!1}})),$doc.on("click",".block-pagination",(function(){var e=jQuery(this),t=e.closest(".mag-box"),i=t.get(0).id,a=t.closest(".section-item"),n=t.attr("data-term"),s=t.attr("data-current"),o=t.find(".posts-list-container"),r=t.find(".mag-box-container"),l=jQuery.extend({},window["js_"+i.replace("tie-","tie_")]),d="posts-items",c=!1,u="single";if(s&&l){if(n&&(l.tags?l.tags=n:l.id=n),l.ajax_class&&(d=l.ajax_class),e.hasClass("pagination-disabled"))return!1;e.hasClass("load-more-button")?(s++,c=!0):e.hasClass("next-posts")?(s++,t.find(".prev-posts").removeClass("pagination-disabled")):e.hasClass("prev-posts")&&(s--,t.find(".next-posts").removeClass("pagination-disabled")),a.hasClass("full-width")&&(u="full"),jQuery.ajax({url:tie.ajaxurl,type:"post",data:{action:"tie_blocks_load_more",block:l,page:s,width:u},beforeSend:function(){if(c)e.html(tie.ajax_loader);else{var t=r.height();r.append(tie.ajax_loader).attr("style","min-height:"+t+"px"),o.addClass("is-loading")}},success:function(i){if((i=jQuery.parseJSON(i)).hide_next?(t.find(".next-posts").addClass("pagination-disabled"),(e.hasClass("show-more-button")||c)&&e.html(i.button)):c&&e.html(e.attr("data-text")),i.hide_prev&&t.find(".prev-posts").addClass("pagination-disabled"),i=i.code,c){var a='<ul class="'+d+" posts-list-container clearfix posts-items-loaded-ajax posts-items-"+s+'">'+i+"</ul>";a=jQuery(a),r.append(a)}else{a='<ul class="'+d+" posts-list-container posts-items-"+s+'">'+i+"</ul>";a=jQuery(a),r.html(a)}var n=t.find(".posts-items-"+s),o=0;n.find("li").each((function(){o++,jQuery(this).addClass("tie-animate-slideInUp").attr("style","animation-delay:"+o/10+"s")})),tie_animate_element(n),r.attr("style","")}}),t.attr("data-current",s)}return!1})),$doc.on("click",".widget-pagination",(function(){var e=jQuery(this),t=e.closest(".widget-posts-list-wrapper"),i=t.find(".widget-posts-list-container"),a=i.attr("data-current"),n=i.attr("data-query"),s=i.attr("data-style"),o=!1;return e.hasClass("pagination-disabled")||(e.hasClass("load-more-button")?(a++,o=!0):e.hasClass("next-posts")?(a++,t.find(".prev-posts").removeClass("pagination-disabled")):e.hasClass("prev-posts")&&(a--,t.find(".next-posts").removeClass("pagination-disabled")),jQuery.ajax({url:tie.ajaxurl,type:"post",data:{action:"tie_widgets_load_more",query:n,style:s,page:a},beforeSend:function(){if(o)e.html(tie.ajax_loader);else{var t=i.height();i.append(tie.ajax_loader).attr("style","min-height:"+t+"px"),i.addClass("is-loading")}},success:function(n){(n=jQuery.parseJSON(n)).hide_next?(t.find(".next-posts").addClass("pagination-disabled"),(e.hasClass("show-more-button")||o)&&e.html(n.button)):o&&e.html(e.attr("data-text")),n.hide_prev&&t.find(".prev-posts").addClass("pagination-disabled"),i.find(".loader-overlay").remove(),i.removeClass("is-loading"),n=n.code.replace(/class="widget-single-post-item/g,'class="widget-single-post-item tie-animate-slideInUp posts-items-'+a+" "),o?i.find(".widget-posts-wrapper").append(n):i.find(".widget-posts-wrapper").html(n);var s=t.find(".posts-items-"+a);if(o){var r=0;s.each((function(){r++,jQuery(this).attr("style","animation-delay:"+r/10+"s")}))}
13tie_animate_element(s),i.attr("style","")}}),i.attr("data-current",a)),!1})),$doc.on("click",".block-ajax-term",(function(){var e=jQuery(this),t=e.closest(".mag-box"),i=e.attr("data-id"),a=t.get(0).id,n=t.find(".posts-list-container"),s=t.find(".mag-box-container"),o=jQuery.extend({},window["js_"+a.replace("tie-","tie_")]),r="posts-items";return o&&(t.attr("data-current",1),i?(o.tags?o.tags=i:o.id=i,t.attr("data-term",i)):t.removeAttr("data-term"),o.ajax_class&&(r=o.ajax_class),jQuery.ajax({url:tie.ajaxurl,type:"post",data:{action:"tie_blocks_load_more",block:o},beforeSend:function(){var e=s.height();s.append(tie.ajax_loader).attr("style","min-height:"+e+"px"),n.addClass("is-loading")},success:function(i){i=jQuery.parseJSON(i),t.find(".block-pagination").removeClass("pagination-disabled");var a=t.find(".show-more-button");a.html(a.attr("data-text")),t.find(".block-ajax-term").removeClass("active"),e.addClass("active"),i.hide_next&&(t.find(".next-posts").addClass("pagination-disabled"),t.find(".show-more-button").html(i.button)),i.hide_prev&&t.find(".prev-posts").addClass("pagination-disabled"),i=i.code;var n='<ul class="'+r+' ajax-content posts-list-container">'+i+"</ul>";n=jQuery(n),s.html(n);var o=0;s.find("li").each((function(){o++,jQuery(this).addClass("tie-animate-slideInUp").attr("style","animation-delay:"+o/10+"s")})),tie_animate_element(s),s.attr("style","")}})),!1})),performance.mark("TieEnd"),performance.measure("TieLabs Custom JS","TieStart","TieEnd")})),function(e){"use strict";e.fn.tieFitVids=function(t){var i={customSelector:null,ignore:null};t&&e.extend(i,t);var a=['iframe[src*="player.vimeo.com"]','iframe[src*="player.twitch.tv"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="maps.google.com"]','iframe[src*="google.com/maps"]','iframe[src*="dailymotion.com"]','iframe[src*="twitter.com/i/videos"]',"object","embed"];if(a=a.join(","),i.customSelector&&a.push(i.customSelector),document.querySelectorAll(a).length){var n=".tie-ignore-fitvid, .wmvp-video-player, #buddypress";return i.ignore&&(n=n+", "+i.ignore),this.each((function(){e(this).find(a).each((function(){var t=e(this);if(!(t.parents(n).length>0||("embed"===this.tagName.toLowerCase()||"object"===this.tagName.toLowerCase())&&t.parent("object").length||t.parent(".tie-fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var i=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));t.removeAttr("height").removeAttr("width"),t.wrap('<div class="tie-fluid-width-video-wrapper"></div>').parent(".tie-fluid-width-video-wrapper").css("padding-top",100*i+"%")}}))}))}}}(window.jQuery),$container.tieFitVids(); 14/*! jQuery iLightBox (2.4.0) - Revolutionary Lightbox Plugin http:// www.ilightbox.net/ updated By TieLabs on 09/05/2020 */ 15(function(g,p,Q){function F(a,b){return parseInt(a.css(b),10)||0}function J(){var a=p,b="inner";"innerWidth"in p||(b="client",a=document.documentElement||document.body);return{width:a[b+"Width"],height:a[b+"Height"]}}function ia(){var a=L();p.location.hash="";p.scrollTo(a.x,a.y)}function ja(a,b){a="//ilightbox.net/getSource/jsonp.php?url="+encodeURIComponent(a).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");g.ajax({url:a,dataType:"jsonp"});iLCallback=function(a){b.call(this,a)}}function R(a){var b=[];g("*",a).each(function(){var a="";"none"!=g(this).css("background-image")?a=g(this).css("background-image"):"undefined"!=typeof g(this).attr("src")&&"img"==this.nodeName.toLowerCase()&&(a=g(this).attr("src"));if(-1==a.indexOf("gradient")){a=a.replace(/url\(\"/g,"");a=a.replace(/url\(/g,"");a=a.replace(/\"\)/g,"");a=a.replace(/\)/g,"");a=a.split(",");for(var d=0;d<a.length;d++)if(0<a[d].length&&-1==g.inArray(a[d],b)){var e="";D.msie&&9>D.version&&(e="?"+M(3E3*S()));b.push(a[d]+e)}}});return b}
15function Z(a){if(a.indexOf(".jpg")>=0&&a.indexOf("?")>=0&&a.indexOf("instagram.com")>=0){return'jpg';}else if(/\.(jpg|jpeg|png|gif|webp|avif)$/.test(a.replace('?ssl=1',''))){return'jpg';}a=a.split(".").pop().toLowerCase();var b=-1!==a.indexOf("?")?a.split("?").pop():"";return a.replace(b,"")}function aa(a){a=Z(a);return-1!==T.image.indexOf(a)?"image":-1!==T.flash.indexOf(a)?"flash":-1!==T.video.indexOf(a)?"video":"iframe"}function ba(a,b){return parseInt(b/100*a)}function U(a){return(a=String(a).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/))?{href:a[0]||"",protocol:a[1]||"",authority:a[2]||"",host:a[3]||"",hostname:a[4]||"",port:a[5]||"",pathname:a[6]||"",search:a[7]||"",hash:a[8]||""}:null}function N(a,b){function c(a){var b=[];a.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(a){"/.."===a?b.pop():b.push(a)});return b.join("").replace(/^\//,"/"===a.charAt(0)?"/":"")}b=U(b||"");a=U(a||"");return b&&a?(b.protocol||a.protocol)+(b.protocol||b.authority?b.authority:a.authority)+ 16c(b.protocol||b.authority||"/"===b.pathname.charAt(0)?b.pathname:b.pathname?(a.authority&&!a.pathname?"/":"")+a.pathname.slice(0,a.pathname.lastIndexOf("/")+1)+b.pathname:a.pathname)+(b.protocol||b.authority||b.pathname?b.search:b.search||a.search)+b.hash:null}function ka(a,b,c){this.php_js=this.php_js||{};this.php_js.ENV=this.php_js.ENV||{};var d=0,e=0,f=0,h={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1};d=function(a){a=(""+a).replace(/[_\-+]/g,".");a=a.replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".");return a.length?a.split("."):[-8]};var g=function(a){return a?isNaN(a)?h[a]||-7:parseInt(a,10):0};a=d(a);b=d(b);e=ca(a.length,b.length);for(d=0;d<e;d++)if(a[d]!=b[d])if(a[d]=g(a[d]),b[d]=g(b[d]),a[d]<b[d]){f=-1;break}else if(a[d]>b[d]){f=1;break}if(!c)return f;switch(c){case">":case"gt":return 0<f;case">=":case"ge":return 0<=f;case"<=":case"le":return 0>=f;case"==":case"=":case"eq":return 0===f;case"<>":case"!=":case"ne":return 0!==f;case"":case"<":case"lt":return 0>f;default:return null}} 17function L(){var a=0,b=0;"number"==typeof p.pageYOffset?(b=p.pageYOffset,a=p.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(b=document.body.scrollTop,a=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(b=document.documentElement.scrollTop,a=document.documentElement.scrollLeft);return{x:a,y:b}}function da(a,b,c){var d=r[a+b];null==d&&(d=r[b]);return null!=d?(0==b.indexOf(a)&&null==c&&(c=b.substring(a.length)),null==c&&(c=b),c+'="'+d+'" '):""}function A(a,b){if(0==a.indexOf("emb#"))return"";0==a.indexOf("obj#")&&null==b&&(b=a.substring(4));return da("obj#",a,b)}function G(a,b){if(0==a.indexOf("obj#"))return"";0==a.indexOf("emb#")&&null==b&&(b=a.substring(4));return da("emb#",a,b)}function ea(a,b){var c,d="",e=b?" />":">";-1==a.indexOf("emb#")&&(c=r["obj#"+a],null==c&&(c=r[a]),0==a.indexOf("obj#")&&(a=a.substring(4)),null!=c&&(d=' <param name="'+a+'" value="'+c+'"'+e+"\n"));return d} 18function la(){for(var a=0;a<arguments.length;a++){var b=arguments[a];delete r[b];delete r["emb#"+b];delete r["obj#"+b]}}function ma(){var a="QT_GenerateOBJECTText";var b=arguments;if(4>b.length||0!=b.length%2)b=na,b=b.replace("%%",a),alert(b),a="";else{r=[];r.src=b[0];r.width=b[1];r.height=b[2];r.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B";r.pluginspage="http://www.apple.com/quicktime/download/";a=b[3];if(null==a||""==a)a="6,0,2,0";r.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version="+ 19a;for(var c,d=4;d<b.length;d+=2)c=b[d].toLowerCase(),a=b[d+1],"name"==c||"id"==c?r.name=a:r[c]=a;b="<object "+A("classid")+A("width")+A("height")+A("codebase")+A("name","id")+A("tabindex")+A("hspace")+A("vspace")+A("border")+A("align")+A("class")+A("title")+A("accesskey")+A("noexternaldata")+">\n"+ea("src",!1);d=" <embed "+G("src")+G("width")+G("height")+G("pluginspage")+G("name")+G("align")+G("tabindex");la("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey");for(c in r)a=r[c],null!=a&&(d+=G(c),b+=ea(c,!1));a=b+d+"> </embed>\n</object>"}return a}var T={flash:["swf"],image:"bmp gif jpeg jpg png tiff tif jfif jpe webp avif".split(" "),iframe:"asp aspx cgi cfm htm html jsp php pl php3 php4 php5 phtml rb rhtml shtml txt".split(" "),video:"avi mov mpg mpeg movie mp4 webm ogv ogg 3gp m4v".split(" ")},O=g(p),E=g(document),D,B,H,t="",V=navigator.userAgent||navigator.vendor||p.opera,z=!!("ontouchstart"in p)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(V),oa=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(V)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
19sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(V.substr(0,4)),K=z?"itap.iLightBox":"click.iLightBox",pa=z?"touchstart.iLightBox":"mousedown.iLightBox",qa=z?"touchend.iLightBox":"mouseup.iLightBox",W=z?"touchmove.iLightBox":"mousemove.iLightBox",I=Math.abs,P=Math.sqrt,X=Math.round,ca=Math.max,Y=Math.min,M=Math.floor,S=Math.random,fa=function(a,b,c,d){var e=this;e.options=b;e.selector=a.selector||a;e.context=a.context;e.instant=d;1>c.length?e.attachItems():e.items=c;e.vars={total:e.items.length,start:0,current:null,next:null,prev:null,BODY:g("body"),loadRequests:0,overlay:g('<div class="ilightbox-overlay"></div>'),loader:g('<div class="ilightbox-loader"><div></div></div>'),toolbar:g('<div class="ilightbox-toolbar"></div>'),innerToolbar:g('<div class="ilightbox-inner-toolbar"></div>'),title:g('<div class="ilightbox-title"></div>'),closeButton:g('<a class="ilightbox-close" title="'+e.options.text.close+'"></a>'),fullScreenButton:g('<a class="ilightbox-fullscreen" title="'+e.options.text.enterFullscreen+'"></a>'),innerPlayButton:g('<a class="ilightbox-play" title="'+ 20e.options.text.slideShow+'"></a>'),innerNextButton:g('<a class="ilightbox-next-button" title="'+e.options.text.next+'"></a>'),innerPrevButton:g('<a class="ilightbox-prev-button" title="'+e.options.text.previous+'"></a>'),holder:g('<div class="ilightbox-holder'+(z?" supportTouch":"")+'" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextPhoto:g('<div class="ilightbox-holder'+(z?" supportTouch":"")+' ilightbox-next" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),prevPhoto:g('<div class="ilightbox-holder'+(z?" supportTouch":"")+' ilightbox-prev" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextButton:g('<a class="ilightbox-button ilightbox-next-button" ondragstart="return false;" title="'+e.options.text.next+'"><span></span></a>'),prevButton:g('<a class="ilightbox-button ilightbox-prev-button" ondragstart="return false;" title="'+e.options.text.previous+'"><span></span></a>'),thumbnails:g('<div class="ilightbox-thumbnails" ondragstart="return false;"><div class="ilightbox-thumbnails-container"><a class="ilightbox-thumbnails-dragger"></a><div class="ilightbox-thumbnails-grid"></div></div></div>'),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0};e.vars.hideableElements=e.vars.nextButton.add(e.vars.prevButton);e.normalizeItems();e.availPlugins();e.options.startFrom=0<e.options.startFrom&&e.options.startFrom>=e.vars.total?e.vars.total-1:e.options.startFrom;e.options.startFrom=e.options.randomStart?M(S()*e.vars.total):e.options.startFrom;e.vars.start=e.options.startFrom;d?e.instantCall():e.patchItemsEvents();e.options.linkId&&(e.hashChangeHandler(),O.iLightBoxHashChange(function(){e.hashChangeHandler()}));z&&(a=/(click|mouseenter|mouseleave|mouseover|mouseout)/ig,e.options.caption.show=e.options.caption.show.replace(a,"itap"),e.options.caption.hide=e.options.caption.hide.replace(a,"itap"),e.options.social.show=e.options.social.show.replace(a,"itap"),e.options.social.hide=e.options.social.hide.replace(a,"itap"));e.options.controls.arrows&&g.extend(e.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})};fa.prototype={showLoader:function(){this.vars.loadRequests+=1;"horizontal"==this.options.path.toLowerCase()?this.vars.loader.addClass("ilightbox-show").stop().animate({top:"-30px"},this.options.show.speed,"easeOutCirc"):this.vars.loader.addClass("ilightbox-show").stop().animate({left:"-30px"},this.options.show.speed,"easeOutCirc")},hideLoader:function(){--this.vars.loadRequests;this.vars.loadRequests=0>this.vars.loadRequests?0:this.vars.loadRequests;"horizontal"==this.options.path.toLowerCase()?0>=this.vars.loadRequests&&this.vars.loader.removeClass("ilightbox-show").stop().animate({top:"-192px"},this.options.show.speed,"easeInCirc"):0>=this.vars.loadRequests&&this.vars.loader.removeClass("ilightbox-show").stop().animate({left:"-192px"},this.options.show.speed,"easeInCirc")},createUI:function(){var a=this;a.ui={currentElement:a.vars.holder,nextElement:a.vars.nextPhoto,prevElement:a.vars.prevPhoto,currentItem:a.vars.current,nextItem:a.vars.next,prevItem:a.vars.prev,hide:function(){a.closeAction()},refresh:function(){0<arguments.length?a.repositionPhoto(!0):a.repositionPhoto()},fullscreen:function(){a.fullScreenAction()}}},attachItems:function(){var a=this,b=[],c=[];g(a.selector,a.context).each(function(){var d=g(this),e=d.attr(a.options.attr)||null,f=d.data("options")&&eval("({"+d.data("options")+"})")||{},h=d.data("caption"),l=d.data("title"),k=d.data("type")||aa(e);
20c.push({URL:e,caption:h,title:l,type:k,options:f});a.instant||b.push(d)});a.items=c;a.itemsObject=b},normalizeItems:function(){var a=this,b=[];g.each(a.items,function(c,d){"string"==typeof d&&(d={url:d});var e=d.url||d.URL||null,f=d.options||{},h=d.caption||null,l=d.title||null,k=d.type?d.type.toLowerCase():aa(e),n="object"!=typeof e?Z(e):"";f.thumbnail=f.thumbnail||("image"==k?e:null);f.videoType=f.videoType||null;f.skin=f.skin||a.options.skin;f.width=f.width||null;f.height=f.height||null;f.mousewheel="undefined"!=typeof f.mousewheel?f.mousewheel:!0;f.swipe="undefined"!=typeof f.swipe?f.swipe:!0;f.social="undefined"!=typeof f.social?f.social:a.options.social.buttons&&g.extend({},{},a.options.social.buttons);"video"==k&&(f.html5video="undefined"!=typeof f.html5video?f.html5video:{},f.html5video.webm=f.html5video.webm||f.html5video.WEBM||null,f.html5video.controls="undefined"!=typeof f.html5video.controls?f.html5video.controls:"controls",f.html5video.preload=f.html5video.preload||"metadata",f.html5video.autoplay="undefined"!=typeof f.html5video.autoplay?f.html5video.autoplay:!1);f.width&&f.height||("video"==k?(f.width=1280,f.height=720):"iframe"==k?(f.width="100%",f.height="90%"):"flash"==k&&(f.width=1280,f.height=720));delete d.url;d.index=c;d.URL=e;d.caption=h;d.title=l;d.type=k;d.options=f;d.ext=n;b.push(d)});a.items=b},instantCall:function(){var a=this.vars.start;this.vars.current=a;this.vars.next=this.items[a+1]?a+1:null;this.vars.prev=this.items[a-1]?a-1:null;this.addContents();this.patchEvents()},addContents:function(){var a=this,b=a.vars,c=a.options,d=J(),e=c.path.toLowerCase(),f=0<b.total&&a.items.filter(function(a,b,d){return-1===["image","flash","video"].indexOf(a.type)&&"undefined"===typeof a.recognized&&(c.smartRecognition||a.options.smartRecognition)}),h=0<f.length;c.mobileOptimizer&&!c.innerToolbar&&(b.isMobile=d.width<=b.mobileMaxWidth);b.overlay.addClass(c.skin).hide().css("opacity",c.overlay.opacity);c.linkId&&b.overlay[0].setAttribute("linkid",c.linkId);c.controls.toolbar&&(b.toolbar.addClass(c.skin).append(b.closeButton),c.controls.fullscreen&&b.toolbar.append(b.fullScreenButton),c.controls.slideshow&&b.toolbar.append(b.innerPlayButton),1<b.total&&b.toolbar.append(b.innerPrevButton).append(b.innerNextButton));b.BODY.addClass("ilightbox-noscroll").append(b.overlay).append(b.loader).append(b.holder).append(b.nextPhoto).append(b.prevPhoto);c.innerToolbar||b.BODY.append(b.toolbar);c.controls.arrows&&b.BODY.append(b.nextButton).append(b.prevButton);c.controls.thumbnail&&1<b.total&&(b.BODY.append(b.thumbnails),b.thumbnails.addClass(c.skin).addClass("ilightbox-"+e),g("div.ilightbox-thumbnails-grid",b.thumbnails).empty(),b.thumbs=!0);d="horizontal"==c.path.toLowerCase()?{left:parseInt(d.width/2-b.loader.outerWidth()/2)}:{top:parseInt(d.height/2-b.loader.outerHeight()/2)};b.loader.addClass(c.skin).css(d);b.nextButton.add(b.prevButton).addClass(c.skin);"horizontal"==e&&b.loader.add(b.nextButton).add(b.prevButton).addClass("horizontal");b.BODY[b.isMobile?"addClass":"removeClass"]("isMobile");c.infinite||(b.prevButton.add(b.prevButton).add(b.innerPrevButton).add(b.innerNextButton).removeClass("disabled"),0==b.current&&b.prevButton.add(b.innerPrevButton).addClass("disabled"),b.current>=b.total-1&&b.nextButton.add(b.innerNextButton).addClass("disabled"));c.show.effect?(b.overlay.stop().fadeIn(c.show.speed),b.toolbar.stop().fadeIn(c.show.speed)):(b.overlay.show(),b.toolbar.show());var l=f.length;h?(a.showLoader(),g.each(f,function(d,e){a.ogpRecognition(this,function(d){console.log(d);var e=-1;a.items.filter(function(a,b,c){a.URL==d.url&&(e=b);return a.URL==d.url});var f=a.items[e];d&&g.extend(!0,f,{URL:d.source,type:d.type,recognized:!0,options:{html5video:d.html5video,width:"image"==d.type?0:d.width||f.width,height:"image"==d.type?0:d.height||f.height,thumbnail:f.options.thumbnail||d.thumbnail}});l--;0==l&&(a.hideLoader(),b.dontGenerateThumbs=!1,a.generateThumbnails(),c.show.effect?setTimeout(function(){a.generateBoxes()},c.show.speed):a.generateBoxes())})})):c.show.effect?setTimeout(function(){a.generateBoxes()},c.show.speed):a.generateBoxes();a.createUI();p.iLightBox={close:function(){a.closeAction()},fullscreen:function(){a.fullScreenAction()},moveNext:function(){a.moveTo("next")},movePrev:function(){a.moveTo("prev")},goTo:function(b){a.goTo(b)},refresh:function(){a.refresh()},reposition:function(){0<arguments.length?a.repositionPhoto(!0):a.repositionPhoto()},setOption:function(b){a.setOption(b)},destroy:function(){a.closeAction();a.dispatchItemsEvents()}};c.linkId&&(b.hashLock=!0,p.location.hash=c.linkId+"/"+b.current,setTimeout(function(){b.hashLock=!1},55));c.slideshow.startPaused||(a.resume(),b.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause"));"function"==typeof a.options.callback.onOpen&&a.options.callback.onOpen.call(a)},loadContent:function(a,b,c){this.createUI();a.speed=c||this.options.effects.loadedFadeSpeed;"current"==b&&(this.vars.lockWheel=a.options.mousewheel?!1:!0,this.vars.lockSwipe=a.options.swipe?!1:!0);switch(b){case"current":var d=this.vars.holder;var e=this.vars.current;break;case"next":d=this.vars.nextPhoto;e=this.vars.next;break;case"prev":d=this.vars.prevPhoto,e=this.vars.prev}d.removeAttr("style class").addClass("ilightbox-holder"+ 21(z?" supportTouch":"")).addClass(a.options.skin);g("div.ilightbox-inner-toolbar",d).remove();if(a.title||this.options.innerToolbar){var f=this.vars.innerToolbar.clone();if(a.title&&this.options.show.title){var h=this.vars.title.clone();h.empty().html(a.title);f.append(h)}this.options.innerToolbar&&f.append(1<this.vars.total?this.vars.toolbar.clone():this.vars.toolbar);d.prepend(f)}this.loadSwitcher(a,d,e,b)},loadSwitcher:function(a,b,c,d){var e=this,f=e.options,h={element:b,position:c};switch(a.type){case"image":"function"==typeof f.callback.onBeforeLoad&&f.callback.onBeforeLoad.call(e,e.ui,c);"function"==typeof a.options.onBeforeLoad&&a.options.onBeforeLoad.call(e,h);e.loadImage(a.URL,function(k){"function"==typeof f.callback.onAfterLoad&&f.callback.onAfterLoad.call(e,e.ui,c);"function"==typeof a.options.onAfterLoad&&a.options.onAfterLoad.call(e,h);
21b.data({naturalWidth:k?k.width:400,naturalHeight:k?k.height:200});g("div.ilightbox-container",b).empty().append(k?'<img src="'+a.URL+'" class="ilightbox-image" />':'<span class="ilightbox-alert">'+f.errors.loadImage+"</span>");"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c);"function"==typeof a.options.onRender&&a.options.onRender.call(e,h);e.configureHolder(a,d,b)});break;case"video":b.data({naturalWidth:a.options.width,naturalHeight:a.options.height});"current"===d?(e.addContent(b,a),"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c),"function"==typeof a.options.onRender&&a.options.onRender.call(e,h)):g("div.ilightbox-container",b).empty();e.configureHolder(a,d,b);break;case"iframe":b.data({naturalWidth:a.options.width,naturalHeight:a.options.height});e.configureHolder(a,d,b);if("current"===d){var l=e.addContent(b,a);"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c);"function"==typeof a.options.onRender&&a.options.onRender.call(e,h);"function"==typeof f.callback.onBeforeLoad&&f.callback.onBeforeLoad.call(e,e.ui,c);"function"==typeof a.options.onBeforeLoad&&a.options.onBeforeLoad.call(e,h);l.bind("load",function(){"function"==typeof f.callback.onAfterLoad&&f.callback.onAfterLoad.call(e,e.ui,c);"function"==typeof a.options.onAfterLoad&&a.options.onAfterLoad.call(e,h);l.unbind("load")})}else g("div.ilightbox-container",b).empty();break;case"inline":l=g(a.URL);var k=e.addContent(b,a),n=R(b);b.data({naturalWidth:e.items[c].options.width||l.outerWidth(),naturalHeight:e.items[c].options.height||l.outerHeight()});k.children().eq(0).show();"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c);"function"==typeof a.options.onRender&&a.options.onRender.call(e,h);"function"==typeof f.callback.onBeforeLoad&&f.callback.onBeforeLoad.call(e,e.ui,c);"function"==typeof a.options.onBeforeLoad&&a.options.onBeforeLoad.call(e,h);e.loadImage(n,function(){"function"==typeof f.callback.onAfterLoad&&f.callback.onAfterLoad.call(e,e.ui,c);"function"==typeof a.options.onAfterLoad&&a.options.onAfterLoad.call(e,h);e.configureHolder(a,d,b)});break;case"flash":l=e.addContent(b,a);b.data({naturalWidth:e.items[c].options.width||l.outerWidth(),naturalHeight:e.items[c].options.height||l.outerHeight()});"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c);"function"==typeof a.options.onRender&&a.options.onRender.call(e,h);e.configureHolder(a,d,b);break;case"ajax":var m=a.options.ajax||{};"function"==typeof f.callback.onBeforeLoad&&f.callback.onBeforeLoad.call(e,e.ui,c);"function"==typeof a.options.onBeforeLoad&&a.options.onBeforeLoad.call(e,h);e.showLoader();g.ajax({url:a.URL||f.ajaxSetup.url,data:m.data||null,dataType:m.dataType||"html",type:m.type||f.ajaxSetup.type,cache:m.cache||f.ajaxSetup.cache,crossDomain:m.crossDomain||f.ajaxSetup.crossDomain,global:m.global||f.ajaxSetup.global,ifModified:m.ifModified||f.ajaxSetup.ifModified,username:m.username||f.ajaxSetup.username,password:m.password||f.ajaxSetup.password,beforeSend:m.beforeSend||f.ajaxSetup.beforeSend,complete:m.complete||f.ajaxSetup.complete,success:function(k,l,n){e.hideLoader();var q=g(k),u=g("div.ilightbox-container",b),C=e.items[c].options.width||parseInt(q[0].getAttribute("width")),v=e.items[c].options.height||parseInt(q[0].getAttribute("height")),y=q[0].getAttribute("width")&&q[0].getAttribute("height")?{overflow:"hidden"}:{};u.empty().append(g('<div class="ilightbox-wrapper"></div>').css(y).html(q));b.show().data({naturalWidth:C||u.outerWidth(),naturalHeight:v||u.outerHeight()}).hide();"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c);"function"==typeof a.options.onRender&&a.options.onRender.call(e,h);q=R(b);e.loadImage(q,function(){"function"==typeof f.callback.onAfterLoad&&f.callback.onAfterLoad.call(e,e.ui,c);"function"==typeof a.options.onAfterLoad&&a.options.onAfterLoad.call(e,h);e.configureHolder(a,d,b)});f.ajaxSetup.success(k,l,n);"function"==typeof m.success&&m.success(k,l,n)},error:function(k,l,n){"function"==typeof f.callback.onAfterLoad&&f.callback.onAfterLoad.call(e,e.ui,c);"function"==typeof a.options.onAfterLoad&&a.options.onAfterLoad.call(e,h);
21e.hideLoader();g("div.ilightbox-container",b).empty().append('<span class="ilightbox-alert">'+f.errors.loadContents+"</span>");e.configureHolder(a,d,b);f.ajaxSetup.error(k,l,n);"function"==typeof m.error&&m.error(k,l,n)}});break;case"html":k=a.URL;container=g("div.ilightbox-container",b);k[0].nodeName?l=k.clone():(k=g(k),l=k.selector?g("<div>"+k+"</div>"):k);var C=e.items[c].options.width||parseInt(l.attr("width")),y=e.items[c].options.height||parseInt(l.attr("height"));e.addContent(b,a);l.appendTo(document.documentElement).hide();"function"==typeof f.callback.onRender&&f.callback.onRender.call(e,e.ui,c);"function"==typeof a.options.onRender&&a.options.onRender.call(e,h);n=R(b);"function"==typeof f.callback.onBeforeLoad&&f.callback.onBeforeLoad.call(e,e.ui,c);"function"==typeof a.options.onBeforeLoad&&a.options.onBeforeLoad.call(e,h);e.loadImage(n,function(){"function"==typeof f.callback.onAfterLoad&&f.callback.onAfterLoad.call(e,e.ui,c);"function"==typeof a.options.onAfterLoad&&a.options.onAfterLoad.call(e,h);b.show().data({naturalWidth:C||container.outerWidth(),naturalHeight:y||container.outerHeight()}).hide();l.remove();e.configureHolder(a,d,b)})}},configureHolder:function(a,b,c){var d=this,e=d.vars,f=d.options;"current"!=b&&("next"==b?c.addClass("ilightbox-next"):c.addClass("ilightbox-prev"));if("current"==b)var h=e.current;else if("next"==b){var l=f.styles.nextOpacity;h=e.next}else l=f.styles.prevOpacity,h=e.prev;var k={element:c,position:h};d.items[h].options.width=d.items[h].options.width||0;d.items[h].options.height=d.items[h].options.height||0;"current"==b?f.show.effect?c.css(B,H).fadeIn(a.speed,function(){c.css(B,"");if(a.caption){d.setCaption(a,c);var b=g("div.ilightbox-caption",c),e=parseInt(b.outerHeight()/c.outerHeight()*100);f.caption.start&50>=e&&b.fadeIn(f.effects.fadeSpeed)}if(b=a.options.social)d.setSocial(b,a.URL,c),f.social.start&&g("div.ilightbox-social",c).fadeIn(f.effects.fadeSpeed);d.generateThumbnails();"function"==typeof f.callback.onShow&&f.callback.onShow.call(d,d.ui,h);"function"==typeof a.options.onShow&&a.options.onShow.call(d,k)}):(c.show(),d.generateThumbnails(),"function"==typeof f.callback.onShow&&f.callback.onShow.call(d,d.ui,h),"function"==typeof a.options.onShow&&a.options.onShow.call(d,k)):f.show.effect?c.fadeTo(a.speed,l,function(){"next"==b?e.nextLock=!1:e.prevLock=!1;d.generateThumbnails();"function"==typeof f.callback.onShow&&f.callback.onShow.call(d,d.ui,h);"function"==typeof a.options.onShow&&a.options.onShow.call(d,k)}):(c.css({opacity:l}).show(),"next"==b?e.nextLock=!1:e.prevLock=!1,d.generateThumbnails(),"function"==typeof f.callback.onShow&&f.callback.onShow.call(d,d.ui,h),"function"==typeof a.options.onShow&&a.options.onShow.call(d,k));setTimeout(function(){d.repositionPhoto()},0)},generateBoxes:function(){var a=this.vars,b=this.options;b.infinite&&3<=a.total?(a.current==a.total-1&&(a.next=0),0==a.current&&(a.prev=a.total-1)):b.infinite=!1;this.loadContent(this.items[a.current],"current",b.show.speed);this.items[a.next]&&this.loadContent(this.items[a.next],"next",b.show.speed);this.items[a.prev]&&this.loadContent(this.items[a.prev],"prev",b.show.speed)},generateThumbnails:function(){var a=this,b=a.vars,c=a.options,d=null;if(b.thumbs&&!a.vars.dontGenerateThumbs){var e=b.thumbnails,f=g("div.ilightbox-thumbnails-container",e),h=g("div.ilightbox-thumbnails-grid",f),l=0;h.removeAttr("style").empty();g.each(a.items,function(k,n){var m=b.current==k?"ilightbox-active":"",C=b.current==k?c.thumbnails.activeOpacity:c.thumbnails.normalOpacity,y=n.options.thumbnail,q=g('<div class="ilightbox-thumbnail"></div>'),u=g('<div class="ilightbox-thumbnail-icon"></div>');q.css({opacity:0}).addClass(m);"video"!=n.type&&"flash"!=n.type||"undefined"!=typeof n.options.icon?n.options.icon&&(u.addClass("ilightbox-thumbnail-"+n.options.icon),q.append(u)):(u.addClass("ilightbox-thumbnail-video"),q.append(u));y&&a.loadImage(y,function(b){l++;b?q.data({naturalWidth:b.width,naturalHeight:b.height}).append('<img src="'+y+'" border="0" />'):q.data({naturalWidth:c.thumbnails.maxWidth,naturalHeight:c.thumbnails.maxHeight});clearTimeout(d);d=setTimeout(function(){a.positionThumbnails(e,f,h)},20);setTimeout(function(){q.fadeTo(c.effects.loadedFadeSpeed,C)},20*l)});h.append(q)});a.vars.dontGenerateThumbs=!0}},positionThumbnails:function(a,b,c){var d=this,e=d.vars,f=d.options,h=J(),l=f.path.toLowerCase();a||(a=e.thumbnails);
21b||(b=g("div.ilightbox-thumbnails-container",a));c||(c=g("div.ilightbox-thumbnails-grid",b));var k=g(".ilightbox-thumbnail",c);e="horizontal"==l?h.width-f.styles.pageOffsetX:k.eq(0).outerWidth()-f.styles.pageOffsetX;h="horizontal"==l?k.eq(0).outerHeight()-f.styles.pageOffsetY:h.height-f.styles.pageOffsetY;var n="horizontal"==l?0:e,m="horizontal"==l?h:0,C=g(".ilightbox-active",c),y={};3>arguments.length&&(k.css({opacity:f.thumbnails.normalOpacity}),C.css({opacity:f.thumbnails.activeOpacity}));k.each(function(a){a=g(this);var b=a.data(),c="horizontal"==l?0:f.thumbnails.maxWidth;height="horizontal"==l?f.thumbnails.maxHeight:0;dims=d.getNewDimenstions(c,height,b.naturalWidth,b.naturalHeight,!0);a.css({width:dims.width,height:dims.height});"horizontal"==l&&a.css({"float":"left"});"horizontal"==l?n+=a.outerWidth():m+=a.outerHeight()});y={width:n,height:m};c.css(y);y={};k=c.offset();var q=C.length?C.offset():{top:parseInt(h/2),left:parseInt(e/2)};k.top-=E.scrollTop();k.left-=E.scrollLeft();q.top=q.top-k.top-E.scrollTop();q.left=q.left-k.left-E.scrollLeft();"horizontal"==l?(y.top=0,y.left=parseInt(e/2-q.left-C.outerWidth()/2)):(y.top=parseInt(h/2-q.top-C.outerHeight()/2),y.left=0);3>arguments.length?c.stop().animate(y,f.effects.repositionSpeed,"easeOutCirc"):c.css(y)},loadImage:function(a,b){g.isArray(a)||(a=[a]);var c=this,d=a.length;0<d?(c.showLoader(),g.each(a,function(e,f){var h=new Image;h.onload=function(){--d;0==d&&(c.hideLoader(),b(h))};h.onerror=h.onabort=function(){--d;0==d&&(c.hideLoader(),b(!1))};h.src=a[e]})):b(!1)},patchItemsEvents:function(){var a=this,b=a.vars,c=z?"itap.iL":"click.iL",d=z?"click.iL":"itap.iL";if(a.context&&a.selector){var e=g(a.selector,a.context);g(a.context).on(c,a.selector,function(){var c=g(this);c=e.index(c);b.current=c;b.next=a.items[c+1]?c+1:null;b.prev=a.items[c-1]?c-1:null;a.addContents();a.patchEvents();return!1}).on(d,a.selector,function(){return!1})}else g.each(a.itemsObject,function(e,h){h.on(c,function(){b.current=e;b.next=a.items[e+1]?e+1:null;b.prev=a.items[e-1]?e-1:null;a.addContents();a.patchEvents();return!1}).on(d,function(){return!1})})},dispatchItemsEvents:function(){this.context&&this.selector?g(this.context).off(".iL",this.selector):g.each(this.itemsObject,function(a,b){b.off(".iL")})},refresh:function(){this.dispatchItemsEvents();this.attachItems();this.normalizeItems();this.patchItemsEvents()},patchEvents:function(){function a(a){c.isMobile||(c.mouseID||c.hideableElements.show(),c.mouseID=clearTimeout(c.mouseID),-1===k.indexOf(a.target)&&(c.mouseID=setTimeout(function(){c.hideableElements.hide();c.mouseID=clearTimeout(c.mouseID)},3E3)))}var b=this,c=b.vars,d=b.options,e=d.path.toLowerCase(),f=g(".ilightbox-holder"),h=t.fullScreenEventName+".iLightBox",l=verticalDistanceThreshold=100,k=[c.nextButton[0],c.prevButton[0],c.nextButton[0].firstChild,c.prevButton[0].firstChild];O.bind("resize.iLightBox",function(){var a=J();d.mobileOptimizer&&!d.innerToolbar&&(c.isMobile=a.width<=c.mobileMaxWidth);c.BODY[c.isMobile?"addClass":"removeClass"]("isMobile");b.repositionPhoto(null);z&&(clearTimeout(c.setTime),c.setTime=setTimeout(function(){var a=L().y;p.scrollTo(0,a-30);p.scrollTo(0,a+30);p.scrollTo(0,a)},2E3));c.thumbs&&b.positionThumbnails()}).bind("keydown.iLightBox",function(a){if(d.controls.keyboard)switch(a.keyCode){case 13:a.shiftKey&&d.keyboard.shift_enter&&b.fullScreenAction();break;case 27:d.keyboard.esc&&b.closeAction();break;case 37:d.keyboard.left&&!c.lockKey&&b.moveTo("prev");break;case 38:d.keyboard.up&&!c.lockKey&&b.moveTo("prev");break;case 39:d.keyboard.right&&!c.lockKey&&b.moveTo("next");break;case 40:d.keyboard.down&&!c.lockKey&&b.moveTo("next")}});t.supportsFullScreen&&O.bind(h,function(){b.doFullscreen()});h=[d.caption.show+".iLightBox",d.caption.hide+".iLightBox",d.social.show+".iLightBox",d.social.hide+".iLightBox"].filter(function(a,b,c){return c.lastIndexOf(a)===b});var n="";g.each(h,function(a,b){0!=a&&(n+=" ");n+=b});E.on(K,".ilightbox-overlay",function(){d.overlay.blur&&b.closeAction()}).on(K,".ilightbox-next, .ilightbox-next-button",function(){b.moveTo("next")}).on(K,".ilightbox-prev, .ilightbox-prev-button",function(){b.moveTo("prev")}
21).on(K,".ilightbox-thumbnail",function(){var a=g(this);a=g(".ilightbox-thumbnail",c.thumbnails).index(a);a!=c.current&&b.goTo(a)}).on(n,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(a){var b=g("div.ilightbox-caption",c.holder),e=g("div.ilightbox-social",c.holder),f=d.effects.fadeSpeed;c.nextLock||c.prevLock?(a.type!=d.caption.show||b.is(":visible")?a.type==d.caption.hide&&b.is(":visible")&&b.fadeOut(f):b.fadeIn(f),a.type!=d.social.show||e.is(":visible")?a.type==d.social.hide&&e.is(":visible")&&e.fadeOut(f):e.fadeIn(f)):(a.type!=d.caption.show||b.is(":visible")?a.type==d.caption.hide&&b.is(":visible")&&b.stop().fadeOut(f):b.stop().fadeIn(f),a.type!=d.social.show||e.is(":visible")?a.type==d.social.hide&&e.is(":visible")&&e.stop().fadeOut(f):e.stop().fadeIn(f))}).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",function(a){c.lockWheel="mouseenter"==a.type?!0:!1}).on(K,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause",function(){var a=g(this);a.hasClass("ilightbox-fullscreen")?b.fullScreenAction():a.hasClass("ilightbox-play")?(b.resume(),a.addClass("ilightbox-pause").removeClass("ilightbox-play")):a.hasClass("ilightbox-pause")?(b.pause(),a.addClass("ilightbox-play").removeClass("ilightbox-pause")):b.closeAction()}).on(W,".ilightbox-overlay, .ilightbox-thumbnails-container",function(a){a.preventDefault()});if(d.controls.arrows&&!z)E.on("mousemove.iLightBox",a);if(d.controls.slideshow&&d.slideshow.pauseOnHover)E.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(a){"mouseenter"==a.type&&c.cycleID?b.pause():"mouseleave"==a.type&&c.isPaused&&b.resume()});h=g(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails");if(d.controls.mousewheel)h.on("mousewheel.iLightBox",function(a,d){c.lockWheel||(a.preventDefault(),0>d?b.moveTo("next"):0<d&&b.moveTo("prev"))});if(d.controls.swipe)f.on(pa,function(a){function h(a){var b=g(this);a=r[a];var c=[w.coords[0]-x.coords[0],w.coords[1]-x.coords[1]];b[0].style["horizontal"==e?"left":"top"]=("horizontal"==e?a.left-c[0]:a.top-c[1])+"px"}function k(a){if(w){var b=a.originalEvent.touches?a.originalEvent.touches[0]:a;x={time:(new Date).getTime(),coords:[b.pageX-n,b.pageY-m]};f.each(h);a.preventDefault()}}function q(){f.each(function(){var a=g(this),b=a.data("offset")||{top:a.offset().top-m,left:a.offset().left-n},c=b.top;b=b.left;a.css(B,H).stop().animate({top:c,left:b},500,"easeOutCirc",function(){a.css(B,"")})})}if(!(c.nextLock||c.prevLock||1==c.total||c.lockSwipe)){c.BODY.addClass("ilightbox-closedhand");a=a.originalEvent.touches?a.originalEvent.touches[0]:a;var m=E.scrollTop(),n=E.scrollLeft(),p=[f.eq(0).offset(),f.eq(1).offset(),f.eq(2).offset()],r=[{top:p[0].top-m,left:p[0].left-n},{top:p[1].top-m,left:p[1].left-n},{top:p[2].top-m,left:p[2].left-n}],w={time:(new Date).getTime(),coords:[a.pageX-n,a.pageY-m]},x;f.bind(W,k);E.one(qa,function(a){f.unbind(W,k);c.BODY.removeClass("ilightbox-closedhand");w&&x&&("horizontal"==e&&1E3>x.time-w.time&&I(w.coords[0]-x.coords[0])>l&&I(w.coords[1]-x.coords[1])<verticalDistanceThreshold?w.coords[0]>x.coords[0]?c.current!=c.total-1||d.infinite?(c.isSwipe=!0,b.moveTo("next")):q():0!=c.current||d.infinite?(c.isSwipe=!0,b.moveTo("prev")):q():"vertical"==e&&1E3>x.time-w.time&&I(w.coords[1]-x.coords[1])>l&&I(w.coords[0]-x.coords[0])<verticalDistanceThreshold?w.coords[1]>x.coords[1]?c.current!=c.total-1||d.infinite?(c.isSwipe=!0,b.moveTo("next")):q():0!=c.current||d.infinite?(c.isSwipe=!0,b.moveTo("prev")):q():q());w=x=Q})}})},goTo:function(a){var b=this,c=b.vars,d=b.options,e=a-c.current;d.infinite&&(a==c.total-1&&0==c.current&&(e=-1),c.current==c.total-1&&0==a&&(e=1));if(1==e)b.moveTo("next");else if(-1==e)b.moveTo("prev");else{if(c.nextLock||c.prevLock)return!1;"function"==typeof d.callback.onBeforeChange&&d.callback.onBeforeChange.call(b,b.ui);d.linkId&&(c.hashLock=!0,p.location.hash=d.linkId+"/"+a);b.items[a]&&(b.items[a].options.mousewheel?b.vars.lockWheel=!1:c.lockWheel=!0,c.lockSwipe=b.items[a].options.swipe?!1:!0);g.each([c.holder,c.nextPhoto,c.prevPhoto],function(a,b){b.css(B,H).fadeOut(d.effects.loadedFadeSpeed)});c.current=a;c.next=a+1;c.prev=a-1;b.createUI();setTimeout(function(){b.generateBoxes()},d.effects.loadedFadeSpeed+50);
21g(".ilightbox-thumbnail",c.thumbnails).removeClass("ilightbox-active").eq(a).addClass("ilightbox-active");b.positionThumbnails();d.linkId&&setTimeout(function(){c.hashLock=!1},55);d.infinite||(c.nextButton.add(c.prevButton).add(c.innerPrevButton).add(c.innerNextButton).removeClass("disabled"),0==c.current&&c.prevButton.add(c.innerPrevButton).addClass("disabled"),c.current>=c.total-1&&c.nextButton.add(c.innerNextButton).addClass("disabled"));b.resetCycle();"function"==typeof d.callback.onAfterChange&&d.callback.onAfterChange.call(b,b.ui)}},moveTo:function(a){var b=this,c=b.vars,d=b.options,e=d.path.toLowerCase(),f=J(),h=d.effects.switchSpeed;if(c.nextLock||c.prevLock)return!1;var l="next"==a?c.next:c.prev;d.linkId&&(c.hashLock=!0,p.location.hash=d.linkId+"/"+l);if("next"==a){if(!b.items[l])return!1;var k=c.nextPhoto,n=c.holder,m=c.prevPhoto,C="ilightbox-prev",y="ilightbox-next"}else if("prev"==a){if(!b.items[l])return!1;k=c.prevPhoto;n=c.holder;m=c.nextPhoto;C="ilightbox-next";y="ilightbox-prev"}"function"==typeof d.callback.onBeforeChange&&d.callback.onBeforeChange.call(b,b.ui);"next"==a?c.nextLock=!0:c.prevLock=!0;var q=g("div.ilightbox-caption",n),u=g("div.ilightbox-social",n);q.length&&q.stop().fadeOut(h,function(){g(this).remove()});u.length&&u.stop().fadeOut(h,function(){g(this).remove()});b.items[l].caption&&(b.setCaption(b.items[l],k),q=g("div.ilightbox-caption",k),u=parseInt(q.outerHeight()/k.outerHeight()*100),d.caption.start&&50>=u&&q.fadeIn(h));if(q=b.items[l].options.social)b.setSocial(q,b.items[l].URL,k),d.social.start&&g("div.ilightbox-social",k).fadeIn(d.effects.fadeSpeed);g.each([k,n,m],function(a,b){b.removeClass("ilightbox-next ilightbox-prev")});var v=k.data("offset");q=f.width-d.styles.pageOffsetX;f=f.height-d.styles.pageOffsetY;u=v.newDims.width;var r=v.newDims.height,t=v.thumbsOffset;v=v.diff;var w=parseInt(f/2-r/2-v.H-t.H/2);v=parseInt(q/2-u/2-v.W-t.W/2);k.css(B,H).animate({top:w,left:v,opacity:1},h,c.isSwipe?"easeOutCirc":"easeInOutCirc",function(){k.css(B,"")});g("div.ilightbox-container",k).animate({width:u,height:r},h,c.isSwipe?"easeOutCirc":"easeInOutCirc");r=n.data("offset");var x=r.object;v=r.diff;u=r.newDims.width;r=r.newDims.height;u=parseInt(u*d.styles["next"==a?"prevScale":"nextScale"]);r=parseInt(r*d.styles["next"==a?"prevScale":"nextScale"]);w="horizontal"==e?parseInt(f/2-x.offsetY-r/2-v.H-t.H/2):parseInt(f-x.offsetX-v.H-t.H/2);"prev"==a?v="horizontal"==e?parseInt(q-x.offsetX-v.W-t.W/2):parseInt(q/2-u/2-v.W-x.offsetY-t.W/2):(w="horizontal"==e?w:parseInt(x.offsetX-v.H-r-t.H/2),v="horizontal"==e?parseInt(x.offsetX-v.W-u-t.W/2):parseInt(q/2-x.offsetY-u/2-v.W-t.W/2));g("div.ilightbox-container",n).animate({width:u,height:r},h,c.isSwipe?"easeOutCirc":"easeInOutCirc");n.addClass(C).css(B,H).animate({top:w,left:v,opacity:d.styles.prevOpacity},h,c.isSwipe?"easeOutCirc":"easeInOutCirc",function(){n.css(B,"");g(".ilightbox-thumbnail",c.thumbnails).removeClass("ilightbox-active").eq(l).addClass("ilightbox-active");b.positionThumbnails();b.items[l]&&(c.lockWheel=b.items[l].options.mousewheel?!1:!0,c.lockSwipe=b.items[l].options.swipe?!1:!0);c.isSwipe=!1;-1!==["iframe","video"].indexOf(b.items[c.current].type)&&g("div.ilightbox-container",n).empty();"next"==a?(c.nextPhoto=m,c.prevPhoto=n,c.holder=k,c.nextPhoto.hide(),c.next+=1,c.prev=c.current,c.current+=1,d.infinite&&(c.current>c.total-1&&(c.current=0),c.current==c.total-1&&(c.next=0),0==c.current&&(c.prev=c.total-1)),b.createUI(),b.items[c.next]?b.loadContent(b.items[c.next],"next"):c.nextLock=!1):(c.prevPhoto=m,c.nextPhoto=n,c.holder=k,c.prevPhoto.hide(),c.next=c.current,c.current=c.prev,c.prev=c.current-1,d.infinite&&(c.current==c.total-1&&(c.next=0),0==c.current&&(c.prev=c.total-1)),b.createUI(),b.items[c.prev]?b.loadContent(b.items[c.prev],"prev"):c.prevLock=!1);-1!==["iframe","video"].indexOf(b.items[c.current].type)&&b.loadContent(b.items[c.current],"current");d.linkId&&setTimeout(function(){c.hashLock=!1},55);d.infinite||(c.nextButton.add(c.prevButton).add(c.innerPrevButton).add(c.innerNextButton).removeClass("disabled"),0==c.current&&c.prevButton.add(c.innerPrevButton).addClass("disabled"),c.current>=c.total-1&&c.nextButton.add(c.innerNextButton).addClass("disabled"));b.repositionPhoto();b.resetCycle();"function"==typeof d.callback.onAfterChange&&d.callback.onAfterChange.call(b,b.ui)});w="horizontal"==e?F(m,"top"):"next"==a?parseInt(-(f/2)-m.outerHeight()):parseInt(2*w);v="horizontal"==e?"next"==a?parseInt(-(q/2)-m.outerWidth()):parseInt(2*v):F(m,"left");m.css(B,H).animate({top:w,left:v,opacity:d.styles.nextOpacity},h,c.isSwipe?"easeOutCirc":"easeInOutCirc",function(){m.css(B,"")}).addClass(y)},setCaption:function(a,b){var c=g('<div class="ilightbox-caption"></div>');a.caption&&(c.html(a.caption),g("div.ilightbox-container",b).append(c))},normalizeSocial:function(a,b){var c=this.options,d=p.location.href;g.each(a,function(e,f){if(!f)return!0;switch(e.toLowerCase()){case"facebook":var h="http://www.facebook.com/share.php?v=4&src=bm&u={URL}";var g="Share on Facebook";break;case"twitter":h="http://twitter.com/home?status={URL}";g="Share on Twitter";break;case"googleplus":h="https://plus.google.com/share?url={URL}";g="Share on Google+";break;case"delicious":h="http://delicious.com/post?url={URL}";g="Share on Delicious";break;case"digg":h="http://digg.com/submit?phase=2&url={URL}";g="Share on Digg";break;case"reddit":h="http://reddit.com/submit?url={URL}",g="Share on reddit"}a[e]={URL:f.URL&&N(d,f.URL)||c.linkId&&p.location.href||"string"!==typeof b&&d||b&&N(d,b)||d,source:f.source||h||f.URL&&N(d,f.URL)||b&&N(d,b),text:f.text||g||"Share on "+e,width:"undefined"==typeof f.width||isNaN(f.width)?640:parseInt(f.width),height:f.height||360}});return a},setSocial:function(a,b,c){var d=g('<div class="ilightbox-social"></div>'),e="<ul>";a=this.normalizeSocial(a,b);g.each(a,function(a,b){a.toLowerCase();var c=b.source.replace(/\{URL\}/g,encodeURIComponent(b.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+"));e+='<li class="'+a+'"><a href="'+c+'" onclick="javascript:window.open(this.href'+ 22(0>=b.width||0>=b.height?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+b.height+",width="+b.width+",left=40,top=40'")+');return false;" title="'+b.text+'" target="_blank"></a></li>'});e+="</ul>";d.html(e);g("div.ilightbox-container",c).append(d)},fullScreenAction:function(){t.supportsFullScreen?t.isFullScreen()?t.cancelFullScreen(document.documentElement):t.requestFullScreen(document.documentElement):this.doFullscreen()},doFullscreen:function(){var a=this.vars,b=J(),c=this.options;if(c.fullAlone){var d=a.holder,e=this.items[a.current],f=b.width,h=b.height,l=[d,a.nextPhoto,a.prevPhoto,a.nextButton,a.prevButton,a.overlay,a.toolbar,a.thumbnails,a.loader];b=[a.nextPhoto,a.prevPhoto,a.nextButton,a.prevButton,a.loader,a.thumbnails];if(a.isInFullScreen)a.isInFullScreen=a.lockKey=a.lockWheel=a.lockSwipe=!1,a.overlay.css({opacity:this.options.overlay.opacity}),g.each(b,function(a,b){b.show()}),a.fullScreenButton.attr("title",c.text.enterFullscreen),d.data({naturalWi
22dth:d.data("naturalWidthOld"),naturalHeight:d.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),g.each(l,function(a,b){b.removeClass("ilightbox-fullscreen")}),"function"==typeof c.callback.onExitFullScreen&&c.callback.onExitFullScreen.call(this,this.ui);else{a.isInFullScreen=a.lockKey=a.lockWheel=a.lockSwipe=!0;a.overlay.css({opacity:1});g.each(b,function(a,b){b.hide()});a.fullScreenButton.attr("title",c.text.exitFullscreen);if(-1!=c.fullStretchTypes.indexOf(e.type))d.data({naturalWidthOld:d.data("naturalWidth"),naturalHeightOld:d.data("naturalHeight"),naturalWidth:f,naturalHeight:h});else{b=e.options.fullViewPort||c.fullViewPort||"";a=f;e=h;f=d.data("naturalWidth");var k=d.data("naturalHeight");"fill"==b.toLowerCase()?(e=a/f*k,e<h&&(a=h/k*f,e=h)):"fit"==b.toLowerCase()?(h=this.getNewDimenstions(a,e,f,k,!0),a=h.width,e=h.height):"stretch"!=b.toLowerCase()&&(h=this.getNewDimenstions(a,e,f,k,f>a||k>e?!0:!1),a=h.width,e=h.height);d.data({naturalWidthOld:d.data("naturalWidth"),naturalHeightOld:d.data("naturalHeight"),naturalWidth:a,naturalHeight:e})}g.each(l,function(a,b){b.addClass("ilightbox-fullscreen")});"function"==typeof c.callback.onEnterFullScreen&&c.callback.onEnterFullScreen.call(this,this.ui)}}else a.isInFullScreen=a.isInFullScreen?!1:!0;this.repositionPhoto(!0)},closeAction:function(){var a=this.vars,b=this.options;O.unbind(".iLightBox");E.off(".iLightBox");a.isInFullScreen&&t.cancelFullScreen(document.documentElement);g(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails").off(".iLightBox");b.hide.effect?a.overlay.stop().fadeOut(b.hide.speed,function(){a.overlay.remove();a.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")}):(a.overlay.remove(),a.BODY.removeClass("ilightbox-noscroll").off(".iLightBox"));g.each([a.toolbar,a.holder,a.nextPhoto,a.prevPhoto,a.nextButton,a.prevButton,a.loader,a.thumbnails],function(a,b){b.removeAttr("style").remove()});a.dontGenerateThumbs=a.isInFullScreen=!1;p.iLightBox=null;b.linkId&&(a.hashLock=!0,ia(),setTimeout(function(){a.hashLock=!1},55));"function"==typeof b.callback.onHide&&b.callback.onHide.call(this,this.ui)},repositionPhoto:function(){var a=this.vars,b=this.options,c=b.path.toLowerCase(),d=J(),e=d.width,f=d.height;d=a.isInFullScreen&&b.fullAlone||a.isMobile?0:"horizontal"==c?0:a.thumbnails.outerWidth();var h=a.isMobile?a.toolbar.outerHeight():a.isInFullScreen&&b.fullAlone?0:"horizontal"==c?a.thumbnails.outerHeight():0;e=a.isInFullScreen&&b.fullAlone?e:e-b.styles.pageOffsetX;f=a.isInFullScreen&&b.fullAlone?f:f-b.styles.pageOffsetY;var l="horizontal"==c?parseInt(this.items[a.next]||this.items[a.prev]?2*(b.styles.nextOffsetX+b.styles.prevOffsetX):30>=e/10?30:e/10):parseInt(30>=e/10?30:e/10)+d,k="horizontal"==c?parseInt(30>=f/10?30:f/10)+h:parseInt(this.items[a.next]||this.items[a.prev]?2*(b.styles.nextOffsetX+b.styles.prevOffsetX):30>=f/10?30:f/10);d={type:"current",width:e,height:f,item:this.items[a.current],offsetW:l,offsetH:k,thumbsOffsetW:d,thumbsOffsetH:h,animate:arguments.length,holder:a.holder};this.repositionEl(d);this.items[a.next]&&(d=g.extend(d,{type:"next",item:this.items[a.next],offsetX:b.styles.nextOffsetX,offsetY:b.styles.nextOffsetY,holder:a.nextPhoto}),this.repositionEl(d));this.items[a.prev]&&(d=g.extend(d,{type:"prev",item:this.items[a.prev],offsetX:b.styles.prevOffsetX,offsetY:b.styles.prevOffsetY,holder:a.prevPhoto}),this.repositionEl(d));b="horizontal"==c?{left:parseInt(e/2-a.loader.outerWidth()/2)}:{top:parseInt(f/2-a.loader.outerHeight()/2)};a.loader.css(b)},repositionEl:function(a){var b=this.vars,c=this.options,d=c.path.toLowerCase(),e="current"==a.type?b.isInFullScreen&&c.fullAlone?a.width:a.width-a.offsetW:a.width-a.offsetW,f="current"==a.type?b.isInFullScreen&&c.fullAlone?a.height:a.height-a.offsetH:a.height-a.offsetH,h=a.item,l=a.item.options,k=a.holder,n=a.offsetX||0,m=a.offsetY||0,p=a.thumbsOffsetW,r=a.thumbsOffsetH;"current"==a.type?("number"==typeof l.width&&l.width&&(e=b.isInFullScreen&&c.fullAlone&&(-1!=c.fullStretchTypes.indexOf(h.type)||l.fullViewPort||c.fullViewPort)?e:l.width>e?e:l.width),"number"==typeof l.height&&l.height&&(f=b.isInFullScreen&&c.fullAlone&&(-1!=c.fullStretchTypes.indexOf(h.type)||l.fullViewPort||c.fullViewPort)?f:l.height>f?f:l.height)):("number"==typeof l.width&&l.width&&(e=l.width>e?e:l.width),"number"==typeof l.height&&l.height&&(f=l.height>f?f:l.height));c.innerToolbar&&(f=parseInt(f-g(".ilightbox-inner-toolbar",k).outerHeight()));b="string"==typeof l.width&&-1!=l.width.indexOf("%")?ba(parseInt(l.width.replace("%","")),a.width):k.data("naturalWi
22dth");h="string"==typeof l.height&&-1!=l.height.indexOf("%")?ba(parseInt(l.height.replace("%","")),a.height):k.data("naturalHeight");h="string"==typeof l.width&&-1!=l.width.indexOf("%")||"string"==typeof l.height&&-1!=l.height.indexOf("%")?{width:b,height:h}:this.getNewDimenstions(e,f,b,h);e=g.extend({},h,{});"prev"==a.type||"next"==a.type?(b=parseInt(h.width*("next"==a.type?c.styles.nextScale:c.styles.prevScale)),h=parseInt(h.height*("next"==a.type?c.styles.nextScale:c.styles.prevScale))):(b=h.width,h=h.height);f=parseInt((F(k,"padding-left")+F(k,"padding-right")+F(k,"border-left-width")+F(k,"border-right-width"))/2);l=parseInt((F(k,"padding-top")+F(k,"padding-bottom")+F(k,"border-top-width")+F(k,"border-bottom-width")+(g(".ilightbox-inner-toolbar",k).outerHeight()||0))/2);switch(a.type){case"current":var q=parseInt(a.height/2-h/2-l-r/2),u=parseInt(a.width/2-b/2-f-p/2);break;case"next":q="horizontal"==d?parseInt(a.height/2-m-h/2-l-r/2):parseInt(a.height-n-l-r/2);u="horizontal"==d?parseInt(a.width-n-f-p/2):parseInt(a.width/2-b/2-f-m-p/2);break;case"prev":q="horizontal"==d?parseInt(a.height/2-m-h/2-l-r/2):parseInt(n-l-h-r/2),u="horizontal"==d?parseInt(n-f-b-p/2):parseInt(a.width/2-m-b/2-f-p/2)}k.data("offset",{top:q,left:u,newDims:e,diff:{W:f,H:l},thumbsOffset:{W:p,H:r},object:a});0<a.animate&&c.effects.reposition?(k.css(B,H).stop().animate({top:q,left:u},c.effects.repositionSpeed,"easeOutCirc",function(){k.css(B,"")}),g("div.ilightbox-container",k).stop().animate({width:b,height:h},c.effects.repositionSpeed,"easeOutCirc"),g("div.ilightbox-inner-toolbar",k).stop().animate({width:b},c.effects.repositionSpeed,"easeOutCirc",function(){g(this).css("overflow","visible")})):(k.css({top:q,left:u}),g("div.ilightbox-container",k).css({width:b,height:h}),g("div.ilightbox-inner-toolbar",k).css({width:b}))},resume:function(a){var b=this,c=b.vars,d=b.options;!d.slideshow.pauseTime||d.controls.slideshow&&1>=c.total||a<c.isPaused||(c.isPaused=0,c.cycleID&&(c.cycleID=clearTimeout(c.cycleID)),c.cycleID=setTimeout(function(){c.current==c.total-1?b.goTo(0):b.moveTo("next")},d.slideshow.pauseTime))},pause:function(a){var b=this.vars;a<b.isPaused||(b.isPaused=a||100,b.cycleID&&(b.cycleID=clearTimeout(b.cycleID)))},resetCycle:function(){var a=this.vars;this.options.controls.slideshow&&a.cycleID&&!a.isPaused&&this.resume()},getNewDimenstions:function(a,b,c,d,e){factor=a?b?Y(a/c,b/d):a/c:b/d;e||(factor>this.options.maxScale?factor=this.options.maxScale:factor<this.options.minScale&&(factor=this.options.minScale));a=this.options.keepAspectRatio?X(c*factor):a;b=this.options.keepAspectRatio?X(d*factor):b;return{width:a,height:b,ratio:factor}},setOption:function(a){this.options=g.extend(!0,this.options,a||{});this.refresh()},availPlugins:function(){var a=document.createElement("video");this.plugins={flash:!oa,quicktime:0<=parseInt(ha.getVersion("QuickTime"))?!0:!1,html5H264:!(!a.canPlayType||!a.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!(!a.canPlayType||!a.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!(!a.canPlayType||!a.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!(!a.canPlayType||!a.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(a,b){switch(b.type){case"video":var c=!1,d=b.videoType,e=b.options.html5video;("video/mp4"==d||"mp4"==b.ext||"m4v"==b.ext||e.h264)&&this.plugins.html5H264?(b.ext="mp4",b.URL=e.h264||b.URL):e.webm&&this.plugins.html5WebM?(b.ext="webm",b.URL=e.webm||b.URL):e.ogg&&this.plugins.html5Vorbis&&(b.ext="ogv",b.URL=e.ogg||b.URL);!this.plugins.html5H264||"video/mp4"!=d&&"mp4"!=b.ext&&"m4v"!=b.ext?!this.plugins.html5WebM||"video/webm"!=d&&"webm"!=b.ext?!this.plugins.html5Vorbis||"video/ogg"!=d&&"ogv"!=b.ext?!this.plugins.html5QuickTime||"video/quicktime"!=d&&"mov"!=b.ext&&"qt"!=b.ext||(c=!0,d="video/quicktime"):(c=!0,d="video/ogg"):(c=!0,d="video/webm"):(c=!0,d="video/mp4");if(c)var f=g("<video />",{width:"100%",height:"100%",preload:e.preload,autoplay:e.autoplay,poster:e.poster,controls:e.controls}).append(g("<source />",{src:b.URL,type:d}));else this.plugins.quicktime?(f=g("<object />",{type:"video/quicktime",pluginspage:"http://www.apple.com/quicktime/download"}).attr({data:b.URL,width:"100%",height:"100%"}).append(g("<param />",{name:"src",value:b.URL})).append(g("<param />",{name:"autoplay",value:"false"})).append(g("<param />",{name:"loop",value:"false"})).append(g("<param />",{name:"scale",value:"tofit"})),D.msie&&(f=ma(b.URL,"100%","100%","","SCALE","tofit","AUTOPLAY","false","LOOP","false"))):f=g("<span />",{"class":"ilightbox-alert",html:this.options.errors.missingPlugin.replace("{pluginspage}","http://www.apple.com/quicktime/download").replace("{type}","QuickTime")});break;case"flash":if(this.plugins.flash){var h="",l=0;b.options.flashvars?g.each(b.options.flashvars,function(a,b){0!=l&&(h+="&");h+=a+"="+encodeURIComponent(b);l++}
22):h=null;f=g("<embed />").attr({type:"application/x-shockwave-flash",src:b.URL,width:"number"==typeof b.options.width&&b.options.width&&"1"==this.options.minScale&&"1"==this.options.maxScale?b.options.width:"100%",height:"number"==typeof b.options.height&&b.options.height&&"1"==this.options.minScale&&"1"==this.options.maxScale?b.options.height:"100%",quality:"high",bgcolor:"#000000",play:"true",loop:"true",menu:"true",wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:"true",flashvars:h,fullscreen:"yes"})}else f=g("<span />",{"class":"ilightbox-alert",html:this.options.errors.missingPlugin.replace("{pluginspage}","http://www.adobe.com/go/getflash").replace("{type}","Adobe Flash player")});break;case"iframe":f=g("<iframe />").attr({width:"number"==typeof b.options.width&&b.options.width&&"1"==this.options.minScale&&"1"==this.options.maxScale?b.options.width:"100%",height:"number"==typeof b.options.height&&b.options.height&&"1"==this.options.minScale&&"1"==this.options.maxScale?b.options.height:"100%",src:b.URL,frameborder:0,hspace:0,vspace:0,scrolling:z?"auto":"scroll",webkitAllowFullScreen:"",mozallowfullscreen:"",allowFullScreen:""});break;case"inline":f=g('<div class="ilightbox-wrapper"></div>').html(g(b.URL).clone(!0));break;case"html":c=b.URL,c[0].nodeName||(c=g(b.URL),c=c.selector?g("<div>"+c+"</div>"):c),f=g('<div class="ilightbox-wrapper"></div>').html(c)}g("div.ilightbox-container",a).empty().html(f);"video"===f[0].tagName.toLowerCase()&&D.webkit&&setTimeout(function(){var a=f[0].currentSrc+"?"+M(3E4*S());f[0].currentSrc=a;f[0].src=a});return f},ogpRecognition:function(a,b){var c=this,d=a.URL;c.showLoader();ja(d,function(a){c.hideLoader();if(a){var d={length:!1};d.url=a.url;if(200==a.status){a=a.results;var e=a.type,g=a.source;d.source=g.src;d.width=g.width&&parseInt(g.width)||0;d.height=g.height&&parseInt(g.height)||0;d.type=e;d.thumbnail=g.thumbnail||a.images&&a.images[0];d.html5video=a.html5video||{};d.length=!0;"application/x-shockwave-flash"==g.type?d.type="flash":-1!=g.type.indexOf("video/")?d.type="video":-1!=g.type.indexOf("/html")?d.type="iframe":-1!=g.type.indexOf("image/")&&(d.type="image")}else if("undefined"!=typeof a.response)throw a.response;b.call(this,d.length?d:!1)}})},hashChangeHandler:function(a){var b=this.vars,c=this.options;a=U(a||p.location.href).hash;var d=a.split("/");b.hashLock||"#"+c.linkId!=d[0]&&1<a.length||(d[1]?(b=d[1]||0,this.items[b]?(a=g(".ilightbox-overlay"),a.length&&a.attr("linkid")==c.linkId?this.goTo(b):this.itemsObject[b].trigger(z?"itap":"click")):(a=g(".ilightbox-overlay"),a.length&&this.closeAction())):(a=g(".ilightbox-overlay"),a.length&&this.closeAction()))}};g.fn.iLightBox=function(){var a=arguments,b=g.isPlainObject(a[0])?a[0]:a[1],c=g.isArray(a[0])||"string"==typeof a[0]?a[0]:a[1];b||(b={});b=g.extend(!0,{attr:"href",path:"vertical",skin:"dark",linkId:!1,infinite:!1,startFrom:0,randomStart:!1,keepAspectRatio:!0,maxScale:1,minScale:.2,innerToolbar:!1,smartRecognition:!1,mobileOptimizer:!0,fullAlone:!0,fullViewPort:null,fullStretchTypes:"flash, video",overlay:{blur:!0,opacity:.85},controls:{arrows:!1,slideshow:!1,toolbar:!0,fullscreen:!0,thumbnail:!0,keyboard:!0,mousewheel:!0,swipe:!0},keyboard:{left:!0,right:!0,up:!0,down:!0,esc:!0,shift_enter:!0},show:{effect:!0,speed:300,title:!0},hide:{effect:!0,speed:300},caption:{start:!0,show:"mouseenter",hide:"mouseleave"},social:{start:!0,show:"mouseenter",hide:"mouseleave",buttons:!1},styles:{pageOffsetX:0,pageOffsetY:0,nextOffsetX:45,nextOffsetY:0,nextOpacity:1,nextScale:1,prevOffsetX:45,prevOffsetY:0,prevOpacity:1,prevScale:1},thumbnails:{maxWidth:120,maxHeight:80,normalOpacity:1,activeOpacity:.6},effects:{reposition:!0,repositionSpeed:200,switchSpeed:500,loadedFadeSpeed:180,fadeSpeed:200},slideshow:{pauseTime:5E3,pauseOnHover:!1,startPaused:!0},text:{close:"Press Esc to close",enterFullscreen:"Enter Fullscreen (Shift+Enter)",exitFullscreen:"Exit Fullscreen (Shift+Enter)",slideShow:"Slideshow",next:"Next",previous:"Previous"},errors:{loadImage:"An error occurred when trying to load photo.",loadContents:"An error occurred when trying to load contents.",missingPlugin:"The content your are attempting to view requires the <a href='{pluginspage}' target='_blank'>{type} plugin</a>."},ajaxSetup:{url:"",beforeSend:function(a,b){},cache:!1,complete:function(a,b){},crossDomain:!1,error:function(a,b,c){},success:function(a,b,c){},global:!0,ifModified:!1,username:null,password:null,type:"GET"},callback:{}},b);var d=g.isArray(c)||"string"==typeof c?!0:!1;c=g.isArray(c)?c:[];"string"==typeof a[0]&&(c[0]=a[0]);if(ka(g.fn.jquery,"1.8",">=")){var e=new fa(g(this),b,c,d);return{close:function(){e.closeAction()},fullscreen:function(){e.fullScreenAction()},moveNext:function(){e.moveTo("next")},movePrev:function(){e.moveTo("prev")},goTo:function(a){e.goTo(a)},refresh:function(){e.refresh()},reposition:function(){0<arguments.length?e.repositionPhoto(!0):e.repositionPhoto()},setOption:function(a){e.setOption(a)},destroy:function(){e.closeAction();e.dispatchItemsEvents()}}}throw"The jQuery version that was loaded is too old. iLightBox requires jQuery 1.8+";};g.iLightBox=function(a,b){return g.fn.iLightBox(a,b)};g.extend(g.easing,{easeInCirc:function(a,b,c,d,e){return-d*(P(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*P(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){return 1>(b/=e/2)?-d/2*(P(1-b*b)-1)+c:d/2*(P(1-(b-=2)*b)+1)+c}});(function(){g.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(a,b){g.fn[b]=function(a){return a?this.bind(b,a):this.trigger(b)}
22;g.attrFn&&(g.attrFn[b]=!0)});g.event.special.itap={setup:function(){var a=this,b=g(this),c,d;b.bind("touchstart.iTap",function(e){c=L();b.one("touchend.iTap",function(b){d=L();b=g.event.fix(b||p.event);b.type="itap";c&&d&&c.x==d.x&&c.y==d.y&&(g.event.dispatch||g.event.handle).call(a,b);c=d=Q})})},teardown:function(){g(this).unbind("touchstart.iTap")}}})();(function(){t={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""};browserPrefixes=["webkit","moz","o","ms","khtml"];if("undefined"!=typeof document.cancelFullScreen)t.supportsFullScreen=!0;else for(var a=0,b=browserPrefixes.length;a<b;a++)if(t.prefix=browserPrefixes[a],"undefined"!=typeof document[t.prefix+"CancelFullScreen"]){t.supportsFullScreen=!0;break}t.supportsFullScreen&&(t.fullScreenEventName=t.prefix+"fullscreenchange",t.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},t.requestFullScreen=function(a){return""===this.prefix?a.requestFullScreen():a[this.prefix+"RequestFullScreen"]()},t.cancelFullScreen=function(a){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()})})();(function(){var a=navigator.userAgent;a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||0>a.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];a=b[1]||"";b=b[2]||"0";D={};a&&(D[a]=!0,D.version=b);D.chrome?D.webkit=!0:D.webkit&&(D.safari=!0)})();(function(){function a(a){for(var d=0,f=b.length;d<f;d++){var h=b[d]?b[d]+a.charAt(0).toUpperCase()+a.slice(1):a;if(c.style[h]!==Q)return h}}var b=["","webkit","moz","ms","o"],c=document.createElement("div");B=a("transform")||"";H=a("perspective")?"translateZ(0) ":""})();var ha={version:"0.7.9",name:"PluginDetect",handler:function(a,b,c){return function(){a(b,c)}},openTag:"<",isDefined:function(a){return"undefined"!=typeof a},isArray:function(a){return/array/i.test(Object.prototype.toString.call(a))},isFunc:function(a){return"function"==typeof a},isString:function(a){return"string"==typeof a},isNum:function(a){return"number"==typeof a},isStrNum:function(a){return"string"==typeof a&&/\d/.test(a)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(a,b){var c=this.isStrNum(a)?(this.isDefined(b)?new RegExp(b):this.getNumRegx).exec(a):null;return c?c[0]:null},compareNums:function(a,b,c){var d=parseInt;if(this.isStrNum(a)&&this.isStrNum(b)){if(this.isDefined(c)&&c.compareNums)return c.compareNums(a,b);a=a.split(this.splitNumRegx);b=b.split(this.splitNumRegx);for(c=0;c<Y(a.length,b.length);c++){if(d(a[c],10)>d(b[c],10))return 1;if(d(a[c],10)<d(b[c],10))return-1}}return 0},formatNum:function(a,b){var c;if(!this.isStrNum(a))return null;this.isNum(b)||(b=4);b--;var d=a.replace(/\s/g,"").split(this.splitNumRegx).concat(["0","0","0","0"]);for(c=0;4>c;c++)if(/^(0+)(.+)$/.test(d[c])&&(d[c]=RegExp.$2),c>b||!/\d/.test(d[c]))d[c]="0";return d.slice(0,4).join(",")},$$hasMimeType:function(a){return function(b){if(!a.isIE&&b){var c,d,e=a.isArray(b)?b:a.isString(b)?[b]:[];for(d=0;d<e.length;d++)if(a.isString(e[d])&&/[^\s]/.test(e[d])&&(c=(b=navigator.mimeTypes[e[d]])?b.enabledPlugin:0)&&(c.name||c.description))return b}return null}},findNavPlugin:function(a,b,c){a=new RegExp(a,"i");b=!this.isDefined(b)||b?/\d/:0;c=c?new RegExp(c,"i"):0;var d=navigator.plugins,e;for(e=0;e<d.length;e++){var f=d[e].description||"";var h=d[e].name||"";if(a.test(f)&&(!b||b.test(RegExp.leftContext+RegExp.rightContext))||a.test(h)&&(!b||b.test(RegExp.leftContext+ 23RegExp.rightContext)))if(!c||!c.test(f)&&!c.test(h))return d[e]}return null},getMimeEnabledPlugin:function(a,b,c){var d;b=new RegExp(b,"i");c=c?new RegExp(c,"i"):0;var e,f=this.isString(a)?[a]:a;for(e=0;e<f.length;e++)if((d=this.hasMimeType(f[e]))&&(d=d.enabledPlugin)){var h=d.description||"";a=d.name||"";if(b.test(h)||b.test(a))if(!c||!c.test(h)&&!c.test(a))return d}return 0},getPluginFileVersion:function(a,b){var c,d,e=-1;if(2<this.OS||!a||!a.version||!(c=this.getNum(a.version)))return b;if(!b)return c;
23c=this.formatNum(c);b=this.formatNum(b);var f=b.split(this.splitNumRegx);var h=c.split(this.splitNumRegx);for(d=0;d<f.length;d++)if(-1<e&&d>e&&"0"!=f[d]||h[d]!=f[d]&&(-1==e&&(e=d),"0"!=f[d]))return b;return c},AXO:p.ActiveXObject,getAXO:function(a){var b=null;try{b=new this.AXO(a)}catch(c){}return b},convertFuncs:function(a){var b,c=/^[\$][\$]/;for(b in a)if(c.test(b))try{var d=b.slice(2);0<d.length&&!a[d]&&(a[d]=a[b](a),delete a[b])}catch(e){}},initObj:function(a,b,c){var d;if(a){if(1==a[b[0]]||c)for(d=0;d<b.length;d+=2)a[b[d]]=b[d+1];for(d in a)(c=a[d])&&1==c[b[0]]&&this.initObj(c,b)}},initScript:function(){var a=navigator,b,c=document,d=a.userAgent||"",e=a.vendor||"",f=a.platform||"";a=a.product||"";this.initObj(this,["$",this]);for(b in this.Plugins)this.Plugins[b]&&this.initObj(this.Plugins[b],["$",this,"$$",this.Plugins[b]],1);this.convertFuncs(this);this.OS=100;if(f){var h=["Win",1,"Mac",2,"Linux",3,"FreeBSD",4,"iPhone",21.1,"iPod",21.2,"iPad",21.3,"Win.*CE",22.1,"Win.*Mobile",22.2,"Pocket\\s*PC",22.3,"",100];for(b=h.length-2;0<=b;b-=2)if(h[b]&&(new RegExp(h[b],"i")).test(f)){this.OS=h[b+1];break}}this.head=c.getElementsByTagName("head")[0]||c.getElementsByTagName("body")[0]||c.body||null;this.verIE=(this.isIE=(new Function("return/*@cc_on!@*/!1"))())&&/MSIE\s*(\d+\.?\d*)/i.test(d)?parseFloat(RegExp.$1,10):null;this.docModeIE=this.verIEfull=null;if(this.isIE){b=document.createElement("div");try{b.style.behavior="url(#default#clientcaps)",this.verIEfull=b.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid").replace(/,/g,".")}catch(l){}b=parseFloat(this.verIEfull||"0",10);this.docModeIE=c.documentMode||(/back/i.test(c.compatMode||"")?5:b)||this.verIE;this.verIE=b||this.docModeIE}this.ActiveXEnabled=!1;if(this.isIE)for(c="Msxml2.XMLHTTP Msxml2.DOMDocument Microsoft.XMLDOM ShockwaveFlash.ShockwaveFlash TDCCtl.TDCCtl Shell.UIHelper Scripting.Dictionary wmplayer.ocx".split(" "),b=0;b<c.length;b++)if(this.getAXO(c[b])){this.ActiveXEnabled=!0;break}this.verGecko=(this.isGecko=/Gecko/i.test(a)&&/Gecko\s*\/\s*\d/i.test(d))?this.formatNum
23(/rv\s*\:\s*([\.\,\d]+)/i.test(d)?RegExp.$1:"0.9"):null;this.verChrome=(this.isChrome=/Chrome\s*\/\s*(\d[\d\.]*)/i.test(d))?this.formatNum(RegExp.$1):null;this.verSafari=(this.isSafari=(/Apple/i.test(e)||!e&&!this.isChrome)&&/Safari\s*\/\s*(\d[\d\.]*)/i.test(d))&&/Version\s*\/\s*(\d[\d\.]*)/i.test(d)?this.formatNum(RegExp.$1):null;this.verOpera=(this.isOpera=/Opera\s*[\/]?\s*(\d+\.?\d*)/i.test(d))&&(/Version\s*\/\s*(\d+\.?\d*)/i.test(d),1)?parseFloat(RegExp.$1,10):null;this.addWinEvent("load",this.handler(this.runWLfuncs,this))},init:function(a){var b={status:-3,plugin:0};if(!this.isString(a))return b;if(1==a.length)return this.getVersionDelimiter=a,b;a=a.toLowerCase().replace(/\s/g,"");var c=this.Plugins[a];if(!c||!c.getVersion)return b;b.plugin=c;this.isDefined(c.installed)||(c.installed=null,c.version=null,c.version0=null,c.getVersionDone=null,c.pluginName=a);this.garbage=!1;if(this.isIE&&!this.ActiveXEnabled&&"java"!==a)return b.status=-2,b;b.status=1;return b},fPush:function(a,b){this.isArray(b)&&(this.isFunc(a)||this.isArray(a)&&0<a.length&&this.isFunc(a[0]))&&b.push(a)},callArray:function(a){var b;if(this.isArray(a))for(b=0;b<a.length&&null!==a[b];b++)this.call(a[b]),a[b]=null},call:function(a){var b=this.isArray(a)?a.length:-1;if(0<b&&this.isFunc(a[0]))a[0](this,1<b?a[1]:0,2<b?a[2]:0,3<b?a[3]:0);else this.isFunc(a)&&a(this)},getVersionDelimiter:",",$$getVersion:function(a){return function(b,c,d){b=a.init(b);if(0>b.status)return null;b=b.plugin;1!=b.getVersionDone&&(b.getVersion(null,c,d),null===b.getVersionDone&&(b.getVersionDone=1));a.cleanup();return c=(c=b.version||b.version0)?c.replace(a.splitNumRegx,a.getVersionDelimiter):c}},cleanup:function(){this.garbage&&this.isDefined(p.CollectGarbage)&&p.CollectGarbage()},isActiveXObject:function(a,b){var c=!1,d='<object width="1" height="1" style="display:none" '+a.getCodeBaseVersion(b)+">"+a.HTML+this.openTag+"/object>";if(!this.head)return c;this.head.insertBefore(document.createElement("object"),this.head.firstChild);this.head.firstChild.outerHTML=d;try{this.head.firstChild.classid=a.classID}catch(e){}try{this.head.firstChild.object&&(c=!0)}catch(e){}try{c&&4>this.head.firstChild.readyState&&(this.garbage=!0)}catch(e){}this.head.removeChild(this.head.firstChild);return c},codebaseSearch:function(a,b){var c=this;if(!c.ActiveXEnabled||!a)return null;a.BIfuncs&&a.BIfuncs.length&&null!==a.BIfuncs[a.BIfuncs.length-1]&&c.callArray(a.BIfuncs);var d,e=a.SEARCH;if(c.isStrNum(b)){if(e.match&&e.min&&0>=c.compareNums(b,e.min))return!0;if(e.match&&e.max&&0<=c.compareNums(b,e.max))return!1;(d=c.isActiveXObject(a,b))&&(!e.min||0<c.compareNums(b,e.min))&&(e.min=b);d||e.max&&!(0>c.compareNums(b,e.max))||(e.max=b);return d}var f=[0,0,0,0],h=[].concat(e.digits),g=e.min?1:0,k,n=function(b,d){var e=[].concat(f);e[b]=d;return c.isActiveXObject(a,e.join(","))};if(e.max){d=e.max.split(c.splitNumRegx);for(k=0;k<d.length;k++)d[k]=parseInt(d[k],10);d[0]<h[0]&&(h[0]=d[0])}if(e.min){var m=e.min.split(c.splitNumRegx);for(k=0;k<m.length;k++)m[k]=parseInt(m[k],10);m[0]>f[0]&&(f[0]=m[0])}if(m&&d)for(k=1;k<m.length&&m[k-1]==d[k-1];k++)d[k]<h[k]&&(h[k]=d[k]),m[k]>f[k]&&(f[k]=m[k]);if(e.max)for(k=1;k<h.length;k++)if(0<d[k]&&0==h[k]&&h[k-1]<e.digits[k-1]){h[k-1]+=1;break}for(k=0;k<h.length;k++){m={};for(e=0;20>e&&!(1>h[k]-f[k]);e++){d=X((h[k]+f[k])/2);if(m["a"+d])break;m["a"+d]=1;n(k,d)?(f[k]=d,g=1):h[k]=d}h[k]=f[k];!g&&n(k,f[k])&&(g=1);if(!g)break}return g?f.join(","):null},addWinEvent:function(a,b){if(this.isFunc(b))if(p.addEventListener)p.addEventListener(a,b,!1);else if(p.attachEvent)p.attachEvent("on"+a,b);else{var c=p["on"+a];p["on"+a]=this.winHandler(b,c)}},winHandler:function(a,b){return function(){a();"function"==typeof b&&b()}},WLfuncs0:[],WLfuncs:[],runWLfuncs:function(a){a.winLoaded=!0;a.callArray(a.WLfuncs0);a.callArray(a.WLfuncs);if(a.onDoneEmptyDiv)a.onDoneEmptyDiv()},winLoaded:!1,$$onWindowLoaded:function(a){return function(b){a.winLoaded?a.call(b):a.fPush(b,a.WLfuncs)}},div:null,divID:"plugindetect",divWidth:50,pluginSize:1,emptyDiv:function(){var a,b,c;if(this.div&&this.div.childNodes)for(a=this.div.childNodes.length-1;0<=a;a--){if((c=this.div.childNodes[a])&&c.childNodes)for(b=c.childNodes.length-1;0<=b;b--){var d=c.childNodes[b];try{c.removeChild(d)}catch(e){}}if(c)try{this.div.removeChild(c)}catch(e){}}!this.div&&(a=document.getElementById(this.divID))&&(this.div=a);if(this.div&&this.div.parentNode){try{this.div.parentNode.removeChild(this.div)}catch(e){}this.div=null}},DONEfuncs:[],onDoneEmptyDiv:function(){var a,b;if(this.winLoaded&&(!this.WLfuncs||!this.WLfuncs.length||null===this.WLfuncs[this.WLfuncs.length-1])){for(a in this)if((b=this[a])&&b.funcs&&(3==b.OTF||b.funcs.length&&null!==b.funcs[b.funcs.length-1]))return;for(a=0;a<this.DONEfuncs.length;a++)this.callArray(this.DONEfuncs);
23this.emptyDiv()}},getWidth:function(a){return a&&(a=a.scrollWidth||a.offsetWidth,this.isNum(a))?a:-1},getTagStatus:function(a,b,c,d){var e=a.span,f=this.getWidth(e);c=c.span;var g=this.getWidth(c);b=b.span;var l=this.getWidth(b);if(!(e&&c&&b&&this.getDOMobj(a)))return-2;if(g<l||0>f||0>g||0>l||l<=this.pluginSize||1>this.pluginSize)return 0;if(f>=l)return-1;try{if(f==this.pluginSize&&(!this.isIE||4==this.getDOMobj(a).readyState)&&(!a.winLoaded&&this.winLoaded||a.winLoaded&&this.isNum(d)&&(this.isNum(a.count)||(a.count=d),10<=d-a.count)))return 1}catch(k){}return 0},getDOMobj:function(a,b){var c=a?a.span:0,d=c&&c.firstChild?1:0;try{d&&b&&this.div.focus()}catch(e){}return d?c.firstChild:null},setStyle:function(a,b){var c=a.style,d;if(c&&b)for(d=0;d<b.length;d+=2)try{c[b[d]]=b[d+1]}catch(e){}},insertDivInBody:function(a,b){var c=null,d=b?p.top.document:p.document,e=d.getElementsByTagName("body")[0]||d.body;if(!e)try{d.write('<div id="pd33993399">.'+this.openTag+"/div>"),c=d.getElementById("pd33993399")}catch(f){}if(e=d.getElementsByTagName("body")[0]||d.body)e.insertBefore(a,e.firstChild),c&&e.removeChild(c)},insertHTML:function(a,b,c,d,e){e=document;var f=e.createElement("span"),g,l="outlineStyle none borderStyle none padding 0px margin 0px visibility visible".split(" ");this.isDefined(d)||(d="");if(this.isString(a)&&/[^\s]/.test(a)){a=a.toLowerCase().replace(/\s/g,"");var k=this.openTag+a+' width="'+this.pluginSize+'" height="'+this.pluginSize+'" ';k+='style="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;display:inline;" ';for(g=0;g<b.length;g+=2)/[^\s]/.test(b[g+1])&&(k+=b[g]+'="'+b[g+1]+'" ');k+=">";for(g=0;g<c.length;g+=2)/[^\s]/.test(c[g+1])&&(k+=this.openTag+'param name="'+c[g]+'" value="'+c[g+1]+'" />');k+=d+this.openTag+"/"+ 24a+">"}else k=d;this.div||((b=e.getElementById(this.divID))?this.div=b:(this.div=e.createElement("div"),this.div.id=this.divID),this.setStyle(this.div,l.concat(["width",this.divWidth+"px","height",this.pluginSize+3+"px","fontSize",this.pluginSize+3+"px","lineHeight",this.pluginSize+3+"px","verticalAlign","baseline","display","block"])),b||(this.setStyle(this.div,"position absolute right 0px top 0px".split(" ")),this.insertDivInBody(this.div)));if(this.div&&this.div.parentNode){this.setStyle(f,l.concat(["fontSize",this.pluginSize+3+"px","lineHeight",this.pluginSize+3+"px","verticalAlign","baseline","display","inline"]));try{f.innerHTML=k}catch(n){}try{this.div.appendChild(f)}catch(n){}return{span:f,winLoaded:this.winLoaded,tagName:a,outerHTML:k}}return{span:null,winLoaded:this.winLoaded,tagName:"",outerHTML:k}},Plugins:{quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:'<param name="src" value="" /><param name="controller" value="false" />',getCodeBaseVersion:function(a){return'codebase="#version='+a+'"'},SEARCH:{min:0,max:0,match:0,digits:[16,128,128,0]},getVersion:function(a){var b=this.$,c=null,d=null;if(b.isIE){b.isStrNum(a)&&(a=a.split(b.splitNumRegx),3<a.length&&0<parseInt(a[3],10)&&(a[3]="9999"),a=a.join(","));if(b.isStrNum(a)&&b.verIE>=this.minIEver&&0<this.canUseIsMin()){this.installed=this.isMin(a);this.getVersionDone=0;return}this.getVersionDone=1;!c&&b.verIE>=this.minIEver&&(c=this.CDBASE2VER(b.codebaseSearch(this)));c||(d=b.getAXO(this.progID))&&d.QuickTimeVersion&&(c=d.QuickTimeVersion.toString(16),c=parseInt(c.charAt(0),16)+"."+parseInt(c.charAt(1),16)+"."+parseInt(c.charAt(2),16))}else b.hasMimeType(this.mimeType)&&(d=3!=b.OS?b.findNavPlugin("QuickTime.*Plug-?in",0):null)&&d.name&&(c=b.getNum(d.name));this.installed=c?1:d?0:-1;this.version=b.formatNum(c,3)},cdbaseUpper:["7,60,0,0","0,0,0,0"],cdbaseLower:["7,50,0,0",null],cdbase2ver:[function(a,b){var c=b.split(a.$.splitNumRegx);return[c[0],c[1].charAt(0),c[1].charAt(1),c[2]].join()},null],CDBASE2VER:function(a){var b=this.$,c,d=this.cdbaseUpper,e=this.cdbaseLower;if(a)for(a=b.formatNum(a),c=0;c<d.length;c++)if(d[c]&&0>b.compareNums(a,d[c])&&e[c]&&0<=b.compareNums(a,e[c])&&this.cdbase2ver[c])return this.cdbase2ver[c](this,a);return a},canUseIsMin:function(){var a=this.$,b,c=this.canUseIsMin,d=this.cdbaseUpper,e=this.cdbaseLower;if(!c.value)for(c.value=-1,b=0;b<d.length;b++){if(d[b]&&a.codebaseSearch(this,d[b])){c.value=1;break}if(e[b]&&a.codebaseSearch(this,e[b])){c.value=-1;break}}this.SEARCH.match=1==c.value?1:0;return c.value},isMin:function(a){return this.$.codebaseSearch(this,a)?.7:-1}},flash:{mimeType:"application/x-shockwave-flash",progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var a=function(a){return a?(a=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(a))?a[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null:null},b=this.$,c,d=null,e=null,f=null;if(b.isIE){for(c=15;2<c;c--)if(e=b.getAXO(this.progID+"."+c)){f=c.toString();break}e||(e=b.getAXO(this.progID));if("6"==f)try{e.AllowScriptAccess="always"}catch(h){return"6,0,21,0"}try{d=a(e.GetVariable("$version"))}catch(h){}!d&&f&&(d=f)}else{if(e=b.hasMimeType(this.mimeType)){c=b.getDOMobj(b.insertHTML("object",["type",this.mimeType],[],"",this));try{d=b.getNum(c.GetVariable("$version"))}catch(h){}}d||((c=e?e.enabledPlugin:null)&&c.description&&(d=a(c.description)),d&&(d=b.getPluginFileVersion(c,d)))}this.installed=d?1:-1;
24this.version=b.formatNum(d);return!0}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var a=null,b=null,c=this.$;if(c.isIE){try{b=c.getAXO(this.progID).ShockwaveVersion("")}catch(d){}c.isString(b)&&0<b.length?a=c.getNum(b):c.getAXO(this.progID+".8")?a="8":c.getAXO(this.progID+".7")?a="7":c.getAXO(this.progID+".1")&&(a="6")}else(b=c.findNavPlugin("Shockwave\\s*for\\s*Director"))&&b.description&&c.hasMimeType(this.mimeType)&&(a=c.getNum(b.description)),a&&(a=c.getPluginFileVersion(b,a));this.installed=a?1:-1;this.version=c.formatNum(a)}},zz:0}};ha.initScript();var na='The "%%" function requires an even number of arguments.\nArguments should be in the form "atttributeName", "attributeValue", ...',r=null;(function(){function a(a){a=a||location.href;return"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}var b=document,c=g.event.special,d=b.documentMode,e="oniLightBoxHashChange"in p&&(void 0===d||7<d);g.fn.iLightBoxHashChange=function(a){return a?this.bind("iLightBoxHashChange",a):this.trigger("iLightBoxHashChange")};g.fn.iLightBoxHashChange.delay=50;c.iLightBoxHashChange=g.extend(c.iLightBoxHashChange,{setup:function(){if(e)return!1;g(f.start)},teardown:function(){if(e)return!1;g(f.stop)}});var f=function(){function c(){var b=a(),d=t(n);b!==n?(r(n=b,d),g(p).trigger("iLightBoxHashChange")):d!==n&&(location.href=location.href.replace(/#.*/,"")+d);f=setTimeout(c,g.fn.iLightBoxHashChange.delay)} 25var d={},f,n=a(),m=function(a){return a},r=m,t=m;d.start=function(){f||c()};d.stop=function(){f&&clearTimeout(f);f=void 0};D.msie&&!e&&function(){var e,f;d.start=function(){e||(f=(f=g.fn.iLightBoxHashChange.src)&&f+a(),e=g('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){f||r(a());c()}).attr("src",f||"javascript:0").insertAfter("body")[0].contentWindow,b.onpropertychange=function(){try{"title"===event.propertyName&&(e.document.title=b.title)}catch(v){}})};d.stop=m;t=function(){return a(e.location.href)};r=function(a,c){var d=e.document,f=g.fn.iLightBoxHashChange.domain;a!==c&&(d.title=b.title,d.open(),f&&d.write('<script>document.domain="'+f+'"\x3c/script>'),d.close(),e.location.hash=a)}}();return d}()})();Array.prototype.filter||(Array.prototype.filter=function(a,b){if(null==this)throw new TypeError;var c=Object(this),d=c.length>>>0;if("function"!=typeof a)throw new TypeError;for(var e=[],f=0;f<d;f++)if(f in c){var g=c[f];a.call(b,g,f,c)&&e.push(g)}return e});Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){if(null==this)throw new TypeError('"this" is null or not defined');var c=Object(this),d=c.length>>>0;if(0===d)return-1;var e=+b||0;Infinity===I(e)&&(e=0);if(e>=d)return-1;for(e=ca(0<=e?e:d-I(e),0);e<d;){if(e in c&&c[e]===a)return e;e++}return-1});Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a){if(null==this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=c;1<arguments.length&&(d=Number(arguments[1]),d!=d?d=0:0!=d&&d!=1/0&&d!=-(1/0)&&(d=(0<d||-1)*M(I(d))));for(c=0<=d?Y(d,c-1):c-I(d);0<=c;c--)if(c in b&&b[c]===a)return c;return-1})})(jQuery,this);!function(e){function t(t){var n=t||window.event,i=[].slice.call(arguments,1),l=0,s=0,o=0;return t=e.event.fix(n),t.type="mousewheel",n.wheelDelta&&(l=n.wheelDelta/120),n.detail&&(l=-n.detail/3),o=l,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*l),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),i.unshift(t,l,s,o),(e.event.dispatch||e.event.handle).apply(this,i)}var n=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var i=n.length;i;)e.event.fixHooks[n[--i]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery);!function(a,b,c){for(var e,d=0,f=function(a){e&&(b.requestAnimationFrame(f,a),jQuery.fx.tick())}
25,g=["ms","moz","webkit","o"],h=0,i=g.length;h<i&&!b.requestAnimationFrame;++h)b.requestAnimationFrame=b[g[h]+"RequestAnimationFrame"],b.cancelAnimationFrame=b[g[h]+"CancelAnimationFrame"]||b[g[h]+"CancelRequestAnimationFrame"];b.requestAnimationFrame||(b.requestAnimationFrame=function(a,c){var e=(new Date).getTime(),f=e-d,g=Math.max(0,16-f),h=b.setTimeout(function(){a(e+g)},g);return d=e+g,h}),b.cancelAnimationFrame||(b.cancelAnimationFrame=function(a){clearTimeout(a)}),jQuery.fx.timer=function(a){a()&&jQuery.timers.push(a)&&!e&&(e=!0,f(a.elem))},jQuery.fx.stop=function(){e=!1}}(jQuery,this);jQuery(document).ready(function(){'use strict';var $entryContent=jQuery('div.entry');jQuery('a.lightbox-enabled').iLightBox({skin:tie.lightbox_skin,path:tie.lightbox_thumb,controls:{arrows:tie.lightbox_arrows},callback:{onHide:function(){setTimeout(function(){jQuery('html').removeAttr('style');},300);}}});if(tie.lightbox_all){$entryContent.find('a').not('.gallery a').not('.wp-block-gallery a').not('.tiled-gallery a').each(function(i,el){var href_value=el.href;if(/\.(jpg|jpeg|png|gif|webp|avif)$/.test(href_value.replace('?ssl=1',''))){jQuery(this).iLightBox({skin:tie.lightbox_skin,callback:{onHide:function(){setTimeout(function(){jQuery('html').removeAttr('style');},300);}}});}});if(tie.lightbox_gallery){$entryContent.find('.gallery a, .wp-block-gallery a, .tiled-gallery a').each(function(i,el){var href_value=el.href;if(/\.(jpg|jpeg|png|gif|webp|avif)$/.test(href_value.replace('?ssl=1',''))){jQuery(this).addClass('ilightbox-gallery');}});$entryContent.find('.ilightbox-gallery').iLightBox({skin:tie.lightbox_skin,path:tie.lightbox_thumb,controls:{arrows:tie.lightbox_arrows},callback:{onHide:function(){setTimeout(function(){jQuery('html').removeAttr('style');},300);}}});}}}); 26!function(t,e,i){function o(t,e){return typeof t===e}function n(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):u?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function s(){var t=e.body;return t||((t=n(u?"svg":"body")).fake=!0),t}var a=[],r=[],d={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var i=this;setTimeout((function(){e(i[t])}),0)},addTest:function(t,e,i){r.push({name:t,fn:e,options:i})},addAsyncTest:function(t){r.push({name:null,fn:t})}},l=function(){};l.prototype=d,l=new l;var c=d._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];d._prefixes=c;var h=e.documentElement,u="svg"===h.nodeName.toLowerCase();d.testStyles=function(t,i,o,a){var r,d,l,c,u="modernizr",f=n("div"),m=s();if(parseInt(o,10))for(;o--;)(l=n("div")).id=a?a[o]:u+(o+1),f.appendChild(l);return(r=n("style")).type="text/css",r.id="s"+u,(m.fake?m:f).appendChild(r),m.appendChild(f),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(e.createTextNode(t)),f.id=u,m.fake&&(m.style.background="",m.style.overflow="hidden",c=h.style.overflow,h.style.overflow="hidden",h.appendChild(m)),d=i(f,t),m.fake?(m.parentNode.removeChild(m),h.style.overflow=c,h.offsetHeight):f.parentNode.removeChild(f),!!d},function(){var t,e,i,n,s,d;for(var c in r)if(r.hasOwnProperty(c)){if(t=[],(e=r[c]).name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(i=0;i<e.options.aliases.length;i++)t.push(e.options.aliases[i].toLowerCase());for(n=o(e.fn,"function")?e.fn():e.fn,s=0;s<t.length;s++)1===(d=t[s].split(".")).length?l[d[0]]=n:(!l[d[0]]||l[d[0]]instanceof Boolean||(l[d[0]]=new Boolean(l[d[0]])),l[d[0]][d[1]]=n),a.push((n?"":"no-")+d.join("-"))}}(),function(t){var e=h.className,i=l._config.classPrefix||"";if(u&&(e=e.baseVal),l._config.enableJSClass){var o=new RegExp("(^|s)"+i+"no-js(s|$)");e=e.replace(o,"$1"+i+"js$2")}l._config.enableClasses&&(e+=" "+i+t.join(" "+i),u?h.className.baseVal=e:h.className=e)}(a),delete d.addTest,delete d.addAsyncTest;for(var f=0;f<l._q.length;f++)l._qm;t.Modernizr=l}(window,document),function(t){t.fn.theiaStickySidebar=function(e){function i(e,i){return!0===e.initialized||!(t("body").width()<e.minWidth)&&(function(e,i){e.initialized=!0,i.each((function(){var i={};i.sidebar=t(this),i.options=e||{},i.container=t(i.options.containerSelector),0==i.container.length&&(i.container=i.sidebar.parent()),i.sidebar.css({position:i.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),i.stickySidebar=i.sidebar.find(".theiaStickySidebar"),i.marginBottom=parseInt(i.sidebar.css("margin-bottom")),i.paddingTop=parseInt(i.sidebar.css("padding-top")),i.paddingBottom=parseInt(i.sidebar.css("padding-bottom"));var n=i.stickySidebar.offset().top,s=i.stickySidebar.outerHeight();function a(){i.fixedScrollTop=0,i.sidebar.removeClass("is-fixed").css({"min-height":"1px"}),i.stickySidebar.css({position:"static",width:"",transform:"none"})}i.stickySidebar.css("padding-top",1),i.stickySidebar.css("padding-bottom",1),n-=i.stickySidebar.offset().top,s=i.stickySidebar.outerHeight()-s-n,0==n?(i.stickySidebar.css("padding-top",0),i.stickySidebarPaddingTop=0):i.stickySidebarPaddingTop=1,0==s?(i.stickySidebar.css("padding-bottom",0),i.stickySidebarPaddingBottom=0):i.stickySidebarPaddingBottom=1,i.previousScrollTop=null,i.fixedScrollTop=0,a(),i.onScroll=function(i){if(i.stickySidebar.is(":visible"))if(t("body").width()<i.options.minWidth)a();else{if(i.options.disableOnResponsiveLayouts)if(i.sidebar.outerWidth("none"==i.sidebar.css("float"))+50>i.container.width())return void a();var n,s,r=t(document).scrollTop(),d="static";if(r>=i.sidebar.offset().top+(i.paddingTop-i.options.additionalMarginTop)){var l,c=i.paddingTop+e.additionalMarginTop,h=i.paddingBottom+i.marginBottom+e.additionalMarginBottom,u=i.sidebar.offset().top,f=i.sidebar.offset().top+(n=i.container,s=n.height(),n.children().each((function(){s=Math.max(s,t(this).height())})),s),m=0+e.additionalMarginTop;l=i.stickySidebar.outerHeight()+c+h<t(window).height()?m+i.stickySidebar.outerHeight():t(window).height()-i.marginBottom-i.paddingBottom-e.additionalMarginBottom;var p=u-r+i.paddingTop,g=f-r-i.paddingBottom-i.marginBottom,b=i.stickySidebar.offset().top-r,y=i.previousScrollTop-r;"fixed"==i.stickySidebar.css("position")&&"modern"==i.options.sidebarBehavior&&(b+=y),"stick-to-top"==i.options.sidebarBehavior&&(b=e.additionalMarginTop),"stick-to-bottom"==i.options.sidebarBehavior&&(b=l-i.stickySidebar.outerHeight()),b=y>0?Math.min(b,m):Math.max(b,l-i.stickySidebar.outerHeight()),b=Math.max(b,p),b=Math.min(b,g-i.stickySidebar.outerHeight());var v=i.container.height()==i.stickySidebar.outerHeight();d=!v&&b==m||!v&&b==l-i.stickySidebar.outerHeight()?"fixed":r+b-i.sidebar.offset().top-i.paddingTop<=e.additionalMarginTop?"static":"absolute"}if("fixed"==d){var w=t(document).scrollLeft();i.stickySidebar.css({position:"fixed",width:o(i.stickySidebar)+"px",transform:"translateY("+b+"px)",left:i.sidebar.offset().left+parseInt(i.sidebar.css("padding-left"))-w+"px",top:"0px"})}else if("absolute"==d){var S={};"absolute"!=i.stickySidebar.css("position")&&(S.position="absolute",
26S.transform="translateY("+(r+b-i.sidebar.offset().top-i.stickySidebarPaddingTop-i.stickySidebarPaddingBottom)+"px)",S.top="0px"),S.width=o(i.stickySidebar)+"px",S.left="",i.stickySidebar.css(S)}else"static"==d&&a();"static"!=d&&(1==i.options.updateSidebarHeight&&i.sidebar.addClass("is-fixed").css({"min-height":i.stickySidebar.outerHeight()+i.stickySidebar.offset().top-i.sidebar.offset().top+i.paddingBottom}),i.sidebar.hasClass("is-alreay-loaded")||(tie_animate_element(i.sidebar),i.sidebar.addClass("is-alreay-loaded"))),i.previousScrollTop=r}},i.onScroll(i),t(document).on("scroll."+i.options.namespace,function(t){return function(){t.onScroll(t)}}(i)),t(window).on("resize."+i.options.namespace,function(t){return function(){t.stickySidebar.css({position:"static"}),t.onScroll(t)}}(i)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(i.stickySidebar[0],function(t){return function(){t.onScroll(t)}}(i))}))}(e,i),!0)}function o(t){var e;try{e=t[0].getBoundingClientRect().width}catch(t){}return void 0===e&&(e=t.width()),e}return(e=t.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},e)).additionalMarginTop=parseInt(e.additionalMarginTop)||0,e.additionalMarginBottom=parseInt(e.additionalMarginBottom)||0,function(e,o){i(e,o)||(console.log("TSS: Body
26width smaller than options.minWidth. Init is delayed."),t(document).on("scroll."+e.namespace,function(e,o){return function(n){i(e,o)&&t(this).unbind(n)}}(e,o)),t(window).on("resize."+e.namespace,function(e,o){return function(n){i(e,o)&&t(this).unbind(n)}}(e,o)))}(e,this),this}}(jQuery),function(t){t&&(t.fn.tiesticky=function(e){return this.each((function(){var i=t(this),o=i.data("tiesticky"),n="object"==typeof e&&e;n=t.extend(!0,{},TieSticky.options,n),o||((o=new TieSticky(this,n)).init(),i.data("tiesticky",o)),"string"==typeof e&&(o[e](),"destroy"===e&&i.removeData("tiesticky"))}))})}(window.jQuery),function(t,e){"use strict";"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.TieSticky=e()}(this,(function(){"use strict";var t={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};function e(t){this.callback=t,this.ticking=!1}function i(t,e){var o;e=function t(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var i,o,n,s=e||{};for(o=1;o<arguments.length;o++){var a=arguments[o]||{};for(i in a)"object"!=typeof s[i]||(n=s[i])&&"undefined"!=typeof window&&(n===window||n.nodeType)?s[i]=s[i]||a[i]:s[i]=t(s[i],a[i])}return s}(e,i.options),this.lastKnownScrollY=0,this.elem=t,this.tolerance=(o=e.tolerance)===Object(o)?o:{down:o,up:o},this.classes=e.classes,this.behaviorMode=e.behaviorMode,this.scroller=e.scroller,this.initialised=!1,this.onPin=e.onPin,this.onUnpin=e.onUnpin,this.onTop=e.onTop,this.onNotTop=e.onNotTop,this.onBottom=e.onBottom,this.onNotBottom=e.onNotBottom,this.offset=e.offset,this.windwidth=e.windwidth,this.offset="default"!=this.behaviorMode?this.offset+this.elem.offsetHeight:this.offset,this.offset=$body.hasClass("admin-bar")?this.offset-e.adminBarH:this.offset,this.offset=$body.hasClass("border-layout")?this.offset-25:this.offset,this.offset=$body.hasClass("border-layout")&&this.windwidth<992?this.offset+25:this.offset,this.menuHeight=e.menuHeight,this.isHightestThanSticky=e.isHightestThanSticky,this.heightDiff=e.heightDiff}return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,e.prototype={constructor:e,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},i.prototype={constructor:i,init:function(){if(i.cutsTheMustard)return"default"==this.behaviorMode&&this.elem.classList.add("default-behavior-mode"),this.debouncer=new e(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var t=this.classes;this.initialised=!0,this.elem.classList.remove(t.unpinned,t.pinned,t.top,t.notTop,t.initial,"fixed-nav"),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var t=this.elem.classList,e=this.classes;!t.contains(e.pinned)&&t.contains(e.unpinned)||(t.add(e.unpinned),t.remove(e.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var t=this.elem.classList,e=this.classes;t.contains(e.unpinned)&&(t.remove(e.unpinned),t.add(e.pinned),this.onPin&&this.onPin.call(this))},top:function(){var t=this.elem.classList,e=this.classes;t.contains(e.top)||(t.add(e.top),t.remove(e.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notTop)||(t.add(e.notTop),t.remove(e.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.bottom)||(t.add(e.bottom),t.remove(e.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var t=this.elem.classList,e=this.classes;t.contains(e.notBottom)||(t.add(e.notBottom),t.remove(e.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
26,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(t){return Math.max(t.offsetHeight,t.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var t=document.body,e=document.documentElement;return Math.max(t.scrollHeight,e.scrollHeight,t.offsetHeight,e.offsetHeight,t.clientHeight,e.clientHeight)},getElementHeight:function(t){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(t){var e=t<0,i=t+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return e||i},toleranceExceeded:function(t,e){return Math.abs(t-this.lastKnownScrollY)>=this.tolerance[e]},shouldUnpin:function(t,e){var i=t>this.lastKnownScrollY,o=t>=this.offset;return i&&o&&e},shouldPin:function(t,e){var i=t<this.lastKnownScrollY,o=t<=this.offset;return i&&e||o},update:function(){var t=this.getScrollY(),e=t>this.lastKnownScrollY?"down":"up",i=this.toleranceExceeded(t,e);this.isOutOfBounds(t)||("default"==this.behaviorMode&&this.isHightestThanSticky&&this.offset<t&&t<this.offset+this.heightDiff?this.elem.classList.add("just-before-sticky"):this.elem.classList.remove("just-before-sticky"),t<=this.offset-this.elem.offsetHeight&&"default"!=this.behaviorMode?(this.top(),this.elem.classList.add("unpinned-no-transition")):t<=this.offset&&"default"==this.behaviorMode?this.top():t>this.offset&&(this.notTop(),"default"==this.behaviorMode&&t<this.offset+100&&jQuery("#autocomplete-suggestions").hide()),t+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(t,i)?this.unpin():this.shouldPin(t,i)&&(this.pin(),t>this.offset&&"default"!=this.behaviorMode&&(this.elem.classList.remove("unpinned-no-transition"),jQuery("#autocomplete-suggestions").hide())),this.lastKnownScrollY=t)}},i.options={tolerance:{up:0,down:0},offset:0,behaviorMode:"upwards",scroller:window,classes:{initial:"fixed",pinned:"fixed-pinned",unpinned:"fixed-unpinned",top:"fixed-top",notTop:"fixed-nav",bottom:"fixed-bottom",notBottom:"fixed-not-bottom"}},i.cutsTheMustard=void 0!==t&&t.rAF&&t.bind&&t.classList,i}));var megaMenuAjax=!1;jQuery(document).ready((function(){"use strict";function t(t,e,i,o,n,s,a,r){var d=7,l=!0;n&&!t.hasClass("is-loaded")&&(t.addClass("is-loaded"),i?(d=o,l=!1):t.hasClass("menu-item-has-children")&&(d=4),megaMenuAjax=jQuery.ajax({url:tie.ajaxurl,type:"post",data:{action:"tie_mega_menu_load_ajax",id:n,featured:l,number:d,is_pagination:a,page:r,post_icon:s},beforeSend:function(){e.find(".loader-overlay").length||e.addClass("is-loading").append(tie.ajax_loader)},success:function(t){if(l){i=jQuery(t);e.html(i)}else{var i='<div class="megamenu-loaded-ajax" id="loaded-'+n+'" data-id="'+n+'" data-icon="'+s+'" data-current="'+r+'">'+t+"</div>";e.append(i)}e.find(".megamenu-loaded-ajax").hide();var o=e.find("#loaded-"+n+", .mega-check-also").show().find(".mega-menu-post"),a=e.find(".mega-recent-post"),d=0;a.add(o).each((function(){d++,jQuery(this).addClass("tie-animate-slideInUp").attr("style","animation-delay: 0."+d+"s")})),e.find(".slider-arrow-nav").fadeIn("slow"),tie_animate_element(e)},error:function(){t.removeClass("is-loaded"),a&&setTimeout((function(){t.find(".mega-menu-block").removeAttr("style")}),100)},complete:function(){e.removeClass("is-loading").find(".loader-overlay").remove(),a&&setTimeout((function(){t.find(".mega-menu-block").removeAttr("style")}),100)}}))}function e(){if($mainNav.length){var t,e=window.innerWidth;if(e>992){$body.hasClass("admin-bar")&&(t=e<783?46:32,t=e<601?0:t);var i=$mainNav.outerHeight();$mainNav.parent().css({height:i}),$mainNav.tiesticky("destroy"),$mainNav.tiesticky({offset:$mainNav.offset().top,behaviorMode:tie.sticky_behavior,tolerance:{up:0,down:0},windwidth:e,menuHeight:i,heightDiff:i-60,adminBarH:t,isHightestThanSticky:i>60})}}}tie.lazyload&&$mainNav.on("mouseenter",".mega-menu",(function(){var t=jQuery(this).find("[data-lazy-bg]"),e="";null!==t.attr("style")&&(e=t.attr("style")),t.attr("style",e+"background-image:url("+t.data("lazy-bg")+")"),t.removeAttr("data-lazy-bg")})),$mainNav.on("mouseenter",".mega-menu-posts",(function(){var e=jQuery(this),i=e.attr("data-id"),o=e.attr("data-icon"),n=e.attr("data-pagination"),s=e.find(".mega-ajax-content"),a=!1,r=0;e.hasClass("mega-cat")&&(a=!0,r=5,e.has(".cats-vertical").length&&(r=4)),t(e,s,a,r,i,o,n,1)})),$mainNav.on("mouseenter",".mega-sub-cat",(function(){var e=jQuery(this),i=e.attr("data-id"),o=e.attr("data-icon"),n=e.closest(".mega-menu-posts").attr("data-pagination");if(!e.hasClass("is-active")){var s=e.closest(".mega-menu"),a=s.find(".mega-ajax-content"),r=5;if(s.has(".cats-vertical").length&&(r=4),s.find(".mega-sub-cat").removeClass("is-active"),e.addClass("is-active"),a.find("#loaded-"+i).length){a.find(".megamenu-loaded-ajax").hide();a.find("#loaded-"+i+", .mega-check-also .megamenu-loaded-ajax").show();return!1}return e.removeClass("is-loaded"),t(e,a,!0,r,i,o,n,1),!1}})),$mainNav.on("click",".megamenu-pagination",(function(){var e=jQuery(this),i=e.closest(".mega-menu-posts"),o=e.closest("[data-id]"),n=i.find(".mega-ajax-content"),s=o.attr("data-id"),a=o.attr("data-current"),r=o.attr("data-icon"),d=i.attr("data-pagination"),l=!1,c=0;if(d&&(null==a||isNaN(a))&&(a=1),e.hasClass("pagination-disabled"))return!1;e.hasClass("next-posts")?a++:e.hasClass("prev-posts")&&a--,i.find(".mega-menu-block").css({display:"block"}),i.removeClass("is-loaded"),i.hasClass("mega-cat")?(l=!0,c=5,i.has(".cats-vertical").length&&(c=4),i.find("#loaded-"+s).fadeOut("fast",(function(){jQuery(this).remove()}))):i.hasClass("mega-recent-featured")&&i.attr("data-current",a),t(i,n,l,c,s,r,d,a)})),tie.sticky_desktop&&(e(),$window.resize(e)),function(){if(jQuery.fn.theiaStickySidebar){var t=jQuery(".is-sticky",".main-content-row");
26if(t.length){var e=tie.sticky_desktop?68:0;e="default"!=tie.sticky_behavior?8:e,e=$body.hasClass("admin-bar")?e+32:e,e=$body.hasClass("border-layout")?e+30:e,t.theiaStickySidebar({additionalMarginTop:e,additionalMarginBottom:35,minWidth:990})}}}(),jQuery("nav > ul","#theme-header").on("focus.wparia mouseenter.wparia",'[aria-haspopup="true"]',(function(t){jQuery(t.currentTarget).attr("aria-expanded",!0)})),jQuery("nav > ul","#theme-header").on("blur.wparia mouseleave.wparia",'[aria-haspopup="true"]',(function(t){jQuery(t.currentTarget).attr("aria-expanded",!1)}));var i=navigator.userAgent;i.match(/iPad/i)&&i.search("Safari")>=0&&i.search("Chrome")<0&&jQuery("#main-nav li.menu-item-has-children a, #main-nav li.mega-menu a, .top-bar li.menu-item-has-children a").attr("onclick","return true")})); 27(function($){$(window).load(function(){$(document).ready(function(){$("#go-feedback, .leaf-helpful-dislike").on('click',function(event){if(this.hash!==""){event.preventDefault();var hash=this.hash;$('html, body').animate({scrollTop:$(hash).offset().top},800,function(){window.location.hash=hash;});}});});var leafHelpful=document.getElementsByClassName('leaf-helpful')[0];var leafChooseLike=document.getElementsByClassName('leaf-choose-like')[0];var leafHelpfulLike=document.getElementsByClassName('leaf-helpful-like')[0];if(leafHelpful){leafHelpfulLike.addEventListener('click',function(){setTimeout(function(){leafHelpful.style.display='none';leafChooseLike.style.display='block';},1000);});} 28$(".meta-author a").hover(function(){$(this).attr("title","");$(".leaf-author-bio-header").toggle();});var cookieNotice=document.querySelector('.leafio-cookie-notice');if(cookieNotice){var cookieNoticeOK=document.getElementById('leafio-cookie-notice-ok');cookieNoticeOK.addEventListener('click',function(){var expiryDate=new Date();expiryDate.setMonth(expiryDate.getMonth()+1);document.cookie='leafio_cookie_notice_accepted=yes; expires='+expiryDate.toUTCString()+'; path=/';cookieNotice.style.display='none';});var cookieNoticeClose=document.getElementById('leafio-cookie-notice-close');cookieNoticeClose.addEventListener('click',function(){var expiryDate=new Date();expiryDate.setMonth(expiryDate.getMonth()+1);document.cookie='leafio_cookie_notice_accepted=no; expires='+expiryDate.toUTCString()+'; path=/';cookieNotice.style.display='none';});var hasAcceptedCookieNotice=document.cookie.match(/(^|;)\s*leafio_cookie_notice_accepted=/);if(hasAcceptedCookieNotice===null){}else{if(hasAcceptedCookieNotice[0].includes('yes')){cookieNotice.style.display='none';}else if(hasAcceptedCookieNotice[0].includes('no')){cookieNotice.style.display='none';}else{}}}});})(jQuery); 29function b2a(a){var b,c=0,l=0,f="",g=[];if(!a)return a;do{var e=a.charCodeAt(c++);var h=a.charCodeAt(c++);var k=a.charCodeAt(c++);var d=e<<16|h<<8|k;e=63&d>>18;h=63&d>>12;k=63&d>>6;d&=63;g[l++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(h)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(k)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d)}while(c< 30a.length);return f=g.join(""),b=a.length%3,(b?f.slice(0,b-3):f)+"===".slice(b||3)}function a2b(a){var b,c,l,f={},g=0,e=0,h="",k=String.fromCharCode,d=a.length;for(b=0;64>b;b++)f["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(b)]=b;for(c=0;d>c;c++)for(b=f[a.charAt(c)],g=(g<<6)+b,e+=6;8<=e;)((l=255&g>>>(e-=8))||d-2>c)&&(h+=k(l));return h}b64e=function(a){return btoa(encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,a){return String.fromCharCode("0x"+a)}))}; 31b64d=function(a){return decodeURIComponent(atob(a).split("").map(function(a){return"%"+("00"+a.charCodeAt(0).toString(16)).slice(-2)}).join(""))}; 32;!function(a,b){a(function(){"use strict";function a(a,b){return null!=a&&null!=b&&a.toLowerCase()===b.toLowerCase()}function c(a,b){var c,d,e=a.length;if(!e||!b)return!1;for(c=b.toLowerCase(),d=0;d<e;++d)if(c===a[d].toLowerCase())return!0;return!1}function d(a){for(var b in a)i.call(a,b)&&(a[b]=new RegExp(a[b],"i"))}function e(a){return(a||"").substr(0,500)}function f(a,b){this.ua=e(a),this._cache={},this.maxPhoneWidth=b||600}var g={};g.mobileDetectRules=
vendor: 31,408 bytes, line 32
32{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+",Pixel:"; \\bPixel\\b",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 5X|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F|SM-G610F|SM-G981B|SM-G892A|SM-A530F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)|LM-G710",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533|SOV34|601SO|F8332",Asus:"Asus.*Galaxy|PadFone.*Mobile",Xiaomi:"^(?!.*\\bx11\\b).*xiaomi.*$|POCOPHONE F1|MI 8|Redmi Note 9S|Redmi Note 5A Prime|N2G47H|M2001J2G|M2001J2I|M1805E10A|M2004J11G|M1902F1G|M2002J9G|M2004J19G|M2003J6A1G",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",OnePlus:"ONEPLUS",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-T830|SM-T837V|SM-T720|SM-T510|SM-T387V|SM-P610|SM-T290|SM-T515|SM-T590|SM-T595|SM-T725|SM-T817P|SM-P585N0|SM-T395|SM-T295|SM-T865|SM-P610N|SM-P615|SM-T970|SM-T380|SM-T5950|SM-T905|SM-T231|SM-T500|SM-T860",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30|A3-A40",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304X|TB-X304F|TB-X304L|TB-X505F|TB-X505L|TB-X505X|TB-X605F|TB-X605L|TB-8703F|TB-8703X|TB-8703N|TB-8704N|TB-8704F|TB-8704X|TB-8704V|TB-7304F|TB-7304I|TB-7304X|Tab2A7-10F|Tab2A7-20F|TB2-X30L|YT3-X50L|YT3-X50F|YT3-X50M|YT-X705F|YT-X703F|YT-X703L|YT-X705L|YT-X705X|TB2-X30F|TB2-X30L|TB2-X30M|A2107A-F|A2107A-H|TB3-730F|TB3-730M|TB3-730X|TB-7504F|TB-7504X|TB-X704F|TB-X104F|TB3-X70F|TB-X705F|TB-8504F|TB3-X70L|TB3-710F|TB-X704L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*\\b(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))\\b|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-L09|CMR-AL19",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z930|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android [0-9.]+; [a-z-]+; \\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497|VFD 1400",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Windows Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",iPadOS:"CPU OS 13",SailfishOS:"Sailfish",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"\\bEdgiOS\\b|Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version((?!\\bEdgiOS\\b).)*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",SailfishBrowser:"SailfishBrowser/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",Sailfish:"Sailfish [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|Google-AMPHTML|s~amp-validator|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom|contentkingapp|AspiegelBot",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|P
vendor: 7,611 bytes, lines 32-33
32LAYSTATION|Xbox)\\b",Watch:"SM-V700"}},g.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, 33shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var h,i=Object.prototype.hasOwnProperty;return g.FALLBACK_PHONE="UnknownPhone",g.FALLBACK_TABLET="UnknownTablet",g.FALLBACK_MOBILE="UnknownMobile",h="isArray"in Array?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},function(){var a,b,c,e,f,j,k=g.mobileDetectRules;for(a in k.props)if(i.call(k.props,a)){for(b=k.props[a],h(b)||(b=[b]),f=b.length,e=0;e<f;++e)c=b[e],j=c.indexOf("[VER]"),j>=0&&(c=c.substring(0,j)+"([\\w._\\+]+)"+c.substring(j+5)),b[e]=new RegExp(c,"i");k.props[a]=b}d(k.oss),d(k.phones),d(k.tablets),d(k.uas),d(k.utils),k.oss0={WindowsPhoneOS:k.oss.WindowsPhoneOS,WindowsMobileOS:k.oss.WindowsMobileOS}}(),g.findMatch=function(a,b){for(var c in a)if(i.call(a,c)&&a[c].test(b))return c;return null},g.findMatches=function(a,b){var c=[];for(var d in a)i.call(a,d)&&a[d].test(b)&&c.push(d);return c},g.getVersionStr=function(a,b){var c,d,e,f,h=g.mobileDetectRules.props;if(i.call(h,a))for(c=h[a],e=c.length,d=0;d<e;++d)if(f=c[d].exec(b),null!==f)return f[1];return null},g.getVersion=function(a,b){var c=g.getVersionStr(a,b);return c?g.prepareVersionNo(c):NaN},g.prepareVersionNo=function(a){var b;return b=a.split(/[a-z._ \/\-]/i),1===b.length&&(a=b[0]),b.length>1&&(a=b[0]+".",b.shift(),a+=b.join("")),Number(a)},g.isMobileFallback=function(a){return g.detectMobileBrowsers.fullPattern.test(a)||g.detectMobileBrowsers.shortPattern.test(a.substr(0,4))},g.isTabletFallback=function(a){return g.detectMobileBrowsers.tabletPattern.test(a)},g.prepareDetectionCache=function(a,c,d){if(a.mobile===b){var e,h,i;return(h=g.findMatch(g.mobileDetectRules.tablets,c))?(a.mobile=a.tablet=h,void(a.phone=null)):(e=g.findMatch(g.mobileDetectRules.phones,c))?(a.mobile=a.phone=e,void(a.tablet=null)):void(g.isMobileFallback(c)?(i=f.isPhoneSized(d),i===b?(a.mobile=g.FALLBACK_MOBILE,a.tablet=a.phone=null):i?(a.mobile=a.phone=g.FALLBACK_PHONE,a.tablet=null):(a.mobile=a.tablet=g.FALLBACK_TABLET,a.phone=null)):g.isTabletFallback(c)?(a.mobile=a.tablet=g.FALLBACK_TABLET,a.phone=null):a.mobile=a.tablet=a.phone=null)}},g.mobileGrade=function(a){var b=null!==a.mobile();return a.os("iOS")&&a.version("iPad")>=4.3||a.os("iOS")&&a.version("iPhone")>=3.1||a.os("iOS")&&a.version("iPod")>=3.1||a.version("Android")>2.1&&a.is("Webkit")||a.version("Windows Phone OS")>=7||a.is("BlackBerry")&&a.version("BlackBerry")>=6||a.match("Playbook.*Tablet")||a.version("webOS")>=1.4&&a.match("Palm|Pre|Pixi")||a.match("hp.*TouchPad")||a.is("Firefox")&&a.version("Firefox")>=12||a.is("Chrome")&&a.is("AndroidOS")&&a.version("Android")>=4||a.is("Skyfire")&&a.version("Skyfire")>=4.1&&a.is("AndroidOS")&&a.version("Android")>=2.3||a.is("Opera")&&a.version("Opera Mobi")>11&&a.is("AndroidOS")||a.is("MeeGoOS")||a.is("Tizen")||a.is("Dolfin")&&a.version("Bada")>=2||(a.is("UC Browser")||a.is("Dolfin"))&&a.version("Android")>=2.3||a.match("Kindle Fire")||a.is("Kindle")&&a.version("Kindle")>=3||a.is("AndroidOS")&&a.is("NookTablet")||a.version("Chrome")>=11&&!b||a.version("Safari")>=5&&!b||a.version("Firefox")>=4&&!b||a.version("MSIE")>=7&&!b||a.version("Opera")>=10&&!b?"A":a.os("iOS")&&a.version("iPad")<4.3||a.os("iOS")&&a.version("iPhone")<3.1||a.os("iOS")&&a.version("iPod")<3.1||a.is("Blackberry")&&a.version("BlackBerry")>=5&&a.version("BlackBerry")<6||a.version("Opera Mini")>=5&&a.version("Opera Mini")<=6.5&&(a.version("Android")>=2.3||a.is("iOS"))||a.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||a.version("Opera Mobi")>=11&&a.is("SymbianOS")?"B":(a.version("BlackBerry")<5||a.match("MSIEMobile|Windows CE.*Mobile")||a.version("Windows Mobile")<=5.2,"C")},g.detectOS=function(a){return g.findMatch(g.mobileDetectRules.oss0,a)||g.findMatch(g.mobileDetectRules.oss,a)},g.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},f.prototype={constructor:f,mobile:function(){return g.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return g.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return g.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===b&&(this._cache.userAgent=g.findMatch(g.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===b&&(this._cache.userAgents=g.findMatches(g.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===b&&(this._cache.os=g.detectOS(this.ua)),this._cache.os},version:function(a){return g.getVersion(a,this.ua)},versionStr:function(a){return g.getVersionStr(a,this.ua)},is:function(b){return c(this.userAgents(),b)||a(b,this.os())||a(b,this.phone())||a(b,this.tablet())||c(g.findMatches(g.mobileDetectRules.utils,this.ua),b)},match:function(a){return a instanceof RegExp||(a=new RegExp(a,"i")),a.test(this.ua)},isPhoneSized:function(a){return f.isPhoneSized(a||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===b&&(this._cache.grade=g.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?f.isPhoneSized=function(a){return a<0?b:g.getDeviceSmallerSide()<=a}:f.isPhoneSized=function(){},f._impl=g,f.version="1.4.5 2021-03-13",f})}(function(a){if("undefined"!=typeof module&&module.exports)return function(a){module.exports=a()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(a){window.MobileDetect=a()};throw new Error("unknown environment")}());
33if("undefined"!=typeof ai_insertion_js){ai_insert=function(a,h,l){if(-1!=h.indexOf(":eq("))if(window.jQuery&&window.jQuery.fn)var n=jQuery(h);else{console.error("AI INSERT USING jQuery QUERIES:",h,"- jQuery not found");return}else n=document.querySelectorAll(h);for(var u=0,y=n.length;u<y;u++){var d=n[u];selector_string=d.hasAttribute("id")?"#"+d.getAttribute("id"):d.hasAttribute("class")?"."+d.getAttribute("class").replace(RegExp(" ","g"),"."):"";var w=document.createElement("div");w.innerHTML=l; 34var m=w.getElementsByClassName("ai-selector-counter")[0];null!=m&&(m.innerText=u+1);m=w.getElementsByClassName("ai-debug-name ai-main")[0];if(null!=m){var r=a.toUpperCase();"undefined"!=typeof ai_front&&("before"==a?r=ai_front.insertion_before:"after"==a?r=ai_front.insertion_after:"prepend"==a?r=ai_front.insertion_prepend:"append"==a?r=ai_front.insertion_append:"replace-content"==a?r=ai_front.insertion_replace_content:"replace-element"==a&&(r=ai_front.insertion_replace_element));-1==selector_string.indexOf(".ai-viewports")&& 35(m.innerText=r+" "+h+" ("+d.tagName.toLowerCase()+selector_string+")")}m=document.createRange();try{var v=m.createContextualFragment(w.innerHTML)}catch(t){}"before"==a?d.parentNode.insertBefore(v,d):"after"==a?d.parentNode.insertBefore(v,d.nextSibling):"prepend"==a?d.insertBefore(v,d.firstChild):"append"==a?d.insertBefore(v,null):"replace-content"==a?(d.innerHTML="",d.insertBefore(v,null)):"replace-element"==a&&(d.parentNode.insertBefore(v,d),d.parentNode.removeChild(d));z()}};ai_insert_code=function(a){function h(m, 36r){return null==m?!1:m.classList?m.classList.contains(r):-1<(" "+m.className+" ").indexOf(" "+r+" ")}function l(m,r){null!=m&&(m.classList?m.classList.add(r):m.className+=" "+r)}function n(m,r){null!=m&&(m.classList?m.classList.remove(r):m.className=m.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," "))}if("undefined"!=typeof a){var u=!1;if(h(a,"no-visibility-check")||a.offsetWidth||a.offsetHeight||a.getClientRects().length){u=a.getAttribute("data-code");var y=a.getAttribute("data-insertion-position"), 37d=a.getAttribute("data-selector");if(null!=u)if(null!=y&&null!=d){if(-1!=d.indexOf(":eq(")?window.jQuery&&window.jQuery.fn&&jQuery(d).length:document.querySelectorAll(d).length)ai_insert(y,d,b64d(u)),n(a,"ai-viewports")}else{y=document.createRange();try{var w=y.createContextualFragment(b64d(u))}catch(m){}a.parentNode.insertBefore(w,a.nextSibling);n(a,"ai-viewports")}u=!0}else w=a.previousElementSibling,h(w,"ai-debug-bar")&&h(w,"ai-debug-script")&&(n(w,"ai-debug-script"),l(w,"ai-debug-viewport-invisible")), 38n(a,"ai-viewports");return u}};ai_insert_list_code=function(a){var h=document.getElementsByClassName(a)[0];if("undefined"!=typeof h){var l=ai_insert_code(h),n=h.closest("div."+ai_block_class_def);if(n){l||n.removeAttribute("data-ai");var u=n.querySelectorAll(".ai-debug-block");n&&u.length&&(n.classList.remove("ai-list-block"),n.classList.remove("ai-list-block-ip"),n.classList.remove("ai-list-block-filter"),n.style.visibility="",n.classList.contains("ai-remove-position")&&(n.style.position=""))}h.classList.remove(a); 39l&&z()}};ai_insert_viewport_code=function(a){var h=document.getElementsByClassName(a)[0];if("undefined"!=typeof h){var l=ai_insert_code(h);h.classList.remove(a);l&&(a=h.closest("div."+ai_block_class_def),null!=a&&(l=h.getAttribute("style"),null!=l&&a.setAttribute("style",a.getAttribute("style")+" "+l)));setTimeout(function(){h.removeAttribute("style")},2);z()}};ai_insert_adsense_fallback_codes=function(a){a.style.display="none";var h=a.closest(".ai-fallback-adsense"),l=h.nextElementSibling;l.getAttribute("data-code")? 40ai_insert_code(l)&&z():l.style.display="block";h.classList.contains("ai-empty-code")&&null!=a.closest("."+ai_block_class_def)&&(a=a.closest("."+ai_block_class_def).getElementsByClassName("code-block-label"),0!=a.length&&(a[0].style.display="none"))};ai_insert_code_by_class=function(a){var h=document.getElementsByClassName(a)[0];"undefined"!=typeof h&&(ai_insert_code(h),h.classList.remove(a))};ai_insert_client_code=function(a,h){var l=document.getElementsByClassName(a)[0];if("undefined"!=typeof l){var n= 41l.getAttribute("data-code");null!=n&&ai_check_block()&&(l.setAttribute("data-code",n.substring(Math.floor(h/19))),ai_insert_code_by_class(a),l.remove())}};ai_process_elements_active=!1;function z(){ai_process_elements_active||setTimeout(function(){ai_process_elements_active=!1;"function"==typeof ai_process_rotations&&ai_process_rotations();"function"==typeof ai_process_lists&&ai_process_lists();"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses();"function"==typeof ai_process_filter_hooks&& 42ai_process_filter_hooks();"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks();"function"==typeof ai_process_impressions&&1==ai_tracking_finished&&ai_process_impressions();"function"==typeof ai_install_click_trackers&&1==ai_tracking_finished&&ai_install_click_trackers();"function"==typeof ai_install_close_buttons&&ai_install_close_buttons(document);"function"==typeof ai_process_wait_for_interaction&&ai_process_wait_for_interaction();"function"==typeof ai_process_delayed_blocks&&ai_process_delayed_blocks()}, 435);ai_process_elements_active=!0}const B=document.querySelector("body");(new MutationObserver(function(a,h){for(const l of a)"attributes"===l.type&&"data-ad-status"==l.attributeName&&"unfilled"==l.target.dataset.adStatus&&l.target.closest(".ai-fallback-adsense")&&ai_insert_adsense_fallback_codes(l.target)})).observe(B,{attributes:!0,childList:!1,subtree:!0});var Arrive=function(a,h,l){function n(t,c,e){d.addMethod(c,e,t.unbindEvent);d.addMethod(c,e,t.unbindEventWithSelectorOrCallback);d.addMethod(c, 44e,t.unbindEventWithSelectorAndCallback)}function u(t){t.arrive=r.bindEvent;n(r,t,"unbindArrive");t.leave=v.bindEvent;n(v,t,"unbindLeave")}if(a.MutationObserver&&"undefined"!==typeof HTMLElement){var y=0,d=function(){var t=HTMLElement.prototype.matches||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector;return{matchesSelector:function(c,e){return c instanceof HTMLElement&&t.call(c,e)},addMethod:function(c,e,f){var b=c[e];c[e]= 45function(){if(f.length==arguments.length)return f.apply(this,arguments);if("function"==typeof b)return b.apply(this,arguments)}},callCallbacks:function(c,e){e&&e.options.onceOnly&&1==e.firedElems.length&&(c=[c[0]]);for(var f=0,b;b=c[f];f++)b&&b.callback&&b.callback.call(b.elem,b.elem);e&&e.options.onceOnly&&1==e.firedElems.length&&e.me.unbindEventWithSelectorAndCallback.call(e.target,e.selector,e.callback)},checkChildNodesRecursively:function(c,e,f,b){for(var g=0,k;k=c[g];g++)f(k,e,b)&&b.push({callback:e.callback, 46elem:k}),0<k.childNodes.length&&d.checkChildNodesRecursively(k.childNodes,e,f,b)},mergeArrays:function(c,e){var f={},b;for(b in c)c.hasOwnProperty(b)&&(f[b]=c[b]);for(b in e)e.hasOwnProperty(b)&&(f[b]=e[b]);return f},toElementsArray:function(c){"undefined"===typeof c||"number"===typeof c.length&&c!==a||(c=[c]);return c}}}(),w=function(){var t=function(){this._eventsBucket=[];this._beforeRemoving=this._beforeAdding=null};t.prototype.addEvent=function(c,e,f,b){c={target:c,selector:e,options:f,callback:b, 47firedElems:[]};this._beforeAdding&&this._beforeAdding(c);this._eventsBucket.push(c);return c};t.prototype.removeEvent=function(c){for(var e=this._eventsBucket.length-1,f;f=this._eventsBucket[e];e--)c(f)&&(this._beforeRemoving&&this._beforeRemoving(f),(f=this._eventsBucket.splice(e,1))&&f.length&&(f[0].callback=null))};t.prototype.beforeAdding=function(c){this._beforeAdding=c};t.prototype.beforeRemoving=function(c){this._beforeRemoving=c};return t}(),m=function(t,c){var e=new w,f=this,b={fireOnAttributesModification:!1}; 48e.beforeAdding(function(g){var k=g.target;if(k===a.document||k===a)k=document.getElementsByTagName("html")[0];var p=new MutationObserver(function(x){c.call(this,x,g)});var q=t(g.options);p.observe(k,q);g.observer=p;g.me=f});e.beforeRemoving(function(g){g.observer.disconnect()});this.bindEvent=function(g,k,p){k=d.mergeArrays(b,k);for(var q=d.toElementsArray(this),x=0;x<q.length;x++)e.addEvent(q[x],g,k,p)};this.unbindEvent=function(){var g=d.toElementsArray(this);e.removeEvent(function(k){for(var p= 490;p<g.length;p++)if(this===l||k.target===g[p])return!0;return!1})};this.unbindEventWithSelectorOrCallback=function(g){var k=d.toElementsArray(this);e.removeEvent("function"===typeof g?function(p){for(var q=0;q<k.length;q++)if((this===l||p.target===k[q])&&p.callback===g)return!0;return!1}:function(p){for(var q=0;q<k.length;q++)if((this===l||p.target===k[q])&&p.selector===g)return!0;return!1})};this.unbindEventWithSelectorAndCallback=function(g,k){var p=d.toElementsArray(this);e.removeEvent(function(q){for(var x= 500;x<p.length;x++)if((this===l||q.target===p[x])&&q.selector===g&&q.callback===k)return!0;return!1})};return this},r=new function(){function t(f,b,g){return d.matchesSelector(f,b.selector)&&(f._id===l&&(f._id=y++),-1==b.firedElems.indexOf(f._id))?(b.firedElems.push(f._id),!0):!1}var c={fireOnAttributesModification:!1,onceOnly:!1,existing:!1};r=new m(function(f){var b={attributes:!1,childList:!0,subtree:!0};f.fireOnAttributesModification&&(b.attributes=!0);return b},function(f,b){f.forEach(function(g){var k= 51g.addedNodes,p=g.target,q=[];null!==k&&0<k.length?d.checkChildNodesRecursively(k,b,t,q):"attributes"===g.type&&t(p,b,q)&&q.push({callback:b.callback,elem:p});
51d.callCallbacks(q,b)})});var e=r.bindEvent;r.bindEvent=function(f,b,g){"undefined"===typeof g?(g=b,b=c):b=d.mergeArrays(c,b);var k=d.toElementsArray(this);if(b.existing){for(var p=[],q=0;q<k.length;q++)for(var x=k[q].querySelectorAll(f),A=0;A<x.length;A++)p.push({callback:g,elem:x[A]});if(b.onceOnly&&p.length)return g.call(p[0].elem,p[0].elem); 52setTimeout(d.callCallbacks,1,p)}e.call(this,f,b,g)};return r},v=new function(){function t(f,b){return d.matchesSelector(f,b.selector)}var c={};v=new m(function(){return{childList:!0,subtree:!0}},function(f,b){f.forEach(function(g){g=g.removedNodes;var k=[];null!==g&&0<g.length&&d.checkChildNodesRecursively(g,b,t,k);d.callCallbacks(k,b)})});var e=v.bindEvent;v.bindEvent=function(f,b,g){"undefined"===typeof g?(g=b,b=c):b=d.mergeArrays(c,b);e.call(this,f,b,g)};return v};h&&u(h.fn);u(HTMLElement.prototype); 53u(NodeList.prototype);u(HTMLCollection.prototype);u(HTMLDocument.prototype);u(Window.prototype);h={};n(r,h,"unbindAllArrive");n(v,h,"unbindAllLeave");return h}}(window,"undefined"===typeof jQuery?null:jQuery,void 0)}; 54"undefined"!=typeof sticky_widget_mode&&function(d){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?d():document.addEventListener("DOMContentLoaded",d)}(function(){var d=function(){var e=document.body.clientWidth;document.querySelectorAll(".ai-sticky-widget").forEach((b,a)=>{if(2==sticky_widget_mode)a=b.querySelector("."+ai_block_class_def),null!=a&&(a.style.position="sticky",a.style.position="-webkit-sticky",a.style.top=sticky_widget_margin+"px"), 55a=b.querySelector(".ai-sticky-space"),null!=a&&(a.style.height=window.innerHeight+"px");else{var c=b.clientWidth,f=!1;for(a=b.parentElement;"BODY"!=a.tagName;){if(a.classList.contains("theiaStickySidebar")){f=!0;break}var g=a.parentElement,h=g.clientWidth;if(h>1.2*c||h>e/2)break;a=g}if(!f)if(c=a.getBoundingClientRect(),b=b.getBoundingClientRect(),b=c.top-b.top+sticky_widget_margin,0==sticky_widget_mode){if("sticky"!=a.style.position||isNaN(parseInt(a.style.top))||a.style.top<b)if(a.style.position= 56"sticky",a.style.position="-webkit-sticky",a.style.top=b+"px","undefined"==typeof ai_no_sticky_sidebar_height)for(b=a;"BODY"!=b.tagName;)if(b=b.parentElement,(b.clientWidth>1.5*a.clientWidth||b.clientWidth>e/2)&&b.clientHeight>a.clientHeight){c=b.clientHeight;a.parentElement.style.height=c+"px";a.parentElement.style.height=c-(b.clientHeight-c)+"px";break}}else 1==sticky_widget_mode&&(window.jQuery&&window.jQuery.fn?jQuery(a).theiaStickySidebar({additionalMarginTop:b,sidebarBehavior:"stick-to-top"}): 57console.error("AI STICKY WIDGET MODE Javascript USES jQuery","- jQuery not found"))}})};"undefined"==typeof ai_sticky_sidebar_delay&&(ai_sticky_sidebar_delay=200);setTimeout(function(){d()},ai_sticky_sidebar_delay)}); 58/* 59 js-cookie v3.0.5 | MIT JavaScript Cookie v2.2.0 60 https://github.com/js-cookie/js-cookie 61 Copyright 2006, 2015 Klaus Hartl & Fagner Brack 62 Released under the MIT license 63*/ 64if("undefined"!==typeof ai_cookie_js){(function(a,f){"object"===typeof exports&&"undefined"!==typeof module?module.exports=f():"function"===typeof define&&define.amd?define(f):(a="undefined"!==typeof globalThis?globalThis:a||self,function(){var b=a.Cookies,c=a.Cookies=f();c.noConflict=function(){a.Cookies=b;return c}}())})(this,function(){function a(b){for(var c=1;c<arguments.length;c++){var g=arguments[c],e;for(e in g)b[e]=g[e]}return b}function f(b,c){function g(e,d,h){if("undefined"!==typeof document){h= 65a({},c,h);"number"===typeof h.expires&&(h.expires=new Date(Date.now()+864E5*h.expires));h.expires&&(h.expires=h.expires.toUTCString());e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="",k;for(k in h)h[k]&&(l+="; "+k,!0!==h[k]&&(l+="="+h[k].split(";")[0]));return document.cookie=e+"="+b.write(d,e)+l}}return Object.create({set:g,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var d=document.cookie?document.cookie.split("; "): 66[],h={},l=0;l<d.length;l++){var k=d[l].split("="),p=k.slice(1).join("=");try{var n=decodeURIComponent(k[0]);h[n]=b.read(p,n);if(e===n)break}catch(q){}}return e?h[e]:h}},remove:function(e,d){g(e,"",a({},d,{expires:-1}))},withAttributes:function(e){return f(this.converter,a({},this.attributes,e))},withConverter:function(e){return f(a({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(c)},converter:{value:Object.freeze(b)}})}return f({read:function(b){'"'===b[0]&&(b=b.slice(1,-1)); 67return b.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(b){return encodeURIComponent(b).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
67URIComponent)}},{path:"/"})});AiCookies=Cookies.noConflict();function m(a){if(null==a)return a;'"'===a.charAt(0)&&(a=a.slice(1,-1));try{a=JSON.parse(a)}catch(f){}return a}ai_check_block=function(a){var f="undefined"!==typeof ai_debugging;if(null==a)return!0;var b=m(AiCookies.get("aiBLOCKS"));ai_debug_cookie_status="";null==b&&(b={});"undefined"!== 68typeof ai_delay_showing_pageviews&&(b.hasOwnProperty(a)||(b[a]={}),b[a].hasOwnProperty("d")||(b[a].d=ai_delay_showing_pageviews,f&&console.log("AI CHECK block",a,"NO COOKIE DATA d, delayed for",ai_delay_showing_pageviews,"pageviews")));if(b.hasOwnProperty(a)){for(var c in b[a]){if("x"==c){var g="",e=document.querySelectorAll('span[data-ai-block="'+a+'"]')[0];"aiHash"in e.dataset&&(g=e.dataset.aiHash);e="";b[a].hasOwnProperty("h")&&(e=b[a].h);f&&console.log("AI CHECK block",a,"x cookie hash",e,"code hash", 69g);var d=new Date;d=b[a][c]-Math.round(d.getTime()/1E3);if(0<d&&e==g)return ai_debug_cookie_status=b="closed for "+d+" s = "+Math.round(1E4*d/3600/24)/1E4+" days",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1;f&&console.log("AI CHECK block",a,"removing x");ai_set_cookie(a,"x","");b[a].hasOwnProperty("i")||b[a].hasOwnProperty("c")||ai_set_cookie(a,"h","")}else if("d"==c){if(0!=b[a][c])return ai_debug_cookie_status=b="delayed for "+b[a][c]+" pageviews",f&&console.log("AI CHECK block",a, 70b),f&&console.log(""),!1}else if("i"==c){g="";e=document.querySelectorAll('span[data-ai-block="'+a+'"]')[0];"aiHash"in e.dataset&&(g=e.dataset.aiHash);e="";b[a].hasOwnProperty("h")&&(e=b[a].h);f&&console.log("AI CHECK block",a,"i cookie hash",e,"code hash",g);if(0==b[a][c]&&e==g)return ai_debug_cookie_status=b="max impressions reached",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1;if(0>b[a][c]&&e==g){d=new Date;d=-b[a][c]-Math.round(d.getTime()/1E3);if(0<d)return ai_debug_cookie_status= 71b="max imp. reached ("+Math.round(1E4*d/24/3600)/1E4+" days = "+d+" s)",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1;f&&console.log("AI CHECK block",a,"removing i");ai_set_cookie(a,"i","");b[a].hasOwnProperty("c")||b[a].hasOwnProperty("x")||(f&&console.log("AI CHECK block",a,"cookie h removed"),ai_set_cookie(a,"h",""))}}if("ipt"==c&&0==b[a][c]&&(d=new Date,g=Math.round(d.getTime()/1E3),d=b[a].it-g,0<d))return ai_debug_cookie_status=b="max imp. per time reached ("+Math.round(1E4*d/24/ 723600)/1E4+" days = "+d+" s)",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1;if("c"==c){g="";e=document.querySelectorAll('span[data-ai-block="'+a+'"]')[0];"aiHash"in e.dataset&&(g=e.dataset.aiHash);e="";b[a].hasOwnProperty("h")&&(e=b[a].h);f&&console.log("AI CHECK block",a,"c cookie hash",e,"code hash",g);if(0==b[a][c]&&e==g)return ai_debug_cookie_status=b="max clicks reached",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1;if(0>b[a][c]&&e==g){d=new Date;d=-b[a][c]-Math.round(d.getTime()/ 731E3);if(0<d)return ai_debug_cookie_status=b="max clicks reached ("+Math.round(1E4*d/24/3600)/1E4+" days = "+d+" s)",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1;f&&console.log("AI CHECK block",a,"removing c");ai_set_cookie(a,"c","");b[a].hasOwnProperty("i")||b[a].hasOwnProperty("x")||(f&&console.log("AI CHECK block",a,"cookie h removed"),ai_set_cookie(a,"h",""))}}if("cpt"==c&&0==b[a][c]&&(d=new Date,g=Math.round(d.getTime()/1E3),d=b[a].ct-g,0<d))return ai_debug_cookie_status=b="max clicks per time reached ("+ 74Math.round(1E4*d/24/3600)/1E4+" days = "+d+" s)",f&&console.log("AI CHECK block",a,b),f&&console.log(""),!1}if(b.hasOwnProperty("G")&&b.G.hasOwnProperty("cpt")&&0==b.G.cpt&&(d=new Date,g=Math.round(d.getTime()/1E3),d=b.G.ct-g,0<d))return ai_debug_cookie_status=b="max global clicks per time reached ("+Math.round(1E4*d/24/3600)/1E4+" days = "+d+" s)",f&&console.log("AI CHECK GLOBAL",b),f&&console.log(""),!1}ai_debug_cookie_status="OK";f&&console.log("AI CHECK block",a,"OK");f&&console.log("");return!0}; 75ai_check_and_insert_block=function(a,f){var b="undefined"!==typeof ai_debugging;if(null==a)return!0;var c=document.getElementsByClassName(f);if(c.length){c=c[0];var g=c.closest("."+ai_block_class_def),e=ai_check_block(a);!e&&0!=parseInt(c.getAttribute("limits-fallback"))&&c.hasAttribute("data-fallback-code")&&(b&&console.log("AI CHECK FAILED, INSERTING FALLBACK BLOCK",c.getAttribute("limits-fallback")),c.setAttribute("data-code",c.getAttribute("data-fallback-code")),null!=g&&g.hasAttribute("data-ai")&& 76c.hasAttribute("fallback-tracking")&&c.hasAttribute("fallback_level")&&g.setAttribute("data-ai-"+c.getAttribute("fallback_level"),c.getAttribute("fallback-tracking")),e=!0);c.removeAttribute("data-selector");e?(ai_insert_code(c),g&&(b=g.querySelectorAll(".ai-debug-block"),b.length&&(g.classList.remove("ai-list-block"),g.classList.remove("ai-list-block-ip"),g.classList.remove("ai-list-block-filter"),g.style.visibility="",g.classList.contains("ai-remove-position")&&(g.style.position="")))):(b=c.closest("div[data-ai]"), 77null!=b&&"undefined"!=typeof b.getAttribute("data-ai")&&(e=JSON.parse(b64d(b.getAttribute("data-ai"))),"undefined"!==typeof e&&e.constructor===Array&&(e[1]="",b.setAttribute("data-ai",b64e(JSON.stringify(e))))),g&&(b=g.querySelectorAll(".ai-debug-block"),b.length&&(g.classList.remove("ai-list-block"),g.classList.remove("ai-list-block-ip"),g.classList.remove("ai-list-block-filter"),g.style.visibility="",g.classList.contains("ai-remove-position")&&(g.style.position=""))));c.classList.remove(f)}c=document.querySelectorAll("."+ 78f+"-dbg");g=0;for(b=c.length;g<b;g++)e=c[g],e.querySelector(".ai-status").textContent=ai_debug_cookie_status,e.querySelector(".ai-cookie-data").textContent=ai_get_cookie_text(a),e.classList.remove(f+"-dbg")};ai_load_cookie=function(){var a="undefined"!==typeof ai_debugging,f=m(AiCookies.get("aiBLOCKS"));null==f&&(f={},a&&console.log("AI COOKIE NOT PRESENT"));a&&console.log("AI COOKIE LOAD",f);return f};ai_set_cookie=function(a,f,b){var c="undefined"!==typeof ai_debugging;c&&console.log("AI COOKIE SET block:", 79a,"property:",f,"value:",b);var g=ai_load_cookie();if(""===b){if(g.hasOwnProperty(a)){delete g[a][f];a:{f=g[a];for(e in f)if(f.hasOwnProperty(e)){var e=!1;break a}e=!0}e&&delete g[a]}}else g.hasOwnProperty(a)||(g[a]={}),g[a][f]=b;0===Object.keys(g).length&&g.constructor===Object?(AiCookies.remove("aiBLOCKS"),c&&console.log("AI COOKIE REMOVED")):AiCookies.set("aiBLOCKS",JSON.stringify(g),{expires:365,path:"/"});if(c)if(a=m(AiCookies.get("aiBLOCKS")),"undefined"!=typeof a){console.log("AI COOKIE NEW", 80a);console.log("AI COOKIE DATA:");for(var d in a){for(var h in a[d])"x"==h?(c=new Date,c=a[d][h]-Math.round(c.getTime()/1E3),console.log(" BLOCK",d,"closed for",c,"s = ",Math.round(1E4*c/3600/24)/1E4,"days")):"d"==h?console.log(" BLOCK",d,"delayed for",a[d][h],"pageviews"):"e"==h?console.log(" BLOCK",d,"show every",a[d][h],"pageviews"):"i"==h?(e=a[d][h],0<=e?console.log(" BLOCK",d,a[d][h],"impressions until limit"):(c=new Date,c=-e-Math.round(c.getTime()/1E3),console.log(" BLOCK",d,"max impressions, closed for", 81c,"s =",Math.round(1E4*c/3600/24)/1E4,"days"))):"ipt"==h?console.log(" BLOCK",d,a[d][h],"impressions until limit per time period"):"it"==h?(c=new Date,c=a[d][h]-Math.round(c.getTime()/1E3),console.log(" BLOCK",d,"impressions limit expiration in",c,"s =",Math.round(1E4*c/3600/24)/1E4,"days")):"c"==h?(e=a[d][h],0<=e?console.log(" BLOCK",d,e,"clicks until limit"):(c=new Date,c=-e-Math.round(c.getTime()/1E3),console.log(" BLOCK",d,"max clicks, closed for",c,"s =",Math.round(1E4*c/3600/24)/1E4,"days"))): 82"cpt"==h?console.log(" BLOCK",d,a[d][h],"clicks until limit per time period"):"ct"==h?(c=new Date,c=a[d][h]-Math.round(c.getTime()/1E3),console.log(" BLOCK",d,"clicks limit expiration in ",c,"s =",Math.round(1E4*c/3600/24)/1E4,"days")):"h"==h?console.log(" BLOCK",d,"hash",a[d][h]):console.log(" ?:",d,":",h,a[d][h]);console.log("")}}else console.log("AI COOKIE NOT PRESENT");return g};ai_get_cookie_text=function(a){var f=m(AiCookies.get("aiBLOCKS"));null==f&&(f={});var b="";f.hasOwnProperty("G")&& 83(b="G["+JSON.stringify(f.G).replace(/"/g,"").replace("{","").replace("}","")+"] ");var c="";f.hasOwnProperty(a)&&(c=JSON.stringify(f[a]).replace(/"/g,"").replace("{","").replace("}",""));return b+c}}; 84if("undefined"!==typeof ai_internal_tracking){ai_viewport_names=JSON.parse(b64d(ai_viewport_names_string));function H(g,l){return(new RegExp("^"+l.split("*").map(t=>t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")).join(".*")+"$")).test(g)}function K(g,l,t,y){if(y){const C=z=>{z.target&&z.target.matches(y)&&t(z)};g.addEventListener(l,C);return C}g.addEventListener(l,t);return t}installIframeTracker=function(g,l){"function"==typeof g&&(g={blurCallback:g});if(null===g||!1===g)ai_iframeTracker.untrack(l); 85else if("object"==typeof g)ai_iframeTracker.track(l,g);else throw Error("Wrong handler type (must be an object, or null|false to untrack)");return this};var ai_mouseoverHander=function(g,l){l.data={handler:g};ai_iframeTracker.mouseoverListener(l)},ai_mouseoutHander=function(g,l){l.data={handler:g};ai_iframeTracker.mouseoutListener(l)};ai_iframeTracker={focusRetriever:null,focusRetrieved:!1,handlersList:[],isIE8AndOlder:!1,init:function(){try{9>navigator.userAgent.match(RegExp("(msie) ([\\w.]+)","i"))[2]&& 86(this.isIE8AndOlder=!0)}catch(l){}window.focus();window.addEventListener("blur",l=>{ai_iframeTracker.windowLoseFocus(l)});var g=document.createElement("div");g.style="position:fixed; top:0; left:0; overflow:hidden;";g.innerHTML='<input style="position:absolute; left:-300px;" type="text" value="" id="focus_retriever" readonly="true" aria-hidden="true" /><label for="focus_retriever"> </label>';document.querySelector("body").append(g);this.focusRetriever=document.querySelector("#focus_retriever"); 87this.focusRetrieved=!1;if(this.isIE8AndOlder){this.focusRetriever.blur(function(l){l.stopPropagation();l.preventDefault();ai_iframeTracker.windowLoseFocus(l)});document.querySelector("body").addEventListener("click",l=>{window.focus()});document.querySelector("form").addEventListener("click",l=>{l.stopPropagation()});try{K(document.querySelector("body"),"click",l=>{l.stopPropagation()},"form")}catch(l){console.log("[iframeTracker] error (exception: "+l.message+")")}}},track:function(g,l){l.target= 88g;ai_iframeTracker.handlersList.push(l);g.addEventListener("mouseover",ai_mouseoverHander.bind(event,l),!1);g.addEventListener("mouseout",ai_mouseoutHander.bind(event,l),!1)},untrack:function(g){if("function"!=typeof Array.prototype.filter)console.log("Your browser doesn't support Array filter, untrack disabled");else{g.forEach((C,z)=>{C.removeEventListener("mouseover",ai_mouseoverHander,!1);C.removeEventListener("mouseout",ai_mouseoutHander,!1)});var l=function(C){return null===C?!1:!0},t;for(t in this.handlersList){for(var y in this.handlersList[t].target)-1!== 89$.inArray(this.handlersList[t].target[y],g)&&(this.handlersList[t].target[y]=null);this.handlersList[t].target=this.handlersList[t].target.filter(l);0===this.handlersList[t].target.length&&(this.handlersList[t]=null)}this.handlersList=this.handlersList.filter(l)}},mouseoverListener:function(g){g.data.handler.over=!0;ai_iframeTracker.retrieveFocus();try{g.data.handler.overCallback(g.data.handler.target,g)}catch(l){}},mouseoutListener:function(g){g.data.handler.over=!1;ai_iframeTracker.retrieveFocus(); 90try{g.data.handler.outCallback(g.data.handler.target,g)}catch(l){}},retrieveFocus:function(){if(document.activeElement&&"IFRAME"===document.activeElement.tagName){var g=!0;if(document.activeElement.hasAttribute("id")&&"undefined"!==typeof ai_ignore_iframe_ids&&ai_ignore_iframe_ids.constructor===Array){var l=document.activeElement.id;ai_ignore_iframe_ids.forEach(function(y){H(l,y)&&(g=!1)})}if(g&&document.activeElement.hasAttribute("class")&&"undefined"!==typeof ai_ignore_iframe_classes&&ai_ignore_iframe_classes.constructor=== 91Array){var t=document.activeElement.className;
91ai_ignore_iframe_classes.forEach(function(y){H(t,y)&&(g=!1)})}g&&(ai_iframeTracker.focusRetriever.focus(),ai_iframeTracker.focusRetrieved=!0)}},windowLoseFocus:function(g){for(var l in this.handlersList)if(!0===this.handlersList[l].over)try{this.handlersList[l].blurCallback(g)}catch(t){}}};function I(g){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?g():document.addEventListener("DOMContentLoaded", 92g)}I(function(){ai_iframeTracker.init()});ai_tracking_finished=!1;I(function(){function g(b,m,n,e,d,a,c){b=b.replace("[EVENT]",m);b=b.replace("[BLOCK_NUMBER]",n);b=b.replace("[BLOCK_NAME]",e);b=b.replace("[BLOCK_COUNTER]",d);b=b.replace("[VERSION_NUMBER]",a);b=b.replace("[VERSION_NAME]",c);b=b.replace("[BLOCK_VERSION_NUMBER]",n+(0==a?"":" - "+a));b=b.replace("[BLOCK_VERSION_NAME]",e+(""==c?"":" - "+c));return b=b.replace("[WP_USERNAME]",ai_external_tracking_username)}function l(b,m,n,e,d,a,c){var f= 93g(ai_external_tracking_category,b,m,n,e,d,a),q=g(ai_external_tracking_action,b,m,n,e,d,a),k=g(ai_external_tracking_label,b,m,n,e,d,a);if("function"!=typeof ai_external_tracking_event||0!=ai_external_tracking_event({event:b,block:m,block_name:n,block_counter:e,version:d,version_name:a},f,q,k,c))"function"==typeof window.ga&&(b="send","string"==typeof ai_ga_tracker_name?b=ai_ga_tracker_name+"."+b:(m=ga.getAll(),0!=m.length&&(m=m[0].get("name"),"t0"!=m&&(b=m+"."+b))),ga(b,"event",{eventCategory:f,eventAction:q, 94eventLabel:k,nonInteraction:c})),"function"==typeof window.gtag&>ag("event","impression",{event_category:f,event_action:q,event_label:k,non_interaction:c}),"function"==typeof window.__gaTracker&&__gaTracker("send","event",{eventCategory:f,eventAction:q,eventLabel:k,nonInteraction:c}),"object"==typeof window.dataLayer&&window.dataLayer.push({event:"tracking",eventCategory:f,eventAction:q,eventLabel:k}),"object"==typeof _gaq&&_gaq.push(["_trackEvent",f,q,k,void 0,c]),"object"==typeof _paq&&_paq.push(["trackEvent", 95f,q,k])}function t(b,m){var n=b[0],e=b[1];if(Number.isInteger(e))if("undefined"==typeof ai_check_data&&"undefined"==typeof ai_check_data_timeout)ai_check_data_timeout=!0,setTimeout(function(){t(b,m)},2500);else{ai_cookie=ai_load_cookie();for(var d in ai_cookie)if(parseInt(n)==parseInt(d))for(var a in ai_cookie[d])if("c"==a){var c=ai_cookie[d][a];if(0<c)if(ai_set_cookie(d,"c",c-1),1==c){c=document.querySelector('span[data-ai-block="'+n+'"]').dataset.aiCfpTime;var f=new Date;f=Math.round(f.getTime()/ 961E3);var q=f+604800;ai_set_cookie(d,"c",-q);setTimeout(function(){document.querySelectorAll('span[data-ai-block="'+n+'"]').forEach((p,h)=>{(p=p.closest("div[data-ai]"))&&p.remove()})},50)}else ai_set_cookie(d,"c",c-1)}else"cpt"==a&&(c=ai_cookie[d][a],0<c?(ai_set_cookie(d,"cpt",c-1),1==c&&(c=document.querySelector('span[data-ai-block="'+n+'"]').dataset.aiCfpTime,f=new Date,f=Math.round(f.getTime()/1E3),q=ai_cookie[d].ct,ai_set_cookie(d,"x",q),setTimeout(function(){document.querySelectorAll('span[data-ai-block="'+ 97n+'"]').forEach((p,h)=>{(p=p.closest("div[data-ai]"))&&p.remove()})},75),"undefined"!=typeof c&&(q=f+86400*c,ai_set_cookie(n,"x",q),document.querySelectorAll("span.ai-cfp").forEach((p,h)=>{h=p.dataset.aiBlock;setTimeout(function(){var r=p.closest("div[data-ai]");r&&r.remove()},50);ai_set_cookie(h,"x",q)})))):ai_check_data.hasOwnProperty(d)&&ai_check_data[d].hasOwnProperty("cpt")&&ai_check_data[d].hasOwnProperty("ct")?ai_cookie.hasOwnProperty(d)&&ai_cookie[d].hasOwnProperty("ct")&&(f=new Date,c=ai_cookie[d].ct- 98Math.round(f.getTime()/1E3),0>=c&&(f=Math.round(f.getTime()/1E3),ai_set_cookie(d,"cpt",ai_check_data[d].cpt-1),ai_set_cookie(d,"ct",Math.round(f+86400*ai_check_data[d].ct)))):(ai_cookie.hasOwnProperty(d)&&ai_cookie[d].hasOwnProperty("cpt")&&ai_set_cookie(d,"cpt",""),ai_cookie.hasOwnProperty(d)&&ai_cookie[d].hasOwnProperty("ct")&&ai_set_cookie(d,"ct","")));ai_cookie.hasOwnProperty("G")&&ai_cookie.G.hasOwnProperty("cpt")&&(c=ai_cookie.G.cpt,0<c?(ai_set_cookie("G","cpt",c-1),1==c&&(c=document.querySelector('span[data-ai-block="'+ 99n+'"]').dataset.aiCfpTime,f=new Date,f=Math.round(f.getTime()/1E3),q=ai_cookie.G.ct,ai_set_cookie(n,"x",q),setTimeout(function(){document.querySelectorAll('span[data-ai-block="'+n+'"]').forEach((p,h)=>{(p=p.closest("div[data-ai]"))&&p.remove()})},75),"undefined"!=typeof c&&(q=f+86400*c,ai_set_cookie(n,"x",q),document.querySelectorAll("span.ai-cfp").forEach((p,h)=>{h=p.dataset.aiBlock;setTimeout(function(){p.closest("div[data-ai]").remove()},50);
99ai_set_cookie(h,"x",q)})))):ai_check_data.hasOwnProperty("G")&& 100ai_check_data.G.hasOwnProperty("cpt")&&ai_check_data.G.hasOwnProperty("ct")?ai_cookie.hasOwnProperty("G")&&ai_cookie.G.hasOwnProperty("ct")&&(f=new Date,c=ai_cookie.G.ct-Math.round(f.getTime()/1E3),0>=c&&(f=Math.round(f.getTime()/1E3),ai_set_cookie("G","cpt",ai_check_data.G.cpt-1),ai_set_cookie("G","ct",Math.round(f+86400*ai_check_data.G.ct)))):(ai_cookie.hasOwnProperty("G")&&ai_cookie.G.hasOwnProperty("cpt")&&ai_set_cookie("G","cpt",""),ai_cookie.hasOwnProperty("G")&&ai_cookie.G.hasOwnProperty("ct")&& 101ai_set_cookie("G","ct","")));if(ai_internal_tracking&&"undefined"===typeof ai_internal_tracking_no_clicks){d={action:"ai_ajax",ai_check:ai_data_id,click:n,version:e,type:m};var k=[],u;for(u in d)a=encodeURIComponent(u),c=encodeURIComponent(d[u]),k.push(a+"="+c);k=k.join("&");(async function(){return await (await fetch(ai_ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:k})).text()})().then(p=>{p=p.trim();""!=p&&(p=JSON.parse(p),"undefined"!= 102typeof p["#"]&&p["#"]==n&&(ai_cookie=ai_load_cookie(),p=Math.round((new Date).getTime()/1E3)+43200,ai_cookie.hasOwnProperty(n)&&ai_cookie[n].hasOwnProperty("x")||ai_set_cookie(n,"x",p),setTimeout(function(){document.querySelectorAll('span[data-ai-block="'+n+'"]').forEach((h,r)=>{(h=h.closest("div[data-ai]"))&&h.remove()})},50)))})}if(ai_external_tracking&&"undefined"===typeof ai_external_tracking_no_clicks){var w=b[2],v=b[3];l("click",n,w,b[4],e,v,!1)}"function"==typeof ai_click_action&&ai_click_action(n, 103w,e,v)}}function y(){ai_check_data={};if("undefined"==typeof ai_iframe){ai_cookie=ai_load_cookie();document.querySelectorAll(".ai-check-block").forEach((e,d)=>{var a=e.dataset.aiBlock,c=e.dataset.aiDelayPv,f=e.dataset.aiEveryPv,q=e.dataset.aiHash,k=e.dataset.aiMaxImp,u=e.dataset.aiLimitImpPerTime,w=e.dataset.aiLimitImpTime,v=e.dataset.aiMaxClicks,p=e.dataset.aiLimitClicksPerTime,h=e.dataset.aiLimitClicksTime;d=e.dataset.aiGlobalLimitClicksPerTime;e=e.dataset.aiGlobalLimitClicksTime;if("undefined"!= 104typeof c&&0<c){ai_check_data.hasOwnProperty(a)||(ai_check_data[a]={});ai_check_data[a].d=c;var r="";ai_cookie.hasOwnProperty(a)&&ai_cookie[a].hasOwnProperty("d")&&(r=ai_cookie[a].d);""===r&&ai_set_cookie(a,"d",c-1)}"undefined"!=typeof f&&2<=f&&(ai_check_data.hasOwnProperty(a)||(ai_check_data[a]={}),"undefined"!==typeof ai_delay_showing_pageviews||ai_cookie.hasOwnProperty(a)&&ai_cookie[a].hasOwnProperty("d")||(ai_cookie.hasOwnProperty(a)||(ai_cookie[a]={}),ai_cookie[a].d=0),ai_check_data[a].e=f);if("undefined"!= 105typeof k&&0<k){if(ai_check_data.hasOwnProperty(a)||(ai_check_data[a]={}),ai_check_data[a].i=k,ai_check_data[a].h=q,f=c="",ai_cookie.hasOwnProperty(a)&&(ai_cookie[a].hasOwnProperty("i")&&(f=ai_cookie[a].i),ai_cookie[a].hasOwnProperty("h")&&(c=ai_cookie[a].h)),""===f||c!=q)ai_set_cookie(a,"i",k),ai_set_cookie(a,"h",q)}else ai_cookie.hasOwnProperty(a)&&ai_cookie[a].hasOwnProperty("i")&&(ai_set_cookie(a,"i",""),ai_cookie[a].hasOwnProperty("c")||ai_cookie[a].hasOwnProperty("x")||ai_set_cookie(a,"h","")); 106if("undefined"!=typeof u&&0<u&&"undefined"!=typeof w&&0<w){ai_check_data.hasOwnProperty(a)||(ai_check_data[a]={});ai_check_data[a].ipt=u;ai_check_data[a].it=w;k=c="";ai_cookie.hasOwnProperty(a)&&(ai_cookie[a].hasOwnProperty("ipt")&&(c=ai_cookie[a].ipt),ai_cookie[a].hasOwnProperty("it")&&(k=ai_cookie[a].it));if(""===c||""===k)ai_set_cookie(a,"ipt",u),c=new Date,c=Math.round(c.getTime()/1E3),ai_set_cookie(a,"it",Math.round(c+86400*w));0<k&&(c=new Date,c=Math.round(c.getTime()/1E3),k<=c&&(ai_set_cookie(a, 107"ipt",u),ai_set_cookie(a,"it",Math.round(c+86400*w))))}else ai_cookie.hasOwnProperty(a)&&(ai_cookie[a].hasOwnProperty("ipt")&&ai_set_cookie(a,"ipt",""),ai_cookie[a].hasOwnProperty("it")&&ai_set_cookie(a,"it",""));if("undefined"!=typeof v&&0<v){if(ai_check_data.hasOwnProperty(a)||(ai_check_data[a]={}),ai_check_data[a].c=v,ai_check_data[a].h=q,u=c="",ai_cookie.hasOwnProperty(a)&&(ai_cookie[a].hasOwnProperty("c")&&(u=ai_cookie[a].c),ai_cookie[a].hasOwnProperty("h")&&(c=ai_cookie[a].h)),""===u||c!=q)ai_set_cookie(a, 108"c",v),ai_set_cookie(a,"h",q)}else ai_cookie.hasOwnProperty(a)&&ai_cookie[a].hasOwnProperty("c")&&(ai_set_cookie(a,"c",""),ai_cookie[a].hasOwnProperty("i")||ai_cookie[a].hasOwnProperty("x")||ai_set_cookie(a,"h",""));if("undefined"!=typeof p&&0<p&&"undefined"!=typeof h&&0<h){ai_check_data.hasOwnProperty(a)||(ai_check_data[a]={});ai_check_data[a].cpt=p;ai_check_data[a].ct=h;q=v="";ai_cookie.hasOwnProperty(a)&&(ai_cookie[a].hasOwnProperty("cpt")&&(v=ai_cookie[a].cpt),ai_cookie[a].hasOwnProperty("ct")&& 109(q=ai_cookie[a].ct));if(""===v||""===q)ai_set_cookie(a,"cpt",p),c=new Date,c=Math.round(c.getTime()/1E3),ai_set_cookie(a,"ct",Math.round(c+86400*h));0<q&&(c=new Date,c=Math.round(c.getTime()/1E3),q<=c&&(ai_set_cookie(a,"cpt",p),ai_set_cookie(a,"ct",Math.round(c+86400*h))))}else ai_cookie.hasOwnProperty(a)&&(ai_cookie[a].hasOwnProperty("cpt")&&ai_set_cookie(a,"cpt",""),ai_cookie[a].hasOwnProperty("ct")&&ai_set_cookie(a,"ct",""));if("undefined"!=typeof d&&0<d&&"undefined"!=typeof e&&0<e){ai_check_data.hasOwnProperty("G")|| 110(ai_check_data.G={});ai_check_data.G.cpt=d;ai_check_data.G.ct=e;a=p="";ai_cookie.hasOwnProperty("G")&&(ai_cookie.G.hasOwnProperty("cpt")&&(p=ai_cookie.G.cpt),ai_cookie.G.hasOwnProperty("ct")&&(a=ai_cookie.G.ct));if(""===p||""===a)ai_set_cookie("G","cpt",d),c=new Date,c=Math.round(c.getTime()/1E3),ai_set_cookie("G","ct",Math.round(c+86400*e));0<a&&(c=new Date,c=Math.round(c.getTime()/1E3),a<=c&&(ai_set_cookie("G","cpt",d),ai_set_cookie("G","ct",Math.round(c+86400*e))))}else ai_cookie.hasOwnProperty("G")&& 111(ai_cookie.G.hasOwnProperty("cpt")&&ai_set_cookie("G","cpt",""),ai_cookie.G.hasOwnProperty("ct")&&ai_set_cookie("G","ct",""))});document.querySelectorAll(".ai-check-block").forEach((e,d)=>{e.classList.remove("ai-check-block")});for(var b in ai_cookie)for(var m in ai_cookie[b])if("d"==m){var n=ai_cookie[b][m];0<n?ai_set_cookie(b,"d",n-1):ai_check_data.hasOwnProperty(b)&&ai_check_data[b].hasOwnProperty("e")?ai_set_cookie(b,"d",ai_check_data[b].e-1):ai_check_data.hasOwnProperty(b)&&ai_check_data[b].hasOwnProperty("d")|| 112ai_set_cookie(b,"d","")}}}function C(){if(ai_track_pageviews){var b=document.documentElement.clientWidth,m=window.innerWidth,n=b<m?m:b,e=0;ai_viewport_widths.every((f,q)=>n>=f?(e=ai_viewport_indexes[q],!1):!0);b=document.querySelector(b64d("Ym9keQ==")).getAttribute(b64d(ai_adb_attribute));if("string"===typeof b)var d=b==b64d("bWFzaw==");"string"===typeof b&&"boolean"===typeof d&&d&&(ai_external_tracking&&l("ad blocking",0,ai_viewport_names[e-1
112],0,0,"",!0),e|=128);z=[0,e]}y();ai_process_impressions(); 113if(0!=z.length&&ai_internal_tracking){d={action:"ai_ajax",ai_check:ai_data_id};var a=[],c;for(c in d)b=encodeURIComponent(c),m=encodeURIComponent(d[c]),a.push(b+"="+m);b=encodeURIComponent("views[]");m=encodeURIComponent(0);a.push(b+"="+m);b=encodeURIComponent("versions[]");m=encodeURIComponent(e);a.push(b+"="+m);a=a.join("&");(async function(){return await (await fetch(ai_ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:a})).text()})().then(f=> 114{})}ai_tracking_finished=!0}ai_debug_tracking&&(ai_ajax_url+="?ai-debug-tracking=1");Number.isInteger=Number.isInteger||function(b){return"number"===typeof b&&isFinite(b)&&Math.floor(b)===b};ai_install_standard_click_trackers=function(b){"undefined"==typeof b&&(b=document.querySelector("body"));b=b.querySelectorAll("div.ai-track[data-ai]");var m=[];b.forEach((e,d)=>{if(e.offsetWidth||e.offsetHeight||e.getClientRects().length)e.querySelectorAll("div.ai-lazy, div.ai-wait-for-interaction, div.ai-manual, div.ai-list-manual, div.ai-manual-auto, div.ai-delayed").length|| 115m.push(e)});var n=[];m.forEach((e,d)=>{e.classList.remove("ai-track");n.push.apply(n,e.querySelectorAll("a"))});b=n;0!=b.length&&(ai_advanced_click_detection?b.forEach((e,d)=>{e.addEventListener("click",()=>{for(var a=e.closest("div[data-ai]");null!==a&&a.hasAttribute("data-ai");){var c=JSON.parse(b64d(a.getAttribute("data-ai")));"undefined"!==typeof c&&c.constructor===Array&&Number.isInteger(c[1])&&!a.classList.contains("clicked")&&(a.classList.add("clicked"),t(c,"a.click"));a=a.parentElement.closest("div[data-ai]")}})}): 116b.forEach((e,d)=>{e.addEventListener("click",()=>{for(var a=e.closest("div[data-ai]");null!==a&&a.hasAttribute("data-ai");){var c=JSON.parse(b64d(a.getAttribute("data-ai")));"undefined"!==typeof c&&c.constructor===Array&&Number.isInteger(c[1])&&(t(c,"a.click"),clicked=!0);a=a.parentElement.closest("div[data-ai]")}})}))};ai_install_click_trackers=function(b){"undefined"==typeof b&&(b=document.querySelector("body"));if(ai_advanced_click_detection){var m=b.querySelectorAll("div.ai-track[data-ai], div.ai-rotate[data-info] div.ai-track[data-ai]"), 117n=[];m.forEach((d,a)=>{(d.offsetWidth||d.offsetHeight||d.getClientRects().length)&&n.push(d)});b.hasAttribute("data-ai")&&b.classList.contains("ai-track")&&(b.offsetWidth||b.offsetHeight||b.getClientRects().length)&&n.push(b);var e=[];n.forEach((d,a)=>{d.querySelectorAll("div.ai-lazy, div.ai-wait-for-interaction, div.ai-manual, div.ai-list-manual, div.ai-manual-auto, div.ai-delayed").length||e.push(d)});m=e;0!=m.length&&m.forEach((d,a)=>{installIframeTracker({blurCallback:function(){if(null!=this.ai_data&& 118null!=wrapper&&!wrapper.classList.contains("clicked")){wrapper.classList.add("clicked");t(this.ai_data,"blurCallback");for(var c=wrapper.querySelector("div[data-ai]");null!=c&&(c.offsetWidth||c.offsetHeight||c.getClientRects().length)&&c.hasAttribute("data-ai");){var f=JSON.parse(b64d(c.getAttribute("data-ai")));"undefined"!==typeof f&&f.constructor===Array&&Number.isInteger(f[1])&&t(f,"blurCallback INNER");c=c.querySelector("div[data-ai]")}}},overCallback:function(c){c=c.closest("div[data-ai]"); 119if(c.hasAttribute("data-ai")){var f=JSON.parse(b64d(c.getAttribute("data-ai")));"undefined"!==typeof f&&f.constructor===Array&&Number.isInteger(f[1])?(wrapper=c,this.ai_data=f):(null!=wrapper&&wrapper.classList.remove("clicked"),this.ai_data=wrapper=null)}},outCallback:function(c){null!=wrapper&&wrapper.classList.remove("clicked");this.ai_data=wrapper=null},focusCallback:function(c){if(null!=this.ai_data&&null!=wrapper&&!wrapper.classList.contains("clicked"))for(wrapper.classList.add("clicked"),t(this.ai_data, 120"focusCallback"),c=wrapper.querySelector("div[data-ai]");null!=c&&(c.offsetWidth||c.offsetHeight||c.getClientRects().length)&&c.hasAttribute("data-ai");){var f=JSON.parse(b64d(c.getAttribute("data-ai")));"undefined"!==typeof f&&f.constructor===Array&&Number.isInteger(f[1])&&t(f,"focusCallback INNER");c=c.querySelector("div[data-ai]")}},wrapper:null,ai_data:null,block:null,version:null},d)})}ai_install_standard_click_trackers(b)};var z=[];ai_process_impressions=function(b){"undefined"==typeof b&&(b= 121document.querySelector("body"));var m=[],n=[],e=[],d=[],a=[],c=[];0!=z.length&&(m.push(z[0]),n.push(z[1]),e.push("Pageviews"),a.push(0),d.push(""));var f=b.querySelectorAll("div.ai-track[data-ai], div.ai-rotate[data-info] div.ai-track[data-ai]"),q=[];f.forEach((h,r)=>{(h.offsetWidth||h.offsetHeight||h.getClientRects().length)&&!h.classList.contains("ai-no-pageview")&&q.push(h)});null!==b&&b.hasAttribute("data-ai")&&b.classList.contains("ai-track")&&!b.classList.contains("ai-no-pageview")&&(b.offsetWidth|| 122b.offsetHeight||b.getClientRects().length)&&q.push(b);f=q;0!=f.length&&f.forEach((h,r)=>{if(h.hasAttribute("data-ai")){r="";for(var x=1;9>=x;x++)if(h.hasAttribute("data-ai-"+x))r=h.getAttribute("data-ai-"+x);else break;""!=r&&h.setAttribute("data-ai",r);r=JSON.parse(b64d(h.getAttribute("data-ai")));if("undefined"!==typeof r&&r.constructor===Array){var A=0;x=h.querySelectorAll("div.ai-rotate[data-info]");1==x.length&&(A=JSON.parse(b64d(x[0].dataset.info))[1],c=[],h.querySelectorAll("div.ai-rotate .ai-rotate-option[data-index]").forEach((D, 123J)=>{D=parseInt(D.dataset.index);c.push(D);D>A&&(A=D)}));if(Number.isInteger(r[0])&&0!=r[0]&&Number.isInteger(r[1])){x=0;var F=h.classList.contains("ai-no-tracking"),B=document.querySelector(b64d("Ym9keQ==")).getAttribute(b64d(ai_adb_attribute));if("string"===typeof B)var E=B==b64d("bWFzaw==");if("string"===typeof B&&"boolean"===typeof E){var G=h.offsetHeight;B=h.querySelectorAll(".ai-attributes");B.length&&B.forEach((D,J)=>{G>=h.offsetHeight&&(G-=h.offsetHeight)});B=h.querySelectorAll(".ai-code"); 124G=0;B.length&&B.forEach((D,J)=>{G+=D.offsetHeight});E&&0===G&&(x=128)}0!=h.querySelectorAll("div.ai-lazy, div.ai-wait-for-interaction, div.ai-manual, div.ai-list-manual, div.ai-manual-auto, div.ai-delayed").length&&(F=!0);if(!F)if(0==A)m.push(r[0]),n.push(r[1]|x),e.push(r[2]),d.push(r[3]),a.push(r[4]);else{for(E=1;E<=A;E++)c.includes(E)&&(m.push(r[0]),n.push(E|x),e.push(r[2]),d.push(r[3]),a.push(r[4]));h.classList.add("ai-impression")}}}}});ai_cookie=ai_load_cookie();for(var k in ai_cookie)if(m.includes(parseInt(k)))for(var u in ai_cookie[k])"i"== 125u?(b=ai_cookie[k][u],0<b&&(1==b?(b=new Date,b=Math.round(b.getTime()/1E3)+604800,ai_set_cookie(k,"i",-b)):ai_set_cookie(k,"i",b-1))):"ipt"==u&&(b=ai_cookie[k][u],0<b?ai_set_cookie(k,"ipt",b-1):ai_check_data.hasOwnProperty(k)&&ai_check_data[k].hasOwnProperty("ipt")&&ai_check_data[k].hasOwnProperty("it")?ai_cookie.hasOwnProperty(k)&&ai_cookie[k].hasOwnProperty("it")&&(b=new Date,0>=ai_cookie[k].it-Math.round(b.getTime()/1E3)&&(b=Math.round(b.getTime()/1E3),ai_set_cookie(k,"ipt",ai_check_data[k].ipt), 126ai_set_cookie(k,"it",Math.round(b+86400*ai_check_data[k].it)))):(ai_cookie.hasOwnProperty(k)&&ai_cookie[k].hasOwnProperty("ipt")&&ai_set_cookie(k,"ipt",""),ai_cookie.hasOwnProperty(k)&&ai_cookie[k].hasOwnProperty("it")&&ai_set_cookie(k,"it","")));if(m.length){if(ai_internal_tracking&&"undefined"===typeof ai_internal_tracking_no_impressions){z=[];k={action:"ai_ajax",ai_check:ai_data_id};var w=[],v;for(v in k)u=encodeURIComponent(v),b=encodeURIComponent(k[v]),w.push(u+"="+b);for(var p in m)u=encodeURIComponent("views[]"), 127b=encodeURIComponent(m[p]),w.push(u+"="+b);for(p in n)u=encodeURIComponent("versions[]"),b=encodeURIComponent(n[p]),w.push(u+"="+b);w=w.join("&");(async function(){return await (await fetch(ai_ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:w})).text()})().then(h=>{h=h.trim();if(""!=h&&(h=JSON.parse(h),"undefined"!=typeof h["#"])){ai_cookie=ai_load_cookie();var r=Math.round((new Date).getTime()/1E3)+43200,x=[],A;
127for(A in h["#"])ai_cookie.hasOwnProperty(h["#"][A])&& 128ai_cookie[h["#"][A]].hasOwnProperty("x")||ai_set_cookie(h["#"][A],"x",r);setTimeout(function(){for(p=0;p<x.length;++p)document.querySelectorAll('span[data-ai-block="'+x[p]+'"]').forEach((F,B)=>{(F=F.closest("div[data-ai]"))&&F.remove()})},50)}})}if(ai_external_tracking&&"undefined"===typeof ai_external_tracking_no_impressions)for(v=0;v<m.length;v++)0!=m[v]&&l("impression",m[v],e[v],a[v],n[v],d[v],!0)}};window.addEventListener("load",b=>{"undefined"==typeof ai_delay_tracking&&(ai_delay_tracking=0); 129setTimeout(C,ai_delay_tracking+1400);setTimeout(ai_install_click_trackers,ai_delay_tracking+1500)})})}; 130if("undefined"!==typeof ai_adsense_ad_names){ai_process_adsense_ad=function(a){var d=a.getAttribute("width"),e=a.getAttribute("height"),b=k(a.getAttribute("src"));if("undefined"!==typeof b.client){var f=b.client.replace("ca-",""),c=b.slotname;b=b.ifi;var g="ai-debug-ad-overlay",h="";"undefined"!==typeof c?(h="","undefined"!==typeof ai_adsense_ad_names.publisher_id&&ai_adsense_ad_names.publisher_id==f&&"undefined"!==typeof ai_adsense_ad_names[c]&&(h='<div class="ai-info ai-info-2">'+ai_adsense_ad_names[c]+ 131"</div>"),h='<div class="ai-info ai-info-1">'+c+"</div>"+h):null!=a.closest("div.google-auto-placed")?(g+=" ai-auto-ads",h='<div class="ai-info ai-info-1">Auto ads</div>'):g+=" ai-no-slot";f='<div class="'+g+'"></div>';a.insertAdjacentHTML("afterend",'<div class="ai-debug-ad-info"><div class="ai-info ai-info-1">AdSense #'+b+'</div><div class="ai-info ai-info-2">'+d+"x"+e+"</div>"+h+"</div>");ai_preview_window||a.insertAdjacentHTML("afterend",f)}};(function(a){"complete"===document.readyState||"loading"!== 132document.readyState&&!document.documentElement.doScroll?a():document.addEventListener("DOMContentLoaded",a)})(function(){var a={action:"ai_ajax",ai_check:ai_nonce,"adsense-ad-units[ai]":1},d=[],e;for(e in a){var b=encodeURIComponent(e),f=encodeURIComponent(a[e]);d.push(b+"="+f)}d=d.join("&");(async function(){return await (await fetch(ai_ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:d})).text()})().then(c=>{if(""!=c)try{ai_adsense_ad_names= 133JSON.parse(c)}catch(g){}}).catch(c=>{})});if(!ai_preview_window){const a=document.querySelector("body");(new MutationObserver(function(d,e){for(const b of d)"childList"===b.type&&b.addedNodes.length&&"IFRAME"==b.addedNodes[0].tagName&&null!=b.addedNodes[0].getAttribute("width")&&null!=b.addedNodes[0].getAttribute("height")&&b.addedNodes[0].closest(".adsbygoogle")&&ai_process_adsense_ad(b.addedNodes[0])})).observe(a,{attributes:!1,childList:!0,subtree:!0})}function k(a){var d=a?a.split("?")[1]:window.location.search.slice(1); 134a={};if(d){d=d.split("#")[0];d=d.split("&");for(var e=0;e<d.length;e++){var b=d[e].split("="),f=void 0,c=b[0].replace(/\[\d*\]/,function(g){f=g.slice(1,-1);return""});b="undefined"===typeof b[1]?"":b[1];c=c.toLowerCase();b=b.toLowerCase();a[c]?("string"===typeof a[c]&&(a[c]=[a[c]]),"undefined"===typeof f?a[c].push(b):a[c][f]=b):a[c]=b}}return a}}; 135"undefined"!==typeof ai_adsense_ad_names&&window.addEventListener("load",function(b){setTimeout(function(){document.querySelectorAll(".google-auto-placed > ins").forEach(function(a,c){a.insertAdjacentHTML("afterbegin",'<section class="ai-debug-bar ai-debug-adsense ai-adsense-auto-ads">'+ai_front.automatically_placed+"</section>")})},150)}); 136function ai_check_close_buttons(){function e(a){var b=a.querySelector(".ai-close-button.ai-close-unprocessed");if(null!=b){var c=b.dataset.aiBlock;b.addEventListener("click",g=>{ai_close_block(b);"function"==typeof ai_close_button_action&&ai_close_button_action(c)});var d=0;"undefined"!==typeof ai_close_min_block_height&&ai_close_min_block_height.constructor===Array&&"undefined"!==typeof ai_close_min_block_height[c]&&(d=ai_close_min_block_height[c]);0!==a.offsetHeight&&a.offsetHeight>=d?(null==a.querySelector(".ai-parallax")&& 137(a.style.width="",a.classList.add("ai-close-fit")),ai_fade_in(a.querySelector(".ai-close-button"),50)):(b=a,setTimeout(function(){0!==b.offsetHeight&&b.offsetHeight>=d&&(null==b.querySelector(".ai-parallax")&&(b.style.width="",b.classList.add("ai-close-fit")),ai_fade_in(b.querySelector(".ai-close-button"),50))},4E3));if("undefined"===typeof ai_preview){var f=b;a=f.dataset.aiCloseTimeout;"undefined"!=typeof a&&0<a&&setTimeout(function(){ai_close_block(f)},1E3*(2<a?a-2:0)+1)}b.classList.remove("ai-close-unprocessed")}} 138ai_close_block=function(a){var b=a.closest(".ai-close"),c=a.dataset.aiBlock;if(null!=b){if(null!=b.querySelector(".ai-attributes [data-ai-hash]")&&"aiHash"in b.querySelector(".ai-attributes [data-ai-hash]").dataset){var d=b.querySelector(".ai-attributes [data-ai-hash]").dataset.aiHash;if("aiClosedTime"in a.dataset){a=a.dataset.aiClosedTime;var f=Math.round((new Date).getTime()/1E3);ai_set_cookie(c,"x",Math.round(f+86400*a));ai_set_cookie(c,"h",d)}}else d=ai_set_cookie(c,"x",""),!d.hasOwnProperty(c)|| 139d[c].hasOwnProperty("i")||d[c].hasOwnProperty("c")||ai_set_cookie(c,"h","");b.remove()}else ai_set_cookie(c,"x",""),!d.hasOwnProperty(c)||d[c].hasOwnProperty("i")||d[c].hasOwnProperty("c")||ai_set_cookie(c,"h","")};ai_install_close_buttons=function(a){setTimeout(function(){a instanceof Element&&a.classList.contains("ai-close")?e
139(a):document.querySelectorAll(".ai-close").forEach((b,c)=>{e(b)})},ai_close_button_delay)};"undefined"==typeof ai_close_button_delay&&(ai_close_button_delay=2200);ai_install_close_buttons(document)} 140function ai_fade_in(e,a){e.style.display="block";e.style.opacity=0;var b=+new Date,c=function(){e.style.opacity=+e.style.opacity+(new Date-b)/a;b=+new Date;1>+e.style.opacity&&(window.requestAnimationFrame&&requestAnimationFrame(c)||setTimeout(c,16))};c()}function ai_ready(e){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?e():document.addEventListener("DOMContentLoaded",e)}ai_ready(ai_check_close_buttons); 141if("undefined"!=typeof ai_filter){function m(a,g){if(g){for(a=a.previousElementSibling;a&&!a.matches(g);)a=a.previousElementSibling;return a}return a.previousElementSibling}function q(){return(new Date).getTime()+"-"+Math.round(1E5*Math.random())}function p(a){a.forEach((b,c)=>{b.classList.remove("ai-filter-check")});var g=!1;if(""!=ai_filter_hook_data){try{var h=JSON.parse(ai_filter_hook_data)}catch(b){return}null!=h&&a.forEach((b,c)=>{c=b.closest("div."+ai_block_class_def);var e=parseInt(b.dataset.block); 142g=!1;"undefined"!==typeof h&&(h.includes("*")?(g=!0,h.includes(-e)&&(g=!1)):h.includes(e)&&(g=!0));b.style.visibility="";b.style.position="none";b.style.width="";b.style.height="";var d=b.style.zIndex="";e=JSON.parse(ai_filter_hook_comments);if("string"==typeof e)d=e;else if("object"==typeof e){d="";for(const [k,n]of Object.entries(e))d+=`${k}: ${n}\n`}else d=ai_filter_hook_comments;"undefined"!=typeof ai_front&&(e=m(b,".ai-debug-bar"),null!=e&&(e.querySelectorAll(".ai-status").forEach((k,n)=>{k.textContent= 143g?ai_front.visible:ai_front.hidden}),e.querySelectorAll(".ai-filter-data").forEach((k,n)=>{k.setAttribute("title",d)})));if(g){if(null!=c&&(c.style.visibility="",c.classList.contains("ai-remove-position")&&(c.style.position="")),"code"in b.dataset){var f=b64d(b.dataset.code);e=document.createElement("div");e.innerHTML=f;f=document.createRange();try{var l=f.createContextualFragment(e.innerHTML)}catch(k){}null!=b.closest("head")?(b.insertBefore(l,null),b.remove()):b.parentNode.insertBefore(l,b.nextSibling); 144b.setAttribute("data-code","");r(b.parentElement)}}else b.style.display="none",null!=c&&(null!=!c.querySelector(".ai-debug-block")&&(c.style.display="none"),c.removeAttribute("data-ai"),null!=c.querySelector(".ai-debug-block")?(c.style.visibility="",c.classList.remove("ai-close"),c.classList.contains("ai-remove-position")&&(c.style.position=""),"code"in b.dataset&&(c.classList.remove("ai-list-block"),c.classList.remove("ai-list-block-ip"),null!=m(c)&&m(c).classList.contains("ai-debug-info")&&m(c).remove())): 145c.style.display="none");null!=c&&c.classList.remove("ai-list-block-filter")})}}ai_process_filter_hooks=function(a){if(null==a)ai_filter_hook_blocks=document.querySelectorAll("div.ai-filter-check, meta.ai-filter-check");else{window.jQuery&&window.jQuery.fn&&a instanceof jQuery&&(ai_filter_hook_blocks=Array.prototype.slice.call(a));var g=[];ai_filter_hook_blocks.forEach((d,f)=>{d.matches(".ai-filter-check")?g.push(d):(d=d.querySelectorAll(".ai-filter-check"),d.length&&d.forEach((l,k)=>{g.push(l)}))}); 146ai_filter_hook_blocks=g}if(ai_filter_hook_blocks.length)if("undefined"!=typeof ai_filter_hook_data)p(ai_filter_hook_blocks);else if("undefined"==typeof ai_filter_hook_data_requested){a=window.navigator.userAgent;var h=navigator.language;ai_filter_hook_data_requested=!0;a={action:"ai_ajax","filter-hook-data":"all",check:ai_data_id,http_user_agent:encodeURIComponent(a),http_accept_language:encodeURIComponent(h),ver:q()};var b=[],c;for(c in a){h=encodeURIComponent(c);var e=encodeURIComponent(a[c]);b.push(h+ 147"="+e)}b=b.join("&");(async function(){return await (await fetch(ai_ajax_url+"?"+b,{method:"GET"})).text()})().then(d=>{if(""==d)d="AI FILTER HOOK Ajax request returned empty data, filter hook checks not processed",console.error(d),"undefined"!=typeof ai_js_errors&&ai_js_errors.push([d,page,0]);else try{var f=JSON.parse(d)}
147catch(l){d="AI FILTER HOOK Ajax call returned invalid data, filter hook checks not processed",console.error(d),"undefined"!=typeof ai_js_errors&&ai_js_errors.push([d,page,0])}ai_filter_hook_data= 148JSON.stringify(f.blocks);ai_filter_hook_comments=JSON.stringify(f.comments);ai_filter_hook_blocks=document.querySelectorAll("div.ai-filter-check, meta.ai-filter-check");p(ai_filter_hook_blocks)}).catch(d=>{document.querySelectorAll("div.ai-filter-check").forEach((f,l)=>{f.style.display="none";f.style.visibility="";f.style.position="";f.style.width="";f.style.height="";f.style.zIndex="";f.classList.remove("ai-filter-check");f.style.display="none"})})}};(function(a){"complete"===document.readyState|| 149"loading"!==document.readyState&&!document.documentElement.doScroll?a():document.addEventListener("DOMContentLoaded",a)})(function(){setTimeout(function(){ai_process_filter_hooks()},3)});function r(a){setTimeout(function(){"function"==typeof ai_process_rotations_in_element&&ai_process_rotations_in_element(a);"function"==typeof ai_process_lists&&ai_process_lists();"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses();"function"==typeof ai_process_filter_hooks&&ai_process_filter_hooks(a); 150"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks(a);"function"==typeof ai_process_impressions&&1==ai_tracking_finished&&ai_process_impressions();"function"==typeof ai_install_click_trackers&&1==ai_tracking_finished&&ai_install_click_trackers();"function"==typeof ai_install_close_buttons&&ai_install_close_buttons(document)},5)}}; 151if("undefined"!=typeof ai_ip){function u(b,g){g||(g=window.location.href);b=b.replace(/[\[\]]/g,"\\$&");return(b=(new RegExp("[?&]"+b+"(=([^&#]*)|&|#|$)")).exec(g))?b[2]?decodeURIComponent(b[2].replace(/\+/g," ")):"":null}function y(){return(new Date).getTime()+"-"+Math.round(1E5*Math.random())}function v(b){b.forEach((a,c)=>{a.classList.remove("ai-ip-data")});var g=!1;if(""!=ai_ip_data){try{var l=JSON.parse(ai_ip_data),f=l[0],r=l[1],p=l[2],q=l[3]}catch(a){return}var t=!1;-1!=f.indexOf("#")&&(t=!0, 152f=f.replace("#",""));var e="";t&&(e="CFP BLOCKED, ");e=e+f+", "+r;null!=p&&null!=q&&(e=e+":"+p+":"+q);null==p&&(p="");null==q&&(q="");null!=l&&b.forEach((a,c)=>{c=a.closest("div."+ai_block_class_def);g=!0;if(a.hasAttribute("ip-addresses")){var h=a.getAttribute("ip-addresses").split(","),m=a.getAttribute("ip-address-list"),k=!1;h.every((d,n)=>{if("*"==d.charAt(0))if("*"==d.charAt(d.length-1)){if(d=d.substr(1,d.length-2),-1!=f.indexOf(d))return k=!0,!1}else{if(d=d.substr(1),f.substr(-d.length)==d)return k= 153!0,!1}else if("*"==d.charAt(d.length-1)){if(d=d.substr(0,d.length-1),0==f.indexOf(d))return k=!0,!1}else if("#"==d){if(""==f)return k=!0,!1}else if("CFP"==d.toUpperCase()){if(t)return k=!0,!1}else if(d==f)return k=!0,!1;return!0});switch(m){case "B":k&&(g=!1);break;case "W":k||(g=!1)}}if(g&&a.hasAttribute("countries"))switch(h=a.getAttribute("countries").split(","),m=a.getAttribute("country-list"),k=!1,h.every((d,n)=>{n=d.trim().split(":");if(null==n[1]||""==p)n[1]="";if(null==n[2]||""==q)n[2]=""; 154d=n.join(":").toUpperCase();n=(r+":"+(""==n[1]?"":p)+":"+(""==n[2]?"":q)).toUpperCase();return d==n?(k=!0,!1):!0}),m){case "B":k&&(g=!1);break;case "W":k||(g=!1)}a.style.visibility="";a.style.position="";a.style.width="";a.style.height="";a.style.zIndex="";for(h=a.previousElementSibling;h&&!h.matches(".ai-debug-bar");)h=h.previousElementSibling;null!=h&&(m=h.querySelector(".ai-debug-name.ai-ip-country"),null!=m&&(m.textContent=e),m=h.querySelector(".ai-debug-name.ai-ip-status"),null!=m&&(m.textContent= 155g?ai_front.visible:ai_front.hidden));if(g){if(null!=c&&(c.style.visibility="",c.classList.contains("ai-remove-position")&&(c.style.position="")),a.hasAttribute("data-code")){h=b64d(a.dataset.code);m=document.createRange();var w=!0;try{var x=m.createContextualFragment(h)}catch(d){w=!1}w&&(null!=a.closest("head")?(a.parentNode.insertBefore(x,a.nextSibling),a.remove()):a.append(x));a.removeAttribute("data-code");z(a)}}else a.style.display="none",null!=c&&(c.removeAttribute("data-ai"),c.classList.remove("ai-track"), 156null!=c.querySelector(".ai-debug-block")?(c.style.visibility="",c.classList.remove("ai-close"),c.classList.contains("ai-remove-position")&&(c.style.position=""),a.hasAttribute("data-code")&&(c.classList.remove("ai-list-block"),c.classList.remove("ai-list-block-filter"),null!=c.previousElementSibling&&c.previousElementSibling.classList.contains("ai-debug-info")&&c.previousElementSibling.remove())):c.hasAttribute("style")&&-1==c.getAttribute("style").indexOf("height:")&&(c.style.display="none"));null!= 157c&&c.classList.remove("ai-list-block-ip")})}}ai_process_ip_addresses=function(b){if(null==b)b=document.querySelectorAll("div.ai-ip-data, meta.ai-ip-data");else{window.jQuery&&window.jQuery.fn&&b instanceof jQuery&&(b=Array.prototype.slice.call(b));var g=[];b.forEach((e,a)=>{e.matches(".ai-ip-data")?g.push(e):(e=e.querySelectorAll(".ai-ip-data"),e.length&&e.forEach((c,h)=>{g.push(c)}))});b=g}if(b.length)if("undefined"!=typeof ai_ip_data)v(b);else if("undefined"==typeof ai_ip_data_requested){ai_ip_data_requested= 158!0;var l=ai_ajax_url+"?action=ai_ajax&ip-data="+("1"==ai_use_maxmind?"ip-address-country-city":"ip-address-country"),f=u("ai-debug-ip-address");null!=f&&(l+="&ai-debug-ip-address="+f);f=u("ai-debug-country");null!=f&&(l+="&ai-debug-country="+f);f={ai_check:ai_data_id,version:y()};var r=[],p;for(p in f){var q=encodeURIComponent(p),t=encodeURIComponent(f[p]);r.push(q+"="+t)}
158r=r.join("&");(async function(){return await (await fetch(l,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}, 159body:r})).text()})().then(e=>{ai_ip_data=e;if(""==e){var a="Ajax request returned empty data, geo-targeting disabled";console.error(a);"undefined"!=typeof ai_js_errors&&ai_js_errors.push([a,l,0])}else try{JSON.parse(e)}catch(c){a="Ajax call returned invalid data, geo-targeting disabled",console.error(a,e),"undefined"!=typeof ai_js_errors&&ai_js_errors.push([a,l,0])}b=document.querySelectorAll("div.ai-ip-data, meta.ai-ip-data");b.length&&v(b)}).catch(e=>{document.querySelectorAll("div.ai-ip-data").forEach((a, 160c)=>{a.style.display="none";a.style.visibility="";a.style.position="";a.style.width="";a.style.height="";a.style.zIndex="";a.classList.remove("ai-ip-data")})})}};(function(b){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?b():document.addEventListener("DOMContentLoaded",b)})(function(){setTimeout(function(){ai_process_ip_addresses()},5)});function z(b){setTimeout(function(){"function"==typeof ai_process_rotations_in_element&&ai_process_rotations_in_element(b); 161"function"==typeof ai_process_lists&&ai_process_lists();"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses();"function"==typeof ai_process_filter_hooks&&ai_process_filter_hooks();"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks(b);"function"==typeof ai_process_impressions&&1==ai_tracking_finished&&ai_process_impressions();"function"==typeof ai_install_click_trackers&&1==ai_tracking_finished&&ai_install_click_trackers();"function"==typeof ai_install_close_buttons&&ai_install_close_buttons(document)}, 1625)}}; 163if("undefined"!=typeof ai_lists){function X(b,e){for(var n=[];b=b.previousElementSibling;)("undefined"==typeof e||b.matches(e))&&n.push(b);return n}function fa(b,e){for(var n=[];b=b.nextElementSibling;)("undefined"==typeof e||b.matches(e))&&n.push(b);return n}var host_regexp=RegExp(":\\/\\/(.[^/:]+)","i");function ha(b){b=b.match(host_regexp);return null!=b&&1<b.length&&"string"===typeof b[1]&&0<b[1].length?b[1].toLowerCase():null}function Q(b){return b.includes(":")?(b=b.split(":"),1E3*(3600*parseInt(b[0])+ 16460*parseInt(b[1])+parseInt(b[2]))):null}function Y(b){try{var e=Date.parse(b);isNaN(e)&&(e=null)}catch(n){e=null}if(null==e&&b.includes(" ")){b=b.split(" ");try{e=Date.parse(b[0]),e+=Q(b[1]),isNaN(e)&&(e=null)}catch(n){e=null}}return e}function Z(){null==document.querySelector("#ai-iab-tcf-bar")&&null==document.querySelector(".ai-list-manual")||"function"!=typeof __tcfapi||"function"!=typeof ai_load_blocks||"undefined"!=typeof ai_iab_tcf_callback_installed||(__tcfapi("addEventListener",2,function(b, 165e){e&&"useractioncomplete"===b.eventStatus&&(ai_tcData=b,ai_load_blocks(),b=document.querySelector("#ai-iab-tcf-status"),null!=b&&(b.textContent="IAB TCF 2.0 DATA LOADED"),b=document.querySelector("#ai-iab-tcf-bar"),null!=b&&(b.classList.remove("status-error"),b.classList.add("status-ok")))}),ai_iab_tcf_callback_installed=!0)}ai_process_lists=function(b){function e(a,c,k){if(0==a.length){if("!@!"==k)return!0;c!=k&&("true"==k.toLowerCase()?k=!0:"false"==k.toLowerCase()&&(k=!1));return c==k}if("object"!= 166typeof c&&"array"!=typeof c)return!1;var l=a[0];a=a.slice(1);if("*"==l)for(let [,p]of Object.entries(c)){if(e(a,p,k))return!0}else if(l in c)return e(a,c[l],k);return!1}function n(a,c,k){if("object"!=typeof a||-1==c.indexOf("["))return!1;c=c.replace(/]| /gi,"").split("[");return e(c,a,k)}function z(){if("function"==typeof __tcfapi){var a=document.querySelector("#ai-iab-tcf-status"),c=document.querySelector("#ai-iab-tcf-bar");null!=a&&(a.textContent="IAB TCF 2.0 DETECTED");__tcfapi("getTCData",2,function(k, 167l){l?(null!=c&&(c.classList.remove("status-error"),c.classList.add("status-ok")),"tcloaded"==k.eventStatus||"useractioncomplete"==k.eventStatus)?(ai_tcData=k,k.gdprApplies?null!=a&&(a.textContent="IAB TCF 2.0 DATA LOADED"):null!=a&&(a.textContent="IAB TCF 2.0 GDPR DOES NOT APPLY"),null!=c&&(c.classList.remove("status-error"),c.classList.add("status-ok")),setTimeout(function(){ai_process_lists()},10)):"cmpuishown"==k.eventStatus&&(ai_cmpuishown=!0,null!=a&&(a.textContent="IAB TCF 2.0 CMP UI SHOWN"), 168null!=c&&(c.classList.remove("status-error"),c.classList.add("status-ok"))):(null!=a&&(a.textContent="IAB TCF 2.0 __tcfapi getTCData failed"),null!=c&&(c.classList.remove("status-ok"),c.classList.add("status-error")))})}}function C(a){"function"==typeof __tcfapi?(ai_tcfapi_found=!0,"undefined"==typeof ai_iab_tcf_callback_installed&&Z(),"undefined"==typeof ai_tcData_requested&&(ai_tcData_requested=!0,z(),cookies_need_tcData=!0)):a&&("undefined"==typeof ai_tcfapi_found&&(ai_tcfapi_found=!1,setTimeout(function(){ai_process_lists()}, 16910)),a=document.querySelector("#ai-iab-tcf-status"),null!=a&&(a.textContent="IAB TCF 2.0 MISSING: __tcfapi function not found"),a=document.querySelector("#ai-iab-tcf-bar"),null!=a&&(a.classList.remove("status-ok"),a.classList.add("status-error")))}if(null==b)b=document.querySelectorAll("div.ai-list-data, meta.ai-list-data");else{window.jQuery&&window.jQuery.fn&&b instanceof jQuery&&(b=Array.prototype.slice.call(b));var x=[];b.forEach((a,c)=>{a.matches(".ai-list-data")?x.push(a):(a=a.querySelectorAll(".ai-list-data"), 170a.length&&a.forEach((k,l)=>{x.push(k)}))});b=x}if(b.length){b.forEach((a,c)=>{a.classList.remove("ai-list-data")});var L=ia(window.location.search);if(null!=L.referrer)var A=L.referrer;else A=document.referrer,""!=A&&(A=ha(A));var R=window.navigator.userAgent,S=R.toLowerCase(),aa=navigator.language,M=aa.toLowerCase();if("undefined"!==typeof MobileDetect)var ba=new MobileDetect(R);b.forEach((a,c)=>{var k=document.cookie.split(";");
170k.forEach(function(f,h){k[h]=f.trim()});c=a.closest("div."+ai_block_class_def); 171var l=!0;if(a.hasAttribute("referer-list")){var p=a.getAttribute("referer-list");p=b64d(p).split(",");var v=a.getAttribute("referer-list-type"),E=!1;p.every((f,h)=>{f=f.trim();if(""==f)return!0;if("*"==f.charAt(0))if("*"==f.charAt(f.length-1)){if(f=f.substr(1,f.length-2),-1!=A.indexOf(f))return E=!0,!1}else{if(f=f.substr(1),A.substr(-f.length)==f)return E=!0,!1}else if("*"==f.charAt(f.length-1)){if(f=f.substr(0,f.length-1),0==A.indexOf(f))return E=!0,!1}else if("#"==f){if(""==A)return E=!0,!1}else if(f== 172A)return E=!0,!1;return!0});var r=E;switch(v){case "B":r&&(l=!1);break;case "W":r||(l=!1)}}if(l&&a.hasAttribute("client-list")&&"undefined"!==typeof ba)switch(p=a.getAttribute("client-list"),p=b64d(p).split(","),v=a.getAttribute("client-list-type"),r=!1,p.every((f,h)=>{if(""==f.trim())return!0;f.split("&&").every((d,t)=>{t=!0;var w=!1;for(d=d.trim();"!!"==d.substring(0,2);)t=!t,d=d.substring(2);"language:"==d.substring(0,9)&&(w=!0,d=d.substring(9).toLowerCase());var q=!1;w?"*"==d.charAt(0)?"*"==d.charAt(d.length- 1731)?(d=d.substr(1,d.length-2).toLowerCase(),-1!=M.indexOf(d)&&(q=!0)):(d=d.substr(1).toLowerCase(),M.substr(-d.length)==d&&(q=!0)):"*"==d.charAt(d.length-1)?(d=d.substr(0,d.length-1).toLowerCase(),0==M.indexOf(d)&&(q=!0)):d==M&&(q=!0):"*"==d.charAt(0)?"*"==d.charAt(d.length-1)?(d=d.substr(1,d.length-2).toLowerCase(),-1!=S.indexOf(d)&&(q=!0)):(d=d.substr(1).toLowerCase(),S.substr(-d.length)==d&&(q=!0)):"*"==d.charAt(d.length-1)?(d=d.substr(0,d.length-1).toLowerCase(),0==S.indexOf(d)&&(q=!0)):ba.is(d)&& 174(q=!0);return(r=q?t:!t)?!0:!1});return r?!1:!0}),v){case "B":r&&(l=!1);break;case "W":r||(l=!1)}var N=p=!1;for(v=1;2>=v;v++)if(l){switch(v){case 1:var g=a.getAttribute("cookie-list");break;case 2:g=a.getAttribute("parameter-list")}if(null!=g){g=b64d(g);switch(v){case 1:var y=a.getAttribute("cookie-list-type");break;case 2:y=a.getAttribute("parameter-list-type")}g=g.replace("tcf-gdpr","tcf-v2[gdprApplies]=true");g=g.replace("tcf-no-gdpr","tcf-v2[gdprApplies]=false");g=g.replace("tcf-google","tcf-v2[vendor][consents][755]=true && tcf-v2[purpose][consents][1]=true"); 175g=g.replace("tcf-no-google","!!tcf-v2[vendor][consents][755]");g=g.replace("tcf-media.net","tcf-v2[vendor][consents][142]=true && tcf-v2[purpose][consents][1]=true");g=g.replace("tcf-no-media.net","!!tcf-v2[vendor][consents][142]");g=g.replace("tcf-amazon","tcf-v2[vendor][consents][793]=true && tcf-v2[purpose][consents][1]=true");g=g.replace("tcf-no-amazon","!!tcf-v2[vendor][consents][793]");g=g.replace("tcf-ezoic","tcf-v2[vendor][consents][347]=true && tcf-v2[purpose][consents][1]=true");g=g.replace("tcf-no-ezoic", 176"!!tcf-v2[vendor][consents][347]");var F=g.split(","),ca=[];k.forEach(function(f){f=f.split("=");try{var h=JSON.parse(decodeURIComponent(f[1]))}catch(d){h=decodeURIComponent(f[1])}ca[f[0]]=h});r=!1;var I=a;F.every((f,h)=>{f.split("&&").every((d,t)=>{t=!0;for(d=d.trim();"!!"==d.substring(0,2);)t=!t,d=d.substring(2);var w=d,q="!@!",T="tcf-v2"==w&&"!@!"==q,B=-1!=d.indexOf("["),J=0==d.indexOf("tcf-v2")||0==d.indexOf("euconsent-v2");J=J&&(B||T);-1!=d.indexOf("=")&&(q=d.split("="),w=q[0],q=q[1],B=-1!=w.indexOf("["), 177J=(J=0==w.indexOf("tcf-v2")||0==w.indexOf("euconsent-v2"))&&(B||T));if(J)document.querySelector("#ai-iab-tcf-status"),B=document.querySelector("#ai-iab-tcf-bar"),null!=B&&(B.style.display="block"),T&&"boolean"==typeof ai_tcfapi_found?r=ai_tcfapi_found?t:!t:"object"==typeof ai_tcData?(null!=B&&(B.classList.remove("status-error"),B.classList.add("status-ok")),w=w.replace(/]| /gi,"").split("["),w.shift(),r=(w=e(w,ai_tcData,q))?t:!t):"undefined"==typeof ai_tcfapi_found&&(I.classList.add("ai-list-data"), 178N=!0,"function"==typeof __tcfapi?C(!1):"undefined"==typeof ai_tcData_retrying&&(ai_tcData_retrying=!0,setTimeout(function(){"function"==typeof __tcfapi?C(!1):setTimeout(function(){"function"==typeof __tcfapi?C(!1):setTimeout(function(){C(!0)},3E3)},1E3)},600)));else if(B)r=(w=n(ca,w,q))?t:!t;else{var U=!1;"!@!"==q?k.every(function(ja){return ja.split("=")[0]==d?(U=!0,!1):!0}):U=-1!=k.indexOf(d);r=U?t:!t}return r?!0:!1});return r?!1:!0});r&&(N=!1,I.classList.remove("ai-list-data"));switch(y){case "B":r&& 179(l=!1);break;case "W":r||(l=!1)}}}a.classList.contains("ai-list-manual")&&(l?(I.classList.remove("ai-list-data"),I.classList.remove("ai-list-manual")):(p=!0,I.classList.add("ai-list-data")));
179(l||!p&&!N)&&a.hasAttribute("data-debug-info")&&(g=document.querySelector("."+a.dataset.debugInfo),null!=g&&(g=g.parentElement,null!=g&&g.classList.contains("ai-debug-info")&&g.remove()));y=X(a,".ai-debug-bar.ai-debug-lists");var ka=""==A?"#":A;0!=y.length&&y.forEach((f,h)=>{h=f.querySelector(".ai-debug-name.ai-list-info"); 180null!=h&&(h.textContent=ka,h.title=R+"\n"+aa);h=f.querySelector(".ai-debug-name.ai-list-status");null!=h&&(h.textContent=l?ai_front.visible:ai_front.hidden)});g=!1;if(l&&a.hasAttribute("scheduling-start")&&a.hasAttribute("scheduling-end")&&a.hasAttribute("scheduling-days")){var u=a.getAttribute("scheduling-start");v=a.getAttribute("scheduling-end");y=a.getAttribute("scheduling-days");g=!0;u=b64d(u);F=b64d(v);var V=parseInt(a.getAttribute("scheduling-fallback")),O=parseInt(a.getAttribute("gmt"));if(u.includes("-")|| 181F.includes("-"))P=Y(u)+O,K=Y(F)+O;else var P=Q(u),K=Q(F);P??=0;K??=0;var W=b64d(y).split(",");y=a.getAttribute("scheduling-type");var D=(new Date).getTime()+O;v=new Date(D);var G=v.getDay();0==G?G=6:G--;u.includes("-")||F.includes("-")||(u=(new Date(v.getFullYear(),v.getMonth(),v.getDate())).getTime()+O,D-=u,0>D&&(D+=864E5));scheduling_start_date_ok=D>=P;scheduling_end_date_ok=0==K||D<K;u=scheduling_start_date_ok&&scheduling_end_date_ok&&W.includes(G.toString());switch(y){case "B":u=!u}u||(l=!1); 182var la=v.toISOString().split(".")[0].replace("T"," ");y=X(a,".ai-debug-bar.ai-debug-scheduling");
1820!=y.length&&y.forEach((f,h)=>{h=f.querySelector(".ai-debug-name.ai-scheduling-info");null!=h&&(h.textContent=la+" "+G+" current_time: "+Math.floor(D.toString()/1E3)+" start_date:"+Math.floor(P/1E3).toString()+"=>"+scheduling_start_date_ok.toString()+" end_date:"+Math.floor(K/1E3).toString()+"=>"+scheduling_end_date_ok.toString()+" days:"+W.toString()+"=>"+W.includes(G.toString()).toString());h=f.querySelector(".ai-debug-name.ai-scheduling-status"); 183null!=h&&(h.textContent=l?ai_front.visible:ai_front.hidden);l||0==V||(f.classList.remove("ai-debug-scheduling"),f.classList.add("ai-debug-fallback"),h=f.querySelector(".ai-debug-name.ai-scheduling-status"),null!=h&&(h.textContent=ai_front.fallback+" = "+V))})}if(p||!l&&N)return!0;a.style.visibility="";a.style.position="";a.style.width="";a.style.height="";a.style.zIndex="";if(l){if(null!=c&&(c.style.visibility="",c.classList.contains("ai-remove-position")&&(c.style.position="")),a.hasAttribute("data-code")){p= 184b64d(a.dataset.code);u=document.createRange();g=!0;try{H=u.createContextualFragment(p)}catch(f){g=!1}g&&(null!=a.closest("head")?(a.parentNode.insertBefore(H,a.nextSibling),a.remove()):a.append(H));da(a)}}else if(g&&!u&&0!=V){null!=c&&(c.style.visibility="",c.classList.contains("ai-remove-position")&&c.css({position:""}));p=fa(a,".ai-fallback");0!=p.length&&p.forEach((f,h)=>{f.classList.remove("ai-fallback")});if(a.hasAttribute("data-fallback-code")){p=b64d(a.dataset.fallbackCode);u=document.createRange(); 185g=!0;try{var H=u.createContextualFragment(p)}catch(f){g=!1}g&&a.append(H);da(a)}else a.style.display="none",null!=c&&null==c.querySelector(".ai-debug-block")&&c.hasAttribute("style")&&-1==c.getAttribute("style").indexOf("height:")&&(c.style.display="none");null!=c&&c.hasAttribute("data-ai")&&(c.getAttribute("data-ai"),a.hasAttribute("fallback-tracking")&&(H=a.getAttribute("fallback-tracking"),c.setAttribute("data-ai-"+a.getAttribute("fallback_level"),H)))}else a.style.display="none",null!=c&&(c.removeAttribute("data-ai"), 186c.classList.remove("ai-track"),null!=c.querySelector(".ai-debug-block")?(c.style.visibility="",c.classList.remove("ai-close"),c.classList.contains("ai-remove-position")&&(c.style.position="")):c.hasAttribute("style")&&-1==c.getAttribute("style").indexOf("height:")&&(c.style.display="none"));a.setAttribute("data-code","");a.setAttribute("data-fallback-code","");null!=c&&c.classList.remove("ai-list-block")})}};function ea(b){b=`; ${document.cookie}`.split(`; ${b}=`);if(2===b.length)return b.pop().split(";").shift()} 187function ma(b,e,n){ea(b)&&(document.cookie=b+"="+(e?";path="+e:"")+(n?";domain="+n:"")+";expires=Thu, 01 Jan 1970 00:00:01 GMT")}function m(b){ea(b)&&(ma(b,"/",window.location.hostname),document.cookie=b+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;")}(function(b){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?b():document.addEventListener("DOMContentLoaded",b)})(function(){setTimeout(function(){ai_process_lists();setTimeout(function(){Z(); 188if("function"==typeof ai_load_blocks){document.addEventListener("cmplzEnableScripts",e);document.addEventListener("cmplz_event_marketing",e);function e(n){"cmplzEnableScripts"!=n.type&&"all"!==n.consentLevel||ai_load_blocks()}document.addEventListener("cmplz_enable_category",function(n){"marketing"===n.detail.category&&ai_load_blocks()})}},50);var b=document.querySelector(".ai-debug-page-type");null!=b&&b.addEventListener("dblclick",e=>{e=document.querySelector("#ai-iab-tcf-status");null!=e&&(e.textContent= 189"CONSENT COOKIES");e=document.querySelector("#ai-iab-tcf-bar");null!=e&&(e.style.display="block")});b=document.querySelector("#ai-iab-tcf-bar");null!=b&&b.addEventListener("click",e=>{m("euconsent-v2");m("__lxG__consent__v2");m("__lxG__consent__v2_daisybit");m("__lxG__consent__v2_gdaisybit");m("CookieLawInfoConsent");m("cookielawinfo-checkbox-advertisement");m("cookielawinfo-checkbox-analytics");m("cookielawinfo-checkbox-necessary");m("complianz_policy_id");m("complianz_consent_status");m("cmplz_marketing"); 190m("cmplz_consent_status");m("cmplz_preferences");m("cmplz_statistics-anonymous");m("cmplz_choice");m("cmplz_banner-status");m("cmplz_functional");m("cmplz_policy_id");m("cmplz_statistics");m("moove_gdpr_popup");m("real_cookie_banner-blog:1-tcf");m("real_cookie_banner-blog:1");e=document.querySelector("#ai-iab-tcf-status");null!=e&&(e.textContent="CONSENT COOKIES DELETED")})},5)});function da(b){setTimeout(function(){"function"==typeof ai_process_rotations_in_element&&ai_process_rotations_in_element(b); 191"function"==typeof ai_process_lists&&ai_process_lists();"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses();"function"==typeof ai_process_filter_hooks&&ai_process_filter_hooks();"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks(b);"function"==typeof ai_process_impressions&&1==ai_tracking_finished&&ai_process_impressions();"function"==typeof ai_install_click_trackers&&1==ai_tracking_finished&&ai_install_click_trackers();"function"==typeof ai_install_close_buttons&&ai_install_close_buttons(document)}, 1925)}function ia(b){var e=b?b.split("?")[1]:window.location.search.slice(1);b={};if(e){e=e.split("#")[0];e=e.split("&");for(var n=0;n<e.length;n++){var z=e[n].split("="),C=void 0,x=z[0].replace(/\[\d*\]/,function(L){C=L.slice(1,-1);return""});z="undefined"===typeof z[1]?"":z[1];x=x.toLowerCase();z=z.toLowerCase();b[x]?("string"===typeof b[x]&&(b[x]=[b[x]]),"undefined"===typeof C?b[x].push(z):b[x][C]=z):b[x]=z}}return b}}; 193if("undefined"!=typeof ai_recaptcha_site_key){const q=function(c,d){if("DIV"===c.tagName&&c.hasAttribute("data-code")){d=document.createRange();var b=!0;try{var a=d.createContextualFragment(b64d(c.dataset.code))}catch(f){b=!1}b&&c.insertBefore(a,c.firstChild);c.removeAttribute("data-code");a=c.closest("."+b64d(c.dataset.class));c.removeAttribute("data-class");c.removeAttribute("class");"function"==typeof ai_process_lists&&ai_process_lists();"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses(); 194"function"==typeof ai_process_filter_hooks&&ai_process_filter_hooks();"function"==typeof ai_process_rotations_in_element&&ai_process_rotations_in_element(c);"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks();"function"==typeof ai_process_impressions&&null!=a&&1==ai_tracking_finished&&setTimeout(ai_process_impressions,1400);"function"==typeof ai_install_click_trackers&&null!=a&&1==ai_tracking_finished&&setTimeout(ai_install_click_trackers,1500);"function"==typeof ai_install_close_buttons&& 195null!=a&&ai_install_close_buttons(a);ai_process_wait_for_interaction();ai_process_delayed_blocks()}},p=function(c){const d={intersectionObserverSupport:"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,mutationObserverSupport:"MutationObserver"in window,idleCallbackSupport:"requestIdleCallback"in window,eventsToBind:[[document,"scroll"],[document,"touchmove"],[window,"resize"],[window,"orientationchange"]]},b={lazyClass:"ai-lazy", 196lazyElement:null,throttleTime:200,idlyLoad:!1,idleLoadTimeout:100,threshold:ai_lazy_loading_offset,observeChanges:!1,observeRootSelector:"body",mutationObserverOptions:{childList:!0}};Object.assign(b,c);const a=`div.${b.lazyClass}
196`,f={timeout:b.idleLoadTimeout};var e=null==b.lazyElement?[].slice.call(document.querySelectorAll(a)):[].push(b.lazyElement);if(!0===d.intersectionObserverSupport){var h=new IntersectionObserver(function(k,g){k.forEach(function(l){var n=l.target;!0===l.isIntersecting&&(!0=== 197b.idlyLoad&&!0===d.idleCallbackSupport?requestIdleCallback(function(){q(n,d)},f):q(n,d),n.classList.remove(b.lazyClass),g.unobserve(n),e=e.filter(function(r){return r!==n}))})},{rootMargin:`${b.threshold}px 0%`});e.forEach(function(k){h.observe(k)})}else{var m=function(){var k=!1;!1===k&&0<e.length&&(k=!0,setTimeout(function(){e.forEach(function(g){g.getBoundingClientRect().top<=window.innerHeight+b.threshold&&g.getBoundingClientRect().bottom>=-b.threshold&&"none"!==getComputedStyle(g).display&&(!0=== 198b.idlyLoad&&!0===d.idleCallbackSupport?requestIdleCallback(function(){q(g,d)},f):q(g,d),g.classList.remove(b.lazyClass),e=e.filter(function(l){return l!==g}))});k=!1;0===e.length&&!1===b.observeChanges&&d.eventsToBind.forEach(function(g){g[0].removeEventListener(g[1],m)})},b.throttleTime))};d.eventsToBind.forEach(function(k){k[0].addEventListener(k[1],m)});m()}!0===d.mutationObserverSupport&&!0===b.observeChanges&&(new MutationObserver(function(k){k.forEach(function(g){[].slice.call(document.querySelectorAll(a)).forEach(function(l){-1=== 199e.indexOf(l)&&(e.push(l),!0===d.intersectionObserverSupport?h.observe(l):m())})})})).observe(document.querySelector(b.observeRootSelector),b.mutationObserverOptions)};(function(c){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?c():document.addEventListener("DOMContentLoaded",c)})(function(){setTimeout(function(){p({lazyClass:"ai-lazy",observeChanges:!0,mutationObserverOptions:{childList:!0,attributes:!0,subtree:!0}})},5)});ai_load_blocks=function(c){c= 200Number.isInteger(c)?"ai-manual-"+c:"ai-manual";p({lazyClass:c,threshold:99999,observeChanges:!0,mutationObserverOptions:{childList:!0,attributes:!0,subtree:!0}});"function"==typeof ai_process_lists&&ai_process_lists()};ai_process_wait_for_interaction=function(){function c(){"undefined"!=typeof a&&clearTimeout(a);ai_user_interaction=!0;d(!1)}function d(f){b.forEach(function(e){window.removeEventListener(e,c,{passive:!0})});p({lazyClass:"ai-wait-for-interaction",threshold:99999,observeChanges:!0,mutationObserverOptions:{childList:!0, 201attributes:!0,subtree:!0}})}const b=["mouseover","keydown","touchmove","touchstart"];if(0!=document.getElementsByClassName("ai-wait-for-interaction").length){"undefined"==typeof ai_interaction_timeout&&(ai_interaction_timeout=4E3);"undefined"==typeof ai_delay_tracking&&(ai_delay_tracking=0);if(0<ai_interaction_timeout){ai_delay_tracking+=ai_interaction_timeout;var a=setTimeout(d,ai_interaction_timeout,!0)}b.forEach(function(f){window.addEventListener(f,c,{passive:!0})})}};setTimeout(ai_process_wait_for_interaction, 2023);ai_process_check_recaptcha_score=function(){"undefined"!=typeof grecaptcha&&""!=ai_recaptcha_site_key&&grecaptcha.ready(function(){grecaptcha.execute(ai_recaptcha_site_key,{action:"submit"}).then(function(c){var d=new XMLHttpRequest;c="ai_check=AI_NONCE&recaptcha="+c;d.open("POST",ai_ajax_url+"?action=ai_ajax",!0);d.setRequestHeader("Content-type","application/x-www-form-urlencoded");d.onreadystatechange=function(){if(4==this.readyState&&200==this.status){let e=JSON.parse(this.responseText);if(e&& 203e.success){ai_recaptcha_score=e.score;const h=document.getElementsByClassName("ai-check-recaptcha-score");if(e.score<1E3*parseFloat(ai_recaptcha_threshold)/1E3)for(var b=0;b<h.length;b++){var a=h[b].closest(".ai-track");null!=a&&a.classList.remove("ai-track");a=h[b].dataset.class;if("undefined"!=typeof a){a=b64d(a);var f=h[b].closest("."+a);null!=f&&(f.classList.remove("ai-list-block"),f.classList.remove("ai-list-block-ip"),a=f.getElementsByClassName("ai-recaptcha-score"),0!=a.length&&(a[0].innerHTML= 204e.score),a=f.getElementsByClassName("ai-recaptcha-result"),0!=a.length&&(a[0].innerHTML=ai_front.hidden))}}else for(p({lazyClass:"ai-check-recaptcha-score",threshold:99999,observeChanges:!0,mutationObserverOptions:{childList:!0,attributes:!0,subtree:!0}}),b=0;b<h.length;b++)a=h[b].dataset.class,"undefined"!=typeof a&&(a=b64d(a),f=h[b].closest("."+a),null!=f&&(a=f.getElementsByClassName("ai-recaptcha-score"),0!=a.length&&(a[0].innerHTML=e.score),a=f.getElementsByClassName("ai-recaptcha-result"),0!= 205a.length&&(a[0].innerHTML=ai_front.visible)))}}};d.send(c)})})};setTimeout(ai_process_check_recaptcha_score,2);ai_process_delayed_blocks=function(){var c=document.getElementsByClassName("ai-delayed-unprocessed");if(0!=c.length){function e(m){p({lazyClass:"ai-delayed-"+m,threshold:99999,observeChanges:!0,mutationObserverOptions:{childList:!0,attributes:!0,subtree:!0}})}"undefined"==typeof ai_delay_tracking&&(ai_delay_tracking=0);for(var d=[],b=0;b<c.length;b++){var a=parseInt(c[b].getAttribute("data-block")); 206d.push(a)}
206const h=[...(new Set(d))];for(c=0;c<h.length;c++){a=h[c];d=document.getElementsByClassName("ai-delayed-"+a);b=parseInt(d[0].getAttribute("data-delay"));for(var f=d.length-1;0<=f;f--)d[f].classList.remove("ai-delayed-unprocessed");ai_delay_tracking+=b;setTimeout(e,b,a)}}};setTimeout(ai_process_delayed_blocks,1)}; 207if("undefined"!=typeof ai_rotation_triggers){ai_process_rotation=function(b){var f="undefined"!==typeof ai_debugging,d="number"==typeof b.length;window.jQuery&&window.jQuery.fn&&b instanceof jQuery&&(b=d?Array.prototype.slice.call(b):b[0]);if(d){var h=!1;b.forEach((e,l)=>{if(e.classList.contains("ai-unprocessed")||e.classList.contains("ai-timer"))h=!0});if(!h)return;b.forEach((e,l)=>{e.classList.remove("ai-unprocessed");e.classList.remove("ai-timer")})}else{if(!b.classList.contains("ai-unprocessed")&& 208!b.classList.contains("ai-timer"))return;b.classList.remove("ai-unprocessed");b.classList.remove("ai-timer")}f&&console.log("");var c=!1;if(d?b[0].hasAttribute("data-info"):b.hasAttribute("data-info")){var a="div.ai-rotate.ai-"+(d?JSON.parse(atob(b[0].dataset.info)):JSON.parse(atob(b.dataset.info)))[0];ai_rotation_triggers.includes(a)&&(ai_rotation_triggers.splice(ai_rotation_triggers.indexOf(a),1),c=!0,f&&console.log("AI TIMED ROTATION TRIGGERS",ai_rotation_triggers))}if(d)for(f&&console.log("AI ROTATE process rotation:", 209b.length,"rotation blocks"),d=0;d<b.length;d++)f&&console.log("AI ROTATE process rotation block index:",d),f&&console.log("AI ROTATE process rotation block:",b[d]),0==d?ai_process_single_rotation(b[d],!0):ai_process_single_rotation(b[d],!1);else f&&console.log("AI ROTATE process rotation: 1 rotation block"),ai_process_single_rotation(b,!c)};ai_process_single_rotation=function(b,f){var d="undefined"!==typeof ai_debugging,h=[];Array.from(b.children).forEach((g,q)=>{g.matches(".ai-rotate-option")&&h.push(g)}); 210if(0!=h.length){if(d){console.log("AI ROTATE process single rotation, trigger rotation",f);var c=b.closest("div."+ai_block_class_def);null!=c&&console.log("AI ROTATE block",c.hasAttribute("class")?c.getAttribute("class"):"");console.log("AI ROTATE wrapper",(b.hasAttribute("class")?b.getAttribute("class"):"")+",",h.length,"options")}h.forEach((g,q)=>{g.style.display="none"});if(b.hasAttribute("data-next")){k=parseInt(b.getAttribute("data-next"));d&&console.log("AI TIMED ROTATION next index:",k);var a= 211h[k];if(a.hasAttribute("data-code")){c=document.createRange();var e=!0;try{var l=c.createContextualFragment(b64d(a.dataset.code))}catch(g){e=!1,d&&console.log("AI ROTATE","range.createContextualFragment ERROR:",g)}e&&(a=l)}c=a.querySelectorAll("span[data-ai-groups]");0!=c.length&&(d&&(c=JSON.parse(b64d(c[0].dataset.aiGroups)),console.log("AI TIMED ROTATION next option sets groups",c)),0!=document.querySelectorAll(".ai-rotation-groups").length&&setTimeout(function(){C()},5))}else if(h[0].hasAttribute("data-group")){var k= 212-1,w=[];document.querySelectorAll("span[data-ai-groups]").forEach((g,q)=>{(g.offsetWidth||g.offsetHeight||g.getClientRects().length)&&w.push(g)});d&&console.log("AI ROTATE GROUPS:",w.length,"group markers found");1<=w.length&&(timed_groups=[],groups=[],w.forEach(function(g,q){active_groups=JSON.parse(b64d(g.dataset.aiGroups));var t=!1;g=g.closest(".ai-rotate");null!=g&&g.classList.contains("ai-timed-rotation")&&(t=!0);active_groups.forEach(function(v,x){groups.push(v);t&&timed_groups.push(v)})}), 213d&&console.log("AI ROTATE ACTIVE GROUPS:",groups),d&&timed_groups.length&&console.log("AI ROTATE TIMED GROUPS:",timed_groups),groups.forEach(function(g,q){-1==k&&h.forEach((t,v)=>{var x=b64d(t.dataset.group);option_group_items=x.split(",");option_group_items.forEach(function(D,F){-1==k&&D.trim()==g&&(k=v,timed_groups.includes(x)&&b.classList.add("ai-timed-rotation"))})})}))}else if(b.hasAttribute("data-shares"))for(c=JSON.parse(atob(b.dataset.shares)),a=Math.round(100*Math.random()),e=0;e<c.length&& 214(k=e,0>c[e]||!(a<=c[e]));e++);else c=b.classList.contains("ai-unique"),a=new Date,c?("number"!=typeof ai_rotation_seed&&(ai_rotation_seed=(Math.floor(1E3*Math.random())+a.getMilliseconds())%h.length),c=ai_rotation_seed,c>h.length&&(c%=h.length),a=parseInt(b.dataset.counter),d&&console.log("AI ROTATE SEED:",c," COUNTER:",a),a<=h.length?(k=parseInt(c+a-1),k>=h.length&&(k-=h.length)):k=h.length):(k=Math.floor(Math.random()*h.length),a.getMilliseconds()%2&&(k=h.length-k-1));if(b.classList.contains("ai-rotation-scheduling"))for(k= 215-1,c=0;c<h.length;c++)if(a=h[c],a.hasAttribute("data-scheduling")){e=b64d(a.dataset.scheduling);a=!0;0==e.indexOf("^")&&(a=!1,e=e.substring(1));var r=e.split("="),m=-1!=e.indexOf("%")?r[0].split("%"):[r[0]];e=m[0].trim().toLowerCase();m="undefined"!=typeof m[1]?m[1].trim():0;r=r[1].replace(" ","");d&&console.log("");d&&console.log("AI SCHEDULED ROTATION OPTION",c+(a?"":" INVERTED")+":",e+(0!=m?"%"+m:"")+"="+r);var n=(new Date).getTime(),p=new Date(n);n=0;switch(e){case "s":n=p.getSeconds();break; 216case "i":n=p.getMinutes();break;case "h":n=p.getHours();break;case "d":n=p.getDate();break;case "m":n=p.getMonth();break;case "y":n=p.getFullYear();break;case "w":n=p.getDay(),n=0==n?6:n-1}e=0!=m?n%m:n;d&&(0!=m?console.log("AI SCHEDULED ROTATION TIME VALUE:",n,"%",m,"=",e):console.log("AI SCHEDULED ROTATION TIME VALUE:",n));m=r.split(",");r=!a;for(n=0;n<m.length;n++)if(p=m[n],d&&console.log("AI SCHEDULED ROTATION TIME ITEM",p),-1!=p.indexOf("-")){if(p=p.split("-"),d&&console.log("AI SCHEDULED ROTATION TIME ITEM LIMITS", 217p[0],"-",p[1]),e>
217=p[0]&&e<=p[1]){r=a;break}}else if(e==p){r=a;break}if(r){k=c;d&&console.log("AI SCHEDULED ROTATION OPTION",k,"SELECTED");break}}if(0>k||k>=h.length)d&&console.log("AI ROTATE no option selected");else{a=h[k];var A="",y=b.classList.contains("ai-timed-rotation");h.forEach((g,q)=>{g.hasAttribute("data-time")&&(y=!0)});if(a.hasAttribute("data-time")){e=atob(a.dataset.time);if(d){c=parseInt(a.dataset.index);var u=b64d(a.dataset.name);console.log("AI TIMED ROTATION index:",k+" ["+c+"],", 218"name:",'"'+u+'",',"time:",e)}if(0==e&&1<h.length){c=k;do{c++;c>=h.length&&(c=0);m=h[c];if(!m.hasAttribute("data-time")){k=c;a=h[k];e=0;d&&console.log("AI TIMED ROTATION next option has no time: ",c);break}m=atob(m.dataset.time);d&&console.log("AI TIMED ROTATION check:",c,"time:",m)}while(0==m&&c!=k);0!=e&&(k=c,a=h[k],e=atob(a.dataset.time));d&&console.log("AI TIMED ROTATION index:",k,"time:",e)}if(0<e&&(c=k+1,c>=h.length&&(c=0),b.hasAttribute("data-info"))){m=JSON.parse(atob(b.dataset.info))[0]; 219b.setAttribute("data-next",c);var z="div.ai-rotate.ai-"+m;ai_rotation_triggers.includes(z)&&(f=!1);f&&(ai_rotation_triggers.push(z),setTimeout(function(){var g=document.querySelectorAll(z);g.forEach((q,t)=>{q.classList.add("ai-timer")});ai_process_rotation(g)},1E3*e));A=" ("+e+" s)"}}else a.hasAttribute("data-group")?d&&(c=parseInt(a.dataset.index),u=b64d(a.dataset.name),console.log("AI ROTATE GROUP",'"'+u+'",',"index:",k,"["+c+"]")):(d||h.forEach((g,q)=>{q!=k&&g.remove()}),d&&console.log("AI ROTATE no time"), 220d&&console.log("AI ROTATE index:",k));a.style.display="";a.style.visibility="";a.style.position="";a.style.width="";a.style.height="";a.style.top="";a.style.left="";a.classList.remove("ai-rotate-hidden");a.classList.remove("ai-rotate-hidden-2");b.style.position="";if(a.hasAttribute("data-code")){h.forEach((g,q)=>{g.innerText=""});d&&console.log("AI ROTATE CODE");f=b64d(a.dataset.code);c=document.createRange();e=!0;try{l=c.createContextualFragment(f)}catch(g){e=!1,d&&console.log("AI ROTATE","range.createContextualFragment ERROR:", 221g)}a.append(l);E()}c=parseInt(a.dataset.index);u=b64d(a.dataset.name);f=b.closest(".ai-debug-block");if(null!=f){l=f.querySelectorAll("kbd.ai-option-name");f=f.querySelectorAll(".ai-debug-block");if(0!=f.length){var B=[];f.forEach((g,q)=>{g.querySelectorAll("kbd.ai-option-name").forEach((t,v)=>{B.push(t)})});l=Array.from(l);l=l.slice(0,l.length-B.length)}0!=l.length&&(separator=l[0].hasAttribute("data-separator")?l[0].dataset.separator:"",l.forEach((g,q)=>{g.innerText=separator+u+A}))}f=!1;a=b.closest(".ai-adb-show"); 222null!=a&&a.hasAttribute("data-ai-tracking")&&(l=JSON.parse(b64d(a.getAttribute("data-ai-tracking"))),"undefined"!==typeof l&&l.constructor===Array&&(l[1]=c,l[3]=u,d&&console.log("AI ROTATE TRACKING DATA ",b64d(a.getAttribute("data-ai-tracking"))," <= ",JSON.stringify(l)),a.setAttribute("data-ai-tracking",b64e(JSON.stringify(l))),a.classList.add("ai-track"),y&&ai_tracking_finished&&a.getAttribute("class").includes("ai-impression")&&a.classList.add("ai-no-pageview"),f=!0));f||(f=b.closest("div[data-ai]"), 223null!=f&&f.hasAttribute("data-ai")&&(l=JSON.parse(b64d(f.getAttribute("data-ai"))),"undefined"!==typeof l&&l.constructor===Array&&(l[1]=c,l[3]=u,f.setAttribute("data-ai",b64e(JSON.stringify(l))),f.classList.add("ai-track"),y&&ai_tracking_finished&&f.getAttribute("class").includes("ai-impression")&&f.classList.add("ai-no-pageview"),d&&console.log("AI ROTATE TRACKING DATA ",b64d(f.getAttribute("data-ai"))))))}}};ai_process_rotations=function(){document.querySelectorAll("div.ai-rotate").forEach((b,f)=> 224{ai_process_rotation(b)})};function C(){document.querySelectorAll("div.ai-rotate.ai-rotation-groups").forEach((b,f)=>{b.classList.add("ai-timer");ai_process_rotation(b)})}ai_process_rotations_in_element=function(b){null!=b&&b.querySelectorAll("div.ai-rotate").forEach((f,d)=>{ai_process_rotation(f)})};(function(b){"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?b():document.addEventListener("DOMContentLoaded",b)})(function(){setTimeout(function(){ai_process_rotations()}, 22510)});ai_process_elements_active=!1;function E(){ai_process_elements_active||setTimeout(function(){ai_process_elements_active=!1;"function"==typeof ai_process_rotations&&ai_process_rotations();"function"==typeof ai_process_lists&&ai_process_lists();"function"==typeof ai_process_ip_addresses&&ai_process_ip_addresses();"function"==typeof ai_process_filter_hooks&&ai_process_filter_hooks();"function"==typeof ai_adb_process_blocks&&ai_adb_process_blocks();"function"==typeof ai_process_impressions&&1== 226ai_tracking_finished&&ai_process_impressions();"function"==typeof ai_install_click_trackers&&1==ai_tracking_finished&&ai_install_click_trackers();"function"==typeof ai_install_close_buttons&&ai_install_close_buttons(document)},5);ai_process_elements_active=!0}}; 227window.onscroll=function(){ai_scroll_update()}; 228function ai_scroll_update(){for(var c=document.getElementsByClassName("ai-parallax-background"),b=0;b<c.length;b++){var a=c[b].getBoundingClientRect(),d=(window.innerHeight||document.documentElement.clientHeight)+a.height;if(visible=0<=a.top+a.height&&0<=a.left&&a.bottom-a.height<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)){var e=parseInt(c[b].dataset.shift);c[b].style.backgroundPositionY=(a.top+a.height)/d*-e+"px"; 229"cover"!=c[b].style.backgroundSize&&(a=parseInt((window.innerWidth||document.documentElement.clientWidth)/2-a.left-a.width/2),c[b].style.left=a+"px",c[b].style.transform="translate("+-a+"px)")}}}setTimeout(function(){ai_scroll_update()},100); 230if("undefined"!=typeof ai_process_sticky_elements_on_ready){"number"!=typeof ai_sticky_delay&&(ai_sticky_delay=200);ai_process_sticky_elements=function(){var h=document.querySelector("body").clientHeight-document.documentElement.clientHeight;document.querySelectorAll("[data-ai-position-pc]").forEach((a,e)=>{0<h&&(a.style.top=h*a.dataset.aiPositionPc+"px")});ai_main_content_element=ai_main_content_element.trim();var k=document.documentElement.clientWidth,d=element=document.querySelector(".ai-content"), 231m=document.querySelectorAll(".ai-sticky-content"),b=document.querySelectorAll(".ai-sticky-background"),c=0;if(0!=m.length||0!=b.length)if(""==ai_main_content_element||document.querySelector("body").classList.contains("ai-preview")){if(null!=element)for(;"BODY"!=element.tagName;)b=element.offsetWidth,0!=b&&b<=k&&b>
231=c-1&&(d=element,c=b),element=element.parentElement;if(0==c&&(element=document.querySelectorAll(".ai-content"),0!=element.length))for(d=element=element[element.length-1];"BODY"!=element.tagName;)b= 232element.offsetWidth,0!=b&&b<=k&&b>=c-1&&(d=element,c=b),element=element.parentElement}else parseInt(ai_main_content_element)!=ai_main_content_element&&(d=document.querySelector(ai_main_content_element),null!=d&&"undefined"!=typeof d.tagName&&(b=d.offsetWidth,0!=b&&b<=k&&b>=c&&(c=b)));if(0!=c){var n=Math.floor(c/2)+0;m.forEach((a,e)=>{if(0!=c){el_style_display=a.style.display;a.style.display="block";e=Math.max(a.clientWidth,a.offsetWidth,a.scrollWidth);var f=Math.max(a.clientHeight,a.offsetHeight, 233a.scrollHeight);a.style.display=el_style_display;var l=a.classList.contains("ai-sticky-background");a.classList.remove("ai-sticky-background");if(l&&(a.classList.remove("ai-sticky-background"),a.removeAttribute("data-aos"),"undefined"===typeof ai_preview)){var g=a.querySelector(".ai-close-button");null!=g&&g.removeAttribute("class")}a.classList.contains("ai-sticky-left")?(g=parseInt(a.style.marginRight),l||d.offsetLeft-g-e>=-e/2?(a.style.right="calc(50% + "+n+"px)",a.style.display="block"):a.classList.remove("ai-sticky-scroll")): 234a.classList.contains("ai-sticky-right")&&(g=parseInt(a.style.marginLeft),l||d.offsetLeft+c+g+e<=k+e/2?(a.style.right="",a.style.left="calc(50% + "+n+"px)",a.style.display="block"):a.classList.remove("ai-sticky-scroll"));a.classList.contains("ai-sticky-scroll")&&(a.style.marginBottom=-f,a.style.display="block")}});b=document.querySelectorAll(".ai-sticky-background");b.forEach((a,e)=>{if(0!=c){e=a.clientHeight;a.classList.remove("ai-sticky-background");a.removeAttribute("data-aos");if("undefined"=== 235typeof ai_preview){var f=a.querySelector(".ai-close-button");null!=f&&f.removeAttribute("class")}a.classList.contains("ai-sticky-left")?(f=d.offsetLeft,a.style.width=f+"px",a.style.overflow="hidden",a.style.display="block"):a.classList.contains("ai-sticky-right")&&(f=k-(d.offsetLeft+c),a.style.width=f+"px",a.style.overflow="hidden",a.style.display="flex");a.classList.contains("ai-sticky-scroll")&&(a.style.marginBottom=-e,a.style.display="block")}})}};function p(h){"complete"===document.readyState|| 236"loading"!==document.readyState&&!document.documentElement.doScroll?h():document.addEventListener("DOMContentLoaded",h)}function q(){setTimeout(function(){ai_process_sticky_elements()},ai_sticky_delay);"undefined"!=typeof AOS&&"undefined"==typeof ai_no_aos_init&&setTimeout(function(){AOS.init()},ai_sticky_delay+10)}ai_process_sticky_elements_on_ready&&p(q)}; 237if("undefined"!=typeof ai_selection_block){function u(a,b){for(;b;){if((b.nodeName||b.tagName).toLowerCase()===a.toLowerCase())return b;b=b.parentNode}return null}function l(a){if(!(a instanceof HTMLElement))return"";var b=a.nodeName.toLowerCase();a.hasAttribute("id")&&""!=a.id&&(b=b+"#"+a.id);a.className&&(classes=a.className.replace(/ai-selected|ai-highlighted/g,"").trim())&&(b=b+"."+classes.replace(/\s{2,}/g," ").trim().replace(/ /g,"."));return b}function m(a){for(var b=[];null!=a.parentNode;){for(var c= 2380,d=0,n=0,f=0;f<a.parentNode.childNodes.length;f++){var g=a.parentNode.childNodes[f];g instanceof HTMLElement&&(g.nodeName==a.nodeName&&d++,g===a&&(n=c),c++)}a.hasAttribute("id")&&""!=a.id?b.unshift(a.nodeName.toLowerCase()+"#"+a.id):1<d?b.unshift(a.nodeName.toLowerCase()+":nth-child("+(n+1)+")"):b.unshift(a.nodeName.toLowerCase());a=a.parentNode}return b.slice(1)}function v(a){var b=[],c=!1;a.reverse().forEach(function(d){c||b.unshift(d);c=-1!=d.indexOf("#")});return b}function h(a){a=a.trim();","== 239a.slice(0,1)&&(a=a.slice(1,a.length));","==a.slice(-1)&&(a=a.slice(0,a.length-1));return a.trim()}function e(a){return'<kbd class="ai-html-element">'+a+"</kbd>"}function p(a){var b=[];a.forEach(function(c){b.push(e(c))});return b}function q(){document.querySelectorAll(".ai-html-element").forEach(function(a){a.addEventListener("click",b=>{b=a.innerText;document.getElementById("ai-selector-element").innerHTML=e(b);document.querySelector(".ai-selected").classList.remove("ai-selected");document.querySelector(b).classList.add("ai-selected"); 240document.querySelectorAll("#ai-selector-data "+b).forEach(function(c){c.classList.remove("ai-selected")});document.getElementById("ai-selector").value=b})})}function r(a){if(null!=window.opener&&!window.opener.closed){var b=window.opener.document,c=document.getElementById("ai-selector").value;a&&(a=b.querySelector(ai_settings_input).value.trim(),a=h(a),""!=a&&(a+=", "),c=a+c);b.querySelector(ai_settings_input).value=c}}function t(){ctrl_pressed?(document.getElementById("ai-use-button").style.display= 241"none",document.getElementById("ai-add-button").style.display="block"):(document.getElementById("ai-use-button").style.display="block",document.getElementById("ai-add-button").style.display="none")}var ctrl_pressed=!1,selected_element=null,current_element=null;document.onclick=function(a){a=a||event;var b=u("a",a.target||a.srcElement);if(b&&(a.preventDefault(),!ctrl_pressed)){a={html_element_selection:ai_selection_block,selector:document.getElementById("ai-selector").value,input:ai_settings_input}; 242var c=document.createElement("form");c.setAttribute("method","post");c.setAttribute("action",b.href);c.setAttribute("target","_self");for(var d in a)a.hasOwnProperty(d)&&(b=document.createElement("input"),b.type="hidden",b.name=d,b.value=encodeURI(a[d]),c.appendChild(b));document.body.appendChild(c);c.submit();document.body.removeChild(c)}};document.addEventListener("keydown",a=>{"17"==a.which&&(ctrl_pressed=!0,t(),null!=current_element&&"A"==current_element.tagName&&(a=new Event("mouseover",{bubbles:!0, 243cancelable:!0}),current_element.dispatchEvent(a)))});document.addEventListener("keyup",a=>{ctrl_pressed=!1;t();null!=current_element&&"A"==current_element.tagName&&(a=new Event("mouseout",{bubbles:!0,cancelable:!0}),current_element.dispatchEvent(a))});document.querySelector("body").style.userSelect="none";document.querySelector("body").style.marginTop="140px";var selection_ui='<section id="ai-selector-data"><table> <tbody> <tr> <td class="data-name">'+ai_front.element+'</td> <td class="data-value"><section id="ai-selector-element"></section></td> <td><button type="button" id="ai-cancel-button" style="min-width: 110px;" title="'+ 244ai_front.cancel_element_selection+'"> '+ai_front.cancel+" </button></td> </tr> <tr> <td>"+ai_front.path+'</td> <td><section id="ai-selector-path"></section></td> <td><button type="button" id="ai-parent-button" style="min-width: 110px;" title="'+ai_front.select_parent_element+'"> '+ai_front.parent+" </button></td> </tr> <tr> <td>
244"+ai_front.selector+'</td> <td style="width: 100%;"><input id="ai-selector" type="text" value="" maxlength="500" title="'+ai_front.css_selector+ 245'" /></td> <td><button type="button" id="ai-use-button" style="min-width: 110px;" title="'+ai_front.use_current_selector+'"> '+ai_front.use+' </button> <button type="button" id="ai-add-button" style="min-width: 110px; display: none;" title="'+ai_front.add_current_selector+'"> '+ai_front.add+" </button></td> </tr> </tbody></table></section>",range=document.createRange(),fragment_ok=!0;try{var fragment=range.createContextualFragment(selection_ui)}catch(a){fragment_ok=!1,console.error("AI SELECTION", 246"range.createContextualFragment ERROR:",a)}fragment_ok&&document.querySelector("body").prepend(fragment);function k(a){var b=a.target,c=m(b);if(-1==c.join(" > ").indexOf("ai-selector-data")&&!b.classList.contains("ai-html-element"))switch(a.type){case "click":if("A"!=b.tagName||ctrl_pressed)selected_element=b,document.getElementById("ai-selector-element").innerHTML=e(l(b)),document.getElementById("ai-selector-path").innerHTML=p(c).join(" > "),q(),document.querySelectorAll(".ai-highlighted").forEach(function(d){d.classList.remove("ai-highlighted")}), 247document.querySelectorAll(".ai-selected").forEach(function(d){d.classList.remove("ai-selected")}),b.classList.add("ai-selected"),document.getElementById("ai-selector").value=v(c).join(" > ");break;case "mouseover":current_element=b;("A"!=b.tagName||ctrl_pressed)&&b.classList.add("ai-highlighted");break;case "mouseout":b.classList.remove("ai-highlighted")}}document.querySelector("body").addEventListener("mouseover",a=>{k(a)});document.querySelector("body").addEventListener("mouseout",a=>{k(a)});document.querySelector("body").addEventListener("click", 248a=>{k(a)});document.getElementById("ai-selector").addEventListener("input",a=>{document.querySelectorAll(".ai-highlighted").forEach(function(c){c.classList.remove("ai-highlighted")});document.querySelectorAll(".ai-selected").forEach(function(c){c.classList.remove("ai-selected")});a=h(document.getElementById("ai-selector").value);if(""!=a){try{document.querySelectorAll(a).forEach(function(c){c.classList.add("ai-selected")})}catch(c){return}var b=a.split(",");b.forEach(function(c){document.querySelectorAll("#ai-selector-data "+ 249c).forEach(function(d){d.classList.remove("ai-selected")})});1==b.length&&""!=a&&1==document.querySelectorAll(a).length?(selected_element=document.querySelector(b[0]),document.getElementById("ai-selector-element").innerHTML=e(l(selected_element)),document.getElementById("ai-selector-path").innerHTML=p(m(selected_element)).join(" > "),q()):(selected_element=null,document.getElementById("ai-selector-element").innerText="",document.getElementById("ai-selector-path").innerText="")}});window.onkeydown= 250function(a){27===a.keyCode&&window.close()};(function(){if(null!=window.opener&&!window.opener.closed){document.getElementById("ai-selector").value=h(ai_settings_selector);var a=new Event("input",{bubbles:!0,cancelable:!0});document.getElementById("ai-selector").dispatchEvent(a)}})();document.getElementById("ai-cancel-button").addEventListener("click",a=>{window.close()});document.getElementById("ai-parent-button").addEventListener("click",a=>{"BODY"!=selected_element.tagName&&(selected_element=selected_element.parentElement, 251a=new Event("click",{bubbles:!0,cancelable:!0}),selected_element.dispatchEvent(a))});document.getElementById("ai-use-button").addEventListener("click",a=>{r(!1);window.close()});document.getElementById("ai-add-button").addEventListener("click",a=>{r(!0);window.close()})}; 252!function(){var e=function(t,i){function s(){this.q=[],this.add=function(e){this.q.push(e)};var e,t;this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function o(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}function n(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new s,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+n+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+n+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[o(e,"position")]||(e.style.position="relative");var d,r,l=e.resizeSensor.childNodes[0],c=l.childNodes[0],h=e.resizeSensor.childNodes[1],a=(h.childNodes[0],function(){c.style.width=l.offsetWidth+10+"px",c.style.height=l.offsetHeight+10+"px",l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,h.scrollLeft=h.scrollWidth,h.scrollTop=h.scrollHeight,d=e.offsetWidth,r=e.offsetHeight});a();var f=function(){e.resizedAttached&&e.resizedAttached.call()},u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},p=function(){e.offsetWidth==d&&e.offsetHeight==r||f(),a()};u(l,"scroll",p),u(h,"scroll",p)}var d=Object.prototype.toString.call(t),r="[object Array]"===d||"[object NodeList]"===d||"[object HTMLCollection]"===d||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(r)for(var l=0,c=t.length;l<c;l++)n(t[l],i);else n(t,i);this.detach=function(){if(r)for(var i=0,s=t.length;i<s;i++)e.detach(t[i]);else e.detach(t)}};e.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=e:window.ResizeSensor=e}(); 253/* 254 Theia Sticky Sidebar v1.7.0 255 https://github.com/WeCodePixels/theia-sticky-sidebar 256 Glues your website's sidebars, making them permanently visible while scrolling. 257 Copyright 2013-2016 WeCodePixels and other contributors 258 Released under the MIT license 259*/ 260window.jQuery&&window.jQuery.fn&&function(d){d.fn.theiaStickySidebar=function(m){function q(c,h){if(!0===c.initialized)return!0;
260if(d("body").width()<c.minWidth)return!1;x(c,h);return!0}function x(c,h){c.initialized=!0;0===d("#theia-sticky-sidebar-stylesheet-"+c.namespace).length&&d("head").append(d('<style id="theia-sticky-sidebar-stylesheet-'+c.namespace+'">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>'));h.each(function(){function k(){b.fixedScrollTop=0;b.sidebar.css({"min-height":"1px"}); 261b.stickySidebar.css({position:"static",width:"",transform:"none"})}function n(a){var f=a.height();a.children().each(function(){f=Math.max(f,d(this).height())});return f}var b={};b.sidebar=d(this);b.options=c||{};b.container=d(b.options.containerSelector);0==b.container.length&&(b.container=b.sidebar.parent());b.sidebar.parents().css("-webkit-transform","none");b.sidebar.css({position:b.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}); 262b.stickySidebar=b.sidebar.find(".theiaStickySidebar");if(0==b.stickySidebar.length){var y=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;b.sidebar.find("script").filter(function(a,f){return 0===f.type.length||f.type.match(y)}).remove();b.stickySidebar=d("<div>").addClass("theiaStickySidebar").append(b.sidebar.children());b.sidebar.append(b.stickySidebar)}b.marginBottom=parseInt(b.sidebar.css("margin-bottom"));b.paddingTop=parseInt(b.sidebar.css("padding-top"));b.paddingBottom=parseInt(b.sidebar.css("padding-bottom"));
263var r=b.stickySidebar.offset().top,t=b.stickySidebar.outerHeight();b.stickySidebar.css("padding-top",1);b.stickySidebar.css("padding-bottom",1);r-=b.stickySidebar.offset().top;t=b.stickySidebar.outerHeight()-t-r;0==r?(b.stickySidebar.css("padding-top",0),b.stickySidebarPaddingTop=0):b.stickySidebarPaddingTop=1;0==t?(b.stickySidebar.css("padding-bottom",0),b.stickySidebarPaddingBottom=0):b.stickySidebarPaddingBottom=1;b.previousScrollTop=null;b.fixedScrollTop=0;k();b.onScroll=function(a){if(a.stickySidebar.is(":visible"))if(d("body").width()< 264a.options.minWidth)k();else if(a.options.disableOnResponsiveLayouts&&a.sidebar.outerWidth("none"==a.sidebar.css("float"))+50>a.container.width())k();else{var f=d(document).scrollTop(),l="static";if(f>=a.sidebar.offset().top+(a.paddingTop-a.options.additionalMarginTop)){var g=a.paddingTop+c.additionalMarginTop,u=a.paddingBottom+a.marginBottom+c.additionalMarginBottom,p=a.sidebar.offset().top,e=a.sidebar.offset().top+n(a.container);l=0+c.additionalMarginTop;g=a.stickySidebar.outerHeight()+g+u<d(window).height()? 265l+a.stickySidebar.outerHeight():d(window).height()-a.marginBottom-a.paddingBottom-c.additionalMarginBottom;p=p-f+a.paddingTop;u=e-f-a.paddingBottom-a.marginBottom;e=a.stickySidebar.offset().top-f;var v=a.previousScrollTop-f;"fixed"==a.stickySidebar.css("position")&&"modern"==a.options.sidebarBehavior&&(e+=v);"stick-to-top"==a.options.sidebarBehavior&&(e=c.additionalMarginTop);"stick-to-bottom"==a.options.sidebarBehavior&&(e=g-a.stickySidebar.outerHeight());e=0<v?Math.min(e,l):Math.max(e,g-a.stickySidebar.outerHeight()); 266e=Math.max(e,p);e=Math.min(e,u-a.stickySidebar.outerHeight());l=(p=a.container.height()==a.stickySidebar.outerHeight())||e!=l?p||e!=g-a.stickySidebar.outerHeight()?f+e-a.sidebar.offset().top-a.paddingTop<=c.additionalMarginTop?"static":"absolute":"fixed":"fixed"}"fixed"==l?(g=d(document).scrollLeft(),a.stickySidebar.css({position:"fixed",width:w(a.stickySidebar)+"px",transform:"translateY("+e+"px)",left:a.sidebar.offset().left+parseInt(a.sidebar.css("padding-left"))-g+"px",top:"0px"})):"absolute"== 267l?(g={},"absolute"!=a.stickySidebar.css("position")&&(g.position="absolute",g.transform="translateY("+(f+e-a.sidebar.offset().top-a.stickySidebarPaddingTop-a.stickySidebarPaddingBottom)+"px)",g.top="0px"),g.width=w(a.stickySidebar)+"px",g.left="",a.stickySidebar.css(g)):"static"==l&&k();"static"!=l&&1==a.options.updateSidebarHeight&&a.sidebar.css({"min-height":a.stickySidebar.outerHeight()+a.stickySidebar.offset().top-a.sidebar.offset().top+a.paddingBottom});a.previousScrollTop=f}};b.onScroll(b); 268d(document).on("scroll."+b.options.namespace,function(a){return function(){a.onScroll(a)}}(b));d(window).on("resize."+b.options.namespace,function(a){return function(){a.stickySidebar.css({position:"static"});a.onScroll(a)}}(b));"undefined"!==typeof ResizeSensor&&new ResizeSensor(b.stickySidebar[0],function(a){return function(){a.onScroll(a)}}(b))})}function w(c){try{var h=c[0].getBoundingClientRect().width}catch(k){}"undefined"===typeof h&&(h=c.width());return h}m=d.extend({containerSelector:"", 269additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},m);m.additionalMarginTop=parseInt(m.additionalMarginTop)||0;m.additionalMarginBottom=parseInt(m.additionalMarginBottom)||0;
269(function(c,h){q(c,h)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),d(document).on("scroll."+c.namespace,function(k,n){return function(b){q(k,n)&&d(this).unbind(b)}}(c, 270h)),d(window).on("resize."+c.namespace,function(k,n){return function(b){q(k,n)&&d(this).unbind(b)}}(c,h)))})(m,this);return this}}(jQuery); 271var ai_functions = true;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.