-1}function me(e){return pe(e)?!(Ma.overrides.videoAutoPlay||Ma.overrides.vimeoDefault):!Ma.overrides.videoAutoPlay}function ve(e){switch(e){case"fade":case"hSlide":case"mSlide":case"hScroll":case"hScrollNC":case"grid":return"x";case"vSlide":case"vScroll":case"vScrollNC":return"y"}}function ge(e){return"%SPACER%"===e.label}function fe(e){return e&&e.media&&1===e.media.length&&/html|contact/.test(l(e.media[0]).type)}function be(e){var t=h(e);return!b(e)&&(e.isIndex?e.key:t?t.key:e.key)}function Ce(e){return function(){function t(){e.webkitSupportsPresentationMode&&e.webkitSupportsPresentationMode("fullscreen")&&"inline"===e.webkitPresentationMode?e.removeAttribute("controls"):document.isFullscreen||document.webkitIsFullscreen||e.removeAttribute("controls")}document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement?document.webkitExitFullscreen():e.webkitSupportsPresentationMode&&e.webkitSupportsPresentationMode("fullscreen")?(e.webkitSetPresentationMode("fullscreen"),e.setAttribute("controls",!0)):e.requestFullscreen?(e.requestFullscreen(),e.setAttribute("controls",!0)):e.webkitRequestFullscreen&&(e.webkitRequestFullscreen(),e.setAttribute("controls",!0)),document.addEventListener("fullscreenchange",t,!1),document.addEventListener("webkitfullscreenchange",t,!1),e.addEventListener("webkitendfullscreen",t,!1)}}function we(e){var t=new lt;switch(t.selectable=!1,t.fontFamily=e.font,t.fontColor=e.fontColor,t.fontSize=e.fontSize,e.alignVertical){case"top":t.element.style.top="calc(0% + "+(e.verticalOffset||20)+"px)";break;case"center":t.element.style.top="calc(50% + "+(e.verticalOffset||0)+"px)";break;case"bottom":t.element.style.bottom="calc(0% + "+(e.verticalOffset||20)+"px)"}switch(e.alignHorizontal){case"left":t.element.style.left="calc(0% + "+(e.horizontalOffset||20)+"px)";break;case"center":t.element.style.left="calc(50% + "+(e.horizontalOffset||0)+"px)";break;case"right":t.element.style.right="calc(0% + "+(e.horizontalOffset||20)+"px)"}return"center"===e.alignVertical&&"center"===e.alignHorizontal?t.element.style.transform="translate(-50%, -50%)":"center"===e.alignVertical?t.element.style.transform="translateY(-50%)":"center"===e.alignHorizontal&&(t.element.style.transform="translateX(-50%)"),t.element.style["mix-blend-mode"]=e.blendMode,t.cursor="pointer",t}function ye(e){var t=document.createElement("input");t.value=e,t.style.opacity=0,document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(t)}function Le(e){function t(e){e.isOpen?o.closeItem(e):o.openItem(e)}function i(){n=new Ne,n.gap=o.gap,n.axis=o.axis,n.align=o.align,n.wrap=o.wrap,n.perpLength=0}e=e||{};var n,o=new Ca(e),a=[];return o.identity="menu",o.element.setAttribute("data-identity","menu"),o.gap=e.gap||1,o.axis=e.axis||"y",o.align=e.align||"left",o.wrap=e.wrap||!1,o.perpLength=e.perpLength||o.width,o.expand="auto",o.toggle=e.toggle||!0,o.updateSpeed=e.updateSpeed||.35,o.animate=e.animate||!0,o.addEventListener(In,o.select),o.addItem=function(e,t,i,n){"all"===o.expand&&(n=!0);var r={container:e,title:t,content:i,isOpen:n||!1,hasSubs:e.hasSubs||!1};"x"===o.axis&&Pi.dropdownSubMenu?oe()||le()?(t.addEventListener("click",function(){o.animate=!0,o.updateSpeed=.25,o.openItem(r)}),i&&i.addEventListener("click",function(){o.closeItem(r)})):(t.addEventListener("mouseover",function(){o.animate=!0,o.updateSpeed=.25,o.openItem(r)}),t.addEventListener("mouseout",function(){o.animate=!0,o.updateSpeed=.25,o.closeItem(r)}),i&&(i.addEventListener("mouseover",function(){o.openItem(r)}),i.addEventListener("mouseout",function(){o.closeItem(r)}))):t.addEventListener(Vn,o.select),a.push(r),t.accordionItem=r,o.addChild(e)},o.select=function(e){for(var i=a.length;i--;)a[i]===this.accordionItem?"y"!==o.axis&&"x"===o.axis&&Pi.dropdownSubMenu||(o.toggle?t(this.accordionItem):this.accordionItem.isOpen||o.openItem(this.accordionItem),o.dispatchEvent(Fn,this.accordionItem)):"single"===o.expand&&o.closeItem(a[i]);o.layout(Lo)},o.closeItem=function(e){"all"!==o.expand&&(e.isOpen=!1,e.content&&(e.content.overflow="hidden",qe(e.content,o.animate?o.updateSpeed:0,{height:0}),e.container.height=e.title.element.offsetHeight))},o.openItem=function(e){e.isOpen=!0,e.content&&(qe(e.content,o.animate?o.updateSpeed:0,{height:e.contentHeight,onComplete:function(){Pi.dropdownSubMenu&&/top|bottom/.test(Ma.menuView.placement())||(e.content.overflow="visible")}}),e.container.height=e.title.element.offsetHeight+e.contentHeight)},o.layout=function(e){function t(e,t,i){return e+(t<0?-t:0)+(i+t-e<0?0:i+t-e)}o.updateSpeed=e||0,i();var r,l,s=a.length,d=-o.gap;for(n.perpLength=0,r=0;rn.perpLength?u:n.perpLength:n.perpLength=h>n.perpLength?h:n.perpLength,n.addItem(h,u)}n.layoutItems();var p="x"===o.axis?o.gap+d:0,m="x"===o.axis?0:o.gap+d,v=n.getBounds(),g="x"===o.axis?v.width-o.gap:n.perpLength,f=v.height+("x"===o.axis?0:o.gap+d);for(r=0;rxa.menuView.width()&&(g=C)}}o.width=g,o.height=f,o.dispatchEvent(An,{width:g,height:f})},o}function Se(e,t,i){var n=new xe({hRange:i.hRange,vRange:i.vRange,hAlign:i.hAlign,vAlign:i.vAlign,width:i.width||e.width,height:i.height||e.height,hOffset:i.hOffset,vOffset:i.vOffset}),o=i.hOrigin||0,a=i.vOrigin||0,r={x:Math.round(n.x+o),y:Math.round(n.y+a),onComplete:i.onComplete,onCompleteParams:i.onCompleteParams,onCompleteScope:i.onCompleteScope,onUpdate:i.onUpdate,onUpdateParams:i.onUpdateParams,onUpdateScope:i.onUpdateScope,onInit:i.onInit,onInitScope:i.onInitScope,onInitParams:i.onInitParams};return qe(e,t,r),r}function xe(e){e=e||{};var t=e.hRange||0,i=e.vRange||0,n=e.width||0,o=e.height||0,a=e.hAlign||"left",r=e.vAlign||"top",l=e.hOffset||0,s=e.vOffset||0;return{set hRange(e){t=e},set vRange(e){i=e},set width(e){n=e},set height(e){o=e},set hAlign(e){a=e},set vAlign(e){r=e},set hOffset(e){l=e},set vOffset(e){s=e},get x(){return"center"===a?.5*(t-n)+l:"right"===a?t-n-l:l},get y(){return"center"===r||"middle"===r?.5*(i-o)+s:"bottom"===r?i-o-s:s}}}function Me(e){function t(){return{left:{arrow1:{fill:Pi.cursorColor,d:ya.arrow1Left,stroke:Pi.cursorColor,strokeWidth:0},arrow2:{fill:Pi.cursorColor,d:ya.arrow2Left,stroke:Pi.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:ya.arrow3Left,stroke:Pi.cursorColor,strokeWidth:1.5},plus1:{fill:Pi.cursorColor,d:ya.plus1Left,stroke:Pi.cursorColor,strokeWidth:0},plus2:{fill:Pi.cursorColor,d:ya.plus2Left,stroke:Pi.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}},right:{arrow1:{fill:Pi.cursorColor,d:ya.arrow1Right,stroke:Pi.cursorColor,strokeWidth:0},arrow2:{fill:Pi.cursorColor,d:ya.arrow2Right,stroke:Pi.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:ya.arrow3Right,stroke:Pi.cursorColor,strokeWidth:1.5},plus1:{fill:Pi.cursorColor,d:ya.plus1Right,stroke:Pi.cursorColor,strokeWidth:0},plus2:{fill:Pi.cursorColor,d:ya.plus2Right,stroke:Pi.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}}}}function i(){var e=Wi!==Xi&&Wi!==Ni&&Pi.cursorIconBlendMode?Pi.cursorIconBlendMode:"normal";v.element.style["mix-blend-mode"]=e}function n(e){S=e||"x"}function o(e){x=!/none|disabled/.test(Pi.navCursorType)&&e}function a(e){return po&&e.touches?e.touches[0].pageX:e.clientX}function r(e){return po&&e.touches?e.touches[0].pageY:e.clientY}function l(){g=new La,g.left=-20,g.top=-20,g.width=40,g.height=40,v.addChild(g),g.element.style["pointer-events"]="none",v.svg=g,f=new nt,f.id="icon",g.addChild(f),f.element.style["pointer-events"]="none",v.iconLeft=f,b=new nt,b.id="icon",g.addChild(b),b.element.style["pointer-events"]="none",v.iconCenter=b,v.iconCenter.d=ya.cursorThumbs,C=new nt,C.id="icon",g.addChild(C),C.element.style["pointer-events"]="none",v.iconRight=C,s(),wa.addEventListener(un,d),v.listenerAdded=!0}function s(){var e=Wi!==Xi&&Wi!==Ni&&Pi.cursorIconBlendMode?Pi.cursorIconBlendMode:"normal";v.cursorIconStyle=Pi.cursorIconStyle||"arrow2";var t=L.left[v.cursorIconStyle],i=L.right[v.cursorIconStyle];v.element.style["mix-blend-mode"]=e,v.navCursorType=Pi.navCursorType,v.iconLeft.d=t.d,v.iconLeft.fill=t.fill,v.iconLeft.stroke=t.stroke,v.iconLeft.strokeWidth=t.strokeWidth,v.iconCenter.fill=Pi.cursorColor,v.iconRight.d=i.d,v.iconRight.fill=i.fill,v.iconRight.stroke=i.stroke,v.iconRight.strokeWidth=i.strokeWidth}function d(e){if(v.enabled){if(e.target!==g.element&&e.target!==f.element&&e.target!==b.element&&e.target!==C.element){var i=a(e),n=r(e),o=Ma.mediaView.x(),l=Ma.mediaView.y(),d=Ma.mediaView.width(),c=Ma.mediaView.height();v.transition=0,v.translateX=i-2,v.translateY=n-2,e.target.navigationCursor&&v.enabled?w||h(e):w&&u(e);var m=x?.333*d:.5*d,M=x?.333*c:.5*c,T="x"===S?m:M,V="x"===S?i-o:n-l,E=T,z=2*T;(Pi.cursorColor!==L.left.arrow1.fill||Pi.cursorIconStyle!==v.cursorIconStyle&&Pi.navCursorType!==v.navCursorType)&&(L=t(),s()),V
Please try again later.
If problem persists, contact support."):ne(ra,la)?Ee.login=new Ii(e):ke("Admin not supported for this browser ["+ra+" "+la+"]. Please use latest version of Chrome, Firefox, Safari or MS Edge.")),Ee.events.dispatchEvent(_n,{id:"layoutModelInit"}),Ee.events.addEventListener(Jo,m),Ee.events.addEventListener(Ko,v),Ee.events.addEventListener(Un,g),Ee.events.addEventListener(Gn,b),Ee.events.addEventListener(eo,f),Ee.events.addEventListener(to,w),Ee.events.addEventListener(qn,C),Ee.events.addEventListener(Pn,x),Ee.events.addEventListener("ADDRESS_URI_CHANGE_PASSIVE",E),Ee.events.addEventListener(Dn,n),Ee.events.addEventListener(ko,pe),Ee.events.addEventListener(Fo,me),Ee.events.addEventListener(Ho,ge),Ee.events.addEventListener(oo,p),Ee.events.addEventListener("OVER_LOGO",fe),Ee.events.addEventListener("privateGalleryAuthCheck",G),Ee.events.addEventListener("passwordViewUpdate",U),Ee.events.addEventListener("updateAssetId",z),Ee.events.addEventListener("UPDATE_CONTENT_HEIGHT",ae),Ee.events.addEventListener(ta,o),Ee.events.addEventListener("siteAnchorCaptionUpdate",O),Ee.events.addEventListener("SEARCH_SUBMIT",H),Ee.events.addEventListener("lightboxDownloadOverlayOpen",D),Ee.events.addEventListener("lightboxUpdateItem",_),Ee.events.addEventListener("lightboxDownloadPdf",Y),Ee.events.addEventListener("lightboxDownloadZip",Z),wa.addEventListener(nn,h),wa.addEventListener(ho,d),wa.addEventListener(lo,u),wa.addEventListener(fn,L),(oe()||le())&&window.addEventListener("scroll",function(){clearTimeout(Ve),Pe=!0,Ve=setTimeout(function(){Ve=null,Pe=!1,c()&&(Ee.events.dispatchEvent(nn),De=!1)},200)}),wa.zoom>1?Ee.events.dispatchEvent(nn):h(),Ee.events.addEventListener("cursorAxisUpdate",Ce),ro=90===Math.abs(window.orientation)?"horizontal":"vertical",window.isStaging){var t=ye();Ee.siteView.addChild(t)}Ma.cacheLightboxSection()}function n(){dx.admin.events.addEventListener(Rn,$),dx.admin.events.addEventListener(Bn,Q),dx.admin.events.addEventListener(jn,ee),dx.admin.events.addEventListener(_n,te),dx.admin.events.addEventListener(Wn,se),dx.admin.events.addEventListener(Nn,de),dx.admin.events.addEventListener(Xn,ce),dx.admin.events.addEventListener(Yn,he),dx.admin.events.addEventListener(Zn,ue),dx.admin.events.addEventListener($o,a),dx.admin.events.addEventListener(Qo,s),Ee.events.addEventListener("adminPageviewImageSizes",function(e){dx.admin.events.dispatchEvent("adminPageviewImageSizes",e)})}function o(){Ee.events.dispatchEvent(ea,{name:"js"})}function a(){Ee.events.dispatchEvent($o)}function s(){Ee.events.dispatchEvent(Qo)}function d(){wa.zoom<=1}function c(){return(oe()||le())&&De&&window.innerHeight===document.documentElement.clientHeight}function h(e){if(/responsive/.test(Pi.menuAlignHorizontal)){var t=1;oe()&&(t=window.devicePixelRatio||1);var i=(Pi.screenWidthBreakpoint||800)*t,n=xa.isMenuResponsiveOverlay;xa.isMenuResponsiveOverlay=wa.width-1)&&o&&"site"===a?(Ee.caption.text=A(o),Ee.caption.show(I)):(Ee.caption.text="",Ee.caption.hide(),Ee.caption.scroll&&Ee.caption.scroll.destroy())}}function O(e){if(Le&&Le.asset&&Ee.caption){var e=e||Le.asset;e.overrides||(e.overrides={}),He=e.overrides||{},Ee.caption.text=A(k(e));var t=i(Le.section)&&Pi.slideshowCaptions,n=K(Wi!==Xi||t?void 0:"site",e.overrides.captionAnchorTo,Ma.overrides.captionAnchorTo);"site"===n&&(t||Le.mode.indexOf("caption")>-1)?Ee.caption.show(I):(Ee.caption.text="",Ee.caption.hide(),Ee.caption.scroll&&Ee.caption.scroll.destroy())}else Ee.caption&&(Ee.caption.text="",Ee.caption.hide(),Ee.caption.scroll&&Ee.caption.scroll.destroy())}function I(){Wi!==Xi&&(Ee.caption.container.position="fixed"),Ee.caption.container.transition=0,Ee.caption.container.zIndex=Ma.captionView.zIndex(),K(He.captionCloseButton,Ma.overrides.captionCloseButton)?Ee.caption.showCloseButton():Ee.caption.hideCloseButton();var e={onInit:function(){Ee.caption.scroll&&Ee.caption.scroll.hide()},onComplete:function(){Ee.caption.scroll&&(Ee.caption.scroll.show(),Ee.caption.scroll.resize())}},t=K(He.captionBackgroundRectColor,Ma.overrides.captionBackgroundRectColor),i=K(Wi===Xi?Pi.overlayAlpha:void 0,He.captionBackgroundAlpha,Ma.overrides.captionBackgroundAlpha);Ee.caption.backgroundColor=V(t,i),Ee.caption.fontFamily=He.captionFont||Ma.overrides.captionFont,Ee.caption.fontSize=wa.widthi.v&&(r=i.v),e.height=r+t.top+t.bottom}else e.height=Ma.mediaView.height()}e.updatePosition()}var n=Ne,o=e.mediaView,a=e.localEvents,r=o.container,l=o.mask;if("native"===Ma.overrides.imageVideoScrollType)l.element.style.overflowY="hidden",l.element.style.overflowX="scroll";else if(ia&&("nativeMacOs"===Ma.overrides.imageVideoScrollType||Pi.globalSmoothScroll))l.element.style.overflowY="hidden",l.element.style.overflowX="scroll";else{o.scroll&&o.scroll.destroy();var s={name:"horiz scroll",types:["bar","wheel","touch"],axis:"x",align:"left",color:Ma.overrides.imageVideoScrollbarColor,hover:Ma.overrides.imageVideoScrollbarHover,side:Ma.overrides.imageVideoScrollbarAlignment,alpha:Ma.overrides.imageVideoScrollbarBgTransparency,width:Ma.overrides.imageVideoScrollbarWidth,offsetX:Ma.overrides.imageVideoScrollbarHorizontalOffset,offsetY:Ma.overrides.imageVideoScrollbarVerticalOffset,topPad:0,property:"translate",zIndex:Ma.mediaView.zIndex,rounded:Ma.overrides.imageVideoScrollbarRounded,visibility:Ma.overrides.imageVideoScrollbarVisibility};("nativeMacOs"===Ma.overrides.imageVideoScrollType||Pi.globalSmoothScroll)&&(s.margin=0,s.color="#000000",s.hover="#000000",s.side="bottom",s.alpha=0,s.width=7,s.offsetX=0,s.offsetY=0,s.rounded=!0,s.visibility="when scrolling"),o.scroll=new Re(r,l,s)}return t}function Ht(e){function t(e,t){p=e;var t=void 0!==t?t:C;b.dispatchEvent(fo);var a=g.children[e];if(a){var r=a.x,l=a.y,s=o(e,g.children.length);f.width=Ma.mediaView.width();var d=xe({width:a.width,hRange:f.width,hAlign:s});if(r=a.x-d.x,u=!0,c=!1,v.scroll){var h=g.width-f.width,w=r/h;v.scroll.percent=w,v.scroll.bar.moveHandle(Ma.mediaView.transitionDuration()),qe(g,t,{translateX:-r,translateY:-l,ease:po?na.quart.out:na.cubic.inOut,onComplete:function(){u=!1,c=void 0,b.dispatchEvent(bo),setTimeout(function(){v.lazyLoader&&v.lazyLoader.update()},360)}})}else t?(m&&m.kill(),m=fa.to(f,t,{scrollLeft:r,scrollTop:l,ease:po?"outQuart":"inOutCubic",onComplete:function(){u=!1,c=void 0,b.dispatchEvent(bo),v.lazyLoader&&v.lazyLoader.update()}})):setTimeout(function(){f.scrollLeft=r,f.scrollTop=l,u=!1,c=void 0,b.dispatchEvent(bo),v.lazyLoader&&v.lazyLoader.update()},10);u?i(e):n()}}function i(e){for(var t=g.children.length;t--;){var i=g.children[t],n=void 0===e||!isNaN(e)&&e===t?1:Ma.overrides.imageVideoInactiveAlpha;qe(i,Ma.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=g.children.length;e--;)qe(g.children[e],Ma.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return 0===e?"left":e===t-1?"right":Ma.mediaView.hAlign()}function a(){for(var e=g.children.length;e--;){var t=g.children[e],i=.5*f.width;v.scroll?-g.translateX+i>=t.x&&-g.translateX+i<=t.x+t.width&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):f.scrollLeft+i>=t.x&&f.scrollLeft+i<=t.x+t.width&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){b.dispatchEvent("mediaScrollStart"),c!==!1&&b.dispatchEvent("pauseMedia"),u?i(p):n()}function l(e){c&&a(),c!==!1&&(c=void 0)}function s(e){void 0===c&&(c=!0),v.lazyLoader&&v.lazyLoader.update(),c&&a()}function d(e){h||r(e),clearTimeout(h),s(e),h=setTimeout(function(){l(e),h=null},300)}var c,h,u,p,m,v=e.mediaView,g=v.container,f=v.mask,b=e.localEvents,C=e.transitionDuration;return v.scroll?(v.scroll.addEventListener("scrollStop",l),v.scroll.addEventListener("scrollStart",r),v.scroll.addEventListener(no,s)):f.element.addEventListener("scroll",d),t.destroy=function(){v.scroll?(v.scroll.removeEventListener("scrollStop",l),v.scroll.removeEventListener("scrollStart",r),v.scroll.removeEventListener(no,s)):f.element&&f.element.removeEventListener("scroll",d)},t}function Dt(e){function t(){clearTimeout(d),d=setTimeout(function(){var e=new n;e.gap=0,e.axis="y",e.align="left",e.wrap=!1,e.perpLength=Ma.mediaView.width(),e.name="vScroll",o.section&&Ma.section(o.section);for(var t=0,l=r.children,s=l.length;tMa.mediaView.zoneHeight(v.section.key)&&Wi!==Xi?i(e):n()}},"Firefox"===ra?1e3:300)}function i(e){for(var t=g.children.length;t--;){var i=g.children[t],n=void 0===e||!isNaN(e)&&e===t?1:Ma.overrides.imageVideoInactiveAlpha;qe(i,Ma.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=g.children.length;e--;)qe(g.children[e],Ma.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return w(v.section.id)?"top":0===e?"top":e===t-1?"bottom":Ma.mediaView.vAlign()}function a(){for(var e=g.children.length;e--;){var t=g.children[e],i=.5*f.height;v.scroll?-g.translateY+i>=t.y&&-g.translateY+i<=t.y+t.height&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):Ma.siteView.unifiedPageScroll()?window.scrollY+.5*window.innerHeight>=t.absY&&window.scrollY+.5*window.innerHeight<=t.absY+t.height&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):f.scrollTop+i>=t.y&&f.scrollTop+i<=t.y+t.height&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){b.dispatchEvent("mediaScrollStart"),c!==!1&&b.dispatchEvent("pauseMedia"),u?i(p):n()}function l(e){c&&a(),c!==!1&&(c=void 0)}function s(e){void 0===c&&(c=!0),v.lazyLoader&&v.lazyLoader.update(),c&&a()}function d(e){h||r(e),clearTimeout(h),s(e),h=setTimeout(function(){l(e),h=null},300)}var c,h,u,p,m,v=e.mediaView,g=v.container,f=v.mask,b=e.localEvents,C=e.transitionDuration;return v.scroll?(v.scroll.addEventListener("scrollStop",l),v.scroll.addEventListener("scrollStart",r),v.scroll.addEventListener(no,s)):Ma.siteView.unifiedPageScroll()?window.addEventListener("scroll",d):f.element.addEventListener("scroll",d),t.destroy=function(){v.scroll?(v.scroll.removeEventListener("scrollStop",l),v.scroll.removeEventListener("scrollStart",r),v.scroll.removeEventListener(no,s)):Ma.siteView.unifiedPageScroll()?window.removeEventListener("scroll",d):f.element&&f.element.removeEventListener("scroll",d)},t}function Bt(e){function t(){clearTimeout(d),d=setTimeout(function(){var e=new n;e.gap=0,e.axis="y",e.align="left",e.wrap=!1,e.perpLength=Ma.mediaView.width(),o.section&&Ma.section(o.section);for(var t=0,l=r.children,s=l.length;tMa.mediaView.zoneHeight(v.section.key)?i(e):n()}},"Firefox"===ra?1e3:300)}function i(e){for(var t=g.children.length;t--;){var i=g.children[t],n=void 0===e||!isNaN(e)&&e===t?1:Ma.overrides.imageVideoInactiveAlpha;qe(i,Ma.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=g.children.length;e--;)qe(g.children[e],Ma.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return w(v.section.id)?"top":0===e?"top":e===t-1?"bottom":Ma.mediaView.vAlign()}function a(){for(var e=g.children.length;e--;){var t=g.children[e],i=.5*f.height;v.scroll?-g.translateY+i>=t.y&&-g.translateY+i<=t.y+t.height&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):Ma.siteView.unifiedPageScroll()?window.scrollY+.5*window.innerHeight>=t.absY&&window.scrollY+.5*window.innerHeight<=t.absY+t.height&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):f.scrollTop+i>=t.y&&f.scrollTop+i<=t.y+t.height&&b.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){b.dispatchEvent("mediaScrollStart"),c!==!1&&b.dispatchEvent("pauseMedia"),u?i(p):n()}function l(e){c&&a(),c!==!1&&(c=void 0)}function s(e){void 0===c&&(c=!0),v.lazyLoader&&v.lazyLoader.update(),c&&a()}function d(e){h||r(e),clearTimeout(h),s(e),h=setTimeout(function(){l(e),h=null},300)}var c,h,u,p,m,v=e.mediaView,g=v.container,f=v.mask,b=e.localEvents,C=e.transitionDuration;return v.scroll?(v.scroll.addEventListener("scrollStop",l),
v.scroll.addEventListener("scrollStart",r),v.scroll.addEventListener(no,s)):Ma.siteView.unifiedPageScroll()?window.addEventListener("scroll",d):f.element.addEventListener("scroll",d),t.destroy=function(){v.scroll?(v.scroll.removeEventListener("scrollStop",l),v.scroll.removeEventListener("scrollStart",r),v.scroll.removeEventListener(no,s)):Ma.siteView.unifiedPageScroll()?window.removeEventListener("scroll",d):f.element&&f.element.removeEventListener("scroll",d)},t}function _t(e){function t(){l.mask.element.scrollLeft=0,l.mask.element.scrollTop=0,l.mask.element.style.overflow="hidden";var e=new o;e.gap=0,e.axis="x",e.align="left",e.wrap=!1,e.perpLength=Ma.mediaView.height(l.section.key),l.section&&Ma.section(l.section);var t=0,s=a.children,d=s.length,c=Ma.mediaView.width(),h=Ma.mediaView.height(l.section.key),u=l.maxScroll&&/unifiedSite/.test(Ma.overrides.siteDisplayBehavior);for(u&&(h=xa.getMaxScrollSectionHeight(l));t").replace(/\\r\\n/g,"
").replace(/\n\r/g,"
").replace(/\\n\\r/g,"
").replace(/\r/g,"
").replace(/\\r/g,"
").replace(/\n/g,"
").replace(/\\n/g,"
").replace(/\\/g,""),k.selectable=!0,k.setClass("dx_page_text ql-editor"),k.fontFamily=Pi.contactFont,k.fontSize=Pi.contactFontSize,k.fontColor=Pi.contactFontColor,k.textAlign="right",k.textWrap=!1,z.addChild(k),z.addChild(O);var n=z.element.getElementsByTagName("img"),o=n.length;if(n.length>0)for(;o--;){var a=n[o];a.addEventListener(en,function(e){g()})}A>320&&(A=320,k.width=320,k.textWrap=!0,k.style["word-wrap"]="break-word");for(var o=0,r=L.length,s=0;o"+e.mediaItem.label+"
"}Z=T(),T()&&w()&&(n+="
"),n+=A(e.mediaItem.content);var s=D.element.getElementsByClassName("no-lazy-load");s.length||(D.text=n.replace(/src\=/g,"data-src=")),R.addChild(D),H.addChild(R),I=D.element.getElementsByClassName("responsive"),O=D.element.getElementsByClassName("responsive-width")}function r(e){return function(t){return e.replace(/[^ -~]+/g,"")===t.src}}function l(e){return e.savedOpacity=e.style.opacity,e.style.opacity=0,e.originalWidth=e.style.width,e.originalHeight=e.style.height,e}function s(e){a(),W=Math.round(Ma.mediaView.maskWidth(H.element.offsetWidth)),Ma.overrides.pageMaxWidth&&W>Ma.overrides.pageMaxWidth&&(W=Ma.overrides.pageMaxWidth),k=c(D.element),z=k.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l),y(),L(),setTimeout(function(){y(),L()},150)}function c(e){return Array.prototype.slice.apply(e.getElementsByTagName("img")).concat(Array.prototype.slice.apply(e.getElementsByTagName("video"))).concat(Array.prototype.slice.apply(e.getElementsByTagName("iframe"))).concat(Array.prototype.slice.apply(e.getElementsByTagName("input")))}function h(e){var t=e.reduce(function(e,t){if("img"===t.img.tagName.toLowerCase()){var i=t.img.src.replace(Y,"");e=e.concat({src:i,width:t.img.naturalWidth,height:t.img.naturalHeight})}return e},[]);JSON.stringify(H.mediaItem.size.pageImages)!==JSON.stringify(t)&&(H.mediaItem.size.pageImages=t,X.dispatchEvent("adminPageviewImageSizes",H.mediaItem))}function u(e){return new Promise(function(t,i){var n,o=e.getAttribute("data-src");"img"===e.tagName.toLowerCase()?(n=setInterval(function(){e.naturalWidth&&e.naturalHeight&&(e.metaLoaded=!0,clearInterval(n),t({img:e}))},10),e.addEventListener("load",function(){qe(e,.35,{opacity:e.savedOpacity||1})}),e.addEventListener("error",function(){clearInterval(n)}),setTimeout(function(){n&&clearInterval(n)},1e4)):t({img:e}),e.src=o})}function p(e){var t=void 0===Bi.disableRightClick||Bi.disableRightClick;t&&e.preventDefault()}function m(e){return e.img.oncontextmenu=p,e.img.ondragstart=p,e}function v(e){Promise.all(e.map(u)).then(function(e){return e.map(m)}).then(h).then(L).catch(function(e){})}function g(){return"native"===Ma.overrides.pageScrollType||ia&&("nativeMacOs"===Ma.overrides.pageScrollType||Pi.globalSmoothScroll)}function f(){if(Ma.section(H.section),Wi!==Xi&&Wi!==Ni||(R.element.style["-webkit-overflow-scrolling"]="touch"),/vScroll/.test(Ma.overrides.transitionType)&&Ma.siteView.unifiedPageScroll())R.element.style.overflow="hidden",
R.element.style["-webkit-overflow-scrolling"]="touch",qe.defer(D,Lo,{alpha:1});else if(g()||/unifiedSite/.test(Ma.overrides.siteDisplayBehavior))R.element.style.overflowY="auto",R.element.style.overflowX="hidden",R.element.style["-webkit-overflow-scrolling"]="touch",qe.defer(D,Lo,{alpha:1});else{H.scroll&&H.scroll.destroy();var t=Ma.overrides.pageScrollbarWidth,i=Wi===Xi?-(t+5):Ma.overrides.pageScrollbarHorizontalOffset,n="right"===Ma.overrides.pageScrollbarAlignment?-i-t:i+t,o={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:Ma.overrides.pageScrollVerticalMargin,color:Ma.overrides.pageScrollbarColor,hover:Ma.overrides.pageScrollbarHover,side:Ma.overrides.pageScrollbarAlignment,alpha:Ma.overrides.pageScrollbarBgAlpha,width:t,offsetX:n,offsetY:Ma.overrides.pageScrollbarVerticalOffset,property:"translate",rounded:Ma.overrides.pageScrollbarRounded,visibility:Ma.overrides.pageScrollbarVisibility,scrollTopCheck:!0};("nativeMacOs"===Ma.overrides.pageScrollType||Pi.globalSmoothScroll)&&(o.margin=0,o.color="#000000",o.hover="#000000",o.side="right",o.alpha=0,o.width=7,o.offsetX=0,o.offsetY=0,o.rounded=!0,o.visibility="when scrolling"),H.scroll=new Re(D,R,o),H.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){H.scroll.percent=0,H.scroll.update(Lo)})}Ma.section(H.section);var a=E(Ma.overrides.pageMarginTop,wa.height),r=E(Ma.overrides.pageMarginBottom,wa.height),l=a+D.element.offsetHeight+r;if(w()&&!T()){var s=He({width:e.mediaItem.size.featuredImage.width,height:e.mediaItem.size.featuredImage.height,filename:V.dataSrc}),d=(Math.round(s.width),Math.round(s.height));l=l>a+d+r?l:a+d+r}G=l!==H.contentHeight,H.contentHeight=l,b(H.section)?(xa._mediaMarginPrefix="page",R.height=Math.round(Ma.mediaView.maskHeight(void 0,H.section.key)),H.height=Math.round(Ma.mediaView.height(H.section.key))):(R.height=l,H.height=l),G&&X.dispatchEvent("MEDIA_HEIGHT_CHANGE"),H.scroll&&H.scroll.resize(),qe.defer(D,Lo,{alpha:1})}function b(e){return Ma.section(H.section),(Wi!==Xi||!/vScroll/.test(Ma.overrides.transitionType))&&("none"===Ma.overrides.siteDisplayBehavior||!/vScroll/.test(Ma.overrides.transitionType)&&e.media.length>1)}function C(){return Ma.section(H.section),Ma.overrides.pageTitle&&""!==e.mediaItem.label}function w(){return""!==e.mediaItem.featuredImage}function y(e){Ma.section(H.section),V&&Pi.imageRendering.optimizeQuality&&(V.style["image-rendering"]="optimizeQuality"),V&&Pi.imageRendering.webkitOptimizeContrast&&(V.style["image-rendering"]="-webkit-optimize-contrast"),V&&"Safari"===ra&&Pi.imageRendering.webkitBackfaceVisibility&&(V.style["-webkit-backface-visibility"]="hidden"),D.fontFamily=Ma.overrides.pageTextFont,D.fontColor=Ma.overrides.pageTextFontColor,D.fontSize=Ma.overrides.pageTextFontSize,D.letterSpacing=Ma.overrides.pageTextKerning,qe(H,H.updateSpeed,{backgroundColor:Ma.mediaView.backgroundColor()})}function L(e){Ma.section(H.section),xa.activeMediaType=H.type,F=Math.round(Ma.mediaView.maskX()),P=Math.round(Ma.mediaView.maskY(H.section.key));var t=Ma.mediaView.maskWidth(H.element.offsetWidth);if(W=Math.round(Ma.mediaView.maskWidth(H.element.offsetWidth)),N=Math.round(Ma.mediaView.maskHeight(H.element.offsetHeight,H.section.key)),Ma.overrides.pageMaxWidth&&W>Ma.overrides.pageMaxWidth)switch(W=Ma.overrides.pageMaxWidth,Ma.overrides.pageMaxAlign){case"center":F+=Math.round(.5*(t-W));break;case"right":F+=Math.round(t-W)}V&&w()&&!T()&&(F+=B+_,W-=B+_,qe(V,H.updateSpeed,{x:F-B-_,y:P})),!Z&&T()?(V&&(H.removeChild(V),V=void 0),a(),k=c(D.element),z=k.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l)):Z&&!T()&&(D.text="",a(),k=c(D.element),z=k.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l)),qe(R,0,{x:F,y:P,width:W,height:N}),qe(D,0,{width:W}),S(),I&&I.length>0?((oe()||le())&&(R.style.overflow="auto",R.style["-webkit-overflow-scrolling"]="touch"),qe.defer(D,Lo,{alpha:1})):f()}function S(){if(I){var e=I[0];e&&(e.style.overflow="hidden",e.style.width=W-e.offsetLeft+"px",e.style.height=N-e.offsetTop+"px",e.style.border="none")}if(O){var t=O[0];t&&(t.style.overflow="hidden",t.style.width=W-t.offsetLeft+"px",t.style.border="none")}if(z){var i=z.length;if(i>0)for(;i--;){var n=z[i],o=n.getAttribute("data-src")?n.getAttribute("data-src").replace(Y,""):"";if(o&&H.mediaItem.size.pageImages){var a=window.getComputedStyle(n),l=a.getPropertyValue("max-width"),s=n.getAttribute("width"),d=n.getAttribute("height");if(n.metaLoaded)n.originalWidth?n.style.width=n.originalWidth:s?n.style.width=s+"px":n.style.removeProperty("width"),n.originalHeight?n.style.height=n.originalHeight:d?n.style.height=d+"px":n.style.removeProperty("height"),"none"===l&&(n.style.maxWidth="100%");else{var c=H.mediaItem.size.pageImages.filter(r(o)),h=c[0]||{},u=h.width||n.naturalWidth,p=h.height||n.naturalHeight,m=parseFloat(a.getPropertyValue("width"),10)||s||u,v=(m>W?W:m)||W,g=p/u;n.style.width=v+"px",n.style.height=g*v+"px"}}}}}function x(t){H.updateSpeed=0;var i=He({width:V.element.offsetWidth,height:V.element.offsetHeight,filename:V.src});B=Math.round(i.width),j=Math.round(i.height),V.width=B,V.height=j,qe(V,1,{alpha:1}),H.updateSpeed=Ma.mediaView.transitionDuration(),H.events.dispatchEvent(yo,{type:"featuredImage",id:e.mediaItem.id,width:V.width,height:V.height})}function M(e){X.removeEventListener(tn,L),X.removeEventListener(_n,L),X.removeEventListener("destroy",M),X.removeEventListener("showCursor",t),X.removeEventListener("hideCursor",n),V&&V.removeEventListener(en,x),H.removeEventListener(So,s)}function T(){if(Wi===Xi)return!0;if(wa.width<(Pi.screenWidthBreakpoint||1e3))return!0;var e=250;return Ma.mediaView.maskWidth()1?(C=2*zo[Ma.overrides.thumbnailSize].width+Ma.overrides.thumbnailGap,w=2*zo[Ma.overrides.thumbnailSize].height+Ma.overrides.thumbnailGap,y=2*zo[Ma.overrides.thumbnailSize].width+Ma.overrides.thumbnailGap,L=2*zo[Ma.overrides.thumbnailSize].height+Ma.overrides.thumbnailGap):(C=zo[Ma.overrides.thumbnailSize].width,w=zo[Ma.overrides.thumbnailSize].height,y=zo[Ma.overrides.thumbnailSize].width,L=zo[Ma.overrides.thumbnailSize].height);var x=De({type:"fit",hRange:y,vRange:L,width:f.size.thumb.width||f.size.content.width||zo[Ma.overrides.thumbnailSize].width,height:f.size.thumb.height||f.size.content.height||zo[Ma.overrides.thumbnailSize].height,disableOrientationCheck:!0}),M=new xe({hRange:C,vRange:w,hAlign:Ma.overrides.thumbnailAlignHorizontal||"center",vAlign:Ma.overrides.thumbnailAlignVertical||"center",width:x.width,height:x.height});h[u].thumb.width=Math.ceil(x.width),h[u].thumb.height=Math.ceil(x.height),h[u].thumb.x=Math.round(M.x),h[u].thumb.y=Math.round(M.y),h[u].playBtn&&(h[u].playBtn.x=Math.round(.5*(C-50)),h[u].playBtn.y=Math.round(.5*(w-50))),h[u].width=C,h[u].height=w,h[u].hit.width=C,h[u].hit.height=w;var T=/hMasonry|vMasonry/.test(Ma.overrides.thumbnailType)&&Ma.overrides.thumbnailMasonryMaintainOrder,V=!(!(v>1&&/fill|hMasonry|vMasonry/.test(Ma.overrides.thumbnailType))||T)&&b;r.addItem(C,w,V)}/fill|vMasonry/.test(Ma.overrides.thumbnailType)&&(r.gridWidths=vi(!1,Ma.overrides.thumbnailGap),r.lastColumnWidth=/vMasonry/.test(Ma.overrides.thumbnailType)&&Ma.overrides.thumbnailMasonryFill?m-(r.gridWidths+Ma.overrides.thumbnailGap)*(v-1):r.gridWidths,r.numberOfColumns=v),r.items.length&&t(),setTimeout(function(){Ma.section(e.section);var t=r.getBounds(),l=new xe({hRange:Ma.overlayView.zoneWidth(),vRange:"hPaginatedGrid"===Ma.overrides.thumbnailType?Ma.mediaView.zoneHeight(e.section.key):Ma.overlayView.zoneHeight(e.section.key),width:r.perpLength,height:t.height,hAlign:"center",vAlign:"hPaginatedGrid"===Ma.overrides.thumbnailType?"center":"top",hOffset:0,vOffset:"hPaginatedGrid"===Ma.overrides.thumbnailType?0:e.verticalMargin});if((Ma.overrides.thumbnailMasonryFill||Ma.overrides.thumbnailMasonryEvenRowHeight)&&/hMasonry|vMasonry/.test(Ma.overrides.thumbnailType)?o.gridContainer.x=e.horizontalMargin:(o.gridContainer.x=Math.floor(l.x),a&&(a.width=r.perpLength,d=Ma.overrides.thumbnailTitleBlockTopMargin+a.element.offsetHeight,a.y=Ma.overrides.thumbnailTitleBlockTopMargin)),"hPaginatedGrid"===Ma.overrides.thumbnailType?o.gridContainer.y=Math.floor(l.y):(o.gridContainer.y=0,o.grid.y=d+e.verticalMargin),n.width=Ma.overlayView.zoneWidth(),o.width=Ma.overlayView.zoneWidth(),o.grid.width=r.perpLength,o.gridContainer.width=r.perpLength,"hPaginatedGrid"===Ma.overrides.thumbnailType){var c=Ma.mediaView.zoneHeight(e.section.key);n.height=c,o.height=c,i.height=c,o.grid.height=t.height,o.gridContainer.height=t.height,s=c}else if(/^unifiedSite/.test(Ma.overrides.siteDisplayBehavior)){var h=!g(e.section)&&Ma.mediaView.height(e.section.key)>t.height?Ma.mediaView.height(e.section.key):t.height,u=h+e.verticalMargin;s=d+(u+e.verticalMargin),n.height=s,o.height=s,o.grid.height=u,o.gridContainer.height=s}else if(Ma.siteView.unifiedPageScroll()&&(Wi!==Xi&&oe()||Wi!==Ni&&le()||/native/.test(Ma.overrides.thumbnailScrollType)||Pi.globalSmoothScroll)){var u=t.height+e.verticalMargin;u=u>Ma.mediaView.height()?u:Ma.mediaView.height(),s=d+(u+e.verticalMargin),n.height=s,o.height=s,o.grid.height=u,o.gridContainer.height=s}else s=d+(t.height+e.verticalMargin),n.height=Ma.overlayView.zoneHeight(),o.height=n.height,i.height=n.height,o.grid.height=t.height+e.verticalMargin,o.gridContainer.height=s;a&&"bottom"===Pi.thumbnailTitleBlockPosition&&(a.y=t.height+e.verticalMargin+Ma.overrides.thumbnailTitleBlockTopMargin,o.grid.y=e.verticalMargin),i.totalHeight=s,e.localEvents.dispatchEvent("UPDATE_CONTENT_HEIGHT",{thumbs:s}),n.resizeThumbVideo()},20)},this.thumbLoaded=function(e){this.parent.loader&&this.parent.removeChild(this.parent.loader),"slideUp"!==Pi.thumbLoadEffect&&"slideDown"!==Pi.thumbLoadEffect||qe(this.parent,.85,{alpha:1,translateY:0}),qe(this,.25,{alpha:1})}}function Si(e){function t(){switch(a){case"top":l.axis="x",l.perpLength=zo[r].height,n.height=zo[r].height,o.height=zo[r].height;break;case"right":l.axis="y",l.perpLength=zo[r].width,n.width=zo[r].width,o.width=zo[r].width;break;case"bottom":l.axis="x",l.perpLength=zo[r].height,n.height=zo[r].height,o.height=zo[r].height;break;case"left":l.axis="y",l.perpLength=zo[r].width,n.width=zo[r].width,o.width=zo[r].width}}function i(){l.layoutItems(),items=o.grid.children;for(var t=0,i=items.length;t573?573:Ma.mediaView.width(),F=Ma.mediaView.height(O.section.key)>400?400:Ma.mediaView.height(O.section.key),g.height=g.element.offsetHeight,T.width=T.element.offsetWidth,f.y=g.height+10,Bi.inquiryInfo?(b.y=g.height+20,C.x=2,C.y=b.y+b.element.offsetHeight+10):(C.x=2,C.y=g.height+20),xa.mediaView.width()>573?Bi.inquiryInfo?(w.x=222,w.y=b.y+b.element.offsetHeight+10):(w.x=222,w.y=C.y):(w.transition=0,w.x=H,w.width=Ma.mediaView.width()-2*H,w.y=C.y+k+10,C.x=.5*(xa.mediaView.width()-C.width),g.x=.5*(xa.mediaView.width()-g.element.offsetWidth),L.input.width=.5*w.width-H,x.input.width=.5*w.width,M.input.width=w.width,x.x=.5*w.width,f.alpha=0),T.x=w.element.offsetWidth-T.width,Bi.inquiryInfo?(A.x=w.x,A.y=b.y+b.element.offsetHeight+10):(A.x=w.x,A.y=40),0===O.updateSpeed?(O.width=Ma.mediaView.width(),O.height=Ma.mediaView.height(O.section.key),v.x=.5*(Ma.mediaView.width()-I),v.y=.5*(Ma.mediaView.height(O.section.key)-F),v.width=I,v.height=F):(qe(O,O.updateSpeed,{width:Ma.mediaView.width(),height:Ma.mediaView.height(O.section.key)}),qe(v,O.updateSpeed,{x:.5*(Ma.mediaView.width()-I),y:.5*(Ma.mediaView.height(O.section.key)-F),width:I,height:F})),E.width=Ma.mediaView.width(),E.height=Ma.mediaView.height(O.section.key),O.updateSpeed=Lo},O.show=function(){O.updateSpeed=0,O.visible||(O.visible=!0,O.display="block",qe(O,Lo,{alpha:1}),qe(w,Lo,{alpha:1}),qe(A,Lo,{alpha:0})),O.updatePosition()},O.hide=function(){O.visible&&(O.visible=!1,qe(O,Lo,{alpha:0,onComplete:function(){this.display="none"}}))},O.updateInquiryInfo=function(){g.text=Bi.inquiryTitle?Bi.inquiryTitle:"Inquire about this image",Bi.inquiryInfo&&(b.text=Bi.inquiryInfo),O.updatePosition()},O.updateContent=function(e){var t=S(e.section.media);y=l(t[e.assetId]),C&&v.removeChild(C),C=new Ke,C.alpha=0,Bi.inquiryInfo?(C.x=2,C.y=b.y+b.element.offsetHeight+10):(C.x=2,C.y=g.height+20),C.src=c(200,200,y.thumb||y.content,y.demoFile),C.width=200,v.addChild(C),C.addEventListener(en,i)},O.addEventListener(So,function(e){t.call(O)}),O}function Mi(e){function t(){g=new Ca,g.backgroundColor="#cccccc",g.alpha=0,g.addEventListener(hn,o),C.addChild(g),a=new Ca,a.width=w,a.height=y,C.addChild(a),r=new lt,r.text="Share this item",r.fontFamily=Ma.overrides.overlayTitleFont,r.fontColor=Ma.overrides.overlayTitleFontColor,r.fontSize=Ma.overrides.overlayTitleFontSize,a.addChild(r),r.height=r.element.offsetHeight,s=new Ca,s.backgroundColor=V(Ma.overrides.overlayTitleFontColor,.35),s.width=w,s.height=1,s.y=Ma.overrides.overlayTitleFontSize+10,a.addChild(s),d=new Ke,d.alpha=0,a.addChild(d),d.addEventListener(en,i),h=new Ca,h.x=222,h.y=r.height+20,h.width=w-h.x,h.height=y-h.y,a.addChild(h);var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");p=new Ca({type:"iframe"}),p.src="https://www.facebook.com/plugins/share_button.php?href="+encodeURIComponent(e)+"&width="+M.width+"&layout="+M.layout+"&action=like&size="+M.size+"&show_faces="+M.showFaces+"&share="+M.showShareButton+"&height="+M.height,p.width=M.width,p.height=M.height,p.element.setAttribute("scrolling","no"),p.element.setAttribute("frameborder","0"),p.element.setAttribute("allowTransparency","true"),m=new Je,m.addEventListener("click",function(){var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");window.open("https://twitter.com/intent/tweet?text="+encodeURI(e),"_blank")});var t=new Ke;t.position="relative",t.width=20,t.height=20,t.src="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com/icon/twitter@2x.png",m.addChild(t),v=new Je,v.addEventListener("click",function(){var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");window.location.href="mailto:?subject=Shared item from "+window.location.host+"&body="+Bi.portfolioEmailMessage+"%0A%0A"+e});var l=new Ke;l.position="relative",l.width=20,l.height=20,l.src="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com/icon/email@2x.png",v.addChild(l),p.y=0,m.y=30,v.y=60,h.addChild(p),h.addChild(m),h.addChild(v),L.alpha=0,L.x=h.x,L.y=40,L.fontFamily=Ma.overrides.overlayTitleFont,L.fontColor=Ma.overrides.overlayTitleFontColor,L.fontSize=14,a.addChild(L),C.updateStyle(),C.updatePosition(),C.show(),x.addEventListener(Po,n)}function i(e){var t=He({width:this.width,height:this.element.offsetHeight,filename:d.src}),i=Pe(null,0,{type:"fit",width:t.width,height:t.height,hRange:200,vRange:oe()?200:300,hAlign:0,vAlign:0,disableOrientationCheck:!0});f=Math.ceil(i.scale.width),b=Math.ceil(i.scale.height),this.width=f,this.height=b,qe(this,Lo,{alpha:1}),C.updatePosition()}function n(e){L.text=e.response,qe(h,Lo,{alpha:0}),qe(L,Lo,{alpha:1}),C.addEventListener(hn,o)}function o(e){e.target===C&&C.removeEventListener(hn,o),x.dispatchEvent(Jo,"share")}var a,r,s,d,h,u,p,m,v,g,f,b,C=new Ca(e),w=573,y=400,L=new Ca,x=e.localEvents;C.section=e.section;var M={layout:"button",size:"small",showFaces:!1,showShareButton:!0,width:67,height:20};return C.updateSpeed=0,C.backgroundColor=V(Pi.overlayColor,Pi.overlayAlpha),C.zIndex=100,C.alpha=0,C.visible=!1,C.updateStyle=function(e){Ma.overrides.overlayTitleFont!==r.fontFamily&&(r.fontFamily=Ma.overrides.overlayTitleFont,p.fontFamily=Ma.overrides.overlayTitleFont,m.fontFamily=Ma.overrides.overlayTitleFont,v.fontFamily=Ma.overrides.overlayTitleFont),Ma.overrides.overlayTitleFontSize!==r.fontSize&&qe(r,Lo,{fontSize:Ma.overrides.overlayTitleFontSize,onComplete:function(){C.updatePosition(e)}}),Ma.overrides.overlayTitleFontColor!==r.fontColor&&(qe(r,Lo,{fontColor:Ma.overrides.overlayTitleFontColor}),qe(s,Lo,{backgroundColor:V(Ma.overrides.overlayTitleFontColor,.35)}),qe(p,Lo,{fontColor:V(Pi.overlayColor,.35),backgroundColor:V(Ma.overrides.overlayTitleFontColor,.35)}),qe(m,Lo,{fontColor:V(Pi.overlayColor,.35),backgroundColor:V(Ma.overrides.overlayTitleFontColor,.35)}),qe(v,Lo,{fontColor:V(Pi.overlayColor,.35),backgroundColor:V(Ma.overrides.overlayTitleFontColor,.35)})),V(Pi.overlayColor,Pi.overlayAlpha)!==C.backgroundColor&&qe(C,Lo,{backgroundColor:V(Pi.overlayColor,Pi.overlayAlpha)})},C.updatePosition=function(e){Ma.section(C.section),C.x=0,C.y=0,w=Ma.mediaView.width()>573?573:Ma.mediaView.width(),y=Ma.mediaView.height(C.section.key)>400?400:Ma.mediaView.height(C.section.key),d.x=2,d.y=r.height+20,s.y=Ma.overrides.overlayTitleFontSize+10,xa.mediaMask.width()>573?(h.x=222,h.y=r.height+20):(h.transition=0,h.x=.5*(xa.mediaView.width()-h.width),h.y=d.y+b+10,d.x=.5*(xa.mediaView.width()-d.width),r.x=.5*(xa.mediaView.width()-r.element.offsetWidth),p.x=.5*(h.width-67),m.x=.5*(h.width-20),v.x=.5*(h.width-20),s.alpha=0),0===C.updateSpeed?(C.width=Ma.mediaView.width(),C.height=Ma.mediaView.height(C.section.key),a.x=.5*(Ma.mediaView.width()-w),a.y=.5*(Ma.mediaView.height(C.section.key)-y),a.width=w,a.height=y):(qe(C,C.updateSpeed,{width:Ma.mediaView.width(),height:Ma.mediaView.height(C.section.key)}),qe(a,C.updateSpeed,{x:.5*(Ma.mediaView.width()-w),y:.5*(Ma.mediaView.height(C.section.key)-y),width:w,height:y})),g.width=Ma.mediaView.width(),g.height=Ma.mediaView.height(C.section.key),C.updateSpeed=Lo},C.show=function(){C.updateSpeed=0,C.updatePosition(),C.visible||(C.visible=!0,C.display="block",qe(C,Lo,{alpha:1}),qe(h,Lo,{alpha:1}),qe(L,Lo,{alpha:0}))},C.hide=function(e){C.visible&&(C.visible=!1,qe(C,Lo,{alpha:0,onComplete:function(){this.display="none"}}))},C.updateContent=function(e){var t=S(e.section.media);u=l(t[e.assetId]),r.text="Share this "+u.type;var n=r.element.offsetHeight;d&&a.removeChild(d),d=new Ke,d.alpha=0,d.x=2,d.y=n+20,d.width=200,d.src=c(200,200,u.thumb||u.content,u.demoFile),h.y=n+20;var o="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");p.src="https://www.facebook.com/plugins/share_button.php?href="+encodeURIComponent(o)+"&width="+M.width+"&layout="+M.layout+"&action=like&size="+M.size+"&show_faces="+M.showFaces+"&share="+M.showShareButton+"&height="+M.height,a.addChild(d),d.addEventListener(en,i)},C.addEventListener(So,function(e){t.call(C)}),C}function Ti(e){function t(e){return window.scrollY>e?e:window.scrollY<0?0:window.scrollY}function i(e){Pi.menuRevealOnInit!==!1&&k&&e<10?C.menuView.dock.toggleState()||C.menuView.dock.show():e>wa.height*Pi.menuScrollReveal?C.menuView.dock.toggleState()||C.menuView.dock.show():C.menuView.dock.toggleState()&&C.menuView.dock.hide()}function n(){"Safari"===ra&&(C.menuView.menuText.translateZ=0)}function o(){"Safari"===ra&&(C.menuView.menuText.style["-webkit-transform"]="none",C.menuView.menuText.style["-ms-transform"]="none",C.menuView.menuText.style.transform="none")}function a(){C.menuView.dock.toggleState()&&C.menuView.closeDock()}function r(e){if(C.menuView.isInitUri=!1,Wi===Xi||Wi===Ni){var t=e.info.isDeepLink||""===Pi.menuAutoCloseMobile||void 0===Pi.menuAutoCloseMobile||Pi.menuAutoCloseMobile;""===Ma.introFile&&""===Pi.introFile||e.path?!y&&I(e)&&C.menuView.dock.toggleState()?setTimeout(C.menuView.closeDock,200):y||t?t&&C.menuView.dock.toggleState()&&setTimeout(C.menuView.closeDock,2e3):C.menuView.dock.toggleState()&&(clearTimeout(b),b=setTimeout(C.menuView.closeDock,200)):(C.menuView.dock.toggleState()||C.menuView.openDock(),t&&setTimeout(C.menuView.closeDock,2e3))}else"overlay"===Ma.menuView.placement()?(!y&&C.menuView.dock.toggleState()&&C.menuView.closeDock(),y&&(Pi.menuOpenOverlayOnInit?C.menuView.openDock():C.menuView.closeDock(),C.menuView.dock.toggleState()?C.menuView.showCloseButton():C.menuView.showMenuIcon())):te()&&i();s(e),y=!1}function s(e){C.menuView.menuText.setActiveMenuItem(e)}function d(e){var t=S(e.value);return"media"===e.field&&"update"===e.method&&1===t.length&&"link"===l(t[0]).type}function c(e){return"media"===e.field&&"update"===e.method&&""===e.value}function h(e){setTimeout(function(){C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:e})},400)}function p(e){f&&clearTimeout(f),f=setTimeout(function(){e.action&&"sectionReorder"===e.action||(e.action&&"remove"===e.action?c(e)&&h(m()):e.action&&"addMediaToSection"===e.action||(e.action&&"addSelectionToSection"===e.action?d(e)&&h(m()):h(m())))},0)}function m(){var e={};for(var t in Ri)Ri[t].media&&Ri[t].mediaItems&&Ri.hasOwnProperty(t)&&(e[t]={id:Ri[t].id,key:Ri[t].key,hideFromMenu:Ri[t].hideFromMenu,customLink:Ri[t].customLink,isIndex:Ri[t].isIndex,indexLink:Ri[t].indexLink,linkTarget:Ri[t].linkTarget,isOpen:Ri[t].isOpen,hideSubs:Ri[t].hideSubs,label:Ri[t].label,alias:Ri[t].alias,media:Ri[t].media.slice(0),mediaItems:Ri[t].mediaItems.slice(0),overrides:Ri[t].overrides,password:Ri[t].password,thumb:Ri[t].thumb,visible:Ri[t].visible,isSearch:Ri[t].isSearch,isLightbox:Ri[t].isLightbox});if((Wi===Xi||Wi===Ni&&Pi.footerOnMenuTablet)&&(Ma.socialLinks.forEach(function(t){var i=Hi[t],n=u(e);e[t]={id:n,key:i.label,label:i.label,media:[t],mediaItems:[],overrides:{},password:"",thumb:{},visible:!0},e.ROOT_SECTION.media.push(n)}),Ma.copyright)){var i=u(e);e.copyright={id:i,key:"copyright",label:Ma.copyright,media:[],mediaItems:[],overrides:{},password:"",thumb:{},visible:!0},e.ROOT_SECTION.media.push(i)}return e}function v(e){if(w||e&&/menu|marginOverlap|dropdownSubMenu|sitePaddingTop|sitePaddingRight|sitePaddingBottom|sitePaddingLeft|footerIcon/.test(e.id)){C.menuView.updateStyle();var t=m();C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:t}),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition("layoutModelChange"),C.menuView.updateScroll(),w=!1,h(t)}}function g(e){"link"===e.type&&"Footer Links"!==e.filters&&(C.menuView.updateStyle(),C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:m()}),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(),C.menuView.updateScroll())}var f,b,C=new $e({parentView:e.parentView,parentController:e.parentController,events:e.siteControllerEvents}),w=!0,y=!0,L=!0,x=350,M=!1,T=!1;C.updateSpeed=0,C.menuView=new e.MenuView(e),C.menuView.alpha=0,Wi===Xi&&Ma.overrides.menuDisplaceMobile?(wa.addChild(C.menuView),C.menuView.addChild(e.parentView),C.menuView.setClass("MenuView invertSite")):Wi===Ni&&Ma.overrides.menuDisplaceTablet?(wa.addChild(C.menuView),C.menuView.addChild(e.parentView),C.menuView.setClass("MenuView invertSite")):(C.parentView.addChild(C.menuView),C.parentView.setClass("SiteView invertSite")),e.model=Ri,C.menuView.menuText=new Ei(e),C.menuView.menuText.element.setAttribute("class","menuText"),C.menuView.addContent(C.menuView.menuText),C.events.addEventListener("menuUpdatePosition",function(){C.menuView.updatePosition()}),C.events.addEventListener(_n,v),C.events.addEventListener(Wn,g),C.events.addEventListener(Zn,p),C.events.addEventListener(lo,function(){M=!0}),C.events.addEventListener(nn,function(){xa.isMenuOverlayStateChange?(C.menuView.transition=0,
C.menuView.alpha=0,setTimeout(function(){xa.isMenuResponsiveOverlay&&Wi!==Xi?C.menuView.closeDock(0):C.menuView.openDock(0),C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.rebuild({model:m()}),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(0),C.menuView.updateStyle(0),C.menuView.updateScroll(),C.menuView.dock.toggleState()&&setTimeout(function(){C.menuView.transition=0,C.menuView.alpha=1},350)},x)):(Wi===Xi&&(M||L)&&(C.menuView.menuText.rebuild({model:m()}),M=!1),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(),Wi===Xi||Wi===Ni||C.menuView.dock.toggleState()||Pi.isMenuScrollReveal||setTimeout(function(){C.menuView.display="none"},x)),x=50,L=!1}),C.events.addEventListener(Hn,r),C.events.addEventListener("SITE_URI_CHANGE_PASSIVE",s),C.events.addEventListener(_o,a),C.events.addEventListener(Yo,function(){f=setTimeout(function(){C.menuView.dock.toggleState()&&(C.menuView.menuText.display="block",C.menuView.display="block"),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition()},0)}),C.events.addEventListener(Zo,C.menuView.updatePosition),C.events.addEventListener("fillSiteMode",n),C.events.addEventListener("nonFillSiteMode",o),C.events.addEventListener("LOGO_LOADED",function(){C.menuView.menuText.display="block",C.menuView.display="block",C.menuView.menuText.updatePosition(0),C.menuView.updatePosition()});var V,E=0,z=!1,k=!0,O=void 0===Pi.menuRevealOnInit||Pi.menuRevealOnInit;Pi.menuRevealOnInit===!1&&C.menuView.dock.hide(),window.addEventListener("scroll",function(){T=!1,Pi.isMenuScrollReveal&&/top/.test(Ma.menuView.placement())&&(z=!0,clearTimeout(V),V=setTimeout(function(){var e=Ma.siteView.height()-wa.height;E=t(e),Pi.menuRevealOnInit!==!0&&k?(C.menuView.dock.hide(),O=!1):te()?(T=!0,i(E)):Pi.isMenuScrollReveal&&(0!==E&&E>window.oldScrollY-1?C.menuView.dock.toggleState()&&!k&&(C.menuView.dock.hide(),O=!1):E0)for(var t=e.children.length;t--;)this.removeChildren(e.children[t]),e.removeChild(e.children[t])},e.prototype.childAdded=function(e){for(var t=this.children.length;t--;)"Stage"===this.children[t].topParentName&&this.children[t]===e&&this.children[t].dispatchEvent&&this.children[t].dispatchEvent(So,this.children[t])},e.prototype.moveToTop=function(e){for(var t=0,i=this.children.length;i--;)this.children[i].zIndex>=t&&!this.children[i]===e?t=this.children[i].zIndex+1:this.children[i].zIndex--;e.zIndex=t},e.prototype.event=function(e){!this.proxy._private.selectable&&!po&&"input"!==this.proxy.vars.type&&"textarea"!==this.proxy.vars.type&&"button"!==this.proxy.vars.type;var t={type:e.type,target:this.proxy,currentTarget:this.proxy,keyCode:e.which,detail:e.detail,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX||e.layerX,offsetY:e.offsetY||e.layerY,mouseX:e.clientX-this.proxy.stageX,mouseY:e.clientY-this.proxy.stageY,preventDefault:function(){e.preventDefault()},stopPropagation:function(){e.stopPropagation()},dataTransfer:e.dataTransfer};e.touches&&(t.touches=e.touches),this.proxy.dispatchEvent(e.type,t)},e.prototype.hitTestPoint=function(e,t){return this._private.width||(this._private.width=this.element.offsetWidth||this.element.scrollWidth||0),"none"!==this.style.display&&e>=this.stageX&&e<=this.stageX+this._private.width&&t>=this.stageY&&t<=this.stageY+this._private.height},e.prototype.hitTestAbs=function(e,t){return"none"!==this.style.display&&e>=this.scrollAbsX&&e<=this.scrollAbsX+this._private.width&&t>=this.scrollAbsY&&t<=this.scrollAbsY+this._private.height},e.prototype.globalToLocal=function(e){return{x:e.x-this.stageX,y:e.y-this.stageY}},e.prototype.localToGlobal=function(e){return{x:e.x+this.stageX,y:e.y+this.stageY}},e.prototype.focus=function(){wa.activeFocus=this,"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.focus()},e.prototype.blur=function(){"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.blur()},e.prototype.getClass=function(){return this.element.className},e.prototype.setClass=function(e){return this.element.setAttribute("class",e)},i.forEach(function(i){/width|height|fontSize|src|transition/.test(i)||Object.defineProperty(e.prototype,i,{
get:function(){return this._private[i]},set:function(e){this._private[i]=e,this.element.style[i]=t.indexOf(i)>-1?e+"px":e}})}),Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.element.style.fontFamily},set:function(e){if(e.indexOf(":")>-1){var t=e.split(":"),i=t[0],n=t[1];this.fontWeight=n,this.element.style.fontFamily=i,this._private.fontFamily=i}else this.element.style.fontFamily=e,this._private.fontFamily=e}}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this.element.scrollLeft},set:function(e){this.element.scrollLeft=e}}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.element.scrollTop},set:function(e){this.element.scrollTop=e}}),Object.defineProperty(e.prototype,"offsetLeft",{get:function(){return this.element.offsetLeft}}),Object.defineProperty(e.prototype,"offsetTop",{get:function(){return this.element.offsetTop}}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.value=e}}),Object.defineProperty(e.prototype,"topParentName",{get:function(){return this.parent?this.parent.topParentName:this.topParentName}}),Object.defineProperty(e.prototype,"stageX",{get:function(){if(this.parent){var e=this.x>0?this.x:this.translateX;return this.parent.stageX+(e||0)}return this.x}}),Object.defineProperty(e.prototype,"stageY",{get:function(){if(this.parent){var e=this.y>0?this.y:this.translateY;return this.parent.stageY+(e||0)}return this.y}}),Object.defineProperty(e.prototype,"absX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetLeft+i.m41}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"absY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetTop+i.m42}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"scrollAbsX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetLeft+i.m41-t.scrollLeft}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"scrollAbsY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetTop+i.m42-t.scrollTop}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"src",{get:function(){return this._private.src},set:function(e){e&&(this._private.src=e,this.element.src=e)}}),Object.defineProperty(e.prototype,"text",{get:function(){return this._private.text},set:function(e){this._private.text=e,this.element.innerHTML=e}}),Object.defineProperty(e.prototype,"textAlignVertical",{get:function(){return this._private.textAlignVertical},set:function(e){this._private.textAlignVertical=e,"middle"!==e&&"bottom"!==e||(this.style.position="relative",this.style.display="table-cell"),this.style.verticalAlign=e}}),Object.defineProperty(e.prototype,"textWrap",{get:function(){return this._private.textWrap},set:function(e){this._private.textWrap=e,this.style.whiteSpace=e?"normal":"nowrap"}}),Object.defineProperty(e.prototype,"fontColor",{get:function(){return this._private.fontColor},set:function(e){this._private.fontColor=e,this.style.color=e}}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._private.selectable},set:function(e){this._private.selectable=e,this._private.selectable||"input"===this.vars.type||"textarea"===this.vars.type?(this.style.cursor="auto",this.style["-webkit-touch-callout"]="text",this.style["-webkit-user-select"]="text",this.style.MozUserSelect="text",this.style["-ms-touch-callout"]="text",this.style["user-select"]="text"):(this.style.cursor="default",this.style["-webkit-touch-callout"]="none",this.style["-webkit-user-select"]="none",this.style.MozUserSelect="none",this.style["-ms-touch-callout"]="none",this.style["user-select"]="none")}}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this._private.opacity},set:function(e){this._private.opacity=e,this.style.opacity=e}}),Object.defineProperty(e.prototype,"x",{get:function(){return this._private.x||0},set:function(e){this._private.x=e,this.style.left=e+"px"}}),Object.defineProperty(e.prototype,"y",{get:function(){return this._private.y||0},set:function(e){"textinputpanel"===this.name,this._private.y=e,this.style.top=e+"px"}}),Object.defineProperty(e.prototype,"translate",{get:function(){return this._private.translate},set:function(e){this._private.translate=e,this._private.translateX=e[0],this._private.translateY=e[1],this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateX",{get:function(){if(isNaN(this._private.translateX)){var e=new L(this.element);return Number(e.x)||0}return this._private.translateX},set:function(e){this._private.translateX=e,this._private.translateY=this._private.translateY||0,this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateY",{get:function(){if(this._private.translateY)return this._private.translateY;var e=new L(this.element);return Number(e.y)||0},set:function(e){this._private.translateY=e,this._private.translateX=this._private.translateX||0,this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateZ",{get:function(){return this._private.translateZ},set:function(e){this._private.translateZ=e,this.style["-webkit-transform"]="translateZ("+e+"px)",this.style["-ms-transform"]="translateZ("+e+"px)",this.style.transform="translateZ("+e+"px)"}}),Object.defineProperty(e.prototype,"translate3d",{get:function(){if(this._private.translate3d)return this._private.translate3d;var e=new L(this.element);return[e.x,e.y,e.z]||0},set:function(e){this._private.translate3d=e,this._private.translateX=e[0]||0,this._private.translateY=e[1]||0,this._private.translateZ=e[2]||0,this.style["-webkit-transform"]="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)",this.style["-ms-transform"]="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)",this.style.transform="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)"}}),Object.defineProperty(e.prototype,"rotate",{get:function(){return this._private.rotate},set:function(e){this._private.rotate=e,this.style["-webkit-transform"]="rotate("+e+"deg)",this.style["-moz-transform"]="rotate("+e+"deg)",this.style["-o-transform"]="rotate("+e+"deg)",this.style.transform="rotate("+e+"deg)"}}),Object.defineProperty(e.prototype,"width",{get:function(){return this._private.width=this._private.width||0,this._private.width},set:function(e){e<0&&(e=0),this._private.width=e,this.style.width=e+"px"}}),Object.defineProperty(e.prototype,"height",{get:function(){return this._private.height=this._private.height||0,this._private.height},set:function(e){e<0&&(e=0),this._private.height=e,this.style.height=e+"px"}}),Object.defineProperty(e.prototype,"numChildren",{get:function(){return this.children.length}}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this._private.fontSize},set:function(e){this._private.fontSize=e,isNaN(e)&&e.search("%")>-1?this.style.fontSize=e:isNaN(e)&&e.search("px")>-1?this.style.fontSize=e:isNaN(e)?this.style.fontSize=e:this.style.fontSize=e+"px"}}),Object.defineProperty(e.prototype,"transition",{get:function(){return this._private.transition},set:function(e){this._private.transition=e,e?(e="all "+e+"s cubic-bezier(1, 0, 0.3, 1)",this.style.WebkitTransition=e,this.style.MozTransition=e,this.style.OTransition=e,this.style.transition=e):(this.style.WebkitTransitionProperty="none",this.style.MozTransitionProperty="none",this.style.OTransitionProperty="none",this.style.transitionProperty="none")}}),Object.defineProperty(e.prototype,"isInViewport",{get:function(){var e=window.innerWidth,t=window.innerHeight,i={x:0,y:0,width:2*e,height:2*t},n=this.element.getBoundingClientRect();return n.x=n.x||n.left,n.y=n.y||n.top,o(i,n)}})}(i),e}(),wa=it.call(it),ya={navArrowRight:{default:"M1.4,11.984l4.244-4.242L1.4,3.5",thin:""},navArrowLeft:{default:"M6.644,3.5L2.4,7.742l4.244,4.242",thin:""},navArrowUp:{default:"m 1.4562498,8.21905 5.1000001,-5.4 5.7000001,5.4",thin:""},navArrowDown:{default:"m 1.4562498,1.44405 5.1000001,5.4 5.7000001,-5.4",thin:""},navFullscreen:{default:"M0,0h15v9H0V0z M2,2v5h11V2H2z",thin:"M1.5,1.5 L12.5,1.5 L12.5,7.5 L1.5,7.5 L1.5,1.5 z"},navShare:{default:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z",thin:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z"},navInfo:{default:"M0.576,10.401c0.384,0.922,0.924,1.724,1.621,2.404c2.891,2.908,7.741,2.946,10.624,0c2.904-2.923,2.905-7.705,0-10.629 c-2.88-2.92-7.736-2.881-10.624,0c-0.738,0.715-1.274,1.525-1.607,2.43C-0.192,6.534-0.197,8.465,0.576,10.401 C0.959,11.324,0.192,9.479,0.576,10.401z M1.9,5.131c0.311-0.753,0.745-1.403,1.303-1.95c2.34-2.383,6.292-2.274,8.654,0 c2.316,2.448,2.284,6.187,0,8.643c-2.387,2.29-6.288,2.39-8.654,0c-0.543-0.542-0.985-1.207-1.329-1.994 c-0.293-0.738-0.44-1.528-0.44-2.371C1.435,6.661,1.59,5.885,1.9,5.131C2.211,4.378,1.59,5.885,1.9,5.131z M4.792,7.981 c0.562,0,1.844-0.876,2.245-0.566C7.531,7.798,6.011,9.726,5.89,9.94c-0.605,1.064-0.754,2.451,0.931,2.24 c1.02-0.128,2.904-0.903,3.41-1.88c0.232-0.451-2.039,0.442-2.189,0.278C7.69,10.194,8.925,8.421,9.058,8.096 C10.812,3.81,4.583,6.318,4.792,7.981C4.796,7.981,4.792,7.981,4.792,7.981z M8.151,4.869c0.465,0.459,1.194,0.432,1.651-0.025 c0.701-0.62,0.341-1.849-0.572-2.041C8.067,2.56,7.326,4.053,8.151,4.869C8.38,5.094,7.923,4.644,8.151,4.869z",thin:"M7.5,12.5 C4.739,12.5 2.5,10.261 2.5,7.5 C2.5,4.739 4.739,2.5 7.5,2.5 C10.261,2.5 12.5,4.739 12.5,7.5 C12.5,10.261 10.261,12.5 7.5,12.5 z M7.5,5.694 L7.5,4.306 M7.5,10.37 L7.5,6.435"},navCart:{default:"M 1.248,8.985 H 3.254 V 6.989 H 1.248 V 8.985 z M 0,0 1.05,5.992 h 9.235 L 11.271,0.966 13.248,0.968 13.256,0 H 0 z m 3.25,3.981 h -1 v -1 h 1 v 1 z M 3.25,2 h -1 V 1 h 1 v 1 z m 2,2 h -1 V 3 h 1 v 1 z m 0,-2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 7.25,2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 9.25,2 h -1 V 1 h 1 V 2 z M 7.252,9.007 H 9.25 V 7.002 H 7.252 v 2.005 z",thin:"M3.673,7.806 C3.866,7.806 4.023,7.963 4.023,8.157 C4.023,8.35 3.866,8.507 3.673,8.507 C3.479,8.507 3.322,8.35 3.322,8.157 C3.322,7.963 3.479,7.806 3.673,7.806 z M10.034,1.526 L8.552,6.278 L2.701,6.278 L1.5,1.5 L11.542,1.5 M7.333,7.806 C7.139,7.806 6.982,7.963 6.982,8.157 C6.982,8.35 7.139,8.507 7.333,8.507 C7.527,8.507 7.684,8.35 7.684,8.157 C7.684,7.963 7.527,7.806 7.333,7.806 z"},navThumbs:{default:"M0,3h7v4H0V3z M0,8h7v4H0V8z M8,3h7v4H8V3z M8,8h7v4H8V8z",thin:"M1.5,3.5 L6.5,3.5 L6.5,6.5 L1.5,6.5 L1.5,3.5 z M8.5,3.5 L8.5,6.5 L13.5,6.5 L13.5,3.5 L8.5,3.5 z M1.5,8.5 L1.5,11.5 L6.5,11.5 L6.5,8.5 L1.5,8.5 z M8.5,8.5 L8.5,11.5 L13.5,11.5 L13.5,8.5 L8.5,8.5 z"},play:"M2,1l8,5.031L2,11V1z",pause:"M2,2h3v8H2V2z M7,2h3v8H7V2z",volume:"M2,7.5h1V10H2V7.5z M4,7h1v3H4V7z M6,6h1v4H6V6z M8,4h1v6H8V4z M10,2h1v8h-1V2z M0,8h1v2H0V8z",mute:"M2,8h1v2H2V8z M4,8h1v2H4V8z M6,8h1v2H6V8z M8,8h1v2H8V8z M10,8h1v2h-1V8z M0,8h1v2H0V8z",arrowLeft:"M 8.812269,1.1126749 2.1862736,7.2790289 8.876226,13.512325",arrowRight:"M 1.0939806,1.1126749 7.719976,7.2790289 1.0300236,13.512325",arrowUp:"M 1.1126747,8.812269 7.2790287,2.1862738 13.512325,8.876226",arrowDown:"M 1.1126747,1.0939808 7.2790287,7.719976 13.512325,1.0300238",arrowUpSmall:"M10.535,8.768L7,5.232L3.465,8.768",arrowDownSmall:"M3.465,5.232L7,8.768l3.535-3.535",arrowRightSmall:"M4.5,11.001L9.5,6l-5-5",arrowLeftSmall:"M9.5,2l-5,5.001l5,5",edit:"M4.244,7.759L9.203,2.8l2.151,2.151L6.396,9.909L2.8,11.397L4.244,7.759z",popout:"M3,8 L3,1 L12,1 L12,8 L10,8 L10,11 L0,11 L0,3 L3,3 L2,3 L2,4 L1.969,9 L10,9 L10,8 L3,8 z M10,3 L5,3 L5,6 L10,6 L10,3 z",remove:"M4,7h6 M7,2.5C4.515,2.5,2.5,4.515,2.5,7c0,2.486,2.015,4.5,4.5,4.5 c2.486,0,4.5-2.014,4.5-4.5C11.5,4.515,9.485,2.5,7,2.5z",spacer:"M12,10H2V4h10V10z",chart:"M1.844,9.188 L5.094,6.188 L7.031,8.562 L12.156,4.188",eyeSmall:"M2.613,6.95c0-1.391,2.021-2.518,4.513-2.518 c2.493,0,4.514,1.127,4.514,2.518 M7.125,5.691c-0.682,0-1.235,0.553-1.235,1.235c0,0.681,0.553,1.235,1.235,1.235 c0.681,0,1.235-0.554,1.235-1.235C8.36,6.244,7.807,5.691,7.125,5.691z",lock:"M10,9.875H4v-5h6V9.875z M9.5,4.625c0-1.381-1.119-2.5-2.5-2.5s-2.5,1.119-2.5,2.5 M5.5,4.625c0-0.828,0.672-1.5,1.5-1.5s1.5,0.672,1.5,1.5",plusSmall:"M3,7h8 M7,11V3",listSmall:"M11,4H3V3h8V4z M11,9H3v1h8V9z M11,6H3v1h8V6z",thumbXSmall:"M6,6H2V3h4V6z M12,3H8v3h4V3z M6,8H2v3h4V8z M12,8H8v3h4V8z",eyeHide:"M19.781,4.592 L21.552,6.272 L19.239,8.467 C21.488,9.601 23.362,11.298 25,13.186 C20.879,18.097 14.534,21.593 8.14,19.004 L5.219,21.776 L3.448,20.096 L5.761,17.9 C3.573,16.71 1.624,15.072 0,13.186 C2.735,10.019 6.181,7.253 10.432,6.602 C11.132,6.495 11.845,6.518 12.551,6.476 C14.03,6.531 15.436,6.958 16.838,7.386 L19.781,4.592 z M17.152,10.449 L16.088,11.458 L16.098,11.48 L11.356,15.995 L11.902,16.512 L16.432,12.199 C16.554,12.509 16.546,12.855 16.578,13.182 C16.578,15.412 14.674,17.221 12.324,17.22 C11.124,17.106 11.733,17.245 10.508,16.756 L10.108,17.135 C14.331,18.386 17.629,16.231 20.391,13.185 C19.486,12.082 18.4,11.139 17.152,10.449 z M12.357,8.854 C8.758,9.069 6.619,10.465 4.257,13.185 C5.207,14.373 6.45,15.227 7.71,16.051 L8.665,15.144 C8.045,13.746 8.2,14.412 8.07,13.182 C8.07,10.952 9.974,9.144 12.324,9.144 C13.614,9.267 12.915,9.119 14.391,9.709 L14.748,9.37 C13.149,8.884 13.947,9.051 12.357,8.854 z",minimize:"M0,11.5 L12,11.5",maximize:"M12,0 L12,12 L0,12 L0,0 L12,0 z M11,1.998 L1,1.998 L1,11.002 L11,11.002 L11,1.998 z",desktop:"M1.195,26.607 C0.561,26.543 0.018,26 -0.018,25.395 L0.018,3.755 C0.018,3.086 0.561,2.542 1.23,2.542 L30.805,2.542 C31.474,2.542 32.018,3.086 32.018,3.755 L31.982,25.394 C32.018,26 31.474,26.543 30.77,26.608 L18.932,26.607 C18.932,26.607 18.719,28.746 20.05,29.45 C20.9,29.9 20.558,30.258 20.558,30.258 L11.407,30.258 C11.407,30.258 11.09,29.93 11.95,29.5 C13.45,28.75 13.144,26.607 13.144,26.607 L1.195,26.607 z M30.237,4.404 L1.798,4.404 L1.798,20.531 L30.237,20.531 L30.237,4.404 z",tablet:"M25.638,0 C26.307,0 26.85,0.543 26.85,1.213 L26.85,30.787 C26.85,31.457 26.307,32 25.638,32 L6.362,32 C5.693,32 5.15,31.457 5.15,30.787 L5.15,1.213 C5.15,0.543 5.693,0 6.362,0 L25.638,0 z M16,29.476 C15.553,29.476 15.19,29.838 15.19,30.286 C15.19,30.733 15.553,31.095 16,31.095 C16.447,31.095 16.81,30.733 16.81,30.286 C16.81,29.838 16.447,29.476 16,29.476 z M25.188,3.231 L6.812,3.231 L6.812,28.769 L25.188,28.769 L25.188,3.231 z M15.896,1.406 C15.729,1.406 15.594,1.54 15.594,1.707 C15.594,1.874 15.729,2.009 15.896,2.009 C16.062,2.009 16.198,1.874 16.198,1.707 C16.198,1.54 16.062,1.406 15.896,1.406 z",mobile:"M21.718,0 C22.754,0 23.594,0.836 23.594,1.869 L23.594,30.131 C23.594,31.164 22.754,32 21.718,32 L10.282,32 C9.246,32 8.406,31.164 8.406,30.132 L8.406,1.868 C8.406,0.836 9.246,0 10.282,0 L21.718,0 z M16,28.5 C15.352,28.5 14.826,29.023 14.826,29.668 C14.826,30.314 15.352,30.837 16,30.837 C16.648,30.837 17.174,30.314 17.174,29.668 C17.174,29.023 16.648,28.5 16,28.5 z M22.539,4.083 L9.461,4.083 L9.461,27.345 L22.539,27.345 L22.539,4.083 z M17.287,2.563 L14.938,2.563 C14.876,2.563 14.825,2.623 14.825,2.697 L14.825,2.999 C14.825,3.073 14.875,3.133 14.938,3.133 L17.287,3.133 C17.351,3.133 17.402,3.073 17.402,2.999 L17.402,2.697 C17.402,2.623 17.351,2.563 17.287,2.563 z M16.117,1.042 C15.923,1.042 15.766,1.199 15.766,1.393 C15.766,1.586 15.923,1.743 16.117,1.743 C16.31,1.743 16.467,1.586 16.467,1.393 C16.467,1.199 16.31,1.042 16.117,1.042 z",close:"M0,0l12,12 M0,12l12-12",closeSmall:"M3,3l8,8 M3,11l8-8",plus:"M 6.5591462,0.00335385 6.5033537,13.059146",minus:"M 0.0033543,6.5033535 13.059146,6.5591465",operand:"m 0.07131516,7.5193495 14.99702684,0",fullscreen:"M0,2h2.77v0.898H0.923v1.801H0V2z M0,8.3h0.923v1.8H2.77V11H0V8.3z M1.846,3.8h8.308v5.4H1.846V3.8z M2.77,4.699V8.3h6.46 V4.699H2.77z M9.23,2H12v2.699h-0.923V2.898H9.23V2z M9.23,10.1h1.847V8.3H12V11H9.23V10.1z",resize:"M5.795,11l5.121-5.125 M9.293,11l1.623-1.623 M2.314,10.979l8.608-8.607",arrow1Left:"M7.5,20l18.338,18.336l6.662-6.664L20.829,20L32.5,8.327l-6.662-6.663L7.5,20z",arrow1Right:"M7.5,8.329L19.172,20L7.5,31.674l6.664,6.662L32.5,20L14.164,1.665L7.5,8.329z",arrow2Left:"M9.5,20l16.792,16.151l4.208-4.046L17.913,20L30.5,7.896l-4.208-4.047L9.5,20z",arrow2Right:"M9.5,7.894L22.084,20L9.5,32.104l4.208,4.047L30.5,20L13.708,3.849L9.5,7.894z",arrow3Left:"M66.5,15 L33.5,50 L66.5,85",arrow3Right:"M33,85 L67,50 L33,15",arrow3Down:"M15,33 L50,67 L85,33",plus1Left:"M0,15v10h40V15H0z",plus1Right:"M0,15v9.999h15V40h9.998V24.999H40V15H24.998V0H15v15H0z",plus2Left:"M5,17v6h30v-6H5z",plus2Right:"M5,17.001v5.998h12V35h6V22.999H35v-5.998H23.001V5h-6v12.001H5z",cursorThumbs:"M8,12h11v7H8V12z M8,20h11v7H8V20z M20,12h11v7H20V12z M20,20h11v7H20V20z",updates:"M7,3.563v4.649 M7,1.541C3.986,1.541,1.541,3.986,1.541,7c0,3.017,2.445,5.459,5.459,5.459c3.017,0,5.459-2.442,5.459-5.459C12.459,3.986,10.014,1.541,7,1.541z M6.333,9.022L7,9.832l0.665-0.81H6.333z",menuIconMobile:"M0,0 L20,0 L20,20 L0,20 L0,20 L20,20 L20,15 L0,15 L0,12 L20,12 L20,9 L0,9 L0,6 L20,6 L20,3 L0,3 L0,0 z",bigX:"M38.5,38.5L20.5,20.5L38.5,2.5L20.5,20.5L38.5,38.5ZM2.5,2.5L20.5,20.5L2.5,38.5L20.5,20.5L2.5,2.5Z",liveBtn:"M7,11.5 C4.515,11.5 2.5,9.485 2.5,7 C2.5,4.515 4.515,2.5 7,2.5 C9.485,2.5 11.5,4.515 11.5,7 C11.5,9.485 9.485,11.5 7,11.5 z",search:"M9.216,0.017 C11.426,0.129 13.407,1.063 15,2.577 L15,2.577 C17.352,4.953 18.186,8.521 17.078,11.685 C16.691,12.792 16.082,13.715 15.347,14.616 L16.512,14.302 L17.787,15.578 L17.785,15.587 L24.981,22.783 L22.771,24.993 L15.572,17.794 L15.571,17.794 L14.295,16.518 L14.61,15.349 C14.029,15.823 13.915,15.952 13.253,16.343 C10.537,17.95 7.052,17.95 4.336,16.343 C3.693,15.962 3.128,15.5 2.589,14.988 C-0.838,11.56 -0.838,6.004 2.589,2.577 C4.537,0.698 6.547,0.017 9.216,0.017 z M8.762,2.634 C7.117,2.657 5.65,3.34 4.446,4.433 C2.044,6.835 2.044,10.729 4.446,13.131 C6.847,15.533 10.742,15.533 13.143,13.131 C15.545,10.729 15.545,6.835 13.143,4.433 C12.001,3.289 10.672,2.791 9.089,2.639 L8.762,2.634 z"},La=function(e){function t(e){this.vars={};var t;for(t in e)this.vars[t]=e[t];var i=document.createElementNS("http://www.w3.org/2000/svg",this.vars.type||"svg");i.style.position="absolute",i.style.display="block",i.proxy=this,this._private={},this.element=i,this.children=[],this.style=i.style,this.name=this.vars.type||"svg",this.events=this.vars.events||ba,this.listeners=this.events.listeners}var i=e.Sprite,n=["dispatchEvent","addEventListener","removeEventListener","removeAllListeners","addChild","removeChild","removeChildren","childAdded","moveToTop","event","hitTestPoint","hitTestAbs","globalToLocal","localToGlobal","focus","blur"],o=["backgroundPositionX","backgroundPositionY","backgroundRepeatX","backgroundRepeatY","baselineShift","borderBottomLeftRadius","borderBottomRightRadius","borderBottomWidth","borderImageWidth","borderLeftWidth","borderRadius","borderRightWidth","borderSpacing","borderTopLeftRadius","borderTopRightRadius","borderTopWidth","borderWidth","bottom","fontSize","height","left","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","outlineOffset","outlineWidth","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","right","strokeWidth","textIndent","textLineThroughWidth","textOverlineWidth","textUnderlineWidth","top","width","wordSpacing"],a=["cx","cy","d","points","r","rx","ry","fill","stroke","width","height"],r=["backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundRepeatX","backgroundRepeatY","backgroundSize","border","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","bufferedRendering","clear","color","content","cursor","direction","display","float","font","fontFamily","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","height","imageRendering","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","maxZoom","minHeight","minWidth","minZoom","opacity","order","orientation","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","paintOrder","pointerEvents","position","resize","right","size","src","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textAnchor","textDecoration","textIndent","textLineThroughColor","textLineThroughMode","textLineThroughStyle","textLineThroughWidth","textOverflow","textOverlineColor","textOverlineMode","textOverlineStyle","textOverlineWidth","textRendering","textShadow","textTransform","textUnderlineColor","textUnderlineMode","textUnderlineStyle","textUnderlineWidth","top","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","userZoom","verticalAlign","visibility","webkitBackfaceVisibility","webkitBoxShadow","webkitFilter","webkitFontSmoothing","webkitHighlight","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitUserDrag","webkitUserModify","webkitUserSelect","whiteSpace","width","wordBreak","wordSpacing","wordWrap","zIndex","zoom"];return function(e,n,a){for(var r=e.length;r--;)t.prototype[e[r]]=i.prototype[e[r]];n.forEach(function(e){/fill|stroke|strokeWidth|width|height|x|y|transition/.test(e)||Object.defineProperty(t.prototype,e,{get:function(){return this._private[e]},set:function(t){this._private[e]=t,this.element.style[e]=o.indexOf(e)>-1?t+"px":t}})}),a.forEach(function(e){Object.defineProperty(t.prototype,e,{get:function(){return this._private[e]},set:function(t){this._private[e]=t,this.element.setAttribute(e,t)}})}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._private.scale},set:function(){var e=arguments[1]?arguments[0]+","+arguments[1]:arguments[0];this._private.scale=e,this.element.setAttribute("transform","scale("+e+")")}}),Object.defineProperty(t.prototype,"fillRule",{get:function(){return this._private.fillRule},set:function(e){this._private.fillRule=e,this.element.setAttribute("fill-rule",e)}}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._private.strokeWidth},set:function(e){this._private.strokeWidth=e,this.element.setAttribute("stroke-width",e)}}),Object.defineProperty(t.prototype,"topParentName",{get:function(){return this.parent?this.parent.topParentName:this.topParentName}}),Object.defineProperty(t.prototype,"stageX",{get:function(){return this.parent?this.parent.stageX+this.x:this.x}}),Object.defineProperty(t.prototype,"stageY",{get:function(){return this.parent?this.parent.stageY+this.y:this.y}}),Object.defineProperty(t.prototype,"absX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do e+=t.offsetLeft;while(t=t.offsetParent);return e}}),Object.defineProperty(t.prototype,"absY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do e+=t.offsetTop;while(t=t.offsetParent);return e}}),Object.defineProperty(t.prototype,"class",{get:function(){return this.element.className},set:function(e){this.element.setAttribute("class",e)}}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._private.selectable},set:function(e){this._private.selectable=e,this._private.selectable||"input"===this.vars.type||"textarea"===this.vars.type?(this.style.cursor="auto",this.style["-webkit-touch-callout"]="auto",this.style["-webkit-user-select"]="auto",this.style["-khtml-user-select"]="auto",this.style["-moz-user-select"]="auto",this.style["-ms-touch-callout"]="auto",this.style["user-select"]="auto"):(this.style.cursor="default",this.style["-webkit-touch-callout"]="none",this.style["-webkit-user-select"]="none",this.style["-khtml-user-select"]="none",this.style["-moz-user-select"]="none",this.style["-ms-touch-callout"]="none",this.style["user-select"]="none")}}),Object.defineProperty(t.prototype,"x",{get:function(){return this._private.x||0},set:function(e){this._private.x=e,this.style.left=e+"px"}}),Object.defineProperty(t.prototype,"y",{get:function(){return this._private.y||0},set:function(e){this._private.y=e,this.style.top=e+"px"}}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._private.opacity},set:function(e){this._private.opacity=e,this.style.opacity=e}}),Object.defineProperty(t.prototype,"translate",{get:function(){return this._private.translate},set:function(e){this._private.translate=e,this._private.translateX=e[0],this._private.translateY=e[1],this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateX",{get:function(){var e=new L(this.element);return e.x},set:function(e){this._private.translateX=e,this._private.translateY=this._private.translateY||0,this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateY",{get:function(){var e=new L(this.element);return e.y},set:function(e){this._private.translateY=e,this._private.translateX=this._private.translateX||0,this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateZ",{get:function(){return this._private.translateZ},set:function(e){this._private.translateZ=e,this._private.translateZ=this._private.translateZ||0,this.style["-webkit-transform"]="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)",this.style.transform="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)"}}),Object.defineProperty(t.prototype,"rotate",{get:function(){return this._private.rotate},set:function(e){this._private.rotate=e,this.style["-webkit-transform"]="rotate("+e+"deg)",this.style["-moz-transform"]="rotate("+e+"deg)",this.style["-o-transform"]="rotate("+e+"deg)",this.style.transform="rotate("+e+"deg)"}}),Object.defineProperty(t.prototype,"numChildren",{get:function(){return this.children.length}}),Object.defineProperty(t.prototype,"transition",{get:function(){return this._private.transition},set:function(e){this._private.transition=e,e=0===e?"none":"all "+e+"s cubic-bezier(1, 0, 0.3, 1)",this.style.WebkitTransition=e,this.style.MozTransition=e,this.style.OTransition=e,this.style.transition=e}})}(n,r,a),t}({Sprite:Ca});ht.playerID=1,ht.getNextPlayerID=function(){return ht.playerID++},wa.addEventListener(en,function(){dx.address=Ta,dx.site=new ut({Sprite:Ca,TextField:lt,Bitmap:Ke,Tile:Ne,FooterController:bt,FooterView:Ct,LogoController:wt,LogoView:yt,SectionController:Lt,MediaModule:Ea,MenuController:Ti,MenuView:Vi,NavbarController:zi,NavbarView:ki,AddressController:ft,OverlayController:Qt,OverlayView:ei,ImageView:Kt,VideoView:$t,PageView:Jt,ContactView:qt,VideoPlayer:dt,VimeoPlayer:ht,LoadingIndicator:tt,ThumbsModule:ni,Cursor:Me,StaticNav:Te,Tooltip:Ve,passwordInput:Fe,searchInput:Ae,IntroView:Oi,SiteService:gt,Popup:Ue,TouchNav:Ze})});var Sa=[],xa={_logoWidth:0,_logoHeight:0,_footerWidth:0,_footerHeight:0,_fotomotoWidth:0,_fotomotoHeight:0,_navbarHeight:0,_section:void 0,_thumbContentHeight:0,_mediaContentHeight:0,_maskView:{},_uriState:{},mobileFooterPadding:5,isLandingMedia:!1,isMenuResponsiveOverlay:!1,_activeMediaType:void 0,_mediaMarginPrefix:void 0,_sectionStates:Object.keys(Ri).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:Ri[t].id,key:Ri[t].key,height:wa.height,zoneHeight:wa.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:wa.height,height:wa.height,assetId:0,mode:""}}),get _thumbsVisible(){return this._section&&this._section.key&&this._sectionStates[this._section.key]&&/thumbs/.test(this._sectionStates[this._section.key].mode)},set activeMediaType(e){this._mediaMarginPrefix=W(e),this._activeMediaType=e},updateSectionState:function(e,t){var i=this;i._sectionStates[e]=[t].reduce(function(e,t){return Object.keys(t).reduce(function(e,i){return e[i]=t[i],e},e)},i._sectionStates[e]||{})},resetSectionState:function(){this._sectionStates=Object.keys(Ri).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:Ri[t].id,key:Ri[t].key,height:wa.height,zoneHeight:wa.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:wa.height,height:wa.height,assetId:0,mode:""}})},getSectionState:function(e){return"string"==typeof e&&this._sectionStates[e]},getMaxScrollSectionHeight:function(e){var t=e.maxScroll.length,i=e.maxScroll.position,n=Ma.menuView.menuPositionFixed(),o=Pi.marginOverlap||0,a=E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height),r=E(Pi.sitePaddingTop,wa.height),l=E(Pi.sitePaddingBottom,wa.height),s=wa.height,d=/top/.test(Ma.menuView.placement()),c=/bottom/.test(Ma.menuView.placement()),h=!Pi.isMenuScrollReveal&&(d||c),u=0;return _(e.section)?s=wa.height:0===i?h?n?d?(u=r+a-o,s=wa.height-u):(u=l+a-o,s=wa.height-u-r):d?(u=r+a-o,s=wa.height-u):s=wa.height-r:s=wa.height-r:i===t-1?h?n?d?(u=r+a-o,s=wa.height-u-l):(u=l+a-o,s=wa.height-u):d?s=wa.height-l:(u=l+a-o,s=wa.height-u):s=wa.height-l:1===t?h?n?d?(u=r+a-o,s=wa.height-u-l):(u=l+a-o,s=wa.height-u-r):d?(u=r+a-o,s=wa.height-u-l):(u=l+a-o,s=wa.height-u-r):s=wa.height-r-l:h&&n?d?(u=r+a-o,
s=wa.height-u):(u=l+a-o,s=wa.height-u):s=wa.height,s},navbarView:{x:function(e){var t=E(Pi.navbarOffsetX,wa.width);if(Wi===Xi){var i=""===Pi.menuDisplaceMobile||void 0===Pi.menuDisplaceMobile||Pi.menuDisplaceMobile,n=i?2*wa.width:wa.width;return n-e-15}switch(Pi.navbarAlignHorizontal){case"left":return t;case"center":return Wi===Ni?.5*(wa.width-e):.5*(wa.width-e)+t;case"right":return wa.width-e+t;default:return t}},y:function(e){e=e||xa._navbarHeight,xa._navbarHeight=e;var t=E(Pi.navbarOffsetY,wa.height);if(Wi!==Xi)switch(Pi.navbarAlignVertical){case"top":return t;case"center":return.5*(wa.height-e)+t;case"bottom":var i=Pi.navbarPositionFixed?window.innerHeight:Ma.siteView.height();return Wi===Ni&&xa.isDisplace()&&"bottom"===Ma.overrides.thumbnailSide&&"horizontal"===Pi.navbarLayout?wa.height-22:i-e+t}return 15}},footerView:{x:function(e){e=e||xa._footerWidth,xa._footerWidth=e;var t=E(Pi.copyrightOffsetX,wa.width);if(Wi!==Xi)switch(Pi.copyrightAlignHorizontal){case"left":return t;case"center":return Wi===Ni?.5*(wa.width-e)+t:.5*(wa.width-e)+t;case"right":return Wi===Ni?wa.width-e+t:wa.width-e+t}else if(Wi===Xi)return xa.mobileFooterPadding;return 0},y:function(e){e=e||xa._footerHeight,xa._footerHeight=e;var t=E(Pi.copyrightOffsetY,wa.height);if(Wi!==Xi)switch(Pi.copyrightAlignVertical){case"top":return t;case"center":return.5*(wa.height-e)+t;case"bottom":var i=Pi.copyrightPositionFixed?window.innerHeight:Ma.siteView.height();return Wi===Ni&&xa.isDisplace()&&"bottom"===Ma.overrides.thumbnailSide?wa.height-22:i-e+t}else if(Wi===Xi)return wa.height-e-xa.mobileFooterPadding;return 0}},logoView:{x:function(e){e=e||xa._logoWidth,xa._logoWidth=e;var t=0,i="left";if(Wi===Xi)t=E(Pi.mobileLogoOffsetX,wa.width),i=Pi.mobileLogoAlignHorizontal||"left";else if(Wi===Ni){var n=""===Pi.menuDisplaceTablet||void 0===Pi.menuDisplaceTablet||Pi.menuDisplaceTablet;t=n?E(K(Pi.tabletLogoOffsetX,Pi.logoOffsetX),wa.width)-xa.menuView.width():E(K(Pi.tabletLogoOffsetX,Pi.logoOffsetX),wa.width),i=Pi.tabletLogoAlignHorizontal||Pi.logoAlignHorizontal}else t=E(Pi.logoOffsetX,wa.width),i=Pi.logoAlignHorizontal;switch(i){case"left":return t||0;case"center":return.5*(wa.width-e)+t;case"right":return wa.width-e-t}return 0},y:function(e){e=e||xa._logoHeight,xa._logoHeight=e;var t=0;if(Wi===Xi)return E(Pi.mobileLogoOffsetY||0,wa.height);if(Wi===Ni)switch(t=E(K(Pi.tabletLogoOffsetY,Pi.logoOffsetY),wa.height),Pi.tabletLogoAlignVertical||Pi.logoAlignVertical){case"top":return t;case"center":return.5*(wa.height-e)+t;case"bottom":return wa.height-e-t}else switch(t=E(Pi.logoOffsetY,wa.height),Pi.logoAlignVertical){case"top":return t;case"center":return.5*(wa.height-e)+t;case"bottom":var i=Pi.logoPositionFixed?window.innerHeight:Ma.siteView.height();return i-e-t}return 0}},menuBullet:{updateSize:function(e){var t=x(Pi.menuFont),i=document.createElement("div"),n=e?Pi.menuSubFontSize:Pi.menuFontSize;i.innerHTML=ka[Pi.menuBulletType],i.setAttribute("style","margin:0; padding:0; position:absolute; display:block; white-space:nowrap; opacity:0; font-family:"+t.family+"; font-weight:"+t.weight+"; font-size:"+n+"px"),document.body.appendChild(i),xa.menuBullet.width=parseInt(window.getComputedStyle(i,null).width,10),xa.menuBullet.height=parseInt(window.getComputedStyle(i,null).height,10),document.body.removeChild(i),i=null}},menuText:{x:function(e){e=e||xa._menuTextWidth,xa._menuTextWidth=e;var t=E(Ma.menuView.menuTextPaddingHorizontal(),wa.width),i=Ma.menuView.menuTextAlignHorizontal();if(Wi===Xi)return 0;switch(Wi===Ni&&(t=K(E(Pi.menuTextPaddingHorizontalTablet,wa.width),10),i=Pi.menuTextAlignHorizontalTablet||Ma.menuView.menuTextAlignHorizontal(),/top|bottom/.test(Ma.menuView.placement())&&(i=Pi.menuTextAlignHorizontalTablet||"left")),i){case"left":return t;case"center":return.5*(xa.menuView.width()-e);case"right":return xa.menuView.width()-e-t}},y:function(e){if(Wi===Xi)return xa.logoView.y()+xa._logoHeight+E(K(Pi.menuTextPaddingVerticalMobile,10),wa.height);var t=Wi===Ni?Pi.menuTextAlignVerticalTablet||Ma.menuView.menuTextAlignVertical():Ma.menuView.menuTextAlignVertical(),i=Wi===Ni?E(K(Pi.menuTextPaddingVerticalTablet,Ma.menuView.menuTextPaddingVertical()),wa.height):E(Ma.menuView.menuTextPaddingVertical(),wa.height);switch(t){case"top":return i;case"center":return e>xa.menuView.height()?0:.5*(xa.menuView.height()-e)+i;case"bottom":return xa.menuView.height()-e-i}return 0}},menuView:{x:function(){return Wi===Xi||Wi===Ni||"overlay"===Ma.menuView.placement()?0:/top|bottom/.test(Ma.menuView.placement())?E(Pi.sitePaddingLeft,wa.width)+E(Pi.menuOffsetY,wa.width):"right"===Ma.menuView.placement()?E(Pi.sitePaddingRight,wa.width)-(Pi.marginOverlap||0):E(Pi.sitePaddingLeft,wa.height)-(Pi.marginOverlap||0)},y:function(){return Wi===Xi||Wi===Ni||"overlay"===Ma.menuView.placement()?0:/left|right/.test(Ma.menuView.placement())?E(Pi.sitePaddingTop,wa.height)+E(Pi.menuOffsetY,wa.height):"bottom"===Ma.menuView.placement()?E(Pi.sitePaddingBottom,wa.width)-(Pi.marginOverlap||0):E(Pi.sitePaddingTop,wa.width)-(Pi.marginOverlap||0)},width:function(){if(Wi===Xi||"overlay"===Ma.menuView.placement())return wa.width;var e=!xa._menuTextWidth||xa._menuTextWidth<150?150:xa._menuTextWidth;return Wi===Ni&&E(Pi.menuWidthMobile,wa.width)?E(Pi.menuWidthMobile,wa.width)?E(Pi.menuWidthMobile,wa.width):e:Wi===Ni&&/top|bottom/.test(Ma.menuView.placement())?K(Pi.menuWidthMobile,e):/left|right/.test(Ma.menuView.placement())?E(Pi.menuWidth,wa.width):wa.width-(E(Pi.sitePaddingLeft,wa.width)+E(Pi.sitePaddingRight,wa.width))-E(Pi.menuOffsetY,wa.width)},height:function(){return Wi===Xi||Wi===Ni||"overlay"===Ma.menuView.placement()?wa.height:/top|bottom/.test(Ma.menuView.placement())?E(Pi.menuWidth,wa.height):wa.height-(E(Pi.sitePaddingTop,wa.height)+E(Pi.sitePaddingBottom,wa.height))-E(Pi.menuOffsetY,wa.height)}},mediaView:{x:function(){if(Wi===Xi||Wi===Ni||"overlay"===Ma.overrides.siteDisplayBehavior)return 0;var e=/left/.test(Ma.menuView.placement())?-Pi.marginOverlap||0:0;return"left"===Ma.menuView.placement()?E(Pi.sitePaddingLeft,wa.width)+E(Pi.menuWidth,wa.width)-E(Pi.menuOffsetX,wa.width)+e:E(Pi.sitePaddingLeft,wa.width)+e},y:function(e){if(Wi===Xi||Wi===Ni||"overlay"===Ma.overrides.siteDisplayBehavior)return 0;var t=/top/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?-Pi.marginOverlap||0:0;return"unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior&&"multiple"===xa.sectionDisplayMode?!Pi.isMenuScrollReveal&&Ma.menuView.menuPositionFixed()&&/top/.test(Ma.menuView.placement())?E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height)+t:0:/top/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?E(Pi.sitePaddingTop,wa.height)+E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height)+t:E(Pi.sitePaddingTop,wa.height)+t},width:function(e){var t=e||0;if(Wi===Xi||Wi===Ni||"overlay"===Ma.overrides.siteDisplayBehavior)return wa.width;if(/left|right/.test(Ma.menuView.placement())){var i=Pi.marginOverlap||0;return wa.width-(E(Pi.sitePaddingLeft,wa.width)+E(Pi.sitePaddingRight,wa.width)+E(Pi.menuWidth,wa.width)-E(Pi.menuOffsetX,wa.width)+t)+i}return wa.width-(E(Pi.sitePaddingLeft,wa.width)+E(Pi.sitePaddingRight,wa.width))},height:function(e,t){var i="unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior?t?Ma.getSectionZoneHeight(e):Ma.getSectionHeight(e):wa.height,n=xa.getSectionState(e),o=!!n&&n.isFullTextHeight,a=/top|bottom/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?Pi.marginOverlap||0:0,r=0,l=E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height),s=E(Pi.sitePaddingTop,wa.height)+E(Pi.sitePaddingBottom,wa.height);return t||/unifiedSiteScrollVertical/.test(Ma.overrides.siteDisplayBehavior)||!Ma.siteView.unifiedPageScroll()||(i=/vScroll/.test(Ma.overrides.transitionType)?/top|bottom/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?Ma.getSectionHeight(e)+(l+s)>wa.height?Ma.getSectionHeight(e):wa.height:Ma.getSectionHeight(e)>wa.height?Ma.getSectionHeight(e):wa.height:wa.height),Wi===Ni&&"bottom"===Pi.navbarAlignVertical&&xa.isDisplace()&&"bottom"===Ma.overrides.thumbnailSide?i-30:Wi===Xi||Wi===Ni||"overlay"===Ma.overrides.siteDisplayBehavior?i:(r="unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior&&"multiple"===xa.sectionDisplayMode?!Pi.isMenuScrollReveal&&Ma.menuView.menuPositionFixed()&&/top|bottom/.test(Ma.menuView.placement())&&i>=wa.height-l&&!o&&!t?i-l:i:Ma.siteView.unifiedPageScroll()&&/vScroll/.test(Ma.overrides.transitionType)?i===wa.height&&/top|bottom/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?i-(l+s):i:/top|bottom/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?i-(l+s):i-s,r+a)},size:{x:function(){return/^unifiedSite/.test(Ma.overrides.siteDisplayBehavior)?0:xa.mediaView.x()},y:function(e){return/^unifiedSite/.test(Ma.overrides.siteDisplayBehavior)?0:xa.mediaView.y(e)},width:function(){return xa.mediaView.width()},height:function(e){return xa.mediaView.height(e)}}},landingMediaView:{x:function(){return 0},y:function(){return 0},width:function(){return wa.width},height:function(){return wa.height}},mediaMask:{x:function(){return"contact"===xa._mediaMarginPrefix?0:E(Ma.overrides[xa._mediaMarginPrefix+"MarginLeft"],wa.width)},y:function(e){return"contact"===xa._mediaMarginPrefix?0:E(Ma.overrides[xa._mediaMarginPrefix+"MarginTop"],wa.height)},width:function(e){return"contact"===xa._mediaMarginPrefix?xa.mediaView.width():(e||xa.mediaView.width())-(E(Ma.overrides[xa._mediaMarginPrefix+"MarginLeft"],wa.width)+E(Ma.overrides[xa._mediaMarginPrefix+"MarginRight"],wa.width))},height:function(e,t){return"contact"===xa._mediaMarginPrefix?xa.mediaView.height(t):(e||xa.mediaView.height(t))-(E(Ma.overrides[xa._mediaMarginPrefix+"MarginTop"],wa.height)+E(Ma.overrides[xa._mediaMarginPrefix+"MarginBottom"],wa.height))}},captionView:{size:function(e){xa.captionView.currentText=e||xa.captionView.currentText;var t=document.createElement("span"),i=x(Pi.captionFont);t.innerHTML=xa.captionView.currentText,t.setAttribute("style","position:absolute; display:block; white-space:nowrap; opacity:0; font-family:"+i.family+"; font-weight:"+i.weight+"; font-size:"+Pi.captionFontSize+"px"),document.body.appendChild(t);var n=E(Ma.overrides[xa._mediaMarginPrefix+"MarginLeft"],wa.height),o=E(Ma.overrides[xa._mediaMarginPrefix+"MarginRight"],wa.height),a=Ma.mediaView.width()-(n+o);t.clientWidth>a?(xa.captionView.width=a,t.style.width=a+"px",t.style.whiteSpace="normal",xa.captionView.height=t.clientHeight):(xa.captionView.width=t.clientWidth,xa.captionView.height=t.clientHeight),document.body.removeChild(t),t=null}},isDisplace:function(){return!(Wi===Xi||!xa._section||!xa._thumbsVisible)&&(xa._section.thumb&&"strip"===Ma.overrides.thumbnailType&&"displace"===Ma.overrides.thumbnailDock)}},Ma={get lightboxHash(){return localStorage.getItem("lightboxHash")},cacheLightboxSection:function(){var e=Object.keys(Ri).map(function(e){return Ri[e]}).filter(function(e){return e.isLightbox})[0];Ma.lightboxSection=e,e||localStorage.removeItem("lightboxHash")},lightboxButtonsEnabled:function(){return Ma.lightboxSection&&(Ma.lightboxSection.isUserEnableLightbox&&(Ma.userEnabledLightbox||Ma.lightboxSection.media.length)||!Ma.lightboxSection.isUserEnableLightbox)},setSectionHeight:function(e,t){xa.updateSectionState(e,{height:t})},getSectionHeight:function(e){var t=xa.getSectionState(e);return e&&t&&("unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior||Ma.siteView.unifiedPageScroll())?t.height:wa.height},getSectionZoneHeight:function(e){var t=xa.getSectionState(e);return e&&t&&"unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior?t.zoneHeight:wa.height},overrides:{containerColor:Pi.containerColor,transitionType:mt()||Pi.transitionType,transitionDuration:Pi.transitionDuration,imageAlignHorizontal:Pi.imageAlignHorizontal,imageAlignVertical:Pi.imageAlignVertical,imageScaleType:Pi.imageScaleType,videoScaleType:Pi.videoScaleType,videoAutoPlay:Pi.videoAutoPlay,mobileAutoPlay:Pi.mobileAutoPlay,vimeoDefault:Pi.vimeoDefault,videoLoop:Pi.videoLoop,imageVideoMarginTop:Pi.imageVideoMarginTop,imageVideoMarginRight:Pi.imageVideoMarginRight,imageVideoMarginBottom:Pi.imageVideoMarginBottom,imageVideoMarginLeft:Pi.imageVideoMarginLeft,imageVideoInactiveAlpha:Pi.imageVideoInactiveAlpha,imageVideoBgColor:Pi.imageVideoBgColor,imageVideoBgAlpha:Pi.imageVideoBgAlpha,imageVideoLoaderType:Pi.imageVideoLoaderType,imageVideoScrollType:Pi.imageVideoScrollType,imageVideoScrollbarRounded:Pi.imageVideoScrollbarRounded,imageVideoScrollbarVisibility:Pi.imageVideoScrollbarVisibility,imageVideoScrollbarAlignment:Pi.imageVideoScrollbarAlignment,imageVideoScrollbarHorizontalOffset:Pi.imageVideoScrollbarHorizontalOffset,imageVideoScrollbarVerticalOffset:Pi.imageVideoScrollbarVerticalOffset,imageVideoScrollbarColor:Pi.imageVideoScrollbarColor,imageVideoScrollbarHover:Pi.imageVideoScrollbarHover,imageVideoScrollbarBgTransparency:Pi.imageVideoScrollbarBgTransparency,imageVideoScrollbarWidth:Pi.imageVideoScrollbarWidth,menuDisplaceMobile:""===Pi.menuDisplaceMobile||void 0===Pi.menuDisplaceMobile||Pi.menuDisplaceMobile,menuDisplaceTablet:""===Pi.menuDisplaceTablet||void 0===Pi.menuDisplaceTablet||Pi.menuDisplaceTablet,pageMarginTop:Pi.pageMarginTop,pageMarginRight:Pi.pageMarginRight,pageMarginBottom:Pi.pageMarginBottom,pageMarginLeft:Pi.pageMarginLeft,pageMaxWidth:Pi.pageMaxWidth,pageMaxAlign:Pi.pageMaxAlign,pageScrollVerticalMargin:Pi.pageScrollVerticalMargin,pageTextFont:Pi.pageTextFont,pageTextKerning:Pi.pageTextKerning,pageTextFontSize:Pi.pageTextFontSize,pageTextFontColor:Pi.pageTextFontColor,pageTitle:Pi.pageTitle,pageTitleFont:Pi.pageTitleFont,pageTitleKerning:Pi.pageTitleKerning,pageTitleFontSize:Pi.pageTitleFontSize,pageTitleFontColor:Pi.pageTitleFontColor,pageScrollType:Pi.pageScrollType,pageScrollbarVisibility:Pi.pageScrollbarVisibility,pageScrollbarRounded:Pi.pageScrollbarRounded,pageScrollbarAlignment:Pi.pageScrollbarAlignment,pageScrollbarHorizontalOffset:Pi.pageScrollbarHorizontalOffset,pageScrollbarVerticalOffset:Pi.pageScrollbarVerticalOffset,pageScrollbarColor:Pi.pageScrollbarColor,pageScrollbarHover:Pi.pageScrollbarHover,pageScrollbarBgAlpha:Pi.pageScrollbarBgAlpha,pageScrollbarWidth:Pi.pageScrollbarWidth,thumbnailOnly:Pi.thumbnailOnly,thumbnailFullRes:Pi.thumbnailFullRes,thumbnailDefaultOn:Pi.thumbnailDefaultOn,thumbnailPositionFixed:Pi.thumbnailPositionFixed,thumbnailMasonryType:Pi.thumbnailMasonryType,thumbnailMasonry:Pi.thumbnailMasonry,thumbnailMasonryEvenRowHeight:Pi.thumbnailMasonryEvenRowHeight,thumbnailMasonryFill:Pi.thumbnailMasonryFill,thumbnailMasonryMaintainOrder:Pi.thumbnailMasonryMaintainOrder,thumbnailMaxCols:Pi.thumbnailMaxCols,thumbnailGap:Number(Pi.thumbnailGap),thumbnailGapVertical:Number(Pi.thumbnailGapVertical),thumbnailDock:Pi.thumbnailDock,thumbnailType:Pi.thumbnailType,thumbnailSize:Pi.thumbnailSize,thumbnailCustomWidth:Pi.thumbnailCustomWidth,thumbnailCustomHeight:Pi.thumbnailCustomHeight,thumbnailSide:Pi.thumbnailSide,thumbnailHorizontalMargin:Pi.thumbnailHorizontalMargin,thumbnailVerticalMargin:Pi.thumbnailVerticalMargin,thumbnailAlignHorizontal:Pi.thumbnailAlignHorizontal,thumbnailAlignVertical:Pi.thumbnailAlignVertical,thumbnailGridColor:Pi.thumbnailGridColor,thumbnailGridTransparency:Pi.thumbnailGridTransparency,thumbnailHoverAlpha:Pi.thumbnailHoverAlpha,thumbnailHoverAlphaMobile:Pi.thumbnailHoverAlphaMobile,thumbnailHoverAlphaTablet:Pi.thumbnailHoverAlphaTablet,thumbnailHoverColor:Pi.thumbnailHoverColor,thumbnailLoaderType:Pi.thumbnailLoaderType,thumbnailTitleFont:Pi.thumbnailTitleFont,thumbnailTitleFontSize:Pi.thumbnailTitleFontSize,thumbnailTitleFontColor:Pi.thumbnailTitleFontColor,thumbnailLabelVerticalOffset:Pi.thumbnailLabelVerticalOffset,thumbnailLabelColorMobile:Pi.thumbnailLabelColorMobile,thumbnailLabelColorTablet:Pi.thumbnailLabelColorTablet,thumbnailLabelPosition:Pi.thumbnailLabelPosition,thumbnailLabelJustification:Pi.thumbnailLabelJustification,thumbnailLabelPositionMobile:Pi.thumbnailLabelPositionMobile,thumbnailLabelPositionTablet:Pi.thumbnailLabelPositionTablet,thumbnailStdLabelPosition:Pi.thumbnailStdLabelPosition,thumbnailStdLabelPositionMobile:Pi.thumbnailStdLabelPositionMobile,thumbnailStdLabelPositionTablet:Pi.thumbnailStdLabelPositionTablet,thumbnailVideoPlayIcon:Pi.thumbnailVideoPlayIcon!==!1,thumbnailScrollbarAlignment:Pi.thumbnailScrollbarAlignment,thumbnailScrollbarColor:Pi.thumbnailScrollbarColor,thumbnailScrollbarHover:Pi.thumbnailScrollbarHover,thumbnailSelectedColor:Pi.thumbnailSelectedColor,thumbnailSelectedAlpha:Pi.thumbnailSelectedAlpha,thumbnailScrollbarHorizontalOffset:Pi.thumbnailScrollbarHorizontalOffset,thumbnailScrollbarVerticalOffset:Pi.thumbnailScrollbarVerticalOffset,thumbnailScrollType:Pi.thumbnailScrollType,thumbnailScrollbarBgAlpha:Pi.thumbnailScrollbarBgAlpha,thumbnailScrollbarWidth:Pi.thumbnailScrollbarWidth,thumbnailScrollbarVisibility:Pi.thumbnailScrollbarVisibility,thumbnailScrollbarRounded:Pi.thumbnailScrollbarRounded,captionAutoPosition:Pi.captionAutoPosition,captionDefault:Pi.captionDefault,captionUseTitle:Pi.captionUseTitle,captionCloseButton:Pi.captionCloseButton,captionBackgroundAlpha:Pi.captionBackgroundAlpha,captionBackgroundRectColor:Pi.captionBackgroundRectColor,captionFont:Pi.captionFont,captionFontColor:Pi.captionFontColor,captionFontSize:Pi.captionFontSize,captionFontSizeBreakpoint:Pi.captionFontSizeBreakpoint,captionWidth:Pi.captionWidth,captionHeight:Pi.captionHeight,captionAlignHorizontal:Pi.captionAlignHorizontal,captionAlignVertical:Pi.captionAlignVertical,captionOffsetX:Pi.captionOffsetX,captionOffsetY:Pi.captionOffsetY,captionTextAlign:Pi.captionTextAlign,captionTextAlignVertical:Pi.captionTextAlignVertical,captionPaddingTop:Pi.captionPaddingTop,captionPaddingRight:Pi.captionPaddingRight,captionPaddingBottom:Pi.captionPaddingBottom,captionPaddingLeft:Pi.captionPaddingLeft,captionScrollType:Pi.captionScrollType,captionScrollbarWidth:Pi.captionScrollbarWidth,captionScrollbarAlignment:Pi.captionScrollbarAlignment,captionScrollbarColor:Pi.captionScrollbarColor,captionScrollbarHover:Pi.captionScrollbarHover,captionScrollbarHorizontalOffset:Pi.captionScrollbarHorizontalOffset,captionScrollbarVerticalOffset:Pi.captionScrollbarVerticalOffset,captionScrollbarBgAlpha:Pi.captionScrollbarBgAlpha,captionAnchorTo:Pi.captionAnchorTo,slideshowRandomize:Pi.landingMediaRandomize,slideshowTransitionType:Pi.landingMediaTransitionType,slideshowSpeed:Pi.landingMediaSpeed,slideshowTransitionDuration:Pi.landingMediaTransitionDuration,slideshowAlignHorizontal:Pi.landingMediaAlignHorizontal,slideshowAlignVertical:Pi.landingMediaAlignVertical,slideshowScaleType:Pi.landingMediaScaleType,slideshowScrollDownIcon:Pi.slideshowScrollDownIcon,siteDisplayBehavior:Pi.siteDisplayBehavior},section:function(e){if(!e)return!1;var t=e.overrides||{},n=e.thumb||{};xa.isLandingMedia=i(e),xa._section=e,Ma.overrides={get containerColor(){return K(t.containerColor,Pi.containerColor)},get transitionType(){if(xa.isLandingMedia)return K(t.transitionType,Pi.landingMediaTransitionType);var i=K(mt(),t.transitionType,Pi.transitionType);return(oe()||le())&&"vScroll"!==i&&(i="mSlide"),po&&"hSlide"===i&&(i="mSlide"),fe(e)&&(i="vScrollStatic"),i},get transitionDuration(){return K(t.transitionDuration,Pi.transitionDuration)},get imageAlignHorizontal(){return K(t.imageAlignHorizontal,Pi.imageAlignHorizontal)},get imageAlignVertical(){return K(t.imageAlignVertical,Pi.imageAlignVertical)},get imageScaleType(){return K(t.imageScaleType,Pi.imageScaleType)},get videoScaleType(){return K(t.videoScaleType,Pi.videoScaleType)},get mobileAutoPlay(){return Pi.mobileAutoPlay},get videoAutoPlay(){return!!xa.isLandingMedia||K(t.videoAutoPlay,Pi.videoAutoPlay)},get vimeoDefault(){var e=""===Pi.vimeoDefault||void 0===Pi.vimeoDefault||Pi.vimeoDefault,t=Pi.vimeoDefaultMobile,i=Pi.vimeoDefaultTablet;return oe()?K(t,e):le()?K(i,e):e},get videoLoop(){return K(t.videoLoop,Pi.videoLoop)},get imageVideoMarginTop(){return Wi!==Xi||/vScroll/.test(Ma.overrides.transitionType)?K(t.imageVideoMarginTop,Pi.imageVideoMarginTop):0},get imageVideoMarginRight(){return Wi===Xi?0:K(t.imageVideoMarginRight,Pi.imageVideoMarginRight)},get imageVideoMarginBottom(){return Wi!==Xi||/vScroll/.test(Ma.overrides.transitionType)?K(t.imageVideoMarginBottom,Pi.imageVideoMarginBottom):0},get imageVideoMarginLeft(){return Wi===Xi?0:K(t.imageVideoMarginLeft,Pi.imageVideoMarginLeft)},get pageMarginTop(){var e=K(t.pageMarginTop,Pi.pageMarginTop);return Wi===Xi?K(Pi.pageMarginTopMobile,50):oe()?K(Pi.pageMarginTopMobile,e):e},get pageMarginRight(){var e=K(t.pageMarginRight,Pi.pageMarginRight);return Wi===Xi?K(Pi.pageMarginRightMobile,0):oe()?K(Pi.pageMarginRightMobile,e):e},get pageMarginBottom(){var e=K(t.pageMarginBottom,Pi.pageMarginBottom);return Wi===Xi?K(Pi.pageMarginBottomMobile,0):oe()?K(Pi.pageMarginBottomMobile,e):e},get pageMarginLeft(){var e=K(t.pageMarginLeft,Pi.pageMarginLeft);return Wi===Xi?K(Pi.pageMarginLeftMobile,0):oe()?K(Pi.pageMarginLeftMobile,e):e},get pageMaxWidth(){return E(K(t.pageMaxWidth,Pi.pageMaxWidth),wa.width)},get pageMaxAlign(){return K(t.pageMaxAlign,Pi.pageMaxAlign)},get pageScrollVerticalMargin(){return K(t.pageScrollVerticalMargin,Pi.pageScrollVerticalMargin)},get pageTextFont(){return K(t.pageTextFont,Pi.pageTextFont)},get pageTextKerning(){return K(t.pageTextKerning,Pi.pageTextKerning)},get pageTextFontSize(){return t.pageTextFontSize||Pi.pageTextFontSize},get pageTextFontColor(){return K(t.pageTextFontColor,Pi.pageTextFontColor)},get pageTitle(){return K(t.pageTitle,Pi.pageTitle)},get pageTitleFont(){return K(t.pageTitleFont,Pi.pageTitleFont)},get pageTitleKerning(){return K(t.pageTitleKerning,Pi.pageTitleKerning)},get pageTitleFontSize(){return t.pageTitleFontSize||Pi.pageTitleFontSize},get pageTitleFontColor(){return K(t.pageTitleFontColor,Pi.pageTitleFontColor)},get pageScrollType(){return K(t.pageScrollType,Pi.pageScrollType)},get pageScrollbarVisibility(){return K(t.pageScrollbarVisibility,Pi.pageScrollbarVisibility)},get pageScrollbarRounded(){return K(t.pageScrollbarRounded,Pi.pageScrollbarRounded)},get pageScrollbarAlignment(){return K(t.pageScrollbarAlignment,Pi.pageScrollbarAlignment)},get pageScrollbarHorizontalOffset(){return K(t.pageScrollbarHorizontalOffset,Pi.pageScrollbarHorizontalOffset)},get pageScrollbarVerticalOffset(){return K(t.pageScrollbarVerticalOffset,Pi.pageScrollbarVerticalOffset)},get pageScrollbarColor(){return K(t.pageScrollbarColor,Pi.pageScrollbarColor)},get pageScrollbarHover(){return K(t.pageScrollbarHover,Pi.pageScrollbarHover)},get pageScrollbarBgAlpha(){return K(t.pageScrollbarBgAlpha,Pi.pageScrollbarBgAlpha)},get pageScrollbarWidth(){return K(t.pageScrollbarWidth,Pi.pageScrollbarWidth)},get imageVideoScrollType(){var e=""===t.imageVideoScrollType?"scrollbar":t.imageVideoScrollType;return K(e,Pi.imageVideoScrollType)},get imageVideoScrollbarRounded(){return K(t.imageVideoScrollbarRounded,Pi.imageVideoScrollbarRounded)},get imageVideoScrollbarVisibility(){return K(t.imageVideoScrollbarVisibility,Pi.imageVideoScrollbarVisibility)},get imageVideoInactiveAlpha(){return K(t.imageVideoInactiveAlpha,Pi.imageVideoInactiveAlpha)},get imageVideoBgColor(){return K(t.imageVideoBgColor,Pi.imageVideoBgColor)},get imageVideoBgAlpha(){return K(t.imageVideoBgAlpha,Pi.imageVideoBgAlpha)},get imageVideoLoaderType(){return K(t.imageVideoLoaderType,Pi.imageVideoLoaderType)},get imageVideoScrollbarAlignment(){return K(t.imageVideoScrollbarAlignment,Pi.imageVideoScrollbarAlignment)},get imageVideoScrollbarHorizontalOffset(){return K(t.imageVideoScrollbarHorizontalOffset,Pi.imageVideoScrollbarHorizontalOffset)},get imageVideoScrollbarVerticalOffset(){return K(t.imageVideoScrollbarVerticalOffset,Pi.imageVideoScrollbarVerticalOffset)},get imageVideoScrollbarColor(){return K(t.imageVideoScrollbarColor,Pi.imageVideoScrollbarColor)},get imageVideoScrollbarHover(){return K(t.imageVideoScrollbarHover,Pi.imageVideoScrollbarHover)},get imageVideoScrollbarBgTransparency(){return K(t.imageVideoScrollbarBgTransparency,Pi.imageVideoScrollbarBgTransparency)},get imageVideoScrollbarWidth(){return K(t.imageVideoScrollbarWidth,Pi.imageVideoScrollbarWidth)},get menuDisplaceMobile(){return""===Pi.menuDisplaceMobile||void 0===Pi.menuDisplaceMobile||Pi.menuDisplaceMobile},get menuDisplaceTablet(){return""===Pi.menuDisplaceTablet||void 0===Pi.menuDisplaceTablet||Pi.menuDisplaceTablet},get overlayTitleFont(){return K(Pi.overlayTitleFont,Pi.thumbnailTitleFont)},get overlayTitleFontSize(){return Pi.overlayTitleFontSize||Pi.thumbnailTitleFontSize},get overlayTitleFontColor(){return K(Pi.overlayTitleFontColor,Pi.thumbnailTitleFontColor)},get thumbnailOnly(){return K(n.only,Pi.thumbnailOnly)},get thumbnailFullRes(){return K(n.fullRes,Pi.thumbnailFullRes)},get thumbnailDefaultOn(){return Wi===Xi?n.only||Pi.thumbnailOnly||K(Pi.thumbnailDefaultOnMobile,n.defaultOn,Pi.thumbnailDefaultOn):n.only||Pi.thumbnailOnly||K(n.defaultOn,Pi.thumbnailDefaultOn)},get thumbnailPositionFixed(){return Wi!==Xi&&K(n.positionFixed,Pi.thumbnailPositionFixed)},get thumbnailMasonry(){if(Wi===Xi)return!0;var e=K(n.type,Pi.thumbnailType);switch(e){case"vMasonry":return!0;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryType(){return K(n.masonryType,Pi.thumbnailMasonryType)},get thumbnailMasonryFill(){if(Wi===Xi)return!0;var e=K(n.masonryFill,Pi.thumbnailMasonryFill),t=K(n.type,Pi.thumbnailType);if(void 0===t)return e;switch(t){case"vMasonry":return e;case"hMasonry":return e;default:return!1}},get thumbnailMasonryEvenRowHeight(){if(Wi===Xi)return!1;var e=K(n.type,Pi.thumbnailType);switch(e){case"vMasonry":return!1;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryMaintainOrder(){return K(n.masonryMaintainOrder,Pi.thumbnailMasonryMaintainOrder)},get thumbnailMaxCols(){return K(n.maxCols,Pi.thumbnailMaxCols)},get thumbnailGap(){return Wi===Xi?Number(Pi.thumbnailGapMobile||0):Number(K(n.gap,Pi.thumbnailGap))},get thumbnailGapVertical(){return Wi===Xi?Number(Pi.thumbnailGapVerticalMobile||0):Number(K(n.gapVertical,Pi.thumbnailGapVertical))},get thumbnailDock(){return K(n.dock,Pi.thumbnailDock)},get thumbnailType(){if(Wi===Xi)return"none"===K(n.type,Pi.thumbnailType)?"none":"vMasonry";var e=K(n.masonry,Pi.thumbnailMasonry),t=n.type&&"default"!==n.type?K(n.type,Pi.thumbnailType):Pi.thumbnailType,i="fill"===t&&e?"vMasonry":t;return i},get thumbnailSize(){return Wi===Xi?(zo=vt(Pi.thumbnailCustomWidthMobile,Pi.thumbnailCustomHeightMobile),Pi.thumbnailSizeMobile||"xLarge"):(zo=vt(K(n.customWidth,Pi.thumbnailCustomWidth),K(n.customHeight,Pi.thumbnailCustomHeight)),K(n.size,Pi.thumbnailSize))},get thumbnailCustomWidth(){return Wi===Xi?(zo=vt(Pi.thumbnailCustomWidthMobile,Pi.thumbnailCustomHeightMobile),Pi.thumbnailCustomWidthMobile):(zo=vt(K(n.customWidth,Pi.thumbnailCustomWidth),K(n.customHeight,Pi.thumbnailCustomHeight)),K(n.customWidth,Pi.thumbnailCustomWidth))},get thumbnailCustomHeight(){return Wi===Xi?(zo=vt(Pi.thumbnailCustomWidthMobile,Pi.thumbnailCustomHeightMobile),Pi.thumbnailCustomHeightMobile):(zo=vt(K(n.customWidth,Pi.thumbnailCustomWidth),K(n.customHeight,Pi.thumbnailCustomHeight)),K(n.customHeight,Pi.thumbnailCustomHeight))},get thumbnailSide(){return K(n.side,Pi.thumbnailSide)},get thumbnailHorizontalMargin(){return Wi===Xi?Pi.thumbnailHorizontalMarginMobile||0:K(n.horizontalMargin,Pi.thumbnailHorizontalMargin)},get thumbnailVerticalMargin(){return Wi===Xi?Pi.thumbnailVerticalMarginMobile||0:K(n.verticalMargin,Pi.thumbnailVerticalMargin)},get thumbnailAlignHorizontal(){return K(n.alignHorizontal,Pi.thumbnailAlignHorizontal)},get thumbnailAlignVertical(){return K(n.alignVertical,Pi.thumbnailAlignVertical)},get thumbnailGridColor(){return K(n.gridColor,Pi.thumbnailGridColor)},get thumbnailGridTransparency(){return K(n.gridTransparency,Pi.thumbnailGridTransparency)},get thumbnailHoverAlpha(){return K(n.hoverAlpha,Pi.thumbnailHoverAlpha)},get thumbnailHoverAlphaMobile(){return Pi.thumbnailHoverAlphaMobile},get thumbnailHoverAlphaTablet(){return Pi.thumbnailHoverAlphaTablet},get thumbnailHoverColor(){return K(n.hoverColor,Pi.thumbnailHoverColor)},get thumbnailLoaderType(){return K(n.loaderType,Pi.thumbnailLoaderType,"spinner")},get thumbnailTitleFont(){return Wi===Xi?K(Pi.thumbnailTitleFontMobile,Pi.thumbnailTitleFont):Wi===Ni?K(Pi.thumbnailTitleFontTablet,Pi.thumbnailTitleFont):K(n.titleFont,Pi.thumbnailTitleFont)},get thumbnailTitleFontSize(){return Wi===Xi?Pi.thumbnailTitleFontSizeMobile||n.titleFontSize||Pi.thumbnailTitleFontSize:Wi===Ni?Pi.thumbnailTitleFontSizeTablet||n.titleFontSize||Pi.thumbnailTitleFontSize:n.titleFontSize||Pi.thumbnailTitleFontSize},get thumbnailTitleFontColor(){return Wi===Xi?K(Pi.thumbnailTitleFontColorMobile,Pi.thumbnailLabelColorMobile,n.titleFontColor,Pi.thumbnailTitleFontColor):Wi===Ni?K(Pi.thumbnailTitleFontColorTablet,Pi.thumbnailLabelColorTablet,n.titleFontColor,Pi.thumbnailTitleFontColor):K(n.titleFontColor,Pi.thumbnailTitleFontColor)},get thumbnailLabelVerticalOffset(){return K(n.labelVerticalOffset,Pi.thumbnailLabelVerticalOffset)},get thumbnailLabelColorMobile(){return Pi.thumbnailLabelColorMobile},get thumbnailLabelColorTablet(){return Pi.thumbnailLabelColorTablet},get thumbnailLabelPosition(){return K(n.labelPosition,Pi.thumbnailLabelPosition)},get thumbnailLabelJustification(){return K(n.labelJustification,Pi.thumbnailLabelJustification)},get thumbnailStdLabelPosition(){return n.stdLabelPosition},get thumbnailStdLabelJustification(){return n.stdLabelJustification},get thumbnailLabelPositionMobile(){return K(Pi.thumbnailLabelPositionMobile,n.labelPosition,Pi.thumbnailLabelPosition,"bottom")},get thumbnailStdLabelPositionMobile(){var e=K(n.stdLabelPositionMobile,Pi.thumbnailStdLabelPositionMobile);return"hover"===e?"over":e},get thumbnailLabelPositionTablet(){return K(Pi.thumbnailLabelPositionTablet,n.labelPosition,Pi.thumbnailLabelPosition,"bottom")},get thumbnailStdLabelPositionTablet(){var e=K(n.stdLabelPositionTablet,Pi.thumbnailStdLabelPositionTablet);return"hover"===e?"over":e},get thumbnailVideoPlayIcon(){return K(n.videoPlayIcon,Pi.thumbnailVideoPlayIcon!==!1)},get thumbnailScrollbarAlignment(){return K(n.scrollbarAlignment,Pi.thumbnailScrollbarAlignment)},get thumbnailScrollbarColor(){return K(n.scrollbarColor,Pi.thumbnailScrollbarColor)},get thumbnailScrollbarHover(){return K(n.scrollbarHover,Pi.thumbnailScrollbarHover)},get thumbnailSelectedColor(){return K(n.selectedColor,Pi.thumbnailSelectedColor)},get thumbnailSelectedAlpha(){return K(n.selectedAlpha,Pi.thumbnailSelectedAlpha,Pi.thumbnailHoverAlpha)},get thumbnailScrollbarHorizontalOffset(){return K(n.scrollbarHorizontalOffset,Pi.thumbnailScrollbarHorizontalOffset)},get thumbnailScrollbarVerticalOffset(){return K(n.scrollbarVerticalOffset,Pi.thumbnailScrollbarVerticalOffset)},get thumbnailScrollType(){var e=K(n.scrollType,Pi.thumbnailScrollType);return"mouse cursor"===e&&(e="nativeMacOs"),e},get thumbnailScrollbarBgAlpha(){return K(n.scrollbarBgAlpha,Pi.thumbnailScrollbarBgAlpha)},get thumbnailScrollbarWidth(){return K(n.scrollbarWidth,Pi.thumbnailScrollbarWidth)},get thumbnailScrollbarVisibility(){return K(n.scrollbarVisibility,Pi.thumbnailScrollbarVisibility)},get thumbnailScrollbarRounded(){return K(n.scrollbarRounded,Pi.thumbnailScrollbarRounded)},get thumbnailTitleBlockTopMargin(){return oe()?K(Pi.thumbnailTitleBlockTopMarginMobile,Pi.thumbnailTitleBlockTopMargin)||0:Pi.thumbnailTitleBlockTopMargin||0},get captionAutoPosition(){return K(t.captionAutoPosition,Pi.captionAutoPosition)},get captionDefault(){return K(t.captionDefault,Pi.captionDefault)},get captionUseTitle(){return K(t.captionUseTitle,Pi.captionUseTitle)},get captionCloseButton(){return K(t.captionCloseButton,Pi.captionCloseButton)},get captionBackgroundAlpha(){return K(t.captionBackgroundAlpha,Pi.captionBackgroundAlpha)},get captionBackgroundRectColor(){return K(t.captionBackgroundRectColor,Pi.captionBackgroundRectColor)},get captionFont(){return K(t.captionFont,Pi.captionFont)},
get captionFontColor(){return K(t.captionFontColor,Pi.captionFontColor)},get captionFontSize(){return t.captionFontSize||Pi.captionFontSize},get captionFontSizeBreakpoint(){return t.captionFontSizeBreakpoint||Pi.captionFontSizeBreakpoint},get captionWidth(){return E(K(t.captionWidth,Pi.captionWidth),wa.width)},get captionHeight(){return E(K(t.captionHeight,Pi.captionHeight),wa.height)},get captionAlignHorizontal(){return K(t.captionAlignHorizontal,Pi.captionAlignHorizontal)},get captionAlignVertical(){return K(t.captionAlignVertical,Pi.captionAlignVertical)},get captionOffsetX(){return E(K(t.captionOffsetX,Pi.captionOffsetX),wa.width)},get captionOffsetY(){return E(K(t.captionOffsetY,Pi.captionOffsetY),wa.height)},get captionTextAlign(){return K(t.captionTextAlign,Pi.captionTextAlign)},get captionTextAlignVertical(){return K(t.captionTextAlignVertical,Pi.captionTextAlignVertical)},get captionPaddingTop(){return E(K(t.captionPaddingTop,Pi.captionPaddingTop),wa.height)},get captionPaddingRight(){return E(K(t.captionPaddingRight,Pi.captionPaddingRight),wa.width)},get captionPaddingBottom(){return E(K(t.captionPaddingBottom,Pi.captionPaddingBottom),wa.height)},get captionPaddingLeft(){return E(K(t.captionPaddingLeft,Pi.captionPaddingLeft),wa.width)},get captionScrollType(){return K(t.captionScrollType,Pi.captionScrollType)},get captionScrollbarWidth(){return K(t.captionScrollbarWidth,Pi.captionScrollbarWidth)},get captionScrollbarAlignment(){return K(t.captionScrollbarAlignment,Pi.captionScrollbarAlignment)},get captionScrollbarColor(){return K(t.captionScrollbarColor,Pi.captionScrollbarColor)},get captionScrollbarHover(){return K(t.captionScrollbarHover,Pi.captionScrollbarHover)},get captionScrollbarHorizontalOffset(){return K(t.captionScrollbarHorizontalOffset,Pi.captionScrollbarHorizontalOffset)},get captionScrollbarVerticalOffset(){return K(t.captionScrollbarVerticalOffset,Pi.captionScrollbarVerticalOffset)},get captionScrollbarBgAlpha(){return K(t.captionScrollbarBgAlpha,Pi.captionScrollbarBgAlpha)},get captionAnchorTo(){return K(t.captionAnchorTo,Pi.captionAnchorTo)},get slideshowRandomize(){return K(t.slideshowRandomize,Pi.landingMediaRandomize)},get slideshowTransitionType(){return K(t.slideshowTransitionType,Pi.landingMediaTransitionType)},get slideshowSpeed(){return K(t.slideshowSpeed,Pi.landingMediaSpeed)},get slideshowTransitionDuration(){return K(t.slideshowTransitionDuration,Pi.landingMediaTransitionDuration)},get slideshowAlignHorizontal(){return K(t.slideshowAlignHorizontal,Pi.landingMediaAlignHorizontal)},get slideshowAlignVertical(){return K(t.slideshowAlignVertical,Pi.landingMediaAlignVertical)},get slideshowScaleType(){var e=K(t.slideshowScaleType,Pi.landingMediaScaleType);return oe()?K(Pi.landingMediaScaleTypeMobile,"fit"):le()?K(Pi.landingMediaScaleTypeTablet,e):e},get slideshowScrollDownIcon(){return K(e.scrollDownIcon,Pi.slideshowScrollDownIcon)},get siteDisplayBehavior(){return Wi===Xi||Wi===Ni?"none":K(e.displayBehavior,Pi.siteDisplayBehavior,Pi.unifiedPageScrolling?"unifiedPageScrolling":"none")}}},get backgroundImages(){var e=[];return e=window.isStaging&&Bi.hasOwnProperty("stagingBackgroundImages")?Bi.stagingBackgroundImages||e:Bi.backgroundImages.length?Bi.backgroundImages:DX_MODEL.designSettings.backgroundImages||e,e.filter(function(e){return l(e)})},get socialLinks(){var e=[];return e=window.isStaging&&Bi.hasOwnProperty("stagingSocialLinks")?Bi.stagingSocialLinks||e:Bi.socialLinks.length?Bi.socialLinks:DX_MODEL.designSettings.socialLinks||e,e.filter(function(e){return l(e)})},get copyright(){return window.isStaging&&Bi.hasOwnProperty("stagingCopyright")?Bi.stagingCopyright||"":K(Bi.copyright,DX_MODEL.designSettings.copyright)||""},get logoFile(){return window.isStaging&&Bi.hasOwnProperty("stagingLogoFile")?Bi.stagingLogoFile||"":K(Bi.logoFile,DX_MODEL.designSettings.logoFile)||""},get logoHtml(){return window.isStaging&&Bi.hasOwnProperty("stagingLogoHtml")?Bi.stagingLogoHtml||"":K(Bi.logoHtml,DX_MODEL.designSettings.logoHtml)||""},get logoText(){return window.isStaging&&Bi.hasOwnProperty("stagingLogoText")?Bi.stagingLogoText||"":K(Bi.logoText,DX_MODEL.designSettings.logoText)||""},get introFile(){return window.isStaging&&Bi.hasOwnProperty("stagingIntroFile")?Bi.stagingIntroFile||"":K(Bi.introFile,DX_MODEL.designSettings.introFile)||""},get blogSectionId(){return window.isStaging&&Bi.hasOwnProperty("stagingBlogSectionId")?Bi.stagingBlogSectionId||"":K(Bi.blogSectionId,DX_MODEL.designSettings.blogSectionId)||""},footerView:{zIndex:function(){return"overlay"===Ma.menuView.placement()?5:8}},introView:{zIndex:500},logoView:{zIndex:function(){return"overlay"===Ma.menuView.placement()?5:8}},mediaView:{zIndex:1,zoneX:function(){return B()&&xa.isLandingMedia?xa.landingMediaView.x():xa.mediaView.x()},zoneY:function(e){return B()&&xa.isLandingMedia?xa.landingMediaView.y():xa.mediaView.y(e)},zoneWidth:function(){return B()&&xa.isLandingMedia?xa.landingMediaView.width():xa.mediaView.width()},zoneHeight:function(e){return"unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior&&"multiple"===xa.sectionDisplayMode?B()&&xa.isLandingMedia?xa.landingMediaView.height():xa.mediaView.height(e,!0):B()&&xa.isLandingMedia?xa.landingMediaView.height():xa.mediaView.height(e)},contentHeight:function(){return Ma.siteView.unifiedPageScroll()&&xa._mediaContentHeight>Ma.mediaView.height()?xa._mediaContentHeight:Ma.mediaView.height()},x:function(){var e=B()&&xa.isLandingMedia?xa.landingMediaView.x():xa.mediaView.x();return xa.isDisplace()&&"left"===Ma.overrides.thumbnailSide?e+E(Ma.overrides.thumbnailHorizontalMargin,wa.width)+zo[Ma.overrides.thumbnailSize].width:e},y:function(e){var t=B()&&xa.isLandingMedia?xa.landingMediaView.y():xa.mediaView.y(e);return xa.isDisplace()&&"top"===Ma.overrides.thumbnailSide?t+E(Ma.overrides.thumbnailVerticalMargin,wa.height)+zo[Ma.overrides.thumbnailSize].height:t},width:function(){var e=B()&&xa.isLandingMedia?xa.landingMediaView.width():xa.mediaView.width();return!xa.isDisplace()||"left"!==Ma.overrides.thumbnailSide&&"right"!==Ma.overrides.thumbnailSide?e:e-E(Ma.overrides.thumbnailHorizontalMargin,wa.width)-zo[Ma.overrides.thumbnailSize].width},height:function(e){var t=B()&&xa.isLandingMedia?xa.landingMediaView.height():xa.mediaView.height(e),i=E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height),n=/unifiedSite/.test(Ma.overrides.siteDisplayBehavior)&&/top|bottom/.test(Ma.menuView.placement())?wa.height-i:wa.height;return!(t>=n)&&/unifiedSite/.test(Ma.overrides.siteDisplayBehavior)||!xa.isDisplace()||"top"!==Ma.overrides.thumbnailSide&&"bottom"!==Ma.overrides.thumbnailSide?t:t-E(Ma.overrides.thumbnailVerticalMargin,wa.height)-zo[Ma.overrides.thumbnailSize].height},maskX:function(){return B()&&xa.isLandingMedia?xa.landingMediaView.x():xa.mediaMask.x()},maskY:function(e){return B()&&xa.isLandingMedia?xa.landingMediaView.y():xa.mediaMask.y(e)},maskWidth:function(e){return B()&&xa.isLandingMedia?xa.landingMediaView.width():xa.mediaMask.width(e)},maskHeight:function(e,t){return B()&&xa.isLandingMedia?xa.landingMediaView.height():xa.mediaMask.height(e,t)},hAlign:function(){return Wi===Xi?xa.isLandingMedia?K(Pi.landingMediaAlignHorizontalMobile,Ma.overrides.slideshowAlignHorizontal):Ma.overrides.imageAlignHorizontal:xa.isLandingMedia?Ma.overrides.slideshowAlignHorizontal:Ma.overrides.imageAlignHorizontal},vAlign:function(){return Wi===Xi?xa.isLandingMedia?K(Pi.landingMediaAlignVerticalMobile,Ma.overrides.slideshowAlignVertical):Ma.overrides.imageAlignVertical:xa.isLandingMedia?Ma.overrides.slideshowAlignVertical:Ma.overrides.imageAlignVertical},transitionDuration:function(e){return e?Ma.overrides.slideshowTransitionDuration:Ma.overrides.transitionDuration},imageScaleType:function(){return xa.isLandingMedia?oe()?K(Pi.landingMediaScaleTypeMobile,Ma.overrides.slideshowScaleType):le()?K(Pi.landingMediaScaleTypeTablet,Ma.overrides.slideshowScaleType):Ma.overrides.slideshowScaleType:Ma.overrides.imageScaleType},videoScaleType:function(e){return xa.isLandingMedia?oe()?K(Pi.landingMediaScaleTypeMobile,Ma.overrides.slideshowScaleType):le()?K(Pi.landingMediaScaleTypeTablet,Ma.overrides.slideshowScaleType):Ma.overrides.slideshowScaleType:e&&"fill"===Ma.overrides.videoScaleType?"fit":Ma.overrides.videoScaleType},videoAutoPlay:function(){return Ma.overrides.videoAutoPlay},backgroundColor:function(){return B()&&xa.isLandingMedia?Pi.siteBackgroundColor:xa.isLandingMedia?Pi.containerColor:Ma.overrides.containerColor}},menuView:{placement:function(){var e;switch(Pi.menuAlignHorizontal){case"top-responsive":e=xa.isMenuResponsiveOverlay?"overlay":"top";break;case"right-responsive":e=xa.isMenuResponsiveOverlay?"overlay":"right";break;case"bottom-responsive":e=xa.isMenuResponsiveOverlay?"overlay":"bottom";break;case"left-responsive":e=xa.isMenuResponsiveOverlay?"overlay":"left";break;default:e=Pi.menuAlignHorizontal}return Wi===Xi||Wi===Ni?"left":e},zIndex:6,menuPositionFixed:function(){return!!/bottom/.test(Ma.menuView.placement())||Pi.menuPositionFixed},menuFontSize:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayFontSize||Pi.menuFontSize:Pi.menuFontSize},menuSubFontSize:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlaySubFontSize||Pi.menuSubFontSize:Pi.menuSubFontSize},menuBgColor:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayBgColor||Pi.menuBgColor:Pi.menuBgColor},menuBgAlpha:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayBgAlpha||Pi.menuBgAlpha:Pi.menuBgAlpha},menuFontColor:function(){var e=Pi.menuFontColor;return Wi===Xi&&(e=Pi.menuFontColorMobile||e),Wi===Ni&&(e=Pi.menuFontColorTablet||e),"overlay"===Ma.menuView.placement()?Pi.menuOverlayFontColor||e:e},menuFontColorHover:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayFontColorHover||Pi.menuFontColorHover:Pi.menuFontColorHover},menuFontColorSelected:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayFontColorSelected||Pi.menuFontColorSelected:Pi.menuFontColorSelected},menuTextAlignHorizontal:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayTextAlignHorizontal||Pi.menuTextAlignHorizontal:Pi.menuTextAlignHorizontal},menuTextAlignVertical:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayTextAlignVertical||Pi.menuTextAlignVertical:Pi.menuTextAlignVertical},menuTextPaddingHorizontal:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayTextPaddingHorizontal||Pi.menuTextPaddingHorizontal:Pi.menuTextPaddingHorizontal},menuTextPaddingVertical:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayTextPaddingVertical||Pi.menuTextPaddingVertical:Pi.menuTextPaddingVertical},menuTextGap:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlayTextGap||Pi.menuTextGap:Pi.menuTextGap},menuSubTextAlignHorizontal:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlaySubTextAlignHorizontal||Pi.menuSubTextAlignHorizontal:Pi.menuSubTextAlignHorizontal},menuSubTextGap:function(){return"overlay"===Ma.menuView.placement()?Pi.menuOverlaySubTextGap||Pi.menuSubTextGap:Pi.menuSubTextGap},menuIconOverlayColor:function(){return Pi.menuIconOverlayColor||Pi.menuOverlayFontColor||"#333333"}},navbarView:{zIndex:function(){return/^overlay/.test(Ma.overrides.siteDisplayBehavior)?101:Wi===Xi||"overlay"===Ma.menuView.placement()?3:7}},overlayView:{x:function(){return/^unifiedSite|overlay/.test(Ma.overrides.siteDisplayBehavior)&&/top|bottom/.test(Ma.menuView.placement())?0:Ma.mediaView.zoneX()},y:function(e){return/^unifiedSite|overlay/.test(Ma.overrides.siteDisplayBehavior)?0:Ma.mediaView.zoneY(e)},zoneWidth:function(){return/^overlay/.test(Ma.overrides.siteDisplayBehavior)?wa.width:B()&&xa.isLandingMedia?xa.landingMediaView.width():xa.mediaView.width()},zoneHeight:function(e){if(/^overlay/.test(Ma.overrides.siteDisplayBehavior))return wa.height;if(!/unifiedPageScroll/.test(Ma.overrides.siteDisplayBehavior)||Wi===Ui&&oe()||Wi===Ui&&le()||/native/.test(Ma.overrides.thumbnailScrollType)||Pi.globalSmoothScroll){if(Ma.siteView.unifiedPageScroll()){var t=B()&&xa.isLandingMedia?xa.landingMediaView.height():xa.mediaView.height(e);return xa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ma.overrides.thumbnailType)&&xa._thumbContentHeight>t?xa._thumbContentHeight:t}return B()&&xa.isLandingMedia?xa.landingMediaView.height():xa.mediaView.height(e)}return Ma.mediaView.zoneHeight()},zIndex:4,size:{x:function(){return/^overlay/.test(Ma.overrides.siteDisplayBehavior)?0:Ma.overlayView.x()},y:function(e){return/^overlay/.test(Ma.overrides.siteDisplayBehavior)?0:Ma.overlayView.y(e)},width:function(){return Ma.overlayView.zoneWidth()},height:function(e){return Ma.overlayView.zoneHeight(e)}}},captionView:{zIndex:function(){return Wi===Xi||"overlay"===Ma.menuView.placement()?2:7}},siteView:{unifiedPageScroll:function(){return"overlay"!==Ma.overrides.siteDisplayBehavior&&(!/none/.test(Ma.overrides.siteDisplayBehavior)&&(/^unifiedSite/.test(Ma.overrides.siteDisplayBehavior)?/^vScroll/.test(Ma.overrides.transitionType)||xa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ma.overrides.thumbnailType)||fe(xa._section):/^unifiedPage/.test(Ma.overrides.siteDisplayBehavior)?/^vScroll/.test(Ma.overrides.transitionType)||xa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ma.overrides.thumbnailType)||fe(xa._section):Pi.unifiedPageScrolling))},width:function(){return wa.width},height:function(){if("single"===xa.sectionDisplayMode&&B()&&xa.isLandingMedia)return xa.landingMediaView.height();if(Wi===Xi||Wi===Ni)return wa.height;if("unifiedSiteScrollVertical"===Ma.overrides.siteDisplayBehavior&&"multiple"===xa.sectionDisplayMode){var e=Pi.marginOverlap||0,t=E(Pi.sitePaddingTop,wa.height),i=E(Pi.sitePaddingBottom,wa.height),n=xa.mediaModules&&xa.mediaModules[0],o=n&&n.controller.section,a=0,r=E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height);return o&&_(o)?xa.mediaViewsHeight+i:/top/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?(a=t+r-e,a+xa.mediaViewsHeight+i):/bottom/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?(a=i+r-e,t+xa.mediaViewsHeight+a):t+xa.mediaViewsHeight+i}if(Ma.siteView.unifiedPageScroll()){var l=E(Pi.sitePaddingTop,wa.height),s=/top/.test(Ma.menuView.placement()),d=/bottom/.test(Ma.menuView.placement()),c=!Pi.isMenuScrollReveal&&(s||d);if(c){var e=Pi.marginOverlap||0,r=E(Pi.menuWidth,wa.height)-E(Pi.menuOffsetX,wa.height),t=E(Pi.sitePaddingTop,wa.height),i=E(Pi.sitePaddingBottom,wa.height),a=(wa.height,r-e||0);l+=a}if(xa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(Ma.overrides.thumbnailType)&&(oe()||le()||/native/.test(Ma.overrides.thumbnailScrollType)||Pi.globalSmoothScroll))l+=xa._thumbContentHeight>Ma.mediaView.zoneHeight()?xa._thumbContentHeight:Ma.mediaView.zoneHeight();else{var h=xa._section&&xa._section.key;l+=Ma.mediaView.height(h)>Ma.mediaView.zoneHeight()?Ma.mediaView.height(h):Ma.mediaView.zoneHeight()}return l+=E(Pi.sitePaddingBottom,wa.height)}return wa.height}},setPassedSection:function(e){Sa.push(e)},getPassedSection:function(e){return Sa.indexOf(e)>-1}},Ta={url:"",path:"",query:"",fragment:"",listeners:[],onChange:function(){},init:function(){this.url=window.location.pathname+window.location.search,window.onpopstate=Ta.fireListeners,window.onhashchange=Ta.fireListeners,setTimeout(function(){window.history.pushState({value:Ta.url},"",Ta.url),Ta.fireListeners()},0)},fireListeners:function(e,t){e&&e.state&&e.state.value&&(Ta.url=e.state.value),Ta.onChange(decodeURIComponent(Ta.url)||"/",t)},setValue:function(e,t,i){if(0===e.indexOf("http"))window.location=e;else{var n=e.split("?"),o=i?"pushState":"replaceState";this.path=this.addDashes(this.trim(n[0])),this.query=n[1]?"?"+n[1]:"",this.url="/"+this.path+this.query,window.history[o]({value:this.url},"",this.url),this.fireListeners({},t)}"function"!=typeof window.ga||Fi||ga("send",{hitType:"pageview",page:window.location.pathname})},back:function(){history.back()},setLocation:function(e){window.location=e},getQuery:function(){return window.location.search},setTitle:function(e){document.title=e},getTitle:function(){return document.title},getHost:function(){return window.location.host},addDashes:function(e){return e.replace(/ /g,"-").replace(/%20/g,"-")},trim:function(e){return e.replace(/^\s+|\s+$/g,"").replace(/^\/|\/$/g,"")}},Va=function(){function e(e,i){function n(){H.dispatchEvent($n)}function o(e){D.dispatchEvent(qo,e)}function a(){D.dispatchEvent(ta)}function r(e){H.dispatchEvent(_n,e),P.section&&"layoutModelInit"!==e.id&&(R.test(e.id)||B.test(e.id)||j.test(e.id)||_.test(e.id))&&(H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:y(P.section.media)}),H.dispatchEvent("assetReset")),t(P)}function l(e){return/page/.test(e)}function d(e){return/imageVideo|caption/.test(e)}function c(e,t){return/thumb/.test(t)&&"strip"!==e}function h(e){if(P.section&&(Ma.section(P.section),H.dispatchEvent(Zn,e),"update"===e.method&&e.id===P.section.id&&!c(Ma.overrides.thumbnailType,P.state.mode))){if("media"===e.field)H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:e.value?y(e.value):[]}),H.dispatchEvent("assetReset");else if("overrides"===e.field){var i=JSON.stringify(e.value);l(i)&&"html"===xa._activeMediaType?(H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:y(P.section.media)}),H.dispatchEvent("assetReset")):d(i)&&/image|video/.test(xa._activeMediaType)&&(H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:y(P.section.media)}),H.dispatchEvent("assetReset"))}else if(H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:y(P.section.media)}),H.dispatchEvent("assetReset"),"slideshow"===e.field){var n=e.value?"landingMedia":"mediaView";A=n,P.mediaViewBehavior=P.behavior.navigationModeChange(n);var o=P.state;o.isLandingMedia=e.value,o.info.mediaViewState=n,P.mediaViewBehavior.uriChange(o)}t(P)}}function u(e){H.dispatchEvent(Yn,e),"update"===e.method&&P.section&&("landingMedia"===P.section.id||P.section.isIntroGallery)&&"backgroundImages"===e.id&&D.dispatchEvent("resetUriChange",e)}function p(e){H.dispatchEvent(Wn,e),"update"===e.method&&P.section&&P.section.media.indexOf(e.id)>-1&&(H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:y(P.section.media)}),H.dispatchEvent("assetReset")),t(P)}function m(e){H.dispatchEvent("MediaView/ContentReady",e.media)}function v(){H.dispatchEvent("layoutMediaView",{section:P.section}),W&&D.addEventListener(nn,f),W=!1,"landingMedia"===A||P.mediaToRender.length<2?H.dispatchEvent("hideCursor"):H.dispatchEvent("showCursor")}function f(){H.dispatchEvent(tn),Ma.section(P.section),P.staticNav&&P.staticNav.resize({x:0,y:0,width:Ma.mediaView.zoneWidth(),height:P.getTotalHeight()})}function b(){H.dispatchEvent(lo)}function C(e){P.state&&P.state.assetId!==e.id&&(P.state.assetId=e.id,D.dispatchEvent("updateAssetId",e))}function w(e){P.state.mode=e.mode,H.dispatchEvent("checkCaption",e)}function L(e){/video|vimeo/.test(e.type)&&H.dispatchEvent("mediaSizeUpdate",e)}function S(){D.dispatchEvent(fo)}function x(){D.dispatchEvent(bo)}function M(e){P.cursorAxis=e,D.dispatchEvent("cursorAxisUpdate",e)}function T(e){D.dispatchEvent(ko,e)}function V(e){D.dispatchEvent(Fo,e)}function E(e){D.dispatchEvent(Ho,e)}function z(e){H.dispatchEvent(Io,e)}function k(e){H.dispatchEvent(Po,e)}function O(e){H.dispatchEvent(Ro,e)}function I(e){D.dispatchEvent(Jo,e)}function F(e){D.dispatchEvent(_o,e)}var A,P=this,H=e,D=i,R=/contactTitleFont|contactTitleFontSize|contactTitleShow|contactFont|contactFontSize|contactFontColor|contactFieldRectColor/,B=/containerColor|transitionType|imageAlignHorizontal|imageAlignVertical|imageScaleType|videoScaleType|imageVideoInactiveAlpha|imageVideoMarginTop|imageVideoMarginRight|imageVideoMarginBottom|imageVideoMarginLeft|imageVideoScrollType|imageVideoScrollbarRounded|imageVideoScrollVisibility|imageVideoScrollbarHorizontalOffset|imageVideoScrollbarVerticalOffset/,j=/pageMarginTop|pageMarginRight|pageMarginBottom|pageMarginLeft|pageScrollVerticalMargin|pageTextFont|pageTextKerning|pageTextFontSize|pageTextFontColor|pageTitle|pageTitleFont|pageTitleKerning|pageTitleFontSize|pageTitleFontColor|pageScrollbarAlignment|pageScrollbarHorizontalOffset|pageScrollbarVerticalOffset|pageScrollbarColor|pageScrollbarHover|pageScrollbarBgAlpha|pageScrollbarWidth/,_=/landingMediaRandomize|landingMediaTransitionType|landingMediaSpeed|landingMediaTransitionDuration|landingMediaAlignHorizontal|landingMediaAlignVertical|landingMediaScaleType/,W=!0;D.addEventListener(lo,b),D.addEventListener(_n,r),D.addEventListener(Zn,h),D.addEventListener(Yn,u),D.addEventListener(Wn,p),D.addEventListener($n,n),D.addEventListener(Io,z),D.addEventListener(Po,k),D.addEventListener(Ro,O),D.addEventListener("thumbStripDisplaceChange",f),D.addEventListener(No,function(e){H.dispatchEvent(No,e)}),D.addEventListener(Wo,function(e){H.dispatchEvent(Wo,e)}),D.addEventListener("SITE_URI_CHANGE_PASSIVE",w),H.addEventListener("SectionMediaFactory/mediaBuilt",m),H.addEventListener("MediaView/ContentAdded",v),H.addEventListener("ScrollTransition/updateAssetId",C),H.addEventListener(yo,L),H.addEventListener(fo,S),H.addEventListener(bo,x),H.addEventListener("cursorAxisUpdate",M),H.addEventListener(qo,o),H.addEventListener(ko,T),H.addEventListener(Fo,V),H.addEventListener(Ho,E),H.addEventListener(Jo,I),H.addEventListener(_o,F),H.addEventListener(ta,a),H.addEventListener("siteAnchorCaptionUpdate",function(e){D.dispatchEvent("siteAnchorCaptionUpdate",e)}),H.addEventListener("mediaOverlayClose",function(){D.dispatchEvent("mediaOverlayClose")}),H.addEventListener("adminPageviewImageSizes",function(e){D.dispatchEvent("adminPageviewImageSizes",e)}),H.addEventListener("lightboxDownloadOverlayOpen",function(){D.dispatchEvent("lightboxDownloadOverlayOpen")}),H.addEventListener("lightboxUpdateItem",function(e){D.dispatchEvent("lightboxUpdateItem",e)}),D.addEventListener(nn,function(e){Ma.section(P.section),(Ma.overrides.thumbnailOnly||s(P.section))&&P.overlayController.resize()}),H.addEventListener("UPDATE_CONTENT_HEIGHT",function(e){Ma.section(P.section),e.thumbs&&P.thumbsTotalHeight!==e.thumbs?(/strip/.test(Ma.overrides.thumbnailType)&&/thumbs/.test(P.state.mode)?/top|bottom/.test(Ma.overrides.thumbnailSide)?P.thumbsTotalHeight=Math.round(e.thumbs+P.totalHeight):P.thumbsTotalHeight=Math.round(P.totalHeight):P.thumbsTotalHeight=Math.round(e.thumbs),/^overlay/.test(Ma.overrides.siteDisplayBehavior)||(xa._thumbContentHeight=Math.round(e.thumbs))):e.gallery&&(P.totalHeight=Math.round(e.gallery),P.overlayController.resize());var t;/thumbs/.test(P.state.mode)&&(t=/strip/.test(Ma.overrides.thumbnailType)&&P.totalHeight>0&&P.totalHeight>P.thumbsTotalHeight?P.totalHeight:P.thumbsTotalHeight);var i=/top|bottom/.test(Ma.menuView.placement())&&!Pi.isMenuScrollReveal?Pi.marginOverlap||0:0;i&&(t-=i);var n={height:P.totalHeight};P.mediaView.container.children[0]&&(n.isFullTextHeight=N(P.mediaView.container.children[0],P.mediaView.container.children.length)),t&&(n.zoneHeight=t),xa.updateSectionState(P.section.key,n),P.staticNav&&P.staticNav.resize({x:0,y:0,width:Ma.mediaView.zoneWidth(),height:P.getTotalHeight()}),D.dispatchEvent("UPDATE_CONTENT_HEIGHT")}),P.getTotalHeight=function(){if(Ma.section(P.section),"none"===Ma.overrides.siteDisplayBehavior)return Ma.mediaView.zoneHeight();if(g(P.section))return P.thumbsTotalHeight?P.thumbsTotalHeight:Ma.mediaView.zoneHeight(P.section.key);if(!/none/.test(Ma.overrides.thumbnailType)&&/thumbs/.test(P.state.mode))return P.thumbsTotalHeight;if(/unifiedSiteScrollVertical/.test(Ma.overrides.siteDisplayBehavior)){var e=P.mediaView.container.boundsHeight,t=xa.getMaxScrollSectionHeight(P.mediaView);return/vScroll/.test(Ma.overrides.transitionType)?e:e&&e