-1}function me(e){return pe(e)?!(xa.overrides.videoAutoPlay||xa.overrides.vimeoDefault):!xa.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 ba(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(On,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&&Ai.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(Tn,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&&Ai.dropdownSubMenu||(o.toggle?t(this.accordionItem):this.accordionItem.isOpen||o.openItem(this.accordionItem),o.dispatchEvent(In,this.accordionItem)):"single"===o.expand&&o.closeItem(a[i]);o.layout(yo)},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(){Ai.dropdownSubMenu&&/top|bottom/.test(xa.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;rSa.menuView.width()&&(g=C)}}o.width=g,o.height=f,o.dispatchEvent(Fn,{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:Ai.cursorColor,d:wa.arrow1Left,stroke:Ai.cursorColor,strokeWidth:0},arrow2:{fill:Ai.cursorColor,d:wa.arrow2Left,stroke:Ai.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:wa.arrow3Left,stroke:Ai.cursorColor,strokeWidth:1.5},plus1:{fill:Ai.cursorColor,d:wa.plus1Left,stroke:Ai.cursorColor,strokeWidth:0},plus2:{fill:Ai.cursorColor,d:wa.plus2Left,stroke:Ai.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}},right:{arrow1:{fill:Ai.cursorColor,d:wa.arrow1Right,stroke:Ai.cursorColor,strokeWidth:0},arrow2:{fill:Ai.cursorColor,d:wa.arrow2Right,stroke:Ai.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:wa.arrow3Right,stroke:Ai.cursorColor,strokeWidth:1.5},plus1:{fill:Ai.cursorColor,d:wa.plus1Right,stroke:Ai.cursorColor,strokeWidth:0},plus2:{fill:Ai.cursorColor,d:wa.plus2Right,stroke:Ai.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}}}}function i(){var e=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";v.element.style["mix-blend-mode"]=e}function n(e){S=e||"x"}function o(e){x=!/none|disabled/.test(Ai.navCursorType)&&e}function a(e){return uo&&e.touches?e.touches[0].pageX:e.clientX}function r(e){return uo&&e.touches?e.touches[0].pageY:e.clientY}function l(){g=new ya,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=wa.cursorThumbs,C=new nt,C.id="icon",g.addChild(C),C.element.style["pointer-events"]="none",v.iconRight=C,s(),Ca.addEventListener(hn,d),v.listenerAdded=!0}function s(){var e=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";v.cursorIconStyle=Ai.cursorIconStyle||"arrow2";var t=L.left[v.cursorIconStyle],i=L.right[v.cursorIconStyle];v.element.style["mix-blend-mode"]=e,v.navCursorType=Ai.navCursorType,v.iconLeft.d=t.d,v.iconLeft.fill=t.fill,v.iconLeft.stroke=t.stroke,v.iconLeft.strokeWidth=t.strokeWidth,v.iconCenter.fill=Ai.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=xa.mediaView.x(),l=xa.mediaView.y(),d=xa.mediaView.width(),c=xa.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;(Ai.cursorColor!==L.left.arrow1.fill||Ai.cursorIconStyle!==v.cursorIconStyle&&Ai.navCursorType!==v.navCursorType)&&(L=t(),s()),V
Please try again later.
If problem persists, contact support."):ne(aa,ra)?Ee.login=new Ii(e):ke("Admin not supported for this browser ["+aa+" "+ra+"]. Please use latest version of Chrome, Firefox, Safari or MS Edge.")),Ee.events.dispatchEvent(jn,{id:"layoutModelInit"}),Ee.events.addEventListener(Ko,m),Ee.events.addEventListener(qo,v),Ee.events.addEventListener(Gn,g),Ee.events.addEventListener(Zn,b),Ee.events.addEventListener($n,f),Ee.events.addEventListener(eo,w),Ee.events.addEventListener(Un,C),Ee.events.addEventListener(An,x),Ee.events.addEventListener("ADDRESS_URI_CHANGE_PASSIVE",E),Ee.events.addEventListener(Hn,n),Ee.events.addEventListener(zo,pe),Ee.events.addEventListener(Io,me),Ee.events.addEventListener(Po,ge),Ee.events.addEventListener(no,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(ea,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),Ca.addEventListener(tn,h),Ca.addEventListener(co,d),Ca.addEventListener(ro,u),Ca.addEventListener(gn,L),(oe()||le())&&window.addEventListener("scroll",function(){clearTimeout(Ve),Pe=!0,Ve=setTimeout(function(){Ve=null,Pe=!1,c()&&(Ee.events.dispatchEvent(tn),De=!1)},200)}),Ca.zoom>1?Ee.events.dispatchEvent(tn):h(),Ee.events.addEventListener("cursorAxisUpdate",Ce),ao=90===Math.abs(window.orientation)?"horizontal":"vertical",window.isStaging){var t=ye();Ee.siteView.addChild(t)}xa.cacheLightboxSection()}function n(){dx.admin.events.addEventListener(Dn,Q),dx.admin.events.addEventListener(Rn,$),dx.admin.events.addEventListener(Bn,ee),dx.admin.events.addEventListener(jn,te),dx.admin.events.addEventListener(_n,se),dx.admin.events.addEventListener(Wn,de),dx.admin.events.addEventListener(Nn,ce),dx.admin.events.addEventListener(Xn,he),dx.admin.events.addEventListener(Yn,ue),dx.admin.events.addEventListener(Jo,a),dx.admin.events.addEventListener(Qo,s),Ee.events.addEventListener("adminPageviewImageSizes",function(e){dx.admin.events.dispatchEvent("adminPageviewImageSizes",e)})}function o(){Ee.events.dispatchEvent($o,{name:"js"})}function a(){Ee.events.dispatchEvent(Jo)}function s(){Ee.events.dispatchEvent(Qo)}function d(){Ca.zoom<=1}function c(){return(oe()||le())&&De&&window.innerHeight===document.documentElement.clientHeight}function h(e){if(/responsive/.test(Ai.menuAlignHorizontal)){var t=1;oe()&&(t=window.devicePixelRatio||1);var i=(Ai.screenWidthBreakpoint||800)*t,n=Sa.isMenuResponsiveOverlay;Sa.isMenuResponsiveOverlay=Ca.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)&&Ai.slideshowCaptions,n=K(_i!==Ni||t?void 0:"site",e.overrides.captionAnchorTo,xa.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(){_i!==Ni&&(Ee.caption.container.position="fixed"),Ee.caption.container.transition=0,Ee.caption.container.zIndex=xa.captionView.zIndex(),K(He.captionCloseButton,xa.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,xa.overrides.captionBackgroundRectColor),i=K(_i===Ni?Ai.overlayAlpha:void 0,He.captionBackgroundAlpha,xa.overrides.captionBackgroundAlpha);Ee.caption.backgroundColor=V(t,i),Ee.caption.fontFamily=He.captionFont||xa.overrides.captionFont,Ee.caption.fontSize=Ca.widthi.v&&(r=i.v),e.height=r+t.top+t.bottom}else e.height=xa.mediaView.height()}e.updatePosition()}var n=Ne,o=e.mediaView,a=e.localEvents,r=o.container,l=o.mask;if("native"===xa.overrides.imageVideoScrollType)l.element.style.overflowY="hidden",l.element.style.overflowX="scroll";else if(ta&&("nativeMacOs"===xa.overrides.imageVideoScrollType||Ai.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:xa.overrides.imageVideoScrollbarColor,hover:xa.overrides.imageVideoScrollbarHover,side:xa.overrides.imageVideoScrollbarAlignment,alpha:xa.overrides.imageVideoScrollbarBgTransparency,width:xa.overrides.imageVideoScrollbarWidth,offsetX:xa.overrides.imageVideoScrollbarHorizontalOffset,offsetY:xa.overrides.imageVideoScrollbarVerticalOffset,topPad:0,property:"translate",zIndex:xa.mediaView.zIndex,rounded:xa.overrides.imageVideoScrollbarRounded,visibility:xa.overrides.imageVideoScrollbarVisibility};("nativeMacOs"===xa.overrides.imageVideoScrollType||Ai.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(go);var a=g.children[e];if(a){var r=a.x,l=a.y,s=o(e,g.children.length);f.width=xa.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(xa.mediaView.transitionDuration()),qe(g,t,{translateX:-r,translateY:-l,ease:uo?ia.quart.out:ia.cubic.inOut,onComplete:function(){u=!1,c=void 0,b.dispatchEvent(fo),setTimeout(function(){v.lazyLoader&&v.lazyLoader.update()},360)}})}else t?(m&&m.kill(),m=va.to(f,t,{scrollLeft:r,scrollTop:l,ease:uo?"outQuart":"inOutCubic",onComplete:function(){u=!1,c=void 0,b.dispatchEvent(fo),v.lazyLoader&&v.lazyLoader.update()}})):setTimeout(function(){f.scrollLeft=r,f.scrollTop=l,u=!1,c=void 0,b.dispatchEvent(fo),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:xa.overrides.imageVideoInactiveAlpha;qe(i,xa.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=g.children.length;e--;)qe(g.children[e],xa.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return 0===e?"left":e===t-1?"right":xa.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(io,s)):f.element.addEventListener("scroll",d),t.destroy=function(){v.scroll?(v.scroll.removeEventListener("scrollStop",l),v.scroll.removeEventListener("scrollStart",r),v.scroll.removeEventListener(io,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=xa.mediaView.width(),e.name="vScroll",o.section&&xa.section(o.section);for(var t=0,l=r.children,s=l.length;txa.mediaView.zoneHeight(v.section.key)&&_i!==Ni?i(e):n()}},"Firefox"===aa?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:xa.overrides.imageVideoInactiveAlpha;qe(i,xa.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=g.children.length;e--;)qe(g.children[e],xa.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return w(v.section.id)?"top":0===e?"top":e===t-1?"bottom":xa.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}):xa.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(io,s)):xa.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(io,s)):xa.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=xa.mediaView.width(),o.section&&xa.section(o.section);for(var t=0,l=r.children,s=l.length;txa.mediaView.zoneHeight(v.section.key)?i(e):n()}},"Firefox"===aa?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:xa.overrides.imageVideoInactiveAlpha;qe(i,xa.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=g.children.length;e--;)qe(g.children[e],xa.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return w(v.section.id)?"top":0===e?"top":e===t-1?"bottom":xa.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}):xa.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(io,s)):xa.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(io,s)):xa.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=xa.mediaView.height(l.section.key),l.section&&xa.section(l.section);var t=0,s=a.children,d=s.length,c=xa.mediaView.width(),h=xa.mediaView.height(l.section.key),u=l.maxScroll&&/unifiedSite/.test(xa.overrides.siteDisplayBehavior);
for(u&&(h=Sa.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=Ai.contactFont,k.fontSize=Ai.contactFontSize,k.fontColor=Ai.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($i,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=H.element.getElementsByClassName("no-lazy-load");s.length||(H.text=n.replace(/src\=/g,"data-src=")),D.addChild(H),P.addChild(D),F=H.element.getElementsByClassName("responsive"),I=H.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(),_=Math.round(xa.mediaView.maskWidth(P.element.offsetWidth)),xa.overrides.pageMaxWidth&&_>xa.overrides.pageMaxWidth&&(_=xa.overrides.pageMaxWidth),O=c(H.element),k=O.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(P.mediaItem.size.pageImages)!==JSON.stringify(t)&&(P.mediaItem.size.pageImages=t,X.dispatchEvent("adminPageviewImageSizes",P.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===Ri.disableRightClick||Ri.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"===xa.overrides.pageScrollType||ta&&("nativeMacOs"===xa.overrides.pageScrollType||Ai.globalSmoothScroll)}function f(){if(xa.section(P.section),_i!==Ni&&_i!==Wi||(D.element.style["-webkit-overflow-scrolling"]="touch"),/vScroll/.test(xa.overrides.transitionType)&&xa.siteView.unifiedPageScroll())D.element.style.overflow="hidden",D.element.style["-webkit-overflow-scrolling"]="touch",qe.defer(H,yo,{alpha:1});else if(g()||/unifiedSite/.test(xa.overrides.siteDisplayBehavior))D.element.style.overflowY="auto",D.element.style.overflowX="hidden",D.element.style["-webkit-overflow-scrolling"]="touch",qe.defer(H,yo,{alpha:1});else{P.scroll&&P.scroll.destroy();var e=xa.overrides.pageScrollbarWidth,t=_i===Ni?-(e+5):xa.overrides.pageScrollbarHorizontalOffset,i="right"===xa.overrides.pageScrollbarAlignment?-t-e:t+e,n={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:xa.overrides.pageScrollVerticalMargin,color:xa.overrides.pageScrollbarColor,hover:xa.overrides.pageScrollbarHover,side:xa.overrides.pageScrollbarAlignment,alpha:xa.overrides.pageScrollbarBgAlpha,width:e,offsetX:i,offsetY:xa.overrides.pageScrollbarVerticalOffset,
property:"translate",rounded:xa.overrides.pageScrollbarRounded,visibility:xa.overrides.pageScrollbarVisibility,scrollTopCheck:!0};("nativeMacOs"===xa.overrides.pageScrollType||Ai.globalSmoothScroll)&&(n.margin=0,n.color="#000000",n.hover="#000000",n.side="right",n.alpha=0,n.width=7,n.offsetX=0,n.offsetY=0,n.rounded=!0,n.visibility="when scrolling"),P.scroll=new Re(H,D,n),P.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){P.scroll.percent=0,P.scroll.update(yo)})}xa.section(P.section);var o=E(xa.overrides.pageMarginTop,Ca.height),a=E(xa.overrides.pageMarginBottom,Ca.height),r=o+H.element.offsetHeight+a;w()&&!T()&&(r=r>o+V.element.offsetHeight+a?r:o+V.element.offsetHeight+a),G=r!==P.contentHeight,P.contentHeight=r,b(P.section)?(Sa._mediaMarginPrefix="page",D.height=Math.round(xa.mediaView.maskHeight(void 0,P.section.key)),P.height=Math.round(xa.mediaView.height(P.section.key))):(D.height=r,P.height=r),G&&X.dispatchEvent("MEDIA_HEIGHT_CHANGE"),P.scroll&&P.scroll.resize(),qe.defer(H,yo,{alpha:1})}function b(e){return xa.section(P.section),(_i!==Ni||!/vScroll/.test(xa.overrides.transitionType))&&("none"===xa.overrides.siteDisplayBehavior||!/vScroll/.test(xa.overrides.transitionType)&&e.media.length>1)}function C(){return xa.section(P.section),xa.overrides.pageTitle&&""!==e.mediaItem.label}function w(){return""!==e.mediaItem.featuredImage}function y(e){xa.section(P.section),V&&Ai.imageRendering.optimizeQuality&&(V.style["image-rendering"]="optimizeQuality"),V&&Ai.imageRendering.webkitOptimizeContrast&&(V.style["image-rendering"]="-webkit-optimize-contrast"),V&&"Safari"===aa&&Ai.imageRendering.webkitBackfaceVisibility&&(V.style["-webkit-backface-visibility"]="hidden"),H.fontFamily=xa.overrides.pageTextFont,H.fontColor=xa.overrides.pageTextFontColor,H.fontSize=xa.overrides.pageTextFontSize,H.letterSpacing=xa.overrides.pageTextKerning,qe(P,P.updateSpeed,{backgroundColor:xa.mediaView.backgroundColor()})}function L(e){xa.section(P.section),Sa.activeMediaType=P.type;var t=Math.round(xa.mediaView.maskX()),i=Math.round(xa.mediaView.maskY(P.section.key)),n=xa.mediaView.maskWidth(P.element.offsetWidth);if(_=Math.round(xa.mediaView.maskWidth(P.element.offsetWidth)),W=Math.round(xa.mediaView.maskHeight(P.element.offsetHeight,P.section.key)),xa.overrides.pageMaxWidth&&_>xa.overrides.pageMaxWidth)switch(_=xa.overrides.pageMaxWidth,xa.overrides.pageMaxAlign){case"center":t+=Math.round(.5*(n-_));break;case"right":t+=Math.round(n-_)}V&&w()&&!T()&&(t+=R+j,_-=R+j,qe(V,P.updateSpeed,{x:t-R-j,y:i})),!Z&&T()?(V&&(P.removeChild(V),V=void 0),a(),O=c(H.element),k=O.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l)):Z&&!T()&&(H.text="",a(),O=c(H.element),k=O.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(l)),qe(D,0,{x:t,y:i,width:_,height:W}),qe(H,0,{width:_}),S(),F&&F.length>0?((oe()||le())&&(D.style.overflow="auto",D.style["-webkit-overflow-scrolling"]="touch"),qe.defer(H,yo,{alpha:1})):f()}function S(){if(F){var e=F[0];e&&(e.style.overflow="hidden",e.style.width=_-e.offsetLeft+"px",e.style.height=W-e.offsetTop+"px",e.style.border="none")}if(I){var t=I[0];t&&(t.style.overflow="hidden",t.style.width=_-t.offsetLeft+"px",t.style.border="none")}if(k){var i=k.length;if(i>0)for(;i--;){var n=k[i],o=n.getAttribute("data-src")?n.getAttribute("data-src").replace(Y,""):"";if(o&&P.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{z=!0;var c=P.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>_?_:m)||_,g=p/u;n.style.width=v+"px",n.style.height=g*v+"px"}}}}}function x(t){P.updateSpeed=0,N=!0;var i=He({width:V.element.offsetWidth,height:V.element.offsetHeight,filename:V.src});R=Math.round(i.width),B=Math.round(i.height),V.width=R,V.height=B,qe(V,1,{alpha:1}),P.updateSpeed=xa.mediaView.transitionDuration(),P.events.dispatchEvent(wo,{type:"featuredImage",id:e.mediaItem.id,width:V.width,height:V.height})}function M(e){X.removeEventListener(en,L),X.removeEventListener(jn,L),X.removeEventListener("destroy",M),X.removeEventListener("showCursor",t),X.removeEventListener("hideCursor",n),V&&V.removeEventListener($i,x),P.removeEventListener(Lo,s)}function T(){return _i===Ni||(Ca.width<(Ai.screenWidthBreakpoint||800)||!!(R&&xa.mediaView.maskWidth(P.width)1?(C=2*Eo[xa.overrides.thumbnailSize].width+xa.overrides.thumbnailGap,w=2*Eo[xa.overrides.thumbnailSize].height+xa.overrides.thumbnailGap,y=2*Eo[xa.overrides.thumbnailSize].width+xa.overrides.thumbnailGap,L=2*Eo[xa.overrides.thumbnailSize].height+xa.overrides.thumbnailGap):(C=Eo[xa.overrides.thumbnailSize].width,w=Eo[xa.overrides.thumbnailSize].height,y=Eo[xa.overrides.thumbnailSize].width,L=Eo[xa.overrides.thumbnailSize].height);var x=De({type:"fit",hRange:y,vRange:L,width:f.size.thumb.width||f.size.content.width||Eo[xa.overrides.thumbnailSize].width,height:f.size.thumb.height||f.size.content.height||Eo[xa.overrides.thumbnailSize].height,disableOrientationCheck:!0}),M=new xe({hRange:C,vRange:w,hAlign:xa.overrides.thumbnailAlignHorizontal||"center",vAlign:xa.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(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryMaintainOrder,V=!(!(v>1&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType))||T)&&b;r.addItem(C,w,V)}/fill|vMasonry/.test(xa.overrides.thumbnailType)&&(r.gridWidths=vi(!1,xa.overrides.thumbnailGap),r.lastColumnWidth=/vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryFill?m-(r.gridWidths+xa.overrides.thumbnailGap)*(v-1):r.gridWidths,r.numberOfColumns=v),r.items.length&&t(),setTimeout(function(){xa.section(e.section);var t=r.getBounds(),l=new xe({hRange:xa.overlayView.zoneWidth(),vRange:"hPaginatedGrid"===xa.overrides.thumbnailType?xa.mediaView.zoneHeight(e.section.key):xa.overlayView.zoneHeight(e.section.key),width:r.perpLength,height:t.height,hAlign:"center",vAlign:"hPaginatedGrid"===xa.overrides.thumbnailType?"center":"top",hOffset:0,vOffset:"hPaginatedGrid"===xa.overrides.thumbnailType?0:e.verticalMargin});if((xa.overrides.thumbnailMasonryFill||xa.overrides.thumbnailMasonryEvenRowHeight)&&/hMasonry|vMasonry/.test(xa.overrides.thumbnailType)?o.gridContainer.x=e.horizontalMargin:(o.gridContainer.x=Math.floor(l.x),a&&(a.width=r.perpLength,d=xa.overrides.thumbnailTitleBlockTopMargin+a.element.offsetHeight,a.y=xa.overrides.thumbnailTitleBlockTopMargin)),"hPaginatedGrid"===xa.overrides.thumbnailType?o.gridContainer.y=Math.floor(l.y):(o.gridContainer.y=0,o.grid.y=d+e.verticalMargin),n.width=xa.overlayView.zoneWidth(),o.width=xa.overlayView.zoneWidth(),o.grid.width=r.perpLength,o.gridContainer.width=r.perpLength,"hPaginatedGrid"===xa.overrides.thumbnailType){var c=xa.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(xa.overrides.siteDisplayBehavior)){var h=!g(e.section)&&xa.mediaView.height(e.section.key)>t.height?xa.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(xa.siteView.unifiedPageScroll()&&(_i!==Ni&&oe()||_i!==Wi&&le()||/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll)){var u=t.height+e.verticalMargin;u=u>xa.mediaView.height()?u:xa.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=xa.overlayView.zoneHeight(),o.height=n.height,i.height=n.height,o.grid.height=t.height+e.verticalMargin,o.gridContainer.height=s;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"!==Ai.thumbLoadEffect&&"slideDown"!==Ai.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=Eo[r].height,n.height=Eo[r].height,o.height=Eo[r].height;break;case"right":l.axis="y",l.perpLength=Eo[r].width,n.width=Eo[r].width,o.width=Eo[r].width;break;case"bottom":l.axis="x",l.perpLength=Eo[r].height,n.height=Eo[r].height,o.height=Eo[r].height;break;case"left":l.axis="y",l.perpLength=Eo[r].width,n.width=Eo[r].width,o.width=Eo[r].width}}function i(){l.layoutItems(),items=o.grid.children;for(var t=0,i=items.length;t573?573:xa.mediaView.width(),F=xa.mediaView.height(O.section.key)>400?400:xa.mediaView.height(O.section.key),g.height=g.element.offsetHeight,T.width=T.element.offsetWidth,f.y=g.height+10,Ri.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),Sa.mediaView.width()>573?Ri.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=xa.mediaView.width()-2*H,w.y=C.y+k+10,C.x=.5*(Sa.mediaView.width()-C.width),g.x=.5*(Sa.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,Ri.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=xa.mediaView.width(),O.height=xa.mediaView.height(O.section.key),v.x=.5*(xa.mediaView.width()-I),v.y=.5*(xa.mediaView.height(O.section.key)-F),v.width=I,v.height=F):(qe(O,O.updateSpeed,{width:xa.mediaView.width(),height:xa.mediaView.height(O.section.key)}),qe(v,O.updateSpeed,{x:.5*(xa.mediaView.width()-I),y:.5*(xa.mediaView.height(O.section.key)-F),width:I,height:F})),E.width=xa.mediaView.width(),E.height=xa.mediaView.height(O.section.key),O.updateSpeed=yo},O.show=function(){O.updateSpeed=0,O.visible||(O.visible=!0,O.display="block",qe(O,yo,{alpha:1}),qe(w,yo,{alpha:1}),qe(A,yo,{alpha:0})),O.updatePosition()},O.hide=function(){O.visible&&(O.visible=!1,qe(O,yo,{alpha:0,onComplete:function(){this.display="none"}}))},O.updateInquiryInfo=function(){g.text=Ri.inquiryTitle?Ri.inquiryTitle:"Inquire about this image",Ri.inquiryInfo&&(b.text=Ri.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,Ri.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($i,i)},O.addEventListener(Lo,function(e){t.call(O)}),O}function Mi(e){function t(){g=new ba,g.backgroundColor="#cccccc",g.alpha=0,g.addEventListener(cn,o),C.addChild(g),a=new ba,a.width=w,a.height=y,C.addChild(a),r=new lt,r.text="Share this item",r.fontFamily=xa.overrides.overlayTitleFont,r.fontColor=xa.overrides.overlayTitleFontColor,r.fontSize=xa.overrides.overlayTitleFontSize,a.addChild(r),r.height=r.element.offsetHeight,s=new ba,s.backgroundColor=V(xa.overrides.overlayTitleFontColor,.35),s.width=w,s.height=1,s.y=xa.overrides.overlayTitleFontSize+10,a.addChild(s),d=new Ke,d.alpha=0,a.addChild(d),d.addEventListener($i,i),h=new ba,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 ba({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="+Ri.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=xa.overrides.overlayTitleFont,L.fontColor=xa.overrides.overlayTitleFontColor,L.fontSize=14,a.addChild(L),C.updateStyle(),C.updatePosition(),C.show(),x.addEventListener(Ao,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,yo,{alpha:1}),C.updatePosition()}function n(e){L.text=e.response,qe(h,yo,{alpha:0}),qe(L,yo,{alpha:1}),C.addEventListener(cn,o)}function o(e){e.target===C&&C.removeEventListener(cn,o),x.dispatchEvent(Ko,"share")}var a,r,s,d,h,u,p,m,v,g,f,b,C=new ba(e),w=573,y=400,L=new ba,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(Ai.overlayColor,Ai.overlayAlpha),C.zIndex=100,C.alpha=0,C.visible=!1,C.updateStyle=function(e){xa.overrides.overlayTitleFont!==r.fontFamily&&(r.fontFamily=xa.overrides.overlayTitleFont,p.fontFamily=xa.overrides.overlayTitleFont,m.fontFamily=xa.overrides.overlayTitleFont,v.fontFamily=xa.overrides.overlayTitleFont),xa.overrides.overlayTitleFontSize!==r.fontSize&&qe(r,yo,{fontSize:xa.overrides.overlayTitleFontSize,onComplete:function(){C.updatePosition(e)}}),xa.overrides.overlayTitleFontColor!==r.fontColor&&(qe(r,yo,{fontColor:xa.overrides.overlayTitleFontColor}),qe(s,yo,{backgroundColor:V(xa.overrides.overlayTitleFontColor,.35)}),qe(p,yo,{fontColor:V(Ai.overlayColor,.35),backgroundColor:V(xa.overrides.overlayTitleFontColor,.35)}),qe(m,yo,{fontColor:V(Ai.overlayColor,.35),backgroundColor:V(xa.overrides.overlayTitleFontColor,.35)}),qe(v,yo,{fontColor:V(Ai.overlayColor,.35),backgroundColor:V(xa.overrides.overlayTitleFontColor,.35)})),V(Ai.overlayColor,Ai.overlayAlpha)!==C.backgroundColor&&qe(C,yo,{backgroundColor:V(Ai.overlayColor,Ai.overlayAlpha)})},C.updatePosition=function(e){xa.section(C.section),C.x=0,C.y=0,w=xa.mediaView.width()>573?573:xa.mediaView.width(),y=xa.mediaView.height(C.section.key)>400?400:xa.mediaView.height(C.section.key),d.x=2,d.y=r.height+20,s.y=xa.overrides.overlayTitleFontSize+10,Sa.mediaMask.width()>573?(h.x=222,h.y=r.height+20):(h.transition=0,h.x=.5*(Sa.mediaView.width()-h.width),h.y=d.y+b+10,d.x=.5*(Sa.mediaView.width()-d.width),r.x=.5*(Sa.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=xa.mediaView.width(),C.height=xa.mediaView.height(C.section.key),a.x=.5*(xa.mediaView.width()-w),a.y=.5*(xa.mediaView.height(C.section.key)-y),a.width=w,a.height=y):(qe(C,C.updateSpeed,{width:xa.mediaView.width(),height:xa.mediaView.height(C.section.key)}),qe(a,C.updateSpeed,{x:.5*(xa.mediaView.width()-w),y:.5*(xa.mediaView.height(C.section.key)-y),width:w,height:y})),g.width=xa.mediaView.width(),g.height=xa.mediaView.height(C.section.key),C.updateSpeed=yo},C.show=function(){C.updateSpeed=0,C.updatePosition(),C.visible||(C.visible=!0,C.display="block",qe(C,yo,{alpha:1}),qe(h,yo,{alpha:1}),qe(L,yo,{alpha:0}))},C.hide=function(e){C.visible&&(C.visible=!1,qe(C,yo,{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($i,i)},C.addEventListener(Lo,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){Ai.menuRevealOnInit!==!1&&k&&e<10?C.menuView.dock.toggleState()||C.menuView.dock.show():e>Ca.height*Ai.menuScrollReveal?C.menuView.dock.toggleState()||C.menuView.dock.show():C.menuView.dock.toggleState()&&C.menuView.dock.hide()}function n(){"Safari"===aa&&(C.menuView.menuText.translateZ=0)}function o(){"Safari"===aa&&(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,_i===Ni||_i===Wi){var t=e.info.isDeepLink||""===Ai.menuAutoCloseMobile||void 0===Ai.menuAutoCloseMobile||Ai.menuAutoCloseMobile;""===xa.introFile&&""===Ai.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"===xa.menuView.placement()?(!y&&C.menuView.dock.toggleState()&&C.menuView.closeDock(),y&&(Ai.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 Di)Di[t].media&&Di[t].mediaItems&&Di.hasOwnProperty(t)&&(e[t]={id:Di[t].id,key:Di[t].key,hideFromMenu:Di[t].hideFromMenu,customLink:Di[t].customLink,isIndex:Di[t].isIndex,indexLink:Di[t].indexLink,linkTarget:Di[t].linkTarget,isOpen:Di[t].isOpen,hideSubs:Di[t].hideSubs,label:Di[t].label,alias:Di[t].alias,media:Di[t].media.slice(0),mediaItems:Di[t].mediaItems.slice(0),overrides:Di[t].overrides,password:Di[t].password,thumb:Di[t].thumb,visible:Di[t].visible,isSearch:Di[t].isSearch,isLightbox:Di[t].isLightbox});if((_i===Ni||_i===Wi&&Ai.footerOnMenuTablet)&&(xa.socialLinks.forEach(function(t){var i=Pi[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)}),xa.copyright)){var i=u(e);e.copyright={id:i,key:"copyright",label:xa.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 Qe({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,_i===Ni&&xa.overrides.menuDisplaceMobile?(Ca.addChild(C.menuView),C.menuView.addChild(e.parentView)):_i===Wi&&xa.overrides.menuDisplaceTablet?(Ca.addChild(C.menuView),C.menuView.addChild(e.parentView)):C.parentView.addChild(C.menuView),e.model=Di,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(jn,v),C.events.addEventListener(_n,g),C.events.addEventListener(Yn,p),C.events.addEventListener(ro,function(){M=!0}),C.events.addEventListener(tn,function(){Sa.isMenuOverlayStateChange?(C.menuView.transition=0,C.menuView.alpha=0,setTimeout(function(){Sa.isMenuResponsiveOverlay&&_i!==Ni?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)):(_i===Ni&&(M||L)&&(C.menuView.menuText.rebuild({model:m()}),M=!1),C.menuView.menuText.updatePosition(0),C.menuView.updatePosition(),_i===Ni||_i===Wi||C.menuView.dock.toggleState()||Ai.isMenuScrollReveal||setTimeout(function(){C.menuView.display="none"},x)),x=50,L=!1}),C.events.addEventListener(Pn,r),C.events.addEventListener("SITE_URI_CHANGE_PASSIVE",s),C.events.addEventListener(jo,a),C.events.addEventListener(Xo,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(Yo,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===Ai.menuRevealOnInit||Ai.menuRevealOnInit;Ai.menuRevealOnInit===!1&&C.menuView.dock.hide(),
window.addEventListener("scroll",function(){T=!1,Ai.isMenuScrollReveal&&/top/.test(xa.menuView.placement())&&(z=!0,clearTimeout(V),V=setTimeout(function(){var e=xa.siteView.height()-Ca.height;E=t(e),Ai.menuRevealOnInit!==!0&&k?(C.menuView.dock.hide(),O=!1):te()?(T=!0,i(E)):Ai.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(Lo,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&&!uo&&"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(){Ca.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}(),Ca=it.call(it),wa={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"},ya=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||fa,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:ba});ht.playerID=1,ht.getNextPlayerID=function(){return ht.playerID++},Ca.addEventListener($i,function(){dx.address=Ma,dx.site=new ut({Sprite:ba,TextField:lt,Bitmap:Ke,Tile:Ne,FooterController:bt,FooterView:Ct,LogoController:wt,LogoView:yt,SectionController:Lt,MediaModule:Va,MenuController:Ti,MenuView:Vi,NavbarController:zi,NavbarView:ki,AddressController:ft,OverlayController:$t,OverlayView:ei,ImageView:Kt,VideoView:Qt,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 La=[],Sa={_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(Di).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:Di[t].id,key:Di[t].key,height:Ca.height,zoneHeight:Ca.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:Ca.height,height:Ca.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(Di).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:Di[t].id,key:Di[t].key,height:Ca.height,zoneHeight:Ca.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:Ca.height,height:Ca.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=xa.menuView.menuPositionFixed(),o=Ai.marginOverlap||0,a=E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height),r=E(Ai.sitePaddingTop,Ca.height),l=E(Ai.sitePaddingBottom,Ca.height),s=Ca.height,d=/top/.test(xa.menuView.placement()),c=/bottom/.test(xa.menuView.placement()),h=!Ai.isMenuScrollReveal&&(d||c),u=0;return _(e.section)?s=Ca.height:0===i?h?n?d?(u=r+a-o,s=Ca.height-u):(u=l+a-o,s=Ca.height-u-r):d?(u=r+a-o,s=Ca.height-u):s=Ca.height-r:s=Ca.height-r:i===t-1?h?n?d?(u=r+a-o,s=Ca.height-u-l):(u=l+a-o,s=Ca.height-u):d?s=Ca.height-l:(u=l+a-o,s=Ca.height-u):s=Ca.height-l:1===t?h?n?d?(u=r+a-o,s=Ca.height-u-l):(u=l+a-o,s=Ca.height-u-r):d?(u=r+a-o,s=Ca.height-u-l):(u=l+a-o,s=Ca.height-u-r):s=Ca.height-r-l:h&&n?d?(u=r+a-o,s=Ca.height-u):(u=l+a-o,s=Ca.height-u):s=Ca.height,s},navbarView:{x:function(e){var t=E(Ai.navbarOffsetX,Ca.width);if(_i===Ni){var i=""===Ai.menuDisplaceMobile||void 0===Ai.menuDisplaceMobile||Ai.menuDisplaceMobile,n=i?2*Ca.width:Ca.width;return n-e-15}switch(Ai.navbarAlignHorizontal){case"left":return t;case"center":return _i===Wi?.5*(Ca.width-e):.5*(Ca.width-e)+t;case"right":return Ca.width-e+t;default:return t}},y:function(e){e=e||Sa._navbarHeight,Sa._navbarHeight=e;var t=E(Ai.navbarOffsetY,Ca.height);if(_i!==Ni)switch(Ai.navbarAlignVertical){case"top":return t;case"center":return.5*(Ca.height-e)+t;case"bottom":var i=Ai.navbarPositionFixed?window.innerHeight:xa.siteView.height();return _i===Wi&&Sa.isDisplace()&&"bottom"===xa.overrides.thumbnailSide&&"horizontal"===Ai.navbarLayout?Ca.height-22:i-e+t}return 15}},footerView:{x:function(e){e=e||Sa._footerWidth,Sa._footerWidth=e;var t=E(Ai.copyrightOffsetX,Ca.width);if(_i!==Ni)switch(Ai.copyrightAlignHorizontal){case"left":return t;case"center":return _i===Wi?.5*(Ca.width-e)+t:.5*(Ca.width-e)+t;case"right":return _i===Wi?Ca.width-e+t:Ca.width-e+t}else if(_i===Ni)return Sa.mobileFooterPadding;return 0},y:function(e){e=e||Sa._footerHeight,Sa._footerHeight=e;var t=E(Ai.copyrightOffsetY,Ca.height);if(_i!==Ni)switch(Ai.copyrightAlignVertical){case"top":return t;case"center":return.5*(Ca.height-e)+t;case"bottom":var i=Ai.copyrightPositionFixed?window.innerHeight:xa.siteView.height();return _i===Wi&&Sa.isDisplace()&&"bottom"===xa.overrides.thumbnailSide?Ca.height-22:i-e+t}else if(_i===Ni)return Ca.height-e-Sa.mobileFooterPadding;return 0}},logoView:{x:function(e){e=e||Sa._logoWidth,Sa._logoWidth=e;var t=0,i="left";if(_i===Ni)t=E(Ai.mobileLogoOffsetX,Ca.width),i=Ai.mobileLogoAlignHorizontal||"left";else if(_i===Wi){var n=""===Ai.menuDisplaceTablet||void 0===Ai.menuDisplaceTablet||Ai.menuDisplaceTablet;t=n?E(K(Ai.tabletLogoOffsetX,Ai.logoOffsetX),Ca.width)-Sa.menuView.width():E(K(Ai.tabletLogoOffsetX,Ai.logoOffsetX),Ca.width),i=Ai.tabletLogoAlignHorizontal||Ai.logoAlignHorizontal}else t=E(Ai.logoOffsetX,Ca.width),i=Ai.logoAlignHorizontal;switch(i){case"left":return t||0;case"center":return.5*(Ca.width-e)+t;case"right":return Ca.width-e-t}return 0},y:function(e){e=e||Sa._logoHeight,Sa._logoHeight=e;var t=0;if(_i===Ni)return E(Ai.mobileLogoOffsetY||0,Ca.height);if(_i===Wi)switch(t=E(K(Ai.tabletLogoOffsetY,Ai.logoOffsetY),Ca.height),Ai.tabletLogoAlignVertical||Ai.logoAlignVertical){case"top":return t;case"center":return.5*(Ca.height-e)+t;case"bottom":return Ca.height-e-t}else switch(t=E(Ai.logoOffsetY,Ca.height),Ai.logoAlignVertical){case"top":return t;case"center":return.5*(Ca.height-e)+t;case"bottom":var i=Ai.logoPositionFixed?window.innerHeight:xa.siteView.height();return i-e-t}return 0}},menuBullet:{updateSize:function(e){var t=x(Ai.menuFont),i=document.createElement("div"),n=e?Ai.menuSubFontSize:Ai.menuFontSize;i.innerHTML=za[Ai.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),Sa.menuBullet.width=parseInt(window.getComputedStyle(i,null).width,10),Sa.menuBullet.height=parseInt(window.getComputedStyle(i,null).height,10),document.body.removeChild(i),i=null}},menuText:{x:function(e){e=e||Sa._menuTextWidth,Sa._menuTextWidth=e;var t=E(xa.menuView.menuTextPaddingHorizontal(),Ca.width),i=xa.menuView.menuTextAlignHorizontal();if(_i===Ni)return 0;switch(_i===Wi&&(t=K(E(Ai.menuTextPaddingHorizontalTablet,Ca.width),10),i=Ai.menuTextAlignHorizontalTablet||xa.menuView.menuTextAlignHorizontal(),/top|bottom/.test(xa.menuView.placement())&&(i=Ai.menuTextAlignHorizontalTablet||"left")),i){case"left":return t;case"center":return.5*(Sa.menuView.width()-e);case"right":return Sa.menuView.width()-e-t}},y:function(e){if(_i===Ni)return Sa.logoView.y()+Sa._logoHeight+E(K(Ai.menuTextPaddingVerticalMobile,10),Ca.height);var t=_i===Wi?Ai.menuTextAlignVerticalTablet||xa.menuView.menuTextAlignVertical():xa.menuView.menuTextAlignVertical(),i=_i===Wi?E(K(Ai.menuTextPaddingVerticalTablet,xa.menuView.menuTextPaddingVertical()),Ca.height):E(xa.menuView.menuTextPaddingVertical(),Ca.height);switch(t){case"top":return i;case"center":return e>Sa.menuView.height()?0:.5*(Sa.menuView.height()-e)+i;case"bottom":return Sa.menuView.height()-e-i}return 0}},menuView:{x:function(){return _i===Ni||_i===Wi||"overlay"===xa.menuView.placement()?0:/top|bottom/.test(xa.menuView.placement())?E(Ai.sitePaddingLeft,Ca.width)+E(Ai.menuOffsetY,Ca.width):"right"===xa.menuView.placement()?E(Ai.sitePaddingRight,Ca.width)-(Ai.marginOverlap||0):E(Ai.sitePaddingLeft,Ca.height)-(Ai.marginOverlap||0)},y:function(){return _i===Ni||_i===Wi||"overlay"===xa.menuView.placement()?0:/left|right/.test(xa.menuView.placement())?E(Ai.sitePaddingTop,Ca.height)+E(Ai.menuOffsetY,Ca.height):"bottom"===xa.menuView.placement()?E(Ai.sitePaddingBottom,Ca.width)-(Ai.marginOverlap||0):E(Ai.sitePaddingTop,Ca.width)-(Ai.marginOverlap||0)},width:function(){if(_i===Ni||"overlay"===xa.menuView.placement())return Ca.width;var e=!Sa._menuTextWidth||Sa._menuTextWidth<150?150:Sa._menuTextWidth;return _i===Wi&&E(Ai.menuWidthMobile,Ca.width)?E(Ai.menuWidthMobile,Ca.width)?E(Ai.menuWidthMobile,Ca.width):e:_i===Wi&&/top|bottom/.test(xa.menuView.placement())?K(Ai.menuWidthMobile,e):/left|right/.test(xa.menuView.placement())?E(Ai.menuWidth,Ca.width):Ca.width-(E(Ai.sitePaddingLeft,Ca.width)+E(Ai.sitePaddingRight,Ca.width))-E(Ai.menuOffsetY,Ca.width)},height:function(){return _i===Ni||_i===Wi||"overlay"===xa.menuView.placement()?Ca.height:/top|bottom/.test(xa.menuView.placement())?E(Ai.menuWidth,Ca.height):Ca.height-(E(Ai.sitePaddingTop,Ca.height)+E(Ai.sitePaddingBottom,Ca.height))-E(Ai.menuOffsetY,Ca.height)}},mediaView:{x:function(){if(_i===Ni||_i===Wi||"overlay"===xa.overrides.siteDisplayBehavior)return 0;var e=/left/.test(xa.menuView.placement())?-Ai.marginOverlap||0:0;return"left"===xa.menuView.placement()?E(Ai.sitePaddingLeft,Ca.width)+E(Ai.menuWidth,Ca.width)-E(Ai.menuOffsetX,Ca.width)+e:E(Ai.sitePaddingLeft,Ca.width)+e},y:function(e){if(_i===Ni||_i===Wi||"overlay"===xa.overrides.siteDisplayBehavior)return 0;
var t=/top/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?-Ai.marginOverlap||0:0;return"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior&&"multiple"===Sa.sectionDisplayMode?!Ai.isMenuScrollReveal&&xa.menuView.menuPositionFixed()&&/top/.test(xa.menuView.placement())?E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height)+t:0:/top/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?E(Ai.sitePaddingTop,Ca.height)+E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height)+t:E(Ai.sitePaddingTop,Ca.height)+t},width:function(e){var t=e||0;if(_i===Ni||_i===Wi||"overlay"===xa.overrides.siteDisplayBehavior)return Ca.width;if(/left|right/.test(xa.menuView.placement())){var i=Ai.marginOverlap||0;return Ca.width-(E(Ai.sitePaddingLeft,Ca.width)+E(Ai.sitePaddingRight,Ca.width)+E(Ai.menuWidth,Ca.width)-E(Ai.menuOffsetX,Ca.width)+t)+i}return Ca.width-(E(Ai.sitePaddingLeft,Ca.width)+E(Ai.sitePaddingRight,Ca.width))},height:function(e,t){var i="unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior?t?xa.getSectionZoneHeight(e):xa.getSectionHeight(e):Ca.height;t||/unifiedSiteScrollVertical/.test(xa.overrides.siteDisplayBehavior)||!xa.siteView.unifiedPageScroll()||(i=/vScroll/.test(xa.overrides.transitionType)&&xa.getSectionHeight(e)>Ca.height?xa.getSectionHeight(e):Ca.height);var n=Sa.getSectionState(e),o=!!n&&n.isFullTextHeight;if(_i===Wi&&"bottom"===Ai.navbarAlignVertical&&Sa.isDisplace()&&"bottom"===xa.overrides.thumbnailSide)return i-30;if(_i===Ni||_i===Wi||"overlay"===xa.overrides.siteDisplayBehavior)return i;var a=/top|bottom/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?Ai.marginOverlap||0:0,r=0,l=E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height),s=E(Ai.sitePaddingTop,Ca.height)+E(Ai.sitePaddingBottom,Ca.height);return r="unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior&&"multiple"===Sa.sectionDisplayMode?!Ai.isMenuScrollReveal&&xa.menuView.menuPositionFixed()&&/top|bottom/.test(xa.menuView.placement())&&i>=Ca.height-l&&!o&&!t?i-l:i:xa.siteView.unifiedPageScroll()&&/vScroll/.test(xa.overrides.transitionType)?i===Ca.height&&/top|bottom/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?i-(l+s):i:/top|bottom/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?i-(l+s):i-s,r+a},size:{x:function(){return/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)?0:Sa.mediaView.x()},y:function(e){return/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)?0:Sa.mediaView.y(e)},width:function(){return Sa.mediaView.width()},height:function(e){return Sa.mediaView.height(e)}}},landingMediaView:{x:function(){return 0},y:function(){return 0},width:function(){return Ca.width},height:function(){return Ca.height}},mediaMask:{x:function(){return"contact"===Sa._mediaMarginPrefix?0:E(xa.overrides[Sa._mediaMarginPrefix+"MarginLeft"],Ca.width)},y:function(e){return"contact"===Sa._mediaMarginPrefix?0:E(xa.overrides[Sa._mediaMarginPrefix+"MarginTop"],Ca.height)},width:function(e){return"contact"===Sa._mediaMarginPrefix?Sa.mediaView.width():(e||Sa.mediaView.width())-(E(xa.overrides[Sa._mediaMarginPrefix+"MarginLeft"],Ca.width)+E(xa.overrides[Sa._mediaMarginPrefix+"MarginRight"],Ca.width))},height:function(e,t){return"contact"===Sa._mediaMarginPrefix?Sa.mediaView.height(t):(e||Sa.mediaView.height(t))-(E(xa.overrides[Sa._mediaMarginPrefix+"MarginTop"],Ca.height)+E(xa.overrides[Sa._mediaMarginPrefix+"MarginBottom"],Ca.height))}},captionView:{size:function(e){Sa.captionView.currentText=e||Sa.captionView.currentText;var t=document.createElement("span"),i=x(Ai.captionFont);t.innerHTML=Sa.captionView.currentText,t.setAttribute("style","position:absolute; display:block; white-space:nowrap; opacity:0; font-family:"+i.family+"; font-weight:"+i.weight+"; font-size:"+Ai.captionFontSize+"px"),document.body.appendChild(t);var n=E(xa.overrides[Sa._mediaMarginPrefix+"MarginLeft"],Ca.height),o=E(xa.overrides[Sa._mediaMarginPrefix+"MarginRight"],Ca.height),a=xa.mediaView.width()-(n+o);t.clientWidth>a?(Sa.captionView.width=a,t.style.width=a+"px",t.style.whiteSpace="normal",Sa.captionView.height=t.clientHeight):(Sa.captionView.width=t.clientWidth,Sa.captionView.height=t.clientHeight),document.body.removeChild(t),t=null}},isDisplace:function(){return!(_i===Ni||!Sa._section||!Sa._thumbsVisible)&&(Sa._section.thumb&&"strip"===xa.overrides.thumbnailType&&"displace"===xa.overrides.thumbnailDock)}},xa={get lightboxHash(){return localStorage.getItem("lightboxHash")},cacheLightboxSection:function(){var e=Object.keys(Di).map(function(e){return Di[e]}).filter(function(e){return e.isLightbox})[0];xa.lightboxSection=e,e||localStorage.removeItem("lightboxHash")},lightboxButtonsEnabled:function(){return xa.lightboxSection&&(xa.lightboxSection.isUserEnableLightbox&&(xa.userEnabledLightbox||xa.lightboxSection.media.length)||!xa.lightboxSection.isUserEnableLightbox)},setSectionHeight:function(e,t){Sa.updateSectionState(e,{height:t})},getSectionHeight:function(e){var t=Sa.getSectionState(e);return e&&t&&("unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior||xa.siteView.unifiedPageScroll())?t.height:Ca.height},getSectionZoneHeight:function(e){var t=Sa.getSectionState(e);return e&&t&&"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior?t.zoneHeight:Ca.height},overrides:{containerColor:Ai.containerColor,transitionType:mt()||Ai.transitionType,transitionDuration:Ai.transitionDuration,imageAlignHorizontal:Ai.imageAlignHorizontal,imageAlignVertical:Ai.imageAlignVertical,imageScaleType:Ai.imageScaleType,videoScaleType:Ai.videoScaleType,videoAutoPlay:Ai.videoAutoPlay,mobileAutoPlay:Ai.mobileAutoPlay,vimeoDefault:Ai.vimeoDefault,videoLoop:Ai.videoLoop,imageVideoMarginTop:Ai.imageVideoMarginTop,imageVideoMarginRight:Ai.imageVideoMarginRight,imageVideoMarginBottom:Ai.imageVideoMarginBottom,imageVideoMarginLeft:Ai.imageVideoMarginLeft,imageVideoInactiveAlpha:Ai.imageVideoInactiveAlpha,imageVideoBgColor:Ai.imageVideoBgColor,imageVideoBgAlpha:Ai.imageVideoBgAlpha,imageVideoLoaderType:Ai.imageVideoLoaderType,imageVideoScrollType:Ai.imageVideoScrollType,imageVideoScrollbarRounded:Ai.imageVideoScrollbarRounded,imageVideoScrollbarVisibility:Ai.imageVideoScrollbarVisibility,imageVideoScrollbarAlignment:Ai.imageVideoScrollbarAlignment,imageVideoScrollbarHorizontalOffset:Ai.imageVideoScrollbarHorizontalOffset,imageVideoScrollbarVerticalOffset:Ai.imageVideoScrollbarVerticalOffset,imageVideoScrollbarColor:Ai.imageVideoScrollbarColor,imageVideoScrollbarHover:Ai.imageVideoScrollbarHover,imageVideoScrollbarBgTransparency:Ai.imageVideoScrollbarBgTransparency,imageVideoScrollbarWidth:Ai.imageVideoScrollbarWidth,menuDisplaceMobile:""===Ai.menuDisplaceMobile||void 0===Ai.menuDisplaceMobile||Ai.menuDisplaceMobile,menuDisplaceTablet:""===Ai.menuDisplaceTablet||void 0===Ai.menuDisplaceTablet||Ai.menuDisplaceTablet,pageMarginTop:Ai.pageMarginTop,pageMarginRight:Ai.pageMarginRight,pageMarginBottom:Ai.pageMarginBottom,pageMarginLeft:Ai.pageMarginLeft,pageMaxWidth:Ai.pageMaxWidth,pageMaxAlign:Ai.pageMaxAlign,pageScrollVerticalMargin:Ai.pageScrollVerticalMargin,pageTextFont:Ai.pageTextFont,pageTextKerning:Ai.pageTextKerning,pageTextFontSize:Ai.pageTextFontSize,pageTextFontColor:Ai.pageTextFontColor,pageTitle:Ai.pageTitle,pageTitleFont:Ai.pageTitleFont,pageTitleKerning:Ai.pageTitleKerning,pageTitleFontSize:Ai.pageTitleFontSize,pageTitleFontColor:Ai.pageTitleFontColor,pageScrollType:Ai.pageScrollType,pageScrollbarVisibility:Ai.pageScrollbarVisibility,pageScrollbarRounded:Ai.pageScrollbarRounded,pageScrollbarAlignment:Ai.pageScrollbarAlignment,pageScrollbarHorizontalOffset:Ai.pageScrollbarHorizontalOffset,pageScrollbarVerticalOffset:Ai.pageScrollbarVerticalOffset,pageScrollbarColor:Ai.pageScrollbarColor,pageScrollbarHover:Ai.pageScrollbarHover,pageScrollbarBgAlpha:Ai.pageScrollbarBgAlpha,pageScrollbarWidth:Ai.pageScrollbarWidth,thumbnailOnly:Ai.thumbnailOnly,thumbnailFullRes:Ai.thumbnailFullRes,thumbnailDefaultOn:Ai.thumbnailDefaultOn,thumbnailPositionFixed:Ai.thumbnailPositionFixed,thumbnailMasonryType:Ai.thumbnailMasonryType,thumbnailMasonry:Ai.thumbnailMasonry,thumbnailMasonryEvenRowHeight:Ai.thumbnailMasonryEvenRowHeight,thumbnailMasonryFill:Ai.thumbnailMasonryFill,thumbnailMasonryMaintainOrder:Ai.thumbnailMasonryMaintainOrder,thumbnailMaxCols:Ai.thumbnailMaxCols,thumbnailGap:Number(Ai.thumbnailGap),thumbnailGapVertical:Number(Ai.thumbnailGapVertical),thumbnailDock:Ai.thumbnailDock,thumbnailType:Ai.thumbnailType,thumbnailSize:Ai.thumbnailSize,thumbnailCustomWidth:Ai.thumbnailCustomWidth,thumbnailCustomHeight:Ai.thumbnailCustomHeight,thumbnailSide:Ai.thumbnailSide,thumbnailHorizontalMargin:Ai.thumbnailHorizontalMargin,thumbnailVerticalMargin:Ai.thumbnailVerticalMargin,thumbnailAlignHorizontal:Ai.thumbnailAlignHorizontal,thumbnailAlignVertical:Ai.thumbnailAlignVertical,thumbnailGridColor:Ai.thumbnailGridColor,thumbnailGridTransparency:Ai.thumbnailGridTransparency,thumbnailHoverAlpha:Ai.thumbnailHoverAlpha,thumbnailHoverAlphaMobile:Ai.thumbnailHoverAlphaMobile,thumbnailHoverAlphaTablet:Ai.thumbnailHoverAlphaTablet,thumbnailHoverColor:Ai.thumbnailHoverColor,thumbnailLoaderType:Ai.thumbnailLoaderType,thumbnailTitleFont:Ai.thumbnailTitleFont,thumbnailTitleFontSize:Ai.thumbnailTitleFontSize,thumbnailTitleFontColor:Ai.thumbnailTitleFontColor,thumbnailLabelVerticalOffset:Ai.thumbnailLabelVerticalOffset,thumbnailLabelColorMobile:Ai.thumbnailLabelColorMobile,thumbnailLabelColorTablet:Ai.thumbnailLabelColorTablet,thumbnailLabelPosition:Ai.thumbnailLabelPosition,thumbnailLabelJustification:Ai.thumbnailLabelJustification,thumbnailLabelPositionMobile:Ai.thumbnailLabelPositionMobile,thumbnailLabelPositionTablet:Ai.thumbnailLabelPositionTablet,thumbnailStdLabelPosition:Ai.thumbnailStdLabelPosition,thumbnailStdLabelPositionMobile:Ai.thumbnailStdLabelPositionMobile,thumbnailStdLabelPositionTablet:Ai.thumbnailStdLabelPositionTablet,thumbnailVideoPlayIcon:Ai.thumbnailVideoPlayIcon!==!1,thumbnailScrollbarAlignment:Ai.thumbnailScrollbarAlignment,thumbnailScrollbarColor:Ai.thumbnailScrollbarColor,thumbnailScrollbarHover:Ai.thumbnailScrollbarHover,thumbnailSelectedColor:Ai.thumbnailSelectedColor,thumbnailSelectedAlpha:Ai.thumbnailSelectedAlpha,thumbnailScrollbarHorizontalOffset:Ai.thumbnailScrollbarHorizontalOffset,thumbnailScrollbarVerticalOffset:Ai.thumbnailScrollbarVerticalOffset,thumbnailScrollType:Ai.thumbnailScrollType,thumbnailScrollbarBgAlpha:Ai.thumbnailScrollbarBgAlpha,thumbnailScrollbarWidth:Ai.thumbnailScrollbarWidth,thumbnailScrollbarVisibility:Ai.thumbnailScrollbarVisibility,thumbnailScrollbarRounded:Ai.thumbnailScrollbarRounded,captionAutoPosition:Ai.captionAutoPosition,captionDefault:Ai.captionDefault,captionUseTitle:Ai.captionUseTitle,captionCloseButton:Ai.captionCloseButton,captionBackgroundAlpha:Ai.captionBackgroundAlpha,captionBackgroundRectColor:Ai.captionBackgroundRectColor,captionFont:Ai.captionFont,captionFontColor:Ai.captionFontColor,captionFontSize:Ai.captionFontSize,captionFontSizeBreakpoint:Ai.captionFontSizeBreakpoint,captionWidth:Ai.captionWidth,captionHeight:Ai.captionHeight,captionAlignHorizontal:Ai.captionAlignHorizontal,captionAlignVertical:Ai.captionAlignVertical,captionOffsetX:Ai.captionOffsetX,captionOffsetY:Ai.captionOffsetY,captionTextAlign:Ai.captionTextAlign,captionTextAlignVertical:Ai.captionTextAlignVertical,captionPaddingTop:Ai.captionPaddingTop,captionPaddingRight:Ai.captionPaddingRight,captionPaddingBottom:Ai.captionPaddingBottom,captionPaddingLeft:Ai.captionPaddingLeft,captionScrollType:Ai.captionScrollType,captionScrollbarWidth:Ai.captionScrollbarWidth,captionScrollbarAlignment:Ai.captionScrollbarAlignment,captionScrollbarColor:Ai.captionScrollbarColor,captionScrollbarHover:Ai.captionScrollbarHover,captionScrollbarHorizontalOffset:Ai.captionScrollbarHorizontalOffset,captionScrollbarVerticalOffset:Ai.captionScrollbarVerticalOffset,captionScrollbarBgAlpha:Ai.captionScrollbarBgAlpha,captionAnchorTo:Ai.captionAnchorTo,slideshowRandomize:Ai.landingMediaRandomize,slideshowTransitionType:Ai.landingMediaTransitionType,slideshowSpeed:Ai.landingMediaSpeed,slideshowTransitionDuration:Ai.landingMediaTransitionDuration,slideshowAlignHorizontal:Ai.landingMediaAlignHorizontal,slideshowAlignVertical:Ai.landingMediaAlignVertical,slideshowScaleType:Ai.landingMediaScaleType,slideshowScrollDownIcon:Ai.slideshowScrollDownIcon,siteDisplayBehavior:Ai.siteDisplayBehavior},section:function(e){if(!e)return!1;var t=e.overrides||{},n=e.thumb||{};Sa.isLandingMedia=i(e),Sa._section=e,xa.overrides={get containerColor(){return K(t.containerColor,Ai.containerColor)},get transitionType(){if(Sa.isLandingMedia)return K(t.transitionType,Ai.landingMediaTransitionType);var i=K(mt(),t.transitionType,Ai.transitionType);return(oe()||le())&&"vScroll"!==i&&(i="mSlide"),uo&&"hSlide"===i&&(i="mSlide"),fe(e)&&(i="vScrollStatic"),i},get transitionDuration(){return K(t.transitionDuration,Ai.transitionDuration)},get imageAlignHorizontal(){return K(t.imageAlignHorizontal,Ai.imageAlignHorizontal)},get imageAlignVertical(){return K(t.imageAlignVertical,Ai.imageAlignVertical)},get imageScaleType(){return K(t.imageScaleType,Ai.imageScaleType)},get videoScaleType(){return K(t.videoScaleType,Ai.videoScaleType)},get mobileAutoPlay(){return Ai.mobileAutoPlay},get videoAutoPlay(){return!!Sa.isLandingMedia||K(t.videoAutoPlay,Ai.videoAutoPlay)},get vimeoDefault(){var e=""===Ai.vimeoDefault||void 0===Ai.vimeoDefault||Ai.vimeoDefault,t=Ai.vimeoDefaultMobile,i=Ai.vimeoDefaultTablet;return oe()?K(t,e):le()?K(i,e):e},get videoLoop(){return K(t.videoLoop,Ai.videoLoop)},get imageVideoMarginTop(){return _i!==Ni||/vScroll/.test(xa.overrides.transitionType)?K(t.imageVideoMarginTop,Ai.imageVideoMarginTop):0},get imageVideoMarginRight(){return _i===Ni?0:K(t.imageVideoMarginRight,Ai.imageVideoMarginRight)},get imageVideoMarginBottom(){return _i!==Ni||/vScroll/.test(xa.overrides.transitionType)?K(t.imageVideoMarginBottom,Ai.imageVideoMarginBottom):0},get imageVideoMarginLeft(){return _i===Ni?0:K(t.imageVideoMarginLeft,Ai.imageVideoMarginLeft)},get pageMarginTop(){var e=K(t.pageMarginTop,Ai.pageMarginTop);return _i===Ni?K(Ai.pageMarginTopMobile,50):oe()?K(Ai.pageMarginTopMobile,e):e},get pageMarginRight(){var e=K(t.pageMarginRight,Ai.pageMarginRight);return _i===Ni?K(Ai.pageMarginRightMobile,0):oe()?K(Ai.pageMarginRightMobile,e):e},get pageMarginBottom(){var e=K(t.pageMarginBottom,Ai.pageMarginBottom);return _i===Ni?K(Ai.pageMarginBottomMobile,0):oe()?K(Ai.pageMarginBottomMobile,e):e},get pageMarginLeft(){var e=K(t.pageMarginLeft,Ai.pageMarginLeft);return _i===Ni?K(Ai.pageMarginLeftMobile,0):oe()?K(Ai.pageMarginLeftMobile,e):e},get pageMaxWidth(){return E(K(t.pageMaxWidth,Ai.pageMaxWidth),Ca.width)},get pageMaxAlign(){return K(t.pageMaxAlign,Ai.pageMaxAlign)},get pageScrollVerticalMargin(){return K(t.pageScrollVerticalMargin,Ai.pageScrollVerticalMargin)},get pageTextFont(){return K(t.pageTextFont,Ai.pageTextFont)},get pageTextKerning(){return K(t.pageTextKerning,Ai.pageTextKerning)},get pageTextFontSize(){return t.pageTextFontSize||Ai.pageTextFontSize},get pageTextFontColor(){return K(t.pageTextFontColor,Ai.pageTextFontColor)},get pageTitle(){return K(t.pageTitle,Ai.pageTitle)},get pageTitleFont(){return K(t.pageTitleFont,Ai.pageTitleFont)},get pageTitleKerning(){return K(t.pageTitleKerning,Ai.pageTitleKerning)},get pageTitleFontSize(){return t.pageTitleFontSize||Ai.pageTitleFontSize},get pageTitleFontColor(){return K(t.pageTitleFontColor,Ai.pageTitleFontColor)},get pageScrollType(){return K(t.pageScrollType,Ai.pageScrollType)},get pageScrollbarVisibility(){return K(t.pageScrollbarVisibility,Ai.pageScrollbarVisibility)},get pageScrollbarRounded(){return K(t.pageScrollbarRounded,Ai.pageScrollbarRounded)},get pageScrollbarAlignment(){return K(t.pageScrollbarAlignment,Ai.pageScrollbarAlignment)},get pageScrollbarHorizontalOffset(){return K(t.pageScrollbarHorizontalOffset,Ai.pageScrollbarHorizontalOffset)},get pageScrollbarVerticalOffset(){return K(t.pageScrollbarVerticalOffset,Ai.pageScrollbarVerticalOffset)},get pageScrollbarColor(){return K(t.pageScrollbarColor,Ai.pageScrollbarColor)},get pageScrollbarHover(){return K(t.pageScrollbarHover,Ai.pageScrollbarHover)},get pageScrollbarBgAlpha(){return K(t.pageScrollbarBgAlpha,Ai.pageScrollbarBgAlpha)},get pageScrollbarWidth(){return K(t.pageScrollbarWidth,Ai.pageScrollbarWidth)},get imageVideoScrollType(){var e=""===t.imageVideoScrollType?"scrollbar":t.imageVideoScrollType;return K(e,Ai.imageVideoScrollType)},get imageVideoScrollbarRounded(){return K(t.imageVideoScrollbarRounded,Ai.imageVideoScrollbarRounded)},get imageVideoScrollbarVisibility(){return K(t.imageVideoScrollbarVisibility,Ai.imageVideoScrollbarVisibility)},get imageVideoInactiveAlpha(){return K(t.imageVideoInactiveAlpha,Ai.imageVideoInactiveAlpha)},get imageVideoBgColor(){return K(t.imageVideoBgColor,Ai.imageVideoBgColor)},get imageVideoBgAlpha(){return K(t.imageVideoBgAlpha,Ai.imageVideoBgAlpha)},get imageVideoLoaderType(){return K(t.imageVideoLoaderType,Ai.imageVideoLoaderType)},get imageVideoScrollbarAlignment(){return K(t.imageVideoScrollbarAlignment,Ai.imageVideoScrollbarAlignment)},get imageVideoScrollbarHorizontalOffset(){return K(t.imageVideoScrollbarHorizontalOffset,Ai.imageVideoScrollbarHorizontalOffset)},get imageVideoScrollbarVerticalOffset(){return K(t.imageVideoScrollbarVerticalOffset,Ai.imageVideoScrollbarVerticalOffset)},get imageVideoScrollbarColor(){return K(t.imageVideoScrollbarColor,Ai.imageVideoScrollbarColor)},get imageVideoScrollbarHover(){return K(t.imageVideoScrollbarHover,Ai.imageVideoScrollbarHover)},get imageVideoScrollbarBgTransparency(){return K(t.imageVideoScrollbarBgTransparency,Ai.imageVideoScrollbarBgTransparency)},get imageVideoScrollbarWidth(){return K(t.imageVideoScrollbarWidth,Ai.imageVideoScrollbarWidth)},get menuDisplaceMobile(){return""===Ai.menuDisplaceMobile||void 0===Ai.menuDisplaceMobile||Ai.menuDisplaceMobile},get menuDisplaceTablet(){return""===Ai.menuDisplaceTablet||void 0===Ai.menuDisplaceTablet||Ai.menuDisplaceTablet},get overlayTitleFont(){return K(Ai.overlayTitleFont,Ai.thumbnailTitleFont)},get overlayTitleFontSize(){return Ai.overlayTitleFontSize||Ai.thumbnailTitleFontSize},get overlayTitleFontColor(){return K(Ai.overlayTitleFontColor,Ai.thumbnailTitleFontColor)},get thumbnailOnly(){return K(n.only,Ai.thumbnailOnly)},get thumbnailFullRes(){return K(n.fullRes,Ai.thumbnailFullRes)},get thumbnailDefaultOn(){return _i===Ni?n.only||Ai.thumbnailOnly||K(Ai.thumbnailDefaultOnMobile,n.defaultOn,Ai.thumbnailDefaultOn):n.only||Ai.thumbnailOnly||K(n.defaultOn,Ai.thumbnailDefaultOn)},get thumbnailPositionFixed(){return _i!==Ni&&K(n.positionFixed,Ai.thumbnailPositionFixed)},get thumbnailMasonry(){if(_i===Ni)return!0;var e=K(n.type,Ai.thumbnailType);switch(e){case"vMasonry":return!0;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryType(){return K(n.masonryType,Ai.thumbnailMasonryType)},get thumbnailMasonryFill(){if(_i===Ni)return!0;var e=K(n.masonryFill,Ai.thumbnailMasonryFill),t=K(n.type,Ai.thumbnailType);if(void 0===t)return e;switch(t){case"vMasonry":return e;case"hMasonry":return e;default:return!1}},get thumbnailMasonryEvenRowHeight(){if(_i===Ni)return!1;var e=K(n.type,Ai.thumbnailType);switch(e){case"vMasonry":return!1;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryMaintainOrder(){return K(n.masonryMaintainOrder,Ai.thumbnailMasonryMaintainOrder)},get thumbnailMaxCols(){return K(n.maxCols,Ai.thumbnailMaxCols)},get thumbnailGap(){return _i===Ni?Number(Ai.thumbnailGapMobile||0):Number(K(n.gap,Ai.thumbnailGap))},get thumbnailGapVertical(){return _i===Ni?Number(Ai.thumbnailGapVerticalMobile||0):Number(K(n.gapVertical,Ai.thumbnailGapVertical))},get thumbnailDock(){return K(n.dock,Ai.thumbnailDock)},get thumbnailType(){if(_i===Ni)return"none"===K(n.type,Ai.thumbnailType)?"none":"vMasonry";var e=K(n.masonry,Ai.thumbnailMasonry),t=n.type&&"default"!==n.type?K(n.type,Ai.thumbnailType):Ai.thumbnailType,i="fill"===t&&e?"vMasonry":t;return i},get thumbnailSize(){return _i===Ni?(Eo=vt(Ai.thumbnailCustomWidthMobile,Ai.thumbnailCustomHeightMobile),Ai.thumbnailSizeMobile||"xLarge"):(Eo=vt(K(n.customWidth,Ai.thumbnailCustomWidth),K(n.customHeight,Ai.thumbnailCustomHeight)),K(n.size,Ai.thumbnailSize))},get thumbnailCustomWidth(){return _i===Ni?(Eo=vt(Ai.thumbnailCustomWidthMobile,Ai.thumbnailCustomHeightMobile),Ai.thumbnailCustomWidthMobile):(Eo=vt(K(n.customWidth,Ai.thumbnailCustomWidth),K(n.customHeight,Ai.thumbnailCustomHeight)),K(n.customWidth,Ai.thumbnailCustomWidth))},get thumbnailCustomHeight(){return _i===Ni?(Eo=vt(Ai.thumbnailCustomWidthMobile,Ai.thumbnailCustomHeightMobile),Ai.thumbnailCustomHeightMobile):(Eo=vt(K(n.customWidth,Ai.thumbnailCustomWidth),K(n.customHeight,Ai.thumbnailCustomHeight)),K(n.customHeight,Ai.thumbnailCustomHeight))},get thumbnailSide(){return K(n.side,Ai.thumbnailSide)},get thumbnailHorizontalMargin(){return _i===Ni?Ai.thumbnailHorizontalMarginMobile||0:K(n.horizontalMargin,Ai.thumbnailHorizontalMargin)},get thumbnailVerticalMargin(){return _i===Ni?Ai.thumbnailVerticalMarginMobile||0:K(n.verticalMargin,Ai.thumbnailVerticalMargin)},get thumbnailAlignHorizontal(){return K(n.alignHorizontal,Ai.thumbnailAlignHorizontal)},get thumbnailAlignVertical(){return K(n.alignVertical,Ai.thumbnailAlignVertical)},get thumbnailGridColor(){return K(n.gridColor,Ai.thumbnailGridColor)},get thumbnailGridTransparency(){return K(n.gridTransparency,Ai.thumbnailGridTransparency)},get thumbnailHoverAlpha(){return K(n.hoverAlpha,Ai.thumbnailHoverAlpha)},get thumbnailHoverAlphaMobile(){return Ai.thumbnailHoverAlphaMobile},get thumbnailHoverAlphaTablet(){return Ai.thumbnailHoverAlphaTablet},get thumbnailHoverColor(){return K(n.hoverColor,Ai.thumbnailHoverColor)},get thumbnailLoaderType(){return K(n.loaderType,Ai.thumbnailLoaderType,"spinner")},get thumbnailTitleFont(){return _i===Ni?K(Ai.thumbnailTitleFontMobile,Ai.thumbnailTitleFont):_i===Wi?K(Ai.thumbnailTitleFontTablet,Ai.thumbnailTitleFont):K(n.titleFont,Ai.thumbnailTitleFont)},get thumbnailTitleFontSize(){return _i===Ni?Ai.thumbnailTitleFontSizeMobile||n.titleFontSize||Ai.thumbnailTitleFontSize:_i===Wi?Ai.thumbnailTitleFontSizeTablet||n.titleFontSize||Ai.thumbnailTitleFontSize:n.titleFontSize||Ai.thumbnailTitleFontSize},get thumbnailTitleFontColor(){return _i===Ni?K(Ai.thumbnailTitleFontColorMobile,Ai.thumbnailLabelColorMobile,n.titleFontColor,Ai.thumbnailTitleFontColor):_i===Wi?K(Ai.thumbnailTitleFontColorTablet,Ai.thumbnailLabelColorTablet,n.titleFontColor,Ai.thumbnailTitleFontColor):K(n.titleFontColor,Ai.thumbnailTitleFontColor)},get thumbnailLabelVerticalOffset(){return K(n.labelVerticalOffset,Ai.thumbnailLabelVerticalOffset)},get thumbnailLabelColorMobile(){return Ai.thumbnailLabelColorMobile},get thumbnailLabelColorTablet(){return Ai.thumbnailLabelColorTablet},get thumbnailLabelPosition(){return K(n.labelPosition,Ai.thumbnailLabelPosition)},get thumbnailLabelJustification(){return K(n.labelJustification,Ai.thumbnailLabelJustification)},get thumbnailStdLabelPosition(){return n.stdLabelPosition},get thumbnailStdLabelJustification(){return n.stdLabelJustification},get thumbnailLabelPositionMobile(){return K(Ai.thumbnailLabelPositionMobile,n.labelPosition,Ai.thumbnailLabelPosition,"bottom")},get thumbnailStdLabelPositionMobile(){var e=K(n.stdLabelPositionMobile,Ai.thumbnailStdLabelPositionMobile);return"hover"===e?"over":e},get thumbnailLabelPositionTablet(){return K(Ai.thumbnailLabelPositionTablet,n.labelPosition,Ai.thumbnailLabelPosition,"bottom")},get thumbnailStdLabelPositionTablet(){var e=K(n.stdLabelPositionTablet,Ai.thumbnailStdLabelPositionTablet);return"hover"===e?"over":e},get thumbnailVideoPlayIcon(){return K(n.videoPlayIcon,Ai.thumbnailVideoPlayIcon!==!1)},get thumbnailScrollbarAlignment(){return K(n.scrollbarAlignment,Ai.thumbnailScrollbarAlignment)},get thumbnailScrollbarColor(){return K(n.scrollbarColor,Ai.thumbnailScrollbarColor)},get thumbnailScrollbarHover(){return K(n.scrollbarHover,Ai.thumbnailScrollbarHover)},get thumbnailSelectedColor(){return K(n.selectedColor,Ai.thumbnailSelectedColor)},get thumbnailSelectedAlpha(){return K(n.selectedAlpha,Ai.thumbnailSelectedAlpha,Ai.thumbnailHoverAlpha)},get thumbnailScrollbarHorizontalOffset(){return K(n.scrollbarHorizontalOffset,Ai.thumbnailScrollbarHorizontalOffset)},get thumbnailScrollbarVerticalOffset(){return K(n.scrollbarVerticalOffset,Ai.thumbnailScrollbarVerticalOffset)},get thumbnailScrollType(){var e=K(n.scrollType,Ai.thumbnailScrollType);return"mouse cursor"===e&&(e="nativeMacOs"),e},get thumbnailScrollbarBgAlpha(){return K(n.scrollbarBgAlpha,Ai.thumbnailScrollbarBgAlpha)},get thumbnailScrollbarWidth(){return K(n.scrollbarWidth,Ai.thumbnailScrollbarWidth)},get thumbnailScrollbarVisibility(){return K(n.scrollbarVisibility,Ai.thumbnailScrollbarVisibility)},get thumbnailScrollbarRounded(){return K(n.scrollbarRounded,Ai.thumbnailScrollbarRounded)},get thumbnailTitleBlockTopMargin(){return oe()?K(Ai.thumbnailTitleBlockTopMarginMobile,Ai.thumbnailTitleBlockTopMargin)||0:Ai.thumbnailTitleBlockTopMargin||0},get captionAutoPosition(){return K(t.captionAutoPosition,Ai.captionAutoPosition)},get captionDefault(){return K(t.captionDefault,Ai.captionDefault)},get captionUseTitle(){return K(t.captionUseTitle,Ai.captionUseTitle)},get captionCloseButton(){return K(t.captionCloseButton,Ai.captionCloseButton)},get captionBackgroundAlpha(){return K(t.captionBackgroundAlpha,Ai.captionBackgroundAlpha)},get captionBackgroundRectColor(){return K(t.captionBackgroundRectColor,Ai.captionBackgroundRectColor)},get captionFont(){return K(t.captionFont,Ai.captionFont)},get captionFontColor(){return K(t.captionFontColor,Ai.captionFontColor)},get captionFontSize(){return t.captionFontSize||Ai.captionFontSize},get captionFontSizeBreakpoint(){return t.captionFontSizeBreakpoint||Ai.captionFontSizeBreakpoint},get captionWidth(){return E(K(t.captionWidth,Ai.captionWidth),Ca.width)},get captionHeight(){return E(K(t.captionHeight,Ai.captionHeight),Ca.height)},get captionAlignHorizontal(){return K(t.captionAlignHorizontal,Ai.captionAlignHorizontal)},get captionAlignVertical(){return K(t.captionAlignVertical,Ai.captionAlignVertical)},get captionOffsetX(){return E(K(t.captionOffsetX,Ai.captionOffsetX),Ca.width)},get captionOffsetY(){return E(K(t.captionOffsetY,Ai.captionOffsetY),Ca.height)},get captionTextAlign(){return K(t.captionTextAlign,Ai.captionTextAlign)},get captionTextAlignVertical(){return K(t.captionTextAlignVertical,Ai.captionTextAlignVertical)},get captionPaddingTop(){return E(K(t.captionPaddingTop,Ai.captionPaddingTop),Ca.height)},get captionPaddingRight(){return E(K(t.captionPaddingRight,Ai.captionPaddingRight),Ca.width)},get captionPaddingBottom(){return E(K(t.captionPaddingBottom,Ai.captionPaddingBottom),Ca.height)},get captionPaddingLeft(){return E(K(t.captionPaddingLeft,Ai.captionPaddingLeft),Ca.width)},get captionScrollType(){return K(t.captionScrollType,Ai.captionScrollType)},get captionScrollbarWidth(){return K(t.captionScrollbarWidth,Ai.captionScrollbarWidth)},get captionScrollbarAlignment(){return K(t.captionScrollbarAlignment,Ai.captionScrollbarAlignment)},get captionScrollbarColor(){return K(t.captionScrollbarColor,Ai.captionScrollbarColor)},get captionScrollbarHover(){return K(t.captionScrollbarHover,Ai.captionScrollbarHover)},get captionScrollbarHorizontalOffset(){return K(t.captionScrollbarHorizontalOffset,Ai.captionScrollbarHorizontalOffset)},get captionScrollbarVerticalOffset(){return K(t.captionScrollbarVerticalOffset,Ai.captionScrollbarVerticalOffset)},get captionScrollbarBgAlpha(){return K(t.captionScrollbarBgAlpha,Ai.captionScrollbarBgAlpha)},get captionAnchorTo(){return K(t.captionAnchorTo,Ai.captionAnchorTo)},get slideshowRandomize(){return K(t.slideshowRandomize,Ai.landingMediaRandomize)},get slideshowTransitionType(){return K(t.slideshowTransitionType,Ai.landingMediaTransitionType)},get slideshowSpeed(){return K(t.slideshowSpeed,Ai.landingMediaSpeed)},get slideshowTransitionDuration(){return K(t.slideshowTransitionDuration,Ai.landingMediaTransitionDuration)},get slideshowAlignHorizontal(){return K(t.slideshowAlignHorizontal,Ai.landingMediaAlignHorizontal)},get slideshowAlignVertical(){return K(t.slideshowAlignVertical,Ai.landingMediaAlignVertical)},get slideshowScaleType(){var e=K(t.slideshowScaleType,Ai.landingMediaScaleType);return oe()?K(Ai.landingMediaScaleTypeMobile,e):le()?K(Ai.landingMediaScaleTypeTablet,e):e},get slideshowScrollDownIcon(){return K(e.scrollDownIcon,Ai.slideshowScrollDownIcon)},get siteDisplayBehavior(){return _i===Ni||_i===Wi?"none":K(e.displayBehavior,Ai.siteDisplayBehavior,Ai.unifiedPageScrolling?"unifiedPageScrolling":"none")}}},get backgroundImages(){var e=[];return e=window.isStaging&&Ri.hasOwnProperty("stagingBackgroundImages")?Ri.stagingBackgroundImages||e:Ri.backgroundImages.length?Ri.backgroundImages:DX_MODEL.designSettings.backgroundImages||e,e.filter(function(e){return l(e)})},get socialLinks(){var e=[];return e=window.isStaging&&Ri.hasOwnProperty("stagingSocialLinks")?Ri.stagingSocialLinks||e:Ri.socialLinks.length?Ri.socialLinks:DX_MODEL.designSettings.socialLinks||e,e.filter(function(e){return l(e)})},get copyright(){return window.isStaging&&Ri.hasOwnProperty("stagingCopyright")?Ri.stagingCopyright||"":K(Ri.copyright,DX_MODEL.designSettings.copyright)||""},get logoFile(){return window.isStaging&&Ri.hasOwnProperty("stagingLogoFile")?Ri.stagingLogoFile||"":K(Ri.logoFile,DX_MODEL.designSettings.logoFile)||""},get logoHtml(){return window.isStaging&&Ri.hasOwnProperty("stagingLogoHtml")?Ri.stagingLogoHtml||"":K(Ri.logoHtml,DX_MODEL.designSettings.logoHtml)||""},get logoText(){return window.isStaging&&Ri.hasOwnProperty("stagingLogoText")?Ri.stagingLogoText||"":K(Ri.logoText,DX_MODEL.designSettings.logoText)||""},get introFile(){return window.isStaging&&Ri.hasOwnProperty("stagingIntroFile")?Ri.stagingIntroFile||"":K(Ri.introFile,DX_MODEL.designSettings.introFile)||""},get blogSectionId(){return window.isStaging&&Ri.hasOwnProperty("stagingBlogSectionId")?Ri.stagingBlogSectionId||"":K(Ri.blogSectionId,DX_MODEL.designSettings.blogSectionId)||""},footerView:{zIndex:function(){return"overlay"===xa.menuView.placement()?5:8}},introView:{zIndex:500},logoView:{zIndex:function(){return"overlay"===xa.menuView.placement()?5:8}},mediaView:{zIndex:1,zoneX:function(){return B()&&Sa.isLandingMedia?Sa.landingMediaView.x():Sa.mediaView.x()},zoneY:function(e){return B()&&Sa.isLandingMedia?Sa.landingMediaView.y():Sa.mediaView.y(e)},zoneWidth:function(){return B()&&Sa.isLandingMedia?Sa.landingMediaView.width():Sa.mediaView.width()},zoneHeight:function(e){return"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior&&"multiple"===Sa.sectionDisplayMode?B()&&Sa.isLandingMedia?Sa.landingMediaView.height():Sa.mediaView.height(e,!0):B()&&Sa.isLandingMedia?Sa.landingMediaView.height():Sa.mediaView.height(e)},contentHeight:function(){return xa.siteView.unifiedPageScroll()&&Sa._mediaContentHeight>xa.mediaView.height()?Sa._mediaContentHeight:xa.mediaView.height()},x:function(){var e=B()&&Sa.isLandingMedia?Sa.landingMediaView.x():Sa.mediaView.x();return Sa.isDisplace()&&"left"===xa.overrides.thumbnailSide?e+E(xa.overrides.thumbnailHorizontalMargin,Ca.width)+Eo[xa.overrides.thumbnailSize].width:e},y:function(e){var t=B()&&Sa.isLandingMedia?Sa.landingMediaView.y():Sa.mediaView.y(e);return Sa.isDisplace()&&"top"===xa.overrides.thumbnailSide?t+E(xa.overrides.thumbnailVerticalMargin,Ca.height)+Eo[xa.overrides.thumbnailSize].height:t},width:function(){var e=B()&&Sa.isLandingMedia?Sa.landingMediaView.width():Sa.mediaView.width();return!Sa.isDisplace()||"left"!==xa.overrides.thumbnailSide&&"right"!==xa.overrides.thumbnailSide?e:e-E(xa.overrides.thumbnailHorizontalMargin,Ca.width)-Eo[xa.overrides.thumbnailSize].width},height:function(e){var t=B()&&Sa.isLandingMedia?Sa.landingMediaView.height():Sa.mediaView.height(e),i=E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height),n=/unifiedSite/.test(xa.overrides.siteDisplayBehavior)&&/top|bottom/.test(xa.menuView.placement())?Ca.height-i:Ca.height;
return!(t>=n)&&/unifiedSite/.test(xa.overrides.siteDisplayBehavior)||!Sa.isDisplace()||"top"!==xa.overrides.thumbnailSide&&"bottom"!==xa.overrides.thumbnailSide?t:t-E(xa.overrides.thumbnailVerticalMargin,Ca.height)-Eo[xa.overrides.thumbnailSize].height},maskX:function(){return B()&&Sa.isLandingMedia?Sa.landingMediaView.x():Sa.mediaMask.x()},maskY:function(e){return B()&&Sa.isLandingMedia?Sa.landingMediaView.y():Sa.mediaMask.y(e)},maskWidth:function(e){return B()&&Sa.isLandingMedia?Sa.landingMediaView.width():Sa.mediaMask.width(e)},maskHeight:function(e,t){return B()&&Sa.isLandingMedia?Sa.landingMediaView.height():Sa.mediaMask.height(e,t)},hAlign:function(){return _i===Ni?Sa.isLandingMedia?K(Ai.landingMediaAlignHorizontalMobile,xa.overrides.slideshowAlignHorizontal):xa.overrides.imageAlignHorizontal:Sa.isLandingMedia?xa.overrides.slideshowAlignHorizontal:xa.overrides.imageAlignHorizontal},vAlign:function(){return _i===Ni?Sa.isLandingMedia?K(Ai.landingMediaAlignVerticalMobile,xa.overrides.slideshowAlignVertical):xa.overrides.imageAlignVertical:Sa.isLandingMedia?xa.overrides.slideshowAlignVertical:xa.overrides.imageAlignVertical},transitionDuration:function(e){return e?xa.overrides.slideshowTransitionDuration:xa.overrides.transitionDuration},imageScaleType:function(){return Sa.isLandingMedia?oe()?K(Ai.landingMediaScaleTypeMobile,xa.overrides.slideshowScaleType):le()?K(Ai.landingMediaScaleTypeTablet,xa.overrides.slideshowScaleType):xa.overrides.slideshowScaleType:xa.overrides.imageScaleType},videoScaleType:function(e){return Sa.isLandingMedia?oe()?K(Ai.landingMediaScaleTypeMobile,xa.overrides.slideshowScaleType):le()?K(Ai.landingMediaScaleTypeTablet,xa.overrides.slideshowScaleType):xa.overrides.slideshowScaleType:e&&"fill"===xa.overrides.videoScaleType?"fit":xa.overrides.videoScaleType},videoAutoPlay:function(){return xa.overrides.videoAutoPlay},backgroundColor:function(){return B()&&Sa.isLandingMedia?Ai.siteBackgroundColor:Sa.isLandingMedia?Ai.containerColor:xa.overrides.containerColor}},menuView:{placement:function(){var e;switch(Ai.menuAlignHorizontal){case"top-responsive":e=Sa.isMenuResponsiveOverlay?"overlay":"top";break;case"right-responsive":e=Sa.isMenuResponsiveOverlay?"overlay":"right";break;case"bottom-responsive":e=Sa.isMenuResponsiveOverlay?"overlay":"bottom";break;case"left-responsive":e=Sa.isMenuResponsiveOverlay?"overlay":"left";break;default:e=Ai.menuAlignHorizontal}return _i===Ni||_i===Wi?"left":e},zIndex:6,menuPositionFixed:function(){return!!/bottom/.test(xa.menuView.placement())||Ai.menuPositionFixed},menuFontSize:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayFontSize||Ai.menuFontSize:Ai.menuFontSize},menuSubFontSize:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlaySubFontSize||Ai.menuSubFontSize:Ai.menuSubFontSize},menuBgColor:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayBgColor||Ai.menuBgColor:Ai.menuBgColor},menuBgAlpha:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayBgAlpha||Ai.menuBgAlpha:Ai.menuBgAlpha},menuFontColor:function(){var e=Ai.menuFontColor;return _i===Ni&&(e=Ai.menuFontColorMobile||e),_i===Wi&&(e=Ai.menuFontColorTablet||e),"overlay"===xa.menuView.placement()?Ai.menuOverlayFontColor||e:e},menuFontColorHover:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayFontColorHover||Ai.menuFontColorHover:Ai.menuFontColorHover},menuFontColorSelected:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayFontColorSelected||Ai.menuFontColorSelected:Ai.menuFontColorSelected},menuTextAlignHorizontal:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayTextAlignHorizontal||Ai.menuTextAlignHorizontal:Ai.menuTextAlignHorizontal},menuTextAlignVertical:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayTextAlignVertical||Ai.menuTextAlignVertical:Ai.menuTextAlignVertical},menuTextPaddingHorizontal:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayTextPaddingHorizontal||Ai.menuTextPaddingHorizontal:Ai.menuTextPaddingHorizontal},menuTextPaddingVertical:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayTextPaddingVertical||Ai.menuTextPaddingVertical:Ai.menuTextPaddingVertical},menuTextGap:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlayTextGap||Ai.menuTextGap:Ai.menuTextGap},menuSubTextAlignHorizontal:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlaySubTextAlignHorizontal||Ai.menuSubTextAlignHorizontal:Ai.menuSubTextAlignHorizontal},menuSubTextGap:function(){return"overlay"===xa.menuView.placement()?Ai.menuOverlaySubTextGap||Ai.menuSubTextGap:Ai.menuSubTextGap},menuIconOverlayColor:function(){return Ai.menuIconOverlayColor||Ai.menuOverlayFontColor||"#333333"}},navbarView:{zIndex:function(){return/^overlay/.test(xa.overrides.siteDisplayBehavior)?101:_i===Ni||"overlay"===xa.menuView.placement()?3:7}},overlayView:{x:function(){return/^unifiedSite|overlay/.test(xa.overrides.siteDisplayBehavior)&&/top|bottom/.test(xa.menuView.placement())?0:xa.mediaView.zoneX()},y:function(e){return/^unifiedSite|overlay/.test(xa.overrides.siteDisplayBehavior)?0:xa.mediaView.zoneY(e)},zoneWidth:function(){return/^overlay/.test(xa.overrides.siteDisplayBehavior)?Ca.width:B()&&Sa.isLandingMedia?Sa.landingMediaView.width():Sa.mediaView.width()},zoneHeight:function(e){if(/^overlay/.test(xa.overrides.siteDisplayBehavior))return Ca.height;if(!/unifiedPageScroll/.test(xa.overrides.siteDisplayBehavior)||_i===Gi&&oe()||_i===Gi&&le()||/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll){if(xa.siteView.unifiedPageScroll()){var t=B()&&Sa.isLandingMedia?Sa.landingMediaView.height():Sa.mediaView.height(e);return Sa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&Sa._thumbContentHeight>t?Sa._thumbContentHeight:t}return B()&&Sa.isLandingMedia?Sa.landingMediaView.height():Sa.mediaView.height(e)}return xa.mediaView.zoneHeight()},zIndex:4,size:{x:function(){return/^overlay/.test(xa.overrides.siteDisplayBehavior)?0:xa.overlayView.x()},y:function(e){return/^overlay/.test(xa.overrides.siteDisplayBehavior)?0:xa.overlayView.y(e)},width:function(){return xa.overlayView.zoneWidth()},height:function(e){return xa.overlayView.zoneHeight(e)}}},captionView:{zIndex:function(){return _i===Ni||"overlay"===xa.menuView.placement()?2:7}},siteView:{unifiedPageScroll:function(){return"overlay"!==xa.overrides.siteDisplayBehavior&&(!/none/.test(xa.overrides.siteDisplayBehavior)&&(/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)?/^vScroll/.test(xa.overrides.transitionType)||Sa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)||fe(Sa._section):/^unifiedPage/.test(xa.overrides.siteDisplayBehavior)?/^vScroll/.test(xa.overrides.transitionType)||Sa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)||fe(Sa._section):Ai.unifiedPageScrolling))},width:function(){return Ca.width},height:function(){if("single"===Sa.sectionDisplayMode&&B()&&Sa.isLandingMedia)return Sa.landingMediaView.height();if(_i===Ni||_i===Wi)return Ca.height;if("unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior&&"multiple"===Sa.sectionDisplayMode){var e=Ai.marginOverlap||0,t=E(Ai.sitePaddingTop,Ca.height),i=E(Ai.sitePaddingBottom,Ca.height),n=Sa.mediaModules&&Sa.mediaModules[0],o=n&&n.controller.section,a=0,r=E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height);return o&&_(o)?Sa.mediaViewsHeight+i:/top/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?(a=t+r-e,a+Sa.mediaViewsHeight+i):/bottom/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?(a=i+r-e,t+Sa.mediaViewsHeight+a):t+Sa.mediaViewsHeight+i}if(xa.siteView.unifiedPageScroll()){var l=E(Ai.sitePaddingTop,Ca.height),s=/top/.test(xa.menuView.placement()),d=/bottom/.test(xa.menuView.placement()),c=!Ai.isMenuScrollReveal&&(s||d);if(c){var e=Ai.marginOverlap||0,r=E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height),t=E(Ai.sitePaddingTop,Ca.height),i=E(Ai.sitePaddingBottom,Ca.height),a=(Ca.height,r-e||0);l+=a}if(Sa._thumbsVisible&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&(oe()||le()||/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll))l+=Sa._thumbContentHeight>xa.mediaView.zoneHeight()?Sa._thumbContentHeight:xa.mediaView.zoneHeight();else{var h=Sa._section&&Sa._section.key;l+=xa.mediaView.height(h)>xa.mediaView.zoneHeight()?xa.mediaView.height(h):xa.mediaView.zoneHeight()}return l+=E(Ai.sitePaddingBottom,Ca.height)}return Ca.height}},setPassedSection:function(e){La.push(e)},getPassedSection:function(e){return La.indexOf(e)>-1}},Ma={url:"",path:"",query:"",fragment:"",listeners:[],onChange:function(){},init:function(){this.url=window.location.pathname+window.location.search,window.onpopstate=Ma.fireListeners,window.onhashchange=Ma.fireListeners,setTimeout(function(){window.history.pushState({value:Ma.url},"",Ma.url),Ma.fireListeners()},0)},fireListeners:function(e,t){e&&e.state&&e.state.value&&(Ma.url=e.state.value),Ma.onChange(decodeURIComponent(Ma.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,"")}},Ta=function(){function e(e,i){function n(){H.dispatchEvent(Jn)}function o(e){D.dispatchEvent(Uo,e)}function a(){D.dispatchEvent(ea)}function r(e){H.dispatchEvent(jn,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&&(xa.section(P.section),H.dispatchEvent(Yn,e),"update"===e.method&&e.id===P.section.id&&!c(xa.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"===Sa._activeMediaType?(H.dispatchEvent("SectionMediaFactory/buildItems",{section:P.section,media:y(P.section.media)}),H.dispatchEvent("assetReset")):d(i)&&/image|video/.test(Sa._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(Xn,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(_n,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(tn,f),W=!1,"landingMedia"===A||P.mediaToRender.length<2?H.dispatchEvent("hideCursor"):H.dispatchEvent("showCursor")}function f(){H.dispatchEvent(en),xa.section(P.section),P.staticNav&&P.staticNav.resize({x:0,y:0,width:xa.mediaView.zoneWidth(),height:P.getTotalHeight()})}function b(){H.dispatchEvent(ro)}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(go)}function x(){D.dispatchEvent(fo)}function M(e){P.cursorAxis=e,D.dispatchEvent("cursorAxisUpdate",e)}function T(e){D.dispatchEvent(zo,e)}function V(e){D.dispatchEvent(Io,e)}function E(e){D.dispatchEvent(Po,e)}function z(e){H.dispatchEvent(Oo,e)}function k(e){H.dispatchEvent(Ao,e)}function O(e){H.dispatchEvent(Do,e)}function I(e){D.dispatchEvent(Ko,e)}function F(e){D.dispatchEvent(jo,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(ro,b),D.addEventListener(jn,r),D.addEventListener(Yn,h),D.addEventListener(Xn,u),D.addEventListener(_n,p),D.addEventListener(Jn,n),D.addEventListener(Oo,z),D.addEventListener(Ao,k),D.addEventListener(Do,O),D.addEventListener("thumbStripDisplaceChange",f),D.addEventListener(Wo,function(e){H.dispatchEvent(Wo,e)}),D.addEventListener(_o,function(e){H.dispatchEvent(_o,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(wo,L),H.addEventListener(go,S),H.addEventListener(fo,x),H.addEventListener("cursorAxisUpdate",M),H.addEventListener(Uo,o),H.addEventListener(zo,T),H.addEventListener(Io,V),H.addEventListener(Po,E),H.addEventListener(Ko,I),H.addEventListener(jo,F),H.addEventListener(ea,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(tn,function(e){xa.section(P.section),(xa.overrides.thumbnailOnly||s(P.section))&&P.overlayController.resize()}),H.addEventListener("UPDATE_CONTENT_HEIGHT",function(e){xa.section(P.section),e.thumbs&&P.thumbsTotalHeight!==e.thumbs?(/strip/.test(xa.overrides.thumbnailType)&&/thumbs/.test(P.state.mode)?/top|bottom/.test(xa.overrides.thumbnailSide)?P.thumbsTotalHeight=Math.round(e.thumbs+P.totalHeight):P.thumbsTotalHeight=Math.round(P.totalHeight):P.thumbsTotalHeight=Math.round(e.thumbs),/^overlay/.test(xa.overrides.siteDisplayBehavior)||(Sa._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(xa.overrides.thumbnailType)&&P.totalHeight>0&&P.totalHeight>P.thumbsTotalHeight?P.totalHeight:P.thumbsTotalHeight);var i=/top|bottom/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal?Ai.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),Sa.updateSectionState(P.section.key,n),P.staticNav&&P.staticNav.resize({x:0,y:0,width:xa.mediaView.zoneWidth(),height:P.getTotalHeight()}),D.dispatchEvent("UPDATE_CONTENT_HEIGHT")}),P.getTotalHeight=function(){if(xa.section(P.section),"none"===xa.overrides.siteDisplayBehavior)return xa.mediaView.zoneHeight();if(g(P.section))return P.thumbsTotalHeight?P.thumbsTotalHeight:xa.mediaView.zoneHeight(P.section.key);if(!/none/.test(xa.overrides.thumbnailType)&&/thumbs/.test(P.state.mode))return P.thumbsTotalHeight;if(/unifiedSiteScrollVertical/.test(xa.overrides.siteDisplayBehavior)){var e=P.mediaView.container.boundsHeight,t=Sa.getMaxScrollSectionHeight(P.mediaView);return/vScroll/.test(xa.overrides.transitionType)?e:e&&e