var jQeryCheck1=function(callback){if(window.jQuery){callback(jQuery);}else{window.setTimeout(function(){jQeryCheck1(callback);},100);}};jQeryCheck1(function($){!function(a){"use strict";a.fn.smoothScroll=function(b){var c=a.smoothScroll.getSettings(b);return this.each(function(d){var e=a(this).attr(c.selectorAttribute);!e||c.hashOnly&&!e.match(/^#.+/)||a(this).on(c.events+".smoothScroll."+d,function(){return a.smoothScroll.to(e,b)})})},a.smoothScroll={to:function(b,c){var d=this.getSettings(c);a(window).scrollTop(a(window).scrollTop()+1);var e=a("html");return e.scrollTop()<=0&&(e=a("body")),e.animate({scrollTop:a(b).offset().top-d.offset},d.speed,d.easing,d.callback),!1},defaults:{events:"click",speed:300,easing:"linear",offset:0,selectorAttribute:"href",hashOnly:!0,callback:function(){}},getSettings:function(b){return a.extend(!0,{},this.defaults,b)}}}(jQuery);(function(){var c,f;c=window.jQuery;f=c(window);c.fn.stick_in_parent=function(b){var A,w,J,n,B,K,p,q,L,k,E,t;null==b&&(b={});t=b.sticky_class;B=b.inner_scrolling;E=b.recalc_every;k=b.parent;q=b.offset_top;p=b.spacer;w=b.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=c(document);null==w&&(w=!0);L=function(a){var b;return window.getComputedStyle?(a=window.getComputedStyle(a[0]),b=parseFloat(a.getPropertyValue("width"))+parseFloat(a.getPropertyValue("margin-left"))+parseFloat(a.getPropertyValue("margin-right")),"border-box"!==a.getPropertyValue("box-sizing")&&(b+=parseFloat(a.getPropertyValue("border-left-width"))+parseFloat(a.getPropertyValue("border-right-width"))+parseFloat(a.getPropertyValue("padding-left"))+parseFloat(a.getPropertyValue("padding-right"))),b):a.outerWidth(!0)};J=function(a,b,n,C,F,u,r,G){var v,H,m,D,I,d,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):c("<div />"))&&h.css("position",a.css("position"));x=function(){var d,f,e;if(!G&&(I=A.height(),d=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),b=parseInt(g.css("padding-bottom"),10),n=g.offset().top+d+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:L(a),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,d=q,z=E,l=function(){var c,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+d>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:d}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,d=q,null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.detach()),c={position:"",width:"",top:""},a.css(c).removeClass(t).trigger("sticky_kit:unstick")),B&&(c=f.height(),u+q>c&&!v&&(d-=l,d=Math.max(c-u,d),d=Math.min(q,d),m&&a.css({top:d+"px"})))):e>F&&(m=!0,c={position:"fixed",top:d},c.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(c).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+d>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),a.css({position:"absolute",bottom:b,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);c(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",y),c(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n<K;n++)b=this[n],J(c(b));return this}}).call(this);!function(e,t){if("function"==typeof define&&define.amd)define(["exports","module"],t);else if("undefined"!=typeof exports&&"undefined"!=typeof module)t(exports,module);else{var n={exports:{}};t(n.exports,n),e.autosize=n.exports}}(this,function(e,t){"use strict";function n(e){function t(){var t=window.getComputedStyle(e,null);c=t.overflowY,"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),f="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(f)&&(f=0),i()}function n(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,c=t,u&&(e.style.overflowY=t),o()}function o(){var t=window.pageYOffset,n=document.body.scrollTop,o=e.style.height;e.style.height="auto";var i=e.scrollHeight+f;return 0===e.scrollHeight?void(e.style.height=o):(e.style.height=i+"px",v=e.clientWidth,document.documentElement.scrollTop=t,void(document.body.scrollTop=n))}function i(){var t=e.style.height;o();var i=window.getComputedStyle(e,null);if(i.height!==e.style.height?"visible"!==c&&n("visible"):"hidden"!==c&&n("hidden"),t!==e.style.height){var r=document.createEvent("Event");r.initEvent("autosize:resized",!0,!1),e.dispatchEvent(r)}}var d=void 0===arguments[1]?{}:arguments[1],s=d.setOverflowX,l=void 0===s?!0:s,a=d.setOverflowY,u=void 0===a?!0:a;if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var f=null,c=null,v=e.clientWidth,p=function(){e.clientWidth!==v&&i()},h=function(t){window.removeEventListener("resize",p,!1),e.removeEventListener("input",i,!1),e.removeEventListener("keyup",i,!1),e.removeEventListener("autosize:destroy",h,!1),e.removeEventListener("autosize:update",i,!1),r["delete"](e),Object.keys(t).forEach(function(n){e.style[n]=t[n]})}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",h,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",i,!1),window.addEventListener("resize",p,!1),e.addEventListener("input",i,!1),e.addEventListener("autosize:update",i,!1),r.add(e),l&&(e.style.overflowX="hidden",e.style.wordWrap="break-word"),t()}}function o(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=document.createEvent("Event");t.initEvent("autosize:destroy",!0,!1),e.dispatchEvent(t)}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=document.createEvent("Event");t.initEvent("autosize:update",!0,!1),e.dispatchEvent(t)}}var r="function"==typeof Set?new Set:function(){var e=[];return{has:function(t){return Boolean(e.indexOf(t)>-1)},add:function(t){e.push(t)},"delete":function(t){e.splice(e.indexOf(t),1)}}}(),d=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(d=function(e){return e},d.destroy=function(e){return e},d.update=function(e){return e}):(d=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return n(e,t)}),e},d.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e},d.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e}),t.exports=d});!function(t){function i(){o=function(t){return s+"-"+t},a=function(t){return s+"-"+t},r=function(t){return t+"."+s},t.each([o,a,r],function(t,i){i.add=function(t){t=t.split(" ");for(var e in t)i[t[e]]=i(t[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),a.add("slide anchor"),r.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),d={complObject:function(i,e){return t.isPlainObject(i)||(i=e),i},complBoolean:function(t,i){return"boolean"!=typeof t&&(t=i),t},complNumber:function(i,e){return t.isNumeric(i)||(i=e),i},complString:function(t,i){return"string"!=typeof t&&(t=i),t},isPercentage:function(t){return"string"==typeof t&&"%"==t.slice(-1)},getPercentage:function(t){return parseInt(t.slice(0,-1))},resizeRatio:function(t,i,e,s,n){if(i.is(":visible")){var o=i.width(),a=i.height();e&&o>e&&(o=e),s&&a>s&&(a=s),n>o/a?a=o/n:o=a*n,t.width(o).height(a)}},transitionend:function(t,i,e){var s=!1,n=function(){s||i.call(t[0]),s=!0};t.one(r.transitionend,n),t.one(r.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var t=l.viewportScale.getScale();"undefined"!=typeof t&&(t=1/t,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(t),3),1)]))}}},l={$wndw:t(window),$html:t("html"),$body:t("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(t[e].support.touch?o.touch:o.desktop),l.$wndw.on(r.scroll,function(t){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}),!l.viewportScale&&t[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,d.setViewportScale(),l.$wndw.on(r.orientationchange+" "+r.resize,function(t){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){d.setViewportScale()},500)})),t[e]._c=o,t[e]._d=a,t[e]._e=r,t[e]._f=d,t[e]._g=l}var e="tosrus",s="tos",n="2.5.0";if(!t[e]){var o={},a={},r={},d={},l={};t[e]=function(t,i,e){return this.$node=t,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},t[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=t('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=t('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(r.open+" "+r.close+" "+r.prev+" "+r.next+" "+r.slideTo,function(t){arguments=Array.prototype.slice.call(arguments);var t=arguments.shift(),e=t.type;t.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(r.opening+" "+r.closing+" "+r.sliding+" "+r.loading+" "+r.loaded,function(t){t.stopPropagation()}).on(r.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":t(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var s=0;s<t[e].addons.length;s++)t.isFunction(this["_addon_"+t[e].addons[s]])&&this["_addon_"+t[e].addons[s]]();for(var n=0;n<t[e].ui.length;n++)this.nodes.$wrpr.find("."+o[t[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+t[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||t().add(this.nodes.$capt||t()).add(this.nodes.$pagr||t()).on(r.click,function(t){t.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var s=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),d.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(r.opening,[i,e]):setTimeout(function(){s.nodes.$wrpr.addClass(o.opening).trigger(r.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),t.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):d.transitionend(this.nodes.$wrpr,function(){t(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(r.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){t.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){t.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,s){if(!this.vars.opened)return!1;if(!t.isNumeric(i))return!1;var n=!0;if(0>i){var a=0==this.slides.index;this.opts.infinite?i=a?this.slides.total-this.slides.visible:0:(i=0,a&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var p=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(p+="%"),s&&(this.nodes.$sldr.addClass(o.noanimation),d.transitionend(this.nodes.$sldr,function(){t(this).removeClass(o.noanimation)},5));for(var c in t[e].effects)if(c==this.opts.effect){t[e].effects[c].call(this,p,s);break}this.nodes.$wrpr.trigger(r.sliding,[i,s])}},_initAnchors:function(){var i=this,s=t();if(this.$node.is("a"))for(var n in t[e].media)s=s.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var s=i.opts.media[n].filterAnchors.call(i,t(this));if("boolean"==typeof s)return s}return t[e].media[n].filterAnchors.call(i,t(this))}));return s},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var s=t(this),n=t('<div class="'+o.slide+" "+o.loading+'" />').data(a.anchor,s).appendTo(i.nodes.$sldr);s.data(a.slide,n).on(r.click,function(t){t.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var s=t(this);t('<div class="'+o.slide+'" />').append(s).appendTo(i.nodes.$sldr);for(var n in t[e].media){var a=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(a=i.opts.media[n].filterSlides.call(i,s)),"boolean"!=typeof a&&(a=t[e].media[n].filterSlides.call(i,s)),a){t[e].media[n].initSlides.call(i,s),s.parent().addClass(o(n));break}}})},_loadContents:function(){var t=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){t._loadContent(t.slides.index-t.slides.visible,t.slides.index),t._loadContent(t.slides.index+t.slides.visible,t.slides.index+2*t.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,s){var n=this;this.nodes.$slides.slice(i,s).each(function(){var i=t(this);if(0==i.children().length){var s=i.data(a.anchor),d=s.attr("href");for(var l in t[e].media){var p=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(p=n.opts.media[l].filterAnchors.call(n,s)),"boolean"!=typeof p&&(p=t[e].media[l].filterAnchors.call(n,s)),p){t[e].media[l].initAnchors.call(n,i,d),i.addClass(o(l));break}}i.trigger(r.loading,[i.data(a.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=t(this.opts.wrapper.target)),this.opts.show=d.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),t.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=d.complNumber(this.opts.slides.visible,1);else{var i=d.isPercentage(this.opts.slides.width)?d.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=d.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=d.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=d.isPercentage(this.opts.slides.offset)?d.getPercentage(this.opts.slides.offset):d.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},t.fn[e]=function(s,n,o,a){l.$wndw||i(),s=t.extend(!0,{},t[e].defaults,s),s=t.extend(!0,{},s,t[e].support.touch?o:n),a=t.extend(!0,{},t[e].configuration,a);var r=new t[e](this,s,a);return this.data(e,r),r.nodes.$wrpr},t[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},t[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},t[e].configuration={transitionDuration:400},t[e].constants={},t[e].debug=function(t){},t[e].deprecated=function(t,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+t+" is deprecated, use "+i+" instead.")},t[e].effects={slide:function(t){this.nodes.$sldr.css("left",t)},fade:function(i){d.transitionend(this.nodes.$sldr,function(){t(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},t[e].version=n,t[e].media={},t[e].addons=[],t[e].ui=[]}}(jQuery),function(t){var i,e,s,n,o,a="tosrus",r="autoplay",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,s.add("mouseover mouseout"),d=!0);var l=this,p=this.opts[r];p.play&&(this.opts.infinite=!0,this.nodes.$wrpr.on(s.sliding,function(t){l.autoplay()}),p.pauseOnHover&&this.nodes.$wrpr.on(s.mouseover,function(t){l.autostop()}).on(s.mouseout,function(t){l.autoplay()}),this.autoplay())},t[a].prototype.autoplay=function(){var t=this;this.autostop(),this.vars.autoplay=setTimeout(function(){t.next()},this.opts[r].timeout)},t[a].prototype.autostop=function(){this.vars.autoplay&&clearTimeout(this.vars.autoplay)},t[a].defaults[r]={play:!1,timeout:4e3,pauseOnHover:!1},t[a].addons.push(r)}(jQuery),function(t){function i(i,e){return t('<a class="'+s[i]+e+'" href="#"><span></span></a>')}function e(t,i,e,s){i.on(o.click,function(i){i.preventDefault(),i.stopPropagation(),t.trigger(o[e],[s])})}var s,n,o,a,r,d="tosrus",l="buttons",p=!1;t[d].prototype["_addon_"+l]=function(){p||(s=t[d]._c,n=t[d]._d,o=t[d]._e,a=t[d]._f,r=t[d]._g,s.add("prev next close disabled"),p=!0);var c=this,h=this.opts[l];this.nodes.$prev=null,this.nodes.$next=null,this.nodes.$clse=null,("boolean"==typeof h||"string"==typeof h&&"inline"==h)&&(h={prev:h,next:h}),"undefined"==typeof h.close&&(h.close=this.vars.fixed),this.nodes.$slides.length<2&&(h.prev=!1,h.next=!1),t.each({prev:"prev",next:"next",close:"clse"},function(n,a){h[n]&&("string"==typeof h[n]&&"inline"==h[n]?c.vars.fixed&&"close"!=n&&c.nodes.$slides.on(o.loading,function(o,a){var r=i(n," "+s.inline)["prev"==n?"prependTo":"appendTo"](this);e(c.nodes.$wrpr,r,n,1),c.opts.infinite||("prev"==n&&t(this).is(":first-child")||"next"==n&&t(this).is(":last-child"))&&r.addClass(s.disabled)}):("string"==typeof h[n]&&(h[n]=t(h[n])),c.nodes["$"+a]=h[n]instanceof t?h[n]:i(n,"").appendTo(c.nodes.$wrpr),e(c.nodes.$wrpr,c.nodes["$"+a],n,null)))}),this.opts.infinite||(this.updateButtons(),this.nodes.$wrpr.on(o.sliding,function(t,i,e){c.updateButtons()}))},t[d].prototype.updateButtons=function(){this.nodes.$prev&&this.nodes.$prev[(this.slides.index<1?"add":"remove")+"Class"](s.disabled),this.nodes.$next&&this.nodes.$next[(this.slides.index>=this.slides.total-this.slides.visible?"add":"remove")+"Class"](s.disabled)},t[d].defaults[l]={prev:!t[d].support.touch,next:!t[d].support.touch},t[d].addons.push(l),t[d].ui.push("prev"),t[d].ui.push("next"),t[d].ui.push("close")}(jQuery),function(t){var i,e,s,n,o,a="tosrus",r="caption",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,i.add("caption uibg"),e.add("caption"),d=!0);var l=this,p=this.opts[r];if(p.add){p.attributes=p.attributes||[],"string"==typeof p.target&&(p.target=t(p.target)),p.target instanceof t?this.nodes.$capt=p.target:(this.nodes.$capt=t('<div class="'+i.caption+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+i.uibg+'" />').prependTo(this.nodes.$wrpr)));for(var c=0,h=this.slides.visible;h>c;c++)t('<div class="'+i.caption+"-"+c+'" />').css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px")).appendTo(this.nodes.$capt);this.nodes.$slides.each(function(i){var s=t(this),n=l.vars.fixed?s.data(e.anchor):s.children();s.data(e.caption,"");for(var o=0,a=p.attributes.length;a>o;o++){var r=n.attr(p.attributes[o]);if(r&&r.length){s.data(e.caption,r);break}}}),this.nodes.$wrpr.on(s.sliding,function(t,i,s){for(var n=0,o=l.slides.visible;o>n;n++)l.nodes.$capt.children().eq(n).html(l.nodes.$sldr.children().eq(l.slides.index+n).data(e.caption)||"")})}},t[a].defaults[r]={add:!1,target:null,attributes:["title","alt","rel"]},t[a].addons.push(r),t[a].ui.push("caption")}(jQuery),function(t){if("function"==typeof Hammer){var i,e,s,n,o,a="tosrus",r="drag",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,d=!0);var l=this;if(this.opts[r]&&"slide"==this.opts.effect){if(Hammer.VERSION<2)return void t[a].deprecated("Older version of the Hammer library","version 2 or newer");if(this.nodes.$slides.length>1){var p=0,c=!1,h=!1,u=new Hammer(this.nodes.$wrpr[0]);u.on("panstart panleft panright panend swipeleft swiperight",function(t){t.preventDefault()}).on("panstart",function(t){l.nodes.$sldr.addClass(i.noanimation)}).on("panleft panright",function(t){switch(p=t.deltaX,h=!1,t.direction){case 2:c="left";break;case 4:c="right";break;default:c=!1}("left"==c&&l.slides.index+l.slides.visible>=l.slides.total||"right"==c&&0==l.slides.index)&&(p/=2.5),l.nodes.$sldr.css("margin-left",Math.round(p))}).on("swipeleft swiperight",function(t){h=!0}).on("panend",function(t){if(l.nodes.$sldr.removeClass(i.noanimation).addClass(i.fastanimation),n.transitionend(l.nodes.$sldr,function(){l.nodes.$sldr.removeClass(i.fastanimation)},l.conf.transitionDuration/2),l.nodes.$sldr.css("margin-left",0),"left"==c||"right"==c){if(h)var e=l.slides.visible;else var o=l.nodes.$slides.first().width(),e=Math.floor((Math.abs(p)+o/2)/o);e>0&&l.nodes.$wrpr.trigger(s["left"==c?"next":"prev"],[e])}c=!1})}}},t[a].defaults[r]=t[a].support.touch,t[a].addons.push(r)}}(jQuery),function(t){var i,e,s,n,o,a="tosrus",r="keys",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,s.add("keyup"),d=!0);var l=this,p=this.opts[r];if("boolean"==typeof p&&p&&(p={prev:!0,next:!0,close:!0}),t.isPlainObject(p)){for(var c in t[a].constants[r])"boolean"==typeof p[c]&&p[c]&&(p[c]=t[a].constants[r][c]);this.nodes.$slides.length<2&&(p.prev=!1,p.next=!1),t(document).on(s.keyup,function(t){if(l.vars.opened){var i=!1;switch(t.keyCode){case p.prev:i=s.prev;break;case p.next:i=s.next;break;case p.close:i=s.close}i&&(t.preventDefault(),t.stopPropagation(),l.nodes.$wrpr.trigger(i))}})}},t[a].defaults[r]=!1,t[a].constants[r]={prev:37,next:39,close:27},t[a].addons.push(r)}(jQuery),function(t){var i,e,s,n,o,a="tosrus",r="pagination",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,i.add("pagination selected uibg bullets thumbnails"),d=!0);var l=this,p=this.opts[r];if(this.nodes.$slides.length<2&&(p.add=!1),p.add){if("string"==typeof p.target&&(p.target=t(p.target)),p.target instanceof t?this.nodes.$pagr=p.target:(this.nodes.$pagr=t('<div class="'+i.pagination+" "+i[p.type]+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+i.uibg+'" />').prependTo(this.nodes.$wrpr))),"function"!=typeof p.anchorBuilder)switch(p.type){case"thumbnails":var c='<a href="#" style="background-image: url(\'',h="');\"></a>";this.vars.fixed?p.anchorBuilder=function(i){return c+t(this).data(e.anchor).attr("href")+h}:p.anchorBuilder=function(i){return c+t(this).find("img").attr("src")+h};break;case"bullets":default:p.anchorBuilder=function(t){return'<a href="#"></a>'}}this.nodes.$slides.each(function(i){t(p.anchorBuilder.call(this,i+1)).appendTo(l.nodes.$pagr).on(s.click,function(t){t.preventDefault(),t.stopPropagation(),l.nodes.$wrpr.trigger(s.slideTo,[i])})}),this.updatePagination(),this.nodes.$wrpr.on(s.sliding,function(t,i,e){l.updatePagination()})}},t[a].prototype.updatePagination=function(){this.nodes.$pagr&&this.nodes.$pagr.children().removeClass(i.selected).eq(this.slides.index).addClass(i.selected)},t[a].defaults[r]={add:!1,type:"bullets",target:null,anchorBuilder:null},t[a].addons.push(r),t[a].ui.push("pagination"),t[a].ui.push("bullets"),t[a].ui.push("thumbnails")}(jQuery),function(t){var i="tosrus",e="html";t[i].media[e]={filterAnchors:function(i){var e=i.attr("href");return"#"==e.slice(0,1)&&t(e).is("div")},initAnchors:function(e,s){t('<div class="'+t[i]._c("html")+'" />').append(t(s)).appendTo(e),e.removeClass(t[i]._c.loading).trigger(t[i]._e.loaded)},filterSlides:function(t){return t.is("div")},initSlides:function(t){}},t[i].defaults.media[e]={}}(jQuery),function(t){var i="tosrus",e="image";t[i].media[e]={filterAnchors:function(i){return t.inArray(i.attr("href").toLowerCase().split(".").pop().split("?")[0],["jpg","jpe","jpeg","gif","png"])>-1},initAnchors:function(e,s){t('<img border="0" />').on(t[i]._e.load,function(s){s.stopPropagation(),e.removeClass(t[i]._c.loading).trigger(t[i]._e.loaded)}).appendTo(e).attr("src",s)},filterSlides:function(t){return t.is("img")},initSlides:function(t){}},t[i].defaults.media[e]={}}(jQuery),function(t){function i(i){function p(){c.length&&(c.attr("src",""),c.attr("src",u))}l||(e=t[r]._c,s=t[r]._d,n=t[r]._e,o=t[r]._f,a=t[r]._g,s.add("ratio maxWidth maxHeight"),l=!0);var c=i.children(),h=i.data(t[r]._d.anchor)||t(),u=c.attr("src"),f=h.data(s.ratio)||this.opts[d].ratio,g=h.data(s.maxWidth)||this.opts[d].maxWidth,v=h.data(s.maxHeight)||this.opts[d].maxHeight;i.removeClass(e.loading).trigger(n.loaded).on(n.loading,function(t){o.resizeRatio(c,i,g,v,f)}),this.nodes.$wrpr.on(n.sliding,function(t){p()}).on(n.opening,function(t){o.resizeRatio(c,i,g,v,f)}).on(n.closing,function(t){p()}),a.$wndw.on(n.resize,function(t){o.resizeRatio(c,i,g,v,f)})}var e,s,n,o,a,r="tosrus",d="vimeo",l=!1;t[r].media[d]={filterAnchors:function(t){return t.attr("href").toLowerCase().indexOf("vimeo.com/")>-1},initAnchors:function(e,s){var n=this._uniqueID();s=s.split("vimeo.com/")[1].split("?")[0]+"?api=1&player_id="+n,t('<iframe id="'+n+'" src="http://player.vimeo.com/video/'+s+'" frameborder="0" allowfullscreen />').appendTo(e),i.call(this,e)},filterSlides:function(t){return t.is("iframe")&&t.attr("src")?t.attr("src").toLowerCase().indexOf("vimeo.com/video/")>-1:!1},initSlides:function(t){i.call(this,t)}},t[r].defaults.media[d]={},t[r].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1}}(jQuery),function(t){function i(i){function p(t){c.length&&c[0].contentWindow.postMessage('{ "event": "command", "func": "'+t+'Video" }',"*")}l||(e=t[r]._c,s=t[r]._d,n=t[r]._e,o=t[r]._f,a=t[r]._g,s.add("ratio maxWidth maxHeight"),l=!0);var c=i.children(),h=i.data(t[r]._d.anchor)||t(),u=h.data(s.ratio)||this.opts[d].ratio,f=h.data(s.maxWidth)||this.opts[d].maxWidth,g=h.data(s.maxHeight)||this.opts[d].maxHeight;i.removeClass(e.loading).trigger(n.loaded).on(n.loading,function(t){o.resizeRatio(c,i,f,g,u)}),this.nodes.$wrpr.on(n.sliding,function(t){p("pause")}).on(n.opening,function(t){o.resizeRatio(c,i,f,g,u)}).on(n.closing,function(t){p("stop")}),a.$wndw.on(n.resize,function(t){o.resizeRatio(c,i,f,g,u)})}var e,s,n,o,a,r="tosrus",d="youtube",l=!1;t[r].media[d]={filterAnchors:function(t){return t.attr("href").toLowerCase().indexOf("youtube.com/watch?v=")>-1},initAnchors:function(e,s){var n=s;s=s.split("?v=")[1].split("&")[0],this.opts[d].imageLink?(s="http://img.youtube.com/vi/"+s+"/0.jpg",t('<a href="'+n+'" class="'+t[r]._c("play")+'" target="_blank" />').appendTo(e),t('<img border="0" />').on(t[r]._e.load,function(i){i.stopPropagation(),e.removeClass(t[r]._c.loading).trigger(t[r]._e.loaded)}).appendTo(e).attr("src",s)):(t('<iframe src="http://www.youtube.com/embed/'+s+'?enablejsapi=1" frameborder="0" allowfullscreen />').appendTo(e),i.call(this,e))},filterSlides:function(t){return t.is("iframe")&&t.attr("src")?t.attr("src").toLowerCase().indexOf("youtube.com/embed/")>-1:!1},initSlides:function(t){i.call(this,t)}},t[r].defaults.media[d]={},t[r].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1,imageLink:t[r].support.touch}}(jQuery);jQuery(document).ready(function($){var tbn=$('#page-top'),scleve=('scroll',function(){var scltop=window.pageYOffset;if(scltop>500){tbn.fadeIn();}else{tbn.fadeOut();}if(document.getElementById('ovlay')!==null){var select=document.documentElement,laynav=document.querySelector('#layer #nav');if(laynav!==null){select=laynav;}else if(document.getElementById('sform')!==null&&$('#sform').css('display')==='block'){return;}else if(document.getElementById('side')!==null){select=document.getElementById('side');}var tnp1=$('#layer').get(0).offsetTop+select.clientHeight,tnp2=$('#layer').get(0).offsetTop-document.documentElement.clientHeight;if(scltop>tnp1||scltop<tnp2){remove_ovlay();}}});function listen_scroll(e){if(typeof window.addEventListener!=='undefined'){window.addEventListener('scroll',e,false);}else if(typeof window.attachEvent!=='undefined'){window.attachEvent('onscroll',e);}}function detach_scroll(e){if(typeof window.removeEventListener!=='undefined'){window.removeEventListener('scroll',e,false);}else if(typeof window.detachEvent!=='undefined'){window.detachEvent('onscroll',e);}}listen_scroll(scleve);tbn.click(function(){$('html, body').animate({scrollTop:0},500);return false;});$('#nav li').hover(function(){var t=$('>ul',this);t.css('display','table');t.css('width',t.outerWidth()+'px');t.css('display','none');t.stop().toggle(300);},function(){$('>ul',this).stop().toggle(300);});function remove_ovlay(){var a=['sidebar','sform','ovlay','ovlay-style'];a.forEach(function(val){if(document.getElementById(val)!==null){if(val==='sidebar'||val==='sform'){document.getElementById(val).removeAttribute('style');}else{$('#'+val).remove();}}});document.body.removeAttribute('style');}function no_scroll(){var sclev='onwheel'in document?'wheel':'onmousewheel'in document?'mousewheel':'DOMMouseScroll';$(window).on(sclev,function(e){e.preventDefault();});$(window).on('touchmove.noScroll',function(e){e.preventDefault();});}function go_scroll(){var sclev='onwheel'in document?'wheel':'onmousewheel'in document?'mousewheel':'DOMMouseScroll';$(window).off(sclev);$(window).off('.noScroll');}var nav=$('#nav'),mom=$('.mob-menu'),mos=$('.mob-side'),prv=$('.mob-prev'),nxt=$('.mob-next'),srh=$('.mob-search'),men=$('.menu ul'),mob=$('.mobile-nav'),prvid=document.getElementById('data-prev'),nxtid=document.getElementById('data-next'),navid=document.getElementById('nav'),mobmn='style=\"margin-top:-'+document.documentElement.clientHeight+'px;\"><div id=\"nav\">'+(navid!==null?navid.innerHTML:'')+'</div>'+'<style>#layer #nav{top:0;}#layer #nav-bottom{border:0;}</style>',sdbar='',sform='>';if(document.getElementById('sidebar')!==null){sdbar='style=\"height:'+document.getElementById('sidebar').offsetHeight+'px;width:1px\">'+'<style>#sidebar{overflow:hidden;background:#fff;padding:1px;border: 3px solid #ddd;border-radius:5px;}#side,div[id*=\"side-\"]{margin:0;padding:0;}</style>'}mom.click(function(){mobile_menu('mom',mobmn);}).css('cursor','pointer');mos.click(function(){mobile_menu('mos',sdbar);}).css('cursor','pointer');srh.click(function(){mobile_menu('srh',sform);}).css('cursor','pointer');if(prvid!==null){prv.click(function(){location.href=prvid.getAttribute('data-prev');}).css('cursor','pointer');}else{prv.css('opacity','.4').css('cursor','not-allowed');}if(nxtid!==null){nxt.click(function(){location.href=nxtid.getAttribute('data-next');}).css('cursor','pointer');}else{nxt.css('opacity','.4').css('cursor','not-allowed');}function mobile_menu(cpoint,layer){if(document.getElementById('bwrap')!==null){remove_ovlay();}var scltop=window.pageYOffset;$('body').append('<div id=\"ovlay\">'+'<div id=\"bwrap\"></div>'+'<div id=\"close\"><i class=\"fa fa-times\"></i></div>'+'<div id=\"layer\" '+layer+'</div>'+'</div>');var s=document.createElement('style');s.id='ovlay-style';s.innerText='#bwrap{height:'+document.body.clientHeight+'px;background: rgba(0,0,0, .5 );}'+'#layer{top:'+scltop+'px;}'+'#layer li[class*=\"children\"] a{padding-left:20px;}'+'#layer li ul > li[class*=\"children\"] > a{padding-left:35px;}';document.getElementsByTagName('head')[0].appendChild(s);$('#layer ul').show();$('#layer .mobile-nav').hide();if(cpoint==='mos'){var winwh=document.documentElement.clientWidth,width=300,sarray={'width':width+'px','position':'absolute','right':winwh+'px','top':window.pageYOffset+'px','z-index':'1100'};if(width>winwh){width=winwh-6;}Object.keys(sarray).forEach(function(index){var val=this[index];$('#sidebar').css(index,val);},sarray);}var lay=$('#layer');if(cpoint==='mom'){lay.animate({'marginTop':'0'},500);}else if(cpoint==='mos'){$('#sidebar').animate({'right':'3px'},500);}else if(cpoint==='srh'){$('html, body').scrollTop(0);no_scroll();$('html, body').css('overflow','hidden');$('#sform').css('top','-100%');$('#sform').show();$('#sform').animate({'top':'80px'},500);setTimeout(function(){$('#sform .search-field').focus();$('#sform .search-field').click();},200);}$('#bwrap, #close').click(function(e){if(cpoint==='mom'){lay.animate({'marginTop':'-'+document.getElementById('layer').offsetHeight+'px'},500);}else if(cpoint==='mos'){$('#sidebar').animate({'marginRight':'-'+document.documentElement.clientWidth+'px'},500);}else if(cpoint==='srh'){$('#sform').animate({'bottom':'-200%'},500);}setTimeout(function(){if(cpoint==='srh'){go_scroll();$('html, body').css('overflow','auto');$('body, html').scrollTop(scltop);}remove_ovlay();},550);});}$('a').smoothScroll();var offset=0,stkwch=false,skeep=$('#side-scroll'),sHeight=0;if(document.getElementById('wpadminbar')!==null){offset+=document.getElementById('wpadminbar').offsetHeight;}function stick_primary(top){if(skeep.css('max-width')!=='32767px'){skeep.stick_in_parent({parent:'#primary',offset_top:top,spacer:0,inner_scrolling:0});}}stick_primary(offset);function stick_watch(){var i,s,j=0;if(document.getElementById('sidebar')!==null){i=setInterval(function(){if(skeep.css('max-width')!=='32767px'){if(document.getElementById('side')!==null){if(typeof document.getElementById('side').children[0]!=='undefined'){s=document.getElementById('side').children[0].offsetHeight}else{s=document.getElementById('side').offsetHeight;}}if(s>=sHeight){sHeight=s;document.getElementById('sidebar').style.minHeight=s+'px';stick_primary(offset);}++j;if(j>=100){clearInterval(i);}}},300);}}if(skeep.css('max-width')!=='32767px'){stick_watch();}var skptim=null,skprsz=('resize',function(){if(document.getElementById('sidebar')!==null){if(skptim===null){skptim=setTimeout(function(){sHeight=0;document.getElementById('sidebar').style.minHeight='';if(skeep.css('max-width')!=='32767px'){stick_watch();}else{skeep.trigger('sticky_kit:detach');}skptim=null;},100);}}});if(typeof window.addEventListener!=='undefined'){window.addEventListener('resize',skprsz,false);}else if(typeof window.attachEvent!=='undefined'){window.attachEvent('onresize',skprsz);}$("a[data-rel^=tosrus]").tosrus({caption:{add:true,attributes:["data-title","title","alt","rel"]},pagination:{add:true,},infinite:true,wrapper:{onClick:"close"}});if(typeof $('#search label')[0]!=='undefined'){;$('.search-field').replaceWith($('#search label').html().replace('placeholder=\"','placeholder=\"&#xf002; '));};autosize($('textarea#comment'));var cint=false,c=thk_get_yuv(),i='display:inline!important;',b='display:block!important;height:14px!important;margin:20px 0!important;padding:0!important;',l='visibility:visible!important;top:0!important;bottom:0!important;left:0!important;right:0!important;max-width:100%!important;min-width:100%!important;font-size:11px!important;font-size:1.1rem!important;line-height:1!important;text-indent:0!important;text-align:center!important;opacity:1!important;color:'+c[0]+'!important;',s=document.createElement('style');(function(){var href=window.location.href,luxe=$('#thk'),luxea=$('#thk a'),fe=document.getElementById('footer'),ft=(fe!==null?fe.children:''),ff=false,fc=false,fi=0;for(fi=0;fi<ft.length;fi++){if(ft[fi].tagName.toLowerCase()!=='footer')ft[fi].parentNode.removeChild(ft[fi]);}fe=document.getElementsByTagName('footer');ft=(typeof fe[0]!=='undefined'?fe[0].children:'');for(fi=0;fi<ft.length;fi++){if(ft[fi].id.toLowerCase()!=='foot-in'&&ft[fi].id.toLowerCase()!=='copyright')ft[fi].parentNode.removeChild(ft[fi]);}ft=document.body.children;for(fi=0;fi<ft.length;fi++){if(ft[fi].id.toLowerCase()==='footer')fc=true;continue;}if(fc===true){for(fi=0;fi<ft.length;fi++){if(ft[fi].id.toLowerCase()==='footer'){ff=true;continue;}if(ff===true){if('#'+ft[fi].id.toLowerCase()!=='#wp-footer')ft[fi].parentNode.removeChild(ft[fi]);if('#'+ft[fi].id.toLowerCase()==='#wp-footer')break;}}}else{for(fi=0;fi<ft.length;fi++){if(ft[fi].className.toLowerCase()==='container'){ff=true;continue;}if(ff===true){if('#'+ft[fi].id.toLowerCase()!=='#wp-footer')ft[fi].parentNode.removeChild(ft[fi]);if('#'+ft[fi].id.toLowerCase()==='#wp-footer')break;}}}if(href.indexOf("/embed/")<1){setInterval(function(){if(document.getElementById('thk')!==null){var luxhtml=document.getElementById('thk').innerHTML;if(luxhtml.indexOf('Luxeritas Theme')!=-1&&luxhtml.indexOf('Thought is free')!=-1){if(document.getElementById('thk').parentNode.getAttribute('id')==='copyright'){luxe.css({'cssText':b+l});luxea.css({'cssText':i+l});}else{insert_luxe();}}else{insert_luxe();}}else{insert_luxe();}if(document.getElementById('footer')===null||document.getElementsByTagName('footer').length<=0||$('#footer').css('display')=='none'||$('footer').css('display')=='none'){insert_luxe();}},1000);}})();function insert_luxe(){if(cint===false){var txt='<div id=\"copyright\"><p id=\"thk\" class=\"copy\" style=\"';if(document.getElementById('copyright')!==null){var rep=document.getElementById('copyright').innerHTML;txt=txt.replace('><','>'+rep+'<');$('#copyright').remove();}$('body').append(txt+b+l+'\">WordPress Luxeritas Theme is provided by &quot;<a href=\"https://thk.kanzae.net/\" target=\"_blank\" style=\"'+i+l+'\">Thought is free</a>&quot;.</p></div>');cint=true;}}function thk_get_yuv(){var yuv=255,chek=null,rgba='',flg1='rgba(0, 0, 0, 0)',flg2='transparent',flg3='none',bcss='background-color',bgc0=$('body').css(bcss),bgc1=$('#footer').css(bcss),bgc2=$('footer').css(bcss),bgc3=$('#copyright').css(bcss);if(bgc3!=flg1&&bgc3!=flg2&&bgc3!=flg3){chek=bgc3;}else if(bgc2!=flg1&&bgc2!=flg2&&bgc2!=flg3){chek=bgc2;}else if(bgc1!=flg1&&bgc1!=flg2&&bgc1!=flg3){chek=bgc1;}else{chek=bgc0;}if(chek!=flg1&&chek!=flg2&&chek!=flg3){if(typeof(chek)!='undefined'){rgba=chek.split(',');}}else{rgba=['255','255','255','0'];}if(rgba.length>=3){rgba[0]=rgba[0].replace(/rgba\(/g,"").replace(/rgb\(/g,"");rgba[1]=rgba[1].replace(/ /g,"");rgba[2]=rgba[2].replace(/\)/g,"").replace(/ /g,"");yuv=0.299*rgba[0]+0.587*rgba[1]+0.114*rgba[2];}return yuv>=128?['black','white']:['white','black'];}s.id='thkc';s.innerText='body #footer,body #foot-in,body #copyright,body #footer footer #foot-in #copyright,body #footer footer #foot-in,body #footer footer,body #footer footer #copyright,body #footer #foot-in #copyright,body #footer #foot-in,body #footer #copyright,body #foot-in #copyright,body footer #foot-in #copyright,body footer #foot-in{position:static!important;display:block!important;visibility:visible!important;}body #wp-footer{position:static!important;overflow:hidden!important;}body #copyright{top:0!important;bottom:0!important;left:0!important;right: 0!important;max-width:100%!important;min-width:100%!important;margin:0!important;padding:20px 0!important;text-align:center!important;color:'+c[0]+'!important;}';document.getElementsByTagName('head')[0].appendChild(s);});if(typeof(document.getElementsByClassName)=='undefined'){document.getElementsByClassName=function(t){var elems=new Array();if(document.all){var allelem=document.all;}else{var allelem=document.getElementsByTagName("*");}for(var i=j=0,l=allelem.length;i<l;i++){var names=allelem[i].className.split(/\s/);for(var k=names.length-1;k>=0;k--){if(names[k]===t){elems[j]=allelem[i];j++;break;}}}return elems;};}});