LittleDemon WebShell


Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Path : /home/cuisinesj/www/new/wp-content/themes/customizr/inc/assets/js/
File Upload :
Command :
Current File : /home/cuisinesj/www/new/wp-content/themes/customizr/inc/assets/js/main-ccat.min.js

var czrapp=czrapp||{};!function(o,r){r._printLog=function(e){var t=function(){o("#bulklog").prepend("<p>"+r._prettyfy({consoleArguments:[e],prettyfy:!1})+"</p>")};1!=o("#bulk-log").length?o.Deferred(function(){var e=this;o.when(o("#footer").before(o("<div/>",{id:"bulklog"}))).done(function(){o("#bulklog").css({position:"fixed","z-index":"99999","font-size":"0.8em",color:"#000",padding:"5%",width:"90%",height:"20%",overflow:"hidden",bottom:"0",left:"0",background:"yellow"}),e.resolve()})}).promise().done(t):t()},r._truncate=function(e,t){return t=t||150,_.isString(e)?e.length>t?e.substr(0,t-1):e:""};var i=function(e){e=_.extend({bgCol:"#5ed1f5",textCol:"#000",consoleArguments:[]},e);var t,n=Array.from(e.consoleArguments);return n=_.isEmpty(_.filter(n,function(e){return!_.isString(e)}))?n.join(" "):JSON.stringify(n.join(" ")),["%c "+(t=n,_.isString(t)?300<t.length?t.substr(0,299)+"...":t:""),["background:"+e.bgCol,"color:"+e.textCol,"display: block;"].join(";")]},n=function(e,t,n){_.isUndefined(console)&&"function"!=typeof window.console.log||(r.localized.isDevMode?_.isUndefined(t)?console.log.apply(console,i({bgCol:n,textCol:"#000",consoleArguments:["<"+e+">"]})):(console.log.apply(console,i({bgCol:n,textCol:"#000",consoleArguments:["<"+e+">"]})),console.log(t),console.log.apply(console,i({bgCol:n,textCol:"#000",consoleArguments:["</"+e+">"]}))):console.log.apply(console,i({bgCol:n,textCol:"#000",consoleArguments:[e]})))};r.consoleLog=function(){r.localized.isDevMode&&(_.isUndefined(console)&&"function"!=typeof window.console.log||(console.log.apply(console,i({consoleArguments:arguments})),console.log("Unstyled console message : ",arguments)))},r.errorLog=function(){_.isUndefined(console)&&"function"!=typeof window.console.log||console.log.apply(console,i({bgCol:"#ffd5a0",textCol:"#000",consoleArguments:arguments}))},r.errare=function(e,t){n(e,t,"#ffd5a0")},r.infoLog=function(e,t){n(e,t,"#5ed1f5")},r.doAjax=function(e){var t=(e=e||(_.isObject(e)?e:{})).ajaxUrl||r.localized.ajaxUrl,n=r.localized.frontNonce,i=o.Deferred(),s=_.extend({action:"",withNonce:!1},e);return"https:"==document.location.protocol&&(t=t.replace("http://","https://")),_.isEmpty(s.action)||!_.isString(s.action)?(r.errorLog("czrapp.doAjax : unproper action provided"),i.resolve().promise()):(s[n.id]=n.handle,!_.isObject(n)||_.isUndefined(n.id)||_.isUndefined(n.handle)?(r.errorLog("czrapp.doAjax : unproper nonce"),i.resolve().promise()):(o.post(t,s).done(function(e){"0"!==e&&"-1"!==e&&!1!==e.success||(r.errare("czrapp.doAjax : done ajax error for action : "+s.action,e),i.reject(e)),i.resolve(e)}).fail(function(e){r.errare("czrapp.doAjax : failed ajax error for : "+s.action,e),i.reject(e)}),i.promise()))}}(jQuery,czrapp),function(r,a){a.isKeydownButNotEnterEvent=function(e){return"keydown"===e.type&&13!==e.which},a.setupDOMListeners=function(e,s,o){!_.isUndefined(o)&&_.isObject(o)?_.isArray(e)?_.isObject(s)?(s=_.extend({model:{},dom_el:{}},s)).dom_el instanceof jQuery&&1==s.dom_el.length?_.map(e,function(i){if(_.isString(i.selector)&&!_.isEmpty(i.selector))if(_.isString(i.selector)&&!_.isEmpty(i.selector)){var e=!!i.once&&i.once;s.dom_el[e?"one":"on"](i.trigger,i.selector,function(e,t){if(e.stopPropagation(),!a.isKeydownButNotEnterEvent(e)){e.preventDefault();var n=r.extend(!0,{},s);if(_.has(n,"model")&&_.has(n.model,"id")&&(_.has(o,"get")?n.model=o():n.model=o.getModel(n.model.id)),r.extend(n,{event:i,dom_event:e}),r.extend(n,t),_.has(n,"event")&&_.has(n.event,"actions"))try{a.executeEventActionChain(n,o)}catch(e){a.errorLog("In setupDOMListeners : problem when trying to fire actions : "+n.event.actions),a.errorLog("Error : "+e)}else a.errorLog("executeEventActionChain : missing obj.event or obj.event.actions")}})}else a.errorLog("setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : "+i.actions.join(","));else a.errorLog("setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : "+i.actions.join(","))}):a.errorLog("setupDomListeners : dom element should be an existing dom element",s):a.errorLog("setupDomListeners : args should be an object",e):a.errorLog("setupDomListeners : event_map should be an array",s):a.errorLog("setupDomListeners : instance should be an object",s)},a.executeEventActionChain=function(n,i){if("function"==typeof n.event.actions)return n.event.actions.call(i,n);_.isArray(n.event.actions)||(n.event.actions=[n.event.actions]);var s=!1;_.map(n.event.actions,function(e){if(!s){if("function"!=typeof i[e])throw new Error("executeEventActionChain : the action : "+e+" has not been found when firing event : "+n.event.selector);var t=!(!_.has(n,"dom_el")||-1==n.dom_el.length)&&n.dom_el;if(t)t.trigger("before_"+e,_.omit(n,"event")),!1===i[e].call(i,n)&&(s=!0),t.trigger("after_"+e,_.omit(n,"event"));else a.errorLog("missing dom element")}})}}(jQuery,czrapp),(czrapp=czrapp||{}).methods={},function(a){var s,i,o=Array.prototype.slice;s=function(){},i=function(e,t,n){var i;return i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},a.extend(i,e),s.prototype=e.prototype,i.prototype=new s,t&&a.extend(i.prototype,t),n&&a.extend(i,n),(i.prototype.constructor=i).__super__=e.prototype,i},czrapp.Class=function(e,t,n){var i,s=arguments;return e&&t&&czrapp.Class.applicator===e&&(s=t,a.extend(this,n||{})),(i=this).instance&&(i=function(){return i.instance.apply(i,arguments)},a.extend(i,this)),i.initialize.apply(i,s),i},czrapp.Class.extend=function(e,t){var n=i(this,e,t);return n.extend=this.extend,n},czrapp.Class.applicator={},czrapp.Class.prototype.initialize=function(){},czrapp.Class.prototype.extended=function(e){for(var t=this;void 0!==t.constructor;){if(t.constructor===e)return!0;if(void 0===t.constructor.__super__)return!1;t=t.constructor.__super__}return!1},czrapp.Events={trigger:function(e){return this.topics&&this.topics[e]&&this.topics[e].fireWith(this,o.call(arguments,1)),this},bind:function(e){return this.topics=this.topics||{},this.topics[e]=this.topics[e]||a.Callbacks(),this.topics[e].add.apply(this.topics[e],o.call(arguments,1)),this},unbind:function(e){return this.topics&&this.topics[e]&&this.topics[e].remove.apply(this.topics[e],o.call(arguments,1)),this}},czrapp.Value=czrapp.Class.extend({initialize:function(e,t){this._value=e,this.callbacks=a.Callbacks(),this._dirty=!1,a.extend(this,t||{}),this.set=a.proxy(this.set,this)},instance:function(){return arguments.length?this.set.apply(this,arguments):this.get()},get:function(){return this._value},set:function(t,n){var i=this._value,e=a.Deferred(),s=this,o=[];t=this._setter.apply(this,arguments),t=this.validate(t);var r=_.extend({silent:!1},_.isObject(n)?n:{});return null===t||_.isEqual(i,t)?e.resolveWith(s,[t,i,n]).promise():(this._value=t,(this._dirty=!0)===r.silent?e.resolveWith(s,[t,i,n]).promise():this._deferreds?(_.each(s._deferreds,function(e){o.push(e.apply(null,[t,i,n]))}),a.when.apply(null,o).fail(function(){czrapp.errorLog("A deferred callback failed in api.Value::set()")}).then(function(){s.callbacks.fireWith(s,[t,i,n]),e.resolveWith(s,[t,i,n])}),e.promise(s)):(this.callbacks.fireWith(this,[t,i,n]),e.resolveWith(s,[t,i,n]).promise(s)))},silent_set:function(e,t){var n=this._value;return e=this._setter.apply(this,arguments),null===(e=this.validate(e))||_.isEqual(n,e)||(this._value=e,this._dirty=_.isUndefined(t)||!_.isBoolean(t)?this._dirty:t,this.callbacks.fireWith(this,[e,n,{silent:!0}])),this},_setter:function(e){return e},setter:function(e){var t=this.get();return this._setter=e,this._value=null,this.set(t),this},resetSetter:function(){return this._setter=this.constructor.prototype._setter,this.set(this.get()),this},validate:function(e){return e},bind:function(){var t=this,n=!1,i=[];return a.each(arguments,function(e,t){n||(n=_.isObject(t)&&t.deferred),_.isFunction(t)&&i.push(t)}),n?(t._deferreds=t._deferreds||[],_.each(i,function(e){_.contains(e,t._deferreds)||t._deferreds.push(e)})):t.callbacks.add.apply(t.callbacks,arguments),this},unbind:function(){return this.callbacks.remove.apply(this.callbacks,arguments),this}}),czrapp.Values=czrapp.Class.extend({defaultConstructor:czrapp.Value,initialize:function(e){a.extend(this,e||{}),this._value={},this._deferreds={}},instance:function(e){return 1===arguments.length?this.value(e):this.when.apply(this,arguments)},value:function(e){return this._value[e]},has:function(e){return void 0!==this._value[e]},add:function(e,t){return this.has(e)?this.value(e):((this._value[e]=t).parent=this,t.extended(czrapp.Value)&&t.bind(this._change),this.trigger("add",t),this._deferreds[e]&&this._deferreds[e].resolve(),this._value[e])},create:function(e){return this.add(e,new this.defaultConstructor(czrapp.Class.applicator,o.call(arguments,1)))},each:function(n,i){i=void 0===i?this:i,a.each(this._value,function(e,t){n.call(i,t,e)})},remove:function(e){var t;this.has(e)&&(t=this.value(e),this.trigger("remove",t),t.extended(czrapp.Value)&&t.unbind(this._change),delete t.parent),delete this._value[e],delete this._deferreds[e]},when:function(){var t=this,n=o.call(arguments),i=a.Deferred();return a.isFunction(n[n.length-1])&&i.done(n.pop()),a.when.apply(a,a.map(n,function(e){if(!t.has(e))return t._deferreds[e]||a.Deferred()})).done(function(){var e=a.map(n,function(e){return t(e)});e.length===n.length?i.resolveWith(t,e):t.when.apply(t,n).done(function(){i.resolveWith(t,e)})}),i.promise()},_change:function(){this.parent.trigger("change",this)}}),a.extend(czrapp.Values.prototype,czrapp.Events)}(jQuery);czrapp=czrapp||{};!function(o,i){var e={cacheProp:function(){o.extend(i,{$_window:o(window),$_html:o("html"),$_body:o("body"),$_wpadminbar:o("#wpadminbar"),$_header:o(".tc-header"),localized:"undefined"!=typeof TCParams&&TCParams?TCParams:{_disabled:[]},is_responsive:this.isResponsive(),current_device:this.getDevice()})},isResponsive:function(){return this.matchMedia(979)},getDevice:function(){var n="desktop",i=this;return _.map({desktop:979,tablet:767,smartphone:480},function(e,t){i.matchMedia(e)&&(n=t)}),n},matchMedia:function(e){return window.matchMedia?window.matchMedia("(max-width: "+e+"px)").matches:(i.$_window||o(window)).width()<=e-15},emitCustomEvents:function(){var n=this;i.$_window.on("resize",function(){var e=i.current_device,t=n.getDevice();i.is_responsive=n.isResponsive(),i.current_device=t,i.$_body.trigger("tc-resize",{current:e,to:t})}),"undefined"!=typeof wp&&void 0!==wp.customize&&void 0!==wp.customize.selectiveRefresh&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(e){i.$_header=o(".tc-header"),i.$_body.trigger("partialRefresh.czr",e)})},emit:function(e,t){e=_.isArray(e)?e:[e];var n=this;_.map(e,function(e){"function"==typeof n[e]&&(t=void 0===t?[]:t,n[e].apply(n,t),i.trigger(e,_.object(_.keys(t),t)))})},triggerSimpleLoad:function(e){0!==e.length&&e.map(function(e,t){o(t).on("load",function(){o(t).trigger("simple_load")}),o(t)[0]&&o(t)[0].complete&&o(t).trigger("load")})},isUserLogged:function(){return i.$_body.hasClass("logged-in")||0!==i.$_wpadminbar.length},isSelectorAllowed:function(e,t,n){var i="ids"==n?"id":"class",s=t[n];return"object"!=typeof t||!t[n]||!_.isArray(t[n])||0===t[n].length||!(0<e.parents(s.map(function(e){return"id"==i?"#"+e:"."+e}).join(",")).length)&&(!e.attr(i)||0===e.attr(i).split(" ").filter(function(e){return-1!=o.inArray(e,s)}).length)},_isMobile:function(){return _.isFunction(window.matchMedia)&&matchMedia("only screen and (max-width: 720px)").matches||this._isCustomizing()&&"desktop"!=this.previewDevice()},_isCustomizing:function(){return i.$_body.hasClass("is-customizing")||"undefined"!=typeof wp&&void 0!==wp.customize},_has_iframe:function(e){var n=[];return _.each(e,function(e,t){0<e.length&&0<e.find("IFRAME").length&&n.push(t)}),n}};i.methods.Base=i.methods.Base||{},o.extend(i.methods.Base,e)}(jQuery,czrapp),function(e,t){var n={addBrowserClassToBody:function(){e.browser&&(e.browser.chrome?t.$_body.addClass("chrome"):e.browser.webkit&&t.$_body.addClass("safari"),e.browser.mozilla?t.$_body.addClass("mozilla"):(e.browser.msie||"8.0"===e.browser.version||"9.0"===e.browser.version||"10.0"===e.browser.version||"11.0"===e.browser.version)&&t.$_body.addClass("ie").addClass("ie"+e.browser.version.replace(/[.0]/g,"")),t.$_body.hasClass("ie")&&t.$_body.addClass(e.browser.version))}};t.methods.BrowserDetect=t.methods.BrowserDetect||{},e.extend(t.methods.BrowserDetect,n)}(jQuery,czrapp);czrapp=czrapp||{};!function(o,r){var e={centerImagesWithDelay:function(e){var t=this;setTimeout(function(){t.emit("centerImages")},e||300)},centerInfinity:function(){r.$_body.on("post-load",function(e,t){var n,i,s;void 0!==t&&"success"==t.type&&t.collection&&t.container&&(n=t.collection,i="#"+t.container,s=o(i),"object"!=typeof n||s.length<1||_.each(n,function(e){var t=o(e+" .thumb-wrapper",s).centerImages({enableCentering:1==r.localized.centerAllImg,enableGoldenRatio:!1,disableGRUnder:0,oncustom:["simple_load"]}).find("img");t.length<1&&(t=o(e+" .tc-rectangular-thumb",s).centerImages({enableCentering:1==r.localized.centerAllImg,enableGoldenRatio:!0,goldenRatioVal:r.localized.goldenRatio||1.618,disableGRUnder:0,oncustom:["simple_load"]}).find("img")),t.length<1&&(t=o(e+" .tc-grid-figure",s).centerImages({enableCentering:1==r.localized.centerAllImg,oncustom:["simple_load"],enableGoldenRatio:!0,goldenRatioVal:r.localized.goldenRatio||1.618,goldenRatioLimitHeightTo:r.localized.gridGoldenRatioLimit||350}).find("img")),r.methods.Base.triggerSimpleLoad(t)}))})},imgSmartLoad:function(){var e=1==TCParams.imgSmartLoadEnabled,t=TCParams.imgSmartLoadOpts.parentSelectors.join();if(e&&o(t).imgSmartLoad(0<_.size(TCParams.imgSmartLoadOpts.opts)?TCParams.imgSmartLoadOpts.opts:{}),1==TCParams.centerAllImg){var n=this,i=e?o(_.filter(o(t).find("img"),function(e){return o(e).is(TCParams.imgSmartLoadOpts.opts.excludeImg.join())})):o(t).find("img"),s=o(_.filter(i,function(e){return o(e).hasClass("tc-holder-img")}));setTimeout(function(){n.triggerSimpleLoad(s)},300),n.triggerSimpleLoad(i)}},dropCaps:function(){TCParams.dropcapEnabled&&_.isObject(TCParams.dropcapWhere)&&o.each(TCParams.dropcapWhere,function(e,t){1==t&&o(".entry-content","body."+("page"==e?"page":"single-post")).children().first().addDropCap({minwords:TCParams.dropcapMinWords,skipSelectors:_.isObject(TCParams.dropcapSkipSelectors)?TCParams.dropcapSkipSelectors:{}})})},extLinks:function(){if(TCParams.extLinksStyle||TCParams.extLinksTargetExt){o("a",".entry-content p, .entry-content li").each(function(){var e;o(this).attr("href")&&(e=o(this).attr("href"),/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(e))&&o(this).extLinks({addIcon:TCParams.extLinksStyle,newTab:TCParams.extLinksTargetExt,skipSelectors:_.isObject(TCParams.extLinksSkipSelectors)?TCParams.extLinksSkipSelectors:{}})})}},fancyBox:function(){1==TCParams.FancyBoxState&&"function"==typeof o.fn.fancybox&&(o("a.grouped_elements").fancybox({transitionOut:"elastic",transitionIn:"elastic",speedIn:200,speedOut:200,overlayShow:!1,autoScale:1==TCParams.FancyBoxAutoscale?"true":"false",changeFade:"fast",enableEscapeButton:!0}),o("a[rel*=tc-fancybox-group]").each(function(){var e=o(this).find("img").prop("title"),t=o(this).find("img").prop("alt");void 0!==e&&0!==e.length?o(this).attr("title",e):void 0!==t&&0!==t.length&&o(this).attr("title",t)}))},centerImages:function(){setTimeout(function(){o.each(o(".carousel .carousel-inner"),function(){o(this).centerImages({enableCentering:1==TCParams.centerSliderImg,imgSel:".czr-item .carousel-image img",oncustom:["customizr.slid","simple_load","smartload"],defaultCSSVal:{width:"100%",height:"auto"},useImgAttr:!0});var e=this;setTimeout(function(){o(e).prevAll(".tc-slider-loader-wrapper").fadeOut()},500)})},50),o(".widget-front .thumb-wrapper").centerImages({enableCentering:1==TCParams.centerAllImg,enableGoldenRatio:!1,disableGRUnder:0,zeroTopAdjust:1,leftAdjust:2.5,oncustom:["smartload","simple_load"]}),o(".thumb-wrapper",".czr-hentry").centerImages({enableCentering:1==TCParams.centerAllImg,enableGoldenRatio:!1,disableGRUnder:0,oncustom:["smartload","simple_load"]}),o(".tc-rectangular-thumb",".tc-post-list-context").centerImages({enableCentering:1==TCParams.centerAllImg,enableGoldenRatio:!0,goldenRatioVal:TCParams.goldenRatio||1.618,disableGRUnder:0,oncustom:["smartload","refresh-height","simple_load"]}),o(".tc-rectangular-thumb",".tc-singular-thumbnail-wrapper").centerImages({enableCentering:1==TCParams.centerAllImg,enableGoldenRatio:!1,disableGRUnder:0,oncustom:["smartload","refresh-height","simple_load"],setOpacityWhenCentered:!0,opacity:1}),o(".tc-grid-figure").centerImages({enableCentering:1==TCParams.centerAllImg,oncustom:["smartload","simple_load"],enableGoldenRatio:!0,goldenRatioVal:TCParams.goldenRatio||1.618,goldenRatioLimitHeightTo:TCParams.gridGoldenRatioLimit||350})},parallax:function(){o(".parallax-item").czrParallax({parallaxRatio:.55})}};r.methods.JQPlugins=r.methods.JQPlugins||{},o.extend(r.methods.JQPlugins={},e)}(jQuery,czrapp);czrapp=czrapp||{};!function(h,p){var e={initOnDomReady:function(){var e=this;this.$_sliders=h('div[id*="customizr-slider"]'),p.$_window.on("resize",function(){e.centerSliderArrows()})},fireSliders:function(e,t,n){var i=this,s=e||TCParams.SliderName,o=t||TCParams.SliderDelay,r=n||TCParams.SliderHover,a=".czr-item";if(!(0===s.length||i.$_sliders.length<1)){if(p.localized.imgSmartLoadsForSliders){i.$_sliders.addClass("disable-transitions-for-smartload"),i.$_sliders.find(a+".active").imgSmartLoad().data("czr_smartLoaded",!0);var c=function(e){e.find(".czr-css-loader").fadeOut({duration:"fast",done:function(){h(this).remove()}})},l=function(e){e=e||"czr-smartloaded";var t=this;t.find("img[data-src], img[data-smartload]").length<1||t.data("czr_smartLoaded")||(t.find(".czr-css-loader").length<1&&t.append('<div class="tc-css-loader tc-mr-loader" style="display:none"><div></div><div></div><div></div></div>').find(".czr-css-loader").fadeIn("slow"),t.imgSmartLoad().data("czr_smartLoaded",!0).addClass(e),t.data("czr_loader_timer",h.Deferred(function(){var e=this;return _.delay(function(){e.resolve()},2e3),this.promise()})),t.data("czr_loader_timer").done(function(){c(t)}))};i.$_sliders.data("czr_smartload_scheduled",h.Deferred().done(function(){i.$_sliders.addClass("czr-smartload-scheduled")}));var d=function(){return 1<=i.$_sliders.length&&!_.isUndefined(i.$_sliders.data("czr_smartload_scheduled"))};i.$_sliders.data("czr_schedule_select",h.Deferred(function(){var e=this;i.$_sliders.parent().one("customizr.slide click",function(){e.resolve()})}).done(function(){d()&&"resolved"!=i.$_sliders.data("czr_smartload_scheduled").state()&&(i.$_sliders.find(a).each(function(){l.call(h(this),"czr-smartloaded-on-select")}),i.$_sliders.data("czr_smartload_scheduled").resolve())})),i.$_sliders.data("czr_schedule_scroll_resize",h.Deferred(function(){var e=this;p.$_window.one("scroll resize",function(){_.delay(function(){e.resolve()},5e3)})}).done(function(){d()&&"resolved"!=i.$_sliders.data("czr_smartload_scheduled").state()&&(i.$_sliders.find(a).each(function(){l.call(h(this),"czr-smartloaded-on-scroll")}),i.$_sliders.data("czr_smartload_scheduled").resolve())})),i.$_sliders.data("czr_schedule_autoload",h.Deferred(function(){var e=this;_.delay(function(){e.resolve()},1e4)}).done(function(){d()&&"resolved"!=i.$_sliders.data("czr_smartload_scheduled").state()&&(i.$_sliders.find(a).each(function(){l.call(h(this),"czr-auto-smartloaded")}),i.$_sliders.data("czr_smartload_scheduled").resolve())})),i.$_sliders.on("smartload",a,function(){c(h(this))})}0===o.length||r?0!==o.length?this.$_sliders.czrCarousel({interval:o}):this.$_sliders.czrCarousel():this.$_sliders.czrCarousel({interval:o,pause:"false"})}},parallaxSliders:function(){"function"==typeof h.fn.czrParallax&&h(".czr-parallax-slider").czrParallax()},manageHoverClass:function(){this.$_sliders.on("mouseenter",function(){h(this).addClass("tc-slid-hover")}).on("mouseleave",function(){h(this).removeClass("tc-slid-hover")})},centerSliderArrows:function(){0!==this.$_sliders.length&&this.$_sliders.each(function(){var e=h(".carousel-inner",h(this)).height();h(".tc-slider-controls",h(this)).css("line-height",e+"px").css("max-height",e+"px")})},addSwipeSupport:function(){if("function"==typeof h.fn.hammer&&0!==this.$_sliders.length){this.$_sliders.on("touchstart touchmove",'input, button, textarea, select, a:not(".tc-slide-link")',function(e){e.stopPropagation()});var e=p.$_body.hasClass("rtl");this.$_sliders.each(function(){h(this).hammer().on("swipeleft",function(){h(this).czrCarousel(e?"prev":"next")}),h(this).hammer().on("swiperight",function(){h(this).czrCarousel(e?"next":"prev")})})}},sliderTriggerSimpleLoad:function(){this.triggerSimpleLoad(this.$_sliders.find(".carousel-inner img"))}};p.methods.Slider={},h.extend(p.methods.Slider,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(a,c){var e={initOnDomReady:function(){this.timer=0,this.increment=1,a(".menu-item").on("keyup","a",function(e){if(9==e.which){var t=a(this).closest(".menu-item");t.addClass("czr-focusin"),t.hasClass("menu-item-has-children")&&t.addClass("czr-parent-menu-navigated")}})},eventListener:function(){var e=this;c.$_window.on("scroll",_.throttle(function(){e.eventHandler("scroll")},50))},eventHandler:function(e){var t=this;switch(e){case"scroll":if(0===a(".tc-btt-wrapper").length)return;this.timer&&(this.increment++,clearTimeout(t.timer)),1==TCParams.timerOnScrollAllBrowsers?this.timer=setTimeout(function(){t.bttArrowVisibility()},5<t.increment?50:0):c.$_body.hasClass("ie")&&(this.timer=setTimeout(function(){t.bttArrowVisibility()},5<t.increment?50:0))}},outline:function(){c.$_body.hasClass("mozilla")&&"function"==typeof tcOutline&&tcOutline()},smoothScroll:function(){TCParams.SmoothScroll&&TCParams.SmoothScroll.Enabled&&smoothScroll(TCParams.SmoothScroll.Options)},anchorSmoothScroll:function(){if(TCParams.anchorSmoothScroll&&"easeOutExpo"==TCParams.anchorSmoothScroll){var e,t=TCParams.anchorSmoothScrollExclude&&_.isArray(TCParams.anchorSmoothScrollExclude.simple)?TCParams.anchorSmoothScrollExclude.simple.join(","):"",n=this,i=a('#tc-page-wrap a[href^="#"],#tc-sn a[href^="#"]').not(t),s=_.isObject(TCParams.anchorSmoothScrollExclude.deep)?TCParams.anchorSmoothScrollExclude.deep:null;s&&(e=_.toArray(i).filter(function(t){return 2==["ids","classes"].filter(function(e){return n.isSelectorAllowed(a(t),s,e)}).length})),a(e).on("click",function(){var e=a(this).attr("href");if(a(e).length)return"#"!=e&&a("html, body").animate({scrollTop:a(e).offset().top},700,TCParams.anchorSmoothScroll),!1})}},bttArrowVisibility:function(){100<c.$_window.scrollTop()?a(".tc-btt-wrapper").addClass("show"):a(".tc-btt-wrapper").removeClass("show")},backToTop:function(){var t=a("html, body"),n=function(e){return(0<e.which||"mousedown"===e.type||"mousewheel"===e.type)&&t.stop().off("scroll mousedown DOMMouseScroll mousewheel keyup",n)};a(".back-to-top, .tc-btt-wrapper, .btt-arrow").on("click touchstart touchend",function(e){e.preventDefault(),e.stopPropagation(),t.on("scroll mousedown DOMMouseScroll mousewheel keyup",n),t.animate({scrollTop:0},1e3,function(){t.stop().off("scroll mousedown DOMMouseScroll mousewheel keyup",n)})})},widgetsHoverActions:function(){function t(e,t,n){"mouseenter"==n.type?e.addClass(t):"mouseleave"==n.type&&e.removeClass(t)}c.$_body.on("mouseenter mouseleave",".widget-front, article",function(e){t(a(this),"hover",e)}),c.$_body.on("mouseenter mouseleave",".widget li",function(e){t(a(this),"on",e)})},attachmentsFadeEffect:function(){a("article.attachment img").delay(500).animate({opacity:1},700,function(){})},clickableCommentButton:function(){TCParams.HasComments&&(a("cite p.edit-link").each(function(){a(this).removeClass("btn btn-success btn-mini")}),a("cite p.edit-link > a").each(function(){a(this).addClass("btn btn-success btn-mini")}),a(".comment .reply").each(function(){a(this).removeClass("btn btn-small")}),a(".comment .reply .comment-reply-link").each(function(){a(this).addClass("btn btn-small")}))},dynSidebarReorder:function(){if(1==TCParams.ReorderBlocks){"desktop"!=this.getDevice()&&this._reorderSidebars("responsive");var i=this;c.$_body.on("tc-resize",function(e,t){var n="desktop"!=(t=_.isObject(t)?t:{}).to?"responsive":"normal";("desktop"!=t.current?"responsive":"normal")!=n&&i._reorderSidebars(n)})}},_reorderSidebars:function(e){e=e||"normal";var t=this,n=TCParams.LeftSidebarClass||".span3.left.tc-sidebar",i=TCParams.RightSidebarClass||".span3.right.tc-sidebar";t.$_content=t.$_content||a("#main-wrapper .container .article-container"),t.$_left=t.$_left||a("#main-wrapper .container "+n),t.$_right=t.$_right||a("#main-wrapper .container "+i);var s=t._has_iframe({content:this.$_content,left:this.$_left}),o=-1<a.inArray("left",s),r=-1<a.inArray("content",s);o&&r||t.$_left.length&&(o?t.$_content["normal"===e?"insertAfter":"insertBefore"](t.$_left):t.$_left["normal"===e?"insertBefore":"insertAfter"](t.$_content))},dropdownMenuEventsHandler:function(){var e=a('.tc-open-on-click .menu-item.menu-item-has-children > a[href!="#"]'),t=a(".tc-open-on-click .dropdown .dropdown-submenu");e.on("click",function(){("hidden"!=a(this).next(".dropdown-menu").css("visibility")&&a(this).next(".dropdown-menu").is(":visible")&&!a(this).parent().hasClass("dropdown-submenu")||a(this).next(".dropdown-menu").is(":visible")&&a(this).parent().hasClass("dropdown-submenu"))&&(window.location=a(this).attr("href"))}),t.each(function(){var t=a(this);t.children('[data-toggle="dropdown"]').on("click",function(){var e=!1;return t.hasClass("open")||(e=!0),a(t.parent()).children(".dropdown-submenu").each(function(){a(this).removeClass("open")}),e&&t.addClass("open"),!1})})},menuButtonHover:function(){a(".btn-toggle-nav").on("mouseenter",function(){a(this).addClass("hover")}).on("mouseleave",function(){a(this).removeClass("hover")})},secondMenuRespActions:function(){if(TCParams.isSecondMenuEnabled){var s=TCParams.secondMenuRespSet||!1,o=this;if(s&&-1!=s.indexOf("in-sn")){var r=function(){o.$_sec_menu_els=a(".nav > li",".tc-header .nav-collapse"),o.$_sn_wrap=a(".sn-nav",".sn-nav-wrapper"),o.$_sec_menu_wrap=a(".nav",".tc-header .nav-collapse")};r();var e="desktop"==this.getDevice()?"navbar":"side_nav";"desktop"!=this.getDevice()&&this._manageMenuSeparator(e,s)._moveSecondMenu(e,s),c.$_body.on("tc-resize partialRefresh.czr",function(e,t){var n=!1;"partialRefresh"==e.type&&"czr"===e.namespace&&t.container&&t.container.hasClass("tc-header")&&(!function(){var e=a(".secondary-menu-separator");if(e.length){switch(s){case"in-sn-before":e.prevAll(".menu-item").remove();break;case"in-sn-after":e.nextAll(".menu-item").remove()}e.remove()}}(),r(),t={to:c.current_device,current:c.current_device},n=!0);var i="desktop"!=(t=_.isObject(t)?t:{}).to?"side_nav":"navbar";(("desktop"!=t.current?"side_nav":"navbar")!=i||n)&&o._manageMenuSeparator(i,s)._moveSecondMenu(i,s)})}}},_manageMenuSeparator:function(e,t){if("navbar"==e)a(".secondary-menu-separator",this.$_sn_wrap).remove();else{var n=a('<li class="menu-item secondary-menu-separator"><hr class="featurette-divider"></hr></li>');switch(t){case"in-sn-before":this.$_sn_wrap.prepend(n);break;case"in-sn-after":this.$_sn_wrap.append(n)}}return this},_moveSecondMenu:function(e,t){var n=this;switch(e=e||"side_nav"){case"navbar":n.$_sec_menu_wrap.append(n.$_sec_menu_els);break;case"side_nav":"in-sn-before"==t?n.$_sn_wrap.prepend(n.$_sec_menu_els):n.$_sn_wrap.append(n.$_sec_menu_els)}},_has_iframe:function(e){var n=[];return _.map(e,function(e,t){0<e.length&&0<e.find("IFRAME").length&&n.push(t)}),n}};c.methods.UserXP={},a.extend(c.methods.UserXP,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(s,o){var e={mayBePrintFrontNote:function(){if((!o.localized||!_.isUndefined(o.localized.frontNotifications))&&!_.isEmpty(o.localized.frontNotifications)&&_.isObject(o.localized.frontNotifications)){var t=this;o.frontNotificationVisible=new o.Value(!1),o.frontNotificationRendered=!1,_.each(o.localized.frontNotifications,function(e){_.isUndefined(o.frontNotification)&&_.isObject(e)&&(e=_.extend({enabled:!1,content:"",dismissAction:"",ajaxUrl:o.localized.ajaxUrl},e)).enabled&&(o.frontNotification=new o.Value(e))}),o.frontNotificationVisible.bind(function(e){return t._toggleNotification(e)},{deferred:!0}),o.frontNotificationVisible(!0)}},_toggleNotification:function(e){var t=this,n=s.Deferred();if(o.frontNotificationRendered&&o.frontNotificationVisible())return n.resolve().promise();return e?_.delay(function(){var e,i;(e=s.Deferred(),i=s("#footer","#tc-page-wrap"),!_.isUndefined(o.frontNotification)&&_.isFunction(o.frontNotification)&&_.isObject(o.frontNotification())?(s.Deferred(function(){var e=this,t=o.frontNotification().content,n=['<div id="bottom-front-notification">','<div class="note-content">','<span class="fas fa-times close-note" title="'+o.localized.i18n["Permanently dismiss"]+'"></span>',"</div>","</div>"].join("");1!=i.length||_.isEmpty(t)?e.resolve():(s.when(i.append(n)).done(function(){s(this).find(".note-content").prepend(t),o.$_body.find("#tc-footer-btt-wrapper").fadeOut("slow"),o.frontNotificationRendered=!0}),_.delay(function(){s("#bottom-front-notification","#footer").css({bottom:0}),e.resolve()},500))}).done(function(){o.setupDOMListeners([{trigger:"click keydown",selector:".close-note",actions:function(){o.frontNotificationVisible(!1).done(function(){o.doAjax({action:o.frontNotification().dismissAction,withNonce:!0,ajaxUrl:o.frontNotification().ajaxUrl})})}}],{dom_el:i},t),e.resolve()}),e.promise()):e.resolve().promise()).always(function(){n.resolve()})},3e3):s.Deferred(function(){var e=this,t=s("#bottom-front-notification","#footer");1==t.length?(t.css({bottom:"-100%"}),_.delay(function(){t.remove(),o.$_body.find("#tc-footer-btt-wrapper").fadeIn("slow"),o.frontNotificationRendered=!1,e.resolve()},450)):e.resolve()}).done(function(){o.frontNotificationVisible(!1),n.resolve()}),_.delay(function(){o.frontNotificationVisible(!1)},45e3),n.promise()}};o.methods.UserXP=o.methods.UserXP||{},s.extend(o.methods.UserXP,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(n,i){var e={initOnDomReady:function(){var t=this;this.stickyHeaderCacheElements(),this.elToHide=[],this.customOffset=TCParams.stickyCustomOffset||{},this.triggerHeight=20,this.scrollingDelay=1!=TCParams.timerOnScrollAllBrowsers&&i.$_body.hasClass("ie")?50:5,this.isHeaderSticky=new i.Value(!1),this.isHeaderSticky.bind(function(e){t._isHeaderStickyReact(e)}),this.stickyHeaderEventListener(),this.triggerStickyHeaderLoad()},stickyHeaderCacheElements:function(){this.$_resetMarginTop=n("#tc-reset-margin-top"),this.$_sticky_logo=n("img.sticky",".site-logo"),this.logo=0===this.$_sticky_logo.length&&{_logo:n('img:not(".sticky")',".site-logo"),_ratio:""}},stickyHeaderEventListener:function(){var n=this;i.$_body.on("sticky-enabled-on-load",function(){n.stickyHeaderEventHandler("on-load")}),i.$_window.on("tc-resize",function(){n.stickyHeaderEventHandler("resize")}),i.$_body.on("partialRefresh.czr",function(e,t){t.container&&t.container.hasClass("tc-header")&&(n.stickyHeaderCacheElements(),n.stickyHeaderEventHandler("resize"))}),i.$_window.on("scroll",_.throttle(function(){n.stickyHeaderEventHandler("scroll")},!i.$_body.hasClass("tc-smoothscroll")||n.isHeaderSticky()?n.scrollingDelay:15)),i.$_body.on(i.$_body.hasClass("tc-is-mobile")?"touchstart":"click",".sn-toggle",function(){n.stickyHeaderEventHandler("sidenav-toggle")})},triggerStickyHeaderLoad:function(){this._is_sticky_enabled()&&i.$_body.trigger("sticky-enabled-on-load",{on:"load"})},stickyHeaderEventHandler:function(e){if(this._is_sticky_enabled()){var t=this;switch(e){case"on-load":t._prepare_logo_transition(),setTimeout(function(){t._sticky_refresh(),t._set_header_top_offset(),t.isHeaderSticky(i.$_window.scrollTop()>t.triggerHeight)},20);break;case"scroll":t._set_header_top_offset(),t.isHeaderSticky(i.$_window.scrollTop()>t.triggerHeight);break;case"resize":case"sidenav-toggle":t._set_sticky_offsets(),t._set_header_top_offset(),t._set_logo_height()}}},_isHeaderStickyReact:function(e){var t=this;e?(i.$_body.addClass("sticky-enabled").removeClass("sticky-disabled").trigger("tc-sticky-enabled"),i.$_header.hasClass("tc-shrink-on")||t._set_logo_height()):(i.$_body.removeClass("sticky-enabled").addClass("sticky-disabled").trigger("tc-sticky-disabled"),setTimeout(function(){t._sticky_refresh()},t._isCustomizing?100:20),setTimeout(function(){t._sticky_refresh()},200))},_is_sticky_enabled:function(){return i.$_body.hasClass("tc-sticky-header")},_get_top_offset:function(){var e=0,t=+this._get_custom_offset(this.isHeaderSticky()?"_scrolling":"_initial"),n=0<i.$_wpadminbar.length?i.$_wpadminbar.height():0;return 1!=this.isUserLogged()||this._isCustomizing()||(e=580<i.$_window.width()?n:this.isHeaderSticky()?0:n),e+t},_get_custom_offset:function(e){if(_.isEmpty(this.customOffset))return 0;if(!this.customOffset[e])return 0;if(!this.customOffset.options)return this.customOffset[e];if("_scrolling"==e)return+this.customOffset[e]||0;if(this.customOffset.options._static)return+this.customOffset[e]||0;var t=n(this.customOffset.options._element);return t.length&&(t.outerHeight()||+this.customOffset[e])||0},_set_sticky_offsets:function(){i.$_header.css("top",""),i.$_header.css("height","auto"),this.$_resetMarginTop.css("margin-top","").show();var e=i.$_header.outerHeight(!0);this.$_resetMarginTop.css("margin-top",+e+"px")},_set_header_top_offset:function(){i.$_header.css("top",this._get_top_offset())},_prepare_logo_transition:function(){if(i.$_html.hasClass("csstransitions")&&this.logo&&0!==this.logo._logo.length){var e=this.logo._logo.originalWidth(),t=this.logo._logo.originalHeight();2==_.size(_.filter([e,t],function(e){return _.isNumber(parseInt(e,10))&&0!==e}))&&(this.logo._ratio=e/t,this.logo._logo.css("width",e))}},_set_logo_height:function(){if((!this.logo||0!==this.logo._logo.length)&&this.logo._ratio){var e=this;this.logo._logo.css("height",e.logo._logo.width()/e.logo._ratio),setTimeout(function(){e._set_sticky_offsets(),e._set_header_top_offset()},200)}},_sticky_refresh:function(){var e=this;setTimeout(function(){e._set_sticky_offsets(),e._set_header_top_offset()},20),i.$_window.trigger("resize")}};i.methods.StickyHeader={},n.extend(i.methods.StickyHeader,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(t,i){var e={initOnDomReady:function(){if(this.$_push=t("#tc-push-footer"),this._class="sticky-footer-enabled",this.$_page=t("#tc-page-wrap"),1!=TCParams.stickyHeader){var e=this;setTimeout(function(){e._apply_sticky_footer()},50)}},stickyFooterEventListener:function(){var e=this;i.$_window.on("tc-resize",function(){e.stickyFooterEventHandler("resize")}),i.$_window.on("golden-ratio-applied",function(){e.stickyFooterEventHandler("refresh")}),i.$_body.on("refresh-sticky-footer",function(){e.stickyFooterEventHandler("refresh")})},stickyFooterEventHandler:function(e){var t=this;if(this._is_sticky_footer_enabled())switch(e){case"resize":for(var n=function(){return t._apply_sticky_footer()},i=0;i<5;i++)setTimeout(n,50*i);break;case"refresh":this._apply_sticky_footer()}},_apply_sticky_footer:function(){var e=this._get_full_height(),t=i.$_window.height()-e,n=!1;0<t?(this.$_push.css("height",t).addClass(this._class),n="sticky-footer-on"):this.$_push.hasClass(this._class)&&(this.$_push.removeClass(this._class),n="sticky-footer-off"),n&&i.$_body.trigger(n)},_is_sticky_footer_enabled:function(){return i.$_body.hasClass("tc-sticky-footer")},_get_full_height:function(){return this.$_page.length<1?t(window).outerHeight(!0):this.$_page.outerHeight(!0)+this.$_page.offset().top-("block"==this.$_push.css("display")?this.$_push.outerHeight():0)}};i.methods.StickyFooter={},t.extend(i.methods.StickyFooter,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(s,o){var e={initOnDomReady:function(){this.$_sidenav=s("#tc-sn"),this._is_sn_on()&&(this.$_page_wrapper=s("#tc-page-wrap"),this.$_page_wrapper_node=this.$_page_wrapper.get(0),this.$_page_wrapper_btn=s(".btn-toggle-nav","#tc-page-wrap"),this.$_sidenav_inner=s(".tc-sn-inner",this.$_sidenav),this._toggle_event="click",this._browser_can_translate3d=!o.$_html.hasClass("no-csstransforms3d"),this.transitionEnd="transitionend webkitTransitionEnd otransitionend oTransitionEnd MSTransitionEnd",this.sideNavEventListener(),this._set_offset_height())},sideNavEventListener:function(){var t=this;o.$_body.on(this._toggle_event,".sn-toggle",function(e){t.sideNavEventHandler(e,"toggle")}),this.$_page_wrapper.on(this.transitionEnd,function(e){t.sideNavEventHandler(e,"transitionend")}),o.$_window.on("tc-resize",function(e){t.sideNavEventHandler(e,"resize")}),o.$_window.on("scroll",function(e){t.sideNavEventHandler(e,"scroll")})},sideNavEventHandler:function(e,t){var n=this;switch(t){case"toggle":this._is_translating()||this._toggle_callback(e);break;case"transitionend":this._is_translating()&&e.target==this.$_page_wrapper_node&&this._transition_end_callback();break;case"scroll":case"resize":setTimeout(function(){n._set_offset_height()},200)}},_toggle_callback:function(e){e.preventDefault(),o.$_body.hasClass("tc-sn-visible")?this._anim_type="sn-close":this._anim_type="sn-open",this._browser_can_translate3d?(o.$_body.addClass("animating "+this._anim_type).trigger(this._anim_type+"_start"),this._is_sticky_header()&&o.$_body.hasClass("sticky-disabled")&&o.$_body.removeClass("tc-sticky-header")):o.$_body.toggleClass("tc-sn-visible").trigger(this._anim_type);var t=e||event,n=s(t.target),i=0<s("#tc-page-wrap").has(n).length;return this.$_page_wrapper_btn.each(function(){s(this).fadeTo(500,i?0:1,function(){s(this).css("visibility",i?"hidden":"visible")})}),!1},_transition_end_callback:function(){o.$_body.removeClass("animating "+this._anim_type).toggleClass("tc-sn-visible").trigger(this._anim_type+"_end").trigger(this._anim_type),this._is_sticky_header()&&o.$_body.hasClass("sticky-disabled")&&o.$_body.addClass("tc-sticky-header")},_is_sn_on:function(){return 0<this.$_sidenav.length},_get_initial_offset:function(){var e=0<o.$_wpadminbar.length?o.$_wpadminbar.height():0;return e=e&&o.$_window.scrollTop()&&"absolute"==o.$_wpadminbar.css("position")?0:e},_set_offset_height:function(){var e=this._get_initial_offset();this.$_sidenav.css("top",e),this.$_sidenav_inner.css("max-height",this.$_sidenav.outerHeight()-e)},_is_translating:function(){return o.$_body.hasClass("animating")},_is_sticky_header:function(){return this.__is_sticky_header=this.__is_sticky_header||o.$_body.hasClass("tc-sticky-header"),this.__is_sticky_header}};o.methods.SideNav={},s.extend(o.methods.SideNav,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(o,i){var e={fireDropDown:function(){this.$_sidenav=o("#tc-sn"),this._dd_first_selector=".menu-item-has-children.dropdown > .dropdown-menu",this.$_nav_collapse=0<i.$_header.length?i.$_header.find(".navbar-wrapper .nav-collapse"):[],this.$_nav=this.$_nav_collapse.length?this.$_nav_collapse.find(".nav"):[],this._has_dd_to_move()&&(this.$_navbar_wrapper=this.$_nav_collapse.closest(".navbar-wrapper"),this.$_nav=this.$_nav_collapse.find(".nav"),this.$_head=o("head"),this._dyn_style_id="tc-dropdown-dyn-style",this._prop=i.$_body.hasClass("rtl")?"right":"left",this.dropdownPlaceEventListener(),this._place_dropdowns())},dropdownPlaceCacheElements:function(){this.$_nav_collapse=0<i.$_header.length?i.$_header.find(".navbar-wrapper .nav-collapse"):[],this.$_nav=this.$_nav_collapse.length?this.$_nav_collapse.find(".nav"):[],this.$_navbar_wrapper=this.$_nav_collapse.length?this.$_nav_collapse.closest(".navbar-wrapper"):[]},dropdownPlaceEventListener:function(){var n=this;i.$_body.on("tc-resize sn-open sn-close tc-sticky-enabled tc-place-dropdowns partialRefresh.czr",function(e,t){"partialRefresh"===e.type&&"czr"===e.namespace&&t.container&&t.container.hasClass("tc-header")&&n.dropdownPlaceCacheElements(),n.dropdownPlaceEventHandler(e,"resize")})},dropdownPlaceEventHandler:function(e,t){var n=this;switch(t){case"resize":setTimeout(function(){n._place_dropdowns()},250)}},_place_dropdowns:function(){var e=this._get_dd_to_move();e.length&&(this._staging(),this._move_dropdown(e),this._write_dyn_style(),this._unstaging())},_has_dd_to_move:function(){return!(this.$_nav_collapse.length<1)&&!(this.$_nav.length&&this.$_nav.find(this._dd_first_selector)<1)},_get_dd_to_move:function(){return"absolute"==this.$_nav_collapse.css("position")?{}:this.$_nav.is(":visible")?this.$_nav.find(this._dd_first_selector):{}},_staging:function(){this._window_width=i.$_window.width(),this.$_navbar_wrapper.hasClass("tc-submenu-fade")&&this.$_navbar_wrapper.removeClass("tc-submenu-fade").addClass("tc-submenu-fade-susp");var e=this._window_width-40,t=".tc-header .nav-collapse .dropdown-menu";this._dyn_style=t+" {max-width: "+e+"px;}",this._dyn_style+=t+" > li > a { word-wrap: break-word; white-space: pre; }",this._write_dyn_style()},_unstaging:function(){this.$_navbar_wrapper.hasClass("tc-submenu-fade-susp")&&this.$_navbar_wrapper.removeClass("tc-submenu-fade-susp").addClass("tc-submenu-fade")},_write_dyn_style:function(){var e=this.$_head.find("#"+this._dyn_style_id);0<e.length&&e.remove(),this._dyn_style&&o("<style id='"+this._dyn_style_id+"'>"+this._dyn_style+"</style>").appendTo(this.$_head)},_move_dropdown:function(e){if(e&&e.length)if(1<e.length){var t=this;o.each(e,function(){t._move_dropdown(o(this))})}else{var n=e.is(":visible");n||e.css("display","block").css("visibility","hidden"),this._set_dropdown_offset(e,"");var i=this._get_dropdown_overflow(e);i&&this._set_dropdown_offset(e,i);var s=e.children("li.dropdown-submenu");s.length&&this._move_dropdown(s.children("ul.dropdown-menu")),n||e.css("display","").css("visibility","")}},_set_dropdown_offset:function(e,t){var n="";if(t){var i=e.parent(".menu-item-has-children");if(i.hasClass("dropdown-submenu")){if(n=parseFloat(e.css(this._prop))-t-5,i.next(".menu-item").length){var s=this._get_element_overflow(e,n,i);(n<30||s<30)&&(n=n-s-30)}}else{n=-20-t;var o=i.attr("class").match(/(menu|page)-item-\d+/);(o=o?o[0]:null)&&this._set_dropdown_arrow_style(o,n)}}e.css(this._prop,n)},_get_dropdown_overflow:function(e){var t,n=null;return n="left"==this._prop?-5<(t=this._get_element_overflow(e,e.offset().left,{},this._window_width))?t:n:(t=e.offset().left)<5?-1*t:n},_get_element_overflow:function(e,t,n,i){return i=n.length?n.width():i,e.width()+t-i},_set_dropdown_arrow_style:function(e,t){var n=9-t,i=n+1,s=".tc-header .navbar .nav > ."+e+" > .dropdown-menu",o=s+":before { "+this._prop+": "+n+"px;}",r=s+":after { "+this._prop+": "+i+"px;}";this._dyn_style+="\n"+o+"\n"+r}};i.methods.Dropdowns={},o.extend(i.methods.Dropdowns,e)}(jQuery,czrapp),function(i,s,o){s.extend(i,i.Events),i.Root=i.Class.extend({initialize:function(e){s.extend(this,e||{}),this.isReady=s.Deferred()},ready:function(){var n=this;n.dom_ready&&o.isArray(n.dom_ready)&&(i.status=i.status||[],o.each(n.dom_ready,function(t){if(o.isFunction(t)||o.isFunction(n[t]))try{(o.isFunction(t)?t:n[t]).call(n)}catch(e){return void i.status.push(["NOK",n.id+"::"+t,o.isString(e)?i._truncate(e):e].join(" => "))}else i.status.push("Method "+t+" was not found and could not be fired on DOM ready.")})),this.isReady.resolve()}}),i.Base=i.Root.extend(i.methods.Base),i.ready=s.Deferred(),i.bind("czrapp-ready",function(){var e=document.createEvent("Event");e.initEvent("czrapp-is-ready",!0,!0),document.dispatchEvent(e),i.ready.resolve()});var e=function(e,t,n){o.isObject(e)&&(o.each(e,function(e,t){if(!i[t]&&o.isObject(e)){e=o.extend({ctor:{},ready:[],options:{}},e);var n=o.extend({id:t,dom_ready:e.ready||[]},e.options);try{i[t]=new e.ctor(n)}catch(e){i.errorLog("Error when loading "+t+" | "+e)}}}),s(function(){o.each(e,function(e,t){i[t]&&i[t].isReady&&"resolved"==i[t].isReady.state()||o.isObject(i[t])&&o.isFunction(i[t].ready)&&i[t].ready()}),i.status=i.status||"OK",o.isArray(i.status)&&o.each(i.status,function(e){i.errorLog(e)}),i.trigger(n?"czrapp-ready":"czrapp-updated")}))};i.appMap=new i.Value({}),i.appMap.bind(e),i.customMap=new i.Value({}),i.customMap.bind(e)}(czrapp=czrapp||{},jQuery,_),function(n){var e=function(){var e=czrapp.localized&&czrapp.localized.pluginCompats?czrapp.localized.pluginCompats:{};czrapp.localized&&czrapp.localized.frontHelpNoticeParams&&czrapp.localized.frontHelpNoticeParams;if(n(function(e){czrapp.localized.isParallaxOn&&e(".czr-parallax-slider").czrParallax({parallaxRatio:czrapp.localized.parallaxRatio||.55})}),e.optimizepress_compat&&e.optimizepress_compat.remove_fancybox_loading){var t=window.opjq||"undefined";if(!_.isUndefined(t)&&_.isFunction(t))try{t(document).ready(function(){t("#fancybox-loading").remove()})}catch(e){console.log("Optimize Press => error",e)}}};window.czrapp&&czrapp.ready&&"resolved"==czrapp.ready.state()?e():document.addEventListener("czrapp-is-ready",function(){e()})}(jQuery),function(e){e.localized=TCParams||{};var t={base:{ctor:e.Base,ready:["cacheProp","emitCustomEvents"]},browserDetect:{ctor:e.Base.extend(e.methods.BrowserDetect),ready:["addBrowserClassToBody"]},jqPlugins:{ctor:e.Base.extend(e.methods.JQPlugins),ready:["centerImagesWithDelay","centerInfinity","imgSmartLoad","dropCaps","extLinks","fancyBox","parallax"]},slider:{ctor:e.Base.extend(e.methods.Slider),ready:["initOnDomReady","fireSliders","parallaxSliders","manageHoverClass","centerSliderArrows","addSwipeSupport","sliderTriggerSimpleLoad"]},dropdowns:{ctor:e.Base.extend(e.methods.Dropdowns),ready:["fireDropDown"]},userXP:{ctor:e.Base.extend(e.methods.UserXP),ready:["initOnDomReady","eventListener","outline","smoothScroll","anchorSmoothScroll","backToTop","widgetsHoverActions","attachmentsFadeEffect","clickableCommentButton","dynSidebarReorder","dropdownMenuEventsHandler","menuButtonHover","secondMenuRespActions","mayBePrintFrontNote"]},stickyHeader:{ctor:e.Base.extend(e.methods.StickyHeader),ready:["initOnDomReady"]},stickyFooter:{ctor:e.Base.extend(e.methods.StickyFooter),ready:["initOnDomReady","stickyFooterEventListener"]},sideNav:{ctor:e.Base.extend(e.methods.SideNav),ready:["initOnDomReady"]}};e.appMap(t,!0)}(czrapp=czrapp||{});

LittleDemon - FACEBOOK
[ KELUAR ]