PageSourceSearch

https://noandishaan.com/wp-content/themes/noandishaan-theme/js/main.js?ver=5.9.8

js noandishaan.com collected 2026-10-01 12:21:10 UTC 62,791 bytes, 1 lines download raw bytes

vendor: 18,699 bytes, line 1
1!function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,(function(t,e){let i=t.console,n=void 0===i?function(){}:function(t){i.error(t)};return function(i,o,s){(s=s||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){t&&(this.options=Object.assign(this.options||{},t))}),s.fn[i]=function(t,...e){return"string"==typeof t?function(t,e,o){let r,a=`$().${i}("${e}")`;return t.each((function(t,l){let c=s.data(l,i);if(!c)return void n(`${i} not initialized. Cannot call method ${a}`);let h=c[e];if(!h||"_"==e.charAt(0))return void n(`${a} is not a valid method`);let d=h.apply(c,o);r=void 0===r?d:r})),void 0!==r?r:t}(this,t,e):(r=t,this.each((function(t,e){let n=s.data(e,i);n?(n.option(r),n._init()):(n=new o(e,r),s.data(e,i,n))})),this);var r})}})),function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},n=i[t]=i[t]||[];return n.includes(e)||n.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let n=i.indexOf(e);return-1!=n&&i.splice(n,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let n=this._onceEvents&&this._onceEvents[t];for(let o of i)n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t):t.fizzyUIUtils=e(t)}(this,(function(t){let e={extend:function(t,e){return Object.assign(t,e)},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?[...t]:[t]},removeFrom:function(t,e){let i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if((t=t.parentNode).matches(e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){let e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,i){return(t=e.makeArray(t)).filter((t=>t instanceof HTMLElement)).reduce(((t,e)=>{if(!i)return t.push(e),t;e.matches(i)&&t.push(e);let n=e.querySelectorAll(i);return t.concat(...n)}),[])},debounceMethod:function(t,e,i){i=i||100;let n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){clearTimeout(this[o]);let t=arguments;this[o]=setTimeout((()=>{n.apply(this,t),delete this[o]}),i)}},docReady:function(t){let e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()}},i=t.console;return e.htmlInit=function(n,o){e.docReady((function(){let s="data-"+e.toDashed(o),r=document.querySelectorAll(`[${s}]`),a=t.jQuery;[...r].forEach((t=>{let e,r=t.getAttribute(s);try{e=r&&JSON.parse(r)}catch(e){return void(i&&i.error(`Error parsing ${s} on ${t.className}: ${e}`))}let l=new n(t,e);a&&a.data(t,o,l)}))}))},e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("fizzy-ui-utils")):t.InfiniteScroll=e(t,t.EvEmitter,t.fizzyUIUtils)}(window,(function(t,e,i){let n=t.jQuery,o={};function s(t,e){let r=i.getQueryElement(t);if(r){if((t=r).infiniteScrollGUID){let i=o[t.infiniteScrollGUID];return i.option(e),i}this.element=t,this.options={...s.defaults},this.option(e),n&&(this.$element=n(this.element)),this.create()}else console.error("Bad element for InfiniteScroll: "+(r||t))}s.defaults={},s.create={},s.destroy={};let r=s.prototype;Object.assign(r,e.prototype);let a=0;r.create=function(){let t=this.guid=++a;if(this.element.infiniteScrollGUID=t,o[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath()){this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(let t in s.create)s.create[t].call(this)}else console.error("Disabling InfiniteScroll")},r.option=function(t){Object.assign(this.options,t)},r.callOnInit=function(){let t=this.options.onInit;t&&t.call(this,this)},r.dispatchEvent=function(t,e,i){this.log(t,i);let o=e?[e].concat(i):i;if(this.emitEvent(t,o),!n||!this.$element)return;let s=t+=".infiniteScroll";if(e){let i=n.Event(e);i.type=t,s=i}this.$element.trigger(s,i)};let l={initialized:t=>`on ${t}`,request:t=>`URL: ${t}`,load:(t,e)=>`${t.title||""}. URL: ${e}`,error:(t,e)=>`${t}. URL: ${e}`,append:(t,e,i)=>`${i.length} items. URL: ${e}`,last:(t,e)=>`URL: ${e}`,history:(t,e)=>`URL: ${e}`,pageIndex:function(t,e){return`current page determined to be: ${t} from ${e}`}};r.log=function(t,e){if(!this.options.debug)return;let i=`[InfiniteScroll] ${t}`,n=l[t];n&&(i+=". "+n.apply(this,e)),console.log(i)},r.updateMeasurements=function(){this.windowHeight=t.innerHeight;let e=this.element.getBoundingClientRect();this.top=e.top+t.scrollY},r.updateScroller=function(){let e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:i.getQueryElement(e),!this.scroller)throw new Error(`Unable to find elementScroll: ${e}`)}else this.scroller=t},r.updateGetPath=function(){let t=this.options.path;if(!t)return void console.error(`InfiniteScroll path option required. Set as: ${t}`);let e=typeof t;"function"!=e?"string"==e&&t.match("{{#}}")?this.updateGetPathTemplate(t):this.updateGetPathSelector(t):this.getPath=t},r.updateGetPathTemplate=function(t){this.getPath=()=>{let e=this.pageIndex+1;return t.replace("{{#}}",e)};let e=t.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),i=new RegExp(e),n=location.href.match(i);n&&(this.pageIndex=parseInt(n[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};let c=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/],h=s.getPathParts=function(t){if(t)for(let e of c){let i=t.match(e);if(i){let[,t,e,n]=i;return{begin:t,index:e,end:n}}}};r.updateGetPathSelector=function(t){let e=document.querySelector(t);if(!e)return void console.error(`Bad InfiniteScroll path option. Next link not found: ${t}`);let i=e.getAttribute("href"),n=h(i);if(!n)return void console.error(`InfiniteScroll unable to parse next link href: ${i}`);let{begin:o,index:s,end:r}=n;this.isPathSelector=!0,this.getPath=()=>o+(this.pageIndex+1)+r,this.pageIndex=parseInt(s,10)-1,this.log("pageIndex",[this.pageIndex,"next link"])},r.updateGetAbsolutePath=function(){let t=this.getPath();if(t.match(/^http/)||t.match(/^\//))return void(this.getAbsolutePath=this.getPath);let{pathname:e}=location,i=t.match(/^\?/),n=e.substring(0,e.lastIndexOf("/")),o=i?e:n+"/";this.getAbsolutePath=()=>o+this.getPath()},s.create.hideNav=function(){let t=i.getQueryElement(this.options.hideNav);t&&(t.style.display="none",this.nav=t)},s.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},r.destroy=function(){this.allOff();for(let t in s.destroy)s.destroy[t].call(this);delete this.element.infiniteScrollGUID,delete o[this.guid],n&&this.$element&&n.removeData(this.element,"infiniteScroll")},s.throttle=function(t,e){let i,n;return e=e||200,function(){let o=+new Date,s=arguments,r=()=>{i=o,t.apply(this,s)};i&&o<i+e?(clearTimeout(n),n=setTimeout(r,e)):r()}},s.data=function(t){let e=(t=i.getQueryElement(t))&&t.infiniteScrollGUID;return e&&o[e]},s.setJQuery=function(t){n=t},i.htmlInit(s,"infinite-scroll"),r._init=function(){};let{jQueryBridget:d}=t;return n&&d&&d("infiniteScroll",s,n),s})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core")):e(t,t.InfiniteScroll)}(window,(function(t,e){let i=e.prototype;Object.assign(e.defaults,{loadOnScroll:!0,checkLastPage:!0,responseBody:"text",domParseResponse:!0}),e.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},i.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()};let n=new DOMParser;function o(t){let e=document.createDocumentFragment();return t&&e.append(...t),e}return i.loadNextPage=function(){if(this.isLoading||!this.canLoad)return;let{responseBody:t,domParseResponse:e,fetchOptions:i}=this.options,o=this.getAbsolutePath();this.isLoading=!0,"function"==typeof i&&(i=i());let s=fetch(o,i).then((i=>{if(!i.ok){let t=new Error(i.statusText);return this.onPageError(t,o,i),{response:i}}return i[t]().then((s=>("text"==t&&e&&(s=n.parseFromString(s,"text/html")),204==i.status?(this.lastPageReached(s,o),{body:s,response:i}):this.onPageLoad(s,o,i))))})).catch((t=>{this.onPageError(t,o)}));return this.dispatchEvent("request",null,[o,s]),s},i.onPageLoad=function(t,e,i){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[t,e,i]),this.appendNextPage(t,e,i)},i.appendNextPage=function(t,e,i){let{append:n,responseBody:s,domParseResponse:r}=this.options;if("text"!=s||!r||!n)return{body:t,response:i};let a=t.querySelectorAll(n),l={body:t,response:i,items:a};if(!a||!a.length)return this.lastPageReached(t,e),l;let c=o(a),h=()=>(this.appendItems(a,c),this.isLoading=!1,this.dispatchEvent("append",null,[t,e,a,i]),l);return this.options.outlayer?this.appendOutlayerItems(c,h):h()},i.appendItems=function(t,e){t&&t.length&&(function(t){let e=t.querySelectorAll("script");for(let t of e){let e=document.createElement("script"),i=t.attributes;for(let t of i)e.setAttribute(t.name,t.value);e.innerHTML=t.innerHTML,t.parentNode.replaceChild(e,t)}}(e=e||o(t)),this.element.appendChild(e))},i.appendOutlayerItems=function(i,n){let o=e.imagesLoaded||t.imagesLoaded;return o?new Promise((function(t){o(i,(function(){let e=n();t(e)}))})):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},i.onAppendOutlayer=function(t,e,i){this.options.outlayer.appended(i)},i.checkLastPage=function(t,e){let i,{checkLastPage:n,path:o}=this.options;if(n){if("function"==typeof o&&!this.getPath())return void this.lastPageReached(t,e);"string"==typeof n?i=n:this.isPathSelector&&(i=o),i&&t.querySelector&&(t.querySelector(i)||this.lastPageReached(t,e))}},i.lastPageReached=function(t,e){this.canLoad=!1,this.dispatchEvent("last",null,[t,e])},i.onPageError=function(t,e,i){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[t,e,i]),t},e.create.prefill=function(){if(!this.options.prefill)return;let t=this.options.append;t?(this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()):console.error(`append option required for prefill. Set as :${t}`)},i.prefill=function(){let t=this.getPrefillDistance();this.isPrefilling=t>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},i.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},i.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){let n=e.prototype;return Object.assign(e.defaults,{scrollThreshold:400}),e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);let t=this.options.scrollThreshold;(t||0===t)&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},n.bindScrollWatchEvents=function(e){let i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.pageScrollHandler),t[i]("resize",this.resizeHandler)},n.onPageScroll=e.throttle((function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")})),n.getBottomDistance=function(){let e,i;return this.options.elementScroll?(e=this.scroller.scrollHeight,i=this.scroller.scrollTop+this.scroller.clientHeight):(e=this.top+this.element.clientHeight,i=t.scrollY+this.windowHeight),e-i},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){let n=e.prototype;Object.assign(e.defaults,{history:"replace"});let o=document.createElement("a");return e.create.history=function(){this.options.history&&(o.href=this.getAbsolutePath(),(o.origin||o.protocol+"//"+o.host)==location.origin?this.options.append?this.createHistoryAppend():this.createHistoryPageLoad():console.error(`[InfiniteScroll] cannot set history with different origin: ${o.origin} on ${location.origin} . History behavior disabled.`))},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPage=this.scrollPages[0],this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){let i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.scrollHistoryHandler),t[i]("unload",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(t,e,i){if(!i||!i.length)return;let n=i[0],s=this.getElementScrollY(n);o.href=e,this.scrollPages.push({top:s,path:o.href,title:t.title})},n.getElementScrollY=function(e){return this.options.elementScroll?e.offsetTop-this.top:e.getBoundingClientRect().top+t.scrollY},n.onScrollHistory=function(){let t=this.getClosestScrollPage();t!=this.scrollPage&&(this.scrollPage=t,this.setHistory(t.title,t.path))},i.debounceMethod(e,"onScrollHistory",150),n.getClosestScrollPage=function(){let e,i;e=this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.scrollY+this.windowHeight/2;for(let t of this.scrollPages){if(t.top>=e)break;i=t}return i},n.setHistory=function(t,e){let i=this.options.history;i&&history[i+"State"]&&(history[i+"State"](null,t,e),this.options.historyTitle&&(document.title=t),this.dispatchEvent("history",null,[t,e]))},n.onUnload=function(){if(0===this.scrollPage.top)return;let e=t.scrollY-this.scrollPage.top+this.top;this.destroyHistory(),scrollTo(0,e)},n.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){class n{constructor(t,e){this.element=t,this.infScroll=e,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),e.on("request",this.disable.bind(this)),e.on("load",this.enable.bind(this)),e.on("error",this.hide.bind(this)),e.on("last",this.hide.bind(this))}onClick(t){t.preventDefault(),this.infScroll.loadNextPage()}enable(){this.element.removeAttribute("disabled")}disable(){this.element.disabled="disabled"}hide(){this.element.style.display="none"}destroy(){this.element.removeEventListener("click",this.clickHandler)}}return e.create.button=function(){let t=i.getQueryElement(this.options.button);t&&(this.button=new n(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},e.Button=n,e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){let n=e.prototype;function o(t){r(t,"none")}function s(t){r(t,"block")}function r(t,e){t&&(t.style.display=e)}return e.create.status=function(){let t=i.getQueryElement(this.options.status);t&&(this.statusElement=t,this.statusEventElements={request:t.querySelector(".infinite-scroll-request"),error:t.querySelector(".infinite-scroll-error"),last:t.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},n.bindHideStatus=function(t){let e=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},n.showRequestStatus=function(){this.showStatus("request")},n.showErrorStatus=function(){this.showStatus("error")},n.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},n.showStatus=function(t){s(this.statusElement),this.hideStatusEventElements(),s(this.statusEventElements[t])},n.hideAllStatus=function(){o(this.statusElement),this.hideStatusEventElements()},n.hideStatusEventElements=function(){for(let t in this.statusEventElements)o(this.statusEventElements[t])},e})),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){"use strict";var i=t.jQuery,n=t.console;function o(t,e){for(var i in e)t[i]=e[i];return t}var s=Array.prototype.slice;function r(t,e,a){if(!(this instanceof r))return new r(t,e,a);var l,c=t;"string"==typeof t&&(c=document.querySelectorAll(t)),c?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?s.call(l):[l]),this.options=o({},this.options),"function"==typeof e?a=e:o(this.options,e),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(c||t))}r.prototype=Object.create(e.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEac
1h(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var a={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new c(t,e);this.images.push(i)},r.prototype.check=function(){var t=this;function e(e,i,n){setTimeout((function(){t.progress(e,i,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(i(this))})},r.makeJQueryPlugin(),r})),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}((function(t){function e(t){return o.raw?t:encodeURIComponent(t)}function i(e,i){return e=o.raw?e:function(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(n," ")),o.json?JSON.parse(t):t}catch(t){}}(e),t.isFunction(i)?i(e):e}var n=/\+/g,o=t.cookie=function(n,s,r){var a;if(void 0!==s&&!t.isFunction(s))return"number"==typeof(r=t.extend({},o.defaults,r)).expires&&(l=r.expires,(a=r.expires=new Date).setTime(+a+864e5*l)),document.cookie=[e(n),"=",(l=s,e(o.json?JSON.stringify(l):String(l))),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("");for(var l,c=n?void 0:{},h=document.cookie?document.cookie.split("; "):[],d=0,p=h.length;d<p;d++){var u=(u=(f=h[d].split("=")).shift(),o.raw?u:decodeURIComponent(u)),f=f.join("=");if(n&&n===u){c=i(f,s);break}n||void 0===(f=i(f))||(c[u]=f)}return c};o.defaults={},t.removeCookie=function(e,i){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},i,{expires:-1})),!t.cookie(e))}})),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}((function(t){"use strict";var e=[],i=[],n={precision:100,elapse:!1,defer:!1};function o(i,o,s){this.el=i,this.$el=t(i),this.interval=null,this.offset={},this.options=t.extend({},n),this.instanceNumber=e.length,e.push(this),this.$el.data("countdown-instance",this.instanceNumber),s&&("function"==typeof s?(this.$el.on("update.countdown",s),this.$el.on("stoped.
1countdown",s),this.$el.on("finish.countdown",s)):this.options=t.extend({},n,s)),this.setFinalDate(o),!1===this.options.defer&&this.start()}i.push(/^[0-9]*$/.source),i.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),i.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),i=new RegExp(i.join("|"));var s={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"};t.extend(o.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval((function(){t.update.call(t)}),this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),e[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){this.finalDate=function(t){if(t instanceof Date)return t;if(String(t).match(i))return String(t).match(/^[0-9]*$/)&&(t=Number(t)),String(t).match(/\-/)&&(t=String(t).replace(/\-/g,"/")),new Date(t);throw new Error("Couldn't cast `"+t+"` to a date object.")}(t)},update:function(){var e,i,n;0!==this.$el.closest("html").length?(e=void 0!==t._data(this.el,"events"),i=new Date,n=this.finalDate.getTime()-i.getTime(),n=Math.ceil(n/1e3),n=!this.options.elapse&&n<0?0:Math.abs(n),this.totalSecsLeft!==n&&e&&(this.totalSecsLeft=n,this.elapsed=i>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-i.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))):this.remove()},dispatchEvent:function(e){var i;(e=t.Event(e+".countdown")).finalDate=this.finalDate,e.elapsed=this.elapsed,e.offset=t.extend({},this.offset),e.strftime=(i=this.offset,function(t){var e,n,o=t.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(o)for(var r=0,a=o.length;r<a;++r){var l=(n=(p=o[r].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/))[0].toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),new RegExp(n)),c=p[1]||"",h=p[3]||"",d=null,p=p[2];s.hasOwnProperty(p)&&(d=s[p],d=Number(i[d])),null!==d&&("!"===c&&(e=d,p=n=void 0,n="s",p="",h&&(n=1===(h=h.replace(/(:|;|\s)/gi,"").split(/\,/)).length?h[0]:(p=h[0],h[1])),d=1<Math.abs(e)?n:p),""===c&&d<10&&(d="0"+d.toString()),t=t.replace(l,d.toString()))}return t.replace(/%%/,"%")}),this.$el.trigger(e)}}),t.fn.countdown=function(){var i=Array.prototype.slice.call(arguments,0);return this.each((function(){var n,s=t(this).data("countdown-instance");void 0!==s?(n=e[s],s=i[0],o.prototype.hasOwnProperty(s)?n[s].apply(n,i.slice(1)):null===String(s).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(n.setFinalDate.call(n,s),n.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,s))):new o(this,i[0],i[1])}))}})),function(){function t(t,e){function i(){this.constructor=t}for(var n in e)U.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t}function e(){var t;return null!=(t="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?t:+new Date}var i,n,o,s,r,a,l,c,h,d,p,u,f,y,g,m,v,b,S,w,x,E,k,P,I,L,T,C,$,j,A,H,q,z,M,B,O,R,D,N,_,W=[].slice,U={}.hasOwnProperty,V=[].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1},Q={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},F=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,Y=window.cancelAnimationFrame||window.mozCancelAnimationFrame;for(null==F&&(F=function(t){return setTimeout(t,50)},Y=function(t){return clearTimeout(t)}),L=function(t){var i,n=e();return(i=function(){var o;return 33<=(o=e()-n)?(n=e(),t(o,(function(){return F(i)}))):setTimeout(i,33-o)})()},I=function(){var t=arguments[0],e=arguments[1],i=3<=arguments.length?W.call(arguments,2):[];return"function"==typeof t[e]?t[e].apply(t,i):t[e]},v=function(){for(var t,e,i,n,o=arguments[0],s=0,r=(i=2<=arguments.length?W.call(arguments,1
1):[]).length;s<r;s++)if(e=i[s])for(t in e)U.call(e,t)&&(n=e[t],null!=o[t]&&"object"==typeof o[t]&&null!=n&&"object"==typeof n?v(o[t],n):o[t]=n);return o},y=function(t){for(var e,i,n=e=0,o=0,s=t.length;o<s;o++)i=t[o],n+=Math.abs(i),e++;return n/e},S=function(t,e){var i,n;if(null==t&&(t="options"),null==e&&(e=!0),n=document.querySelector("[data-pace-"+t+"]")){if(i=n.getAttribute("data-pace-"+t),!e)return i;try{return JSON.parse(i)}catch(t){return"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",t):void 0}}},G.prototype.on=function(t,e,i,n){var o;return null==n&&(n=!1),null==this.bindings&&(this.bindings={}),null==(o=this.bindings)[t]&&(o[t]=[]),this.bindings[t].push({handler:e,ctx:i,once:n})},G.prototype.once=function(t,e,i){return this.on(t,e,i,!0)},G.prototype.off=function(t,e){var i,n,o;if(null!=(null!=(n=this.bindings)?n[t]:void 0)){if(null==e)return delete this.bindings[t];for(i=0,o=[];i<this.bindings[t].length;)o.push(this.bindings[t][i].handler===e?this.bindings[t].splice(i,1):i++);return o}},G.prototype.trigger=function(){var t,e,i,n,o,s,r=arguments[0],a=2<=arguments.length?W.call(arguments,1):[];if(null!=(n=this.bindings)&&n[r]){for(i=0,s=[];i<this.bindings[r].length;)e=(o=this.bindings[r][i]).handler,t=o.ctx,o=o.once,e.apply(null!=t?t:this,a),s.push(o?this.bindings[r].splice(i,1):i++);return s}},s=G,l=window.Pace||{},window.Pace=l,v(l,s.prototype),P=l.options=v({},Q,window.paceOptions,S()),B=0,R=(N=["ajax","document","eventLag","elements"]).length;B<R;B++)!0===P[j=N[B]]&&(P[j]=Q[j]);function G(){}function J(t){this.source=t,this.last=this.sinceLastUpdate=0,this.rate=P.initialRate,this.catchup=0,this.progress=this.lastProgress=0,null!=this.source&&(this.progress=I(this.source,"progress"))}function X(){var t,e,i=this;this.progress=null!=(e=this.states[document.readyState])?e:100,t=document.onreadystatechange,document.onreadystatechange=function(){return null!=i.states[document.readyState]&&(i.progress=i.states[document.readyState]),"function"==typeof t?t.apply(null,arguments):void 0}}function Z(t){this.selector=t,this.progress=0,this.check()}function K(){var t=this;this.elements=[],w().on("request",(function(){return t.watch.apply(t,arguments)}))}function tt(){var t,e=this;tt.__super__.constructor.apply(this,arguments),t=function(t){var i=t.open;return t.open=function(n,o){return $(n)&&e.trigger("request",{type:n,url:o,request:t}),i.apply(t,arguments)}},window.XMLHttpRequest=function(e){return e=new M(e),t(e),e};try{b(window.XMLHttpRequest,M)}catch(t){}if(null!=z){window.XDomainRequest=function(){var e=new z;return t(e),e};try{b(window.XDomainRequest,z)}catch(t){}}if(null!=q&&P.ajax.trackWebSockets){window.WebSocket=function(t,i){var n=null!=i?new q(t,i):new q(t);return $("socket")&&e.trigger("request",{type:"socket",url:t,protocols:i,request:n}),n};try{b(window.WebSocket,q)}catch(t){}}}function et(){this.bindings={}}function it(){this.progress=0}function nt(){return nt.__super__.constructor.apply(this,arguments)}t(nt,Error),a=nt,it.prototype.getElement=function(){var t;if(null==this.el){if(!(t=document.querySelector(P.target)))throw new a;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='<div class="pace-progress">\n  <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>',null!=t.firstChild?t.insertBefore(this.el,t.firstChild):t.appendChild(this.el)}return this.el},it.prototype.finish=function(){var t;return(t=this.getElement()).className=t.className.replace("pace-active",""),t.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},it.prototype.update=function(t){return this.progress=t,this.render()},it.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(t){a=t}return this.el=void 0},it.prototype.render=function(){var t,e,i,n,o,s,r;if(null==document.querySelector(P.target))return!1;for(t=this.getElement(),n="translate3d("+this.progress+"%, 0, 0)",o=0,s=(r=["webkitTransform","msTransform","transform"]).length;o<s;o++)e=r[o],t.children[0].style[e]=n;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(t.children[0].setAttribute("data-progress-text",(0|this.progress)+"%"),100<=this.progress?i="99":(i=this.progress<10?"0":"",i+=0|this.progress),t.children[0].setAttribute("data-progress",""+i)),this.lastRenderedProgress=this.progress},it.prototype.done=function(){return 100<=this.progress},n=it,et.prototype.trigger=function(t,e){var i,n,o,s,r;if(null!=this.bindings[t]){for(r=[],n=0,o=(s=this.bindings[t]).length;n<o;n++)i=s[n],r.push(i.call(this,e));return r}},et.prototype.on=function(t,e){var i;return null==(i=this.bindings)[t]&&(i[t]=[]),this.bindings[t].push(e)}
1,r=et,M=window.XMLHttpRequest,z=window.XDomainRequest,q=window.WebSocket,b=function(t,e){var i,n=[];for(i in e.prototype)try{n.push(null==t[i]&&"function"!=typeof e[i]?"function"==typeof Object.defineProperty?Object.defineProperty(t,i,{get:function(){return e.prototype[i]},configurable:!0,enumerable:!0}):t[i]=e.prototype[i]:void 0)}catch(t){}return n},E=[],l.ignore=function(){var t=arguments[0],e=2<=arguments.length?W.call(arguments,1):[];return E.unshift("ignore"),e=t.apply(null,e),E.shift(),e},l.track=function(){var t=arguments[0],e=2<=arguments.length?W.call(arguments,1):[];return E.unshift("track"),e=t.apply(null,e),E.shift(),e},$=function(t){if(null==t&&(t="GET"),"track"===E[0])return"force";if(!E.length&&P.ajax){if("socket"===t&&P.ajax.trackWebSockets)return!0;if(t=t.toUpperCase(),0<=V.call(P.ajax.trackMethods,t))return!0}return!1},t(tt,r),c=tt,O=null,C=function(t){for(var e,i,n=0,o=(i=P.ajax.ignoreURLs).length;n<o;n++)if("string"==typeof(e=i[n])){if(-1!==t.indexOf(e))return!0}else if(e.test(t))return!0;return!1},(w=function(){return null==O&&(O=new c),O})().on("request",(function(t){var e,n=t.type,o=t.request,s=t.url;return C(s)||l.running||!1===P.restartOnRequestAfter&&"force"!==$(n)?void 0:(e=arguments,"boolean"==typeof(s=P.restartOnRequestAfter||0)&&(s=0),setTimeout((function(){var t,s,r,a,c;if("socket"===n?o.readyState<2:0<(r=o.readyState)&&r<4){for(l.restart(),c=[],t=0,s=(a=l.sources).length;t<s;t++){if((j=a[t])instanceof i){j.watch.apply(j,e);break}c.push(void 0)}return c}}),s))})),K.prototype.watch=function(t){var e=t.type,i=t.request;return t=t.url,C(t)?void 0:(i=new("socket"===e?p:u)(i),this.elements.push(i))},i=K,u=function(t){var e,i,n,o,s,r=this;if(this.progress=0,null!=window.ProgressEvent)for(t.addEventListener("progress",(function(t){return r.progress=t.lengthComputable?100*t.loaded/t.total:r.progress+(100-r.progress)/2}),!1),i=0,n=(s=["load","abort","timeout","error"]).length;i<n;i++)e=s[i],t.addEventListener(e,(function(){return r.progress=100}),!1);else o=t.onreadystatechange,t.onreadystatechange=function(){var e;return 0===(e=t.readyState)||4===e?r.progress=100:3===t.readyState&&(r.progress=50),"function"==typeof o?o.apply(null,arguments):void 0}},p=function(t){for(var e,i,n=this,o=this.progress=0,s=(i=["error","open"]).length;o<s;o++)e=i[o],t.addEventListener(e,(function(){return n.progress=100}),!1)},s=function(t){var e,i,n,s;for(null==t&&(t={}),this.elements=[],null==t.selectors&&(t.selectors=[]),i=0,n=(s=t.selectors).length;i<n;i++)e=s[i],this.elements.push(new o(e))},Z.prototype.check=function(){var t=this;return document.querySelector(this.selector)?this.done():setTimeout((function(){return t.check()}),P.elements.checkInterval)},Z.prototype.done=function(){return this.progress=100},o=Z,X.prototype.states={loading:0,interactive:50,complete:100},S=X,r=function(){var t,i,n,o,s,r=this;this.progress=0,s=[],o=0,n=e(),i=setInterval((function(){var a=e()-n-50;return n=e(),s.push(a),s.length>P.eventLag.sampleCount&&s.shift(),t=y(s),++o>=P.eventLag.minSamples&&t<P.eventLag.lagThreshold?(r.progress=100,clearInterval(i)):r.progress=3/(t+3)*100}),50)},J.prototype.tick=function(t,e){return null==e&&(e=I(this.source,"progress")),100<=e&&(this.done=!0),e===this.last?this.sinceLastUpdate+=t:(this.sinceLastUpdate&&(this.rate=(e-this.last)/this.sinceLastUpdate),this.catchup=(e-this.progress)/P.catchupTime,this.sinceLastUpdate=0,this.last=e),e>this.progress&&(this.progress+=this.catchup*t),e=1-Math.pow(this.progress/100,P.easeFactor),this.progress+=e*this.rate*t,this.progress=Math.min(this.lastProgress+P.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},d=J,m=f=H=g=T=A=null,l.running=!1,x=function(){return P.restartOnPushState?l.restart():void 0},null!=window.history.pushState&&(D=window.history.pushState,window.history.pushState=function(){return x(),D.apply(window.history,arguments)}),null!=window.history.replaceState&&(_=window.history.replaceState,window.history.replaceState=function(){return x(),_.apply(window.history,arguments)}),h={ajax:i,elements:s,document:S,eventLag:r},(k=function(){var t,e,i,o,s,r,a,c;for(l.sources=A=[],e=0,o=(r=["ajax","elements","document","eventLag"]).length;e<o;e++)!1!==P[t=r[e]]&&A.push(new h[t](P[t]));for(i=0,s=(c=null!=(a=P.extraSources)?a:[]).length;i<s;i++)j=c[i],A.push(new j(P));return l.bar=g=new n,T=[],H=new d})(),l.stop=function(){return l.trigger("stop"),l.running=!1,g.destroy(),m=!0,null!=f&&("function"==typeof Y&&Y
1(f),f=null),k()},l.restart=function(){return l.trigger("restart"),l.stop(),l.start()},l.go=function(){var t;return l.running=!0,g.render(),t=e(),m=!1,f=L((function(i,n){var o,s,r,a,c,h,p,u,f,y,v,b,S,w;for(g.progress,r=!(s=f=0),c=y=0,b=A.length;y<b;c=++y)for(j=A[c],u=null!=T[c]?T[c]:T[c]=[],h=v=0,S=(a=null!=(w=j.elements)?w:[j]).length;v<S;h=++v)p=a[h],r&=(p=null!=u[h]?u[h]:u[h]=new d(p)).done,p.done||(s++,f+=p.tick(i));return o=f/s,g.update(H.tick(i,o)),g.done()||r||m?(g.update(100),l.trigger("done"),setTimeout((function(){return g.finish(),l.running=!1,l.trigger("hide")}),Math.max(P.ghostTime,Math.max(P.minTime-(e()-t),0)))):n()}))},l.start=function(t){v(P,t),l.running=!0;try{g.render()}catch(t){a=t}return document.querySelector(".pace")?(l.trigger("start"),l.go()):setTimeout(l.start,50)},"function"==typeof define&&define.amd?define(["pace"],(function(){return l})):"object"==typeof exports?module.exports=l:P.startOnPageLoad&&l.start()}.call(this),jQuery,function(t){"use strict";function e(e,i){this.$video=t(e),this.options=i,this.settings={},this.player=null,this._init()}var i=!!window.navigator.userAgent.match(/(iPad|iPhone|iPod)/g);function n(e){this.$video=e,this.player=null,this.ready=!1,this.started=!1,this.state="",this.events=t({}),this._init()}function o(e){var i;this.init=!1,void 0!==(window.YT&&window.YT.Player)?n.call(this,e):(s.youtubeVideos.push({video:e,scope:this}),!1===s.youtubeAPIAdded&&(s.youtubeAPIAdded=!0,(i=document.createElement("script")).src="//www.youtube.com/player_api",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(i,e),window.onYouTubePlayerAPIReady=function(){t.each(s.youtubeVideos,(function(t,e){n.call(e.scope,e.video)}))}))}e.prototype={_init:function(){this.settings=t.extend({},this.defaults,this.options);var e,i=this,n=t.VideoController.players,o=this.$video.attr("id");for(e in n)if(void 0!==n[e]&&n[e].isType(this.$video)){this.player=new n[e](this.$video);break}null!==this.player&&t.each(["ready","start","play","pause","ended"],(function(e,n){var s="video"+n.charAt(0).toUpperCase()+n.slice(1);i.player.on(n,(function(){i.trigger({type:s,video:o}),t.isFunction(i.settings[s])&&i.settings[s].call(i,{type:s,video:o})}))}))},play:function(){1==i&&!1===this.player.isStarted()||"playing"===this.player.getState()||this.player.play()},stop:function(){1==i&&!1===this.player.isStarted()||"stopped"===this.player.getState()||this.player.stop()},pause:function(){1==i&&!1===this.player.isStarted()||"paused"===this.player.getState()||this.player.pause()},replay:function(){1==i&&!1===this.player.isStarted()||this.player.replay()},on:function(t,e){return this.$video.on(t,e)},off:function(t){return this.$video.off(t)},trigger:function(t){return this.$video.triggerHandler(t)},destroy:function(){!0===this.player.isStarted()&&this.stop(),this.player.off("ready"),this.player.off("start"),this.player.off("play"),this.player.off("pause"),this.player.off("ended"),this.$video.removeData("videoController")},defaults:{videoReady:function(){},videoStart:function(){},videoPlay:function(){},videoPause:function(){},videoEnded:function(){}}},t.VideoController={players:{},addPlayer:function(t,e){this.players[t]=e}},t.fn.videoController=function(i){var n=Array.prototype.slice.call(arguments,1);return this.each((function(){var o;void 0===t(this).data("videoController")?(o=new e(this,i),t(this).data("videoController",o)):void 0!==i&&("function"==typeof(o=t(this).data("videoController"))[i]?o[i].apply(o,n):t.error(i+" does not exist in videoController."))}))};var s={youtubeAPIAdded:!(n.prototype={_init:function(){},play:function(){},pause:function(){},stop:function(){},replay:function(){},isType:function(){},isReady:function(){return this.ready},isStarted:function(){return this.started},getState:function(){return this.state},on:function(t,e){return this.events.on(t,e)},off:function(t){return this.events.off(t)},trigger:function(t){return this.events.triggerHandler(t)}}),youtubeVideos:[]};function r(e){var i,o;this.init=!1,void 0!==window.Froogaloop?n.call(this,e):(a.vimeoVideos.push({video:e,scope:this}),!1===a.vimeoAPIAdded&&(a.vimeoAPIAdded=!0,(i=document.createElement("script")).src="//a.vimeocdn.com/js/froogaloop2.min.js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(i,e),o=setInterval((function(){void 0!==window.Froogaloop&&(clearInterval(o),t.each(a.vimeoVideos,(function(t,e){n.call(e.scope,e.video)})))}),100)))}(o.prototype=new n).constructor=o,t.VideoController.addPlayer("YoutubeVideo",o),o.isType=function(t){return!(!t.is("iframe")||-1===(t=t.attr("src")).indexOf("youtube.com")&&-1===t.indexOf("youtu.be"))},o.prototype._init=function(){this.init=!0,this._setup()},o.prototype._setup=function(){var t=this;this.player=new YT.Player(this.$video[0],{events:{onReady:function(){t.trigger({type:"ready"}),t.ready=!0},onStateChange:function(e){switch(e.data){case YT.PlayerState.PLAYING:!1===t.started&&(t.started=!0,t.trigger({type:"start"})),t.state="playing",t.trigger({type:"play"});break;case YT.PlayerState.PAUSED:t.state="paused",t.trigger({type:"pause"});break;case YT.PlayerState.ENDED:t.state="ended",t.trigger({type:"ended"})}}}})},o.prototype.play=function(){var t,e=this;!0===this.ready?this.player.playVideo():t=setInterval((function(){!0===e.ready&&(clearInterval(t),e.player.playVideo())}),100)},o.prototype.pause=function(){1==i?this.stop():this.player.pauseVideo()},o.prototype.stop=function(){this.player.seekTo(1),this.player.stopVideo(),this.state="stopped"},o.prototype.replay=function(){this.player.seekTo(1),this.player.playVideo()};var a={vimeoAPIAdded:!(o.prototype.on=function(t,e){var i,o=this;!0===this.init?n.prototype.on.call(this,t,e):i=setInterval((function(){!0===o.init&&(clearInterval(i),n.prototype.on.call(o,t,e))}),100)}),vimeoVideos:[]};function l(t){n.call(this,t)}function c(t){n.call(this,t)}function h(t){n.call(this,t)}function d(t){n.call(this,t)}(r.prototype=new n).constructor=r,t.VideoController.addPlayer("VimeoVideo",r),r.isType=function(t){return!(!t.is("iframe")||-1===t.attr("src").indexOf("vimeo.com"))},r.prototype._init=function(){this.init=!0,this._setup()},r.prototype._setup=function(){var t=this;this.player=$f(this.$video[0]),this.player.addEvent("ready",(function(){t.ready=!0,t.trigger({type:"ready"}),t.player.addEvent("play",(function(){!1===t.started&&(t.started=!0,t.trigger({type:"start"})),t.state="playing",t.trigger({type:"play"})})),t.player.addEvent("pause",(function(){t.state="paused",t.trigger({type:"pause"})})),t.player.addEvent("finish",(function(){t.state="ended",t.trigger({type:"ended"})}))}))},r.prototype.play=function(){var t,e=this;!0===this.ready?this.player.api("play"):t=setInterval((function(){!0===e.ready&&(clearInterval(t),e.player.api("play"))}),100)},r.prototype.pause=function(){this.player.api("pause")},r.prototype.stop=function(){this.player.api("seekTo",0),this.player.api("pause"),this.state="stopped"},r.prototype.replay=function(){this.player.api("seekTo",0),this.player.api("play")},r.prototype.on=function(t,e){var i,o=this;!0===this.init?n.prototype.on.call(this,t,e):i=setInterval((function(){!0===o.init&&(clearInterval(i),n.prototype.on.call(o,t,e))}),100)},(l.prototype=new n).constructor=l,t.VideoController.addPlayer("HTML5Video",l),l.isType=function(t){return!(!t.is("video")||!1!==t.hasClass("video-js")||!1!==t.hasClass("sublime"))},l.prototype._init=function(){var t=this;this.player=this.$video[0];var e=setInterval((function(){4===t.player.readyState&&(clearInterval(e),t.ready=!0,t.trigger({type:"ready"}),t.player.addEventListener("play",(function(){!1===t.started&&(t.started=!0,t.trigger({type:"start"})),t.state="playing",t.trigger({type:"play"})})),t.player.addEventListener("pause",(function(){t.state="paused",t.trigger({type:"pause"})})),t.player.addEventListener("ended",(function(){t.state="ended",t.trigger({type:"ended"})})))}),100)},l.prototype.play=function(){var t,e=this;!0===this.ready?this.player.play():t=setInterval((function(){!0===e.ready&&(clearInterval(t),e.player.play())}),100)},l.prototype.pause=function(){this.player.pause()},l.prototype.stop=function(){this.player.currentTime=0,this.player.pause(),this.state="stopped"},l.prototype.replay=function(){this.player.currentTime=0,this.player.play()},(c.prototype=new n).constructor=c,t.VideoController.addPlayer("VideoJSVideo",c),c.isType=function(t){return!(void 0===t.attr("data-videojs-id")&&!t.hasClass("video-js")||"undefined"==typeof videojs)},c.prototype._init=function(){var t=this,e=this.$video.hasClass("video-js")?this.$video.attr("id"):this.$video.attr("data-videojs-id");this.player=videojs(e),this.player.ready((function(){t.ready=!0,t.trigger({type:"ready"}),t.player.on("play",(function(){!1===t.started&&(t.started=!0,t.trigger({type:"start"})),t.state="playing",t.trigger({type:"play"})})),t.player.on("pause",(function(){t.state="paused",t.trigger({type:"pause"})})),t.player.on("ended",(function(){t.state="ended",t.trigger({type:"ended"})}))}))},c.prototype.play=function(){this.player.play()},c.prototype.pause=function(){this.player.pause()},c.prototype.stop=function(){this.player.currentTime(0),this.player.pause(),this.state="stopped"},c.prototype.replay=function(){this.player.currentTime(0),this.player.play()},(h.prototype=new n).constructor=h,t.VideoController.addPlayer("SublimeVideo",h),h.isType=function(t){return!(!t.hasClass("sublime")||"undefined"==typeof sublime)},h.prototype._init=function(){var t=this;sublime.ready((function(){t.player=sublime.player(t.$video.attr("id")),t.ready=!0,t.trigger({type:"ready"}),t.player.on("play",(function(){!1===t.started&&(t.started=!0,t.trigger({type:"start"})),t.state="playing",t.trigger({type:"play"})})),t.player.on("pause",(function(){t.state="paused",t.trigger({type:"pause"})})),t.player.on("stop",(function(){t.state="stopped",t.trigger({type:"stop"})})),t.player.on("end",(function(){t.state="ended",t.trigger({type:"ended"})}))}))},h.prototype.play=function(){this.player.play()},h.prototype.pause=function(){this.player.pause()},h.prototype.stop=function(){this.player.stop()},h.prototype.replay=function(){this.player.stop(),this.player.play()},(d.prototype=new n).constructor=d,t.VideoController.addPlayer("JWPlayerVideo",d),d.isType=function(t){return!(void 0===t.attr("data-jwplayer-id")&&!t.hasClass("jwplayer")&&0===t.find("object[data*='jwplayer']").length||"undefined"==typeof jwplayer)},d.prototype._init=function(){var t,e=this;this.$video.hasClass("jwplayer")?t=this.$video.attr("id"):void 0!==this.$video.attr("data-jwplayer-id")?t=this.$video.attr("data-jwplayer-id"):0!==this.$video.find("object[data*='jwplayer']").length&&(t=this.$video.find("object").attr("id")),this.player=jwplayer(t),this.player.onReady((function(){e.ready=!0,e.trigger({type:"ready"}),e.player.onPlay((function(){!1===e.started&&(e.started=!0,e.trigger({type:"start"})),e.state="playing",e.trigger({type:"play"})})),e.player.onPause((function(){e.state="paused",e.trigger({type:"pause"})})),e.player.onComplete((function(){e.state="ended",e.trigger({type:"ended"})}))}))},d.prototype.play=function(){this.player.play(!0)},d.prototype.pause=function(){this.player.pause(!0)},d.prototype.stop=function(){this.player.stop(),this.state="stopped"},d.prototype.replay=function(){this.player.seek(0),this.player.play(!0)}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){function e(t){this.init.apply(this,arguments)}var i=0,n=t("html"),o=t(document),s=t(window);return e.defaults={elementClass:"",elementLoadingClass:"slbLoading",htmlClass:"slbActive",closeBtnClass:"",nextBtnClass:"",prevBtnClass:"",loadingTextClass:"",closeBtnCaption:"Close",nextBtnCaption:"Next",prevBtnCaption:"Previous",loadingCaption:"Loading...",bindToItems:!0,closeOnOverlayClick:!0,closeOnEscapeKey:!0,nextOnImageClick:!0,showCaptions:!0,captionAttribute:"title",urlAttribute:"href",startAt:0,loadingTimeout:100,appendTarget:"body",beforeSetContent:null,beforeClose:null,beforeDestroy:null,videoRegex:new RegExp(/youtube.com|vimeo.com/)},t.extend(e.prototype,{init:function(n){this.options=t.extend({},e.defaults,n),this.ens=".slb"+ ++i,this.items=[],this.captions=[];var o=this;this.options.$items?(this.$items=this.options.$items,this.$items.each((function(){var e=t(this);o.items.push(e.attr(o.options.urlAttribute)),o.captions.push(e.attr(o.options.captionAttribute))})),this.options.bindToItems&&this.$items.on("click"+this.ens,(function(e){e.preventDefault(),o.showPosition(o.$items.index(t(e.currentTarget)))}))):this.options.items&&(this.items=this.options.items),this.options.captions&&(this.captions=this.options.captions)},next:function(){return this.showPosition(this.currentPosition+1)},prev:function(){return this.showPosition(this.currentPosition-1)},normalizePosition:function(t){return t>=this.items.length?t=0:t<0&&(t=this.items.length-1),t},showPosition:function(t){return this.currentPosition=this.normalizePosition(t),this.setupLightboxHtml().prepareItem(this.currentPosition,this.setContent).show()},loading:function(t){var e=this;t?this.loadingTimeout=setTimeout((function(){e.$el.addClass(e.options.elementLoadingClass),e.$content.html('<p class="slbLoadingText '+e.options.loadingTextClass+'">'+e.options.loadingCaption+"</p>"),e.show()}),this.options.loadingTimeout):(this.$el&&this.$el.removeClass(this.options.elementLoadingClass),clearTimeout(this.loadingTimeout))},prepareItem:function(e,i){var n,o=this,s=this.items[e];return this.loading(!0),this.options.videoRegex.test(s)?i.call(o,t('<div class="slbIframeCont"><iframe class="slbIframe" frameborder="0" allowfullscreen src="'+s+'"></iframe></div>')):(n=t('<div class="slbImageWrap"><img class="slbImage" src="'+s+'" /></div>'),this.$currentImage=n.find(".slbImage"),this.options.showCaptions&&this.captions[e]&&n.append('<div class="slbCaption">'+this.captions[e]+"</div>"),this.loadImage(s,(function(){o.setImageDimensions(),i.call(o,n),o.loadImage(o.items[o.normalizePosition(o.currentPosition+1)])}))),this},loadImage:function(t,e){var i;this.options.videoRegex.test(t)||(i=new Image,e&&(i.onload=e),i.src=t)},setupLightboxHtml:function(){var e=this.options;return this.$el||(this.$el=t('<div class="slbElement '+e.elementClass+'"><div class="slbOverlay"></div><div class="slbWrapOuter"><div class="slbWrap"><div class="slbContentOuter"><div class="slbContent"></div><button type="button" title="'+e.closeBtnCaption+'" class="slbCloseBtn '+e.closeBtnClass+'">×</button></div></div></div></div>'),1<this.items.length&&t('<div class="slbArrows"><button type="button" title="'+e.prevBtnCaption+'" class="prev slbArrow'+e.prevBtnClass+'">'+e.prevBtnCaption+'</button><button type="button" title="'+e.nextBtnCaption+'" class="next slbArrow'+e.nextBtnClass+'">'+e.nextBtnCaption+"</button></div>").appendTo(this.$el.find(".slbContentOuter")),this.$content=this.$el.find(".slbContent")),this.$content.empty(),this},show:function(){return this.modalInDom||(this.$el.appendTo(t(this.options.appendTarget)),n.addClass(this.options.htmlClass),this.setupLightboxEvents(),this.modalInDom=!0),this},setContent:function(e){return e=t(e),this.loading(!1),this.setupLightboxHtml(),this.options.beforeSetContent&&this.options.beforeSetContent(e,this),this.$content.html(e),this},setImageDimensions:function(){this.$currentImage&&this.$currentImage.css("max-height",s.height()+"px")},setupLightboxEvents:function(){var e=this;this.lightboxEventsSetuped||(this.$el.on("click"+this.ens,(function(i){(i=t(i.target)).is(".slbCloseBtn")||e.options.closeOnOverlayClick&&i.is(".slbWrap")?e.close():i.is(".slbArrow")?i.hasClass("next")?e.next():e.prev():e.options.nextOnImageClick&&1<e.items.length&&i.is(".slbImage")&&e.next()})),o.on("keyup"+this.ens,(function(t){e.options.closeOnEscapeKey&&27===t.keyCode&&e.close(),1<e.items.length&&(39!==t.keyCode&&68!==t.keyCode||e.next(),37!==t.keyCode&&65!==t.keyCode||e.prev())})),s.on("resize"+this.ens,(function(){e.setImageDimensions()})),this.lightboxEventsSetuped=!0)},close:function(){this.modalInDom&&(this.options.beforeClose&&this.options.beforeClose(this),this.$el&&this.$el.off(this.ens),o.off(this.ens),s.off(this.ens),this.lightboxEventsSetuped=!1,this.$el.detach(),n.removeClass(this.options.htmlClass),this.modalInDom=!1)},destroy:function(){this.close(),th
1is.options.beforeDestroy&&this.options.beforeDestroy(this),this.$items&&this.$items.off(this.ens),this.$el&&this.$el.remove()}}),e.open=function(t){var i=new e(t);return t.content?i.setContent(t.content).show():i.showPosition(i.options.startAt)},t.fn.simpleLightbox=function(i){var n,o=this;return this.each((function(){t.data(this,"simpleLightbox")||(n=n||new e(t.extend({},i,{$items:o})),t.data(this,"simpleLightbox",n))}))},t.simpleLightbox=t.SimpleLightbox=e,t})),function(t){t.fn.theiaStickySidebar=function(e){function i(e,i){return!0===e.initialized||!(t("body").width()<e.minWidth)&&((o=e).initialized=!0,0===t("#theia-sticky-sidebar-stylesheet-"+o.namespace).length&&t("head").append(t('<style id="theia-sticky-sidebar-stylesheet-'+o.namespace+'">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')),i.each((function(){function e(){s.fixedScrollTop=0,s.sidebar.css({"min-height":"1px"}),s.stickySidebar.css({position:"static",width:"",transform:"none"})}var i,s={};s.sidebar=t(this),s.options=o||{},s.container=t(s.options.containerSelector),0==s.container.length&&(s.container=s.sidebar.parent()),s.sidebar.parents().css("-webkit-transform","none"),s.sidebar.css({position:s.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),s.stickySidebar=s.sidebar.find(".theiaStickySidebar"),0==s.stickySidebar.length&&(i=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,s.sidebar.find("script").filter((function(t,e){return 0===e.type.length||e.type.match(i)})).remove(),s.stickySidebar=t("<div>").addClass("theiaStickySidebar").append(s.sidebar.children()),s.sidebar.append(s.stickySidebar)),s.marginBottom=parseInt(s.sidebar.css("margin-bottom")),s.paddingTop=parseInt(s.sidebar.css("padding-top")),s.paddingBottom=parseInt(s.sidebar.css("padding-bottom"));var r,a,l,c=s.stickySidebar.offset().top,h=s.stickySidebar.outerHeight();s.stickySidebar.css("padding-top",1),s.stickySidebar.css("padding-bottom",1),c-=s.stickySidebar.offset().top,h=s.stickySidebar.outerHeight()-h-c,s.stickySidebarPaddingTop=0==c?(s.stickySidebar.css("padding-top",0),0):1,s.stickySidebarPaddingBottom=0==h?(s.stickySidebar.css("padding-bottom",0),0):1,s.previousScrollTop=null,
1s.fixedScrollTop=0,e(),s.onScroll=function(i){var s,r,a,l,c,h,d,p,u,f;i.stickySidebar.is(":visible")&&(t("body").width()<i.options.minWidth||i.options.disableOnResponsiveLayouts&&i.sidebar.outerWidth("none"==i.sidebar.css("float"))+50>i.container.width()?e():(p="static",(d=t(document).scrollTop())>=i.sidebar.offset().top+(i.paddingTop-i.options.additionalMarginTop)&&(r=i.paddingTop+o.additionalMarginTop,c=i.paddingBottom+i.marginBottom+o.additionalMarginBottom,a=i.sidebar.offset().top,l=i.sidebar.offset().top+(u=i.container,f=u.height(),u.children().each((function(){f=Math.max(f,t(this).height())})),f),s=0+o.additionalMarginTop,u=i.stickySidebar.outerHeight()+r+c<t(window).height()?s+i.stickySidebar.outerHeight():t(window).height()-i.marginBottom-i.paddingBottom-o.additionalMarginBottom,r=a-d+i.paddingTop,c=l-d-i.paddingBottom-i.marginBottom,a=i.stickySidebar.offset().top-d,l=i.previousScrollTop-d,"fixed"==i.stickySidebar.css("position")&&"modern"==i.options.sidebarBehavior&&(a+=l),"stick-to-top"==i.options.sidebarBehavior&&(a=o.additionalMarginTop),"stick-to-bottom"==i.options.sidebarBehavior&&(a=u-i.stickySidebar.outerHeight()),a=0<l?Math.min(a,s):Math.max(a,u-i.stickySidebar.outerHeight()),a=Math.max(a,r),a=Math.min(a,c-i.stickySidebar.outerHeight()),p=!(c=i.container.height()==i.stickySidebar.outerHeight())&&a==s||!c&&a==u-i.stickySidebar.outerHeight()?"fixed":d+a-i.sidebar.offset().top-i.paddingTop<=o.additionalMarginTop?"static":"absolute"),"fixed"==p?(h=t(document).scrollLeft(),i.stickySidebar.css({position:"fixed",width:n(i.stickySidebar)+"px",transform:"translateY("+a+"px)",left:i.sidebar.offset().left+parseInt(i.sidebar.css("padding-left"))-h+"px",top:"0px"})):"absolute"==p?(h={},"absolute"!=i.stickySidebar.css("position")&&(h.position="absolute",h.transform="translateY("+(d+a-i.sidebar.offset().top-i.stickySidebarPaddingTop-i.stickySidebarPaddingBottom)+"px)",h.top="0px"),h.width=n(i.stickySidebar)+"px",h.left="",i.stickySidebar.css(h)):"static"==p&&e(),"static"!=p&&1==i.options.updateSidebarHeight&&i.sidebar.css({"min-height":i.stickySidebar.outerHeight()+i.stickySidebar.offset().top-i.sidebar.offset().top+i.paddingBottom}),i.previousScrollTop=d))},s.onScroll(s),t(document).on("scroll."+s.options.namespace,(l=s,function(){l.onScroll(l)})),t(window).on("resize."+s.options.namespace,(a=s,function(){a.stickySidebar.css({position:"static"}),a.onScroll(a)})),"undefined"!=typeof ResizeSensor&&new ResizeSensor(s.stickySidebar[0],(r=s,function(){r.onScroll(r)}))})),1);var o}function n(t){var e;try{e=t[0].getBoundingClientRect().width}catch(t){}return void 0===e&&(e=t.width()),e}var o,s,r,a;return(e=t.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},e)).additionalMarginTop=parseInt(e.additionalMarginTop)||0,e.additionalMarginBottom=parseInt(e.additionalMarginBottom)||0,i(e,this)||(console.log("TSS: Body 
1width smaller than options.minWidth. Init is delayed."),t(document).on("scroll."+e.namespace,(r=e,a=this,function(e){i(r,a)&&t(this).unbind(e)})),t(window).on("resize."+e.namespace,(o=e,s=this,function(e){i(o,s)&&t(this).unbind(e)}))),this}}(jQuery),function(){var t=function(e,i){function n(){var t,e;this.q=[],this.add=function(t){this.q.push(t)},this.call=function(){for(t=0,e=this.q.length;t<e;t++)this.q[t].call()}}function o(t,e){if(t.resizedAttached){if(t.resizedAttached)return t.resizedAttached.add(e),0}else t.resizedAttached=new n,t.resizedAttached.add(e);var i;t.resizeSensor=document.createElement("div"),t.resizeSensor.className="resize-sensor",e="position: absolute; left: 0; top: 0; transition: 0s;",t.resizeSensor.style.cssText="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",t.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="'+e+'"></div></div><div class="resize-sensor-shrink" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;"><div style="'+e+' width: 200%; height: 200%"></div></div>',t.appendChild(t.resizeSensor),{fixed:1,absolute:1}[(i="position",(e=t).currentStyle?e.currentStyle[i]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(i):e.style[i])]||(t.style.position="relative");var o,s,r=t.resizeSensor.childNodes[0],a=r.childNodes[0],l=t.resizeSensor.childNodes[1],c=(l.childNodes[0],function(){a.style.width=r.offsetWidth+10+"px",a.style.height=r.offsetHeight+10+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,o=t.offsetWidth,s=t.offsetHeight});function h(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)}function d(){t.offsetWidth==o&&t.offsetHeight==s||t.resizedAttached&&t.resizedAttached.call(),c()}c(),h(r,"scroll",d),h(l,"scroll",d)}var s=Object.prototype.toString.call(e),r="[object Array]"===s||"[object NodeList]"===s||"[object HTMLCollection]"===s||"undefined"!=typeof jQuery&&e instanceof jQuery||"undefined"!=typeof Elements&&e instanceof Elements;if(r)for(var a=0,l=e.length;a<l;a++)o(e[a],i);else o(e,i);this.detach=function(){if(r)for(var i=0,n=e.length;i<n;i++)t.detach(e[i]);else t.detach(e)}};t.detach=function(t){t.resizeSensor&&(t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=t:window.ResizeSensor=t}();

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.