1var ctf_js_exists=void 0!==ctf_js_exists;if(!ctf_js_exists){function ctfAddImgLiquid(){ 2 /*! imgLiquid v0.9.944 / 03-05-2013 https://github.com/karacas/imgLiquid */ 3 var t,e,i,s,n=n||{VER:"0.9.944"};n.bgs_Available=!1,n.bgs_CheckRunned=!1,(t=jQuery).fn.extend({ctf_imgLiquid:function(e){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},function(){if(!n.bgs_CheckRunned){n.bgs_CheckRunned=!0;var e=t('<span style="background-size:cover" />');t("body").append(e),function(){var t=e[0];if(t&&window.getComputedStyle){var i=window.getComputedStyle(t,null);i&&i.backgroundSize&&(n.bgs_Available="cover"===i.backgroundSize)}}(),e.remove()}}();var i=this;return this.options=e,this.settings=t.extend({},this.defaults,this.options),this.settings.onStart&&this.settings.onStart(),this.each((function(e){function s(){(u.responsive||h.data("ctf_imgLiquid_oldProcessed"))&&h.data("ctf_imgLiquid_settings")&&(u=h.data("ctf_imgLiquid_settings"),c.actualSize=c.get(0).offsetWidth+c.get(0).offsetHeight/1e4,c.sizeOld&&c.actualSize!==c.sizeOld&&a(),c.sizeOld=c.actualSize,setTimeout(s,u.responsiveCheckTime))}function o(){h.data("ctf_imgLiquid_error",!0),c.addClass("ctf_imgLiquid_error"),u.onItemError&&u.onItemError(e,c,h),r()}function a(){var t,i,s,n,o,a,l,d,f=0,p=0,g=c.width(),m=c.height();void 0===h.data("owidth")&&h.data("owidth",h[0].width),void 0===h.data("oheight")&&h.data("oheight",h[0].height),u.fill===g/m>=h.data("owidth")/h.data("oheight")?(t="100%",i="auto",s=Math.floor(g),n=Math.floor(g*(h.data("oheight")/h.data("owidth")))):(t="auto",i="100%",s=Math.floor(m*(h.data("owidth")/h.data("oheight"))),n=Math.floor(m)),l=g-s,"left"===(o=u.horizontalAlign.toLowerCase())&&(p=0),"center"===o&&(p=.5*l),"right"===o&&(p=l),-1!==o.indexOf("%")&&(o=parseInt(o.replace("%",""),10))>0&&(p=l*o*.01),d=m-n,"left"===(a=u.verticalAlign.toLowerCase())&&(f=0),"center"===a&&(f=.5*d),"bottom"===a&&(f=d),-1!==a.indexOf("%")&&(a=parseInt(a.replace("%",""),10))>0&&(f=d*a*.01),u.hardPixels&&(t=s,i=n),h.css({width:t,height:i,"margin-left":Math.floor(p),"margin-top":Math.floor(f)}),h.data("ctf_imgLiquid_oldProcessed")||(h.fadeTo(u.fadeInTime,1),h.data("ctf_imgLiquid_oldProcessed",!0),u.removeBoxBackground&&c.css("background-image","none"),c.addClass("ctf_imgLiquid_nobgSize"),c.addClass("ctf_imgLiquid_ready")),u.onItemFinish&&u.onItemFinish(e,c,h),r()}function r(){e===i.length-1&&i.settings.onFinish&&i.settings.onFinish()}var u=i.settings,c=t(this),h=t("img:first",c);return h.length?(h.data("ctf_imgLiquid_settings")?(c.removeClass("ctf_imgLiquid_error").removeClass("ctf_imgLiquid_ready"),u=t.extend({},h.data("ctf_imgLiquid_settings"),i.options)):u=t.extend({},i.settings,function(){var t={};if(i.settings.useDataHtmlAttr){var e=c.attr("data-ctf_imgLiquid-fill"),s=c.attr("data-ctf_imgLiquid-horizontalAlign"),o=c.attr("data-ctf_imgLiquid-verticalAlign");("true"===e||"false"===e)&&(t.fill=Boolean("true"===e)),void 0===s||"left"!==s&&"center"!==s&&"right"!==s&&-1===s.indexOf("%")||(t.horizontalAlign=s),void 0===o||"top"!==o&&"bottom"!==o&&"center"!==o&&-1===o.indexOf("%")||(t.verticalAlign=o)}return n.isIE&&i.settings.ieFadeInDisabled&&(t.fadeInTime=0),t}()),h.data("ctf_imgLiquid_settings",u),u.onItemStart&&u.onItemStart(e,c,h),void(n.bgs_Available&&u.useBackgroundSize?(-1===c.css("background-image").indexOf(encodeURI(h.attr("src")))&&c.css({"background-image":'url("'+encodeURI(h.attr("src"))+'")'}),c.css({"background-size":u.fill?"cover":"contain","background-position":(u.horizontalAlign+" "+u.verticalAlign).toLowerCase(),"background-repeat":"no-repeat"}),t("a:first",c).css({display:"block",width:"100%",height:"100%"}),t("img",c).css({display:"none"}),u.onItemFinish&&u.onItemFinish(e,c,h),c.addClass("ctf_imgLiquid_bgSize"),c.addClass("ctf_imgLiquid_ready"),r()):function i(){if(h.data("oldSrc")&&h.data("oldSrc")!==h.attr("src")){var n=h.clone().removeAttr("style");return n.data("ctf_imgLiquid_settings",h.data("ctf_imgLiquid_settings")),h.parent().prepend(n),h.remove(),(h=n)[0].width=0,void setTimeout(i,10)}return h.data("ctf_imgLiquid_oldProcessed")?void a():(h.data("ctf_imgLiquid_oldProcessed",!1),h.data("oldSrc",h.attr("src")),t("img:not(:first)",c).css("display","none"),c.css({overflow:"hidden"}),h.fadeTo(0,0).removeAttr("width").removeAttr("height").css({visibility:"visible","max-width":"none","max-height":"none",width:"auto",height:"auto",display:"block"}),h.on("error",o),h[0].onerror=o,function t(){h.data("ctf_imgLiquid_error")||h.data("ctf_imgLiquid_loaded")||h.data("ctf_imgLiquid_oldProcessed")||(c.is(":visible")&&h[0].complete&&h[0].width>0&&h[0].height>0?(h.data("ctf_imgLiquid_loaded",!0),setTimeout(a,e*u.delay)):setTimeout(t,u.timecheckvisibility))}(),void s())}())):void o()}))}}),e=n.injectCss,i=document.getElementsByTagName("head")[0],(s=document.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e)),i.appendChild(s)}!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,(function(t,e){"use strict";function i(i,o,r){(r=r||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){r.isPlainObject(t)&&(this.options=r.extend(!0,this.options,t))}),r.fn[i]=function(t){return"string"==typeof t?function(t,e,s){var n,o="$()."+i+'("'+e+'")';return t.each((function(t,u){var c=r.data(u,i);if(c){var h=c[e];if(h&&"_"!=e.charAt(0)){var l=h.apply(c,s);n=void 0===n?l:n}else a(o+" is not a valid method")}else a(i+" not initialized. Cannot call methods, i.e. "+o)})),void 0!==n?n:t}
vendor: 3,787 bytes, line 3
3(this,t,n.call(arguments,1)):(function(t,e){t.each((function(t,s){var n=r.data(s,i);n?(n.option(e),n._init()):(n=new o(s,e),r.data(s,i,n))}))}(this,t),this)},s(r))}function s(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,o=t.console,a=void 0===o?function(){}:function(t){o.error(t)};return s(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||{},s=i[t]=i[t]||[];return-1==s.indexOf(e)&&s.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var s=i.indexOf(e);return-1!=s&&i.splice(s,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 s=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var o=i[n];s&&s[o]&&(this.off(t,o),delete s[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 t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(t){var e=getComputedStyle(t);return e||o("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function i(){if(!u){u=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var o=document.body||document.documentElement;o.appendChild(i);var a=e(i);n=200==Math.round(t(a.width)),s.isBoxSizeOuter=n,o.removeChild(i)}}function s(s){if(i(),"string"==typeof s&&(s=document.querySelector(s)),s&&"object"==typeof s&&s.nodeType){var o=e(s);if("none"==o.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<r;e++)t[a[e]]=0;return t}();var u={};u.width=s.offsetWidth,u.height=s.offsetHeight;for(var c=u.isBorderBox="border-box"==o.boxSizing,h=0;h<r;h++){var l=a[h],d=o[l],f=parseFloat(d);u[l]=isNaN(f)?0:f}var p=u.paddingLeft+u.paddingRight,g=u.paddingTop+u.paddingBottom,m=u.marginLeft+u.marginRight,v=u.marginTop+u.marginBottom,y=u.borderLeftWidth+u.borderRightWidth,w=u.borderTopWidth+u.borderBottomWidth,_=c&&n,x=t(o.width);!1!==x&&(u.width=x+(_?0:p+y));var b=t(o.height);return!1!==b&&(u.height=b+(_?0:g+w)),u.innerWidth=u.width-(p+y),u.innerHeight=u.height-(g+w),u.outerWidth=u.width+m,u.outerHeight=u.height+v,u}}var n,o="undefined"==typeof console?function(){}:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=a.length,u=!1;return s})),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var s=e[i]+"MatchesSelector";if(t[s])return s}}();return function(e,i){return e[t](i)}})),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
3sandro-matches-selector/matches-selector"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,(function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},s=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?s.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,s){t=i.makeArray(t);var n=[];return t.forEach((function(t){if(t instanceof HTMLElement){if(!s)return void n.push(t);e(t,s)&&n.push(t);for(var i=t.querySelectorAll(s),o=0;o<i.length;o++)n.push(i[o])}})),n},i.debounceMethod=function(t,e,i){i=i||100;var s=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,o=this;this[n]=setTimeout((function(){s.apply(o,e),delete o[n]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var n=t.console;return i.htmlInit=function(e,s){i.docReady((function(){var o=i.toDashed(s),a="data-"+o,r=document.querySelectorAll("["+a+"]"),u=document.querySelectorAll(".js-"+o),c=i.makeArray(r).concat(i.makeArray(u)),h=a+"-options",l=t.jQuery;c.forEach((function(t){var i,o=t.getAttribute(a)||t.getAttribute(h);try{i=o&&JSON.parse(o)}catch(e){return void(n&&n.error("Error parsing "+a+" on "+t.className+": "+e))}var r=new e(t,i);l&&l.data(t,s,r)}))}))},i})),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 s=document.documentElement.style,n="string"==typeof s.transition?"transition":"WebkitTransition",o="string"==typeof s.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],r={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),s=t[e?"left":"right"],n=t[i?"top":"bottom"],o=parseFloat(s),a=parseFloat(n),r=this.layout.size;-1!=s.indexOf("%")&&(o=o/100*r.width),-1!=n.indexOf("%")&&(a=a/100*r.height),o=isNaN(o)?0:o,a=isNaN(a)?0:a,o-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=o,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),s=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",o=i?"left":"right",a=i?"right":"left",r=this.position.x+t[n];e[o]=this.getXValue(r),e[a]="";var u=s?"paddingTop":"paddingBottom",c=s?"top":"bottom",h=s?"bottom":"top",l=this.position.y+t[u];e[c]=this.getYValue(l),e[h]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,s=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var o=t-i,a=e-s,r={};r.transform=this.getTranslate(o,a),this.transition({to:r,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))}(o);u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var h={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=h[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(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])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var l={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(l)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),void this.hide()):void this.removeElem()},u.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})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.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})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i})),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],(function(i,s,n,o){return e(t,i,s,n,o)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.f
vendor: 4,097 bytes, line 3
3izzyUIUtils,t.Outlayer.Item)}(window,(function(t,e,i,s,n){"use strict";function o(t,e){var i=s.getQueryElement(t);if(i){this.element=i,u&&(this.$element=u(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var n=++h;this.element.outlayerGUID=n,l[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function a(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var r=t.console,u=t.jQuery,c=function(){},h=0,l={};o.namespace="outlayer",o.Item=n,o.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=o.prototype;s.extend(d,e.prototype),d.option=function(t){s.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]},o.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),s.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,s=[],n=0;n<e.length;n++){var o=new i(e[n],this);s.push(o)}return s},d._filterFindItemElements=function(t){return s.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"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=i(this.element)},d._getMeasurement=function(t,e){var s,n=this.options[t];n?("string"==typeof n?s=this.element.querySelector(n):n instanceof HTMLElement&&(s=n),this[t]=s?i(s)[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,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach((function(t){var s=this._getItemLayoutPosition(t);s.item=t,s.isInstant=e||t.isLayoutInstant,i.push(s)}),this),this._processLayoutQueue(i)}},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 e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],s=e&&e[2];return i.length?(i=parseFloat(i))*(f[s]||1):0}(t),this.stagger)},d._positionItem=function(t,e,i,s,n){s?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=c,d._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.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(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function s(){++a==o&&i()}var n=this,o=e.length;if(e&&o){var a=0;e.forEach((function(e){e.once(t,s)}))}else i()}
vendor: 5,369 bytes, line 3
3,d.dispatchEvent=function(t,e,i){var s=e?[e].concat(i):i;if(this.emitEvent(t,s),u)if(this.$element=this.$element||u(this.element),e){var n=u.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.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){s.removeFrom(this.stamps,t),this.unignore(t)}),this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),s.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=c,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),s=this._boundingRect,n=i(t);return{left:e.left-s.left-n.marginLeft,top:e.top-s.top-n.marginTop,right:s.right-e.right-n.marginRight,bottom:s.bottom-e.bottom-n.marginBottom}},d.handleEvent=s.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()},s.debounceMethod(o,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,i){t.stagger(i*e),t.reveal()}))}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,i){t.stagger(i*e),t.hide()}))}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},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=s.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getItem(t);i&&e.push(i)}),this),e},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach((function(t){t.remove(),s.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();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},o.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&l[e]},o.create=function(t,e){var i=a(o);return i.defaults=s.extend({},o.defaults),s.extend(i.defaults,e),i.compatOptions=s.extend({},o.compatOptions),i.namespace=t,i.data=o.data,i.Item=a(n),s.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var f={ms:1,s:1e3};return o.Item=n,o})),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),s=i._create;i._create=function(){this.id=this.layout.itemGUID++,s.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=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var s=e[i];this.sortData[i]=s(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.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(t,e){"use strict";function i(t){this.smashotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var s=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach((function(t){s[t]=function(){return e.prototype[t].apply(this.smashotope,arguments)}})),s.needsVerticalResizeLayout=function(){var e=t(this.smashotope.element);
vendor: 6,897 bytes, line 3
3return this.smashotope.size&&e&&e.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,s="outer"+e;if(this._getMeasurement(i,s),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[s]||this.smashotope.size["inner"+e]}},s.getFirstItemSize=function(){var e=this.smashotope.filteredItems[0];return e&&e.element&&t(e.element)},s.layout=function(){this.smashotope.layout.apply(this.smashotope,arguments)},s.getSize=function(){this.smashotope.getSize(),this.size=this.smashotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(s),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i})),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,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var s=i.prototype;return s._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},s.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var s=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,o=n/s,a=s-n%s;o=Math[a&&a<1?"round":"floor"](o),this.cols=Math.max(o,1)},s.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},s._getItemLayoutPosition=function(t){t.getSize();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);for(var s=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*s.col,y:s.y},o=s.y+t.size.outerHeight,a=i+s.col,r=s.col;r<a;r++)this.colYs[r]=o;return n},s._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},s._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,s=0;s<i;s++)e[s]=this._getColGroupY(s,t);return e},s._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},s._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var s=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=s?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},s._manageStamp=function(t){var i=e(t),s=this._getElementOffset(t),n=this._getOption("originLeft")?s.left:s.right,o=n+i.outerWidth,a=Math.floor(n/this.columnWidth);a=Math.max(0,a);var r=Math.floor(o/this.columnWidth);r-=o%this.columnWidth?0:1,r=Math.min(this.cols-1,r);for(var u=(this._getOption("originTop")?s.top:s.bottom)+i.outerHeight,c=a;c<=r;c++)this.colYs[c]=Math.max(u,this.colYs[c])},s._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},s._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},s.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i})),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.create("masonry"),s=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var o in e.prototype)n[o]||(s[o]=e.prototype[o]);var a=s.measureColumns;s.measureColumns=function(){this.items=this.smashotope.filteredItems,a.call(this)};var r=s._getOption;return s._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:r.apply(this.smashotope,arguments)},i})),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"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._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);var s={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,s},i._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}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._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}},i._getContainerSize=function(){return{height:this.y}},e})),function(t,e){"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(i,s,n,o,a,r){return e(t,i,s,n,o,a,r)})):"object"==typeof module&&module.exports?module.exports=e(t,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")):t.Smashotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Smashotope.Item,t.Smashotope.LayoutMode)}
vendor: 6,509 bytes, line 3
3(window,(function(t,e,i,s,n,o,a){var r=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("smashotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=o,c.LayoutMode=a;var h=c.prototype;h._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(t)},h.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},h._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},h._initLayoutMode=function(t){var e=a.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},h.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},h._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},h.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},h._init=h.arrange,h._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},h._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},h._bindArrangeComplete=function(){function t(){e&&i&&s&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,s,n=this;this.once("layoutComplete",(function(){e=!0,t()})),this.once("hideComplete",(function(){i=!0,t()})),this.once("revealComplete",(function(){s=!0,t()}))},h._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],s=[],n=[],o=this._getFilterTest(e),a=0;a<t.length;a++){var r=t[a];if(!r.isIgnored){var u=o(r);u&&i.push(r),u&&r.isHidden?s.push(r):u||r.isHidden||n.push(r)}}return{matches:i,needReveal:s,needHide:n}},h._getFilterTest=function(t){return r&&this.options.isJQueryFiltering?function(e){return r(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return s(e.element,t)}},h.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},h._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=l(i)}},h._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var l=function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],s=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(s&&s[1],i),o=c.sortDataParsers[e[1]];return o?function(t){return t&&o(n(t))}:function(t){return t&&n(t)}};c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},h._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,s){for(var n=0;n<t.length;n++){var o=t[n],a=i.sortData[o],r=s.sortData[o];if(a>r||a<r)return(a>r?1:-1)*((void 0!==e[o]?e[o]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},h._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},h._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},h._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},h._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},h._manageStamp=function(t){this._mode()._manageStamp(t)},h._getContainerSize=function(){return this._mode()._getContainerSize()},h.needsResizeLayout=function(){return this._mode().needsResizeLayout()},h.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},h.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},h._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},h.insert=function(t){var e=this.addItems(t);if(e.length){var i,s,n=e.length;for(i=0;i<n;i++)s=e[i],this.element.appendChild(s.element);var o=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(o)}};var d=h.remove;return h.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);d.call(this,t);for(var i=e&&e.length,s=0;i&&s<i;s++){var o=e[s];n.removeFrom(this.filteredItems,o)}},h.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()},h._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var s=t.apply(this,e);return this.options.transitionDuration=i,s},h.getFilteredItemElements=function(){return this.filteredItems.map((function(t){return t.element}))},c})),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 t(e){for(var i in t.defaults)this[i]=t.defaults[i];for(i in e)this[i]=e[i]}t.defaults={x:0,y:0,width:0,height:0};var e=t.prototype;return e.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},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,s=t.x+t.width,n=t.y+t.height;return this.x<s&&e>t.x&&this.y<n&&i>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,s=[],n=this.x+this.width,o=this.y+this.height,a=e.x+e.width,r=e.y+e.height;
3return this.y<e.y&&(i=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),s.push(i)),n>a&&(i=new t({x:a,y:this.y,width:n-a,height:this.height}),s.push(i)),o>r&&(i=new t({x:this.x,y:r,width:this.width,height:o-r}),s.push(i)),this.x<e.x&&(i=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),s.push(i)),s},e.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t})),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,(function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=s[this.sortDirection]||s.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 s=this.spaces[i],n=s.getMaximalFreeRects(t);n?e.push.apply(e,n):e.push(s)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var s=0,n=t[e+s];n;){if(n==i)s++;else{if(n.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(n)?t.splice(e+s,1):s++}n=t[e+s]}i=t[++e]}return t};var s={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 e})),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){var i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",s=function(){t.Item.apply(this,arguments)},n=s.prototype=Object.create(t.Item.prototype),o=n._create;n._create=function(){o.call(this),this.rect=new e};var a=n.moveTo;return n.moveTo=function(t,e){var i=Math.abs(this.position.x-t),s=Math.abs(this.position.y-e);return this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&1>i&&1>s?void this.goTo(t,e):void a.apply(this,arguments)},n.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},n.disablePlacing=function(){this.isPlacing=!1},n.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},n.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)},n.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},n.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},s})),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)}
3(window,(function(t,e,i,s,n){function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function a(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var r=e.create("packery");r.Item=n;var u=r.prototype;u._create=function(){e.prototype._create.call(this),this.packer=new s,this.shiftPacker=new s,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},u._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="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},u._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},u._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},u.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},u._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},u._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},u._setRectSize=function(e,i){var s=t(e),n=s.outerWidth,o=s.outerHeight;(n||o)&&(n=this._applyGridGutter(n,this.columnWidth),o=this._applyGridGutter(o,this.rowHeight)),i.width=Math.min(n,this.packer.width),i.height=Math.min(o,this.packer.height)},u._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},u._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},u._manageStamp=function(t){var e,s=this.getItem(t);if(s&&s.isPlacing)e=s.rect;else{var n=this._getElementOffset(t);
3e=new i({x:this._getOption("originLeft")?n.left:n.right,y:this._getOption("originTop")?n.top:n.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},u.sortItemsByPosition=function(){var t=this._getOption("horizontal")?a:o;this.items.sort(t)},u.fit=function(t,e,i){var s=this.getItem(t);s&&(this.stamp(s.element),s.enablePlacing(),this.updateShiftTargets(s),e=void 0===e?s.rect.x:e,i=void 0===i?s.rect.y:i,this.shift(s,e,i),this._bindFitEvents(s),s.moveTo(s.rect.x,s.rect.y),this.shiftLayout(),this.unstamp(s.element),this.sortItemsByPosition(),s.disablePlacing())},u._bindFitEvents=function(t){function e(){2==++s&&i.dispatchEvent("fitComplete",null,[t])}var i=this,s=0;t.once("layout",e),this.once("layoutComplete",e)},u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},u.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},u.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),s=i?"y":"x",n=i?"height":"width",o=i?"rowHeight":"columnWidth",a=i?"innerHeight":"innerWidth",r=this[o];if(r=r&&r+this.gutter){this._getMeasurements();var u=this[o]+this.gutter;e.forEach((function(t){var e=Math.round(t.rect[s]/r);t.rect[s]=e*u}))}else{var c=t(this.element)[a]+this.gutter,h=this.packer[n];e.forEach((function(t){t.rect[s]=t.rect[s]/h*c}))}this.shiftLayout()},u.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},u.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),s=this._getOption("originTop");this.stamps.forEach((function(t){var n=this.getItem(t);if(!n||!n.isPlacing){var o=this._getElementOffset(t),a=new i({x:e?o.left:o.right,y:s?o.top:o.bottom});this._setRectSize(t,a),this.shiftPacker.placed(a)}}),this);var n=this._getOption("horizontal"),o=n?"rowHeight":"columnWidth",a=n?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var r,u=this[o];if(u=u&&u+this.gutter){var c=Math.ceil(t.rect[a]/u),h=Math.floor((this.shiftPacker[a]+this.gutter)/u);r=(h-c)*u;for(var l=0;h>l;l++)this._addShiftTarget(l*u,0,r)}else r=this.shiftPacker[a]+this.gutter-t.rect[a],this._addShiftTarget(0,0,r);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach((function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,r);var i=n?e.x+e.width:e.x,s=n?e.y:e.y+e.height;if(this._addShiftTarget(i,s,r),u)for(var o=Math.round(e[a]/u),c=1;o>c;c++){var h=n?i:e.x+u*c,l=n?e.y+u*c:s;this._addShiftTarget(h,l,r)}}),this)},u._addShiftTarget=function(t,e,i){var s=this._getOption("horizontal")?e:t;if(!(0!==s&&s>i)){var n=t+","+e;-1!=this.shiftTargetKeys.indexOf(n)||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e}))}},u.shift=function(t,e,i){var s,n=1/0,o={x:e,y:i};this.shiftTargets.forEach((function(t){var e=function(t,e){var i=e.x-t.x,s=e.y-t.y;return Math.sqrt(i*i+s*s)}(t,o);n>e&&(s=t,n=e)})),t.rect.x=s.x,t.rect.y=s.y};u.itemDragMove=function(t,e,i){function s(){o.shift(n,e,i),n.positionDropPlaceholder(),o.layout()}var n=this.isEnabled&&this.getItem(t);if(n){e-=this.size.paddingLeft,i-=this.size.paddingTop;var o=this,a=new Date;this._itemDragTime&&a-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=a)}},u.itemDragEnd=function(t){function e(){2==++s&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var s=0,n=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},u.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},u.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},u._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},u.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},u.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},u._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var c=u.destroy;return u.destroy=function(){c.apply(this,arguments),this.isEnabled=!1},r.Rect=i,r.Packer=s,r})),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.create("packery"),s=i.prototype,n={_getElementOffset:!0,_getMeasurement:!0};for(var o in e.prototype)n[o]||(s[o]=e.prototype[o]);var a=s._resetLayout;s._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,a.apply(this,arguments)};var r=s._getItemLayoutPosition;s._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,r.call(this,t)};var u=s.needsResizeLayout;s.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():u.call(this)};var c=s._getOption;return s._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.smashotope,arguments)},i})),window.ctfLinkify=function(){var t="[a-z\\d.-]+://",e="(?:(?:(?
3:[^\\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]))",i="(?:\\?[^#<>\\s]*)?(?:#[^<>\\s]*)?",s="mailto:",n=new RegExp("(?:"+("\\b"+t+"[^<>\\s]+")+"|"+("\\b"+e+"(?:[;/][^#?<>\\s]*)?"+i+"(?!\\w)")+"|"+("(?:"+s+")?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+e+i+"(?!\\w)")+")","ig"),o=new RegExp("^"+t,"i"),a={"'":"`",">":"<",")":"(","]":"[","}":"{","B;":"B+","b:":"b9"},r={callback:function(t,e){return e?'<a href="'+e+'" title="'+e+'" target="_blank" rel="nofollow noopener">'+t+"</a>":t},punct_regexp:/(?:[!?.,:;'"]|(?:&|&)(?:lt|gt|quot|apos|raquo|laquo|rsaquo|lsaquo);)$/};return function(t,e){e=e||{};var i,u,c,h,l,d,f,p,g,m,v,y,w="",_=[];for(u in r)void 0===e[u]&&(e[u]=r[u]);for(;i=n.exec(t);)if(c=i[0],f=(d=n.lastIndex)-c.length,!/[\/:]/.test(t.charAt(f-1))){do{p=c,y=c.substr(-1),(v=a[y])&&(g=c.match(new RegExp("\\"+v+"(?!$)","g")),m=c.match(new RegExp("\\"+y,"g")),(g?g.length:0)<(m?m.length:0)&&(c=c.substr(0,c.length-1),d--)),e.punct_regexp&&(c=c.replace(e.punct_regexp,(function(t){return d-=t.length,""})))}while(c.length&&c!==p);h=c,o.test(h)||(h=(-1!==h.indexOf("@")?h.indexOf(s)?s:"":h.indexOf("irc.")?h.indexOf("ftp.")?"http://":"ftp://":"irc://")+h),l!=f&&(_.push([t.slice(l,f)]),l=d),_.push([c,h])}for(_.push([t.substr(l)]),u=0;u<_.length;u++)w+=e.callback.apply(window,_[u]);return w||t}}();var 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\u
30EB3\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;function ctfHashReplacer(t){var e=t.trim();return/^#[0-9A-F]{6}$/i.test(e)?e:' <a href="https://twitter.com/hashtag/'+e.substring(1)+'" target="_blank" rel="nofollow noopener">'+e+"</a>"}function ctfReplaceTags(t){var e=t.replace("(","").trim();return" "+(t.indexOf("(")>-1?"(":"")+'<a href="https://twitter.com/'+e.substring(1)+'" target="_blank" rel="nofollow noopener">'+e+"</a>"}var 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">
3<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>
3',"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.
36-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">
3<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">
vendor: 23,908 bytes, lines 3-10
3<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 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");if(t&&void 0!==ctfIconSVG[t[0]]){var i=void 0!==e?'style="'+e+'" ':"";jQuery(this).replaceWith("<svg "+i+ctfIconSVG[t[0]])}}))})))}function ctf_supports_video(){return!!document.createElement("video").canPlayType} 4 /*! Hammer.JS - v2.0.8 - 2016-04-23 5 * http://hammerjs.github.io/ 6 * 7 * Copyright (c) 2016 Jorik Tangelder; 8 * Licensed under the MIT license 9 * */ 10 if(function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),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"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(n.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(n.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}n.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:e,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"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.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,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),a=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,r="",u="";for(a/=2;a--;)e.push(this.normalize(e.length/2,!0)),r+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),u=i[e[e.length-1]][0].outerHTML+u;this._clones=e,t(r).addClass("cloned").appendTo(this.$stage),t(u).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.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(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,a=this.coordinates(this.current())+o,r=a+this.width()*n,u=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",a)&&this.op(t,">",r)||this.op(e,"<",a)&&this.op(e,">",r))&&u.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+u.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],n.prototype.initialize=function(){var e,i,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,n=this.$element.children(i).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+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")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,(function(t){t<=e&&t>s&&(s=Number(t))})),"function"==typeof(n=t.extend({},this.options,i[s])).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"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy((function(t){return this[t]}),this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},n.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")},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},n.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")))},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.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",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},n.prototype.onDragStart=function(e){var s=null;3!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x))},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},n.prototype.closest=function(e,i){var s=-1,n=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy((function(t,a){return"left"===i&&e>a-30&&e<a+30?s=t:"right"===i&&e>a-n-30&&e<a-n+30?s=t+1:this.op(e,"<",a)&&this.op(e,">",o[t+1]||a-n)&&(s="left"===i?t+1:t),-1===s}),this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?s=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(s=e=this.maximum())),s},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},n.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){for(e=this._items.length,i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},n.prototype.minimum=function(t){return t?0:this._clones.length/2},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t])},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2};return e===s?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,i){return t===e?o(i):null}))},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i))},n.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)},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),a=this._items.length,r=this.minimum(),u=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>a/2&&(n+=-1*o*a),(s=(((t=i+n)-r)%a+a)%a+r)!==t&&s-n<=u&&s-n>0&&(i=s-n,t=s,this.reset(i))):this.settings.rewind?t=(t%(u+=1)+u)%u:t=Math.max(r,Math.min(u,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*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")},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(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}))},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].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")},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case"<":return s?t>i:t<i;case">":return s?t<i:t>i;case">=":return s?t<=i:t>=i;case"<=":return s?t>=i:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,a){var r={item:{count:this._items.length,index:this.current()}},u=t.camelCase(t.grep(["on",e,s],(function(t){return t})).join("-").toLowerCase()),c=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},r,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(c)})),this.register({type:n.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[u]&&this.settings[u].call(this,c)),c},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++}),this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,s){return t.inArray(i,this._states.tags[e.name])===s}),this)))},n.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},n.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},n.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},n.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},n.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.ctfOwlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)}))},t.fn.ctfOwlCarousel.Constructor=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.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=e.setInterval(t.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,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.ctfOwlCarousel.Constructor.Plugins.AutoRefresh=n}
10(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,s=i.center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+n,a=this._core.clones().length,r=t.proxy((function(t,e){this.load(e)}),this);n++<s;)this.load(a/2+this._core.relative(o)),a&&t.each(this._core.clones(this._core.relative(o)),r),o++}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={lazyLoad:!1},n.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".ctf-owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy((function(i,s){var n,o=t(s),a=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:a},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this)).attr("src",a):((n=new Image).onload=t.proxy((function(){o.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this),n.src=a)}),this)),this._loaded.push(s.get(0)))},n.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)},t.fn.ctfOwlCarousel.Constructor.Plugins.Lazy=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()}),this),"loaded.owl.lazy":t.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=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)};n.Defaults={autoHeight:!1,autoHeightClass:"ctf-owl-height"},n.prototype.update=function(){var e,i=this._core._current,s=i+this._core.settings.items,n=this._core.$stage.children().toArray().slice(i,s),o=[];t.each(n,(function(e,i){o.push(t(i).height())})),e=Math.max.apply(null,o),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},n.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)},t.fn.ctfOwlCarousel.Constructor.Plugins.AutoHeight=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .ctf-owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".ctf-owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".ctf-owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=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.");
vendor: 13,127 bytes, line 10
10if((s=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")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}s=s[6],this._videos[a]={type:i,id:s,width:n,height:o},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},n.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",a=e.find("img"),r="src",u="",c=this._core.settings,h=function(t){'<div class="ctf-owl-video-play-icon"></div>',s=c.lazyLoad?'<div class="ctf-owl-video-tn '+u+'" '+r+'="'+t+'"></div>':'<div class="ctf-owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(s),e.after('<div class="ctf-owl-video-play-icon"></div>')};if(e.wrap('<div class="ctf-owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(r="data-src",u="ctf-owl-lazy"),a.length)return h(a.attr(r)),a.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",h(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,h(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,h(n)}})},n.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")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",a=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),"youtube"===n.type?i='<iframe width="'+o+'" height="'+a+'" src="//www.youtube.com/embed/'+n.id+"?autoplay=1&rel=0&v="+n.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===n.type?i='<iframe src="//player.vimeo.com/video/'+n.id+'?autoplay=1" width="'+o+'" height="'+a+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===n.type&&(i='<iframe frameborder="0"height="'+a+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+n.id+'/player?autoplay=true"></iframe>'),t('<div class="ctf-owl-video-frame">'+i+"</div>").insertAfter(s.find(".ctf-owl-video")),this._playing=s.addClass("ctf-owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("ctf-owl-video-frame")},n.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)},t.fn.ctfOwlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.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":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated ctf-owl-animated-out").addClass(a)),o&&n.one(t.support.animation.end,i).addClass("animated ctf-owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.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()},n.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)},t.fn.ctfOwlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.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":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},n.prototype._getNextTimeout=function(s,n){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy((function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)}),this),s||this._core.settings.autoplayTimeout)},n.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},n.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},n.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)},t.fn.ctfOwlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,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":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.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":t.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=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.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},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t("<div>").addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy((function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},n.prototype.destroy=function(){var t,e,i,s;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=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,0;t<s;t++){if(e>=a||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+a-1}),Math.min(n,t-i)===n)break;e=0}e+=this._core.mergers(this._core.relative(t))}},n.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).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(t.inArray(this.current(),this._pages)).addClass("active"))},n.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},n.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},n.prototype.getPosition=function(e){var i,s,n=this._core.settings;return"page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i},n.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},n.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},n.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.ctfOwlCarousel.Constructor.Plugins.Navigation=n}
10(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,(function(t,e){return t===s?e:null})).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);undefined!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)}),this))};n.Defaults={URLhashListener:!1},n.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null)},t.fn.ctfOwlCarousel.Constructor.Plugins.Hash=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){function n(e,i){var n=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+r.join(o+" ")+o).split(" "),(function(t,e){if(a[e]!==s)return n=!i||e,!1})),n}function o(t){return n(t,!0)}var a=t("<support>").get(0).style,r="Webkit Moz O ms".split(" "),u={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c=function(){return!!n("transform")},h=function(){return!!n("perspective")},l=function(){return!!n("animation")};(function(){return!!n("transition")})()&&(t.support.transition=new String(o("transition")),t.support.transition.end=u.transition.end[t.support.transition]),l()&&(t.support.animation=new String(o("animation")),t.support.animation.end=u.animation.end[t.support.animation]),c()&&(t.support.transform=new String(o("transform")),t.support.transform3d=h())}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){Owl2row=function(e){this.owl=e,this.owl.options=t.extend({},Owl2row.Defaults,this.owl.options),this.handlers={"initialize.owl.carousel":t.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(e){var i=t(e.owl.$element),s=i.find("."+e.owl.options.owl2rowTarget),n=[],o=[];if(t.each(s,(function(t,e){t%2==0?n.push(e):o.push(e)})),"ltr"===e.owl.options.owl2rowDirection)e.leftToright(e,i,s);else e.upTodown(e,n,o,i)},Owl2row.prototype.leftToright=function(e,i,s){var n=e.owl.options.owl2rowContainer,o=e.owl.options.margin,a=s.length,r=[],u=[];a%2==1?a=(a-1)/2+1:a/=2,t.each(s,(function(t,e){t<a?r.push(e):u.push(e)})),t.each(r,(function(e,s){var a=t('<div class="'+n+'"/>'),c=r[e];c.style.marginBottom=o+"px",a.append(c).append(u[e]),i.append(a)}))},Owl2row.prototype.upTodown=function(e,i,s,n){var o=e.owl.options.owl2rowContainer,a=e.owl.options.margin;t.each(i,(function(e,r){var u=t('<div class="'+o+'"/>'),c=i[e];c.style.marginBottom=a+"px",u.append(c).append(s[e]),n.append(u)}))},Owl2row.prototype.destroy=function(){},t.fn.ctfOwlCarousel.Constructor.Plugins.owl2row=Owl2row}(window.Zepto||window.jQuery,window,document),void 0===ctfOptions.no_mob_swipe)!function(t,e,i,s){"use strict";function n(t,e,i){return setTimeout(c(t,i),e)}function o(t,e,i){return!!Array.isArray(t)&&(a(t,i[e],i),!0)}function a(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==s)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function r(e,i,s){var n="DEPRECATED METHOD: "+i+"\n"+s+" AT \n";return function(){var i=new Error("get-stack-trace"),s=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=t.console&&(t.console.warn||t.console.log);return o&&o.call(t.console,n,s),e.apply(this,arguments)}}function u(t,e,i){var s,n=e.prototype;(s=t.prototype=Object.create(n)).constructor=t,s._super=n,i&&st(s,i)}function c(t,e){return function(){return t.apply(e,arguments)}}function h(t,e){return typeof t==at?t.apply(e&&e[0]||s,e):t}function l(t,e){return t===s?e:t}function d(t,e,i){a(m(e),(function(e){t.addEventListener(e,i,!1)}))}function f(t,e,i){a(m(e),(function(e){t.removeEventListener(e,i,!1)}))}function p(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function g(t,e){return t.indexOf(e)>-1}function m(t){return t.trim().split(/\s+/g)}
vendor: 13,905 bytes, line 10
10function v(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var s=0;s<t.length;){if(i&&t[s][i]==e||!i&&t[s]===e)return s;s++}return-1}function y(t){return Array.prototype.slice.call(t,0)}function w(t,e,i){for(var s=[],n=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];v(n,a)<0&&s.push(t[o]),n[o]=a,o++}return i&&(s=e?s.sort((function(t,i){return t[e]>i[e]})):s.sort()),s}function _(t,e){for(var i,n,o=e[0].toUpperCase()+e.slice(1),a=0;a<nt.length;){if((n=(i=nt[a])?i+o:e)in t)return n;a++}return s}function x(e){var i=e.ownerDocument||e;return i.defaultView||i.parentWindow||t}function b(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){h(t.options.enable,[t])&&i.handler(e)},this.init()}function C(t,e,i){var s=i.pointers.length,n=i.changedPointers.length,o=e&wt&&s-n==0,a=e&(xt|bt)&&s-n==0;i.isFirst=!!o,i.isFinal=!!a,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,s=e.pointers,n=s.length;i.firstInput||(i.firstInput=I(e)),n>1&&!i.firstMultiple?i.firstMultiple=I(e):1===n&&(i.firstMultiple=!1);var o=i.firstInput,a=i.firstMultiple,r=a?a.center:o.center,u=e.center=z(s);e.timeStamp=ct(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=B(r,u),e.distance=F(r,u),function(t,e){var i=e.center,s=t.offsetDelta||{},n=t.prevDelta||{},o=t.prevInput||{};e.eventType!==wt&&o.eventType!==xt||(n=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},s=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=n.x+(i.x-s.x),e.deltaY=n.y+(i.y-s.y)}(i,e),e.offsetDirection=D(e.deltaX,e.deltaY);var c=E(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=ut(c.x)>ut(c.y)?c.x:c.y,e.scale=a?function(t,e){return F(e[0],e[1],kt)/F(t[0],t[1],kt)}(a.pointers,s):1,e.rotation=a?function(t,e){return B(e[1],e[0],kt)+B(t[1],t[0],kt)}(a.pointers,s):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,A(i,e);var h=t.element;p(e.srcEvent.target,h)&&(h=e.srcEvent.target),e.target=h}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function A(t,e){var i,n,o,a,r=t.lastInterval||e,u=e.timeStamp-r.timeStamp;if(e.eventType!=bt&&(u>yt||r.velocity===s)){var c=e.deltaX-r.deltaX,h=e.deltaY-r.deltaY,l=E(u,c,h);n=l.x,o=l.y,i=ut(l.x)>ut(l.y)?l.x:l.y,a=D(c,h),t.lastInterval=e}else i=r.velocity,n=r.velocityX,o=r.velocityY,a=r.direction;e.velocity=i,e.velocityX=n,e.velocityY=o,e.direction=a}function I(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:rt(t.pointers[i].clientX),clientY:rt(t.pointers[i].clientY)},i++;return{timeStamp:ct(),pointers:e,center:z(e),deltaX:t.deltaX,deltaY:t.deltaY}}function z(t){var e=t.length;if(1===e)return{x:rt(t[0].clientX),y:rt(t[0].clientY)};for(var i=0,s=0,n=0;e>n;)i+=t[n].clientX,s+=t[n].clientY,n++;return{x:rt(i/e),y:rt(s/e)}}function E(t,e,i){return{x:e/t||0,y:i/t||0}}function D(t,e){return t===e?Ct:ut(t)>=ut(e)?0>t?At:It:0>e?zt:Et}function F(t,e,i){i||(i=Tt);var s=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return Math.sqrt(s*s+n*n)}function B(t,e,i){i||(i=Tt);var s=e[i[0]]-t[i[0]],n=e[i[1]]-t[i[1]];return 180*Math.atan2(n,s)/Math.PI}function T(){this.evEl=Lt,this.evWin=Mt,this.pressed=!1,b.apply(this,arguments)}function k(){this.evEl=Ot,this.evWin=jt,b.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function S(){this.evTarget=qt,this.evWin=Ht,this.started=!1,b.apply(this,arguments)}function L(t,e){var i=y(t.touches),s=y(t.changedTouches);return e&(xt|bt)&&(i=w(i.concat(s),"identifier",!0)),[i,s]}function M(){this.evTarget=Nt,this.targetIds={},b.apply(this,arguments)}function R(t,e){var i=y(t.touches),s=this.targetIds;if(e&(wt|_t)&&1===i.length)return s[i[0].identifier]=!0,[i,i];var n,o,a=y(t.changedTouches),r=[],u=this.target;if(o=i.filter((function(t){return p(t.target,u)})),e===wt)for(n=0;n<o.length;)s[o[n].identifier]=!0,n++;for(n=0;n<a.length;)s[a[n].identifier]&&r.push(a[n]),e&(xt|bt)&&delete s[a[n].identifier],n++;return r.length?[w(o.concat(r),"identifier",!0),r]:void 0}function P(){b.apply(this,arguments);var t=c(this.handler,this);this.touch=new M(this.manager,t),this.mouse=new T(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function O(t,e){t&wt?(this.primaryTouch=e.changedPointers[0].identifier,j.call(this,e)):t&(xt|bt)&&j.call(this,e)}function j(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var s=this.lastTouches;setTimeout((function(){var t=s.indexOf(i);t>-1&&s.splice(t,1)}),Qt)}}function $(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,s=0;s<this.lastTouches.length;s++){var n=this.lastTouches[s],o=Math.abs(e-n.x),a=Math.abs(i-n.y);if(Vt>=o&&Vt>=a)return!0}return!1}function q(t,e){this.manager=t,this.set(e)}function H(t){this.options=st({},this.defaults,t||{}),this.id=dt++,this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=ie,this.simultaneous={},this.requireFail=[]}function W(t){return t&re?"cancel":t&oe?"end":t&ne?"move":t&se?"start":""}function N(t){return t==Et?"down":t==zt?"up":t==At?"left":t==It?"right":""}function Q(t,e){var i=e.manager;return i?i.get(t):t}function V(){H.apply(this,arguments)}function G(){V.apply(this,arguments),this.pX=null,this.pY=null}function Y(){V.apply(this,arguments)}function U(){H.apply(this,arguments),this._timer=null,this._input=null}function X(){V.apply(this,arguments)}function Z(){V.apply(this,arguments)}function J(){H.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function K(t,e){return(e=e||{}).recognizers=l(e.recognizers,K.defaults.preset),new tt(t,e)}function tt(t,e){this.options=st({},K.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(pt?k:gt?M:ft?P:T))(t,C)}(this),this.touchAction=new q(this,this.options.touchAction),et(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 et(t,e){var i,s=t.element;s.style&&(a(t.options.cssProps,(function(n,o){i=_(s.style,o),e?(t.oldCssProps[i]=s.style[i],s.style[i]=n):s.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}function it(t,i){var s=e.createEvent("Event");s.initEvent(t,!0,!0),s.gesture=i,i.target.dispatchEvent(s)}var st,nt=["","webkit","Moz","MS","ms","o"],ot=e.createElement("div"),at="function",rt=Math.round,ut=Math.abs,ct=Date.now;st="function"!=typeof Object.assign?function(t){if(t===s||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!==s&&null!==n)for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])}return e}:Object.assign;var ht=r((function(t,e,i){for(var n=Object.keys(e),o=0;o<n.length;)(!i||i&&t[n[o]]===s)&&(t[n[o]]=e[n[o]]),o++;return t}),"extend","Use `assign`."),lt=r((function(t,e){return ht(t,e,!0)}),"merge","Use `assign`."),dt=1,ft="ontouchstart"in t,pt=_(t,"PointerEvent")!==s,gt=ft&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),mt="touch",vt="mouse",yt=25,wt=1,_t=2,xt=4,bt=8,Ct=1,At=2,It=4,zt=8,Et=16,Dt=At|It,Ft=zt|Et,Bt=Dt|Ft,Tt=["x","y"],kt=["clientX","clientY"];b.prototype={handler:function(){},init:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(x(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(x(this.element),this.evWin,this.domHandler)}};var St={mousedown:wt,mousemove:_t,mouseup:xt},Lt="mousedown",Mt="mousemove mouseup";u(T,b,{handler:function(t){var e=St[t.type];e&wt&&0===t.button&&(this.pressed=!0),e&_t&&1!==t.which&&(e=xt),this.pressed&&(e&xt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:vt,srcEvent:t}))}});var Rt={pointerdown:wt,pointermove:_t,pointerup:xt,pointercancel:bt,pointerout:bt},Pt={2:mt,3:"pen",4:vt,5:"kinect"},Ot="pointerdown",jt="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Ot="MSPointerDown",jt="MSPointerMove MSPointerUp MSPointerCancel"),u(k,b,{handler:function(t){var e=this.store,i=!1,s=t.type.toLowerCase().replace("ms",""),n=Rt[s],o=Pt[t.pointerType]||t.pointerType,a=o==mt,r=v(e,t.pointerId,"pointerId");n&wt&&(0===t.button||a)?0>r&&(e.push(t),r=e.length-1):n&(xt|bt)&&(i=!0),0>r||(e[r]=t,this.callback(this.manager,n,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(r,1))}});var $t={touchstart:wt,touchmove:_t,touchend:xt,touchcancel:bt},qt="touchstart",Ht="touchstart touchmove touchend touchcancel";u(S,b,{handler:function(t){var e=$t[t.type];if(e===wt&&(this.started=!0),this.started){var i=L.call(this,t,e);e&(xt|bt)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:mt,srcEvent:t})}}});var Wt={touchstart:wt,touchmove:_t,touchend:xt,touchcancel:bt},Nt="touchstart touchmove touchend touchcancel";u(M,b,{handler:function(t){var e=Wt[t.type],i=R.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:mt,srcEvent:t})}});var Qt=2500,Vt=25;u(P,b,{handler:function(t,e,i){var s=i.pointerType==mt,n=i.pointerType==vt;if(!(n&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(s)O.call(this,e,i);else if(n&&$.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Gt=_(ot.style,"touchAction"),Yt=Gt!==s,Ut="compute",Xt="auto",Zt="manipulation",Jt="none",Kt="pan-x",te="pan-y",ee=function(){if(!Yt)return!1;var e={},i=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(s){e[s]=!i||t.CSS.supports("touch-action",s)})),e}();q.prototype={set:function(t){t==Ut&&(t=this.compute()),Yt&&this.manager.element.style&&ee[t]&&(this.manager.element.style[Gt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return a(this.manager.recognizers,(function(e){h(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(g(t,Jt))return Jt;var e=g(t,Kt),i=g(t,te);return e&&i?Jt:e||i?e?Kt:te:g(t,Zt)?Zt:Xt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(!this.manager.session.prevented){var s=this.actions,n=g(s,Jt)&&!ee[Jt],o=g(s,te)&&!ee[te],a=g(s,Kt)&&!ee[Kt];if(n){var r=1===t.pointers.length,u=t.distance<2,c=t.deltaTime<250;if(r&&u&&c)return}return a&&o?void 0:n||o&&i&Dt||a&&i&Ft?this.preventSrc(e):void 0}e.preventDefault()},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ie=1,se=2,ne=4,oe=8,ae=oe,re=16,ue=32;H.prototype={defaults:{},set:function(t){return st(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Q(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)||(t=Q(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return-1===v(e,t=Q(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=Q(t,this);var e=v(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(e,t)}var i=this,s=this.state;oe>s&&e(i.options.event+W(s)),e(i.options.event),t.additionalEvent&&e(t.additionalEvent),s>=oe&&e(i.options.event+W(s))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=ue)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(ue|ie)))return!1;t++}return!0},recognize:function(t){var e=st({},t);return h(this.options.enable,[this,e])?(this.state&(ae|re|ue)&&(this.state=ie),this.state=this.process(e),void(this.state&(se|ne|oe|re)&&this.tryEmit(e))):(this.reset(),void(this.state=ue))},process:function(t){},getTouchAction:function(){},reset:function(){}},u(V,H,{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,s=e&(se|ne),n=this.attrTest(t);return s&&(i&bt||!n)?e|re:s||n?i&xt?e|oe:e&se?e|ne:se:ue}}),u(G,V,{defaults:{event:"pan",threshold:10,pointers:1,direction:Bt},getTouchAction:function(){var t=this.options.direction,e=[];return t&Dt&&e.push(te),t&Ft&&e.push(Kt),e},directionTest:function(t){var e=this.options,i=!0,s=t.distance,n=t.direction,o=t.deltaX,a=t.deltaY;return n&e.direction||(e.direction&Dt?(n=0===o?Ct:0>o?At:It,i=o!=this.pX,s=Math.abs(t.deltaX)):(n=0===a?Ct:0>a?zt:Et,i=a!=this.pY,s=Math.abs(t.deltaY))),t.direction=n,i&&s>e.threshold&&n&e.direction},attrTest:function(t){return V.prototype.attrTest.call(this,t)&&(this.state&se||!(this.state&se)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=N(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),u(Y,V,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Jt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&se)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),u(U,H,{defaults:{event:"press",pointers:1,time:251,threshold:9}
10,getTouchAction:function(){return[Xt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,s=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!s||!i||t.eventType&(xt|bt)&&!o)this.reset();else if(t.eventType&wt)this.reset(),this._timer=n((function(){this.state=ae,this.tryEmit()}),e.time,this);else if(t.eventType&xt)return ae;return ue},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ae&&(t&&t.eventType&xt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=ct(),this.manager.emit(this.options.event,this._input)))}}),u(X,V,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Jt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&se)}}),u(Z,V,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Dt|Ft,pointers:1},getTouchAction:function(){return G.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(Dt|Ft)?e=t.overallVelocity:i&Dt?e=t.overallVelocityX:i&Ft&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&ut(e)>this.options.velocity&&t.eventType&xt},emit:function(t){var e=N(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),u(J,H,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Zt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,s=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&wt&&0===this.count)return this.failTimeout();if(s&&o&&i){if(t.eventType!=xt)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<e.interval,r=!this.pCenter||F(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,r&&a?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=n((function(){this.state=ae,this.tryEmit()}),e.interval,this),se):ae}return ue},failTimeout:function(){return this._timer=n((function(){this.state=ue}),this.options.interval,this),ue},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ae&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),K.VERSION="2.0.8",K.defaults={domEvents:!1,touchAction:Ut,enable:!0,inputTarget:null,inputClass:null,preset:[[X,{enable:!1}],[Y,{enable:!1},["rotate"]],[Z,{direction:Dt}],[G,{direction:Dt},["swipe"]],[J],[J,{event:"doubletap",taps:2},["tap"]],[U]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};tt.prototype={set:function(t){return st(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,s=this.recognizers,n=e.curRecognizer;(!n||n&&n.state&ae)&&(n=e.curRecognizer=null);for(var o=0;o<s.length;)i=s[o],2===e.stopped||n&&i!=n&&!i.canRecognizeWith(n)?i.reset():i.recognize(t),!n&&i.state&(se|ne|oe)&&(n=e.curRecognizer=i),o++}},get:function(t){if(t instanceof H)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(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=v(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var i=this.handlers;return a(m(t),(function(t){i[t]=i[t]||[],i[t].push(e)})),this}},off:function(t,e){if(t!==s){var i=this.handlers;return a(m(t),(function(t){e?i[t]&&i[t].splice(v(i[t],e),1):delete i[t]})),this}},emit:function(t,e){this.options.domEvents&&it(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var s=0;s<i.length;)i[s](e),s++}},destroy:function(){this.element&&et(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},st(K,{INPUT_START:wt,INPUT_MOVE:_t,INPUT_END:xt,INPUT_CANCEL:bt,STATE_POSSIBLE:ie,STATE_BEGAN:se,STATE_CHANGED:ne,STATE_ENDED:oe,STATE_RECOGNIZED:ae,STATE_CANCELLED:re,STATE_FAILED:ue,DIRECTION_NONE:Ct,DIRECTION_LEFT:At,DIRECTION_RIGHT:It,DIRECTION_UP:zt,DIRECTION_DOWN:Et,DIRECTION_HORIZONTAL:Dt,DIRECTION_VERTICAL:Ft,DIRECTION_ALL:Bt,Manager:tt,Input:b,TouchAction:q,TouchInput:M,MouseInput:T,PointerEventInput:k,TouchMouseInput:P,SingleTouchInput:S,Recognizer:H,AttrRecognizer:V,Tap:J,Pan:G,Swipe:Z,Pinch:Y,Rotate:X,Press:U,on:d,off:f,each:a,merge:lt,extend:ht,assign:st,inherit:u,bindFn:c,prefixed:_}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=K,"function"==typeof define&&define.amd?define((function(){return K})):"undefined"!=typeof module&&module.exports?module.exports=K:t.Hammer=K}(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(t,e){var i;t.fn.hammer=function(i){return this.each((function(){!function(i,s){var n=t(i);n.data("hammer")||n.data("hammer",new e(n[0],s))}(this,i)}))},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,s){i.call(this,e,s),t(this.element).trigger({type:e,gesture:s})})}));else{var 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(t,e){var i;t.fn.hammer=function(t){return this.each((function(){}))},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,s){i.call(this,e,s),t(this.element).trigger({type:e,gesture:s})})}))}!function(t){function e(){this.feeds={},this.options=ctfOptions,this.isTouch=function(){if("ontouchstart"in document.documentElement)return!0;return!1}()}function i(e,i,s){this.el=e,this.index=i,this.settings=s,this.placeholderURL=window.ctf.options.placeholder,this.minImageWidth=0,this.resizedImages={},this.resizingDisabled=!t(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 s(){}function n(t,e){this.$context=e,this.prefix=t}function o(e,i){t.ajax({url:ctfOptions.ajax_url,type:"post",data:e,success:i})}function a(t,e){e.animate({height:t+"px"},400)}function r(e,i){if(!e.find(".ctf-carousel-height-change").length){var s=e.find(".ctf-owl-stage-outer");
10s.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!==i.settings.expanded&&(i.settings.expanded=!0,s.css("height","auto"),e.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>')),e.find(".ctf-carousel-height-change").on("click",(function(n){n.preventDefault();var o=t(this);if(o.hasClass("ctf-carousel-more")){o.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>'),i.settings.expanded=!0;var r=e.find(".ctf-owl-item").map((function(){return t(this).height()})).get();a(Math.max.apply(null,r),s)}else{r=e.find(".ctf-owl-item").map((function(){return t(this).height()})).get();a(Math.min.apply(null,r),s),o.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>'),i.settings.expanded=!1}i.settings.expanded=!i.settings.expanded}))}}e.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(){t.each(window.ctf.feeds,(function(e){var i=t(window.ctf.feeds[e].el);!window.ctfIntentsIncluded&&window.ctf.feeds[e].settings.consentGiven&&void 0!==i.attr("data-ctfintents")&&(window.ctfIntentsIncluded=!0,function(){if(!window.__twitterIntentHandler){var t=/twitter\.com\/intent\/(\w+)/,e=screen.height,i=screen.width;document.addEventListener?document.addEventListener("click",s,!1):document.attachEvent&&document.attachEvent("onclick",s),window.__twitterIntentHandler=!0}function s(s){for(var n,o,a=(s=s||window.event).target||s.srcElement;a&&"a"!==a.nodeName.toLowerCase();)a=a.parentNode;a&&"a"===a.nodeName.toLowerCase()&&a.href&&a.href.match(t)&&(n=Math.round(i/2-275),o=0,e>420&&(o=Math.round(e/2-210)),window.open(a.href,"intent","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+n+",top="+o),s.returnValue=!1,s.preventDefault&&s.preventDefault())}}())}))},createLightbox:function(){var e,i=new s,n=(e=0,function(t,i){clearTimeout(e),e=setTimeout(t,i)});jQuery(window).on("resize",(function(){n((function(){i.afterResize()}),200)})),function(){var e=jQuery,s=function(){function t(){this.fadeDuration=500,this.fitImagesInViewport=!0,this.resizeDuration=700,this.positionFromTop=50,this.showImageNumberLabel=!0,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1}return t.prototype.albumLabel=function(t,e){return t+" / "+e},t}(),n=function(){function s(t){this.options=t,this.album=[],this.currentImageIndex=void 0,this.init()}return s.prototype.init=function(){this.enable(),this.build()},s.prototype.enable=function(){var t=this;e("body").on("click","a[data-ctf-lightbox]",(function(i){return t.start(e(i.currentTarget)),!1}))},s.prototype.build=function(){var t,s=this;if("function"!=typeof e("#ctf_lightbox").find(".ctf_lb-container").hammer){var n={Manager:{prototype:{}}};t=function(t,e){var i;t.fn.hammer=function(t){return this.each((function(){}))},e.Manager.prototype.emit=(i=e.Manager.prototype.emit,function(e,s){i.call(this,e,s),t(this.element).trigger({type:e,gesture:s})})},"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,n)}e(""+i.template()).appendTo(e("body")),this.$lightbox=e("#ctf_lightbox"),this.$overlay=e("#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 s.end(),!1})),jQuery(document).on("click",(function(t,e,s){jQuery(t.target).is("a")||jQuery(t.target).closest(".ctf_lb-outerContainer").length||jQuery(t.target).closest(".ctf_lb-dataContainer").length||(i.afterSlideChange(),jQuery("#ctf_lightboxOverlay, #ctf_lightbox").fadeOut())})),this.$lightbox.hide(),jQuery("#ctf_lightboxOverlay").on("click",(function(t){return i.afterSlideChange(),"ctf_lightbox"===e(t.target).attr("id")&&s.end(),!1})),this.$lightbox.find(".ctf_lb-prev").on("click",(function(){return i.afterSlideChange(),s.changeImage(0===s.currentImageIndex?s.album.length-1:s.currentImageIndex-1),!1})),this.$lightbox.find(".ctf_lb-container").hammer().on("swiperight",(function(){return i.afterSlideChange(),s.changeImage(0===s.currentImageIndex?s.album.length-1:s.currentImageIndex-1),!1})),this.$lightbox.find(".ctf_lb-next").on("click",(function(){return i.afterSlideChange(),s.changeImage(s.currentImageIndex===s.album.length-1?0:s.currentImageIndex+1),!1})),this.$lightbox.find(".ctf_lb-container").hammer().on("swipeleft",(function(){return i.afterSlideChange(),s.changeImage(s.currentImageIndex===s.album.length-1?0:s.currentImageIndex+1),!1})),this.$lightbox.find(".ctf_lb-loader, .ctf_lb-close").on("click",(function(){return i.afterSlideChange(),s.end(),!1}))},s.prototype.start=function(t){function s(t){n.album.push(i.getData(t))}var n=this,o=e(window);o.on("resize",e.proxy(this.sizeOverlay,this)),e("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[];var a,r=0,u=t.attr("data-ctf-lightbox");if(u){a=e(t.prop("tagName")+'[data-ctf-lightbox="'+u+'"]');for(var c=0;c<a.length;c=++c)s(e(a[c])),a[c]===t[0]&&(r=c)}else if("lightbox"===t.attr("rel"))s(t);else{a=e(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]');for(var h=0;h<a.length;h=++h)s(e(a[h])),a[h]===t[0]&&(r=h)}var l=o.scrollTop()+this.options.positionFromTop,d=o.scrollLeft();this.$lightbox.css({top:l+"px",left:d+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(r)},s.prototype.changeImage=function(t){var i=this;this.disableKeyboardNav();var s=this.$lightbox.find(".ctf_lb-image");this.$overlay.fadeIn(this.options.fadeDuration),e(".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 n=new Image;n.onload=function(){var o,a,r,u,c,h,l=0,d=0;window.innerWidth>640&&(l=100,d=300),s.attr("src",i.album[t].link),e(n),s.width(n.width),s.height(n.height),i.options.fitImagesInViewport&&(h=e(window).width(),c=e(window).height(),u=h-i.containerLeftPadding-i.containerRightPadding-20-d-l,r=c-i.containerTopPadding-i.containerBottomPadding-150,(n.width>u||n.height>r)&&(n.width/u>
vendor: 1,372 bytes, line 10
10n.height/r?(a=u,o=parseInt(n.height/(n.width/a),10),s.width(a),s.height(o)):(o=r,a=parseInt(n.width/(n.height/o),10),s.width(a),s.height(o)))),i.sizeContainer(s.width(),s.height())},n.src=this.album[t].link,this.currentImageIndex=t},s.prototype.sizeOverlay=function(){this.$overlay.width(e(window).width()).height(e(document).height())},s.prototype.sizeContainer=function(t,e){function i(){s.$lightbox.find(".ctf_lb-dataContainer").width(a),s.$lightbox.find(".ctf_lb-prevLink").height(r),s.$lightbox.find(".ctf_lb-nextLink").height(r),s.showImage()}var s=this,n=this.$outerContainer.outerWidth(),o=this.$outerContainer.outerHeight(),a=t+this.containerLeftPadding+this.containerRightPadding,r=e+this.containerTopPadding+this.containerBottomPadding;n!==a||o!==r?this.$outerContainer.animate({width:a,height:r},this.options.resizeDuration,"swing",(function(){i()})):i()},s.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()},s.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this.$lightbox.find(".ctf_lb-nav").show(),this.album.length>1&&(this.options.wrapAround?(t&&this.$lightbox.find(".ctf_lb-prev, .ctf_lb-next").
10css("opacity","1"),this.$lightbox.find(".ctf_lb-prev, .ctf_lb-next").show()):(this.currentImageIndex>0&&(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"))))},s.prototype.updateDetails=function(){var e=this;if(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&&t("#ctf_lightbox").addClass("ctf-amplify"),t("#ctf_lightbox").removeClass("ctf-has-iframe"),this.album[this.currentImageIndex].iframe.length){jQuery("#ctf_lightbox").find("iframe").fadeIn("slow");var s=this.album[this.currentImageIndex].iframe;if(t("#ctf_lightbox").removeClass("ctf_video_lightbox").addClass("ctf-has-iframe"),s.indexOf(".swf")>-1)var n="";else n="?autoplay=1";setTimeout((function(){t("#ctf_lightbox iframe").attr({src:s+n})}),500)}1===parseInt(this.album[this.currentImageIndex].audioiframe)?t("#ctf_lightbox").addClass("ctf-audio-iframe"):t("#ctf_lightbox").removeClass("ctf-audio-iframe"),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 o=this.album[this.currentImageIndex].title;o=(o=(o=o?ctfLinkify(o):"").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\u
100EB3\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){var e=t.trim();return/^#[0-9A-F]{6}$/i.test(e)?e:' <a href="https://twitter.com/hashtag/'+e.substring(1)+'" target="_blank" rel="nofollow noopener">'+e+"</a>"}))).replace(/[@]+[A-Za-z0-9-_]+/g,(function(t){var e=t.replace("(","").trim();return' <a href="https://twitter.com/'+e.substring(1)+'" target="_blank" rel="nofollow noopener">'+e+"</a>"}));var a="";window.ctf.feeds[this.album[this.currentImageIndex].feedIndex].settings.consentGiven||(a=" ctf-lb-hide-avatar"),void 0!==o&&""!==o&&this.$lightbox.find(".ctf_lb-caption").html('<div class="ctf-author-box'+
10a+'"><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'+a+'">'+o+"</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 e.sizeOverlay()})),ctfSVGify(t("#ctf_lightbox")),"function"==typeof window.ctfLightboxAction&&setTimeout((function(){window.ctfLightboxAction()}),100),i.afterPlayerSetup(this.$lightbox,this.album[this.currentImageIndex],this.currentImageIndex,this.album)},s.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link);this.currentImageIndex>0&&((new Image).src=this.album[this.currentImageIndex-1].link)},s.prototype.enableKeyboardNav=function(){e(document).on("keyup.keyboard",e.proxy(this.keyboardAction,this))},s.prototype.disableKeyboardNav=function(){e(document).off(".keyboard")},s.prototype.keyboardAction=function(e){var s=event.keyCode,n=String.fromCharCode(s).toLowerCase();27===s||n.match(/x|o|c/)?(ctf_supports_video()&&t("#ctf_lightbox video.ctf_video")[0].pause(),t("#ctf_lightbox iframe").attr("src",""),this.end()):"p"===n||37===s?(0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1),ctf_supports_video()&&t("#ctf_lightbox video.ctf_lb-video")[0].pause(),t("#ctf_lightbox iframe").attr("src","")):"n"!==n&&39!==s||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0),i.afterSlideChange())},s.prototype.end=function(){this.disableKeyboardNav(),e(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),e("select, object, embed").css({visibility:"visible"})},s}();e((function(){var e=new s;new n(e),t(".ctf_lightbox_action a").off("click").on("click",(function(){t(this).parent().find(".ctf_lightbox_tooltip").toggle()}))}))}.call(this)},createFeeds:function(e){t("#ctf-builder-app").length||window.ctf.createLightbox(),e.whenFeedsCreated(t(".ctf").each((function(e){t(this).attr("data-ctf-index",e+1);var s=t(this),o=void 0!==s.attr("data-ctf-flags")?s.attr("data-ctf-flags").split(","):[],a=void 0!==s.attr("data-options")?JSON.parse(s.attr("data-options")):{};if(s.hasClass("ctf-masonry"))a.masonry=!0;else if(s.hasClass("ctf-carousel")){var r=void 0!==s.attr("data-ctf-interval")&&s.attr("data-ctf-interval");a.carousel=[s.attr("data-ctf-arrows"),"false"!==s.attr("data-ctf-pag"),!1!==r,r,s.attr("data-ctf-loop"),s.attr("data-ctf-rows")]}var u={cols:void 0!==s.attr("data-ctf-cols")?s.attr("data-ctf-cols"):3,colstablet:void 0!==s.attr("data-ctf-tabletcols")?s.attr("data-ctf-tabletcols"):2,colsmobile:void 0!==s.attr("data-ctf-mobilecols")?s.attr("data-ctf-mobilecols"):1,imageCols:s.attr("data-ctfimagecols"),maxMedia:parseInt(s.attr("data-ctfmaxmedia")),feedID:s.attr("data-feedid"),v2feed:"undefind"!=typeof s.attr("data-feed")?s.attr("data-feed"):"",postID:"undefind"!=typeof s.attr("data-postid")?s.attr("data-postid"):"unknown",shortCodeAtts:s.attr("data-ctfshortcode"),backgroundCheck:o.indexOf("background")>-1,gdpr:o.indexOf("gdpr")>-1,overrideBlockCDN:o.indexOf("overrideBlockCDN")>-1,consentGiven:!1,lightboxEnabled:!0,locator:o.indexOf("locator")>-1,autoMinRes:1,general:a};window.ctf.feeds[e]=function(t,e,s){return new i(t,e,s)}(this,e,u),window.ctf.feeds[e].twitterCardHandler=new n("ctf",s),window.ctf.feeds[e].init();var c=jQuery.Event("ctfafterfeedcreate");c.feed=window.ctf.feeds[e],jQuery(window).trigger(c)})))},afterFeedsCreated:function(){void 0!==window.ctf.feeds[0]&&window.ctf.feeds[0].settings.consentGiven&&window.ctf.maybeAddIntents()},encodeHTML:function(t){return void 0===t?"":t.replace(/(>)/g,">").replace(/(<)/g,"<").replace(/(<br\/>)/g,"<br>").replace(/(<br>)/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,")}},i.prototype={init:function(){var e=this,i=t(this.el);e.settings.consentGiven=e.checkConsent(),t(this.el).find("#ctf_mod_error").length&&t(this.el).prepend(t(this.el).find("#ctf_mod_error")),e.setResizedImages(),this.settings.ajaxPostLoad?this.getNewPostSet():this.afterInitialImagesLoaded();var s,n=(s=0,function(t,e){clearTimeout(s),s=setTimeout(t,e)});jQuery(window).on("resize",(function(){n((function(){e.afterResize()}),500)})),i.find(".ctf-header .ctf-header-link").on("mouseenter mouseleave",(function(t){switch(t.type){case"mouseenter":i.find(".ctf-header .ctf-header-img-hover").fadeIn(200);break;case"mouseleave":i.find(".ctf-header .ctf-header-img-hover").stop().fadeOut(600)}})),jQuery(".ctf-btn-show-threads").on("click",(function(){let i=t(this),s=i.data("show-thread-text"),o=i.data("hide-thread-text"),a=i.closest(".ctf-item").attr("id").replace("ctf_",""),r=jQuery('.ctf-tweet-items .ctf-threads-wrapper[data-tweet-id="'+a+'"]');i.closest(".ctf-item").toggleClass("ctf-threads-expanded");let u=jQuery("#ctf").hasClass("ctf-masonry");r.hasClass("ctf-threads-expanded")?(r.removeClass("ctf-threads-expanded"),i.html(s),u?(r.hide(),n((function(){e.afterResize()}),200)):r.slideUp()):(r.addClass("ctf-threads-expanded"),i.html(o),u?(r.show(),n((function(){e.afterResize()}),200)):r.slideDown())}))},initLayout:function(){var e=t(this.el),i=this,s=i.settings.general.cols,n=i.settings.colstablet,o=i.settings.colsmobile,a="list";if(i.isInitialized=!0,void 0!==i.settings.general.masonry?a="masonry":void 0!==i.settings.general.carousel&&(a="carousel",i.isInitialized=!1),this.layout=a,"masonry"===a)e.hasClass("ctf-mobcol-auto")?(m=2,2!=parseInt(s)&&(v=1),2==p
10arseInt(s)&&(v=2)):v=o,this.settings.autoMinRes=320,e.find(".ctf-tweet-items").data("smashotope")&&e.find(".ctf-tweet-items").smashotope("layout"),this.isotopeArgs={itemSelector:".ctf-item",layoutMode:"packery",transitionDuration:0,resizable:!1};else if("carousel"===a){s=this.settings.cols,o=this.settings.colsmobile;e.find(".ctf-tweet-items").append(e.find(".ctf-more"));var u=e.find(".ctf-item").last().attr("id");e.find(".ctf-more").attr("data-ctf-last",u),e.find(".ctf-tweet-items").addClass("ctf-carousel"),e.find(".ctf_load_btn").remove(),e.find(".ctf-item").css({"padding-top":i.settings.general.itemspacing,"padding-right":i.settings.general.itemspacing,"padding-bottom":i.settings.general.itemspacing,"padding-left":i.settings.general.itemspacing}),e.find(".ctf-item").each((function(){void 0!==t(this).attr("style")&&t(this).attr("style",t(this).attr("style").replace("padding: "+e.find(".ctf-tweet-items").css("padding-top"),"padding: "+e.find(".ctf-tweet-items").css("padding-top")+" !important"))}));var c=i.settings.general.carousel[0],h=i.settings.general.carousel[1],l=i.settings.general.carousel[2],d=i.settings.general.carousel[3],f=i.settings.general.carousel[4],p=i.settings.general.carousel[5];rewind=!1,"none"!==f?(w=!0,"rewind"===f&&(rewind=!0,w=!1)):w=!1;var g=e.attr("data-ctf-height").replace("'","");l||(d=!1);var m=s,v=s,y=(l=!1!==d,2==p),w=w;e.hasClass("ctf-mob-col-auto")?(m=2,2!=parseInt(s)&&(v=1),2==parseInt(s)&&(v=2)):(v=o,m=n),i.carouselArgs={items:s,loop:w,rewind:rewind,autoplay:l,autoplayHoverPause:!0,nav:!0,dots:h,owl2row:y,responsive:{0:{items:v},480:{items:m},640:{items:s}},onChange:function(){"clickexpand"!==g||e.find(".ctf-carousel-height-change").length||r(e,i)},onInitialize:function(){var t=jQuery(i.el);t.find(".ctf-tweet-items.ctf-carousel").fadeIn(10,(function(){"clickexpand"===g&&r(t,i)})),setTimeout((function(){t.find(".ctf-tweet-items.ctf-carousel .ctf-info, .ctf-owl2row-item,.ctf-tweet-items.ctf-carousel").fadeIn()}),10),setTimeout((function(){var e=t.find(".ctf-owl-nav");if("onhover"===c)e.addClass("onhover").hide(),t.on({mouseenter:function(){e.fadeIn()},mouseleave:function(){e.fadeOut()}});else if("below"===c){var i=t.find(".ctf-owl-dots"),s=t.find(".ctf-owl-prev"),n=t.find(".ctf-owl-next"),o=t.find(".ctf-owl-nav"),a=t.find(".ctf-owl-dot"),r=a.length*a.innerWidth();t.innerWidth();s.after(i),o.css("position","relative"),n.css("position","absolute").css("top","-6px").css("right",Math.max(.5*o.innerWidth()-.5*r-n.innerWidth()-6,0)),s.css("position","absolute").css("top","-6px").css("left",Math.max(.5*o.innerWidth()-.5*r-s.innerWidth()-6,0))}else"hide"===c&&e.addClass("hide").hide()}),10)}},"true"==e.attr("data-ctf-navarrows")?i.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>']:i.carouselArgs.nav=!1,d&&(i.carouselArgs.autoplayTimeout=Math.max(d,2e3)),"auto"===g&&(i.carouselArgs.autoHeight=!0,i.carouselArgs.items=1,i.carouselArgs.responsive={0:{items:1},480:{items:1},640:{items:1}})}var _=jQuery.Event("ctfafterlayoutinit");_.feed=this,jQuery(window).trigger(_),"masonry"===a&&(i.setMasonry(),i.smashotopeInit(),setTimeout((function(){i.setMasonry(),i.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 e=this;if(!t(this.el).find(".ctf-resized-image-data").length||void 0===t(this.el).find(".ctf-resized-image-data").attr("data-resized")||0!==t(this.el).find(".ctf-resized-image-data").attr("data-resized").indexOf('{"')&&0!==t(this.el).find(".ctf-resized-image-data").attr("data-resized").indexOf("["))this.resizedImages={};else{var i=JSON.parse(t(this.el).find(".ctf-resized-image-data").attr("data-resized"));t.each(i,(function(t,i){e.resizedImages[i.twitter_id]={id:i.media_id,sizes:JSON.parse(i.sizes),aspect:i.aspect_ratio}}))}t(this.el).find(".ctf-resized-image-data").remove()},afterInitialImagesLoaded:function(){var e=this;if(this.initLayout(),this.loadMoreButtonInit(),this.beforeNewImagesRevealed(),this.sizeItems(),this.maybeRaiseImageResolution(!0),this.revealNewImages(),this.afterNewImagesRevealed(),this.afterFeedSet(),t(this.el).hasClass("ctf-autoscroll")){var i=t(this.el);setTimeout((function(){e.bindAutoScroll(i),u=0}),1500)}t(this.el).find(".ctf-item").each((function(){e.lazyLoadCheck(t(this))})),this.settings.consentGiven&&this.addFullFeatures()},afterResize:function(){if(this.setImageHeight(),this.setImageSizeClass(),this.sizeItems(),this.maybeRaiseImageResolution(),this.twitterCardHandler.maybeRaiseResolution(),"masonry"===this.layout){var 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 e=t(this.el),i=this;this.setResizedImages(),this.beforeNewImagesRevealed(),this.sizeItems(),"carousel"!==i.layout&&this.maybeRaiseImageResolution(!0),this.revealNewImages(),this.afterNewImagesRevealed(),this.settings.consentGiven&&this.addFullFeatures(),setTimeout((function(){e.find(".ctf_loader").addClass("ctf_hidden"),e.find(".ctf_btn_text").removeClass("ctf_hidden"),i.maybeRaiseImageResolution(),i.setImageHeight()}),10)},beforeNewImagesRevealed:function(){var e=this;e.settings.consentGiven||t(e.el).find(".ctf-hide-avatar").length&&!t(e.el).find(".ctf-hide-avatar.ctf-no-consent").length||(e.settings.overrideBlockCDN?(t(e.el).find(".ctf-item.ctf-no-consent").removeClass("ctf-hide-avatar"),t(e.el).find(".ctf-author-avatar").each((function(){t(this).find("img").attr("src",t(this).find("img").attr("data-avatar"))}))):t(e.el).find(".ctf-item").addClass("ctf-hide-avatar ctf-no-consent")),ctfSVGify(t(this.el)),this.setImageSizeClass()},afterFeedSet:function(){if(void 0!==this.carouselArgs){var e=this,i=t(e.el).attr("data-ctf-height").replace("'","");e.isInitialized=!0,this.initCarousel(),"clickexpand"===i&&setTimeout((function(){!function(e,i){var s=void 0!==i.settings.expanded&&i.settings.expanded;minHeight=parseInt(e.find(".ctf-owl-item").eq(0).outerHeight()),e.find(".ctf-owl-item").each((function(){if(!t(this).find(".ctf-more").length){var e=parseInt(t(this).outerHeight());minHeight=minHeight<=e?minHeight:e}})),s?e.find(".ctf-owl-stage-outer").css("height","auto"):e.find(".ctf-owl-stage-outer").css("height",minHeight+"px")}(t(e.el),e)}),1e3)}}
10,initCarousel:function(){var e=this,i=t(e.el);i.find(".ctf-more").attr("data-ctf-last",i.find(".ctf-item").last().attr("id")),i.find(".ctf-carousel-height-change").remove(),t(e.el).find(".ctf-carousel").ctfOwlCarousel(e.carouselArgs),t(e.el).show(),2===parseInt(e.settings.general.carousel[5])&&t(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(e){var i=this;e.find("img").each((function(){t(this).prop("complete")||(i.imagesWaiting++,t(this).addClass("ctf-image-loading").on("load",(function(){t(this).removeClass("ctf-image-loading"),i.imagesWaiting--,i.imagesWaiting<1&&i.afterResize()})),t(this).on("error",(function(){t(this).removeClass("ctf-image-loading"),i.imagesWaiting--,i.imagesWaiting<1&&i.afterResize()})))}))},sizeItems:function(){var e=t(this.el),i=this.settings.imageCols,s=!("auto"!==i&&!e.hasClass("ctf-narrow")),n=e.find(".ctf-tweet-media-masonry");if(s||(n=e.find(".ctf-tweet-media"),".ctf-tweet-media a"),n.length){parseInt(n.innerWidth());var o=this.settings.maxMedia,a=50,r=!1;"auto"===i?r=!0:a=100/i,n.each((function(e){var i=t(this),s=i.find("a").length;Math.min(s,o);if(i.find("a").slice(o).hide(),r)if(2!==s){var n=(s-1)/s;if(i.find("a").css({width:100/(s-1)-n+"%",margin:"0 1% 0 0"}),i.find("a").first().css({width:"100%","max-width":"100%",margin:"0 auto 1%"}),s>2){i.find("a").last().css({width:100/(s-1)-1+"%",margin:"0"}),i.find("img").css({width:"100%"});var u=[700];i.find("img").length&&void 0!==i.find("img").first().attr("data-ctfsizes")&&(u=i.find("img").first().attr("data-ctfsizes").split(",")),u[u.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%"}),e>0&&(void 0===i.ctf_imgLiquid&&ctfAddImgLiquid(),i.find("a").each((function(e){e>0&&(t(this).css("height",i.find("a").last().width()),t(this).ctf_imgLiquid({fill:!0}))})))}}else 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%"});else i.find("a").css("max-width",a-1+"%").css("margin","0 1% 0 0")}))}},initShowMore:function(e){var i=this;t(this.el).find(".ctf_more").off("click").on("click",(function(e){e.preventDefault(),t(this).hide().next(".ctf_remaining").show(),i.afterResize()}))},revealNewImages:function(){var i=t(this.el),s=this;this.applyImageLiquid(),"function"==typeof window.ctf_custom_js&&setTimeout((function(){window.ctf_custom_js()}),100),i.find(".ctf-screenreader").find("img").remove(),i.find(".ctf-item.ctf-new").each((function(n){var o=i,a=t(this),r=a.find(".ctf-tweet-text"),u=" "+r.html(),c=o.attr("data-ctflinktextcolor"),h="",l=t(this).find(".ctf-tweet-media a").length,d=s.settings.maxMedia;Math.min(l,d);if(a.find(".ctf-twitter-card-placeholder").length){var f=a.find(".ctf-twitter-card-placeholder").attr("data-tweet-id"),p=a.find(".ctf-twitter-card-placeholder").attr("data-tc-url");a.find("iframe").length?(a.find(".ctf-twitter-card-placeholder").remove(),a.find(".ctf-tweet-text").find('a[href^="'+p+'"]').remove(),a.find(".ctf-tweet-text").html(a.find(".ctf-tweet-text").html().replace(p,""))):s.itemsToCheck.cards.push({id:f,url:p})}if(c&&(h=c.replace(";","").split("#")[1]),r.find(".ctf_remaining").html(" "+r.find(".ctf_remaining").html()),r.find("a").length===r.find(".ctf_more").length&&(r.find(".emoji").each((function(){t(this).replaceWith(t(this).attr("alt"))})),u=" "+r.html(),u=ctfLinkify(u)),"true"!=o.attr("data-ctfdisablelinks")&&void 0!==u&&!o.find(".ctf-tweet-text-link").length){u.length>0&&(u=(u=u.replace(/<br>/g,"<br> ")).replace(ctfHashRegex,ctfHashReplacer));u=u.replace(/[\s|(][@]+[A-Za-z0-9-_]+/g,ctfReplaceTags),r.find(".ctf_remaining").length&&0===r.find(".ctf_remaining").html().indexOf(" ")&&r.find(".ctf_remaining").html(r.find(".ctf_remaining").html().replace(" ","")),r.html(u.trim()),r.find("a").css("color","#"+h),a.find(".ctf-twitter-card").css("color",r.css("color"))}a.find(".ctf-tweet-text a").each((function(){jQuery(this).text().indexOf("http")>-1&&jQuery(this).text().length>63&&jQuery(this).text(jQuery(this).text().substring(0,60)+"...")})),a.find(".ctf-tweet-content:not(.ctf-disable-lightbox) .ctf-tweet-media a").on({mouseenter:function(){t(this).find(".ctf-photo-hover").fadeIn(150)},mouseleave:function(){t(this).find(".ctf-photo-hover").stop().fadeOut(500)}}),o.find(".ctf-author-name, .ctf-tweet-date, .ctf-author-screenname, .ctf-twitterlink, .ctf-author-box-link, .ctf-quoted-tweet, .ctf-context a").css("color",o.find(".ctf-tweet-text").css("color")),s.alignTweetActions(i),s.initShowMore(i),s.twitterCardHandler.handleImageError(i),s.settings.lightboxEnabled&&(i.find(".ctf-lightbox-hover").attr("data-ctf-lightbox",s.index),i.hasClass("ctf-youtube-item")&&i.find(".ctf-lightbox-hover").attr("href",e.options.lightboxPlaceholder)),s.afterItemRevealed(i),i.find(".ctf-item-share a").on("click",(function(){var e=t(this);if(e.hasClass("ctf-open"))i.find(".ctf-share-popup").remove(),e.removeClass("ctf-open");else{t(this).before(ctfShareHTML(i)),e.addClass("ctf-open");var s=0;i.find(".ctf-share-popup").find("a").each((function(){var t=jQuery(this);setTimeout((function(){t.addClass("ctf-show")}),s),s+=20}))}})),t(document).on("click",(function(){jQuery(".ctf-share-popup").remove(),jQuery(".ctf-item-share a").removeClass("ctf-open")})),t(".ctf-item-share a").on("click",(function(t){return t.stopPropagation(),!1}))})),layoutDelay=0,"masonry"===s.layout&&(s.afterResize(),layoutDelay=400),i.find(".ctf-item.ctf-new").removeClass("ctf-new"),setTimeout((function(){"masonry"===s.layout&&(s.setMasonry(),s.smashotopeInit());var t=10;
10i.find(".ctf-transition").length;i.find(".ctf-transition").each((function(e){var i=jQuery(this);setTimeout((function(){i.removeClass("ctf-transition")}),t),t+=10}))}),layoutDelay),setTimeout((function(){"masonry"===s.layout&&(s.setMasonry(),s.smashotopeInit())}),15),setTimeout((function(){"masonry"===s.layout&&(s.setMasonry(),s.smashotopeInit())}),20)},alignTweetActions:function(t){},afterItemRevealed:function(){},getMaxResImage:function(e){var i=0,s=!1;return t.each(e,(function(t,e){t>i&&(i=t,s=e)})),s},lazyLoadCheck:function(e){var i=this,s=i.getImageUrls(e);e.find(".ctf-tweet-media img").length&&!e.closest(".ctf").hasClass("ctf-no-ll-check")&&e.find(".ctf-tweet-media img").each((function(e){var n=void 0!==t(this).attr("data-full-image")?t(this).attr("data-full-image"):t(this).closest("a").attr("href");n&&void 0!==t(this).attr("data-src")&&t(this).attr("data-src",n),n&&void 0!==t(this).attr("data-bg")&&t(this).attr("data-bg",n),n&&void 0!==t(this).attr("data-orig-src")&&t(this).attr("data-orig-src",n),i.settings.consentGiven||i.settings.overrideBlockCDN||(n=!1)&&n.indexOf("twimg.")>-1&&void 0!==s[e]&&(n=!1,jQuery.each(s[e],(function(t,e){n=i.getMaxResImage(s)}))),t(this).on("load",(function(){i.isInitialized&&!t(this).hasClass("ctf-replaced")&&t(this).attr("src").indexOf("placeholder")>-1&&(t(this).closest(".ctf-tweet-media").attr("data-current",1e3),t(this).addClass("ctf-replaced"),n&&(t(this).attr("src",n),t(this).closest(".ctf_imgLiquid_bgSize").length&&t(this).closest(".ctf_imgLiquid_bgSize").css("background-image","url("+n+")")))}))})),e.find(".ctf-tc-image img").length&&!e.closest(".ctf").hasClass("ctf-no-ll-check")&&e.find(".ctf-tc-image img").each((function(){var e=void 0!==t(this).attr("data-src")&&t(this).attr("data-src");e&&void 0!==t(this).attr("data-src")&&t(this).attr("data-src",e),e&&void 0!==t(this).attr("data-bg")&&t(this).attr("data-bg",e),e&&void 0!==t(this).attr("data-orig-src")&&t(this).attr("data-orig-src",e),e&&t(this).closest(".ctf_imgLiquid_bgSize").length&&t(this).closest(".ctf_imgLiquid_bgSize").css("background-image","url("+e+")")}))},afterNewImagesRevealed:function(){var e=this;this.listenForVisibilityChange(),this.settings.imageLoadEnabled||t(".ctf_no_resraise").removeClass("ctf_no_resraise"),"carousel"!==e.layout?this.sendDataForBackgroun
10dProcesses():setTimeout((function(){e.sendDataForBackgroundProcesses()}),1e3);var i=t.Event("ctfafterimagesloaded");i.el=t(this.el),t(window).trigger(i)},sendDataForBackgroundProcesses:function(){var e=this;if(e.itemsToCheck.cards.length>0||e.itemsToCheck.resize.length>0){o({action:"ctf_background_processing",feed_id:void 0!==e.settings.feedID?e.settings.feedID:"ctf_single",atts:e.settings.shortCodeAtts,location:e.locationGuess(),post_id:e.settings.postID,offset:t(this.el).find(".ctf-item").length,cards:e.itemsToCheck.cards,needs_resizing:e.itemsToCheck.resize},(function(t){if(0===t.trim().indexOf("{")){var i=JSON.parse(t);if(e.settings.debugEnabled&&console.log(i),e.afterBackgroundProcessing(i),void 0!==i.resizing){var s=i.resizing;for(var n in s)s.hasOwnProperty(n)&&(e.resizedImages[n]=s[n]);e.maybeRaiseImageResolution(),setTimeout((function(){e.afterResize()}),50)}}}))}},afterBackgroundProcessing:function(e){var i=this;t(this.el).find(".ctf-item").each((function(){var s=t(this),n=s.find(".ctf-twitter-card-placeholder"),o=n.attr("data-tweet-id");n.attr("data-tc-url");void 0!==e[o]&&void 0!==e[o]&&(""!==e[o].html&&i.twitterCardHandler.addNewCard(s,e[o],i),n.remove()),i.processNewImage(s)})),i.afterResize(),this.itemsToCheck={cards:[],resize:[]}},loadMoreButtonInit:function(){var e=t(this.el),i=this,s=parseInt(e.attr("data-ctfneeded"));setTimeout((function(){if(s>0){var t=e.find(".ctf-more"),n=e.find(".ctf-item").last().attr("id").replace("ctf_",""),o=e.find(".ctf-item").length,a=e.attr("data-ctfshortcode");i.ctfLoadTweets(n,a,e,t,s,o,!0)}}),50),e.find(".ctf-more").on("click",(function(){var s=t(this),n=e.find(".ctf-item").last().attr("id").replace("ctf_",""),o=e.find(".ctf-item").length,a=e.attr("data-ctfshortcode");e.hasClass("ctf-carousel")&&(n=e.find(".ctf-more").attr("data-ctf-last").replace("ctf_","")),i.ctfLoadTweets(n,a,e,s,0,o,!1)}))},ctfLoadTweets:function(e,i,s,n,a,r,c){var h=this;t(this.el);n.addClass("ctf-loading").append('<div class="ctf-loader"></div>'),n.find(".ctf-loader").css("background-color",n.css("color"));o({action:"ctf_get_more_posts",last_id_data:e,shortcode_data:i,feed_id:h.settings.feedID,v2feed:h.settings.v2feed,location:h.locationGuess(),post_id:h.settings.postID,num_needed:a,persistent_index:r},(function(t){if(""!==e){if(s.hasClass("ctf-carousel")){var i=s.attr("data-ctf-loop"),o=parseInt(s.attr("data-ctf-cols")),a=0-o;"none"===i||"rewind"===i?a=s.find(".ctf-owl-item").index(s.find(".ctf-owl-item.active").last())-o+1:"infinite"===i&&(a=(s.find(".ctf-owl-item").index(s.find(".ctf-owl-item.cloned").last())-o+1)/2,1===o?a-=1:2===o&&(a-=2),a=Math.ceil(a)),s.find(".ctf-tweet-items").ctfOwlCarousel("destroy"),s.find(".ctf-carousel-more").remove(),c&&(a=0)}-1==t.indexOf("<meta charset")&&(h.appendNewPosts(t,"all"),h.settings.ajaxPostLoad?(h.settings.ajaxPostLoad=!1,h.afterInitialImagesLoaded()):h.afterNewImagesLoaded()),s.find(".ctf-out-of-tweets").length&&(n.hide(),s.find(".ctf-out-of-tweets p").eq(0).fadeIn().end().eq(1).delay(500).fadeIn(),s.find(".ctf-tweet-items").after(s.find(".ctf-out-of-tweets")),s.hasClass("ctf-carousel")&&(s.find(".ctf-more").after(s.find(".ctf-out-of-tweets")),n.remove()))}else h.appendNewPosts(t,"all"),h.settings.ajaxPostLoad?(h.settings.ajaxPostLoad=!1,h.afterInitialImagesLoaded()):h.afterNewImagesLoaded();n.removeClass("ctf-loading").find(".ctf-loader").remove(),s.hasClass("ctf-carousel")?(a>0&&(h.carouselArgs.startPosition=a),h.initCarousel()):s.hasClass("ctf-autoscroll")&&setTimeout((function(){h.bindAutoScroll(s),u=0}),1500)}))},getNewPostSet:function(){},appendNewPosts:function(e,i){var s=t(this.el);s.find(".ctf-tweet-items .ctf-item").length?s.find(".ctf-tweet-items .ctf-item").last().after(e):s.find(".ctf-tweet-items").append(e),"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(e,i){var s=this,n=e.find(".ctf-tweet-media a").length?e.find(".ctf-tweet-media a"):e.find(".ctf-quoted-media-wrap a"),o=e.attr("id").replace("ctf_","");if(n.length||(e.find(".ctf-quoted-media-wrap img").length?e.find(".ctf-quoted-media-wrap .ctf-tc-image").length?n=e.find(".ctf-quoted-media-wrap .ctf-tc-image"):void 0!==e.find(".ctf-quoted-media-wrap").attr("data-available-images")&&(n=e.find(".ctf-quoted-media-wrap")):void 0!==e.find(".ctf-tweet-media").attr("data-available-images")&&(n=e.find(".ctf-tweet-media"))),n.find("img").length){var a=s.getImageUrls(e);n.each((function(i){var r=t(this),u=t(this).find("img"),c=void 0!==u.attr("data-full-image")?u.attr("data-full-image"):u.closest("a").attr("href");if(sizesArr=void 0!==u.attr("data-ctfsizes")?u.attr("data-ctfsizes").split(","):"default",currentUrl=u.attr("src"),currentRes=void 0===u.attr("data-current")?0:parseInt(u.attr("data-current")),neededRes=s.getNeededRes(r,i,n.length),forceChange="undefined"!=typeof forceChange&&forceChange,changeToRes=0,void 0!==s.resizedImages[o]||s.settings.consentGiven||s.settings.overrideBlockCDN){if("full"!==sizesArr[0]){if(currentRes<neededRes){var h=!1,l=c;t.each(a[i],(function(t,i){var n=parseInt(t);!h&&n>
10=currentRes&&(changeToRes=parseInt(t),currentRes=changeToRes,changeToRes>=neededRes&&(h=!0),l=i),s.settings.consentGiven?s.settings.consentGiven&&s.settings.gdpr&&1===e.find(".ctf-lightbox-link[data-bg-image]").length&&e.find(".ctf-lightbox-link[data-bg-image]").css("background-image",'url("'+i+'")'):(e.find(".ctf-lightbox-link[data-bg-image]").length&&e.find(".ctf-lightbox-link[data-bg-image]").css("background-image",'url("'+i+'")'),r.attr("href",i))}))}if(void 0!==l&&l!==currentUrl){if(s.settings.debugEnabled){var d=currentUrl===s.placeholderURL?"was placeholder":"too small";console.log("rais res for "+currentUrl,d)}u.attr("data-current",currentRes),void 0!==l&&l!==currentUrl&&(u.attr("src",l),s.settings.consentGiven&&u.closest(".ctf-lightbox-link[data-bg-image]").length&&u.closest(".ctf-lightbox-link[data-bg-image]").css("background-image",'url("'+l+'")'),s.processNewImage(r),currentRes<700&&u.closest(".ctf_imgLiquid_ready").length&&!u.closest(".ctf_imgLiquid_ready").hasClass("ctf-secondary-check")&&(u.closest(".ctf_imgLiquid_ready").addClass("ctf-secondary-check"),u.on("load",(function(){if(!t(this).hasClass("ctf-secondary-checked")){t(this).addClass("ctf-secondary-checked");var e=u.get(0),s=e.naturalHeight,n=e.naturalWidth/e.naturalHeight;if(u.innerWidth()>s&&(neededRes*=n,parseInt(currentRes)<neededRes&&(h=!1,jQuery.each(a[i],(function(t,e){!h&&t>currentRes&&(changeToRes=t,t>=neededRes&&(h=!0))})),changeToRes))){u.attr("data-current",changeToRes);var o=a[i][changeToRes];o!==currentUrl&&(u.attr("src",o),u.closest(".ctf_imgLiquid_ready").length&&(u.closest(".ctf_imgLiquid_ready").css("background-image",'url("'+o+'")'),u.closest(".ctf_imgLiquid_ready").ctf_imgLiquid({fill:!0})))}}}))))}}}else r.attr("href",s.placeholderURL)})),n.find("img").on("error",(function(){t(this).hasClass("ctf-img-error")?console.log("unfixed error "+t(this).attr("src")):(t(this).addClass("ctf-img-error"),setTimeout((function(){s.afterResize()}),1500))}))}},maybeRaiseImageResolution:function(e){var i=this,s=void 0!==e&&!0===e?".ctf-item.ctf-new":".ctf-item";i.isInitialized&&t(i.el).find(s).each((function(e){t(this).hasClass("ctf-num-diff-hide")||!t(this).find(".ctf-tweet-media").length&&!t(this).find(".ctf-quoted-media-wrap").length||i.maybeRaiseSingleImageResolution(t(this),e)}))},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 e=this,i=JSON.parse($mediaItem.attr("data-available-images").replace(/\\\//g,"/")),s=(i[0],i),n=t.attr("id").replace("ctf_","");this.settings.consentGiven||e.settings.overrideBlockCDN||jQuery.each(s,(function(t,e){s[t]={}}));var o=s;return void 0!==e.resizedImages[n]&&"pending"!==e.resizedImages[n].id&&"error"!==e.resizedImages[n].id?jQuery.each(s,(function(t,i){o[t]={};var s=JSON.parse($mediaItem.attr("data-available-images").replace(/\\\//g,"/"));e.settings.consentGiven&&!e.settings.overrideBlockCDN&&jQuery.each(s[t],(function(e,i){(e>700||e<220)&&(o[t][e]=i)})),jQuery.each(e.resizedImages[n].sizes,(function(i,s){o[t][s]=window.ctfOptions.resized_url+e.resizedImages[n].id+"-"+t+"-"+s+".jpg"}))})):(void 0===this.resizedImages[n]||void 0!==this.resizedImages[n].id&&"pending"!==this.resizedImages[n].id&&"error"!==this.resizedImages[n].id)&&e.addToNeedsResizing(n),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 e=t(this.el),i=e.find(".ctf-item").first().width();i<=480&&e.addClass("ctf-narrow"),i<=320&&e.addClass("ctf-super-narrow"),i>480&&e.removeClass("ctf-narrow ctf-super-narrow"),this.twitterCardHandler.setSize(i)},applyImageLiquid:function(){var e=t(this.el);ctfAddImgLiquid(),"function"==typeof e.find(".ctf-tc-image").ctf_imgLiquid&&e.find(".ctf-tc-image").length&&e.find(".ctf-tc-image").ctf_imgLiquid({fill:!0})},listenForVisibilityChange:function(){var e,i,s;e=jQuery,i={callback:function(){},runOnLoad:!0,frequency:100,ctfPreviousVisibility:null},s={ctfCheckVisibility:function(t,e){if(jQuery.contains(document,t[0])){var 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)}}},e.fn.ctfVisibilityChanged=function(t){var n=e.extend({},i,t);return this.each((function(){s.ctfCheckVisibility(e(this),n)}))},"function"==typeof t(this.el).filter(":hidden").ctfVisibilityChanged&&t(this.el).filter(":hidden").ctfVisibilityChanged({callback:function(t,e){},runOnLoad:!1})},getColumnCount:function(){var e=t(this.el),i=this.settings.cols,s=this.settings.colstablet,n=this.settings.colsmobile,o=i,a=window.innerWidth;return e.hasClass("ctf-mobcol-auto")?a<640&&a>480?o=2:a<=480&&(o=1):o=a>480&&a<=980?s:a<=480?n:i,parseInt(o)},smashotopeInit:function(){var e=t(this.el),i=e.find(".ctf-items-wrap-current").length?e.find(".ctf-items-wrap-current"):e.find(".ctf-tweet-items");this.isotopeArgs.masonry={columnWidth:".ctf-item"},i.smashotope(this.isotopeArgs)},setMasonry:function(){var e=t(this.el),i=e.innerWidth(),s=parseInt(e.find(".ctf-tweet-items").outerWidth()-e.find(".ctf-tweet-items").width())/2,n=this.getColumnCount(),o=(i-s*(n+2))/n,a=(e.find(".ctf-tweet-items").css("padding").indexOf("."),e.hasClass("ctf-fixed-height")?Math.floor(20/n):0);e.find(".ctf-item").each((function(e){t(this).css({width:o-s-10-a+"px"})}))},appendSmashotope:function(){$self=t(this.el),$self.find(".ctf-tweet-items").data("smashotope")&&$self.find(".ctf-tweet-items").smashotope("appended",t(".ctf-new"))},checkConsent:function(){if(this.settings.consentGiven||!this.settings.gdpr)return!0;
10if(void 0!==window.cookieyes)void 0!==window.cookieyes._ckyConsentStore.get&&(this.settings.consentGiven="yes"===window.cookieyes._ckyConsentStore.get("functional"));else if("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")));else if(void 0!==window.cnArgs){var t=("; "+document.cookie).split("; cookie_notice_accepted=");if(2===t.length){var e=t.pop().split(";").shift();this.settings.consentGiven="true"===e}}else void 0!==window.complianz?this.settings.consentGiven="allow"===c("cmplz_marketing"):void 0!==window.cookieconsent?this.settings.consentGiven="allow"===c("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"));var i=jQuery.Event("ctfcheckconsent");return i.feed=this,jQuery(window).trigger(i),this.settings.consentGiven},afterConsentToggled:function(){if(this.checkConsent()){var t=this;this.addFullFeatures(),t.maybeRaiseImageResolution(),setTimeout((function(){t.afterResize()}),500)}},addFullFeatures:function(){var e=this;window.ctf.maybeAddIntents(),t(e.el).find(".ctf-item.ctf-no-consent").removeClass("ctf-hide-avatar"),t(e.el).find(".ctf-author-avatar").each((function(){t(this).find("img").attr("src",t(this).find("img").attr("data-avatar"))})),t(e.el).find(".ctf-iframe-placeholder").each((function(){t(this).replaceWith('<iframe src="'+t(this).attr("data-ctf-url")+'" type="text/html" allowFullScreen frameBorder="0" title="Twitter Feed Media" webkitAllowFullScreen mozallowfullscreen></iframe>')})),t(e.el).find(".ctf-disable-lightbox .ctf-video-thumb").each((function(){void 0!==t(this).attr("data-video-src")&&t(this).replaceWith("<video "+t(this).attr("data-video-atts")+' src="'+t(this).attr("data-video-src")+'" type="video/mp4" poster="'+t(this).attr("data-video-poster")+'">')})),t(e.el).find(".ctf-video-thumb.ctf-thum-type-animated_gif").each((function(){void 0!==t(this).attr("data-video-src")&&t(this).replaceWith("<video "+t(this).attr("data-video-atts")+' src="'+t(this).attr("data-video-src")+'" type="video/mp4" poster="'+t(this).attr("data-video-poster")+'">')})),t(e.el).find(".ctf-tc-image").each((function(){t(this).find("img").attr("src")!==t(this).attr("data-bg")&&t(this).find("img").attr("src",t(this).attr("data-bg"))})),t(e.el).find(".ctf-tweet-media").each((function(){if(t(this).find("img").length&&t(this).find("img").attr("src").indexOf("img/placeholder.png")>-1&&void 0!==t(this).find("img").first().attr("data-full-image")){var e=t(this).find("img").first().attr("data-full-image");t(this).find("img").first().attr("src",e),t(this).find("a").first().css("background-image",'url("'+e+'")').attr("data-bg",e)}t(this).find("video").length&&""===t(this).find("video").attr("src")&&void 0!==t(this).find("video").attr("data-src")&&t(this).find("video").attr("src",t(this).find("video").attr("data-src"))})),t(e.el).find(".ctf-no-consent").removeClass("ctf-no-consent"),this.afterResize()},bindAutoScroll:function(e){var i=parseInt(e.attr("data-ctfscrolloffset"));e.hasClass("ctf-fixed-height")?e.on("scroll.ctf",(function(){var t=e.scrollTop(),s=e.innerHeight();t>e[0].scrollHeight-i-s&&(e.off("scroll.ctf"),0===u&&(u=1,e.find(".ctf-out-of-tweets").length||e.find(".ctf-more").trigger("click")))})):t(window).on("scroll.ctf",(function(){var s=window.pageYOffset,n=window.innerHeight;s>document.body.offsetHeight-i-n&&(t(window).off("scroll.ctf"),0===u&&(u=1,e.find(".ctf-out-of-tweets").length||e.find(".ctf-more").trigger("click")))}))},locationGuess:function(){var e=t(this.el),i="content";return e.closest("footer").length?i="footer":e.closest(".header").length||e.closest("header").length?i="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(i="sidebar"),i}},s.prototype={getData:function(t){var e=parseInt(t.closest(".ctf").attr("data-ctf-index")-1);if(void 0!==t.attr("data-id")){var i=t.attr("data-video"),s=t.attr("data-avatar"),n=t.attr("data-iframe"),o=t.attr("href");return window.ctf.feeds[e].settings.consentGiven||(s=window.ctf.options.placeholder,""!==n&&(n=""),""!==i&&(i="link")),{link:o,title:t.attr("data-title")||t.attr("title"),video:i,iframe:n,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:s,name:t.attr("data-name"),date:t.attr("data-date"),feedIndex:e}}return{link:"",title:"",video:"",iframe:"",audioiframe:"",amplify:"",id:"",url:"",user:"",avatar:"",name:"",date:"",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><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>"}
10,beforePlayerSetup:function(t,e,i,s,n){},afterPlayerSetup:function(t,e,i,s){},afterResize:function(){},afterSlideChange:function(){var e=t("#ctf_lightbox");e.addClass("ctf-lightbox-transitioning"),e.find("iframe").hide(),e.find("video").hide(),ctf_supports_video()&&t("#ctf_lightbox video.ctf_video")[0].pause(),t("#ctf_lightbox iframe").attr("src","")}},n.prototype={setSize:function(t){var e=this.$context.find("."+this.prefix+"-twitter-card");t>550?e.addClass(this.prefix+"-tc-wide"):e.removeClass(this.prefix+"-tc-wide")},handleImageError:function(e){var i=this.prefix;e.find("."+i+"-twitter-card").each((function(){t(this).find("img").on("error",(function(){t(this).closest("."+i+"-twitter-card").addClass(i+"-tc-no-image"),t(this).remove()}))}))},addNewCard:function(t,e,i){var s=t.find(".ctf-twitter-card-placeholder"),n=(s.attr("data-tweet-id"),s.attr("data-tc-url")),o=s.attr("data-tc-short-url");e.url=n,e.shortUrl=o,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);var a=jQuery.Event("ctfaftertcadded");a.feed=i,jQuery(window).trigger(a)},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(i){t(this).closest(".ctf-item").hasClass("ctf-num-diff-hide")||e.maybeRaiseSingleResolution(t(this),i)}))},maybeRaiseSingleResolution:function(e){var i=!!e.find("img").length&&e.find("img");if(i&&void 0!==i.attr("data-available-images")){var s=JSON.parse(i.attr("data-available-images").replace(/\\\//g,"/")),n=i.attr("src"),o=void 0===i.attr("data-current")?0:parseInt(i.attr("data-current")),a=i.closest(".ctf-tc-image").innerWidth();if(changeToRes=0,o<a){var r=!1,u=n;t.each(s,(function(t,e){!r&&t>=a&&(changeToRes=parseInt(t),changeToRes>=a&&(r=!0,u=window.ctfOptions.resized_url+e))})),u!==n&&(i.attr("data-current",changeToRes),u!==n&&(i.attr("src",u),i.closest(".ctf_imgLiquid_ready").length&&i.closest(".ctf_imgLiquid_ready").css("background-image",'url("'+u+'")').attr("data-bg",u))),i.on("error",(function(){t(this).hasClass("ctf-img-error")?console.log("unfixed error "+t(this).attr("src")):(t(this).addClass("ctf-img-error"),setTimeout((function(){}),1500))}))}}}},window.ctf_init=function(){window.ctf=new e,window.ctf.createPage(window.ctf.createFeeds,{whenFeedsCreated:window.ctf.afterFeedsCreated})};var u=0;function c(t){for(var e=t+"=",i=window.document.cookie.split(";"),s=0;s<i.length;s++){var n=i[s].trim();if(0==n.indexOf(e))return n.substring(e.length,n.length)}return""}}(jQuery),jQuery(document).ready((function(t){ctf_init(),t("#cookie-notice a").on("click",(function(){setTimeout((function(){t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].afterConsentToggled()}))}),1e3)})),t("#cookie-law-info-bar a").on("click",(function(){setTimeout((function(){t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].afterConsentToggled()}))}),1e3)})),t(".cli-user-preference-checkbox, .cky-notice button").on("click",(function(){setTimeout((function(){t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].checkConsent(),window.ctf.feeds[t].afterConsentToggled()}))}),1e3)})),t(window).on("CookiebotOnAccept",(function(e){t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()}))})),t(".cmplz-btn").on("click",(function(){"function"==typeof cmplz_accepted_categories&&setTimeout((function(){cmplz_accepted_categories().indexOf("marketing")>-1&&t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()}))}),1e3)})),t(document).on("cmplzAcceptAll",(function(e){t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].settings.consentGiven=!0,window.ctf.feeds[t].afterConsentToggled()}))})),t("#ctf-frce-hide-license-error").on("click",(function(){t("#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)}})})),t(document).on("borlabs-cookie-consent-saved",(function(e){var i=!1;void 0!==window.BorlabsCookie&&(i=window.BorlabsCookie.checkCookieConsent("twitter")),t.each(window.ctf.feeds,(function(t){window.ctf.feeds[t].settings.consentGiven=i,window.ctf.feeds[t].afterConsentToggled()}))}))}))}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.