1!function i(o,a,r){function s(t,e){if(!a[t]){if(!o[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=a[t]={exports:{}},o[t][0].call(n.exports,function(e){return s(o[t][1][e]||e)},n,n.exports,i,o,a,r)}return a[t].exports}for(var l="function"==typeof require&&require,e=0;e<r.length;e++)s(r[e]);return s}({1:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=(e=e("../mjs-masonry/mjs-masonry.js"))&&e.__esModule?e:{default:e};var o={init:function(){o.initShowMore(),o.initMasonry()},initMasonry:function(){if(!document.querySelector('[class$="--major"]'))for(var e=document.querySelectorAll(".lumen-dynamic-layout--masonry .lumen-dynamic-layout__items"),t=e.length;t--;){var n=e[t];i.default.init(n)}},initShowMore:function(){Array.prototype.forEach.call(document.querySelectorAll(".lumen-dynamic-layout__items"),function(e){var t,n;e.querySelector(".lumen-dynamic-layout__show-more")&&(t=e.dataset.show,n=Math.floor(t)+1,e.childElementCount>n&&(e.classList.add("lumen-dynamic-layout__items--max-enabled"),e.querySelector(".lumen-dynamic-layout__item:nth-child("+t+")").classList.add("lumen-dynamic-layout__item--last-shown-item")),e.querySelector(".lumen-dynamic-layout__show-more").addEventListener("click",function(){e.classList.remove("lumen-dynamic-layout__items--max-enabled"),o.initMasonry()}))})}};n.default=o},{"../mjs-masonry/mjs-masonry.js":13}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=(e=e("../mjs-throttle/mjs-throttle.js"))&&e.__esModule?e:{default:e};var s={init:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.customEvents,t=void 0===t?[]:t,n=e.padding,n=void 0===n?300:n,i=e.lazyClass,o=void 0===i?"lumen-image__lazy":i,i=e.loadedClass,a=void 0===i?"lumen-image__loaded":i,i=e.noJSClass,e=void 0===i?"no-js":i;s.images=document.getElementsByClassName(o),s.padding=n,s.noJSClass=e,s.events=["scroll","hashchange","touchend","resize","click","orientationchange","keyup"].concat(t),s.handleImagesThrottled=(0,r.default)(function(){return s.handleImages(o,a)},20),s.observer=new MutationObserver(function(){s.startLoader(o,a)}),s.startLoader(o,a)},startLoader:function(e,t){s.observer.disconnect(),s.handleImages(e,t),s.addEvents()},addEvents:function(){s.events.forEach(function(e){window.addEventListener(e,s.handleImagesThrottled)})},removeEvents:function(){s.events.forEach(function(e){window.removeEventListener(e,s.handleImagesThrottled)})},handleImages:function(i,o){0===s.images.length?(s.observer.observe(document.body,{childList:!0,subtree:!0}),s.removeEvents()):[].filter.call(s.images,s.inRange).forEach(function(e){function t(){0===e.querySelectorAll("source:not(.".concat(o,")")).length&&(s.updateState(e,i,o),n.removeEventListener("load",t))}var n=e.querySelector("img");[].some.call(e.querySelectorAll("source"),function(e){if(window.matchMedia(e.getAttribute("media")).matches)return e.classList.contains(o)||(s.changeAttributes({"data-srcset":"srcset"}).call(e),e.classList.add(o)),!0}),s.changeAttributes({"data-src":"src"}).call(n),n.dataset.srcset&&s.changeAttributes({"data-srcset":"srcset"}).call(n);n.addEventListener("load",t)})},updateState:function(e,t,n){e.classList.remove(t),e.classList.add(n)},changeAttributes:function(n){return function(){var t=this;Object.keys(n).forEach(function(e){return t.setAttribute(n[e],t.getAttribute(e))})}},inRange:function(e){var t=e.getBoundingClientRect(),n=s.padding;return e.classList.remove(s.noJSClass),null!==e.offsetParent&&t.bottom>=0-n&&t.top<=window.innerHeight+n&&t.right>=0-n&&t.left<=window.innerWidth+n}};n.default=s},{"../mjs-throttle/mjs-throttle.js":17}],3:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=(e=e("../mjs-social-helper/mjs-social-helper.js"))&&e.__esModule?e:{default:e};n.default={init:function(){[].slice.call(document.querySelectorAll(".lumen-quote__twitter")).forEach(function(e){i.default.appendCurrentUrlToLink(e),e.addEventListener("click",i.default.openSocialShareWindow)})}}},{"../mjs-social-helper/mjs-social-helper.js":15}],4:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=(e=e("../../libs/mjs-spillout/mjs-spillout.js"))&&e.__esMo
1dule?e:{default:e};n.default={init:function(){var i=document.querySelector(".lumen-sub-nav__list"),e=document.querySelector(".lumen-sub-nav__advance"),t=document.querySelector(".lumen-sub-nav__retreat");if(!i)return!1;function n(e){function t(e){e.stopPropagation(),o(),document.body.removeEventListener("click",t)}e.preventDefault(),e.stopPropagation();var n=(e=e.currentTarget.parentElement).querySelector("ul"),i=n.classList.contains("active");o(),i||(i=e.getBoundingClientRect().left,n.style.right="auto",n.style.left=i+"px",e.classList.add("open"),n.classList.add("active"),Math.ceil(i)+n.clientWidth>=document.body.clientWidth&&(n.style.right=0,n.style.left="auto"),document.body.addEventListener("click",t))}function o(){for(var e=i.querySelectorAll("li.open"),t=e.length;t--;){var n=e[t];n.classList.remove("open"),n.querySelector("ul").classList.remove("active")}}[].slice.call(i.querySelectorAll("li span")).forEach(function(e){e.addEventListener("click",n)}),i.addEventListener("leftOverflowChange",function(){t.classList.toggle("active")}),i.addEventListener("rightOverflowChange",function(){e.classList.toggle("active")}),(0,a.default)({container:i,advance:e,retreat:t})}}},{"../../libs/mjs-spillout/mjs-spillout.js":16}],5:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=(e=e("../mjs-make-fit/mjs-make-fit.js"))&&e.__esModule?e:{default:e};var o={init:function(){var e,t,n=document.querySelector(".lumen-title-block--overlay");o.observer=new MutationObserver(function(e){e.forEach(function(e){o.removeTitleOverlayOnVideo(e.target)})}),n&&(e=n.querySelector(".lumen-media-block img"),t=n.querySelector(".lumen-video"),e?(o.initMakeFit(n,e),t&&(t.titleBlock=n,o.observer.observe(t,{attributes:!0,attributeFilter:["class"]}))):n.classList.remove("lumen-title-block--overlay"))},initMakeFit:function(e,t){e=i.default.init({elemToFit:e.querySelector(".lumen-title-block__heading-wrapper"),elemToTestFit:e.querySelector(".lumen-title-block__title-wrapper"),elemsToAddClassTo:[e],sizeClasses:["lumen-title-block--fit-small","lumen-title-block--fit-smaller","lumen-title-block--fit-smallest"],fitType:["height"]});e.run(),t.onload=e.run},removeTitleOverlayOnVideo:function(e){var t;e.classList.contains("mediaLoader--open")?(t=e.getBoundingClientRect(),e.titleBlock.classList.add("lumen-title-block--overlay--play"),window.scrollBy(0,e.getBoundingClientRect().top-t.top)):(t=e.titleBlock.getBoundingClientRect(),e.titleBlock.classList.remove("lumen-title-block--overlay--play"),window.scrollBy(0,e.titleBlock.getBoundingClientRect().height-t.height))}};n.default=o},{"../mjs-make-fit/mjs-make-fit.js":12}],6:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=r(t("../mjs-youtube-check/mjs-youtube-check.js")),a=r(t("../mjs-load-script/mjs-load-script.js"));function r(e){return e&&e.__esModule?e:{default:e}}var s={init:function(){document.querySelector(".lumen-video")&&(o.default.check(),"undefined"==typeof mediaLoader?("undefined"==typeof cdnURL||"//localhost:3000"===cdnURL||"//local.lds.org"===cdnURL?(0,a.default)("https://edge.ldscdn.org/cdn2/common/media-loader/5.0.1/index.min.js",function(){s.attachMediaLoader()}):(0,a.default)(cdnURL+"/cdn2/common/media-loader/5.0.1/index.min.js",function(){s.attachMediaLoader()}),window.LDS={},LDS.setVideoPlayer=function(e,t){var n,i;e?(n=document.getElementById(e),(i=window["mlobj_"+e])?("nbc"===t?i.params.videoID?i.type="nbc":console.warn("No videoID provided"):"yt"===t?i.youtubeid?i.type="yt":console.warn("No youtubeID provided"):"jw"===t?i.jwfile?i.type="jw":console.warn("No jwfile provided"):"bc"===t&&(i.params.playerID?i.type="bc":console.warn("No playerID provided")),n.mediaLoader("option","mediaList")[e].type=t,console.log(e+" will now be loaded using the "+t+" player.")):console.warn("No match found for: "+e)):console.warn("No mediaID provided")}):s.attachMediaLoader(),s.setupJumpPrevention(),s.deepLinker())},deepLinker:function(){function t(){n.mediaLoader("open",o)}var n=document.querySelector(".lumen-video"),i=n.querySelector("a"),o=n.id;i?[].forEach.call(document.querySelectorAll('a[href^="#0"]'),function(e){e.addEventListener("click",t)}):e.removeEventListener("click",t)},attachMediaLoader:function(){var r=document.querySelectorAll(".lumen-video");o.default.check().then(function(e){for(var t={useHash:!1,leaveOthersOpen:!1,youTubeCheck:e,mediaList:{}},n=0;n<r.length;n++){var i=r[n],o=t,a=window["mlobj_"+i.id];o.mediaList[i.id]={},a.type&&(o.mediaList[i.id].type=a.type),a.fallback&&(o.mediaList[i.id].fallback=a.fallback),a.youtubeid&&(o.mediaList[i.id].youtubeid=a.youtubeid),a.jwfile&&(o.mediaList[i.id].jwfile=a.jwfile),a.analyticsEnabled&&(o.mediaList[i.id].analytics=a.analyticsEnabled),a.analyticsTitle&&(o.mediaList[i.id].title=a.analyticsTitle),a.analyticsProduct&&(o.mediaList[i.id].product=a.analyticsProduct),o.mediaList[i.id].params={},a.params.autoStart?o.mediaList[i.id].params.autoStart=a.params.autoStart:
1o.mediaList[i.id].params.autoStart="true",a.params.videoID&&(o.mediaList[i.id].params.videoID=a.params.videoID),a.params.playlistID&&(o.mediaList[i.id].params.playlistID=a.params.playlistID),a.params.account&&(o.mediaList[i.id].params.account=a.params.account),a.params.player&&(o.mediaList[i.id].params.player=a.params.player),a.params["@videoPlayer"]&&(o.mediaList[i.id].params["@videoPlayer"]=a.params["@videoPlayer"]),a.params.playerID&&(o.mediaList[i.id].params.playerID=a.params.playerID),a.params.playerKey&&(o.mediaList[i.id].params.playerKey=a.params.playerKey),window.mediaLoader("#"+i.id,o)}})},setupJumpPrevention:function(){function t(e){n=e.currentTarget,i=n.getBoundingClientRect().top}var n,i,o=new MutationObserver(function(){n&&(window.scrollBy(0,n.getBoundingClientRect().top-i),i=n=void 0)});[].forEach.call(document.querySelectorAll(".lumen-video"),function(e){e.addEventListener("click",t),o.observe(e,{attributes:!0,attributeFilter:["class"]})})}};i.default=s},{"../mjs-load-script/mjs-load-script.js":11,"../mjs-youtube-check/mjs-youtube-check.js":18}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e){function t(){}function n(e,t){if(t)try{var n,i,e=e.match(/<body.*?>[\w\W]*<\/body>/)[0].replace(/<body.*?>/,"").replace(/<\/body>/,"");"body"!==t&&((n=document.createElement("iframe")).style.display="none",document.body.appendChild(n),(i=n.document||n.contentDocument||n.contentWindow.document).body.innerHTML=e,e=i.querySelector(t).innerHTML,n.parentElement.removeChild(n))}catch(e){}return e}var i={url:e.url,type:e.type||"GET",data:e.data||null,success:e.success||t,failure:e.failure||t,complete:e.complete||t,container:e.container||"",caller:e.caller||"",sendingJson:e.sendingJson||!1},o=new XMLHttpRequest;o.onreadystatechange=function(){var e;4===o.readyState&&(e={val:o.responseText,raw:o.responseText,status:o.status,statusText:o.statusText,caller:i.caller},""!==i.container&&(e.val=n(o.responseText,i.container)),i.success&&200<=e.status&&e.status<300?i.success(e):i.failure&&(e.status<200||300<=e.status)&&i.failure(e),i.complete)&&i.complete(e)},o.open(i.type,i.url,!0),i.sendingJson?(o.setRequestHeader("Content-Type","application/json; charset=UTF-8"),o.send(JSON.stringify(i.data))):o.send(i.data)}},{}],8:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){function t(e){(e-=u)<r?(l(c[s](e,i,a,r)),window.requestAnimationFrame(t)):l(c[s](r,i,a,r))}var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=e.start,i=void 0===n?0:n,n=e.end,n=void 0===n?1:n,o=e.amount,a=void 0===o?a||n-i:o,n=e.duration,r=void 0===n?1e3:n,o=e.easing,s=void 0===o?"inOutCubic":o,l=e.callback,u=window.performance.now();t(u)},n.easingFunctions=void 0;var c={inCubic:function(e,t,n,i){return n*(e/=i)*e*e+t},outCubic:function(e,t,n,i){return n*((e=e/i-1)*e*e+1)+t},inOutCubic:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t}};n.easingFunctions={inCubic:c.inCubic,outCubic:c.outCubic,inOutCubic:c.inOutCubic}},{}],9:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={set:function(e,t,n){if("string"!=typeof e||""===e.trim())throw new Error("set() expects a string value for name");var i,o="";n&&((i=new Date).setTime(i.getTime()+24*n*60*60*1e3),o="; expires="+i.toGMTString()),document.cookie=e+"="+t+o+"; path=/"},get:function(e){for(var t=e.trim()+"=",n="",i=document.cookie.split(";"),o=0,a=i.length;o<a;o++){var r=i[o].trim();if(0===r.indexOf(t))return n=r.substring(t.length,r.length),encodeURIComponent(n)}return encodeURIComponent(n)},remove:function(e){this.set(e,"",-1)}}},{}],10:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(n,i,o){var a;return function(){var e=this,t=arguments;o&&!a&&n.apply(e,t),clearTimeout(a),a=setTimeout(function(){a=null,o||n.apply(e,t)},i)}}},{}],11:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e,t){if("string"!=typeof e||""===e.trim())throw new Error("url should be a valid string");var n=document.createElement("script"),i=document.querySelector("script");n.async=!0,n.src=e,n.onload=n.onreadystatechange=function(){var e=this.readyState;e&&"complete"!==e&&"loaded"!==e||t&&t()},i.parentNode.insertBefore(n,i)}},{}],12:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={options:{},init:function(e){var t={};return t.options={elemToFit:(e=e||{}).elemToFit,sizeClasses:e.sizeClasses||["makeFit-small","makeFit-smaller","makeFit-smallest"],resize:e.resize||function(){window.addEventListener("resize",t.run),window.addEventListener("orientationchange",t.run)},fitType:e.fitType||["height","width"],maxHeight:e.maxHeight||void 0},t.options.elemToTestFit=e.elemToTestFit||t.options.elemToFit.parentElement,t.options.elemsToAddClassTo=e.elemsToAddClassTo||[t.options.elemToTestFit],t.run=function(){i.run({mf:t})},t.removeClasses=function(){i.removeClasses({sizeClasses:t.options.sizeClasses,elemsToAddClassTo:t.options.elemsToAddClassTo})},t.testNotFit=function(){return i.testNotFit({elemToTestFit:t.options.elemToTestFit,elemToFit:t.options.elemToFit,fitType:t.options.fitType,maxHeight:t.options.maxHeight})},t.addClass=function(e){i.addClass({index:e,sizeClasses:t.options.sizeClasses,mf:t,elemsToAddClassTo:t.options.elemsToAddClassTo})},t.options.resize&&t.options.resize(),t},run:function(e){e.mf.removeClasses(),e.mf.addClass(0)}
1,removeClasses:function(e){e.sizeClasses.forEach(function(t){e.elemsToAddClassTo.forEach(function(e){e.classList.remove(t)})})},testNotFit:function(e){var t=!1,n=e.elemToTestFit,i=e.elemToFit,o=e.fitType.length;if("function"==typeof e.fitType)t=e.fitType(i,n);else for(;o--;){switch(e.fitType[o]){case"width":t=Math.floor(i.scrollWidth)>Math.floor(i.offsetWidth)+1;break;case"maxHeight":void 0===e.maxHeight&&console.error("If you have a type of maxHeight you need to specify a max height in the options."),t=i.offsetHeight>e.maxHeight;break;case"height":t=i.offsetHeight>n.offsetHeight}if(t)break}return t},addClass:function(e){var t=e.sizeClasses[e.index],n=e.elemsToAddClassTo.length;if(e.mf.testNotFit()){for(e.mf.removeClasses();n--;)e.elemsToAddClassTo[n].classList.add(t);e.index+1<e.sizeClasses.length&&e.mf.addClass(e.index+1)}}};n.default=i},{}],13:[function(e,t,n){var i=(e=e("../mjs-throttle/mjs-throttle.js"))&&e.__esModule?e:{default:e};var o={init:function(e){var t,n;if(e&&e.childElementCount)return n=function(){t.run()},(t={}).opts={container:e},t.run=function(){return o.run(t.opts.container)},0<(e=[].slice.call(t.opts.container.querySelectorAll("img"))).length&&e.forEach(function(e){e.addEventListener("load",n)}),o.resize(t.run),t.run(),t},resizeFunctions:[],resize:function(e){o.resizeFunctions.push(e),o.onResize||(o.onResize=(0,i.default)(function(){o.resizeFunctions.forEach(function(e){e()})},10),window.addEventListener("resize",o.onResize),window.addEventListener("orientationchange",o.onResize))},run:function(e){var t={container:e};"static"!==getComputedStyle(e).position&&"relative"===e.style.position||(e.style.position="relative"),t.items=o.getItems(t.container),t.columns=o.getColumns(t.items.topRow),o.fill(t)},getChildren:function(e){return[].slice.call(e.children).filter(function(e){return!e.classList.contains("masonry__ignore")&&"none"!==getComputedStyle(e).display&&!(e.style.position="")})},getItems:function(e){var t={all:o.getChildren(e),topRow:[]};return t.all.forEach(function(e){0===e.offsetTop&&t.topRow.push(e)}),t},getMargin:function(e){return parseInt(getComputedStyle(e)["margin-bottom"],10)},getColumns:function(e){var t=[];return e.forEach(function(e){t.push(e.offsetLeft)}),{number:e.length,left:t,marginBottom:o.getMargin(e[0])}},fill:function(i){for(var o=[],e=i.columns.number;e--;)o.push({height:0});i.items.all.forEach(function(e){var t=getComputedStyle(e).position,n=(()=>{for(var e,t,n=0;n<o.length;n++){var i=o[n].height;(void 0===e||i<e)&&(e=i,t=n)}return t})();"absolute"===t&&"absolute"===e.style.position||(e.style.position="absolute"),e.style.left=i.columns.left[n]+"px",e.style.top=o[n].height+i.columns.marginBottom+"px",o[n].height+=e.clientHeight+i.columns.marginBottom,i.container.style.height=o[(()=>{for(var e,t,n=0;n<o.length;n++){var i=o[n].height;(void 0===e||e<i)&&(e=i,t=n)}return t})()].height+i.columns.marginBottom+"px"})}};t.exports=o},{"../mjs-throttle/mjs-throttle.js":17}],14:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;function s(e){return e.replace(/</g,"<").replace(/>/g,">")}n.default=function(e){if("string"!=typeof e||""===e.trim())throw new Error("key should be a valid string");e=encodeURIComponent(e.trim());for(var t=window.location.search.substring(1).split("&"),n={val:"",arr:[]},i=0,o=t.length;i<o;i++){var a=t[i].split("=");a[0]===e&&(a=decodeURIComponent(a[1]),n.val=a,n.arr=a.split(","),i=o)}n.val=s(n.val);for(var r=0;r<n.arr.length;r++)n.arr[r]=s(n.arr[r]);return n}},{}],15:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={socialWindowPopup:null,previousUrl:"",appendCurrentUrlToLink:function(e){"="===e.href.charAt(e.href.length-1)&&(e.href+=window.location.href)},openSocialShareWindow:function(e){e.preventDefault();e="width=500,height=500";null===i.socialWindowPopup||i.socialWindowPopup.closed?i.socialWindowPopup=window.open(this.href,this.target,e):(i.previousUrl!==this.href&&(i.socialWindowPopup=window.open(this.href,this.target,e)),i.socialWindowPopup.focus()),i.previousUrl=this.href}};n.default=i},{}],16:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Spillout=void 0,n.default=function(e){var t=e.container,n=e.advance,i=e.retreat,o=e.active,a=e.activeOffset,a=void 0===a?0:a,r=e.scrollDuration,s=void 0===r?1e3:r,r=e.scrollAmount,l=void 0===r?function(){return t.clientWidth}:r,u=f();u.overflowEvents(t),t.addEventListener("scroll",(0,d.default)(function(){u.overflowEvents(t)},30)),window.addEventListener("resize",(0,c.default)(function(){u.overflowEvents(t)},250)),u.setupDragEvents(t),n&&n.addEventListener("click",function(){u.animateScroll(l(),s,t)}),i&&i.addEventListener("click",function(){u.animateScroll(-1*l(),s,t)}),o&&(t.scrollLeft=o.offsetLeft-a);return u};var c=i(e("../mjs-debounce/mjs-debounce.js")),d=i(e("../mjs-throttle/mjs-throttle.js")),a=i(e("../mjs-animate/mjs-animate.js"));
1function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n,i,o;n=e.scrollWidth,i=e.clientWidth,o=e.scrollLeft,!(Math.abs(n-i-o)<=1)!==t.right&&(t.right=!t.right,l(e,"rightOverflowChange",{overflowStatus:t.right})),1<e.scrollLeft!==t.left&&(t.left=!t.left,l(e,"leftOverflowChange",{overflowStatus:t.left}))}function r(t,e,n){var i=n.scrollLeft,o=[0,n.scrollWidth-n.clientWidth,i+t];t=o[1]+o[2]-Math.min.apply(Math,o)-Math.max.apply(Math,o)-i,(0,a.default)({duration:e,callback:function(e){n.scrollLeft=i+t*e}})}function s(e){var t=e.clientX,n=e.currentTarget;n.style.overflowX="hidden",window.onmousemove=(0,d.default)(function(e){n.scrollLeft-=e.clientX-t,t=e.clientX},20),window.onmouseup=function(){n.style.overflowX=null,window.onmousemove=null,window.onmouseup=null}}var l=function(e,t,n){var i=document.createEvent("Event");i.initEvent(t,!0,!0),i.details=n,e.dispatchEvent(i)},f=function(){var t={overflow:{left:!1,right:!1},overflowEvents:function(e){o(e,t.overflow)},animateScroll:r,setupDragEvents:function(e){e.addEventListener("mousedown",s)}};return t};n.Spillout={init:f}},{"../mjs-animate/mjs-animate.js":8,"../mjs-debounce/mjs-debounce.js":10,"../mjs-throttle/mjs-throttle.js":17}],17:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(n,i){var o=!0,a=!0;return function(){var e,t;o&&(t=(e=arguments)[0]?arguments[0].target:this,a&&n.apply(t,e),a=o=!1,setTimeout(function(){o=!0,n.apply(t,e)},i))}}},{}],18:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=(e=e("../mjs-cookie/mjs-cookie.js"))&&e.__esModule?e:{default:e};n.default={init:function(){this.check()},check:function(){return new Promise(function(e,t){var n,i,o="mjs-youtube",a=r.default.get(o);""===a?(n=new Image,i=(new Date).getTime(),n.src="//www.youtube.com/favicon.ico?".concat(i),n.onload=function(){r.default.set(o,!0,1/24),e("true")},n.onerror=function(){r.default.set(o,!1,1/24),e("false")},r.default.get(o)):e("true"===a)})}}},{"../mjs-cookie/mjs-cookie.js":9}],19:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var v=i(e("../mjs-ajax/mjs-ajax.js")),y=i(e("../mjs-query-string/mjs-query-string.js"));function i(e){return e&&e.__esModule?e:{default:e}}var w={path:"",init:function(){if(!(document.querySelectorAll(".publisher-form-admin").length<=0)){var e=window.location.pathname,n=(w.path=e.endsWith("/")?e:e+"/",document.querySelectorAll(".publisher-form-admin__component-item")),i=document.getElementById("search-field"),e=function(){var t=i.value;[].forEach.call(n,function(e){-1===e.getAttribute("data-meta").toLowerCase().indexOf(t.toLowerCase())?e.classList.add("hidden"):e.classList.remove("hidden")})},t=function(){this.classList.toggle("active"),this.parentElement.querySelector(".publisher-form-admin__metadata-section").classList.toggle("active")},o=function(e){var t=0<=window.location.host.toLowerCase().indexOf("local")?window.location.pathname.substring(0,window.location.pathname.indexOf("/admin")):"",n=e.parentElement.parentElement.querySelector(".view-page"),i=e.parentElement.querySelector("a"),t=window.location.origin+t+e.value;i.dataset.uri=e.value,n.innerHTML=t,n.href=t},a=function(e){function n(e){"-1"===JSON.parse(e.val).result.status?s.fail.push({component:e.caller.querySelector("h2").innerHTML,result:e,status:"Failed"}):s.success.push({component:e.caller.querySelector("h2").innerHTML,result:e,status:"Succeded"})}function i(e){s.fail.push({component:e.caller.querySelector("h2").innerHTML,result:e,status:"Failed"})}function o(){var n,e;++r===a.length&&(t.classList.remove("ajaxn"),n="<h2>Bulk Update Results:</h2>",(e=function(e,t){n+="<h3>".concat(e,"</h3>"),0<t.length?(n+="<ul>",t.forEach(function(e){n+="<li>\n <p>".concat(e.component,"</p>\n </li>")}),n+="</ul>"):n+="<div> There were no items in '".concat(e,"'</div>")})("Failed",s.fail),e("Success",s.success),n+="<p>\n <small>* if you would like to see more details, open your console and look for the result object.</small>\n </p>\n <p>\n <small>â To see your list of components, refresh the page.</small>\n </p>",console.log(s),document.querySelector(".publisher-form-admin__item-container").innerHTML=n)}var t=e.currentTarget,a=[].slice.call(document.querySelectorAll(".publisher-form-admin__component-item.created.valid")),r=0,s={success:[],fail:[]};t.classList.add("ajaxn"),a.forEach(function(e){var t=e.querySelector(".create-form-button");(0,v.default)({type:"POST",complete:o,success:n,failure:i,container:"",caller:e,data:{path:t.dataset.path},url:w.path+"create-form",sendingJson:!0})})},r=function(e){var e=e.currentTarget,t=(e.classList.add("ajaxn"),{type:"POST",complete:s,container:"",caller:e,sendingJson:!0}),n={"view-template":w.path+"view-template","view-data":w.path+"view-data","view-schema":w.path+"get-schema","view-aggregated-schema":w.path+"get-aggregated-schema","create-form":w.path+"create-form","create-content":w.path+"check-for-content","view-form":w.path+"view-form","delete-form":w.path+"delete-form"};t.url=n[e.dataset.formname],e.dataset.schema&&""!==e.dataset.schema?t.data={schema:e.dataset.schema}:e.dataset.form&&""!==e.dataset.form?t.data={"form-name":e.dataset.form}:e.dataset.path&&""!==e.dataset.path?t.data={path:e.dataset.path}
1:e.dataset.uri&&""!==e.dataset.uri&&(t.data={uri:e.dataset.uri}),(0,v.default)(t)},s=function(e){e.caller.classList.remove("ajaxn");for(var t=e.caller,n="",i=JSON.parse(e.val.replace(/</gi,"<").replace(/>/gi,">").replace(/\\n/gi,"<br>").replace(/\\t/gi," "));!t.classList.contains("publisher-form-admin__component-item");)t=t.parentElement;i.responseText&&(n+=i.responseText.replace(/\\"/gi,'"')+"<br>"),i.result&&(i.result.message&&(n+=i.result.message.replace(/\\"/gi,'"')+"<br>"),i.result.content&&(n+=i.result.content.replace(/\\"/gi,'"')+"<br>"),i.result.location&&(n+=i.result.location.replace(/\\"/gi,'"')+"<br>"),i.result.form)&&(n+=i.result.form.replace(/\\"/gi,'"')+"<br>"),t.querySelector(".publisher-form-admin__code-container").innerHTML="<pre><code>"+n+"</pre></code>",i.result.foundContent&&window.open(e.caller.dataset.createurl+e.caller.dataset.uri),"create-form"!==e.caller.dataset.formname&&"delete-form"!==e.caller.dataset.formname||window.setTimeout(function(){window.location=w.path+"?q="+t.querySelector("h2").innerHTML},1e3)},l=document.querySelectorAll(".content-path"),u=l.length,c=function(){o(this)},d=document.querySelectorAll("[data-formname]"),f=d.length,m=document.querySelectorAll(".publisher-form-admin__component-item > h2"),p=m.length,h=document.querySelectorAll(".publisher-form-admin__update-all"),g=h.length;for(i.addEventListener("keyup",e),i.value=(0,y.default)("q").val,e();u--;)o(l[u]),l[u].addEventListener("keyup",c);for(;f--;)d[f].addEventListener("click",r);for(;p--;)m[p].addEventListener("click",t);for(;g--;)h[g].addEventListener("click",a)}}};n.default=w},{"../mjs-ajax/mjs-ajax.js":7,"../mjs-query-string/mjs-query-string.js":14}],20:[function(e,t,n){var i=(e=e("../mjs-social-helper/mjs-social-helper.js"))&&e.__esModule?e:{default:e};var o={init:function(){[].slice.call(document.querySelectorAll(".spark-content-actions")).forEach(function(e){o.initActions(e),o.initSocialButtons(e)})},initActions:function(e){[].slice.call(e.querySelectorAll("[data-content-action]")).forEach(function(e){var t=o.actions[e.dataset.contentAction];e.addEventListener("click",t)})},initSocialButtons:function(e){[].slice.call(e.querySelectorAll(".spark-content-actions__twitter, .spark-content-actions__facebook, .spark-content-actions__ok, .spark-content-actions__vk, .spark-content-actions__google-plus, .spark-content-actions__whatsapp")).forEach(function(e){i.default.appendCurrentUrlToLink(e),e.addEventListener("click",i.default.openSocialShareWindow)})},actions:{print:function(){window.print()}}};t.exports=o},{"../mjs-social-helper/mjs-social-helper.js":15}],21:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={drawerTriggerClass:"spark-drawer__title",drawerContainerClass:"spark-drawer__container",collapseAll:function(e,t){var n=".".concat(i.drawerTriggerClass,"[aria-expanded=true]"),e=e.parentElement.querySelectorAll(n),n=t.parentElement.querySelectorAll(".".concat(i.drawerContainerClass,".active"));Array.from(e,function(e){return e.setAttribute("aria-expanded","false")}),Array.from(n,function(e){return e.classList.remove("active")})},toggle:function(e){var t=e.getAttribute("aria-expanded"),n=document.getElementById(e.hash.slice(1));"false"===e.getAttribute("data-multi-expand")&&i.collapseAll(e,n),e.setAttribute("aria-expanded","false"===t?"true":"false"),n&&n.classList["false"===t?"add":"remove"]("active")},init:function(){Array.prototype.slice.call(document.querySelectorAll("."+i.drawerTriggerClass)).map(function(t){t.addEventListener("click",function(e){e.preventDefault(),i.toggle(t)})})}};n.default=i},{}],22:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=(e=e("../mjs-make-fit/mjs-make-fit.js"))&&e.__esModule?e:{default:e};n.default={init:function(){for(var e=document.querySelectorAll(".spark-feature:not(.spark-feature--text-right)"),t=e.length,n=["spark-feature--fit-small","spark-feature--fit-smaller","spark-feature--fit-smallest"];t--;){var i=e[t],o=c.default.init({elemToFit:i.querySelector(".spark-feature__text"),elemToTestFit:i.querySelector(".spark-feature"),sizeClasses:n,fitType:["height"]});i.querySelector(".lumen-image img").onload=o.run}for(var a=document.querySelectorAll(".spark-feature--text-right"),r=a.length,s=["spark-feature--text-right--fit-small","spark-feature--text-right--fit-smaller","spark-feature--text-right--fit-smallest"];r--;){var l=a[r],u=c.default.init({elemToFit:l.querySelector(".spark-feature__text"),elemToTestFit:l.querySelector(".lumen-image"),sizeClasses:s,elemsToAddClassTo:[l],fitType:["height"]});l.querySelector(".lumen-image img").onload=u.run}}}},{"../mjs-make-fit/mjs-make-fit.js":12}],23:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("scroll-to-element"),i={init:function(){[].forEach.call(document.querySelectorAll(".spark-image-gallery-item"),function(e,t,n){e.querySelector(".lumen-image").addEventListener("click",function(){i.handleItem
1Click(e,n)})}),[].forEach.call(document.querySelectorAll(".spark-image-gallery-item__drawer__close"),function(e){e.addEventListener("click",function(){var e=i.closest(this,"spark-image-gallery-item");i.closeItem(e)})}),[].forEach.call(document.querySelectorAll(".spark-image-gallery-item__drawer__download"),function(e){e.addEventListener("click",function(){i.toggleDownloadsActive(this,!1)})}),[].forEach.call(document.querySelectorAll(".spark-image-gallery-item__downloads__close, .spark-image-gallery-item__downloads__buttons .lumen-button"),function(e){e.addEventListener("click",function(){i.toggleDownloadsActive(this,!0)})})},handleItemClick:function(e,t){e=i.toggleItemSelected(e,t);i.displayDrawer(e)},displayDrawer:function(e){var t,n,i=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];e&&(n=e.parentElement,t=e.querySelector(".spark-image-gallery-item__drawer"),e.style.marginBottom=t.offsetHeight+30+"px",t.style.left=n.offsetLeft-e.offsetLeft+"px",t.style.top=e.offsetHeight+15-1+"px",n=t.getBoundingClientRect(),i)&&n.bottom-40>window.innerHeight&&o(e,{offset:-20,ease:"inOutQuad",duration:500})},toggleItemSelected:function(e,t){var n=null;return e.classList.contains("selected")?i.closeItem(e):([].forEach.call(t,function(e){i.closeItem(e)}),e.classList.add("selected"),n=e),n},toggleDownloadsActive:function(e,t){var n=i.closest(e,"spark-image-gallery-item__drawer");t?n.classList.remove("spark-image-gallery-item__drawer--downloads-active"):n.classList.add("spark-image-gallery-item__drawer--downloads-active"),i.displayDrawer(i.closest(e,"spark-image-gallery-item"),!1)},closeItem:function(e){null!==e&&(e.classList.remove("selected"),e.style.marginBottom="")},closest:function(e,t){for(;e!==document.body;){if(e.classList.contains(t))return e;e=e.parentElement}return null}};n.default=i},{"scroll-to-element":37}],24:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("../mjs-debounce/mjs-debounce.js")),s=i(e("../spark-image-gallery-item/spark-image-gallery-item.js"));function i(e){return e&&e.__esModule?e:{default:e}}var l=e("justified-layout"),u=3,c={init:function(){[].forEach.call(document.querySelectorAll(".spark-image-gallery"),function(t){var e=t.dataset.aspectRatios,n=[];if(u=parseInt(t.dataset.numOfRows,10),e)n=e.split(",").map(function(e){return parseFloat(e)}),c.initJustifiedLayout(t,n,u);else for(var i=t.querySelectorAll(".spark-image-gallery-item > .lumen-image .lumen-image__image"),o=0,a=i.length;o<a;o++)i[o].onload=function(){n=[],[].forEach.call(i,function(e){e=e.naturalWidth/e.naturalHeight;(isNaN(e)||e<=0)&&(e=1),n.push(e)}),c.initJustifiedLayout(t,n,u)};e=(0,r.default)(function(){c.initJustifiedLayout(t,n,u);var e=t.querySelector(".spark-image-gallery-item.selected");s.default.displayDrawer(e)},200);window.addEventListener("resize",e),t.querySelector(".spark-image-gallery__load-more").addEventListener("click",function(){var e=parseInt(t.dataset.numRowsToLoad,10);c.loadMoreRows(t,n,e)})})},initJustifiedLayout:function(e,t,n){var i=e.offsetWidth,t=l(t,{containerWidth:i+20,containerPadding:10,maxNumRows:n,showWidows:!0}),o=e.querySelectorAll(".spark-image-gallery-item");if(t.boxes.forEach(function(e,t){o[t].style.display="inline-block",o[t].style.width=e.width+"px"}),o.length>t.boxes.length){e.querySelector(".spark-image-gallery__load-more").style.display="inline-block";for(var a=t.boxes.length;a<o.length;a++)o[a].style.display="none",s.default.closeItem(o[a])}else e.querySelector(".spark-image-gallery__load-more").style.display=""},loadMoreRows:function(e,t){u+=2<arguments.length&&void 0!==arguments[2]?arguments[2]:3,c.initJustifiedLayout(e,t,u)}};n.default=c},{"../mjs-debounce/mjs-debounce.js":10,"../spark-image-gallery-item/spark-image-gallery-item.js":23,"justified-layout":30}],25:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={init:function(){[].forEach.call(document.querySelectorAll(".spark-multifile-upload__add-button"),function(i){var o=parseInt(i.parentElement.dataset.maxfiles,10),e=i.parentElement.querySelectorAll(".spark-input");isNaN(o)||e.length>=o?i.remove():i.addEventListener("click",function(){var e=i.parentElement.querySelectorAll(".spark-input"),t=e[0].cloneNode(!0),n=(t.setAttribute("for",t.getAttribute("for")+e.length),t.querySelector("input"));n.id=t.getAttribute("for"),n.value="",i.parentElement.insertBefore(t,i),e.length+1>=o&&i.remove()})})}}},{}],26:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={init:function(){[].forEach.call(document.querySelectorAll(".spark-order-form-module"),function(e){[].forEach.call(e.querySelectorAll(".spark-order-form-module__qbtn"),function(e){e.addEventListener("click",function(){var e=this.parentElement.querySelector(".spark-input input"),t=this.classList.contains("spark-order-form-module__qbtn--fewer"),n=parseInt(e.value,10),i=0,o=1;
1t&&(o=-(i=1)),e.value=i<=n?n+o:0})}),e.querySelector(".lumen-tile").addEventListener("click",function(e){e.preventDefault();e=this.parentElement.querySelector('input[type="checkbox"]');e.checked=!e.checked})})}}},{}],27:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={init:function(){for(var e=document.querySelectorAll(".spark-select--options-as-url select"),n=0;n<e.length;n++)(()=>{var t=!1;e[n].addEventListener("click",function(){t=!0}),e[n].addEventListener("keydown",function(e){t=!1,13!==e.keyCode&&9!==e.keyCode||(document.location.href=this.options[this.selectedIndex].value)}),e[n].addEventListener("change",function(){t&&(document.location.href=this.options[this.selectedIndex].value)})})()}}},{}],28:[function(e,t,n){var i=w(e("./libs/publisher-form-admin/_publisher-form-admin.js")),o=w(e("./libs/spark-feature/spark-feature.js")),a=w(e("./libs/spark-drawer/_spark-drawer.js")),r=w(e("./libs/lumen-video/_lumen-video.js")),s=w(e("./libs/lumen-quote/_lumen-quote.js")),l=w(e("./libs/spark-content-actions/_spark-content-actions.js")),u=w(e("./libs/lumen-dynamic-layout/_lumen-dynamic-layout.js")),c=w(e("./libs/spark-select/spark-select.js")),d=w(e("./libs/lumen-title-block/_lumen-title-block.js")),f=w(e("./libs/spark-image-gallery/spark-image-gallery.js")),m=w(e("./libs/spark-image-gallery-item/spark-image-gallery-item.js")),p=w(e("./libs/spark-multifile-upload/spark-multifile-upload.js")),h=w(e("./libs/spark-order-form-module/spark-order-form-module.js")),g=w(e("./libs/lumen-image/_lumen-image.js")),v=w(e("./libs/lumen-sub-nav/lumen-sub-nav.js")),y=w(e("./search.js"));function w(e){return e&&e.__esModule?e:{default:e}}window.SITE||(window.SITE={}),window.SITE.init=function(){r.default.init(),a.default.init(),o.default.init(),i.default.init(),u.default.init(),l.default.init(),s.default.init(),c.default.init(),d.default.init(),f.default.init(),m.default.init(),p.default.init(),g.default.init(),v.default.init(),h.default.init(),y.default.init()},window.onload=function(){window.digitalData=window.digitalData||[],window.digitalDataEvents={pageView:"Page View"};var e="www"===window.location.hostname.split(".")[0]?window.location.hostname.split(".")[1]:window.location.hostname.split(".")[0],t=window.location.pathname.replace(/\//g,"|").replace(/-/g," ").substring(1).replace(/\|$/,"");window.digitalData.push({event:window.digitalDataEvents.pageView,page:{info:{name:"".concat(e,"|").concat(t||"home"),language:window.platformConfig.dataConfig.lang,siteName:"Church of Jesus Christ"},category:{primary:"Area Communication Pages",type:"Content"}}})},window.addEventListener("DOMContentLoaded",function e(){window.SITE.init(),window.removeEventListener("DOMContentLoaded",e)})},{"./libs/lumen-dynamic-layout/_lumen-dynamic-layout.js":1,"./libs/lumen-image/_lumen-image.js":2,"./libs/lumen-quote/_lumen-quote.js":3,"./libs/lumen-sub-nav/lumen-sub-nav.js":4,"./libs/lumen-title-block/_lumen-title-block.js":5,"./libs/lumen-video/_lumen-video.js":6,"./libs/publisher-form-admin/_publisher-form-admin.js":19,"./libs/spark-content-actions/_spark-content-actions.js":20,"./libs/spark-drawer/_spark-drawer.js":21,"./libs/spark-feature/spark-feature.js":22,"./libs/spark-image-gallery-item/spark-image-gallery-item.js":23,"./libs/spark-image-gallery/spark-image-gallery.js":24,"./libs/spark-multifile-upload/spark-multifile-upload.js":25,"./libs/spark-order-form-module/spark-order-form-module.js":26,"./libs/spark-select/spark-select.js":27,"./search.js":29}],29:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=(e=e("./libs/mjs-query-string/mjs-query-string.js"))&&e.__esModule?e:{default:e};e={init:function(){if(!document.querySelector(".acp-results-template"))return!1;var t=setInterval(function(){var e={};"function"==typeof e.theInputValue&&((0,i.default)("query").val.length&&e.theInputValue((0,i.default)("query").val.replace(/\+/g," ")),e.theInputFocus(),clearInterval(t))},1)}};window.keepFacet=function(){var e=(0,i.default)("local").val,t=document.createElement("input");t.setAttribute("type","hidden"),t.setAttribute("name","local"),t.setAttribute("value",e),t.classList.add("local"),document.querySelector(".pf-search").appendChild(t)},window.removeFacet=function(){document.querySelector(".local").remove()},n.default=e},{"./libs/mjs-query-string/mjs-query-string.js":14}],30:[function(e,t,n){var i=e("./row");function f(e,t){var n;return!1!==e.fullWidthBreakoutRowCadence&&(t._rows.length+1)%e.fullWidthBreakoutRowCadence
1==0&&(n=!0),new i({top:t._containerHeight,left:e.containerPadding.left,width:e.containerWidth-e.containerPadding.left-e.containerPadding.right,spacing:e.boxSpacing.horizontal,targetRowHeight:e.targetRowHeight,targetRowHeightTolerance:e.targetRowHeightTolerance,edgeCaseMinRowHeight:.5*e.targetRowHeight,edgeCaseMaxRowHeight:2*e.targetRowHeight,rightToLeft:!1,isBreakoutRow:n,widowLayoutStyle:e.widowLayoutStyle})}function m(e,t,n){return t._rows.push(n),t._layoutItems=t._layoutItems.concat(n.getItems()),t._containerHeight+=n.height+e.boxSpacing.vertical,n.items}t.exports=function(e,t){var n,i,o,a,r,s={},l={},u={containerWidth:1060,containerPadding:10,boxSpacing:10,targetRowHeight:320,targetRowHeightTolerance:.25,maxNumRows:Number.POSITIVE_INFINITY,forceAspectRatio:!1,showWidows:!0,fullWidthBreakoutRowCadence:!1,widowLayoutStyle:"left"},c={},d={};return t=t||{},s=Object.assign(u,t),c.top=isNaN(parseFloat(s.containerPadding.top))?s.containerPadding:s.containerPadding.top,c.right=isNaN(parseFloat(s.containerPadding.right))?s.containerPadding:s.containerPadding.right,c.bottom=isNaN(parseFloat(s.containerPadding.bottom))?s.containerPadding:s.containerPadding.bottom,c.left=isNaN(parseFloat(s.containerPadding.left))?s.containerPadding:s.containerPadding.left,d.horizontal=isNaN(parseFloat(s.boxSpacing.horizontal))?s.boxSpacing:s.boxSpacing.horizontal,d.vertical=isNaN(parseFloat(s.boxSpacing.vertical))?s.boxSpacing:s.boxSpacing.vertical,s.containerPadding=c,s.boxSpacing=d,l._layoutItems=[],l._awakeItems=[],l._inViewportItems=[],l._leadingOrphans=[],l._trailingOrphans=[],l._containerHeight=s.containerPadding.top,l._rows=[],l._orphans=[],s._widowCount=0,n=s,i=l,u=e.map(function(e){return e.width&&e.height?{aspectRatio:e.width/e.height}:{aspectRatio:e}}),r=[],n.forceAspectRatio&&u.forEach(function(e){e.forcedAspectRatio=!0,e.aspectRatio=n.forceAspectRatio}),u.some(function(e,t){if(isNaN(e.aspectRatio))throw new Error("Item "+t+" has an invalid aspect ratio");if(a=a||f(n,i),o=a.addItem(e),a.isLayoutComplete()){if(r=r.concat(m(n,i,a)),i._rows.length>=n.maxNumRows)return!(a=null);if(a=f(n,i),!o&&(o=a.addItem(e),a.isLayoutComplete())){if(r=r.concat(m(n,i,a)),i._rows.length>=n.maxNumRows)return!(a=null);a=f(n,i)}}}),a&&a.getItems().length&&n.showWidows&&(i._rows.length?(u=i._rows[i._rows.length-1].isBreakoutRow?i._rows[i._rows.length-1].targetRowHeight:i._rows[i._rows.length-1].height,a.forceComplete(!1,u)):a.forceComplete(!1),r=r.concat(m(n,i,a)),n._widowCount=a.getItems().length),i._containerHeight=i._containerHeight-n.boxSpacing.vertical,i._containerHeight=i._containerHeight+n.containerPadding.bottom,{containerHeight:i._containerHeight,widowCount:n._widowCount,boxes:i._layoutItems}}},{"./row":31}],31:[function(e,t,n){(t.exports=function(e){this.top=e.top,this.left=e.left,this.width=e.width,this.spacing=e.spacing,this.targetRowHeight=e.targetRowHeight,this.targetRowHeightTolerance=e.targetRowHeightTolerance,this.minAspectRatio=this.width/e.targetRowHeight*(1-e.targetRowHeightTolerance),this.maxAspectRatio=this.width/e.targetRowHeight*(1+e.targetRowHeightTolerance),this.edgeCaseMinRowHeight=e.edgeCaseMinRowHeight,this.edgeCaseMaxRowHeight=e.edgeCaseMaxRowHeight,this.widowLayoutStyle=e.widowLayoutStyle,this.isBreakoutRow=e.isBreakoutRow,this.items=[],this.height=0}).prototype={addItem:function(e){var t,n,i,o=this.items.concat(e),a=this.width-(o.length-1)*this.spacing,o=o.reduce(function(e,t){return e+t.aspectRatio},0),r=a/this.targetRowHeight;return this.isBreakoutRow&&0===this.items.length&&1<=e.aspectRatio?(this.items.push(e),this.completeLayout(a/e.aspectRatio,"justify"),!0):o<this.minAspectRatio?(this.items.push(Object.assign({},e)),!0):o>this.maxAspectRatio&&0!==this.items.length&&(t=this.width-(this.items.length-1)*this.spacing,n=this.items.reduce(function(e,t){return e+t.aspectRatio},0),i=t/this.targetRowHeight,Math.abs(o-r)>Math.abs(n-i))?(this.completeLayout(t/n,"justify"),!1):(this.items.push(Object.assign({},e)),this.completeLayout(a/o,"justify"),!0)},isLayoutComplete:function(){return 0<this.height},completeLayout:function(e,t){var n,i,o,a,r,s=this.left,l=this.width-(this.items.length-1)*this.spacing;(void 0===t||["justify","center","left"].indexOf(t)<0)&&(t="left"),i=Math.max(this.edgeCaseMinRowHeight,Math.min(e,this.edgeCaseMaxRowHeight)),n=e!==i?l/(this.height=i)/(l/e):(this.height=e,1),this.items.forEac
1h(function(e){e.top=this.top,e.width=e.aspectRatio*this.height*n,e.height=this.height,e.left=s,s+=e.width+this.spacing},this),"justify"===t?(s-=this.spacing+this.left,o=(s-this.width)/this.items.length,a=this.items.map(function(e,t){return Math.round((t+1)*o)}),1===this.items.length?this.items[0].width-=Math.round(o):this.items.forEach(function(e,t){0<t?(e.left-=a[t-1],e.width-=a[t]-a[t-1]):e.width-=a[t]})):"center"===t&&(r=(this.width-s)/2,this.items.forEach(function(e){e.left+=r+this.spacing},this))},forceComplete:function(e,t){"number"==typeof t?this.completeLayout(t,this.widowLayoutStyle):this.completeLayout(this.targetRowHeight,this.widowLayoutStyle)},getItems:function(){return this.items}}},{}],32:[function(e,s,t){!function(r){!function(){!function(){var e,t,n,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?s.exports=function(){return performance.now()}:null!=r&&r.hrtime?(s.exports=function(){return(e()-o)/1e6},t=r.hrtime,i=(e=function(){var e=t();return 1e9*e[0]+e[1]})(),a=1e9*r.uptime(),o=i-a):n=Date.now?(s.exports=function(){return Date.now()-n},Date.now()):(s.exports=function(){return(new Date).getTime()-n},(new Date).getTime())}.call(this)}.call(this)}.call(this,e("_process"))},{_process:33}],33:[function(e,t,n){var i,o,t=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{o="function"==typeof clearTimeout?clearTimeout:r}catch(e){o=r}function s(t){if(i===setTimeout)return setTimeout(t,0);if((i===a||!i)&&setTimeout)return(i=setTimeout)(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length)&&m()}function m(){if(!c){for(var e=s(f),t=(c=!0,u.length);t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,!function(t){if(o===clearTimeout)return clearTimeout(t);if((o===r||!o)&&clearTimeout)return(o=clearTimeout)(t);try{o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}t.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(m)},p.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=h,t.addListener=h,t.once=h,t.off=h,t.removeListener=h,t.removeAllListeners=h,t.emit=h,t.prependListener=h,t.prependOnceListener=h,t.listeners=function(e){return[]},t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},{}],34:[function(d,f,e){!function(c){!function(){for(var i,o,a,r=d("performance-now"),t="undefined"==typeof window?c:window,e=["moz","webkit"],n="AnimationFrame",s=t["request"+n],l=t["cancel"+n]||t["cancelRequest"+n],u=0;!s&&u<e.length;u++)s=t[e[u]+"Request"+n],l=t[e[u]+"Cancel"+n]||t[e[u]+"CancelRequest"+n];s&&l||(o=i=0,a=[],s=function(e){var t,n;return 0===a.length&&(t=r(),n=Math.max(0,1e3/60-(t-i)),i=n+t,setTimeout(function(){for(var e=a.slice(0),t=a.length=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(i)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))),a.push({handle:++o,callback:e,cancelled:!1}),o},l=function(e){for(var t=0;t<a.length;t++)a[t].handle===e&&(a[t].cancelled=!0)}),f.exports=function(e){return s.call(t,e)},f.exports.cancel=function(){l.apply(t,arguments)},f.exports.polyfill=function(e){(e=e||t).requestAnimationFrame=s,e.cancelAnimationFrame=l}}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"performance-now":32}],35:[function(e,t,n){n.linear=function(e){return e},n.inQuad=function(e){return e*e},n.outQuad=function(e){return e*(2-e)},n.inOutQuad=function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},n.inCube=function(e){return e*e*e},n.outCube=function(e){return--e*e*e+1},n.inOutCube=function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},n.inQuart=function(e){return e*e*e*e},n.outQuart=function(e){return 1- --e*e*e*e},n.inOutQuart=function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},n.inQuint=function(e){return e*e*e*e*e},n.outQuint=function(e){return--e*e*e*e*e+1},n.inOutQuint=function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},n.inSine=function(e){return 1-Math.cos(e*Math.PI/2)},n.outSine=function(e){return Math.sin(e*Math.PI/2)},n.inOutSine=function(e){return.5*(1-Math.cos(Math.PI*e))},n.inExpo=function(e){return 0==e?0:Math.pow(1024,e-1)},n.outExpo=function(e){return 1==e?e:1-Math.pow(2,-10*e)},n.inOutExpo=function(e){return 0==e?0:1==e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},n.inCirc=function(e){return 1-Math.sqrt(1-e*e)},n.outCirc=function(e){return Math.sqrt(1- --e*e)},n.inOutCirc=function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},n.inBack=function(e){return e*e*(2.70158*e-1.70158)},n.outBack=function(e){return--e*e*(2.70158*e+1.70158)+1},n.inOutBack=function(e){var t=2.5949095;return(e*=2)<1?e*e*((1+t)*e-t)*.5:.5*((e-=2)*e*((1+t)*e+t)+2)},n.inBounce=function(e){return 1-n.outBounce(1-e)},n.outBounce=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},n.inOutBounce=function(e){return e<.5?.5*n.inBounce(2*e):.5*n.outBounce(2*e-1)+.5},n.inElastic=function(e){var t,n=.1;return 0===e?0:1===e?1:(t=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*--e)*Math.sin(2*Math.PI*(e-t)/.4)))},n.outElastic=function(e){var t,n=.1;return 0===e?0:1===e?1:(t=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin(2*Math.PI*(e-t)/.4)+1)},n.inOutElastic=function(e){var t,n=.1;return 0===e?0:1===e?1:(t=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*--e)*Math.sin(2*Math.PI*(e-t)/.4)*-.5:n*Math.pow(2,-10*--e)*Math.sin(2*Math.PI*(e-t)/.4)*.5+1)},n["in-quad"]=n.inQuad,n["out-quad"]=n.outQuad,n["in-out-quad"]=n.inOutQuad,n["in-cube"]=n.inCube,n["out-cube"]=n.outCube,n["in-out-cube"]=n.inOutCube,n["in-quart"]=n.inQuart,n["out-quart"]=n.outQuart,n["in-out-quart"]=n.inOutQuart,n["in-quint"]=n.inQuint,n["out-quint"]=n.outQuint,n["in-out-quint"]=n.inOutQuint,n["in-sine"]=n.inSine,n["out-sine"]=n.outSine,n["in-out-sine"]=n.inOutSine,n["in-expo"]=n.inExpo,n["out-expo"]=n.outExpo,n["in-out-expo"]=n.inOutExpo,n["in-circ"]=n.inCirc,n["out-circ"]=n.outCirc,n["in-out-circ"]=n.inOutCirc,n["in-back"]=n.inBack,n["out-back"]=n.outBack,n["in-out-back"]=n.inOutBack,n["in-bounce"]=n.inBounce,n["out-bounce"]=n.outBounce,n["in-out-bounce"]=n.inOutBounce,n["in-elastic"]=n.inElastic,n["out-elastic"]=n.outElastic,n["in-out-elastic"]=n.inOutElastic},{}],36:[function(e,t,n){function i(e){if(e){var t,n=e;for(t in i.prototype)n[t]=i.prototype[t];return n}}i.prototype.on=i.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},i.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)this._callbacks={};else{var n=this._callbacks["$"+e];if(n)if(1==arguments.length)delete this._callbacks["$"+e];else{for(var i,o=0;o<n.length;o++)if((i=n[o])===t||i.fn===t){n.splice(o,1);break}0===n.length&&delete this._callbacks["$"+e]}}return this},i.prototype.emit=function(e){this._callbacks=this._callbacks||{};
1var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var i=0,o=(n=n.slice(0)).length;i<o;++i)n[i].apply(this,t);return this},i.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},i.prototype.hasListeners=function(e){return!!this.listeners(e).length},void 0!==t&&(t.exports=i)},{}],37:[function(e,t,n){var s=e("./scroll-to");t.exports=function(e,t){if(t=t||{},e="string"==typeof e?document.querySelector(e):e)return s(0,(e=e,n=t.offset,i=t.align,o=document.body,a=document.documentElement,e=e.getBoundingClientRect(),r=a.clientHeight,o=Math.max(o.scrollHeight,o.offsetHeight,a.clientHeight,a.scrollHeight,a.offsetHeight),n=n||0,a="bottom"===i?e.bottom-r:"middle"===i?e.bottom-r/2-e.height/2:e.top,i=o-r,Math.min(a+n+window.pageYOffset,i)),t);var n,i,o,a,r}},{"./scroll-to":38}],38:[function(e,t,n){var r=e("./tween"),s=e("raf");t.exports=function(e,t,n){n=n||{};var i={top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft},o=r(i).ease(n.ease||"out-circ").to({top:t,left:e}).duration(n.duration||1e3);function a(){s(a),o.update()}return o.update(function(e){window.scrollTo(0|e.left,0|e.top)}),o.on("end",function(){a=function(){}}),a(),o}},{"./tween":39,raf:34}],39:[function(e,t,n){var i=e("./ease");function o(e){if(!(this instanceof o))return new o(e);this._from=e,this.ease("linear"),this.duration(500)}e("./emitter")(o.prototype),o.prototype.reset=function(){return this.isArray="[object Array]"===Object.prototype.toString.call(this._from),this._curr=((e,t)=>{for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e})({},this._from),this._done=!1,this._start=Date.now(),this},o.prototype.to=function(e){return this.reset(),this._to=e,this},o.prototype.duration=function(e){return this._duration=e,this},o.prototype.ease=function(e){if(e="function"==typeof e?e:i[e])return this._ease=e,this;throw new TypeError("invalid easing function")},o.prototype.stop=function(){return this.stopped=!0,this._done=!0,this.emit("stop"),this.emit("end"),this},o.prototype.step=function(){if(!this._done){var e=this._duration,t=Date.now();if(e<=t-this._start)this._from=this._to,this._update(this._to),this._done=!0,this.emit("end");else{var n=this._from,i=this._to,o=this._curr,a=(0,this._ease)((t-this._start)/e);if(this.isArray)for(var r=0;r<n.length;++r)o[r]=n[r]+(i[r]-n[r])*a;else for(var s in n)o[s]=n[s]+(i[s]-n[s])*a;this._update(o)}return this}},o.prototype.update=function(e){return 0==arguments.length?this.step():(this._update=e,this)},t.exports=o},{"./ease":35,"./emitter":36}]},{},[28]); 2//# sourceMappingURL=main.min.js.map
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.