-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()),VE&&Vz)&&(v.iconLeft.alpha=0,v.iconCenter.alpha=0,v.iconRight.alpha=1,v.svg.rotate="y"===S&&/arrow/.test(v.cursorIconStyle)?90:0,v.type="next")}}else p(e);clearTimeout(y),y=setTimeout(function(){p(e)},5e3)}function c(t){t.target.navigationCursor&&v.enabled&&(v.alpha=0,w=!1,"thumbs"===v.type?e.events.dispatchEvent(Ko,v.type):e.events.dispatchEvent(qo,{navDir:v.type}))}function h(e){"cursor"===Ai.navCursorType?(w=!0,v.display="block",v.alpha=.85,/none/.test(Ai.cursorIconStyle)||(e.target.style.cursor="none",v.iconLeft.cursor="none",v.iconCenter.cursor="none",v.iconRight.cursor="none",v.svg.cursor="none",v.cursor="none"),M||(Ca.element.addEventListener(Tn,c),Ca.element.addEventListener("contextmenu",m),Ca.element.addEventListener("dragstart",m),M=!0)):v.display="none"}function u(){w&&(w=!1,v.alpha=0,v.display="none"),M&&(Ca.element.removeEventListener(Tn,c),Ca.element.removeEventListener("contextmenu",m),Ca.element.removeEventListener("dragstart",m),M=!1)}function p(e){w=!1,v.alpha=0,v.display="none",e&&e.target&&e.target.style&&(e.target.style.cursor="default"),v.iconLeft.cursor="default",v.iconCenter.cursor="default",v.iconRight.cursor="default",v.svg.cursor="default",v.cursor="default","disabled"===Ai.navCursorType?v.display="none":M||(Ca.element.addEventListener(Tn,c),Ca.element.addEventListener("contextmenu",m),Ca.element.addEventListener("dragstart",m),M=!0)}function m(e){var t=void 0===Ri.disableRightClick||Ri.disableRightClick;t&&e.preventDefault()}var v=new ba({events:new $e});v.position="fixed";var g,f,b,C,w,y,L=t(),S="x",x=!1,M=!1;return v.enabled=!0,v.zIndex=999,v.alpha=0,v.display="none",v.addEventListener("cursorAxisUpdate",n),v.addEventListener("cursorThumbsUpdate",o),v.addEventListener("cursorBlendMode",i),v.destroy=function(){Ca.removeEventListener(hn,d),v.removeEventListener("cursorAxisUpdate",n),v.removeEventListener("cursorThumbsUpdate",o),v.removeEventListener("cursorBlendMode",i),v.iconLeft.cursor="default",v.iconCenter.cursor="default",v.iconRight.cursor="default",v.svg.cursor="default",v.cursor="default",M&&(Ca.element.removeEventListener(Tn,c),Ca.element.removeEventListener("contextmenu",m),Ca.element.removeEventListener("dragstart",m),M=!1),v.text=""},l.call(v),v}function Te(e){var t=new ba,i=t;t.element.className="staticnav",t.axis=e.axis||"x",t.zone=e.zone,t.zIndex=e.zIndex;var n=new ba,o=new ya,a=new ya({type:"g"}),r=new nt,l=new ba,s=new ya,d=new ya({type:"g"}),c=new nt;n.zIndex=e.zIndex,n.position="absolute",n.width=100*e.scale,n.height=100*e.scale,o.width=100*e.scale,o.height=100*e.scale,n.addEventListener("click",function(){e.prevClick(i)}),r.d=e.paths.prev.d,r.fill=e.paths.prev.fill,r.stroke=e.paths.prev.stroke,r.strokeWidth=e.paths.prev.strokeWidth,o.addChild(a),a.addChild(r),n.addChild(o),l.zIndex=e.zIndex,l.position="absolute",l.width=100*e.scale,l.height=100*e.scale,s.width=100*e.scale,s.height=100*e.scale,l.addEventListener("click",function(){e.nextClick(i)}),c.d=e.paths.next.d,c.fill=e.paths.next.fill,c.stroke=e.paths.next.stroke,c.strokeWidth=e.paths.next.strokeWidth,s.addChild(d),d.addChild(c),l.addChild(s),t.addChild(n),t.addChild(l);var h=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";return n.element.style["mix-blend-mode"]=h,l.element.style["mix-blend-mode"]=h,t.updateAxis=function(e){t.axis=e,n.element.style.transformOrigin="center",l.element.style.transformOrigin="center","y"===t.axis?(n.position="fixed",l.position="fixed",n.element.style.transform="rotate(90deg)",l.element.style.transform="rotate(90deg)"):(n.position="absolute",l.position="absolute",n.element.style.transform="rotate(0deg)",l.element.style.transform="rotate(0deg)"),t.resize(t.zone)},t.resize=function(i){t.zone=i;var o,r;if("y"===t.axis)switch(e.align){case"start":o={x:i.x,y:i.y},r={x:i.x,y:i.y+i.height-l.height};break;case"end":o={x:i.x+i.width-n.width,y:i.y},r={x:i.x+i.width-l.width,y:i.y+i.height-l.height};break;default:o={x:i.x+(i.width-n.width)/2,y:i.y},r={x:i.x+(i.width-l.width)/2,y:i.y+i.height-l.height}}else switch(e.align){case"start":o={x:i.x,y:i.y},r={x:i.x+i.width-l.width,y:i.y};break;case"end":o={x:i.x,y:i.y+i.height-n.height},r={x:i.x+i.width-l.width,y:i.y+i.height-l.height};break;default:o={x:i.x,y:i.y+(i.height-n.height)/2},r={x:i.x+i.width-l.width,y:i.y+(i.height-l.height)/2}}n.x=o.x+e.offset.prevX,n.y=o.y+e.offset.prevY,l.x=r.x+e.offset.nextX,l.y=r.y+e.offset.nextY,a.scale=e.scale,d.scale=e.scale},t.hide=function(e){switch(e){case"prev":n.display="none";break;case"next":l.display="none";break;default:n.display="none",l.display="none"}},t.show=function(e){switch(e){case"prev":n.display="block";break;case"next":l.display="block";break;default:n.display="block",l.display="block"}},t.resize(e.zone),t.updateAxis(e.axis),t}function Ve(e){function t(e){u.text=e.target.tooltip,u.alpha=1,c.width=u.element.offsetWidth+2*y,c.height=u.element.offsetHeight+2*y,d.width=c.width+2*w,d.height=c.height+2*w,T=M+d.height+.5*w,V=M+w}function i(e){S=e.pageX/window.innerWidth;var t=Math.round(d.width*S);t-h.point-bd.width?(h.x=d.width-(w+h.width+b),d.x=e.pageX-d.width+w+h.point+b):(h.x=t-(w-h.width),d.x=e.pageX-t)}function n(e){e.pageY=o-1&&t<=o+1},default:function(e){return e.isInViewport}};this.update=function(e){setTimeout(function(){e&&(o=e),n()},0)}}function ke(e,t){function i(e){qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function n(e){qe(this,.2,{backgroundColor:Oa.bgColor,fontColor:Oa.fontColor})}t=t||{};var o=new ba;o.backgroundColor=t.backgroundColor||Oa.bgColorLight,o.width=250,o.height=150,o.borderRadius=4,o.overflow="hidden",o.boxShadow=Oa.shadowDark,o.addEventListener(Tn,function(e){e.stopPropagation()});var a=new ba;a.x=25,a.y=20,a.fontColor=t.fontColor||Oa.fontColor,a.fontFamily="Helvetica Neue, Arial, sans-serif",a.fontSize=15.5,a.selectable=!0,a.text=e,a.textAlign="center";var r=new ba({type:"button"});r.width=65,r.height=40,r.text="OK",r.outline="none",r.border="none",r.fontWeight="bold",r.fontSize=Oa.fontSize,r.fontColor=Oa.fontColor,r.fontFamily="Helvetica Neue, Arial, sans-serif",r.backgroundColor=Oa.bgColor,o.addChild(r),o.addChild(a);var l=[];dx&&q(dx,"site.siteView")&&(l=[q(dx,"site.siteView")]),dx&&q(dx,"admin.adminView")&&(l=[dx.site.siteView,dx.admin.adminView]);var s=new pa(o,{userOverride:t.userOverride||!0,backgroundColor:t.backgroundColor||"#000000",alpha:t.alpha||.5,blurLayers:t.blurLayers||l});s.open(),r.addEventListener(dn,i),r.addEventListener(pn,n),r.addEventListener(nn,i),r.addEventListener(on,n),r.addEventListener(Tn,function(e){t.onClose&&t.onClose(),s.close()});var d=r.element.offsetHeight,c=a.element.offsetWidth;return o.width=c+50,a.width=o.width-50,o.height=a.element.offsetHeight+d+50,r.width=o.width,r.y=o.height-d-0,s.overlayResize(),r.focus(),s}function Oe(e,t){function i(e){qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function n(e){a.call(this)}function o(e){Ca.activeFocus&&(a.call(Ca.activeFocus),Ca.activeFocus.blur()),qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function a(e){qe(this,.2,{backgroundColor:Oa.bgColor,fontColor:Oa.fontColor})}t=t||{};var r,l=new ba;l.backgroundColor=t.backgroundColor||Oa.bgColorLight,l.width=t.width||250,l.height=150,l.borderRadius=5,l.overflow="hidden",l.boxShadow=Oa.shadowDark,l.addEventListener(Tn,function(e){e.stopPropagation()});var s=new ba;s.x=25,s.y=23,s.fontColor=t.fontColor||Oa.fontColor,s.fontFamily="Helvetica Neue, Arial, sans-serif",s.fontSize=15.5,s.selectable=!0,s.text=e,s.textAlign="center";var d=new ba({type:"button"});d.width=65,d.height=40,d.text=t.cancelLabel||"CANCEL",d.outline="none",d.border="none",d.fontWeight="bold",d.fontSize=Oa.fontSize,d.fontColor=Oa.fontColor,d.fontFamily="Helvetica Neue, Arial, sans-serif",d.backgroundColor=Oa.bgColor,l.addChild(d);var c=new ba({type:"button"});c.width=65,c.height=40,c.text=t.okLabel||"OK",c.outline="none",c.border="none",c.fontWeight="bold",c.fontSize=Oa.fontSize,c.fontColor=Oa.fontColor,c.fontFamily="Helvetica Neue, Arial, sans-serif",c.backgroundColor=Oa.bgColor,l.addChild(c),l.addChild(s);var h=[dx.site.siteView];dx&&q(dx,"admin.adminView")&&(h=[dx.site.siteView,dx.admin.adminView]);var u=new pa(l,{userOverride:!0,backgroundColor:"#000000",alpha:.5,blurLayers:h,onClose:function(){t.onCancel&&!r&&t.onCancel()}});u.open(),d.addEventListener(dn,o),d.addEventListener(pn,a),c.addEventListener(dn,o),c.addEventListener(pn,a),d.addEventListener(nn,i),d.addEventListener(on,n),c.addEventListener(nn,i),c.addEventListener(on,n),d.addEventListener(Tn,function(e){t.onCancel&&t.onCancel(),u.close()}),c.addEventListener(Tn,function(e){r=!0,t.onConfirm&&t.onConfirm(),u.close()});var p=c.element.offsetHeight,m=s.element.offsetWidth;return l.width=m+50,s.width=l.width-50,l.height=s.element.offsetHeight+d.element.offsetHeight+p+50,d.width=l.width,d.y=l.height-d.height-p,c.width=l.width,c.y=l.height-p-0,u.overlayResize(),c.focus(),u}function Ie(e){function t(){i.width=d,i.height=c,i.backgroundColor=s,i.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",i.borderRadius=2,i.display="flex",a=new Je,a.textTransform="uppercase",a.text="share ↑",a.position="relative",a.element.style.padding="0 20px",a.element.style.margin="0 10px",a.height=38,a.fontFamily=Ai.menuFont,a.fontSize=16,a.fontColor=l,a.element.style.flexGrow=1,a.backgroundColor="transparent",a.addEventListener(Tn,function(){ke("The lightbox link was copied to your clipboard."),
ye(window.location.href)}),a.addEventListener(dn,function(){this.style.textDecoration="underline"}),a.addEventListener(pn,function(){this.style.textDecoration="none"}),a.style.cursor="pointer",i.addChild(a),/pdf/.test(Ai.lightboxDownloadOptions)&&(n=new Je,n.textTransform="uppercase",n.text="pdf ↓",n.position="relative",n.element.style.padding="0 20px",n.element.style.margin="0 10px",n.height=38,n.fontFamily=Ai.menuFont,n.fontSize=16,n.fontColor=l,n.element.style.flexGrow=1,n.backgroundColor="transparent",n.addEventListener(Tn,function(){ke("Please wait, it may take a few minutes while we build your PDF file."),i.events.dispatchEvent("lightboxDownloadPdf")}),n.addEventListener(dn,function(){this.style.textDecoration="underline"}),n.addEventListener(pn,function(){this.style.textDecoration="none"}),n.style.cursor="pointer",i.addChild(n)),/zip/.test(Ai.lightboxDownloadOptions)&&(o=new Je,o.textTransform="uppercase",o.text="zip ↓",o.position="relative",o.element.style.padding="0 20px",o.element.style.margin="0 10px",o.height=38,o.fontFamily=Ai.menuFont,o.fontSize=16,o.fontColor=l,o.element.style.flexGrow=1,o.backgroundColor="transparent",o.addEventListener(Tn,function(){ke("Please wait, it may take a few minutes while we build your ZIP file."),i.events.dispatchEvent("lightboxDownloadZip")}),o.addEventListener(dn,function(){this.style.textDecoration="underline"}),o.addEventListener(pn,function(){this.style.textDecoration="none"}),o.style.cursor="pointer",i.addChild(o));var e=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];r=new pa(i,{userOverride:!0,backgroundColor:m,alpha:v,blurLayers:e,zIndex:99}),r.zIndex=99,i.open(),r.onClose=function(){p=!1},i.overlay=r,r.overlayResize(),p=!0}var i=new ba({events:e.events});i.display="flex",i.element.style.alignItems="center",i.element.style.padding="0px 10px";var n,o,a,r,l,s,d=.9*Ca.width>530?530:.9*Ca.width,c=78,h=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),u=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);h?(l=Ai.inputOverlayFontColor,s=Ai.inputOverlayBarColor):u?(l=Ai.menuOverlayFontColor,s=Ai.menuOverlayBgColor):(l="#000000",s="#FFFFFF");var p,m=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",v=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return i.updateSpeed=0,i.addEventListener(Lo,function(e){}),i.updatePosition=function(e){d=.9*Ca.width>800?800:.9*Ca.width,n.x=d-.5*(c-n.width),i.width=d,i.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-d),i.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-c),i.updateSpeed=yo},i.close=function(){p=!1,r.close()},i.open=function(t){t&&(e.section=t),r.open(),setTimeout(function(){},100),p=!0},t(),i}function Fe(e){function t(){u.width=p,u.height=m,l=new ba,l.backgroundColor=h,l.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",l.borderRadius=2,l.width=p,l.height=m,r=new et,r.backgroundColor="transparent",r.fontFamily=Ai.menuFont,r.fontColor=c,r.fontSize=16,r.height=m,r.x=0,r.y=0,r.element.style.padding="0px 46px",r.addEventListener(nn,a),r.addEventListener(on,o),r.element.addEventListener(Tn,function(e){e.stopPropagation()}),r.element.tabIndex=1,u.setMessage("PASSWORD"),s=new ya;var e=new nt;e.d=wa.arrowRight,e.strokeWidth=3,e.fill="none",e.stroke=c,s.addChild(e),s.width=11,s.height=15,s.x=p-.5*(m-s.width),s.y=.5*(m-s.height),s.alpha=.5,s.cursor="pointer",s.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),s.addEventListener(pn,function(){qe(this,yo,{alpha:.5})}),r.width=p-m-96,u.addChild(l),u.addChild(r),u.addChild(s);var t=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];d=new pa(u,{userOverride:!0,backgroundColor:b,alpha:C,blurLayers:t,zIndex:99}),d.zIndex=99,u.open(),d.onClose=function(){f=!1,r.removeEventListener(fn,i),s.removeEventListener(Tn,n)},u.overlay=d,d.overlayResize(),f=!0}function i(e){f&&13===e.keyCode&&n(e)}function n(t){u.events.dispatchEvent("SITE_SERVICE_PASSWORD_CHECK",{sectionKey:e.section.key,value:r.value})}function o(e){Ca.isInputFocus=!1,""===r.value&&u.setMessage("PASSWORD")}function a(e){Ca.isInputFocus=!0,r.value=""}var r,l,s,d,c,h,u=new ba({events:e.events}),p=.9*Ca.width>800?800:.9*Ca.width,m=78,v=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),g=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);v?(c=Ai.inputOverlayFontColor,h=Ai.inputOverlayBarColor):g?(c=Ai.menuOverlayFontColor,h=Ai.menuOverlayBgColor):(c="#000000",h="#FFFFFF");var f,b=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",C=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return u.updateSpeed=0,u.addEventListener(Lo,function(e){}),u.updatePosition=function(e){p=.9*Ca.width>800?800:.9*Ca.width,s.x=p-.5*(m-s.width),r.width=p-m-96,l.width=p,u.width=p,u.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-p),u.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-m),u.updateSpeed=yo},u.close=function(){f=!1,r.removeEventListener(fn,i),s.removeEventListener(Tn,n),d.close()},u.setMessage=function(e){r.value=e},u.open=function(t){t&&(e.section=t),d.open(),setTimeout(function(){r.addEventListener(fn,i),s.addEventListener(Tn,n)},100),f=!0},t(),u}function Ae(e){function t(){b.width=C,b.height=w,h=new ba,h.backgroundColor=f,h.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",h.borderRadius=2,h.width=C,h.height=w,c=new et,c.backgroundColor="transparent",c.fontFamily=Ai.menuFont,c.fontColor=g,c.fontSize=16,c.height=w,c.x=0,c.y=0,c.element.style.padding="0px 46px",c.addEventListener(nn,d),c.addEventListener(on,s),c.element.addEventListener(Tn,function(e){e.stopPropagation()}),c.element.tabIndex=1,b.setMessage("Search"),u=new ya,x=new nt,x.d=wa.search,x.fill=g,x.fillRule="evenodd",u.addChild(x),u.width=25,u.height=25,u.x=C-u.width-24,u.y=.5*(w-u.height),u.alpha=.5,u.cursor="pointer",u.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),u.addEventListener(pn,function(){qe(this,yo,{alpha:.5})}),c.width=C-w-92,m=new ba,m.display="flex",m.width=C-20,m.x=20,m.y=w,m.zIndex=-1,v=new ya,v.element.style["user-select"]="none",v.alpha=0,v.x=4,v.width=14,v.height=14,v.transition=.25,v.cursor="pointer",v.addEventListener("click",function(){a(c.value),c.value=""}),v.alpha=0,M=new nt,M.d=wa.plusSmall,M.strokeWidth=2,M.fill="none",M.stroke=g,v.addChild(M),b.addChild(v),b.addChild(h),b.addChild(c),b.addChild(u),b.addChild(m);var e=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];p=new pa(b,{userOverride:!0,backgroundColor:E,alpha:z,blurLayers:e,zIndex:99}),p.onClose=function(){T=!1,c.removeEventListener(fn,r),u.removeEventListener(Tn,l)},b.open(),b.overlay=p,p.overlayResize(),T=!0}function i(e){m.text="",e=e.filter(function(e,t,i){return i.indexOf(e)===t}).map(n),e.forEach(function(e){m.addChild(e)})}function n(e){var t=new ba;t.position="relative",t.backgroundColor=V(f,.35),t.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",t.borderRadius=20,t.display="flex",t.element.style.padding="3px 8px 3px 10px",t.element.style.margin="8px 0 0 8px";var n=new Je;n.position="relative",n.background="transparent",n.fontSize=12,n.fontFamily=Ai.menuFont,n.color=g,n.text="×",n.alpha=.2,n.top=0,n.cursor="pointer",n.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),n.addEventListener(pn,function(){qe(this,yo,{alpha:.2})});var o=new ba;return o.position="relative",o.color=g,o.fontSize=12,o.fontFamily=Ai.menuFont,o.paddingRight=7,o.text=e,n.addEventListener("click",function(){y=y.filter(function(t){return e!==t}),i(y)}),t.addChild(o),t.addChild(n),t}function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e){""===c.value||c.isPlaceholder||(y=y.concat(c.value.split(",").map(o)),i(y)),v.y=w+4+.5*((m.element.offsetHeight||25)-14)}function r(e){T&&(13===e.keyCode?""===c.value||c.isPlaceholder?y.length&&l():(a(c.value),c.value="",l()):(v.y=w+4+.5*((m.element.offsetHeight||25)-14),v.alpha=""===c.value||c.isPlaceholder?0:1,c.isPlaceholder=!1))}function l(t){c.value&&!c.isPlaceholder&&(y=y.concat(c.value.split(",").map(o))),y.length&&b.events.dispatchEvent("SEARCH_SUBMIT",Object.assign({},e.navEvent,{searchTerm:y.join(","),searchSubmit:!0}))}function s(e){Ca.isInputFocus=!1,""===c.value&&b.setMessage("Search")}function d(e){Ca.isInputFocus=!0,c.isPlaceholder&&(c.value="")}var c,h,u,p,m,a,v,g,f,b=new ba({events:e.events}),C=.9*Ca.width>800?800:.9*Ca.width,w=78,y=e.tags||[],L=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),S=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);L?(g=Ai.inputOverlayFontColor,f=Ai.inputOverlayBarColor):S?(g=Ai.menuOverlayFontColor,f=Ai.menuOverlayBgColor):(g="#000000",f="#FFFFFF");var x,M,T,E=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",z=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return b.updateSpeed=0,b.addEventListener(Lo,function(e){}),b.updatePosition=function(e){C=.9*Ca.width>800?800:.9*Ca.width,u.x=C-u.width-24,c.width=C-w-92,h.width=C,m.width=C,v.y=w+4+.5*((m.element.offsetHeight||25)-14),b.width=C,b.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-C),b.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-w),b.updateSpeed=yo},b.setMessage=function(e){c.value=e,c.isPlaceholder=!0},b.setTags=function(e){y=e},b.setSortBy=function(e){},b.close=function(){T=!1,c.removeEventListener(fn,r),u.removeEventListener(Tn,l),p.close()},b.blur=function(){c.element.blur()},b.open=function(t){t&&(e.section=t),p.open(),i(y),setTimeout(function(){c.addEventListener(fn,r),u.addEventListener(Tn,l)},100),T=!0},t(),b}function Pe(e,t,i){var n=new De({type:i.type,hRange:i.hRange,vRange:i.vRange,width:i.width||e.width,height:i.height||e.height,disableOrientationCheck:i.disableOrientationCheck}),o=new xe({hRange:i.hRange,vRange:i.vRange,hAlign:i.hAlign,vAlign:i.vAlign,width:n.width,height:n.height}),a={x:Math.round(o.x),y:Math.round(o.y),width:n.width,height:n.height,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 i.onComplete&&(a.onComplete=i.onComplete),e&&qe(e,t,a),{scale:n,align:o}}function He(e){function t(e){var t=e.match(/[@]([0-9]*\.?[0-9]+)?[x]/i),i=e.match(/__at__([0-9]*\.?[0-9]+)?x/i);return t?Number(t[1]):i?Number(i[1]):1}var i=e.width,n=e.height,o=t(e.filename);return{width:Math.round(i/o),height:Math.round(n/o)}}function De(e){function t(){return m=d/c,"fit"===l||"native"===l?mp}function i(){p=h/u,n(),"fitWidth"===e.type||t()?(h=d,u=d/p):c?(h=c*p,u=c):(h=d,u=d/p),"native"===e.type&&(h>e.width||u>e.height)&&(h=e.width,u=e.height)}function n(){s||o(h,u,d,c)||r(h,u)||(l="fit")}function o(e,t,i,n){return a(e,t)===a(i,n)}function a(e,t){return e>t}function r(e,t){return e===t}e=e||{};var l=e.type||"fit",s=e.disableOrientationCheck||!1,d=e.hRange,c=e.vRange,h=e.width||0,u=e.height||0,p=-1,m=-1;return i(),{set hRange(e){d=e},set vRange(e){c=e},set type(e){l=e},get type(){return l},set width(e){h=e},set height(e){u=e},get width(){return h},get height(){return u}}}function Re(e,t,i){function n(e,t){e>t?u.alignSave||(u.alignSave=u.align,u.align="width"===u.dim?"left":"top",l=u.alignment()):(u.alignSave&&(u.align=u.alignSave,delete u.alignSave),l=u.alignment())}function o(e,t){e1?1:e,l=e},get position(){return s},set position(e){s=e},get scrollDist(){return d},set scrollDist(e){d=e},get ing(){return c},set ing(e){c=e}};u.perpAxis="x"===i.axis?"y":"x",u.dim="x"===i.axis?"width":"height",u.perpDim="x"===i.axis?"height":"width",u.alpha=isNaN(i.alpha)?.35:i.alpha;var p=!1,m="width"===u.dim?"offsetWidth":"offsetHeight";return u.alignment=function(){switch(u.align){case"middle":case"center":return.5;case"right":case"bottom":return 1;default:return 0}},u.scrollTo=function(e){u.bar&&u.bar.scrollTo(e,0)},u.update=function(t,a,c){t=t||0,p||(p=!0,c||u.dispatchEvent("scrollStart"));var v=u.mask.element[m],g=(u.margin||u.marginTop)+e.element[m]+(u.margin||u.marginBottom);if(g&&v){d=g-v,u.captionScroll?n(g,v):o(g,v),s=-(d*l)+(u.margin||u.marginTop);var f={};e.transition=0,"translate"===u.property?f["translate"+i.axis.toUpperCase()]=na.round(s):f[i.axis]=na.round(s),f.ease="cubic-bezier(0.5, 0.5, 0.5, 0.8)",u.hvr&&(f.onUpdate=function(){u.dispatchEvent(io)}),qe(e,t,f),u.bar&&u.bar.moveHandle(0),u.bar&&"when scrolling"===u.visibility&&(u.bar.show(),u.bar.checkVisible()),clearTimeout(r),r=setTimeout(function(){h||u.dispatchEvent("scrollStop"),u.bar&&"when scrolling"===u.visibility&&(u.bar.hide(),u.bar.checkVisible()),p=!1,u.bar&&u.bar.resize(),h=!1},200)}},u.resize=function(e){u.update(e||0,!1,!0),u.bar&&u.bar.resize()},u.destroy=function(){u.bar&&u.bar.destroy(),u.wheel&&u.wheel.destroy(),u.hvr&&u.hvr.destroy(),u.touch&&u.touch.destroy()},u.hide=function(){u.bar&&(u.bar.hide(),u.bar.checkVisible())},u.show=function(){u.bar&&(u.bar.show(),u.bar.checkVisible())},u.enable=function(){u.disabled=!1,u.bar&&u.bar.enable()},u.disable=function(){u.disabled=!0,u.bar&&u.bar.disable()},u.setAlpha=function(e){u.bar&&u.bar.setAlpha(e)},u.getBack=function(){return u.bar?u.bar.getBack():null},a(),u.resize(),u.update(),ma.register(u),u}function Be(e){function t(t){var i="when scrolling"===e.visibility?.5:1;!e.active&&/hidden/.test(e.visibility)&&(i=0),qe(v,.35,{alpha:i,backgroundColor:e.hover})}function i(t){!e.ing&&/when scrolling|hidden/.test(e.visibility)&&qe(v,.35,{alpha:0,backgroundColor:e.color})}function n(t){var i="when scrolling"===e.visibility?.5:1;!e.active&&/hidden/.test(e.visibility)&&(i=0),qe(v,.35,{alpha:i,backgroundColor:e.hover}),u=r(t)-m[e.axis]-v[e.axis],Ca.addEventListener(un,a,!1),Ca.addEventListener(hn,o,!1),Ca.addEventListener(ln,a,!1),Ca.addEventListener(rn,o,!1)}function o(t){e.ing===!1&&(e.ing=!0,t.preventDefault()),window.getSelection().removeAllRanges(),h=r(t)-u-m[e.axis],e.percent=(h-m[e.axis])/(m[e.dim]-v[e.dim]),e.update(0),e.dispatchEvent(io)}function a(t){setTimeout(function(){e.ing=!1},10),qe(v,.35,{backgroundColor:e.color}),Ca.removeEventListener(hn,o),Ca.removeEventListener(un,a),Ca.removeEventListener(ln,a,!1),Ca.removeEventListener(rn,o,!1)}function r(t){return"x"===e.axis?O(t):I(t)}function l(){return"x"===e.axis?e.offsetX:e.offsetY}function s(){return"y"===e.axis?e.offsetX:e.offsetY}var d=e.obj,c=e.mask,h=0,u=0,p=!0,m=this.back=new ba;m.alpha=0,m.selectable=!0,m.backgroundColor=e.color,e.zIndex&&(m.zIndex=e.zIndex),e.parent.addChild(m);var v=this.handle=new ba;v.alpha=0,v.backgroundColor=e.color,e.zIndex&&(v.zIndex=e.zIndex),v.selectable=!1,v.cursor="default",v.borderRadius=e.rounded?Math.ceil(e.width/2):0,v.style.pointerEvents="auto",e.parent.addChild(v),v.addEventListener(dn,t),v.addEventListener(pn,i),v.addEventListener(cn,n),v.addEventListener(an,n),this.moveHandle=function(t){v.transition=t||0,v[e.axis]=(m[e.dim]-v[e.dim])*e.percent+m[e.axis],"hidden"===e.visibility?v.alpha=0:"when scrolling"===e.visibility?v.alpha=.5:v.alpha=1},this.resize=function(){m.transition=yo,v.transition=yo,m[e.perpDim]=e.width,m[e.dim]=c[e.dim],e.parent===c?m[e.axis]=l():m[e.axis]=c[e.axis]+l(),v[e.perpDim]=e.width,"left"===e.side||"top"===e.side?(m[e.perpAxis]=c[e.perpAxis]-e.width+s(),v[e.perpAxis]=c[e.perpAxis]-e.width+s()):(m[e.perpAxis]=c[e.perpAxis]+c[e.perpDim]+s(),v[e.perpAxis]=c[e.perpAxis]+c[e.perpDim]+s()),this.moveHandle(0),setTimeout(this.checkVisible,0)},this.checkVisible=function(){m.style.transition="opacity 750ms",v.style.transition="opacity 750ms";var t="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),i=c.element[t],n=(e.margin||e.marginTop)+d.element[t]+(e.margin||e.marginBottom),o=i/n*i;o=m[e.dim]?(m.transition=0,m.alpha=0,m.display="none",v.transition=0,v.alpha=0,v.display="none",v[e.dim]=m[e.dim],e.scrollTo(0,0)):(qe(m,.35,{alpha:0,onComplete:function(){this.dislplay="none"}}),qe(v,.35,{alpha:0,onComplete:function(){setTimeout(function(){v.dislplay="none"},200),e.scrollTo(0,0)}}))},this.destroy=function(){e.parent.removeChild(v),e.parent.removeChild(m),v.removeEventListener(dn,t),v.removeEventListener(pn,i),v.removeEventListener(cn,n),v.removeEventListener(an,n)},this.setAlpha=function(e){v.alpha=m.alpha=e},this.getBack=function(){return m},this.scrollTo=function(e){},this.hide=function(){p=!1},this.show=function(){p=!0},this.disable=function(){v.removeEventListener(dn,t),v.removeEventListener(pn,i),v.removeEventListener(cn,n),v.removeEventListener(an,n)},this.enable=function(){v.addEventListener(dn,t),v.addEventListener(pn,i),v.addEventListener(cn,n),v.addEventListener(an,n)}}function je(e){function t(t){e.active&&!e.ing&&e.dispatchEvent("WINDOW_SCROLL_TOP")}function i(t){ma.setActive(e),r=o(t),l=e.percent||0,e.mask.addEventListener(ln,a),e.mask.addEventListener(rn,n)}function n(t){e.ing===!1&&(e.ing=!0,ae()&&!Ri.podUseDesktop&&window.scrollTo(0,1),t.preventDefault()),s=o(t)-r,e.percent=-(s/e.scrollDist)+l,e.percent=e.percent<0?0:e.percent,e.percent=e.percent>1?1:e.percent,e.update(0),e.dispatchEvent(io)}function o(t){return"x"===e.axis?uo?event.touches[0].pageX:event.clientX:uo?event.touches[0].pageY:event.clientY}function a(t){e.ing=!1,e.mask.removeEventListener(ln,a),e.mask.removeEventListener(rn,n)}var r=0,l=0,s=0;e.mask.addEventListener(an,i),ae()&&e.scrollTopCheck&&window.addEventListener("scroll",t),this.destroy=function(){r&&(e.ing=!1,e.mask.removeEventListener(ln,a),e.mask.removeEventListener(rn,n))}}function _e(e){function t(){var t="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),i=(e.margin||e.marginTop)+e.obj.element[t]+(e.margin||e.marginBottom),n=i-e.mask.element[t];return n>0}function i(){t()&&(s=!0,ma.focusTarget=l,Ca.addEventListener(vn,o,!1),Ca.addEventListener(mn,o,!1))}function n(){s=!1,Ca.removeEventListener(vn,o,!1),Ca.removeEventListener(mn,o,!1)}function o(t){if(e.active){var i="x"===e.axis?t.deltaX:t.deltaY;(Math.abs(t.deltaX)>Math.abs(t.deltaY)&&"x"===e.axis||Math.abs(t.deltaY)>Math.abs(t.deltaX)&&"y"===e.axis)&&(e.percent>=0&&e.percent<1&&i>0?(a(i),t.preventDefault()):e.percent>0&&e.percent<=1&&i<0&&(a(i),t.preventDefault()))}}function a(t){t="bottom"===e.align?t=-t:t,isNaN(e.percent)&&(e.percent=0);var i="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),n=(e.margin||e.marginTop)+e.obj.element[i]+(e.margin||e.marginBottom),o=n-e.mask.element[i],a=e.percent+t/o;e.percent=a<0?0:a,e.percent=a>1?1:a,e.update(0),e.dispatchEvent(io)}var r=e.mask,l=this,s=!1;e.active=!1,r.addEventListener(dn,i),r.addEventListener(pn,n),this.destroy=function(){r.removeEventListener(dn,i),s&&n()}}function We(e){function t(){e.mask.addEventListener(hn,o),Ca.addEventListener(hn,i)}function i(t){e.mask.hitTestPoint(O(t),I(t))?c=!0:c&&(c=!1,n())}function n(){clearTimeout(r),e.mask.removeEventListener(hn,o),Ca.removeEventListener(hn,i)}function o(t){l.enabled&&(r=setTimeout(function(){var i="x"===e.axis?t.mouseX:t.mouseY,n="offset"+e.dim[0].toUpperCase()+e.dim.substr(1);s=i/e.mask.element[n],0===s&&i>.5*e.mask.element[n]?s=.98:0===s&&i<.5*e.mask.element[n]&&(s=.15),e.percent=s>.5?1:0;var o=e.position,r=e.obj._private[e.axis],l=Math.abs(o-r),h=Math.abs(l)/e.maxSpeed;if(d+=.1*(h-d),d+=.1*(a()-d),e.update(d,!0),e.dispatchEvent(io),!c){var u,p={};u="x"===e.axis?e.obj.element.offsetLeft:e.obj.element.offsetTop,p[e.axis]=na.round(u),qe(e.obj,1,p)}},50))}function a(){var t=s<.5?2*s:s*-2+2;return Math.round(Math.pow(t,5)*e.maxSpeed+e.minSpeed)}var r,l=this,s=0,d=0,c=!1;return l.enabled=!0,l.destroy=n,e.mask.addEventListener(dn,t),l}function Ne(e){function t(e,t,n){return f.wrap?t:i(e,t,n)}function i(e,t,i){return"x"===e&&"center"===f.align||"y"===e&&"middle"===f.align?.5*(f.perpLength-i):"x"===e&&"right"===f.align||"y"===e&&"bottom"===f.align?f.perpLength-i:t}function n(t){if("y"===f.axis){var i=b[t].width;"thumbs"===e.name&&/fill|vMasonry/.test(e.type)&&(i=r(v+1,f.numberOfColumns)?f.lastColumnWidth:f.gridWidths),f.isWrap=w[g]&&b[t]&&w[g].size+i>f.perpLength,!f.wrap||f.isWrap?(g+=1,v=0):f.wrap&&!f.horizontalMasonry&&(v+=1)}else!f.wrap||C[v]&&b[t]&&C[v].size+b[t].height>f.perpLength?(v+=1,g=0):f.wrap&&(g+=1)}function o(e,t){for(var i=t.length,n=t[0]&&t[0].size?t[0].size:0;i--;)t[0]&&t[i].size<=n&&(n=t[i].size,e=i);return e}function a(e){for(var t=e.length,i=0;t--;)e[t]&&e[t].size>i&&(i=e[t].size);return i}function r(e,t){return e===t-1}function l(e){return!!e.ids.filter(function(e){return b[e].isDoubleSize}).length}function s(e){var t=b[e.ids[0]],i=t.isDoubleSize?Math.round(.5*(t.height-f.vGap)):t.height;return l(e)?2*i+f.vGap:i}function d(e){if(y.length)for(var t=0,i=y.length;tw+g?(c="top",h=b,m=v):b+v1&&(B=f.perpLength-R),A.x=Math.round(B),A.y=Math.round(z),A.height=Math.round(H),A.width=Math.round(R),r.scaledSize=A.x+A.width,r.remainder=F}r.gapRowIds=r.gapRowIds.map(function(t){return e[t].id=t,e[t]}).sort(function(e,t){return e.xt.x?1:0}).map(function(e){return e.id});for(var j=0,_=r.gapRowIds.length;j<_;j++){var F,A=e[r.gapRowIds[j]],P=e[r.gapRowIds[j-1]],H=V,D=p(j,_),R=H*(A.width/A.height),B=P?P.x+P.width+f.hGap:0;A.isDoubleSize||(u(/gap|equal/,c)&&D&&(F=n-(B+R),B+R1&&b[p].isDoubleSize){if(r(i,f.numberOfColumns)){var P=b[p],H=C[i].size,D=C[i-1].size,R=(i-1)*(x+f.hGap);if(M=t("x",R,x),D<=H){var B=H-D;y.push({x:t("x",R,x),y:D,size:B,isLastColumn:!0}),C[i].size+=P.height+f.vGap,C[i-1].size+=P.height+B+f.vGap}else{var B=D-H,j=i*(x+f.hGap);y.push({x:t("x",j,x),y:C[i].size,size:B,isLastColumn:!0}),V=D,C[i-1].size+=P.height+f.vGap,C[i].size+=P.height+B+f.vGap}C[i].ids.push(p)}else{var _=0;C[i+1]&&C[i+1].size>C[i].size&&(_=C[i+1].size-C[i].size,y.push({x:t("x",M,x),y:C[i].size,size:_}),V=C[i+1].size),C[i].size+=b[p].height+f.vGap+_,C[i+1]||(C[i+1]={size:0,ids:[]}),C[i+1].size+=b[p].height+f.vGap}C[i].ids.push(p)}else C[i].ids.push(p),C[i].size+=b[p].height+f.vGap;S===!1&&(b[p].x=t("x",M,x),b[p].y=t("y",V,T))}f.isWrap=!1}if(f.horizontalMasonry){var W;if(0===w[u].ids.length&&(W=w.pop()),f.masonryFill&&w.length>1){C[0].size=0;for(var N,X=f.perpLength,Y=.5*X,p=0,L=w.length;p-i||n<-i}function r(){m&&!v?(n(),d=requestAnimationFrame(r)):m||(gd.width?(h.x=d.width-(w+h.width+b),d.x=e.pageX-d.width+w+h.point+b):(h.x=t-(w-h.width),d.x=e.pageX-t)}function n(e){e.pageY=na.abs(n)?i>0?"right":"left":na.abs(i)0?"down":"up")}function a(t){d=(new Date).getTime();var i=r(s,d,t.pageX-u);e.events.dispatchEvent(jo,{flickSpeed:i,isMove:w,swipeDirection:c.swipeDirection}),c.startdrag=!1,c.swipeDirection=!1,w=!1,sectionEnd=!1,f=0}function r(e,t,i){var n=1,o=.7,a=(t-e)/Math.abs(i);return a>n&&(a=n),a=na.abs(t)?e>0?"right":"left":na.abs(e)0?"down":"up")}function a(t){if(c.startdrag&&Ca.zoom<=1){d=(new Date).getTime();var i=r(s,d,u-m);e.events.dispatchEvent(jo,{flickSpeed:i,isMove:w,swipeDirection:c.swipeDirection}),c.startdrag=!1,c.swipeDirection=!1,w=!1,sectionEnd=!1,f=0,u=0,p=0}}function r(e,t,i){var n=1,o=.5,a=(t-e)/Math.abs(i);return a>n&&(a=n),a-1?o():n()},1e3*g)}function n(){l(),r()}function o(){s(),a()}function a(){if(!document.getElementById("likesrc")){var e=document.createElement("script");e.setAttribute("id","likesrc"),e.setAttribute("type","text/javascript"),e.setAttribute("src","https://connect.facebook.net/en_US/all.js#xfbml=1"),document.getElementsByTagName("head")[0].appendChild(e)}}function r(){if(!document.getElementById("plus1src")){var e=document.createElement("script");e.setAttribute("id","plus1src"),e.setAttribute("type","text/javascript"),e.setAttribute("src","https://apis.google.com/js/plusone.js"),document.getElementsByTagName("head")[0].appendChild(e)}}function l(){if(Ue.plusDiv)Ue.plusDiv.alpha=0,Ue.plusDiv.display="block",u(Ue.plusDiv,0),Ue.plusDiv.alpha=1;else{var e=c("plus1",100,40);e.overflow="hidden",e.text="";var i=h();i.x=e.width-2,i.y=2,e.addChild(i),Ca.addChild(e),Ue.plusDiv=e,Ue.plusClose=i}Ue.plusClose.addEventListener(Tn,p)}function s(){if(Ue.likeDiv)Ue.likeDiv.alpha=0,Ue.likeDiv.display="block",u(Ue.likeDiv,0),Ue.likeDiv.alpha=1;else{var e=c("like",320,40);e.overflow="visible",e.text="";var t=h();t.x=e.width-2,t.y=2,e.addChild(t),Ca.addChild(e),Ue.likeDiv=e,Ue.likeClose=t}Ue.likeClose.addEventListener(Tn,p)}function d(){v.backgroundColor=V("#000000",.65),v.width=Ca.width,v.alpha=0,v.addEventListener(Tn,p),m.addChild(v),v.height=Ca.height,Ca.addChild(m),qe(v,g,{alpha:1})}function c(e,t,i){var n=new ba;return n.element.setAttribute("id",e),n.backgroundColor=V("#FFFFFF",.85),n.x=.5*(Ca.width-t),n.y=.5*(Ca.height-i),n.width=t,n.height=i,n.paddingTop=20,n.paddingBottom=2,n.paddingLeft=15,n.zIndex=2e3,n}function h(){var e=new ya;e.width=14,e.height=14,e.rotate=0;var t=new nt;return t.id="icon",t.d=wa.close,t.strokeWidth=2,t.fill="none",t.stroke="#555",e.addChild(t),e}function u(e,t){if(e&&"block"===e.style.display){var i=.5*(Ca.width-e.width),n=.5*(Ca.height-e.height);qe(e,t,{x:i,y:n})}}function p(e){e.target.removeEventListener(Tn,p),qe(v,g,{alpha:0,onComplete:function(){Ca.removeChild(m)}}),Ue.plusDiv&&(Ue.plusDiv.display="none"),Ue.likeDiv&&(Ue.likeDiv.display="none")}var m=new st({events:e.events}),v=new ba,g=.35;return m.overflow="hidden",m.events.addEventListener(tn,function(e){m.resize()}),i(),m.resize=function(){qe(v,g,{width:Ca.width,height:Ca.height}),u(Ue.plusDiv,g),u(Ue.likeDiv,g)},m}function qe(e,t,i){function n(){i.onInit&&o(),setTimeout(r,1e3*t),i.onUpdate&&(d=requestAnimationFrame(a)),l(t);var e;for(e in i)/delay|ease|overwrite|css|onComplete|onCompleteScope|onCompleteParams|onUpdate|onUpdateScope|onUpdateParams|onInit|onInitScope|onInitParams/.test(e)||s(e,i[e])}function o(){i.onInit.apply(i.onInitScope||e,i.onInitParams||[!1])}function a(){d&&(d=requestAnimationFrame(a)),i.onUpdate.apply(i.onUpdateScope||e,i.onUpdateParams||[!1])}function r(t){d&&cancelAnimationFrame(d),i.onComplete&&i.onComplete.apply(i.onCompleteScope||e,i.onCompleteParams||[!1]),i={},l(0)}function l(t){t?(t="all "+t+"s",i.ease&&(t+=" "+i.ease)):t="",e&&e.style&&(e.style.WebkitTransition=t,e.style.MozTransition=t,e.style.OTransition=t,e.style.transition=t)}function s(t,i){e&&e.element?e[t]=i:e&&e.style&&(e.style[t]=i)}if(this===window)return new qe(e,t,i);var d,c=i.delay||0;this.destroy=function(){delete i.onComplete},setTimeout(n,1e3*c)}function Ke(e){e=e||{},e.type="img",e.className="Bitmap";var t=new ba(e);return t.element.style["user-select"]="none",t}function Je(e){e=e||{},e.type="button",e.className="Button";var t=new ba(e);return t.borderRadius=0,t.enable=function(){this.alpha=1,this.element.removeAttribute("disabled")},t.disable=function(){this.alpha=.25,this.element.setAttribute("disabled",!0)},t}function Qe(e){var t=e||{};t.events=t.events||new $e;var i,n={listeners:t.events.listeners,dispatchEvent:t.events.dispatchEvent,addEventListener:t.events.addEventListener,removeEventListener:t.events.removeEventListener};for(i in n)t[i]=n[i];return t}function $e(){function e(e,t){for(var i=t.length;i--;)if(e.callback===t[i].callback&&e.target===t[i].target)return!0;return!1}var t=!1;return{listeners:{},addEventListener:function(t,i){this.listeners[t]||(this.listeners[t]=[]);var n={type:t,callback:i,target:this};e(n,this.listeners[t])||this.listeners[t].push(n)},removeEventListener:function(e,t){if(!this.listeners[e],t&&"function"==typeof t){if(this.listeners[e])for(var i=0,n=this.listeners[e].length;i-264?a.y-=24:a.y=0)}e=e||{};var i=(e.type||"spinner",e.alpha||.75),n=e.color||"#FFFFFF",o=new ba;o.width=24,o.height=24,o.alpha=i,o.overflow="hidden";var a=new Ke;a.width=24,a.height=288,"#FFFFFF"===n?a.src=vo+"loader1.png":a.src=vo+"loader2.png",o.addChild(a);var r=setInterval(t,80);return o.removeLoader=function(){clearInterval(r)},o}function it(){function e(){d&&d(function(){r.zoom<=1&&!r.isInputFocus&&(document.body.style["-webkit-overflow-scrolling"]="touch")})}var t,i=!1,n=1,o={},a="Stage",r={children:[],dragElements:[],activeFocus:void 0,isInputFocus:void 0,element:document.body,listeners:fa.listeners,dispatchEvent:fa.dispatchEvent,addEventListener:fa.addEventListener,removeEventListener:fa.removeEventListener,addChild:function(e){e.element.parentNode||document.body.appendChild(e.element),e.parent=this,this.children.push(e),e.dispatchEvent(Lo,e)},get topParentName(){return a},addChildAt:function(e,t){},removeChild:function(e){e.events&&e.events.removeAllListeners(e),e.removeLoader&&e.removeLoader(),e.element.parentNode&&document.body.removeChild(e.element);for(var t=this.children.length;t--;)this.children[t]===e&&this.children.splice(t,1);e=null},removeChildren:function(e){if(e&&e.children&&e.children.length>0)for(var t=e.children.length;t--;)this.removeChildren(e.children[t]),e.removeChild(e.children[t])},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},domContentLoaded:function(){t||(setTimeout(function(){r.element=document.body,i||(document.body.style.overflow="hidden"),document.body.style.margin=0,document.body.style.padding=0,r.dispatchEvent($i,r)},10),t=!0)},documentReadyListener:function(){function e(e){return Object.keys(e).map(function(t){return e[t]})}function t(e){return e.reduce(function(e,t){return t&&t.override&&(t.overrides.captionFont&&e.push(t.overrides.captionFont),t.overrides.pageTextFont&&e.push(t.overrides.pageTextFont),t.overrides.pageTitleFont&&e.push(t.overrides.pageTitleFont)),t&&t.thumb&&t.thumb.titleFont&&e.push(t.thumb.titleFont),e},[])}function i(e,t,i){return i.indexOf(e)===t}function n(e,t,i){var n=x(e);return"system"!==n.service}function o(e){return e.reduce(function(e,t){if(!t)return e;var i=x(t);if(i&&i.family&&i.weight&&i.charset&&i.service){e[i.service]||(e[i.service]={families:[]});var n=i.family,o=i.weight.join(","),a=i.charset;e[i.service].families.push(n+":"+o+":"+a)}return e},{})}var a=[Ai.captionFont,Ai.contactFont,Ai.contactTitleFont,Ai.copyrightFont,Ai.logoFont,Ai.menuFont,Ai.navbarFont,Ai.pageTextFont,Ai.pageTitleFont,Ai.thumbnailTitleFont,Ai.thumbnailTitleBlockFont||""];!Fi&&Ai.menuFontMobile&&a.push(Ai.menuFontMobile),!Fi&&Ai.menuFontTablet&&a.push(Ai.menuFontTablet),!Fi&&Ai.mobileLogoFont&&a.push(Ai.mobileLogoFont),!Fi&&Ai.tabletLogoFont&&a.push(Ai.tabletLogoFont),WebFontConfig={loading:function(){},fontloading:function(e,t){},fontactive:function(e,t){},fontinactive:function(e,t){},active:function(){r.domContentLoaded(),r.style=document.body.style,r.element=document.body},inactive:function(){r.domContentLoaded(),r.style=document.body.style,r.element=document.body}};var l=a.concat(t(e(Di))).filter(i).filter(n),s=o(l);s.google&&(WebFontConfig.google=s.google),s.typekit&&Ri.typekitId&&(WebFontConfig.typekit={id:Ri.typekitId}),s.custom&&Ri.customFonts.length&&(WebFontConfig.custom=s.custom,WebFontConfig.custom.urls=["https://"+window.location.host+"/css"]),WebFontConfig.custom||WebFontConfig.google||(r.domContentLoaded(),r.style=document.body.style,r.element=document.body)},globalToLocal:function(e){return{x:e.x,y:e.y}},localToGlobal:function(e){return{x:e.x,y:e.y}},event:function(e){var t={type:e.type,target:e.target,currentTarget:e.target,x:e.x,y:e.y,keyCode:e.which,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY,mouseX:e.clientX-r.stageX,mouseY:e.clientY-r.stageY,deltaX:e.deltaX||-e.wheelDeltaX||0,deltaY:e.deltaY||-e.wheelDeltaY||0,preventDefault:function(){e.preventDefault()},stopPropagation:function(){e.stopPropagation()},dataTransfer:e.dataTransfer};"Windows"===oa?(t.deltaX=Math.max(-50,Math.min(50,e.deltaX)),t.deltaY=Math.max(-50,Math.min(50,e.deltaY)),"Firefox"===aa&&(t.deltaX=20*e.deltaX,t.deltaY=20*e.deltaY)):"Firefox"===aa&&"Macintosh"===oa&&1===e.deltaMode&&(t.deltaX=20*e.deltaX,t.deltaY=20*e.deltaY),e.touches&&(t.touches=e.touches),e.type!==vn&&e.type!==mn||(t.type=mn),e.type!==en&&e.type!==so&&e.type!==co&&e.type!==ro||(n=window.visualViewport?window.visualViewport.scale:oe()||le()?document.documentElement.clientWidth/window.innerWidth:document.documentElement.clientHeight/window.innerHeight,n=n<1?1:n),ma&&e.clientX&&e.clientY&&ma.hitMask(e.clientX,e.clientY),/click|key|touch|down/.test(e.type)&&(r.userInteraction=!0),r.dispatchEvent(e.type,t)},get disableScroll(){return r._disableScroll},set disableScroll(e){r._disableScroll=e;var t=document.getElementsByTagName("html")[0];e?(r._previousOverflow={x:document.body.style.overflowX,y:document.body.style.overflowY},t.style.overflow="hidden",r.element.style.overflow="hidden"):(t.style.overflow="initial",r._previousOverflow&&(r.element.style.overflowX=r._previousOverflow.x,r.element.style.overflowY=r._previousOverflow.y))},get getChildren(){return children},get images(){return document.images},get forms(){return document.forms},get links(){return document.links},get anchors(){return document.anchors},get scripts(){return document.scripts},get plugins(){return document.plugins},get embeds(){return document.embeds},get width(){var e=window.innerWidth,t=e*n;return n<=1?t:e},get height(){var e=window.innerHeight,t=e*n;return n<=1?t:e},get stageX(){return 0},get stageY(){return 0},get scrollX(){return o.scrollX||window.scrollX},set scrollX(e){o.scrollX=e},get scrollY(){return o.scrollY||window.scrollY},set scrollY(e){o.scrollY=e},get selectable(){return i},set selectable(e){i=e},get zoom(){return n},set zoom(e){n=e},get backgroundColor(){return o.backgroundColor||document.body.style.backgroundColor},set backgroundColor(e){o.backgroundColor=e,document.body.style.backgroundColor=e},get transition(){return o.transition},set transition(e){o.transition=e,e=0===e?"none":"all "+e+"s",document.body.style.WebkitTransition=e,document.body.style.MozTransition=e,document.body.style.OTransition=e,document.body.style.transition=e},get disableKeyNavigation(){return o.disableKeyNavigation},set disableKeyNavigation(e){o.disableKeyNavigation=e},focus:function(){r.activeFocus=r},blur:function(){}};r.proxy=r;var l=document.createElement("div");l.className="scrollbar-measure",document.body.appendChild(l);var s=l.offsetWidth-l.clientWidth;document.body.removeChild(l),ta=0===s;var d;_i!==Ni&&_i!==Wi||(d=ce(200)),window.addEventListener(ro,function(t){setTimeout(function(){e(),r.event(t)},200)},!1),window.addEventListener(io,function(e){r.scrollY=window.scrollY,r.event(e)},!1),window.addEventListener(an,r.event,!1),window.addEventListener(rn,r.event,!1),window.addEventListener(ln,r.event,!1),window.addEventListener(sn,r.event,!1),window.addEventListener(dn,r.event,!1),window.addEventListener(cn,r.event,!1),window.addEventListener(hn,r.event,!1),window.addEventListener(un,r.event,!1),window.addEventListener(pn,r.event,!1),window.addEventListener(Tn,r.event,!1),window.addEventListener(en,r.event,!1),window.addEventListener(lo,r.event,!1),window.addEventListener(so,r.event,!1),window.addEventListener(co,r.event,!1),window.addEventListener(fn,r.event,!1),window.addEventListener(gn,r.event,!1);var c;return window.addEventListener(en,function(e){clearTimeout(c),c=setTimeout(function(){r.dispatchEvent(tn,e)},200)},!1),window.addEventListener(ro,function(e){r.dispatchEvent(ro,e)},!1),window.addEventListener(vn,r.event,{passive:!1}),window.addEventListener(mn,r.event,{passive:!1}),r.documentReadyListener(),r}function nt(){return new ya({type:"path"})}function ot(){return new ya({type:"rect"})}function at(){return new ya({type:"circle"})}function rt(e){var t;return e=e||{},e.type="textarea",e.className="TextArea",t=new ba(e),t.borderRadius=0,t.style["-webkit-appearance"]="none",t.element.addEventListener("focus",function(){"Safari"===aa&&document.webkitCancelFullScreen(),Ca.disableKeyNavigation=!0,Ca.activeFocus=t,Ca.isInputFocus=!0}),t.element.addEventListener("blur",function(){Ca.disableKeyNavigation=!1,Ca.isInputFocus=!1}),t}function lt(e){e=e||{},e.type="span",e.className="TextField";var t=new ba(e);return t.selectable=!0,t.fontFamily="sans-serif",t.element.addEventListener("focus",function(){Ca.disableKeyNavigation=!0,Ca.activeFocus=t,Ca.isInputFocus=!0}),t.element.addEventListener("blur",function(){Ca.disableKeyNavigation=!1,Ca.isInputFocus=!1}),t}function st(e){var t=e||{};return t.events=t.events||new $e,new ba(t)}function dt(e){function t(e){a.dispatchEvent(bo,e),r&&a.play()}function i(e){a.dispatchEvent(Qi,e)}function n(e,t){var i=a.element.canPlayType(e+';codecs="'+t+'"');return""!==i}function o(){a.dispatchEvent("playbackEnd")}e=e||{},e.type="video",e.className="VideoPlayer";var a=new ba(e),r=!1;a.element.setAttribute("playsinline",!0),a.element.addEventListener(bo,t,!1),a.element.addEventListener(Qi,i,!1),a.width=e.width||640,a.height=e.height||480,a.parent=e.parent,a.hud=new ct(a),a.hud.disable();var l=e.alwaysMuted,s=!0,c=new Je;return c.x=20,c.y=20,c.zIndex=10,c.borderRadius=2,c.backgroundColor="white",c.text="TAP TO UNMUTE",c.display="none",c.element.style.padding="3px 6px",a.unmuteBtn=c,a.unmuteClick=function(){a.hud.unmute(),a.hud.enable(),c.display="none",c.removeEventListener("click",a.unmuteClick),l=!1},c.addEventListener("click",a.unmuteClick),a.unmuteBtn=c,a.parent.addChild(c),a.disableUnmuteButton=function(){s=!1,c.display="none"},a.play=function(){var e=a.element.play();void 0!==e&&e.then(function(){a.paused=!1,l?a.element.muted=!0:Ca.userInteraction&&(c.display="none",a.hud?a.hud.unmute():a.element.muted=!1),a.dispatchEvent(Kn)}).catch(function(){a&&(a.hud?a.hud.mute():a.element.muted=!0,s&&(c.display="block"),a.element.play(),a.paused=!1,a.dispatchEvent(Kn))})},a.pause=function(){a.element.pause(),a.paused=!0,a.dispatchEvent(qn)},a.togglePlay=function(){a.element.paused?a.play():a.pause()},a.setSize=function(e,t,i){a&&(0===i?(a.width=e,a.height=t):qe(a,i,{width:e,height:t}))},a.setSource=function(e,t){t&&a.element.setAttribute("autoplay",!0),n("video/mp4","avc1.42E01E, mp4a.40.2")?(a.src=d(e),a.element.addEventListener("ended",o),t&&(r=!0)):R(po+e.replace(z(e),"webm"))?(a.src=d(e.replace(z(e),"webm")),a.element.addEventListener("ended",o),t&&(r=!0)):window.open(po+e)},a.destroy=function(){a&&(a.element.removeEventListener("ended",o),a.removeKeyListener(),a.element.removeEventListener(bo,t,!1),a=null)},a.removeKeyListener=function(){},a}function ct(e){function t(){S.height=50,S.width=e.width,S.alpha=0,S.zIndex=5,e.parent.addChild(S);var t;t=e.element.paused?wa.pause:wa.play,v=a(t,h),S.addChild(v),g=a(wa.fullscreen,Ce(e.element)),S.addChild(g);var i=wa.volume,n=u;_i===Wi&&(i="",n=function(){}),f=a(i,n),S.addChild(f),r(),S.interval=setInterval(d,100),e.element.addEventListener("ended",c)}function i(t){if(!oe()&&!le()){clearTimeout(L);var i=O(t),a=xa.siteView.unifiedPageScroll()||/unifiedSiteScroll/.test(xa.overrides.siteDisplayBehavior)?t.pageY:I(t);e.hitTestAbs(i,a)?(n(),L=setTimeout(function(){o()},3e3)):o()}}function n(){V||(V=!0,S.display="block",qe(S,yo,{alpha:1}))}function o(){V&&(V=!1,qe(S,yo,{alpha:0,onComplete:function(){S.display="none",V=!1}}))}function a(e,t){var i=new ba;i.width=x,i.height=M,i.backgroundColor=T;var n=new ya;n.id="svg",n.width=12,n.height=12,n.left=na.round(.5*(i.width-n.width)),n.top=na.round(.5*(i.height-n.height)),i.addChild(n);var o=new nt;o.id="icon",o.d=e,o.fill="#FFFFFF",o.alpha=.65,n.addChild(o);var a=new ba;return a.width=i.width,a.height=i.height,i.addChild(a),i.hit=a,i.icon=o,i.svg=n,a.icon=o,a.bg=i,a.addEventListener(Tn,t),a.addEventListener(dn,function(){qe(this.bg,yo,{backgroundColor:"rgba(0,0,0,0.85)"}),qe(this.icon,yo,{alpha:1})}),a.addEventListener(pn,function(){qe(this.bg,yo,{backgroundColor:T}),qe(this.icon,yo,{alpha:.65})}),i}function r(){b=new ba,b.zIndex=-1,b.backgroundColor=T,b.height=M,S.addChild(b),b.buffer=new ba,b.buffer.backgroundColor="#FFFFFF",b.buffer.alpha=.12,b.buffer.width=1,b.buffer.height=S.height,b.addChild(b.buffer),b.progress=new ba,b.progress.backgroundColor="#FFFFFF",b.progress.alpha=.25,b.progress.width=1,b.progress.height=S.height,b.addChild(b.progress),b.time=new ba,b.time.fontFamily="Arial, Helvetia, sans-serif",b.time.fontColor="#FFF",b.time.fontSize=10,b.time.text="00:00 / 00:00",b.time.alpha=1,b.addChild(b.time),b.time.x=10,b.time.y=20,b.head=new ba,b.head.backgroundColor="#FFFFFF",b.head.alpha=0,b.head.x=30,b.head.width=1,b.head.height=S.height,b.addChild(b.head),b.headTime=new ba,b.headTime.fontFamily="Arial, Helvetia, sans-serif",b.headTime.fontColor="#FFFFFF",b.headTime.fontSize=10,b.headTime.alpha=0,b.headTime.text="00:00",b.headTime.x=30,b.headTime.y=-15,b.addChild(b.headTime),b.hit=new ba,b.hit.height=S.height,b.addChild(b.hit),oe()||le()||(b.hit.addEventListener(dn,function(){qe(b.buffer,yo,{alpha:.2}),qe(b.progress,yo,{alpha:.4}),qe(b.time,yo,{alpha:1}),qe(b.head,yo,{alpha:1}),qe(b.headTime,yo,{alpha:1}),qe(b,yo,{backgroundColor:"rgba(0,0,0,0.85)"})}),b.hit.addEventListener(pn,function(){qe(b.buffer,yo,{alpha:.12}),qe(b.progress,yo,{alpha:.25}),qe(b.time,yo,{alpha:.5}),qe(b.head,yo,{alpha:0}),qe(b.headTime,yo,{alpha:0}),qe(b,yo,{backgroundColor:T})}),b.hit.addEventListener(hn,l)),b.hit.addEventListener(Tn,s)}function l(t){var i=p(t);b.head.transition=0,b.head.x=i,b.headTime.transition=0,b.headTime.x=i,b.headTime.text=m(i/y*e.element.duration)}function s(t){var i=p(t);b.head.x=i,b.headTime.x=i;var n=i/y*e.element.duration;e.element.currentTime=n,b.headTime.text=m(n),d(e)}function d(){e.element.buffered.length>0&&(bufferedPercent=e.element.buffered.end(0)/e.element.duration,b.buffer.transition=0,b.buffer.width=bufferedPercent*y,playedPercent=e.element.currentTime/e.element.duration,b.progress.transition=0,b.progress.width=playedPercent*y,b.time.text=m(e.element.currentTime)+" / "+m(e.element.duration))}function c(){clearInterval(S.interval)}function h(){e.element.paused?(e.play(),v.icon.d=wa.pause,S.interval=setInterval(d,50)):(e.pause(),v.icon.d=wa.play)}function u(){e.element.muted?S.unmute():S.mute()}function p(e){return uo&&e.touches?e.touches[0].offsetX-x-b.x:e.offsetX}function m(e){return minutes=Math.floor(e/60),e=Math.floor(e-60*minutes),minutes=minutes<10?"0"+minutes:minutes,e=e<10?"0"+e:e,minutes+":"+e}var v,g,f,b,C,w,y,L,S=new ba,x=50,M=50,T="rgba(0,0,0,0.65)",V=!0;return S.show=n,S.hide=o,S.resize=function(e,t,i,n,o){var a=t,r=i,l=n,s=o;C=n,w=o,y=l-3*x,0===e?(S.width=l,S.x=na.floor(a),S.y=na.floor(r+s-S.height),g.x=l-g.width,f.x=l-g.width-f.width,b.x=x,b.width=y,b.hit.width=y):(qe(S,e,{width:l,x:a,y:r+o-S.height}),qe(g,e,{x:l-g.width}),qe(f,e,{x:l-g.width-f.width}),qe(b,e,{x:x,width:y}),qe(b.hit,e,{width:y})),d()},S.mute=function(){e.element.muted=!0,f.icon.d=wa.mute},S.unmute=function(){e.element.muted=!1,f.icon.d=wa.volume},S.disable=function(){o(),oe()||le()||Ca.removeEventListener(hn,i)},S.enable=function(){n(),oe()||le()||Ca.addEventListener(hn,i)},t.call(S),S}function ht(e){function t(e){var t=new Je;return t.x=20,t.y=20,t.zIndex=10,t.borderRadius=2,t.backgroundColor="white",t.text="TAP TO UNMUTE",t.display="block",t.element.style.padding="3px 6px",e.unmuteBtn=t,e.unmuteClick=function(){t.display="none",t.removeEventListener("click",e.unmuteClick),e.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:1}),s)},t.addEventListener("click",e.unmuteClick),e.unmuteBtn=t,e.addEventListener("load",function(){setTimeout(function(){e.parent.addChild(t)},1e3)}),e.disableUnmuteButton=function(){t.display="none"},t}function i(){c.ended||c.dispatchEvent("playbackEnd"),c.ended=!0}function n(){l="player"+ht.getNextPlayerID(),c.element.id=l,c.element.setAttribute("frameborder","0"),c.element.setAttribute("webkitAllowFullScreen",""),c.element.setAttribute("mozallowfullscreen",""),c.element.setAttribute("allowFullScreen",""),c.element.style["user-select"]="none"}function o(t){var n;try{n=JSON.parse(t.data)}catch(e){n={}}if(n.player_id===l)switch("ready"===n.event&&setTimeout(function(){a(n)},10),"error"===n.event,"getVideoWidth"===n.method&&n.value&&n.value!==c.videoWidth&&(e.thumbBuild||(c.width=n.value,c.element.setAttribute("width",n.value)),c.videoWidth=n.value,c.videoHeight&&c.dispatchEvent(Co)),"getVideoHeight"===n.method&&n.value&&n.value!==c.videoHeight&&(e.thumbBuild||(c.height=n.value,c.element.setAttribute("height",n.value)),c.videoHeight=n.value,c.videoWidth&&c.dispatchEvent(Co)),n.event){case"finish":i();break;case"pause":n.data.seconds>=n.data.duration-1?i():(c.dispatchEvent(qn),"function"==typeof c.onpause&&c.onpause(),c.paused=!0);break;case"play":c.dispatchEvent(Kn),"function"==typeof c.onplay&&c.onplay(),c.paused=!1}}function a(e){c&&(c.loaded=!0,"Chrome"!==aa&&Ca.userInteraction||!d||c.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:0}),s),c&&c.element.contentWindow&&(c.element.contentWindow.postMessage(JSON.stringify({method:"getVideoWidth",value:e.player_id}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"getVideoHeight",value:e.player_id}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"finish"}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"pause"}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"play"}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"error"}),s)))}function r(e){c&&la[e.keyCode]===Sn&&c.togglePlay()}e=e||{},e.type="iframe",e.className="VimeoPlayer";var l,s,d,c=new ba(e),h="";return c.parent=e.parent,c.style.pointerEvents="auto",oe()&&e.thumbBuild&&(c.style.position="fixed"),n(),window.addEventListener("message",o,!1),c.setSource=function(i,n){d=!!n;try{s="https://player.vimeo.com/video/"+i.split("vimeo:")[1],h=s;var o=n?"&autoplay=1":"";xa.overrides.videoLoop?c.src=s+"?api=1&autopause=0&loop=1&wmode=opaque"+o+"&player_id="+l:c.src=s+"?api=1&autopause=0&wmode=opaque"+o+"&player_id="+l;var a=c.width||e.width||640,r=c.height||e.height||480;c.element.setAttribute("width",a),c.element.setAttribute("height",r),c.width=a,c.height=r,n&&(c.element.setAttribute("allow","autoplay"),Ca.userInteraction?(c.unmuteBtn&&(c.unmuteBtn.display="none",c.unmuteBtn.removeEventListener("click",c.unmuteClick)),c.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:1}),s)):t(c)),c.element.setAttribute("frameborder",0),c.element.setAttribute("webkitallowfullscreen",!0),c.element.setAttribute("mozallowfullscreen",!0),c.element.setAttribute("allowfullscreen",!0)}catch(e){}},c.togglePlay=function(){c.paused?c.play():c.pause()},c.setLoop=function(e){c&&c.loaded&&c.element.contentWindow&&(window.addEventListener("message",o,!1),c.element.contentWindow.postMessage(JSON.stringify({method:"loop",value:e}),h))},c.play=function(){c.ended=!1,Ca.userInteraction?(c.unmuteBtn&&(c.unmuteBtn.display="none",c.unmuteBtn.removeEventListener("click",c.unmuteClick)),c.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:1}),s)):t(c),window.addEventListener("message",o,!1),c&&c.element.contentWindow&&(c.loaded?(c.element.contentWindow.postMessage(JSON.stringify({method:"play",value:""}),h),Ca.addEventListener(gn,r),c.paused=!1,c.dispatchEvent(Kn)):c.element.addEventListener("load",function(){c.loaded=!0,c.element.contentWindow.postMessage(JSON.stringify({method:"play",value:""}),h),Ca.addEventListener(gn,r),c.paused=!1,c.dispatchEvent(Kn)}))},c.pause=function(){c&&c.loaded&&c.element.contentWindow&&(c.element.contentWindow.postMessage(JSON.stringify({method:"pause",value:""}),h),c.paused=!0)},c.setSize=function(e,t){c&&(c.transition=0,c.width=e,c.height=t)},c.align=function(e,t){c&&(c.transition=0,c.style.left=e+"px",c.style.top=t+"px")},c.destroy=function(){window.removeEventListener("message",o,!1),c.removeKeyListener(),c=null},c.removeKeyListener=function(){Ca.removeEventListener(gn,r)},c}function ut(e){function t(){if(Ai.siteDisplayBehavior||Ai.unifiedPageScrolling||(Ai.siteDisplayBehavior="none"),_i!==Ni&&_i!==Wi||(Ai.siteDisplayBehavior="none"),/disabled/.test(Ai.cursorIconStyle)?Ai.navCursorType=Ai.cursorIconStyle:Ai.navCursorType=Ai.navCursorType?Ai.navCursorType:"cursor",Ca.backgroundColor=Ai.siteBackgroundColor,re()&&(Ai.mobileAutoPlay=!1),Ee.siteView.updateStyle(),ie(),e.parentView=Ee.siteView,e.parentController=Ee,e.events=Ee.events,e.siteControllerEvents=Ee.events,Ee.sectionController=new e.SectionController(e),Ee.menuController=new e.MenuController(e),e.menuController=Ee.menuController,_i===Ni||_i===Wi&&Ai.footerOnMenuTablet||(Ee.footerController=new e.FooterController(e)),Ee.logoController=new e.LogoController(e),Ee.navbarController=new e.NavbarController(e),Ee.caption=new Ea,Ee.siteView.addChild(Ee.caption.container),Ee.addressController=new e.AddressController(e),"cursor"!==Ai.navCursorType||oe()||le()||(Ee.cursor=new e.Cursor(e),Ee.siteView.addChild(Ee.cursor)),Ee.tooltip=new e.Tooltip(e),Ee.service=new e.SiteService(e),Ee.addressController.service=Ee.service,isLogin&&(Ri.adminLockout?ke("ADMIN LOCKED FOR MAINTENANCE.
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.width0&&n.addPage({size:[PDF_MODEL.pdfDocPageWidth,PDF_MODEL.pdfDocPageHeight],margins:{top:0,right:0,bottom:0,left:0}}),n.rect(0,0,PDF_MODEL.pdfDocPageWidth,PDF_MODEL.pdfDocPageHeight).fill(PDF_MODEL.pdfDocPageBgColor).image(e,{fit:[PDF_MODEL.pdfDocPageWidth,PDF_MODEL.pdfDocPageHeight],align:"center",valign:"center"})}catch(e){}}),n.end()}),o.on("finish",function(){t(o.toBlob("application/pdf"))}),o.on("error",i)})}function Y(){var e=xa.lightboxSection.media;window.PDFDocument&&window.blobStream||Promise.all([N(mo+"/scripts/blob-stream.js"),N(mo+"/scripts/pdfkit.standalone.js"),Ee.service.getPdfModel()]).then(function(t){var i=t[2];if("fail"===i.status);else{PDF_MODEL=DX_MODEL.pdf=i;var n=PDF_MODEL.pdfDocCustomName?PDF_MODEL.pdfDocCustomName:window.location.host+"-lightbox";n="pdf"===n.split(".").pop()?n:n+".pdf",X(e).then(function(e){W(e,n)}).catch(function(e){})}}).catch(function(e){})}function Z(){var e=window.location.host+"-lightbox.zip";Promise.all([N(mo+"/scripts/runtime1.min.js"),N(mo+"/scripts/client-zip-2.js")]).then(function(e){var t=xa.lightboxSection.media.map(function(e){return fetch(Ri.cdnSslUri+"/"+Pi[e].content)});return downloadZip(t)}).then(function(e){return e.blob()}).then(function(t){return W(t,e)})}function G(e){xe?(xe.setMessage("PASSWORD"),xe.open(e.section)):(xe=Fe({section:e.section,events:Ee.events}),Ee.events.dispatchEvent(Jn)),"overlay"===xa.menuView.placement()&&Ee.menuController.menuView.dock.toggleState()&&Ee.menuController.menuView.closeDock()}function U(e){e?J():(xe.setMessage("INCORRECT PASSWORD"),setTimeout(function(){xe.setMessage("")},1e3))}function J(){xe&&xe.close()}function Q(e){Ee.events.dispatchEvent(Dn,e)}function $(e){Ee.events.dispatchEvent(Rn,e)}function ee(){}function te(t){t&&/site/.test(t.id)&&Ee.siteView.updateStyle(),ie(),Ee.events.dispatchEvent(jn,t),O(),ae(),/navCursorType/.test(t.id)&&"cursor"===t.value?Ee.cursor?Ee.cursor.enabled=!0:(Ee.cursor=new e.Cursor(e),Ee.cursor.dispatchEvent("cursorAxisUpdate",ve(xa.overrides.transitionType)),Ee.siteView.addChild(Ee.cursor)):/navCursorType/.test(t.id)&&Ee.cursor&&(Ee.cursor.enabled=!1),Ee.cursor&&/cursorBlendMode/.test(t.id)&&Ee.cursor.dispatchEvent("cursorBlendMode",t),Te?(Ca.removeChild(Te.overlay.background),Te=Ae({navEvent:Le,section:Le.section,events:Ee.events,tags:Le.searchTags})):xe&&(Ca.removeChild(xe.overlay.background),xe=Fe({section:Le.section,events:Ee.events}))}function ie(){"Safari"!=aa&&"Chrome"!=aa||(Ai&&Ai.fontRenderingOptions&&Ai.fontRenderingOptions.enable?(Ee.siteView.style.webkitFontSmoothing=Ai.fontRenderingOptions.webkitFontSmoothing,Ee.siteView.style.webkitTextStrokeWidth=Ai.fontRenderingOptions.webkitTextStrokeWidth+"px"):(Ee.siteView.style.webkitFontSmoothing="",Ee.siteView.style.webkitTextStrokeWidth=""))}function ae(){clearTimeout(Re),Re=setTimeout(function(){document.body.style.overflowY="none"===xa.overrides.siteDisplayBehavior?"hidden":"auto",Ee.siteView.updatePosition()},40)}function se(e){Ee.addressController.setTitle(),Ee.events.dispatchEvent(_n,e),q(Le,"asset.id")===e.id&&(Le.asset=e),O()}function de(e){Ee.events.dispatchEvent(Wn,e)}function ce(e){Ee.events.dispatchEvent(Nn,e)}function he(e){Ee.events.dispatchEvent(Xn,e)}function ue(e){if(q(Le,"section.id")===e.id){var t=r(e.id);xa.section(t)}xa.cacheLightboxSection(),Ee.events.dispatchEvent(Yn,e),O()}function pe(e){Ee.events.dispatchEvent(ko,e)}function me(e){Ee.events.dispatchEvent(Fo,e)}function ge(e){Ee.events.dispatchEvent(Ho,e)}function fe(){Ca.addEventListener(hn,be)}function be(e){Ee.menuController.menuView.menuText.hitTestPoint(e.pageX,e.pageY)?Ee.logoController.logoView.element.style.pointerEvents="none":Ee.logoController.logoView.element.style.pointerEvents="auto"}function Ce(e){Ee.cursor&&Ee.cursor.dispatchEvent("cursorAxisUpdate",e)}function we(e){xa.section(e.section);var t="none"!==xa.overrides.thumbnailType&&"none"!==Ai.cursorIconStyle;Ee.cursor&&Ee.cursor.dispatchEvent("cursorThumbsUpdate",t)}function ye(){var e=new Je;return e.position="fixed",e.element.style.display="block",e.element.style.zIndex=500,e.text="VIEW LIVE SITE",e.fontColor="#FFF",e.backgroundColor="#51CC47",e.width=111,e.height=22,e.right=5,e.bottom=5,e.borderRadius=2,e.alpha=.8,e.addEventListener("mouseover",function(){e.alpha=1}),e.addEventListener("mouseout",function(){e.alpha=.8}),e.addEventListener(Tn,function(){Oe("Switching to LIVE SITE, the page will refresh.",{onConfirm:function(){location.assign("/unstage")},onCancel:function(){}})}),e}var Le,xe,Me,Te,Ve,Ee=new Qe({events:new $e}),ze=!0,Pe=!1,He={},De=!1;e.parent=Ee,e.siteControllerEvents=Ee.events,Ee.siteView=new pt(e),_i===Ni&&xa.overrides.menuDisplaceMobile||_i===Wi&&xa.overrides.menuDisplaceTablet||Ca.addChild(Ee.siteView),Ca.addEventListener(gn,function(e){la[e.keyCode]===Sn&&Ee.events.dispatchEvent("spacebarPlay",Le)});var Re;return t.call(Ee),Ee}function pt(e){var t=new st({events:e.siteControllerEvents});t.zIndex=0,t.position=xa.siteView.unifiedPageScroll()?"relative":"absolute",t.setOverflow=function(){_i===Wi&&Ai.menuDisplaceTablet||(_i!==Ni&&/none/.test(xa.overrides.siteDisplayBehavior)?t.element.style.overflow="hidden":/^unified/.test(xa.overrides.siteDisplayBehavior)?t.element.style.overflow="hidden":(t.element.style.overflowX="hidden",t.element.style.overflowY="auto"))},t.setOverflow(),t.element.setAttribute("class","SiteView"),t.name="SiteView","Chrome"===aa&&(t.selectable=!0),t.addEventListener(Lo,function(){t.updatePosition()});return t.updatePosition=function(){t.position=xa.siteView.unifiedPageScroll()?"relative":"absolute",t.width=xa.siteView.width(),"overlay"!==xa.overrides.siteDisplayBehavior&&(t.height=xa.siteView.height()||Ca.height),_i===Ni&&xa.overrides.menuDisplaceMobile?t.x=Ca.width:_i===Wi&&xa.overrides.menuDisplaceTablet&&(t.x=Sa.menuView.width())},t.updateStyle=function(){t.backgroundColor=Ai.siteBackgroundColor},t}function mt(){return oe()&&Ai.transitionTypeMobile?Ai.transitionTypeMobile:le()&&Ai.transitionTypeTablet?Ai.transitionTypeTablet:void 0}function vt(e,t){return{custom:{width:e||300,height:t||200},small:{width:100,height:66},medium:{width:200,height:133},large:{width:300,height:200},xLarge:{width:400,height:266},xxLarge:{width:500,height:333},small_sq:{width:100,height:100},medium_sq:{width:200,height:200},large_sq:{width:300,height:300},xLarge_sq:{width:400,height:400},xxLarge_sq:{width:500,height:500},small_v:{width:66,height:100},medium_v:{width:133,height:200},large_v:{width:200,height:300},xLarge_v:{width:266,height:400},xxLarge_v:{width:333,height:500}}}function gt(t){function i(){s.events.addEventListener(ko,o),s.events.addEventListener(Fo,a),s.events.addEventListener(Ho,r),s.events.addEventListener($o,l),s.events.addEventListener("SITE_SERVICE_PASSWORD_CHECK",n)}function n(t){e({url:"/dx/siteservice/sectionpasswordcheck",params:t,callback:function(e){"pass"===e.status&&xa.setPassedSection(e.sectionId),dx.site.events.dispatchEvent("SECTION_PASSWORD_AUTH",e)}})}function o(t){e({url:"/dx/siteservice/email/contact",params:t,callback:function(e){if("pass"!==e.status)throw new Error("contact form failed");dx.site.events.dispatchEvent(Oo,e)}})}function a(t){e({url:"/dx/siteservice/email/share",params:t,callback:function(e){if("pass"!==e.status)throw new Error("share form failed");dx.site.events.dispatchEvent(Ao,e)}})}function r(t){e({url:"/dx/siteservice/email/inquiry",params:t,callback:function(e){if("pass"!==e.status)throw new Error("inquiry form failed");dx.site.events.dispatchEvent(Do,e)}})}function l(){s.customJsResponse({content:Bi.js})}var s=new Qe({events:t.events});return s.inquiryResponse=function(e){if("pass"!==e.status)throw new Error("inquiry form failed");dx.site.events.dispatchEvent(Do,e)},s.customJsResponse=function(e){if(e.content){var t=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.id="customJs",i.innerHTML=e.content.replace(/\\/g,"");var n=document.getElementById("customJs");n||t.appendChild(i)}},s.createLightbox=function(t){return new Promise(function(i,n){e({url:"/dx/siteservice/lightbox/create",params:{ids:t},callback:function(e){"pass"===e.status?i(e):n(e)}})})},s.updateLightbox=function(t,i){return new Promise(function(n,o){e({url:"/dx/siteservice/lightbox/update",params:{hash:t,ids:i},callback:function(e){"pass"===e.status?n(e):o(e)}})})},s.getLightboxMedia=function(t){return new Promise(function(i,n){e({url:"/dx/siteservice/lightbox/media",params:{hash:t},callback:function(e){"pass"===e.status?i(e):n(e)}})})},s.downloadPdf=function(e){return fetch("/dx/siteservice/lightbox/pdfbuild",{method:"POST",body:JSON.stringify({ids:e}),headers:{"Content-Type":"application/json"}}).then(function(e){return e.blob()}).catch(function(e){})},s.getPdfModel=function(){return fetch("/dx/siteservice/pdf/model").then(function(e){return e.json()}).catch(function(e){})},i.call(s),s}function ft(e){function t(e){ce.events.dispatchEvent("passwordViewUpdate","pass"===e.status),setTimeout(function(){xa.getPassedSection(e.sectionId)&&(Ce=!0,n(re))},350)}function n(e,t){S(e,function(){var n=a(he);if(he&&he.password.length>0&&!xa.getPassedSection(he.id))re=e,ce.events.dispatchEvent("privateGalleryAuthCheck",{section:he});else if(n&&n.password.length>0&&!xa.getPassedSection(n.id))re=e,ce.events.dispatchEvent("privateGalleryAuthCheck",{section:n});else if(he){re=void 0;var r=c(he),n=a(he),h={section:he,searchTags:be&&be.search&&be.search.split(",")||[],sortBy:be&&be.sort||"date-asc",parentSection:n,mediaToRender:y(he.mediaItems),path:ue,assetId:pe,asset:l(he.mediaItems[pe]),mode:me,prevState:{section:ve.section,mode:ve.mode,assetId:ve.assetId},info:{isInit:ge,isSectionChange:he!==q(ve,"section")||fe,isPasswordSection:Ce,isSearchSubmit:fe,isParentSectionChange:n!==q(ve,"parentSection"),isAssetChange:pe!==q(ve,"assetId"),isModeChange:me!==q(ve,"mode"),isLandingMedia:i(he),mediaViewState:r,isDeepLink:ge&&"/"!==e,isMediaViewStateChange:q(ve,"info.mediaViewState")!==r,isIntroGallery:he.isIntroGallery,flickSpeed:se,lastUri:oe,isThumbsFirst:s(he),isMobileVideoClick:de,isBlog:w(he.id)}};ce.setTitle(),Sa.updateSectionState(he.key,{assetId:pe,mode:me}),Sa._section=h.section,Sa._uriState=h,ae=h,fe=!1,Ce=!1,t?ce.events.dispatchEvent("ADDRESS_URI_CHANGE_PASSIVE",ae):o(),d(he),ve=h,oe=e,ge=!1,se=void 0,de=!1}})}function o(){ce.events.dispatchEvent(An,ae)}function r(){ae.asset=l(he.mediaItems[pe]),ce.events.dispatchEvent(An,ae)}function d(e){var t=l(e.media[0]);"link"!==t.type||t.thumb||("_blank"===t.linkTarget?window.open(t.content):"_self"===t.linkTarget&&(window.location.href=t.content))}function c(e){return e.slideshow||e.label===Xi?"landingMedia":"mediaView"}function u(e){pe=w(he.id)?C(e.id,he.mediaItems.length-1):e.id,k(),Ma.setValue(j(),!0,!1)}function p(e){e.section&&he.key!==e.section.key&&(me=e.mode,pe=e.assetId,he=e.section,e.path=e.section.key,clearTimeout(we),we=setTimeout(function(){Z(e,!0)},30))}function m(e,t){if(e.indexOf("/")>-1){var i=e.split("/");return i[0]==t||i[1]==t}return e==t}function v(e,t){return e.indexOf(t)>-1}function f(e){return e.split("&").reduce(function(e,t){var i=t.split("=");return e[i[0]]=i[1],e},{originalQuery:"?"+e})}function b(e){var t=e.split("?")[1];return t?f(t):{}}function L(){return Object.keys(Di).reduce(function(e,t){var i=Di[t];return i.password.length>0||!i.visible?e.concat(i.media):e},[])}function S(e,t){var i=be.search;if(be=b(e),i&&be.search&&i!==be.search&&(fe=!0),e=e.replace(/^\/|\/$/g,"").replace(be.originalQuery,"").split("/"),me=F(e),delete he.isIntroGallery,he=x(e),be.lightbox)ce.service.getLightboxMedia(be.lightbox).then(function(e){xa.cacheLightboxSection(),he.media=e.media,he.mediaItems=e.media,"function"==typeof t&&t()}).catch(function(e){"function"==typeof t&&t()}),pe=I(e)?I(e):0,pe=he&&he.key&&m(he.key,pe)&&!v(e,pe)?0:pe,pe=0!==pe?pe-1:pe,!I(e)&&s(he)&&(pe=-1,ee("thumbs"));else{if(be.search&&!he.isSearch)be={};else if(be.search&&he.isSearch){var n=be.search,o=be.sort&&be.sort.split("-")||["date","asc"],a=o[0],r=o[1],l=L(),d=Object.keys(Pi).filter(function(e){return l.indexOf(Number(e))===-1}).map(function(e){var t=Pi[e];return t.keywords=t.keywords||[],Date.parse(t.dateAdded)?t.dateAdded=new Date(t.dateAdded).toISOString():t.dateAdded=(new Date).toISOString(),t}).filter(function(e){var t=(Ri.searchCaptions||Ri.searchLabels||e.keywords.length)&&/image|video/.test(e.type);return(Ri.globalMediaSearch&&e.searchable!==!1||!Ri.globalMediaSearch&&media.searchable)&&t}).filter(function(e){var t=n.split(",").map(function(e){return"\\b"+e.replace(/\s+/g,".*")}).join("|"),i=new RegExp(t,"gi"),o=Ri.searchCaptions&&i.test(e.caption),a=Ri.searchLabels&&i.test(e.label),r=e.keywords.reduce(function(e,t){return e?e:i.test(t)},!1);return r||o||a}).sort(function(e,t){var i="size"===a?e.size.bytes:e[a],n="size"===a?t.size.bytes:t[a];return i>n?1:i0)for(var n=0;n1&&ee("thumbs")}function k(){if(_i!==Ni&&he&&(pe>-1||he.isSearch)){var e=l(he.mediaItems[pe]);e||(e={overrides:{}});var t=K(e.overrides.captionDefault,xa.overrides.captionDefault);_i===Ni&&(t=!1),"caption"===le?ee("caption"):""===le?te("caption"):t?ee("caption"):te("caption"),J()}}function O(e){var t=T(e.split("/"));return t?H(e).replace(H(t),""):e}function I(e){var t=W(e.join("/")),i=O(t),n=i.split("/")[1];return!isNaN(n)&&Number(n)}function F(e){var t=/thumbs|share|inquiry|caption|fotomoto/;return t.test(e[3])?e[3]:t.test(e[2])?e[2]:t.test(e[1])?e[1]:""}function A(e){return"mailTo:"+e.replace("mailto:","").replace("mailTo:","")}function P(e){var t=/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+\.[a-zA-Z]{2,4}/g.test(e.path);return!!t&&function(){window.location.href=A(e.path)}}function D(e){return("[one]"===e.label||"[like]"===e.label)&&function(){ce.events.dispatchEvent(no,e)}}function R(e){return"_blank"===e.linkTarget&&function(){window.open(e.path)}}function B(e){return!N(e)&&"_self"===e.linkTarget&&"external"===e.type&&function(){window.location.href=e.path}}function j(){var e=W(ue),t=e,i=be.originalQuery;if(he&&!_(ue)){var n=Y(t);if(n){t=n&&n.key||"",t="/"+t+"/";var o=I(e.split("/"));o&&pe>-1&&(pe=o-1),pe>-1&&(t+=Number(pe)+1+"/"),me.length>0&&(t+=me+"/")}else t="/"}return n&&"landingMedia"===n.key&&(t="/"),i?t+i:t}function _(e){return/^(ht|f)tp(s?):\/\//.test(e)}function W(e){var t=window.location.protocol+"//"+window.location.host;return"string"==typeof e?e.replace(t,"").replace(/^\/|\/$/g,""):""}function N(e){return!!e.path&&(M(e.path.split("/"))?(e.section=M(e.path.split("/")),e.type="internal",!0):(e.path=W(e.path),e.section=Y(e.path),e.type="internal",!0))}function X(e){e.section&&!i(e.section)&&(!e.isThumbClick&&g(e.section)?ee("thumbs"):"none"===xa.overrides.thumbnailType?te("thumbs"):(e.section.isSearch||e.section.mediaItems.length>1)&&xa.overrides.thumbnailDefaultOn&&!e.isThumbClick?ee("thumbs"):e.section.mediaItems.length>1&&e.isThumbClick&&"strip"===xa.overrides.thumbnailType&&xa.overrides.thumbnailDefaultOn&&"displace"===xa.overrides.thumbnailDock&&ee("thumbs"),e.nothumbs&&te("thumbs"),!e.isThumbClick&&s(e.section)&&0===pe&&$("thumbs")&&(pe=-1))}function Y(e){var t,i=e.split("/"),n=i[0];return i[0]&&i[1]&&(t=i[0]+"/"+i[1]),t?x(t.split("/")):!!n&&x(n.split("/"))}function Z(e,t){action=D(e)||P(e)||R(e)||B(e)||G(e,t),action()}function G(e,t){return e.section?(xa.section(e.section),he=e.section,he.isSearch||(be={}),fe=e.searchSubmit):e.section||e.path||(S(""),xa.section(he)),ue=e.path,pe=e.section&&w(e.section.id)?K(e.assetId,e.section.mediaItems.length-1):e.assetId||0,me=e.mode,de=!!e.isMobileVideoClick,t||X(e),k(),te("inquiry"),te("share"),function(){var i;e.section&&e.section.isSearch&&e.searchTerm?(be={},i=j()+"?search="+e.searchTerm,e.section.sortBy&&(i+="&sort="+(e.section.sortBy||"date-asc"))):i=e.section&&e.section.isLightbox&&xa.lightboxHash?j()+"?lightbox="+xa.lightboxHash:j(),Ma.setValue(i,t,!t)}}function U(e){ie(e),J(),Ma.setValue(j())}function J(){$("thumbs")&&/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)&&te("caption")}function Q(e){var t=y(he.mediaItems).length-1;w(he.id)&&(pe=C(pe,t)),w(he.id)?"next"===e.navDir?pe=pe>0?pe-1:0:"prev"===e.navDir&&(pe=pe0?pe-1:0:"next"===e.navDir&&(pe=_i===Ni||_i===Wi?pe-1&&(a.footerView.updateStyle(e),a.footerView.updatePosition(e)))}function n(){_i===Ni&&a.footerView.hide()}function o(){a.footerView.show()}var a=new Qe({parentView:e.parentView,parentController:e.parentController,events:e.siteControllerEvents});return a.updateSpeed=0,a.footerView=new e.FooterView(e),a.footerView.alpha=0,a.parentView.addChild(a.footerView),a.events.addEventListener(jn,i),a.events.addEventListener(_n,i),a.events.addEventListener(Xn,i),a.events.addEventListener(tn,a.footerView.updatePosition),a.events.addEventListener(Wo,n),a.events.addEventListener(_o,o),a.events.addEventListener(Pn,function(){a.footerView.updateSpeed=0,a.footerView.updatePosition()}),a.events.addEventListener("UPDATE_CONTENT_HEIGHT",function(){a.footerView.updateSpeed=0,a.footerView.updatePosition()}),a.events.addEventListener("mediaOverlayClose",function(){a.footerView.updateSpeed=0,a.footerView.updatePosition()}),a.footerView.addEventListener($n,t),a}function Ct(e){function t(e){"Safari"===aa&&(w.translateZ=0)}function i(e){"Safari"===aa&&(w.style["-webkit-transform"]="none",w.style["-ms-transform"]="none",w.style.transform="none")}function n(){L=""!==xa.copyright?[xa.copyright].concat(S(xa.socialLinks)):S(xa.socialLinks);var e=0,t=L.length,i=_i===Ni?"y":"x";for(C=new f("x"),b=new f(i),w.addChild(b),w.addChild(C);e0&&g()}function o(e){return/src=/.test(e.label)}function a(e){e=e.replace(/\[|\]|\s+/g,"");var t="",i=20,n=20;if(e.indexOf(",")>-1){var o=e.split(",");t=o[0].split("=")[1];var a=o[1].split("x");
i=Number(a[0].split("=")[1]),n=Number(a[1])}else t=e.split("=")[1];return{path:t,width:i,height:n}}function r(e){var t=a(e.label),i=new Ke;return i.src=Ri.cdnSslUri+"/"+t.path,i.width=t.width,i.height=t.height,i.element.style.cursor="pointer",i.customLabel=e.label.toLowerCase(),i}function s(t,i,n){var o=ha[t.label.toLowerCase()],a=new e.Bitmap;return a.src=vo+o.filename,a.width=o.width,a.height=o.height,a.element.style.cursor="pointer",a.addEventListener($i,h),a}function d(e){switch(Ai.footerIconShape){case"standard":return e.svgStdPath;case"rectangle":return e.svgRectPath;case"circle":return e.svgCircPath}}function c(e){var t=ha[e.label.toLowerCase()],i=new ya,n=new ya({type:"g"}),o=new nt,a=_i===Wi||_i===Ni?1:Ai.footerIconScale;if(n.scale=a,/circle|rectangle/.test(Ai.footerIconShape)){var r=new ot;r.rx="circle"===Ai.footerIconShape?t.bgCircRadius:t.bgRectRadius,r.width=t.width,r.height=t.height,r.fill=Ai.footerIconColor,n.addChild(r)}return o.d=d(t),o.fill="standard"===Ai.footerIconShape?Ai.footerIconColor:Ai.footerIconBgColor,o.fillRule="evenodd",n.addChild(o),i.addChild(n),i.width=t.width*a,i.height=t.height*a,i.element.style.cursor="pointer",i.socialLabel=e.label.toLowerCase(),i}function h(e){g(),w.updatePosition()}function u(e){var t=l(e);return e&&t&&t.label&&ha[t.label.toLowerCase()]&&!isNaN(e)}function p(t){var i=document.createElement("span"),n=x(Ai.copyrightFont);i.style.position="absolute",i.style.display="block",_i===Ni&&(i.style.width=Ca.width-12+"px"),i.style.fontFamily=n.family,i.style.textTransform=Ai.copyrightTextTransform||"none",i.style.fontWeight=n.weight,i.style.fontSize=Ai.copyrightFontSize.toString().replace("px","")+"px",i.style.letterSpacing=Ai.footerKerning+"px",i.innerHTML=t,i.whiteSpace=_i===Ni?"normal":"nowrap",document.body.appendChild(i);var o=new e.Sprite;return o.fontFamily=Ai.copyrightFont,o.textTransform=Ai.copyrightTextTransform||"none",o.fontSize=Ai.copyrightFontSize.toString().replace("px","")+"px",o.fontColor=Ai.copyrightColor,o.letterSpacing=Ai.footerKerning,o.text=t,o.width=i.offsetWidth,o.height=i.offsetHeight,o.textWrap=_i===Ni,document.body.removeChild(i),i=null,o}function m(e){this.btn.txt?qe(this.btn.txt,yo,{fontColor:V(Ai.copyrightColor,.5)}):qe(this.btn,yo,{alpha:.5})}function v(e){this.btn.txt?qe(this.btn.txt,yo,{fontColor:V(Ai.copyrightColor,1)}):qe(this.btn,yo,{alpha:1})}function g(){var e,t=w.children,i=t.length;for(b.layoutContent(),C.layoutContent(),y=new Ne,y.gap=0,y.axis=_i===Ni?"y":"x",y.align="left",y.wrap=!1,"x"===y.axis?y.perpLength=Ca.height:y.perpLength=Ca.width,e=0;e0&&_i!==Ni&&(b.y=C.height-b.height);var o=y.getBounds();w.transition=0,w.width=o.width,w.height=o.height}function f(e){var t=new ba;return t.layoutContent=function(){var i=new Ne;i.gap=6,i.axis=e,i.align="left",i.wrap=!1,i.perpLength=150;for(var n=0,o=t.children,a=o.length;n-1||(this.txt?qe(this.txt,yo,{ease:"ease-out",fontColor:V(Ai.logoFontColor,.5)}):qe(this,yo,{ease:"ease-out",alpha:.5}))}function n(e){this.txt&&this.txt.text.indexOf("-1||(this.txt?qe(this.txt,yo,{fontColor:V(Ai.logoFontColor,1)}):qe(this,yo,{alpha:1}))}function o(){_i!==Ni&&r()}function a(){l()}function r(){d.logoView.style.pointerEvents="none",qe(d.logoView,yo,{alpha:0,display:"none"})}function l(){d.logoView.display="block",qe.defer(d.logoView,yo,{alpha:1,onComplete:function(){d.logoView.style.pointerEvents="auto"}})}function s(e){if(this.txt&&this.txt.text.indexOf("-1);else{var t={type:"internal",path:"",target:"_self"};d.events.dispatchEvent(eo,t)}}var d=new Qe({parentView:e.parentView,parentController:e.parentController,events:e.siteControllerEvents});return d.updateSpeed=0,d.logoView=new e.LogoView({parentView:d.parentView,parentController:d,events:e.siteControllerEvents}),d.logoView.alpha=0,d.events.addEventListener("LOGO_CHILD_ADDED",l),_i===Ni?e.menuController.menuView.mask.addChild(d.logoView):"menu"===Ai.logoPlacement?e.menuController.menuView.addChild(d.logoView):d.parentView.addChild(d.logoView),d.events.addEventListener(Xn,function(e){/intro|logo/.test(e.id)&&(d.logoView.updateStyle(e),d.logoView.updatePosition(e))}),d.events.addEventListener(jn,t),d.events.addEventListener(tn,d.logoView.updatePosition),d.events.addEventListener(Wo,o),d.events.addEventListener(_o,a),d.logoView.addEventListener(Tn,s),_i!==Ni&&_i!==Wi&&(d.logoView.addEventListener(dn,i),d.logoView.addEventListener(pn,n)),d}function yt(e){function t(e){var t=void 0===Ri.disableRightClick||Ri.disableRightClick;t&&e.preventDefault()}function i(e){"Safari"===aa&&(g.translateZ=0)}function n(e){"Safari"===aa&&(g.style["-webkit-transform"]="none",g.style["-ms-transform"]="none",g.style.transform="none")}function o(e){g.events.dispatchEvent("OVER_LOGO")}function a(){return _i===Ni?K(Ai.mobileLogoFontSize,Ai.logoFontSize):_i===Wi?K(Ai.tabletLogoFontSize,Ai.logoFontSize):Ai.logoFontSize}function r(){return _i===Ni?K(Ai.mobileLogoFontColor,Ai.logoFontColor):_i===Wi?K(Ai.tabletLogoFontColor,Ai.logoFontColor):Ai.logoFontColor}function l(){return _i===Ni?K(Ai.mobileLogoFont,Ai.logoFont):_i===Wi?K(Ai.tabletLogoFont,Ai.logoFont):Ai.logoFont}function s(){return _i===Ni?K(Ai.mobileLogoKerning,Ai.logoKerning):_i===Wi?K(Ai.tabletLogoKerning,Ai.logoKerning):Ai.logoKerning}function d(e,t){var i=document.createElement("img");i.addEventListener("load",function(e){var n=i.offsetWidth,o=i.offsetHeight;document.body.removeChild(i),t({width:n,height:o})}),i.style.opacity=0,document.body.appendChild(i),i.src=e}function c(){v=!0,setTimeout(function(){g.updatePosition(),g.events.dispatchEvent(to),qe.defer(g.img,yo,{alpha:1}),g.events.dispatchEvent("LOGO_LOADED")},10),g.img.element.removeEventListener($i,c)}var h,u,p,m,v,g=new st({events:e.events});return _i===Ni?g.textWrap=!0:g.textWrap=!1,g.zIndex=xa.logoView.zIndex(),_i!==Ni&&_i!==Wi&&(g.position=Ai.logoPositionFixed?"fixed":"absolute"),g.updateSpeed=0,g.events.addEventListener("fillSiteMode",i),g.events.addEventListener("nonFillSiteMode",n),g.element.addEventListener("contextmenu",t),g.element.addEventListener("dragstart",t),g.addEventListener(Lo,function(e){g.updatePosition(),setTimeout(function(){g.updatePosition(),g.updateSpeed=yo},500),g.events.dispatchEvent("LOGO_CHILD_ADDED")}),g.addEventListener(dn,o),g.updatePosition=function(e){if(g.zIndex=xa.logoView.zIndex(),_i!==Ni&&_i!==Wi&&(g.position=Ai.logoPositionFixed?"fixed":"absolute"),g.transition=0,g.txt)_i===Ni?(g.txt.width=Ca.width,g.width=Ca.width):g.width=g.txt.element.offsetWidth,g.height=g.txt.element.offsetHeight;else if(g.img&&v&&(!e||!e.action||"changeTemplate"!==e.action))if(_i===Ni&&(Ai.mobileLogoWidth||Ai.mobileLogoHeight)||Ai.logoWidth||Ai.logoHeight){var t=E(Ai.logoWidth,Ca.width)||2e3,i=E(Ai.logoHeight,Ca.height)||2e3;_i===Ni&&(t=E(Ai.mobileLogoWidth,Ca.width)||t,i=E(Ai.mobileLogoHeight,Ca.height)||i,t=(E(Ai.mobileLogoWidth,Ca.width)||E(Ai.logoWidth,Ca.width)||2e3)>Ca.width-2*E(Ai.mobileLogoOffsetX,Ca.width)?Ca.width-2*E(Ai.mobileLogoOffsetX,Ca.width):t,i=E(Ai.mobileLogoHeight,Ca.height)||E(Ai.logoHeight,Ca.height)||2e3);var n={type:"fit",hRange:t,vRange:i,width:p,height:m,disableOrientationCheck:!0},o=De(n);g.img.width=o.width,g.img.height=o.height,g.width=o.width,g.height=o.height}else if(!e||!e.action||"changeTemplate"!==e.action){var a={width:p,height:m,filename:h},r=He(a),t=r.width;_i===Ni&&(t=r.width>Ca.width-2*E(Ai.mobileLogoOffsetX,Ca.width)?Ca.width-2*E(Ai.mobileLogoOffsetX,Ca.width):t);var o=De({type:"fit",hRange:t,vRange:r.height,width:p,height:m,disableOrientationCheck:!0});g.img.width=o.width,g.img.height=o.height,g.width=o.width,g.height=o.height}qe.defer(g,0,{x:Sa.logoView.x(g.width),y:Sa.logoView.y(g.height)})},g.updateStyle=function(t){if(t&&t.id&&/logo|layoutModelInit/i.test(t.id)){var i=_i!==Ni&&_i!==Wi&&Ai.logoBlendMode?Ai.logoBlendMode:"normal";g.element.style["mix-blend-mode"]=i;var n=xa.logoFile||Ai.logoFile||"";if(_i===Ni&&(n=Ri.mobileLogoFile||Ai.mobileLogoFile||n),_i===Wi&&(n=Ri.tabletLogoFile||Ai.tabletLogoFile||n),h=n.indexOf("dxlogo1__at__2x.png")>-1||n.indexOf("dxlogo2__at__2x.png")>-1?mo+"/media/"+n:""!==n?Ri.cdnSslUri+"/"+n:void 0,g.txt&&(g.removeChild(g.txt),g.txt=void 0),h&&h!==u)g.img&&(g.removeChild(g.img),g.img=void 0),g.img=new Ke,g.img.element.style["user-select"]="none",g.img.alpha=0,g.img.element.setAttribute("class","logoImage"),d(h,function(e){p=e.width,m=e.height,u=h,g.img.element.src=h}),g.img.element.addEventListener("load",c),g.addChild(g.img),g.img.element.style.cursor="pointer";else if(!h){g.img&&(g.removeChild(g.img),g.img=void 0),h=void 0,u=void 0,v=!1;var o=xa.logoText||Ai.logoText||"",f=xa.logoHtml||Ai.logoHtml||"";g.txt=new ba,g.txt.text=f.replace(/(\\*'|\\*")/g,"'")||o.replace(/(\\*'|\\*")/g,"'"),g.txt.element.setAttribute("class","logoText"),g.txt.element.style["user-select"]="none",g.addChild(g.txt),g.txt.element.style.cursor="pointer",_i===Ni&&(g.txt.textAlign=Ai.mobileLogoAlignHorizontal||"left");var b=a(),C=r(),w=l(),y=s();b!==g.txt.fontSize&&(g.txt.fontSize=b),C!==g.txt.fontColor&&qe(g.txt,e.parentController.updateSpeed,{fontColor:C}),w!==g.txt.fontFamily&&(g.txt.fontFamily=w),y!==g.txt.letterSpacing&&(g.txt.letterSpacing=y),Ai.logoTextTransform&&Ai.logoTextTransform!==g.txt.textTransform&&(g.txt.textTransform=Ai.logoTextTransform)}}},g}function Lt(e){function t(){}function n(){A&&s(),A!==!1&&(A=void 0)}function o(){void 0===A&&(A=!0),A&&s()}function a(e){j||t(e),clearTimeout(j),o(e),j=setTimeout(function(){n(e),j=null},300)}function s(){z&&"multiple"===Sa.sectionDisplayMode&&Object.keys(z).map(function(e){return z[e]}).forEach(function(e){var t=e.view.y;window.scrollY+.5*window.innerHeight>=t&&window.scrollY+.5*window.innerHeight<=t+e.view.height&&(e.controller.checkCaption(),xa.section(e.controller.section),D.dispatchEvent("cursorAxisUpdate",ve(xa.overrides.transitionType)),D.dispatchEvent("updateSectionPassive",{section:e.controller.section,assetId:e.controller.getCurrentAssetId(),mode:e.controller.getCurrentMode()}))})}function d(e){return xa.section(e),!i(e)&&xa.overrides.thumbnailDefaultOn&&/fill|paginated|vMasonry|hMasonry/i.test(xa.overrides.thumbnailType)&&1===Ai.overlayAlpha||g(e)}function c(e){return d(e)?"thumbs":h(e)&&u(e)?"thumbs-caption":h(e)?"thumbs":u(e)?"caption":""}function h(e){return xa.section(e),!i(e)&&"none"!==xa.overrides.thumbnailType&&(xa.overrides.thumbnailDefaultOn||g(e))&&e&&e.media&&e.media.length>1}function u(e){xa.section(e);var t=l(e.mediaItems[0]);return t||(t={overrides:{}}),_i!==Ni&&K(t.overrides.captionDefault,xa.overrides.captionDefault)}function p(e){var t=new ba,i=new ya,n=new ya({type:"g"}),o=new nt,a=100*e.scale;t.zIndex=5,t.width=a,t.height=a,t.element.style["mix-blend-mode"]=e.blendMode,t.alpha=0,t.addEventListener("click",function(){var e=z[1];if(e){var t=e.view.y-xa.mediaView.y(e.controller.section.key);va.to(window,.35,{scrollY:t,ease:uo?"outQuart":"inOutCubic"})}});var r;return t.updatePosition=function(i){clearTimeout(r),r=setTimeout(function(i){t.y=i-a-e.offsetY,t.x=.5*(Ca.width-a),qe(t,yo,{alpha:1})},1e3,i)},i.position="absolute",i.width=a,i.height=a,t.element.style.transformOrigin="center",n.scale=e.scale,o.d=e.path,o.fill="none",o.stroke=e.color,o.strokeWidth=e.strokeWidth,i.addChild(n),n.addChild(o),t.addChild(i),t}function m(e){return!e.hideFromUnifiedSite&&"%SPACER%"!==e.label&&e.visible&&(!!g(e)||e.mediaItems.length)&&(!e.password.length||xa.getPassedSection(e.id))&&!/overlay|none|unifiedPageScrolling/.test(e.displayBehavior)&&(!v(e)||e.isIndex)}function v(e){var t=l(e.media[0]);return!!t&&("link"===t.type&&!e.mediaItems.length)}function f(e){function t(){Sa.sectionDisplayMode="multiple";var t=e.media.map(r).filter(m);if("ROOT_SECTION"===e.label&&xa.backgroundImages.length){var n=xa.backgroundImages.filter(function(e){return!!Pi[e]}),o={id:Xi,key:"/",label:Xi,visible:1,password:"",media:n,mediaItems:n,overrides:{captionDefault:Ai.slideshowCaptions}};t=[o].concat(t)}var a=t[0];t[1];("ROOT_SECTION"===e.label&&Ai.slideshowScrollDownIcon&&i(a)||e.scrollDownIcon||a&&a.scrollDownIcon)&&(b=p({path:wa.arrow3Down,color:Ai.scrollDownIconColor||"#F2F2F2",strokeWidth:Ai.scrollDownIconStrokeWidth||1,scale:Ai.scrollDownIconScale||1,offsetY:Ai.scrollDownIconOffsetY||0,blendMode:Ai.scrollDownIconBlendMode||"normal"}),H.addChild(b)),z=t.reduce(function(e,n,o){xa.section(n);var a={section:n,mediaToRender:y(n.mediaItems),path:n.key,assetId:d(n)?-1:0,asset:l(n.mediaItems[0]),mode:c(n),info:{isSectionChange:!0,isAssetChange:!0,isModeChange:!1,isLandingMedia:i(n),mediaViewState:i(n)?"landingMedia":"mediaView",isDeepLink:!1,isMediaViewStateChange:!0,isIntroGallery:n.isIntroGallery,flickSpeed:.35,lastUri:"/",isThumbsFirst:d(n),isMobileVideoClick:!1,isBlog:w(n.id)}};Sa.updateSectionState(n.key,{assetId:a.assetId,mode:a.mode});var r=new R(D,H,null,{position:o,length:t.length});return Sa._uriState=a,r.controller.build(a),e.concat(r)},[]),window.addEventListener("scroll",f)}function n(e){clearTimeout(L),L=setTimeout(function(){var t=0,i=Ai.marginOverlap||0,n=z[0].controller.section,o=E(Ai.sitePaddingTop,Ca.height),a=o;if(_(n))a=0;else if(/top/.test(xa.menuView.placement())&&!Ai.isMenuScrollReveal){var r=E(Ai.menuWidth,Ca.height)-E(Ai.menuOffsetX,Ca.height);a=o+r-i}var l=a||0,s=0;z.forEach(function(e,i,n){xa.section(e.controller.section);var o=n[i-1],a=o?o.view.y+(o.view.height||0):l,r=e.controller.getTotalHeight();s+=e.controller.section.media.length;e.controller.section;t+=r||0,e.view.transition=0,e.view.x=0,e.view.y=a,e.view.width=Ca.width,e.view.height=r,e.view.mask.x=xa.mediaView.x(),e.view.container.y=0,e.view.mask.transition=0,e.view.mask.width=xa.mediaView.width(),e.view.mask.height=r}),H.totalHeight=t,H.height=t,Sa.mediaModules=z,Sa.mediaViewsHeight=H.totalHeight,b&&b.updatePosition(z[0].view.height),u(O,e)},500)}function o(){}function a(){g(),t()}function s(e){xa.section(e.controller.section);var t=e.view.y-xa.mediaView.y(e.controller.section.key);if(e===z[0])t=0;else{document.getElementsByClassName("SiteView")[0]}window.scrollTo(0,t)}function h(e){xa.section(e.controller.section);var t=e.view.y-xa.mediaView.y(e.controller.section.key);e===z[0]&&(t=0),va.to(window,.35,{scrollY:t,ease:uo?"outQuart":"inOutCubic"})}function u(e,t){if(C){var i=z.filter(function(t){return e.path===t.controller.section.key})[0];i||(i=z[0]),e.info.isParentSectionChange||t?s(i):e.info.isSectionChange?h(i):e.info.isModeChange&&h(i),C=!1}}function v(e,t){C=!0;var i=z.filter(function(t){return e.path===t.controller.section.key})[0];i||(i=z[0]),t&&!e.info.isParentSectionChange||i.controller.navigate(e),D.dispatchEvent("cursorAxisUpdate",i.controller.cursorAxis)}function g(){z.forEach(function(e){e.controller.destroy()}),window.removeEventListener("scroll",f),b&&H.removeChild(b)}function f(){clearTimeout(S),S=setTimeout(function(){z.forEach(function(e){e.view.lazyLoader&&e.view.lazyLoader.update(),e.controller.overlayController&&e.controller.overlayController.lazyLoaderUpdate()})},10)}var b,C;t();var L,S;return{type:"unified",layout:n,uriChange:v,modelChange:a,scrollTo:u,transition:o,destroy:g}}function b(){function e(e){clearTimeout(a),a=setTimeout(function(){var t=r.getTotalHeight();xa.section(l.section),qe(l,0,{x:xa.mediaView.x(),y:xa.mediaView.y(l.section.key),width:xa.mediaView.width(),height:t});var i="none"===xa.overrides.siteDisplayBehavior&&/vScroll/.test(xa.overrides.transitionType)?xa.mediaView.zoneHeight():l.container.boundsHeight;qe(l.mask,0,{width:xa.mediaView.width(),height:i}),Sa._mediaContentHeight=t,l.lazyLoader&&l.lazyLoader.update(),"function"==typeof e&&setTimeout(e,500)},500)}function t(){}function i(e,t,i){t||r.navigate(e,i)}function n(){qe(l.container,yo,{backgroundColor:xa.mediaView.backgroundColor()}),e(),r.destroyStaticNav(),r.createStaticNav()}Sa.sectionDisplayMode="single";var o=new R(D,H);k=o;var a,r=o.controller,l=o.view;return{type:"legacy",module:o,layout:e,uriChange:i,modelChange:n,transition:t,destroy:function(){o.controller.destroy()}}}function C(){function e(){var e=r.getTotalHeight();xa.section(l.section),l.x=0,l.y=0,l.width=Ca.width,l.height=Ca.height,l.mask.width=xa.mediaView.width(),l.mask.height=xa.mediaView.contentHeight(),Sa._mediaContentHeight=e,l.lazyLoader&&l.lazyLoader.update()}function t(){}function i(e){r.navigate(e)}function n(){xa.section(l.section),qe(l.container,yo,{backgroundColor:xa.mediaView.backgroundColor()}),e(),r.destroyStaticNav(),r.createStaticNav()}Sa.lastSectionDisplayMode=Sa.sectionDisplayMode,Sa.sectionDisplayMode=/unifiedSiteScroll/.test(xa.overrides.siteDisplayBehavior)?"multiple":"single";var o=!0,a=new R(D,H,o);k=a;var r=a.controller,l=a.view;return{type:"overlay",module:a,layout:e,uriChange:i,modelChange:n,transition:t,destroy:function(){a.controller.destroy()}}}function L(e){D.removeEventListener("UPDATE_CONTENT_HEIGHT",function(){W(e.layout)}),D.removeEventListener(jn,e.modelChange),D.removeEventListener(Yn,e.modelChange),D.removeEventListener(Xn,function(t){/backgroundimages|template|staging/.test(t.id)&&e.modelChange()}),D.removeEventListener("mediaOverlayClose",function(){I||D.dispatchEvent(Zo,{type:"internal",path:"",target:"_self"})})}function S(e){D.addEventListener("UPDATE_CONTENT_HEIGHT",function(){W(e.layout)}),D.addEventListener(jn,e.modelChange),D.addEventListener(Yn,e.modelChange),D.addEventListener(Xn,function(t){/backgroundimages|template|staging/.test(t.id)&&e.modelChange()}),D.addEventListener("mediaOverlayClose",function(){B&&xa.section(B.section),I?D.dispatchEvent("updateSectionPassive",{section:B.section,assetId:B.assetId,mode:B.mode}):D.dispatchEvent(Zo,{type:"internal",path:"",target:"_self"})})}function x(e){O=e;var t=!1;switch(xa.section(e.section),xa.overrides.siteDisplayBehavior){case"unifiedSiteScrollVertical":F&&F.module.view.close(function(){F&&F.destroy(),F=null}),I?e.info.isParentSectionChange||I&&"legacy"===I.type||e.info.isPasswordSection||e.info.isSearchSubmit?(I&&(L(I),I.destroy()),I=f(e.parentSection),S(I),t=!0,I.uriChange(e,t),I.layout(t)):e.info.isModeChange?(I.uriChange(e,t),I.layout(t)):(I.uriChange(e,t),I.scrollTo(e,t)):(I=f(e.parentSection),S(I),t=!0,I.uriChange(e,t),I.layout(t));break;case"overlay":e.info.isSectionChange&&F&&(L(F),F.destroy(),F=null),F||(B=e.prevState,F=C(),S(F),t=!0,F.module.controller.build(e)),F.uriChange(e,t),F.layout(),F.module.view.open(),P=Sa.sectionDisplayMode;break;default:if(F&&F.module.view.close(function(){F&&F.destroy(),F=null}),e.info.isSectionChange||I&&"unified"===I.type){I&&(L(I),I.destroy()),I=b(),S(I),I.module.controller.build(e),t=!0;var i=!0;I.layout(function(){var t=e.assetId<1;I.uriChange(e,t,i)})}else e.info.isModeChange?(I.uriChange(e,t),I.layout()):I&&I.uriChange(e,t)}}function M(e,t){return e.key===t.section.key}function T(e){if(/unifiedSiteScroll/.test(xa.overrides.siteDisplayBehavior))z&&Object.keys(z).map(function(e){return z[e]}).forEach(function(t){var i;if(M(t.controller.section,e)&&(xa.section(t.controller.section),!/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)||!/thumbs/.test(e.mode))){var n=t.view.container.children[e.assetId];i=n?n.id:void 0}t.events.dispatchEvent("spacebarTogglePlay",i)});else if(k){if(xa.section(k.controller.section),!/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)||!/thumbs/.test(e.mode))var t=k.view.container.children[e.assetId],i=t?t.id:void 0;k.events.dispatchEvent("spacebarTogglePlay",i)}}function V(e){if(/unifiedSiteScroll/.test(xa.overrides.siteDisplayBehavior))z&&Object.keys(z).map(function(e){return z[e]}).forEach(function(t){var i;if(M(t.controller.section,e)&&(xa.section(t.controller.section),(!/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)||!/thumbs/.test(e.mode))&&xa.mediaView.videoAutoPlay())){var n=t.view.container.children[e.assetId];i=n?n.id:void 0}t.events.dispatchEvent("mediaAutoPlay",i)});else if(k){if(xa.section(k.controller.section),(!/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)||!/thumbs/.test(e.mode))&&xa.mediaView.videoAutoPlay())var t=k.view.container.children[e.assetId],i=t?t.id:void 0;k.events.dispatchEvent("mediaAutoPlay",i)}}var z,k,O,I,F,A,P,H=e.parentView,D=e.siteControllerEvents,R=e.MediaModule,B={};/unifiedSiteScroll/.test(xa.overrides.siteDisplayBehavior)&&window.addEventListener("scroll",a);var j,W=ce(500);D.addEventListener("autoplayTarget",V),D.addEventListener("spacebarPlay",T),D.addEventListener(Pn,x),D.addEventListener(jn,function(e){/siteDisplayBehavior|transitionType/.test(e.id)&&I&&(L(I),I.destroy(),xa.section(O.section),"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior?I=f(O.parentSection):(I=b(),I.module.controller.build(O)),S(I),built=!0,I.layout())}),D.addEventListener(Yn,function(){I&&(L(I),I.destroy(),xa.section(O.section),"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior?I=f(O.parentSection):(I=b(),I.module.controller.build(O)),S(I),built=!0,I.layout())})}function St(e){function t(e){1===V.assetId&&"right"===e.swipeDirection?z.touchNav&&(z.touchNav.disabled=!0):z.touchNav&&(z.touchNav.disabled=!1),e.isMove?n()&&"right"===e.swipeDirection?l():o()&&"left"===e.swipeDirection?l():"left"===e.swipeDirection||"right"===e.swipeDirection?(e.navDir="left"===e.swipeDirection?"next":"prev",x.dispatchEvent(Uo,e)):l():e.isMove&&/left|right/.test(e.swipeDirection)&&l()}function i(){w||r(),"mSlide"!==y||z.touchNav||a(),w(),/scroll/i.test(y)||l()}function n(){return 0===V.assetId}function o(){return V.assetId===S(V.section.media).length-1}function a(){z.touchNav=new Ge({events:x,mediaViewContainer:T}),z.touchNav.section=V.section&&V.section.key||"no section"}function r(){xa.section(V.section),M.scroll&&(M.scroll.destroy(),M.scroll=null),y=xa.overrides.transitionType;var t="fade"===y||"mSlide"===y?"fade":"default",i=M.container,n=M.mask;M.lazyLoader=new ze(i,n,{type:t,property:"translate"}),M.lazyLoader.name="mediaView",b&&"function"==typeof b.destroy&&b.destroy(),x.dispatchEvent("cursorAxisUpdate",ve(y));var o=xa.mediaView.transitionDuration();switch(y){case"fade":C=new zt({siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x}),b=new kt({transitionDuration:o,siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x});break;case"hSlide":C=new _t({siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x}),b=new Wt({transitionDuration:o,mediaView:M,mediaViewContainer:T,localEvents:x});break;case"vSlide":C=new Nt({siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x}),b=new Xt({transitionDuration:o,siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x});break;case"hScroll":C=new Ft({siteView:e.siteView,mediaView:M,localEvents:x}),b=new At({transitionDuration:o,siteView:e.siteView,mediaView:M,localEvents:x});break;case"hScrollNC":C=new Pt({siteView:e.siteView,mediaView:M,localEvents:x}),b=new Ht({transitionDuration:o,siteView:e.siteView,mediaView:M,localEvents:x});break;case"vScroll":C=new Dt({siteView:e.siteView,mediaView:M,localEvents:x}),b=new Rt({transitionDuration:o,siteView:e.siteView,mediaView:M,localEvents:x});break;case"vScrollNC":C=new Bt({siteView:e.siteView,mediaView:M,localEvents:x}),b=new jt({transitionDuration:o,siteView:e.siteView,mediaView:M,localEvents:x});break;case"grid":C=new Ot({siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x}),b=new It({transitionDuration:o,siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x});break;case"mSlide":C=new Yt({siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x}),b=new Zt({transitionDuration:o,siteView:e.siteView,mediaView:M,mediaViewContainer:T,localEvents:x});break;case"vScrollStatic":C=new Gt({siteView:e.siteView,mediaView:M,localEvents:x}),b=new Ut}w=function(){xa.section(V.section),C()}}function l(){var e=oe()||le()?0:.85;1===Ca.zoom&&(V.mediaToRender&&V.mediaToRender.length>V.assetId&&b?V.assetId>-1&&b(V.assetId,e):b&&b(0,e))}function s(e){b(e,0)}function d(){1===Ca.zoom&&ae()&&!Ri.podUseDesktop&&window.scrollTo(1,0),w&&w(),V.mediaToRender&&V.mediaToRender.length>0&&V.assetId>-1&&(b||r(),"mSlide"!==y||z.touchNav||a(),/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)||s(V.assetId)),L=!1,M&&M.lazyLoader&&M.lazyLoader.update()}function c(e){L=!0}function h(e){u(e),g()}function u(){r(),"mSlide"!==y||z.touchNav||a(),w()}function p(e){"siteDisplayBehavior"===e.id&&r(),"mSlide"!==y||z.touchNav||a(),w&&w()}function m(e,t){return e.key===t.section.key}function v(e){clearTimeout(k),k=setTimeout(function(){E=e.id,V&&m(M.section,V)&&(V.assetId=e.id)},200)}function g(){T.transition=0,Math.abs(T.translateX)>0&&(T.translateX=0),Math.abs(T.translateY)>0&&(T.translateY=0),T.x=0,T.y=0,qe(T,yo,{backgroundColor:xa.mediaView.backgroundColor()})}function f(){b&&b.destroy&&b.destroy(),w=void 0,b=void 0,x.removeEventListener(jn,p),x.removeEventListener(Yn,p),x.removeEventListener(jn,p),x.removeEventListener(en,d),x.removeEventListener(ro,c),x.removeEventListener("layoutMediaView",h),x.removeEventListener("mediaSizeUpdate",i),x.removeEventListener("MEDIA_HEIGHT_CHANGE",i),x.removeEventListener("assetReset",l),x.removeEventListener(jo,t),x.removeEventListener("ScrollTransition/updateAssetId",v),M.scroll&&M.scroll.destroy(),z.touchNav&&z.touchNav.destroy(),z.touchNav=null,M.scroll=null}var b,C,w,y,L,x=e.localEvents,M=e.mediaView,T=e.mediaView.container,V={assetId:0},E=0,z=this;x.addEventListener("layoutMediaView",h),x.addEventListener(Yn,p),x.addEventListener(jn,p),x.addEventListener(en,d),x.addEventListener(ro,c),x.addEventListener("mediaSizeUpdate",i),x.addEventListener("MEDIA_HEIGHT_CHANGE",i),x.addEventListener("assetReset",l),x.addEventListener(Bo,function(e){n()&&"prev"===e&&z.touchNav&&(z.touchNav.disabled=!0)}),x.addEventListener(Wo,function(e){z.touchNav&&(z.touchNav.disabled=!1)}),x.addEventListener(jo,t),x.addEventListener("ScrollTransition/updateAssetId",v),this.init=function(e){V=e,T.transition=0,T.alpha=0,w||r(),"mSlide"!==y||z.touchNav||a(),w(),setTimeout(function(){qe(T,xa.mediaView.transitionDuration(),{alpha:1})},1e3)},this.updateState=function(e){V=e},this.uriChange=function(e,t){V=e,xa.section(V.section);var i=T.children.length>0;if(V.mediaToRender&&i){if(t||(V.mode.indexOf("thumbs")!==-1&&V.assetId===-1&&(T.transition=0,T.alpha=0),V.assetId>-1&&(V.info.isDeeplink?s(V.assetId):xa.siteView.unifiedPageScroll()&&V.info.isModeChange&&/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)&&/thumbs/.test(V.mode)?(T.transition=0,T.alpha=0,setTimeout(function(){qe(T,xa.mediaView.transitionDuration(),{alpha:1})},1e3*yo+10)):V.info.isModeChange&&/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)&&/thumbs/.test(V.info.lastUri)?(T.transition=0,T.alpha=0,xa.siteView.unifiedPageScroll()?setTimeout(function(){s(V.assetId),qe(T,xa.mediaView.transitionDuration(),{alpha:1})},1e3*yo+10):(s(V.assetId),setTimeout(function(){qe(T,xa.mediaView.transitionDuration(),{alpha:1})},500*yo))):V.info.isModeChange&&/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)&&/thumbs/.test(V.mode)||(b||r(),"mSlide"!==y||z.touchNav||a(),z.touchNav?(1!==Ca.zoom||_i!==Ni||Ri.podUseDesktop||M.mask.element.scrollTo(0,0),qe(T,xa.mediaView.transitionDuration(),{alpha:1}),b(V.assetId,V.info.flickSpeed,z.touchNav.swipeDirection)):V.info.isSectionChange?(T.transition=0,b(V.assetId,V.info.flickSpeed),setTimeout(function(){qe(T,xa.mediaView.transitionDuration(),{alpha:1})},1e3*yo+10)):(qe(T,xa.mediaView.transitionDuration(),{alpha:1}),b(V.assetId,V.info.flickSpeed))))),V.assetId>-1&&(!/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)||!/thumbs/.test(e.mode))&&xa.mediaView.videoAutoPlay()){var n=T.children[V.assetId]&&T.children[V.assetId].id;x.dispatchEvent("mediaAutoPlay",n)}else if(!(/fill|vMasonry|hMasonry/.test(xa.overrides.thumbnailType)&&/thumbs/.test(e.mode)||_i!==Ni)){var n=T.children[V.assetId]&&T.children[V.assetId].id,o=Pi[n];o&&"video"===o.type&&0!==o.content.indexOf("vimeo")&&xa.mediaView.videoAutoPlay()&&x.dispatchEvent("mediaAutoPlay",n)}V.assetId>-1&&T.children[V.assetId]&&"html"===T.children[V.assetId].type&&x.dispatchEvent(ea),z.touchNav&&(z.touchNav.assetId=e.assetId)}};var k;return this.destroy=f,z}function xt(e){function t(e){f(S),g.resume()}function i(e){var t=y.children[S];return t&&l(t.id)}function n(){S=0,f(S),C.dispatchEvent("siteAnchorCaptionUpdate",i(S)),C.dispatchEvent("showCaption",x)}function o(){S=r(),x.assetId=S;var e=y.children[S];isLogin?(f(S),g.pause()):"video"===e.type?(g.pause(),setTimeout(function(){f(S),e.autoPlay()},100),C.addEventListener("playbackEnd",a)):/html/.test(e.type)?f(S):/image/.test(e.type)&&e.loaded?f(S):/image/.test(e.type)&&!e.loaded&&(g.pause(),e.addEventListener(wo,t)),C.dispatchEvent("siteAnchorCaptionUpdate",i(S)),Ai.slideshowCaptions?C.dispatchEvent("showCaption",x):C.dispatchEvent("hideCaption",x),w.lazyLoader.update()}function a(e){g.resume(),o()}function r(){return S1||"video"===o.type)?(g&&g.destroy(),d()):n()}},this.destroy=function(){b=void 0,f=void 0,C.removeEventListener(jn,m),C.removeEventListener(en,h),C.removeEventListener("layoutMediaView",u),C.removeEventListener(Xn,v),C.removeEventListener("mediaSizeUpdate",p),C.removeEventListener("assetReset",s),g&&g.destroy()},c()}function Mt(e){function t(e){n()}function i(e){n()}function n(){d.section&&xa.section(d.section),qe(l,yo,{backgroundColor:xa.mediaView.backgroundColor()})}function o(e){l.removeChildren(l);for(var t=0,i=e.length;ti.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var o=e.mediaViewContainer,a=e.localEvents,r=e.mediaView;return t}function kt(e){function t(e,t){t=void 0!==t?t:a;var l=0,s=i.children,d=s.length;for(n.dispatchEvent(go);li.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var o=Ne,a=e.mediaViewContainer,r=e.localEvents,l=e.mediaView;return t}function It(e){function t(e,t){var t=void 0!==t?t:a,r=i.children[e];if(r){var l=r.x,s=r.y;anime({targets:i,duration:1e3*t,translateX:-l,translateY:-s,easing:uo?"easeOutQuart":"easeInOutCubic",complete:function(){n.dispatchEvent(fo),setTimeout(function(){o.lazyLoader&&o.lazyLoader.update()},360)}})}}var i=e.mediaViewContainer,n=e.localEvents,o=e.mediaView,a=e.transitionDuration;return n.dispatchEvent(go),t.destroy=function(){},t}function Ft(e){function t(e,t){return e.contentHeight&&1===t}function i(){var e=new o;e.gap=0,e.axis="x",e.align="left",e.wrap=!1,e.perpLength=xa.mediaView.height(a.section.key),a.section&&xa.section(a.section);var i=xa.mediaView.height(a.section.key),s=a.maxScroll&&/unifiedSite/.test(xa.overrides.siteDisplayBehavior);s&&(i=Sa.getMaxScrollSectionHeight(a));for(var d=0,c=l.children,h=c.length;di.v&&(r=i.v),e.height=r+t.top+t.bottom}else e.height=xa.mediaView.height()}e.updatePosition()}var o=Ne,a=e.mediaView,r=e.localEvents,l=a.container,s=a.mask;if("native"===xa.overrides.imageVideoScrollType)s.element.style.overflowY="hidden",s.element.style.overflowX="scroll";else if(ta&&("nativeMacOs"===xa.overrides.imageVideoScrollType||Ai.globalSmoothScroll))s.element.style.overflowY="hidden",s.element.style.overflowX="scroll";else{a.scroll&&a.scroll.destroy();var d={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)&&(d.margin=0,d.color="#000000",d.hover="#000000",d.side="bottom",d.alpha=0,d.width=7,d.offsetX=0,d.offsetY=0,d.rounded=!0,d.visibility="when scrolling"),a.scroll=new Re(l,s,d)}return i}function At(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 Pt(e){function t(){var e=new n;e.gap=0,e.axis="x",e.align="left",e.wrap=!1,e.perpLength=xa.mediaView.height(o.section.key),o.section&&xa.section(o.section);var t=0,l=r.children,s=l.length,d=xa.mediaView.height(o.section.key),c=o.maxScroll&&/unifiedSite/.test(xa.overrides.siteDisplayBehavior);for(c&&(d=Sa.getMaxScrollSectionHeight(o));ti.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));ti.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var o=Ne,a=e.mediaViewContainer,r=e.localEvents,l=e.mediaView;return t}function Wt(e){function t(e,t){var t=void 0!==t?t:a;n.dispatchEvent(go);var r=i.children[e];if(r){var l=r.x,s=r.y;if(qe(i,t,{translateX:-l,translateY:-s,ease:uo?ia.quart.out:ia.cubic.inOut,onComplete:function(){n.dispatchEvent(fo),setTimeout(function(){o.lazyLoader&&o.lazyLoader.update()},360)}}),_i===Ni)for(var d=i.children,c=0;ci.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var o=Ne,a=e.mediaViewContainer,r=e.localEvents,l=e.mediaView;return t}function Xt(e){function t(e,t){var t=void 0!==t?t:a;n.dispatchEvent(go);var r=i.children[e];if(r){var l=r.x,s=r.y;qe(i,t,{translateX:-l,translateY:-s,ease:uo?ia.quart.out:ia.cubic.inOut,onComplete:function(){n.dispatchEvent(fo),setTimeout(function(){o.lazyLoader&&o.lazyLoader.update()},360)}})}}var i=e.mediaViewContainer,n=e.localEvents,o=e.mediaView,a=e.transitionDuration;return t.destroy=function(){},t}function Yt(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.height(l.section.key),h=l.maxScroll&&/unifiedSite/.test(xa.overrides.siteDisplayBehavior);for(h&&(c=Sa.getMaxScrollSectionHeight(l));ti.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var o=Ne,a=e.mediaViewContainer,r=e.localEvents,l=e.mediaView;return t}function Zt(e){function t(e,t,l){var t=void 0!==t?t:r;o.dispatchEvent(go);var s=ia.quart.out,d=n.children,c=d[e-1],h=d[e],u=d[e+1];c&&setTimeout(function(){c.transition=0,"right"===l&&(c.translateX=-xa.mediaView.width()),c.display="block",c.updateSpeed=0,c.updatePosition(),c.loaded||c.load(),qe.defer(c,t,{translateX:-xa.mediaView.width(),alpha:1,ease:s})},0),h&&(h.transition=0,h.display="block",h.updateSpeed=0,h.updatePosition(),h.loaded||h.load(),clearTimeout(i),i=setTimeout(function(){d.filter(function(e){return e!==h&&e!==c&&e!==u}).forEach(function(e){e.display="none"})},200),qe.defer(h,t,{translateX:0,alpha:1,ease:s,onComplete:function(){o.dispatchEvent(fo),a.lazyLoader&&a.lazyLoader.update()}})),u&&setTimeout(function(){u.transition=0,"left"===l&&(u.translateX=xa.mediaView.width()),u.display="block",u.updateSpeed=0,u.updatePosition(),u.loaded||u.load(),qe.defer(u,t,{translateX:xa.mediaView.width(),alpha:1,ease:s})},0)}var i,n=e.mediaViewContainer,o=e.localEvents,a=e.mediaView,r=e.transitionDuration;return t.destroy=function(){},t}function Gt(e){function t(){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;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;oO.height?y+=k.element.offsetHeight+t:(y+=O.height,y+=M.element.offsetHeight+5+t),z.height=y}function r(){if(xa.section(T.section),_i===Ni||_i===Wi)T.element.style.overflowY="scroll",T.element.style.overflowX="hidden",T.element.style["-webkit-overflow-scrolling"]="touch";else if(xa.siteView.unifiedPageScroll()&&/vScroll/.test(xa.overrides.transitionType))a(),setTimeout(function(){xa.section(T.section);var e=y;e=e>xa.mediaView.height()?e:xa.mediaView.height();var t=e!==T.contentHeight;T.contentHeight=e,T.height=e,t&&F.dispatchEvent("MEDIA_HEIGHT_CHANGE")},30);else if("native"===Ai.pageScrollType)T.element.style.overflowY="scroll",T.element.style.overflowX="hidden";else if("Macintosh"===oa&&"nativeMacOs"===Ai.pageScrollType)T.element.style.overflowY="scroll",T.element.style.overflowX="hidden";else{T.scroll&&T.scroll.destroy();var e=Ai.pageScrollbarWidth,t=_i===Ni?-(e+5):Ai.pageScrollbarHorizontalOffset,i="right"===Ai.pageScrollbarAlignment?-t-e:t+e,n={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:Ai.pageScrollVerticalMargin,color:Ai.pageScrollbarColor,hover:Ai.pageScrollbarHover,side:Ai.pageScrollbarAlignment,alpha:Ai.pageScrollbarBgAlpha,width:e,offsetX:i,offsetY:Ai.pageScrollbarVerticalOffset,property:"translate",rounded:Ai.pageScrollbarRounded,visibility:Ai.pageScrollbarVisibility,scrollTopCheck:!0,parent:T};"nativeMacOs"===Ai.pageScrollType&&(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"),T.scroll=new Re(z,T,n),T.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){T.scroll.percent=0,T.scroll.update(yo)})}}function l(e){function t(e){F.removeEventListener("destroy",t),o.removeEventListener(nn,s),o.removeEventListener(on,d)}var i=new ba;i.width=300;var n=new lt;n.fontFamily=Ai.contactTitleFont,n.fontColor=Ai.contactFontColor,n.fontSize=11,n.text=e,n.selectable=!1,i.addChild(n);var o="Comments"===e?new rt:new et;return o.backgroundColor=V(Ai.contactFieldRectColor,.1),o.border="1px solid "+V(Ai.contactFieldRectColor,.3),o.fontFamily=Ai.contactTitleFont,o.fontColor=Ai.contactFontColor,o.fontSize=16,o.height="Comments"===e?150:20,o.width=300,o.y=17,o.addEventListener(nn,s),o.addEventListener(on,d),F.addEventListener("destroy",t),i.addChild(o),i.id=e,i.input=o,i}function s(e){qe(this,yo,{backgroundColor:V(Ai.contactFieldRectColor,.2),border:"1px solid "+V(Ai.contactFieldRectColor,.7)})}function d(e){qe(this,yo,{backgroundColor:V(Ai.contactFieldRectColor,.1),border:"1px solid "+V(Ai.contactFieldRectColor,.3)})}function c(e){qe(this,yo,{backgroundColor:V(Ai.contactFieldRectColor,.8)})}function h(e){qe(this,yo,{backgroundColor:V(Ai.contactFieldRectColor,1)})}function u(e){I.text=e.response,I.x=A+17,qe(O,yo,{alpha:0,onComplete:function(e){O.display="none"}}),qe(I,yo,{alpha:1})}function p(e){var t=Pi[T.id],i=[].slice.apply(O.children).filter(function(e){return e.id}).reduce(function(e,t){if(e){if(e[t.id]=t.input.value||"","Name"===t.id&&""===t.input.value)return ke("Name field cannot be blank."),!1;if("Email"===t.id&&(t.input.value.indexOf("@")===-1||t.input.value.indexOf(".")===-1))return ke("Please enter valid email address."),!1;if("Comments"===t.id&&""===t.input.value)return ke("Comments field cannot be blank."),!1}return e},{});i.Title=t.label,i.toEmail=t.content.contactFormEmail,i.subject=t.content.contactFormSubject,i&&F.dispatchEvent(zo,i)}function m(e){xa.section(T.section),qe(T,T.updateSpeed,{backgroundColor:xa.mediaView.backgroundColor()})}function v(){return xa.section(T.section),_i===Ni||z.width+16>xa.mediaView.width()}function g(e){xa.section(T.section),Sa.activeMediaType=T.type,A=k.element.offsetWidth,A>320&&(A=320,k.width=320,k.textWrap=!0,k.style["word-wrap"]="break-word"),z.width=A+O.width+18,v()?(k.x=8,O.x=-8,Ai.contactTitleShow?(x&&(x.x=8,x.y=E(Ai.contactTitleFontSize,100)),k.y=x.y+E(Ai.contactTitleFontSize,100)+16,O.y=k.y+k.element.offsetHeight+16):(k.y=0,O.y=k.element.offsetHeight),T.scroll&&(T.scroll.align="top"),O.borderLeft="1px solid "+V(Ai.contactFieldRectColor,0),k.textAlign="left"):(k.x=0,k.y=0,O.x=A+16,O.y=44,O.borderLeft="1px solid "+V(Ai.contactFieldRectColor,.3),k.textAlign="right",Ai.contactTitleShow&&x&&(x.textWrap=!0,x.x=A+32,x.y=E(Ai.contactTitleFontSize,100)-33),T.scroll&&(T.scroll.align="top")),w&&!w.contactFormExtra&&(T.scroll&&(T.scroll.align="top"),O.borderLeft="1px solid "+V(Ai.contactFieldRectColor,0),O.x=-8,x&&(x.x=8)),z.transition=0,a(),qe.defer(z,T.updateSpeed,{x:f(),y:b(),onComplete:function(){T.scroll&&T.scroll.resize(),qe(z,yo,{alpha:1})}}),T.updateSpeed=yo,isInit=!1,r()}function f(){if(xa.section(T.section),Sa._activeView="contact",z.width+16>xa.mediaView.width()){var e=Math.round(.5*(xa.mediaView.width()-O.width));return e}var e=Math.round(.5*(xa.mediaView.width()-z.width));return e}function b(){return xa.section(T.section),Sa._activeView="contact",y>xa.mediaView.height()?_i===Ni||_i===Wi?40:22:Math.round(.5*(xa.mediaView.height()-y))}function C(e){F.removeEventListener(en,g),F.removeEventListener(jn,g),F.removeEventListener("destroy",C),F.removeEventListener("showCursor",t),F.removeEventListener("hideCursor",n),F.removeEventListener(Oo,u),T.removeEventListener(Lo,o)}var w,y,L,x,M,T=new ba({events:e.events}),z=new ba,k=new ba,O=new ba,I=new ba,F=e.localEvents,A=0;return T.section=e.section,T.alpha=0,z.alpha=0,z.selectable=!0,T.updateSpeed=0,T.id=e.mediaItem.id,T.type=e.mediaItem.type,T.dims=e.size.content,T.element.navigationCursor=!i(T.section),T.mediaItem=e.mediaItem,T.addEventListener(Lo,o),F.addEventListener(en,g),F.addEventListener(jn,g),F.addEventListener("destroy",C),F.addEventListener("showCursor",t),F.addEventListener("hideCursor",n),T.load=function(){T.loaded=!0},T.unload=function(){},T.show=function(){T.display="block",qe(T,yo,{alpha:1})},T.hide=function(){qe(T,yo,{alpha:0,onComplete:function(){T.display="none"}})},T.updatePosition=g,T}function Kt(e){function t(){return xa.lightboxSection&&!Ai.lightboxGalleryBtnDisable&&!Ai.lightboxImageDisable}function n(){i(w.section)||(w.element.navigationCursor=!0,x.element.navigationCursor=!0,M.element.navigationCursor=!0),x.element.addEventListener("contextmenu",o),x.element.addEventListener("dragstart",o),w.element.style["user-select"]="none",M.element.style["user-select"]="none",x.element.style["user-select"]="none",w.addChild(M),M.addChild(x),"spinner"===xa.overrides.imageVideoLoaderType&&(L=new tt({color:e.loaderColor}),M.addChild(L)),l(),v()}function o(e){var t=void 0===Ri.disableRightClick||Ri.disableRightClick;t&&e.preventDefault()}function a(){i(w.section)||(w.element.navigationCursor=!0,x.element.navigationCursor=!0,M.element.navigationCursor=!0)}function r(){w.element.navigationCursor=!1,x.element.navigationCursor=!1,M.element.navigationCursor=!1}function l(){xa.section(w.section),x&&Ai.imageRendering.optimizeQuality&&(x.style["image-rendering"]="optimizeQuality"),x&&Ai.imageRendering.webkitOptimizeContrast&&(x.style["image-rendering"]="-webkit-optimize-contrast"),x&&"Safari"===aa&&Ai.imageRendering.webkitBackfaceVisibility&&(x.element.style["-webkit-backface-visibility"]="hidden"),x&&_i===Ni&&(x.element.style["-webkit-backface-visibility"]="hidden"),_i===Ni?qe(w,w.updateSpeed,{backgroundColor:Ai.containerColorMobile||xa.mediaView.backgroundColor()}):_i===Wi?qe(w,w.updateSpeed,{backgroundColor:Ai.containerColorTablet||xa.mediaView.backgroundColor()}):qe(w,w.updateSpeed,{backgroundColor:xa.mediaView.backgroundColor()}),p(_)}function s(){if(/media/.test(S.captionAnchorTo)||/media/.test(xa.overrides.captionAnchorTo)){xa.section(w.section),Sa.activeMediaType=w.type,y.container.transition=0,K(S.captionCloseButton,xa.overrides.captionCloseButton)?y.showCloseButton():y.hideCloseButton();var t={onInit:function(){y.scroll&&y.scroll.hide()},onComplete:function(){y.scroll&&(y.scroll.show(),y.scroll.resize())}},n=S.captionBackgroundRectColor||xa.overrides.captionBackgroundRectColor,o=K(S.captionBackgroundAlpha,xa.overrides.captionBackgroundAlpha);if(y.backgroundColor=V(n,o),y.fontFamily=S.captionFont||xa.overrides.captionFont,y.fontSize=Ca.width-1)&&y.show(s)}}function m(){var e=i(w.section)&&Ai.slideshowCaptions;e||y.hide()}function v(){xa.section(w.section),Sa.activeMediaType=w.type,D=xa.mediaView.maskWidth(w.width),R=xa.mediaView.maskHeight(w.height,w.section.key),qe(M,w.updateSpeed,{x:xa.mediaView.maskX(),y:xa.mediaView.maskY(w.section.key),width:D,height:R}),b(),B&&f(),p(_)}function g(){w.updateSpeed=0,B=!0,this.width&&T!==this.width&&(T=this.width),this.height&&z!==this.height&&(z=this.height),L&&(L.removeLoader(),M.removeChild(L)),v(),p(_),w.dispatchEvent(wo,{type:"image",id:e.mediaItem.id,width:this.width,height:this.height}),w.events.dispatchEvent(wo,{type:"image",id:e.mediaItem.id,width:this.width,height:this.height}),w.updateSpeed=yo,"Safari"===aa&&/hScroll/.test(xa.overrides.transitionType)&&x.element.setAttribute("nopin","nopin")}function f(){xa.section(w.section);var e=Pe(null,0,{type:xa.mediaView.imageScaleType(),width:T,height:z,hRange:D,vRange:R,hAlign:xa.mediaView.hAlign(),vAlign:xa.mediaView.vAlign(),disableOrientationCheck:F()});O=Math.ceil(e.scale.width),I=Math.ceil(e.scale.height),P=Math.floor(e.align.x),H=Math.floor(e.align.y),qe(x,w.updateSpeed,{x:P,y:H,width:O,height:I,onComplete:function(){setTimeout(function(){qe(x,xa.mediaView.transitionDuration(),{alpha:1,ease:"cubic-bezier(0.7, 0, 0.3, 1)"})},0)}}),p(_)}function b(){L&&(L.x=.5*(D-L.width),L.y=.5*(R-L.height))}function C(){j.removeEventListener("destroy",C),j.removeEventListener(en,v),j.removeEventListener(jn,v),j.removeEventListener("showCursor",a),j.removeEventListener("hideCursor",r),x.removeEventListener($i,g),w.removeEventListener(Lo,n)}var w=new ba({events:e.localEvents});w.alpha=0,w.updateSpeed=0,w.overflow="hidden",w.id=e.mediaItem.id,w.type=e.mediaItem.type,w.dims=e.size.content,w.section=e.section,w.state=e.state,w.mediaItem=e.mediaItem;var y,L,S,x=new Ke,M=new ba,T=e.size.content.width,z=e.size.content.height,O=0,I=0,P=0,H=0,D=0,R=0,B=!1,j=e.localEvents,_=e.state;if(t()&&xa.lightboxButtonsEnabled()){var W=xa.lightboxSection.media.indexOf(w.mediaItem.id);if(!w.mediaItem.disableLightbox){var N=we({alignHorizontal:Ai.lightboxGalleryBtnAlignHorizontal||"left",alignVertical:Ai.lightboxGalleryBtnAlignVertical||"top",horizontalOffset:E(Ai.lightboxGalleryBtnHorizontalOffset,Ca.height),verticalOffset:E(Ai.lightboxGalleryBtnVerticalOffset,Ca.height),blendMode:Ai.lightboxGalleryBtnBlendMode||"difference",font:Ai.lightboxGalleryBtnFont||"Helvetica",fontSize:Ai.lightboxGalleryBtnFontSize||12,fontColor:Ai.lightboxGalleryBtnFontColor||"#999999"});if(N.zIndex=1,N.text=W>-1?Ai.lightboxGalleryBtnRemoveText||"- Lightbox":Ai.lightboxGalleryBtnAddText||"+ Lightbox",N.addEventListener("click",function(e){var t,i=xa.lightboxSection.media.indexOf(w.mediaItem.id);i>-1?(N.text=Ai.lightboxGalleryBtnAddText||"+ Lightbox",t="remove"):(N.text=Ai.lightboxGalleryBtnRemoveText||"- Lightbox",t="add"),w.events.dispatchEvent("lightboxUpdateItem",{action:t,id:w.mediaItem.id}),N.cursor="pointer"}),w.addChild(N),e.section.isLightbox&&!Ai.lightboxGalleryDownloadBtnDisable){var X=we({alignHorizontal:Ai.lightboxDownloadBtnAlignHorizontal||"right",alignVertical:Ai.lightboxDownloadBtnAlignVertical||"top",horizontalOffset:E(Ai.lightboxDownloadBtnHorizontalOffset,Ca.height),verticalOffset:E(Ai.lightboxDownloadBtnVerticalOffset,Ca.height),blendMode:Ai.lightboxDownloadBtnBlendMode||"difference",font:Ai.lightboxDownloadBtnFont||"Helvetica",fontSize:Ai.lightboxDownloadBtnFontSize||12,fontColor:Ai.lightboxDownloadBtnFontColor||"#999999"});X.zIndex=1,X.text=Ai.lightboxDownloadBtnText||"↓",X.addEventListener("click",function(e){w.events.dispatchEvent("lightboxDownloadOverlayOpen")}),w.addChild(X)}}}x.alpha=0,x.selectable=!1,M.overflow="hidden",j.addEventListener(en,v),j.addEventListener(jn,v),j.addEventListener("destroy",C),j.addEventListener("showCursor",a),j.addEventListener("hideCursor",r),w.addEventListener(Lo,n);var Y=k(e.mediaItem);return y||""===Y||(y=new Ea,S=e.mediaItem.overrides||{},j.addEventListener("showCaption",p),j.addEventListener("hideCaption",m),j.addEventListener("checkCaption",c),h(Y)),w.load=function(){w.loaded=!0,x.addEventListener($i,g),x.src=d(e.mediaItem.content,e.mediaItem.demoFile),""!==Y&&(w.addChild(y.container),s())},w.unload=function(){},w.hide=function(){1===w.alpha&&qe(w,yo,{alpha:0,onComplete:function(){w.display="none"}})},w.show=function(){0===w.alpha&&(w.display="block",qe(w,yo,{alpha:1}))},w.updatePosition=v,w}function Jt(e){function t(e){i(P.section)||(P.element.navigationCursor=!0,V&&(V.element.navigationCursor=!0),D.element.navigationCursor=!0)}function n(e){P.element.navigationCursor=!1,V&&(V.element.navigationCursor=!1),D.element.navigationCursor=!1}function o(e){/page|imageRendering/.test(e.id)&&(y(),L())}function a(){xa.section(P.section),e.mediaItem.content=ue(e.mediaItem.content),P.loaded=!1;var t=He({width:R,height:B,filename:e.mediaItem.featuredImage});R=Math.round(t.width),B=Math.round(t.height),w()&&!T()?(V=new Ke,V.dataSrc=d(e.mediaItem.featuredImage,e.mediaItem.demoFile),i(P.section)||(V.element.navigationCursor=!0,D.element.navigationCursor=!0),V.addEventListener($i,x),V.alpha=0,P.addChild(V)):(P.events.dispatchEvent(wo,{}),setTimeout(function(){P.updateSpeed=xa.mediaView.transitionDuration()},0));var n="";if(C()){var o=xa.overrides.pageTitleFont.split(":"),a=o[0],r=o[1],l=E(xa.overrides.pageTitleFontSize,22);n+=""+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)&&ie.show(O)}}function R(){ie.hide(),ie.scroll&&ie.scroll.destroy()}function B(){xa.section(Q.section),$&&Ai.imageRendering.optimizeQuality&&($.style["image-rendering"]="optimizeQuality"),$&&Ai.imageRendering.webkitOptimizeContrast&&($.style["image-rendering"]="-webkit-optimize-contrast"),$&&"Safari"===aa&&Ai.imageRendering.webkitBackfaceVisibility&&($.style["-webkit-backface-visibility"]="hidden"),Sa.activeMediaType=Q.type,Ce=xa.mediaView.maskWidth(Q.width),ye=xa.mediaView.maskHeight(Q.height,Q.section.key),p(),D(Fe),qe(te,Q.updateSpeed,{x:xa.mediaView.maskX(),y:xa.mediaView.maskY(Q.section.key),width:Ce,height:ye,onComplete:function(){p()}}),ae&&q(),pe(e.mediaItem)&&oe()||Oe||ae&&qe(ae,yo,{alpha:1}),Oe&&!ze&&_(),ze&&W()}function j(){Q.updateSpeed=0,Oe=!0,B(),_(),ae&&qe(ae,yo,{alpha:0}),Q.events.dispatchEvent(wo,{type:"posterImage",id:e.mediaItem.id,width:he,height:ue}),Q.updateSpeed=yo,ce.addEventListener($i,u),ce.src=vo+"play@2x.png",D(Fe),"Safari"===aa&&/hScroll/.test(xa.overrides.transitionType)&&$.element.setAttribute("nopin","nopin")}function _(){xa.section(Q.section),Sa.activeMediaType=Q.type,Ce=xa.mediaView.maskWidth(Q.width),ye=xa.mediaView.maskHeight(Q.height,Q.section.key);var e=Pe({},0,{type:xa.mediaView.imageScaleType(),width:he,height:ue,hRange:Ce,vRange:ye,hAlign:xa.mediaView.hAlign(),vAlign:xa.mediaView.vAlign(),disableOrientationCheck:F()});ve=Math.ceil(e.scale.width),ge=Math.ceil(e.scale.height),fe=Math.floor(e.align.x),be=Math.floor(e.align.y),qe($,Q.updateSpeed,{x:fe,y:be,width:ve,height:ge,onComplete:function(){setTimeout(function(){xa.section(Q.section),i(Q.section)||qe($,xa.mediaView.transitionDuration(),{alpha:1,ease:"cubic-bezier(0.7, 0, 0.3, 1)"})},1e3)}}),ie&&O()}function W(t){xa.section(Q.section),Sa.activeMediaType=Q.type,t&&(Q.playState=t),ne.display="block",setTimeout(function(){ne.display="block"},1e3),Ce=xa.mediaView.maskWidth(Q.width),ye=xa.mediaView.maskHeight(Q.height,Q.section.key);var i=Pe({},0,{type:xa.mediaView.videoScaleType(pe(e.mediaItem)),width:Le,height:xe,hRange:Ce,vRange:ye,hAlign:xa.mediaView.hAlign(),vAlign:xa.mediaView.vAlign(),disableOrientationCheck:F()});if(Ve=Math.floor(i.align.x),Ee=Math.floor(i.align.y),Me=Math.ceil(i.scale.width),Te=Math.ceil(i.scale.height),Me&&Te){if(qe(ne,Q.updateSpeed,{x:Ve,y:Ee,width:Me,height:Te,onComplete:function(){setTimeout(function(){qe(ne,yo,{alpha:1,ease:"cubic-bezier(0.7, 0, 0.3, 1)"})},1e3)}}),ne.setSize(Me,Te,Q.updateSpeed),G(i),ne.hud){var n=Math.floor(i.align.x),o=Math.floor(i.align.y),a=Me,r=Te;Me>xa.mediaView.maskWidth()&&"hScroll"!==xa.overrides.transitionType?(n=0,a=xa.mediaView.maskWidth(),r=xa.mediaView.maskHeight(void 0,Q.section.key)):Te>xa.mediaView.maskHeight(void 0,Q.section.key)&&(o=0,a=xa.mediaView.maskWidth(),r=xa.mediaView.maskHeight(void 0,Q.section.key)),ne.hud.resize(Q.updateSpeed,n,o,a,r);var l=i.align.x>0?i.align.x:0,s=i.align.y>0?i.align.y:0;ne.unmuteBtn.x=Math.round(l)+20,ne.unmuteBtn.y=Math.round(s)+20}ie&&O()}}function N(){return{banner:{width:0,height:0},hdpopup:{width:170,height:180},shareCtrls:{width:50,height:180},videoCtrls:{width:Me,height:50}}}function X(){return{banner:{width:550,height:180},hdpopup:{width:170,height:180},shareCtrls:{width:50,height:180},videoCtrls:{width:Me,height:50}}}function Y(){return{banner:{width:550,height:180},hdpopup:{width:170,height:180},shareCtrls:{width:50,height:180},videoCtrls:{width:Me,height:50}}}function Z(){return"ended"===Q.playState?Y():"paused"===Q.playState?X():N()}function G(e){if(se){var t=Z();le()&&(t.banner.width=540,t.banner.height=170);var i=.5*(Me-t.banner.width),n=.5*(Te-t.banner.height);se.top.x=e.align.x,se.top.y=e.align.y,se.top.width=Me-t.shareCtrls.width,se.top.height=n,se.right.x=e.align.x+Me-i,se.right.y=e.align.y+t.shareCtrls.height,se.right.width=i,se.right.height=Te-t.shareCtrls.height-t.hdpopup.height,se.bottom.x=e.align.x,se.bottom.y=e.align.y+Te-n,se.bottom.width=Me-t.hdpopup.width,se.bottom.height=n-t.videoCtrls.height,se.left.x=e.align.x,se.left.y=e.align.y,se.left.width=i,se.left.height=Te-t.videoCtrls.height}}function U(t){t.id===e.mediaItem.id&&(e.mediaItem.thumb!==t.thumb,e.mediaItem.content!==t.content)}function q(){xa.section(Q.section),ae&&(ae.transition=0,ae.x=.5*(xa.mediaView.maskWidth(Q.width)-ae.width),ae.y=.5*(xa.mediaView.maskHeight(Q.height,Q.section.key)-ae.height))}function J(){Q.events.removeEventListener(Jn,m),Q.events.removeEventListener(Qn,v),Q.events.removeEventListener(fo,b),Q.events.removeEventListener(Jo,c),Q.events.removeEventListener(Qo,h),Ie.removeEventListener(en,B),Ie.removeEventListener(jn,B),Ie.removeEventListener("mediaSizeUpdate",B),Ie.removeEventListener(_n,U),Ie.removeEventListener("mediaAutoPlay",s),Ie.removeEventListener("spacebarTogglePlay",l),Ie.removeEventListener("destroy",J),Ie.removeEventListener("showCursor",n),Ie.removeEventListener("hideCursor",o),$.removeEventListener($i,j),ne&&(ne.element.removeEventListener("webkitendfullscreen",y),pe(e.mediaItem)?ne.removeEventListener(Co,x):ne.element.removeEventListener(bo,S,!1),ne.destroy()),Q.removeEventListener(Lo,a)}var Q=new ba({events:e.localEvents});if(Q.alpha=0,Q.updateSpeed=0,Q.overflow="hidden",Q.id=e.mediaItem.id,Q.type=e.mediaItem.type,Q.dims=e.size.content,Q.section=e.section,Q.state=e.state,Q.mediaItem=e.mediaItem,e.mediaItem.thumb.length||(Pi[Q.id].size.thumb.width=1200,Pi[Q.id].size.thumb.height=800),/mp4/.test(e.mediaItem.thumb)){var $=new ba({type:"video"});$.element.setAttribute("muted",!0),$.element.setAttribute("autoplay",!0),$.element.setAttribute("loop",!0),$.element.setAttribute("playsinline",!0),$.element.setAttribute("type","video/mp4")}else var $=new Ke;$.alpha=0,$.zIndex=1;var ee,te=new ba;te.element.className="video.mask";var ie,ne,ae,re,se,de,ce=new Ke,he=e.size.thumb.width,ue=e.size.thumb.height,ve=0,ge=0,fe=0,be=0,Ce=0,ye=0,Le=e.size.content.width,xe=e.size.content.height,Me=0,Te=0,Ve=0,Ee=0,ze=!1,ke=!1,Oe=!1,Ie=e.localEvents,Fe=e.state;if(t()&&xa.lightboxButtonsEnabled()&&!Q.mediaItem.disableLightbox){var Ae=xa.lightboxSection.media.indexOf(Q.mediaItem.id),He=we({alignHorizontal:Ai.lightboxGalleryBtnAlignHorizontal||"left",alignVertical:Ai.lightboxGalleryBtnAlignVertical||"top",horizontalOffset:E(Ai.lightboxGalleryBtnHorizontalOffset,Ca.height),verticalOffset:E(Ai.lightboxGalleryBtnVerticalOffset,Ca.height),blendMode:Ai.lightboxGalleryBtnBlendMode||"difference",font:Ai.lightboxGalleryBtnFont||"Helvetica",fontSize:Ai.lightboxGalleryBtnFontSize||12,fontColor:Ai.lightboxGalleryBtnFontColor||"#999999"});if(He.zIndex=1,He.text=Ae>-1?Ai.lightboxGalleryBtnRemoveText||"- Lightbox":Ai.lightboxGalleryBtnAddText||"+ Lightbox",He.addEventListener("click",function(e){var t,i=xa.lightboxSection.media.indexOf(Q.mediaItem.id);i>-1?(He.text=Ai.lightboxGalleryBtnAddText||"+ Lightbox",t="remove"):(He.text=Ai.lightboxGalleryBtnRemoveText||"- Lightbox",t="add"),Q.events.dispatchEvent("lightboxUpdateItem",{action:t,id:Q.mediaItem.id}),He.cursor="pointer"}),Q.addChild(He),e.section.isLightbox&&!Ai.lightboxGalleryDownloadBtnDisable){var De=we({alignHorizontal:Ai.lightboxDownloadBtnAlignHorizontal||"right",alignVertical:Ai.lightboxDownloadBtnAlignVertical||"top",horizontalOffset:E(Ai.lightboxDownloadBtnHorizontalOffset,Ca.height),verticalOffset:E(Ai.lightboxDownloadBtnVerticalOffset,Ca.height),blendMode:Ai.lightboxDownloadBtnBlendMode||"difference",font:Ai.lightboxDownloadBtnFont||"Helvetica",fontSize:Ai.lightboxDownloadBtnFontSize||12,fontColor:Ai.lightboxDownloadBtnFontColor||"#999999"});De.text=Ai.lightboxDownloadBtnText||"↓",De.zIndex=1,De.addEventListener("click",function(e){Q.events.dispatchEvent("lightboxDownloadOverlayOpen")}),Q.addChild(De)}}te.overflow="hidden",ce.width=70,ce.height=70,ce.alpha=0,ce.zIndex=4,Q.addEventListener(Lo,a),Q.events.addEventListener(Qn,v),Q.events.addEventListener(Jo,c),Q.events.addEventListener(Qo,h),Ie.addEventListener(en,B),Ie.addEventListener(jn,function(){ne&&(pe(e.mediaItem)?xa.overrides.videoLoop?ne.setLoop("true"):ne.setLoop("false"):xa.overrides.videoLoop?ne.element.setAttribute("loop",!0):ne.element.removeAttribute("loop")),B()}),Ie.addEventListener("mediaSizeUpdate",B),Ie.addEventListener(_n,U),Ie.addEventListener("mediaAutoPlay",s),Ie.addEventListener("spacebarTogglePlay",l),Ie.addEventListener("destroy",J),Ie.addEventListener("showCursor",n),Ie.addEventListener("hideCursor",o);var Re=k(e.mediaItem);return ie||""===Re||(ie=new Ea,ie.container.zIndex=3,re=e.mediaItem.overrides||{},Ie.addEventListener("showCaption",D),Ie.addEventListener("hideCaption",R),Ie.addEventListener("checkCaption",I),P(Re)),Q.load=function(){xa.section(Q.section),Q.loaded=!0,Q.playState=xa.overrides.videoAutoPlay?"playing":"paused",""!==Re&&(Q.addChild(ie.container),O()),me(e.mediaItem)?/mp4/.test(e.mediaItem.thumb)?($.element.addEventListener(bo,function(e){j(),this.muted=!0,this.play()}),$.src=d(e.mediaItem.thumb,e.mediaItem.demoFile)):($.addEventListener($i,j),e.mediaItem.thumb.length?$.src=d(e.mediaItem.thumb,e.mediaItem.demoFile):$.src=vo+"videoLarge2.png"):ne||(b(),xa.overrides.videoAutoPlay&&_i!==Ni&&_i!==Wi||ne.setSource(e.mediaItem.content,!1),D(Fe))},Q.unload=function(){},Q.play=function(t){xa.section(Q.section),t=void 0!==t?t:xa.overrides.videoAutoPlay,ne&&ne.src?ne.play():ne&&!ne.src?ne.setSource(e.mediaItem.content,t):ne||(b(),ne.setSource(e.mediaItem.content,t)),ae&&(ae.removeLoader(),ae.zIndex=0),qe(ce,yo,{alpha:0,onComplete:function(){ce.display="none"}}),i(Q.section)&&!Ai.landingMediaUnmuteBtn&&("function"==typeof ne.disableUnmuteButton&&ne.disableUnmuteButton(),pe(e.mediaItem)||ne.hud.disable())},Q.pause=function(){ne&&ne.pause()},Q.destroy=function(){v()},Q.autoPlay=function(){Q.play(!0),_i!==Ni&&B()},Q.hide=function(){1===Q.alpha&&qe(Q,yo,{alpha:0,onComplete:function(){Q.display="none"}})},Q.show=function(){0===Q.alpha&&(Q.display="block",qe(Q,yo,{alpha:1}))},Q.updatePosition=B,Q}function $t(e){function t(){A.thumbs&&A.thumbs.getTotalHeight()&&(A.overlayView.contentHeight=A.thumbs.getTotalHeight()),A.overlayView.updatePosition()}function i(){A.overlayView.show(),A.thumbs&&A.thumbs.show()}function n(){A.overlayView.hide(),A.thumbs.hide()}function o(e){if(T){var t=r(e.id),i=t&&t.key.indexOf(T.key)>-1;(e&&"thumb"===e.field||e.section===T||i)&&(P=!0,T=e.section?e.section:T,A.overlayView.section=T,A.overlayView.updatePosition(e),v({mode:M,section:T}),A.thumbs&&A.thumbs.resize()),T=e.section?e.section:T,A.overlayView.section=T}else A.thumbs&&(n(),A.thumbs.scroll&&A.thumbs.scroll.destroy(),A.overlayView.removeChild(A.thumbs),delete A.thumbs)}function a(e){A.inquiry&&A.inquiry.updateInquiryInfo()}function s(e){e&&A.share&&(A.share.updateStyle(e),A.share.updatePosition(e)),e&&A.inquiry&&(A.inquiry.updateStyle(e),A.inquiry.updatePosition(e)),e&&/overlay/.test(e.id)&&("overlay"===xa.overrides.thumbnailDock||/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType))&&(P=!0,A.overlayView.updatePosition(e),"changeTemplate"===e.action||(R=!0,v({mode:M,section:T}))),e&&/paginated|static|thumbnail|menuWidth|menuAlignHorizontal|menuOffsetX|sitePaddingTop|sitePaddingRight|sitePaddingBottom|sitePaddingLeft/i.test(e.id)&&(P=!0,A.overlayView.updatePosition(e),"changeTemplate"===e.action||(R=!0,v({mode:M,section:T})),A.thumbs&&A.thumbs.resize())}function d(e){(e.info.isMediaViewStateChange||e.info.isModeChange)&&A.overlayView.updatePosition(e),e.assetId&&(V=e.assetId),e.section&&xa.section(e.section),xa.siteView.unifiedPageScroll()&&/strip/.test(xa.overrides.thumbnailType)?A.overlayView.position="fixed":A.overlayView.position="absolute",/inquiry|share|foto/.test(e.mode)?(A.overlayView.contentHeight=xa.mediaView.zoneHeight(e.section.key),A.overlayView.show(),w(e),y(e),c(e)):(w(e),y(e),c(e)),v(e)}function c(t){if(t.section&&t.mode.indexOf("fotomoto")>-1){var i=S(t.section.media),n=l(i[t.assetId]);return window.FOTOMOTO&&n&&n.type===Yi&&window.FOTOMOTO.API.showWindow(10,Ri.cdnSslUri+"/"+n.content),setTimeout(function(){e.siteEvents.dispatchEvent("clearFotomotoMode","fotomoto")},100),!0}return!1}function h(e,t){return!!t&&t.indexOf(e)!==-1}function u(e){A.thumbs&&!A.thumbs.scroll&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)?e.info&&e.info.isModeChange&&h("thumbs",e.mode)||(e.info&&!e.info.isSectionChange&&e.info.isModeChange&&h("thumbs",e.info.lastUri)?O=A.thumbs.mask.scrollY||window.scrollY:e.info&&e.info.isSectionChange&&(O=void 0)):O=void 0}function m(e){if(A.thumbs&&xa.section(A.thumbs.section),"unifiedSiteScrollVertical"!==xa.overrides.siteDisplayBehavior&&A.thumbs&&!A.thumbs.scroll&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&(info&&info.isSectionChange&&!info.isModeChange&&h("thumbs",M)?xa.siteView.unifiedPageScroll()&&window.scrollTo(0,0):info&&!info.isSectionChange&&info.isModeChange&&h("thumbs",M)&&(xa.siteView.unifiedPageScroll()?window.scrollTo(0,O||0):A.thumbs.mask.scrollY=O||0)),A.thumbs&&/strip/.test(xa.overrides.thumbnailType)&&h("thumbs",M))if(A.thumbs.scroll&&!A.thumbs.mouseHover)A.thumbs.scroll.percent=V/(k.length-1),A.thumbs.scroll.update(yo),A.thumbs.lazyLoader&&A.thumbs.lazyLoader.update();else if("strip"===xa.overrides.thumbnailType){var t=V/(k.length-1);if(/top|bottom/.test(xa.overrides.thumbnailSide)){var i=A.thumbs.mask.grid.width-A.thumbs.mask.width;va.to(A.thumbs.mask,yo,{scrollLeft:Math.round(i*t),scrollTop:0,ease:uo?"outQuart":"inOutCubic",onComplete:function(){A.thumbs&&A.thumbs.lazyLoader&&A.thumbs.lazyLoader.update()}})}else{var i=A.thumbs.mask.grid.height-A.thumbs.mask.height;va.to(A.thumbs.mask,yo,{scrollLeft:0,scrollTop:Math.round(i*t),ease:uo?"outQuart":"inOutCubic",onComplete:function(){A.thumbs&&A.thumbs.lazyLoader&&A.thumbs.lazyLoader.update()}})}}}function v(t){if(M=t.mode||"",T=t.section||T,A.overlayView.section=T,H=t.info?t.info.isModeChange:M!==t.mode&&T===t.section,info=t.info?t.info:{},t.assetId>-1&&(V=t.assetId),E=t.path||E,t.section&&(k=t.section.mediaItems||k),/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&/thumbs/.test(M)?(e.siteEvents.dispatchEvent(Jn),setTimeout(function(){e.mediaView.scroll&&e.mediaView.scroll.hide()},20)):/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&setTimeout(function(){e.mediaView.scroll&&e.mediaView.scroll.show()},0),A.thumbs&&A.thumbs.section!==T&&(O=void 0),A.thumbs&&(A.thumbs.section!==T||P||R)&&(A.thumbs.scroll&&A.thumbs.scroll.destroy(),A.thumbs.lazyLoader&&delete A.thumbs.lazyLoader,A.overlayView.removeChild(A.thumbs),delete A.thumbs),k=t.section.media.filter(function(e){return null!==e}).filter(function(e){return!ge(r(e))}).map(function(e){var t=e<1e4?x(r(e)):JSON.parse(JSON.stringify(l(e)));return t}).filter(function(e){return!!e&&!e.slideshow}),k.filter(function(e){return"link"!==e.type}).forEach(function(e,t){e.assetId=t}),t.section&&t.section.thumb)if(z=t.section.thumb,!A.thumbs&&M.indexOf("thumbs")>-1&&k.length&&("hPaginatedGrid"===xa.overrides.thumbnailType?(A.thumbs=new ti({assetId:V,path:E,mediaItems:k,settings:z,events:e.siteEvents,localEvents:e.localEvents,parent:e.siteView,scrollbarParent:F,section:T,thumbnailOnly:xa.overrides.thumbnailOnly,isIndexSection:g(T)}),A.overlayView.contentHeight=xa.mediaView.zoneHeight(t.section.key)):(A.thumbs=new ni({assetId:V,path:E,mediaItems:k,settings:z,events:e.siteEvents,localEvents:e.localEvents,parent:e.siteView,scrollbarParent:F,section:T,thumbnailOnly:xa.overrides.thumbnailOnly,isIndexSection:g(T)}),A.overlayView.contentHeight="strip"===xa.overrides.thumbnailType&&"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior?xa.mediaView.zoneHeight(t.section.key):A.thumbs.getTotalHeight()),
A.thumbs.section=T,A.thumbs.settings=z,A.overlayView.addChild(A.thumbs)),A.thumbs&&M.indexOf("thumbs")>-1&&(!A.thumbs.toggleState()||P))setTimeout(function(){f(),m(t),i()},1e3*yo);else if(A.thumbs&&A.thumbs.toggleState()&&M.indexOf("thumbs")===-1)if(H)if(f(),xa.siteView.unifiedPageScroll()||/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)&&"multiple"===Sa.sectionDisplayMode||"strip"===xa.overrides.thumbnailType)n();else{var o=500*yo;setTimeout(function(){n()},o)}else e.siteEvents.addEventListener(go,b);u(t),setTimeout(function(){C(t),M.indexOf("thumbs")>-1&&m(t)},20),H=!1,P=!1,R=!1}function f(){"strip"===xa.overrides.thumbnailType&&"displace"===xa.overrides.thumbnailDock&&e.siteEvents.dispatchEvent("thumbStripDisplaceChange")}function b(){e.siteEvents.removeEventListener(go,b),1===Ai.overlayAlpha&&e.siteEvents.dispatchEvent("OPAQUE_OVERLAY_CLOSE"),n()}function C(){A.thumbs&&(V>-1?A.thumbs.highlight(V):A.thumbs.highlight(-1))}function w(t){return t.mode.indexOf("share")>-1?(A.share||(A.share=new Mi(Object.assign({},e,{section:t.section})),A.share.pointerEvents="auto",A.overlayView.addChild(A.share)),A.share.updateContent(t),A.share.show(),!0):(A.share&&A.share.hide(),!1)}function y(t){return t.mode.indexOf("inquiry")>-1?(A.inquiry||(A.inquiry=new xi(Object.assign({},e,{section:t.section})),A.inquiry.pointerEvents="auto",A.overlayView.addChild(A.inquiry)),A.inquiry.updateContent(t),A.inquiry.show(),!0):(A.inquiry&&A.inquiry.hide(),!1)}function L(e){if(e.customThumb)return{name:e.customThumb,size:e.customThumbSize};if(e.media)for(var t=0;t9999){var i=l(e.media[t]);if(i.thumb)return{name:i.thumb,size:i.size.thumb,demoFile:i.demoFile};if("image"===i.type)return{name:i.content,size:i.size.content,demoFile:i.demoFile}}return{name:"",size:{width:0,height:0}}}function x(e){var t;if(e){var i=l(e.media[0]),n=L(e);p(i,e)?(t=JSON.parse(JSON.stringify(i)),t.size.thumb=n.size,t.thumb=n.name,t.demoFile=n.demoFile,t.subTitle=e.subTitle):t={size:{content:{width:0,height:0},thumb:{width:n.size.width,height:n.size.height},featuredImage:{width:0,height:0},bytes:0},slideshow:e.slideshow,label:e.label,subTitle:e.subTitle,alias:e.alias,title:"",type:"link",content:e.indexLink||e.key.replace(/ /g,"-"),thumb:n.name,linkTarget:e.linkTarget||"_self",caption:"",overrides:{thumbScaleFactor:e.overrides.thumbScaleFactor},featuredImage:"",filters:[],dateAdded:(new Date).toISOString(),demoFile:n.demoFile}}return!(!e||!e.visible)&&t}var M,T,V,E,z,k,O,I,F,A=new Qe({parentView:e.mediaView.mask,parentController:e.parentController,events:e.siteEvents}),P=!1,H=!1,D=e.localEvents,R=!1;return A.overlayView=new ei(e),A.overlayView.zIndex=xa.overlayView.zIndex,A.lazyLoaderUpdate=function(){A.thumbs&&A.thumbs.lazyLoader&&A.thumbs.lazyLoader.update()},/^unifiedSite|overlay/.test(xa.overrides.siteDisplayBehavior)?(F=e.mediaView,e.mediaView.addChild(A.overlayView)):(F=e.siteView,e.siteView.addChild(A.overlayView)),D.addEventListener("UPDATE_CONTENT_HEIGHT",function(e){T&&(I=T.key,xa.section(T)),"strip"===xa.overrides.thumbnailType?(A.overlayView.contentHeight=xa.mediaView.zoneHeight(I),A.overlayView.updatePosition()):e.thumbs&&(A.overlayView.contentHeight=e.thumbs,A.overlayView.updatePosition())}),e.siteEvents.addEventListener(jn,s),A.uriChange=d,e.siteEvents.addEventListener(Yn,o),e.siteEvents.addEventListener(Xn,a),e.siteEvents.addEventListener("UPDATE_CONTENT_HEIGHT",t),e.siteEvents.addEventListener("holdersBuilt",function(){C(),m()}),A.destroy=function(){A.thumbs&&(A.thumbs.scroll&&A.thumbs.scroll.destroy(),A.thumbs.staticNav&&A.thumbs.removeStaticNav()),/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)?e.mediaView.mask.removeChild(A.overlayView):e.siteView.removeChild(A.overlayView),e.siteEvents.removeEventListener(jn,s),A.uriChange=d,e.siteEvents.removeEventListener(Yn,o),e.siteEvents.removeEventListener(Xn,a),e.siteEvents.removeEventListener("UPDATE_CONTENT_HEIGHT",t),e.siteEvents.removeEventListener("holdersBuilt",function(){thumbHoldersBuilt(),m()})},A.resize=function(e){A.overlayView.updatePosition(e),A.share&&A.share.updatePosition(e),A.inquiry&&A.inquiry.updatePosition(e),A.thumbs&&A.thumbs.resize()},A}function ei(e){var t=new st({events:e.events});t.zIndex=xa.overlayView.zIndex,t.overflow=/hPaginatedGrid/.test(xa.overrides.thumbnailType)?"initial":"hidden",t.pointerEvents="none",t.updateSpeed=0,"Safari"===aa&&(t.style["-webkit-backface-visibility"]="hidden",t.style.transform="translateZ(0)"),t.element.setAttribute("class","OverlayView"),t.addEventListener(Lo,function(){t.updatePosition()}),t.show=function(){t.display="block",qe(t,yo,{alpha:1})},t.hide=function(){qe(t,yo,{alpha:0,onComplete:function(){t.display="none"}})};var i=20;return t.updatePosition=function(){setTimeout(function(){t.section&&(t.sectionKey=t.section.key,xa.section(t.section)),t.overflow=/hPaginatedGrid/.test(xa.overrides.thumbnailType)?"initial":"hidden";var e=xa.overrides.siteDisplayBehavior&&/^unifiedSite/.test(xa.overrides.siteDisplayBehavior)?t.contentHeight||0:xa.overlayView.zoneHeight();"unifiedSiteScrollVertical"===xa.overrides.siteDisplayBehavior&&/strip/.test(xa.overrides.thumbnailType)&&(e=xa.mediaView.zoneHeight(t.sectionKey)),qe.defer(t,0,{x:xa.overlayView.x(),y:xa.overlayView.y(t.sectionKey),width:xa.overlayView.zoneWidth(),height:e}),t.updateSpeed=yo},i)},t}function ti(e){function t(e,t,i){var n=Eo[xa.overrides.thumbnailSize].width+i,o=Math.floor((e+i)/n);return o0?f-1:0;var t=h[f];qe(c,.35,{x:-t.x,ease:ia.cubic.inOut,onComplete:function(){0===f?(e.hide("prev"),e.show("next")):f===h.length-1?(e.hide("next"),e.show("prev")):e.show(),t.lazyLoader.update()}})},nextClick:function(e){f=f+10&&(c=d(new ba),c.zIndex=1,c.element.className="paginated container",v.mask.element.className="paginated mask",v.mask.width=xa.mediaView.zoneWidth(),v.mask.height=xa.mediaView.zoneHeight(v.section.key),v.layout=function(){h.forEach(function(e,t){e.resize(),e.x=t*xa.mediaView.zoneWidth()})},v.transition=new ii({mediaView:v,mediaViewContainer:c,event:e.events}),v.resize=function(){d(c),f>h.length-1&&(f=h.length-1),v.staticNav&&(v.staticNav.resize({x:0,y:0,width:xa.overlayView.zoneWidth(),height:xa.mediaView.zoneHeight(v.section.key)}),h.length&&1!==h.length?0===f?(v.staticNav.hide("prev"),v.staticNav.show("next")):f===h.length-1?(v.staticNav.hide("next"),v.staticNav.show("prev")):v.staticNav.show():v.staticNav.hide()),v.layout(),h[f]&&qe(c,.35,{x:-h[f].x})},v.removeStaticNav=function(){v.removeChild(v.staticNav)},v.staticNav=r(),h.length&&1!==h.length?0===f?(v.staticNav.hide("prev"),v.staticNav.show("next")):f===h.length-1?(v.staticNav.hide("next"),v.staticNav.show("prev")):v.staticNav.show():v.staticNav.hide(),v.resize()),v.show=function(){v.display="block",h.forEach(function(e,t){e.show()}),m=!0},v.hide=function(){h.forEach(function(e){e.hide()}),setTimeout(function(){v.display="none"},1e3*yo),m=!1},v.toggleState=function(){return m},v.highlight=function(){if(c){var e=c.children[f];e&&e.highlight()}},v.mask.addChild(c),v.addChild(v.mask),v.addChild(v.staticNav),v}function ii(e){function t(e,t){xa.section(o.section);var t=void 0!==t?t:xa.mediaView.transitionDuration();n.dispatchEvent(go);var a=uo?ia.quart.out:ia.cubic.inOut,r=i.children[e];if(r){var l=r.x,s=r.y;if(qe(i,t,{translateX:-l,translateY:-s,ease:a,onComplete:function(){n.dispatchEvent(fo),o.lazyLoader&&o.lazyLoader.update()}}),_i===Ni)for(var d=i.children,c=0;c1?(c=2*Eo[xa.overrides.thumbnailSize].width+xa.overrides.thumbnailGap,u=2*Eo[xa.overrides.thumbnailSize].height+xa.overrides.thumbnailGap,p=2*Eo[xa.overrides.thumbnailSize].width+xa.overrides.thumbnailGap,g=2*Eo[xa.overrides.thumbnailSize].height+xa.overrides.thumbnailGap):(c=Eo[xa.overrides.thumbnailSize].width,u=Eo[xa.overrides.thumbnailSize].height,p=Eo[xa.overrides.thumbnailSize].width,g=Eo[xa.overrides.thumbnailSize].height);var x=c,M=u;if(L.width=x,L.height=M,L.filename=n(l,c,u),L.original=o(l,c,u),w(e.section.id)?L.index=C(l.assetId,e.section.mediaItems.length-1):L.index=l.assetId,/mp4/.test(L.filename)?(L.thumb=new ba({type:"video"}),L.thumb.element.setAttribute("muted",!0),L.thumb.element.setAttribute("autoplay",!0),L.thumb.element.setAttribute("loop",!0),L.thumb.element.setAttribute("playsinline",!0),L.thumb.element.setAttribute("type","video/mp4")):L.thumb=new Ke,L.thumb.attempts=0,L.thumb.selectable=!1,L.thumb.zIndex=1,!l.disableLightbox&&h(l.type)&&xa.lightboxButtonsEnabled()){var T=xa.lightboxSection.media.indexOf(l.id),z=we({alignHorizontal:Ai.lightboxThumbnailBtnAlignHorizontal||"right",alignVertical:Ai.lightboxThumbnailBtnAlignVertical||"top",horizontalOffset:E(Ai.lightboxThumbnailBtnHorizontalOffset,Ca.height),verticalOffset:E(Ai.lightboxThumbnailBtnVerticalOffset,Ca.height),blendMode:Ai.lightboxThumbnailBtnBlendMode||"difference",font:Ai.lightboxThumbnailBtnFont||"Helvetica",fontSize:Ai.lightboxThumbnailBtnFontSize||12,fontColor:Ai.lightboxThumbnailBtnFontColor||"#999999"});if(z.zIndex=5,z.text=T>-1?Ai.lightboxThumbnailBtnRemoveText||"- Lightbox":Ai.lightboxThumbnailBtnAddText||"+ Lightbox",L.lightboxBtn=z,L.lightboxBtn.addEventListener("click",function(e){var t,i=xa.lightboxSection.media.indexOf(l.id);i>-1?(z.text=Ai.lightboxThumbnailBtnAddText||"+ Lightbox",X.section.isLightbox&&(L.thumb.alpha=.15),t="remove"):(z.text=Ai.lightboxThumbnailBtnRemoveText||"- Lightbox",X.section.isLightbox&&(L.thumb.alpha=1),t="add"),L.lightboxBtn.cursor="pointer",X.events.dispatchEvent("lightboxUpdateItem",{action:t,id:l.id})}),L.addChild(z),!Ai.lightboxThumbnailDownloadBtnDisable&&X.section.isLightbox){var k=we({alignHorizontal:Ai.lightboxThumbnailDownloadBtnAlignHorizontal||"right",alignVertical:Ai.lightboxThumbnailDownloadBtnAlignVertical||"top",horizontalOffset:E(Ai.lightboxThumbnailDownloadBtnHorizontalOffset,Ca.height),verticalOffset:E(Ai.lightboxThumbnailDownloadBtnVerticalOffset,Ca.height),blendMode:Ai.lightboxThumbnailDownloadBtnBlendMode||"difference",font:Ai.lightboxThumbnailDownloadBtnFont||"Helvetica",fontSize:Ai.lightboxThumbnailDownloadBtnFontSize||12,fontColor:Ai.lightboxThumbnailDownloadBtnFontColor||"#999999"});k.text=Ai.lightboxThumbnailDownloadBtnText||"↓",k.zIndex=5,k.addEventListener("click",function(e){X.events.dispatchEvent("lightboxDownloadOverlayOpen")}),L.addChild(k)}}var I=De({type:"fit",hRange:p,vRange:g,width:l.size.thumb.width||l.size.content.width||Eo[xa.overrides.thumbnailSize].width,height:l.size.thumb.height||l.size.content.height||Eo[xa.overrides.thumbnailSize].height,disableOrientationCheck:!0}),F=new xe({hRange:c,vRange:u,hAlign:xa.overrides.thumbnailAlignHorizontal||"center",vAlign:xa.overrides.thumbnailAlignVertical||"center",width:I.width,height:I.height});L.thumb.width=Math.ceil(I.width),L.thumb.height=Math.ceil(I.height),L.thumb.x=Math.floor(F.x),L.thumb.y=Math.floor(F.y),"strip"!==xa.overrides.thumbnailType&&("slideUp"===Ai.thumbLoadEffect?(L.alpha=0,L.translateX=0,L.translateY=70):"slideDown"===Ai.thumbLoadEffect&&(L.alpha=0,L.translateX=0,L.translateY=-70)),l.type===Zi&&xa.overrides.thumbnailVideoPlayIcon&&(pe(l)&&xa.overrides.vimeoDefault&&e.thumbnailOnly||v(L,c,u)),L.playBtn&&(L.playBtn.x=Math.round(.5*(c-50)),L.playBtn.y=Math.round(.5*(u-50)));var P=ri(e.isIndexSection);if(L.selectable=!0,P&&"none"!==P){L.label=new lt,L.label.selectable=!0;var R=l.alias||l.label;l.subTitle&&(R+="
"+l.subTitle+"
"),L.label.text=R,L.label.element.style.wordBreak="break-word",L.label.fontFamily=xa.overrides.thumbnailTitleFont,L.label.fontColor=xa.overrides.thumbnailTitleFontColor,L.label.fontSize=xa.overrides.thumbnailTitleFontSize,L.label.width=c,L.label.textAlign=di(e.isIndexSection),L.label.zIndex=5;var B=J(L.label);switch(P){case"top":L.label.y=K(xa.overrides.thumbnailLabelVerticalOffset,5),L.thumb.y=B.height+K(xa.overrides.thumbnailLabelVerticalOffset,5),q=B.height+2*K(xa.overrides.thumbnailLabelVerticalOffset,5)>q?B.height+2*K(xa.overrides.thumbnailLabelVerticalOffset,5):q,L.height=u+q;break;case"over":case"hover":l.type===Zi&&xa.overrides.thumbnailVideoPlayIcon?L.label.y=.5*(u-50)-B.height+K(xa.overrides.thumbnailLabelVerticalOffset,0):L.label.y=.5*(u-B.height)+K(xa.overrides.thumbnailLabelVerticalOffset,0),L.label.pointerEvents="none",_i===Ni||oe()?L.label.alpha=1:_i===Wi||le()?L.label.alpha=1:"over"===P?L.label.alpha=1:L.label.alpha=0;break;case"bottom":default:L.label.y=u+K(xa.overrides.thumbnailLabelVerticalOffset,5),q=B.height+2*K(xa.overrides.thumbnailLabelVerticalOffset,5)>q?B.height+2*K(xa.overrides.thumbnailLabelVerticalOffset,5):q,L.height=u+q}L.addChild(L.label)}"spinner"===xa.overrides.thumbnailLoaderType&&(L.loader=new tt({type:"spinner",alpha:.65,color:s()}),L.addChild(L.loader),L.loader.x=.5*(c-L.loader.width),L.loader.y=.5*(u-L.loader.height));var j=new ba;j.id="hit",j.zIndex=4,_i===Ni&&"hover"===P?j.alpha=K(xa.overrides.thumbnailHoverAlphaMobile,xa.overrides.thumbnailHoverAlpha):_i===Wi&&"hover"===P?j.alpha=K(xa.overrides.thumbnailHoverAlphaTablet,xa.overrides.thumbnailHoverAlpha):j.alpha=0,j.y=0,j.width=x,j.height=M,j.backgroundColor=xa.overrides.thumbnailHoverColor,"Safari"===aa&&(j.style["-webkit-backface-visibility"]="hidden",j.style.transform="translateZ(0px)"),L.addChild(j),L.hit=j;var _=fi(),W=bi(_,xa.overrides.thumbnailMaxCols,xa.overrides.thumbnailGap),N=/hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryMaintainOrder,Y=!(!(W>1&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType))||N)&&d;Q.addItem(c,L.height,Y),L.defaultWidth=x,L.defaultHeight=M,D.addChild(L),G.push(L),e.thumbnailOnly&&"link"!==l.type||(oe()||le()||(j.addEventListener(dn,f),j.addEventListener(pn,b)),j.addEventListener(Tn,y)),j.element.addEventListener("contextmenu",r),j.element.addEventListener("dragstart",r),L.load=O,L.unload=A,a===i-1&&setTimeout(function(){H.gridContainer.addChild(D),X.holdersBuilt=!0,X.updateSpeed=yo,xa.section(X.section),X.events.dispatchEvent("holdersBuilt"),m(),X.resize()},0)}},0)}(a)}function p(e){var t=vo;switch(e){case Zi:t+="video2@2x.png";break;case Gi:t+="text3@2x.png";break;case Ui:t+="swf@2x.png";break;case qi:t+="link@2x.png";break;case Ki:t+="pdf@2x.png";break;case Ji:t+="contact@2x.png"}return t}function m(){if(xa.section(e.section),/fill|hMasonry|vMasonry|hPaginatedGrid/.test(xa.overrides.thumbnailType))B=new Li({titleBlock:j,container:X,mask:H,items:G,side:xa.overrides.thumbnailSide,size:xa.overrides.thumbnailSize,horizontalMargin:E(xa.overrides.thumbnailHorizontalMargin,Ca.width),verticalMargin:j?U+E(xa.overrides.thumbnailVerticalMargin,Ca.height)-xa.overrides.thumbnailTitleBlockTopMargin:E(xa.overrides.thumbnailVerticalMargin,Ca.height),masonry:xa.overrides.thumbnailMasonry,tile:Q,parent:X,grid:D,gap:xa.overrides.thumbnailGap,maxGap:q,events:e.events,localEvents:e.localEvents,isIndexSection:e.isIndexSection,section:e.section});else if("strip"===xa.overrides.thumbnailType){var t="displace"===xa.overrides.thumbnailDock?0:24;"Safari"===aa&&(X.style["-webkit-backface-visibility"]="hidden");var i=ci()?E(xa.overrides.thumbnailHorizontalMargin,Ca.width):E(xa.overrides.thumbnailVerticalMargin,Ca.height),n=Sa.mediaView.size;W=new Ee(X,{get x(){return n.x()},get y(){return n.y(e.section.key)},get width(){return n.width()},get height(){var t=xa.mediaView.zoneHeight(e.section.key);return t}},{side:xa.overrides.thumbnailSide,align:"left",pOffset:i,margin:0,reveal:t,updateSpeed:yo}),B=new Si({section:e.section,dock:W,container:X,mask:H,items:G,side:xa.overrides.thumbnailSide,size:xa.overrides.thumbnailSize,horizontalMargin:E(xa.overrides.thumbnailHorizontalMargin,Ca.width),verticalMargin:E(xa.overrides.thumbnailVerticalMargin,Ca.height),tile:Q,parent:X,localEvents:e.localEvents})}}function v(e,t,i){var n=new Ke;n.src=vo+"play@2x.png",n.width=50,n.height=50,n.alpha=0,n.zIndex=3,n.thumbHolder=e,n.index=e.index,qe(n,1,{alpha:.85}),e.playBtn=n,e.addChild(n)}function f(t){if(xa.section(e.section),t.target.parent.label){var i=g(e.section);(i&&"hover"===xa.overrides.thumbnailLabelPosition||!i&&"hover"===xa.overrides.thumbnailStdLabelPosition)&&qe(t.target.parent.label,.35,{alpha:1})}qe(t.target,.35,{alpha:a(),backgroundColor:xa.overrides.thumbnailHoverColor})}function b(t){if(xa.section(e.section),"link"===t.target.parent.mediaItem.type||N!==t.target.parent.index||0===r()?qe(t.target,.2,{alpha:0}):qe(t.target,.2,{alpha:r(),backgroundColor:xa.overrides.thumbnailSelectedColor}),t.target.parent.label){var i=g(e.section);(i&&"hover"===xa.overrides.thumbnailLabelPosition||!i&&"hover"===xa.overrides.thumbnailStdLabelPosition)&&qe(t.target.parent.label,.35,{alpha:0})}}function y(t){t.stopPropagation();var i=t.target.parent.mediaItem;"string"==typeof i.content&&0===i.content.indexOf("vimeo:")&&t.target.parent.vimeo?(t.target.parent.vimeo.setSource(i.content),t.target.parent.vimeo.element.style.zIndex=5,qe(t.target.parent.vimeo,yo,{alpha:1})):"link"===i.type?X.events.dispatchEvent(Un,{nothumbs:/nothumbs(\/|)$/.test(i.content),type:"internal",path:i.content.replace(/nothumbs(\/|)/i,""),linkTarget:i.linkTarget,isThumbClick:!1}):(xa.section(e.section),X.events.dispatchEvent(Un,{assetId:Number(t.target.parent.index),type:"internal",path:e.path,linkTarget:"_self",isThumbClick:!0,isMobileVideoClick:"video"===i.type&&_i===Ni&&xa.overrides.mobileAutoPlay}))}function L(t){e.events.dispatchEvent(Ko,"thumbs")}function S(e){var t=e.target;t.attempts<2&&t.parent.mediaItem.thumb?(t.src=mo+"/media/"+t.parent.mediaItem.thumb,t.attempts++):t.removeEventListener(Qi,S)}function x(e){return ho?e.width>500||e.height>500:e.width>1e3||e.height>1e3}function T(t){var i=t.thumb,n=t.mediaItem,o=new ht({parent:t,thumbBuild:!0,width:Math.floor(t.width),height:Math.floor(t.height)});o.setSize(Math.floor(t.width),Math.floor(t.height)),o.zIndex=-2,o.alpha=0,t.addChild(o),t.vimeo=o,o.addEventListener(Co,function(e){o.play()}),e.thumbnailOnly&&(xa.overrides.vimeoDefault?(o.zIndex=5,qe(o,yo,{alpha:1}),qe(i,yo,{alpha:0}),o.setSource(n.content)):t.hit.element.onclick=function(e){o.zIndex=5,qe(o,yo,{alpha:1}),qe(i,yo,{alpha:0}),o.setSource(n.content)}),o.onplay=function(){F(o)},o.onpause=function(){}}function k(e){var t=e.thumb,i=e.mediaItem,n=new dt({parent:e,thumbBuild:!0,width:Math.floor(e.hit.width),height:Math.floor(e.hit.height)});n.alpha=0,e.addChild(n),e.video=n,e.hit.element.onclick=function(){F(n),n.setSource(i.content),n.play(),n.element.style.zIndex=5,qe(n,yo,{alpha:1}),qe(t,yo,{alpha:0})},n.element.onclick=function(){n.paused?(F(n),n.play()):n.pause()}}function O(){var t=this,i=(t.thumb,t.mediaItem);xa.section(e.section),!B||t.loaded&&t.thumb.src||(/mp4/.test(t.filename)?(t.thumb.element.addEventListener(bo,function(e){B.thumbLoaded.call(t.thumb),this.muted=!0,this.play()}),t.thumb.src=t.filename):(t.thumb.addEventListener($i,B.thumbLoaded),x(t.thumb)||xa.overrides.thumbnailFullRes?t.thumb.src=t.original:t.thumb.src=t.filename),t.thumb.addEventListener(Qi,S),t.thumb.alpha=0,t.loaded=!0,t.addChild(t.thumb)),i.type!==Zi||t.vimeo||t.video||(pe(i)&&(_i===Ni&&xa.overrides.mobileAutoPlay||e.thumbnailOnly)?T(t):e.thumbnailOnly&&k(t))}function I(e){return"video"===e.mediaItem.type&&(e.vimeo||e.video)}function F(e){X.mask.grid.children.filter(I).forEach(function(t){pe(t.mediaItem)?t.vimeo!==e&&t.vimeo.pause():t.video!==e&&t.video.pause()})}function A(){this.mediaItem.type===Zi&&this.vimeo&&0===this.mediaItem.content.indexOf("vimeo")&&_i===Ni&&this.removeChild(this.vimeo)}function P(){_.state=!0,X.holdersBuilt&&(X.updateSpeed=yo)}xa.section(e.section);var H,D,R,B,j,_,W,N,X=new ba({events:e.events}),Y="left"===xa.overrides.thumbnailSide||"right"===xa.overrides.thumbnailSide||/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)?"y":"x",Z="y"===Y?"top":"left",G=[],U=0,q=xa.overrides.thumbnailGap,Q=new Ne({name:"thumbs",type:xa.overrides.thumbnailType,marginHorizontal:E(xa.overrides.thumbnailHorizontalMargin,Ca.width),marginVertical:E(xa.overrides.thumbnailVerticalMargin,Ca.height),maintainOrder:/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryMaintainOrder,horizontalMasonry:/hMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryEvenRowHeight,masonryFill:/hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryFill,gap:xa.overrides.thumbnailGap});return X.getTotalHeight=function(){return B?B.totalHeight:0},X.currentThumb=1,X.settings=e.settings,X.section=e.section,X.tile=Q,X.pointerEvents="auto",X.isInit=!0,X.element.setAttribute("class","Thumbs.container"),X.selectable=!1,X.build=function(){xa.section(e.section),X.updateSpeed=0,X.holdersBuilt=!1,X.id="thumbs",X.overflow="hidden",X.zIndex=200,X.alpha=0,H=X.mask=new ba,H.id="mask",H.overflow="hidden",H.zIndex=1,H.element.setAttribute("class","Thumbs.mask"),("overlay"===xa.overrides.thumbnailDock||/fill|hMasonry|vMasonry|hPaginatedGrid/.test(xa.overrides.thumbnailType))&&(H.backgroundColor=V(Ai.overlayColor,Ai.overlayAlpha)),X.addChild(H),X.mask=H,D=new ba,D.id="grid",D.element.setAttribute("class","Thumbs.grid"),D.element.style.transform="translateZ(0)",/hMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryFill&&(D.overflow="hidden"),H.grid=D,R=new ba,R.id="grid-container",R.element.setAttribute("class","Thumbs.grid.container"),R.element.style.transform="translateZ(0)",H.gridContainer=R,H.addChild(R);var n={Containername:"thumbs"};(oe()||le())&&(n.domElementScroll=!0),xa.siteView.unifiedPageScroll()&&(/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll)&&"strip"!==xa.overrides.thumbnailType&&"MSIE"!==aa&&(n.windowScroll=!0),/slide/.test(Ai.thumbLoadEffect)&&(n.boundaryMultiplier=.9),ta&&(/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll)?n.domElementScroll=!0:n.property="translate",n.targetChildren=D.children;var o="strip"===xa.overrides.thumbnailType?D:R;X.lazyLoader=new ze(o,H,n),X.lazyLoader.name="thumbs",_=new Ye({target:X,on:X.hide,off:X.show});var a,r,l=0,s=0,d=0,c=0;if(/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&e.section.thumb&&e.section.thumb.titleBlock&&(j=t(e.section),U=xa.overrides.thumbnailTitleBlockTopMargin+j.element.offsetHeight,j.y=xa.overrides.thumbnailTitleBlockTopMargin,H.gridContainer.addChild(j)),oe()||le())/^unified/.test(xa.overrides.siteDisplayBehavior)&&_i!==Ni&&_i!==Wi||("y"===Y?(H.element.style.overflowY="scroll",H.element.style.overflowX="hidden"):(H.element.style.overflowY="hidden",H.element.style.overflowX="scroll")),H.element.style["-webkit-overflow-scrolling"]="touch",D.element.addEventListener("touchstart",function(e){l=0,s=0,d=e.touches[0].pageX,c=e.touches[0].pageY}),D.element.addEventListener("touchmove",function(e){l=e.touches[0].pageX-d,s=e.touches[0].pageY-c,na.abs(l)>na.abs(s)?(l>0?H.element.scrollLeft>0&&H.element.scrollLeft<=D.width-xa.overlayView.zoneWidth()&&e.stopPropagation():"x"===Y&&e.stopPropagation(),a=!0,r=!1):(r=!0,a=!1),X.lazyLoader&&X.lazyLoader.update()}),D.element.addEventListener("touchend",function(e){X.lazyLoader&&X.lazyLoader.update()}),H.element.addEventListener("scroll",function(){X.lazyLoader&&X.lazyLoader.update()}),xa.siteView.unifiedPageScroll()&&window.addEventListener("scroll",function(e){X.lazyLoader&&X.lazyLoader.update()});else if(/^unifiedSite/.test(xa.overrides.siteDisplayBehavior))window.addEventListener("scroll",function(e){X.lazyLoader&&X.lazyLoader.update()});else if(xa.siteView.unifiedPageScroll()&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&(/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll))window.addEventListener("scroll",function(e){X.lazyLoader&&X.lazyLoader.update()});else if(ta&&(/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll))H.element.addEventListener("scroll",function(){X.lazyLoader&&X.lazyLoader.update()}),"y"===Y?(H.element.style.overflowY="scroll",H.element.style.overflowX="hidden"):(H.element.style.overflowY="hidden",H.element.style.overflowX="scroll");else{i();var h="strip"===xa.overrides.thumbnailType?0:xa.overrides.thumbnailScrollbarWidth,p="right"===xa.overrides.thumbnailScrollbarAlignment?-xa.overrides.thumbnailScrollbarHorizontalOffset-h:xa.overrides.thumbnailScrollbarHorizontalOffset+h,m=ci()?"x":"y";"strip"===xa.overrides.thumbnailType&&(Z="y"===Y?xa.overrides.thumbnailAlignVertical||"center":xa.overrides.thumbnailAlignHorizontal||"center");var v={name:"thumbs",types:["bar","wheel","touch"],axis:m,align:Z,zIndex:xa.overlayView.zIndex+1,color:xa.overrides.thumbnailScrollbarColor,hover:xa.overrides.thumbnailScrollbarHover,side:xa.overrides.thumbnailScrollbarAlignment,alpha:xa.overrides.thumbnailScrollbarBgAlpha,width:h,offsetX:xa.overlayView.x()+p,offsetY:xa.overlayView.y(e.section.key)+xa.overrides.thumbnailScrollbarVerticalOffset,property:"translate",rounded:xa.overrides.thumbnailScrollbarRounded,visibility:xa.overrides.thumbnailScrollbarVisibility,parent:e.scrollbarParent};/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)?(v.marginTop=j?xa.overrides.thumbnailTitleBlockTopMargin:E(xa.overrides.thumbnailVerticalMargin,Ca.height),v.marginBottom=E(xa.overrides.thumbnailVerticalMargin,Ca.height)):v.margin=0,(/native/.test(xa.overrides.thumbnailScrollType)||Ai.globalSmoothScroll)&&(v.margin=0,v.color="#000000",v.hover="#000000",v.side="right",v.alpha=0,v.width=h,v.offsetX=xa.overlayView.x()-10,v.offsetY=xa.overlayView.y(e.section.key),v.rounded=!0,v.visibility="when scrolling");var o="strip"===xa.overrides.thumbnailType?D:R;X.scroll=new Re(o,H,v)}X.scroll&&(X.scroll.addEventListener(io,function(){X.lazyLoader&&X.lazyLoader.update()}),X.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){X.scroll.percent=0,X.scroll.update(yo)})),e.mediaItems.length>0&&u(),_.state=!0,X.resize(),_.state=!1,X.isInit=!1},X.resizeThumbVideo=function(){X.mask.grid.children.filter(I).forEach(function(e){e.video?e.video.setSize(e.width,e.height):e.vimeo&&e.vimeo.setSize(e.width,e.height)})},X.highlight=function(t){if(xa.section(e.section),_i!==Ni&&!e.thumbnailOnly){var i=G.length;for(N=Number(void 0!==t?t:e.assetId);i--;)if(i!==N){var n=G[i].hit.parent.mediaItem,o=ri(e.isIndexSection);wi(n)||_i===Ni||_i===Wi||(qe(G[i].hit,yo,{alpha:0}),G[i].hit.parent.label&&"hover"===o&&_i!==Ni&&_i!==Wi&&qe(G[i].hit.parent.label,.35,{alpha:0}))}if(N>-1&&G[N]&&"link"!==G[N].hit.parent.mediaItem.type){X.currentThumb=N+1;var n=G[N].hit.parent.mediaItem,o=ri(e.isIndexSection);qe(G[N].hit,yo,{alpha:r(),backgroundColor:xa.overrides.thumbnailSelectedColor
}),G[N].hit.parent.label&&"hover"===o&&_i!==Ni&&_i!==Wi&&qe(G[N].hit.parent.label,.35,{alpha:0})}}},X.hide=function(){_.state&&(xa.section(e.section),qe(X,yo,{alpha:0,onComplete:function(){X.display="none",X.updateSpeed=0,_.state=!1}}),"strip"===xa.overrides.thumbnailType&&W&&W.hide(),X.scroll&&(X.scroll.disable(),X.scroll.hide()))},X.show=function(){_.state||(X.display="block",setTimeout(function(){xa.section(e.section),W&&W.resize(0),W&&W.show(),X.resize(),qe(X,yo,{alpha:1,onComplete:P}),"scrollbar"===xa.overrides.thumbnailScrollType&&/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&X.scroll&&X.scroll.enable(),X.scroll&&(X.scroll.show(),X.scroll.update())},0))},X.toggle=function(){_.flip(),"strip"===xa.overrides.thumbnailType&&W.toggle(),_.state?X.show():X.hide()},X.toggleState=function(){return _.state},X.resize=function(){B||m(),B&&B.resize(),X.scroll&&X.scroll.resize()},X.build(),X}function oi(){var e=xa.overrides.thumbnailLabelPosition;return oe()&&(e=K(xa.overrides.thumbnailLabelPositionMobile,xa.overrides.thumbnailLabelPosition)),le()&&(e=K(xa.overrides.thumbnailLabelPositionTablet,xa.overrides.thumbnailLabelPosition)),e}function ai(){var e=xa.overrides.thumbnailStdLabelPosition;return oe()&&(e=K(xa.overrides.thumbnailStdLabelPositionMobile,xa.overrides.thumbnailStdLabelPosition)),le()&&(e=K(xa.overrides.thumbnailStdLabelPositionTablet,xa.overrides.thumbnailStdLabelPosition)),e}function ri(e){var t=oi(),i=ai();if(e){if(t)return t}else if(i)return i;return!1}function li(){var e=xa.overrides.thumbnailLabelJustification;return e}function si(){var e=xa.overrides.thumbnailStdLabelJustification;return e}function di(e){var t=li(),i=si();if(e){if(t)return t}else if(i)return i;return"center"}function ci(){return"strip"===xa.overrides.thumbnailType&&("top"===xa.overrides.thumbnailSide||"bottom"===xa.overrides.thumbnailSide)}function hi(){return"strip"===xa.overrides.thumbnailType&&("left"===xa.overrides.thumbnailSide||"right"===xa.overrides.thumbnailSide)}function ui(){return/hMasonry|vMasonry/.test(xa.overrides.thumbnailType)}function pi(e){return!yi(e)&&(ci()||ui()||hi())?e.size.thumb.width||e.size.content.width:Eo[xa.overrides.thumbnailSize].width}function mi(e){return!yi(e)&&(ci()||ui()||hi())?e.size.thumb.height||e.size.content.height:Eo[xa.overrides.thumbnailSize].height}function vi(e,t){if(/hMasonry/.test(xa.overrides.thumbnailType)||/vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryFill)return Ci(e,t);var i=Eo[xa.overrides.thumbnailSize].width,n=bi(fi(),xa.overrides.thumbnailMaxCols,t);return/fill|hMasonry|vMasonry/.test(xa.overrides.thumbnailType)&&e&&n>1?2*i+t:ci()?10*i:i}function gi(e,t){var i=Eo[xa.overrides.thumbnailSize].height,n=bi(fi(),xa.overrides.thumbnailMaxCols,t);return/fill|hMasonry/.test(xa.overrides.thumbnailType)&&e&&n>1?2*i+t:ui()&&!xa.overrides.thumbnailMasonryEvenRowHeight||hi()?10*i:i}function fi(){var e=E(xa.overrides.thumbnailHorizontalMargin,Ca.width);return xa.overlayView.zoneWidth()-2*e}function bi(e,t,i){t=/fill|hPaginatedGrid/.test(xa.overrides.thumbnailType)?1/0:t;var n=Eo[xa.overrides.thumbnailSize].width+i,o=/vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryFill?Math.round:Math.floor,a=o((e+i)/n);return a1?2*Math.round(a)+t:Math.round(a)}function wi(e){return"link"===e.type&&!!e.thumb}function yi(e){return!e.thumb&&"image"!==e.type}function Li(e){function t(){if(xa.section(e.section),/hMasonry/.test(xa.overrides.thumbnailType)||/vMasonry/.test(xa.overrides.thumbnailType)&&xa.overrides.thumbnailMasonryFill)r.perpLength=fi();else{var t=bi(fi(),xa.overrides.thumbnailMaxCols,xa.overrides.thumbnailGap),i=vi(!1,xa.overrides.thumbnailGap),n=xa.overrides.thumbnailGap*(t-1);r.perpLength=i*t+n}r.layoutItems();for(var a=o.grid.children,l=0,s=a.length;l1?(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):Ena.abs(y)?(O=!0,z=!1,e.stopPropagation()):(z=!0,_i===Ni&&(p.dock.toggleState()?p.dock.show(0):p.dock.hide(0)),O=!1),_i!==Ni&&_i!==Wi||!O||e.preventDefault();var t=/left|top|bottom/.test(xa.menuView.placement())?"left":"right";if(_i!==Wi&&_i!==Ni||(t="left"),O){p.transition=0;var i=w+x;"left"===t?p.dock.toggleState()?p.translateX=i>0?0:i:p.translateX=i<-Sa.menuView.width()?-Sa.menuView.width():i:p.translateX=i=e.touches[0].pageX&&(M="left"===t?"close":"open",T=e.touches[0].pageX)}}function s(){O&&"close"===M?(k=!1,p.dock.toggleState()&&p.closeDock()):O&&"open"===M&&(k=!1,p.dock.toggleState()||p.openDock()),k=!1,O=!1,p.removeEventListener(rn,l),p.removeEventListener(ln,s),p.removeEventListener(sn,s)}function d(){p.dock.toggleState()?(H=!1,p.closeDock()):(H=!0,p.openDock())}function c(){C,h()}function h(){C=!0,qe(v,yo,{alpha:1})}function u(){return _i!==Ni&&_i!==Wi&&Ai.menuBlendMode&&"overlay"!==xa.menuView.placement()?Ai.menuBlendMode:"normal"}var p=new st({events:e.events});p.identity="menu",p.element.setAttribute("data-identity","menu"),p.isInitUri=!0,p.alpha=0,p.updateSpeed=0,p.zIndex=xa.menuView.zIndex,p.style.pointerEvents="none",p.x=0,p.y=0,p.position=xa.menuView.menuPositionFixed()||"overlay"===xa.menuView.placement()?"fixed":"absolute",p.element.style["mix-blend-mode"]=u();var m=(e.parentView,new ba);m.identity="menu",m.element.setAttribute("data-identity","menu"),m.element.setAttribute("class","mask"),m.backgroundColor=V("#FF0000",0),m.width=Sa.menuView.width(),p.mask=m,p.addChild(m);var v,g,f,b=!0,C=!1,w=0,y=0,L=0,S=0,x=0,M="open",T=0,z=!1,k=!1,O=!1,I=Q()?"top":"left",F=$()?Sa.menuView.y():Sa.menuView.x(),A=$()?Sa.menuView.x():Sa.menuView.y(),P={width:Ca.width,height:Ca.height};p.addEventListener(Lo,function(){p.updatePosition(),"overlay"===xa.menuView.placement()?b=!1:qe(p,yo,{delay:yo,alpha:1,onComplete:function(){b=!1}})}),p.dock=new Ee(p,P,{side:_i===Wi||_i===Ni?"left":xa.menuView.placement(),align:I,margin:F,pOffset:A,reveal:0,disableResize:"overlay"===xa.menuView.placement()}),p.showCloseButton=function(){var e=xa.menuView.menuIconOverlayColor(),i=Number(Ai.menuIconSize||36),o=t(i);o.isClosed=!1,o.color=e,o.rotate=-180,o.line1Y=2*o.topMargin-(Number(Ai.menuIconLineWidth||1)+1),o.line3Y=2*o.topMargin-(Number(Ai.menuIconLineWidth||1)+1),o.leftMargin*=.5,n(o)},p.showMenuIcon=function(){var e=Number(Ai.menuIconSize||36),i=t(e);i.isClosed=!0,i.color=Ai.menuIconColor||"#333333",i.rotate=0,i.line1Y=i.topMargin,i.line3Y=3*i.topMargin,i.diagonal=i.width,n(i)},_i===Wi||_i===Ni?(v=new ba,v.svg=new ya,v.path=new nt,v.width=20,v.height=20,v.svg.width=20,v.svg.height=20,v.path.d=wa.menuIconMobile,v.path.strokeWidth=0,v.path.stroke="none",v.path.fill=Ai.menuIconColor||xa.overrides.overlayTitleFontColor||"#606060",v.addChild(v.svg),v.svg.addChild(v.path),v.zIndex=50,v.padding=8,v.alpha=1,v.style.pointerEvents="auto",v.y=16,p.addChild(v),v.addEventListener(Tn,d),p.events.addEventListener(jo,a),p.addEventListener(an,r),p.style.pointerEvents="auto"):"overlay"===xa.menuView.placement()&&i();var H=!1;return p.openDock=function(e){e=isNaN(e)?yo:e,Ca.zoom<=1&&(_i===Ni||_i===Wi)?(p.events.dispatchEvent(_o),p.dock.show(e),clearInterval(g)):"overlay"===xa.menuView.placement()&&(p.showCloseButton(),p.dock.show(0,function(t){t.display="block",p.menuText.updatePosition(0),qe(t,e,{delay:.15,alpha:1}),f=document.body.style.overflowY,document.body.style.overflowY="hidden"}))},p.closeDock=function(e){e=isNaN(e)?yo:e,Ca.zoom<=1&&!k&&(_i===Ni||_i===Wi)?(p.dock.toggleState()&&p.events.dispatchEvent(Wo),p.dock.hide(e)):"overlay"===xa.menuView.placement()&&(p.showMenuIcon(),p.dock.hide(0,function(t){qe(t,e,{delay:.05,alpha:0,onComplete:function(){t.display="none"}}),document.body.style.overflowY=f}))},p.updateStyle=function(){_i===Ni?qe(p,p.updateSpeed,{backgroundColor:V(Ai.menuBgColorMobile||Ai.menuBgColor,Ai.menuBgAlphaMobile||Ai.menuBgAlpha)}):_i===Wi?qe(p,p.updateSpeed,{backgroundColor:V(Ai.menuBgColorTablet||Ai.menuBgColor,Ai.menuBgAlphaTablet||Ai.menuBgAlpha)}):qe(p,0,{backgroundColor:V(xa.menuView.menuBgColor(),xa.menuView.menuBgAlpha())})},p.updatePosition=function(t){var n="layoutModelChange"===t,o=isNaN(t)?p.updateSpeed:t;p.position=xa.menuView.menuPositionFixed()||"overlay"===xa.menuView.placement()?"fixed":"absolute",p.element.style["mix-blend-mode"]=u();var a=q(p,"menuText.height")||0,r=Sa.menuView.height()-Sa.menuText.y(a),l=Sa.menuText.y(a);if(_i===Ni?r=Sa._footerHeight?Sa.menuView.height()-Sa.menuText.y(a)-Sa._footerHeight-2*Sa.mobileFooterPadding:Sa.menuView.height()-Sa.menuText.y(a):r>Sa.menuView.height()&&(r=Sa.menuView.height(),l=0),_i!==Wi&&_i!==Ni&&Ai.navbarAlignHorizontal===xa.menuView.placement()&&"bottom"===Ai.navbarAlignVertical&&Sa._navbarVisible){var s=12;r=Sa.navbarView.y()-E(Ai.sitePaddingTop,Ca.height)-l-Ai.menuOffsetY-s}_i===Wi||_i===Ni?(v.x=Sa.menuView.width()+16,v.y=16):"overlay"===xa.menuView.placement()?v&&!n||i():v&&(p.dock.show(0,function(e){e.display="block",qe(e,o,{alpha:1})}),/overlay/.test(xa.menuView.placement())?Ca.removeChild(v):e.parentView.removeChild(v),v=null);var d=oe()&&"overlay"===xa.menuView.placement()?250:0;qe(p,o,{width:Sa.menuView.width(),height:Sa.menuView.height()+d}),_i===Ni?(qe(m,o,{width:Sa.menuView.width(),height:Sa.menuView.height(),y:0}),p.menuText&&qe(p.menuText,o,{y:l})):qe(m,o,{width:Sa.menuView.width(),height:r,y:l}),p.updateSpeed=yo,P.width=Ca.width,P.height=Ca.height,_i===Wi||_i===Ni?p.dock.side="left":p.dock.side=xa.menuView.placement(),p.dock.align=Q()?"top":"left",p.dock.margin=$()?Sa.menuView.y():Sa.menuView.x(),p.dock.pOffset=$()?Sa.menuView.x():Sa.menuView.y(),p.dock.disableResize="overlay"===xa.menuView.placement(),p.dock.resize(b?0:yo),setTimeout(function(){p.scroll&&p.scroll.resize()},1e3*yo)},p.addContent=function(e){p.mask.addChild(e),setTimeout(function(){p.updateScroll()},1e3*yo)},p.removeContent=function(e){p.mask.removeChild(e),setTimeout(function(){p.updateScroll()},1e3*yo)},p.updateScroll=function(){if((oe()||le())&&(m.element.style["-webkit-overflow-scrolling"]="touch"),"native"===Ai.menuScrollType)p.style.pointerEvents="auto",!Q()&&Ai.dropdownSubMenu?m.element.style.overflow="visible":Q()?(m.element.style.overflowY="scroll",m.element.style.overflowX="hidden"):(m.element.style.overflowY="hidden",m.element.style.overflowX="scroll");else if(ta&&("nativeMacOs"===Ai.menuScrollType||Ai.globalSmoothScroll||_i===Ni))p.style.pointerEvents="auto",!Q()&&Ai.dropdownSubMenu?m.element.style.overflow="visible":Q()?(m.element.style.overflowY="scroll",m.element.style.overflowX="hidden"):m.element.style.overflow="auto";else if(Q()||!Ai.dropdownSubMenu){p.scroll&&p.scroll.destroy(),m.overflow="hidden";var e=Ai.menuScrollbarWidth,t="right"===Ai.menuScrollbarAlign?-e:-E(Ai.menuWidth,Ca.width),i=["bar","wheel","touch"],n=E(xa.menuView.menuTextPaddingHorizontal(),Ca.width),o={name:"menu",types:i,axis:Q()?"y":"x",align:Q()?"top":xa.menuView.menuTextAlignHorizontal(),alpha:Ai.menuScrollbarBgAlpha,color:Ai.menuScrollbarColor,hover:Ai.menuScrollbarHover,side:Ai.menuScrollbarAlignment,width:e,topPad:0,margin:Q()?2:n,offsetX:Q()?t:0,zIndex:500,rounded:xa.overrides.thumbnailScrollbarRounded,visibility:xa.overrides.thumbnailScrollbarVisibility};("nativeMacOs"===Ai.menuScrollType||Ai.globalSmoothScroll)&&(o.color="#000000",o.hover="#000000",o.side="right",o.alpha=0,o.width=7,o.offsetX=-10,o.offsetY=0,o.rounded=!0,o.visibility="when scrolling"),p.scroll=new Re(p.menuText,m,o)}else p.style.pointerEvents="auto",m.element.style.overflow="visible"},p.updateStyle(),p}function Ei(e){function i(){_.text="",_.children=[],X=new Le(e),X.alpha=0,_i===Ni?X.gap=0:_i===Wi?X.gap=E(K(Ai.menuTextGapTablet,xa.menuView.menuTextGap()),100):X.gap=E(xa.menuView.menuTextGap(),100),Ai.menuExpandAll?X.expand="all":X.expand="single",X.toggle=!1,X.wrap=!1;var t=_i===Wi?Ai.menuTextAlignHorizontalTablet||"left":xa.menuView.menuTextAlignHorizontal(),i=t;_i===Ni?i="left":/top|bottom/.test(xa.menuView.placement())&&_i!==Wi&&(i="top"),X.align=i,X.updateSpeed=_.updateSpeed,X.axis=Q()?"y":"x",X.perpLength=Q()?_.height:_.width,X.animate=!1,_.addChild(X),s(G,!1,X,!1),_.width=X.width,_.height=X.height,X.addEventListener(Fn,r),r(),X.layout(),W&&_.selectMenuItem(),setTimeout(function(){o(),a(),_.events.dispatchEvent(Xo),$=0},$)}function o(){I(),X.perpLength=Q()?_.height:_.width,X.layout()}function a(){setTimeout(function(){qe(X,yo,{alpha:1})},350)}function r(e){e&&(_.width=e.width,_.height=e.height),_.x=Math.round(Sa.menuText.x(_.width)),_.events.dispatchEvent(Yo)}function s(e,t,i,o){i.parentLabel=o;for(var a=0,r=e.length;a-1){var o=e.split(",");t=o[0].split("=")[1];var a=o[1].split("x");i=Number(a[0].split("=")[1]),n=Number(a[1])}else t=e.split("=")[1];return{path:t,width:i,height:n}}function C(e){var t=g(e.label),i=new Ke;return i.src=Ri.cdnSslUri+"/"+t.path,i.width=t.width,i.height=t.height,i.customLabel=e.label.toLowerCase(),i.cursor="pointer",i}function w(e){var t=ha[e.label.toLowerCase()],i=new Ke;return i.src=vo+t.filename,i.width=t.width,i.height=t.height,i.style.padding="2px 0",i.socialLabel=e.label.toLowerCase(),i.cursor="pointer",i}function y(e){switch(Ai.footerIconShape){case"standard":return e.svgStdPath;case"rectangle":return e.svgRectPath;case"circle":return e.svgCircPath}}function L(e){var t=ha[e.label.toLowerCase()],i=new ya;i.identity="menu",i.element.setAttribute("data-identity","menu");var n=new ya({type:"g"});n.identity="menu",n.element.setAttribute("data-identity","menu");var o=new nt;o.identity="menu",o.element.setAttribute("data-identity","menu");var a=_i===Wi||_i===Ni?1:Ai.footerIconScale;if(n.scale=a,/circle|rectangle/.test(Ai.footerIconShape)){var r=new ot;r.rx="circle"===Ai.footerIconShape?t.bgCircRadius:t.bgRectRadius,r.width=t.width,r.height=t.height,r.fill=Ai.footerIconColor,n.addChild(r)}return o.d=y(t),o.fill="standard"===Ai.footerIconShape?Ai.footerIconColor:Ai.footerIconBgColor,o.fillRule="evenodd",n.addChild(o),i.addChild(n),i.width=t.width*a,i.height=t.height*a,i.socialLabel=e.label.toLowerCase(),i}function x(e,t){var i="%spacer%"===e.toLowerCase()?"span":"a",n=new ba({type:i});return n.identity="menu",n.element.setAttribute("data-identity","menu"),n.element.setAttribute("class","menuLabel"),n.element.style["user-select"]="none",_i===Ni?(t?(n.fontFamily=Ai.menuSubFontMobile||Ai.menuFontMobile||Ai.menuFont,n.fontSize=Ai.menuSubFontSizeMobile||Ai.menuFontSizeMobile||Ai.menuSubFontSize,n.textTransform=Ai.menuSubTextTransform||"none"):(n.fontFamily=Ai.menuFontMobile||Ai.menuFont,n.fontSize=Ai.menuFontSizeMobile||Ai.menuFontSize,n.textTransform=Ai.menuTextTransform||"none"),n.fontColor=Ai.menuFontColorMobile||Ai.menuFontColor):_i===Wi?(t?(n.fontFamily=Ai.menuSubFontTablet||Ai.menuFontTablet||Ai.menuFont,n.fontSize=Ai.menuSubFontSizeTablet||Ai.menuFontSizeTablet||Ai.menuSubFontSize,n.textTransform=Ai.menuSubTextTransform||"none"):(n.fontFamily=Ai.menuFontTablet||Ai.menuFont,n.fontSize=Ai.menuFontSizeTablet||Ai.menuFontSize,n.textTransform=Ai.menuTextTransform||"none"),n.fontColor=Ai.menuFontColorTablet||Ai.menuFontColor):(t?(n.fontFamily=Ai.menuSubFont||Ai.menuFont,n.fontSize=xa.menuView.menuSubFontSize(),n.textTransform=Ai.menuSubTextTransform||"none"):(n.fontFamily=Ai.menuFont,n.fontSize=xa.menuView.menuFontSize(),n.textTransform=Ai.menuTextTransform||"none"),n.fontColor=xa.menuView.menuFontColor()),n.fontStyle=Ai.menuFontStyle||"normal",n.letterSpacing=Ai.menuKerning,n.textWrap=_i===Ni,n.text="%spacer%"===e.toLowerCase()?" ":e,n.label=n,"%spacer%"!==e.toLowerCase()&&(n.cursor="pointer"),n}function M(e){var t=isNaN(Ai.menuIndentMobile)?20:Ai.menuIndentMobile,i=isNaN(Ai.menuSubIndentMobile)?t+10:t+Ai.menuSubIndentMobile;return e?i:t}function T(e,t){var i,n=Ai.menuTextAlignHorizontalMobile?Ai.menuTextAlignHorizontalMobile:"left",o=M(t),a=""===Ai.menuLinesMobile||void 0===Ai.menuLinesMobile||Ai.menuLinesMobile,r=Ai.menuLineHeightMobile||60;switch(n){case"left":i="flex-start";break;case"center":i="center";break;case"right":i="flex-end"}var l=new ba;return l.identity="menu",l.element.setAttribute("data-identity","menu"),l.addChild(e),l.label=e,l.width=Sa.menuView.width(),l.minHeight=r,l.position="relative",l.display="flex",l.style.justifyContent=i,l.style.alignItems="center",a&&(l.borderBottom="1px solid "+V(xa.menuView.menuFontColor(),xa.menuView.menuBgAlpha()+.15)),e.position="relative",Sa.menuBullet.updateSize(t),e.x=0,e.y=a?1:0,e.textAlign=n,e.paddingLeft=o,e.paddingRight=o,l}function z(e){var t;if("custom_png"===Ai.menuBulletType)t=new Ke,t.isSub=e,Sa.menuBullet.updateSize(e),t.alpha=0,_.addChild(t),t.element.addEventListener($i,function(i){var n={width:i.target.offsetWidth,height:i.target.offsetHeight,filename:this.src};setTimeout(function(){var i=He(n);t.width=i.width,t.height=i.height,Sa.menuBullet.width=i.width,Sa.menuBullet.height=i.height,t.width=Sa.menuBullet.width,e?(t.x=Math.round(-(t.width+15)+Ai.menuSubBulletOffsetHorizontal),t.y=0+Ai.menuSubBulletOffsetVertical):(t.x=Math.round(-(t.width+15)+Ai.menuBulletOffsetHorizontal),t.y=0+Ai.menuBulletOffsetVertical)},10)}),t.src=Ri.cdnSslUri+"/menu-bullet__at__2x.png";else if(/^underline/.test(Ai.menuBulletType)){var i=Number(Ai.menuBulletType.split("_")[1]);t=new ba,t.identity="menu",t.element.setAttribute("data-identity","menu"),t.isSub=e,t.backgroundColor=V(xa.menuView.menuFontColor(),0),t.width=0,t.height=i}else t=new ba,t.identity="menu",t.element.setAttribute("data-identity","menu"),t.isSub=e,Sa.menuBullet.updateSize(e),t.fontFamily=Ai.menuFont,t.fontColor=V(xa.menuView.menuFontColor(),0),t.fontSize=e?xa.menuView.menuSubFontSize():xa.menuView.menuFontSize(),t.width=Sa.menuBullet.width,t.text=za[Ai.menuBulletType],e?(t.x=Math.round(-(t.width+15)+Ai.menuSubBulletOffsetHorizontal),t.y=0+Ai.menuSubBulletOffsetVertical):(t.x=Math.round(-(t.width+15)+Ai.menuBulletOffsetHorizontal),t.y=0+Ai.menuBulletOffsetVertical);return t}function k(){var e="inherit"===xa.menuView.menuSubTextAlignHorizontal()?xa.menuView.menuTextAlignHorizontal():xa.menuView.menuSubTextAlignHorizontal();return _i===Ni?Ai.menuTextAlignHorizontalMobile||"left":_i===Wi?Ai.menuTextAlignHorizontalTablet||"left":e}function O(){return _i===Ni?0:_i===Wi?K(Ai.menuSubIndentTablet,Ai.menuSubIndent):Ai.menuSubIndent}function I(){for(var e=0,t=U.length,i=k(),n=K(Ai.menuSubTextPaddingHorizontal,5);eo.tile.perpLength?a:o.tile.perpLength,o.tile.addItem(a,r)}o.tile.layoutItems();var l=xa.menuView.menuSubTextGap();_i===Wi&&(l=K(Ai.menuTextGapTablet,xa.menuView.menuSubTextGap())),l=E(l,100);for(var s=0;s0){for(c=new Ne({id:"nav"}),c.gap=Ai.navbarGap+2,c.axis="horizontal"===Ai.navbarLayout?"x":"y",c.align="vertical"===Ai.navbarLayout?Ai.navbarJustification:"left",c.wrap=!1,c.perpLength="x"===c.axis?t[0].element.offsetHeight:t[0].element.offsetWidth,e=0;ec.perpLength&&(c.perpLength=o):n>c.perpLength&&(c.perpLength=n),c.addItem(n,o)}for(c.layoutItems(),e=0;e1&&/image|video/.test(p.type)}/fill|hMasonry|vMasonry/.test(C)&&/thumbs/.test(v)?h.hide():e.section.id===Xi&&g?h.hide():(f=e.assetId===-1?0:e.assetId,b>1?(h.show(),window.FOTOMOTO&&p&&"image"===p.type?r(p.content):h.buildNavBtns()):h.hide())},h.buildNavBtns=function(){L=E(Ai.navbarFontSize,100),h.parent.removeChildren(h);for(var e in Hi)if(Hi.hasOwnProperty(e)){if("fullscreen"===Hi[e].type&&!P())continue;if("thumbs"===Hi[e].type&&"none"===C)continue;if("fotomoto"===Hi[e].type&&!w)continue;if(!/caption|inquiry|fotomoto/.test(Hi[e].type)&&_i===Ni)continue;if(_i===Ni&&!m)continue;var r=new ba;h.addChild(r),"caption"===Hi[e].type&&p&&(r.alpha=""===p.caption?.35:1),_i===Ni&&v&&"caption"===v&&"caption"===Hi[e].type&&p&&p.caption?(r.label=o("×",L+20),r.addChild(r.label),r.width=r.label.element.offsetWidth,r.height=L+10,r.label.x=0,r.label.y=.5*(L-r.label.element.offsetHeight)):"spacer"===Hi[e].type?(r.label=o(" "),r.addChild(r.label),r.width=r.label.element.offsetWidth,r.height=L,r.label.x=0,r.label.y=.5*(L-r.label.element.offsetHeight)):"label"===Hi[e].iconType||"count"===Hi[e].type?(r.label=o(Hi[e].name),r.addChild(r.label),r.width=r.label.element.offsetWidth,r.height=L,r.label.x=0,r.label.y=.5*(L-r.label.element.offsetHeight)):"icon"===Hi[e].iconType?(r.icon=a(Hi[e].type),r.addChild(r.icon),r.width=r.icon.width,r.height=L,r.icon.left=0,r.icon.top=Math.round(.5*(L-r.icon.height))+Ai.navbarIconOffsetY):"both"===Hi[e].iconType&&(r.icon=a(Hi[e].type),r.addChild(r.icon),r.label=o(Hi[e].name),r.addChild(r.label),"next"===Hi[e].type?("vertical"===Ai.navbarLayout?(r.label.x=-3,r.icon.left=Math.round(r.label.element.offsetWidth-Ai.navbarIconOffsetX)):(r.label.x=0,r.icon.left=Math.round(r.label.element.offsetWidth-Ai.navbarIconOffsetX+3)),r.label.y=.5*(L-r.label.element.offsetHeight),r.icon.top=Math.round(.5*(L-r.icon.height)+Ai.navbarIconOffsetY),r.width=r.icon.width+r.label.element.offsetWidth-Ai.navbarIconOffsetX):(r.icon.left=0,r.icon.top=Math.round(.5*(L-r.icon.height)+Ai.navbarIconOffsetY),r.label.x=r.icon.width-Ai.navbarIconOffsetX+3,r.label.y=.5*(L-r.label.element.offsetHeight),r.width=r.icon.width+r.label.element.offsetWidth-Ai.navbarIconOffsetX+3),r.height=L);var l=new ba;l.width=r.element.offsetWidth,l.height=r.element.offsetHeight,l.type=Hi[e].type,l.tooltip=Hi[e].tooltip,r.label&&(l.label=r.label),r.icon&&(l.icon=r.icon),r.addChild(l),r.hit=l,"count"===Hi[e].type?(u=r,u.label.text=f+1+" of "+b,u.width=u.label.element.offsetWidth,l.width=u.label.element.offsetWidth):"spacer"===Hi[e].type||(l.addEventListener(dn,i),l.addEventListener(pn,n),l.addEventListener(Tn,t)),r.label&&(r.label.element.style["user-select"]="none")}Object.keys(Hi).length>0&&(d(),h.updatePosition())};return h}function Oi(e){function t(){l=new ba,l.backgroundColor=Ai.siteBackgroundColor,l.width=Ca.width,l.height=Ca.height,d.addChild(l)}function i(e,t){var i=new XMLHttpRequest;i.onload=function(){4===i.readyState&&(200===i.status||0==i.status?t(i.responseText):404===i.status&&d.events.dispatchEvent(No))},i.open("GET",e,!0),i.send(null)}function n(){var e=/https/.test(xa.introFile||Ai.introFile)?xa.introFile||Ai.introFile:Ri.cdnSslUri+"/"+(xa.introFile||Ai.introFile);/jpeg$|jpg$|gif$|png$/.test(xa.introFile||Ai.introFile)?(s=new Ke,s.alpha=0,s.addEventListener($i,r),s.addEventListener("error",function(){d.events.dispatchEvent(No)}),s.src=e,d.addChild(s)):/htm$|html$/.test(xa.introFile||Ai.introFile)&&(s=new ba,s.alpha=0,s.width=Ca.width,s.height=Ca.height,s.overflow="auto",i(e,function(e){qe(s,1,{alpha:1}),h=yo,s.text=e}),d.addChild(s))}function o(e){e!==!1&&void 0!==e&&null!==e||(e=1.5),setTimeout(function(){qe(s,e,{alpha:0,onComplete:function(){d.events.dispatchEvent(No)}})},1e3*(Ai.introDuration||c))}function a(){return _i===Ni?Ai.introScaleTypeMobile||Ai.introScaleType:_i===Wi?Ai.introScaleTypeTablet||Ai.introScaleType:Ai.introScaleType}function r(e){var t=He({width:s.element.offsetWidth,height:s.element.offsetHeight,filename:xa.introFile||Ai.introFile});Pe(s,0,{type:a(),width:t.width,height:t.height,hRange:Ca.width,vRange:Ca.height,hAlign:"center",vAlign:"center",disableOrientationCheck:!0,onComplete:function(){qe(s,1,{alpha:1,onComplete:o}),h=yo}})}var l,s,d=new ba({events:e.events}),c=1.4,h=(e.parentView,0);return d.element.id="IntroView",d.zIndex=xa.introView.zIndex,e.events.addEventListener("introFadeOut",o),d.addEventListener(Lo,function(e){t(),n()}),d.updatePosition=function(e){l.width=Ca.width,l.height=Ca.height,/htm$|html$/.test(xa.introFile||Ai.introFile)&&(s.width=Ca.width,s.height=Ca.height),s&&qe(s,h,{x:.5*(Ca.width-s.width),y:.5*(Ca.height-s.height)})},d}function Ii(t){function i(e){qe(this,.2,{fontColor:Oa.fontColorLightest,borderBottom:"1px solid "+Oa.bgColorDark,boxShadow:"0 1px 0 0 "+Oa.bgColorDark,ease:"ease-out"}),qe(this.label,.2,{fontSize:12,y:this.y-15,ease:"ease-out"})}function n(e){qe(this,.2,{fontColor:Oa.fontColorLightest,borderBottom:"1px solid "+Oa.bgColorDarkest,boxShadow:"0 1px 0 0 #333",ease:"ease-out"}),this.value||qe(this.label,.2,{fontSize:15,y:this.y+5,ease:"ease-out"})}function o(e){qe(this,.2,{fontColor:Oa.fontColorSelected,ease:"ease-out"})}function a(e){qe(this,.2,{fontColor:Oa.fontColorLight,ease:"ease-out"})}function r(e){qe(this,.2,{fontColor:Oa.fontColorSelected,ease:"ease-out"})}function l(e){qe(this,.2,{fontColor:Oa.fontColorLight,ease:"ease-out"})}function s(){}function d(){}function c(){Ri.adminLockout||new e({url:"/dx/service/login",params:{user:f.value,pass:b.value},callback:p.loginResponse})}function h(){new e({url:"/dx/service/logout",params:{},callback:p.logoutResponse})}function u(e){13===e.which&&c(),f.label.y=f.value?f.y-15:f.y+5,b.label.y=b.value?b.y-15:b.y+5}t=t||{};var p,m=345,v=new ba;v.width=m,v.height=350,v.borderRadius=4,v.addEventListener(Tn,function(e){e.stopPropagation()});var g=new ba("h1");g.x=-2,g.y=2,g.width=m,g.height=50,g.fontColor=Oa.fontColorLightest,g.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",g.fontSize=47,g.fontWeight=100,g.text="Photofolio Admin",g.textWrap=!1,g.textAlign="left",g.textShadow="0 1px 0 #333",v.addChild(g);var f=new et;f.x=0,f.y=75,f.width=m,f.height=40,f.fontColor=Oa.fontColor,f.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",f.fontSize=16,f.fontWeight=700,f.value="",f.backgroundColor="transparent",f.borderBottom="1px solid "+Oa.bgColorDarkest,f.boxShadow="0 1px 0 0 #333",f.element.tabIndex=1,v.addChild(f),f.label=new ba,f.label.x=0,f.label.y=f.value?f.y-15:f.y+5,f.label.fontColor=Oa.fontColorLight,f.label.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",f.label.fontSize=15,f.label.fontWeight=700,f.label.text="email",f.label.pointerEvents="none",v.addChild(f.label);var b=new et;b.x=0,b.y=145,b.width=m,b.height=40,b.fontColor=Oa.fontColor,b.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",b.fontSize=16,b.fontWeight=700,b.value="",b.backgroundColor="transparent",b.borderBottom="1px solid "+Oa.bgColorDarkest,b.boxShadow="0 1px 0 0 #333",b.element.tabIndex=2,b.element.setAttribute("type","password"),v.addChild(b),b.label=new ba,b.label.x=0,b.label.y=b.value?b.y-15:b.y+5,b.label.fontColor=Oa.fontColorLight,b.label.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",b.label.fontSize=15,b.label.fontWeight=700,b.label.text="password",b.label.pointerEvents="none",v.addChild(b.label);var C=new Je;C.x=0,C.y=220,C.width=m,C.height=45,C.fontColor=Oa.fontColor,C.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",C.fontWeight=400,C.fontSize=13,C.text=Ri.adminLockout?"ADMIN LOCKED FOR MAINTENANCE":"LOGIN",C.textAlign="center",C.element.tabIndex=3,C.borderRadius=3,C.backgroundColor=Ri.adminLockout?"#ff295e":"#2FA0D8",C.fontColor=Oa.bgColorLighter,C.boxShadow="0 2px 5px 0 rgba(0,0,0,0.16)",v.addChild(C),C.addEventListener(dn,function(){qe(this,.2,{backgroundColor:Ri.adminLockout?"#ff295e":"#4bb7ed",boxShadow:"0 10px 20px 0 rgba(0,0,0,0.6)",ease:"ease-out"})}),C.addEventListener(nn,function(){qe(this,.2,{backgroundColor:Ri.adminLockout?"#ff295e":"#4bb7ed",boxShadow:"0 10px 20px 0 rgba(0,0,0,0.6)",ease:"ease-out"})}),C.addEventListener(pn,function(){qe(this,.2,{backgroundColor:Ri.adminLockout?"#ff295e":"#2FA0D8",boxShadow:"0 2px 5px 0 rgba(0,0,0,0.16)",ease:"ease-out"})}),C.addEventListener(on,function(){qe(this,.2,{backgroundColor:Ri.adminLockout?"#ff295e":"#2FA0D8",boxShadow:"0 2px 5px 0 rgba(0,0,0,0.16)",ease:"ease-out"})}),f.addEventListener(nn,i),f.addEventListener(on,n),b.addEventListener(nn,i),b.addEventListener(on,n);var w=new ba({type:"button"});w.x=.5*m,w.y=270,w.width=.5*m,w.height=50,w.text="CANCEL",w.outline="none",w.border="none",w.fontWeight="bold",w.fontSize=Oa.fontSize,w.fontColor=Oa.fontColorLight,w.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",w.backgroundColor="transparent",w.element.tabIndex=4,v.addChild(w);var y=new ba({type:"button"});return y.x=0,y.y=270,y.width=.5*m,y.height=50,y.text="FORGOT?",y.outline="none",y.border="none",y.fontWeight="bold",y.fontSize=Oa.fontSize,y.fontColor=Oa.fontColorLight,y.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",y.backgroundColor="transparent",y.element.tabIndex=5,v.addChild(y),w.addEventListener(dn,r),w.addEventListener(pn,l),y.addEventListener(dn,r),y.addEventListener(pn,l),w.addEventListener(nn,o),w.addEventListener(on,a),y.addEventListener(nn,o),y.addEventListener(on,a),w.addEventListener(Tn,function(e){h(),p.close()}),C.addEventListener(Tn,function(e){c()}),y.addEventListener(Tn,function(t){new e({url:"/dx/service/login/forget",params:{},callback:function(e){ke("Please check your email for password reset instructions.")}})}),p="MSIE"===aa?ke("The Dx admin requires the chrome browser to work properly (the front of your site works with all up to date browsers).",{userOverride:!1,blurLayers:[t.parentView],alpha:.5,onOpen:s,onClose:d}):new pa(v,{userOverride:!1,blurLayers:[t.parentView],backgroundColor:"#000000",alpha:.8,onOpen:s,onClose:d}),p.open(),p.overlayResize(),_i!==Ni&&_i!==Wi&&f.focus(),p.loginResponse=function(e){"pass"===e.status?location.assign("/"):C.text="TRY AGAIN"},p.logoutResponse=function(e){e&&location.assign("/")},window.addEventListener("keydown",u,!1),setTimeout(function(){f.label.y=f.value||f.element.focus?f.y-15:f.y+5,b.label.y=f.value?b.y-15:b.y+5},100),p}window.isLogin=!1;var Fi=!1,Ai=(window.DX_MODEL.account,window.DX_MODEL.layout),Pi=window.DX_MODEL.media,Hi=window.DX_MODEL.navbar,Di=window.DX_MODEL.sections,Ri=window.DX_MODEL.settings,Bi=window.DX_MODEL.files;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.anime=t()}(window,function(){"use strict";function e(e,t,i){return Math.min(Math.max(e,t),i)}function t(e,t){return e.indexOf(t)>-1}function i(e,t){return e.apply(null,t)}function n(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map(function(e){return parseFloat(e)}):[]}function o(t,i){function o(e){var t=i?i*e/1e3:e;return t=h<1?Math.exp(-t*h*c)*(p*Math.cos(u*t)+m*Math.sin(u*t)):(p+m*t)*Math.exp(-t*c),0===e||1===e?e:1-t}var a=n(t),r=e(K.und(a[0])?1:a[0],.1,100),l=e(K.und(a[1])?100:a[1],.1,100),s=e(K.und(a[2])?10:a[2],.1,100),d=e(K.und(a[3])?0:a[3],.1,100),c=Math.sqrt(l/r),h=s/(2*Math.sqrt(l*r)),u=h<1?c*Math.sqrt(1-h*h):0,p=1,m=h<1?(h*c-d)/u:-d+c;return i?o:function(){var e=q.springs[t];if(e)return e;for(var i=0,n=0;;)if(1===o(i+=1/6)){if(++n>=16)break}else n=0;var a=i*(1/6)*1e3;return q.springs[t]=a,a}}function a(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}function r(e,t){if(K.fnc(e))return e;var r=e.split("(")[0],l=Q[r],s=n(e);switch(r){case"spring":return o(e,t);case"cubicBezier":return i(J,s);case"steps":return i(a,s);default:return i(l,s)}}function l(e){try{return document.querySelectorAll(e)}catch(e){return}}function s(e,t){for(var i=e.length,n=arguments.length>=2?arguments[1]:void 0,o=[],a=0;a1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var i,n,o,a=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),r=parseInt(a[1],10)/360,l=parseInt(a[2],10)/100,s=parseInt(a[3],10)/100,d=a[4]||1;if(0==l)i=n=o=s;else{var c=s<.5?s*(1+l):s+l-s*l,h=2*s-c;i=t(h,c,r+1/3),n=t(h,c,r),o=t(h,c,r-1/3)}return"rgba("+255*i+","+255*n+","+255*o+","+d+")"}(e):void 0;var t,i,n,o}function g(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function f(e,t){return K.fnc(e)?e(t.target,t.id,t.total):e}function b(e,t){return e.getAttribute(t)}function C(e,t,i){if(h([i,"deg","rad","turn"],g(t)))return t;var n=q.CSS[t+i];if(!K.und(n))return n;var o=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(o),o.style.position="absolute",o.style.width=100+i;var r=100/o.offsetWidth;a.removeChild(o);var l=r*parseFloat(t);return q.CSS[t+i]=l,l}function w(e,t,i){if(t in e.style){var n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(n)||"0";return i?C(e,o,i):o}}function y(e,t){return K.dom(e)&&!K.inp(e)&&(b(e,t)||K.svg(e)&&e[t])?"attribute":K.dom(e)&&h(U,t)?"transform":K.dom(e)&&"transform"!==t&&w(e,t)?"css":null!=e[t]?"object":void 0}function L(e){if(K.dom(e)){for(var t,i=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,o=new Map;t=n.exec(i);)o.set(t[1],t[2]);return o}}function S(e,i,n,o){var a,r=t(i,"scale")?1:0+(t(a=i,"translate")||"perspective"===a?"px":t(a,"rotate")||t(a,"skew")?"deg":void 0),l=L(e).get(i)||r;return n&&(n.transforms.list.set(i,l),n.transforms.last=i),o?C(e,l,o):l}function x(e,t,i,n){switch(y(e,t)){case"transform":return S(e,t,n,i);case"css":return w(e,t,i);case"attribute":return b(e,t);default:return e[t]||0}}function M(e,t){var i=/^(\*=|\+=|-=)/.exec(e);if(!i)return e;var n=g(e)||0,o=parseFloat(t),a=parseFloat(e.replace(i[0],""));switch(i[0][0]){case"+":return o+a+n;case"-":return o-a+n;case"*":return o*a+n}}function T(e,t){if(K.col(e))return v(e);if(/\s/g.test(e))return e;var i=g(e),n=i?e.substr(0,e.length-i.length):e;return t?n+t:n}function V(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function E(e){for(var t,i=e.points,n=0,o=0;o0&&(n+=V(t,a)),t=a}return n}function z(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return a=e,2*Math.PI*b(a,"r");case"rect":return 2*b(o=e,"width")+2*b(o,"height");case"line":return V({x:b(n=e,"x1"),y:b(n,"y1")},{x:b(n,"x2"),y:b(n,"y2")});case"polyline":return E(e);case"polygon":return i=(t=e).points,E(t)+V(i.getItem(i.numberOfItems-1),i.getItem(0))}var t,i,n,o,a}function k(e,t){var i=t||{},n=i.el||function(e){for(var t=e.parentNode;K.svg(t)&&K.svg(t.parentNode);)t=t.parentNode;return t}(e),o=n.getBoundingClientRect(),a=b(n,"viewBox"),r=o.width,l=o.height,s=i.viewBox||(a?a.split(" "):[0,0,r,l]);return{el:n,viewBox:s,x:s[0]/1,y:s[1]/1,w:r/s[2],h:l/s[3]}}function O(e,t){function i(i){void 0===i&&(i=0);var n=t+i>=1?t+i:0;return e.el.getPointAtLength(n)}var n=k(e.el,e.svg),o=i(),a=i(-1),r=i(1);switch(e.property){case"x":return(o.x-n.x)*n.w;case"y":return(o.y-n.y)*n.h;case"angle":return 180*Math.atan2(r.y-a.y,r.x-a.x)/Math.PI}}function I(e,t){var i=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=T(K.pth(e)?e.totalLength:e,t)+"";return{original:n,numbers:n.match(i)?n.match(i).map(Number):[0],strings:K.str(e)||t?n.split(i):[]}}function F(e){return s(e?d(K.arr(e)?e.map(c):c(e)):[],function(e,t,i){return i.indexOf(e)===t})}function A(e){var t=F(e);return t.map(function(e,i){return{target:e,id:i,total:t.length,transforms:{list:L(e)}}})}function P(e,t){var i=u(t);if(/^spring/.test(i.easing)&&(i.duration=o(i.easing)),K.arr(e)){var n=e.length;2!==n||K.obj(e[0])?K.fnc(t.duration)||(i.duration=t.duration/n):e={value:e}}var a=K.arr(e)?e:[e];return a.map(function(e,i){var n=K.obj(e)&&!K.pth(e)?e:{value:e};return K.und(n.delay)&&(n.delay=i?0:t.delay),K.und(n.endDelay)&&(n.endDelay=i===a.length-1?t.endDelay:0),n}).map(function(e){return m(e,i)})}function H(e,t){var i=[],n=t.keyframes;for(var o in n&&(t=m(function(e){for(var t=s(d(e.map(function(e){return Object.keys(e)})),function(e){return K.key(e)}).reduce(function(e,t){return e.indexOf(t)<0&&e.push(t),e},[]),i={},n=function(n){var o=t[n];i[o]=e.map(function(e){var t={};for(var i in e)K.key(i)?i==o&&(t.value=e[i]):t[i]=e[i];return t})},o=0;o2||(C=Math.round(C*m)/m)),v.push(C)}var L=p.length;if(L){f=p[0];for(var S=0;S0&&(V.began=!0,d("begin")),!V.loopBegan&&V.currentTime>0&&(V.loopBegan=!0,d("loopBegin")),u<=s&&0!==V.currentTime&&l(0),(u>=c&&V.currentTime!==a||!a)&&l(a),u>s&&u=a&&(S=0,V.remaining&&!0!==V.remaining&&V.remaining--,V.remaining?(L=x,d("loopComplete"),V.loopBegan=!1,"alternate"===V.direction&&n()):(V.paused=!0,V.completed||(V.completed=!0,d("loopComplete"),d("complete"),!V.passThrough&&"Promise"in window&&(T(),i(V)))))}void 0===t&&(t={});var h,u,v,g,f,b,C,w,y,L=0,S=0,x=0,M=0,T=null,V=(v=p(Z,u=t),g=p(G,u),f=H(g,u),b=A(u.targets),C=B(b,f),w=j(C,g),y=ee,ee++,m(v,{id:y,children:[],animatables:b,animations:C,duration:w.duration,delay:w.delay,endDelay:w.endDelay}));return i(V),V.reset=function(){var e=V.direction;V.passThrough=!1,V.currentTime=0,V.progress=0,V.paused=!0,V.began=!1,V.loopBegan=!1,V.changeBegan=!1,V.completed=!1,V.changeCompleted=!1,V.reversePlayback=!1,V.reversed="reverse"===e,V.remaining=V.loop,h=V.children;for(var t=M=h.length;t--;)V.children[t].reset();(V.reversed&&!0!==V.loop||"alternate"===e&&1===V.loop)&&V.remaining++,l(V.reversed?V.duration:0)},V.set=function(e,t){return R(e,t),V},V.tick=function(e){x=e,L||(L=x),c((x+(S-L))*_.speed)},V.seek=function(e){c(o(e))},V.pause=function(){V.paused=!0,a()},V.play=function(){V.paused&&(V.completed&&V.reset(),V.paused=!1,te.push(V),a(),Y||ne())},V.reverse=function(){n(),a()},V.restart=function(){V.reset(),V.play()},V.reset(),V.autoplay&&V.play(),V}function W(e,t){for(var i=t.length;i--;)h(e,t[i].animatable.target)&&t.splice(i,1)}var N,X,Y,Z={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},G={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},U=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],q={CSS:{},springs:{}},K={arr:function(e){return Array.isArray(e)},obj:function(e){return t(Object.prototype.toString.call(e),"Object")},pth:function(e){return K.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||K.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return K.hex(e)||K.rgb(e)||K.hsl(e)},key:function(e){return!Z.hasOwnProperty(e)&&!G.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}},J=function(){function e(e,t){return 1-3*t+3*e}function t(e,t){return 3*t-6*e}function i(e){return 3*e}function n(n,o,a){return((e(o,a)*n+t(o,a))*n+i(o))*n}function o(n,o,a){return 3*e(o,a)*n*n+2*t(o,a)*n+i(o)}var a=11,r=1/(a-1);return function(e,t,i,l){function s(t){for(var l=0,s=1,c=a-1;s!==c&&d[s]<=t;++s)l+=r;var h=l+(t-d[--s])/(d[s+1]-d[s])*r,u=o(h,e,i);return u>=.001?function(e,t,i,a){for(var r=0;r<4;++r){var l=o(t,i,a);if(0===l)return t;t-=(n(t,i,a)-e)/l}return t}(t,h,e,i):0===u?h:function(e,t,i,o,a){for(var r,l,s=0;(r=n(l=t+(i-t)/2,o,a)-e)>0?i=l:t=l,Math.abs(r)>1e-7&&++s<10;);return l}(t,l,l+r,e,i)}if(0<=e&&e<=1&&0<=i&&i<=1){var d=new Float32Array(a);if(e!==t||i!==l)for(var c=0;c-1&&(te.splice(a,1),i=te.length)}else o.tick(t);n++}e()}else Y=cancelAnimationFrame(Y)}return e}();return"undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){document.hidden?(te.forEach(function(e){return e.pause()}),ie=te.slice(0),_.running=te=[]):ie.forEach(function(e){return e.play()})}),_.version="3.1.0",_.speed=1,_.running=te,_.remove=function(e){for(var t=F(e),i=te.length;i--;){var n=te[i],o=n.animations,a=n.children;W(t,o);for(var r=a.length;r--;){var l=a[r],s=l.animations;W(t,s),s.length||l.children.length||a.splice(r,1)}o.length||a.length||n.pause()}},_.get=x,_.set=R,_.convertPx=C,_.path=function(e,t){var i=K.str(e)?l(e)[0]:e,n=t||100;return function(e){return{property:e,el:i,svg:k(i),totalLength:z(i)*(n/100)}}},_.setDashoffset=function(e){var t=z(e);return e.setAttribute("stroke-dasharray",t),t},_.stagger=function(e,t){void 0===t&&(t={});var i=t.direction||"normal",n=t.easing?r(t.easing):null,o=t.grid,a=t.axis,l=t.from||0,s="first"===l,d="center"===l,c="last"===l,h=K.arr(e),u=h?parseFloat(e[0]):parseFloat(e),p=h?parseFloat(e[1]):0,m=g(h?e[1]:e)||0,v=t.start||0+(h?u:0),f=[],b=0;return function(e,t,r){if(s&&(l=0),d&&(l=(r-1)/2),c&&(l=r-1),!f.length){for(var g=0;g-1&&te.splice(a,1);for(var l=0;l1,uo=!!("ontouchstart"in window||window.navigator.maxTouchPoints),po="media/original/",mo="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com",vo=mo+"/icon/",go="transitionStart",fo="transitionEnd",bo="loadedmetadata",Co="vimeoMetadataLoaded",wo="mediaLoaded",yo=.5,Lo="childAdded",So="drop",xo="dragenter",Mo="dragleave",To="dragover",Vo=[an,rn,ln,sn,gn,fn,dn,cn,hn,un,pn,Tn,Vn,$i,Qi,nn,on,xo,To,Mo,So],Eo={custom:{},small:{width:100,height:66},medium:{width:200,height:133},large:{width:300,height:200},xLarge:{width:400,height:266},xxLarge:{width:500,height:333},small_sq:{width:100,height:100},medium_sq:{width:200,height:200},large_sq:{width:300,height:300},xLarge_sq:{width:400,height:400},xxLarge_sq:{width:500,height:500},small_v:{width:66,height:100},medium_v:{width:133,height:200},large_v:{width:200,height:300},xLarge_v:{width:266,height:400},xxLarge_v:{width:333,height:500}},zo="contactFormSubmit",ko="siteServiceContactFormSubmit",Oo="contactFormSent",Io="shareFormSubmit",Fo="siteServiceShareFormSubmit",Ao="shareFormSent",Po="inquiryFormSubmit",Ho="siteServiceInquiryFormSubmit",Do="inquiryFormSent",Ro="touchNavigationStart",Bo="touchNavigationMove",jo="touchNavigationEnd",_o="menuDockOpen",Wo="menuDockClose",No="introComplete",Xo="menuBuilt",Yo="menuSizeChange",Zo="addressSectionChange",Go="addressOverlayChange",Uo="addressAssetChange",qo="navbarNavClick",Ko="navbaOverlayBtnClick",Jo="adminMouseDown",Qo="adminMouseUp",$o="siteServiceGetFile",ea="pageLoaded",ta="macScrollbars",ia={linear:"linear",sine:{in:"cubic-bezier(0.47, 0, 0.745, 0.715)",out:"cubic-bezier(0.39, 0.575, 0.565, 1)",inOut:"cubic-bezier(0.445, 0.05, 0.55, 0.95)"},quad:{in:"cubic-bezier(0.55, 0.085, 0.68, 0.53)",out:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",inOut:"cubic-bezier(0.455, 0.03, 0.515, 0.955)"},cubic:{in:"cubic-bezier(0.55, 0.055, 0.675, 0.19)",out:"cubic-bezier(0.215, 0.61, 0.355, 1)",
inOut:"cubic-bezier(0.645, 0.045, 0.355, 1)"},quart:{in:"cubic-bezier(0.895, 0.03, 0.685, 0.22)",out:"cubic-bezier(0.165, 0.84, 0.44, 1)",inOut:"cubic-bezier(0.77, 0, 0.175, 1)"},quint:{in:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",out:"cubic-bezier(0.23, 1, 0.32, 1)",inOut:"cubic-bezier(0.86, 0, 0.07, 1)"},expo:{in:"cubic-bezier(0.95, 0.05, 0.795, 0.035)",out:"cubic-bezier(0.19, 1, 0.22, 1)",inOut:"cubic-bezier(1, 0, 0, 1)"},circ:{in:"cubic-bezier(0.6, 0.04, 0.98, 0.335)",out:"cubic-bezier(0.075, 0.82, 0.165, 1)",inOut:"cubic-bezier(0.785, 0.135, 0.15, 0.86)"},back:{in:"cubic-bezier(0.6, -0.28, 0.735, 0.045)",out:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",inOut:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}},na={E:2.718281828459045,LN2:.6931471805599453,LN10:2.302585092994046,LOG2E:1.4426950408889634,LOG10E:.4342944819032518,PI:3.141592653589793,SQRT1_2:.7071067811865476,SQRT2:1.4142135623730951,floor:Math.floor,ceil:Math.ceil,round:Math.round,abs:Math.abs,pow:Math.pow,max:Math.max,min:Math.min,random:Math.random,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,cos:Math.cos,exp:Math.exp,log:Math.log,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan};window.requestAnimationFrame=window.requestAnimationFrame||function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}}(),window.cancelAnimationFrame=window.cancelAnimationFrame||function(){return window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){window.clearTimeout(e)}}(),window.performance=window.performance||{},performance.now=function(){return performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow||function(){return(new Date).getTime()}}();var oa=function(){var e=ji.toLowerCase();return/windows/.test(e)?"Windows":/macintosh/.test(e)?"Macintosh":/linux/.test(e)?"Linux":"Other"}(),aa=function(){var e=ji.toLowerCase();return/mobile/.test(e)?"Mobile "+ie(e):ie(e)}(),ra=function(){var e,t=navigator.userAgent,i=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(i[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],Number(e[1])):"Chrome"===i[1]&&(e=t.match(/\bOPR\/(\d+)/)||t.match(/\bEdge\/(\d+)/),null!=e)?Number(e[1]):(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&i.splice(1,1,e[1]),Number(i[1]))}();_i=function(){return le()&&!Ri.padUseDesktop?Wi:oe()&&!Ri.podUseDesktop?Ni:Gi}(),de();var la={8:Mn,13:xn,27:Ln,32:Sn,37:bn,38:Cn,39:wn,40:yn,16:En,91:zn,93:zn,224:zn,17:kn,65:"a",72:"h",77:"m"},sa={DELETE:8,ENTER:13,ESCAPE:27,SPACE_BAR:32,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,LEFT_ARROW:37,RIGHT_ARROW:39,SHIFT:16,COMMAND:91,COMMAND:93,COMMAND:224,CONTROL:17,a:65,h:72,m:77},da={filename:"email@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M17.977,14.762 L13.317,9.71 L17.981,5.038 C18.077,4.941 18.242,5.009 18.242,5.146 L18.242,14.659 C18.242,14.798 18.071,14.865 17.977,14.762 z M10.86,12.171 C10.592,12.439 10.229,12.59 9.851,12.59 L9.838,12.59 C9.453,12.59 9.084,12.437 8.811,12.165 L7.43,10.786 L2.69,15.611 C2.595,15.707 2.663,15.871 2.799,15.871 L17.191,15.871 C17.325,15.871 17.394,15.712 17.304,15.614 L12.559,10.469 L10.86,12.171 z M9.839,11.518 L9.839,11.518 C9.941,11.518 10.037,11.478 10.11,11.405 L17.165,4.338 C17.261,4.242 17.193,4.077 17.056,4.077 L2.597,4.077 C2.461,4.077 2.392,4.242 2.489,4.338 L9.568,11.406 C9.64,11.478 9.736,11.518 9.839,11.518 z M1.692,5.427 L1.692,14.722 C1.692,14.859 1.859,14.927 1.955,14.829 L6.671,10.028 L1.954,5.319 C1.857,5.222 1.692,5.291 1.692,5.427 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M17.9766923,14.7623077 L13.3169231,9.70953846 L17.9809231,5.03761538 C18.0773846,4.941 18.2423846,5.00930769 18.2423846,5.14576923 L18.2423846,14.6585385 C18.2423846,14.7979231 18.0712308,14.8648462 17.9766923,14.7623077 Z M10.8596923,12.1710769 C10.5922308,12.439 10.2291538,12.5896154 9.85053846,12.5896154 L9.83846154,12.5896154 C9.45323077,12.5896154 9.08369231,12.4367692 8.811,12.1645385 L7.42969231,10.7856154 L2.69,15.6105385 C2.59484615,15.7073846 2.66346154,15.871 2.79923077,15.871 L17.1914615,15.871 C17.3249231,15.871 17.3944615,15.7121538 17.304,15.6140769 L12.5590769,10.4688462 L10.8596923,12.1710769 Z M9.83853846,11.5176923 L9.83884615,11.5176923 C9.94115385,11.5176923 10.0373077,11.4777692 10.1096154,11.4053846 L17.1646923,4.33823077 C17.261,4.24169231 17.1926923,4.07692308 17.0563077,4.07692308 L2.59707692,4.07692308 C2.46061538,4.07692308 2.39230769,4.242 2.48892308,4.33838462 L9.56823077,11.4058462 C9.64038462,11.4780769 9.73638462,11.5176923 9.83853846,11.5176923 Z M1.69230769,5.427 L1.69230769,14.7220769 C1.69230769,14.8591538 1.85861538,14.9271538 1.95469231,14.8293846 L6.67115385,10.0281538 L1.95369231,5.31861538 C1.85715385,5.22230769 1.69230769,5.29069231 1.69230769,5.427 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M16.9796058,14.8654487 L12.9023077,10.2337436 L16.9833077,5.95114744 C17.0677115,5.86258333 17.2120865,5.92519872 17.2120865,6.05028846 L17.2120865,14.7703269 C17.2120865,14.8980962 17.0623269,14.9594423 16.9796058,14.8654487 Z M10.7522308,12.4901538 C10.5182019,12.73575 10.2005096,12.8738141 9.86922115,12.8738141 L9.85865385,12.8738141 C9.52157692,12.8738141 9.19823077,12.7337051 8.959625,12.4841603 L7.75098077,11.2201474 L3.60375,15.6429936 C3.52049038,15.7317692 3.58052885,15.88175 3.69932692,15.88175 L16.2925288,15.88175 C16.4093077,15.88175 16.4701538,15.736141 16.391,15.6462372 L12.2391923,10.9297756 L10.7522308,12.4901538 Z M9.85872115,11.8912179 L9.85899038,11.8912179 C9.94850962,11.8912179 10.0326442,11.8546218 10.0959135,11.7882692 L16.2691058,5.31004487 C16.353375,5.22155128 16.2936058,5.07051282 16.1742692,5.07051282 L3.52244231,5.07051282 C3.40303846,5.07051282 3.34326923,5.22183333 3.42780769,5.3101859 L9.62220192,11.7886923 C9.68533654,11.8549038 9.76933654,11.8912179 9.85872115,11.8912179 Z M2.73076923,6.30808333 L2.73076923,14.8285705 C2.73076923,14.9542244 2.87628846,15.0165577 2.96035577,14.9269359 L7.08725962,10.5258077 L2.95948077,6.20873077 C2.87500962,6.12044872 2.73076923,6.18313462 2.73076923,6.30808333 Z"},ca={filename:"plus1b@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M6.336,3.8 C2.955,3.8 0.137,6.618 0.136,10 C0.137,13.382 2.955,16.2 6.336,16.2 C9.859,16.2 12.255,13.664 12.255,10.141 C12.255,9.718 12.255,9.155 12.114,8.732 L6.336,8.732 L6.336,11.127 L9.577,11.127 C9.296,12.537 8.027,13.664 6.336,13.664 C4.364,13.664 2.673,11.973 2.673,10 C2.673,8.027 4.364,6.337 6.336,6.336 C7.182,6.337 8.027,6.618 8.591,7.182 L10.423,5.35 C9.296,4.505 8.027,3.8 6.336,3.8 z M17.75,6.759 L16.2,6.759 L16.2,8.873 L13.946,8.873 L13.946,10.423 L16.059,10.423 L16.059,12.536 L17.609,12.536 L17.609,10.423 L19.864,10.423 L19.864,8.873 L17.75,8.873 L17.75,6.759 z",svgRectPath:"M1.991,20 C0.898,20 0,19.109 0,18.009 L0,1.969 L0.004,1.972 C0.122,0.656 0.812,0.24 1.991,0 L18.009,0 C19.102,0 20,0.891 20,1.991 L20,18.009 C19.886,19.306 19.218,19.754 18.039,19.994 L18.031,20 L1.991,20 z M6.521,4.113 C3.31,4.113 0.634,6.788 0.633,10 C0.634,13.212 3.31,15.887 6.521,15.887 C9.866,15.887 12.141,13.479 12.141,10.134 C12.141,9.732 12.141,9.198 12.007,8.796 L6.521,8.796 L6.521,11.07 L9.598,11.07 C9.331,12.409 8.126,13.479 6.521,13.479 C4.648,13.479 3.042,11.874 3.042,10 C3.042,8.126 4.648,6.522 6.521,6.521 C7.324,6.522 8.126,6.788 8.662,7.324 L10.402,5.584 C9.331,4.782 8.126,4.113 6.521,4.113 z M17.359,6.922 L15.887,6.922 L15.887,8.93 L13.747,8.93 L13.747,10.402 L15.754,10.402 L15.754,12.408 L17.225,12.408 L17.225,10.402 L19.367,10.402 L19.367,8.93 L17.359,8.93 L17.359,6.922 z",svgCircPath:"M10,0 C15.523,-0 20,4.477 20,10 C20,15.523 15.523,20 10,20 C4.477,20 -0,15.523 -0,10 C-0,4.477 4.477,-0 10,-0 z M6.521,4.113 C3.31,4.113 0.634,6.788 0.633,10 C0.634,13.212 3.31,15.887 6.521,15.887 C9.866,15.887 12.141,13.479 12.141,10.134 C12.141,9.732 12.141,9.198 12.007,8.796 L6.521,8.796 L6.521,11.07 L9.598,11.07 C9.331,12.409 8.126,13.479 6.521,13.479 C4.648,13.479 3.042,11.874 3.042,10 C3.042,8.126 4.648,6.522 6.521,6.521 C7.324,6.522 8.126,6.788 8.662,7.324 L10.402,5.584 C9.331,4.782 8.126,4.113 6.521,4.113 z M17.359,6.922 L15.888,6.922 L15.888,8.93 L13.747,8.93 L13.747,10.402 L15.754,10.402 L15.754,12.408 L17.225,12.408 L17.225,10.402 L19.367,10.402 L19.367,8.93 L17.359,8.93 L17.359,6.922 z"},ha={"[500px]":{filename:"500px@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M7.013,9.897 C7.139,9.565 7.294,9.275 7.515,9.024 C7.999,8.474 8.61,8.177 9.337,8.11 C10.362,8.016 11.204,8.411 11.941,9.084 C12.246,9.362 12.516,9.675 12.782,9.991 C12.838,10.058 12.863,10.064 12.923,9.993 C13.265,9.587 13.605,9.179 14.026,8.85 C14.511,8.469 15.045,8.195 15.665,8.122 C17.197,7.943 18.478,8.777 18.804,10.358 C18.941,11.024 18.899,11.681 18.668,12.322 C18.242,13.507 17.255,14.184 15.995,14.169 C15.227,14.16 14.571,13.862 13.973,13.409 C13.582,13.112 13.247,12.757 12.925,12.39 C12.871,12.328 12.846,12.314 12.78,12.383 C12.451,12.724 12.139,13.083 11.769,13.384 C11.301,13.765 10.785,14.051 10.181,14.133 C9.113,14.278 8.19,13.996 7.472,13.158 C7.31,12.968 7.187,12.751 7.086,12.522 C7.074,12.493 7.07,12.459 7.037,12.434 C6.896,12.738 6.722,13.018 6.493,13.261 C5.917,13.873 5.207,14.192 4.369,14.222 C3.763,14.243 3.17,14.166 2.617,13.904 C1.691,13.465 1.182,12.735 1.119,11.704 C1.114,11.625 1.136,11.605 1.214,11.606 C1.712,11.609 2.209,11.609 2.707,11.606 C2.782,11.605 2.803,11.627 2.816,11.7 C2.911,12.268 3.217,12.664 3.789,12.806 C4.588,13.004 5.322,12.551 5.532,11.729 C5.673,11.175 5.612,10.646 5.245,10.185 C5.002,9.879 4.671,9.73 4.283,9.703 C3.724,9.663 3.266,9.847 2.936,10.312 C2.906,10.355 2.87,10.366 2.82,10.365 C2.371,10.364 1.923,10.363 1.474,10.366 C1.396,10.367 1.38,10.345 1.393,10.271 C1.626,8.976 1.857,7.681 2.088,6.386 C2.12,6.209 2.152,6.032 2.181,5.854 C2.191,5.796 2.213,5.774 2.276,5.775 C3.766,5.777 5.257,5.777 6.747,5.775 C6.818,5.774 6.833,5.798 6.833,5.864 C6.83,6.264 6.829,6.664 6.833,7.063 C6.834,7.144 6.813,7.167 6.731,7.166 C5.663,7.164 4.595,7.166 3.528,7.163 C3.439,7.162 3.4,7.177 3.383,7.277 C3.289,7.845 3.185,8.412 3.086,8.979 C3.082,9.003 3.065,9.035 3.091,9.051 C3.12,9.069 3.136,9.034 3.153,9.017 C3.642,8.546 4.239,8.402 4.897,8.437 C5.53,8.471 6.071,8.709 6.517,9.159 C6.703,9.347 6.848,9.564 6.964,9.801 C6.977,9.826 6.99,9.852 7.013,9.897 z M17.33,11.123 C17.333,11.066 17.323,10.982 17.312,10.897 C17.218,10.143 16.583,9.656 15.831,9.755 C15.436,9.807 15.111,10.003 14.804,10.238 C14.462,10.5 14.175,10.82 13.88,11.131 C13.84,11.173 13.858,11.195 13.887,11.228 C14.094,11.46 14.309,11.686 14.552,11.881 C14.955,12.206 15.392,12.456 15.924,12.505 C16.524,12.561 17.01,12.281 17.224,11.737 C17.298,11.549 17.329,11.353 17.33,11.123 z M8.376,11.197 C8.379,11.235 8.382,11.297 8.387,11.358 C8.438,11.942 8.828,12.381 9.393,12.484 C9.703,12.541 10.005,12.5 10.298,12.386 C10.923,12.142 11.399,11.704 11.835,11.212 C11.867,11.176 11.851,11.158 11.826,11.132 C11.514,10.805 11.196,10.484 10.828,10.219 C10.572,10.035 10.303,9.87 9.994,9.794 C9.523,9.677 9.094,9.744 8.759,10.128 C8.499,10.425 8.375,10.777 8.376,11.197 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M7.14517241,9.90206897 C7.26551724,9.58448276 7.41413793,9.30758621 7.625,9.06775862 C8.08758621,8.54189655 8.67189655,8.25844828 9.36655172,8.19431034 C10.3455172,8.10396552 11.15,8.48189655 11.8543103,9.12465517 C12.1460345,9.39086207 12.4044828,9.68931034 12.6581034,9.99137931 C12.712069,10.0558621 12.7356897,10.0615517 12.7931034,9.99362069 C13.1196552,9.60568966 13.445,9.21603448 13.8468966,8.90086207 C14.3103448,8.53741379 14.8210345,8.275 15.4134483,8.20568966 C16.8775862,8.03413793 18.1012069,8.83155172 18.4127586,10.3427586 C18.5437931,10.9784483 18.5034483,11.6068966 18.2832759,12.2196552 C17.8762069,13.352069 16.9332759,13.9984483 15.7284483,13.9843103 C14.9944828,13.9756897 14.367931,13.6912069 13.7963793,13.2577586 C13.422931,12.9744828 13.1031034,12.6346552 12.7953448,12.2837931 C12.7436207,12.225 12.7196552,12.2118966 12.6568966,12.277069 C12.3422414,12.6037931 12.0434483,12.9467241 11.6901724,13.2343103 C11.2434483,13.597931 10.7503448,13.8712069 10.172931,13.9496552 C9.15172414,14.0884483 8.26982759,13.8193103 7.58413793,13.0181034 C7.4287931,12.8363793 7.31155172,12.6293103 7.21534483,12.4105172 C7.20327586,12.382931 7.19965517,12.3496552 7.16844828,12.3265517 C7.03396552,12.6167241 6.86741379,12.8839655 6.6487931,13.1162069 C6.09844828,13.7013793 5.41965517,14.0065517 4.61844828,14.0348276 C4.03948276,14.0553448 3.47241379,13.9815517 2.94431034,13.7312069 C2.05965517,13.3118966 1.57310345,12.6139655 1.51275862,11.6282759 C1.50827586,11.5532759 1.52896552,11.5343103 1.60327586,11.5346552 C2.07913793,11.5381034 2.555,11.5381034 3.03068966,11.5346552 C3.10206897,11.5341379 3.12206897,11.5551724 3.13413793,11.625 C3.22568966,12.167931 3.51775862,12.5460345 4.06482759,12.6818966 C4.82827586,12.8713793 5.52965517,12.4381034 5.73017241,11.6522414 C5.86517241,11.1232759 5.80689655,10.6175862 5.4562069,10.177069 C5.22344828,9.88465517 4.90724138,9.74224138 4.53603448,9.71603448 C4.00189655,9.67844828 3.565,9.85448276 3.24948276,10.297931 C3.22017241,10.3394828 3.18603448,10.3496552 3.13862069,10.3494828 C2.70965517,10.3482759 2.28086207,10.347069 1.85206897,10.3503448 C1.77741379,10.3508621 1.76224138,10.33 1.775,10.2591379 C1.99758621,9.02189655 2.21810345,7.78431034 2.43913793,6.54672414 C2.46931034,6.37741379 2.50017241,6.20810345 2.52810345,6.03844828 C2.53706897,5.98275862 2.55844828,5.96224138 2.61844828,5.96241379 C4.04275862,5.96431034 5.46689655,5.96431034 6.89103448,5.96241379 C6.95913793,5.96224138 6.97362069,5.98448276 6.97327586,6.04810345 C6.97034483,6.42982759 6.96965517,6.81189655 6.9737931,7.19362069 C6.97448276,7.27137931 6.95465517,7.29275862 6.87568966,7.29241379 C5.85534483,7.28965517 4.835,7.29155172 3.81465517,7.2887931 C3.73,7.28862069 3.69224138,7.30258621 3.67637931,7.39775862 C3.58655172,7.94068966 3.48741379,8.48224138 3.39241379,9.02431034 C3.38844828,9.04724138 3.37224138,9.07844828 3.39706897,9.09362069 C3.42465517,9.11051724 3.44017241,9.07706897 3.45655172,9.0612069 C3.92413793,8.61103448 4.49448276,8.47344828 5.12344828,8.50706897 C5.72844828,8.53931034 6.245,8.76637931 6.67103448,9.19672414 C6.84896552,9.3762069 6.98724138,9.58396552 7.0987931,9.81 C7.11103448,9.83431034 7.12362069,9.8587931 7.14517241,9.90206897 Z M17.0048276,11.0737931 C17.007069,11.0189655 16.997931,10.9382759 16.9877586,10.8575862 C16.8974138,10.1372414 16.2906897,9.67137931 15.572069,9.7662069 C15.1948276,9.8162069 14.8836207,10.0027586 14.5905172,10.2274138 C14.2637931,10.4781034 13.9898276,10.7841379 13.7075862,11.0813793 C13.6696552,11.1212069 13.6865517,11.1422414 13.7143103,11.1732759 C13.9125862,11.3953448 14.1174138,11.6112069 14.3496552,11.7981034 C14.7353448,12.1084483 15.1527586,12.3474138 15.6613793,12.3944828 C16.2341379,12.4477586 16.6982759,12.1796552 16.9031034,11.6605172 C16.9741379,11.4808621 17.0037931,11.2932759 17.0048276,11.0737931 Z M8.44758621,11.1437931 C8.45034483,11.18 8.45344828,11.2394828 8.45862069,11.2984483 C8.50724138,11.8562069 8.87965517,12.2755172 9.41948276,12.3741379 C9.7162069,12.4284483 10.0046552,12.3889655 10.2844828,12.2801724 C10.8818966,12.0472414 11.337069,11.6287931 11.7532759,11.1584483 C11.7837931,11.1239655 11.7687931,11.107069 11.7448276,11.082069 C11.4468966,10.7694828 11.1431034,10.462931 10.7912069,10.2093103 C10.5468966,10.0332759 10.2898276,9.8762069 9.99413793,9.80310345 C9.54396552,9.69172414 9.13396552,9.75568966 8.8137931,10.1222414 C8.56551724,10.4063793 8.44689655,10.7431034 8.44758621,11.1437931 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M7.14517241,9.90206897 C7.26551724,9.58448276 7.41413793,9.30758621 7.625,9.06775862 C8.08758621,8.54189655 8.67189655,8.25844828 9.36655172,8.19431034 C10.3455172,8.10396552 11.15,8.48189655 11.8543103,9.12465517 C12.1460345,9.39086207 12.4044828,9.68931034 12.6581034,9.99137931 C12.712069,10.0558621 12.7356897,10.0615517 12.7931034,9.99362069 C13.1196552,9.60568966 13.445,9.21603448 13.8468966,8.90086207 C14.3103448,8.53741379 14.8210345,8.275 15.4134483,8.20568966 C16.8775862,8.03413793 18.1012069,8.83155172 18.4127586,10.3427586 C18.5437931,10.9784483 18.5034483,11.6068966 18.2832759,12.2196552 C17.8762069,13.352069 16.9332759,13.9984483 15.7284483,13.9843103 C14.9944828,13.9756897 14.367931,13.6912069 13.7963793,13.2577586 C13.422931,12.9744828 13.1031034,12.6346552 12.7953448,12.2837931 C12.7436207,12.225 12.7196552,12.2118966 12.6568966,12.277069 C12.3422414,12.6037931 12.0434483,12.9467241 11.6901724,13.2343103 C11.2434483,13.597931 10.7503448,13.8712069 10.172931,13.9496552 C9.15172414,14.0884483 8.26982759,13.8193103 7.58413793,13.0181034 C7.4287931,12.8363793 7.31155172,12.6293103 7.21534483,12.4105172 C7.20327586,12.382931 7.19965517,12.3496552 7.16844828,12.3265517 C7.03396552,12.6167241 6.86741379,12.8839655 6.6487931,13.1162069 C6.09844828,13.7013793 5.41965517,14.0065517 4.61844828,14.0348276 C4.03948276,14.0553448 3.47241379,13.9815517 2.94431034,13.7312069 C2.05965517,13.3118966 1.57310345,12.6139655 1.51275862,11.6282759 C1.50827586,11.5532759 1.52896552,11.5343103 1.60327586,11.5346552 C2.07913793,11.5381034 2.555,11.5381034 3.03068966,11.5346552 C3.10206897,11.5341379 3.12206897,11.5551724 3.13413793,11.625 C3.22568966,12.167931 3.51775862,12.5460345 4.06482759,12.6818966 C4.82827586,12.8713793 5.52965517,12.4381034 5.73017241,11.6522414 C5.86517241,11.1232759 5.80689655,10.6175862 5.4562069,10.177069 C5.22344828,9.88465517 4.90724138,9.74224138 4.53603448,9.71603448 C4.00189655,9.67844828 3.565,9.85448276 3.24948276,10.297931 C3.22017241,10.3394828 3.18603448,10.3496552 3.13862069,10.3494828 C2.70965517,10.3482759 2.28086207,10.347069 1.85206897,10.3503448 C1.77741379,10.3508621 1.76224138,10.33 1.775,10.2591379 C1.99758621,9.02189655 2.21810345,7.78431034 2.43913793,6.54672414 C2.46931034,6.37741379 2.50017241,6.20810345 2.52810345,6.03844828 C2.53706897,5.98275862 2.55844828,5.96224138 2.61844828,5.96241379 C4.04275862,5.96431034 5.46689655,5.96431034 6.89103448,5.96241379 C6.95913793,5.96224138 6.97362069,5.98448276 6.97327586,6.04810345 C6.97034483,6.42982759 6.96965517,6.81189655 6.9737931,7.19362069 C6.97448276,7.27137931 6.95465517,7.29275862 6.87568966,7.29241379 C5.85534483,7.28965517 4.835,7.29155172 3.81465517,7.2887931 C3.73,7.28862069 3.69224138,7.30258621 3.67637931,7.39775862 C3.58655172,7.94068966 3.48741379,8.48224138 3.39241379,9.02431034 C3.38844828,9.04724138 3.37224138,9.07844828 3.39706897,9.09362069 C3.42465517,9.11051724 3.44017241,9.07706897 3.45655172,9.0612069 C3.92413793,8.61103448 4.49448276,8.47344828 5.12344828,8.50706897 C5.72844828,8.53931034 6.245,8.76637931 6.67103448,9.19672414 C6.84896552,9.3762069 6.98724138,9.58396552 7.0987931,9.81 C7.11103448,9.83431034 7.12362069,9.8587931 7.14517241,9.90206897 Z M17.0048276,11.0737931 C17.007069,11.0189655 16.997931,10.9382759 16.9877586,10.8575862 C16.8974138,10.1372414 16.2906897,9.67137931 15.572069,9.7662069 C15.1948276,9.8162069 14.8836207,10.0027586 14.5905172,10.2274138 C14.2637931,10.4781034 13.9898276,10.7841379 13.7075862,11.0813793 C13.6696552,11.1212069 13.6865517,11.1422414 13.7143103,11.1732759 C13.9125862,11.3953448 14.1174138,11.6112069 14.3496552,11.7981034 C14.7353448,12.1084483 15.1527586,12.3474138 15.6613793,12.3944828 C16.2341379,12.4477586 16.6982759,12.1796552 16.9031034,11.6605172 C16.9741379,11.4808621 17.0037931,11.2932759 17.0048276,11.0737931 Z M8.44758621,11.1437931 C8.45034483,11.18 8.45344828,11.2394828 8.45862069,11.2984483 C8.50724138,11.8562069 8.87965517,12.2755172 9.41948276,12.3741379 C9.7162069,12.4284483 10.0046552,12.3889655 10.2844828,12.2801724 C10.8818966,12.0472414 11.337069,11.6287931 11.7532759,11.1584483 C11.7837931,11.1239655 11.7687931,11.107069 11.7448276,11.082069 C11.4468966,10.7694828 11.1431034,10.462931 10.7912069,10.2093103 C10.5468966,10.0332759 10.2898276,9.8762069 9.99413793,9.80310345 C9.54396552,9.69172414 9.13396552,9.75568966 8.8137931,10.1222414 C8.56551724,10.4063793 8.44689655,10.7431034 8.44758621,11.1437931 Z"},"[behance]":{filename:"behance@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.485,12.191 C10.485,15.326 7.287,15.223 7.287,15.223 L4.356,15.223 L4.27,15.223 L2.048,15.223 L2.048,4.95 L4.27,4.95 L4.356,4.95 L7.287,4.95 C8.879,4.95 10.135,5.847 10.135,7.685 C10.135,9.523 8.599,9.64 8.599,9.64 C10.624,9.64 10.485,12.191 10.485,12.191 z M12.584,5.555 L16.738,5.555 L16.738,6.82 L12.584,6.82 L12.584,5.555 L12.584,5.555 z M18.255,12.023 L13.038,12.023 C13.038,13.931 14.809,13.811 14.809,13.811 C16.482,13.811 16.424,12.705 16.424,12.705 L18.196,12.705 C18.196,15.639 14.75,15.438 14.75,15.438 C10.616,15.438 10.883,11.51 10.883,11.51 C10.883,11.51 10.879,7.564 14.75,7.564 C18.825,7.564 18.255,12.023 18.255,12.023 z M14.885,9.175 C13.354,9.175 13.141,10.767 13.141,10.767 L16.397,10.767 C16.397,10.767 16.418,9.175 14.885,9.175 z M7.496,10.767 L4.609,10.767 L4.609,13.527 L7.165,13.527 C7.209,13.527 7.274,13.528 7.35,13.527 C7.761,13.517 8.541,13.392 8.541,12.185 C8.541,10.752 7.496,10.767 7.496,10.767 z M8.198,7.945 C8.198,6.871 7.496,6.871 7.496,6.871 L7.125,6.871 L4.609,6.871 L4.609,9.175 L7.317,9.175 C7.784,9.175 8.198,9.018 8.198,7.945 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M10.484622,12.1908776 C10.484622,15.3263776 7.287372,15.2228776 7.287372,15.2228776 L4.356192,15.2228776 L4.270442,15.2228776 L2.048292,15.2228776 L2.048292,4.94987755 L4.270442,4.94987755 L4.356192,4.94987755 L7.287372,4.94987755 C8.878892,4.94987755 10.135252,5.84687755 10.135252,7.68487755 C10.135252,9.52287755 8.599102,9.63987755 8.599102,9.63987755 C10.624272,9.63987755 10.484622,12.1908776 10.484622,12.1908776 Z M12.584272,5.55487755 L16.738002,5.55487755 L16.738002,6.81987755 L12.584272,6.81987755 L12.584272,5.55487755 L12.584272,5.55487755 Z M18.255042,12.0228776 L13.038012,12.0228776 C13.038012,13.9308776 14.809362,13.8108776 14.809362,13.8108776 C16.482222,13.8108776 16.423912,12.7053776 16.423912,12.7053776 L18.196242,12.7053776 C18.196242,15.6388776 14.750072,15.4378776 14.750072,15.4378776 C10.616432,15.4378776 10.882502,11.5103776 10.882502,11.5103776 C10.882502,11.5103776 10.878582,7.56387755 14.750072,7.56387755 C18.825402,7.56387755 18.255042,12.0228776 18.255042,12.0228776 Z M14.8853775,9.17470139 C13.3535087,9.17470139 13.1406686,10.7667184 13.1406686,10.7667184 L16.3974586,10.7667184 C16.3974586,10.7667184 16.4182117,9.17470139 14.8853775,9.17470139 Z M7.49630612,10.7667184 L4.60921107,10.7667184 L4.60921107,13.5266165 L7.16522166,13.5266165 C7.2086584,13.5266165 7.2738135,13.5276216 7.35006911,13.5266165 C7.76127021,13.5165659 8.5407183,13.3919383 8.5407183,12.1848598 C8.5407183,10.752145 7.49630612,10.7667184 7.49630612,10.7667184 Z M8.19756809,7.94500898 C8.19756809,6.87110106 7.49630612,6.87110106 7.49630612,6.87110106 L7.12468071,6.87110106 L4.60921107,6.87110106 L4.60921107,9.17470139 L7.31725024,9.17470139 C7.78443647,9.17470139 8.19756809,9.01841437 8.19756809,7.94500898 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M10.4240442,12.4717898 C10.4240442,15.2937398 7.6264505,15.2005898 7.6264505,15.2005898 L5.061668,15.2005898 L4.98663675,15.2005898 L3.0422555,15.2005898 L3.0422555,5.9548898 L4.98663675,5.9548898 L5.061668,5.9548898 L7.6264505,5.9548898 C9.0190305,5.9548898 10.1183455,6.7621898 10.1183455,8.4163898 C10.1183455,10.0705898 8.77421425,10.1758898 8.77421425,10.1758898 C10.546238,10.1758898 10.4240442,12.4717898 10.4240442,12.4717898 Z M12.261238,6.4993898 L15.8957518,6.4993898 L15.8957518,7.6378898 L12.261238,7.6378898 L12.261238,6.4993898 L12.261238,6.4993898 Z M17.2231618,12.3205898 L12.6582605,12.3205898 C12.6582605,14.0377898 14.2081918,13.9297898 14.2081918,13.9297898 C15.6719443,13.9297898 15.620923,12.9348398 15.620923,12.9348398 L17.1717118,12.9348398 C17.1717118,15.5749898 14.156313,15.3940898 14.156313,15.3940898 C10.539378,15.3940898 10.7721893,11.8593398 10.7721893,11.8593398 C10.7721893,11.8593398 10.7687593,8.3074898 14.156313,8.3074898 C17.7222268,8.3074898 17.2231618,12.3205898 17.2231618,12.3205898 Z M14.2747053,9.75723125 C12.9343201,9.75723125 12.7480851,11.1900465 12.7480851,11.1900465 L15.5977763,11.1900465 C15.5977763,11.1900465 15.6159352,9.75723125 14.2747053,9.75723125 Z M7.80926785,11.1900465 L5.28305968,11.1900465 L5.28305968,13.6739548 L7.51956896,13.6739548 C7.5575761,13.6739548 7.61458682,13.6748594 7.68131047,13.6739548 C8.04111143,13.6649093 8.72312852,13.5527445 8.72312852,12.4663738 C8.72312852,11.1769305 7.80926785,11.1900465 7.80926785,11.1900465 Z M8.42287208,8.65050808 C8.42287208,7.68399096 7.80926785,7.68399096 7.80926785,7.68399096 L7.48409562,7.68399096 L5.28305968,7.68399096 L5.28305968,9.75723125 L7.65259396,9.75723125 C8.06138191,9.75723125 8.42287208,9.61657293 8.42287208,8.65050808 Z"},"[blogger]":{filename:"blogger@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M16.509,12.704 C16.497,14.991 14.635,16.864 12.344,16.864 L7.559,16.864 C5.267,16.864 3.395,14.991 3.395,12.704 L3.395,7.844 C3.395,5.551 5.267,3.674 7.559,3.674 L10.471,3.674 C11.547,3.803 13.111,4.723 13.689,5.949 C13.847,6.292 13.931,6.345 14.062,7.365 C14.134,7.889 14.17,8.276 14.404,8.491 C14.733,8.792 15.958,8.59 16.2,8.778 L16.386,8.924 L16.497,9.153 L16.535,9.337 L16.509,12.704 z M12.304,11.851 L7.611,11.851 C7.171,11.851 6.814,12.204 6.814,12.642 C6.814,13.073 7.171,13.436 7.611,13.436 L12.304,13.436 C12.743,13.436 13.097,13.073 13.097,12.642 C13.097,12.204 12.743,11.851 12.304,11.851 z M7.611,8.674 L9.921,8.674 C10.361,8.674 10.719,8.311 10.719,7.876 C10.719,7.439 10.361,7.08 9.921,7.08 L7.611,7.08 C7.171,7.08 6.814,7.439 6.814,7.876 C6.814,8.311 7.171,8.674 7.611,8.674 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M16.509,12.704 C16.4965,14.991 14.635,16.864 12.344,16.864 L7.559,16.864 C5.2675,16.864 3.395,14.991 3.395,12.704 L3.395,7.8435 C3.395,5.5515 5.2675,3.6745 7.559,3.6745 L10.471,3.6745 C11.547,3.8025 13.1115,4.7235 13.689,5.949 C13.847,6.292 13.931,6.3455 14.062,7.3645 C14.1335,7.889 14.1695,8.2765 14.404,8.4915 C14.733,8.7915 15.9585,8.59 16.2,8.7785 L16.3865,8.924 L16.497,9.1535 L16.535,9.337 L16.509,12.704 Z M12.304,11.8505 L7.6115,11.8505 C7.171,11.8505 6.8145,12.204 6.8145,12.6425 C6.8145,13.073 7.171,13.4365 7.6115,13.4365 L12.304,13.4365 C12.7425,13.4365 13.097,13.073 13.097,12.6425 C13.097,12.204 12.7425,11.8505 12.304,11.8505 Z M7.6115,8.6735 L9.921,8.6735 C10.3615,8.6735 10.719,8.311 10.719,7.8755 C10.719,7.439 10.3615,7.0795 9.921,7.0795 L7.6115,7.0795 C7.171,7.0795 6.8145,7.439 6.8145,7.8755 C6.8145,8.3115 7.171,8.6735 7.6115,8.6735 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M16.509,12.704 C16.4965,14.991 14.635,16.864 12.344,16.864 L7.559,16.864 C5.2675,16.864 3.395,14.991 3.395,12.704 L3.395,7.8435 C3.395,5.5515 5.2675,3.6745 7.559,3.6745 L10.471,3.6745 C11.547,3.8025 13.1115,4.7235 13.689,5.949 C13.847,6.292 13.931,6.3455 14.062,7.3645 C14.1335,7.889 14.1695,8.2765 14.404,8.4915 C14.733,8.7915 15.9585,8.59 16.2,8.7785 L16.3865,8.924 L16.497,9.1535 L16.535,9.337 L16.509,12.704 Z M12.304,11.8505 L7.6115,11.8505 C7.171,11.8505 6.8145,12.204 6.8145,12.6425 C6.8145,13.073 7.171,13.4365 7.6115,13.4365 L12.304,13.4365 C12.7425,13.4365 13.097,13.073 13.097,12.6425 C13.097,12.204 12.7425,11.8505 12.304,11.8505 Z M7.6115,8.6735 L9.921,8.6735 C10.3615,8.6735 10.719,8.311 10.719,7.8755 C10.719,7.439 10.3615,7.0795 9.921,7.0795 L7.6115,7.0795 C7.171,7.0795 6.8145,7.439 6.8145,7.8755 C6.8145,8.3115 7.171,8.6735 7.6115,8.6735 Z"},"[digg]":{filename:"digg@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M5.968,12.68 L2.081,12.68 L2.081,7.931 L4.437,7.931 L4.437,5.856 L5.968,5.856 L5.968,12.68 z M8.342,12.698 L6.757,12.698 L6.757,7.922 L8.342,7.922 L8.342,12.698 z M8.342,7.236 L6.757,7.236 L6.757,5.941 L8.342,5.941 L8.342,7.236 z M13.046,14.774 L12.37,14.774 L9.132,14.774 L9.132,13.441 L11.515,13.441 L11.515,12.698 L9.158,12.698 L9.158,7.95 L13.046,7.95 L13.046,14.774 z M17.74,14.774 L17.065,14.774 L13.826,14.774 L13.826,13.441 L16.21,13.441 L16.21,12.698 L13.853,12.698 L13.853,7.95 L17.74,7.95 L17.74,14.774 z M3.51,9.162 L3.51,11.321 L4.308,11.321 L4.308,9.162 L3.51,9.162 z M10.783,9.162 L10.783,11.321 L11.582,11.321 L11.582,9.162 L10.783,9.162 z M15.328,9.162 L15.328,11.321 L16.126,11.321 L16.126,9.162 L15.328,9.162 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M5.96772727,12.68 L2.08090909,12.68 L2.08090909,7.93136364 L4.43727273,7.93136364 L4.43727273,5.85636364 L5.96772727,5.85636364 L5.96772727,12.68 Z M8.34181818,12.6977273 L6.75727273,12.6977273 L6.75727273,7.92181818 L8.34181818,7.92181818 L8.34181818,12.6977273 Z M8.34181818,7.23636364 L6.75727273,7.23636364 L6.75727273,5.94090909 L8.34181818,5.94090909 L8.34181818,7.23636364 Z M13.0459091,14.7736364 L12.3695455,14.7736364 L9.13181818,14.7736364 L9.13181818,13.4409091 L11.5154545,13.4409091 L11.5154545,12.6977273 L9.15818182,12.6977273 L9.15818182,7.95 L13.0459091,7.95 L13.0459091,14.7736364 Z M17.74,14.7736364 L17.0645455,14.7736364 L13.8259091,14.7736364 L13.8259091,13.4409091 L16.2095455,13.4409091 L16.2095455,12.6977273 L13.8531818,12.6977273 L13.8531818,7.95 L17.74,7.95 L17.74,14.7736364 Z M3.51,9.16227273 L3.51,11.3213636 L4.30818182,11.3213636 L4.30818182,9.16227273 L3.51,9.16227273 Z M10.7827273,9.16227273 L10.7827273,11.3213636 L11.5818182,11.3213636 L11.5818182,9.16227273 L10.7827273,9.16227273 Z M15.3281818,9.16227273 L15.3281818,11.3213636 L16.1263636,11.3213636 L16.1263636,9.16227273 L15.3281818,9.16227273 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M5.96772727,12.68 L2.08090909,12.68 L2.08090909,7.93136364 L4.43727273,7.93136364 L4.43727273,5.85636364 L5.96772727,5.85636364 L5.96772727,12.68 Z M8.34181818,12.6977273 L6.75727273,12.6977273 L6.75727273,7.92181818 L8.34181818,7.92181818 L8.34181818,12.6977273 Z M8.34181818,7.23636364 L6.75727273,7.23636364 L6.75727273,5.94090909 L8.34181818,5.94090909 L8.34181818,7.23636364 Z M13.0459091,14.7736364 L12.3695455,14.7736364 L9.13181818,14.7736364 L9.13181818,13.4409091 L11.5154545,13.4409091 L11.5154545,12.6977273 L9.15818182,12.6977273 L9.15818182,7.95 L13.0459091,7.95 L13.0459091,14.7736364 Z M17.74,14.7736364 L17.0645455,14.7736364 L13.8259091,14.7736364 L13.8259091,13.4409091 L16.2095455,13.4409091 L16.2095455,12.6977273 L13.8531818,12.6977273 L13.8531818,7.95 L17.74,7.95 L17.74,14.7736364 Z M3.51,9.16227273 L3.51,11.3213636 L4.30818182,11.3213636 L4.30818182,9.16227273 L3.51,9.16227273 Z M10.7827273,9.16227273 L10.7827273,11.3213636 L11.5818182,11.3213636 L11.5818182,9.16227273 L10.7827273,9.16227273 Z M15.3281818,9.16227273 L15.3281818,11.3213636 L16.1263636,11.3213636 L16.1263636,9.16227273 L15.3281818,9.16227273 Z"
},"[dribbble]":{filename:"dribbble@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,1.516 C14.686,1.516 18.484,5.314 18.484,10 C18.484,14.686 14.686,18.484 10,18.484 C5.314,18.484 1.516,14.686 1.516,10 C1.516,5.314 5.314,1.516 10,1.516 z M11.289,11.159 C11.272,11.164 11.256,11.169 11.24,11.175 C8.959,12.044 6.68,13.47 5.533,15.712 C6.786,16.799 8.405,17.122 10.001,17.263 C11.01,17.263 11.97,17.058 12.844,16.687 C12.736,16.05 12.313,13.821 11.289,11.159 z M13.516,10.725 L12.652,10.822 C13.607,13.446 13.995,15.582 14.069,16.022 C15.704,14.918 16.865,13.168 17.189,11.14 C16,10.73 14.754,10.74 13.516,10.725 z M5.365,15.595 C5.46,15.673 5.528,15.722 5.528,15.722 L5.533,15.712 L5.365,15.595 z M10.201,8.716 C6.454,9.838 2.856,9.756 2.728,9.753 C2.725,9.83 2.722,9.906 2.722,9.983 C2.722,11.853 3.428,13.559 4.587,14.849 C4.587,14.847 4.584,14.845 4.584,14.845 C4.584,14.845 6.607,11.412 10.792,9.953 C10.61,9.539 10.41,9.124 10.201,8.716 z M15.623,5.36 C15.61,5.38 14.442,7.068 11.567,8.241 C11.737,8.587 11.9,8.94 12.208,9.672 C14.71,9.358 17.173,9.888 17.278,9.911 C17.262,8.183 16.644,6.599 15.623,5.36 z M6.895,3.399 C4.865,4.358 3.35,6.228 2.877,8.483 C3.07,8.486 6.103,8.522 9.599,7.594 C8.339,5.354 6.992,3.529 6.895,3.399 z M8.375,2.875 C9.375,4.406 9.719,5 11.007,7.156 C13.755,6.126 14.832,4.544 14.809,4.52 C13.5,3.188 11.125,2.375 8.375,2.875 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M18.2541379,8.18724138 C18.1424138,7.63965517 17.9744828,7.10034483 17.7572414,6.58517241 C17.5437931,6.07931034 17.2789655,5.59241379 16.9713793,5.13724138 C16.6662069,4.68586207 16.3162069,4.26172414 15.9306897,3.87655172 C15.5455172,3.49068966 15.1210345,3.14034483 14.67,2.83586207 C14.2148276,2.52724138 13.7272414,2.26344828 13.222069,2.04931034 C12.7068966,1.83241379 12.167931,1.66413793 11.62,1.55310345 C11.0589655,1.43793103 10.4810345,1.37931034 9.9037931,1.37931034 C9.32586207,1.37931034 8.74862069,1.43793103 8.18689655,1.55310345 C7.63931034,1.66413793 7.1,1.83275862 6.58517241,2.04931034 C6.08,2.26344828 5.59241379,2.52758621 5.13655172,2.83586207 C4.68517241,3.14034483 4.26103448,3.49034483 3.87586207,3.87655172 C3.49034483,4.26172414 3.14068966,4.6862069 2.83586207,5.13724138 C2.52793103,5.59241379 2.26344828,6.07931034 2.05,6.58517241 C1.83172414,7.10034483 1.66448276,7.63965517 1.55241379,8.18724138 C1.43758621,8.74758621 1.37931034,9.32551724 1.37931034,9.90310345 C1.37931034,10.4817241 1.43758621,11.0596552 1.55241379,11.6203448 C1.66448276,12.167931 1.83206897,12.7072414 2.04965517,13.222069 C2.26310345,13.7272414 2.52793103,14.2155172 2.83551724,14.6706897 C3.14034483,15.122069 3.49,15.5455172 3.87551724,15.9313793 C4.26068966,16.3165517 4.68517241,16.6662069 5.1362069,16.9713793 C5.59206897,17.2793103 6.07965517,17.5437931 6.58482759,17.7572414 C7.09931034,17.9755172 7.63896552,18.1417241 8.18655172,18.2541379 C8.74827586,18.37 9.32551724,18.427931 9.90344828,18.427931 C10.4806897,18.427931 11.0586207,18.37 11.6196552,18.2541379 C12.167931,18.1417241 12.7065517,17.9751724 13.2217241,17.7572414 C13.7268966,17.5437931 14.2144828,17.2789655 14.6696552,16.9713793 C15.1210345,16.6662069 15.5451724,16.3168966 15.9303448,15.9313793 C16.3155172,15.5455172 16.6658621,15.1217241 16.9710345,14.6706897 C17.2789655,14.2155172 17.5434483,13.7272414 17.7568966,13.222069 C17.9744828,12.7075862 18.142069,12.167931 18.2537931,11.6203448 C18.3689655,11.0593103 18.4268966,10.4813793 18.4268966,9.90310345 C18.4272414,9.32551724 18.3693103,8.74758621 18.2541379,8.18724138 Z M17.1803448,9.83103448 C17.0751724,9.80827586 14.6117241,9.27793103 12.1103448,9.59241379 C12.0593103,9.46793103 12.0072414,9.34241379 11.9534483,9.21655172 C11.802069,8.86034483 11.6389655,8.50724138 11.4693103,8.16068966 C14.3444828,6.98758621 15.5117241,5.29965517 15.5251724,5.27965517 C16.5462069,6.51896552 17.1637931,8.10310345 17.1803448,9.83103448 Z M14.7113793,4.44 C14.6931034,4.46827586 13.6565517,6.0462069 10.9089655,7.0762069 C9.66448276,4.78965517 8.29724138,2.97344828 8.18793103,2.82931034 C8.73827586,2.69586207 9.31206897,2.6237931 9.90344828,2.6237931 C11.7468966,2.6237931 13.4286207,3.31068966 14.7113793,4.44 Z M8.15965517,2.83517241 C8.15965517,2.83586207 8.15827586,2.83655172 8.15827586,2.83655172 C8.15827586,2.83655172 8.15034483,2.83862069 8.13689655,2.84137931 C8.14413793,2.83931034 8.15241379,2.83793103 8.15965517,2.83517241 Z M6.79724138,3.31931034 C6.89413793,3.44931034 8.24068966,5.27448276 9.50068966,7.5137931 C6.00517241,8.44241379 2.97172414,8.4062069 2.77931034,8.40275862 C3.25241379,6.14793103 4.76724138,4.27827586 6.79724138,3.31931034 Z M2.6237931,9.90310345 C2.6237931,9.82551724 2.62724138,9.74965517 2.63,9.67310345 C2.75827586,9.67586207 6.35551724,9.75758621 10.1034483,8.63586207 C10.312069,9.04413793 10.5117241,9.45896552 10.6941379,9.87344828 C10.597931,9.90034483 10.502069,9.92931034 10.4072414,9.96034483 C6.47862069,11.23 4.48586207,14.7651724 4.48586207,14.7651724 C4.48586207,14.7651724 4.48862069,14.7672414 4.48862069,14.7686207 C3.32965517,13.4786207 2.6237931,11.7734483 2.6237931,9.90310345 Z M9.90344828,17.1834483 C8.14172414,17.1834483 6.52586207,16.5572414 5.26655172,15.5151724 C5.36206897,15.5927586 5.42965517,15.6424138 5.42965517,15.6424138 C5.42965517,15.6424138 6.82517241,12.5989655 11.142069,11.0948276 C11.1582759,11.0886207 11.1744828,11.0841379 11.1906897,11.0793103 C12.2151724,13.7410345 12.637931,15.9703448 12.7458621,16.6065517 C11.872069,16.9782759 10.9117241,17.1834483 9.90344828,17.1834483 Z M13.9713793,15.9417241 C13.8972414,15.502069 13.5093103,13.3655172 12.5544828,10.7417241 C14.9041379,10.3658621 16.9410345,11.0103448 17.0910345,11.0596552 C16.7668966,13.087931 15.6058621,14.8375862 13.9713793,15.9417241 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M18.2541379,8.18724138 C18.1424138,7.63965517 17.9744828,7.10034483 17.7572414,6.58517241 C17.5437931,6.07931034 17.2789655,5.59241379 16.9713793,5.13724138 C16.6662069,4.68586207 16.3162069,4.26172414 15.9306897,3.87655172 C15.5455172,3.49068966 15.1210345,3.14034483 14.67,2.83586207 C14.2148276,2.52724138 13.7272414,2.26344828 13.222069,2.04931034 C12.7068966,1.83241379 12.167931,1.66413793 11.62,1.55310345 C11.0589655,1.43793103 10.4810345,1.37931034 9.9037931,1.37931034 C9.32586207,1.37931034 8.74862069,1.43793103 8.18689655,1.55310345 C7.63931034,1.66413793 7.1,1.83275862 6.58517241,2.04931034 C6.08,2.26344828 5.59241379,2.52758621 5.13655172,2.83586207 C4.68517241,3.14034483 4.26103448,3.49034483 3.87586207,3.87655172 C3.49034483,4.26172414 3.14068966,4.6862069 2.83586207,5.13724138 C2.52793103,5.59241379 2.26344828,6.07931034 2.05,6.58517241 C1.83172414,7.10034483 1.66448276,7.63965517 1.55241379,8.18724138 C1.43758621,8.74758621 1.37931034,9.32551724 1.37931034,9.90310345 C1.37931034,10.4817241 1.43758621,11.0596552 1.55241379,11.6203448 C1.66448276,12.167931 1.83206897,12.7072414 2.04965517,13.222069 C2.26310345,13.7272414 2.52793103,14.2155172 2.83551724,14.6706897 C3.14034483,15.122069 3.49,15.5455172 3.87551724,15.9313793 C4.26068966,16.3165517 4.68517241,16.6662069 5.1362069,16.9713793 C5.59206897,17.2793103 6.07965517,17.5437931 6.58482759,17.7572414 C7.09931034,17.9755172 7.63896552,18.1417241 8.18655172,18.2541379 C8.74827586,18.37 9.32551724,18.427931 9.90344828,18.427931 C10.4806897,18.427931 11.0586207,18.37 11.6196552,18.2541379 C12.167931,18.1417241 12.7065517,17.9751724 13.2217241,17.7572414 C13.7268966,17.5437931 14.2144828,17.2789655 14.6696552,16.9713793 C15.1210345,16.6662069 15.5451724,16.3168966 15.9303448,15.9313793 C16.3155172,15.5455172 16.6658621,15.1217241 16.9710345,14.6706897 C17.2789655,14.2155172 17.5434483,13.7272414 17.7568966,13.222069 C17.9744828,12.7075862 18.142069,12.167931 18.2537931,11.6203448 C18.3689655,11.0593103 18.4268966,10.4813793 18.4268966,9.90310345 C18.4272414,9.32551724 18.3693103,8.74758621 18.2541379,8.18724138 Z M17.1803448,9.83103448 C17.0751724,9.80827586 14.6117241,9.27793103 12.1103448,9.59241379 C12.0593103,9.46793103 12.0072414,9.34241379 11.9534483,9.21655172 C11.802069,8.86034483 11.6389655,8.50724138 11.4693103,8.16068966 C14.3444828,6.98758621 15.5117241,5.29965517 15.5251724,5.27965517 C16.5462069,6.51896552 17.1637931,8.10310345 17.1803448,9.83103448 Z M14.7113793,4.44 C14.6931034,4.46827586 13.6565517,6.0462069 10.9089655,7.0762069 C9.66448276,4.78965517 8.29724138,2.97344828 8.18793103,2.82931034 C8.73827586,2.69586207 9.31206897,2.6237931 9.90344828,2.6237931 C11.7468966,2.6237931 13.4286207,3.31068966 14.7113793,4.44 Z M8.15965517,2.83517241 C8.15965517,2.83586207 8.15827586,2.83655172 8.15827586,2.83655172 C8.15827586,2.83655172 8.15034483,2.83862069 8.13689655,2.84137931 C8.14413793,2.83931034 8.15241379,2.83793103 8.15965517,2.83517241 Z M6.79724138,3.31931034 C6.89413793,3.44931034 8.24068966,5.27448276 9.50068966,7.5137931 C6.00517241,8.44241379 2.97172414,8.4062069 2.77931034,8.40275862 C3.25241379,6.14793103 4.76724138,4.27827586 6.79724138,3.31931034 Z M2.6237931,9.90310345 C2.6237931,9.82551724 2.62724138,9.74965517 2.63,9.67310345 C2.75827586,9.67586207 6.35551724,9.75758621 10.1034483,8.63586207 C10.312069,9.04413793 10.5117241,9.45896552 10.6941379,9.87344828 C10.597931,9.90034483 10.502069,9.92931034 10.4072414,9.96034483 C6.47862069,11.23 4.48586207,14.7651724 4.48586207,14.7651724 C4.48586207,14.7651724 4.48862069,14.7672414 4.48862069,14.7686207 C3.32965517,13.4786207 2.6237931,11.7734483 2.6237931,9.90310345 Z M9.90344828,17.1834483 C8.14172414,17.1834483 6.52586207,16.5572414 5.26655172,15.5151724 C5.36206897,15.5927586 5.42965517,15.6424138 5.42965517,15.6424138 C5.42965517,15.6424138 6.82517241,12.5989655 11.142069,11.0948276 C11.1582759,11.0886207 11.1744828,11.0841379 11.1906897,11.0793103 C12.2151724,13.7410345 12.637931,15.9703448 12.7458621,16.6065517 C11.872069,16.9782759 10.9117241,17.1834483 9.90344828,17.1834483 Z M13.9713793,15.9417241 C13.8972414,15.502069 13.5093103,13.3655172 12.5544828,10.7417241 C14.9041379,10.3658621 16.9410345,11.0103448 17.0910345,11.0596552 C16.7668966,13.087931 15.6058621,14.8375862 13.9713793,15.9417241 Z"},"[ello]":{filename:"ello@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,1.667 C5.398,1.667 1.667,5.407 1.667,10 C1.667,14.602 5.407,18.333 10,18.333 C14.602,18.333 18.333,14.593 18.333,10 C18.333,5.398 14.593,1.667 10,1.667 z M10,15 C7.722,15 5.722,13.444 5.167,11.25 C5.111,11 5.25,10.722 5.5,10.667 C5.75,10.611 6.028,10.75 6.083,11 C6.556,12.778 8.167,14.028 10,14.028 C11.833,14.028 13.444,12.778 13.917,11 C13.972,10.75 14.25,10.583 14.5,10.667 C14.75,10.722 14.917,11 14.833,11.25 C14.278,13.444 12.278,15 10,15 L10,15 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M10,1.66666667 C5.39762708,1.66666667 1.66666667,5.40699199 1.66666667,10 C1.66666667,14.6023729 5.40699199,18.3333333 10,18.3333333 C14.6023729,18.3333333 18.3333333,14.593008 18.3333333,10 C18.3333333,5.39762708 14.593008,1.66666667 10,1.66666667 Z M10,15 C7.72222222,15 5.72222222,13.4444444 5.16666667,11.25 C5.11111111,11 5.25,10.7222222 5.5,10.6666667 C5.75,10.6111111 6.02777778,10.75 6.08333333,11 C6.55555556,12.7777778 8.16666667,14.0277778 10,14.0277778 C11.8333333,14.0277778 13.4444444,12.7777778 13.9166667,11 C13.9722222,10.75 14.25,10.5833333 14.5,10.6666667 C14.75,10.7222222 14.9166667,11 14.8333333,11.25 C14.2777778,13.4444444 12.2777778,15 10,15 L10,15 Z",svgCircPath:"M10,0 C4.4771525,0 0,4.47593818 0,10 C0,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M10,1.66666667 C5.39762708,1.66666667 1.66666667,5.40699199 1.66666667,10 C1.66666667,14.6023729 5.40699199,18.3333333 10,18.3333333 C14.6023729,18.3333333 18.3333333,14.593008 18.3333333,10 C18.3333333,5.39762708 14.593008,1.66666667 10,1.66666667 Z M10,15 C7.72222222,15 5.72222222,13.4444444 5.16666667,11.25 C5.11111111,11 5.25,10.7222222 5.5,10.6666667 C5.75,10.6111111 6.02777778,10.75 6.08333333,11 C6.55555556,12.7777778 8.16666667,14.0277778 10,14.0277778 C11.8333333,14.0277778 13.4444444,12.7777778 13.9166667,11 C13.9722222,10.75 14.25,10.5833333 14.5,10.6666667 C14.75,10.7222222 14.9166667,11 14.8333333,11.25 C14.2777778,13.4444444 12.2777778,15 10,15 L10,15 Z"},"[email]":da,"[facebook]":{filename:"facebook@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.25,17.876 L10.25,10.376 L12.75,10.376 L13.375,7.25 L10.25,7.25 L10.25,6 C10.25,4.75 10.876,4.126 12.125,4.126 L13.375,4.126 L13.375,1 L10.875,1 C8.578,1 7.125,2.801 7.125,5.376 L7.125,7.25 L4.625,7.25 L4.625,10.376 L7.125,10.376 L7.125,17.876 L10.25,17.876 z",svgRectPath:"M1.99079514,0 C0.891309342,0 0,0.898212381 0,1.99079514 L0,18.0092049 C0,19.1086907 0.898212381,20 1.99079514,20 L18.0092049,20 C19.1086907,20 20,19.1017876 20,18.0092049 L20,1.99079514 C20,0.891309342 19.1017876,0 18.0092049,0 L1.99079514,0 Z M13.75,20 L13.75,12.5 L16.25,12.5 L16.875,9.375 L13.75,9.375 L13.75,8.125 C13.75,6.875 14.37625,6.25 15.625,6.25 L16.875,6.25 L16.875,3.125 L14.375,3.125 C12.078125,3.125 10.625,4.925625 10.625,7.5 L10.625,9.375 L8.125,9.375 L8.125,12.5 L10.625,12.5 L10.625,20 L13.75,20 Z",svgCircPath:"M9.625,19.9931017 C4.27478571,19.7959399 0,15.3973202 0,10 C0,4.47593818 4.4771525,0 10,0 C15.5240618,0 20,4.4771525 20,