1(function(){"use strict";var __webpack_modules__=({
vendor: 4,140 bytes, lines 1-5
1"./node_modules/@10up/component-accordion/dist/index.modern.js": 2/*!*********************************************************************!*\ 3 !*** ./node_modules/@10up/component-accordion/dist/index.modern.js ***! 4 \*********************************************************************/ 5(function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,{"Accordion":function(){return e;}});function t(){return(t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}class e{constructor(e,n={}){this.evtCallbacks={},window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(let n=0;n<this.length;n++)t.call(e,this[n],n,this)}),e&&"string"==typeof e?(this.$accordions=document.querySelectorAll(e),this.$accordions?(document.documentElement.classList.add("js"),this.settings=t({},{onCreate:null,onOpen:null,onClose:null,onToggle:null},n),this.$accordions.forEach((t,e)=>{this.setupAccordion(t,e)}),this.settings.onCreate&&"function"==typeof this.settings.onCreate&&this.settings.onCreate.call()):console.error("10up Accordion: Target not found. A valid target (accordion area) must be used.")):console.error("10up Accordion: No target supplied. A valid target (accordion area) must be used.")}destroy(){this.removeAllEventListeners(),this.$accordions.forEach(t=>{const[e,n]=this.getAccordionLinksAndContent(t);e.forEach(t=>{t.removeAttribute("id"),t.removeAttribute("aria-expanded"),t.removeAttribute("aria-controls")}),n.forEach(t=>{t.removeAttribute("id"),t.removeAttribute("aria-hidden"),t.removeAttribute("aria-labelledby")})})}getAccordionLinksAndContent(t){const e=t.querySelectorAll(".accordion-header"),n=t.querySelectorAll(".accordion-content");return[Array.prototype.slice.call(e).filter(e=>e.parentNode===t),Array.prototype.slice.call(n).filter(e=>e.parentNode===t)]}addEventListener(t,e,n){void 0===this.evtCallbacks[e]&&(this.evtCallbacks[e]=[]),this.evtCallbacks[e].push({element:t,callback:n}),t.addEventListener(e,n)}removeAllEventListeners(){Object.keys(this.evtCallbacks).forEach(t=>{this.evtCallbacks[t].forEach(({element:e,callback:n})=>{e.removeEventListener(t,n)})})}setupAccordion(t,e){const[n,o]=this.getAccordionLinksAndContent(t);this.addEventListener(t,"keydown",e=>{const o=e.target,s=e.which;o.classList.contains("accordion-header")&&o.parentNode===t&&this.accessKeyBindings(n,o,s,e)}),n.forEach((t,n)=>{t.setAttribute("id",`tab${e}-${n}`),t.setAttribute("aria-expanded","false"),t.setAttribute("aria-controls",`panel${e}-${n}`),this.addEventListener(t,"click",t=>{t.preventDefault(),this.toggleAccordionItem(t)})}),o.forEach((t,n)=>{t.setAttribute("id",`panel${e}-${n}`),t.setAttribute("aria-hidden","true"),t.setAttribute("aria-labelledby",`tab${e}-${n}`)})}openAccordionItem(t){const{link:e,content:n}=t;e.setAttribute("aria-expanded","true"),n.setAttribute("aria-hidden","false"),this.settings.onOpen&&"function"==typeof this.settings.onOpen&&this.settings.onOpen.call(t)}closeAccordionItem(t){const{link:e,content:n}=t;e.setAttribute("aria-expanded","false"),n.setAttribute("aria-hidden","true"),this.settings.onClose&&"function"==typeof this.settings.onClose&&this.settings.onClose.call(t)}toggleAccordionItem(t){const e=t.target,n=e.nextElementSibling,o=n.querySelector(".accordion-label"),s={link:e,content:n,heading:o};e.classList.toggle("is-active"),n.classList.toggle("is-active"),o&&(o.setAttribute("tabindex",-1),o.focus()),n.classList.contains("is-active")?this.openAccordionItem(s):this.closeAccordionItem(s),this.settings.onToggle&&"function"==typeof this.settings.onToggle&&this.settings.onToggle.call(s)}accessKeyBindings(t,e,n,o){let s;switch(t.forEach((t,n)=>{e===t&&(s=n)}),n){case 35:s=t.length-1,o.preventDefault();break;case 36:s=0,o.preventDefault();break;case 38:s--,s<0&&(s=t.length-1),o.preventDefault();break;case 40:s++,s>t.length-1&&(s=0),o.preventDefault()}t[s].focus()}}__webpack_exports__["default"]=(e);}),
5"./src/accordion.scss": 6/*!****************************!*\ 7 !*** ./src/accordion.scss ***! 8 \****************************/ 9(function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);})
9});var __webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(cachedModule!==undefined){return cachedModule.exports;} 10var module=__webpack_module_cache__[moduleId]={exports:{}};__webpack_modules__[moduleId](module,module.exports,__webpack_require__);return module.exports;} 11!function(){__webpack_require__.d=function(exports,definition){for(var key in definition){if(__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)){Object.defineProperty(exports,key,{enumerable:true,get:definition[key]});}}};}();!function(){__webpack_require__.o=function(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop);}}();!function(){__webpack_require__.r=function(exports){if(typeof Symbol!=='undefined'&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:'Module'});} 12Object.defineProperty(exports,'__esModule',{value:true});};}();var __webpack_exports__={};!function(){ 13/*!**************************!*\ 14 !*** ./src/accordion.js ***! 15 \**************************/ 16__webpack_require__.r(__webpack_exports__);var _accordion_scss__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__( 17/*! ./accordion.scss */ 18"./src/accordion.scss");var _10up_component_accordion__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__( 19/*! @10up/component-accordion */ 20"./node_modules/@10up/component-accordion/dist/index.modern.js");if(typeof window.ACFAccordionBlock!=='object'){window.ACFAccordionBlock={};} 21window.ACFAccordionBlock.Accordion=_10up_component_accordion__WEBPACK_IMPORTED_MODULE_1__["default"];function accordionsInit(){new ACFAccordionBlock.Accordion('.accordion');} 22document.addEventListener('DOMContentLoaded',()=>{if(window.acf){window.acf.addAction('render_block_preview',accordionsInit);}else{accordionsInit();}});}();})(); 23/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 24"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.no
24deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
24,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); 25 26!function(O,x,c,e){var n,M,s,i,l,a,o,r,u,h,t,d,p="mPageScroll2id",b="mPS2id",g={scrollSpeed:1e3,autoScrollSpeed:!0,scrollEasing:"easeInOutQuint",scrollingEasing:"easeOutQuint",pageEndSmoothScroll:!0,layout:"vertical",offset:0,highlightSelector:!1,clickedClass:b+"-clicked",targetClass:b+"-target",highlightClass:b+"-highlight",forceSingleHighlight:!1,keepHighlightUntilNext:!1,highlightByNextTarget:!1,disablePluginBelow:!1,clickEvents:!0,appendHash:!1,onStart:function(){},onComplete:function(){},defaultSelector:!1,live:!0,liveSelector:!1,excludeSelectors:!1,encodeLinks:!1,inIframe:!1},f=0,_=/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/,w={init:function(e){e=O.extend(!0,{},g,e);if(O(c).data(b,e),M=O(c).data(b),!this.selector){var t="__"+b;this.each(function(){var e=O(this);e.hasClass(t)||e.addClass(t)}),this.selector="."+t}M.liveSelector&&(this.selector+=","+M.liveSelector),n=n?n+","+this.selector:this.selector,M.defaultSelector&&("object"==typeof O(n)&&0!==O(n).length||(n=".m_PageScroll2id,a[rel~='m_PageScroll2id'],.page-scroll-to-id,a[rel~='page-scroll-to-id'],._ps2id")),M.clickEvents&&O(c).off("."+b).on("click."+b,n,function(e){if(m._isDisabled.call(null))m._removeClasses.call(null);else{var t=O(this),n=t.attr("href"),s=t.prop("href").baseVal||t.prop("href");M.excludeSelectors&&t.is(M.excludeSelectors)||n&&-1!==n.indexOf("#/")||(m._reset.call(null),h=t.data("ps2id-offset")||0,m._isValid.call(null,n,s)&&m._findTarget.call(null,n)&&
26(e.preventDefault(),i="selector",l=t,m._setClasses.call(null,!0),m._scrollTo.call(null)))}}),O(x).off("."+b).on("scroll."+b+" resize."+b,function(){if(m._isDisabled.call(null))m._removeClasses.call(null);else{var i=O("._"+b+"-t");i.each(function(e){var t=O(this),n=t.attr("id"),s=m._findHighlight.call(null,n);m._setClasses.call(null,!1,t,s),e==i.length-1&&m._extendClasses.call(null)})}}),s=!0,m._setup.call(null),m._live.call(null)},scrollTo:function(e,t){if(m._isDisabled.call(null))m._removeClasses.call(null);else if(e&&void 0!==e){m._isInit.call(null);var n={layout:M.layout,offset:M.offset,clicked:!1};t=O.extend(!0,{},n,t);m._reset.call(null),r=t.layout,u=t.offset,e=-1!==e.indexOf("#")?e:"#"+e,m._isValid.call(null,e)&&m._findTarget.call(null,e)&&(i="scrollTo",(l=t.clicked)&&m._setClasses.call(null,!0),m._scrollTo.call(null))}},destroy:function(){O(x).off("."+b),O(c).off("."+b).removeData(b),O("._"+b+"-t").removeData(b),m._removeClasses.call(null,!0)}},m={_isDisabled:function(){var e=x,t="inner",n=M.disablePluginBelow instanceof Array?[M.disablePluginBelow[0]||0,M.disablePluginBelow[1]||0]:[M.disablePluginBelow||0,0];return"innerWidth"in x||(t="client",e=c.documentElement||c.body),e[t+"Width"]<=n[0]||e[t+"Height"]<=n[1]},_isValid:function(e,t){if(e){var n=-1!==(t=t||e).indexOf("#/")?t.split("#/")[0]:t.split("#")[0],s=(M.inIframe||x.location===x.parent.location?x.location:x.parent.location).toString().split("#")[0];return"#"!==e&&-1!==e.indexOf("#")&&(""===n||decodeURIComponent(n)===decodeURIComponent(s))}},_setup:function(){var l=m._highlightSelector(),o=1,r=0;return O(l).each(function(){var e=O(this),t=e.attr("href"),n=e.prop("href").baseVal||e.prop("href");if(m._isValid.call(null,t,n)){if(M.excludeSelectors&&e.is(M.excludeSelectors))return;var s=-1!==t.indexOf("#/")?t.split("#/")[1]:t.substring(t.indexOf("#")+1),i=_.test(s)?O(c.getElementById(s)):O("#"+s);if(0<i.length){M.highlightByNextTarget&&i!==r&&(r?r.data(b,{tn:i}):i.data(b,{tn:"0"}),r=i),i.hasClass("_"+b+"-t")||i.addClass("_"+b+"-t"),i.data(b,{i:o}),e.hasClass("_"+b+"-h")||e.addClass("_"+b+"-h");var a=m._findHighlight.call(null,s);m._setClasses.call(null,!1,i,a),f=o,++o==O(l).length&&m._extendClasses.call(null)}}})},_highlightSelector:function(){return M.highlightSelector&&""!==M.highlightSelector?M.highlightSelector:n},_findTarget:function(e){var t=-1!==e.indexOf("#/")?e.split("#/")[1]:e.substring(e.indexOf("#")+1),n=_.test(t)?O(c.getElementById(t)):O("#"+t);if(n.length<1||"fixed"===n.css("position")){if("top"!==t)return;n=O("body")}return a=n,r||(r=M.layout),u=m._setOffset.call(null),(o=[(n.offset().top-u[0]).toString(),(n.offset().left-u[1]).toString()])[0]=o[0]<0?0:o[0],o[1]=o[1]<0?0:o[1],o},_setOffset:function(){var e,t,n,s;switch(u||(u=M.offset?M.offset:0),h&&(u=h),typeof u){case"object":case"string":0<(t=[(e=[u.y?u.y:u,u.x?u.x:u])[0]instanceof jQuery?e[0]:O(e[0]),e[1]instanceof jQuery?e[1]:O(e[1])])[0].length?(n=t[0].height(),"fixed"===t[0].css("position")&&(n+=t[0][0].offsetTop)):n=!isNaN(parseFloat(e[0]))&&isFinite(e[0])?parseInt(e[0]):0,0<t[1].length?(s=t[1].width(),"fixed"===t[1].css("position")&&(s+=t[1][0].offsetLeft)):s=!isNaN(parseFloat(e[1]))&&isFinite(e[1])?parseInt(e[1]):0;break;case"function":(e=u.call(null))instanceof Array?(n=e[0],s=e[1]):n=s=e;break;default:n=s=parseInt(u)}return[n,s]},_findHighlight:function(e){var t=M.inIframe||x.location===x.parent.location?x.location:x.parent.location,n=t.toString().split("#")[0],s=t.pathname;if(-1!==n.indexOf("'")&&(n=n.replace("'","\\'")),-1!==s.indexOf("'")&&(s=s.replace("'","\\'")),n=decodeURIComponent(n),s=decodeURIComponent(s),M.encodeLinks){var i=encodeURI(n).toLowerCase(),a=encodeURI(s).toLowerCase();return O("._"+b+"-h[href='#"+e+"'],._"+b+"-h[href='"+n+"#"+e+"'],._"+b+"-h[href='"+s+"#"+e+"'],._"+b+"-h[href='#/"+e+"'],._"+b+"-h[href='"+n+"#/"+e+"'],._"+b+"-h[href='"+s+"#/"+e+"'],._"+b+"-h[href='"+i+"#/"+e+"'],._"+b+"-h[href='"+i+"#"+e+"'],._"+b+"-h[href='"+a+"#/"+e+"'],._"+b+"-h[href='"+a+"#"+e+"']")}return O("._"+b+"-h[href='#"+e+"'],._"+b+"-h[href='"+n+"#"+e+"'],._"+b+"-h[href='"+s+"#"+e+"'],._"+b+"-h[href='#/"+e+"'],._"+b+"-h[href='"+n+"#/"+e+"'],._"+b+"-h[href='"+s+"#/"+e+"']")},_setClasses:function(e,t,n){var s=M.clickedClass,i=M.targetClass,a=M.highlightClass;e&&s&&""!==s?(O("."+s).removeClass(s),l.addClass(s)):t&&i&&""!==i&&n&&a&&""!==a&&(m._currentTarget.call(null,t)?(t.addClass(i),n.addClass(a)):(!M.keepHighlightUntilNext||1<O("."+a).length)&&(t.removeClass(i),n.removeClass(a)))},_extendClasses:function(){var e=M.targetClass,t=M.highlightClass,n=O("."+e),s=O("."+t),i=e+"-first",a=e+"-last",l=t+"-first",o=t+"-last";O("._"+b+"-t").removeClass(i+" "+a),O("._"+b+"-h").removeClass(l+" "+o),M.forceSingleHighlight?M.keepHighlightUntilNext&&1<n.length?(n.slice(0,1).removeClass(e),s.slice(0,1).removeClass(t)):(n.slice(1).removeClass(e),s.slice(1).removeClass(t)):(n.slice(0,1).addClass(i).end().slice(-1).addClass(a),s.slice(0,1).addClass(l).end().slice(-1).addClass(o))},_removeClasses:function(e){O("."+M.clickedClass).removeClass(M.clickedClass),O("."+M.targetClass).removeClass(M.targetClass+" "+M.targetClass+"-first "+M.targetClass+"-last"),O("."+M.highlightClass).removeClass(M.highlightClass+" "+M.highlightClass+"-first "+M.highlightClass+"-last"),e&&(O("._"+b+"-t").removeClass("_"+b+"-t"),O("._"+b+"-h").removeClass("_"+b+"-h"))},_currentTarget:function(e){if(e.data(b)){var t=M["target_"+e.data(b).i],n=e.data("ps2id-target"),s=n&&O(n)[0]?O(n)[0].getBoundingClientRect():e[0].getBoundingClientRect();if(void 0!==t){var i=e.offset().top,a=e.offset().left,l=t.from?t.from+i:i,o=t.to?t.to+i:i,r=t.fromX?t.fromX+a:a,c=t.toX?t.toX+a:a;return s.top>=o&&s.top<=l&&s.left>=c&&s.left<=r}var u=O(x).height(),h=O(x).width(),d=n?O(n).height():e.height(),p=n?O(n).width():e.width(),g=1+d/u,f=g,_=d<u?g*(u/d):g,w=1+p/h,m=w,S=p<h?w*(h/p):w,I=[s.top<=u/f,s.bottom>=u/_,s.left<=h/m,s.right>
26=h/S];if(M.highlightByNextTarget){var v=e.data(b).tn;if(v){var C=v[0].getBoundingClientRect();"vertical"===M.layout?I=[s.top<=u/2,C.top>u/2,1,1]:"horizontal"===M.layout&&(I=[1,1,s.left<=h/2,C.left>h/2])}}return I[0]&&I[1]&&I[2]&&I[3]}},_scrollTo:function(){d=m._scrollSpeed.call(null),o=M.pageEndSmoothScroll?m._pageEndSmoothScroll.call(null):o;var e=O("html,body"),t=M.autoScrollSpeed?m._autoScrollSpeed.call(null):d,n=e.is(":animated")?M.scrollingEasing:M.scrollEasing,s=O(x).scrollTop(),i=O(x).scrollLeft();switch(r){case"horizontal":i!=o[1]&&(m._callbacks.call(null,"onStart"),e.stop().animate({scrollLeft:o[1]},t,n).promise().then(function(){m._callbacks.call(null,"onComplete")}));break;case"auto":var a;if(s!=o[0]||i!=o[1])if(m._callbacks.call(null,"onStart"),navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/))e.stop().animate({pageYOffset:o[0],pageXOffset:o[1]},{duration:t,easing:n,step:function(e,t){"pageXOffset"==t.prop?a=e:"pageYOffset"==t.prop&&x.scrollTo(a,e)}}).promise().then(function(){m._callbacks.call(null,"onComplete")}
26);else e.stop().animate({scrollTop:o[0],scrollLeft:o[1]},t,n).promise().then(function(){m._callbacks.call(null,"onComplete")});break;default:s!=o[0]&&(m._callbacks.call(null,"onStart"),e.stop().animate({scrollTop:o[0]},t,n).promise().then(function(){m._callbacks.call(null,"onComplete")}))}},_pageEndSmoothScroll:function(){var e=O(c).height(),t=O(c).width(),n=O(x).height(),s=O(x).width();return[e-o[0]<n?e-n:o[0],t-o[1]<s?t-s:o[1]]},_scrollSpeed:function(){var s=M.scrollSpeed;return l&&l.length&&l.add(l.parent()).each(function(){var e=O(this);if(e.attr("class")){var t=e.attr("class").split(" ");for(var n in t)if(String(t[n]).match(/^ps2id-speed-\d+$/)){s=t[n].split("ps2id-speed-")[1];break}}}),parseInt(s)},_autoScrollSpeed:function(){var e=O(x).scrollTop(),t=O(x).scrollLeft(),n=O(c).height(),s=O(c).width(),i=[d+d*Math.floor(Math.abs(o[0]-e)/n*100)/100,d+d*Math.floor(Math.abs(o[1]-t)/s*100)/100];return Math.max.apply(Math,i)},_callbacks:function(e){if(M)switch(this[b]={trigger:i,clicked:l,target:a,scrollTo:{y:o[0],x:o[1]}},e){case"onStart":if(M.appendHash&&x.history&&x.history.pushState&&l&&l.length){var t=l.attr("href"),n="#"+t.substring(t.indexOf("#")+1);n!==x.location.hash&&history.pushState("","",n)}M.onStart.call(null,this[b]);break;case"onComplete":M.onComplete.call(null,this[b])}},_reset:function(){r=u=h=!1},_isInit:function(){s||w.init.apply(this)},_live:function(){t=setTimeout(function(){M.live?O(m._highlightSelector()).length!==f&&m._setup.call(null):t&&clearTimeout(t),m._live.call(null)},1e3)},_easing:function(){function t(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375}O.easing.easeInQuad=O.easing.easeInQuad||function(e){return e*e},O.easing.easeOutQuad=O.easing.easeOutQuad||function(e){return 1-(1-e)*(1-e)},O.easing.easeInOutQuad=O.easing.easeInOutQuad||function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},O.easing.easeInCubic=O.easing.easeInCubic||function(e){return e*e*e},O.easing.easeOutCubic=O.easing.easeOutCubic||function(e){return 1-Math.pow(1-e,3)},O.easing.easeInOutCubic=O.easing.easeInOutCubic||function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},O.easing.easeInQuart=O.easing.easeInQuart||function(e){return e*e*e*e},O.easing.easeOutQuart=O.easing.easeOutQuart||function(e){return 1-Math.pow(1-e,4)},O.easing.easeInOutQuart=O.easing.easeInOutQuart||function(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2},O.easing.easeInQuint=O.easing.easeInQuint||function(e){return e*e*e*e*e},O.easing.easeOutQuint=O.easing.easeOutQuint||function(e){return 1-Math.pow(1-e,5)},O.easing.easeInOutQuint=O.easing.easeInOutQuint||function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2},O.easing.easeInExpo=O.easing.easeInExpo||function(e){return 0===e?0:Math.pow(2,10*e-10)},O.easing.easeOutExpo=O.easing.easeOutExpo||function(e){return 1===e?1:1-Math.pow(2,-10*e)},O.easing.easeInOutExpo=O.easing.easeInOutExpo||function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},O.easing.easeInSine=O.easing.easeInSine||function(e){return 1-Math.cos(e*Math.PI/2)},O.easing.easeOutSine=O.easing.easeOutSine||function(e){return Math.sin(e*Math.PI/2)},O.easing.easeInOutSine=O.easing.easeInOutSine||function(e){return-(Math.cos(Math.PI*e)-1)/2},O.easing.easeInCirc=O.easing.easeInCirc||function(e){return 1-Math.sqrt(1-Math.pow(e,2))},O.easing.easeOutCirc=O.easing.easeOutCirc||function(e){return Math.sqrt(1-Math.pow(e-1,2))},O.easing.easeInOutCirc=O.easing.easeInOutCirc||function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2},O.easing.easeInElastic=O.easing.easeInElastic||function(e){return 0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*(2*Math.PI/3))},O.easing.easeOutElastic=O.easing.easeOutElastic||function(e){return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*(2*Math.PI/3))+1},O.easing.easeInOutElastic=O.easing.easeInOutElastic||function(e){return 0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2+1},O.easing.easeInBack=O.easing.easeInBack||function(e){return 2.70158*e*e*e-1.70158*e*e},O.easing.easeOutBack=O.easing.easeOutBack||function(e){return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2)},O.easing.easeInOutBack=O.easing.easeInOutBack||function(e){return e<.5?Math.pow(2*e,2)*(7.189819*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2},O.easing.easeInBounce=O.easing.easeInBounce||function(e){return 1-t(1-e)},O.easing.easeOutBounce=O.easing.easeOutBounce||t,O.easing.easeInOutBounce=O.easing.easeInOutBounce||function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}}};
26m._easing.call(),O.fn[p]=function(e){return w[e]?w[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void O.error("Method "+e+" does not exist"):w.init.apply(this,arguments)},O[p]=function(e){return w[e]?w[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void O.error("Method "+e+" does not exist"):w.init.apply(this,arguments)},O[p].defaults=g}(jQuery,window,document),function(o){var r,c="mPS2id",u=mPS2id_params,h=u.shortcode_class,d=location.hash||null,s=/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/,p=function(e,t){var n=e.substring(e.indexOf("#")+1);try{s.test(n)?o(document.getElementById(n)):o("#"+n)}catch(e){return!1}return(s.test(n)?o(document.getElementById(n)):o("#"+n)).length&&(t||o("a[href*='#"+n+"']").filter(function(){return 1==o(this).data(c+"Element")}).length)},g=function(e){if(-1===e.indexOf(","))return e;var t=e.split(",");return{y:t[0]||"0",x:t[1]||"0"}},f=function(e){if(-1===e.indexOf(","))return e;var t=e.split(",");return[t[0]||"0",t[1]||"0"]},_=function(e){"horizontal"!==e&&o(window).scrollTop(0),"vertical"!==e&&o(window).scrollLeft(0)},w=function(e,t){for(var n=e.click.length-1;0<=n;n--){var s=e.click[n];s&&"mPS2id"!=s.namespace&&("a[href*=#]"===s.selector?s.selector="a[href*=#]:not(._mPS2id-h)":'a[href*="#"]'===s.selector?s.selector='a[href*="#"]:not(._mPS2id-h)':"a[href*=#]:not([href=#])"===s.selector?s.selector="a[href*=#]:not([href=#]):not(._mPS2id-h)":'a[href*="#"]:not([href="#"])'===s.selector?s.selector='a[href*="#"]:not([href="#"]):not(._mPS2id-h)':s.selector&&-1!==s.selector.indexOf("mobmenu")?t.off("click"):t.off("click",s.handler))}},m="a[data-ps2id-api='true'][href*='#'],.ps2id > a[href*='#'],a.ps2id[href*='#']";function t(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375}o(function(){for(var e=0;e<u.total_instances;e++){var t=o("[class*='ps2id-id-']");if(t.length&&t.each(function(){var e,t=o(this),n=t.attr("class").split(" ");if(!t.attr("id"))for(var s in n)if(String(n[s]).match(/^ps2id-id-\S+$/)){e=n[s].split("ps2id-id-")[1],o("#"+e).length||t.attr("id",e);break}}),"true"===u.instances[c+"_instance_"+e].scrollToHash&&d&&(o(u.instances[c+"_instance_"+e].selector+",."+h+","+m).not(u.instances[c+"_instance_"+e].excludeSelector).each(function(){o(this).data(c+"Element",!0)}),p(d,"true"===u.instances[c+"_instance_"+e].scrollToHashForAll))){var n="true"===u.instances[c+"_instance_"+e].scrollToHashRemoveUrlHash?window.location.href.replace(/#.*$/,""):window.location.href.replace(/#.*$/,"#");_(u.instances[c+"_instance_"+e].layout),window.history&&window.history.replaceState?window.history.replaceState("","",n):window.location.href=n}}o("html").css("scroll-behavior","auto"),window.twentytwenty&&window.twentytwenty.smoothScroll&&(window.twentytwenty.smoothScroll=null)}),o(window).on("load",function(){for(var e=0;e<u.total_instances;e++){0<=u.instances[c+"_instance_"+e].selector.indexOf("a[href*=#]:not([href=#])")&&console.log("ps2id selector issue: a[href*=#]:not([href=#]) selector needs quotes"),0<=u.instances[c+"_instance_"+e].excludeSelector.indexOf("a[href*=#]:not([href=#])")&&console.log("ps2id excluded selector issue: a[href*=#]:not([href=#]) selector needs quotes");var n=o(u.instances[c+"_instance_"+e].selector+",."+h+","+m),t=u.instances[c+"_instance_"+e].autoCorrectScroll,s=0,i=u.instances[c+"_instance_"+e].autoCorrectScrollExtend;if(window.ps2id_special_params&&(window.ps2id_special_params.highlightSelector&&(u.instances[c+"_instance_"+e].highlightSelector=window.ps2id_special_params.highlightSelector),window.ps2id_special_params.scrollSpeed&&(u.instances[c+"_instance_"+e].scrollSpeed=window.ps2id_special_params.scrollSpeed),window.ps2id_special_params.scrollEasing&&(u.instances[c+"_instance_"+e].scrollEasing=window.ps2id_special_params.scrollEasing),void 0!==window.ps2id_special_params.forceSingleHighlight&&(u.instances[c+"_instance_"+e].forceSingleHighlight=window.ps2id_special_params.forceSingleHighlight),void 0!==window.ps2id_special_params.keepHighlightUntilNext&&(u.instances[c+"_instance_"+e].keepHighlightUntilNext=window.ps2id_special_params.keepHighlightUntilNext),void 0!==window.ps2id_special_params.appendHash&&(u.instances[c+"_instance_"+e].appendHash=window.ps2id_special_params.appendHash),window.ps2id_special_params.layout&&(u.instances[c+"_instance_"+e].layout=window.ps2id_special_params.layout),window.ps2id_special_params.offset&&(u.instances[c+"_instance_"+e].offset=window.ps2id_special_params.offset)),n.mPageScroll2id({scrollSpeed:u.instances[c+"_instance_"+e].scrollSpeed,autoScrollSpeed:"true"===u.instances[c+"_instance_"+e].autoScrollSpeed,scrollEasing:"true"===u.instances[c+"_instance_"+e].forceScrollEasing?"ps2id_"+u.instances[c+"_instance_"+e].scrollEasing:u.instances[c+"_instance_"+e].scrollEasing,scrollingEasing:"true"===u.instances[c+"_instance_"+e].forceScrollEasing?"ps2id_"+u.instances[c+"_instance_"+e].scrollingEasing:u.instances[c+"_instance_"+e].scrollingEasing,pageEndSmoothScroll:"true"===u.instances[c+"_instance_"+e].pageEndSmoothScroll,layout:u.instances[c+"_instance_"+e].layout,offset:g(u.instances[c+"_instance_"+e].offset.toString()),highlightSelector:u.instances[c+"_instance_"+e].highlightSelector,clickedClass:u.instances[c+"_instance_"+e].clickedClass,targetClass:u.instances[c+"_instance_"+e].targetClass,highlightClass:u.instances[c+"_instance_"+e].highlightClass,forceSingleHighlight:"true"===u.instances[c+"_instance_"+e].forceSingleHighlight,keepHighlightUntilNext:"true"===u.instances[c+"_instance_"+e].keepHighlightUntilNext,highlightByNextTarget:"true"===u.instances[c+"_instance_"+e].highlightByNextTarget,disablePluginBelow:f(u.instances[c+"_instance_"+e].disablePluginBelow.toString()),appendHash:"true"===u.instances[c+"_instance_"+e].appendHash,onStart:function(){"true"===t&&"selector"===mPS2id.trigger&&s++,"true"===i&&(r=[mPS2id.target.offset().top,mPS2id.target.offset().left])},onComplete:function(){"true"===i?r[0]===mPS2id.target.offset().top&&r[1]===mPS2id.target.offset().left||("selector"===mPS2id.trigger&&mPS2id.clicked.length?mPS2id.clicked.trigger("click.mPS2id"):o.mPageScroll2id("scrollTo",mPS2id.target.attr("id"))):1==s&&(mPS2id.clicked.length&&mPS2id.clicked.trigger("click.mPS2id"),s=0)},excludeSelectors:u.instances[c+"_instance_"+e].excludeSelector,encodeLinks:"true"===u.instances[c+"_instance_"+e].encodeLinks,liveSelector:u.instances[c+"_instance_"+e].selector+",."+h+","+m}),"true"===u.instances[c+"_instance_"+e].scrollToHash&&d&&p(d,"true"===u.instances[c+"_instance_"+e].scrollToHashForAll)){_(u.instances[c+"_instance_"+e].layout);var a=u.instances[c+"_instance_"+e].scrollToHashUseElementData,l=o("a._mPS2id-h[href$='"+d+"'][data-ps2id-offset]:not([data-ps2id-offset=''])").last();setTimeout(function(){"true"===a&&l.length?l.trigger("click.mPS2id"):o.mPageScroll2id("scrollTo",d),-1!==window.location.href.indexOf("#")&&(window.history&&window.history.replaceState?window.history.replaceState("","",d):window.location.hash=d)},u.instances[c+"_instance_"+e].scrollToHashDelay)}o(".ps2id-auto-scroll[id]").length&&!window.location.hash&&setTimeout(function(){o.mPageScroll2id("scrollTo",o(".ps2id-auto-scroll[id]").attr("id"))},u.instances[c+"_instance_"+e].scrollToHashDelay),"true"!==u.instances[c+"_instance_"+e].unbindUnrelatedClickEvents||u.instances[c+"_instance_"+e].unbindUnrelatedClickEventsSelector||setTimeout(function(){var e=n.length?o._data(n[0],"events"):null,t=n.length?o._data(o(document)[0],"events"):null;
26e&&w(e,n),t&&w(t,n)},300),"true"===u.instances[c+"_instance_"+e].normalizeAnchorPointTargets&&o("a._mPS2id-t[id]:empty").css({display:"inline-block","line-height":0,width:0,height:0,border:"none"}),"true"===u.instances[c+"_instance_"+e].stopScrollOnUserAction&&o(document).on("mousewheel DOMMouseScroll touchmove",function(){var e=o("html,body");e.is(":animated")&&e.stop()})}}),o.expr.pseudos?o.extend(o.expr.pseudos,{absolute:o.expr.pseudos.absolute||function(e){return"absolute"===o(e).css("position")},relative:o.expr.pseudos.relative||function(e){return"relative"===o(e).css("position")},static:o.expr.pseudos.static||function(e){return"static"===o(e).css("position")},fixed:o.expr.pseudos.fixed||function(e){return"fixed"===o(e).css("position")},sticky:o.expr.pseudos.sticky||function(e){return"sticky"===o(e).css("position")},width:o.expr.pseudos.width||function(e,t,n){var s=n[3].replace("<","<").replace(">",">");return!!s&&(">"===s.substr(0,1)?o(e).width()>s.substr(1):"<"===s.substr(0,1)?o(e).width()<s.substr(1):o(e).width()===parseInt(s))},height:o.expr.pseudos.height||function(e,t,n){var s=n[3].replace("<","<").replace(">",">");return!!s&&(">"===s.substr(0,1)?o(e).height()>s.substr(1):"<"===s.substr(0,1)?o(e).height()<s.substr(1):o(e).height()===parseInt(s))}}):o.extend(o.expr[":"],{absolute:o.expr[":"].absolute||function(e){return"absolute"===o(e).css("position")},relative:o.expr[":"].relative||function(e){return"relative"===o(e).css("position")},static:o.expr[":"].static||function(e){return"static"===o(e).css("position")},fixed:o.expr[":"].fixed||function(e){return"fixed"===o(e).css("position")},width:o.expr[":"].width||function(e,t,n){var s=n[3].replace("<","<").replace(">",">");return!!s&&(">"===s.substr(0,1)?o(e).width()>s.substr(1):"<"===s.substr(0,1)?o(e).width()<s.substr(1):o(e).width()===parseInt(s))},height:o.expr[":"].height||function(e,t,n){var s=n[3].replace("<","<").replace(">",">");return!!s&&(">"===s.substr(0,1)?o(e).height()>s.substr(1):"<"===s.substr(0,1)?o(e).height()<s.substr(1):o(e).height()===parseInt(s))}}),o.easing.ps2id_easeInQuad=o.easing.ps2id_easeInQuad||function(e){return e*e},o.easing.ps2id_easeOutQuad=o.easing.ps2id_easeOutQuad||function(e){return 1-(1-e)*(1-e)},o.easing.ps2id_easeInOutQuad=o.easing.ps2id_easeInOutQuad||function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},o.easing.ps2id_easeInCubic=o.easing.ps2id_easeInCubic||function(e){return e*e*e},o.easing.ps2id_easeOutCubic=o.easing.ps2id_easeOutCubic||function(e){return 1-Math.pow(1-e,3)},o.easing.ps2id_easeInOutCubic=o.easing.ps2id_easeInOutCubic||function(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},o.easing.ps2id_easeInQuart=o.easing.ps2id_easeInQuart||function(e){return e*e*e*e},o.easing.ps2id_easeOutQuart=o.easing.ps2id_easeOutQuart||function(e){return 1-Math.pow(1-e,4)},o.easing.ps2id_easeInOutQuart=o.easing.ps2id_easeInOutQuart||function(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2},o.easing.ps2id_easeInQuint=o.easing.ps2id_easeInQuint||function(e){return e*e*e*e*e},o.easing.ps2id_easeOutQuint=o.easing.ps2id_easeOutQuint||function(e){return 1-Math.pow(1-e,5)},o.easing.ps2id_easeInOutQuint=o.easing.ps2id_easeInOutQuint||function(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2},o.easing.ps2id_easeInExpo=o.easing.ps2id_easeInExpo||function(e){return 0===e?0:Math.pow(2,10*e-10)},o.easing.ps2id_easeOutExpo=o.easing.ps2id_easeOutExpo||function(e){return 1===e?1:1-Math.pow(2,-10*e)},o.easing.ps2id_easeInOutExpo=o.easing.ps2id_easeInOutExpo||function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},o.easing.ps2id_easeInSine=o.easing.ps2id_easeInSine||function(e){return 1-Math.cos(e*Math.PI/2)},o.easing.ps2id_easeOutSine=o.easing.ps2id_easeOutSine||function(e){return Math.sin(e*Math.PI/2)},o.easing.ps2id_easeInOutSine=o.easing.ps2id_easeInOutSine||function(e){return-(Math.cos(Math.PI*e)-1)/2},o.easing.ps2id_easeInCirc=o.easing.ps2id_easeInCirc||function(e){return 1-Math.sqrt(1-Math.pow(e,2))},o.easing.ps2id_easeOutCirc=o.easing.ps2id_easeOutCirc||function(e){return Math.sqrt(1-Math.pow(e-1,2))},o.easing.ps2id_easeInOutCirc=o.easing.ps2id_easeInOutCirc||function(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2},o.easing.ps2id_easeInElastic=o.easing.ps2id_easeInElastic||function(e){return 0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*(2*Math.PI/3))},o.easing.ps2id_easeOutElastic=o.easing.ps2id_easeOutElastic||function(e){return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*(2*Math.PI/3))+1},o.easing.ps2id_easeInOutElastic=o.easing.ps2id_easeInOutElastic||function(e){return 0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*(2*Math.PI/4.5))/2+1},o.easing.ps2id_easeInBack=o.easing.ps2id_easeInBack||function(e){return 2.70158*e*e*e-1.70158*e*e},o.easing.ps2id_easeOutBack=o.easing.ps2id_easeOutBack||function(e){return 1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2)},o.easing.ps2id_easeInOutBack=o.easing.ps2id_easeInOutBack||function(e){return e<.5?Math.pow(2*e,2)*(7.189819*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2},o.easing.ps2id_easeInBounce=o.easing.ps2id_easeInBounce||function(e){return 1-t(1-e)},o.easing.ps2id_easeOutBounce=o.easing.ps2id_easeOutBounce||t,o.easing.ps2id_easeInOutBounce=o.easing.ps2id_easeInOutBounce||function(e){return e<.5?(1-t(1-2*e))/2:(1+t(2*e-1))/2}}(jQuery); 27+function($){'use strict';function transitionEnd(){var el=document.createElement('bootstrap') 28var transEndEventNames={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'}
vendor: 7,320 bytes, lines 29-160
29for(var name in transEndEventNames){if(el.style[name]!==undefined){return{end:transEndEventNames[name]}}} 30return false} 31$.fn.emulateTransitionEnd=function(duration){var called=false 32var $el=this 33$(this).one('bsTransitionEnd',function(){called=true}) 34var callback=function(){if(!called)$($el).trigger($.support.transition.end)} 35setTimeout(callback,duration) 36return this} 37$(function(){$.support.transition=transitionEnd() 38if(!$.support.transition)return 39$.event.special.bsTransitionEnd={bindType:$.support.transition.end,delegateType:$.support.transition.end,handle:function(e){if($(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}})}(jQuery);+function($){'use strict';var dismiss='[data-dismiss="alert"]' 40var Alert=function(el){$(el).on('click',dismiss,this.close)} 41Alert.TRANSITION_DURATION=150 42Alert.prototype.close=function(e){var $this=$(this) 43var selector=$this.attr('data-target') 44if(!selector){selector=$this.attr('href') 45selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')} 46var $parent=$(selector) 47if(e)e.preventDefault() 48if(!$parent.length){$parent=$this.closest('.alert')} 49$parent.trigger(e=$.Event('close.bs.alert')) 50if(e.isDefaultPrevented())return 51$parent.removeClass('in') 52function removeElement(){$parent.detach().trigger('closed.bs.alert').remove()} 53$.support.transition&&$parent.hasClass('fade')?$parent.one('bsTransitionEnd',removeElement).emulateTransitionEnd(Alert.TRANSITION_DURATION):removeElement()} 54function Plugin(option){return this.each(function(){var $this=$(this) 55var data=$this.data('bs.alert') 56if(!data)$this.data('bs.alert',(data=new Alert(this))) 57if(typeof option=='string')data[option].call($this)})} 58var old=$.fn.alert 59$.fn.alert=Plugin 60$.fn.alert.Constructor=Alert 61$.fn.alert.noConflict=function(){$.fn.alert=old 62return this} 63$(document).on('click.bs.alert.data-api',dismiss,Alert.prototype.close)}(jQuery);+function($){'use strict';var Button=function(element,options){this.$element=$(element) 64this.options=$.extend({},Button.DEFAULTS,options) 65this.isLoading=false} 66Button.DEFAULTS={loadingText:'loading...'} 67Button.prototype.setState=function(state){var d='disabled' 68var $el=this.$element 69var val=$el.is('input')?'val':'html' 70var data=$el.data() 71state+='Text' 72if(data.resetText==null)$el.data('resetText',$el[val]()) 73setTimeout($.proxy(function(){$el[val](data[state]==null?this.options[state]:data[state]) 74if(state=='loadingText'){this.isLoading=true 75$el.addClass(d).attr(d,d)}else if(this.isLoading){this.isLoading=false 76$el.removeClass(d).removeAttr(d)}},this),0)} 77Button.prototype.toggle=function(){var changed=true 78var $parent=this.$element.closest('[data-toggle="buttons"]') 79if($parent.length){var $input=this.$element.find('input') 80if($input.prop('type')=='radio'){if($input.prop('checked'))changed=false 81$parent.find('.active').removeClass('active') 82this.$element.addClass('active')}else if($input.prop('type')=='checkbox'){if(($input.prop('checked'))!==this.$element.hasClass('active'))changed=false 83this.$element.toggleClass('active')} 84$input.prop('checked',this.$element.hasClass('active')) 85if(changed)$input.trigger('change')}else{this.$element.attr('aria-pressed',!this.$element.hasClass('active')) 86this.$element.toggleClass('active')}} 87function Plugin(option){return this.each(function(){var $this=$(this) 88var data=$this.data('bs.button') 89var options=typeof option=='object'&&option 90if(!data)$this.data('bs.button',(data=new Button(this,options))) 91if(option=='toggle')data.toggle() 92else if(option)data.setState(option)})} 93var old=$.fn.button 94$.fn.button=Plugin 95$.fn.button.Constructor=Button 96$.fn.button.noConflict=function(){$.fn.button=old 97return this} 98$(document).on('click.bs.button.data-api','[data-toggle^="button"]',function(e){var $btn=$(e.target) 99if(!$btn.hasClass('btn'))$btn=$btn.closest('.btn') 100Plugin.call($btn,'toggle') 101if(!($(e.target).is('input[type="radio"]')||$(e.target).is('input[type="checkbox"]')))e.preventDefault()}).on('focus.bs.button.data-api blur.bs.button.data-api','[data-toggle^="button"]',function(e){$(e.target).closest('.btn').toggleClass('focus',/^focus(in)?$/.test(e.type))})}(jQuery);+function($){'use strict';var Carousel=function(element,options){this.$element=$(element) 102this.$indicators=this.$element.find('.carousel-indicators') 103this.options=options 104this.paused=null 105this.sliding=null 106this.interval=null 107this.$active=null 108this.$items=null 109this.options.keyboard&&this.$element.on('keydown.bs.carousel',$.proxy(this.keydown,this)) 110this.options.pause=='hover'&&!('ontouchstart'in document.documentElement)&&this.$element.on('mouseenter.bs.carousel',$.proxy(this.pause,this)).on('mouseleave.bs.carousel',$.proxy(this.cycle,this))} 111Carousel.TRANSITION_DURATION=600 112Carousel.DEFAULTS={interval:5000,pause:'hover',wrap:true,keyboard:true} 113Carousel.prototype.keydown=function(e){if(/input|textarea/i.test(e.target.tagName))return 114switch(e.which){case 37:this.prev();break 115case 39:this.next();break 116default:return} 117e.preventDefault()} 118Carousel.prototype.cycle=function(e){e||(this.paused=false) 119this.interval&&clearInterval(this.interval) 120this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval)) 121return this} 122Carousel.prototype.getItemIndex=function(item){this.$items=item.parent().children('.item') 123return this.$items.index(item||this.$active)} 124Carousel.prototype.getItemForDirection=function(direction,active){var activeIndex=this.getItemIndex(active) 125var willWrap=(direction=='prev'&&activeIndex===0)||(direction=='next'&&activeIndex==(this.$items.length-1)) 126if(willWrap&&!this.options.wrap)return active 127var delta=direction=='prev'?-1:1 128var itemIndex=(activeIndex+delta)%this.$items.length 129return this.$items.eq(itemIndex)} 130Carousel.prototype.to=function(pos){var that=this 131var activeIndex=this.getItemIndex(this.$active=this.$element.find('.item.active')) 132if(pos>(this.$items.length-1)||pos<0)return 133if(this.sliding)return this.$element.one('slid.bs.carousel',function(){that.to(pos)}) 134if(activeIndex==pos)return this.pause().cycle() 135return this.slide(pos>activeIndex?'next':'prev',this.$items.eq(pos))} 136Carousel.prototype.pause=function(e){e||(this.paused=true) 137if(this.$element.find('.next, .prev').length&&$.support.transition){this.$element.trigger($.support.transition.end) 138this.cycle(true)} 139this.interval=clearInterval(this.interval) 140return this} 141Carousel.prototype.next=function(){if(this.sliding)return 142return this.slide('next')} 143Carousel.prototype.prev=function(){if(this.sliding)return 144return this.slide('prev')} 145Carousel.prototype.slide=function(type,next){var $active=this.$element.find('.item.active') 146var $next=next||this.getItemForDirection(type,$active) 147var isCycling=this.interval 148var direction=type=='next'?'left':'right' 149var that=this 150if($next.hasClass('active'))return(this.sliding=false) 151var relatedTarget=$next[0] 152var slideEvent=$.Event('slide.bs.carousel',{relatedTarget:relatedTarget,direction:direction}) 153this.$element.trigger(slideEvent) 154if(slideEvent.isDefaultPrevented())return 155this.sliding=true 156isCycling&&this.pause() 157if(this.$indicators.length){this.$indicators.find('.active').removeClass('active') 158var $nextIndicator=$(this.$indicators.children()[this.getItemIndex($next)]) 159$nextIndicator&&$nextIndicator.addClass('active')} 160var slidEvent=$.Event('slid.bs.carousel',{relatedTarget:relatedTarget,direction:direction})
vendor: 9,356 bytes, lines 161-327
161if($.support.transition&&this.$element.hasClass('slide')){$next.addClass(type) 162$next[0].offsetWidth 163$active.addClass(direction) 164$next.addClass(direction) 165$active.one('bsTransitionEnd',function(){$next.removeClass([type,direction].join(' ')).addClass('active') 166$active.removeClass(['active',direction].join(' ')) 167that.sliding=false 168setTimeout(function(){that.$element.trigger(slidEvent)},0)}).emulateTransitionEnd(Carousel.TRANSITION_DURATION)}else{$active.removeClass('active') 169$next.addClass('active') 170this.sliding=false 171this.$element.trigger(slidEvent)} 172isCycling&&this.cycle() 173return this} 174function Plugin(option){return this.each(function(){var $this=$(this) 175var data=$this.data('bs.carousel') 176var options=$.extend({},Carousel.DEFAULTS,$this.data(),typeof option=='object'&&option) 177var action=typeof option=='string'?option:options.slide 178if(!data)$this.data('bs.carousel',(data=new Carousel(this,options))) 179if(typeof option=='number')data.to(option) 180else if(action)data[action]() 181else if(options.interval)data.pause().cycle()})} 182var old=$.fn.carousel 183$.fn.carousel=Plugin 184$.fn.carousel.Constructor=Carousel 185$.fn.carousel.noConflict=function(){$.fn.carousel=old 186return this} 187var clickHandler=function(e){var href 188var $this=$(this) 189var $target=$($this.attr('data-target')||(href=$this.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'')) 190if(!$target.hasClass('carousel'))return 191var options=$.extend({},$target.data(),$this.data()) 192var slideIndex=$this.attr('data-slide-to') 193if(slideIndex)options.interval=false 194Plugin.call($target,options) 195if(slideIndex){$target.data('bs.carousel').to(slideIndex)} 196e.preventDefault()} 197$(document).on('click.bs.carousel.data-api','[data-slide]',clickHandler).on('click.bs.carousel.data-api','[data-slide-to]',clickHandler) 198$(window).on('load',function(){$('[data-ride="carousel"]').each(function(){var $carousel=$(this) 199Plugin.call($carousel,$carousel.data())})})}(jQuery);+function($){'use strict';var Collapse=function(element,options){this.$element=$(element) 200this.options=$.extend({},Collapse.DEFAULTS,options) 201this.$trigger=$('[data-toggle="collapse"][href="#'+element.id+'"],'+'[data-toggle="collapse"][data-target="#'+element.id+'"]') 202this.transitioning=null 203if(this.options.parent){this.$parent=this.getParent()}else{this.addAriaAndCollapsedClass(this.$element,this.$trigger)} 204if(this.options.toggle)this.toggle()} 205Collapse.TRANSITION_DURATION=350 206Collapse.DEFAULTS={toggle:true} 207Collapse.prototype.dimension=function(){var hasWidth=this.$element.hasClass('width') 208return hasWidth?'width':'height'} 209Collapse.prototype.show=function(){if(this.transitioning||this.$element.hasClass('in'))return 210var activesData 211var actives=this.$parent&&this.$parent.children('.wpsm_panel').children('.in, .collapsing') 212if(actives&&actives.length){activesData=actives.data('bs.collapse') 213if(activesData&&activesData.transitioning)return} 214var startEvent=$.Event('show.bs.collapse') 215this.$element.trigger(startEvent) 216if(startEvent.isDefaultPrevented())return 217if(actives&&actives.length){Plugin.call(actives,'hide') 218activesData||actives.data('bs.collapse',null)} 219var dimension=this.dimension() 220this.$element.removeClass('collapse').addClass('collapsing')[dimension](0).attr('aria-expanded',true) 221this.$trigger.removeClass('collapsed').attr('aria-expanded',true) 222this.transitioning=1 223var complete=function(){this.$element.removeClass('collapsing').addClass('collapse in')[dimension]('') 224this.transitioning=0 225this.$element.trigger('shown.bs.collapse')} 226if(!$.support.transition)return complete.call(this) 227var scrollSize=$.camelCase(['scroll',dimension].join('-')) 228this.$element.one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])} 229Collapse.prototype.hide=function(){if(this.transitioning||!this.$element.hasClass('in'))return 230var startEvent=$.Event('hide.bs.collapse') 231this.$element.trigger(startEvent) 232if(startEvent.isDefaultPrevented())return 233var dimension=this.dimension() 234this.$element[dimension](this.$element[dimension]())[0].offsetHeight 235this.$element.addClass('collapsing').removeClass('collapse in').attr('aria-expanded',false) 236this.$trigger.addClass('collapsed').attr('aria-expanded',false) 237this.transitioning=1 238var complete=function(){this.transitioning=0 239this.$element.removeClass('collapsing').addClass('collapse').trigger('hidden.bs.collapse')} 240if(!$.support.transition)return complete.call(this) 241this.$element 242[dimension](0).one('bsTransitionEnd',$.proxy(complete,this)).emulateTransitionEnd(Collapse.TRANSITION_DURATION)} 243Collapse.prototype.toggle=function(){this[this.$element.hasClass('in')?'hide':'show']()} 244Collapse.prototype.getParent=function(){return $(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each($.proxy(function(i,element){var $element=$(element) 245this.addAriaAndCollapsedClass(getTargetFromTrigger($element),$element)},this)).end()} 246Collapse.prototype.addAriaAndCollapsedClass=function($element,$trigger){var isOpen=$element.hasClass('in') 247$element.attr('aria-expanded',isOpen) 248$trigger.toggleClass('collapsed',!isOpen).attr('aria-expanded',isOpen)} 249function getTargetFromTrigger($trigger){var href 250var target=$trigger.attr('data-target')||(href=$trigger.attr('href'))&&href.replace(/.*(?=#[^\s]+$)/,'') 251return $(target)} 252function Plugin(option){return this.each(function(){var $this=$(this) 253var data=$this.data('bs.collapse') 254var options=$.extend({},Collapse.DEFAULTS,$this.data(),typeof option=='object'&&option) 255if(!data&&options.toggle&&/show|hide/.test(option))options.toggle=false 256if(!data)$this.data('bs.collapse',(data=new Collapse(this,options))) 257if(typeof option=='string')data[option]()})} 258var old=$.fn.collapse 259$.fn.collapse=Plugin 260$.fn.collapse.Constructor=Collapse 261$.fn.collapse.noConflict=function(){$.fn.collapse=old 262return this} 263$(document).on('click.bs.collapse.data-api','[data-toggle="collapse"]',function(e){var $this=$(this) 264if(!$this.attr('data-target'))e.preventDefault() 265var $target=getTargetFromTrigger($this) 266var data=$target.data('bs.collapse') 267var option=data?'toggle':$this.data() 268Plugin.call($target,option)})}(jQuery);+function($){'use strict';var backdrop='.dropdown-backdrop' 269var toggle='[data-toggle="dropdown"]' 270var Dropdown=function(element){$(element).on('click.bs.dropdown',this.toggle)} 271function getParent($this){var selector=$this.attr('data-target') 272if(!selector){selector=$this.attr('href') 273selector=selector&&/#[A-Za-z]/.test(selector)&&selector.replace(/.*(?=#[^\s]*$)/,'')} 274var $parent=selector&&$(selector) 275return $parent&&$parent.length?$parent:$this.parent()} 276function clearMenus(e){if(e&&e.which===3)return 277$(backdrop).remove() 278$(toggle).each(function(){var $this=$(this) 279var $parent=getParent($this) 280var relatedTarget={relatedTarget:this} 281if(!$parent.hasClass('open'))return 282if(e&&e.type=='click'&&/input|textarea/i.test(e.target.tagName)&&$.contains($parent[0],e.target))return 283$parent.trigger(e=$.Event('hide.bs.dropdown',relatedTarget)) 284if(e.isDefaultPrevented())return 285$this.attr('aria-expanded','false') 286$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown',relatedTarget))})} 287Dropdown.prototype.toggle=function(e){var $this=$(this) 288if($this.is('.disabled, :disabled'))return 289var $parent=getParent($this) 290var isActive=$parent.hasClass('open') 291clearMenus() 292if(!isActive){if('ontouchstart'in document.documentElement&&!$parent.closest('.navbar-nav').length){$(document.createElement('div')).addClass('dropdown-backdrop').insertAfter($(this)).on('click',clearMenus)} 293var relatedTarget={relatedTarget:this} 294$parent.trigger(e=$.Event('show.bs.dropdown',relatedTarget)) 295if(e.isDefaultPrevented())return 296$this.trigger('focus').attr('aria-expanded','true') 297$parent.toggleClass('open').trigger($.Event('shown.bs.dropdown',relatedTarget))} 298return false} 299Dropdown.prototype.keydown=function(e){if(!/(38|40|27|32)/.test(e.which)||/input|textarea/i.test(e.target.tagName))return 300var $this=$(this) 301e.preventDefault() 302e.stopPropagation() 303if($this.is('.disabled, :disabled'))return 304var $parent=getParent($this) 305var isActive=$parent.hasClass('open') 306if(!isActive&&e.which!=27||isActive&&e.which==27){if(e.which==27)$parent.find(toggle).trigger('focus') 307return $this.trigger('click')} 308var desc=' li:not(.disabled):visible a' 309var $items=$parent.find('.dropdown-menu'+desc) 310if(!$items.length)return 311var index=$items.index(e.target) 312if(e.which==38&&index>0)index-- 313if(e.which==40&&index<$items.length-1)index++ 314if(!~index)index=0 315$items.eq(index).trigger('focus')} 316function Plugin(option){return this.each(function(){var $this=$(this) 317var data=$this.data('bs.dropdown') 318if(!data)$this.data('bs.dropdown',(data=new Dropdown(this))) 319if(typeof option=='string')data[option].call($this)})} 320var old=$.fn.dropdown 321$.fn.dropdown=Plugin 322$.fn.dropdown.Constructor=Dropdown 323$.fn.dropdown.noConflict=function(){$.fn.dropdown=old 324return this} 325$(document).on('click.bs.dropdown.data-api',clearMenus).on('click.bs.dropdown.data-api','.dropdown form',function(e){e.stopPropagation()}).on('click.bs.dropdown.data-api',toggle,Dropdown.prototype.toggle).on('keydown.bs.dropdown.data-api',toggle,Dropdown.prototype.keydown).on('keydown.bs.dropdown.data-api','.dropdown-menu',Dropdown.prototype.keydown)}(jQuery);+function($){'use strict';var Modal=function(element,options){this.options=options 326this.$body=$(document.body) 327this.$element=$(element)
vendor: 31,045 bytes, lines 328-808
328this.$dialog=this.$element.find('.modal-dialog') 329this.$backdrop=null 330this.isShown=null 331this.originalBodyPad=null 332this.scrollbarWidth=0 333this.ignoreBackdropClick=false 334if(this.options.remote){this.$element.find('.modal-content').load(this.options.remote,$.proxy(function(){this.$element.trigger('loaded.bs.modal')},this))}} 335Modal.TRANSITION_DURATION=300 336Modal.BACKDROP_TRANSITION_DURATION=150 337Modal.DEFAULTS={backdrop:true,keyboard:true,show:true} 338Modal.prototype.toggle=function(_relatedTarget){return this.isShown?this.hide():this.show(_relatedTarget)} 339Modal.prototype.show=function(_relatedTarget){var that=this 340var e=$.Event('show.bs.modal',{relatedTarget:_relatedTarget}) 341this.$element.trigger(e) 342if(this.isShown||e.isDefaultPrevented())return 343this.isShown=true 344this.checkScrollbar() 345this.setScrollbar() 346this.$body.addClass('modal-open') 347this.escape() 348this.resize() 349this.$element.on('click.dismiss.bs.modal','[data-dismiss="modal"]',$.proxy(this.hide,this)) 350this.$dialog.on('mousedown.dismiss.bs.modal',function(){that.$element.one('mouseup.dismiss.bs.modal',function(e){if($(e.target).is(that.$element))that.ignoreBackdropClick=true})}) 351this.backdrop(function(){var transition=$.support.transition&&that.$element.hasClass('fade') 352if(!that.$element.parent().length){that.$element.appendTo(that.$body)} 353that.$element.show().scrollTop(0) 354that.adjustDialog() 355if(transition){that.$element[0].offsetWidth} 356that.$element.addClass('in') 357that.enforceFocus() 358var e=$.Event('shown.bs.modal',{relatedTarget:_relatedTarget}) 359transition?that.$dialog.one('bsTransitionEnd',function(){that.$element.trigger('focus').trigger(e)}).emulateTransitionEnd(Modal.TRANSITION_DURATION):that.$element.trigger('focus').trigger(e)})} 360Modal.prototype.hide=function(e){if(e)e.preventDefault() 361e=$.Event('hide.bs.modal') 362this.$element.trigger(e) 363if(!this.isShown||e.isDefaultPrevented())return 364this.isShown=false 365this.escape() 366this.resize() 367$(document).off('focusin.bs.modal') 368this.$element.removeClass('in').off('click.dismiss.bs.modal').off('mouseup.dismiss.bs.modal') 369this.$dialog.off('mousedown.dismiss.bs.modal') 370$.support.transition&&this.$element.hasClass('fade')?this.$element.one('bsTransitionEnd',$.proxy(this.hideModal,this)).emulateTransitionEnd(Modal.TRANSITION_DURATION):this.hideModal()} 371Modal.prototype.enforceFocus=function(){$(document).off('focusin.bs.modal').on('focusin.bs.modal',$.proxy(function(e){if(this.$element[0]!==e.target&&!this.$element.has(e.target).length){this.$element.trigger('focus')}},this))} 372Modal.prototype.escape=function(){if(this.isShown&&this.options.keyboard){this.$element.on('keydown.dismiss.bs.modal',$.proxy(function(e){e.which==27&&this.hide()},this))}else if(!this.isShown){this.$element.off('keydown.dismiss.bs.modal')}} 373Modal.prototype.resize=function(){if(this.isShown){$(window).on('resize.bs.modal',$.proxy(this.handleUpdate,this))}else{$(window).off('resize.bs.modal')}} 374Modal.prototype.hideModal=function(){var that=this 375this.$element.hide() 376this.backdrop(function(){that.$body.removeClass('modal-open') 377that.resetAdjustments() 378that.resetScrollbar() 379that.$element.trigger('hidden.bs.modal')})} 380Modal.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove() 381this.$backdrop=null} 382Modal.prototype.backdrop=function(callback){var that=this 383var animate=this.$element.hasClass('fade')?'fade':'' 384if(this.isShown&&this.options.backdrop){var doAnimate=$.support.transition&&animate 385this.$backdrop=$(document.createElement('div')).addClass('modal-backdrop '+animate).appendTo(this.$body) 386this.$element.on('click.dismiss.bs.modal',$.proxy(function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=false 387return} 388if(e.target!==e.currentTarget)return 389this.options.backdrop=='static'?this.$element[0].focus():this.hide()},this)) 390if(doAnimate)this.$backdrop[0].offsetWidth 391this.$backdrop.addClass('in') 392if(!callback)return 393doAnimate?this.$backdrop.one('bsTransitionEnd',callback).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callback()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass('in') 394var callbackRemove=function(){that.removeBackdrop() 395callback&&callback()} 396$.support.transition&&this.$element.hasClass('fade')?this.$backdrop.one('bsTransitionEnd',callbackRemove).emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION):callbackRemove()}else if(callback){callback()}} 397Modal.prototype.handleUpdate=function(){this.adjustDialog()} 398Modal.prototype.adjustDialog=function(){var modalIsOverflowing=this.$element[0].scrollHeight>document.documentElement.clientHeight 399this.$element.css({paddingLeft:!this.bodyIsOverflowing&&modalIsOverflowing?this.scrollbarWidth:'',paddingRight:this.bodyIsOverflowing&&!modalIsOverflowing?this.scrollbarWidth:''})} 400Modal.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:'',paddingRight:''})} 401Modal.prototype.checkScrollbar=function(){var fullWindowWidth=window.innerWidth 402if(!fullWindowWidth){var documentElementRect=document.documentElement.getBoundingClientRect() 403fullWindowWidth=documentElementRect.right-Math.abs(documentElementRect.left)} 404this.bodyIsOverflowing=document.body.clientWidth<fullWindowWidth 405this.scrollbarWidth=this.measureScrollbar()} 406Modal.prototype.setScrollbar=function(){var bodyPad=parseInt((this.$body.css('padding-right')||0),10) 407this.originalBodyPad=document.body.style.paddingRight||'' 408if(this.bodyIsOverflowing)this.$body.css('padding-right',bodyPad+this.scrollbarWidth)} 409Modal.prototype.resetScrollbar=function(){this.$body.css('padding-right',this.originalBodyPad)} 410Modal.prototype.measureScrollbar=function(){var scrollDiv=document.createElement('div') 411scrollDiv.className='modal-scrollbar-measure' 412this.$body.append(scrollDiv) 413var scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth 414this.$body[0].removeChild(scrollDiv) 415return scrollbarWidth} 416function Plugin(option,_relatedTarget){return this.each(function(){var $this=$(this) 417var data=$this.data('bs.modal') 418var options=$.extend({},Modal.DEFAULTS,$this.data(),typeof option=='object'&&option) 419if(!data)$this.data('bs.modal',(data=new Modal(this,options))) 420if(typeof option=='string')data[option](_relatedTarget) 421else if(options.show)data.show(_relatedTarget)})} 422var old=$.fn.modal 423$.fn.modal=Plugin 424$.fn.modal.Constructor=Modal 425$.fn.modal.noConflict=function(){$.fn.modal=old 426return this} 427$(document).on('click.bs.modal.data-api','[data-toggle="modal"]',function(e){var $this=$(this) 428var href=$this.attr('href') 429var $target=$($this.attr('data-target')||(href&&href.replace(/.*(?=#[^\s]+$)/,''))) 430var option=$target.data('bs.modal')?'toggle':$.extend({remote:!/#/.test(href)&&href},$target.data(),$this.data()) 431if($this.is('a'))e.preventDefault() 432$target.one('show.bs.modal',function(showEvent){if(showEvent.isDefaultPrevented())return 433$target.one('hidden.bs.modal',function(){$this.is(':visible')&&$this.trigger('focus')})}) 434Plugin.call($target,option,this)})}(jQuery);+function($){'use strict';var Tooltip=function(element,options){this.type=null 435this.options=null 436this.enabled=null 437this.timeout=null 438this.hoverState=null 439this.$element=null 440this.inState=null 441this.init('tooltip',element,options)} 442Tooltip.TRANSITION_DURATION=150 443Tooltip.DEFAULTS={animation:true,placement:'top',selector:false,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:'hover focus',title:'',delay:0,html:false,container:false,viewport:{selector:'body',padding:0}} 444Tooltip.prototype.init=function(type,element,options){this.enabled=true 445this.type=type 446this.$element=$(element) 447this.options=this.getOptions(options) 448this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):(this.options.viewport.selector||this.options.viewport)) 449this.inState={click:false,hover:false,focus:false} 450if(this.$element[0]instanceof document.constructor&&!this.options.selector){throw new Error('`selector` option must be specified when initializing '+this.type+' on the window.document object!')} 451var triggers=this.options.trigger.split(' ') 452for(var i=triggers.length;i--;){var trigger=triggers[i] 453if(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focusin' 454var eventOut=trigger=='hover'?'mouseleave':'focusout' 455this.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this)) 456this.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}} 457this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()} 458Tooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS} 459Tooltip.prototype.getOptions=function(options){options=$.extend({},this.getDefaults(),this.$element.data(),options) 460if(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}} 461return options} 462Tooltip.prototype.getDelegateOptions=function(){var options={} 463var defaults=this.getDefaults() 464this._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value}) 465return options} 466Tooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type) 467if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions()) 468$(obj.currentTarget).data('bs.'+this.type,self)} 469if(obj instanceof $.Event){self.inState[obj.type=='focusin'?'focus':'hover']=true} 470if(self.tip().hasClass('in')||self.hoverState=='in'){self.hoverState='in' 471return} 472clearTimeout(self.timeout) 473self.hoverState='in' 474if(!self.options.delay||!self.options.delay.show)return self.show() 475self.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)} 476Tooltip.prototype.isInStateTrue=function(){for(var key in this.inState){if(this.inState[key])return true} 477return false} 478Tooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget).data('bs.'+this.type) 479if(!self){self=new this.constructor(obj.currentTarget,this.getDelegateOptions()) 480$(obj.currentTarget).data('bs.'+this.type,self)} 481if(obj instanceof $.Event){self.inState[obj.type=='focusout'?'focus':'hover']=false} 482if(self.isInStateTrue())return 483clearTimeout(self.timeout) 484self.hoverState='out' 485if(!self.options.delay||!self.options.delay.hide)return self.hide() 486self.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)} 487Tooltip.prototype.show=function(){var e=$.Event('show.bs.'+this.type) 488if(this.hasContent()&&this.enabled){this.$element.trigger(e) 489var inDom=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]) 490if(e.isDefaultPrevented()||!inDom)return 491var that=this 492var $tip=this.tip() 493var tipId=this.getUID(this.type) 494this.setContent() 495$tip.attr('id',tipId) 496this.$element.attr('aria-describedby',tipId) 497if(this.options.animation)$tip.addClass('fade') 498var placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement 499var autoToken=/\s?auto?\s?/i 500var autoPlace=autoToken.test(placement) 501if(autoPlace)placement=placement.replace(autoToken,'')||'top' 502$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement).data('bs.'+this.type,this) 503this.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element) 504this.$element.trigger('inserted.bs.'+this.type) 505var pos=this.getPosition() 506var actualWidth=$tip[0].offsetWidth 507var actualHeight=$tip[0].offsetHeight 508if(autoPlace){var orgPlacement=placement 509var viewportDim=this.getPosition(this.$viewport) 510placement=placement=='bottom'&&pos.bottom+actualHeight>viewportDim.bottom?'top':placement=='top'&&pos.top-actualHeight<viewportDim.top?'bottom':placement=='right'&&pos.right+actualWidth>viewportDim.width?'left':placement=='left'&&pos.left-actualWidth<viewportDim.left?'right':placement 511$tip.removeClass(orgPlacement).addClass(placement)} 512var calculatedOffset=this.getCalculatedOffset(placement,pos,actualWidth,actualHeight) 513this.applyPlacement(calculatedOffset,placement) 514var complete=function(){var prevHoverState=that.hoverState 515that.$element.trigger('shown.bs.'+that.type) 516that.hoverState=null 517if(prevHoverState=='out')that.leave(that)} 518$.support.transition&&this.$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete()}} 519Tooltip.prototype.applyPlacement=function(offset,placement){var $tip=this.tip() 520var width=$tip[0].offsetWidth 521var height=$tip[0].offsetHeight 522var marginTop=parseInt($tip.css('margin-top'),10) 523var marginLeft=parseInt($tip.css('margin-left'),10) 524if(isNaN(marginTop))marginTop=0 525if(isNaN(marginLeft))marginLeft=0 526offset.top+=marginTop 527offset.left+=marginLeft 528$.offset.setOffset($tip[0],$.extend({using:function(props){$tip.css({top:Math.round(props.top),left:Math.round(props.left)})}},offset),0) 529$tip.addClass('in') 530var actualWidth=$tip[0].offsetWidth 531var actualHeight=$tip[0].offsetHeight 532if(placement=='top'&&actualHeight!=height){offset.top=offset.top+height-actualHeight} 533var delta=this.getViewportAdjustedDelta(placement,offset,actualWidth,actualHeight) 534if(delta.left)offset.left+=delta.left 535else offset.top+=delta.top 536var isVertical=/top|bottom/.test(placement) 537var arrowDelta=isVertical?delta.left*2-width+actualWidth:delta.top*2-height+actualHeight 538var arrowOffsetPosition=isVertical?'offsetWidth':'offsetHeight' 539$tip.offset(offset) 540this.replaceArrow(arrowDelta,$tip[0][arrowOffsetPosition],isVertical)} 541Tooltip.prototype.replaceArrow=function(delta,dimension,isVertical){this.arrow().css(isVertical?'left':'top',50*(1-delta/dimension)+'%').css(isVertical?'top':'left','')} 542Tooltip.prototype.setContent=function(){var $tip=this.tip() 543var title=this.getTitle() 544$tip.find('.tooltip-inner')[this.options.html?'html':'text'](title) 545$tip.removeClass('fade in top bottom left right')} 546Tooltip.prototype.hide=function(callback){var that=this 547var $tip=$(this.$tip) 548var e=$.Event('hide.bs.'+this.type) 549function complete(){if(that.hoverState!='in')$tip.detach() 550that.$element.removeAttr('aria-describedby').trigger('hidden.bs.'+that.type) 551callback&&callback()} 552this.$element.trigger(e) 553if(e.isDefaultPrevented())return 554$tip.removeClass('in') 555$.support.transition&&$tip.hasClass('fade')?$tip.one('bsTransitionEnd',complete).emulateTransitionEnd(Tooltip.TRANSITION_DURATION):complete() 556this.hoverState=null 557return this} 558Tooltip.prototype.fixTitle=function(){var $e=this.$element 559if($e.attr('title')||typeof $e.attr('data-original-title')!='string'){$e.attr('data-original-title',$e.attr('title')||'').attr('title','')}} 560Tooltip.prototype.hasContent=function(){return this.getTitle()} 561Tooltip.prototype.getPosition=function($element){$element=$element||this.$element 562var el=$element[0] 563var isBody=el.tagName=='BODY' 564var elRect=el.getBoundingClientRect() 565if(elRect.width==null){elRect=$.extend({},elRect,{width:elRect.right-elRect.left,height:elRect.bottom-elRect.top})} 566var elOffset=isBody?{top:0,left:0}:$element.offset() 567var scroll={scroll:isBody?document.documentElement.scrollTop||document.body.scrollTop:$element.scrollTop()} 568var outerDims=isBody?{width:$(window).width(),height:$(window).height()}:null 569return $.extend({},elRect,scroll,outerDims,elOffset)} 570Tooltip.prototype.getCalculatedOffset=function(placement,pos,actualWidth,actualHeight){return placement=='bottom'?{top:pos.top+pos.height,left:pos.left+pos.width/2-actualWidth/2}:placement=='top'?{top:pos.top-actualHeight,left:pos.left+pos.width/2-actualWidth/2}:placement=='left'?{top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth}:{top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width}} 571Tooltip.prototype.getViewportAdjustedDelta=function(placement,pos,actualWidth,actualHeight){var delta={top:0,left:0} 572if(!this.$viewport)return delta 573var viewportPadding=this.options.viewport&&this.options.viewport.padding||0 574var viewportDimensions=this.getPosition(this.$viewport) 575if(/right|left/.test(placement)){var topEdgeOffset=pos.top-viewportPadding-viewportDimensions.scroll 576var bottomEdgeOffset=pos.top+viewportPadding-viewportDimensions.scroll+actualHeight 577if(topEdgeOffset<viewportDimensions.top){delta.top=viewportDimensions.top-topEdgeOffset}else if(bottomEdgeOffset>viewportDimensions.top+viewportDimensions.height){delta.top=viewportDimensions.top+viewportDimensions.height-bottomEdgeOffset}}else{var leftEdgeOffset=pos.left-viewportPadding 578var rightEdgeOffset=pos.left+viewportPadding+actualWidth 579if(leftEdgeOffset<viewportDimensions.left){delta.left=viewportDimensions.left-leftEdgeOffset}else if(rightEdgeOffset>viewportDimensions.right){delta.left=viewportDimensions.left+viewportDimensions.width-rightEdgeOffset}} 580return delta} 581Tooltip.prototype.getTitle=function(){var title 582var $e=this.$element 583var o=this.options 584title=$e.attr('data-original-title')||(typeof o.title=='function'?o.title.call($e[0]):o.title) 585return title} 586Tooltip.prototype.getUID=function(prefix){do prefix+=~~(Math.random()*1000000) 587while(document.getElementById(prefix)) 588return prefix} 589Tooltip.prototype.tip=function(){if(!this.$tip){this.$tip=$(this.options.template) 590if(this.$tip.length!=1){throw new Error(this.type+' `template` option must consist of exactly 1 top-level element!')}} 591return this.$tip} 592Tooltip.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.tooltip-arrow'))} 593Tooltip.prototype.enable=function(){this.enabled=true} 594Tooltip.prototype.disable=function(){this.enabled=false} 595Tooltip.prototype.toggleEnabled=function(){this.enabled=!this.enabled} 596Tooltip.prototype.toggle=function(e){var self=this 597if(e){self=$(e.currentTarget).data('bs.'+this.type) 598if(!self){self=new this.constructor(e.currentTarget,this.getDelegateOptions()) 599$(e.currentTarget).data('bs.'+this.type,self)}} 600if(e){self.inState.click=!self.inState.click 601if(self.isInStateTrue())self.enter(self) 602else self.leave(self)}else{self.tip().hasClass('in')?self.leave(self):self.enter(self)}} 603Tooltip.prototype.destroy=function(){var that=this 604clearTimeout(this.timeout) 605this.hide(function(){that.$element.off('.'+that.type).removeData('bs.'+that.type) 606if(that.$tip){that.$tip.detach()} 607that.$tip=null 608that.$arrow=null 609that.$viewport=null})} 610function Plugin(option){return this.each(function(){var $this=$(this) 611var data=$this.data('bs.tooltip') 612var options=typeof option=='object'&&option 613if(!data&&/destroy|hide/.test(option))return 614if(!data)$this.data('bs.tooltip',(data=new Tooltip(this,options))) 615if(typeof option=='string')data[option]()})} 616var old=$.fn.tooltip 617$.fn.tooltip=Plugin 618$.fn.tooltip.Constructor=Tooltip 619$.fn.tooltip.noConflict=function(){$.fn.tooltip=old 620return this}}(jQuery);+function($){'use strict';var Popover=function(element,options){this.init('popover',element,options)} 621if(!$.fn.tooltip)throw new Error('Popover requires tooltip.js') 622Popover.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:'right',trigger:'click',content:'',template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}) 623Popover.prototype=$.extend({},$.fn.tooltip.Constructor.prototype) 624Popover.prototype.constructor=Popover 625Popover.prototype.getDefaults=function(){return Popover.DEFAULTS} 626Popover.prototype.setContent=function(){var $tip=this.tip() 627var title=this.getTitle() 628var content=this.getContent() 629$tip.find('.popover-title')[this.options.html?'html':'text'](title) 630$tip.find('.popover-content').children().detach().end()[this.options.html?(typeof content=='string'?'html':'append'):'text'](content) 631$tip.removeClass('fade top bottom left right in') 632if(!$tip.find('.popover-title').html())$tip.find('.popover-title').hide()} 633Popover.prototype.hasContent=function(){return this.getTitle()||this.getContent()} 634Popover.prototype.getContent=function(){var $e=this.$element 635var o=this.options 636return $e.attr('data-content')||(typeof o.content=='function'?o.content.call($e[0]):o.content)} 637Popover.prototype.arrow=function(){return(this.$arrow=this.$arrow||this.tip().find('.arrow'))} 638function Plugin(option){return this.each(function(){var $this=$(this) 639var data=$this.data('bs.popover') 640var options=typeof option=='object'&&option 641if(!data&&/destroy|hide/.test(option))return 642if(!data)$this.data('bs.popover',(data=new Popover(this,options))) 643if(typeof option=='string')data[option]()})} 644var old=$.fn.popover 645$.fn.popover=Plugin 646$.fn.popover.Constructor=Popover 647$.fn.popover.noConflict=function(){$.fn.popover=old 648return this}}(jQuery);+function($){'use strict';function ScrollSpy(element,options){this.$body=$(document.body) 649this.$scrollElement=$(element).is(document.body)?$(window):$(element) 650this.options=$.extend({},ScrollSpy.DEFAULTS,options) 651this.selector=(this.options.target||'')+' .nav li > a' 652this.offsets=[] 653this.targets=[] 654this.activeTarget=null 655this.scrollHeight=0 656this.$scrollElement.on('scroll.bs.scrollspy',$.proxy(this.process,this)) 657this.refresh() 658this.process()} 659ScrollSpy.DEFAULTS={offset:10} 660ScrollSpy.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)} 661ScrollSpy.prototype.refresh=function(){var that=this 662var offsetMethod='offset' 663var offsetBase=0 664this.offsets=[] 665this.targets=[] 666this.scrollHeight=this.getScrollHeight() 667if(!$.isWindow(this.$scrollElement[0])){offsetMethod='position' 668offsetBase=this.$scrollElement.scrollTop()} 669this.$body.find(this.selector).map(function(){var $el=$(this) 670var href=$el.data('target')||$el.attr('href') 671var $href=/^#./.test(href)&&$(href) 672return($href&&$href.length&&$href.is(':visible')&&[[$href[offsetMethod]().top+offsetBase,href]])||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){that.offsets.push(this[0]) 673that.targets.push(this[1])})} 674ScrollSpy.prototype.process=function(){var scrollTop=this.$scrollElement.scrollTop()+this.options.offset 675var scrollHeight=this.getScrollHeight() 676var maxScroll=this.options.offset+scrollHeight-this.$scrollElement.height() 677var offsets=this.offsets 678var targets=this.targets 679var activeTarget=this.activeTarget 680var i 681if(this.scrollHeight!=scrollHeight){this.refresh()} 682if(scrollTop>=maxScroll){return activeTarget!=(i=targets[targets.length-1])&&this.activate(i)} 683if(activeTarget&&scrollTop<offsets[0]){this.activeTarget=null 684return this.clear()} 685for(i=offsets.length;i--;){activeTarget!=targets[i]&&scrollTop>=offsets[i]&&(offsets[i+1]===undefined||scrollTop<offsets[i+1])&&this.activate(targets[i])}} 686ScrollSpy.prototype.activate=function(target){this.activeTarget=target 687this.clear() 688var selector=this.selector+'[data-target="'+target+'"],'+ 689this.selector+'[href="'+target+'"]' 690var active=$(selector).parents('li').addClass('active') 691if(active.parent('.dropdown-menu').length){active=active.closest('li.dropdown').addClass('active')} 692active.trigger('activate.bs.scrollspy')} 693ScrollSpy.prototype.clear=function(){$(this.selector).parentsUntil(this.options.target,'.active').removeClass('active')} 694function Plugin(option){return this.each(function(){var $this=$(this) 695var data=$this.data('bs.scrollspy') 696var options=typeof option=='object'&&option 697if(!data)$this.data('bs.scrollspy',(data=new ScrollSpy(this,options))) 698if(typeof option=='string')data[option]()})} 699var old=$.fn.scrollspy 700$.fn.scrollspy=Plugin 701$.fn.scrollspy.Constructor=ScrollSpy 702$.fn.scrollspy.noConflict=function(){$.fn.scrollspy=old 703return this} 704$(window).on('load.bs.scrollspy.data-api',function(){$('[data-spy="scroll"]').each(function(){var $spy=$(this) 705Plugin.call($spy,$spy.data())})})}(jQuery);+function($){'use strict';var Tab=function(element){this.element=$(element)} 706Tab.TRANSITION_DURATION=150 707Tab.prototype.show=function(){var $this=this.element 708var $ul=$this.closest('ul:not(.dropdown-menu)') 709var selector=$this.data('target') 710if(!selector){selector=$this.attr('href') 711selector=selector&&selector.replace(/.*(?=#[^\s]*$)/,'')} 712if($this.parent('li').hasClass('active'))return 713var $previous=$ul.find('.active:last a') 714var hideEvent=$.Event('hide.bs.tab',{relatedTarget:$this[0]}) 715var showEvent=$.Event('show.bs.tab',{relatedTarget:$previous[0]}) 716$previous.trigger(hideEvent) 717$this.trigger(showEvent) 718if(showEvent.isDefaultPrevented()||hideEvent.isDefaultPrevented())return 719var $target=$(selector) 720this.activate($this.closest('li'),$ul) 721this.activate($target,$target.parent(),function(){$previous.trigger({type:'hidden.bs.tab',relatedTarget:$this[0]}) 722$this.trigger({type:'shown.bs.tab',relatedTarget:$previous[0]})})} 723Tab.prototype.activate=function(element,container,callback){var $active=container.find('> .active') 724var transition=callback&&$.support.transition&&($active.length&&$active.hasClass('fade')||!!container.find('> .fade').length) 725function next(){$active.removeClass('active').find('> .dropdown-menu > .active').removeClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',false) 726element.addClass('active').find('[data-toggle="tab"]').attr('aria-expanded',true) 727if(transition){element[0].offsetWidth 728element.addClass('in')}else{element.removeClass('fade')} 729if(element.parent('.dropdown-menu').length){element.closest('li.dropdown').addClass('active').end().find('[data-toggle="tab"]').attr('aria-expanded',true)} 730callback&&callback()} 731$active.length&&transition?$active.one('bsTransitionEnd',next).emulateTransitionEnd(Tab.TRANSITION_DURATION):next() 732$active.removeClass('in')} 733function Plugin(option){return this.each(function(){var $this=$(this) 734var data=$this.data('bs.tab') 735if(!data)$this.data('bs.tab',(data=new Tab(this))) 736if(typeof option=='string')data[option]()})} 737var old=$.fn.tab 738$.fn.tab=Plugin 739$.fn.tab.Constructor=Tab 740$.fn.tab.noConflict=function(){$.fn.tab=old 741return this} 742var clickHandler=function(e){e.preventDefault() 743Plugin.call($(this),'show')} 744$(document).on('click.bs.tab.data-api','[data-toggle="tab"]',clickHandler).on('click.bs.tab.data-api','[data-toggle="pill"]',clickHandler)}(jQuery);+function($){'use strict';var Affix=function(element,options){this.options=$.extend({},Affix.DEFAULTS,options) 745this.$target=$(this.options.target).on('scroll.bs.affix.data-api',$.proxy(this.checkPosition,this)).on('click.bs.affix.data-api',$.proxy(this.checkPositionWithEventLoop,this)) 746this.$element=$(element) 747this.affixed=null 748this.unpin=null 749this.pinnedOffset=null 750this.checkPosition()} 751Affix.RESET='affix affix-top affix-bottom' 752Affix.DEFAULTS={offset:0,target:window} 753Affix.prototype.getState=function(scrollHeight,height,offsetTop,offsetBottom){var scrollTop=this.$target.scrollTop() 754var position=this.$element.offset() 755var targetHeight=this.$target.height() 756if(offsetTop!=null&&this.affixed=='top')return scrollTop<offsetTop?'top':false 757if(this.affixed=='bottom'){if(offsetTop!=null)return(scrollTop+this.unpin<=position.top)?false:'bottom' 758return(scrollTop+targetHeight<=scrollHeight-offsetBottom)?false:'bottom'} 759var initializing=this.affixed==null 760var colliderTop=initializing?scrollTop:position.top 761var colliderHeight=initializing?targetHeight:height 762if(offsetTop!=null&&scrollTop<=offsetTop)return'top' 763if(offsetBottom!=null&&(colliderTop+colliderHeight>=scrollHeight-offsetBottom))return'bottom' 764return false} 765Affix.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset 766this.$element.removeClass(Affix.RESET).addClass('affix') 767var scrollTop=this.$target.scrollTop() 768var position=this.$element.offset() 769return(this.pinnedOffset=position.top-scrollTop)} 770Affix.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)} 771Affix.prototype.checkPosition=function(){if(!this.$element.is(':visible'))return 772var height=this.$element.height() 773var offset=this.options.offset 774var offsetTop=offset.top 775var offsetBottom=offset.bottom 776var scrollHeight=Math.max($(document).height(),$(document.body).height()) 777if(typeof offset!='object')offsetBottom=offsetTop=offset 778if(typeof offsetTop=='function')offsetTop=offset.top(this.$element) 779if(typeof offsetBottom=='function')offsetBottom=offset.bottom(this.$element) 780var affix=this.getState(scrollHeight,height,offsetTop,offsetBottom) 781if(this.affixed!=affix){if(this.unpin!=null)this.$element.css('top','') 782var affixType='affix'+(affix?'-'+affix:'') 783var e=$.Event(affixType+'.bs.affix') 784this.$element.trigger(e) 785if(e.isDefaultPrevented())return 786this.affixed=affix 787this.unpin=affix=='bottom'?this.getPinnedOffset():null 788this.$element.removeClass(Affix.RESET).addClass(affixType).trigger(affixType.replace('affix','affixed')+'.bs.affix')} 789if(affix=='bottom'){this.$element.offset({top:scrollHeight-height-offsetBottom})}} 790function Plugin(option){return this.each(function(){var $this=$(this) 791var data=$this.data('bs.affix') 792var options=typeof option=='object'&&option 793if(!data)$this.data('bs.affix',(data=new Affix(this,options))) 794if(typeof option=='string')data[option]()})} 795var old=$.fn.affix 796$.fn.affix=Plugin 797$.fn.affix.Constructor=Affix 798$.fn.affix.noConflict=function(){$.fn.affix=old 799return this} 800$(window).on('load',function(){$('[data-spy="affix"]').each(function(){var $spy=$(this) 801var data=$spy.data() 802data.offset=data.offset||{} 803if(data.offsetBottom!=null)data.offset.bottom=data.offsetBottom 804if(data.offsetTop!=null)data.offset.top=data.offsetTop 805Plugin.call($spy,data)})})}(jQuery); 806jQuery(document).ready(function(){jQuery('.collapse').on('shown.bs.collapse',function(){jQuery(this).parent().find(".fa-plus").removeClass("fa-plus").addClass("fa-minus");jQuery(this).parent().find(".wpsm_panel-heading").addClass("acc-a");}).on('hidden.bs.collapse',function(){jQuery(this).parent().find(".fa-minus").removeClass("fa-minus").addClass("fa-plus");jQuery(this).parent().find(".wpsm_panel-heading").removeClass("acc-a");});}); 807"use strict";document.addEventListener("focusin",function(t){t=t&&t.target&&t.target.closest&&t.target.closest("input,select,textarea,button,meter,progress");t&&window[gtm4wp_datalayer_name].push({event:"gtm4wp.formElementEnter",inputID:t.getAttribute("id")||"(no input ID)",inputName:t.getAttribute("name")||"(no input name)",inputClass:t.getAttribute("class")||"(no input class)",formID:t.form&&t.form.getAttribute("id")||"(no form ID)",formName:t.form&&t.form.getAttribute("name")||"(no form name)",formClass:t.form&&t.form.getAttribute("class")||"(no form class)"})},!1),document.addEventListener("focusout",function(t){t=t&&t.target&&t.target.closest&&t.target.closest("input,select,textarea,button,meter,progress");t&&window[gtm4wp_datalayer_name].push({event:"gtm4wp.formElementLeave",inputID:t.getAttribute("id")||"(no input ID)",inputName:t.getAttribute("name")||"(no input name)",inputClass:t.getAttribute("class")||"(no input class)",formID:t.form&&t.form.getAttribute("id")||"(no form ID)",formName:t.form&&t.form.getAttribute("name")||"(no form name)",formClass:t.form&&t.form.getAttribute("class")||"(no form class)"})},!1); 808jQuery(document).ready((function(t){t(window).load((function(){t("body").addClass("loaded")})),t(window).scroll((function(){t(this).scrollTop()>0?t("header").addClass("scrolled"):t("header").removeClass("scrolled")}
808)),t(".navbar-toggle").click((function(){return t("body").toggleClass("no-scroll"),t(".main-nav-wrap, .main-nav").toggleClass("open"),t(".sub-menu").removeClass("sub-open"),!1})),t(".main-nav ul .menu-item-has-children > a").click((function(e){e.preventDefault();var i=t(this).parent();t(i).siblings().removeClass("expand-open"),t("~ ul",i).toggleClass("sub-open"),t(i).toggleClass("expand-open"),t(window).width()<767&&(t(i).siblings().find(".sub-menu").slideUp(),t(i).find(".sub-menu").slideToggle())})),(n=t(".oregon-faqs--content .faq__title > a")).length&&n.click((function(e){e.preventDefault();var i=t(this),o=i.parents(".faq"),n=o.siblings();n.removeClass("active"),n.find(".faq__content").slideUp(),o.toggleClass("active"),i.parent().next().slideToggle()}));var e=window.location.href,i=t(".oregon-faqs--content");if(e.indexOf("/faqs")>=0&&i.length){var o=e.substring(e.lastIndexOf("/")+1);(h=i.find(o)).length&&(h.addClass("active"),h.find(".faq__content").slideDown(),setTimeout((function(){t("html, body").animate({scrollTop:h.offset().top-3},750)}),500))}var n=t(".oregon-tabs--triggers .tab-toggle"),s=t(".oregon-tabs--content .main-tab");if(n.length&&s.length&&n.click((function(e){e.preventDefault();var i=t(this).attr("data-name"),o=t("#"+i);console.log(i),console.log(o),t(this).siblings().removeClass("active"),t(this).toggleClass("active"),o.siblings().hide(),o.fadeToggle("fast")})),t(".rellax").length){if(t(window).width()>1024)var r=new Rellax(".rellax",{speed:-2,center:!1,wrapper:null,round:!0,vertical:!0,horizontal:!1});t(window).resize((function(){r.refresh()}))}t(".video-bg").bgVideo({fadeOnEnd:!1,pauseAfter:0});var a=t("#counter").data("counter");const l=new CountUp("counter",a,{useEasing:!0,duration:5});t(".scrolled, .animated").waypoint({handler:function(e){t(this.element).addClass("inview")},offset:"70%"}),t(".counter").waypoint({handler:function(e){t(this.element).addClass("inview"),l.error||l.start()},offset:"20%"});if(t(".animated").each((function(){var e=t(this).attr("data-anim-delay");t(this).css("transition-delay",e+"ms")})),t(".initiative-nav-sticky").length){new Waypoint.Sticky({element:t(".initiative-nav-sticky")[0],offset:80});var d=t(".initiative-nav-sticky").outerHeight()+170;t("footer").waypoint((function(e){t(".initiative-nav-sticky").toggleClass("stuck","up"===e),t(".initiative-nav-sticky").toggleClass("unstuck","down"===e)}),{offset:function(){return d}})}t(".initiative-nav--item a").on("click",(function(e){e.preventDefault(),t("html, body").animate({scrollTop:t(t(this).attr("href")).offset().top-300},500,"swing")})),t('.jumplist a[href*="#"]').not('[href="#"]').on("click",(function(e){e.preventDefault(),t("html, body").animate({scrollTop:t(t(this).attr("href")).offset().top-20},500,"swing")})),t(window).on("scroll",(function(){t(".initiative-entry, .scholarship-entry").each((function(){if(t(window).scrollTop()>=t(this).offset().top-300){var e=t(this).attr("id");t(".initiative-nav--item a").removeClass("active"),t(".initiative-nav--item a[href=#"+e+"]").addClass("active")}}))})),t("#lab-menu").slick({centerMode:!0,centerPadding:"0px",slidesToShow:3,infinite:!0,prevArrow:".timeline-arrow.left",nextArrow:".timeline-arrow.right",responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}}]});var c=t("#lab-menu li.current-menu-item").parent().parent(".slick-slide:not(.slick-cloned)").data("slick-index");function p(){t(".offset-blocks").each((function(){var e=0;t(this).find(".offset-block-entry").each((function(){console.log(this),e+=t(this).outerHeight(),t(this).parents(".offset-blocks").css({height:e+50})})),t(this).fadeIn()}))}t(window).load((function(){t("#lab-menu").slick("slickGoTo",c,!0)})),t(".inline-slider").slick({infinite:!0,autoplay:!0,slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!0}),t(window).width()>1024&&p(),t(window).on("resize",(function(e){t(window).width()>1024&&p()})),t(".tab-content--entry").first().addClass("active"),t(".tab-nav--entry").first().addClass("active"),t(".tab-nav--entry a").click((function(e){e.preventDefault(),t(".tab-nav--entry").removeClass("active"),t(this).parent().addClass("active");var i=t(this).parent().data("tab-nav");t('[data-tab-content="'+i+'"]').fadeIn("slow").siblings().hide()})),t(".team-entry").each((function(){t(this).find(".team-entry--photo").click((function(e){e.preventDefault();var i=t(this).parent(),o=t(i).hasClass("active"),n=t(i).next(".team-entry--bio"),s=n.outerHeight();t(".team-entry").removeClass("active"),t(i).toggleClass("active"),t(".team-entry--bio").hide(),t(".team-row").css({marginBottom:50}),n.stop().fadeIn(),n.css({height:s,bottom:-s-25}),t(i).parent().css({marginBottom:s+50}),o&&(t(i).removeClass("active"),n.hide(),n.css({height:"auto"}),t(i).parent().css({marginBottom:50}))}))}));var u=window.location.hash;if(""==u||"#"==u||null==u)return!1;var h=t(u);headerHeight=200,(h=h.length?h:t("[id="+this.hash.slice(1)+"]")).length&&t("html,body").stop().animate({scrollTop:h.offset().top-headerHeight},"linear")})),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.Rellax=e()}("undefined"!=typeof window?window:global,(function(){var t=function(e,i){var o=Object.create(t.prototype),n=0,s=0,r=0,a=0,l=[],d=!0,c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)},p=null,u=!1;try{var h=Object.defineProperty({},"passive",{get:function(){u=!0}});window.addEventListener("testPassive",null,h),window.removeEventListener("testPassive",null,h)}catch(t){}var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,m=window.transformProp||function(){var t=document.createElement("div");if(null===t.style.transform){var e,i=["Webkit","Moz","ms"];for(e in i)if(void 0!==t.style[i[e]+"Transform"])return i[e]+"Transform"}return"transform"}();if(o.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}}
808,i&&Object.keys(i).forEach((function(t){o.options[t]=i[t]})),e||(e=".rellax"),0<(h="string"==typeof e?document.querySelectorAll(e):[e]).length){if(o.elems=h,o.options.wrapper&&!o.options.wrapper.nodeType){if(!(h=document.querySelector(o.options.wrapper)))return void console.warn("Rellax: The wrapper you're trying to use doesn't exist.");o.options.wrapper=h}var v=function(){for(var t=0;t<l.length;t++)o.elems[t].style.cssText=l[t].style;for(l=[],s=window.innerHeight,a=window.innerWidth,g(),t=0;t<o.elems.length;t++){var e=o.elems[t],i=e.getAttribute("data-rellax-percentage"),n=e.getAttribute("data-rellax-speed"),r=e.getAttribute("data-rellax-vertical-speed"),c=e.getAttribute("data-rellax-horizontal-speed"),p=e.getAttribute("data-rellax-vertical-scroll-axis"),u=e.getAttribute("data-rellax-horizontal-scroll-axis"),h=e.getAttribute("data-rellax-zindex")||0,f=e.getAttribute("data-rellax-min"),m=e.getAttribute("data-rellax-max"),w=e.getAttribute("data-rellax-min-x"),S=e.getAttribute("data-rellax-max-x"),x=e.getAttribute("data-rellax-min-y"),T=e.getAttribute("data-rellax-max-y"),C=o.options.wrapper?o.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;o.options.relativeToWrapper&&(C=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)-o.options.wrapper.offsetTop);var $=o.options.vertical&&(i||o.options.center)?C:0,A=o.options.horizontal&&(i||o.options.center)?o.options.wrapper?o.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0;C=$+e.getBoundingClientRect().top;var E=e.clientHeight||e.offsetHeight||e.scrollHeight,P=A+e.getBoundingClientRect().left,z=e.clientWidth||e.offsetWidth||e.scrollWidth;$=i||($-C+s)/(E+s),i=i||(A-P+a)/(z+a),o.options.center&&($=i=.5),n=n||o.options.speed,r=r||o.options.verticalSpeed,c=c||o.options.horizontalSpeed,p=p||o.options.verticalScrollAxis,u=u||o.options.horizontalScrollAxis,$=y(i,$,n,r,c),e=e.style.cssText,i="",(A=/transform\s*:/i.exec(e))&&(i=(A=(i=e.slice(A.index)).indexOf(";"))?" "+i.slice(11,A).replace(/\s/g,""):" "+i.slice(11).replace(/\s/g,"")),l.push({baseX:$.x,baseY:$.y,top:C,left:P,height:E,width:z,speed:n,verticalSpeed:r,horizontalSpeed:c,verticalScrollAxis:p,horizontalScrollAxis:u,style:e,transform:i,zindex:h,min:f,max:m,minX:w,maxX:S,minY:x,maxY:T})}k(),d&&(window.addEventListener("resize",v),d=!1,b())},g=function(){var t=n,e=r;return n=o.options.wrapper?o.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,r=o.options.wrapper?o.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset,o.options.relativeToWrapper&&(n=((document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset)-o.options.wrapper.offsetTop),!!(t!=n&&o.options.vertical||e!=r&&o.options.horizontal)},y=function(t,e,i,n,s){var r={};return t=100*(s||i)*(1-t),e=100*(n||i)*(1-e),r.x=o.options.round?Math.round(t):Math.round(100*t)/100,r.y=o.options.round?Math.round(e):Math.round(100*e)/100,r},w=function(){window.removeEventListener("resize",w),window.removeEventListener("orientationchange",w),(o.options.wrapper?o.options.wrapper:window).removeEventListener("scroll",w),(o.options.wrapper?o.options.wrapper:document).removeEventListener("touchmove",w),p=c(b)},b=function(){g()&&!1===d?(k(),p=c(b)):(p=null,window.addEventListener("resize",w),window.addEventListener("orientationchange",w),(o.options.wrapper?o.options.wrapper:window).addEventListener("scroll",w,!!u&&{passive:!0}),(o.options.wrapper?o.options.wrapper:document).addEventListener("touchmove",w,!!u&&{passive:!0}))},k=function(){for(var t,e=0;e<o.elems.length;e++){var i=l[e].verticalScrollAxis.toLowerCase(),d=l[e].horizontalScrollAxis.toLowerCase();t=-1!=i.indexOf("x")?n:0,i=-1!=i.indexOf("y")?n:0;var c=-1!=d.indexOf("x")?r:0;d=-1!=d.indexOf("y")?r:0,d=(t=y((t+c-l[e].left+a)/(l[e].width+a),(i+d-l[e].top+s)/(l[e].height+s),l[e].speed,l[e].verticalSpeed,l[e].horizontalSpeed)).y-l[e].baseY,i=t.x-l[e].baseX,null!==l[e].min&&(o.options.vertical&&!o.options.horizontal&&(d=d<=l[e].min?l[e].min:d),o.options.horizontal&&!o.options.vertical&&(i=i<=l[e].min?l[e].min:i)),null!=l[e].minY&&(d=d<=l[e].minY?l[e].minY:d),null!=l[e].minX&&(i=i<=l[e].minX?l[e].minX:i),null!==l[e].max&&(o.options.vertical&&!o.options.horizontal&&(d=d>=l[e].max?l[e].max:d),o.options.horizontal&&!o.options.vertical&&(i=i>=l[e].max?l[e].max:i)),null!=l[e].maxY&&(d=d>=l[e].maxY?l[e].maxY:d),null!=l[e].maxX&&(i=i>=l[e].maxX?l[e].maxX:i),o.elems[e].style[m]="translate3d("+(o.options.horizontal?i:"0")+"px,"+(o.options.vertical?d:"0")+"px,"+l[e].zindex+"px) "+l[e].transform}o.options.callback(t)};return o.destroy=function(){for(var t=0;t<o.elems.length;t++)o.elems[t].style.cssText=l[t].style;d||(window.removeEventListener("resize",v),d=!0),f(p),p=null},v(),o.refresh=v,o}console.warn("Rellax: The elements you're trying to select don't exist.")};return t})),function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");
vendor: 4,143 bytes, line 808
808this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,s=e.length;s>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){for(var e in t.Context.refreshAll(),i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,s=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var s in this.waypoints[i]){var r=this.waypoints[i][s];if(null!==r.triggerPoint){var a=o.oldScroll<r.triggerPoint,l=o.newScroll>=r.triggerPoint;(a&&l||!a&&!l)&&(r.queueTrigger(n),t[r.group.id]=r.group)}}}for(var d in t)t[d].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHe
808ight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var s in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[s];for(var a in this.waypoints[s]){var l,d,c,p,u=this.waypoints[s][a],h=u.options.offset,f=u.triggerPoint,m=0,v=null==f;u.element!==u.element.window&&(m=u.adapter.offset()[r.offsetProp]),"function"==typeof h?h=h.apply(u):"string"==typeof h&&(h=parseFloat(h),u.options.offset.indexOf("%")>-1&&(h=Math.ceil(r.contextDimension*h/100))),l=r.contextScroll-r.contextOffset,u.triggerPoint=Math.floor(m+l-h),d=f<r.oldScroll,c=u.triggerPoint>=r.oldScroll,p=!d&&!c,!v&&(d&&c)?(u.queueTrigger(r.backward),o[u.group.id]=u.group):(!v&&p||v&&r.oldScroll>=u.triggerPoint)&&(u.queueTrigger(r.forward),o[u.group.id]=u.group)}}return n.requestAnimationFrame((function(){for(var t in o)o[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){s&&s(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var s=0,r=o.length;r>s;s+=1){var a=o[s];(a.options.continuous||s===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(i,o){t[o]=e[o]})),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&((o=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))})),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),function(){"use strict";function t(o){this.options=e.extend({},i.defaults,t.defaults,o),this.element=this.options.element,this.$element=e(this.element),this.createWrapper(),this.createWaypoint()}var e=window.jQuery,i=window.Waypoint;t.prototype.createWaypoint=function(){var t=this.options.handler;this.waypoint=new i(e.extend({},this.options,{element:this.wrapper,handler:e.proxy((function(e){var i=this.options.direction.indexOf(e)>-1,o=i?this.$element.outerHeight(!0):"";this.$wrapper.height(o),this.$element.toggleClass(this.options.stuckClass,i),t&&t.call(this,e)}),this)}))},t.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},t.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())},t.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},i.Sticky=t}(),function(t){function e(){return Math.floor(Date.now()/1e3)}t("html").addClass("js"),Date.now||(Date.now=function(){return(new Date).getTime()}),t.fn.bgVideo=function(i){var o=function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var t=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3]||0,10)]}}(),n=!1;o&&o[0]<10&&(n=!0);var s=t.extend({},t.fn.bgVideo.defaults,i);return this.each((function(){var i,o=t(this),r=o[0],a=o.attr("poster")||"",l=o.parent(),d=t('<button class="jquery-background-video-pauseplay pause"><span>
808Pause</span></button>'),c=t.extend({},s),p=o.data();t.each(p,(function(t,e){0===t.indexOf("bgvideo")&&(t=(t=t.replace("bgvideo","")).charAt(0).toLowerCase()+t.slice(1),c[t]=e)})),o.on("playing",(function(){null==i&&(i=e()),o.addClass("is-playing is-visible"),d.removeClass("play").addClass("pause").find("span").text("Pause"),t.fn.bgVideo.fitVideo(o)})),r.currentTime>0&&o.addClass("is-playing is-visible"),o.on("pause",(function(){o.removeClass("is-playing"),d.removeClass("pause").addClass("play").find("span").text("Play"),c.fadeOnPause&&o.removeClass("is-visible")})),l.css({position:"relative",overflow:"hidden","background-size":"cover","background-position":"center center","background-repeat":"no-repeat","background-image":"url("+a+")"}),o.css({"min-width":"auto","min-height":"auto",width:"100%",height:"auto",position:"absolute",left:"50%",top:"50%",transform:"translate(-50%,-50%)"}),c.fullScreen&&l.css({position:"fixed",top:"0",bottom:"0",left:"0",right:"0",height:"auto",margin:"0","z-index":"-1"}),o.css("transition-duration",c.fadeIn+"ms"),n&&(o.attr("src",""),o.find("source").attr("src",""),o.remove()),t.fn.bgVideo.fitVideo(o),t(window).resize((function(){t.fn.bgVideo.fitVideo(o)})),c.pauseAfter=parseInt(c.pauseAfter,10),c.pauseAfter>0&&o.on("timeupdate",(function(){e()>i+c.pauseAfter&&(r.pause(),c.fadeOnEnd&&o.removeClass("is-visible"))})),c.showPausePlay&&!n&&(l.append(d),d.css({left:"auto",right:"auto",top:"auto",bottom:"auto"}),d.css(c.pausePlayXPos,c.pausePlayXOffset),d.css(c.pausePlayYPos,c.pausePlayYOffset),"center"===c.pausePlayXPos&&d.css({left:"50%","margin-left":"-10px"}),"center"===c.pausePlayYPos&&d.css({top:"50%","margin-top":"-10px"}),d.on("click",(function(){r.paused?(r.play(),i=e()):r.pause()})))}))},t.fn.bgVideo.defaults={fullScreen:!1,fadeIn:500,pauseAfter:120,fadeOnPause:!1,fadeOnEnd:!0,showPausePlay:!0,pausePlayXPos:"right",pausePlayYPos:"top",pausePlayXOffset:"15px",pausePlayYOffset:"15px"},t.fn.bgVideo.fitVideo=function(t){var e=t.parent(),i=e.outerHeight(),o=e.outerWidth();t.css({height:"auto",width:o+"px"}),i>t.height()&&t.css({height:i+"px",width:"auto"})},t(document).ready((function(){t("[data-bgvideo]").bgVideo()}))}(jQuery);var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,i=1,o=arguments.length;i<o;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},CountUp=function(){function t(t,e,i){var o=this;this.target=t,this.endVal=e,this.options=i,this.version="2.0.4",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:""},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.count=function(t){o.startTime||(o.startTime=t);var e=t-o.startTime;o.remaining=o.duration-e,o.useEasing?o.countDown?o.frameVal=o.startVal-o.easingFn(e,0,o.startVal-o.endVal,o.duration):o.frameVal=o.easingFn(e,o.startVal,o.endVal-o.startVal,o.duration):o.countDown?o.frameVal=o.startVal-(o.startVal-o.endVal)*(e/o.duration):o.frameVal=o.startVal+(o.endVal-o.startVal)*(e/o.duration),o.countDown?o.frameVal=o.frameVal<o.endVal?o.endVal:o.frameVal:o.frameVal=o.frameVal>o.endVal?o.endVal:o.frameVal,o.frameVal=Math.round(o.frameVal*o.decimalMult)/o.decimalMult,o.printValue(o.frameVal),e<o.duration?o.rAF=requestAnimationFrame(o.count):null!==o.finalEndVal?o.update(o.finalEndVal):o.callback&&o.callback()},this.formatNumber=function(t){var e,i,n,s,r,a=t<0?"-":"";if(e=Math.abs(t).toFixed(o.options.decimalPlaces),n=(i=(e+="").split("."))[0],s=i.length>1?o.options.decimal+i[1]:"",o.options.useGrouping){r="";for(var l=0,d=n.length;l<d;++l)0!==l&&l%3==0&&(r=o.options.separator+r),r=n[d-l-1]+r;n=r}return o.options.numerals&&o.options.numerals.length&&(n=n.replace(/[0-9]/g,(function(t){return o.options.numerals[+t]})),s=s.replace(/[0-9]/g,(function(t){return o.options.numerals[+t]}))),a+o.options.prefix+n+s+o.options.suffix},this.easeOutExpo=function(t,e,i,o){return i*(1-Math.pow(2,-10*t/o))*1024/1023+e},this.options=__assign({},this.defaults,i),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(e),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.decimalMult=Math.pow(10,this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof t?document.getElementById(t):t,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined"}return t.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var e=t-this.startVal;if(Math.abs(e)>this.options.smartEasingThreshold){this.finalEndVal=t;var i=this.countDown?1:-1;
808this.endVal=t+i*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(t){this.error||(this.callback=t,this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},t.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal||this.resetDuration(),this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(t){var e=this.formattingFn(t);"INPUT"===this.el.tagName?this.el.value=e:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=e:this.el.innerHTML=e},t.prototype.ensureNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.prototype.validateValue=function(t){var e=Number(t);return this.ensureNumber(e)?e:(this.error="[CountUp] invalid start or end value: "+t,null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t}(); 809/*! Lity - v3.0.0-dev - 2019-08-07 810 http://sorgalla.com/lity/ */!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],(function(i){return e(t,i)})):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,require("jquery")):t.lity=e(t,t.jQuery||t.Zepto)}("undefined"!=typeof window?window:this,(function(t,e){"use strict";function i(t){var e=y();return $&&t.length?(t.one($,e.resolve),setTimeout(e.resolve,500)):e.resolve(),e.promise()}function o(t,i,o){if(1===arguments.length)return e.extend({},t);if("string"==typeof i){if(void 0===o)return void 0===t[i]?null:t[i];t[i]=o}else e.extend(t,i);return this}function n(t){var e=t.indexOf("?");e>
810-1&&(t=t.substr(e+1));for(var i,o=decodeURI(t.split("#")[0]).split("&"),n={},s=0,r=o.length;s<r;s++)o[s]&&(n[(i=o[s].split("="))[0]]=i[1]);return n}function s(t,i){if(!i)return t;if("string"===e.type(i)&&(i=n(i)),t.indexOf("?")>-1){var o=t.split("?");t=o.shift(),i=e.extend({},n(o[0]),i)}return t+"?"+e.param(i)}function r(t,e,i,o){return e&&e.element().addClass("lity-iframe"),i&&(t=s(t,i)),o&&(t=function(t,e){var i=t.indexOf("#");return-1===i?e:(i>0&&(t=t.substr(i)),e+t)}(o,t)),'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen allow="autoplay; fullscreen" src="'+t+'"/></div>'}function a(t,i){var o=i.opener()&&i.opener().data("lity-desc")||"Image with no description",n=e('<img src="'+t+'" alt="'+o+'"/>'),s=y(),r=function(){s.reject(function(t){return e('<span class="lity-error"/>').append(t)}("Failed loading image"))};return n.on("load",(function(){if(0===this.naturalWidth)return r();s.resolve(n)})).on("error",r),s.promise()}function l(){return v.documentElement.clientHeight?v.documentElement.clientHeight:Math.round(g.height())}function d(t){var e=h();e&&(27===t.keyCode&&e.options("esc")&&e.close(),9===t.keyCode&&function(t,e){var i=e.element().find(x),o=i.index(v.activeElement);t.shiftKey&&o<=0?(i.get(i.length-1).focus(),t.preventDefault()):t.shiftKey||o!==i.length-1||(i.get(0).focus(),t.preventDefault())}(t,e))}function c(){e.each(b,(function(t,e){e.resize()}))}function p(t){1===b.unshift(t)&&(w.addClass("lity-active"),g.on({resize:c,keydown:d})),e("body > *").not(t.element()).addClass("lity-hidden").each((function(){var t=e(this);void 0===t.data(S)&&t.data(S,t.attr(k)||null)})).attr(k,"true")}function u(t){t.element().attr(k,"true"),1===b.length&&(w.removeClass("lity-active"),g.off({resize:c,keydown:d})),((b=e.grep(b,(function(e){return t!==e}))).length?b[0].element():e(".lity-hidden")).removeClass("lity-hidden").each((function(){var t=e(this),i=t.data(S);i?t.attr(k,i):t.removeAttr(k),t.removeData(S)}))}function h(){return 0===b.length?null:b[0]}function f(t,n,s,r){var a,d,c,h=this,f=!1,m=!1;n=e.extend({},T,n),d=e(n.template),h.element=function(){return d},h.opener=function(){return s},h.content=function(){return c},h.options=e.proxy(o,h,n),h.handlers=e.proxy(o,h,n.handlers),h.resize=function(){f&&!m&&c.css("max-height",l()+"px").trigger("lity:resize",[h])},h.close=function(){if(f&&!m){m=!0,u(h);var t=y();if(r&&(v.activeElement===d[0]||e.contains(d[0],v.activeElement)))try{r.focus()}catch(t){}return c.trigger("lity:close",[h]),d.removeClass("lity-opened").addClass("lity-closed"),i(c.add(d)).always((function(){c.trigger("lity:remove",[h]),d.remove(),d=void 0,t.resolve()})),t.promise()}},a=function(t,i,o,n){var s,r="inline",a=e.extend({},o);return n&&a[n]?(s=a[n](t,i),r=n):(e.each(["inline","iframe"],(function(t,e){delete a[e],a[e]=o[e]})),e.each(a,(function(e,o){return!o||!(!o.test||o.test(t,i))||(!1!==(s=o(t,i))?(r=e,!1):void 0)}))),{handler:r,content:s||""}}(t,h,n.handlers,n.handler),d.attr(k,"false").addClass("lity-loading lity-opened lity-"+a.handler).appendTo("body").focus().on("click","[data-lity-close]",(function(t){e(t.target).is("[data-lity-close]")&&h.close()})).trigger("lity:open",[h]),p(h),e.when(a.content).always((function(t){c=e(t).css("max-height",l()+"px"),d.find(".lity-loader").each((function(){var t=e(this);i(t).always((function(){t.remove()}))})),d.removeClass("lity-loading").find(".lity-content").empty().append(c),f=!0,c.trigger("lity:ready",[h])}))}function m(t,i,o){t.preventDefault?(t.preventDefault(),t=(o=e(this)).data("lity-target")||o.attr("href")||o.attr("src")):o=e(o);var n=new f(t,e.extend({},o.data("lity-options")||o.data("lity"),i),o,v.activeElement);if(!t.preventDefault)return n}var v=t.document,g=e(t),y=e.Deferred,w=e("html"),b=[],k="aria-hidden",S="lity-"+k,x='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',T={esc:!0,handler:null,handlers:{image:a,inline:function(t,i){var o,n,s;try{o=e(t)}catch(t){return!1}return!!o.length&&(n=e('<i style="display:none !important"/>
810'),s=o.hasClass("lity-hide"),i.element().one("lity:remove",(function(){n.before(o).remove(),s&&!o.closest(".lity-content").length&&o.addClass("lity-hide")})),o.removeClass("lity-hide").after(n))},iframe:function(t,e){return r(t,e)}},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>×</button></div></div></div>'},C=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,$=function(){var t=v.createElement("div"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return e[i];return!1}();return a.test=function(t){return C.test(t)},m.version="3.0.0-dev",m.options=e.proxy(o,m,T),m.handlers=e.proxy(o,m,T.handlers),m.current=h,m.iframe=r,e(v).on("click.lity","[data-lity]",m),m})),function(t,e){"function"==typeof define&&define.amd?define(["lity"],(function(t){e(t)})):e("object"==typeof module&&"object"==typeof module.exports?require("lity"):t.lity)}("undefined"!=typeof window?window:this,(function(t){"use strict";var e=/(vimeo(pro)?\.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/;t.handlers("vimeo",(function(i,o){var n=e.exec(i);return!!n&&t.iframe("https://player.vimeo.com/video/"+n[3]+"?autoplay=1",o,n[4],i)}))})),function(t,e){"function"==typeof define&&define.amd?define(["lity"],(function(t){e(t)})):e("object"==typeof module&&"object"==typeof module.exports?require("lity"):t.lity)}("undefined"!=typeof window?window:this,(function(t){"use strict";var e=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i;t.handlers("youtube",(function(i,o){var n=e.exec(i);return!!n&&t.iframe("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4]+"?autoplay=1",o,n[5],i)}))})),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e,i=window.Slick||{};e=0,(i=function(i,o){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(i),appendDots:t(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,i){return t('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,n=t(i).data("slick")||{},s.options=t.extend({},s.defaults,o,n),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,void 0!==document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.instanceUid=e++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},i.prototype.addSlide=i.prototype.slickAdd=function(e,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):o?t(e).insertBefore(n.$slides.eq(i)):t(e).insertAfter(n.$slides.eq(i)):!0===o?t(e).prependTo(n.$slideTrack):t(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each((function(e,i){t(i).attr("data-slick-index",e)})),n.$slidesCache=n.$slides,n.reinit()},i.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},i.prototype.animateSlide=function(e,i){var o={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,i):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),t({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?(o[n.animType]="translate("+t+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?o[n.animType]="translate3d("+e+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout((function(){n.disableTransition(),i.call()}),n.options.speed))},i.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e&&null!==e&&(e=t(e).not(this.$slider)),e},i.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each((function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)}))},i.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},i.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},i.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},i.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;
vendor: 5,117 bytes, line 810
810t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},i.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=t(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=t(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},i.prototype.buildDots=function(){var e,i,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=t("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)i.append(t("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},i.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each((function(e,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).attr("style")||"")})),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?t('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},i.prototype.buildRows=function(){var t,e,i,o,n,s,r,a=this;if(o=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>0){for(r=a.options.slidesPerRow*a.options.rows,n=Math.ceil(s.length/r),t=0;t<n;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var d=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var c=t*r+(e*a.options.slidesPerRow+i);s.get(c)&&d.appendChild(s.get(c))}l.appendChild(d)}o.appendChild(l)}a.$slider.empty().append(o),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},i.prototype.checkResponsive=function(e,i){var o,n,s,r=this,a=!1,l=r.$slider.width(),d=window.innerWidth||t(window).width();if("window"===r.respondTo?s=d:"slider"===r.respondTo?s=l:"min"===r.respondTo&&(s=Math.min(d,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(o in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?s<r.breakpoints[o]&&(n=r.breakpoints[o]):s>r.breakpoints[o]&&(n=r.breakpoints[o]));null!==n?null!==r.activeBreakpoint?(n!==r.activeBreakpoint||i)&&(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[n]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=n):(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[n]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=n),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},i.prototype.changeSlide=function(e,i){var o,n,s=this,r=t(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),o=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":n=0===o?s.options.slidesToScroll:s.options.slidesToShow-o,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-n,!1,i);break;case"next":n=0===o?s.options.slidesToScroll:o,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+n,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||r.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),r.children().trigger("focus");break;default:return}},i.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var o in e){if(t<e[o]){t=i;break}i=e[o]}return t},i.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",t.proxy(e.interrupt,e,!0)).off("mouseleave.
810slick",t.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().off("click.slick",e.selectHandler),t(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),t(window).off("resize.slick.slick-"+e.instanceUid,e.resize),t("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),t(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},i.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",t.proxy(e.interrupt,e,!1))},i.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>0&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(t))},i.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},i.prototype.destroy=function(e){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){t(this).attr("style",t(this).data("originalStyling"))})),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},i.prototype.disableTransition=function(t){var e=this,i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},i.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout((function(){i.disableTransition(t),e.call()}),i.options.speed))},i.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},i.prototype.filterSlides=i.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},i.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick","*",(function(i){var o=t(this);setTimeout((function(){e.options.pauseOnFocus&&o.is(":focus")&&(e.focussed=!0,e.autoPlay())}),0)})).on("blur.slick","*",(function(i){t(this);e.options.pauseOnFocus&&(e.focussed=!1,e.autoPlay())}))},i.prototype.getCurrent=i.prototype.slickCurrentSlide=function(){return this.currentSlide},i.prototype.getDotCount=function(){var t=this,e=0,i=0,o=0;if(!0===t.options.infinite)if(t.slideCount<=t.options.slidesToShow)++o;else for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)o=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++o,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else o=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return o-1},i.prototype.getLeft=function(t){var e,i,o,n,s=this,r=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,n=-1,!0===s.options.vertical&&!0===s.options.centerMode&&(2===s.options.slidesToShow?n=-1.5:1===s.options.slidesToShow&&(n=-2)),r=i*s.options.slidesToShow*n),s.slideCount%s.options.slidesToScroll!=0&&t+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(t>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(t-s.slideCount))*s.slideWidth*-1,r=(s.options.slidesToShow-(t-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,r=s.slideCount%s.options.slidesToScroll*i*-1))):t+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(t+s.options.slidesToShow-s.slideCount)*s.slideWidth,r=(t+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,r=0),!0===s.options.centerMode&&s.slideCount<=s.options.slidesToShow?s.slideOffset=s.slideWidth*Math.floor(s.options.slidesToShow)/2-s.slideWidth*s.slideCount/2:!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=!1===s.options.vertical?t*s.slideWidth*-1+s.slideOffset:t*i*-1+r,!0===s.options.variableWidth&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow),e=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===s.options.centerMode&&(o=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow+1),e=!0===s.options.rtl?o[0]?-1*(s.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(s.$list.width()-o.outerWidth())/2)),e},i.prototype.getOption=i.prototype.slickGetOption=function(t){return this.options[t]},i.prototype.getNavigableIndexes=function(){var t,e=this,i=0,o=0,n=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)n.push(i),i=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},i.prototype.getSlick=function(){return this},i.prototype.getSlideCount=function(){var e,i,o,n=this;return o=!0===n.options.centerMode?Math.floor(n.$list.width()/2):0,i=-1*n.swipeLeft+o,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each((function(o,s){var r,a;if(r=t(s).outerWidth(),a=s.offsetLeft,!0!==n.options.centerMode&&(a+=r/2),i<a+r)return e=s,!1})),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},i.prototype.goTo=i.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
810parseInt(t)}},e)},i.prototype.init=function(e){var i=this;t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},i.prototype.initADA=function(){var e=this,i=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter((function(t){return t>=0&&t<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(i){var n=o.indexOf(i);if(t(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+i,tabindex:-1}),-1!==n){var s="slick-slide-control"+e.instanceUid+n;t("#"+s).length&&t(this).attr({"aria-describedby":s})}})),e.$dots.attr("role","tablist").find("li").each((function(n){var s=o[n];t(this).attr({role:"presentation"}),t(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+n,"aria-controls":"slick-slide"+e.instanceUid+s,"aria-label":n+1+" of "+i,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var n=e.currentSlide,s=n+e.options.slidesToShow;n<s;n++)e.options.focusOnChange?e.$slides.eq(n).attr({tabindex:"0"}):e.$slides.eq(n).removeAttr("tabindex");e.activateADA()},i.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow.on("keydown.slick",t.keyHandler),t.$nextArrow.on("keydown.slick",t.keyHandler)))},i.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("mouseenter.slick",t.proxy(e.interrupt,e,!0)).on("mouseleave.slick",t.proxy(e.interrupt,e,!1))},i.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",t.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",t.proxy(e.interrupt,e,!1)))},i.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
810,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),t(window).on("orientationchange.slick.slick-"+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on("resize.slick.slick-"+e.instanceUid,t.proxy(e.resize,e)),t("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),t(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),t(e.setPosition)},i.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},i.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},i.prototype.lazyLoad=function(){var e,i,o,n=this;function s(e){t("img[data-lazy]",e).each((function(){var e=t(this),i=t(this).attr("data-lazy"),o=t(this).attr("data-srcset"),s=t(this).attr("data-sizes")||n.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0}
vendor: 7,097 bytes, line 810
810,100,(function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",i).animate({opacity:1},200,(function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),n.$slider.trigger("lazyLoaded",[n,e,i])}))},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,i])},r.src=i}))}if(!0===n.options.centerMode?!0===n.options.infinite?o=(i=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(i=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),o=n.options.slidesToShow/2+1+2+n.currentSlide):(i=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,o=Math.ceil(i+n.options.slidesToShow),!0===n.options.fade&&(i>0&&i--,o<=n.slideCount&&o++)),e=n.$slider.find(".slick-slide").slice(i,o),"anticipated"===n.options.lazyLoad)for(var r=i-1,a=o,l=n.$slider.find(".slick-slide"),d=0;d<n.options.slidesToScroll;d++)r<0&&(r=n.slideCount-1),e=(e=e.add(l.eq(r))).add(l.eq(a)),r--,a++;s(e),n.slideCount<=n.options.slidesToShow?s(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?s(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&s(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},i.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},i.prototype.next=i.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},i.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},i.prototype.pause=i.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},i.prototype.play=i.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},i.prototype.postSlide=function(e){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,e]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&t(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))},i.prototype.prev=i.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},i.prototype.preventDefault=function(t){t.preventDefault()},i.prototype.progressiveLazyLoad=function(e){e=e||1;var i,o,n,s,r,a=this,l=t("img[data-lazy]",a.$slider);l.length?(i=l.first(),o=i.attr("data-lazy"),n=i.attr("data-srcset"),s=i.attr("data-sizes")||a.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){n&&(i.attr("srcset",n),s&&i.attr("sizes",s)),i.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,i,o]),a.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout((function(){a.progressiveLazyLoad(e+1)}),500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,i,o]),a.progressiveLazyLoad())},r.src=o):a.$slider.trigger("allImagesLoaded",[a])},i.prototype.refresh=function(e){var i,o,n=this;o=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>o&&(n.currentSlide=o),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),i=n.currentSlide,n.destroy(!0),t.extend(n,n.initials,{currentSlide:i}),n.init(),e||n.changeSlide({data:{message:"index",index:i}},!1)},i.prototype.registerBreakpoints=function(){var e,i,o,n=this,s=n.options.responsive||null;if("array"===t.type(s)&&s.length){for(e in n.respondTo=n.options.respondTo||"window",s)if(o=n.breakpoints.length-1,s.hasOwnProperty(e)){for(i=s[e].breakpoint;o>=0;)n.breakpoints[o]&&n.breakpoints[o]===i&&n.breakpoints.splice(o,1),o--;n.breakpoints.push(i),n.breakpointSettings[i]=s[e].settings}n.breakpoints.sort((function(t,e){return n.options.mobileFirst?t-e:e-t}))}},i.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},i.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout((function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()}),50))},i.prototype.removeSlide=i.prototype.slickRemove=function(t,e,i){var o=this;if(t="boolean"==typeof t?!0===(e=t)?0:o.slideCount-1:!0===e?--t:t,o.slideCount<1||t<0||t>o.slideCount-1)return!1;o.unload(),!0===i?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(t).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},i.prototype.setCSS=function(t){var e,i,o=this,n={};!0===o.options.rtl&&(t=-t),e="left"==o.positionProp?Math.ceil(t)+"px":"0px",i="top"==o.positionProp?Math.ceil(t)+"px":"0px",n[o.positionProp]=t,!1===o.transformsEnabled?o.$slideTrack.css(n):(n={},!1===o.cssTransitions?(n[o.animType]="translate("+e+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+e+", "+i+", 0px)",o.$slideTrack.css(n)))},i.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},i.prototype.setFade=function(){var e,i=this;i.$slides.each((function(o,n){e=i.slideWidth*o*-1,!0===i.options.rtl?t(n).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
810):t(n).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})})),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},i.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},i.prototype.setOption=i.prototype.slickSetOption=function(){var e,i,o,n,s,r=this,a=!1;if("object"===t.type(arguments[0])?(o=arguments[0],a=arguments[1],s="multiple"):"string"===t.type(arguments[0])&&(o=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)r.options[o]=n;else if("multiple"===s)t.each(o,(function(t,e){r.options[t]=e}));else if("responsive"===s)for(i in n)if("array"!==t.type(r.options.responsive))r.options.responsive=[n[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===n[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(n[i])}a&&(r.unload(),r.reinit())},i.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},i.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===t.options.useCSS&&(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},i.prototype.setSlideClasses=function(t){var e,i,o,n,s=this;if(i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode){var r=s.options.slidesToShow%2==0?1:0;e=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e+r,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=s.options.slidesToShow+t,i.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(t).addClass("slick-center")}else t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,o=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(o-(s.options.slidesToShow-n),o+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(o,o+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==s.options.lazyLoad&&"anticipated"!==s.options.lazyLoad||s.lazyLoad()},i.prototype.setupInfinite=function(){var e,i,o,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(i=null,n.slideCount>n.options.slidesToShow)){for(o=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-o;e-=1)i=e-1,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<o+n.slideCount;e+=1)i=e,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each((function(){t(this).attr("id","")}))}},i.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},i.prototype.selectHandler=function(e){var i=this,o=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),n=parseInt(o.attr("data-slick-index"));
810n||(n=0),i.slideCount<=i.options.slidesToShow?i.slideHandler(n,!1,!0):i.slideHandler(n)},i.prototype.slideHandler=function(t,e,i){var o,n,s,r,a,l,d=this;if(e=e||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===t))if(!1===e&&d.asNavFor(t),o=t,a=d.getLeft(o),r=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?r:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(t<0||t>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==i&&d.slideCount>d.options.slidesToShow?d.animateSlide(r,(function(){d.postSlide(o)})):d.postSlide(o));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(t<0||t>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==i&&d.slideCount>d.options.slidesToShow?d.animateSlide(r,(function(){d.postSlide(o)})):d.postSlide(o));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),n=o<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+o:o>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:o-d.slideCount:o,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,n]),s=d.currentSlide,d.currentSlide=n,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(l=(l=d.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==i?(d.fadeSlideOut(s),d.fadeSlide(n,(function(){d.postSlide(n)}))):d.postSlide(n),void d.animateHeight();!0!==i&&d.slideCount>d.options.slidesToShow?d.animateSlide(a,(function(){d.postSlide(n)})):d.postSlide(n)}},i.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},i.prototype.swipeDirection=function(){var t,e,i,o,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(e,t),(o=Math.round(180*i/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?!1===n.options.rtl?"left":"right":o>=135&&o<=225?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},i.prototype.swipeEnd=function(t){var e,i,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(i=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},i.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},i.prototype.swipeMove=function(t){var e,i,o,n,s,r,a=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!a.dragging||a.scrolling||s&&1!==s.length)&&(e=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,a.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&r>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=r),i=a.swipeDirection(),void 0!==t.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,t.preventDefault()),n=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(n=a.touchObject.curY>a.touchObject.startY?1:-1),o=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===i||a.currentSlide>=a.getDotCount()&&"left"===i)&&(o=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=e+o*n:a.swipeLeft=e+o*(a.$list.height()/a.listWidth)*n,!0===a.options.verticalSwiping&&(a.swipeLeft=e+o*n),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},i.prototype.swipeStart=function(t){var e,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,i.dragging=!0},i.prototype.unfilterSlides=i.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},i.prototype.unload=function(){var e=this;t(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
810,i.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},i.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},i.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").end(),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active"))},i.prototype.visibility=function(){var t=this;t.options.autoplay&&(document[t.hidden]?t.interrupted=!0:t.interrupted=!1)},t.fn.slick=function(){var t,e,o=this,n=arguments[0],s=Array.prototype.slice.call(arguments,1),r=o.length;for(t=0;t<r;t++)if("object"==typeof n||void 0===n?o[t].slick=new i(o[t],n):e=o[t].slick[n].apply(o[t].slick,s),void 0!==e)return e;return o}})),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,s,a){function l(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each((function(t,l){var d=a.data(l,i);if(d){var c=d[e];if(c&&"_"!=e.charAt(0)){var p=c.apply(d,o);n=void 0===n?p:n}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)})),void 0!==n?n:t}function d(t,e){t.each((function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))}))}(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return l(this,t,e)}return d(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return o(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||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.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 o=i.indexOf(e);return-1!=o&&i.splice(o,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 o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})),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 o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}})),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
810sandro-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}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.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,o){t=i.makeArray(t);var n=[];return t.forEach((function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}})),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout((function(){o.apply(s,e),delete s[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,o){i.docReady((function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+s),d=i.makeArray(a).concat(i.makeArray(l)),c=r+"-options",p=t.jQuery;d.forEach((function(t){var i,s=t.getAttribute(r)||t.getAttribute(c);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);p&&p.data(t,o,a)}))}))},i})),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/core",["ev-emitter/ev-emitter","fizzy-ui-utils/utils"],(function(i,o){return e(t,i,o)})):"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){function o(t,e){var r=i.getQueryElement(t);if(r){if((t=r).infiniteScrollGUID){var a=s[t.infiniteScrollGUID];return a.option(e),a}this.element=t,this.options=i.extend({},o.defaults),this.option(e),n&&(this.$element=n(this.element)),this.create()}else console.error("Bad element for InfiniteScroll: "+(r||t))}var n=t.jQuery,s={};o.defaults={},o.create={},o.destroy={};var r=o.prototype;i.extend(r,e.prototype);var a=0;r.create=function(){var t=this.guid=++a;if(this.element.infiniteScrollGUID=t,s[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath())for(var e in this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit(),o.create)o.create[e].call(this);else console.error("Disabling InfiniteScroll")},r.option=function(t){i.extend(this.options,t)},r.callOnInit=function(){var t=this.options.onInit;t&&t.call(this,this)},r.dispatchEvent=function(t,e,i){this.log(t,i);var o=e?[e].concat(i):i;if(this.emitEvent(t,o),n&&this.$element){var s=t+=".infiniteScroll";if(e){var r=n.Event(e);r.type=t,s=r}this.$element.trigger(s,i)}};var l={initialized:function(t){return"on "+t},request:function(t){return"URL: "+t},load:function(t,e){return(t.title||"")+". URL: "+e},error:function(t,e){return t+". URL: "+e},append:function(t,e,i){return i.length+" items. URL: "+e},last:function(t,e){return"URL: "+e},history:function(t,e){return"URL: "+e},pageIndex:function(t,e){return"current page determined to be: "+t+" from "+e}};r.log=function(t,e){if(this.options.debug){var i="[InfiniteScroll] "+t,o=l[t];o&&(i+=". "+o.apply(this,e)),console.log(i)}},r.updateMeasurements=function(){this.windowHeight=t.innerHeight;var e=this.element.getBoundingClientRect();this.top=e.top+t.pageYOffset},r.updateScroller=function(){var e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:i.getQueryElement(e),!this.scroller)throw"Unable to find elementScroll: "+e}else this.scroller=t},r.updateGetPath=function(){var t=this.options.path;if(t){var e=typeof t;if("function"!=e)return"string"==e&&t.match("{{#}}")?void this.updateGetPathTemplate(t):void this.updateGetPathSelector(t);this.getPath=t}else console.error("InfiniteScroll path option required. Set as: "+t)},r.updateGetPathTemplate=function(t){this.getPath=function(){var e=this.pageIndex+1;return t.replace("{{#}}",e)}.bind(this);var e=t.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),i=new RegExp(e),o=location.href.match(i);o&&(this.pageIndex=parseInt(o[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};var d=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/];return r.updateGetPathSelector=function(t){var e=document.querySelector(t);if(e){for(var i,o,n=e.getAttribute("href"),s=0;n&&s<d.length;s++){o=d[s];var r=n.match(o);if(r){i=r.slice(1);break}}return i?(this.isPathSelector=!0,this.getPath=function(){var t=this.pageIndex+1;return i[0]+t+i[2]}.bind(this),this.pageIndex=parseInt(i[1],10)-1,void this.log("pageIndex",[this.pageIndex,"next link"])):void console.error("InfiniteScroll unable to parse next link href: "+n)}console.error("Bad InfiniteScroll path option. Next link not found: "+t)},r.updateGetAbsolutePath=function(){var t=this.getPath();if(t.match(/^http/)||t.match(/^\//))this.getAbsolutePath=this.getPath;else{var e=location.pathname;if(t.match(/^\?/))this.getAbsolutePath=function(){return e+this.getPath()};else{var i=e.substring(0,e.lastIndexOf("/"));this.getAbsolutePath=function(){return i+"/"+this.getPath()}}}},o.create.hideNav=function(){var t=i.getQueryElement(this.options.hideNav);t&&(t.style.display="none",this.nav=t)},o.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},r.destroy=function(){for(var t in this.allOff(),o.destroy)o.destroy[t].call(this);delete this.element.infiniteScrollGUID,delete s[this.guid],n&&this.$element&&n.removeData(this.element,"infiniteScroll")},o.throttle=function(t,e){var i,o;return e=e||200,function(){var n=+new Date,s=arguments,r=function(){i=n,t.apply(this,s)}.bind(this);i&&n<i+e?(clearTimeout(o),o=setTimeout(r,e)):r()}},o.data=function(t){var e=(t=i.getQueryElement(t))&&t.infiniteScrollGUID;return e&&s[e]},o.setJQuery=function(t){n=t},i.htmlInit(o,"infinite-scroll"),r._init=function(){},n&&n.bridget&&n.bridget("infiniteScroll",o),o})),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/page-load",["./core"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("./core")):e(t,t.InfiniteScroll)}(window,(function(t,e){function i(t){for(var e=document.createDocumentFragment(),i=0;t&&i<t.length;i++)e.appendChild(t[i]);return e}function o(t,e){for(var i=t.attributes,o=0;o<i.length;o++){var n=i[o];e.setAttribute(n.name,n.value)}}var n=e.prototype;return e.defaults.loadOnScroll=!0,e.defaults.checkLastPage=!0,e.defaults.responseType="document",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)},n.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()},n.loadNextPage=function(){if(!this.isLoading&&this.canLoad){var t=this.getAbsolutePath();this.isLoading=!0;var e=function(e){this.onPageLoad(e,t)}.bind(this),i=function(e){this.onPageError(e,t)}.bind(this),o=function(e){this.lastPageReached(e,t)}.bind(this);
810(function(t,e,i,o,n){var s=new XMLHttpRequest;s.open("GET",t,!0),s.responseType=e||"",s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.onload=function(){if(200==s.status)i(s.response);else if(204==s.status)n(s.response);else{var t=new Error(s.statusText);o(t)}},s.onerror=function(){var e=new Error("Network error requesting "+t);o(e)},s.send()})(t,this.options.responseType,e,i,o),this.dispatchEvent("request",null,[t])}},n.onPageLoad=function(t,e){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[t,e]),this.appendNextPage(t,e),t},n.appendNextPage=function(t,e){var o=this.options.append;if("document"==this.options.responseType&&o){var n=t.querySelectorAll(o),s=i(n),r=function(){this.appendItems(n,s),this.isLoading=!1,this.dispatchEvent("append",null,[t,e,n])}.bind(this);this.options.outlayer?this.appendOutlayerItems(s,r):r()}},n.appendItems=function(t,e){t&&t.length&&(function(t){for(var e=t.querySelectorAll("script"),i=0;i<e.length;i++){var n=e[i],s=document.createElement("script");o(n,s),s.innerHTML=n.innerHTML,n.parentNode.replaceChild(s,n)}}(e=e||i(t)),this.element.appendChild(e))},n.appendOutlayerItems=function(i,o){var n=e.imagesLoaded||t.imagesLoaded;return n?void n(i,o):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},n.onAppendOutlayer=function(t,e,i){this.options.outlayer.appended(i)},n.checkLastPage=function(t,e){var i=this.options.checkLastPage;if(i){var o,n=this.options.path;if("function"==typeof n)if(!this.getPath())return void this.lastPageReached(t,e);if("string"==typeof i?o=i:this.isPathSelector&&(o=n),o&&t.querySelector)t.querySelector(o)||this.lastPageReached(t,e)}},n.lastPageReached=function(t,e){this.canLoad=!1,this.dispatchEvent("last",null,[t,e])},n.onPageError=function(t,e){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[t,e]),t},e.create.prefill=function(){if(this.options.prefill){var t=this.options.append;if(!t)return void console.error("append option required for prefill. Set as :"+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()}},n.prefill=function(){var t=this.getPrefillDistance();this.isPrefilling=t>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},n.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},n.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e})),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/scroll-watch",["./core","fizzy-ui-utils/utils"],(function(i,o){return e(t,i,o)})):"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){var o=e.prototype;return e.defaults.scrollThreshold=400,e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);var t=this.options.scrollThreshold;(t||0===t)&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},o.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},o.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},o.bindScrollWatchEvents=function(e){var i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.pageScrollHandler),t[i]("resize",this.resizeHandler)},o.onPageScroll=e.throttle((function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")})),o.getBottomDistance=function(){return this.options.elementScroll?this.getElementBottomDistance():this.getWindowBottomDistance()},o.getWindowBottomDistance=function(){return this.top+this.element.clientHeight-(t.pageYOffset+this.windowHeight)},o.getElementBottomDistance=function(){return this.scroller.scrollHeight-(this.scroller.scrollTop+this.scroller.clientHeight)},o.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e})),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/history",["./core","fizzy-ui-utils/utils"],(function(i,o){return e(t,i,o)})):"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}
810(window,(function(t,e,i){var o=e.prototype;e.defaults.history="replace";var n=document.createElement("a");return e.create.history=function(){if(this.options.history)return n.href=this.getAbsolutePath(),(n.origin||n.protocol+"//"+n.host)==location.origin?void(this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()):void console.error("[InfiniteScroll] cannot set history with different origin: "+n.origin+" on "+location.origin+" . History behavior disabled.")},o.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPageIndex=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)},o.bindHistoryAppendEvents=function(e){var i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.scrollHistoryHandler),t[i]("unload",this.unloadHandler)},o.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=o.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},o.onAppendHistory=function(t,e,i){if(i&&i.length){var o=i[0],s=this.getElementScrollY(o);n.href=e,this.scrollPages.push({top:s,path:n.href,title:t.title})}},o.getElementScrollY=function(t){return this.options.elementScroll?this.getElementElementScrollY(t):this.getElementWindowScrollY(t)},o.getElementWindowScrollY=function(e){return e.getBoundingClientRect().top+t.pageYOffset},o.getElementElementScrollY=function(t){return t.offsetTop-this.top},o.onScrollHistory=function(){for(var t,e,i=this.getScrollViewY(),o=0;o<this.scrollPages.length;o++){var n=this.scrollPages[o];if(n.top>=i)break;t=o,e=n}t!=this.scrollPageIndex&&(this.scrollPageIndex=t,this.setHistory(e.title,e.path))},i.debounceMethod(e,"onScrollHistory",150),o.getScrollViewY=function(){return this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.pageYOffset+this.windowHeight/2},o.setHistory=function(t,e){var 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]))},o.onUnload=function(){var e=this.scrollPageIndex;if(0!==e){var i=this.scrollPages[e],o=t.pageYOffset-i.top+this.top;this.destroyHistory(),scrollTo(0,o)}},o.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e})),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/button",["./core","fizzy-ui-utils/utils"],(function(i,o){return e(t,i,o)})):"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){function o(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))}return e.create.button=function(){var t=i.getQueryElement(this.options.button);t&&(this.button=new o(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},o.prototype.onClick=function(t){t.preventDefault(),this.infScroll.loadNextPage()},o.prototype.enable=function(){this.element.removeAttribute("disabled")},o.prototype.disable=function(){this.element.disabled="disabled"},o.prototype.hide=function(){this.element.style.display="none"},o.prototype.destroy=function(){this.element.removeEventListener("click",this.clickHandler)},e.Button=o,e})),function(t,e){"function"==typeof define&&define.amd?define("infinite-scroll/js/status",["./core","fizzy-ui-utils/utils"],(function(i,o){return e(t,i,o)})):"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){function o(t){s(t,"none")}function n(t){s(t,"block")}function s(t,e){t&&(t.style.display=e)}var r=e.prototype;return e.create.status=function(){var 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"))},r.bindHideStatus=function(t){var e=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},r.showRequestStatus=function(){this.showStatus("request")},r.showErrorStatus=function(){this.showStatus("error")},r.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},r.showStatus=function(t){n(this.statusElement),this.hideStatusEventElements(),n(this.statusEventElements[t])},r.hideAllStatus=function(){o(this.statusElement),this.hideStatusEventElements()}
vendor: 5,102 bytes, line 810
810,r.hideStatusEventElements=function(){for(var t in this.statusEventElements){o(this.statusEventElements[t])}},e})),function(t,e){"function"==typeof define&&define.amd?define(["infinite-scroll/js/core","infinite-scroll/js/page-load","infinite-scroll/js/scroll-watch","infinite-scroll/js/history","infinite-scroll/js/button","infinite-scroll/js/status"],e):"object"==typeof module&&module.exports&&(module.exports=e(require("./core"),require("./page-load"),require("./scroll-watch"),require("./history"),require("./button"),require("./status")))}(window,(function(t){return t})),function(t,e){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["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){function i(t,e){for(var i in e)t[i]=e[i];return t}function o(t,e,n){if(!(this instanceof o))return new o(t,e,n);var s=t;return"string"==typeof t&&(s=document.querySelectorAll(t)),s?(this.elements=function(t){return Array.isArray(t)?t:"object"==typeof t&&"number"==typeof t.length?l.call(t):[t]}(s),this.options=i({},this.options),"function"==typeof e?n=e:i(this.options,e),n&&this.on("always",n),this.getImages(),r&&(this.jqDeferred=new r.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||t))}function n(t){this.img=t}function s(t,e){this.url=t,this.element=e,this.img=new Image}var r=t.jQuery,a=t.console,l=Array.prototype.slice;o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&d[e]){for(var i=t.querySelectorAll("img"),o=0;o<i.length;o++){var n=i[o];this.addImage(n)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(o=0;o<s.length;o++){var r=s[o];this.addElementBackgroundImages(r)}}}};var d={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,o=i.exec(e.backgroundImage);null!==o;){var n=o&&o[2];n&&this.addBackground(n,t),o=i.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new n(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var i=new s(t,e);this.images.push(i)},o.prototype.check=function(){function t(t,i,o){setTimeout((function(){e.progress(t,i,o)}))}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach((function(e){e.once("progress",t),e.check()})):void this.complete()},o.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&&a&&a.log("progress: "+i,t,e)},o.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)}},n.prototype=Object.create(e.prototype),n.prototype.check=function(){return this.getIsImageComplete()?void 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),void(this.proxyImage.src=this.img.src))},n.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},n.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(n.prototype),s.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())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o}));
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.