var ctfHashRegex,ctfIconSVG,Hammer,ctf_js_exists=void 0!==ctf_js_exists;function ctfAddImgLiquid(){var c,t,e,i,p=p||{VER:"0.9.944"};p.bgs_Available=!1,p.bgs_CheckRunned=!1,(c=jQuery).fn.extend({ctf_imgLiquid:function(t){var e,i;this.defaults={fill:!0,verticalAlign:"center",horizontalAlign:"center",useBackgroundSize:!0,useDataHtmlAttr:!0,responsive:!0,delay:0,fadeInTime:0,removeBoxBackground:!0,hardPixels:!0,responsiveCheckTime:500,timecheckvisibility:500,onStart:null,onFinish:null,onItemStart:null,onItemFinish:null,onItemError:null},p.bgs_CheckRunned||(p.bgs_CheckRunned=!0,e=c('<span style="background-size:cover" />'),c("body").append(e),(i=e[0])&&window.getComputedStyle&&((i=window.getComputedStyle(i,null))&&i.backgroundSize&&(p.bgs_Available="cover"===i.backgroundSize)),e.remove());var r=this;return this.options=t,this.settings=c.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each(function(u){function i(){(l.responsive||f.data("ctf_imgLiquid_oldProcessed"))&&f.data("ctf_imgLiquid_settings")&&(l=f.data("ctf_imgLiquid_settings"),d.actualSize=d.get(0).offsetWidth+d.get(0).offsetHeight/1e4,d.sizeOld&&d.actualSize!==d.sizeOld&&s(),d.sizeOld=d.actualSize,setTimeout(i,l.responsiveCheckTime))}function n(){f.data("ctf_imgLiquid_error",!0),d.addClass("ctf_imgLiquid_error"),l.onItemError&&l.onItemError(u,d,f),h()}function s(){var t,e,i,n,s,o=0,a=0,r=d.width(),c=d.height();void 0===f.data("owidth")&&f.data("owidth",f[0].width),void 0===f.data("oheight")&&f.data("oheight",f[0].height),n=l.fill===r/c>=f.data("owidth")/f.data("oheight")?(t="100%",e="auto",i=Math.floor(r),Math.floor(r*(f.data("oheight")/f.data("owidth")))):(t="auto",e="100%",i=Math.floor(c*(f.data("owidth")/f.data("oheight"))),Math.floor(c)),s=r-i,"left"===(r=l.horizontalAlign.toLowerCase())&&(a=0),"center"===r&&(a=.5*s),"right"===r&&(a=s),-1===r.indexOf("%")||0<(r=parseInt(r.replace("%",""),10))&&(a=s*r*.01),r=c-n,"left"===(c=l.verticalAlign.toLowerCase())&&(o=0),"center"===c&&(o=.5*r),"bottom"===c&&(o=r),-1===c.indexOf("%")||0<(c=parseInt(c.replace("%",""),10))&&(o=r*c*.01),l.hardPixels&&(t=i,e=n),f.css({width:t,height:e,"margin-left":Math.floor(a),"margin-top":Math.floor(o)}),f.data("ctf_imgLiquid_oldProcessed")||(f.fadeTo(l.fadeInTime,1),f.data("ctf_imgLiquid_oldProcessed",!0),l.removeBoxBackground&&d.css("background-image","none"),d.addClass("ctf_imgLiquid_nobgSize"),d.addClass("ctf_imgLiquid_ready")),l.onItemFinish&&l.onItemFinish(u,d,f),h()}function h(){u===r.length-1&&r.settings.onFinish&&r.settings.onFinish()}var t,e,o,a,l=r.settings,d=c(this),f=c("img:first",d);return f.length?(l=f.data("ctf_imgLiquid_settings")?(d.removeClass("ctf_imgLiquid_error").removeClass("ctf_imgLiquid_ready"),c.extend({},f.data("ctf_imgLiquid_settings"),r.options)):c.extend({},r.settings,(a={},r.settings.useDataHtmlAttr&&(t=d.attr("data-ctf_imgLiquid-fill"),e=d.attr("data-ctf_imgLiquid-horizontalAlign"),o=d.attr("data-ctf_imgLiquid-verticalAlign"),"true"!==t&&"false"!==t||(a.fill=Boolean("true"===t)),void 0===e||"left"!==e&&"center"!==e&&"right"!==e&&-1===e.indexOf("%")||(a.horizontalAlign=e),void 0===o||"top"!==o&&"bottom"!==o&&"center"!==o&&-1===o.indexOf("%")||(a.verticalAlign=o)),p.isIE&&r.settings.ieFadeInDisabled&&(a.fadeInTime=0),a)),f.data("ctf_imgLiquid_settings",l),l.onItemStart&&l.onItemStart(u,d,f),void(p.bgs_Available&&l.useBackgroundSize?(-1===d.css("background-image").indexOf(encodeURI(f.attr("src")))&&d.css({"background-image":'url("'+encodeURI(f.attr("src"))+'")'}),d.css({"background-size":l.fill?"cover":"contain","background-position":(l.horizontalAlign+" "+l.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),c("a:first",d).css({display:"block",width:"100%",height:"100%"}),c("img",d).css({display:"none"}),l.onItemFinish&&l.onItemFinish(u,d,f),d.addClass("ctf_imgLiquid_bgSize"),d.addClass("ctf_imgLiquid_ready"),h()):function t(){if(f.data("oldSrc")&&f.data("oldSrc")!==f.attr("src")){var e=f.clone().removeAttr("style");return e.data("ctf_imgLiquid_settings",f.data("ctf_imgLiquid_settings")),f.parent().prepend(e),f.remove(),(f=e)[0].width=0,void setTimeout(t,10)}return f.data("ctf_imgLiquid_oldProcessed")?void s():(f.data("ctf_imgLiquid_oldProcessed",!1),f.data("oldSrc",f.attr("src")),c("img:not(:first)",d).css("display","none"),d.css({overflow:"hidden"}),f.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),f.on("error",n),f[0].onerror=n,function t(){f.data("ctf_imgLiquid_error")||f.data("ctf_imgLiquid_loaded")||f.data("ctf_imgLiquid_oldProcessed")||(d.is(":visible")&&f[0].complete&&0<f[0].width&&0<f[0].height?(f.data("ctf_imgLiquid_loaded",!0),setTimeout(s,u*l.delay)):setTimeout(t,l.timecheckvisibility))}(),void i())}())):void n()})}}),t=p.injectCss,e=document.getElementsByTagName("head")[0],(i=document.createElement("style")).type="text/css",i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t)),e.appendChild(i)}function ctfHashReplacer(t){t=t.trim();return/^#[0-9A-F]{6}$/i.test(t)?t:' <a href="https://twitter.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"}function ctfReplaceTags(t){var e=t.replace("(","").trim();return" "+(-1<t.indexOf("(")?"(":"")+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank" rel="nofollow noopener">'+e+"</a>"}function ctfSVGify(t){"fontfile"!=ctf.font_method&&(void 0===t&&(t=jQuery(".cff")),t.each(function(){jQuery(this).find("span.fa").each(function(){var t=jQuery(this).attr("class").match(/fa-[a-z-]+/),e=jQuery(this).attr("style");t&&void 0!==ctfIconSVG[t[0]]&&(e=void 0!==e?'style="'+e+'" ':"",jQuery(this).replaceWith("<svg "+e+ctfIconSVG[t[0]]))})}))}function ctf_supports_video(){return!!document.createElement("video").canPlayType}ctf_js_exists||(function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";function i(c,u,h){(h=h||e||t.jQuery)&&(u.prototype.option||(u.prototype.option=function(t){h.isPlainObject(t)&&(this.options=h.extend(!0,this.options,t))}),h.fn[c]=function(t){if("string"!=typeof t)return r=t,this.each(function(t,e){var i=h.data(e,c);i?(i.option(r),i._init()):(i=new u(e,r),h.data(e,c,i))}),this;var n,s,o,a,r,e=l.call(arguments,1);return s=e,a="$()."+c+'("'+(n=t)+'")',(t=this).each(function(t,e){var i=h.data(e,c);i?(e=i[n])&&"_"!=n.charAt(0)?(i=e.apply(i,s),o=void 0===o?i:o):d(a+" is not a valid method"):d(c+" not initialized. Cannot call methods, i.e. "+a)}),void 0!==o?o:t},n(h))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var l=Array.prototype.slice,s=t.console,d=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},t=i[t]=i[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],s=0;s<i.length;s++){var o=i[s];n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function f(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function p(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function g(t){if(w||(w=!0,(d=document.createElement("div")).style.width="200px",d.style.padding="1px 2px 3px 4px",d.style.borderStyle="solid",d.style.borderWidth="1px 2px 3px 4px",d.style.boxSizing="border-box",(l=document.body||document.documentElement).appendChild(d),h=p(d),m=200==Math.round(f(h.width)),g.isBoxSizeOuter=m,l.removeChild(d)),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=p(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<y;e++)t[v[e]]=0;return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var n=i.isBorderBox="border-box"==e.boxSizing,s=0;s<y;s++){var o=v[s],a=e[o],a=parseFloat(a);i[o]=isNaN(a)?0:a}var r=i.paddingLeft+i.paddingRight,c=i.paddingTop+i.paddingBottom,u=i.marginLeft+i.marginRight,h=i.marginTop+i.marginBottom,l=i.borderLeftWidth+i.borderRightWidth,d=i.borderTopWidth+i.borderBottomWidth,t=n&&m,n=f(e.width);!1!==n&&(i.width=n+(t?0:r+l));n=f(e.height);return!1!==n&&(i.height=n+(t?0:c+d)),i.innerWidth=i.width-(r+l),i.innerHeight=i.height-(c+d),i.outerWidth=i.width+u,i.outerHeight=i.height+h,i}var d,l,h}var m,e="undefined"==typeof console?function(){}:function(t){console.error(t)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length,w=!1;return g}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(i,o){var u={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;u.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},u.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},u.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,o(t,e))return t},u.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.filterFindElements=function(t,n){t=u.makeArray(t);var s=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(n){o(t,n)&&s.push(t);for(var e=t.querySelectorAll(n),i=0;i<e.length;i++)s.push(e[i])}else s.push(t)}),s},u.debounceMethod=function(t,e,n){n=n||100;var s=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,i=this;this[o]=setTimeout(function(){s.apply(i,e),delete i[o]},n)}},u.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},u.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var h=i.console;return u.htmlInit=function(r,c){u.docReady(function(){var t=u.toDashed(c),s="data-"+t,e=document.querySelectorAll("["+s+"]"),t=document.querySelectorAll(".js-"+t),t=u.makeArray(e).concat(u.makeArray(t)),o=s+"-options",a=i.jQuery;t.forEach(function(e){var t,i=e.getAttribute(s)||e.getAttribute(o);try{t=i&&JSON.parse(i)}catch(t){return void(h&&h.error("Error parsing "+s+" on "+e.className+": "+t))}var n=new r(e,t);a&&a.data(e,c,n)})})},u}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var n=document.documentElement.style,s="string"==typeof n.transition?"transition":"WebkitTransition",o="string"==typeof n.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],r={transform:o,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},t=i.prototype=Object.create(t.prototype);t.constructor=i,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,i=this.element.style;for(e in t)i[r[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],s=t[i?"top":"bottom"],o=parseFloat(n),a=parseFloat(s),t=this.layout.size;-1!=n.indexOf("%")&&(o=o/100*t.width),-1!=s.indexOf("%")&&(a=a/100*t.height),o=isNaN(o)?0:o,a=isNaN(a)?0:a,o-=e?t.paddingLeft:t.paddingRight,a-=i?t.paddingTop:t.paddingBottom,this.position.x=o,this.position.y=a},t.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),s=i?"paddingLeft":"paddingRight",o=i?"left":"right",i=i?"right":"left",s=this.position.x+t[s];e[o]=this.getXValue(s),e[i]="";s=n?"paddingTop":"paddingBottom",i=n?"top":"bottom",n=n?"bottom":"top",s=this.position.y+t[s];e[i]=this.getYValue(s),e[n]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,s=t==this.position.x&&e==this.position.y;this.setPosition(t,e),!s||this.isTransitioning?(i=t-i,e-=n,(n={}).transform=this.getTranslate(i,e),this.transition({to:n,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,i=this._transn;for(e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+o.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});t.enableTransition=function(){var t;this.isTransitioning||(t="number"==typeof(t=this.layout.options.transitionDuration)?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)};var u={"-webkit-transform":"transform"};t.ontransitionend=function(t){var e,i;t.target===this.element&&(e=this._transn,i=u[t.propertyName]||t.propertyName,delete e.ingProperties[i],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd&&(e.onEnd[i].call(this),delete e.onEnd[i]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,i={};for(e in t)i[e]="";this.css(i)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return t.removeTransitionStyles=function(){this.css(h)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(s,o){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,n){return o(s,t,e,i,n)}):"object"==typeof module&&module.exports?module.exports=o(s,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):s.Outlayer=o(s,s.EvEmitter,s.getSize,s.fizzyUIUtils,s.Outlayer.Item)}(window,function(t,e,s,n,o){"use strict";function a(t,e){var i=n.getQueryElement(t);i?(this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),e=++h,this.element.outlayerGUID=e,(l[e]=this)._create(),this._getOption("initLayout")&&this.layout()):c&&c.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function i(){}var c=t.console,u=t.jQuery,h=0,l={};a.namespace="outlayer",a.Item=o,a.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=a.prototype;n.extend(d,e.prototype),d.option=function(t){n.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},a.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],s=0;s<e.length;s++){var o=new i(e[s],this);n.push(o)}return n},d._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=s(this.element)},d._getMeasurement=function(t,e){var i,n=this.options[t];n?("string"==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this[t]=i?s(i)[e]:n):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,i){var n;this._emitCompleteOnItems("layout",t),t&&t.length&&(n=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,n.push(e)},this),this._processLayoutQueue(n))},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var t=(e=t.match(/(^\d*\.?\d*)(\w*)/))&&e[1],e=e&&e[2];return t.length?(t=parseFloat(t))*(f[e]||1):0}(t),this.stagger)},d._positionItem=function(t,e,i,n,s){n?t.goTo(e,i):(t.stagger(s*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){var t;!this._getOption("resizeContainer")||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},d._getContainerSize=i,d._setContainerMeasure=function(t,e){var i;void 0!==t&&((i=this.size).isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},d._emitCompleteOnItems=function(e,t){function i(){o.dispatchEvent(e+"Complete",null,[t])}function n(){++s==a&&i()}var s,o=this,a=t.length;t&&a?(s=0,t.forEach(function(t){t.once(e,n)})):i()},d.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;this.emitEvent(t,n),u&&(this.$element=this.$element||u(this.element),e?((e=u.Event(e)).type=t,this.$element.trigger(e,i)):this.$element.trigger(t,i))},d.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},d.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=i,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,t=s(t);return{left:e.left-i.left-t.marginLeft,top:e.top-i.top-t.marginTop,right:i.right-e.right-t.marginRight,bottom:i.bottom-e.bottom-t.marginBottom}},d.handleEvent=n.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},n.debounceMethod(a,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=s(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(t){var e=this._itemize(t);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},d.reveal=function(t){var i;this._emitCompleteOnItems("reveal",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.reveal()}))},d.hide=function(t){var i;this._emitCompleteOnItems("hide",t),t&&t.length&&(i=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*i),t.hide()}))},d.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},d.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},d.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},d.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();t=this.element.outlayerGUID;delete l[t],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},a.data=function(t){t=(t=n.getQueryElement(t))&&t.outlayerGUID;return t&&l[t]},a.create=function(t,e){var i=r(a);return i.defaults=n.extend({},a.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},a.compatOptions),i.namespace=t,i.data=a.data,i.Item=r(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var f={ms:1,s:1e3};return a.Item=o,a}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Smashotope=t.Smashotope||{},t.Smashotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t,e=this.layout.options.getSortData,i=this.layout._sorters;for(t in e){var n=i[t];this.sortData[t]=n(this.element,this)}}};var s=i.destroy;return i.destroy=function(){s.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Smashotope=t.Smashotope||{},t.Smashotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function n(t){(this.smashotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var s=n.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){s[t]=function(){return i.prototype[t].apply(this.smashotope,arguments)}}),s.needsVerticalResizeLayout=function(){var t=e(this.smashotope.element);return this.smashotope.size&&t&&t.innerHeight!=this.smashotope.size.innerHeight},s._getMeasurement=function(){this.smashotope._getMeasurement.apply(this,arguments)},s.getColumnWidth=function(){this.getSegmentSize("column","Width")},s.getRowHeight=function(){this.getSegmentSize("row","Height")},s.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;this._getMeasurement(i,n),this[i]||(t=this.getFirstItemSize(),this[i]=t&&t[n]||this.smashotope.size["inner"+e])},s.getFirstItemSize=function(){var t=this.smashotope.filteredItems[0];return t&&t.element&&e(t.element)},s.layout=function(){this.smashotope.layout.apply(this.smashotope,arguments)},s.getSize=function(){this.smashotope.getSize(),this.size=this.smashotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return(i.prototype=Object.create(s)).constructor=i,e&&(i.options=e),n.modes[i.prototype.namespace=t]=i},n}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,r){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";t=e.prototype;return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(i=(e=this.items[0])&&e.element,this.columnWidth=i&&r(i).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,i=e/t,t=t-e%t,i=Math[t&&t<1?"round":"floor"](i);this.cols=Math.max(i,1)},t.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,t=r(t);this.containerWidth=t&&t.innerWidth},t._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),i=Math.min(i,this.cols),n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),e={x:this.columnWidth*n.col,y:n.y},s=n.y+t.size.outerHeight,o=i+n.col,a=n.col;a<o;a++)this.colYs[a]=s;return e},t._getTopColPosition=function(t){var e=this._getTopColGroup(t),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},t._getColGroupY=function(t,e){if(e<2)return this.colYs[t];e=this.colYs.slice(t,t+e);return Math.max.apply(Math,e)},t._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,i=1<t&&i+t>this.cols?0:i,e=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=e?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},t._manageStamp=function(t){var e=r(t),i=this._getElementOffset(t),n=this._getOption("originLeft")?i.left:i.right,t=n+e.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),s=Math.floor(t/this.columnWidth);s-=t%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var o=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,a=n;a<=s;a++)this.colYs[a]=Math.max(o,this.colYs[a])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},t._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Smashotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i,t=t.create("masonry"),n=t.prototype,s={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(i in e.prototype)s[i]||(n[i]=e.prototype[i]);var o=n.measureColumns;n.measureColumns=function(){this.items=this.smashotope.filteredItems,o.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.smashotope,arguments)},t}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Smashotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),t=e.prototype;return t._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},t._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.smashotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},t._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Smashotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),t=e.prototype;return t._resetLayout=function(){this.y=0},t._getItemLayoutPosition=function(t){t.getSize();var e=(this.smashotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},t._getContainerSize=function(){return{height:this.y}},e}),function(a,r){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,i,n,s,o){return r(a,t,0,i,n,s,o)}):"object"==typeof module&&module.exports?module.exports=r(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):a.Smashotope=r(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Smashotope.Item,a.Smashotope.LayoutMode)}(window,function(t,i,e,n,o,s,a){var r=t.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=i.create("smashotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});u.Item=s,u.LayoutMode=a;s=u.prototype;s._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(t)},s.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},s._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++)t[e].id=this.itemGUID++;return this._updateItemsSortData(t),t},s._initLayoutMode=function(t){var e=a.modes[t],i=this.options[t]||{};this.options[t]=e.options?o.extend(e.options,i):i,this.modes[t]=new e(this)},s.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},s._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},s.arrange=function(t){this.option(t),this._getIsInstant();t=this._filter(this.items);this.filteredItems=t.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[t]):this._hideReveal(t),this._sort(),this._layout()},s._init=s.arrange,s._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},s._getIsInstant=function(){var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;return this._isInstant=t},s._bindArrangeComplete=function(){function t(){e&&i&&n&&s.dispatchEvent("arrangeComplete",null,[s.filteredItems])}var e,i,n,s=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},s._filter=function(t){for(var e=(e=this.options.filter)||"*",i=[],n=[],s=[],o=this._getFilterTest(e),a=0;a<t.length;a++){var r,c=t[a];c.isIgnored||((r=o(c))&&i.push(c),r&&c.isHidden?n.push(c):r||c.isHidden||s.push(c))}return{matches:i,needReveal:n,needHide:s}},s._getFilterTest=function(e){return r&&this.options.isJQueryFiltering?function(t){return r(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return n(t.element,e)}},s.updateSortData=function(t){t=t?(t=o.makeArray(t),this.getItems(t)):this.items;this._getSorters(),this._updateItemsSortData(t)},s._getSorters=function(){var t,e=this.options.getSortData;for(t in e){var i=e[t];this._sorters[t]=h(i)}},s._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};var h=function(t){if("string"!=typeof t)return t;var e,i,n=c(t).split(" "),s=n[0],t=(t=s.match(/^\[(.+)\]$/))&&t[1],o=(i=s,(e=t)?function(t){return t.getAttribute(e)}:function(t){t=t.querySelector(i);return t&&t.textContent}),a=u.sortDataParsers[n[1]];return a?function(t){return t&&a(o(t))}:function(t){return t&&o(t)}};u.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},s._sort=function(){var t,a,r;this.options.sortBy&&(t=o.makeArray(this.options.sortBy),this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory)),a=this.sortHistory,r=this.options.sortAscending,t=function(t,e){for(var i=0;i<a.length;i++){var n=a[i],s=t.sortData[n],o=e.sortData[n];if(o<s||s<o)return(o<s?1:-1)*((void 0!==r[n]?r[n]:r)?1:-1)}return 0},this.filteredItems.sort(t))},s._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},s._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},s._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},s._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},s._manageStamp=function(t){this._mode()._manageStamp(t)},s._getContainerSize=function(){return this._mode()._getContainerSize()},s.needsResizeLayout=function(){return this._mode().needsResizeLayout()},s.appended=function(t){t=this.addItems(t);t.length&&(t=this._filterRevealAdded(t),this.filteredItems=this.filteredItems.concat(t))},s.prepended=function(t){var e=this._itemize(t);e.length&&(this._resetLayout(),this._manageStamps(),t=this._filterRevealAdded(e),this.layoutItems(this.filteredItems),this.filteredItems=t.concat(this.filteredItems),this.items=e.concat(this.items))},s._filterRevealAdded=function(t){t=this._filter(t);return this.hide(t.needHide),this.reveal(t.matches),this.layoutItems(t.matches,!0),t.matches},s.insert=function(t){var e=this.addItems(t);if(e.length){for(var i,n=e.length,s=0;s<n;s++)i=e[s],this.element.appendChild(i.element);t=this._filter(e).matches;for(s=0;s<n;s++)e[s].isLayoutInstant=!0;for(this.arrange(),s=0;s<n;s++)delete e[s].isLayoutInstant;this.reveal(t)}};var l=s.remove;return s.remove=function(t){t=o.makeArray(t);var e=this.getItems(t);l.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var s=e[n];o.removeFrom(this.filteredItems,s)}},s.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},s._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;e=t.apply(this,e);return this.options.transitionDuration=i,e},s.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},u}),jQuery(".ctf-twitter-card").css("color",jQuery(".ctf-content-text").css("color")),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){function r(t){for(var e in r.defaults)this[e]=r.defaults[e];for(e in t)this[e]=t[e]}r.defaults={x:0,y:0,width:0,height:0};var t=r.prototype;return t.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},t.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,s=t.y+t.height;return this.x<n&&e>t.x&&this.y<s&&i>t.y},t.getMaximalFreeRects=function(t){if(!this.overlaps(t))return!1;var e,i=[],n=this.x+this.width,s=this.y+this.height,o=t.x+t.width,a=t.y+t.height;return this.y<t.y&&(e=new r({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),i.push(e)),o<n&&(e=new r({x:o,y:this.y,width:n-o,height:this.height}),i.push(e)),a<s&&(e=new r({x:this.x,y:a,width:this.width,height:s-a}),i.push(e)),this.x<t.x&&(e=new r({x:this.x,y:this.y,width:t.x-this.x,height:this.height}),i.push(e)),i},t.canFit=function(t){return this.width>=t.width&&this.height>=t.height},r}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packer",["./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("./rect")):(t=t.Packery=t.Packery||{}).Packer=e(t.Rect)}(window,function(e){function t(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=t.prototype;i.reset=function(){this.spaces=[];var t=new e({x:0,y:0,width:this.width,height:this.height});this.spaces.push(t),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var n=this.spaces[i],s=n.getMaximalFreeRects(t);s?e.push.apply(e,s):e.push(n)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){t.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},t.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var n=0,s=t[e+n];s;){if(s==i)n++;else{if(s.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(s)?t.splice(e+n,1):n++}s=t[e+n]}i=t[++e]}return t};var n={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return t}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){function i(){t.Item.apply(this,arguments)}var n="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",s=i.prototype=Object.create(t.Item.prototype),o=s._create;s._create=function(){o.call(this),this.rect=new e};var a=s.moveTo;return s.moveTo=function(t,e){var i=Math.abs(this.position.x-t),n=Math.abs(this.position.y-e);return this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&n<1?void this.goTo(t,e):void a.apply(this,arguments)},s.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&n&&(this.element.style[n]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},s.disablePlacing=function(){this.isPlacing=!1},s.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},s.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},s.positionDropPlaceholder=function(){this.dropPlaceholder.style[n]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},s.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},i}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(u,t,a,e,i){function n(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function s(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}a.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var o=t.create("packery");o.Item=i;i=o.prototype;i._create=function(){t.prototype._create.call(this),this.packer=new e,this.shiftPacker=new e,this.isEnabled=!0,this.dragItemCount=0;var i=this;this.handleDraggabilly={dragStart:function(){i.itemDragStart(this.element)},dragMove:function(){i.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){i.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(t,e){e&&i.itemDragStart(t.currentTarget)},drag:function(t,e){e&&i.itemDragMove(t.currentTarget,e.position.left,e.position.top)},stop:function(t,e){e&&i.itemDragEnd(t.currentTarget)}}},i._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),i=this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,"rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,"downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},i._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},i._getItemLayoutPosition=function(t){var e;return this._setRectSize(t.element,t.rect),this.isShifting||0<this.dragItemCount?(e=this._getPackMethod(),this.packer[e](t.rect)):this.packer.pack(t.rect),this._setMaxXY(t.rect),t.rect},i.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},i._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},i._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},i._setRectSize=function(t,e){var i=u(t),t=i.outerWidth,i=i.outerHeight;(t||i)&&(t=this._applyGridGutter(t,this.columnWidth),i=this._applyGridGutter(i,this.rowHeight)),e.width=Math.min(t,this.packer.width),e.height=Math.min(i,this.packer.height)},i._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&i<1?"round":"ceil"](t/e)*e},i._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},i._manageStamp=function(t){var e,i=this.getItem(t);e=i&&i.isPlacing?i.rect:(e=this._getElementOffset(t),new a({x:this._getOption("originLeft")?e.left:e.right,y:this._getOption("originTop")?e.top:e.bottom})),this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},i.sortItemsByPosition=function(){var t=this._getOption("horizontal")?s:n;this.items.sort(t)},i.fit=function(t,e,i){t=this.getItem(t);t&&(this.stamp(t.element),t.enablePlacing(),this.updateShiftTargets(t),e=void 0===e?t.rect.x:e,i=void 0===i?t.rect.y:i,this.shift(t,e,i),this._bindFitEvents(t),t.moveTo(t.rect.x,t.rect.y),this.shiftLayout(),this.unstamp(t.element),this.sortItemsByPosition(),t.disablePlacing())},i._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},i.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},i.needsResizeLayout=function(){var t=u(this.element),e=this._getOption("horizontal")?"innerHeight":"innerWidth";return t[e]!=this.size[e]},i.resizeShiftPercentLayout=function(){var i,e,n,t=this._getItemsForLayout(this.items),s=this._getOption("horizontal"),o=s?"y":"x",a=s?"height":"width",r=s?"rowHeight":"columnWidth",s=s?"innerHeight":"innerWidth",c=this[r];(c=c&&c+this.gutter)?(this._getMeasurements(),i=this[r]+this.gutter,t.forEach(function(t){var e=Math.round(t.rect[o]/c);t.rect[o]=e*i})):(e=u(this.element)[s]+this.gutter,n=this.packer[a],t.forEach(function(t){t.rect[o]=t.rect[o]/n*e})),this.shiftLayout()},i.itemDragStart=function(t){this.isEnabled&&(this.stamp(t),(t=this.getItem(t))&&(t.enablePlacing(),t.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(t)))},i.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var i=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var e=this.getItem(t);e&&e.isPlacing||(e=this._getElementOffset(t),e=new a({x:i?e.left:e.right,y:n?e.top:e.bottom}),this._setRectSize(t,e),this.shiftPacker.placed(e))},this);var c=this._getOption("horizontal"),e=c?"rowHeight":"columnWidth",u=c?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var h=this[e];if(h=h&&h+this.gutter)for(var e=Math.ceil(t.rect[u]/h),s=Math.floor((this.shiftPacker[u]+this.gutter)/h),l=(s-e)*h,o=0;o<s;o++)this._addShiftTarget(o*h,0,l);else l=this.shiftPacker[u]+this.gutter-t.rect[u],this._addShiftTarget(0,0,l);var t=this._getItemsForLayout(this.items),d=this._getPackMethod();t.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[d](e),this._addShiftTarget(e.x,e.y,l);var i=c?e.x+e.width:e.x,n=c?e.y:e.y+e.height;if(this._addShiftTarget(i,n,l),h)for(var s=Math.round(e[u]/h),o=1;o<s;o++){var a=c?i:e.x+h*o,r=c?e.y+h*o:n;this._addShiftTarget(a,r,l)}},this)},i._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;0!==n&&i<n||(n=t+","+e,-1!=this.shiftTargetKeys.indexOf(n)||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e})))},i.shift=function(t,e,i){var s,o=1/0,a={x:e,y:i};this.shiftTargets.forEach(function(t){var e,i,n,e=(n=(i=a).x-(e=t).x,e=i.y-e.y,Math.sqrt(n*n+e*e));e<o&&(s=t,o=e)}),t.rect.x=s.x,t.rect.y=s.y};i.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var s,o=this.isEnabled&&this.getItem(t);o&&(e-=this.size.paddingLeft,i-=this.size.paddingTop,s=this,t=new Date,this._itemDragTime&&t-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=t))},i.itemDragEnd=function(t){function e(){2==++i&&(s.element.classList.remove("is-positioning-post-drag"),s.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[s]))}var i,n,s=this.isEnabled&&this.getItem(t);s&&(clearTimeout(this.dragTimeout),s.element.classList.add("is-positioning-post-drag"),i=0,n=this,s.once("layout",e),this.once("layoutComplete",e),s.moveTo(s.rect.x,s.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),s.disablePlacing(),this.unstamp(s.element))},i.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},i.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},i._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},i.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},i.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},i._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var r=i.destroy;return i.destroy=function(){r.apply(this,arguments),this.isEnabled=!1},o.Rect=a,o.Packer=e,o}),function(t,e){"function"==typeof define&&define.amd?define(["isotope-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery")):e(t.Smashotope.LayoutMode,t.Packery)}(window,function(t,e){var i,t=t.create("packery"),n=t.prototype,s={_getElementOffset:!0,_getMeasurement:!0};for(i in e.prototype)s[i]||(n[i]=e.prototype[i]);var o=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,o.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var r=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():r.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.smashotope,arguments)},t}),window.ctfLinkify=function(){var t="[a-z\\d.-]+://",f="mailto:",p=new RegExp("(?:\\b[a-z\\d.-]+://[^<>\\s]+|\\b(?:(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))(?:[;/][^#?<>\\s]*)?(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?(?!\\w)|(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:(?:(?:[^\\s!@#$%^&*()_=+[\\]{}\\\\|;:'\",.<>/?]+)\\.)+(?:ac|ad|aero|ae|af|ag|ai|al|am|an|ao|aq|arpa|ar|asia|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|biz|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|cat|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|coop|com|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|edu|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|info|int|in|io|iq|ir|is|it|je|jm|jobs|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mil|mk|ml|mm|mn|mobi|mo|mp|mq|mr|ms|mt|museum|mu|mv|mw|mx|my|mz|name|na|nc|net|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pro|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tel|tf|tg|th|tj|tk|tl|tm|tn|to|tp|travel|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|xn--0zwm56d|xn--11b5bs3a9aj6g|xn--80akhbyknj4f|xn--9t4b11yi5a|xn--deba0ad|xn--g6w251d|xn--hgbk6aj7f53bba|xn--hlcj6aya9esc7a|xn--jxalpdlp|xn--kgbechtv|xn--zckzah|ye|yt|yu|za|zm|zw)|(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]))(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?(?!\\w))","ig"),g=new RegExp("^"+t,"i"),m={"'":"`",">":"<",")":"(","]":"[","}":"{","B;":"B+","b:":"b9"},v={callback:function(t,e){return e?'<a href="'+e+'" title="'+e+'" target="_blank" rel="nofollow noopener">'+t+"</a>":t},punct_regexp:/(?:[!?.,:;'"]|(?:&|&amp;)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/};return function(t,e){e=e||{};var i,n,s,o,a,r,c,u,h,l="",d=[];for(i in v)void 0===e[i]&&(e[i]=v[i]);for(;s=p.exec(t);)if(n=s[0],r=(a=p.lastIndex)-n.length,!/[\/:]/.test(t.charAt(r-1))){for(;h=(c=n).substr(-1),(u=m[h])&&(u=n.match(new RegExp("\\"+u+"(?!$)","g")),h=n.match(new RegExp("\\"+h,"g")),(u?u.length:0)<(h?h.length:0)&&(n=n.substr(0,n.length-1),a--)),e.punct_regexp&&(n=n.replace(e.punct_regexp,function(t){return a-=t.length,""})),n.length&&n!==c;);s=n,g.test(s)||(s=(-1!==s.indexOf("@")?s.indexOf(f)?f:"":s.indexOf("irc.")?s.indexOf("ftp.")?"http://":"ftp://":"irc://")+s),o!=r&&(d.push([t.slice(o,r)]),o=a),d.push([n,s])}for(d.push([t.substr(o)]),i=0;i<d.length;i++)l+=e.callback.apply(window,d[i]);return l||t}}(),ctfHashRegex=/(^|\s)#(\w*[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]+\w*)/gi,ctfIconSVG={"fa-clock":'class="svg-inline--fa fa-clock fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="far" data-icon="clock" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"></path></svg>',"fa-play":'class="svg-inline--fa fa-play fa-w-14 sbi_playbtn" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="play" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg>',"fa-image":'class="svg-inline--fa fa-image fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="far" data-icon="image" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"></path></svg>',"fa-user":'class="svg-inline--fa fa-user fa-w-16" style="margin-right: 3px;" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M96 160C96 71.634 167.635 0 256 0s160 71.634 160 160-71.635 160-160 160S96 248.366 96 160zm304 192h-28.556c-71.006 42.713-159.912 42.695-230.888 0H112C50.144 352 0 402.144 0 464v24c0 13.255 10.745 24 24 24h464c13.255 0 24-10.745 24-24v-24c0-61.856-50.144-112-112-112z"></path></svg>',"fa-comment":'class="svg-inline--fa fa-comment fa-w-18" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="comment" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M576 240c0 115-129 208-288 208-48.3 0-93.9-8.6-133.9-23.8-40.3 31.2-89.8 50.3-142.4 55.7-5.2.6-10.2-2.8-11.5-7.7-1.3-5 2.7-8.1 6.6-11.8 19.3-18.4 42.7-32.8 51.9-94.6C21.9 330.9 0 287.3 0 240 0 125.1 129 32 288 32s288 93.1 288 208z"></path></svg>',"fa-heart":'class="svg-inline--fa fa-heart fa-w-18" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="heart" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M414.9 24C361.8 24 312 65.7 288 89.3 264 65.7 214.2 24 161.1 24 70.3 24 16 76.9 16 165.5c0 72.6 66.8 133.3 69.2 135.4l187 180.8c8.8 8.5 22.8 8.5 31.6 0l186.7-180.2c2.7-2.7 69.5-63.5 69.5-136C560 76.9 505.7 24 414.9 24z"></path></svg>',"fa-check":'class="svg-inline--fa fa-check fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg>',"fa-exclamation-circle":'class="svg-inline--fa fa-exclamation-circle fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="exclamation-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path></svg>',"fa-map-marker":'class="svg-inline--fa fa-map-marker fa-w-12" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="map-marker" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0z"></path></svg>',"fa-clone":'class="svg-inline--fa fa-clone fa-w-16 sbi_lightbox_carousel_icon" aria-hidden="true" data-fa-processed="" data-prefix="far" data-icon="clone" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"></path></svg>',"fa-chevron-right":'class="svg-inline--fa fa-chevron-right fa-w-10" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="chevron-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>',"fa-chevron-left":'class="svg-inline--fa fa-chevron-left fa-w-10" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="chevron-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>',"fa-share":'class="svg-inline--fa fa-share fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="share" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"></path></svg>',"fa-times":'class="svg-inline--fa fa-times fa-w-12" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="times" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M323.1 441l53.9-53.9c9.4-9.4 9.4-24.5 0-33.9L279.8 256l97.2-97.2c9.4-9.4 9.4-24.5 0-33.9L323.1 71c-9.4-9.4-24.5-9.4-33.9 0L192 168.2 94.8 71c-9.4-9.4-24.5-9.4-33.9 0L7 124.9c-9.4 9.4-9.4 24.5 0 33.9l97.2 97.2L7 353.2c-9.4 9.4-9.4 24.5 0 33.9L60.9 441c9.4 9.4 24.5 9.4 33.9 0l97.2-97.2 97.2 97.2c9.3 9.3 24.5 9.3 33.9 0z"></path></svg>',"fa-envelope":'class="svg-inline--fa fa-envelope fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="envelope" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg>',"fa-edit":'class="svg-inline--fa fa-edit fa-w-18" aria-hidden="true" data-fa-processed="" data-prefix="far" data-icon="edit" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"></path></svg>',"fa-arrows-alt":'class="svg-inline--fa fa-arrows-alt fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="arrows-alt" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"></path></svg>',"fa-check-circle":'class="svg-inline--fa fa-check-circle fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="check-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg>',"fa-ban":'class="svg-inline--fa fa-ban fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="ban" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"></path></svg>',"fa-facebook-square":'class="svg-inline--fa fa-facebook-square fa-w-14" aria-hidden="true" data-fa-processed="" data-prefix="fab" data-icon="facebook-square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 80v352c0 26.5-21.5 48-48 48h-85.3V302.8h60.6l8.7-67.6h-69.3V192c0-19.6 5.4-32.9 33.5-32.9H384V98.7c-6.2-.8-27.4-2.7-52.2-2.7-51.6 0-87 31.5-87 89.4v49.9H184v67.6h60.9V480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z"></path></svg>',"fa-twitter":'class="svg-inline--fa fa-twitter fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fab" data-icon="twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>',"fa-instagram":'class="svg-inline--fa fa-instagram fa-w-14" aria-hidden="true" data-fa-processed="" data-prefix="fab" data-icon="instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>',"fa-linkedin":'class="svg-inline--fa fa-linkedin fa-w-14" aria-hidden="true" data-fa-processed="" data-prefix="fab" data-icon="linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"></path></svg>',"fa-pinterest":'class="svg-inline--fa fa-pinterest fa-w-16" aria-hidden="true" data-fa-processed="" data-prefix="fab" data-icon="pinterest" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"></path></svg>',"fa-spinner":'class="svg-inline--fa fa-spinner fa-w-16 fa-pulse" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="spinner" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>',"fa-spin":'class="svg-inline--fa fa-spin fa-w-16 fa-pulse" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="spinner" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>',"fa-plus":'class="svg-inline--fa fa-plus fa-w-14" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="plus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M448 294.2v-76.4c0-13.3-10.7-24-24-24H286.2V56c0-13.3-10.7-24-24-24h-76.4c-13.3 0-24 10.7-24 24v137.8H24c-13.3 0-24 10.7-24 24v76.4c0 13.3 10.7 24 24 24h137.8V456c0 13.3 10.7 24 24 24h76.4c13.3 0 24-10.7 24-24V318.2H424c13.3 0 24-10.7 24-24z"></path></svg>',"fa-minus":'class="svg-inline--fa fa-minus fa-w-14" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="minus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M424 318.2c13.3 0 24-10.7 24-24v-76.4c0-13.3-10.7-24-24-24H24c-13.3 0-24 10.7-24 24v76.4c0 13.3 10.7 24 24 24h400z"></path></svg>'},function(c,i,n,o){function u(t,e){this.settings=null,this.options=c.extend({},u.Defaults,e),this.$element=c(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},c.each(["onResize","onThrottledResize"],c.proxy(function(t,e){this._handlers[e]=c.proxy(this[e],this)},this)),c.each(u.Plugins,c.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),c.each(u.Workers,c.proxy(function(t,e){this._pipe.push({filter:e.filter,run:c.proxy(e.run,this)})},this)),this.setup(),this.initialize()}u.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:i,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"ctf-owl-refresh",loadedClass:"ctf-owl-loaded",loadingClass:"ctf-owl-loading",rtlClass:"ctf-owl-rtl",responsiveClass:"ctf-owl-responsive",dragClass:"ctf-owl-drag",itemClass:"ctf-owl-item",stageClass:"ctf-owl-stage",stageOuterClass:"ctf-owl-stage-outer",grabClass:"ctf-owl-grab"},u.Width={Default:"default",Inner:"inner",Outer:"outer"},u.Type={Event:"event",State:"state"},u.Plugins={},u.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,e={width:"auto","margin-left":n?e:"","margin-right":n?"":e};i||this.$stage.children().css(e),t.css=e}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,s=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1<i||t.items.merge,o[n]=s?e*i:this._items[n].width();this._widths=o}},{filter:["items","settings"],run:function(){var t=[],e=this._items,i=this.settings,n=Math.max(2*i.items,4),s=2*Math.ceil(e.length/2),o=i.loop&&e.length?i.rewind?n:Math.max(n,s):0,a="",r="";for(o/=2;o--;)t.push(this.normalize(t.length/2,!0)),a+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),r=e[t[t.length-1]][0].outerHTML+r;this._clones=t,c(a).addClass("cloned").appendTo(this.$stage),c(r).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,s=-1,o=[];++s<n;)t=o[s-1]||0,e=this._widths[this.relative(s)]+this.settings.margin,o.push(t+e*i);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,t={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(t)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,e,i=this.settings.rtl?1:-1,n=2*this.settings.stagePadding,s=this.coordinates(this.current())+n,o=s+this.width()*i,a=[],r=0,c=this._coordinates.length;r<c;r++)t=this._coordinates[r-1]||0,e=Math.abs(this._coordinates[r])+n*i,(this.op(t,"<=",s)&&this.op(t,">",o)||this.op(e,"<",s)&&this.op(e,">",o))&&a.push(r);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+a.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],u.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:o,e=this.$element.children(e).width(),t.length&&e<=0&&this.preloadAutoWidthImages(t)),this.$element.addClass(this.options.loadingClass),this.$stage=c("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},u.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(c.each(t,function(t){t<=e&&i<t&&(i=Number(t))}),"function"==typeof(n=c.extend({},this.options,t[i])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):n=c.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=i,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},u.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},u.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=c("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},u.prototype.update=function(){for(var t=0,e=this._pipe.length,i=c.proxy(function(t){return this[t]},this._invalidated),n={};t<e;)(this._invalidated.all||0<c.grep(this._pipe[t].filter,i).length)&&this._pipe[t].run(n),t++;this._invalidated={},this.is("valid")||this.enter("valid")},u.prototype.width=function(t){switch(t=t||u.Width.Default){case u.Width.Inner:case u.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},u.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},u.prototype.onThrottledResize=function(){i.clearTimeout(this.resizeTimer),this.resizeTimer=i.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},u.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},u.prototype.registerEventHandlers=function(){c.support.transition&&this.$stage.on(c.support.transition.end+".owl.core",c.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(i,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",c.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",c.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",c.proxy(this.onDragEnd,this)))},u.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=c.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(c.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=c(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),c(n).on("mouseup.owl.core touchend.owl.core",c.proxy(this.onDragEnd,this)),c(n).one("mousemove.owl.core touchmove.owl.core",c.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));c(n).on("mousemove.owl.core touchmove.owl.core",c.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},u.prototype.onDragMove=function(t){var e,i=null,n=null,s=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,s);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(i=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-i,o.x=((o.x-i)%n+n)%n+i):(i=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),e=this.settings.pullDrag?-1*s.x/5:0,o.x=Math.max(Math.min(o.x,i+e),n+e)),this._drag.stage.current=o,this.animate(o.x))},u.prototype.onDragEnd=function(t){var e=this.difference(this._drag.pointer,this.pointer(t)),i=this._drag.stage.current,t=0<e.x^this.settings.rtl?"left":"right";c(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==e.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==e.x?t:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=t,(3<Math.abs(e.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},u.prototype.closest=function(i,n){var s=-1,o=this.width(),a=this.coordinates();return this.settings.freeDrag||c.each(a,c.proxy(function(t,e){return"left"===n&&e-30<i&&i<e+30?s=t:"right"===n&&e-o-30<i&&i<e-o+30?s=t+1:this.op(i,"<",e)&&this.op(i,">",a[t+1]||e-o)&&(s="left"===n?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",a[this.minimum()])?s=i=this.minimum():this.op(i,"<",a[this.maximum()])&&(s=i=this.maximum())),s},u.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),c.support.transform3d&&c.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,c.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},u.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},u.prototype.current=function(t){return t===o?this._current:0===this._items.length?o:(t=this.normalize(t),this._current!==t&&((e=this.trigger("change",{property:{name:"position",value:t}})).data!==o&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})),this._current);var e},u.prototype.invalidate=function(t){return"string"===c.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),c.map(this._invalidated,function(t,e){return e})},u.prototype.reset=function(t){(t=this.normalize(t))!==o&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},u.prototype.normalize=function(t,e){var i=this._items.length,e=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=o:(t<0||i+e<=t)&&(t=((t-e/2)%i+i)%i+e/2),t},u.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},u.prototype.maximum=function(t){var e,i,n,s=this.settings,o=this._coordinates.length;if(s.loop)o=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){for(e=this._items.length,i=this._items[--e].width(),n=this.$element.width();e--&&!(n<(i+=this._items[e].width()+this.settings.margin)););o=e+1}else o=s.center?this._items.length-1:this._items.length-s.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},u.prototype.minimum=function(t){return t?0:this._clones.length/2},u.prototype.items=function(t){return t===o?this._items.slice():(t=this.normalize(t,!0),this._items[t])},u.prototype.mergers=function(t){return t===o?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},u.prototype.clones=function(i){function n(t){return t%2==0?s+t/2:e-(t+1)/2}var e=this._clones.length/2,s=e+this._items.length;return i===o?c.map(this._clones,function(t,e){return n(e)}):c.map(this._clones,function(t,e){return t===i?n(e):null})},u.prototype.speed=function(t){return t!==o&&(this._speed=t),this._speed},u.prototype.coordinates=function(t){var e,i=1,n=t-1;return t===o?c.map(this._coordinates,c.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,n=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[n]||0))/2*i):e=this._coordinates[n]||0,e=Math.ceil(e))},u.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},u.prototype.to=function(t,e){var i,n=this.current(),s=t-this.relative(n),o=(0<s)-(s<0),a=this._items.length,r=this.minimum(),c=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>a/2&&(s+=-1*o*a),(i=(((t=n+s)-r)%a+a)%a+r)!==t&&i-s<=c&&0<i-s&&(n=i-s,t=i,this.reset(n))):t=this.settings.rewind?(t%(c+=1)+c)%c:Math.max(r,Math.min(c,t)),this.speed(this.duration(n,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},u.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},u.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},u.prototype.onTransitionEnd=function(t){if(t!==o&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},u.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==i?t=c(this.options.responsiveBaseElement).width():i.innerWidth?t=i.innerWidth:n.documentElement&&n.documentElement.clientWidth?t=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},u.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:c(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(c.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},u.prototype.add=function(t,e){var i=this.relative(this._current);e=e===o?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:c(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},u.prototype.remove=function(t){(t=this.normalize(t,!0))!==o&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},u.prototype.preloadAutoWidthImages=function(t){t.each(c.proxy(function(t,e){this.enter("pre-loading"),e=c(e),c(new Image).one("load",c.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},u.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),c(n).off(".owl.core"),!1!==this.settings.responsive&&(i.clearTimeout(this.resizeTimer),this.off(i,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},u.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?i<t:t<i;case">":return n?t<i:i<t;case">=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},u.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},u.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},u.prototype.trigger=function(t,e,i,n,s){var o={item:{count:this._items.length,index:this.current()}},a=c.camelCase(c.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),r=c.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),c.extend({relatedTarget:this},o,e));return this._supress[t]||(c.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(r)}),this.register({type:u.Type.Event,name:t}),this.$element.trigger(r),this.settings&&"function"==typeof this.settings[a]&&this.settings[a].call(this,r)),r},u.prototype.enter=function(t){c.each([t].concat(this._states.tags[t]||[]),c.proxy(function(t,e){this._states.current[e]===o&&(this._states.current[e]=0),this._states.current[e]++},this))},u.prototype.leave=function(t){c.each([t].concat(this._states.tags[t]||[]),c.proxy(function(t,e){this._states.current[e]--},this))},u.prototype.register=function(i){var e;i.type===u.Type.Event?(c.event.special[i.name]||(c.event.special[i.name]={}),c.event.special[i.name].owl||(e=c.event.special[i.name]._default,c.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},c.event.special[i.name].owl=!0)):i.type===u.Type.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=c.grep(this._states.tags[i.name],c.proxy(function(t,e){return c.inArray(t,this._states.tags[i.name])===e},this)))},u.prototype.suppress=function(t){c.each(t,c.proxy(function(t,e){this._supress[e]=!0},this))},u.prototype.release=function(t){c.each(t,c.proxy(function(t,e){delete this._supress[e]},this))},u.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||i.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},u.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},u.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},c.fn.ctfOwlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=c(this),i=t.data("owl.carousel");i||(i=new u(this,"object"==typeof e&&e),t.data("owl.carousel",i),c.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){i.register({type:u.Type.Event,name:e}),i.$element.on(e+".owl.carousel.core",c.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),i[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},i))})),"string"==typeof e&&"_"!==e.charAt(0)&&i[e].apply(i,n)})},c.fn.ctfOwlCarousel.Constructor=u}(window.Zepto||window.jQuery,window,document),function(e,i){var n=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=i.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("ctf-owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var t,e;for(t in i.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.ctfOwlCarousel.Constructor.Plugins.AutoRefresh=n}(window.Zepto||window.jQuery,window,document),function(r,s){var e=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":r.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var e=this._core.settings,i=e.center&&Math.ceil(e.items/2)||e.items,n=e.center&&-1*i||0,s=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+n,o=this._core.clones().length,a=r.proxy(function(t,e){this.load(e)},this);n++<i;)this.load(o/2+this._core.relative(s)),o&&r.each(this._core.clones(this._core.relative(s)),a),s++},this)},this._core.options=r.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1},e.prototype.load=function(t){var e=this._core.$stage.children().eq(t),t=e&&e.find(".ctf-owl-lazy");!t||-1<r.inArray(e.get(0),this._loaded)||(t.each(r.proxy(function(t,e){var i=r(e),n=1<s.devicePixelRatio&&i.attr("data-src-retina")||i.attr("data-src");this._core.trigger("load",{element:i,url:n},"lazy"),i.is("img")?i.one("load.owl.lazy",r.proxy(function(){i.css("opacity",1),this._core.trigger("loaded",{element:i,url:n},"lazy")},this)).attr("src",n):((e=new Image).onload=r.proxy(function(){i.css({"background-image":'url("'+n+'")',opacity:"1"}),this._core.trigger("loaded",{element:i,url:n},"lazy")},this),e.src=n)},this)),this._loaded.push(e.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.ctfOwlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(n){var e=function(t){this._core=t,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":n.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":n.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=n.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoHeight:!1,autoHeightClass:"ctf-owl-height"},e.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,t=this._core.$stage.children().toArray().slice(t,e),i=[];n.each(t,function(t,e){i.push(n(e).height())}),e=Math.max.apply(null,i),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.ctfOwlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,(window,document)),function(h,e){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":h.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":h.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":h.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .ctf-owl-video-frame").remove()},this),"changed.owl.carousel":h.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":h.proxy(function(t){var e;!t.namespace||(e=h(t.content).find(".ctf-owl-video")).length&&(e.css("display","none"),this.fetch(e,h(t.content)))},this)},this._core.options=h.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".ctf-owl-video-play-icon",h.proxy(function(t){this.play(t)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if(-1<(n=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))i="youtube";else if(-1<n[3].indexOf("vimeo"))i="vimeo";else{if(!(-1<n[3].indexOf("vzaar")))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[a]={type:i,id:n,width:s,height:o},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},i.prototype.thumbnail=function(e,t){function i(t){n=u.lazyLoad?'<div class="ctf-owl-video-tn '+c+'" '+r+'="'+t+'"></div>':'<div class="ctf-owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="ctf-owl-video-play-icon"></div>')}var n,s,o=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",a=e.find("img"),r="src",c="",u=this._core.settings;if(e.wrap('<div class="ctf-owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(r="data-src",c="ctf-owl-lazy"),a.length)return i(a.attr(r)),a.remove(),!1;"youtube"===t.type?(s="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(s)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,i(s)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,i(s)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".ctf-owl-video-frame").remove(),this._playing.removeClass("ctf-owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e,i=h(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],s=n.width||"100%",t=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===n.type?e='<iframe width="'+s+'" height="'+t+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?e='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+s+'" height="'+t+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(e='<iframe frameborder="0"height="'+t+'"width="'+s+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),h('<div class="ctf-owl-video-frame">'+e+"</div>").insertAfter(i.find(".ctf-owl-video")),this._playing=i.addClass("ctf-owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("ctf-owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},h.fn.ctfOwlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(a){var e=function(t){this.core=t,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":a.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":a.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,i,n,s,o;1===this.core.settings.items&&a.support.animation&&a.support.transition&&(this.core.speed(0),e=a.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,o=this.core.settings.animateOut,this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(a.support.animation.end,e).css({left:t+"px"}).addClass("animated ctf-owl-animated-out").addClass(o)),s&&n.one(a.support.animation.end,e).addClass("animated ctf-owl-animated-in").addClass(s)))},e.prototype.clear=function(t){a(t.target).css({left:""}).removeClass("animated ctf-owl-animated-out ctf-owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.ctfOwlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(i,n,s){var e=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(t,e){return this._timeout&&n.clearTimeout(this._timeout),n.setTimeout(i.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||s.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),t||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(n.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.ctfOwlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(s){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+s(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":s.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":s.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=s.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"ctf-owl-nav",navClass:["ctf-owl-prev","ctf-owl-next"],slideBy:1,dotClass:"ctf-owl-dot",dotsClass:"ctf-owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?s(i.navContainer):s("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",s.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=s("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[s("<div>").addClass(i.dotClass).append(s("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?s(i.dotsContainer):s("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",s.proxy(function(t){var e=(s(t.target).parent().is(this._controls.$absolute)?s(t.target):s(t.target).parent()).index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=s.proxy(this[t],this)},e.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(a<=e||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+a-1}),Math.min(s,t-i)===s)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var t=this._core.settings,e=this._core.items().length<=t.items,i=this._core.relative(this._core.current()),n=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||e),t.nav&&(this._controls.$previous.toggleClass("disabled",!n&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!n&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!t.dots||e),t.dots&&(e=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&0!=e?this._controls.$absolute.html(this._templates.join("")):0<e?this._controls.$absolute.append(new Array(1+e).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(s.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:s.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var i=this._core.relative(this._core.current());return s.grep(this._pages,s.proxy(function(t,e){return t.start<=i&&t.end>=i},this)).pop()},e.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=s.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},e.prototype.next=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){s.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,i){!i&&this._pages.length?(i=this._pages.length,s.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,e)):s.proxy(this._overrides.to,this._core)(t,e)},s.fn.ctfOwlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(n,s){"use strict";var e=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){var e;!t.namespace||(e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[e]=t.content)},this),"changed.owl.carousel":n.proxy(function(t){var i;t.namespace&&"position"===t.property.name&&(i=this._core.items(this._core.relative(this._core.current())),(t=n.map(this._hashes,function(t,e){return t===i?e:null}).join())&&s.location.hash.slice(1)!==t&&(s.location.hash=t))},this)},this._core.options=n.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),n(s).on("hashchange.owl.navigation",n.proxy(function(t){var e=s.location.hash.substring(1),i=this._core.$stage.children(),e=this._hashes[e]&&i.index(this._hashes[e]);void 0!==e&&e!==this._core.current()&&this._core.to(this._core.relative(e),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in n(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.ctfOwlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(s,o){function e(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return s.each((t+" "+r.join(e+" ")+e).split(" "),function(t,e){if(a[e]!==o)return n=!i||e,!1}),n}function t(t){return e(t,!0)}var a=s("<support>").get(0).style,r="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},n=function(){return!!e("transform")},c=function(){return!!e("perspective")},u=function(){return!!e("animation")};!function(){return!!e("transition")}()||(s.support.transition=new String(t("transition")),s.support.transition.end=i.transition.end[s.support.transition]),u()&&(s.support.animation=new String(t("animation")),s.support.animation.end=i.animation.end[s.support.animation]),n()&&(s.support.transform=new String(t("transform")),s.support.transform3d=c())}(window.Zepto||window.jQuery,(window,void document)),function(u){Owl2row=function(t){this.owl=t,this.owl.options=u.extend({},Owl2row.Defaults,this.owl.options),this.handlers={"initialize.owl.carousel":u.proxy(function(t){this.owl.settings.owl2row&&this.build2row(this)},this)},this.owl.$element.on(this.handlers)},Owl2row.Defaults={owl2row:!1,owl2rowTarget:"ctf-item",owl2rowContainer:"ctf_owl2row-item",owl2rowDirection:"utd"},Owl2row.prototype.build2row=function(t){var e=u(t.owl.$element),i=e.find("."+t.owl.options.owl2rowTarget),n=[],s=[];u.each(i,function(t,e){(t%2==0?n:s).push(e)}),"ltr"===t.owl.options.owl2rowDirection?t.leftToright(t,e,i):t.upTodown(t,n,s,e)},Owl2row.prototype.leftToright=function(t,s,e){var o=t.owl.options.owl2rowContainer,a=t.owl.options.margin,i=e.length,r=[],c=[];i%2==1?i=(i-1)/2+1:i/=2,u.each(e,function(t,e){(t<i?r:c).push(e)}),u.each(r,function(t,e){var i=u('<div class="'+o+'"/>'),n=r[t];n.style.marginBottom=a+"px",i.append(n).append(c[t]),s.append(i)})},Owl2row.prototype.upTodown=function(t,s,o,a){var r=t.owl.options.owl2rowContainer,c=t.owl.options.margin;u.each(s,function(t,e){var i=u('<div class="'+r+'"/>'),n=s[t];n.style.marginBottom=c+"px",i.append(n).append(o[t]),a.append(i)})},Owl2row.prototype.destroy=function(){},u.fn.ctfOwlCarousel.Constructor.Plugins.owl2row=Owl2row}(window.Zepto||window.jQuery,(window,document)),void 0===ctfOptions.no_mob_swipe?(function(s,r,u){"use strict";function o(t,e,i){return setTimeout(n(t,i),e)}function i(t,e,i){return Array.isArray(t)&&(a(t,i[e],i),1)}function a(t,e,i){if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==u)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(var n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function t(i,t,e){var n="DEPRECATED METHOD: "+t+"\n"+e+" AT \n";return function(){var t=new Error("get-stack-trace"),e=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",t=s.console&&(s.console.warn||s.console.log);return t&&t.call(s.console,n,e),i.apply(this,arguments)}}function e(t,e,i){var n=e.prototype,e=t.prototype=Object.create(n);e.constructor=t,e._super=n,i&&it(e,i)}function n(t,e){return function(){return t.apply(e,arguments)}}function c(t,e){return typeof t==J?t.apply(e&&e[0]||u,e):t}function h(t,e){return t===u?e:t}function l(e,t,i){a(g(t),function(t){e.addEventListener(t,i,!1)})}function d(e,t,i){a(g(t),function(t){e.removeEventListener(t,i,!1)})}function f(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function p(t,e){return-1<t.indexOf(e)}function g(t){return t.trim().split(/\s+/g)}function m(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function v(t){return Array.prototype.slice.call(t,0)}function y(t,i,e){for(var n=[],s=[],o=0;o<t.length;){var a=i?t[o][i]:t[o];m(s,a)<0&&n.push(t[o]),s[o]=a,o++}return e&&(n=i?n.sort(function(t,e){return t[i]>e[i]}):n.sort()),n}function w(t,e){for(var i,n=e[0].toUpperCase()+e.slice(1),s=0;s<X.length;){if((i=(i=X[s])?i+n:e)in t)return i;s++}return u}function _(t){t=t.ownerDocument||t;return t.defaultView||t.parentWindow||s}function x(e,t){var i=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){c(e.options.enable,[e])&&i.handler(t)},this.init()}function b(t,e,i){var n=i.pointers.length,s=i.changedPointers.length,o=e&dt&&n-s==0,s=e&(ft|pt)&&n-s==0;i.isFirst=!!o,i.isFinal=!!s,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,s=n.length;i.firstInput||(i.firstInput=C(e)),1<s&&!i.firstMultiple?i.firstMultiple=C(e):1===s&&(i.firstMultiple=!1);var o=i.firstInput,a=i.firstMultiple,r=(a||o).center,s=e.center=A(n);e.timeStamp=et(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=D(r,s),e.distance=E(r,s),function(t,e){var i=e.center,n=t.offsetDelta||{},s=t.prevDelta||{},o=t.prevInput||{};e.eventType!==dt&&o.eventType!==ft||(s=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=s.x+(i.x-n.x),e.deltaY=s.y+(i.y-n.y)}(i,e),e.offsetDirection=z(e.deltaX,e.deltaY),s=I(e.deltaTime,e.deltaX,e.deltaY),e.overallVelocityX=s.x,e.overallVelocityY=s.y,e.overallVelocity=tt(s.x)>tt(s.y)?s.x:s.y,e.scale=a?function(t,e){return E(e[0],e[1],At)/E(t[0],t[1],At)}(a.pointers,n):1,e.rotation=a?function(t,e){return D(e[1],e[0],At)+D(t[1],t[0],At)}(a.pointers,n):0,e.maxPointers=!i.prevInput||e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers,function(t,e){var i,n,s,o,a,r=t.lastInterval||e,c=e.timeStamp-r.timeStamp;e.eventType!=pt&&(lt<c||r.velocity===u)?(s=e.deltaX-r.deltaX,o=e.deltaY-r.deltaY,a=I(c,s,o),i=a.x,n=a.y,a=tt(a.x)>tt(a.y)?a.x:a.y,o=z(s,o),t.lastInterval=e):(a=r.velocity,i=r.velocityX,n=r.velocityY,o=r.direction),e.velocity=a,e.velocityX=i,e.velocityY=n,e.direction=o}(i,e),t=t.element,f(e.srcEvent.target,t)&&(t=e.srcEvent.target),e.target=t}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function C(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:K(t.pointers[i].clientX),clientY:K(t.pointers[i].clientY)},i++;return{timeStamp:et(),pointers:e,center:A(e),deltaX:t.deltaX,deltaY:t.deltaY}}function A(t){var e=t.length;if(1===e)return{x:K(t[0].clientX),y:K(t[0].clientY)};for(var i=0,n=0,s=0;s<e;)i+=t[s].clientX,n+=t[s].clientY,s++;return{x:K(i/e),y:K(n/e)}}function I(t,e,i){return{x:e/t||0,y:i/t||0}}function z(t,e){return t===e?gt:tt(t)>=tt(e)?t<0?mt:vt:e<0?yt:wt}function E(t,e,i){var n=e[(i=i||Ct)[0]]-t[i[0]],i=e[i[1]]-t[i[1]];return Math.sqrt(n*n+i*i)}function D(t,e,i){var n=e[(i=i||Ct)[0]]-t[i[0]],i=e[i[1]]-t[i[1]];return 180*Math.atan2(i,n)/Math.PI}function F(){this.evEl=zt,this.evWin=Et,this.pressed=!1,x.apply(this,arguments)}function T(){this.evEl=Tt,this.evWin=Bt,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function B(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,x.apply(this,arguments)}function k(){this.evTarget=Lt,this.targetIds={},x.apply(this,arguments)}function S(){x.apply(this,arguments);var t=n(this.handler,this);this.touch=new k(this.manager,t),this.mouse=new F(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function L(t){var e,i,t=t.changedPointers[0];t.identifier===this.primaryTouch&&(e={x:t.clientX,y:t.clientY},this.lastTouches.push(e),i=this.lastTouches,setTimeout(function(){var t=i.indexOf(e);-1<t&&i.splice(t,1)},Mt))}function M(t,e){this.manager=t,this.set(e)}function j(t){this.options=it({},this.defaults,t||{}),this.id=ot++,this.manager=null,this.options.enable=h(this.options.enable,!0),this.state=Nt,this.simultaneous={},this.requireFail=[]}function P(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function R(t){return t==wt?"down":t==yt?"up":t==mt?"left":t==vt?"right":""}function O(t,e){e=e.manager;return e?e.get(t):t}function $(){j.apply(this,arguments)}function q(){$.apply(this,arguments),this.pX=null,this.pY=null}function H(){$.apply(this,arguments)}function W(){j.apply(this,arguments),this._timer=null,this._input=null}function N(){$.apply(this,arguments)}function Q(){$.apply(this,arguments)}function V(){j.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function G(t,e){return(e=e||{}).recognizers=h(e.recognizers,G.defaults.preset),new U(t,e)}function U(t,e){this.options=it({},G.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((t=this).options.inputClass||(rt?T:ct?k:at?S:F))(t,b),this.touchAction=new M(this,this.options.touchAction),Y(this,!0),a(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Y(i,n){var s,o=i.element;o.style&&(a(i.options.cssProps,function(t,e){s=w(o.style,e),n?(i.oldCssProps[s]=o.style[s],o.style[s]=t):o.style[s]=i.oldCssProps[s]||""}),n||(i.oldCssProps={}))}var X=["","webkit","Moz","MS","ms","o"],Z=r.createElement("div"),J="function",K=Math.round,tt=Math.abs,et=Date.now,it="function"!=typeof Object.assign?function(t){if(t===u||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==u&&null!==n)for(var s in n)n.hasOwnProperty(s)&&(e[s]=n[s])}return e}:Object.assign,nt=t(function(t,e,i){for(var n=Object.keys(e),s=0;s<n.length;)(!i||i&&t[n[s]]===u)&&(t[n[s]]=e[n[s]]),s++;return t},"extend","Use `assign`."),st=t(function(t,e){return nt(t,e,!0)},"merge","Use `assign`."),ot=1,at="ontouchstart"in s,rt=w(s,"PointerEvent")!==u,ct=at&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ut="touch",ht="mouse",lt=25,dt=1,ft=4,pt=8,gt=1,mt=2,vt=4,yt=8,wt=16,_t=mt|vt,xt=yt|wt,bt=_t|xt,Ct=["x","y"],At=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&l(this.element,this.evEl,this.domHandler),this.evTarget&&l(this.target,this.evTarget,this.domHandler),this.evWin&&l(_(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(_(this.element),this.evWin,this.domHandler)}};var It={mousedown:dt,mousemove:2,mouseup:ft},zt="mousedown",Et="mousemove mouseup";e(F,x,{handler:function(t){var e=It[t.type];e&dt&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=ft),this.pressed&&(e&ft&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:ht,srcEvent:t}))}});var Dt={pointerdown:dt,pointermove:2,pointerup:ft,pointercancel:pt,pointerout:pt},Ft={2:ut,3:"pen",4:ht,5:"kinect"},Tt="pointerdown",Bt="pointermove pointerup pointercancel";s.MSPointerEvent&&!s.PointerEvent&&(Tt="MSPointerDown",Bt="MSPointerMove MSPointerUp MSPointerCancel"),e(T,x,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),s=Dt[n],o=Ft[t.pointerType]||t.pointerType,a=o==ut,n=m(e,t.pointerId,"pointerId");s&dt&&(0===t.button||a)?n<0&&(e.push(t),n=e.length-1):s&(ft|pt)&&(i=!0),n<0||(e[n]=t,this.callback(this.manager,s,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(n,1))}});var kt={touchstart:dt,touchmove:2,touchend:ft,touchcancel:pt};e(B,x,{handler:function(t){var e,i=kt[t.type];i===dt&&(this.started=!0),this.started&&(e=function(t,e){var i=v(t.touches),t=v(t.changedTouches);return e&(ft|pt)&&(i=y(i.concat(t),"identifier",!0)),[i,t]}.call(this,t,i),i&(ft|pt)&&e[0].length-e[1].length==0&&(this.started=!1),this.callback(this.manager,i,{pointers:e[0],changedPointers:e[1],pointerType:ut,srcEvent:t}))}});var St={touchstart:dt,touchmove:2,touchend:ft,touchcancel:pt},Lt="touchstart touchmove touchend touchcancel";e(k,x,{handler:function(t){var e=St[t.type],i=function(t,e){var i=v(t.touches),n=this.targetIds;if(e&(2|dt)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var s,o=v(t.changedTouches),a=[],r=this.target,c=i.filter(function(t){return f(t.target,r)});if(e===dt)for(s=0;s<c.length;)n[c[s].identifier]=!0,s++;for(s=0;s<o.length;)n[o[s].identifier]&&a.push(o[s]),e&(ft|pt)&&delete n[o[s].identifier],s++;return a.length?[y(c.concat(a),"identifier",!0),a]:void 0}.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:ut,srcEvent:t})}});var Mt=2500;e(S,x,{handler:function(t,e,i){var n=i.pointerType==ut,s=i.pointerType==ht;if(!(s&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)(function(t,e){t&dt?(this.primaryTouch=e.changedPointers[0].identifier,L.call(this,e)):t&(ft|pt)&&L.call(this,e)}).call(this,e,i);else if(s&&function(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var s=this.lastTouches[n],o=Math.abs(e-s.x),s=Math.abs(i-s.y);if(o<=25&&s<=25)return!0}return!1}.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var jt=w(Z.style,"touchAction"),Pt=jt!==u,Rt="compute",Ot="manipulation",$t="none",qt="pan-x",Ht="pan-y",Wt=function(){if(!Pt)return!1;var e={},i=s.CSS&&s.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(t){e[t]=!i||s.CSS.supports("touch-action",t)}),e}();M.prototype={set:function(t){t==Rt&&(t=this.compute()),Pt&&this.manager.element.style&&Wt[t]&&(this.manager.element.style[jt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return a(this.manager.recognizers,function(t){c(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(t){if(p(t,$t))return $t;var e=p(t,qt),i=p(t,Ht);return e&&i?$t:e||i?e?qt:Ht:p(t,Ot)?Ot:"auto"}(e.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(!this.manager.session.prevented){var n=this.actions,s=p(n,$t)&&!Wt[$t],o=p(n,Ht)&&!Wt[Ht],a=p(n,qt)&&!Wt[qt];if(s){var r=1===t.pointers.length,n=t.distance<2,t=t.deltaTime<250;if(r&&n&&t)return}return(!a||!o)&&(s||o&&i&_t||a&&i&xt)?this.preventSrc(e):void 0}e.preventDefault()},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Nt=1;j.prototype={defaults:{},set:function(t){return it(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(i(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=O(t,this)).id]||(e[t.id]=t).recognizeWith(this),this},dropRecognizeWith:function(t){return i(t,"dropRecognizeWith",this)||(t=O(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(i(t,"requireFailure",this))return this;var e=this.requireFail;return-1===m(e,t=O(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(i(t,"dropRequireFailure",this))return this;t=O(t,this);t=m(this.requireFail,t);return-1<t&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return 0<this.requireFail.length},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(e){function t(t){i.manager.emit(t,e)}var i=this,n=this.state;n<8&&t(i.options.event+P(n)),t(i.options.event),e.additionalEvent&&t(e.additionalEvent),8<=n&&t(i.options.event+P(n))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Nt)))return!1;t++}return!0},recognize:function(t){t=it({},t);return c(this.options.enable,[this,t])?(56&this.state&&(this.state=Nt),this.state=this.process(t),void(30&this.state&&this.tryEmit(t))):(this.reset(),void(this.state=32))},process:function(t){},getTouchAction:function(){},reset:function(){}},e($,j,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=6&e,t=this.attrTest(t);return n&&(i&pt||!t)?16|e:n||t?i&ft?8|e:2&e?4|e:2:32}}),e(q,$,{defaults:{event:"pan",threshold:10,pointers:1,direction:bt},getTouchAction:function(){var t=this.options.direction,e=[];return t&_t&&e.push(Ht),t&xt&&e.push(qt),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,s=t.direction,o=t.deltaX,a=t.deltaY;return s&e.direction||(n=e.direction&_t?(s=0===o?gt:o<0?mt:vt,i=o!=this.pX,Math.abs(t.deltaX)):(s=0===a?gt:a<0?yt:wt,i=a!=this.pY,Math.abs(t.deltaY))),t.direction=s,i&&n>e.threshold&&s&e.direction},attrTest:function(t){return $.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=R(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),e(H,$,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[$t]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){var e;1!==t.scale&&(e=t.scale<1?"in":"out",t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),e(W,j,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,s=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(ft|pt)&&!s)this.reset();else if(t.eventType&dt)this.reset(),this._timer=o(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&ft)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&ft?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=et(),this.manager.emit(this.options.event,this._input)))}}),e(N,$,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[$t]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),e(Q,$,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:_t|xt,pointers:1},getTouchAction:function(){return q.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(_t|xt)?e=t.overallVelocity:i&_t?e=t.overallVelocityX:i&xt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&tt(e)>this.options.velocity&&t.eventType&ft},emit:function(t){var e=R(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),e(V,j,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ot]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,s=t.deltaTime<e.time;if(this.reset(),t.eventType&dt&&0===this.count)return this.failTimeout();if(n&&s&&i){if(t.eventType!=ft)return this.failTimeout();s=!this.pTime||t.timeStamp-this.pTime<e.interval,i=!this.pCenter||E(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,i&&s?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=o(function(){this.state=8,this.tryEmit()},e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=o(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),G.VERSION="2.0.8",G.defaults={domEvents:!1,touchAction:Rt,enable:!0,inputTarget:null,inputClass:null,preset:[[N,{enable:!1}],[H,{enable:!1},["rotate"]],[Q,{direction:_t}],[q,{direction:_t},["swipe"]],[V],[V,{event:"doubletap",taps:2},["tap"]],[W]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},U.prototype={set:function(t){return it(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,s=e.curRecognizer;(!s||s&&8&s.state)&&(s=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||s&&i!=s&&!i.canRecognizeWith(s)?i.reset():i.recognize(t),!s&&14&i.state&&(s=e.curRecognizer=i),o++}},get:function(t){if(t instanceof j)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(i(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),(t.manager=this).touchAction.update(),t},remove:function(t){return i(t,"remove",this)||!(t=this.get(t))||-1!==(t=m(e=this.recognizers,t))&&(e.splice(t,1),this.touchAction.update()),this;var e},on:function(t,e){if(t!==u&&e!==u){var i=this.handlers;return a(g(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this}},off:function(t,e){if(t!==u){var i=this.handlers;return a(g(t),function(t){e?i[t]&&i[t].splice(m(i[t],e),1):delete i[t]}),this}},emit:function(t,e){var i,n,s;this.options.domEvents&&(i=t,n=e,(s=r.createEvent("Event")).initEvent(i,!0,!0),(s.gesture=n).target.dispatchEvent(s));var o=this.handlers[t]&&this.handlers[t].slice();if(o&&o.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var a=0;a<o.length;)o[a](e),a++}},destroy:function(){this.element&&Y(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},it(G,{INPUT_START:dt,INPUT_MOVE:2,INPUT_END:ft,INPUT_CANCEL:pt,STATE_POSSIBLE:Nt,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:gt,DIRECTION_LEFT:mt,DIRECTION_RIGHT:vt,DIRECTION_UP:yt,DIRECTION_DOWN:wt,DIRECTION_HORIZONTAL:_t,DIRECTION_VERTICAL:xt,DIRECTION_ALL:bt,Manager:U,Input:x,TouchAction:M,TouchInput:k,MouseInput:F,PointerEventInput:T,TouchMouseInput:S,SingleTouchInput:B,Recognizer:j,AttrRecognizer:$,Tap:V,Pan:q,Swipe:Q,Pinch:H,Rotate:N,Press:W,on:l,off:d,each:a,merge:st,extend:nt,assign:it,inherit:e,bindFn:n,prefixed:w}),(void 0!==s?s:"undefined"!=typeof self?self:{}).Hammer=G,"function"==typeof define&&define.amd?define(function(){return G}):"undefined"!=typeof module&&module.exports?module.exports=G:s.Hammer=G}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(n,s){var i;n.fn.hammer=function(i){return this.each(function(){var t,e;e=i,(t=n(t=this)).data("hammer")||t.data("hammer",new s(t[0],e))})},s.Manager.prototype.emit=(i=s.Manager.prototype.emit,function(t,e){i.call(this,t,e),n(this.element).trigger({type:t,gesture:e})})})):(Hammer={Manager:{prototype:{}}},function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(i,t){var n;i.fn.hammer=function(t){return this.each(function(){})},t.Manager.prototype.emit=(n=t.Manager.prototype.emit,function(t,e){n.call(this,t,e),i(this.element).trigger({type:t,gesture:e})})})),function(m){function l(){this.feeds={},this.options=ctfOptions,this.isTouch=function(){if("ontouchstart"in document.documentElement)return!0;return!1}()}function o(t,e,i){this.el=t,this.index=e,this.settings=i,this.placeholderURL=window.ctf.options.placeholder,this.minImageWidth=0,this.resizedImages={},this.resizingDisabled=!m(this.el).find(".ctf-resized-image-data").length,this.itemsToCheck={cards:[],resize:[]},this.outOfPages=!1,this.isInitialized=!1,this.page=1,this.imagesWaiting=0}function e(){}function a(t,e){this.$context=e,this.prefix=t}function u(t,e){m.ajax({url:ctfOptions.ajax_url,type:"post",data:t,success:e})}function r(t,e){e.animate({height:t+"px"},400)}function v(i,n){var s;i.find(".ctf-carousel-height-change").length||((s=i.find(".ctf-owl-stage-outer")).after('<a href="#" class="ctf-carousel-more ctf-carousel-height-change"><span><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="plus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-plus fa-w-14 fa-2x"><path fill="currentColor" d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" class=""></path></svg></span></a>'),void 0!==n.settings.expanded&&(n.settings.expanded=!0,s.css("height","auto"),i.find(".ctf-carousel-height-change").removeClass("ctf-carousel-more").addClass("ctf-carousel-less").find("span").html('<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="minus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-minus fa-w-14 fa-2x"><path fill="currentColor" d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" class=""></path></svg>')),i.find(".ctf-carousel-height-change").on("click",function(t){t.preventDefault();var e,t=m(this);t.hasClass("ctf-carousel-more")?(t.addClass("ctf-carousel-less").removeClass("ctf-carousel-more").find("span").html('<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="minus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-minus fa-w-14 fa-2x"><path fill="currentColor" d="M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" class=""></path></svg>'),n.settings.expanded=!0,e=i.find(".ctf-owl-item").map(function(){return m(this).height()}).get(),r(Math.max.apply(null,e),s)):(e=i.find(".ctf-owl-item").map(function(){return m(this).height()}).get(),r(Math.min.apply(null,e),s),t.removeClass("ctf-carousel-less").addClass("ctf-carousel-more").find("span").html('<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="plus" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="svg-inline--fa fa-plus fa-w-14 fa-2x"><path fill="currentColor" d="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" class=""></path></svg>'),n.settings.expanded=!1),n.settings.expanded=!n.settings.expanded}))}l.prototype={createPage:function(t,e){void 0!==window.ctfajaxurl&&-1!==window.ctfajaxurl.indexOf(window.location.hostname)||(window.ctfajaxurl=window.location.hostname+"/wp-admin/admin-ajax.php"),window.ctfIntentsIncluded=!1,t(e)},maybeAddIntents:function(){m.each(window.ctf.feeds,function(t){var s,o,a,e=m(window.ctf.feeds[t].el);function i(t){for(var e,i,n=(t=t||window.event).target||t.srcElement;n&&"a"!==n.nodeName.toLowerCase();)n=n.parentNode;n&&"a"===n.nodeName.toLowerCase()&&n.href&&n.href.match(s)&&(e=Math.round(a/2-275),i=0,420<o&&(i=Math.round(o/2-210)),window.open(n.href,"intent","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+e+",top="+i),t.returnValue=!1,t.preventDefault&&t.preventDefault())}!window.ctfIntentsIncluded&&window.ctf.feeds[t].settings.consentGiven&&void 0!==e.attr("data-ctfintents")&&(window.ctfIntentsIncluded=!0,window.__twitterIntentHandler||(s=/twitter\.com\/intent\/(\w+)/,o=screen.height,a=screen.width,document.addEventListener?document.addEventListener("click",i,!1):document.attachEvent&&document.attachEvent("onclick",i),window.__twitterIntentHandler=!0))})},createLightbox:function(){var i,u=new e,t=(i=0,function(t,e){clearTimeout(i),i=setTimeout(t,e)});jQuery(window).on("resize",function(){t(function(){u.afterResize()},200)}),function(){var h=jQuery,e=(n.prototype.albumLabel=function(t,e){return t+" / "+e},n),i=(t.prototype.init=function(){this.enable(),this.build()},t.prototype.enable=function(){var e=this;h("body").on("click","a[data-ctf-lightbox]",function(t){return window.ctfCurrentLightboxPostID=h(t.currentTarget).attr("data-id"),e.start(h(t.currentTarget)),!1})},t.prototype.build=function(){var t,e,i=this;"function"!=typeof h("#ctf_lightbox").find(".ctf_lb-container").hammer&&(t={Manager:{prototype:{}}},e=function(i,t){var n;i.fn.hammer=function(t){return this.each(function(){})},t.Manager.prototype.emit=(n=t.Manager.prototype.emit,function(t,e){n.call(this,t,e),i(this.element).trigger({type:t,gesture:e})})},"function"==typeof define&&define.amd?define(["jquery","hammerjs"],e):"object"==typeof exports?e(require("jquery"),require("hammerjs")):e(jQuery,t)),h(""+u.template()).appendTo(h("body")),this.$lightbox=h("#ctf_lightbox"),this.$overlay=h("#ctf_lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".ctf_lb-outerContainer"),this.$container=this.$lightbox.find(".ctf_lb-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",function(){return i.end(),!1}),jQuery(document).on("click",function(t,e,i){jQuery(t.target).is("a")||jQuery(t.target).closest(".ctf_lb-outerContainer").length||jQuery(t.target).closest(".ctf_lb-dataContainer").length||(u.afterSlideChange(),jQuery("#ctf_lightboxOverlay, #ctf_lightbox").fadeOut())}),this.$lightbox.hide(),jQuery("#ctf_lightboxOverlay").on("click",function(t){return u.afterSlideChange(),"ctf_lightbox"===h(t.target).attr("id")&&i.end(),!1}),this.$lightbox.find(".ctf_lb-prev").on("click",function(){return u.afterSlideChange(),i.changeImage(0===i.currentImageIndex?i.album.length-1:i.currentImageIndex-1),!1}),this.$lightbox.find(".ctf_lb-container").hammer().on("swiperight",function(){return u.afterSlideChange(),i.changeImage(0===i.currentImageIndex?i.album.length-1:i.currentImageIndex-1),!1}),this.$lightbox.find(".ctf_lb-next").on("click",function(){return u.afterSlideChange(),i.changeImage(i.currentImageIndex===i.album.length-1?0:i.currentImageIndex+1),!1}),this.$lightbox.find(".ctf_lb-container").hammer().on("swipeleft",function(){return u.afterSlideChange(),i.changeImage(i.currentImageIndex===i.album.length-1?0:i.currentImageIndex+1),!1}),this.$lightbox.find(".ctf_lb-loader, .ctf_lb-close").on("click",function(){return u.afterSlideChange(),i.end(),!1})},t.prototype.start=function(t){function e(t){i.album.push(u.getData(t))}var i=this,n=h(window);n.on("resize",h.proxy(this.sizeOverlay,this)),h("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var s,o=0,a=t.attr("data-ctf-lightbox");if(a){s=h(t.prop("tagName")+'[data-ctf-lightbox="'+a+'"]');for(var r=0;r<s.length;r=++r)e(h(s[r])),s[r]===t[0]&&(o=r)}else if("lightbox"===t.attr("rel"))e(t);else{s=h(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]');for(var c=0;c<s.length;c=++c)e(h(s[c])),s[c]===t[0]&&(o=c)}a=n.scrollTop()+this.options.positionFromTop,n=n.scrollLeft();this.$lightbox.css({top:a+"px",left:n+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(o)},t.prototype.changeImage=function(a){var r=this;this.disableKeyboardNav();var c=this.$lightbox.find(".ctf_lb-image");this.$overlay.fadeIn(this.options.fadeDuration),h(".ctf_lb-loader").fadeIn("slow"),this.$lightbox.find(".ctf_lb-image, iframe, .ctf_video, .ctf_lb-nav, .ctf_lb-prev, .ctf_lb-next, .ctf_lb-dataContainer, .ctf_lb-numbers, .ctf_lb-caption").hide(),this.$outerContainer.addClass("animating");var u=new Image;u.onload=function(){var t,e,i,n,s=0,o=0;640<window.innerWidth&&(s=100,o=300),c.attr("src",r.album[a].link),h(u),c.width(u.width),c.height(u.height),r.options.fitImagesInViewport&&(n=h(window).width(),i=h(window).height(),s=n-r.containerLeftPadding-r.containerRightPadding-20-o-s,i=i-r.containerTopPadding-r.containerBottomPadding-150,(u.width>s||u.height>i)&&(u.width/s>u.height/i?(e=s,t=parseInt(u.height/(u.width/e),10)):(t=i,e=parseInt(u.width/(u.height/t),10)),c.width(e),c.height(t))),r.sizeContainer(c.width(),c.height())},u.src=this.album[a].link,this.currentImageIndex=a},t.prototype.sizeOverlay=function(){this.$overlay.width(h(window).width()).height(h(document).height())},t.prototype.sizeContainer=function(t,e){function i(){n.$lightbox.find(".ctf_lb-dataContainer").width(a),n.$lightbox.find(".ctf_lb-prevLink").height(r),n.$lightbox.find(".ctf_lb-nextLink").height(r),n.showImage()}var n=this,s=this.$outerContainer.outerWidth(),o=this.$outerContainer.outerHeight(),a=t+this.containerLeftPadding+this.containerRightPadding,r=e+this.containerTopPadding+this.containerBottomPadding;s!==a||o!==r?this.$outerContainer.animate({width:a,height:r},this.options.resizeDuration,"swing",function(){i()}):i()},t.prototype.showImage=function(){this.$lightbox.find(".ctf_lb-loader").hide(),this.$lightbox.find(".ctf_lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this.$lightbox.find(".ctf_lb-nav").show(),1<this.album.length&&(this.options.wrapAround?(t&&this.$lightbox.find(".ctf_lb-prev, .ctf_lb-next").css("opacity","1"),this.$lightbox.find(".ctf_lb-prev, .ctf_lb-next").show()):(0<this.currentImageIndex&&(this.$lightbox.find(".ctf_lb-prev").show(),t&&this.$lightbox.find(".ctf_lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".ctf_lb-next").show(),t&&this.$lightbox.find(".ctf_lb-next").css("opacity","1"))))},t.prototype.updateDetails=function(){var t,e,i=this;ctf_supports_video()&&(jQuery("#ctf_lightbox video.ctf_video").length&&jQuery("#ctf_lightbox video.ctf_video")[0].pause(),jQuery("#ctf_lightbox").removeClass("ctf_video_lightbox"),this.album[this.currentImageIndex].video.length&&"link"!==this.album[this.currentImageIndex].video&&(jQuery("#ctf_lightbox").find(".ctf_video").fadeIn("slow"),jQuery("#ctf_lightbox").addClass("ctf_video_lightbox"),jQuery("video.ctf_video").attr({src:this.album[this.currentImageIndex].video,poster:this.album[this.currentImageIndex].link,autoplay:"true"}).css("width","100%"))),"link"!==this.album[this.currentImageIndex].video||jQuery(".ctf_lb-container .ctf_gdpr_notice").length?"link"!==this.album[this.currentImageIndex].video&&jQuery(".ctf_gdpr_notice").remove():jQuery(".ctf_lb-container").prepend('<a href="https://twitter.com/'+this.album[this.currentImageIndex].user+"/status/"+this.album[this.currentImageIndex].id+'" target="_blank" rel="nofollow noopener" class="ctf_gdpr_notice"><svg style="color: rgba(255,255,255,1)" class="svg-inline--fa fa-play fa-w-14 sbi_playbtn" aria-label="Play" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="play" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"></path></svg></a>'),void 0!==this.album[this.currentImageIndex].amplify&&m("#ctf_lightbox").addClass("ctf-amplify"),m("#ctf_lightbox").removeClass("ctf-has-iframe"),void 0!==this.album[this.currentImageIndex].iframe&&this.album[this.currentImageIndex].iframe.length&&(jQuery("#ctf_lightbox").find("iframe").fadeIn("slow"),t=this.album[this.currentImageIndex].iframe,m("#ctf_lightbox").removeClass("ctf_video_lightbox").addClass("ctf-has-iframe"),e=-1<t.indexOf(".swf")?"":"?autoplay=1",setTimeout(function(){m("#ctf_lightbox iframe").attr({src:t+e})},500)),1===parseInt(this.album[this.currentImageIndex].audioiframe)?m("#ctf_lightbox").addClass("ctf-audio-iframe"):m("#ctf_lightbox").removeClass("ctf-audio-iframe"),m("#ctf_lightbox").removeClass("ctf-has-broadcast"),"true"===this.album[this.currentImageIndex].broadcast&&(jQuery("#ctf_lightbox").find(".ctf_broadcast_video").fadeIn("slow"),s=this.album[this.currentImageIndex].broadcastUrl,m("#ctf_lightbox").removeClass("ctf_video_lightbox").addClass("ctf-has-broadcast"),d(document.getElementById("ctf-broadcast-ctn"),s)),jQuery("#ctf_lightbox .ctf_instagram a").attr("href",this.album[this.currentImageIndex].url),jQuery("#ctf_lightbox .ctf_lightbox_tooltip").hide(),jQuery("#ctf_lightbox #ctf_mod_box").find("#ctf_photo_id").text(this.album[this.currentImageIndex].id),jQuery("#ctf_lightbox #ctf_facebook_icon").attr("href","https://www.facebook.com/sharer/sharer.php?u="+this.album[this.currentImageIndex].url+"&t=Text"),jQuery("#ctf_lightbox #ctf_twitter_icon").attr("href","https://twitter.com/home?status="+this.album[this.currentImageIndex].url+" "+this.album[this.currentImageIndex].title),jQuery("#ctf_lightbox #ctf_linkedin_icon").attr("href","https://www.linkedin.com/shareArticle?mini=true&url="+this.album[this.currentImageIndex].url+"&title="+this.album[this.currentImageIndex].title),jQuery("#ctf_lightbox #ctf_pinterest_icon").attr("href","https://pinterest.com/pin/create/button/?url="+this.album[this.currentImageIndex].url+"&media="+this.album[this.currentImageIndex].link+"&description="+this.album[this.currentImageIndex].title),jQuery("#ctf_lightbox #ctf_email_icon").attr("href","mailto:?subject=Twitter&body="+this.album[this.currentImageIndex].title+" "+this.album[this.currentImageIndex].url);var n=this.album[this.currentImageIndex].title;n=(n=(n=n?ctfLinkify(n):"").replace(/(^|\s)#(\w[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC+0-9]+\w)/gi,function(t){return t=t.trim(),/^#[0-9A-F]{6}$/i.test(t)?t:' <a href="https://twitter.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"})).replace(/[@]+[A-Za-z0-9-_]+/g,function(t){return' <a href="https://twitter.com/'+(t=t.replace("(","").trim()).substring(1)+'" target="_blank" rel="nofollow noopener">'+t+"</a>"});var s="";window.ctf.feeds[this.album[this.currentImageIndex].feedIndex].settings.consentGiven||(s=" ctf-lb-hide-avatar"),void 0!==n&&""!==n&&this.$lightbox.find(".ctf_lb-caption").html('<div class="ctf-author-box'+s+'"><div class="ctf-author-box-link" target="_blank" rel="nofollow noopener"><a href="https://twitter.com/'+this.album[this.currentImageIndex].user+'" class="ctf-author-avatar" target="_blank" rel="nofollow noopener" style=""><img src="'+this.album[this.currentImageIndex].avatar+'" width="48" height="48"></a><a href="https://twitter.com/'+this.album[this.currentImageIndex].user+'" target="_blank" rel="nofollow noopener" class="ctf-author-name">'+this.album[this.currentImageIndex].name+'</a><a href="https://twitter.com/'+this.album[this.currentImageIndex].user+'" class="ctf-author-screenname" target="_blank" rel="nofollow noopener">@'+this.album[this.currentImageIndex].user+'</a><span class="ctf-screename-sep">·</span><div class="ctf-tweet-meta"><a href="https://twitter.com/statuses/'+this.album[this.currentImageIndex].id+'" class="ctf-tweet-date" target="_blank" rel="nofollow noopener">'+this.album[this.currentImageIndex].date+'</a></div></div> \x3c!-- end .ctf-author-box-link --\x3e</div><div class="ctf-caption-text'+s+'">'+n+"</div>").fadeIn("fast"),this.$lightbox.find(".ctf_lb-number").text(this.options.albumLabel(this.currentImageIndex+1,this.album.length)).fadeIn("fast"),this.$outerContainer.removeClass("animating"),this.$lightbox.find(".ctf_lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return i.sizeOverlay()}),ctfSVGify(m("#ctf_lightbox")),"function"==typeof window.ctfLightboxAction&&setTimeout(function(){window.ctfLightboxAction()},100),u.afterPlayerSetup(this.$lightbox,this.album[this.currentImageIndex],this.currentImageIndex,this.album)},t.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),0<this.currentImageIndex&&((new Image).src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){h(document).on("keyup.keyboard",h.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){h(document).off(".keyboard")},t.prototype.keyboardAction=function(t){var e=event.keyCode,i=String.fromCharCode(e).toLowerCase();27===e||i.match(/x|o|c/)?(ctf_supports_video()&&m("#ctf_lightbox video.ctf_video")[0].pause(),m("#ctf_lightbox iframe").attr("src",""),this.end()):"p"===i||37===e?(0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&1<this.album.length&&this.changeImage(this.album.length-1),ctf_supports_video()&&m("#ctf_lightbox video.ctf_lb-video")[0].pause(),m("#ctf_lightbox iframe").attr("src","")):"n"!==i&&39!==e||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&1<this.album.length&&this.changeImage(0),u.afterSlideChange())},t.prototype.end=function(){this.disableKeyboardNav(),h(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),h("select, object, embed").css({visibility:"visible"})},t);function t(t){this.options=t,this.album=[],this.currentImageIndex=void 0,this.init()}function n(){this.fadeDuration=500,this.fitImagesInViewport=!0,this.resizeDuration=700,this.positionFromTop=50,this.showImageNumberLabel=!0,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1}h(function(){var t=new e;new i(t),m(".ctf_lightbox_action a").off("click").on("click",function(){m(this).parent().find(".ctf_lightbox_tooltip").toggle()})})}.call(this)},createFeeds:function(t){m("#ctf-builder-app").length||window.ctf.createLightbox(),t.whenFeedsCreated(m(".ctf").each(function(t){m(this).attr("data-ctf-index",t+1);var e,i=m(this),n=void 0!==i.attr("data-ctf-flags")?i.attr("data-ctf-flags").split(","):[],s=void 0!==i.attr("data-options")?JSON.parse(i.attr("data-options")):{};i.hasClass("ctf-masonry")?s.masonry=!0:i.hasClass("ctf-carousel")&&(e=void 0!==i.attr("data-ctf-interval")&&i.attr("data-ctf-interval"),s.carousel=[i.attr("data-ctf-arrows"),"false"!==i.attr("data-ctf-pag"),!1!==e,e,i.attr("data-ctf-loop"),i.attr("data-ctf-rows")]);s={cols:void 0!==i.attr("data-ctf-cols")?i.attr("data-ctf-cols"):3,colstablet:void 0!==i.attr("data-ctf-tabletcols")?i.attr("data-ctf-tabletcols"):2,colsmobile:void 0!==i.attr("data-ctf-mobilecols")?i.attr("data-ctf-mobilecols"):1,imageCols:i.attr("data-ctfimagecols"),maxMedia:parseInt(i.attr("data-ctfmaxmedia")),feedID:i.attr("data-feedid"),v2feed:"undefind"!=typeof i.attr("data-feed")?i.attr("data-feed"):"",postID:"undefind"!=typeof i.attr("data-postid")?i.attr("data-postid"):"unknown",shortCodeAtts:i.attr("data-ctfshortcode"),backgroundCheck:-1<n.indexOf("background"),gdpr:-1<n.indexOf("gdpr"),overrideBlockCDN:-1<n.indexOf("overrideBlockCDN"),consentGiven:!1,lightboxEnabled:!0,locator:-1<n.indexOf("locator"),autoMinRes:1,general:s};window.ctf.feeds[t]=new o(this,t,s),window.ctf.feeds[t].twitterCardHandler=new a("ctf",i),window.ctf.feeds[t].init();i=jQuery.Event("ctfafterfeedcreate");i.feed=window.ctf.feeds[t],jQuery(window).trigger(i)}))},afterFeedsCreated:function(){void 0!==window.ctf.feeds[0]&&window.ctf.feeds[0].settings.consentGiven&&window.ctf.maybeAddIntents()},encodeHTML:function(t){if(void 0===t)return"";t=t.replace(/(>)/g,"&gt;");return t=(t=(t=t.replace(/(<)/g,"&lt;")).replace(/(&lt;br\/&gt;)/g,"<br>")).replace(/(&lt;br&gt;)/g,"<br>")},urlDetect:function(t){return t.match(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)},numberFormat:function(t){return t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}},o.prototype={init:function(){var o=this,e=m(this.el);o.settings.consentGiven=o.checkConsent(),m(this.el).find("#ctf_mod_error").length&&m(this.el).prepend(m(this.el).find("#ctf_mod_error")),o.setResizedImages(),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var i,a=(i=0,function(t,e){clearTimeout(i),i=setTimeout(t,e)});jQuery(window).on("resize",function(){a(function(){o.afterResize()},500)}),e.find(".ctf-header .ctf-header-link").on("mouseenter mouseleave",function(t){switch(t.type){case"mouseenter":e.find(".ctf-header .ctf-header-img-hover").fadeIn(200);break;case"mouseleave":e.find(".ctf-header .ctf-header-img-hover").stop().fadeOut(600)}}),jQuery(".ctf-btn-show-threads").on("click",function(){let t=m(this);var e=t.data("show-thread-text"),i=t.data("hide-thread-text"),n=t.closest(".ctf-item").attr("id").replace("ctf_","");let s=jQuery('.ctf-tweet-items .ctf-threads-wrapper[data-tweet-id="'+n+'"]');t.closest(".ctf-item").toggleClass("ctf-threads-expanded");n=jQuery("#ctf").hasClass("ctf-masonry");s.hasClass("ctf-threads-expanded")?(s.removeClass("ctf-threads-expanded"),t.html(e),n?(s.hide(),a(function(){o.afterResize()},200)):s.slideUp()):(s.addClass("ctf-threads-expanded"),t.html(i),n?(s.show(),a(function(){o.afterResize()},200)):s.slideDown())})},initLayout:function(){var r,t,e,i,n,s,o,a,c,u=m(this.el),h=this,l=h.settings.general.cols,d=h.settings.colstablet,f=h.settings.colsmobile,p="list";h.isInitialized=!0,void 0!==h.settings.general.masonry?p="masonry":void 0!==h.settings.general.carousel&&(p="carousel",h.isInitialized=!1),"masonry"===(this.layout=p)?(u.hasClass("ctf-mobcol-auto")?((n=2)!=parseInt(l)&&(s=1),2==parseInt(l)&&(s=2)):s=f,this.settings.autoMinRes=320,u.find(".ctf-tweet-items").data("smashotope")&&u.find(".ctf-tweet-items").smashotope("layout"),this.isotopeArgs={itemSelector:".ctf-item",layoutMode:"packery",transitionDuration:0,resizable:!1}):"carousel"===p&&(l=this.settings.cols,f=this.settings.colsmobile,u.find(".ctf-tweet-items").append(u.find(".ctf-more")),a=u.find(".ctf-item").last().attr("id"),u.find(".ctf-more").attr("data-ctf-last",a),u.find(".ctf-tweet-items").addClass("ctf-carousel"),u.find(".ctf_load_btn").remove(),u.find(".ctf-item").css({"padding-top":h.settings.general.itemspacing,"padding-right":h.settings.general.itemspacing,"padding-bottom":h.settings.general.itemspacing,"padding-left":h.settings.general.itemspacing}),u.find(".ctf-item").each(function(){void 0!==m(this).attr("style")&&m(this).attr("style",m(this).attr("style").replace("padding: "+u.find(".ctf-tweet-items").css("padding-top"),"padding: "+u.find(".ctf-tweet-items").css("padding-top")+" !important"))}),r=h.settings.general.carousel[0],t=h.settings.general.carousel[1],o=h.settings.general.carousel[2],g=h.settings.general.carousel[3],e=h.settings.general.carousel[4],a=h.settings.general.carousel[5],rewind=!1,"none"!==e?(c=!0,"rewind"===e&&(c=!(rewind=!0))):c=!1,i=u.attr("data-ctf-height").replace("'",""),o||(g=!1),s=n=l,o=!1!==g,a=2==a,u.hasClass("ctf-mob-col-auto")?((n=2)!=parseInt(l)&&(s=1),2==parseInt(l)&&(s=2)):(s=f,n=d),h.carouselArgs={items:l,loop:c,rewind:rewind,autoplay:o,autoplayHoverPause:!0,nav:!0,dots:t,owl2row:a,responsive:{0:{items:s},480:{items:n},640:{items:l}},onChange:function(){"clickexpand"!==i||u.find(".ctf-carousel-height-change").length||v(u,h)},onInitialize:function(){var a=jQuery(h.el);a.find(".ctf-tweet-items.ctf-carousel").fadeIn(10,function(){"clickexpand"===i&&v(a,h)}),setTimeout(function(){a.find(".ctf-tweet-items.ctf-carousel .ctf-info, .ctf-owl2row-item,.ctf-tweet-items.ctf-carousel").fadeIn()},10),setTimeout(function(){var t,e,i,n,s,o=a.find(".ctf-owl-nav");"onhover"===r?(o.addClass("onhover").hide(),a.on({mouseenter:function(){o.fadeIn()},mouseleave:function(){o.fadeOut()}})):"below"===r?(t=a.find(".ctf-owl-dots"),e=a.find(".ctf-owl-prev"),i=a.find(".ctf-owl-next"),n=a.find(".ctf-owl-nav"),s=(s=a.find(".ctf-owl-dot")).length*s.innerWidth(),a.innerWidth(),e.after(t),n.css("position","relative"),i.css("position","absolute").css("top","-6px").css("right",Math.max(.5*n.innerWidth()-.5*s-i.innerWidth()-6,0)),e.css("position","absolute").css("top","-6px").css("left",Math.max(.5*n.innerWidth()-.5*s-e.innerWidth()-6,0))):"hide"===r&&o.addClass("hide").hide()},10)}},"true"==u.attr("data-ctf-navarrows")?h.carouselArgs.navText=['<svg class="svg-inline--fa fa-chevron-left fa-w-10" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="chevron-left" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"></path></svg>','<svg class="svg-inline--fa fa-chevron-right fa-w-10" aria-hidden="true" data-fa-processed="" data-prefix="fa" data-icon="chevron-right" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>']:h.carouselArgs.nav=!1,g&&(h.carouselArgs.autoplayTimeout=Math.max(g,2e3)),"auto"===i&&(h.carouselArgs.autoHeight=!0,h.carouselArgs.items=1,h.carouselArgs.responsive={0:{items:1},480:{items:1},640:{items:1}}));var g=jQuery.Event("ctfafterlayoutinit");g.feed=this,jQuery(window).trigger(g),"masonry"===p&&(h.setMasonry(),h.smashotopeInit(),setTimeout(function(){h.setMasonry(),h.smashotopeInit()},10)),jQuery("body").find(".ctf-tweet-media > video").bind("play",function(){jQuery("body").find(".ctf-tweet-media > video").not(this).trigger("pause")})},setResizedImages:function(){var t,i=this;!m(this.el).find(".ctf-resized-image-data").length||void 0===m(this.el).find(".ctf-resized-image-data").attr("data-resized")||0!==m(this.el).find(".ctf-resized-image-data").attr("data-resized").indexOf('{"')&&0!==m(this.el).find(".ctf-resized-image-data").attr("data-resized").indexOf("[")?this.resizedImages={}:(t=JSON.parse(m(this.el).find(".ctf-resized-image-data").attr("data-resized")),m.each(t,function(t,e){i.resizedImages[e.twitter_id]={id:e.media_id,sizes:JSON.parse(e.sizes),aspect:e.aspect_ratio}})),m(this.el).find(".ctf-resized-image-data").remove()},afterInitialImagesLoaded:function(){var t,e=this;this.initLayout(),this.loadMoreButtonInit(),this.beforeNewImagesRevealed(),this.sizeItems(),this.maybeRaiseImageResolution(!0),this.revealNewImages(),this.afterNewImagesRevealed(),this.afterFeedSet(),m(this.el).hasClass("ctf-autoscroll")&&(t=m(this.el),setTimeout(function(){e.bindAutoScroll(t),h=0},1500)),m(this.el).find(".ctf-item").each(function(){e.lazyLoadCheck(m(this))}),this.settings.consentGiven&&this.addFullFeatures()},afterResize:function(){var t;this.setImageHeight(),this.setImageSizeClass(),this.sizeItems(),this.maybeRaiseImageResolution(),this.twitterCardHandler.maybeRaiseResolution(),"masonry"===this.layout&&(t=this,setTimeout(function(){t.setMasonry(),t.smashotopeInit()},11),setTimeout(function(){t.setMasonry(),t.smashotopeInit()},200))},afterLoadMoreClicked:function(t){t.addClass("ctf-loading").append('<div class="ctf-loader"></div>'),t.find(".ctf-loader").css("background-color",t.css("color")),t.closest(".ctf").find(".ctf-num-diff-hide").addClass("ctf-transition").removeClass("ctf-num-diff-hide")},afterNewImagesLoaded:function(){var t=m(this.el),e=this;this.setResizedImages(),this.beforeNewImagesRevealed(),this.sizeItems(),"carousel"!==e.layout&&this.maybeRaiseImageResolution(!0),this.revealNewImages(),this.afterNewImagesRevealed(),this.settings.consentGiven&&this.addFullFeatures(),setTimeout(function(){t.find(".ctf_loader").addClass("ctf_hidden"),t.find(".ctf_btn_text").removeClass("ctf_hidden"),e.maybeRaiseImageResolution(),e.setImageHeight()},10)},beforeNewImagesRevealed:function(){var t=this;t.settings.consentGiven||m(t.el).find(".ctf-hide-avatar").length&&!m(t.el).find(".ctf-hide-avatar.ctf-no-consent").length||(t.settings.overrideBlockCDN?(m(t.el).find(".ctf-item.ctf-no-consent").removeClass("ctf-hide-avatar"),m(t.el).find(".ctf-author-avatar").each(function(){m(this).find("img").attr("src",m(this).find("img").attr("data-avatar"))})):m(t.el).find(".ctf-item").addClass("ctf-hide-avatar ctf-no-consent")),ctfSVGify(m(this.el)),this.setImageSizeClass()},afterFeedSet:function(){var i,t;void 0!==this.carouselArgs&&(t=m((i=this).el).attr("data-ctf-height").replace("'",""),i.isInitialized=!0,this.initCarousel(),"clickexpand"===t&&setTimeout(function(){var t,e;t=m(i.el),e=void 0!==(e=i).settings.expanded&&e.settings.expanded,minHeight=parseInt(t.find(".ctf-owl-item").eq(0).outerHeight()),t.find(".ctf-owl-item").each(function(){var t;m(this).find(".ctf-more").length||(t=parseInt(m(this).outerHeight()),minHeight=minHeight<=t?minHeight:t)}),e?t.find(".ctf-owl-stage-outer").css("height","auto"):t.find(".ctf-owl-stage-outer").css("height",minHeight+"px")},1e3))},initCarousel:function(){var e=this,i=m(e.el);i.find(".ctf-more").attr("data-ctf-last",i.find(".ctf-item").last().attr("id")),i.find(".ctf-carousel-height-change").remove(),m(e.el).find(".ctf-carousel").ctfOwlCarousel(e.carouselArgs),m(e.el).show(),2===parseInt(e.settings.general.carousel[5])&&m(e.el).addClass("ctf-carousel-2-row"),setTimeout(function(){var t=parseInt(i.find(".ctf-owl-stage-outer").eq(0).outerHeight())-parseInt(i.find(".ctf-more span").eq(0).outerHeight());i.find(".ctf-more").css("padding-top",t/2+"px").css("padding-bottom",t/2+"px"),i.is(":hover")&&(i.find(".ctf-owl-nav").show(),i.trigger("mouseenter").trigger("mouseover")),e.afterResize()},501),setTimeout(function(){e.afterResize()},510)},processNewImage:function(t){var e=this;t.find("img").each(function(){m(this).prop("complete")||(e.imagesWaiting++,m(this).addClass("ctf-image-loading").on("load",function(){m(this).removeClass("ctf-image-loading"),e.imagesWaiting--,e.imagesWaiting<1&&e.afterResize()}),m(this).on("error",function(){m(this).removeClass("ctf-image-loading"),e.imagesWaiting--,e.imagesWaiting<1&&e.afterResize()}))})},sizeItems:function(){var s,o,a,t=m(this.el),e=this.settings.imageCols,i=!("auto"!==e&&!t.hasClass("ctf-narrow")),n=t.find(".ctf-tweet-media-masonry");i||(n=t.find(".ctf-tweet-media")),n.length&&(parseInt(n.innerWidth()),s=this.settings.maxMedia,a=!(o=50),"auto"===e?a=!0:o=100/e,n.each(function(t){var e,i=m(this),n=i.find("a").length;Math.min(n,s);i.find("a").slice(s).hide(),a?2!==n?(e=(n-1)/n,i.find("a").css({width:100/(n-1)-e+"%",margin:"0 1% 0 0"}),i.find("a").first().css({width:"100%","max-width":"100%",margin:"0 auto 1%"}),2<n&&(i.find("a").last().css({width:100/(n-1)-1+"%",margin:"0"}),i.find("img").css({width:"100%"}),n=[700],i.find("img").length&&void 0!==i.find("img").first().attr("data-ctfsizes")&&(n=i.find("img").first().attr("data-ctfsizes").split(",")),n[n.length-1]<i.find("a").first().width()?i.find("img").first().css({width:"auto",float:"none",margin:"auto","box-shadow":"none",display:"block"}):i.find("img").first().css({width:"100%"}),0<t&&(void 0===i.ctf_imgLiquid&&ctfAddImgLiquid(),i.find("a").each(function(t){0<t&&(m(this).css("height",i.find("a").last().width()),m(this).ctf_imgLiquid({fill:!0}))})))):(i.find("a").css({width:"49.5%","margin-right":"0"}),i.find("a").first().css({width:"49.5%","margin-right":"1%"}),i.find("img").css({width:"100%"})):i.find("a").css("max-width",o-1+"%").css("margin","0 1% 0 0")}))},initShowMore:function(t){var e=this;m(this.el).find(".ctf_more").off("click").on("click",function(t){t.preventDefault(),m(this).hide().next(".ctf_remaining").show(),e.afterResize()})},revealNewImages:function(){var u=m(this.el),h=this;this.applyImageLiquid(),"function"==typeof window.ctf_custom_js&&setTimeout(function(){window.ctf_custom_js()},100),u.find(".ctf-screenreader").find("img").remove(),u.find(".ctf-item.ctf-new").each(function(t){var e=u,i=m(this),n=i.find(".ctf-tweet-text"),s=" "+n.html(),o=e.attr("data-ctflinktextcolor"),a="",r=m(this).find(".ctf-tweet-media a").length,c=h.settings.maxMedia;Math.min(r,c);i.find(".ctf-twitter-card-placeholder").length&&(r=i.find(".ctf-twitter-card-placeholder").attr("data-tweet-id"),c=i.find(".ctf-twitter-card-placeholder").attr("data-tc-url"),i.find("iframe").length?(i.find(".ctf-twitter-card-placeholder").remove(),i.find(".ctf-tweet-text").find('a[href^="'+c+'"]').remove(),i.find(".ctf-tweet-text").html(i.find(".ctf-tweet-text").html().replace(c,""))):h.itemsToCheck.cards.push({id:r,url:c})),o&&(a=o.replace(";","").split("#")[1]),n.find(".ctf_remaining").html(" "+n.find(".ctf_remaining").html()),n.find("a").length===n.find(".ctf_more").length&&(n.find(".emoji").each(function(){m(this).replaceWith(m(this).attr("alt"))}),s=" "+n.html(),s=ctfLinkify(s)),"true"==e.attr("data-ctfdisablelinks")||void 0===s||e.find(".ctf-tweet-text-link").length||(0<s.length&&(s=(s=s.replace(/<br>/g,"<br> ")).replace(ctfHashRegex,ctfHashReplacer)),s=s.replace(/[\s|(][@]+[A-Za-z0-9-_]+/g,ctfReplaceTags),n.find(".ctf_remaining").length&&0===n.find(".ctf_remaining").html().indexOf(" ")&&n.find(".ctf_remaining").html(n.find(".ctf_remaining").html().replace(" ","")),n.html(s.trim()),n.find("a").css("color","#"+a),i.find(".ctf-twitter-card").css("color",n.css("color"))),i.find(".ctf-tweet-text a").each(function(){-1<jQuery(this).text().indexOf("http")&&63<jQuery(this).text().length&&jQuery(this).text(jQuery(this).text().substring(0,60)+"...")}),i.find(".ctf-tweet-content:not(.ctf-disable-lightbox) .ctf-tweet-media a").on({mouseenter:function(){m(this).find(".ctf-photo-hover").fadeIn(150)},mouseleave:function(){m(this).find(".ctf-photo-hover").stop().fadeOut(500)}}),e.find(".ctf-author-name, .ctf-tweet-date, .ctf-author-screenname, .ctf-twitterlink, .ctf-author-box-link, .ctf-quoted-tweet, .ctf-context a").css("color",e.find(".ctf-tweet-text").css("color")),h.alignTweetActions(u),h.initShowMore(u),h.twitterCardHandler.handleImageError(u),h.settings.lightboxEnabled&&(u.find(".ctf-lightbox-hover").attr("data-ctf-lightbox",h.index),u.hasClass("ctf-youtube-item")&&u.find(".ctf-lightbox-hover").attr("href",l.options.lightboxPlaceholder)),h.afterItemRevealed(u),u.find('.ctf-tweet-broadcast a[data-disabled-lightbox="true"]').on("click",function(t){t.preventDefault();let e=m(this),i=e.closest(".ctf-tweet-broadcast").get(0),n=e.attr("data-broadcast-url");void 0!==i&&d(i,n,!0)}),u.find(".ctf-item-share a").on("click",function(){var e,t=m(this);t.hasClass("ctf-open")?(u.find(".ctf-share-popup").remove(),t.removeClass("ctf-open")):(m(this).before(ctfShareHTML(u)),t.addClass("ctf-open"),e=0,u.find(".ctf-share-popup").find("a").each(function(){var t=jQuery(this);setTimeout(function(){t.addClass("ctf-show")},e),e+=20}))}),m(document).on("click",function(){jQuery(".ctf-share-popup").remove(),jQuery(".ctf-item-share a").removeClass("ctf-open")}),m(".ctf-item-share a").on("click",function(t){return t.stopPropagation(),!1})}),layoutDelay=0,"masonry"===h.layout&&(h.afterResize(),layoutDelay=400),u.find(".ctf-item.ctf-new").removeClass("ctf-new"),setTimeout(function(){"masonry"===h.layout&&(h.setMasonry(),h.smashotopeInit());var i=10;u.find(".ctf-transition").length;u.find(".ctf-transition").each(function(t){var e=jQuery(this);setTimeout(function(){e.removeClass("ctf-transition")},i),i+=10})},layoutDelay),setTimeout(function(){"masonry"===h.layout&&(h.setMasonry(),h.smashotopeInit())},15),setTimeout(function(){"masonry"===h.layout&&(h.setMasonry(),h.smashotopeInit())},20)},alignTweetActions:function(t){},afterItemRevealed:function(){},getMaxResImage:function(t){var i=0,n=!1;return m.each(t,function(t,e){i<t&&(i=t,n=e)}),n},lazyLoadCheck:function(t){var n=this,s=n.getImageUrls(t);t.find(".ctf-tweet-media img").length&&!t.closest(".ctf").hasClass("ctf-no-ll-check")&&t.find(".ctf-tweet-media img").each(function(t){var i=void 0!==m(this).attr("data-full-image")?m(this).attr("data-full-image"):m(this).closest("a").attr("href");i&&void 0!==m(this).attr("data-src")&&m(this).attr("data-src",i),i&&void 0!==m(this).attr("data-bg")&&m(this).attr("data-bg",i),i&&void 0!==m(this).attr("data-orig-src")&&m(this).attr("data-orig-src",i),n.settings.consentGiven||n.settings.overrideBlockCDN||(i=!1)&&-1<i.indexOf("twimg.")&&void 0!==s[t]&&(i=!1,jQuery.each(s[t],function(t,e){i=n.getMaxResImage(s)})),m(this).on("load",function(){n.isInitialized&&!m(this).hasClass("ctf-replaced")&&-1<m(this).attr("src").indexOf("placeholder")&&(m(this).closest(".ctf-tweet-media").attr("data-current",1e3),m(this).addClass("ctf-replaced"),i&&(m(this).attr("src",i),m(this).closest(".ctf_imgLiquid_bgSize").length&&m(this).closest(".ctf_imgLiquid_bgSize").css("background-image","url("+i+")")))})}),t.find(".ctf-tc-image img").length&&!t.closest(".ctf").hasClass("ctf-no-ll-check")&&t.find(".ctf-tc-image img").each(function(){var t=void 0!==m(this).attr("data-src")&&m(this).attr("data-src");t&&void 0!==m(this).attr("data-src")&&m(this).attr("data-src",t),t&&void 0!==m(this).attr("data-bg")&&m(this).attr("data-bg",t),t&&void 0!==m(this).attr("data-orig-src")&&m(this).attr("data-orig-src",t),t&&m(this).closest(".ctf_imgLiquid_bgSize").length&&m(this).closest(".ctf_imgLiquid_bgSize").css("background-image","url("+t+")")})},afterNewImagesRevealed:function(){var t=this;this.listenForVisibilityChange(),this.settings.imageLoadEnabled||m(".ctf_no_resraise").removeClass("ctf_no_resraise"),"carousel"!==t.layout?this.sendDataForBackgroundProcesses():setTimeout(function(){t.sendDataForBackgroundProcesses()},1e3);var e=m.Event("ctfafterimagesloaded");e.el=m(this.el),m(window).trigger(e)},sendDataForBackgroundProcesses:function(){var n=this;(0<n.itemsToCheck.cards.length||0<n.itemsToCheck.resize.length)&&u({action:"ctf_background_processing",feed_id:void 0!==n.settings.feedID?n.settings.feedID:"ctf_single",atts:n.settings.shortCodeAtts,location:n.locationGuess(),post_id:n.settings.postID,offset:m(this.el).find(".ctf-item").length,cards:n.itemsToCheck.cards,needs_resizing:n.itemsToCheck.resize},function(t){if(0===t.trim().indexOf("{")){t=JSON.parse(t);if(n.settings.debugEnabled&&console.log(t),n.afterBackgroundProcessing(t),void 0!==t.resizing){var e,i=t.resizing;for(e in i)i.hasOwnProperty(e)&&(n.resizedImages[e]=i[e]);n.maybeRaiseImageResolution(),setTimeout(function(){n.afterResize()},50)}}})},afterBackgroundProcessing:function(n){var s=this;m(this.el).find(".ctf-item").each(function(){var t=m(this),e=t.find(".ctf-twitter-card-placeholder"),i=e.attr("data-tweet-id");e.attr("data-tc-url");void 0!==n[i]&&void 0!==n[i]&&(""!==n[i].html&&s.twitterCardHandler.addNewCard(t,n[i],s),e.remove()),s.processNewImage(t)}),s.afterResize(),this.itemsToCheck={cards:[],resize:[]}},loadMoreButtonInit:function(){var s=m(this.el),o=this,a=parseInt(s.attr("data-ctfneeded"));setTimeout(function(){var t,e,i,n;0<a&&(t=s.find(".ctf-more"),e=s.find(".ctf-item").last().attr("id").replace("ctf_",""),i=s.find(".ctf-item").length,n=s.attr("data-ctfshortcode"),o.ctfLoadTweets(e,n,s,t,a,i,!0))},50),s.find(".ctf-more").on("click",function(){var t=m(this),e=s.find(".ctf-item").last().attr("id").replace("ctf_",""),i=s.find(".ctf-item").length,n=s.attr("data-ctfshortcode");s.hasClass("ctf-carousel")&&(e=s.find(".ctf-more").attr("data-ctf-last").replace("ctf_","")),o.ctfLoadTweets(e,n,s,t,0,i,!1)})},ctfLoadTweets:function(s,t,o,a,e,i,r){var c=this;m(this.el);a.addClass("ctf-loading").append('<div class="ctf-loader"></div>'),a.find(".ctf-loader").css("background-color",a.css("color"));u({action:"ctf_get_more_posts",last_id_data:s,shortcode_data:t,feed_id:c.settings.feedID,v2feed:c.settings.v2feed,location:c.locationGuess(),post_id:c.settings.postID,num_needed:e,persistent_index:i},function(t){var e,i,n;""!==s?(o.hasClass("ctf-carousel")&&(e=o.attr("data-ctf-loop"),n=0-(i=parseInt(o.attr("data-ctf-cols"))),"none"===e||"rewind"===e?n=o.find(".ctf-owl-item").index(o.find(".ctf-owl-item.active").last())-i+1:"infinite"===e&&(n=(o.find(".ctf-owl-item").index(o.find(".ctf-owl-item.cloned").last())-i+1)/2,1===i?--n:2===i&&(n-=2),n=Math.ceil(n)),o.find(".ctf-tweet-items").ctfOwlCarousel("destroy"),o.find(".ctf-carousel-more").remove(),r&&(n=0)),-1==t.indexOf("<meta charset")&&(c.appendNewPosts(t,"all"),c.settings.ajaxPostLoad?(c.settings.ajaxPostLoad=!1,c.afterInitialImagesLoaded()):c.afterNewImagesLoaded()),o.find(".ctf-out-of-tweets").length&&(a.hide(),o.find(".ctf-out-of-tweets p").eq(0).fadeIn().end().eq(1).delay(500).fadeIn(),o.find(".ctf-tweet-items").after(o.find(".ctf-out-of-tweets")),o.hasClass("ctf-carousel")&&(o.find(".ctf-more").after(o.find(".ctf-out-of-tweets")),a.remove()))):(c.appendNewPosts(t,"all"),c.settings.ajaxPostLoad?(c.settings.ajaxPostLoad=!1,c.afterInitialImagesLoaded()):c.afterNewImagesLoaded()),a.removeClass("ctf-loading").find(".ctf-loader").remove(),o.hasClass("ctf-carousel")?(0<n&&(c.carouselArgs.startPosition=n),c.initCarousel()):o.hasClass("ctf-autoscroll")&&setTimeout(function(){c.bindAutoScroll(o),h=0},1500)})},getNewPostSet:function(){},appendNewPosts:function(t,e){var i=m(this.el);i.find(".ctf-tweet-items .ctf-item").length?i.find(".ctf-tweet-items .ctf-item").last().after(t):i.find(".ctf-tweet-items").append(t),"masonry"===this.layout&&this.appendSmashotope()},getNeededRes:function(t,e,i){return 0!==e||2===i||t.hasClass("ctf-tc-image")?t.innerWidth():t.closest(".ctf-tweet-media").length?t.closest(".ctf-tweet-media").innerWidth():t.closest(".ctf-quoted-media-wrap").length?t.closest(".ctf-quoted-media-wrap").innerWidth():void 0},maybeRaiseSingleImageResolution:function(r,t){var c,u=this,e=r.find(".ctf-tweet-media a").length?r.find(".ctf-tweet-media a"):r.find(".ctf-quoted-media-wrap a"),h=r.attr("id").replace("ctf_","");e.length||(r.find(".ctf-quoted-media-wrap img").length?r.find(".ctf-quoted-media-wrap .ctf-tc-image").length?e=r.find(".ctf-quoted-media-wrap .ctf-tc-image"):void 0!==r.find(".ctf-quoted-media-wrap").attr("data-available-images")&&(e=r.find(".ctf-quoted-media-wrap")):void 0!==r.find(".ctf-tweet-media").attr("data-available-images")&&(e=r.find(".ctf-tweet-media"))),e.find("img").length&&(c=u.getImageUrls(r),e.each(function(i){var n,s,o=m(this),a=m(this).find("img"),t=void 0!==a.attr("data-full-image")?a.attr("data-full-image"):a.closest("a").attr("href");sizesArr=void 0!==a.attr("data-ctfsizes")?a.attr("data-ctfsizes").split(","):"default",currentUrl=a.attr("src"),currentRes=void 0===a.attr("data-current")?0:parseInt(a.attr("data-current")),neededRes=u.getNeededRes(o,i,e.length),forceChange="undefined"!=typeof forceChange&&forceChange,void(changeToRes=0)!==u.resizedImages[h]||u.settings.consentGiven||u.settings.overrideBlockCDN?"full"!==sizesArr[0]&&(currentRes<neededRes&&(n=!1,s=t,void 0!==c&&m.each(c[i],function(t,e){var i=parseInt(t);!n&&i>=currentRes&&(changeToRes=parseInt(t),currentRes=changeToRes,changeToRes>=neededRes&&(n=!0),s=e),u.settings.consentGiven?u.settings.consentGiven&&u.settings.gdpr&&1===r.find(".ctf-lightbox-link[data-bg-image]").length&&r.find(".ctf-lightbox-link[data-bg-image]").css("background-image",'url("'+e+'")'):(r.find(".ctf-lightbox-link[data-bg-image]").length&&r.find(".ctf-lightbox-link[data-bg-image]").css("background-image",'url("'+e+'")'),o.attr("href",e))})),void 0!==s&&s!==currentUrl&&(u.settings.debugEnabled&&(t=currentUrl===u.placeholderURL?"was placeholder":"too small",console.log("rais res for "+currentUrl,t)),a.attr("data-current",currentRes),void 0!==s&&s!==currentUrl&&(a.attr("src",s),u.settings.consentGiven&&a.closest(".ctf-lightbox-link[data-bg-image]").length&&a.closest(".ctf-lightbox-link[data-bg-image]").css("background-image",'url("'+s+'")'),u.processNewImage(o),currentRes<700&&a.closest(".ctf_imgLiquid_ready").length&&!a.closest(".ctf_imgLiquid_ready").hasClass("ctf-secondary-check")&&(a.closest(".ctf_imgLiquid_ready").addClass("ctf-secondary-check"),a.on("load",function(){var t,e;m(this).hasClass("ctf-secondary-checked")||(m(this).addClass("ctf-secondary-checked"),t=(e=a.get(0)).naturalHeight,e=e.naturalWidth/e.naturalHeight,a.innerWidth()>t&&(neededRes*=e,parseInt(currentRes)<neededRes&&(n=!1,jQuery.each(c[i],function(t,e){!n&&t>currentRes&&(changeToRes=t)>=neededRes&&(n=!0)}),changeToRes&&(a.attr("data-current",changeToRes),(e=c[i][changeToRes])!==currentUrl&&(a.attr("src",e),a.closest(".ctf_imgLiquid_ready").length&&(a.closest(".ctf_imgLiquid_ready").css("background-image",'url("'+e+'")'),a.closest(".ctf_imgLiquid_ready").ctf_imgLiquid({fill:!0})))))))}))))):o.attr("href",u.placeholderURL)}),e.find("img").on("error",function(){m(this).hasClass("ctf-img-error")?console.log("unfixed error "+m(this).attr("src")):(m(this).addClass("ctf-img-error"),setTimeout(function(){u.afterResize()},1500))}))},maybeRaiseImageResolution:function(t){var e=this,t=void 0!==t&&!0===t?".ctf-item.ctf-new":".ctf-item";e.isInitialized&&m(e.el).find(t).each(function(t){m(this).hasClass("ctf-num-diff-hide")||!m(this).find(".ctf-tweet-media").length&&!m(this).find(".ctf-quoted-media-wrap").length||e.maybeRaiseSingleImageResolution(m(this),t)})},getImageUrls:function(t){if($mediaItem=t.find(".ctf-tweet-media").length?t.find(".ctf-tweet-media"):t.find(".ctf-quoted-media-wrap"),!$mediaItem.length)return[];var n=this,e=void 0!==$mediaItem.attr("data-available-images")?JSON.parse($mediaItem.attr("data-available-images").replace(/\\\//g,"/")):void 0,i=(void 0!==e&&e[0],e),s=t.attr("id").replace("ctf_","");this.settings.consentGiven||n.settings.overrideBlockCDN||jQuery.each(i,function(t,e){i[t]={}});var o=i;return void 0!==n.resizedImages[s]&&"pending"!==n.resizedImages[s].id&&"error"!==n.resizedImages[s].id?jQuery.each(i,function(i,t){o[i]={};var e=JSON.parse($mediaItem.attr("data-available-images").replace(/\\\//g,"/"));n.settings.consentGiven&&!n.settings.overrideBlockCDN&&jQuery.each(e[i],function(t,e){(700<t||t<220)&&(o[i][t]=e)}),jQuery.each(n.resizedImages[s].sizes,function(t,e){o[i][e]=window.ctfOptions.resized_url+n.resizedImages[s].id+"-"+i+"-"+e+".jpg"})}):(void 0===this.resizedImages[s]||void 0!==this.resizedImages[s].id&&"pending"!==this.resizedImages[s].id&&"error"!==this.resizedImages[s].id)&&n.addToNeedsResizing(s),o},addToNeedsResizing:function(t){this.resizingDisabled||-1!==this.itemsToCheck.resize.indexOf(t)||this.itemsToCheck.resize.push(t)},setImageHeight:function(){"masonry"===this.layout&&(this.setMasonry(),this.smashotopeInit(),feed=this,setTimeout(function(){feed.setMasonry(),feed.smashotopeInit()},50))},setImageSizeClass:function(){var t=m(this.el),e=t.find(".ctf-item").first().width();e<=480&&t.addClass("ctf-narrow"),e<=320&&t.addClass("ctf-super-narrow"),480<e&&t.removeClass("ctf-narrow ctf-super-narrow"),this.twitterCardHandler.setSize(e)},applyImageLiquid:function(){var t=m(this.el);ctfAddImgLiquid(),"function"==typeof t.find(".ctf-tc-image").ctf_imgLiquid&&t.find(".ctf-tc-image").length&&t.find(".ctf-tc-image").ctf_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var i,n,s;i=jQuery,n={callback:function(){},runOnLoad:!0,frequency:100,ctfPreviousVisibility:null},s={ctfCheckVisibility:function(t,e){var i,n;jQuery.contains(document,t[0])&&(i=e.ctfPreviousVisibility,n=t.is(":visible"),e.ctfPreviousVisibility=n,null==i?e.runOnLoad&&e.callback(t,n):i!==n&&e.callback(t,n),setTimeout(function(){s.ctfCheckVisibility(t,e)},e.frequency))}},i.fn.ctfVisibilityChanged=function(t){var e=i.extend({},n,t);return this.each(function(){s.ctfCheckVisibility(i(this),e)})},"function"==typeof m(this.el).filter(":hidden").ctfVisibilityChanged&&m(this.el).filter(":hidden").ctfVisibilityChanged({callback:function(t,e){},runOnLoad:!1})},getColumnCount:function(){var t=m(this.el),e=this.settings.cols,i=this.settings.colstablet,n=this.settings.colsmobile,s=e,o=window.innerWidth;return t.hasClass("ctf-mobcol-auto")?o<640&&480<o?s=2:o<=480&&(s=1):s=480<o&&o<=980?i:o<=480?n:e,parseInt(s)},smashotopeInit:function(){var t=m(this.el),t=t.find(".ctf-items-wrap-current").length?t.find(".ctf-items-wrap-current"):t.find(".ctf-tweet-items");this.isotopeArgs.masonry={columnWidth:".ctf-item"},t.smashotope(this.isotopeArgs)},setMasonry:function(){var t=m(this.el),e=t.innerWidth(),i=parseInt(t.find(".ctf-tweet-items").outerWidth()-t.find(".ctf-tweet-items").width())/2,n=this.getColumnCount(),s=(e-i*(n+2))/n,o=(t.find(".ctf-tweet-items").css("padding").indexOf("."),t.hasClass("ctf-fixed-height")?Math.floor(20/n):0);t.find(".ctf-item").each(function(t){m(this).css({width:s-i-10-o+"px"})})},appendSmashotope:function(){$self=m(this.el),$self.find(".ctf-tweet-items").data("smashotope")&&$self.find(".ctf-tweet-items").smashotope("appended",m(".ctf-new"))},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;var t;void 0!==window.WPConsent?this.settings.consentGiven=window.WPConsent.hasConsent("marketing"):void 0!==window.cookieyes?void 0!==window.cookieyes._ckyConsentStore.get&&(this.settings.consentGiven="yes"===window.cookieyes._ckyConsentStore.get("functional")):"undefined"!=typeof CLI_Cookie?null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&("null"!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),"null"!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(this.settings.consentGiven="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary"))):void 0!==window.cnArgs?2===(t=("; "+document.cookie).split("; cookie_notice_accepted=")).length&&(t=t.pop().split(";").shift(),this.settings.consentGiven="true"===t):void 0!==window.complianz?this.settings.consentGiven="allow"===i("cmplz_marketing"):void 0!==window.cookieconsent?this.settings.consentGiven="allow"===i("cmplz_consent_status")||jQuery("body").hasClass("cmplz-status-marketing"):void 0!==window.Cookiebot?this.settings.consentGiven=Cookiebot.consented:void 0!==window.BorlabsCookie?this.settings.consentGiven=window.BorlabsCookie.checkCookieConsent("twitter"):i("moove_gdpr_popup")&&(e=JSON.parse(decodeURIComponent(i("moove_gdpr_popup"))),this.settings.consentGiven=void 0!==e.thirdparty&&"1"===e.thirdparty);var e=jQuery.Event("ctfcheckconsent");return e.feed=this,jQuery(window).trigger(e),this.settings.consentGiven},afterConsentToggled:function(){var t;this.checkConsent()&&((t=this).addFullFeatures(),t.maybeRaiseImageResolution(),setTimeout(function(){t.afterResize()},500))},addFullFeatures:function(){var t=this;window.ctf.maybeAddIntents(),m(t.el).find(".ctf-item.ctf-no-consent").removeClass("ctf-hide-avatar"),m(t.el).find(".ctf-author-avatar").each(function(){m(this).find("img").attr("src",m(this).find("img").attr("data-avatar"))}),m(t.el).find(".ctf-iframe-placeholder").each(function(){m(this).replaceWith('<iframe src="'+m(this).attr("data-ctf-url")+'" type="text/html" allowFullScreen frameBorder="0" title="Twitter Feed Media" webkitAllowFullScreen mozallowfullscreen></iframe>')}),m(t.el).find(".ctf-disable-lightbox .ctf-video-thumb").each(function(){void 0!==m(this).attr("data-video-src")&&m(this).replaceWith("<video "+m(this).attr("data-video-atts")+' src="'+m(this).attr("data-video-src")+'" type="video/mp4" poster="'+m(this).attr("data-video-poster")+'">')}),m(t.el).find(".ctf-video-thumb.ctf-thum-type-animated_gif").each(function(){void 0!==m(this).attr("data-video-src")&&m(this).replaceWith("<video "+m(this).attr("data-video-atts")+' src="'+m(this).attr("data-video-src")+'" type="video/mp4" poster="'+m(this).attr("data-video-poster")+'">')}),m(t.el).find(".ctf-tc-image").each(function(){m(this).find("img").attr("src")!==m(this).attr("data-bg")&&m(this).find("img").attr("src",m(this).attr("data-bg"))}),m(t.el).find(".ctf-tweet-media").each(function(){var t,e=m(this);m(this).find("img").length&&-1<m(this).find("img").attr("src").indexOf("img/placeholder.png")&&void 0!==m(this).find("img").first().attr("data-full-image")&&(t=m(this).find("img").first().attr("data-full-image"),m(this).find("img").first().attr("src",t),m(this).find("a").first().css("background-image",'url("'+t+'")').attr("data-bg",t)),1<e.find(".ctf-image").length&&e.find(".ctf-image").each(function(t){0<t&&m(this).find("img").length&&-1<m(this).find("img").attr("src").indexOf("img/placeholder.png")&&void 0!==m(this).find("img").first().attr("data-full-image")&&(t=m(this).find("img").first().attr("data-full-image"),m(this).find("img").first().attr("src",t).css("opacity",1),m(this).find("a").first().css("background-image",'url("'+t+'")').attr("data-bg",t))}),m(this).find("video").length&&""===m(this).find("video").attr("src")&&void 0!==m(this).find("video").attr("data-src")&&m(this).find("video").attr("src",m(this).find("video").attr("data-src"))}),m(t.el).find(".ctf-no-consent").removeClass("ctf-no-consent"),this.afterResize()},bindAutoScroll:function(i){var n=parseInt(i.attr("data-ctfscrolloffset"));i.hasClass("ctf-fixed-height")?i.on("scroll.ctf",function(){var t=i.scrollTop(),e=i.innerHeight();i[0].scrollHeight-n-e<t&&(i.off("scroll.ctf"),0===h&&(h=1,i.find(".ctf-out-of-tweets").length||i.find(".ctf-more").trigger("click")))}):m(window).on("scroll.ctf",function(){var t=window.pageYOffset,e=window.innerHeight;document.body.offsetHeight-n-e<t&&(m(window).off("scroll.ctf"),0===h&&(h=1,i.find(".ctf-out-of-tweets").length||i.find(".ctf-more").trigger("click")))})},locationGuess:function(){var t=m(this.el),e="content";return t.closest("footer").length?e="footer":t.closest(".header").length||t.closest("header").length?e="header":(t.closest(".sidebar").length||t.closest("aside").length)&&(e="sidebar"),e}},e.prototype={getData:function(t){var e=parseInt(t.closest(".ctf").attr("data-ctf-index")-1);if(void 0===t.attr("data-id"))return{link:"",title:"",video:"",iframe:"",audioiframe:"",amplify:"",id:"",url:"",user:"",avatar:"",name:"",date:"",broadcast:"",broadcastUrl:"",feedIndex:e};var i=t.attr("data-video"),n=t.attr("data-avatar"),s=t.attr("data-iframe"),o=t.attr("data-broadcast-url"),a=t.attr("href");return window.ctf.feeds[e].settings.consentGiven||(n=window.ctf.options.placeholder,""!==s&&(s=""),""!==i&&(i="link")),{link:a,title:t.attr("data-title")||t.attr("title"),video:i,iframe:s,audioiframe:t.closest(".ctf-if-type-audio").length,amplify:t.attr("data-amplify"),id:t.attr("data-id"),url:t.attr("data-url"),user:t.attr("data-user"),avatar:n,name:t.attr("data-name"),date:t.attr("data-date"),broadcast:t.attr("data-broadcast"),broadcastUrl:o,feedIndex:e}},template:function(){return"<div id='ctf_lightboxOverlay' class='ctf_lightboxOverlay'></div><div id='ctf_lightbox' class='ctf_lightbox'><div class='ctf_lb-outerContainer'><div class='ctf_lb-container'><video class='ctf_video' src='' poster='' controls autoplay></video><iframe title='Placeholder for videos in the lightbox' type='text/html' src='' allowfullscreen webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><div id='ctf-broadcast-ctn'></div><img class='ctf_lb-image' alt='Lightbox image placeholder' src='' /><div class='ctf_lb-nav'><a class='ctf_lb-prev' href='#' ><p class='ctf-screenreader'>Previous Slide</p></a><a class='ctf_lb-next' href='#' ><p class='ctf-screenreader'>Next Slide</p></a></div><div class='ctf_lb-loader'><a class='ctf_lb-cancel'></a></div></div></div><div class='ctf_lb-dataContainer'><div class='ctf_lb-data'><div class='ctf_lb-details'><div class='ctf_lb-caption'></div><div class='ctf_lb-info'><div class='ctf_lb-number'></div><div class='ctf_lightbox_action ctf_share'><a href='JavaScript:void(0);'><span class='fa fa-share' aria-hidden='true'></span>Share</a><p class='ctf_lightbox_tooltip ctf_tooltip_social'><a href='' target='_blank' id='ctf_facebook_icon'><span class='ctf-screenreader'>Facebook Share</span><span class='fa fa-facebook-square' aria-hidden='true'></span></a><a href='' target='_blank' id='ctf_twitter_icon'><span class='ctf-screenreader'>Twitter Share</span><span class='fa fa-twitter'></span></a><a href='' target='_blank' id='ctf_linkedin_icon'><span class='ctf-screenreader'>Linkedin Share</span><span class='fa fa-linkedin'></span></a><a href='' id='ctf_pinterest_icon' target='_blank'><span class='ctf-screenreader'>Pinterest Share</span><span class='fa fa-pinterest'></span></a><a href='' id='ctf_email_icon' target='_blank'><span class='ctf-screenreader'>Email Share</span><span class='fa fa-envelope'></span></a><span class='fa fa-play fa-rotate-90'></span></p></div><div class='ctf_lightbox_action ctf_instagram'><a href='http://instagram.com/' target='_blank'><span class='ctf-screenreader'>Twitter</span><span class='fa fa-twitter' aria-hidden='true'></span>Twitter</a></div><div id='ctf_mod_link' class='ctf_lightbox_action'><a href='JavaScript:void(0);'><span class='fa fa-times' aria-hidden='true'></span>Hide Tweet (admin)</a><p id='ctf_mod_box' class='ctf_lightbox_tooltip'>Add this ID to the plugin's <strong>Hide Specific Tweets</strong> setting: <span id='ctf_photo_id'></span><span class='fa fa-play fa-rotate-90' aria-hidden='true'></span></p></div></div></div><div class='ctf_lb-closeContainer'><a class='ctf_lb-close'></a></div></div></div></div>"},beforePlayerSetup:function(t,e,i,n,s){},afterPlayerSetup:function(t,e,i,n){},afterResize:function(){},afterSlideChange:function(){var t=m("#ctf_lightbox");t.addClass("ctf-lightbox-transitioning"),t.find("iframe").hide(),t.find("video").hide(),t.find(".ctf_broadcast_video").hide(),ctf_supports_video()&&m("#ctf_lightbox video.ctf_video")[0].pause(),m("#ctf_lightbox iframe").attr("src","")}},a.prototype={setSize:function(t){var e=this.$context.find("."+this.prefix+"-twitter-card");550<t?e.addClass(this.prefix+"-tc-wide"):e.removeClass(this.prefix+"-tc-wide")},handleImageError:function(t){var e=this.prefix;t.find("."+e+"-twitter-card").each(function(){m(this).find("img").on("error",function(){m(this).closest("."+e+"-twitter-card").addClass(e+"-tc-no-image"),m(this).remove()})})},addNewCard:function(t,e,i){var n=t.find(".ctf-twitter-card-placeholder"),s=(n.attr("data-tweet-id"),n.attr("data-tc-url")),n=n.attr("data-tc-short-url");e.url=s,e.shortUrl=n,t.find(".ctf-tweet-text").after(e.html),"function"==typeof t.find(".ctf-tc-image").ctf_imgLiquid&&t.find(".ctf-tc-image").length&&t.find(".ctf-tc-image").ctf_imgLiquid({fill:!0}),i.initShowMore(t),this.afterCardAdded(t,e);e=jQuery.Event("ctfaftertcadded");e.feed=i,jQuery(window).trigger(e)},afterCardAdded:function(t,e){t.find(".ctf-tweet-text").find('a[href^="'+e.url+'"]').remove(),t.find(".ctf-tweet-text").find('a[href^="'+e.shortUrl+'"]').remove(),t.find(".ctf-tweet-text").html(t.find(".ctf-tweet-text").html().replace(e.url,"")),t.find(".ctf-tweet-text").html(t.find(".ctf-tweet-text").html().replace(e.shortUrl,"")),this.maybeRaiseSingleResolution(t)},maybeRaiseResolution:function(){var e=this;this.$context.find("."+this.prefix+"-twitter-card").each(function(t){m(this).closest(".ctf-item").hasClass("ctf-num-diff-hide")||e.maybeRaiseSingleResolution(m(this),t)})},maybeRaiseSingleResolution:function(t){var e,i,n,s,o,a=!!t.find("img").length&&t.find("img");a&&void 0!==a.attr("data-available-images")&&(e=JSON.parse(a.attr("data-available-images").replace(/\\\//g,"/")),i=a.attr("src"),t=void 0===a.attr("data-current")?0:parseInt(a.attr("data-current")),n=a.closest(".ctf-tc-image").innerWidth(),changeToRes=0,t<n&&(s=!1,o=i,m.each(e,function(t,e){!s&&n<=t&&(changeToRes=parseInt(t),changeToRes>=n&&(s=!0,o=window.ctfOptions.resized_url+e))}),o!==i&&(a.attr("data-current",changeToRes),o!==i&&(a.attr("src",o),a.closest(".ctf_imgLiquid_ready").length&&a.closest(".ctf_imgLiquid_ready").css("background-image",'url("'+o+'")').attr("data-bg",o))),a.on("error",function(){m(this).hasClass("ctf-img-error")?console.log("unfixed error "+m(this).attr("src")):(m(this).addClass("ctf-img-error"),setTimeout(function(){},1500))})))}},window.ctf_init=function(){window.ctf=new l,window.ctf.createPage(window.ctf.createFeeds,{whenFeedsCreated:window.ctf.afterFeedsCreated})};var h=0;function i(t){for(var e=t+"=",i=window.document.cookie.split(";"),n=0;n<i.length;n++){var s=i[n].trim();if(0==s.indexOf(e))return s.substring(e.length,s.length)}return""}function d(e,t,i){e.innerHTML="";const n=document.createElement("blockquote");n.className="twitter-tweet",i||n.setAttribute("data-width",550);const s=document.createElement("a");if(s.href=t,n.appendChild(s),e.appendChild(n),window.twttr&&window.twttr.widgets&&"function"==typeof twttr.widgets.load)if(i){const o=function(t){e.contains(t.target)&&(window.dispatchEvent(new Event("resize")),twttr.events.unbind("rendered",o))};twttr.events.bind("rendered",o),twttr.widgets.load(e)}else twttr.widgets.load(e)}}(jQuery),jQuery(document).ready(function(i){ctf_init(),i("#cookie-notice a").on("click",function(){setTimeout(function(){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].afterConsentToggled()})},1e3)}),i("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].afterConsentToggled()})},1e3)}),i(".cli-user-preference-checkbox, .cky-notice button").on("click",function(){setTimeout(function(){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].checkConsent(),window.ctf.feeds[t].afterConsentToggled()})},1e3)}),i(window).on("CookiebotOnAccept",function(t){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()})}),i(".cmplz-btn").on("click",function(){"function"==typeof cmplz_accepted_categories&&setTimeout(function(){-1<cmplz_accepted_categories().indexOf("marketing")&&i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()})},1e3)}),i(document).on("cmplzAcceptAll",function(t){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()})}),i("#ctf-frce-hide-license-error").on("click",function(){i("#ctf-fr-ce-license-error").slideUp(),jQuery.ajax({url:ctfOptions.ajax_url,type:"post",data:{action:"ctf_hide_frontend_license_error",nonce:ctfOptions.nonce},success:function(t){console.log(t)}})}),i(document).on("borlabs-cookie-consent-saved",function(t){var e=!1;void 0!==window.BorlabsCookie&&(e=window.BorlabsCookie.checkCookieConsent("twitter")),i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].settings.consentGiven=e,window.ctf.feeds[t].afterConsentToggled()})}),void 0!==window.consentApi&&window.consentApi.consent("custom-twitter-feed").then(()=>{try{i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()})}catch(t){}}),i(".moove-gdpr-infobar-allow-all").on("click",function(){setTimeout(function(){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].afterConsentToggled()})},1e3)}),window.addEventListener("wpconsent_consent_saved",function(t){setTimeout(function(){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].afterConsentToggled()})},1e3)}),window.addEventListener("wpconsent_consent_updated",function(t){setTimeout(function(){i.each(window.ctf.feeds,function(t){window.ctf.feeds[t].afterConsentToggled()})},1e3)})}));