-1}function showPosterImage(e){return isVimeo(e)?!(STATE.overrides.videoAutoPlay||STATE.overrides.vimeoDefault):!STATE.overrides.videoAutoPlay}function getCursorAxis(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 inBounds(e,t){return e.x=0&&e.y>=0}function adjustOutOfBoundsPanel(e,t,i,n){var o=e,a=t;return a<0&&(a=0),a+theme.titleBarHeight>stage.height&&(a=stage.height-theme.titleBarHeight),o+i-theme.titleBarHeight-100<0&&(o=-(i-theme.titleBarHeight-100)),o+theme.titleBarHeight>stage.width&&(o=stage.width-theme.titleBarHeight),{x:o,y:a}}function isSpacer(e){return"%SPACER%"===e.label}function isSingleTextPage(e){return e&&e.media&&1===e.media.length&&/html|contact/.test(getMediaById(e.media[0]).type)}function getPropWithoutReflow(e,t){var i=e.style.display||"block";e.style.display="none";var n=e[t];return e.style.display=i,n}function clamp(e,t){return function(i){return it?t:i}}function resolveSectionPath(e){var t=getFirstValidSub(e);return!sectionHasMedia(e)&&(e.isIndex?e.key:t?t.key:e.key)}function fullscreen(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 buildAttachmentButton(e){var t=new Sprite;t.selectable=!1,t.style.display="flex",t.style.alignItems="center",t.style.gap="4px";var i=new Svg;i.id="svg",i.position="relative",i.width=21,i.height=21,i.left=0,i.top=0,t.addChild(i);var n=new Path;n.id="icon",n.position="relative",n.d=e.icon,n.strokeWidth=0,n.fill=e.iconColor,i.addChild(n);var o=new TextField;switch(o.selectable=!1,o.cursor="pointer",o.position="relative",o.fontFamily=e.font,o.fontColor=e.fontColor,o.fontSize=e.fontSize,o.text=e.text,e.text&&t.addChild(o),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 buildAlignedButton(e){var t=new Sprite;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%) rotate("+(e.rotation||0)+"deg)":"center"===e.alignVertical?t.element.style.transform="translateY(-50%) rotate("+(e.rotation||0)+"deg)":"center"===e.alignHorizontal?t.element.style.transform="translateX(-50%) rotate("+(e.rotation||0)+"deg)":t.element.style.transform="rotate("+(e.rotation||0)+"deg)",t.element.style["mix-blend-mode"]=e.blendMode,t.cursor="pointer",t}function copyToClipboard(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 isOverlayAndNotGalleryOnly(){return"overlay"===STATE.overrides.siteDisplayBehavior&&!STATE.overrides.siteDisplayGalleryOnlyOverlay}function isClosedGalleryOnlyOverlay(){return"overlay"===STATE.overrides.siteDisplayBehavior&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&/thumbs/.test(layoutCalcs._uriState.mode)}function isInMediaOverlay(){return isOverlayAndNotGalleryOnly()||"overlay"===STATE.overrides.siteDisplayBehavior&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&!/thumbs/.test(layoutCalcs._uriState.mode)}function getMarginOverlap(){return/top|bottom/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.marginOverlap,stage.height):percentToPixels(LAYOUT_MODEL.marginOverlap,stage.width)}function Accordion(e){function t(e){e.isOpen?o.closeItem(e):o.openItem(e)}function i(){n=new Tile,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 Sprite(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(SELECT_ACCORDION_ITEM,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&&LAYOUT_MODEL.dropdownSubMenu?isPod()||isPad()?(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(CLICK,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&&LAYOUT_MODEL.dropdownSubMenu||(o.toggle?t(this.accordionItem):this.accordionItem.isOpen||o.openItem(this.accordionItem),o.dispatchEvent(ACCORDION_SELECT,this.accordionItem)):"single"===o.expand&&o.closeItem(a[i]);o.layout(UPDATE_SPEED)},o.closeItem=function(e){"all"!==o.expand&&(e.isOpen=!1,e.content&&(e.content.overflow="hidden",Tween(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&&(Tween(e.content,o.animate?o.updateSpeed:0,{height:e.contentHeight,onComplete:function(){LAYOUT_MODEL.dropdownSubMenu&&/top|bottom/.test(STATE.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 T="x"===o.axis?o.gap+d:0,E="x"===o.axis?0:o.gap+d,g=n.getBounds(),m="x"===o.axis?g.width-o.gap:n.perpLength,p=g.height+("x"===o.axis?0:o.gap+d);for(r=0;rlayoutCalcs.menuView.width()&&(m=f)}}o.width=m,o.height=p,o.dispatchEvent(ACCORDION_SIZE_CHANGE,{width:m,height:p})},o}function Align(e,t,i){var n=new AlignEngine({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 Tween(e,t,r),r}function AlignEngine(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 Cursor(e){function t(){return{left:{arrow1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow1Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow2Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:svgPaths.arrow3Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:1.5},plus1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus1Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},plus2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus2Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}},right:{arrow1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow1Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow2Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:svgPaths.arrow3Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:1.5},plus1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus1Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},plus2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus2Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}}}}function i(){var e=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.cursorIconBlendMode?LAYOUT_MODEL.cursorIconBlendMode:"normal";g.element.style["mix-blend-mode"]=e}function n(e){C=e||"x"}function o(e){A=!/none|disabled/.test(LAYOUT_MODEL.navCursorType)&&e}function a(e){return TOUCH_DEVICE&&e.touches?e.touches[0].pageX:e.clientX}function r(e){return TOUCH_DEVICE&&e.touches?e.touches[0].pageY:e.clientY}function l(){m=new Svg,m.left=-20,m.top=-20,m.width=40,m.height=40,g.addChild(m),m.element.style["pointer-events"]="none",g.svg=m,p=new Path,p.id="icon",m.addChild(p),p.element.style["pointer-events"]="none",g.iconLeft=p,L=new Path,L.id="icon",m.addChild(L),L.element.style["pointer-events"]="none",g.iconCenter=L,g.iconCenter.d=svgPaths.cursorThumbs,f=new Path,f.id="icon",m.addChild(f),f.element.style["pointer-events"]="none",g.iconRight=f,s(),stage.addEventListener(MOUSE_MOVE,d),g.listenerAdded=!0}function s(){var e=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.cursorIconBlendMode?LAYOUT_MODEL.cursorIconBlendMode:"normal";g.cursorIconStyle=LAYOUT_MODEL.cursorIconStyle||"arrow2";var t=O.left[g.cursorIconStyle],i=O.right[g.cursorIconStyle];g.element.style["mix-blend-mode"]=e,g.navCursorType=LAYOUT_MODEL.navCursorType,g.iconLeft.d=t.d,g.iconLeft.fill=t.fill,g.iconLeft.stroke=t.stroke,g.iconLeft.strokeWidth=t.strokeWidth,g.iconCenter.fill=LAYOUT_MODEL.cursorColor,g.iconRight.d=i.d,g.iconRight.fill=i.fill,g.iconRight.stroke=i.stroke,g.iconRight.strokeWidth=i.strokeWidth}function d(e){if(g.enabled){if(e.target!==m.element&&e.target!==p.element&&e.target!==L.element&&e.target!==f.element){var i=a(e),n=r(e),o=STATE.mediaView.x(),l=STATE.mediaView.y(),d=STATE.mediaView.width(),c=STATE.mediaView.height();g.transition=0,g.translateX=i-2,g.translateY=n-2,e.target.navigationCursor&&g.enabled?v||h(e):v&&u(e);var E=A?.333*d:.5*d,b=A?.333*c:.5*c,y="x"===C?E:b,M="x"===C?i-o:n-l,w=y,_=2*y;(LAYOUT_MODEL.cursorColor!==O.left.arrow1.fill||LAYOUT_MODEL.cursorIconStyle!==g.cursorIconStyle&&LAYOUT_MODEL.navCursorType!==g.navCursorType)&&(O=t(),s()),Mw&&M<_?(g.iconLeft.alpha=0,g.iconCenter.alpha=1,g.iconRight.alpha=0,g.svg.rotate=0,g.type="thumbs"):(!A||M>_)&&(g.iconLeft.alpha=0,g.iconCenter.alpha=0,g.iconRight.alpha=1,g.svg.rotate="y"===C&&/arrow/.test(g.cursorIconStyle)?90:0,g.type="next")}}else T(e);clearTimeout(S),S=setTimeout(function(){T(e)},5e3)}function c(t){t.target.navigationCursor&&g.enabled&&(g.alpha=0,v=!1,"thumbs"===g.type?e.events.dispatchEvent(NAVBAR_OVERLAY_BTN_CLICK,g.type):e.events.dispatchEvent(NAVBAR_NAV_CLICK,{navDir:g.type}))}function h(e){"cursor"===LAYOUT_MODEL.navCursorType?(v=!0,g.display="block",g.alpha=.85,/none/.test(LAYOUT_MODEL.cursorIconStyle)||(e.target.style.cursor="none",g.iconLeft.cursor="none",g.iconCenter.cursor="none",g.iconRight.cursor="none",g.svg.cursor="none",g.cursor="none"),b||(stage.element.addEventListener(CLICK,c),stage.element.addEventListener("contextmenu",E),stage.element.addEventListener("dragstart",E),b=!0)):g.display="none"}function u(){v&&(v=!1, g.alpha=0,g.display="none"),b&&(stage.element.removeEventListener(CLICK,c),stage.element.removeEventListener("contextmenu",E),stage.element.removeEventListener("dragstart",E),b=!1)}function T(e){v=!1,g.alpha=0,g.display="none",e&&e.target&&e.target.style&&(e.target.style.cursor="default"),g.iconLeft.cursor="default",g.iconCenter.cursor="default",g.iconRight.cursor="default",g.svg.cursor="default",g.cursor="default","disabled"===LAYOUT_MODEL.navCursorType?g.display="none":b||(stage.element.addEventListener(CLICK,c),stage.element.addEventListener("contextmenu",E),stage.element.addEventListener("dragstart",E),b=!0)}function E(e){var t=void 0===SETTINGS_MODEL.disableRightClick||SETTINGS_MODEL.disableRightClick;t&&e.preventDefault()}var g=new Sprite({events:new EventSandbox});g.setClass("no-invert"),g.position="fixed";var m,p,L,f,v,S,O=t(),C="x",A=!1,b=!1;return g.enabled=!0,g.zIndex=999,g.alpha=0,g.display="none",g.addEventListener("cursorAxisUpdate",n),g.addEventListener("cursorThumbsUpdate",o),g.addEventListener("cursorBlendMode",i),g.destroy=function(){stage.removeEventListener(MOUSE_MOVE,d),g.removeEventListener("cursorAxisUpdate",n),g.removeEventListener("cursorThumbsUpdate",o),g.removeEventListener("cursorBlendMode",i),g.iconLeft.cursor="default",g.iconCenter.cursor="default",g.iconRight.cursor="default",g.svg.cursor="default",g.cursor="default",b&&(stage.element.removeEventListener(CLICK,c),stage.element.removeEventListener("contextmenu",E),stage.element.removeEventListener("dragstart",E),b=!1),g.text=""},l.call(g),g}function StaticNav(e){var t=new Sprite,i=t;t.element.className="staticnav",t.axis=e.axis||"x",t.zone=e.zone,t.zIndex=e.zIndex;var n=new Sprite,o=new Svg,a=new Svg({type:"g"}),r=new Path,l=new Sprite,s=new Svg,d=new Svg({type:"g"}),c=new Path;n.zIndex=e.zIndex,n.position="absolute",n.cursor="pointer",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.cursor="pointer",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=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.cursorIconBlendMode?LAYOUT_MODEL.cursorIconBlendMode:"normal";return n.element.style["mix-blend-mode"]=h,l.element.style["mix-blend-mode"]=h,t.nextClick=function(){"function"==typeof e.nextClick&&e.nextClick(i)},t.prevClick=function(){"function"==typeof e.prevClick&&e.prevClick(i)},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 Tooltip(e){function t(e){u.text=e.target.tooltip,u.alpha=1,c.width=u.element.offsetWidth+2*S,c.height=u.element.offsetHeight+2*S,d.width=c.width+2*v,d.height=c.height+2*v,y=b+d.height+.5*v,M=b+v}function i(e){C=e.pageX/window.innerWidth;var t=Math.round(d.width*C);t-h.point-Ld.width?(h.x=d.width-(v+h.width+L),d.x=e.pageX-d.width+v+h.point+L):(h.x=t-(v-h.width),d.x=e.pageX-t)}function n(e){e.pageYd||Mth.abs(stage.dragElements[t].deltaY)>d);h.dispatchEvent(DRAG_MOVE,e)}function n(e){stage.removeEventListener(MOUSE_MOVE,i),stage.removeEventListener(TOUCH_MOVE,i),stage.removeEventListener(MOUSE_UP,n),stage.removeEventListener(TOUCH_END,n),stage.removeEventListener(TOUCH_CANCEL,a),stage.removeEventListener(KEY_DOWN,o);for(var t=stage.dragElements.length;t--;)stage.dragElements[t].dragging=!1,stage.dragElements[t].alpha=1;h.dispatchEvent(DRAG_STOP,e)}function o(e){keyCode[e.keyCode]===ESCAPE&&a(e)}function a(e){stage.removeEventListener(MOUSE_MOVE,i),stage.removeEventListener(TOUCH_MOVE,i),stage.removeEventListener(MOUSE_UP,n),stage.removeEventListener(TOUCH_END,n),stage.removeEventListener(TOUCH_CANCEL,a),stage.removeEventListener(KEY_DOWN,o);for(var t=stage.dragElements.length;t--;)stage.dragElements[t].dragging=!1,stage.dragElements[t].alpha=1;h.dispatchEvent(DRAG_CANCEL,e)}var r=e.dragZone||!1,l=e.dragElements||!1,s=new EventSandbox,d=e.threshold||20,c=!1,h={listeners:s.listeners,dispatchEvent:s.dispatchEvent,addEventListener:s.addEventListener,removeEventListener:s.removeEventListener,set dragZone(i){if(r=i,!l)throw"you must define the dragElement before the dragZone";h.item=e.item,r.addEventListener(MOUSE_DOWN,t),r.addEventListener(TOUCH_START,t)},get dragZone(){return r},set dragElements(e){l=e},get dragElements(){return l},set threshold(e){d=e},get threshold(){return c}};if(!l)throw"you must define a dragElement";return r.addEventListener(MOUSE_DOWN,t),r.addEventListener(TOUCH_START,t),h}function LazyLoader(e,t,i){function n(){for(var t=0,n=i.targetChildren||e.children,o=n.length;t=o-1&&t<=o+1},default:function(e){return e.isInViewport}};this.update=function(e){setTimeout(function(){e&&(o=e),n()},0)}}function alert(e,t){function i(e){Tween(this,.2,{backgroundColor:theme.bgColorLighter,fontColor:theme.fontColorSelected})}function n(e){Tween(this,.2,{backgroundColor:theme.bgColor,fontColor:theme.fontColor})}t=t||{};var o=new Sprite;o.backgroundColor=t.backgroundColor||theme.bgColorLight,o.width=250,o.height=150,o.borderRadius=4,o.overflow="hidden",o.boxShadow=theme.shadowDark,o.addEventListener(CLICK,function(e){e.stopPropagation()});var a=new Sprite;a.x=25,a.y=20,a.fontColor=t.fontColor||theme.fontColor,a.fontFamily="Helvetica Neue, Arial, sans-serif",a.fontSize=15.5,a.selectable=!0,a.text=e,a.textAlign="center";var r=new Sprite({type:"button"});r.width=65,r.height=40,r.text="OK",r.outline="none",r.border="none",r.fontWeight="bold",r.fontSize=theme.fontSize,r.fontColor=theme.fontColor,r.fontFamily="Helvetica Neue, Arial, sans-serif",r.backgroundColor=theme.bgColor,o.addChild(r),o.addChild(a);var l=[];dx&&exists(dx,"site.siteView")&&(l=[exists(dx,"site.siteView")]),dx&&exists(dx,"admin.adminView")&&(l=[dx.site.siteView,dx.admin.adminView]);var s=new Overlay(o,{userOverride:t.userOverride||!0,backgroundColor:t.backgroundColor||"#000000",alpha:t.alpha||.5,blurLayers:t.blurLayers||l});s.open(),r.addEventListener(MOUSE_OVER,i),r.addEventListener(MOUSE_OUT,n),r.addEventListener(FOCUS,i),r.addEventListener(BLUR,n),r.addEventListener(CLICK,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 confirm(e,t){function i(e){Tween(this,.2,{backgroundColor:theme.bgColorLighter,fontColor:theme.fontColorSelected})}function n(e){a.call(this)}function o(e){stage.activeFocus&&(a.call(stage.activeFocus),stage.activeFocus.blur()),Tween(this,.2,{backgroundColor:theme.bgColorLighter,fontColor:theme.fontColorSelected})}function a(e){Tween(this,.2,{backgroundColor:theme.bgColor,fontColor:theme.fontColor})}t=t||{};var r,l=new Sprite;l.backgroundColor=t.backgroundColor||theme.bgColorLight,l.width=t.width||250,l.height=150,l.borderRadius=5,l.overflow="hidden",l.boxShadow=theme.shadowDark,l.addEventListener(CLICK,function(e){e.stopPropagation()});var s=new Sprite;s.x=25,s.y=23,s.fontColor=t.fontColor||theme.fontColor,s.fontFamily="Helvetica Neue, Arial, sans-serif",s.fontSize=15.5,s.selectable=!0,s.text=e,s.textAlign="center";var d=new Sprite({type:"button"});d.width=65,d.height=40,d.text=t.cancelLabel||"CANCEL",d.outline="none",d.border="none",d.fontWeight="bold",d.fontSize=theme.fontSize,d.fontColor=theme.fontColor,d.fontFamily="Helvetica Neue, Arial, sans-serif",d.backgroundColor=theme.bgColor,l.addChild(d);var c=new Sprite({type:"button"});c.width=65,c.height=40,c.text=t.okLabel||"OK",c.outline="none",c.border="none",c.fontWeight="bold",c.fontSize=theme.fontSize,c.fontColor=theme.fontColor,c.fontFamily="Helvetica Neue, Arial, sans-serif",c.backgroundColor=theme.bgColor,l.addChild(c),l.addChild(s);var h=[dx.site.siteView];dx&&exists(dx,"admin.adminView")&&(h=[dx.site.siteView,dx.admin.adminView]);var u=new Overlay(l,{userOverride:!0,backgroundColor:"#000000",alpha:.5,blurLayers:h,onClose:function(){t.onCancel&&!r&&t.onCancel()}});u.open(),d.addEventListener(MOUSE_OVER,o),d.addEventListener(MOUSE_OUT,a),c.addEventListener(MOUSE_OVER,o),c.addEventListener(MOUSE_OUT,a),d.addEventListener(FOCUS,i),d.addEventListener(BLUR,n),c.addEventListener(FOCUS,i),c.addEventListener(BLUR,n),d.addEventListener(CLICK,function(e){t.onCancel&&t.onCancel(),u.close()}),c.addEventListener(CLICK,function(e){r=!0,t.onConfirm&&t.onConfirm(),u.close()});var T=c.element.offsetHeight,E=s.element.offsetWidth;return l.width=E+50,s.width=l.width-50,l.height=s.element.offsetHeight+d.element.offsetHeight+T+50,d.width=l.width,d.y=l.height-d.height-T,c.width=l.width,c.y=l.height-T-0,u.overlayResize(),c.focus(),u}function lightboxDownloadOverlay(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 Button,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=LAYOUT_MODEL.menuFont,a.fontSize=16,a.fontColor=l,a.element.style.flexGrow=1,a.backgroundColor="transparent",a.addEventListener(CLICK,function(){alert("The lightbox link was copied to your clipboard."),copyToClipboard(window.location.href)}),a.addEventListener(MOUSE_OVER,function(){this.style.textDecoration="underline"}),a.addEventListener(MOUSE_OUT,function(){this.style.textDecoration="none"}),a.style.cursor="pointer",i.addChild(a),/pdf/.test(LAYOUT_MODEL.lightboxDownloadOptions)&&(n=new Button,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=LAYOUT_MODEL.menuFont,n.fontSize=16,n.fontColor=l,n.element.style.flexGrow=1,n.backgroundColor="transparent",n.addEventListener(CLICK,function(){alert("Please wait, it may take a few minutes while we build your PDF file."),i.events.dispatchEvent("lightboxDownloadPdf")}),n.addEventListener(MOUSE_OVER,function(){this.style.textDecoration="underline"}),n.addEventListener(MOUSE_OUT,function(){this.style.textDecoration="none"}),n.style.cursor="pointer",i.addChild(n)),/zip/.test(LAYOUT_MODEL.lightboxDownloadOptions)&&(o=new Button,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=LAYOUT_MODEL.menuFont,o.fontSize=16,o.fontColor=l,o.element.style.flexGrow=1,o.backgroundColor="transparent",o.addEventListener(CLICK,function(){alert("Please wait, it may take a few minutes while we build your ZIP file."),i.events.dispatchEvent("lightboxDownloadZip")}),o.addEventListener(MOUSE_OVER,function(){this.style.textDecoration="underline"}),o.addEventListener(MOUSE_OUT,function(){this.style.textDecoration="none"}),o.style.cursor="pointer",i.addChild(o));var e=dx&&exists(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];r=new Overlay(i,{userOverride:!0,backgroundColor:E,alpha:g,blurLayers:e,zIndex:99}),r.zIndex=99,i.open(),r.onClose=function(){T=!1},i.overlay=r,r.overlayResize(),T=!0}var i=new Sprite({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*stage.width>530?530:.9*stage.width,c=78,h=!(!LAYOUT_MODEL.inputOverlayFontColor||!LAYOUT_MODEL.inputOverlayBarColor),u=!(!LAYOUT_MODEL.menuOverlayFontColor||!LAYOUT_MODEL.menuOverlayBgColor);h?(l=LAYOUT_MODEL.inputOverlayFontColor,s=LAYOUT_MODEL.inputOverlayBarColor):u?(l=LAYOUT_MODEL.menuOverlayFontColor,s=LAYOUT_MODEL.menuOverlayBgColor):(l="#000000",s="#FFFFFF");var T,E=LAYOUT_MODEL.inputOverlayBgColor||LAYOUT_MODEL.menuOverlayBgColor||"#000000",g=LAYOUT_MODEL.inputOverlayBgAlpha||LAYOUT_MODEL.menuOverlayBgAlpha||.5;return i.updateSpeed=0,i.addEventListener(CHILD_ADDED,function(e){}),i.updatePosition=function(e){d=.9*stage.width>800?800:.9*stage.width,n.x=d-.5*(c-n.width),i.width=d,i.x=layoutCalcs.mediaView.x()+.5*(layoutCalcs.mediaView.width()-d),i.y=layoutCalcs.mediaView.y()+.5*(layoutCalcs.mediaView.height()-c),i.updateSpeed=UPDATE_SPEED},i.close=function(){T=!1,r.close()},i.open=function(t){t&&(e.section=t),r.open(),setTimeout(function(){},100),T=!0},t(),i}function passwordInput(e){function t(){u.width=T,u.height=E,l=new Sprite,l.backgroundColor=h,l.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",l.borderRadius=2,l.width=T,l.height=E,r=new Input,r.backgroundColor="transparent",r.fontFamily=LAYOUT_MODEL.menuFont,r.fontColor=c,r.fontSize=16,r.height=E,r.x=0,r.y=0,r.element.style.padding="0px 46px",r.addEventListener(FOCUS,a),r.addEventListener(BLUR,o),r.element.addEventListener(CLICK,function(e){e.stopPropagation()}),r.element.tabIndex=1,u.setMessage("PASSWORD"),s=new Svg;var e=new Path;e.d=svgPaths.arrowRight,e.strokeWidth=3,e.fill="none",e.stroke=c,s.addChild(e),s.width=11,s.height=15,s.x=T-.5*(E-s.width),s.y=.5*(E-s.height),s.alpha=.5,s.cursor="pointer",s.addEventListener(MOUSE_OVER,function(){Tween(this,UPDATE_SPEED,{alpha:1})}),s.addEventListener(MOUSE_OUT,function(){Tween(this,UPDATE_SPEED,{alpha:.5})}),r.width=T-E-96,u.addChild(l),u.addChild(r),u.addChild(s);var t=dx&&exists(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];d=new Overlay(u,{userOverride:!0,backgroundColor:L,alpha:f,blurLayers:t,zIndex:99}),d.zIndex=99,u.open(),d.onClose=function(){p=!1,r.removeEventListener(KEY_UP,i),s.removeEventListener(CLICK,n)},u.overlay=d,d.overlayResize(),p=!0}function i(e){p&&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){stage.isInputFocus=!1,""===r.value&&u.setMessage("PASSWORD")}function a(e){stage.isInputFocus=!0,r.value=""}var r,l,s,d,c,h,u=new Sprite({events:e.events}),T=.9*stage.width>800?800:.9*stage.width,E=78,g=!(!LAYOUT_MODEL.inputOverlayFontColor||!LAYOUT_MODEL.inputOverlayBarColor),m=!(!LAYOUT_MODEL.menuOverlayFontColor||!LAYOUT_MODEL.menuOverlayBgColor);g?(c=LAYOUT_MODEL.inputOverlayFontColor,h=LAYOUT_MODEL.inputOverlayBarColor):m?(c=LAYOUT_MODEL.menuOverlayFontColor,h=LAYOUT_MODEL.menuOverlayBgColor):(c="#000000",h="#FFFFFF");var p,L=LAYOUT_MODEL.inputOverlayBgColor||LAYOUT_MODEL.menuOverlayBgColor||"#000000",f=LAYOUT_MODEL.inputOverlayBgAlpha||LAYOUT_MODEL.menuOverlayBgAlpha||.5;return u.updateSpeed=0,u.addEventListener(CHILD_ADDED,function(e){}),u.updatePosition=function(e){T=.9*stage.width>800?800:.9*stage.width,s.x=T-.5*(E-s.width),r.width=T-E-96,l.width=T,u.width=T,u.x=layoutCalcs.mediaView.x()+.5*(layoutCalcs.mediaView.width()-T),u.y=layoutCalcs.mediaView.y()+.5*(layoutCalcs.mediaView.height()-E),u.updateSpeed=UPDATE_SPEED},u.close=function(){p=!1,r.removeEventListener(KEY_UP,i),s.removeEventListener(CLICK,n),d.close()},u.setMessage=function(e){r.value=e},u.open=function(t){t&&(e.section=t),d.open(),setTimeout(function(){r.addEventListener(KEY_UP,i),s.addEventListener(CLICK,n)},100),p=!0},t(),u}function searchInput(e){function t(){L.width=f,L.height=v,h=new Sprite,h.backgroundColor=p,h.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",h.borderRadius=2,h.width=f,h.height=v,c=new Input,c.backgroundColor="transparent",c.fontFamily=LAYOUT_MODEL.menuFont,c.fontColor=m,c.fontSize=16,c.height=v,c.x=0,c.y=0,c.element.style.padding="0px 46px",c.addEventListener(FOCUS,d),c.addEventListener(BLUR,s),c.element.addEventListener(CLICK,function(e){e.stopPropagation()}),c.element.tabIndex=1,L.setMessage("Search"),u=new Svg,A=new Path,A.d=svgPaths.search,A.fill=m,A.fillRule="evenodd",u.addChild(A),u.width=25,u.height=25,u.x=f-u.width-24,u.y=.5*(v-u.height),u.alpha=.5,u.cursor="pointer",u.addEventListener(MOUSE_OVER,function(){Tween(this,UPDATE_SPEED,{alpha:1})}),u.addEventListener(MOUSE_OUT,function(){Tween(this,UPDATE_SPEED,{alpha:.5})}),c.width=f-v-92,E=new Sprite,E.display="flex",E.width=f-20,E.x=20,E.y=v,E.zIndex=-1,g=new Svg,g.element.style["user-select"]="none",g.alpha=0,g.x=4,g.width=14,g.height=14,g.transition=.25,g.cursor="pointer",g.addEventListener("click",function(){a(c.value),c.value=""}),g.alpha=0,b=new Path,b.d=svgPaths.plusSmall,b.strokeWidth=2,b.fill="none",b.stroke=m,g.addChild(b),L.addChild(g),L.addChild(h),L.addChild(c),L.addChild(u),L.addChild(E);var e=dx&&exists(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];T=new Overlay(L,{userOverride:!0,backgroundColor:M,alpha:w,blurLayers:e,zIndex:99}),T.onClose=function(){y=!1,c.removeEventListener(KEY_UP,r),u.removeEventListener(CLICK,l)},L.open(),L.overlay=T,T.overlayResize(),y=!0}function i(e){E.text="",e=e.filter(function(e,t,i){return i.indexOf(e)===t}).map(n),e.forEach(function(e){E.addChild(e)})}function n(e){var t=new Sprite;t.position="relative",t.backgroundColor=toRgba(p,.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 Button;n.position="relative",n.background="transparent",n.fontSize=12,n.fontFamily=LAYOUT_MODEL.menuFont,n.color=m,n.text="×",n.alpha=.2,n.top=0,n.cursor="pointer",n.addEventListener(MOUSE_OVER,function(){Tween(this,UPDATE_SPEED,{alpha:1})}),n.addEventListener(MOUSE_OUT,function(){Tween(this,UPDATE_SPEED,{alpha:.2})});var o=new Sprite;return o.position="relative",o.color=m,o.fontSize=12,o.fontFamily=LAYOUT_MODEL.menuFont,o.paddingRight=7,o.text=e,n.addEventListener("click",function(){S=S.filter(function(t){return e!==t}),i(S)}),t.addChild(o),t.addChild(n),t}function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e){""===c.value||c.isPlaceholder||(S=S.concat(c.value.split(",").map(o)),i(S)),g.y=v+4+.5*((E.element.offsetHeight||25)-14)}function r(e){y&&(13===e.keyCode?""===c.value||c.isPlaceholder?S.length&&l():(a(c.value),c.value="",l()):(g.y=v+4+.5*((E.element.offsetHeight||25)-14),g.alpha=""===c.value||c.isPlaceholder?0:1,c.isPlaceholder=!1))}function l(t){c.value&&!c.isPlaceholder&&(S=S.concat(c.value.split(",").map(o))),S.length&&L.events.dispatchEvent("SEARCH_SUBMIT",Object.assign({},e.navEvent,{searchTerm:S.join(","),searchSubmit:!0}))}function s(e){stage.isInputFocus=!1,""===c.value&&L.setMessage("Search")}function d(e){stage.isInputFocus=!0,c.isPlaceholder&&(c.value="")}var c,h,u,T,E,a,g,m,p,L=new Sprite({events:e.events}),f=.9*stage.width>800?800:.9*stage.width,v=78,S=e.tags||[],O=!(!LAYOUT_MODEL.inputOverlayFontColor||!LAYOUT_MODEL.inputOverlayBarColor),C=!(!LAYOUT_MODEL.menuOverlayFontColor||!LAYOUT_MODEL.menuOverlayBgColor);O?(m=LAYOUT_MODEL.inputOverlayFontColor,p=LAYOUT_MODEL.inputOverlayBarColor):C?(m=LAYOUT_MODEL.menuOverlayFontColor,p=LAYOUT_MODEL.menuOverlayBgColor):(m="#000000",p="#FFFFFF");var A,b,y,M=LAYOUT_MODEL.inputOverlayBgColor||LAYOUT_MODEL.menuOverlayBgColor||"#000000",w=LAYOUT_MODEL.inputOverlayBgAlpha||LAYOUT_MODEL.menuOverlayBgAlpha||.5;return L.updateSpeed=0,L.addEventListener(CHILD_ADDED,function(e){}),L.updatePosition=function(e){f=.9*stage.width>800?800:.9*stage.width,u.x=f-u.width-24,c.width=f-v-92,h.width=f,E.width=f,g.y=v+4+.5*((E.element.offsetHeight||25)-14),L.width=f,L.x=layoutCalcs.mediaView.x()+.5*(layoutCalcs.mediaView.width()-f),L.y=layoutCalcs.mediaView.y()+.5*(layoutCalcs.mediaView.height()-v),L.updateSpeed=UPDATE_SPEED},L.setMessage=function(e){c.value=e,c.isPlaceholder=!0},L.setTags=function(e){S=e},L.setSortBy=function(e){},L.close=function(){y=!1,c.removeEventListener(KEY_UP,r),u.removeEventListener(CLICK,l),T.close()},L.blur=function(){c.element.blur()},L.open=function(t){t&&(e.section=t),T.open(),i(S),setTimeout(function(){c.addEventListener(KEY_UP,r),u.addEventListener(CLICK,l)},100),y=!0},t(),L}function inputPopup(e){function t(){c.width=h,c.height=u,l=new Sprite,l.backgroundColor=e.backgroundColor||LAYOUT_MODEL.overlayColor,l.width=h,l.height=u,r=new Input,r.backgroundColor=e.backgroundColor2||LAYOUT_MODEL.contactFieldRectColor,r.fontFamily=e.fontFamily||LAYOUT_MODEL.contactFont,r.fontColor=e.fontColor||LAYOUT_MODEL.contactFontColor,r.fontSize=e.fontSize||12,r.width=170,r.height=23,r.x=10,r.y=.5*(u-r.height),r.paddingLeft=3,r.addEventListener(FOCUS,a),r.addEventListener(BLUR,o),r.element.addEventListener(CLICK,function(e){e.stopPropagation()}),r.element.tabIndex=1,r.element.setAttribute("class","dx_placeholder_input"),c.setMessage(e.placeholder||""),s=new Button,s.text="SUBMIT",s.x=r.x+r.width+10,s.y=r.y,s.height=23,s.width=70,s.fontSize=12,s.fontFamily=LAYOUT_MODEL.contactFont,s.fontColor=e.fontColor||LAYOUT_MODEL.contactFontColor,s.backgroundColor=e.backgroundColor2||LAYOUT_MODEL.contactFieldRectColor,c.addChild(l),c.addChild(r),c.addChild(s);var t=dx&&exists(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];d=new Overlay(c,{userOverride:!0,backgroundColor:"#000000",alpha:.5,blurLayers:t}),c.open(),d.overlayResize()}function i(e){13===e.keyCode&&n(e)}function n(t){"function"==typeof e.onSubmit&&e.onSubmit(r.value)}function o(e){}function a(e){}var r,l,s,d,c=new Sprite({events:e.events}),h=272,u=47;return c.updateSpeed=0,c.addEventListener(CHILD_ADDED,function(e){}),c.updatePosition=function(e){Tween(c,c.updateSpeed,{x:layoutCalcs.mediaView.x()+.5*(layoutCalcs.mediaView.width()-h),y:layoutCalcs.mediaView.y()+.5*(layoutCalcs.mediaView.height()-u)}),c.updateSpeed=UPDATE_SPEED},c.close=function(){stage.removeEventListener(KEY_UP,i),s.removeEventListener(CLICK,n),d.close()},c.setMessage=function(e){r.element.setAttribute("placeholder",e)},c.open=function(){d.open(),setTimeout(function(){stage.addEventListener(KEY_UP,i),s.addEventListener(CLICK,n)},100)},t(),c}function Resize(e,t,i){var n=new ScaleEngine({type:i.type,hRange:i.hRange,vRange:i.vRange,width:i.width||e.width,height:i.height||e.height,disableOrientationCheck:i.disableOrientationCheck}),o=new AlignEngine({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&&Tween(e,t,a),{scale:n,align:o}}function RetinaResizeEngine(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 Scale(e,t,i){var n=ScaleEngine({type:i.type,hRange:i.hRange,vRange:i.vRange,width:i.width||e.width,height:i.height||e.height,disableOrientationCheck:i.disableOrientationCheck||!1}),o={width:Mth.round(n.width),height:Mth.round(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&&(o.onComplete=i.onComplete),Tween(e,t,o),n}function ScaleEngine(e){function t(){return E=d/c,"fit"===l||"native"===l?ET}function i(){T=h/u,n(),"fitWidth"===e.type||t()?(h=d,u=d/T):c?(h=c*T,u=c):(h=d,u=d/T),"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,T=-1,E=-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 Scroll(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){e<0?0:e,e=e>1?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 T=!1,E="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,T||(T=!0,c||u.dispatchEvent("scrollStart"));var g=u.mask.element[E],m=(u.margin||u.marginTop)+e.element[E]+(u.margin||u.marginBottom);if(m&&g){d=m-g,u.captionScroll?n(m,g):o(m,g),s=-(d*l)+(u.margin||u.marginTop);var p={};e.transition=0,"translate"===u.property?p["translate"+i.axis.toUpperCase()]=Mth.round(s):p[i.axis]=Mth.round(s),p.ease="cubic-bezier(0.5, 0.5, 0.5, 0.8)",u.hvr&&(p.onUpdate=function(){u.dispatchEvent(SCROLL)}),Tween(e,t,p),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()),T=!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(),Scrolls.register(u),u}function ScrollBar(e){function t(t){var i="when scrolling"===e.visibility?.5:1;!e.active&&/hidden/.test(e.visibility)&&(i=0),Tween(g,.35,{alpha:i,backgroundColor:e.hover})}function i(t){!e.ing&&/when scrolling|hidden/.test(e.visibility)&&Tween(g,.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),Tween(g,.35,{alpha:i,backgroundColor:e.hover}),u=r(t)-E[e.axis]-g[e.axis],stage.addEventListener(MOUSE_UP,a,!1),stage.addEventListener(MOUSE_MOVE,o,!1),stage.addEventListener(TOUCH_END,a,!1),stage.addEventListener(TOUCH_MOVE,o,!1)}function o(t){e.ing===!1&&(e.ing=!0,t.preventDefault()),window.getSelection().removeAllRanges(),h=r(t)-u-E[e.axis],e.percent=(h-E[e.axis])/(E[e.dim]-g[e.dim]),e.update(0),e.dispatchEvent(SCROLL)}function a(t){setTimeout(function(){e.ing=!1},10),Tween(g,.35,{backgroundColor:e.color}),stage.removeEventListener(MOUSE_MOVE,o),stage.removeEventListener(MOUSE_UP,a),stage.removeEventListener(TOUCH_END,a,!1),stage.removeEventListener(TOUCH_MOVE,o,!1)}function r(t){return"x"===e.axis?getX(t):getY(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,T=!0,E=this.back=new Sprite;E.alpha=0,E.selectable=!0,E.backgroundColor=e.color,e.zIndex&&(E.zIndex=e.zIndex),e.parent.addChild(E);var g=this.handle=new Sprite;g.alpha=0,g.backgroundColor=e.color,e.zIndex&&(g.zIndex=e.zIndex),g.selectable=!1,g.cursor="default",g.borderRadius=e.rounded?Math.ceil(e.width/2):0,g.style.pointerEvents="auto",e.parent.addChild(g),g.addEventListener(MOUSE_OVER,t),g.addEventListener(MOUSE_OUT,i),g.addEventListener(MOUSE_DOWN,n),g.addEventListener(TOUCH_START,n),this.moveHandle=function(t){g.transition=t||0,g[e.axis]=(E[e.dim]-g[e.dim])*e.percent+E[e.axis],"hidden"===e.visibility?g.alpha=0:"when scrolling"===e.visibility?g.alpha=.5:g.alpha=1},this.resize=function(){E.transition=UPDATE_SPEED,g.transition=UPDATE_SPEED,E[e.perpDim]=e.width,E[e.dim]=c[e.dim],e.parent===c?E[e.axis]=l():E[e.axis]=c[e.axis]+l(),g[e.perpDim]=e.width,"left"===e.side||"top"===e.side?(E[e.perpAxis]=c[e.perpAxis]-e.width+s(),g[e.perpAxis]=c[e.perpAxis]-e.width+s()):(E[e.perpAxis]=c[e.perpAxis]+c[e.perpDim]+s(),g[e.perpAxis]=c[e.perpAxis]+c[e.perpDim]+s()),this.moveHandle(0),setTimeout(this.checkVisible,0)},this.checkVisible=function(){E.style.transition="opacity 750ms",g.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=E[e.dim]?(E.transition=0,E.alpha=0,E.display="none",g.transition=0,g.alpha=0,g.display="none",g[e.dim]=E[e.dim],e.scrollTo(0,0)):(Tween(E,.35,{alpha:0,onComplete:function(){this.dislplay="none"}}),Tween(g,.35,{alpha:0,onComplete:function(){setTimeout(function(){g.dislplay="none"},200),e.scrollTo(0,0)}}))},this.destroy=function(){e.parent.removeChild(g),e.parent.removeChild(E),g.removeEventListener(MOUSE_OVER,t),g.removeEventListener(MOUSE_OUT,i),g.removeEventListener(MOUSE_DOWN,n),g.removeEventListener(TOUCH_START,n)},this.setAlpha=function(e){g.alpha=E.alpha=e},this.getBack=function(){return E},this.scrollTo=function(e){},this.hide=function(){T=!1},this.show=function(){T=!0},this.disable=function(){g.removeEventListener(MOUSE_OVER,t),g.removeEventListener(MOUSE_OUT,i),g.removeEventListener(MOUSE_DOWN,n),g.removeEventListener(TOUCH_START,n)},this.enable=function(){g.addEventListener(MOUSE_OVER,t),g.addEventListener(MOUSE_OUT,i),g.addEventListener(MOUSE_DOWN,n),g.addEventListener(TOUCH_START,n)}}function ScrollTouch(e){function t(t){e.active&&!e.ing&&e.dispatchEvent("WINDOW_SCROLL_TOP")}function i(t){Scrolls.setActive(e),r=o(t),l=e.percent||0,e.mask.addEventListener(TOUCH_END,a),e.mask.addEventListener(TOUCH_MOVE,n)}function n(t){e.ing===!1&&(e.ing=!0,isAppleMobile()&&!STATE.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(SCROLL)}function o(t){return"x"===e.axis?TOUCH_DEVICE?event.touches[0].pageX:event.clientX:TOUCH_DEVICE?event.touches[0].pageY:event.clientY}function a(t){e.ing=!1,e.mask.removeEventListener(TOUCH_END,a),e.mask.removeEventListener(TOUCH_MOVE,n)}var r=0,l=0,s=0;e.mask.addEventListener(TOUCH_START,i),isAppleMobile()&&e.scrollTopCheck&&window.addEventListener("scroll",t),this.destroy=function(){r&&(e.ing=!1,e.mask.removeEventListener(TOUCH_END,a),e.mask.removeEventListener(TOUCH_MOVE,n))}}function ScrollWheel(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,Scrolls.focusTarget=l,stage.addEventListener(WHEEL,o,!1),stage.addEventListener(MOUSE_WHEEL,o,!1))}function n(){s=!1,stage.removeEventListener(WHEEL,o,!1),stage.removeEventListener(MOUSE_WHEEL,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(SCROLL)}var r=e.mask,l=this,s=!1;e.active=!1,r.addEventListener(MOUSE_OVER,i),r.addEventListener(MOUSE_OUT,n),this.destroy=function(){r.removeEventListener(MOUSE_OVER,i),s&&n()}}function ScrollHover(e){function t(){e.mask.addEventListener(MOUSE_MOVE,o),stage.addEventListener(MOUSE_MOVE,i)}function i(t){e.mask.hitTestPoint(getX(t),getY(t))?c=!0:c&&(c=!1,n())}function n(){clearTimeout(r),e.mask.removeEventListener(MOUSE_MOVE,o),stage.removeEventListener(MOUSE_MOVE,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(SCROLL),!c){var u,T={};u="x"===e.axis?e.obj.element.offsetLeft:e.obj.element.offsetTop,T[e.axis]=Mth.round(u),Tween(e.obj,1,T)}},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(MOUSE_OVER,t),l}function Sort(e){function t(e){var t,o={x:getX(e),y:getY(e)},a=E.group.length;for(t=0;t-1){var n=e.splice(i,1)[0];t.push(n)}return t}function a(e){E.stopIndex=e;for(var t=e,i=E.dragGroup.length;i--;)E.group.splice(t,0,E.dragGroup[i]),t++}function r(e){c=this.dragElements,E.startIndex=this.dragElements[0].startIndex,E.dispatchEvent(REORDER_START,e),d()}function l(e){var i=this;E.isDragging=!0,T||(h&&clearTimeout(h),h=setTimeout(function(){t.apply(i.dragElements,[e])},80))}function s(e){E.isDragging&&E.sorted&&(E.direction=E.startIndexp.perpLength,!p.wrap||p.isWrap?(m+=1,g=0):p.wrap&&!p.horizontalMasonry&&(g+=1)}else!p.wrap||f[g]&&L[t]&&f[g].size+L[t].height>p.perpLength?(g+=1,m=0):p.wrap&&(m+=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 L[e].isDoubleSize}).length}function s(e){var t=L[e.ids[0]],i=t.isDoubleSize?Math.round(.5*(t.height-p.vGap)):t.height,n=1===e.ids.length&&t.isDoubleSize,o=n?p.vGap:0;return l(e)?2*i+o:i}function d(e){if(S.length)for(var t=0,i=S.length;t<=n.size)return L[e].x=n.x,L[e].y=n.y,n.size-=o,n.x+=o,"top"===n.gapType&&(v[n.rowId].size+=o,v[n.rowId].ids.push(e)),"right"===n.gapType&&(v[n.rowId].gapRowSize+=o,v[n.rowId].gapRowIds.push(e)),"left"===n.gapType&&v[n.rowId].gapRowIds.push(e),{index:e,rowId:n.rowId}}else if(L[e].height+p.vGap<=n.size)return L[e].x=n.x,L[e].y=n.y,L[e].width=n.isLastColumn?p.lastColumnWidth:L[e].width,n.size=n.size-(L[e].height+p.vGap),n.y=n.y+L[e].height+p.vGap,{index:e,rowId:n.rowId}}return!1}function c(){var e=v[v.length-1],t=l(e);if(e&&e.ids.length){var i=s(e);return t?i+p.vGap:i}return 0}function h(e,t){return e+t}function u(e,t){return e.test(t)}function T(e,t){return e===t-1}function E(e,t,i,n,o){var a=i[t],r=a.size-p.hGap,d=a.gapRowSize-p.hGap;a.scaledSize=0,a.scaledGapRowSize=0,t===i.length-1&&rb+v?(c="top",g=S,m=L):S+L1&&(h=p.perpLength-(G+F),G=p.perpLength-F),z.x=Math.round(G),z.y=Math.round(I),z.height=Math.round(B),z.width=Math.round(F),a.scaledSize=z.x+z.width,a.remainder=N}a.gapRowIds=a.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,W=a.gapRowIds.length;j2&&A<12){(!O||O<-2&&A<12){(!C||C>n)&&(C=n);var X;return X=O?(O+C)/2:h/2+n,A++,E(e,t,i,X,o)}return O=void 0,C=void 0,A=0,a}e=e||{};var g,m,p=this,L=[],f=[],v=[],S=[];p.axis=e.axis||"y",p.perpLength=e.perpLength||300,p.align=e.align||"left",p.wrap=e.wrap||!0,p.hGap=firstValid(e.hGap,e.gap,0),p.vGap=firstValid(e.vGap,e.gap,0),p.width=0,p.height=0,p.horizontalMasonry=e.horizontalMasonry,p.masonryFill=e.masonryFill,p.isWrap=!1,p.items=L,p.maintainOrder=e.maintainOrder,p.lastRowGap=e.lastRowGap||!1,Object.defineProperty(p,"gap",{get:function(){return this.hGap},set:function(e){this.hGap=e,this.vGap=e}}),p.layoutItems=function(){g=-1,m=-1,f=Array.apply(null,Array(p.numberOfColumns||1)).map(function(){return{size:0,ids:[]}}),v=[{size:0,gapRowSize:0,ids:[],gapRowIds:[],doubleSizeIds:[]}],S=[];var i,u,T=0,O=L.length;for(T;T<0?0:m,g=g<0?0:g,f[g]||p.numberOfColumns||(f[g]={size:0,ids:[]}),v[m]||(v[m]={size:0,gapRowSize:0,ids:[],gapRowIds:[],doubleSizeIds:[]}),i="y"!==p.axis||p.maintainOrder?g:o(g,f),u="y"===p.axis?m:o(m,v);var C=!1,A=L[T].isDoubleSize?Math.round(.5*(L[T].width-p.hGap)):L[T].width;A=p.gridWidths||A;var b=i*(A+p.hGap),y=L[T].isDoubleSize?Math.round(.5*(L[T].height-p.vGap)):L[T].height;(p.horizontalMasonry||"x"===p.axis||"y"===p.axis&&p.maintainOrder)&&(b=v[u].size);var M=f[i].size;v[u].size+=L[T].width+p.hGap,L[T].isDoubleSize&&(v[u].doubleSizeIds.push(T),v[u].gapRowIds.push(T)),v[u].ids.push(T);v[u];if(p.horizontalMasonry&&p.isWrap){f[i].ids.push(T);var w=u-1,_=Math.max(0,p.perpLength-v[w].gapRowSize),D=s(v[w]),U=l(v[w]);if(U){var x=Math.round(.5*D);p.maintainOrder||S.push({rowId:w,gapType:"right",x:v[w].gapRowSize,y:f[0].size+x+p.vGap,size:_})}p.maintainOrder||S.push({rowId:w,gapType:"top",x:v[w].size,y:M,size:Math.max(0,p.perpLength-v[w].size)}),L[T].isDoubleSize&&(v[u].gapRowSize+=L[T].width+p.hGap),U?f[i].size+=D+p.vGap+p.vGap:f[i].size+=D+p.vGap,M=f[i].size;var V=L.slice(T).map(function(e){return e.width+p.hGap}).reduce(h,0);if(p.isLastRow=L[T].width+V-p.hGap1&&L[T].isDoubleSize){if(r(i,p.numberOfColumns)){var P=L[T],Y=f[i].size,R=f[i-1].size,N=(i-1)*(A+p.hGap);if(b=t("x",N,A),R<=Y){var z=Y-R;S.push({x:t("x",N,A),y:R,size:z,isLastColumn:!0}),f[i].size+=P.height+p.vGap,f[i-1].size+=P.height+z+p.vGap}else{var z=R-Y,k=i*(A+p.hGap);S.push({x:t("x",k,A),y:f[i].size,size:z,isLastColumn:!0}),M=R,f[i-1].size+=P.height+p.vGap,f[i].size+=P.height+z+p.vGap}f[i].ids.push(T)}else{var B=0;f[i+1]&&f[i+1].size>f[i].size&&(B=f[i+1].size-f[i].size,S.push({x:t("x",b,A),y:f[i].size,size:B}),M=f[i+1].size),f[i].size+=L[T].height+p.vGap+B,f[i+1]||(f[i+1]={size:0,ids:[]}),f[i+1].size+=L[T].height+p.vGap}f[i].ids.push(T)}else f[i].ids.push(T),f[i].size+=L[T].height+p.vGap;C===!1&&(L[T].x=t("x",b,A),L[T].y=t("y",M,y))}p.isWrap=!1}if(p.horizontalMasonry){var H;if(0===v[u].ids.length&&(H=v.pop()),p.masonryFill&&v.length>1){f[0].size=0;for(var F,G=p.perpLength,j=.5*G,T=0,O=v.length;T-i||n<-i}function r(){E&&!g?(n(),d=requestAnimationFrame(r)):E||(md.width?(h.x=d.width-(v+h.width+L),d.x=e.pageX-d.width+v+h.point+L):(h.x=t-(v-h.width),d.x=e.pageX-t)}function n(e){e.pageY<=1&&(c.startdrag=!0,u=t.touches[0].pageX,T=t.touches[0].pageY,E=t.touches[0].pageX-S.translateX,g=t.touches[0].pageY-S.translateY,startDeltaX=0,startDeltaY=0,s=(new Date).getTime(),e.events.dispatchEvent(TOUCH_NAVIGATION_START))}function i(t){if(c.startdrag){var i=t.touches[0].pageX,a=t.touches[0].pageY;p++,p<20?l=o(i,a):2===m?(l=o(i,a),m=0):m++,!n(l)||v&&c.swipeDirection===l||(v=!0),c.swipeDirection=l;var r="left"===c.swipeDirection?"next":"prev";"left"===l?(t.preventDefault(),t.stopPropagation(),n(l)&&(S.transition=0,S.translateX=i-E,e.events.dispatchEvent(TOUCH_NAVIGATION_MOVE,r))):c.disabled||"right"!==l||(t.preventDefault(),t.stopPropagation(),n(l)&&(S.transition=0,S.translateX=i-E,e.events.dispatchEvent(TOUCH_NAVIGATION_MOVE,r)))}}function n(e){return"left"===e||"right"===e}function o(e,t){var i=e-u,n=t-T;return L=e,f=t,h=i,Mth.abs(i)>=Mth.abs(n)?i>0?"right":"left":Mth.abs(i)0?"down":"up")}function a(t){d=(new Date).getTime();var i=r(s,d,t.pageX-u);e.events.dispatchEvent(TOUCH_NAVIGATION_END,{flickSpeed:i,isMove:v,swipeDirection:c.swipeDirection}),c.startdrag=!1,c.swipeDirection=!1,v=!1,sectionEnd=!1,p=0}function r(e,t,i){var n=1,o=.7,a=(t-e)/Math.abs(i);return a>n&&(a=n),a<=1&&(c.startdrag=!0,E=t.touches[0].pageX,g=t.touches[0].pageY,s=(new Date).getTime(),e.events.dispatchEvent(TOUCH_NAVIGATION_START))}function i(t){if(c.startdrag&&stage.zoom<=1){if(u=t.touches[0].pageX,T=t.touches[0].pageY,p++,p<20?l=o():2===m?(l=o(),m=0):m++,!c.disabled&&n(l)){v&&c.swipeDirection===l||(v=!0),t.preventDefault(),t.stopPropagation();var i=S.children,a=i[c.assetId-1],r=i[c.assetId],s=i[c.assetId+1];if(a&&(a.transition=0,a.display="block",a.alpha=1,a.translateX=u-E-STATE.mediaView.width()),r){r.transition=0,r.display="block",r.alpha=1,r.translateX=u-E;var d="left"===l?"next":"prev";e.events.dispatchEvent(TOUCH_NAVIGATION_MOVE,d)}s&&(s.transition=0,s.display="block",s.alpha=1,s.translateX=u-E+STATE.mediaView.width())}c.swipeDirection=l}}function n(e){return"left"===e||"right"===e}function o(){var e=u-E,t=T-g;return L=u,f=T,h=e,Mth.abs(e)>=Mth.abs(t)?e>0?"right":"left":Mth.abs(e)0?"down":"up")}function a(t){if(c.startdrag&&stage.zoom<=1){d=(new Date).getTime();var i=r(s,d,u-E);e.events.dispatchEvent(TOUCH_NAVIGATION_END,{flickSpeed:i,isMove:v,swipeDirection:c.swipeDirection}),c.startdrag=!1,c.swipeDirection=!1,v=!1,sectionEnd=!1,p=0,u=0,T=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*m)}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(Popup.plusDiv)Popup.plusDiv.alpha=0,Popup.plusDiv.display="block",u(Popup.plusDiv,0),Popup.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),stage.addChild(e),Popup.plusDiv=e,Popup.plusClose=i}Popup.plusClose.addEventListener(CLICK,T)}function s(){if(Popup.likeDiv)Popup.likeDiv.alpha=0,Popup.likeDiv.display="block",u(Popup.likeDiv,0),Popup.likeDiv.alpha=1;else{var e=c("like",430,40);e.overflow="visible",e.text="
";var t=h();t.x=e.width-2,t.y=2,e.addChild(t),stage.addChild(e),Popup.likeDiv=e,Popup.likeClose=t}Popup.likeClose.addEventListener(CLICK,T)}function d(){g.backgroundColor=toRgba("#000000",.65),g.width=stage.width,g.alpha=0,g.addEventListener(CLICK,T),E.addChild(g),g.height=stage.height,stage.addChild(E),Tween(g,m,{alpha:1})}function c(e,t,i){var n=new Sprite;return n.element.setAttribute("id",e),n.backgroundColor=toRgba("#FFFFFF",.85),n.x=.5*(stage.width-t),n.y=.5*(stage.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 Svg;e.width=14,e.height=14,e.rotate=0;var t=new Path;return t.id="icon",t.d=svgPaths.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*(stage.width-e.width),n=.5*(stage.height-e.height);Tween(e,t,{x:i,y:n})}}function T(e){e.target.removeEventListener(CLICK,T),Tween(g,m,{alpha:0,onComplete:function(){stage.removeChild(E)}}),Popup.plusDiv&&(Popup.plusDiv.display="none"),Popup.likeDiv&&(Popup.likeDiv.display="none")}var E=new ViewProxy({events:e.events}),g=new Sprite,m=.35;return E.overflow="hidden",E.events.addEventListener(RESIZE_END,function(e){E.resize()}),i(),E.resize=function(){Tween(g,m,{width:stage.width,height:stage.height}),u(Popup.plusDiv,m),u(Popup.likeDiv,m)},E}function Tween(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)}var d,c=i.delay||0;return setTimeout(n,1e3*c),{destroy:function(){delete i.onComplete}}}function Bitmap(e){e=e||{},e.type="img",e.className="Bitmap";var t=new Sprite(e);return t.element.style["user-select"]="none",t}function Button(e){e=e||{},e.type="button",e.className="Button";var t=new Sprite(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 ControllerProxy(e){var t=e||{};t.events=t.events||new EventSandbox;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 EventSandbox(){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 Sprite;o.width=24,o.height=24,o.alpha=i,o.overflow="hidden";var a=new Bitmap;a.width=24,a.height=288,"#FFFFFF"===n?a.src=ICONS+"loader1.png":a.src=ICONS+"loader2.png",o.addChild(a);var r=setInterval(t,80);return o.removeLoader=function(){clearInterval(r)},o}function Stage(){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:globalEvents.listeners,dispatchEvent:globalEvents.dispatchEvent,addEventListener:globalEvents.addEventListener,removeEventListener:globalEvents.removeEventListener,addChild:function(e){e.element.parentNode||document.body.appendChild(e.element),e.parent=this,this.children.push(e),e.dispatchEvent(CHILD_ADDED,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(LOAD,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=getFontData(e);return"system"!==n.service}function o(e){return e.reduce(function(e,t){if(!t)return e;var i=getFontData(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=[LAYOUT_MODEL.captionFont,LAYOUT_MODEL.contactFont,LAYOUT_MODEL.contactTitleFont,LAYOUT_MODEL.copyrightFont,LAYOUT_MODEL.logoFont,LAYOUT_MODEL.menuFont,LAYOUT_MODEL.navbarFont,LAYOUT_MODEL.pageTextFont,LAYOUT_MODEL.pageTitleFont,LAYOUT_MODEL.thumbnailTitleFont,LAYOUT_MODEL.thumbnailTitleBlockFont||""];LAYOUT_MODEL.menuIconFont&&a.push(LAYOUT_MODEL.menuIconFont),!isAdmin&&LAYOUT_MODEL.menuFontMobile&&a.push(LAYOUT_MODEL.menuFontMobile),!isAdmin&&LAYOUT_MODEL.menuFontTablet&&a.push(LAYOUT_MODEL.menuFontTablet),!isAdmin&&LAYOUT_MODEL.mobileLogoFont&&a.push(LAYOUT_MODEL.mobileLogoFont),!isAdmin&&LAYOUT_MODEL.tabletLogoFont&&a.push(LAYOUT_MODEL.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(SECTIONS_MODEL))).filter(i).filter(n),s=o(l);s.google&&(WebFontConfig.google=s.google),s.typekit&&SETTINGS_MODEL.typekitId&&(WebFontConfig.typekit={id:SETTINGS_MODEL.typekitId}),s.custom&&SETTINGS_MODEL.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};e.touches&&(t.touches=e.touches),e.type!==WHEEL&&e.type!==MOUSE_WHEEL||(t.type=MOUSE_WHEEL),e.type!==RESIZE&&e.type!==GESTURE_CHANGE&&e.type!==GESTURE_END&&e.type!==ORIENTATION_CHANGE||(n=window.visualViewport?window.visualViewport.scale:isPod()||isPad()?document.documentElement.clientWidth/window.innerWidth:document.documentElement.clientHeight/window.innerHeight,n=n<1?1:n),Scrolls&&e.clientX&&e.clientY&&Scrolls.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=USER_AGENT!==MOBILE&&isPod()&&window.innerHeight===document.documentElement.clientHeight&&window.innerWidth>window.innerHeight?window.innerHeight+81: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),MAC_SCROLLBARS=0===s;var d;USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(d=createDebounce(200)),window.addEventListener(ORIENTATION_CHANGE,function(t){setTimeout(function(){e(),r.event(t)},50)},!1),window.addEventListener(SCROLL,function(e){r.scrollY=window.scrollY,r.event(e)},!1),window.addEventListener(TOUCH_START,r.event,!1),window.addEventListener(TOUCH_MOVE,r.event,!1),window.addEventListener(TOUCH_END,r.event,!1),window.addEventListener(TOUCH_CANCEL,r.event,!1),window.addEventListener(MOUSE_OVER,r.event,!1),window.addEventListener(MOUSE_DOWN,r.event,!1),window.addEventListener(MOUSE_MOVE,r.event,!1),window.addEventListener(MOUSE_UP,r.event,!1),window.addEventListener(MOUSE_OUT,r.event,!1),window.addEventListener(CLICK,r.event,!1),window.addEventListener(RESIZE,r.event,!1),window.addEventListener(GESTURE_START,r.event,!1),window.addEventListener(GESTURE_CHANGE,r.event,!1),window.addEventListener(GESTURE_END,r.event,!1),window.addEventListener(KEY_UP,r.event,!1),window.addEventListener(KEY_DOWN,r.event,!1);var c;return window.addEventListener(RESIZE,function(e){clearTimeout(c),c=setTimeout(function(){isPod()?window.innerHeight>window.innerWidth:r.dispatchEvent(RESIZE_END,e)},50)},!1),window.addEventListener(ORIENTATION_CHANGE,function(e){r.dispatchEvent(ORIENTATION_CHANGE,e)},!1),window.addEventListener(WHEEL,r.event,{passive:!1}),window.addEventListener(MOUSE_WHEEL,r.event,{passive:!1}),r.documentReadyListener(),r}function addChild(e){stage.addChild(e)}function Path(){return new Svg({type:"path"})}function Rect(){return new Svg({type:"rect"})}function Circle(){return new Svg({type:"circle"})}function TextArea(e){var t;return e=e||{},e.type="textarea",e.className="TextArea",t=new Sprite(e),t.borderRadius=0,t.style["-webkit-appearance"]="none",t.element.addEventListener("focus",function(){"Safari"===BROWSER_NAME&&document.webkitCancelFullScreen(),stage.disableKeyNavigation=!0,stage.activeFocus=t,stage.isInputFocus=!0}),t.element.addEventListener("blur",function(){stage.disableKeyNavigation=!1,stage.isInputFocus=!1}),t}function TextField(e){e=e||{},e.type="span",e.className="TextField";var t=new Sprite(e);return t.selectable=!0,t.fontFamily="sans-serif",t.element.addEventListener("focus",function(){stage.disableKeyNavigation=!0,stage.activeFocus=t,stage.isInputFocus=!0}),t.element.addEventListener("blur",function(){stage.disableKeyNavigation=!1,stage.isInputFocus=!1}),t}function ViewProxy(e){var t=e||{};return t.events=t.events||new EventSandbox,new Sprite(t)}function VideoPlayer(e){function t(e){a.dispatchEvent(METADATA_LOADED,e),r&&a.play()}function i(e){a.dispatchEvent(ERROR,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 Sprite(e),r=!1;a.element.setAttribute("playsinline",!0),a.element.addEventListener(METADATA_LOADED,t,!1),a.element.addEventListener(ERROR,i,!1),a.width=e.width||640,a.height=e.height||480,a.parent=e.parent,a.hud=new VideoHud(a),a.hud.disable(),a.playerID="player"+VideoPlayer.getNextPlayerID();var l=e.alwaysMuted,s=!0,d=new Button;return d.x=20,d.y=20,d.zIndex=10,d.borderRadius=2,d.backgroundColor="white",d.text="TAP TO UNMUTE",d.display="none",d.element.style.padding="3px 6px",a.unmuteBtn=d,a.unmuteClick=function(){a.hud.unmute(),a.hud.enable(),d.display="none",d.removeEventListener("click",a.unmuteClick),l=!1},d.addEventListener("click",a.unmuteClick),a.unmuteBtn=d,a.parent.addChild(d),a.disableUnmuteButton=function(){s=!1,d.display="none"},a.play=function(){var e=a.element.play();void 0!==e&&e.then(function(){a.paused=!1,l?a.element.muted=!0:stage.userInteraction&&(d.display="none",a.hud?a.hud.unmute():a.element.muted=!1),a.dispatchEvent(PLAY)}).catch(function(){a&&(a.hud?a.hud.mute():a.element.muted=!0,s&&(d.display="block"),a.element.play(),a.paused=!1,a.dispatchEvent(PLAY))})},a.pause=function(){a.element.pause(),a.paused=!0,a.dispatchEvent(PAUSED)},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):Tween(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=cdnMediaPath(e),a.element.addEventListener("ended",o),t&&(r=!0)):fileExist(MEDIA_ORIGINAL+e.replace(getExt(e),"webm"))?(a.src=cdnMediaPath(e.replace(getExt(e),"webm")),a.element.addEventListener("ended",o),t&&(r=!0)):window.open(MEDIA_ORIGINAL+e)},a.destroy=function(){a&&(a.element.removeEventListener("ended",o),a.removeKeyListener(),a.element.removeEventListener(METADATA_LOADED,t,!1),a=null)},a.removeKeyListener=function(){},a}function VideoHud(e){function t(){O.height=50,O.width=e.width,O.alpha=0,O.zIndex=5,e.parent.addChild(O);var t;t=e.element.paused?svgPaths.pause:svgPaths.play,g=a(t,h),O.addChild(g),m=a(svgPaths.fullscreen,fullscreen(e.element)),O.addChild(m);var i=svgPaths.volume,n=u;USER_AGENT===TABLET&&(i="",n=function(){}),p=a(i,n),O.addChild(p),r(),O.interval=setInterval(d,100),e.element.addEventListener("ended",c)}function i(t){if(!isPod()&&!isPad()){clearTimeout(M);var i=getX(t),a=STATE.siteView.unifiedPageScroll()||/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)?t.pageY:getY(t);e.hitTestAbs(i,a)?(n(),M=setTimeout(function(){o()},3e3)):o()}}function n(){y||(y=!0,O.display="block",Tween(O,UPDATE_SPEED,{alpha:1}))}function o(){y&&(y=!1,Tween(O,UPDATE_SPEED,{alpha:0,onComplete:function(){O.display="none",y=!1}}))}function a(e,t){var i=new Sprite;i.width=C,i.height=A,i.backgroundColor=b;var n=new Svg;n.id="svg",n.width=12,n.height=12,n.left=Mth.round(.5*(i.width-n.width)),n.top=Mth.round(.5*(i.height-n.height)),i.addChild(n);var o=new Path;o.id="icon",o.d=e,o.fill="#FFFFFF",o.alpha=.65,n.addChild(o);var a=new Sprite;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(CLICK,t),a.addEventListener(MOUSE_OVER,function(){Tween(this.bg,UPDATE_SPEED,{backgroundColor:"rgba(0,0,0,0.85)"}),Tween(this.icon,UPDATE_SPEED,{alpha:1})}),a.addEventListener(MOUSE_OUT,function(){Tween(this.bg,UPDATE_SPEED,{backgroundColor:b}),Tween(this.icon,UPDATE_SPEED,{alpha:.65})}),i}function r(){L=new Sprite,L.zIndex=-1,L.backgroundColor=b,L.height=A,O.addChild(L),L.buffer=new Sprite,L.buffer.backgroundColor="#FFFFFF",L.buffer.alpha=.12,L.buffer.width=1,L.buffer.height=O.height,L.addChild(L.buffer),L.progress=new Sprite,L.progress.backgroundColor="#FFFFFF",L.progress.alpha=.25,L.progress.width=1,L.progress.height=O.height,L.addChild(L.progress),L.time=new Sprite,L.time.fontFamily="Arial, Helvetia, sans-serif",L.time.fontColor="#FFF",L.time.fontSize=10,L.time.text="00:00 / 00:00",L.time.alpha=1,L.addChild(L.time),L.time.x=10,L.time.y=20,L.head=new Sprite,L.head.backgroundColor="#FFFFFF",L.head.alpha=0,L.head.x=30,L.head.width=1,L.head.height=O.height,L.addChild(L.head),L.headTime=new Sprite,L.headTime.fontFamily="Arial, Helvetia, sans-serif",L.headTime.fontColor="#FFFFFF",L.headTime.fontSize=10,L.headTime.alpha=0,L.headTime.text="00:00",L.headTime.x=30,L.headTime.y=-15,L.addChild(L.headTime),L.hit=new Sprite,L.hit.height=O.height,L.addChild(L.hit),isPod()||isPad()||(L.hit.addEventListener(MOUSE_OVER,function(){Tween(L.buffer,UPDATE_SPEED,{alpha:.2}),Tween(L.progress,UPDATE_SPEED,{alpha:.4}),Tween(L.time,UPDATE_SPEED,{alpha:1}),Tween(L.head,UPDATE_SPEED,{alpha:1}),Tween(L.headTime,UPDATE_SPEED,{alpha:1}),Tween(L,UPDATE_SPEED,{backgroundColor:"rgba(0,0,0,0.85)"})}),L.hit.addEventListener(MOUSE_OUT,function(){Tween(L.buffer,UPDATE_SPEED,{alpha:.12}),Tween(L.progress,UPDATE_SPEED,{alpha:.25}),Tween(L.time,UPDATE_SPEED,{alpha:.5}),Tween(L.head,UPDATE_SPEED,{alpha:0}),Tween(L.headTime,UPDATE_SPEED,{alpha:0}),Tween(L,UPDATE_SPEED,{backgroundColor:b})}),L.hit.addEventListener(MOUSE_MOVE,l)),L.hit.addEventListener(CLICK,s)}function l(t){var i=T(t);L.head.transition=0,L.head.x=i,L.headTime.transition=0,L.headTime.x=i,L.headTime.text=E(i/S*e.element.duration)}function s(t){var i=T(t);L.head.x=i,L.headTime.x=i;var n=i/S*e.element.duration;e.element.currentTime=n,L.headTime.text=E(n),d(e)}function d(){e.element.buffered.length>0&&(bufferedPercent=e.element.buffered.end(0)/e.element.duration,L.buffer.transition=0,L.buffer.width=bufferedPercent*S,playedPercent=e.element.currentTime/e.element.duration,L.progress.transition=0,L.progress.width=playedPercent*S,L.time.text=E(e.element.currentTime)+" / "+E(e.element.duration))}function c(){clearInterval(O.interval)}function h(){e.element.paused?(e.play(),g.icon.d=svgPaths.pause,O.interval=setInterval(d,50)):(e.pause(),g.icon.d=svgPaths.play)}function u(){e.element.muted?O.unmute():O.mute()}function T(e){return TOUCH_DEVICE&&e.touches?e.touches[0].offsetX-C-L.x:e.offsetX}function E(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 g,m,p,L,f,v,S,O=new Sprite,C=50,A=50,b="rgba(0,0,0,0.65)",y=!0;O.setClass("no-invert");var M;return O.show=n,O.hide=o,O.resize=function(e,t,i,n,o){var a=t,r=i,l=n,s=o;f=n,v=o,S=l-3*C,0===e?(O.width=l,O.x=Mth.floor(a),O.y=Mth.floor(r+s-O.height),m.x=l-m.width,p.x=l-m.width-p.width,L.x=C,L.width=S,L.hit.width=S):(Tween(O,e,{width:l,x:a,y:r+o-O.height}),Tween(m,e,{x:l-m.width}),Tween(p,e,{x:l-m.width-p.width}),Tween(L,e,{x:C,width:S}),Tween(L.hit,e,{width:S})),d()},O.mute=function(){e.element.muted=!0,p.icon.d=svgPaths.mute},O.unmute=function(){e.element.muted=!1,p.icon.d=svgPaths.volume},O.disable=function(){o(),isPod()||isPad()||stage.removeEventListener(MOUSE_MOVE,i)},O.enable=function(){n(),isPod()||isPad()||stage.addEventListener(MOUSE_MOVE,i)},t.call(O),O}function VimeoPlayer(e){function t(e){var t=new Button;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:"setMuted",value:!1}),h)},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"+VimeoPlayer.getNextPlayerID(),c.playerID=l,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){return function(t){var n;try{n=JSON.parse(t.data)}catch(e){n={}}if(!n.player_id&&"play"===n.event,n.player_id===c.playerID)switch("ready"===n.event&&setTimeout(function(){a(n)},10),"error"===n.event,"volumechange"===n.event&&n.data.volume>0&&(u&&c.unmuteBtn&&(stage.userInteraction=!0,c.unmuteBtn.display="none",c.unmuteBtn.removeEventListener("click",c.unmuteClick)),u=!0),"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(VIMEO_METADATA_LOADED)),"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(VIMEO_METADATA_LOADED)),n.event){case"finish":i();break;case"pause":n.data.seconds>=n.data.duration-1?i():(c.dispatchEvent(PAUSED),"function"==typeof c.onpause&&c.onpause(),c.paused=!0);break;case"play":c.dispatchEvent(PLAY),"function"==typeof c.onplay&&c.onplay(),c.paused=!1}}}function a(e){c&&(c.loaded=!0,!stage.userInteraction&&d&&c.element.contentWindow.postMessage(JSON.stringify({method:"setMuted",value:!0}),h),c&&c.element.contentWindow&&(c.element.contentWindow.postMessage(JSON.stringify({method:"getVolume",value:l}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"getMuted",value:l}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"getVideoWidth",value:l}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"getVideoHeight",value:l}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"volumechange"}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"finish"}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"pause"}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"play"}),h),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"error"}),h)))}function r(e){c&&keyCode[e.keyCode]===SPACE_BAR&&c.togglePlay()}e=e||{},e.type="iframe",e.className="VimeoPlayer";var l,s,d,c=new Sprite(e),h="*",u=!1;return c.parent=e.parent,c.style.pointerEvents="auto",n(),c.setSource=function(i,n){c.element.ownerDocument.defaultView.addEventListener("message",o(l)),d=!!n,c.element.setAttribute("allow","autoplay");try{s="https://player.vimeo.com/video/"+i.split("vimeo:")[1];var a=n?"&autoplay=1":"";STATE.overrides.videoLoop?c.src=s+"?api=1&autopause=0&loop=1&wmode=opaque"+a+"&player_id="+l:c.src=s+"?api=1&autopause=0&wmode=opaque"+a+"&player_id="+l;var r=c.width||e.width||640,u=c.height||e.height||480;c.element.setAttribute("width",r),c.element.setAttribute("height",u),c.width=r,c.height=u,n&&(stage.userInteraction?(c.unmuteBtn&&(c.unmuteBtn.display="none",c.unmuteBtn.removeEventListener("click",c.unmuteClick)),c.element.setAttribute("allow","autoplay"),c.element.contentWindow.postMessage(JSON.stringify({method:"setMuted",value:!1}),h)):c.unmuteBtn?(c.unmuteBtn.display="block",c.unmuteBtn.addEventListener("click",c.unmuteClick)):c.unmuteBtn||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&&c.element.contentWindow.postMessage(JSON.stringify({method:"loop",value:e}),h)},c.play=function(){c.ended=!1,stage.userInteraction?(c.unmuteBtn&&(c.unmuteBtn.display="none",c.unmuteBtn.removeEventListener("click",c.unmuteClick)),c.element.contentWindow.postMessage(JSON.stringify({method:"setMuted",value:!1}),h)):c.unmuteBtn?(c.unmuteBtn.display="block",c.unmuteBtn.addEventListener("click",c.unmuteClick)):c.unmuteBtn||t(c),c&&c.element.contentWindow&&(c.loaded?(c.element.contentWindow.postMessage(JSON.stringify({method:"play",value:""}),h),stage.addEventListener(KEY_DOWN,r),c.paused=!1,c.dispatchEvent(PLAY)):c.element.addEventListener("load",function(){c.loaded=!0,c.element.contentWindow.postMessage(JSON.stringify({method:"play",value:""}),h),stage.addEventListener(KEY_DOWN,r),c.paused=!1,c.dispatchEvent(PLAY)}))},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(){c.element.ownerDocument.defaultView.removeEventListener("message",o),c.removeKeyListener(),c=null},c.removeKeyListener=function(){stage.removeEventListener(KEY_DOWN,r)},c}function SiteController(e){function t(){if(LAYOUT_MODEL.siteDisplayBehavior||STATE.siteView.unifiedPageScroll()||(LAYOUT_MODEL.siteDisplayBehavior="none"),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(LAYOUT_MODEL.siteDisplayBehavior="none"),/disabled/.test(LAYOUT_MODEL.cursorIconStyle)?LAYOUT_MODEL.navCursorType=LAYOUT_MODEL.cursorIconStyle:LAYOUT_MODEL.navCursorType=LAYOUT_MODEL.navCursorType?LAYOUT_MODEL.navCursorType:"cursor",stage.backgroundColor=LAYOUT_MODEL.siteBackgroundColor,isAndroidMobile()&&(LAYOUT_MODEL.mobileAutoPlay=!1),me.siteView.updateStyle(),e.parentView=me.siteView,e.parentController=me,e.events=me.events,e.siteControllerEvents=me.events,me.sectionController=new e.SectionController(e),me.menuController=new e.MenuController(e),e.menuController=me.menuController,USER_AGENT===MOBILE||USER_AGENT===TABLET&&LAYOUT_MODEL.footerOnMenuTablet||(me.footerController=new e.FooterController(e)),me.logoController=new e.LogoController(e),me.navbarController=new e.NavbarController(e),me.caption=new Caption,me.siteView.addChild(me.caption.container),me.addressController=new e.AddressController(e),"cursor"!==LAYOUT_MODEL.navCursorType||isPod()||isPad()||(me.cursor=new e.Cursor(e),me.siteView.addChild(me.cursor)),me.tooltip=new e.Tooltip(e),me.service=new e.SiteService(e),me.addressController.service=me.service,isLogin&&(SETTINGS_MODEL.adminLockout?alert("ADMIN LOCKED FOR MAINTENANCE.
Please try again later.
If problem persists, contact support."):isSupportedBrowserForAdmin(BROWSER_NAME,BROWSER_VERSION)?me.login=new Login(e):alert("Admin not supported for this browser ["+BROWSER_NAME+" "+BROWSER_VERSION+"]. Please use latest version of Chrome, Firefox, Safari or MS Edge.")),me.events.dispatchEvent(LAYOUT_MODEL_CHANGE,{id:"layoutModelInit"}),me.events.addEventListener(NAVBAR_OVERLAY_BTN_CLICK,h),me.events.addEventListener(NAVBAR_NAV_CLICK,u),me.events.addEventListener(NAVBAR_FULLSCREEN,T),me.events.addEventListener(MENU_CLICK,g),me.events.addEventListener(FOOTER_CLICK,E),me.events.addEventListener(LOGO_CLICK,p),me.events.addEventListener(THUMB_CLICK,m),me.events.addEventListener(ADDRESS_URI_CHANGE,v),me.events.addEventListener("ADDRESS_URI_CHANGE_PASSIVE",A),me.events.addEventListener(ADMIN_LOADED,i),me.events.addEventListener(CONTACT_FORM_SUBMIT,ie),me.events.addEventListener(SHARE_FORM_SUBMIT,ne),me.events.addEventListener(INQUIRY_FORM_SUBMIT,oe),me.events.addEventListener(POP_UP,c),me.events.addEventListener("OVER_LOGO",ae),me.events.addEventListener("privateGalleryAuthCheck",F),me.events.addEventListener("passwordViewUpdate",G),me.events.addEventListener("updateAssetId",b),me.events.addEventListener("UPDATE_CONTENT_HEIGHT",function(){clearTimeout(ge),ge=setTimeout(function(){me.siteView.updatePosition()},50)}),me.events.addEventListener(PAGE_LOADED,n),me.events.addEventListener("siteAnchorCaptionUpdate",y),me.events.addEventListener("SEARCH_SUBMIT",D),me.events.addEventListener("lightboxDownloadOverlayOpen",U),me.events.addEventListener("lightboxUpdateItem",I),me.events.addEventListener("lightboxDownloadPdf",z),me.events.addEventListener("lightboxDownloadZip",k),me.events.addEventListener("attachmentDownload",H),me.events.addEventListener("MENU_DOCK_TOGGLE",S),stage.addEventListener(RESIZE_END,s),stage.addEventListener(GESTURE_END,r),stage.addEventListener(ORIENTATION_CHANGE,d),stage.addEventListener(KEY_DOWN,L),(isPod()||isPad())&&window.addEventListener("scroll",function(){clearTimeout(Ee),Le=!0,Ee=setTimeout(function(){Ee=null,Le=!1,l()&&(me.events.dispatchEvent(RESIZE_END),ve=!1)},200)}),stage.zoom>1?me.events.dispatchEvent(RESIZE_END):s(),me.events.addEventListener("cursorAxisUpdate",le),ORIENTATION=90===Math.abs(window.orientation)?"horizontal":"vertical",window.isStaging){var t=de();me.siteView.addChild(t)}STATE.cacheLightboxSection()}function i(){dx.admin.events.addEventListener(ACCOUNT_MODEL_CHANGE,W),dx.admin.events.addEventListener(FONTS_MODEL_CHANGE,Z),dx.admin.events.addEventListener(FILES_MODEL_CHANGE,X),dx.admin.events.addEventListener(LAYOUT_MODEL_CHANGE,K),dx.admin.events.addEventListener(MEDIA_MODEL_CHANGE,J),dx.admin.events.addEventListener(NAVBAR_MODEL_CHANGE,Q),dx.admin.events.addEventListener(PDF_MODEL_CHANGE,$),dx.admin.events.addEventListener(SETTINGS_MODEL_CHANGE,ee),dx.admin.events.addEventListener(SECTIONS_MODEL_CHANGE,te),dx.admin.events.addEventListener(ADMIN_MOUSE_DOWN,o),dx.admin.events.addEventListener(ADMIN_MOUSE_UP,a),me.events.addEventListener("adminPageviewImageSizes",function(e){dx.admin.events.dispatchEvent("adminPageviewImageSizes",e)})}function n(){me.events.dispatchEvent(SITE_SERVICE_GET_FILE,{name:"js"})}function o(){me.events.dispatchEvent(ADMIN_MOUSE_DOWN)}function a(){me.events.dispatchEvent(ADMIN_MOUSE_UP)}function r(){stage.zoom<=1}function l(){return(isPod()||isPad())&&ve&&window.innerHeight===document.documentElement.clientHeight}function s(e){if(/responsive/.test(LAYOUT_MODEL.menuAlignHorizontal)){var t=1;isPod()&&(t=window.devicePixelRatio||1);var i=(LAYOUT_MODEL.screenWidthBreakpoint||800)*t,n=layoutCalcs.isMenuResponsiveOverlay;layoutCalcs.isMenuResponsiveOverlay=USER_AGENT!==MOBILE&&stage.width<=1&&(Le||(me.events.dispatchEvent(RESIZE_END),me.siteView.updatePosition(e),M()),setTimeout(function(){l()&&(me.events.dispatchEvent(RESIZE_END),ve=!1)},1e3))):(me.events.dispatchEvent(RESIZE_END),me.siteView.updatePosition(e),M()),Te&&Te.updatePosition(),he&&he.updatePosition()}function d(){ORIENTATION=90===Math.abs(window.orientation)?"horizontal":"vertical",me.events.dispatchEvent(ORIENTATION_CHANGE),setTimeout(function(){me.events.dispatchEvent(RESIZE_END)},50)}function c(t){popup=new e.Popup(e,t)}function h(e){me.events.dispatchEvent(ADDRESS_OVERLAY_CHANGE,e)}function u(e){me.events.dispatchEvent(ADDRESS_ASSET_CHANGE,e)}function T(){me.events.dispatchEvent(FULLSCREEN_TOGGLE)}function E(e){me.events.dispatchEvent(ADDRESS_SECTION_CHANGE,e)}function g(e){e.section&&e.section.isSearch?(Te?(Te.setTags(ce.searchTags),Te.open(e.section)):Te=searchInput({navEvent:e,section:e.section,events:me.events,tags:ce.searchTags}),"overlay"===STATE.menuView.placement()&&me.menuController.menuView.dock.toggleState()&&me.menuController.menuView.closeDock()):me.events.dispatchEvent(ADDRESS_SECTION_CHANGE,e)}function m(e){me.events.dispatchEvent(ADDRESS_SECTION_CHANGE,e)}function p(e){me.events.dispatchEvent(ADDRESS_SECTION_CHANGE,e)}function L(e){if((e.keyCode===keyName.LEFT_ARROW||e.keyCode===keyName.UP_ARROW||e.keyCode===keyName.RIGHT_ARROW||e.keyCode===keyName.DOWN_ARROW)&&!stage.disableKeyNavigation){var t;switch(e.keyCode){case keyName.LEFT_ARROW:t="prev";break;case keyName.UP_ARROW:t="prev";break;case keyName.RIGHT_ARROW:t="next";break;case keyName.DOWN_ARROW:t="next"}t&&me.events.dispatchEvent(ADDRESS_ASSET_CHANGE,{navDir:t})}}function f(t){me.savedUriInfo=t,me.events.addEventListener(INTRO_COMPLETE,_),me.introView=new e.IntroView(e),USER_AGENT===MOBILE&&STATE.overrides.menuDisplaceMobile?stage.addChild(me.introView):USER_AGENT===TABLET&&STATE.overrides.menuDisplaceTablet?stage.addChild(me.introView):me.siteView.addChild(me.introView),me.events.addEventListener(RESIZE_END,me.introView.updatePosition)}function v(e){ce=e,STATE.section(e.section),me.siteView.setOverflow(),me.events.dispatchEvent("autoplayTarget",e),w(),se(e),e.info.isDeepLink||e.path&&!e.info.isIntroGallery||!pe||!STATE.introFile&&!LAYOUT_MODEL.introFile?STATE.lightboxSection?C(e):me.events.dispatchEvent(SITE_URI_CHANGE,e):f(e),pe=!1,!e.section.isSearch||e.section.mediaItems.length||e.section.media.length?e.section.isSearch&&Te&&Te.close():(Te?(Te.setTags(e.searchTags),Te.open(e.section)):Te=searchInput({navEvent:e,section:e.section,events:me.events,tags:e.searchTags}),Te.blur(),Te.setMessage("No results found")),he&&j(.35);var t=isSlideshowGallery(ce.section)&&LAYOUT_MODEL.slideshowCaptions;t||y(),q(),me.siteView.updatePosition(),S()}function S(){USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(me.menuController.menuView.dock.toggleState()?me.logoController.show():"site"===LAYOUT_MODEL.mobileLogoPlacement?me.logoController.show():"thumbs"===LAYOUT_MODEL.mobileLogoPlacement&&/thumbs/.test(layoutCalcs._uriState.mode)?me.logoController.show():me.logoController.hide())}function O(e){e.section.isUserEnableLightbox&&!STATE.userEnabledLightbox?confirm("Lightbox has no content. Would you like to enable lightbox on this site?",{onConfirm:function(){STATE.userEnabledLightbox=!0,me.events.dispatchEvent(SITE_URI_CHANGE,e)},onCancel:function(){me.events.dispatchEvent(SITE_URI_CHANGE,e)}}):alert("Lightbox has no content. You can add content to your lightbox from other galleries.",{onClose:function(){me.events.dispatchEvent(SITE_URI_CHANGE,e)}})}function C(e){var t=STATE.lightboxSection&&!STATE.lightboxSection.media.length,i=STATE.lightboxHash&&t,n=e.section.key===STATE.lightboxSection.key;i?me.service.getLightboxMedia(STATE.lightboxHash).then(function(e){STATE.lightboxSection.media=e.media.filter(function(e){return MEDIA_MODEL[e]&&!MEDIA_MODEL[e].disableLightbox}),STATE.lightboxSection.mediaItems=STATE.lightboxSection.media}).catch(function(e){localStorage.removeItem("lightboxHash")}).then(function(){n?O(e):me.events.dispatchEvent(SITE_URI_CHANGE,e)}):n&&t?O(e):me.events.dispatchEvent(SITE_URI_CHANGE,e)}function A(e){ce=e,se(e),me.events.dispatchEvent("SITE_URI_CHANGE_PASSIVE",e),me.events.dispatchEvent("autoplayTarget",e),pe=!1,he&&j(.35);var t=isSlideshowGallery(ce.section)&&LAYOUT_MODEL.slideshowCaptions;t||y()}function b(e){if(USER_AGENT!==MOBILE){var t=removeLinksFromMedia(ce.section.mediaItems),i=getMediaById(t[e.id]),n=getCaptionText(i);fe=i.overrides||{};var o=firstValid(i&&i.overrides.captionAnchorTo,STATE.overrides.captionAnchorTo),a=isSlideshowGallery(ce.section)&&LAYOUT_MODEL.slideshowCaptions;(a||ce.mode.indexOf("caption")>-1)&&n&&"site"===o?(me.caption.text=plainTextToHtml(n),me.caption.show(M)):(me.caption.text="",me.caption.hide(),me.caption.scroll&&me.caption.scroll.destroy())}}function y(e){if(ce&&ce.asset&&me.caption){var e=e||ce.asset;e.overrides||(e.overrides={}),fe=e.overrides||{},me.caption.text=plainTextToHtml(getCaptionText(e));var t=isSlideshowGallery(ce.section)&&LAYOUT_MODEL.slideshowCaptions,i=firstValid(USER_AGENT!==MOBILE||LAYOUT_MODEL.captionMobileOverrides||t?void 0:"site",e.overrides.captionAnchorTo,STATE.overrides.captionAnchorTo);"site"===i&&(t||ce.mode.indexOf("caption")>-1)?me.caption.show(M):(me.caption.text="",me.caption.hide(),me.caption.scroll&&me.caption.scroll.destroy())}else me.caption&&(me.caption.text="",me.caption.hide(),me.caption.scroll&&me.caption.scroll.destroy())}function M(){USER_AGENT!==MOBILE&&(me.caption.container.position="fixed"),me.caption.container.transition=0,me.caption.container.zIndex=STATE.captionView.zIndex(),firstValid(fe.captionCloseButton,STATE.overrides.captionCloseButton)?me.caption.showCloseButton():me.caption.hideCloseButton();var e={onInit:function(){me.caption.scroll&&me.caption.scroll.hide(); },onComplete:function(){me.caption.scroll&&(me.caption.scroll.show(),me.caption.scroll.resize())}},t=USER_AGENT===MOBILE&&!LAYOUT_MODEL.captionMobileOverrides,i=firstValid(fe.captionBackgroundRectColor,STATE.overrides.captionBackgroundRectColor),n=firstValid(t?LAYOUT_MODEL.overlayAlpha:void 0,fe.captionBackgroundAlpha,STATE.overrides.captionBackgroundAlpha);me.caption.backgroundColor=toRgba(i,n),me.caption.fontFamily=fe.captionFont||STATE.overrides.captionFont,me.caption.fontSize=stage.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 z(){var e=STATE.lightboxSection.media;window.PDFDocument&&window.blobStream||Promise.all([R(CDN_PF_SSL_URI+"/scripts/blob-stream.js"),R(CDN_PF_SSL_URI+"/scripts/pdfkit.standalone.js"),me.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",N(e).then(function(e){Y(e,n)}).catch(function(e){})}}).catch(function(e){})}function k(){var e=window.location.host+"-lightbox.zip";Promise.all([R(CDN_PF_SSL_URI+"/scripts/runtime1.min.js"),R(CDN_PF_SSL_URI+"/scripts/client-zip-2.js")]).then(function(e){var t=STATE.lightboxSection.media.map(function(e){return fetch(SETTINGS_MODEL.cdnSslUri+"/"+MEDIA_MODEL[e].content)});return downloadZip(t)}).then(function(e){return e.blob()}).then(function(t){return Y(t,e)})}function B(e,t){var i=new XMLHttpRequest;i.addEventListener("load",function(e){var i=JSON.parse(e.target.response);i.url&&"pass"===i.status?t(i.url):alert("could not get upload authorization, check your connection")},!1),i.open("POST","/dx/service/attachment/downloadurl"),i.setRequestHeader("Content-Type","application/json"),i.send(JSON.stringify({filename:webSafeChars(e)}))}function H(e){B(e,function(t){P(t,e)})}function F(e){he?(he.setMessage("PASSWORD"),he.open(e.section)):(he=passwordInput({section:e.section,events:me.events}),me.events.dispatchEvent(PAUSE_MEDIA)),"overlay"===STATE.menuView.placement()&&me.menuController.menuView.dock.toggleState()&&me.menuController.menuView.closeDock()}function G(e){e?j():(he.setMessage("INCORRECT PASSWORD"),setTimeout(function(){he.setMessage("")},1e3))}function j(){he&&he.close()}function W(e){me.events.dispatchEvent(ACCOUNT_MODEL_CHANGE,e)}function Z(e){me.events.dispatchEvent(FONTS_MODEL_CHANGE,e)}function X(){}function K(t){t&&/site/.test(t.id)&&me.siteView.updateStyle(),me.events.dispatchEvent(LAYOUT_MODEL_CHANGE,t),y(),q(),me.siteView.updatePosition(),/navCursorType/.test(t.id)&&"cursor"===t.value?me.cursor?me.cursor.enabled=!0:(me.cursor=new e.Cursor(e),me.cursor.dispatchEvent("cursorAxisUpdate",getCursorAxis(STATE.overrides.transitionType)),me.siteView.addChild(me.cursor)):/navCursorType/.test(t.id)&&me.cursor&&(me.cursor.enabled=!1),me.cursor&&/cursorBlendMode/.test(t.id)&&me.cursor.dispatchEvent("cursorBlendMode",t),Te?(stage.removeChild(Te.overlay.background),Te=searchInput({navEvent:ce,section:ce.section,events:me.events,tags:ce.searchTags})):he&&(stage.removeChild(he.overlay.background),he=passwordInput({section:ce.section,events:me.events}))}function q(){document.body.style.overflowY="none"===STATE.overrides.siteDisplayBehavior?"hidden":"auto"}function J(e){me.addressController.setTitle(),me.addressController.setMetaDescription(),me.events.dispatchEvent(MEDIA_MODEL_CHANGE,e),exists(ce,"asset.id")===e.id&&(ce.asset=e),y()}function Q(e){me.events.dispatchEvent(NAVBAR_MODEL_CHANGE,e)}function $(e){me.events.dispatchEvent(PDF_MODEL_CHANGE,e)}function ee(e){me.addressController.setTitle(),me.addressController.setMetaDescription(),me.events.dispatchEvent(SETTINGS_MODEL_CHANGE,e)}function te(e){if(exists(ce,"section.id")===e.id){var t=getSectionById(e.id);STATE.section(t)}me.addressController.setTitle(),me.addressController.setMetaDescription(),STATE.cacheLightboxSection(),me.events.dispatchEvent(SECTIONS_MODEL_CHANGE,e),y()}function ie(e){me.events.dispatchEvent(SITE_SERVICE_CONTACT_FORM_SUBMIT,e)}function ne(e){me.events.dispatchEvent(SITE_SERVICE_SHARE_FORM_SUBMIT,e)}function oe(e){me.events.dispatchEvent(SITE_SERVICE_INQUIRY_FORM_SUBMIT,e)}function ae(){stage.addEventListener(MOUSE_MOVE,re)}function re(e){me.menuController.menuView.menuText.hitTestPoint(e.pageX,e.pageY)?me.logoController.logoView.element.style.pointerEvents="none":me.logoController.logoView.element.style.pointerEvents="auto"}function le(e){me.cursor&&me.cursor.dispatchEvent("cursorAxisUpdate",e)}function se(e){STATE.section(e.section);var t="none"!==STATE.overrides.thumbnailType&&"none"!==LAYOUT_MODEL.cursorIconStyle;me.cursor&&me.cursor.dispatchEvent("cursorThumbsUpdate",t)}function de(){var e=new Button;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(CLICK,function(){confirm("Switching to LIVE SITE, the page will refresh.",{onConfirm:function(){location.assign("/unstage")},onCancel:function(){}})}),e}var ce,he,ue,Te,Ee,ge,me=new ControllerProxy({events:new EventSandbox}),pe=!0,Le=!1,fe={},ve=!1;return e.parent=me,e.siteControllerEvents=me.events,me.siteView=new SiteView(e),USER_AGENT===MOBILE&&STATE.overrides.menuDisplaceMobile||USER_AGENT===TABLET&&STATE.overrides.menuDisplaceTablet||stage.addChild(me.siteView),stage.addEventListener(KEY_DOWN,function(e){keyCode[e.keyCode]===SPACE_BAR&&me.events.dispatchEvent("spacebarPlay",ce)}),t.call(me),me}function SiteView(e){var t=new ViewProxy({events:e.siteControllerEvents});t.zIndex=0,t.position=STATE.siteView.unifiedPageScroll()?"relative":"absolute",t.setOverflow=function(){USER_AGENT!==TABLET||LAYOUT_MODEL.menuDisplaceTablet===!1?USER_AGENT!==MOBILE&&/none/.test(STATE.overrides.siteDisplayBehavior)?t.element.style.overflow="hidden":/^unified/.test(STATE.overrides.siteDisplayBehavior)?t.element.style.overflow="hidden":(t.element.style.overflowX="hidden",t.element.style.overflowY="auto"):t.element.style.overflow="visible"},t.setOverflow(),t.element.setAttribute("class","SiteView"),t.name="SiteView","Chrome"===BROWSER_NAME&&(t.selectable=!0),t.addEventListener(CHILD_ADDED,function(){t.updatePosition()});return t.updatePosition=function(){t.position=STATE.siteView.unifiedPageScroll()?"relative":"absolute",t.width=STATE.siteView.width(),("overlay"!==STATE.overrides.siteDisplayBehavior||isClosedGalleryOnlyOverlay())&&(t.height=STATE.siteView.height()||stage.height),(window.fullScreen||document.webkitCurrentFullScreenElement)&&(t.height=stage.height,t.overflowY="scroll"),USER_AGENT===MOBILE&&STATE.overrides.menuDisplaceMobile?t.x=stage.width:USER_AGENT===TABLET&&STATE.overrides.menuDisplaceTablet&&(t.x=layoutCalcs.menuView.width())},t.updateStyle=function(){t.backgroundColor=LAYOUT_MODEL.siteBackgroundColor},t}function touchDeviceTransition(){return isPod()&&LAYOUT_MODEL.transitionTypeMobile?LAYOUT_MODEL.transitionTypeMobile:isPad()&&LAYOUT_MODEL.transitionTypeTablet?LAYOUT_MODEL.transitionTypeTablet:void 0}function updateCustomThumbSize(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 SiteService(e){function t(){l.events.addEventListener(SITE_SERVICE_CONTACT_FORM_SUBMIT,n),l.events.addEventListener(SITE_SERVICE_SHARE_FORM_SUBMIT,o),l.events.addEventListener(SITE_SERVICE_INQUIRY_FORM_SUBMIT,a),l.events.addEventListener(SITE_SERVICE_GET_FILE,r),l.events.addEventListener("SITE_SERVICE_PASSWORD_CHECK",i)}function i(e){JSONXHR({url:"/dx/siteservice/sectionpasswordcheck",params:e,callback:function(e){"pass"===e.status&&STATE.setPassedSection(e.sectionId),dx.site.events.dispatchEvent("SECTION_PASSWORD_AUTH",e)}})}function n(e){JSONXHR({url:"/dx/siteservice/email/contact",params:e,callback:function(e){if("pass"!==e.status)throw new Error("contact form failed");dx.site.events.dispatchEvent(CONTACT_FORM_SENT,e)}})}function o(e){JSONXHR({url:"/dx/siteservice/email/share",params:e,callback:function(e){if("pass"!==e.status)throw new Error("share form failed");dx.site.events.dispatchEvent(SHARE_FORM_SENT,e)}})}function a(e){JSONXHR({url:"/dx/siteservice/email/inquiry",params:e,callback:function(e){if("pass"!==e.status)throw new Error("inquiry form failed");dx.site.events.dispatchEvent(INQUIRY_FORM_SENT,e)}})}function r(){l.customJsResponse({content:FILES_MODEL.js})}var l=new ControllerProxy({events:e.events});return l.inquiryResponse=function(e){if("pass"!==e.status)throw new Error("inquiry form failed");dx.site.events.dispatchEvent(INQUIRY_FORM_SENT,e)},l.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)}},l.createLightbox=function(e){return new Promise(function(t,i){JSONXHR({url:"/dx/siteservice/lightbox/create",params:{ids:e},callback:function(e){"pass"===e.status?t(e):i(e)}})})},l.updateLightbox=function(e,t){return new Promise(function(i,n){JSONXHR({url:"/dx/siteservice/lightbox/update",params:{hash:e,ids:t},callback:function(e){"pass"===e.status?i(e):n(e)}})})},l.getLightboxMedia=function(e){return new Promise(function(t,i){JSONXHR({url:"/dx/siteservice/lightbox/media",params:{hash:e},callback:function(e){"pass"===e.status?t(e):i(e)}})})},l.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){})},l.getPdfModel=function(){return fetch("/dx/siteservice/pdf/model").then(function(e){return e.json()}).catch(function(e){})},t.call(l),l}function AddressController(e){function t(e){ee.events.dispatchEvent("passwordViewUpdate","pass"===e.status),setTimeout(function(){STATE.getPassedSection(e.sectionId)&&(de=!0,i(q))},350)}function i(e,t){g(e,function(){var i=getParentSection(te);if(te&&te.password.length>0&&!STATE.getPassedSection(te.id))q=e,ee.events.dispatchEvent("privateGalleryAuthCheck",{section:te});else if(i&&i.password.length>0&&!STATE.getPassedSection(i.id))q=e,ee.events.dispatchEvent("privateGalleryAuthCheck",{section:i});else if(te){q=void 0;var o=r(te),i=getParentSection(te),l={section:te,searchTags:se&&se.search&&se.search.split(",")||[],sortBy:se&&se.sort||"date-asc",parentSection:i,mediaToRender:removeLinksFromMedia(te.mediaItems),path:ie,assetId:ne,asset:getMediaById(te.mediaItems[ne]),mode:oe,prevState:{section:ae.section,mode:ae.mode,assetId:ae.assetId},info:{isInit:re,isSectionChange:te!==exists(ae,"section")||le,isPasswordSection:de,isSearchSubmit:le,isParentSectionChange:i!==exists(ae,"parentSection"),isAssetChange:ne!==exists(ae,"assetId"),isModeChange:oe!==exists(ae,"mode"),isLandingMedia:isSlideshowGallery(te),mediaViewState:o,isDeepLink:re&&"/"!==e,isMediaViewStateChange:exists(ae,"info.mediaViewState")!==o,isIntroGallery:te.isIntroGallery,flickSpeed:Q,lastUri:X,isThumbsFirst:isThumbsFirst(te),isMobileVideoClick:$,isBlog:isBlogFeed(te.id)}};ee.setTitle(),ee.setMetaDescription(),layoutCalcs.updateSectionState(te.key,{assetId:ne,mode:oe}),layoutCalcs._section=l.section,layoutCalcs._uriState=l,K=l,le=!1,de=!1,t?ee.events.dispatchEvent("ADDRESS_URI_CHANGE_PASSIVE",K):n(),a(te),ae=l,X=e,re=!1,Q=void 0,$=!1}})}function n(){ee.events.dispatchEvent(ADDRESS_URI_CHANGE,K)}function o(){K.asset=getMediaById(te.mediaItems[ne]),ee.events.dispatchEvent(ADDRESS_URI_CHANGE,K)}function a(e){var t=getMediaById(e.media[0]);"link"!==t.type||t.thumb||("_blank"===t.linkTarget?window.open(t.content):"_self"===t.linkTarget&&(window.location.href=t.content))}function r(e){return e.slideshow||e.label===LANDING_MEDIA?"landingMedia":"mediaView"}function l(e){ne=isBlogFeed(te.id)?inverseAssetId(e.id,te.mediaItems.length-1):e.id,C(),Address.setValue(x(),!0,!1)}function s(e){e.section&&te.key!==e.section.key&&(oe=e.mode,ne=e.assetId,te=e.section,e.path=e.section.key,clearTimeout(ce),ce=setTimeout(function(){N(e,!0)},30))}function d(e,t){if(e.indexOf("/")>-1){var i=e.split("/");return i[0]==t||i[1]==t}return e==t}function c(e,t){return e.indexOf(t)>-1}function h(e){return e.split("&").reduce(function(e,t){var i=t.split("=");return e[i[0]]=i[1],e},{originalQuery:"?"+e})}function u(e){var t=e.split("?")[1];return t?h(t):{}}function T(){return Object.keys(SECTIONS_MODEL).reduce(function(e,t){var i=SECTIONS_MODEL[t];return i.password&&i.password.length>0||!i.visible?e.concat(i.media):e},[])}function E(){return Object.keys(SECTIONS_MODEL).reduce(function(e,t){var i=SECTIONS_MODEL[t];return!i.password&&i.visible?e.concat(i.media):e},[])}function g(e,t){var i=se.search;if(se=u(e),i&&se.search&&i!==se.search&&(le=!0),e=e.replace(/^\/|\/$/g,"").replace(se.originalQuery,"").split("/"),oe=y(e),delete te.isIntroGallery,te=p(e),se.lightbox)ee.service.getLightboxMedia(se.lightbox).then(function(e){STATE.cacheLightboxSection(),te.media=e.media,te.mediaItems=e.media,"function"==typeof t&&t()}).catch(function(e){"function"==typeof t&&t()}),ne=b(e)?b(e):0,ne=te&&te.key&&d(te.key,ne)&&!c(e,ne)?0:ne,ne=0!==ne?ne-1:ne,!b(e)&&isThumbsFirst(te)&&(ne=-1,G("thumbs"));else{if(se.search&&!te.isSearch)se={};else if(se.search&&te.isSearch){var n=se.search,o=se.sort&&se.sort.split("-")||["date","asc"],a=o[0],r=o[1],l=T(),s=E(),h=Object.keys(MEDIA_MODEL).filter(function(e){var t=l.indexOf(Number(e));return t===-1||t>-1&&s.indexOf(Number(e))>-1}).map(function(e){var t=MEDIA_MODEL[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=(SETTINGS_MODEL.searchCaptions||SETTINGS_MODEL.searchLabels||e.keywords.length)&&/image|video/.test(e.type);return(SETTINGS_MODEL.globalMediaSearch&&e.searchable!==!1||!SETTINGS_MODEL.globalMediaSearch&&e.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=SETTINGS_MODEL.searchCaptions&&i.test(e.caption),a=SETTINGS_MODEL.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&&G("thumbs")}function C(){if(USER_AGENT!==MOBILE&&te&&(ne>-1||te.isSearch)){var e=getMediaById(te.mediaItems[ne]);e||(e={overrides:{}});var t=firstValid(e.overrides.captionDefault,STATE.overrides.captionDefault);USER_AGENT===MOBILE&&(t=!1),"caption"===J?G("caption"):""===J?j("caption"):t?G("caption"):j("caption"),B()}}function A(e){var t=f(e.split("/"));return t?addDashes(e).replace(addDashes(t),""):e}function b(e){var t=I(e.join("/")),i=A(t),n=i.split("/")[1];return!isNaN(n)&&Number(n)}function y(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 M(e){return"mailTo:"+e.replace("mailto:","").replace("mailTo:","")}function w(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=M(e.path)}}function _(e){return("[one]"===e.label||"[like]"===e.label)&&function(){ee.events.dispatchEvent(POP_UP,e)}}function D(e){return"_blank"===e.linkTarget&&function(){window.open(e.path)}}function U(e){return!P(e)&&"_self"===e.linkTarget&&"external"===e.type&&function(){window.location.href=e.path}}function x(){var e=I(ie),t=e,i=se.originalQuery;if(te&&!V(ie)){var n=R(t);if(n){t=n&&n.key||"",t="/"+t+"/";var o=b(e.split("/"));o&&ne>-1&&(ne=o-1),ne>-1&&(t+=Number(ne)+1+"/"),oe.length>0&&(t+=oe+"/")}else t="/"}return n&&"landingMedia"===n.key&&(t="/"),i?t+i:t}function V(e){return/^(ht|f)tp(s?):\/\//.test(e)}function I(e){var t=window.location.protocol+"//"+window.location.host;return"string"==typeof e?e.replace(t,"").replace(/^\/|\/$/g,""):""}function P(e){return!!e.path&&(L(e.path.split("/"))?(e.section=L(e.path.split("/")),e.type="internal",!0):(e.path=I(e.path),e.section=R(e.path),e.type="internal",!0))}function Y(e){e.section&&!isSlideshowGallery(e.section)&&(!e.isThumbClick&&isIndexSection(e.section)?G("thumbs"):"none"===STATE.overrides.thumbnailType?j("thumbs"):(e.section.isSearch||e.section.mediaItems.length>1)&&STATE.overrides.thumbnailDefaultOn&&!e.isThumbClick?G("thumbs"):e.section.mediaItems.length>1&&e.isThumbClick&&"strip"===STATE.overrides.thumbnailType&&STATE.overrides.thumbnailDefaultOn&&"displace"===STATE.overrides.thumbnailDock&&G("thumbs"),e.nothumbs&&j("thumbs"),!e.isThumbClick&&isThumbsFirst(e.section)&&0===ne&&F("thumbs")&&(ne=-1))}function R(e){var t,i=e.split("/"),n=i[0];return i[0]&&i[1]&&(t=i[0]+"/"+i[1]),t?p(t.split("/")):!!n&&p(n.split("/"))}function N(e,t){action=_(e)||w(e)||D(e)||U(e)||z(e,t),action()}function z(e,t){return e.section?(STATE.section(e.section),te=e.section,te.isSearch||(se={}),le=e.searchSubmit):e.section||e.path||(g(""),STATE.section(te)),ie=e.path,ne=e.section&&isBlogFeed(e.section.id)?firstValid(e.assetId,e.section.mediaItems.length-1):e.assetId||0,oe=e.mode,$=!!e.isMobileVideoClick,t||Y(e),C(),j("inquiry"),j("share"),function(){var i;e.section&&e.section.isSearch&&e.searchTerm?(se={},i=x()+"?search="+e.searchTerm,e.section.sortBy&&(i+="&sort="+(e.section.sortBy||"date-asc"))):e.section&&e.section.isLightbox&&STATE.lightboxHash?i=x()+"?lightbox="+STATE.lightboxHash:(se=u(ie),le=e.section&&e.section.isSearch&&se.search,i=x()),Address.setValue(i,t,!t)}}function k(e){W(e),B(),Address.setValue(x())}function B(){F("thumbs")&&/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&j("caption")}function H(e){var t=removeLinksFromMedia(te.mediaItems).length-1;isBlogFeed(te.id)&&(ne=inverseAssetId(ne,t)),isBlogFeed(te.id)?"next"===e.navDir?ne=ne>0?ne-1:0:"prev"===e.navDir&&(ne=ne0?ne-1:0:"next"===e.navDir&&(ne=USER_AGENT===MOBILE||USER_AGENT===TABLET?ne-1&&(a.footerView.updateStyle(e),a.footerView.updatePosition(e)))}function n(){USER_AGENT===MOBILE&&a.footerView.hide()}function o(){a.footerView.show()}var a=new ControllerProxy({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(LAYOUT_MODEL_CHANGE,i),a.events.addEventListener(MEDIA_MODEL_CHANGE,i),a.events.addEventListener(SETTINGS_MODEL_CHANGE,i),a.events.addEventListener(RESIZE_END,a.footerView.updatePosition),a.events.addEventListener(MENU_DOCK_CLOSE,n),a.events.addEventListener(MENU_DOCK_OPEN,o),a.events.addEventListener(SITE_URI_CHANGE,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(FOOTER_CLICK,t),a}function FooterView(e){function t(){return STATE.siteView.unifiedPageScroll()&&!LAYOUT_MODEL.copyrightPositionFixed&&STATE.footerView.zIndex>STATE.introView.zIndex?2e3:0}function i(){v=""!==STATE.copyright?[STATE.copyright].concat(csvToArray(STATE.socialLinks)):csvToArray(STATE.socialLinks);var e=0,t=v.length,i=USER_AGENT===MOBILE?"y":"x";for(p=new g("x"),m=new g(i),L.addChild(m),L.addChild(p);e0&&E()}function n(e){return/src=/.test(e.label)}function o(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 a(e){var t=o(e.label),i=new Bitmap;return i.src=SETTINGS_MODEL.cdnSslUri+"/"+t.path,i.width=t.width,i.height=t.height,i.element.style.cursor="pointer",i.customLabel=e.label.toLowerCase(),i}function r(t,i,n){var o=socialIcons[t.label.toLowerCase()],a=new e.Bitmap;return a.src=ICONS+o.filename,a.width=o.width,a.height=o.height,a.element.style.cursor="pointer",a.addEventListener(LOAD,d),a}function l(e){ switch(LAYOUT_MODEL.footerIconShape){case"standard":return e.svgStdPath;case"rectangle":return e.svgRectPath;case"circle":return e.svgCircPath}}function s(e){var t=socialIcons[e.label.toLowerCase()],i=new Svg,n=new Svg({type:"g"}),o=new Path,a=USER_AGENT===TABLET||USER_AGENT===MOBILE?1:LAYOUT_MODEL.footerIconScale;if(n.scale=a,/circle|rectangle/.test(LAYOUT_MODEL.footerIconShape)){var r=new Rect;r.rx="circle"===LAYOUT_MODEL.footerIconShape?t.bgCircRadius:t.bgRectRadius,r.width=t.width,r.height=t.height,r.fill=LAYOUT_MODEL.footerIconColor,n.addChild(r)}return o.d=l(t),o.fill="standard"===LAYOUT_MODEL.footerIconShape?LAYOUT_MODEL.footerIconColor:LAYOUT_MODEL.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 d(e){E(),L.updatePosition()}function c(e){var t=getMediaById(e);return e&&t&&t.label&&socialIcons[t.label.toLowerCase()]&&!isNaN(e)}function h(t){var i=document.createElement("span"),n=getFontData(LAYOUT_MODEL.copyrightFont);i.style.position="absolute",i.style.display="block",USER_AGENT===MOBILE&&(i.style.width=stage.width-12+"px"),i.style.fontFamily=n.family,i.style.textTransform=LAYOUT_MODEL.copyrightTextTransform||"none",i.style.fontWeight=n.weight,i.style.fontSize=LAYOUT_MODEL.copyrightFontSize.toString().replace("px","")+"px",i.style.letterSpacing=LAYOUT_MODEL.footerKerning+"px",i.innerHTML=t,i.whiteSpace=USER_AGENT===MOBILE?"normal":"nowrap",document.body.appendChild(i);var o=new e.Sprite;return o.fontFamily=LAYOUT_MODEL.copyrightFont,o.textTransform=LAYOUT_MODEL.copyrightTextTransform||"none",o.fontSize=LAYOUT_MODEL.copyrightFontSize.toString().replace("px","")+"px",o.fontColor=LAYOUT_MODEL.copyrightColor,o.letterSpacing=LAYOUT_MODEL.footerKerning,o.text=t,o.width=i.offsetWidth,o.height=i.offsetHeight,o.textWrap=USER_AGENT===MOBILE,document.body.removeChild(i),i=null,o}function u(e){this.btn.txt?Tween(this.btn.txt,UPDATE_SPEED,{fontColor:toRgba(LAYOUT_MODEL.copyrightColor,.5)}):Tween(this.btn,UPDATE_SPEED,{alpha:.5})}function T(e){this.btn.txt?Tween(this.btn.txt,UPDATE_SPEED,{fontColor:toRgba(LAYOUT_MODEL.copyrightColor,1)}):Tween(this.btn,UPDATE_SPEED,{alpha:1})}function E(){var e,t=L.children,i=t.length;for(m.layoutContent(),p.layoutContent(),f=new Tile,f.gap=0,f.axis=USER_AGENT===MOBILE?"y":"x",f.align="left",f.wrap=!1,"x"===f.axis?f.perpLength=stage.height:f.perpLength=stage.width,e=0;e0&&USER_AGENT!==MOBILE&&(m.y=p.height-m.height);var o=f.getBounds();L.transition=0,L.width=o.width,L.height=o.height}function g(e){var t=new Sprite;return t.layoutContent=function(){var i=new Tile;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?Tween(this.txt,UPDATE_SPEED,{ease:"ease-out",fontColor:toRgba(LAYOUT_MODEL.logoFontColor,.5)}):Tween(this,UPDATE_SPEED,{ease:"ease-out",alpha:.5}))}function n(e){this.txt&&this.txt.text.indexOf("-1||(this.txt?Tween(this.txt,UPDATE_SPEED,{fontColor:toRgba(LAYOUT_MODEL.logoFontColor,1)}):Tween(this,UPDATE_SPEED,{alpha:1}))}function o(){USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&r()}function a(){l()}function r(){d.logoView.style.pointerEvents="none",Tween(d.logoView,UPDATE_SPEED,{alpha:0,display:"none"})}function l(){d.logoView.updatePosition(),d.logoView.display="block",Tween.defer(d.logoView,UPDATE_SPEED,{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"};if(d.events.dispatchEvent(LOGO_CLICK,t),LAYOUT_MODEL.globalSmoothScroll){Anim.to(window,UPDATE_SPEED,{scrollY:0,ease:TOUCH_DEVICE?"outQuart":"inOutCubic"})}}}var d=new ControllerProxy({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),USER_AGENT===MOBILE?/thumbs|site/.test(LAYOUT_MODEL.mobileLogoPlacement)?d.parentView.addChild(d.logoView):e.menuController.menuView.mask.addChild(d.logoView):"menu"===LAYOUT_MODEL.logoPlacement?e.menuController.menuView.addChild(d.logoView):d.parentView.addChild(d.logoView),d.events.addEventListener(SETTINGS_MODEL_CHANGE,function(e){/intro|logo/i.test(e.id)&&(d.logoView.updateStyle(e),d.logoView.updatePosition(e))}),d.events.addEventListener(LAYOUT_MODEL_CHANGE,t),d.events.addEventListener(RESIZE_END,d.logoView.updatePosition),d.events.addEventListener(SITE_URI_CHANGE,d.logoView.updatePosition),d.events.addEventListener(MENU_DOCK_CLOSE,o),d.events.addEventListener(MENU_DOCK_OPEN,a),d.logoView.addEventListener(CLICK,s),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&(d.logoView.addEventListener(MOUSE_OVER,i),d.logoView.addEventListener(MOUSE_OUT,n)),d.show=l,d.hide=r,d}function LogoView(e){function t(){USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&(g.position=LAYOUT_MODEL.logoPositionFixed?"fixed":"absolute")}function i(e){var t=void 0===SETTINGS_MODEL.disableRightClick||SETTINGS_MODEL.disableRightClick;t&&e.preventDefault()}function n(e){g.events.dispatchEvent("OVER_LOGO")}function o(){return isPod()?firstValid(LAYOUT_MODEL.mobileLogoFontSize,LAYOUT_MODEL.logoFontSize):isPad()?firstValid(LAYOUT_MODEL.tabletLogoFontSize,LAYOUT_MODEL.logoFontSize):LAYOUT_MODEL.logoFontSize}function a(){return isPod()?firstValid(LAYOUT_MODEL.mobileLogoFontColor,LAYOUT_MODEL.logoFontColor):isPad()?firstValid(LAYOUT_MODEL.tabletLogoFontColor,LAYOUT_MODEL.logoFontColor):LAYOUT_MODEL.logoFontColor}function r(){return isPod()?firstValid(LAYOUT_MODEL.mobileLogoFont,LAYOUT_MODEL.logoFont):isPad()?firstValid(LAYOUT_MODEL.tabletLogoFont,LAYOUT_MODEL.logoFont):LAYOUT_MODEL.logoFont}function l(){return isPod()?firstValid(LAYOUT_MODEL.mobileLogoKerning,LAYOUT_MODEL.logoKerning):isPad()?firstValid(LAYOUT_MODEL.tabletLogoKerning,LAYOUT_MODEL.logoKerning):LAYOUT_MODEL.logoKerning}function s(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 d(){E=!0,setTimeout(function(){g.updatePosition(),g.events.dispatchEvent(LOGO_LOADED),Tween.defer(g.img,UPDATE_SPEED,{alpha:1}),g.events.dispatchEvent("LOGO_LOADED")},10),g.img.element.removeEventListener(LOAD,d)}var c,h,u,T,E,g=new ViewProxy({events:e.events});return USER_AGENT===MOBILE?g.textWrap=!0:g.textWrap=!1,g.zIndex=STATE.overrides.logoViewZIndex,t(),g.updateSpeed=0,g.style.pointerEvents="none",g.element.addEventListener("contextmenu",i),g.element.addEventListener("dragstart",i),g.element.setAttribute("data-identity","logo"),g.addEventListener(CHILD_ADDED,function(e){g.updatePosition(),setTimeout(function(){g.updatePosition(),g.updateSpeed=UPDATE_SPEED,g.events.dispatchEvent("LOGO_CHILD_ADDED")},500)}),g.addEventListener(MOUSE_OVER,n),g.updatePosition=function(e){if(g.zIndex=STATE.overrides.logoViewZIndex,t(),g.transition=0,g.txt)USER_AGENT!==MOBILE||/site|thumbs/.test(LAYOUT_MODEL.mobileLogoPlacement)?isPod()?(g.txt.element.style.whiteSpace="nowrap",g.width=g.txt.element.offsetWidth):g.width=g.txt.element.offsetWidth:(g.txt.width=stage.width,g.width=stage.width),g.height=g.txt.element.offsetHeight;else if(g.img&&E&&(!e||!e.action||"changeTemplate"!==e.action))if(USER_AGENT===MOBILE&&(LAYOUT_MODEL.mobileLogoWidth||LAYOUT_MODEL.mobileLogoHeight)||LAYOUT_MODEL.logoWidth||LAYOUT_MODEL.logoHeight){var i=percentToPixels(LAYOUT_MODEL.logoWidth,stage.width)||2e3,n=percentToPixels(LAYOUT_MODEL.logoHeight,stage.height)||2e3;USER_AGENT===MOBILE&&(i=percentToPixels(LAYOUT_MODEL.mobileLogoWidth,stage.width)||i,n=percentToPixels(LAYOUT_MODEL.mobileLogoHeight,stage.height)||n,i=(percentToPixels(LAYOUT_MODEL.mobileLogoWidth,stage.width)||percentToPixels(LAYOUT_MODEL.logoWidth,stage.width)||2e3)>stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width)?stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width):i,n=percentToPixels(LAYOUT_MODEL.mobileLogoHeight,stage.height)||percentToPixels(LAYOUT_MODEL.logoHeight,stage.height)||2e3);var o={type:"fit",hRange:i,vRange:n,width:u,height:T,disableOrientationCheck:!0},a=ScaleEngine(o);g.img.width=a.width,g.img.height=a.height,g.width=a.width,g.height=a.height}else if(!e||!e.action||"changeTemplate"!==e.action){var r={width:u,height:T,filename:c},l=RetinaResizeEngine(r),i=l.width;USER_AGENT===MOBILE&&(i=l.width>stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width)?stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width):i);var a=ScaleEngine({type:"fit",hRange:i,vRange:l.height,width:u,height:T,disableOrientationCheck:!0});g.img.width=a.width,g.img.height=a.height,g.width=a.width,g.height=a.height}USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&(g.element.style.transform="rotate("+(LAYOUT_MODEL.logoRotation||0)+"deg)"),Tween.defer(g,0,{x:layoutCalcs.logoView.x(g.width),y:layoutCalcs.logoView.y(g.height)})},g.updateStyle=function(t){if(t&&t.id&&/logo|layoutModelInit/i.test(t.id)){var i="",n="",m="",p="normal";if(isPod()?(i=SETTINGS_MODEL.mobileLogoFile||LAYOUT_MODEL.mobileLogoFile||"",n=SETTINGS_MODEL.mobileLogoText||LAYOUT_MODEL.mobileLogoText||"",m=SETTINGS_MODEL.mobileLogoHtml||LAYOUT_MODEL.mobileLogoHtml||"",p=firstValid(LAYOUT_MODEL.mobileLogoBlendMode,LAYOUT_MODEL.logoBlendMode,"normal"),i||n||m||(i=STATE.logoFile||LAYOUT_MODEL.logoFile||"",n=STATE.logoText||LAYOUT_MODEL.logoText||"",m=STATE.logoHtml||LAYOUT_MODEL.logoHtml||"")):isPad()?(i=SETTINGS_MODEL.tabletLogoFile||LAYOUT_MODEL.tabletLogoFile||"",n=SETTINGS_MODEL.tabletLogoText||LAYOUT_MODEL.tabletLogoText||"",m=SETTINGS_MODEL.tabletLogoHtml||LAYOUT_MODEL.tabletLogoHtml||"",p=firstValid(LAYOUT_MODEL.tabletLogoBlendMode,LAYOUT_MODEL.logoBlendMode,"normal"),i||n||m||(i=STATE.logoFile||LAYOUT_MODEL.logoFile||"",n=STATE.logoText||LAYOUT_MODEL.logoText||"",m=STATE.logoHtml||LAYOUT_MODEL.logoHtml||"")):(i=STATE.logoFile||LAYOUT_MODEL.logoFile||"",n=STATE.logoText||LAYOUT_MODEL.logoText||"",m=STATE.logoHtml||LAYOUT_MODEL.logoHtml||"",p=firstValid(LAYOUT_MODEL.logoBlendMode,"normal")),g.element.style["mix-blend-mode"]=p,c=i.indexOf("dxlogo1__at__2x.png")>-1||i.indexOf("dxlogo2__at__2x.png")>-1?CDN_PF_SSL_URI+"/media/"+i:""!==i?SETTINGS_MODEL.cdnSslUri+"/"+i:void 0,g.txt&&(g.removeChild(g.txt),g.txt=void 0),c&&c!==h)g.img&&(g.removeChild(g.img),g.img=void 0),g.img=new Bitmap,g.img.element.style["user-select"]="none",g.img.element.setAttribute("data-identity","logo"),g.img.alpha=0,g.img.element.setAttribute("class","logoImage"),s(c,function(e){u=e.width,T=e.height,h=c,g.img.element.src=c}),g.img.element.addEventListener("load",d),g.addChild(g.img),g.img.element.style.cursor="pointer";else if(!c){g.img&&(g.removeChild(g.img),g.img=void 0),c=void 0,h=void 0,E=!1,g.txt=new Sprite,g.txt.text=m.replace(/(\\*'|\\*")/g,"'")||n.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",USER_AGENT===MOBILE&&(g.txt.textAlign=LAYOUT_MODEL.mobileLogoAlignHorizontal||"left");var L=o(),f=a(),v=r(),S=l();L!==g.txt.fontSize&&(g.txt.fontSize=L),f!==g.txt.fontColor&&Tween(g.txt,e.parentController.updateSpeed,{fontColor:f}),v!==g.txt.fontFamily&&(g.txt.fontFamily=v),S!==g.txt.letterSpacing&&(g.txt.letterSpacing=S),LAYOUT_MODEL.logoTextTransform&&LAYOUT_MODEL.logoTextTransform!==g.txt.textTransform&&(g.txt.textTransform=LAYOUT_MODEL.logoTextTransform)}}},g}function SectionController(e){function t(){}function i(){M&&a(),M!==!1&&(M=void 0)}function n(){void 0===M&&(M=!0),M&&a()}function o(e){V||t(e),clearTimeout(V),n(e),V=setTimeout(function(){i(e),V=null},300)}function a(){O&&"multiple"===layoutCalcs.sectionDisplayMode&&Object.keys(O).map(function(e){return O[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(),STATE.section(e.controller.section),D.dispatchEvent("cursorAxisUpdate",getCursorAxis(STATE.overrides.transitionType)),D.dispatchEvent("updateSectionPassive",{section:e.controller.section,assetId:e.controller.getCurrentAssetId(),mode:e.controller.getCurrentMode()}))})}function r(e){return STATE.section(e),!isSlideshowGallery(e)&&STATE.overrides.thumbnailDefaultOn&&/fill|paginated|vMasonry|hMasonry/i.test(STATE.overrides.thumbnailType)&&1===LAYOUT_MODEL.overlayAlpha||isIndexSection(e)}function l(e){return isSlideshowGallery(e)?"":r(e)?"thumbs":s(e)&&d(e)?"thumbs-caption":s(e)?"thumbs":d(e)?"caption":""}function s(e){return STATE.section(e),!isSlideshowGallery(e)&&"none"!==STATE.overrides.thumbnailType&&(STATE.overrides.thumbnailDefaultOn||isIndexSection(e))&&e&&e.media&&e.media.length>1}function d(e){STATE.section(e);var t=getMediaById(e.mediaItems[0]);return t||(t={overrides:{}}),USER_AGENT!==MOBILE&&firstValid(t.overrides.captionDefault,STATE.overrides.captionDefault)}function c(e){var t=new Sprite,i=new Svg,n=new Svg({type:"g"}),o=new Path,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=O[1];if(e){var t=e.view.y-STATE.mediaView.y(e.controller.section.key);Anim.to(window,.35,{scrollY:t,ease:TOUCH_DEVICE?"outQuart":"inOutCubic"})}});var r;return t.updatePosition=function(i){clearTimeout(r),r=setTimeout(function(i){t.y=i-a-e.offsetY,t.x=.5*(stage.width-a),Tween(t,UPDATE_SPEED,{alpha:1})},50,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 h(e){return STATE.section(e),!e.hideFromUnifiedSite&&"%SPACER%"!==e.label&&e.visible&&(!!isIndexSection(e)||e.mediaItems.length)&&(!e.password.length||STATE.getPassedSection(e.id))&&(!/none|overlay|unifiedPageScrolling/.test(e.displayBehavior)||/overlay/.test(e.displayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&r(e))&&(!u(e)||e.isIndex)}function u(e){var t=getMediaById(e.media[0]);return!!t&&("link"===t.type&&!e.mediaItems.length)}function T(e){function t(){layoutCalcs.sectionDisplayMode="multiple";var t=p.media.map(getSectionById).filter(h);if("ROOT_SECTION"===p.label&&STATE.backgroundImages.length){var i=STATE.backgroundImages.filter(function(e){return!!MEDIA_MODEL[e]}),n={id:LANDING_MEDIA,key:"/",label:LANDING_MEDIA,visible:1,password:"",media:i,mediaItems:i,overrides:{captionDefault:LAYOUT_MODEL.slideshowCaptions}};t=[n].concat(t)}var o=t[0];t[1];("ROOT_SECTION"===p.label&&LAYOUT_MODEL.slideshowScrollDownIcon&&isSlideshowGallery(o)||p.scrollDownIcon||o&&o.scrollDownIcon)&&(g=c({path:svgPaths.arrow3Down,color:LAYOUT_MODEL.scrollDownIconColor||"#F2F2F2",strokeWidth:LAYOUT_MODEL.scrollDownIconStrokeWidth||1,scale:LAYOUT_MODEL.scrollDownIconScale||1,offsetY:LAYOUT_MODEL.scrollDownIconOffsetY||0,blendMode:LAYOUT_MODEL.scrollDownIconBlendMode||"normal"}),_.addChild(g)),O=t.reduce(function(i,n,o){STATE.section(n);var a=e.section===n?e:{section:n,mediaToRender:removeLinksFromMedia(n.mediaItems),path:n.key,assetId:r(n)?-1:0,asset:getMediaById(n.mediaItems[0]),mode:l(n),info:{isSectionChange:!0,isAssetChange:!0,isModeChange:!1,isLandingMedia:isSlideshowGallery(n),mediaViewState:isSlideshowGallery(n)?"landingMedia":"mediaView",isDeepLink:!1,isMediaViewStateChange:!0,isIntroGallery:n.isIntroGallery,flickSpeed:.35,lastUri:"/",isThumbsFirst:r(n),isMobileVideoClick:!1,isBlog:isBlogFeed(n.id)}};layoutCalcs.updateSectionState(n.key,{assetId:a.assetId,mode:a.mode});var s=new U(D,_,null,{position:o,length:t.length});return s.controller.mediaView.element.id=n&&n.key||"section:"+o,layoutCalcs._uriState=a,s.controller.build(a),i.concat(s)},[]),window.addEventListener("scroll",E)}function i(e){clearTimeout(L),L=setTimeout(function(){var t=0,i=getMarginOverlap()||0,n=O[0].controller.section;STATE.section(n);var o=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),a=o;if(isFillSiteSlideshow(n))a=0;else if(/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal){var r=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height);a=o+r-i}var l=a||0,s=0;O.forEach(function(e,i,n){STATE.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=stage.width,e.view.height=r,e.view.mask.x=STATE.mediaView.x(),e.view.container.y=0,e.view.mask.transition=0,e.view.mask.width=STATE.mediaView.width(),e.view.mask.height=r}),layoutCalcs.mediaModules=O,layoutCalcs.mediaViewsHeight=t,_.totalHeight=t,_.height=STATE.siteView.height(),g&&g.updatePosition(O[0].view.height),d(A,e)},500)}function n(){}function o(){T(),t()}function a(e){STATE.section(e.controller.section);var t=e.view.y-STATE.mediaView.y(e.controller.section.key);if(e===O[0])t=0;else{document.getElementsByClassName("SiteView")[0]}window.scrollTo(0,t)}function s(e){STATE.section(e.controller.section);var t=e.view.y-STATE.mediaView.y(e.controller.section.key);e===O[0]&&(t=0),Anim.to(window,.35,{scrollY:t,ease:TOUCH_DEVICE?"outQuart":"inOutCubic"})}function d(e,t){if(m){var i=O.filter(function(t){return e.path===t.controller.section.key})[0];i||(i=O[0]),e.info.isParentSectionChange||t?a(i):e.info.isSectionChange?s(i):e.info.isModeChange&&s(i),t&&!e.info.isParentSectionChange||i.controller.navigate(e),m=!1}}function u(e,t){m=!0;var n=O.filter(function(t){return e.path===t.controller.section.key})[0];n||(n=O[0]);var o=n.controller.state.mode!==e.mode;t&&!e.info.isParentSectionChange||n.controller.navigate(e),o&&i(t),D.dispatchEvent("cursorAxisUpdate",n.controller.cursorAxis)}function T(){O.forEach(function(e){e.controller.destroy()}),window.removeEventListener("scroll",E),g&&_.removeChild(g)}function E(){clearTimeout(f),f=setTimeout(function(){O.forEach(function(e){e.view.lazyLoader&&e.view.lazyLoader.update(),e.controller.overlayController&&e.controller.overlayController.lazyLoaderUpdate()})},10)}var g,m,p=e.parentSection;t();var L,f;return{type:"unified",layout:i,uriChange:u,modelChange:o,scrollTo:d,transition:n,destroy:T}}function E(){function e(e){clearTimeout(a),a=setTimeout(function(){var t=r.getTotalHeight();STATE.section(l.section),Tween(l,0,{x:STATE.mediaView.x(),y:STATE.mediaView.y(l.section.key),width:STATE.mediaView.width(),height:t});var i="none"===STATE.overrides.siteDisplayBehavior&&/vScroll/.test(STATE.overrides.transitionType)?STATE.mediaView.zoneHeight():l.container.boundsHeight;l.container.height=i,Tween(l.mask,0,{width:STATE.mediaView.width(),height:i}),layoutCalcs._mediaContentHeight=t,l.lazyLoader&&l.lazyLoader.update(),"function"==typeof e&&setTimeout(e,500)},20)}function t(){}function i(e,t,i){t||r.navigate(e,i)}function n(){Tween(l.container,UPDATE_SPEED,{backgroundColor:STATE.mediaView.backgroundColor()}),e(),r.destroyStaticNav(),r.createStaticNav()}layoutCalcs.sectionDisplayMode="single";var o=new U(D,_);C=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 g(){function e(){var e=r.getTotalHeight();STATE.section(l.section),l.x=0,l.y=0,l.width=stage.width,l.height=stage.height,l.mask.width=STATE.mediaView.width(),l.mask.height=STATE.mediaView.contentHeight(),layoutCalcs._mediaContentHeight=e,l.lazyLoader&&l.lazyLoader.update()}function t(){}function i(e){r.navigate(e)}function n(){STATE.section(l.section),Tween(l.container,UPDATE_SPEED,{backgroundColor:STATE.mediaView.backgroundColor()}),e(),r.destroyStaticNav(),r.createStaticNav()}layoutCalcs.lastSectionDisplayMode=layoutCalcs.sectionDisplayMode,layoutCalcs.sectionDisplayMode=/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)?"multiple":"single";var o=!0,a=new U(D,_,o);C=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 m(e){D.removeEventListener(RESIZE_END,function(){I(e.layout)}),D.removeEventListener("UPDATE_CONTENT_HEIGHT",function(){I(e.layout)}),D.removeEventListener(LAYOUT_MODEL_CHANGE,e.modelChange),D.removeEventListener(SECTIONS_MODEL_CHANGE,e.modelChange),D.removeEventListener(SETTINGS_MODEL_CHANGE,function(t){/backgroundimages|template|staging/.test(t.id)&&e.modelChange()}),D.removeEventListener("mediaOverlayClose",function(){x&&STATE.section(x.section),b?D.dispatchEvent("updateSectionPassive",{section:x.section,assetId:x.assetId,mode:x.mode}):D.dispatchEvent(ADDRESS_SECTION_CHANGE,{type:"internal",path:"",target:"_self"})})}function p(e){D.addEventListener(RESIZE_END,function(){I(e.layout)}),D.addEventListener("UPDATE_CONTENT_HEIGHT",function(){I(e.layout)}),D.addEventListener(LAYOUT_MODEL_CHANGE,e.modelChange),D.addEventListener(SECTIONS_MODEL_CHANGE,e.modelChange),D.addEventListener(SETTINGS_MODEL_CHANGE,function(t){/backgroundimages|template|staging/.test(t.id)&&e.modelChange()}),D.addEventListener("mediaOverlayClose",function(){x&&STATE.section(x.section),b?D.dispatchEvent("updateSectionPassive",{section:x.section,assetId:x.assetId,mode:x.mode}):D.dispatchEvent(ADDRESS_SECTION_CHANGE,{type:"internal",path:"",target:"_self"})})}function L(e){A=e;var t=!1;if(STATE.section(e.section),/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior))y&&y.module.view.close(function(){y&&y.destroy(),y=null}),b?e.info.isParentSectionChange||b&&"legacy"===b.type||e.info.isPasswordSection||e.info.isSearchSubmit?(b&&(m(b),b.destroy()),b=T(e),p(b),t=!0,b.uriChange(e,t),b.layout(t)):e.info.isModeChange?(b.uriChange(e,t),b.layout(t)):(b.uriChange(e,t),b.scrollTo(e,t)):(b=T(e),p(b),t=!0,b.uriChange(e,t),b.layout(t));else if(!/overlay/.test(STATE.overrides.siteDisplayBehavior)||STATE.overrides.siteDisplayGalleryOnlyOverlay&&r(e.section)&&/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(e.mode))if(y&&y.module.view.close(function(){y&&y.destroy(),y=null}),e.info.isSectionChange||!b||b&&"unified"===b.type){b&&(m(b),b.destroy()),b=E(),p(b),b.module.controller.build(e),t=!0;b.layout(function(){})}else e.info.isModeChange?(b.uriChange(e,t),b.layout()):b&&b.uriChange(e,t);else y&&(e.info.isSectionChange||e.section.id!==y.module.view.section.id)&&(m(y),y.destroy(),y=null),y||(x=e.prevState,y=g(),p(y),t=!0,y.module.controller.build(e)),y.uriChange(e,t),y.layout(),y.module.view.open(),w=layoutCalcs.sectionDisplayMode}function f(e,t){return e.key===t.section.key}function v(e){if(/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior))O&&Object.keys(O).map(function(e){return O[e]}).forEach(function(t){var i;if(f(t.controller.section,e)&&(STATE.section(t.controller.section),!/fill|vMasonry|hMasonry/.test(STATE.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(C){if(STATE.section(C.controller.section),!/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)||!/thumbs/.test(e.mode))var t=C.view.container.children[e.assetId],i=t?t.id:void 0;C.events.dispatchEvent("spacebarTogglePlay",i)}}function S(e){if(/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior))O&&Object.keys(O).map(function(e){return O[e]}).forEach(function(t){var i;if(f(t.controller.section,e)&&(STATE.section(t.controller.section),(!/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)||!/thumbs/.test(e.mode))&&STATE.mediaView.videoAutoPlay())){var n=t.view.container.children[e.assetId];i=n?n.id:void 0}t.events.dispatchEvent("mediaAutoPlay",i)});else if(C){if(STATE.section(C.controller.section),(!/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)||!/thumbs/.test(e.mode))&&STATE.mediaView.videoAutoPlay())var t=C.view.container.children[e.assetId],i=t?t.id:void 0;C.events.dispatchEvent("mediaAutoPlay",i)}}var O,C,A,b,y,M,w,_=e.parentView,D=e.siteControllerEvents,U=e.MediaModule,x={};/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)&&window.addEventListener("scroll",o);var V,I=createDebounce(50);D.addEventListener("autoplayTarget",S),D.addEventListener("spacebarPlay",v),D.addEventListener(SITE_URI_CHANGE,L),D.addEventListener(LAYOUT_MODEL_CHANGE,function(e){/siteDisplayBehavior|transitionType/.test(e.id)&&b&&(m(b),b.destroy(),STATE.section(A.section),"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?b=T(A):(b=E(),b.module.controller.build(A)),p(b),built=!0,b.layout())}),D.addEventListener(SECTIONS_MODEL_CHANGE,function(){b&&(m(b),b.destroy(),STATE.section(A.section),"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?b=T(A):(b=E(),b.module.controller.build(A)),p(b),built=!0,b.layout())})}function MediaNavigation(e){function t(e){1===y.assetId&&"right"===e.swipeDirection?w.touchNav&&(w.touchNav.disabled=!0):w.touchNav&&(w.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",C.dispatchEvent(ADDRESS_ASSET_CHANGE,e)):l():e.isMove&&/left|right/.test(e.swipeDirection)&&l()}function i(){v||r(),"mSlide"!==S||w.touchNav||a(),v(y.assetId),/scroll/i.test(S)||l()}function n(){return 0===y.assetId}function o(){return y.assetId===csvToArray(y.section.media).length-1}function a(){w.touchNav=new TouchNavMobile({events:C,mediaViewContainer:b}),w.touchNav.section=y.section&&y.section.key||"no section"}function r(){STATE.section(y.section),A.scroll&&(A.scroll.destroy(),A.scroll=null),S=STATE.overrides.transitionType;var t="fade"===S||"mSlide"===S?"fade":"default",i=A.container,n=A.mask;A.lazyLoader=new LazyLoader(i,n,{type:t,property:"translate"}),A.lazyLoader.name="mediaView",L&&"function"==typeof L.destroy&&L.destroy(),C.dispatchEvent("cursorAxisUpdate",getCursorAxis(S));var o=STATE.mediaView.transitionDuration();switch(S){case"fade":f=new FadeLayout({siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C}),L=new FadeTransition({transitionDuration:o,siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C});break;case"hSlide":f=new SlideLayoutHorizontal({siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C}),L=new SlideTransitionHorizontal({transitionDuration:o,mediaView:A,mediaViewContainer:b,localEvents:C});break;case"vSlide":f=new SlideLayoutVertical({siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C}),L=new SlideTransitionVertical({transitionDuration:o,siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C});break;case"hScroll":f=new ScrollLayoutHorizontal({siteView:e.siteView,mediaView:A,localEvents:C}),L=new ScrollTransitionHorizontal({transitionDuration:o,siteView:e.siteView,mediaView:A,localEvents:C});break;case"hScrollNC":f=new ScrollLayoutHorizontalNoCrop({siteView:e.siteView,mediaView:A,localEvents:C}),L=new ScrollTransitionHorizontalNoCrop({transitionDuration:o,siteView:e.siteView,mediaView:A,localEvents:C});break;case"vScroll":f=new ScrollLayoutVertical({siteView:e.siteView,mediaView:A,localEvents:C}),L=new ScrollTransitionVertical({transitionDuration:o,siteView:e.siteView,mediaView:A,localEvents:C});break;case"vScrollNC":f=new ScrollLayoutVerticalNoCrop({siteView:e.siteView,mediaView:A,localEvents:C}),L=new ScrollTransitionVerticalNoCrop({transitionDuration:o,siteView:e.siteView,mediaView:A,localEvents:C});break;case"grid":f=new GridLayout({siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C}),L=new GridTransition({transitionDuration:o,siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C});break;case"mSlide":f=new MobileSlideLayout({siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C}),L=new MobileSlideTransition({transitionDuration:o,siteView:e.siteView,mediaView:A,mediaViewContainer:b,localEvents:C});break;case"vScrollStatic":f=new StaticVLayout({siteView:e.siteView,mediaView:A,localEvents:C}),L=new StaticVTransition}v=function(){STATE.section(y.section),f(y.assetId)}}function l(){var e=isPod()||isPad()?0:.85;1===stage.zoom&&(y.mediaToRender&&y.mediaToRender.length>y.assetId&&L?y.assetId>-1&&L(y.assetId,e):L&&L(0,e))}function s(e){L(e,0)}function d(){1===stage.zoom&&isAppleMobile()&&!STATE.podUseDesktop&&window.scrollTo(1,0),v&&v(y.assetId),y.mediaToRender&&y.mediaToRender.length>0&&y.assetId>-1&&(L||r(),"mSlide"!==S||w.touchNav||a(),/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||s(y.assetId)),O=!1,A&&A.lazyLoader&&A.lazyLoader.update()}function c(e){O=!0}function h(e){u(e),m()}function u(){r(),"mSlide"!==S||w.touchNav||a(),v(y.assetId)}function T(e){"siteDisplayBehavior"===e.id&&r(),"mSlide"!==S||w.touchNav||a(),v&&v(y.assetId)}function E(e,t){return e.key===t.section.key}function g(e){clearTimeout(_),_=setTimeout(function(){M=e.id,y&&E(A.section,y)&&(y.assetId=e.id)},200)}function m(){b.transition=0,Math.abs(b.translateX)>0&&(b.translateX=0),Math.abs(b.translateY)>0&&(b.translateY=0),b.x=0,b.y=0;var e=STATE.mediaView.backgroundColor();Tween(b,UPDATE_SPEED,{backgroundColor:e})}function p(){L&&L.destroy&&L.destroy(),v=void 0,L=void 0,C.removeEventListener(LAYOUT_MODEL_CHANGE,T),C.removeEventListener(SECTIONS_MODEL_CHANGE,T),C.removeEventListener(LAYOUT_MODEL_CHANGE,T),C.removeEventListener(RESIZE,d),C.removeEventListener(ORIENTATION_CHANGE,c),C.removeEventListener("layoutMediaView",h),C.removeEventListener("mediaSizeUpdate",i),C.removeEventListener("MEDIA_HEIGHT_CHANGE",i),C.removeEventListener("assetReset",l),C.removeEventListener(TOUCH_NAVIGATION_END,t),C.removeEventListener("ScrollTransition/updateAssetId",g), A.scroll&&A.scroll.destroy(),w.touchNav&&w.touchNav.destroy(),w.touchNav=null,A.scroll=null}var L,f,v,S,O,C=e.localEvents,A=e.mediaView,b=e.mediaView.container,y={assetId:0},M=0,w=this;C.addEventListener("layoutMediaView",h),C.addEventListener(SECTIONS_MODEL_CHANGE,T),C.addEventListener(LAYOUT_MODEL_CHANGE,T),C.addEventListener(RESIZE,d),C.addEventListener(ORIENTATION_CHANGE,c),C.addEventListener("mediaSizeUpdate",i),C.addEventListener("MEDIA_HEIGHT_CHANGE",i),C.addEventListener("assetReset",l),C.addEventListener(TOUCH_NAVIGATION_MOVE,function(e){n()&&"prev"===e&&w.touchNav&&(w.touchNav.disabled=!0)}),C.addEventListener(MENU_DOCK_CLOSE,function(e){w.touchNav&&(w.touchNav.disabled=!1)}),C.addEventListener(TOUCH_NAVIGATION_END,t),C.addEventListener("ScrollTransition/updateAssetId",g),this.init=function(e){y=e,b.transition=0,b.alpha=0,v||r(),"mSlide"!==S||w.touchNav||a(),v(y.assetId),setTimeout(function(){Tween(b,STATE.mediaView.transitionDuration(),{alpha:1})},1e3)},this.updateState=function(e){y=e},this.uriChange=function(e,t){y=e,STATE.section(y.section);var i=b.children.length>0;if(y.mediaToRender&&i){if(t||(y.mode.indexOf("thumbs")!==-1&&y.assetId===-1&&(b.transition=0,b.alpha=0),y.assetId>-1&&(y.info.isDeeplink?s(y.assetId):STATE.siteView.unifiedPageScroll()&&y.info.isModeChange&&/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(y.mode)?(b.transition=0,b.alpha=0,setTimeout(function(){Tween(b,STATE.mediaView.transitionDuration(),{alpha:1})},1e3*UPDATE_SPEED+10)):y.info.isModeChange&&/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(y.info.lastUri)?(b.transition=0,b.alpha=0,STATE.siteView.unifiedPageScroll()?setTimeout(function(){s(y.assetId),Tween(b,STATE.mediaView.transitionDuration(),{alpha:1})},1e3*UPDATE_SPEED+10):(s(y.assetId),setTimeout(function(){Tween(b,STATE.mediaView.transitionDuration(),{alpha:1})},500*UPDATE_SPEED))):y.info.isModeChange&&/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(y.mode)||(L||r(),"mSlide"!==S||w.touchNav||a(),w.touchNav?(1!==stage.zoom||USER_AGENT!==MOBILE||STATE.podUseDesktop||A.mask.element.scrollTo(0,0),Tween(b,STATE.mediaView.transitionDuration(),{alpha:1}),L(y.assetId,y.info.flickSpeed,w.touchNav.swipeDirection)):y.info.isSectionChange?(b.transition=0,L(y.assetId,y.info.flickSpeed),setTimeout(function(){Tween(b,STATE.mediaView.transitionDuration(),{alpha:1})},1e3*UPDATE_SPEED+10)):(Tween(b,STATE.mediaView.transitionDuration(),{alpha:1}),L(y.assetId,y.info.flickSpeed))))),y.assetId>-1&&(!/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)||!/thumbs/.test(e.mode))&&STATE.mediaView.videoAutoPlay()){var n=b.children[y.assetId]&&b.children[y.assetId].id;C.dispatchEvent("mediaAutoPlay",n)}else if(!(/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(e.mode)||USER_AGENT!==MOBILE)){var n=b.children[y.assetId]&&b.children[y.assetId].id,o=MEDIA_MODEL[n];o&&"video"===o.type&&0!==o.content.indexOf("vimeo")&&STATE.mediaView.videoAutoPlay()&&C.dispatchEvent("mediaAutoPlay",n)}y.assetId>-1&&b.children[y.assetId]&&"html"===b.children[y.assetId].type&&C.dispatchEvent(PAGE_LOADED),w.touchNav&&(w.touchNav.assetId=e.assetId)}};var _;return this.destroy=p,w}function MediaSlideshow(e){function t(e){var t=v.children[O];"image"===t.type?setTimeout(function(){m||d(),m(O),g.resume()},1e3):"video"===t.type&&(m||d(),t.autoPlay(),setTimeout(function(){m(O)},1e3))}function i(e){var t=v.children[O];return t&&getMediaById(t.id)}function n(){O=0,m(O),L.dispatchEvent("siteAnchorCaptionUpdate",i(O)),L.dispatchEvent("showCaption",C)}function o(){O=r(),C.assetId=O;var e=v.children[O];isLogin?(m(O),g.pause()):"video"===e.type&&e.loaded?(g.pause(),e.autoPlay(),setTimeout(function(){m(O)},350)):"video"===e.type?(g.pause(),e.addEventListener(MEDIA_LOADED,t),e.autoPlay()):/html/.test(e.type)?m(O):/image/.test(e.type)&&e.loaded?m(O):/image/.test(e.type)&&!e.loaded&&(g.pause(),e.addEventListener(MEDIA_LOADED,t)),L.dispatchEvent("siteAnchorCaptionUpdate",i(O)),LAYOUT_MODEL.slideshowCaptions?L.dispatchEvent("showCaption",C):L.dispatchEvent("hideCaption",C),f.lazyLoader.update()}function a(e){g.resume(),o()}function r(){return O1||"video"===o.type)?(g&&g.destroy(),s()):n()}},L.addEventListener("playbackEnd",a),this.destroy=function(){p=void 0,m=void 0,L.removeEventListener(LAYOUT_MODEL_CHANGE,T),L.removeEventListener(RESIZE,c),L.removeEventListener("layoutMediaView",h),L.removeEventListener(SETTINGS_MODEL_CHANGE,E),L.removeEventListener("mediaSizeUpdate",u),L.removeEventListener("assetReset",l),g&&g.destroy()},d()}function MediaView(e){function t(e){n()}function i(e){n()}function n(){d.section&&STATE.section(d.section),Tween(l,UPDATE_SPEED,{backgroundColor:STATE.mediaView.backgroundColor()})}function o(e){l.removeChildren(l);for(var t=0,i=e.length;ti.v&&(r=i.v),e.height=r+t.top+t.bottom}e.updatePosition()}var n=e.mediaViewContainer,o=e.localEvents,a=e.mediaView;return t}function FadeTransition(e){function t(e,t){t=void 0!==t?t:a;var l=0,s=i.children,d=s.length;for(n.dispatchEvent(TRANSITION_START);li.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var n=Tile,o=e.mediaViewContainer,a=e.localEvents,r=e.mediaView;return t}function GridTransition(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:TOUCH_DEVICE?"easeOutQuart":"easeInOutCubic",complete:function(){n.dispatchEvent(TRANSITION_END),setTimeout(function(){o.lazyLoader&&o.lazyLoader.update()},360)}})}}var i=e.mediaViewContainer,n=e.localEvents,o=e.mediaView,a=e.transitionDuration;return n.dispatchEvent(TRANSITION_START),t.destroy=function(){},t}function ScrollLayoutHorizontal(e){function t(e,t){return e.contentHeight&&1===t}function i(e){var i=new o;i.gap=0,i.axis="x",i.align="left",i.wrap=!1,i.perpLength=STATE.mediaView.height(a.section.key),a.section&&STATE.section(a.section);var s=STATE.mediaView.height(a.section.key),d=a.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);d&&(s=layoutCalcs.getMaxScrollSectionHeight(a));for(var c=0,h=l.children,u=h.length;ci.v&&(r=i.v),e.height=r+t.top+t.bottom}else e.height=STATE.mediaView.height()}e.updatePosition()}var o=Tile,a=e.mediaView,r=e.localEvents,l=a.container,s=a.mask;if("native"===STATE.overrides.imageVideoScrollType)s.element.style.overflowY="hidden",s.element.style.overflowX="scroll";else if(MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.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:STATE.overrides.imageVideoScrollbarColor,hover:STATE.overrides.imageVideoScrollbarHover,side:STATE.overrides.imageVideoScrollbarAlignment,alpha:STATE.overrides.imageVideoScrollbarBgTransparency,width:STATE.overrides.imageVideoScrollbarWidth,offsetX:STATE.overrides.imageVideoScrollbarHorizontalOffset,offsetY:STATE.overrides.imageVideoScrollbarVerticalOffset,topPad:0,property:"translate",zIndex:STATE.mediaView.zIndex,rounded:STATE.overrides.imageVideoScrollbarRounded,visibility:STATE.overrides.imageVideoScrollbarVisibility};("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.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 Scroll(l,s,d)}return i}function ScrollTransitionHorizontal(e){function t(e,t){T=e;var t=void 0!==t?t:f;L.dispatchEvent(TRANSITION_START);var a=m.children[e];if(a){var r=a.x,l=a.y,s=o(e,m.children.length);p.width=STATE.mediaView.width();var d=AlignEngine({width:a.width,hRange:p.width,hAlign:s});if(r=a.x-d.x,u=!0,c=!1,g.scroll){var h=m.width-p.width,v=r/h;g.scroll.percent=v,g.scroll.bar.moveHandle(STATE.mediaView.transitionDuration()),Tween(m,t,{translateX:-r,translateY:-l,ease:TOUCH_DEVICE?EASE.quart.out:EASE.cubic.inOut,onComplete:function(){c=void 0,L.dispatchEvent(TRANSITION_END),setTimeout(function(){u=!1,g.lazyLoader&&g.lazyLoader.update()},360)}})}else t?(E&&E.kill(),E=Anim.to(p,t,{scrollLeft:r,scrollTop:l,ease:TOUCH_DEVICE?"outQuart":"inOutCubic",onComplete:function(){c=void 0,L.dispatchEvent(TRANSITION_END),setTimeout(function(){u=!1,g.lazyLoader&&g.lazyLoader.update()},310)}})):setTimeout(function(){p.scrollLeft=r,p.scrollTop=l,c=void 0,L.dispatchEvent(TRANSITION_END),setTimeout(function(){u=!1,g.lazyLoader&&g.lazyLoader.update()},310)},10);c?n():i(e)}}function i(e){for(var t=m.children.length;t--;){var i=m.children[t],n=void 0===e||!isNaN(e)&&e===t?1:STATE.overrides.imageVideoInactiveAlpha;Tween(i,STATE.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=m.children.length;e--;)Tween(m.children[e],STATE.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return 0===e?"left":e===t-1?"right":STATE.mediaView.hAlign()}function a(){for(var e=m.children.length;e--;){var t=m.children[e],i=.5*p.width;g.scroll?-m.translateX+i>=t.x&&-m.translateX+i<=t.x+t.width&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):p.scrollLeft+i>=t.x&&p.scrollLeft+i<=t.x+t.width&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){L.dispatchEvent("mediaScrollStart"),c!==!1&&L.dispatchEvent("pauseMedia"),u?i(T):n()}function l(e){c&&a(),c!==!1&&(c=void 0)}function s(e){void 0===c&&(c=!0),g.lazyLoader&&g.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,T,E,g=e.mediaView,m=g.container,p=g.mask,L=e.localEvents,f=e.transitionDuration;return g.scroll?(g.scroll.addEventListener("scrollStop",l),g.scroll.addEventListener("scrollStart",r),g.scroll.addEventListener(SCROLL,s)):p.element.addEventListener("scroll",d),t.destroy=function(){g.scroll?(g.scroll.removeEventListener("scrollStop",l),g.scroll.removeEventListener("scrollStart",r),g.scroll.removeEventListener(SCROLL,s)):p.element&&p.element.removeEventListener("scroll",d)},t}function ScrollLayoutHorizontalNoCrop(e){function t(e){var t=new n;t.gap=0,t.axis="x",t.align="left",t.wrap=!1,t.perpLength=STATE.mediaView.height(o.section.key),o.section&&STATE.section(o.section);var l=0,s=r.children,d=s.length,c=STATE.mediaView.height(o.section.key),h=o.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(h&&(c=layoutCalcs.getMaxScrollSectionHeight(o));li.v&&(r=i.v),e.height=r+t.top+t.bottom}else e.height=STATE.mediaView.height()}e.updatePosition()}var n=Tile,o=e.mediaView,a=e.localEvents,r=o.container,l=o.mask;if("native"===STATE.overrides.imageVideoScrollType)l.element.style.overflowY="hidden",l.element.style.overflowX="scroll";else if(MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.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:STATE.overrides.imageVideoScrollbarColor,hover:STATE.overrides.imageVideoScrollbarHover,side:STATE.overrides.imageVideoScrollbarAlignment,alpha:STATE.overrides.imageVideoScrollbarBgTransparency,width:STATE.overrides.imageVideoScrollbarWidth,offsetX:STATE.overrides.imageVideoScrollbarHorizontalOffset,offsetY:STATE.overrides.imageVideoScrollbarVerticalOffset,topPad:0,property:"translate",zIndex:STATE.mediaView.zIndex,rounded:STATE.overrides.imageVideoScrollbarRounded,visibility:STATE.overrides.imageVideoScrollbarVisibility};("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.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 Scroll(r,l,s)}return t}function ScrollTransitionHorizontalNoCrop(e){function t(e,t){T=e;var t=void 0!==t?t:f;L.dispatchEvent(TRANSITION_START);var a=m.children[e];if(a){var r=a.x,l=a.y,s=o(e,m.children.length);p.width=STATE.mediaView.width();var d=AlignEngine({width:a.width,hRange:p.width,hAlign:s});if(r=a.x-d.x,u=!0,c=!1,g.scroll){var h=m.width-p.width,v=r/h;g.scroll.percent=v,g.scroll.bar.moveHandle(STATE.mediaView.transitionDuration()),Tween(m,t,{translateX:-r,translateY:-l,ease:TOUCH_DEVICE?EASE.quart.out:EASE.cubic.inOut,onComplete:function(){c=void 0,L.dispatchEvent(TRANSITION_END),setTimeout(function(){u=!1,g.lazyLoader&&g.lazyLoader.update()},360)}})}else t?(E&&E.kill(),E=Anim.to(p,t,{scrollLeft:r,scrollTop:l,ease:TOUCH_DEVICE?"outQuart":"inOutCubic",onComplete:function(){c=void 0,L.dispatchEvent(TRANSITION_END),setTimeout(function(){u=!1,g.lazyLoader&&g.lazyLoader.update()},310)}})):setTimeout(function(){p.scrollLeft=r,p.scrollTop=l,c=void 0,L.dispatchEvent(TRANSITION_END),setTimeout(function(){u=!1,g.lazyLoader&&g.lazyLoader.update()},310)},10);u?i(e):n()}}function i(e){for(var t=m.children.length;t--;){var i=m.children[t],n=void 0===e||!isNaN(e)&&e===t?1:STATE.overrides.imageVideoInactiveAlpha;Tween(i,STATE.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=m.children.length;e--;)Tween(m.children[e],STATE.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return 0===e?"left":e===t-1?"right":STATE.mediaView.hAlign()}function a(){for(var e=m.children.length;e--;){var t=m.children[e],i=.5*p.width;g.scroll?-m.translateX+i>=t.x&&-m.translateX+i<=t.x+t.width&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):p.scrollLeft+i>=t.x&&p.scrollLeft+i<=t.x+t.width&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){L.dispatchEvent("mediaScrollStart"),c!==!1&&L.dispatchEvent("pauseMedia"),u?i(T):n()}function l(e){c&&a(),c!==!1&&(c=void 0)}function s(e){void 0===c&&(c=!0),g.lazyLoader&&g.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,T,E,g=e.mediaView,m=g.container,p=g.mask,L=e.localEvents,f=e.transitionDuration;return g.scroll?(g.scroll.addEventListener("scrollStop",l),g.scroll.addEventListener("scrollStart",r),g.scroll.addEventListener(SCROLL,s)):p.element.addEventListener("scroll",d),t.destroy=function(){g.scroll?(g.scroll.removeEventListener("scrollStop",l),g.scroll.removeEventListener("scrollStart",r),g.scroll.removeEventListener(SCROLL,s)):p.element&&p.element.removeEventListener("scroll",d)},t}function ScrollLayoutVertical(e){function t(e){clearTimeout(d),d=setTimeout(function(){var t=new n;t.gap=0,t.axis="y",t.align="left",t.wrap=!1,t.perpLength=STATE.mediaView.width(),t.name="vScroll",o.section&&STATE.section(o.section);for(var l=0,s=r.children,d=s.length;lSTATE.mediaView.zoneHeight(g.section.key)&&USER_AGENT!==MOBILE?i(e):n()}},"Firefox"===BROWSER_NAME?1e3:300)}function i(e){for(var t=m.children.length;t--;){var i=m.children[t],n=void 0===e||!isNaN(e)&&e===t?1:STATE.overrides.imageVideoInactiveAlpha;Tween(i,STATE.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=m.children.length;e--;)Tween(m.children[e],STATE.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return isBlogFeed(g.section.id)?"top":0===e?"top":e===t-1?"bottom":STATE.mediaView.vAlign()}function a(){for(var e=m.children.length;e--;){var t=m.children[e],i=.5*p.height;g.scroll?-m.translateY+i>=t.y&&-m.translateY+i<=t.y+t.height&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):STATE.siteView.unifiedPageScroll()?window.scrollY+.5*window.innerHeight>=t.absY&&window.scrollY+.5*window.innerHeight<=t.absY+t.height&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):p.scrollTop+i>=t.y&&p.scrollTop+i<=t.y+t.height&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){L.dispatchEvent("mediaScrollStart"),c!==!1&&L.dispatchEvent("pauseMedia"),u?i(T):n()}function l(e){c&&!u&&a(),c!==!1&&(c=void 0)}function s(e){void 0!==c||u||(c=!0),g.lazyLoader&&g.lazyLoader.update(),c&&!u&&a()}function d(e){h||r(e),clearTimeout(h),s(e),h=setTimeout(function(){l(e),h=null},300)}var c,h,u,T,E,g=e.mediaView,m=g.container,p=g.mask,L=e.localEvents,f=e.transitionDuration;return g.scroll?(g.scroll.addEventListener("scrollStop",l),g.scroll.addEventListener("scrollStart",r),g.scroll.addEventListener(SCROLL,s)):STATE.siteView.unifiedPageScroll()?window.addEventListener("scroll",d):p.element.addEventListener("scroll",d),t.destroy=function(){g.scroll?(g.scroll.removeEventListener("scrollStop",l),g.scroll.removeEventListener("scrollStart",r),g.scroll.removeEventListener(SCROLL,s)):STATE.siteView.unifiedPageScroll()?window.removeEventListener("scroll",d):p.element&&p.element.removeEventListener("scroll",d)},t}function ScrollLayoutVerticalNoCrop(e){function t(e){clearTimeout(d),d=setTimeout(function(){var t=new n;t.gap=0,t.axis="y",t.align="left",t.wrap=!1,t.perpLength=STATE.mediaView.width(),o.section&&STATE.section(o.section);for(var l=0,s=r.children,d=s.length;lSTATE.mediaView.zoneHeight(g.section.key)?i(e):n()}},"Firefox"===BROWSER_NAME?1e3:300)}function i(e){for(var t=m.children.length;t--;){var i=m.children[t],n=void 0===e||!isNaN(e)&&e===t?1:STATE.overrides.imageVideoInactiveAlpha;Tween(i,STATE.mediaView.transitionDuration(),{alpha:n})}}function n(){for(var e=m.children.length;e--;)Tween(m.children[e],STATE.mediaView.transitionDuration(),{alpha:1})}function o(e,t){return isBlogFeed(g.section.id)?"top":0===e?"top":e===t-1?"bottom":STATE.mediaView.vAlign()}function a(){for(var e=m.children.length;e--;){var t=m.children[e],i=.5*p.height;g.scroll?-m.translateY+i>=t.y&&-m.translateY+i<=t.y+t.height&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):STATE.siteView.unifiedPageScroll()?window.scrollY+.5*window.innerHeight>=t.absY&&window.scrollY+.5*window.innerHeight<=t.absY+t.height&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):p.scrollTop+i>=t.y&&p.scrollTop+i<=t.y+t.height&&L.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){L.dispatchEvent("mediaScrollStart"),c!==!1&&L.dispatchEvent("pauseMedia"),u?i(T):n()}function l(e){c&&!u&&a(),c!==!1&&(c=void 0)}function s(e){void 0!==c||u||(c=!0),g.lazyLoader&&g.lazyLoader.update(),c&&!u&&a()}function d(e){h||r(e),clearTimeout(h),s(e),h=setTimeout(function(){l(e),h=null},300)}var c,h,u,T,E,g=e.mediaView,m=g.container,p=g.mask,L=e.localEvents,f=e.transitionDuration;return g.scroll?(g.scroll.addEventListener("scrollStop",l),g.scroll.addEventListener("scrollStart",r),g.scroll.addEventListener(SCROLL,s)):STATE.siteView.unifiedPageScroll()?window.addEventListener("scroll",d):p.element.addEventListener("scroll",d),t.destroy=function(){g.scroll?(g.scroll.removeEventListener("scrollStop",l),g.scroll.removeEventListener("scrollStart",r),g.scroll.removeEventListener(SCROLL,s)):STATE.siteView.unifiedPageScroll()?window.removeEventListener("scroll",d):p.element&&p.element.removeEventListener("scroll",d)},t}function SlideLayoutHorizontal(e){function t(){r.mask.element.scrollLeft=0,r.mask.element.scrollTop=0,r.mask.element.style.overflow="hidden";var e=new n;e.gap=0,e.axis="x",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.height(r.section.key),r.section&&STATE.section(r.section);var t=0,l=o.children,s=l.length,d=STATE.mediaView.width(),c=STATE.mediaView.height(r.section.key),h=r.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(h&&(c=layoutCalcs.getMaxScrollSectionHeight(r));ti.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var n=Tile,o=e.mediaViewContainer,a=e.localEvents,r=e.mediaView;return t}function SlideTransitionHorizontal(e){function t(e,t){var t=void 0!==t?t:a;n.dispatchEvent(TRANSITION_START);var r=i.children[e];if(r){var l=r.x,s=r.y;if(Tween(i,t,{translateX:-l,translateY:-s,ease:TOUCH_DEVICE?EASE.quart.out:EASE.cubic.inOut,onComplete:function(){n.dispatchEvent(TRANSITION_END),setTimeout(function(){o.lazyLoader&&o.lazyLoader.update()},360)}}),USER_AGENT===MOBILE)for(var d=i.children,c=0;ci.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var n=Tile,o=e.mediaViewContainer,a=e.localEvents,r=e.mediaView;return t}function SlideTransitionVertical(e){function t(e,t){var t=void 0!==t?t:a;n.dispatchEvent(TRANSITION_START);var r=i.children[e];if(r){var l=r.x,s=r.y;Tween(i,t,{translateX:-l,translateY:-s,ease:TOUCH_DEVICE?EASE.quart.out:EASE.cubic.inOut,onComplete:function(){n.dispatchEvent(TRANSITION_END),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 MobileSlideLayout(e){function t(){r.mask.element.scrollLeft=0,r.mask.element.scrollTop=0,r.mask.element.style.overflow="hidden";var e=new n;e.gap=0,e.axis="x",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.height(r.section.key),r.section&&STATE.section(r.section);var t=0,l=o.children,s=l.length,d=STATE.mediaView.height(r.section.key),c=r.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(c&&(d=layoutCalcs.getMaxScrollSectionHeight(r));ti.v&&(a=i.v),e.height=a+t.top+t.bottom}e.updatePosition()}var n=Tile,o=e.mediaViewContainer,a=e.localEvents,r=e.mediaView;return t}function MobileSlideTransition(e){function t(e,t,l){var t=void 0!==t?t:r;o.dispatchEvent(TRANSITION_START);var s=EASE.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=-STATE.mediaView.width()),c.display="block",c.updateSpeed=0,c.updatePosition(),c.loaded||c.load(),Tween.defer(c,t,{translateX:-STATE.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),Tween.defer(h,t,{translateX:0,alpha:1,ease:s,onComplete:function(){o.dispatchEvent(TRANSITION_END),a.lazyLoader&&a.lazyLoader.update()}})),u&&setTimeout(function(){u.transition=0,"left"===l&&(u.translateX=STATE.mediaView.width()),u.display="block",u.updateSpeed=0,u.updatePosition(),u.loaded||u.load(),Tween.defer(u,t,{translateX:STATE.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 StaticVLayout(e){function t(){var e=new n;e.gap=0,e.axis="y",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.width(),o.section&&STATE.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,""),y.selectable=!0,y.setClass("dx_page_text ql-editor"),y.fontFamily=LAYOUT_MODEL.contactFont,y.fontSize=LAYOUT_MODEL.contactFontSize,y.fontColor=LAYOUT_MODEL.contactFontColor,y.textAlign="right",y.textWrap=!1,b.addChild(y),b.addChild(M);var n=b.element.getElementsByTagName("img"),o=n.length;if(n.length>0)for(;o--;){var a=n[o];a.addEventListener(LOAD,function(e){g()})}D>320&&(D=320,y.width=320,y.textWrap=!0,y.style["word-wrap"]="break-word");for(var o=0,l=S.length,s=0;oM.height?v+=y.element.offsetHeight+t:(v+=M.height,v+=C.element.offsetHeight+5+t),b.height=v}function a(){if(STATE.section(A.section),USER_AGENT===MOBILE||USER_AGENT===TABLET)A.element.style.overflowY="scroll",A.element.style.overflowX="hidden",A.element.style["-webkit-overflow-scrolling"]="touch";else if(STATE.siteView.unifiedPageScroll()&&/vScroll/.test(STATE.overrides.transitionType))o(),setTimeout(function(){STATE.section(A.section);var e=v;e=e>STATE.mediaView.height()?e:STATE.mediaView.height();var t=e!==A.contentHeight;A.contentHeight=e,A.height=e,t&&_.dispatchEvent("MEDIA_HEIGHT_CHANGE")},30);else if("native"===LAYOUT_MODEL.pageScrollType)A.element.style.overflowY="scroll",A.element.style.overflowX="hidden";else if("Macintosh"===OS&&"nativeMacOs"===LAYOUT_MODEL.pageScrollType)A.element.style.overflowY="scroll",A.element.style.overflowX="hidden";else{A.scroll&&A.scroll.destroy();var e=LAYOUT_MODEL.pageScrollbarWidth,t=USER_AGENT===MOBILE?-(e+5):LAYOUT_MODEL.pageScrollbarHorizontalOffset,i="right"===LAYOUT_MODEL.pageScrollbarAlignment?-t-e:t+e,n={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:LAYOUT_MODEL.pageScrollVerticalMargin,color:LAYOUT_MODEL.pageScrollbarColor,hover:LAYOUT_MODEL.pageScrollbarHover,side:LAYOUT_MODEL.pageScrollbarAlignment,alpha:LAYOUT_MODEL.pageScrollbarBgAlpha,width:e,offsetX:i,offsetY:LAYOUT_MODEL.pageScrollbarVerticalOffset,property:"translate",rounded:LAYOUT_MODEL.pageScrollbarRounded,visibility:LAYOUT_MODEL.pageScrollbarVisibility,scrollTopCheck:!0,parent:A};"nativeMacOs"===LAYOUT_MODEL.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"),A.scroll=new Scroll(b,A,n),A.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){A.scroll.percent=0,A.scroll.update(UPDATE_SPEED)})}}function r(e){function t(e){_.removeEventListener("destroy",t),o.removeEventListener(FOCUS,l),o.removeEventListener(BLUR,s)}var i=new Sprite;i.width=300;var n=new TextField;n.fontFamily=LAYOUT_MODEL.contactTitleFont,n.fontColor=LAYOUT_MODEL.contactFontColor,n.fontSize=11,n.text=e,n.selectable=!1,i.addChild(n);var o="Comments"===e?new TextArea:new Input;return o.backgroundColor=toRgba(LAYOUT_MODEL.contactFieldRectColor,.1),o.border="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.3),o.fontFamily=LAYOUT_MODEL.contactTitleFont,o.fontColor=LAYOUT_MODEL.contactFontColor,o.fontSize=16,o.height="Comments"===e?150:20,o.width=300,o.y=17,o.addEventListener(FOCUS,l),o.addEventListener(BLUR,s),_.addEventListener("destroy",t),i.addChild(o),i.id=e,i.input=o,i}function l(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,.2),border:"1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.7)})}function s(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,.1),border:"1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.3)})}function d(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,.8)})}function c(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,1)})}function h(e){w.text=e.response,w.x=D+17,Tween(M,UPDATE_SPEED,{alpha:0,onComplete:function(e){M.display="none"}}),Tween(w,UPDATE_SPEED,{alpha:1})}function u(e){var t=MEDIA_MODEL[A.id],i=[].slice.apply(M.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 alert("Name field cannot be blank."),!1;if("Email"===t.id&&(t.input.value.indexOf("@")===-1||t.input.value.indexOf(".")===-1))return alert("Please enter valid email address."),!1;if("Comments"===t.id&&""===t.input.value)return alert("Comments field cannot be blank."),!1}return e},{});i.Title=t.label,i.toEmail=t.content.contactFormEmail,i.subject=t.content.contactFormSubject,i&&_.dispatchEvent(CONTACT_FORM_SUBMIT,i)}function T(e){STATE.section(A.section),Tween(A,A.updateSpeed,{backgroundColor:STATE.mediaView.backgroundColor()})}function E(){return STATE.section(A.section),USER_AGENT===MOBILE||b.width+16>STATE.mediaView.width()}function g(e){STATE.section(A.section),layoutCalcs.activeMediaType=A.type,D=y.element.offsetWidth,D>320&&(D=320,y.width=320,y.textWrap=!0,y.style["word-wrap"]="break-word"),b.width=D+M.width+18,E()?(y.x=8,M.x=-8,LAYOUT_MODEL.contactTitleShow?(O&&(O.x=8,O.y=percentToPixels(LAYOUT_MODEL.contactTitleFontSize,100)),y.y=O.y+percentToPixels(LAYOUT_MODEL.contactTitleFontSize,100)+16,M.y=y.y+y.element.offsetHeight+16):(y.y=0,M.y=y.element.offsetHeight),A.scroll&&(A.scroll.align="top"),M.borderLeft="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,0),y.textAlign="left"):(y.x=0,y.y=0,M.x=D+16,M.y=44,M.borderLeft="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.3),y.textAlign="right",LAYOUT_MODEL.contactTitleShow&&O&&(O.textWrap=!0,O.x=D+32,O.y=percentToPixels(LAYOUT_MODEL.contactTitleFontSize,100)-33),A.scroll&&(A.scroll.align="top")),f&&!f.contactFormExtra&&(A.scroll&&(A.scroll.align="top"),M.borderLeft="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,0),M.x=-8,O&&(O.x=8)),b.transition=0,o(),Tween.defer(b,A.updateSpeed,{x:m(),y:p(),onComplete:function(){A.scroll&&A.scroll.resize(),Tween(b,UPDATE_SPEED,{alpha:1})}}),A.updateSpeed=UPDATE_SPEED,isInit=!1,a()}function m(){if(STATE.section(A.section),layoutCalcs._activeView="contact",b.width+16>STATE.mediaView.width()){var e=Math.round(.5*(STATE.mediaView.width()-M.width));return e}var e=Math.round(.5*(STATE.mediaView.width()-b.width));return e}function p(){return STATE.section(A.section),layoutCalcs._activeView="contact",v>STATE.mediaView.height()?USER_AGENT===MOBILE||USER_AGENT===TABLET?40:22:Math.round(.5*(STATE.mediaView.height()-v))}function L(e){_.removeEventListener(RESIZE,g),_.removeEventListener(LAYOUT_MODEL_CHANGE,g),_.removeEventListener("destroy",L),_.removeEventListener("showCursor",t),_.removeEventListener("hideCursor",i),_.removeEventListener(CONTACT_FORM_SENT,h),A.removeEventListener(CHILD_ADDED,n)}var f,v,S,O,C,A=new Sprite({events:e.events}),b=new Sprite,y=new Sprite,M=new Sprite,w=new Sprite,_=e.localEvents,D=0;return A.section=e.section,A.alpha=0,b.alpha=0,b.selectable=!0,A.updateSpeed=0,A.id=e.mediaItem.id,A.type=e.mediaItem.type,A.dims=e.size.content,A.element.navigationCursor=!isSlideshowGallery(A.section),A.mediaItem=e.mediaItem,A.addEventListener(CHILD_ADDED,n),_.addEventListener(RESIZE,g),_.addEventListener(LAYOUT_MODEL_CHANGE,g),_.addEventListener("destroy",L),_.addEventListener("showCursor",t),_.addEventListener("hideCursor",i),A.load=function(){A.loaded=!0},A.unload=function(){},A.show=function(){A.display="block",Tween(A,UPDATE_SPEED,{alpha:1})},A.hide=function(){Tween(A,UPDATE_SPEED,{alpha:0,onComplete:function(){A.display="none"}})},A.updatePosition=g,A}function ImageView(e){function t(){return STATE.lightboxSection&&!LAYOUT_MODEL.lightboxGalleryBtnDisable&&!LAYOUT_MODEL.lightboxImageDisable}function i(){isSlideshowGallery(L.section)||(L.element.navigationCursor=!0,O.element.navigationCursor=!0,C.element.navigationCursor=!0),O.element.addEventListener("contextmenu",n),O.element.addEventListener("dragstart",n),L.element.style["user-select"]="none",C.element.style["user-select"]="none",O.element.style["user-select"]="none",L.addChild(C),C.addChild(O),"spinner"===STATE.overrides.imageVideoLoaderType&&(v=new LoadingIndicator({color:e.loaderColor}),C.addChild(v)),r(),T()}function n(e){var t=void 0===SETTINGS_MODEL.disableRightClick||SETTINGS_MODEL.disableRightClick;t&&e.preventDefault()}function o(){isSlideshowGallery(L.section)||(L.element.navigationCursor=!0,O.element.navigationCursor=!0,C.element.navigationCursor=!0)}function a(){L.element.navigationCursor=!1,O.element.navigationCursor=!1,C.element.navigationCursor=!1}function r(){if(STATE.section(L.section),O&&LAYOUT_MODEL.imageRendering.optimizeQuality&&(O.style["image-rendering"]="optimizeQuality"),O&&LAYOUT_MODEL.imageRendering.webkitOptimizeContrast&&(O.style["image-rendering"]="-webkit-optimize-contrast"),O&&"Safari"===BROWSER_NAME&&LAYOUT_MODEL.imageRendering.webkitBackfaceVisibility&&(O.element.style["-webkit-backface-visibility"]="hidden"),O&&USER_AGENT===MOBILE&&(O.element.style["-webkit-backface-visibility"]="hidden"),USER_AGENT===MOBILE)Tween(L,L.updateSpeed,{backgroundColor:LAYOUT_MODEL.containerColorMobile||STATE.mediaView.backgroundColor()});else if(USER_AGENT===TABLET)Tween(L,L.updateSpeed,{backgroundColor:LAYOUT_MODEL.containerColorTablet||STATE.mediaView.backgroundColor()});else{var e=STATE.mediaView.backgroundColor();Tween(L,L.updateSpeed,{backgroundColor:e})}h(I)}function l(){if(/media/.test(S.captionAnchorTo)||/media/.test(STATE.overrides.captionAnchorTo)){STATE.section(L.section),layoutCalcs.activeMediaType=L.type,f.container.transition=0,firstValid(S.captionCloseButton,STATE.overrides.captionCloseButton)?f.showCloseButton():f.hideCloseButton();var t={onInit:function(){f.scroll&&f.scroll.hide()},onComplete:function(){f.scroll&&(f.scroll.show(),f.scroll.resize())}},i=S.captionBackgroundRectColor||STATE.overrides.captionBackgroundRectColor,n=firstValid(S.captionBackgroundAlpha,STATE.overrides.captionBackgroundAlpha);if(f.backgroundColor=toRgba(i,n),f.fontFamily=S.captionFont||STATE.overrides.captionFont,f.fontSize=stage.width-1)){I=t,STATE.section(L.section),layoutCalcs.activeMediaType=L.type;var n=getCaptionText(e.mediaItem);f.text=plainTextToHtml(n);var o=c(firstValid(e.mediaItem.overrides.captionAnchorTo,STATE.overrides.captionAnchorTo)),a=isSlideshowGallery(L.section)&&LAYOUT_MODEL.slideshowCaptions;o&&(a||I&&I.mode&&(i||I.mode.indexOf("caption")>-1))&&f.show(l)}}}function u(){var e=isSlideshowGallery(L.section)&&LAYOUT_MODEL.slideshowCaptions;e||f.hide()}function T(){STATE.section(L.section),layoutCalcs.activeMediaType=L.type,D=STATE.mediaView.maskWidth(L.width),U=STATE.mediaView.maskHeight(L.height,L.section.key),Tween(C,L.updateSpeed,{x:STATE.mediaView.maskX(),y:STATE.mediaView.maskY(L.section.key),width:D,height:U}),m(),x&&g(),h(I)}function E(){L.updateSpeed=0,x=!0,this.width&&A!==this.width&&(A=this.width),this.height&&b!==this.height&&(b=this.height),v&&(v.removeLoader(),C.removeChild(v)),T(),h(I),L.dispatchEvent(MEDIA_LOADED,{type:"image",id:e.mediaItem.id,width:this.width,height:this.height}),L.events.dispatchEvent(MEDIA_LOADED,{type:"image",id:e.mediaItem.id,width:this.width,height:this.height}),L.updateSpeed=UPDATE_SPEED,"Safari"===BROWSER_NAME&&/hScroll/.test(STATE.overrides.transitionType)&&O.element.setAttribute("nopin","nopin")}function g(){STATE.section(L.section);var e=Resize(null,0,{type:STATE.mediaView.imageScaleType(),width:A,height:b,hRange:D,vRange:U,hAlign:STATE.mediaView.hAlign(),vAlign:STATE.mediaView.vAlign(),disableOrientationCheck:getOrientationCheck(L.type)});y=Math.ceil(e.scale.width),M=Math.ceil(e.scale.height),w=Math.floor(e.align.x),_=Math.floor(e.align.y),Tween(O,L.updateSpeed,{x:w,y:_,width:y,height:M,onComplete:function(){setTimeout(function(){Tween(O,STATE.mediaView.transitionDuration(),{alpha:1,ease:"cubic-bezier(0.7, 0, 0.3, 1)"})},0)}}),h(I)}function m(){v&&(v.x=.5*(D-v.width),v.y=.5*(U-v.height))}function p(){V.removeEventListener("destroy",p),V.removeEventListener(RESIZE,T),V.removeEventListener(LAYOUT_MODEL_CHANGE,T),V.removeEventListener("showCursor",o),V.removeEventListener("hideCursor",a),O.removeEventListener(LOAD,E),L.removeEventListener(CHILD_ADDED,i)}var L=new Sprite({events:e.localEvents});L.alpha=0,L.updateSpeed=0,L.overflow="hidden",L.id=e.mediaItem.id,L.type=e.mediaItem.type,L.dims=e.size.content,L.section=e.section,L.state=e.state,L.mediaItem=e.mediaItem;var f,v,S,O=new Bitmap,C=new Sprite,A=e.size.content.width,b=e.size.content.height,y=0,M=0,w=0,_=0,D=0,U=0,x=!1,V=e.localEvents,I=e.state,P=getCaptionText(e.mediaItem);if(P&&STATE.overrides.captionMobileOverrides){var Y=1,R=new Svg;R.left=0,R.top=0,R.rotate=0,R.path=new Path,R.path.scale=Y,R.width=15*Y,R.height=15*Y,R.path.d=svgPaths.navInfo[LAYOUT_MODEL.navbarIconSet],R.path.strokeWidth="thin"===LAYOUT_MODEL.navbarIconSet?1:0,R.path.fill="thin"===LAYOUT_MODEL.navbarIconSet?"none":LAYOUT_MODEL.navbarColor,R.path.stroke="thin"===LAYOUT_MODEL.navbarIconSet?LAYOUT_MODEL.navbarColor:"none",R.addChild(R.path);var N=buildAlignedButton({alignHorizontal:"right",alignVertical:"top",horizontalOffset:25,verticalOffset:20,blendMode:"normal",font:"Helvetica",fontSize:12,fontColor:"#999999"});N.zIndex=1,N.width=15*Y,N.height=15*Y,N.addChild(R),N.addEventListener("click",function(t){if(f)if(f.isShowing)f.hide();else{var i=getCaptionText(e.mediaItem);f.text=plainTextToHtml(i),f.show(l)}}),L.addChild(N)}if(t()&&STATE.lightboxButtonsEnabled()){var z=STATE.lightboxSection.media.indexOf(L.mediaItem.id);if(!L.mediaItem.disableLightbox){var k=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxGalleryBtnAlignHorizontal||"left",alignVertical:LAYOUT_MODEL.lightboxGalleryBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxGalleryBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxGalleryBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxGalleryBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxGalleryBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxGalleryBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxGalleryBtnFontColor||"#999999"});if(k.zIndex=1,k.text=z>-1?LAYOUT_MODEL.lightboxGalleryBtnRemoveText||"- Lightbox":LAYOUT_MODEL.lightboxGalleryBtnAddText||"+ Lightbox",k.addEventListener("click",function(e){var t,i=STATE.lightboxSection.media.indexOf(L.mediaItem.id);i>-1?(k.text=LAYOUT_MODEL.lightboxGalleryBtnAddText||"+ Lightbox",t="remove"):(k.text=LAYOUT_MODEL.lightboxGalleryBtnRemoveText||"- Lightbox",t="add"),L.events.dispatchEvent("lightboxUpdateItem",{action:t,id:L.mediaItem.id}),k.cursor="pointer"}),L.addChild(k),e.section.isLightbox&&!LAYOUT_MODEL.lightboxGalleryDownloadBtnDisable){var B=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxDownloadBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.lightboxDownloadBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxDownloadBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxDownloadBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxDownloadBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxDownloadBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxDownloadBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxDownloadBtnFontColor||"#999999"});B.zIndex=1,B.text=LAYOUT_MODEL.lightboxDownloadBtnText||"↓",B.addEventListener("click",function(e){L.events.dispatchEvent("lightboxDownloadOverlayOpen")}),L.addChild(B)}}}if(!isSlideshowGallery(L.section)&&e.mediaItem.attachment&&!LAYOUT_MODEL.attachmentGalleryBtnDisable){var H=buildAttachmentButton({alignHorizontal:LAYOUT_MODEL.attachmentGalleryBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.attachmentGalleryBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.attachmentGalleryBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.attachmentGalleryBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.attachmentGalleryBtnBlendMode||"difference",font:LAYOUT_MODEL.attachmentGalleryBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.attachmentGalleryBtnFontSize||12,fontColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",iconColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",icon:svgPaths.cloud,text:LAYOUT_MODEL.attachmentGalleryBtnText});H.zIndex=1,H.addEventListener("click",function(t){L.events.dispatchEvent("attachmentDownload",e.mediaItem.attachment)}),L.addChild(H)}O.alpha=0,O.selectable=!1,C.overflow="hidden",V.addEventListener(RESIZE,T),V.addEventListener(LAYOUT_MODEL_CHANGE,T),V.addEventListener("destroy",p),V.addEventListener("showCursor",o),V.addEventListener("hideCursor",a),L.addEventListener(CHILD_ADDED,i);var P=getCaptionText(e.mediaItem);return f||""===P||(f=new Caption,S=e.mediaItem.overrides||{},V.addEventListener("showCaption",h),V.addEventListener("hideCaption",u),V.addEventListener("checkCaption",s),d(P)),L.load=function(){L.loaded=!0,O.addEventListener(LOAD,E),O.src=cdnMediaPath(e.mediaItem.content,e.mediaItem.demoFile),""!==P&&(L.addChild(f.container),l())},L.unload=function(){},L.hide=function(){1===L.alpha&&Tween(L,UPDATE_SPEED,{alpha:0,onComplete:function(){L.display="none"}})},L.show=function(){0===L.alpha&&(L.display="block",Tween(L,UPDATE_SPEED,{alpha:1}))},L.updatePosition=T,L}function PageView(e){function t(e){isSlideshowGallery(y.section)||(y.element.navigationCursor=!0,b&&(b.element.navigationCursor=!0),w.element.navigationCursor=!0)}function i(e){y.element.navigationCursor=!1,b&&(b.element.navigationCursor=!1),w.element.navigationCursor=!1}function n(e){/page|imageRendering/.test(e.id)&&(f(),v())}function o(){STATE.section(y.section),e.mediaItem.content=unescapeScriptTags(e.mediaItem.content),y.loaded=!1;var t=RetinaResizeEngine({width:P,height:Y,filename:e.mediaItem.featuredImage});P=Math.round(t.width),Y=Math.round(t.height),L()&&!A()?(b=new Bitmap,b.dataSrc=cdnMediaPath(e.mediaItem.featuredImage,e.mediaItem.demoFile),isSlideshowGallery(y.section)||(b.element.navigationCursor=!0,w.element.navigationCursor=!0),b.addEventListener(LOAD,O),b.alpha=0,y.addChild(b)):(y.events.dispatchEvent(MEDIA_LOADED,{}),setTimeout(function(){y.updateSpeed=STATE.mediaView.transitionDuration()},0));var i="";if(p()){var n=STATE.overrides.pageTitleFont.split(":"),o=n[0],a=n[1],r=percentToPixels(STATE.overrides.pageTitleFontSize,22);i+="

"+e.mediaItem.label+"


"}H=A(),A()&&L()&&(i+="

"),i+=plainTextToHtml(e.mediaItem.content);var l=M.element.getElementsByClassName("no-lazy-load");l.length||(M.text=i.replace(/src\=/g,"data-src=")),w.addChild(M),y.addChild(w),x=M.element.getElementsByClassName("responsive"),U=M.element.getElementsByClassName("responsive-width")}function a(e){return function(t){return e.replace(/[^ -~]+/g,"")===t.src}}function r(e){return e.savedOpacity=e.style.opacity,e.style.opacity=0,e.originalWidth=e.style.width,e.originalHeight=e.style.height,e}function l(e){o(),N=Math.round(STATE.mediaView.maskWidth(y.element.offsetWidth)),STATE.overrides.pageMaxWidth&&N>STATE.overrides.pageMaxWidth&&(N=STATE.overrides.pageMaxWidth),D=s(M.element),_=D.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(r),f(),v(),setTimeout(function(){f(),v()},150)}function s(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 d(e){var t=e.reduce(function(e,t){if("img"===t.img.tagName.toLowerCase()){var i=t.img.src.replace(B,"");e=e.concat({src:i,width:t.img.naturalWidth,height:t.img.naturalHeight})}return e},[]);JSON.stringify(y.mediaItem.size.pageImages)!==JSON.stringify(t)&&(y.mediaItem.size.pageImages=t,k.dispatchEvent("adminPageviewImageSizes",y.mediaItem))}function c(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(){Tween(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 h(e){var t=void 0===SETTINGS_MODEL.disableRightClick||SETTINGS_MODEL.disableRightClick;t&&e.preventDefault()}function u(e){return e.img.oncontextmenu=h,e.img.ondragstart=h,e}function T(e){Promise.all(e.map(c)).then(function(e){return e.map(u)}).then(d).then(v).catch(function(e){})}function E(){return"native"===STATE.overrides.pageScrollType||MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.pageScrollType||LAYOUT_MODEL.globalSmoothScroll)}function g(){if(STATE.section(y.section),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(w.element.style["-webkit-overflow-scrolling"]="touch"),/vScroll/.test(STATE.overrides.transitionType)&&STATE.siteView.unifiedPageScroll())w.element.style.overflow="hidden",w.element.style["-webkit-overflow-scrolling"]="touch",Tween.defer(M,UPDATE_SPEED,{alpha:1});else if(E()||/unifiedSite/.test(STATE.overrides.siteDisplayBehavior))w.element.style.overflowY="auto",w.element.style.overflowX="hidden",w.element.style["-webkit-overflow-scrolling"]="touch",Tween.defer(M,UPDATE_SPEED,{alpha:1});else{y.scroll&&y.scroll.destroy();var t=STATE.overrides.pageScrollbarWidth,i=USER_AGENT===MOBILE?-(t+5):STATE.overrides.pageScrollbarHorizontalOffset,n="right"===STATE.overrides.pageScrollbarAlignment?-i-t:i+t,o={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:STATE.overrides.pageScrollVerticalMargin,color:STATE.overrides.pageScrollbarColor,hover:STATE.overrides.pageScrollbarHover,side:STATE.overrides.pageScrollbarAlignment,alpha:STATE.overrides.pageScrollbarBgAlpha,width:t,offsetX:n,offsetY:STATE.overrides.pageScrollbarVerticalOffset,property:"translate",rounded:STATE.overrides.pageScrollbarRounded,visibility:STATE.overrides.pageScrollbarVisibility,scrollTopCheck:!0};("nativeMacOs"===STATE.overrides.pageScrollType||LAYOUT_MODEL.globalSmoothScroll)&&(o.margin=0,o.color="#000000",o.hover="#000000",o.side="right",o.alpha=0,o.width=7,o.offsetX=0,o.offsetY=0,o.rounded=!0,o.visibility="when scrolling"),y.scroll=new Scroll(M,w,o),y.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){y.scroll.percent=0,y.scroll.update(UPDATE_SPEED)})}STATE.section(y.section);var a=percentToPixels(STATE.overrides.pageMarginTop,stage.height),r=percentToPixels(STATE.overrides.pageMarginBottom,stage.height),l=a+M.element.offsetHeight+r;if(L()&&!A()){var s=RetinaResizeEngine({width:e.mediaItem.size.featuredImage.width,height:e.mediaItem.size.featuredImage.height,filename:b.dataSrc}),d=(Math.round(s.width),Math.round(s.height));l=l>a+d+r?l:a+d+r}G=l!==y.contentHeight,y.contentHeight=l,m(y.section)?(layoutCalcs._mediaMarginPrefix="page",w.height=Math.round(STATE.mediaView.maskHeight(void 0,y.section.key)),y.height=Math.round(STATE.mediaView.height(y.section.key))):(w.height=l,y.height=l),G&&setTimeout(function(){k.dispatchEvent("MEDIA_HEIGHT_CHANGE")},100),y.scroll&&y.scroll.resize(),Tween.defer(M,UPDATE_SPEED,{alpha:1})}function m(e){return STATE.section(y.section),(USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||!/vScroll/.test(STATE.overrides.transitionType))&&("none"===STATE.overrides.siteDisplayBehavior||!/vScroll/.test(STATE.overrides.transitionType)&&e.media.length>1)}function p(){return STATE.section(y.section),STATE.overrides.pageTitle&&""!==e.mediaItem.label}function L(){return""!==e.mediaItem.featuredImage}function f(e){STATE.section(y.section),b&&LAYOUT_MODEL.imageRendering.optimizeQuality&&(b.style["image-rendering"]="optimizeQuality"),b&&LAYOUT_MODEL.imageRendering.webkitOptimizeContrast&&(b.style["image-rendering"]="-webkit-optimize-contrast"),b&&"Safari"===BROWSER_NAME&&LAYOUT_MODEL.imageRendering.webkitBackfaceVisibility&&(b.style["-webkit-backface-visibility"]="hidden"),M.fontFamily=STATE.overrides.pageTextFont,M.fontColor=STATE.overrides.pageTextFontColor,M.fontSize=STATE.overrides.pageTextFontSize,M.letterSpacing=STATE.overrides.pageTextKerning,Tween(y,y.updateSpeed,{backgroundColor:STATE.mediaView.backgroundColor()})}function v(e){STATE.section(y.section),layoutCalcs.activeMediaType=y.type,V=Math.round(STATE.mediaView.maskX()),I=Math.round(STATE.mediaView.maskY(y.section.key));var t=STATE.mediaView.maskWidth(y.element.offsetWidth);if(N=Math.round(STATE.mediaView.maskWidth(y.element.offsetWidth)),z=Math.round(STATE.mediaView.maskHeight(y.element.offsetHeight,y.section.key)),STATE.overrides.pageMaxWidth&&N>STATE.overrides.pageMaxWidth)switch(N=STATE.overrides.pageMaxWidth,STATE.overrides.pageMaxAlign){case"center":V+=Math.round(.5*(t-N));break;case"right":V+=Math.round(t-N)}b&&L()&&!A()&&(V+=P+R,N-=P+R,Tween(b,y.updateSpeed,{x:V-P-R,y:I})),!H&&A()?(b&&(y.removeChild(b),b=void 0),o(),D=s(M.element),_=D.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(r)):H&&!A()&&(M.text="",o(),D=s(M.element),_=D.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(r)),Tween(w,0,{x:V,y:I,width:N}),Tween(M,0,{width:N}),S(),x&&x.length>0&&((isPod()||isPad())&&(w.style.overflow="auto",w.style["-webkit-overflow-scrolling"]="touch"),Tween.defer(M,UPDATE_SPEED,{alpha:1})),g()}function S(){if(x){var e=x[0];if(e&&"iframe"===e.tagName.toLowerCase())e.style.overflow="hidden",e.style.width=N+"px",e.style.height=z+"px",e.style.border="none";else if(e){var t=Math.round(STATE.mediaView.maskHeight(M.element.offsetHeight,y.section.key)),i=Math.round(STATE.mediaView.maskHeight(void 0,y.section.key)),n=t>i?t:i;e.style.overflow="hidden",e.style.width=N-e.offsetLeft+"px",e.style.height=n-e.offsetTop+"px",e.style.border="none"}}if(U){var o=U[0];o&&(o.style.overflow="hidden",o.style.width=N-o.offsetLeft+"px",o.style.border="none")}if(_){var r=_.length;if(r>0)for(;r--;){var l=_[r],s=l.getAttribute("data-src")?l.getAttribute("data-src").replace(B,""):"";if(s&&y.mediaItem.size.pageImages){var d=window.getComputedStyle(l),c=d.getPropertyValue("max-width"),h=l.getAttribute("width"),u=l.getAttribute("height");if(l.metaLoaded)l.originalWidth?l.style.width=l.originalWidth:h?l.style.width=h+"px":l.style.removeProperty("width"),l.originalHeight?l.style.height=l.originalHeight:u?l.style.height=u+"px":l.style.removeProperty("height"),"none"===c&&(l.style.maxWidth="100%");else{var T=y.mediaItem.size.pageImages.filter(a(s)),E=T[0]||{},g=E.width||l.naturalWidth,m=E.height||l.naturalHeight,p=parseFloat(d.getPropertyValue("width"),10)||h||g,L=(p>N?N:p)||N,f=m/g;l.style.width=L+"px",l.style.height=f*L+"px"}}}}}function O(t){y.updateSpeed=0;var i=RetinaResizeEngine({width:b.element.offsetWidth,height:b.element.offsetHeight,filename:b.src});P=Math.round(i.width),Y=Math.round(i.height),b.width=P,b.height=Y,Tween(b,1,{alpha:1}),y.updateSpeed=STATE.mediaView.transitionDuration(),y.events.dispatchEvent(MEDIA_LOADED,{type:"featuredImage",id:e.mediaItem.id,width:b.width,height:b.height})}function C(e){k.removeEventListener(RESIZE,v),k.removeEventListener(LAYOUT_MODEL_CHANGE,v),k.removeEventListener("destroy",C),k.removeEventListener("showCursor",t),k.removeEventListener("hideCursor",i),b&&b.removeEventListener(LOAD,O),y.removeEventListener(CHILD_ADDED,l)}function A(){if(USER_AGENT===MOBILE)return!0;if(stage.width<(LAYOUT_MODEL.screenWidthBreakpoint||1e3))return!0;var e=250;return STATE.mediaView.maskWidth()(LAYOUT_MODEL.screenWidthBreakpoint||1e3)}var b,y=new Sprite({events:e.localEvents}),M=new Sprite,w=new Sprite;w.id="pageViewMask";var _,D,U,x,V,I,P=e.size.featuredImage.width||0,Y=e.size.featuredImage.height||0,R=30,N=0,z=0,k=e.localEvents,B=SETTINGS_MODEL.cdnSslUri+"/";y.mediaItem=e.mediaItem,y.section=e.section;var H=A();if(y.alpha=0,M.alpha=0,y.updateSpeed=0,y.setClass("dx_page_text"),w.setClass("pageviewMask"),M.setClass("ql-editor"),y.id=e.mediaItem.id,y.type=e.mediaItem.type,y.dims=e.size.content,y.element.navigationCursor=!0,y.overflow="hidden",w.overflow="hidden",M.selectable=!0,y.selectable=!0,w.selectable=!0,M.selectable=!0,k.addEventListener(RESIZE,v),k.addEventListener(LAYOUT_MODEL_CHANGE,n),k.addEventListener("destroy",C),k.addEventListener("showCursor",t),k.addEventListener("hideCursor",i),y.addEventListener(CHILD_ADDED,l),!isSlideshowGallery(y.section)&&e.mediaItem.attachment&&!LAYOUT_MODEL.attachmentGalleryBtnDisable){var F=buildAttachmentButton({alignHorizontal:LAYOUT_MODEL.attachmentGalleryBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.attachmentGalleryBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.attachmentGalleryBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.attachmentGalleryBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.attachmentGalleryBtnBlendMode||"difference",font:LAYOUT_MODEL.attachmentGalleryBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.attachmentGalleryBtnFontSize||12,fontColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",iconColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",icon:svgPaths.cloud,text:LAYOUT_MODEL.attachmentGalleryBtnText});F.zIndex=1,F.addEventListener("click",function(t){y.events.dispatchEvent("attachmentDownload",e.mediaItem.attachment)}),y.addChild(F)}var G;return y.load=function(){L()&&!A()&&b&&b.dataSrc&&(b.src=b.dataSrc),y.loaded=!0,M.element.getElementsByClassName("no-lazy-load").length||T(D),v()},y.unload=function(){},y.show=function(){y.display="block",Tween(y,UPDATE_SPEED,{alpha:1})},y.hide=function(){Tween(y,UPDATE_SPEED,{alpha:0,onComplete:function(){y.display="none"}})},y.updatePosition=v,y}function VideoView(e){function t(){return STATE.lightboxSection&&!LAYOUT_MODEL.lightboxGalleryBtnDisable&&!LAYOUT_MODEL.lightboxVideoDisable}function i(){isSlideshowGallery(G.section)||(j.element.navigationCursor=!0,Z.element.navigationCursor=!0),K&&(K.element.navigationCursor=j.element.navigationCursor),Q&&(Q.top.element.navigationCursor=j.element.navigationCursor,Q.right.element.navigationCursor=j.element.navigationCursor,Q.bottom.element.navigationCursor=j.element.navigationCursor,Q.left.element.navigationCursor=j.element.navigationCursor)}function n(){j.element.navigationCursor=!1,Z.element.navigationCursor=!1,K&&(K.element.navigationCursor=j.element.navigationCursor),Q&&(Q.top.element.navigationCursor=j.element.navigationCursor,Q.right.element.navigationCursor=j.element.navigationCursor,Q.bottom.element.navigationCursor=j.element.navigationCursor,Q.left.element.navigationCursor=j.element.navigationCursor)}function o(){STATE.section(G.section),isSlideshowGallery(G.section)||(j.element.navigationCursor=!0,Z.element.navigationCursor=!0),j.element.addEventListener("contextmenu",a),j.element.addEventListener("dragstart",a),G.element.style["user-select"]="none",Z.element.style["user-select"]="none",j.element.style["user-select"]="none",ee.addEventListener(CLICK,v),"spinner"===STATE.overrides.imageVideoLoaderType&&(q=new LoadingIndicator({color:e.loaderColor}),q.zIndex=2,Z.addChild(q)),G.addChild(Z),Z.addChild(j),Z.addChild(ee)}function a(e){var t=void 0===SETTINGS_MODEL.disableRightClick||SETTINGS_MODEL.disableRightClick;t&&e.preventDefault()}function r(e){e===G.id?!K||K.paused?G.play(!0):K&&!K.paused&&K.src&&K.pause():K&&K.src&&(K.paused||K.pause())}function l(e){e===G.id?(G.play(),x()):K&&K.src&&(K.paused||K.pause())}function s(){isVimeo(e.mediaItem)&&(K.pointerEvents="none")}function d(){isVimeo(e.mediaItem)&&(K.pointerEvents="auto")}function c(){STATE.section(G.section),ee.transition=0,ee.width=70,ee.height=70,h(),STATE.overrides.videoAutoPlay||setTimeout(function(){Tween(ee,UPDATE_SPEED,{alpha:1})},10)}function h(){ee.transition=0,setTimeout(function(){ee.x=j.x+.5*(j.width-70),ee.y=j.y+.5*(j.height-70)},10)}function u(){ge&&!isSlideshowGallery(G.section)&&(K&&K.pause(),G.events.removeEventListener(TRANSITION_END,m),isVimeo(e.mediaItem)&&(ee.display="block"),K.removeKeyListener())}function T(e){K&&(u(e),G.events.removeEventListener(PAUSE_MEDIA,u),Z.removeChild(K),K.destroy(),G.events.removeEventListener(DESTROY_MEDIA,T))}function E(){var e=new Sprite;return e.element.className="vimeoMask",e.element.navigationCursor=j.element.navigationCursor,e}function g(){return{top:E(),right:E(),bottom:E(),left:E()}}function m(){STATE.section(G.section);var t={events:Le};USER_AGENT===MOBILE&&STATE.overrides.mobileAutoPlay&&(t.thumbBuild=!0),isVimeo(e.mediaItem)&&!K?(K=new VimeoPlayer(t),K.element.navigationCursor=j.element.navigationCursor,G.video=K,K.addEventListener(VIMEO_METADATA_LOADED,O),Z.addChild(K),isPod()||isSlideshowGallery(G.section)||(Q=g(),Z.addChild(Q.top),Z.addChild(Q.right),Z.addChild(Q.bottom),Z.addChild(Q.left),Q.top.element.navigationCursor=j.element.navigationCursor,Q.right.element.navigationCursor=j.element.navigationCursor,Q.bottom.element.navigationCursor=j.element.navigationCursor,Q.left.element.navigationCursor=j.element.navigationCursor),USER_AGENT===MOBILE?(K.zIndex=20,K.alpha=.01):K.alpha=.01):K||(K=new VideoPlayer({alwaysMuted:isSlideshowGallery(G.section),parent:Z,events:e.localEvents}),/disabled/.test(LAYOUT_MODEL.navCursorType)||isSlideshowGallery(G.section)?K.addEventListener(CLICK,function(e){!K.element.paused&&K.element.muted&&"block"===K.unmuteBtn.display?K.unmuteClick():!K.element.paused&&K.element.muted?K.hud.unmute():K.togglePlay(e)}):(isPod()||isPad())&&(K.addEventListener(CLICK,function(e){K.hud.show(),clearTimeout($),$=setTimeout(function(){K.paused||K.hud.hide()},3e3)}),K.hud.addEventListener(CLICK,function(e){K.hud.show(),clearTimeout($),$=setTimeout(function(){K.paused||K.hud.hide()},3e3)})),K.element.navigationCursor=j.element.navigationCursor,G.video=K,K.addEventListener(METADATA_LOADED,S,!1),K.addEventListener(ERROR,C,!1),Z.addChild(K),K.display="none",K.alpha=0,STATE.overrides.videoLoop&&!isSlideshowGallery(G.section)&&K.element.setAttribute("loop",!0)),K.addEventListener(PAUSED,p),K.addEventListener(PLAY,L),K.addEventListener("playbackEnd",f)}function p(){isPod()&&(K.display="none"),P("paused")}function L(){STATE.section(G.section),USER_AGENT===MOBILE&&STATE.overrides.mobileAutoPlay?(K.display="block",K.alpha=.01):isPod()&&(K.display="block",K.alpha=1),P("playing"),G.events.dispatchEvent(PLAY)}function f(){isVimeo(e.mediaItem)&&(ee.display="block",P("ended")),G.events.dispatchEvent("playbackEnd")}function v(){q&&Tween(q,UPDATE_SPEED,{alpha:1}),m(),G.play(!0),!isVimeo(e.mediaItem)&&K&&(isPod()||isPad())&&(clearTimeout($),$=setTimeout(function(){K.paused||K.hud.hide()},3e3))}function S(t){me=!0,isSlideshowGallery(G.section)||e.mediaItem.hideControls||K.hud.enable(),K.removeEventListener(METADATA_LOADED,S,!1),K.removeEventListener(ERROR,C,!1),A(t.target),K.display="block",de=t.target.videoWidth,ce=t.target.videoHeight,MEDIA_MODEL[G.id].size.content.width=t.target.videoWidth,MEDIA_MODEL[G.id].size.content.height=t.target.videoHeight,G.dispatchEvent(MEDIA_LOADED,{type:"video",id:e.mediaItem.id,width:t.target.videoWidth,height:t.target.videoHeight}),G.events.dispatchEvent(MEDIA_LOADED,{type:"video",id:e.mediaItem.id,width:t.target.videoWidth,height:t.target.videoHeight})}function O(t){me=!0,K.removeEventListener(VIMEO_METADATA_LOADED,O),de=this.videoWidth,ce=this.videoHeight,MEDIA_MODEL[G.id].size.content.width=this.videoWidth,MEDIA_MODEL[G.id].size.content.height=this.videoHeight,A(this),setTimeout(function(){x(t),G.dispatchEvent(MEDIA_LOADED,{type:"vimeo",id:e.mediaItem.id,width:de,height:ce}),G.events.dispatchEvent(MEDIA_LOADED,{type:"vimeo",id:e.mediaItem.id,width:de,height:ce})},200)}function C(){q&&(q.removeLoader(),Z.removeChild(q))}function A(e){ge=!0,G.videoLoaded=!0,G.updateSpeed=0,de!==e.videoWidth&&(de=e.videoWidth),ce!==e.videoHeight&&(ce=e.videoHeight),x(),b(),q&&(q.removeLoader(),Z.removeChild(q)),Tween(j,UPDATE_SPEED,{alpha:0,onComplete:function(){j.display="none"}})}function b(){STATE.section(G.section),isSlideshowGallery(G.section)&&"fade"===STATE.overrides.transitionType?G.backgroundColor="transparent":USER_AGENT===MOBILE?Tween(G,G.updateSpeed,{backgroundColor:LAYOUT_MODEL.containerColorMobile||STATE.mediaView.backgroundColor()}):USER_AGENT===TABLET?Tween(G,G.updateSpeed,{backgroundColor:LAYOUT_MODEL.containerColorTablet||STATE.mediaView.backgroundColor()}):Tween(G,G.updateSpeed,{backgroundColor:STATE.mediaView.backgroundColor()}),X&&setTimeout(y,1e3*G.updateSpeed)}function y(){STATE.section(G.section),layoutCalcs.activeMediaType=G.type,X.container.transition=0,firstValid(J.captionCloseButton,STATE.overrides.captionCloseButton)?X.showCloseButton():X.hideCloseButton();var t={onInit:function(){X.scroll&&X.scroll.hide()},onComplete:function(){X.scroll&&(X.scroll.show(),X.scroll.resize())}},i=J.captionBackgroundRectColor||STATE.overrides.captionBackgroundRectColor,n=firstValid(J.captionBackgroundAlpha,STATE.overrides.captionBackgroundAlpha);if(X.backgroundColor=toRgba(i,n),X.fontFamily=J.captionFont||STATE.overrides.captionFont,X.fontSize=stage.width-1)){fe=t,STATE.section(G.section),layoutCalcs.activeMediaType=G.type;var o=getCaptionText(e.mediaItem);X.text=plainTextToHtml(o);var a=_(firstValid(e.mediaItem.overrides.captionAnchorTo,STATE.overrides.captionAnchorTo));(!showPosterImage(e.mediaItem)||pe)&&a&&(i||fe&&fe.mode&&(n||fe.mode.indexOf("caption")>-1))&&X.show(y)}}}function U(){X.hide(),X.scroll&&X.scroll.destroy()}function x(){STATE.section(G.section),j&&LAYOUT_MODEL.imageRendering.optimizeQuality&&(j.style["image-rendering"]="optimizeQuality"),j&&LAYOUT_MODEL.imageRendering.webkitOptimizeContrast&&(j.style["image-rendering"]="-webkit-optimize-contrast"),j&&"Safari"===BROWSER_NAME&&LAYOUT_MODEL.imageRendering.webkitBackfaceVisibility&&(j.style["-webkit-backface-visibility"]="hidden"),layoutCalcs.activeMediaType=G.type,le=STATE.mediaView.maskWidth(G.width),se=STATE.mediaView.maskHeight(G.height,G.section.key),h(),D(fe),Tween(Z,G.updateSpeed,{x:STATE.mediaView.maskX(),y:STATE.mediaView.maskY(G.section.key),width:le,height:se,onComplete:function(){h()}}),q&&H(),isVimeo(e.mediaItem)&&isPod()||pe||q&&Tween(q,UPDATE_SPEED,{alpha:1}),pe&&!ge&&I(),ge&&P()}function V(){G.updateSpeed=0,pe=!0,x(),I(),q&&Tween(q,UPDATE_SPEED,{alpha:0}),G.events.dispatchEvent(MEDIA_LOADED,{type:"posterImage",id:e.mediaItem.id,width:te,height:ie}),G.updateSpeed=UPDATE_SPEED,ee.addEventListener(LOAD,c),ee.src=ICONS+"play@2x.png",D(fe),"Safari"===BROWSER_NAME&&/hScroll/.test(STATE.overrides.transitionType)&&j.element.setAttribute("nopin","nopin")}function I(){STATE.section(G.section),layoutCalcs.activeMediaType=G.type,le=STATE.mediaView.maskWidth(G.width),se=STATE.mediaView.maskHeight(G.height,G.section.key);var e=Resize({},0,{type:STATE.mediaView.imageScaleType(),width:te,height:ie,hRange:le,vRange:se,hAlign:STATE.mediaView.hAlign(),vAlign:STATE.mediaView.vAlign(),disableOrientationCheck:getOrientationCheck(G.type)});ne=Math.ceil(e.scale.width),oe=Math.ceil(e.scale.height),ae=Math.floor(e.align.x),re=Math.floor(e.align.y),Tween(j,G.updateSpeed,{x:ae,y:re,width:ne,height:oe,onComplete:function(){setTimeout(function(){STATE.section(G.section),isSlideshowGallery(G.section)||Tween(j,STATE.mediaView.transitionDuration(),{alpha:1,ease:"cubic-bezier(0.7, 0, 0.3, 1)"})},1e3)}}),X&&y()}function P(t){STATE.section(G.section),layoutCalcs.activeMediaType=G.type,t&&(G.playState=t),K.display="block",setTimeout(function(){K.display="block"},1e3),le=STATE.mediaView.maskWidth(G.width),se=STATE.mediaView.maskHeight(G.height,G.section.key);var i=Resize({},0,{type:STATE.mediaView.videoScaleType(isVimeo(e.mediaItem)),width:de,height:ce,hRange:le,vRange:se,hAlign:STATE.mediaView.hAlign(),vAlign:STATE.mediaView.vAlign(),disableOrientationCheck:getOrientationCheck(G.type)});if(Te=Math.floor(i.align.x),Ee=Math.floor(i.align.y),he=Math.ceil(i.scale.width),ue=Math.ceil(i.scale.height),he&&ue){if(Tween(K,0,{x:Te,y:Ee,width:he,height:ue,onComplete:function(){Tween(K,0,{alpha:1,ease:"cubic-bezier(0.7, 0, 0.3, 1)"})}}),K.setSize(he,ue,G.updateSpeed),k(i),K.hud){var n=Math.floor(i.align.x),o=Math.floor(i.align.y),a=he,r=ue;he>STATE.mediaView.maskWidth()&&"hScroll"!==STATE.overrides.transitionType?(n=0,a=STATE.mediaView.maskWidth(),r=STATE.mediaView.maskHeight(void 0,G.section.key)):ue>STATE.mediaView.maskHeight(void 0,G.section.key)&&(o=0,a=STATE.mediaView.maskWidth(),r=STATE.mediaView.maskHeight(void 0,G.section.key)),K.hud.resize(G.updateSpeed,n,o,a,r);var l=i.align.x>0?i.align.x:0,s=i.align.y>0?i.align.y:0;K.unmuteBtn.x=Math.round(l)+20,K.unmuteBtn.y=Math.round(s)+20}X&&y()}}function Y(){return{banner:{width:0,height:0},hdpopup:{width:170,height:180},shareCtrls:{width:50,height:180},videoCtrls:{width:he,height:50}}}function R(){return{banner:{width:550,height:180},hdpopup:{width:170,height:180},shareCtrls:{width:50,height:180},videoCtrls:{width:he,height:50}}}function N(){return{banner:{width:550,height:180},hdpopup:{width:170,height:180},shareCtrls:{width:50,height:180},videoCtrls:{width:he,height:50}}}function z(){return"ended"===G.playState?N():"paused"===G.playState?R():Y()}function k(e){if(Q){var t=z();isPad()&&(t.banner.width=540,t.banner.height=170);var i=.5*(he-t.banner.width),n=.5*(ue-t.banner.height);Q.top.x=e.align.x,Q.top.y=e.align.y,Q.top.width=he-t.shareCtrls.width,Q.top.height=n,Q.right.x=e.align.x+he-i,Q.right.y=e.align.y+t.shareCtrls.height,Q.right.width=i,Q.right.height=ue-t.shareCtrls.height-t.hdpopup.height,Q.bottom.x=e.align.x,Q.bottom.y=e.align.y+ue-n,Q.bottom.width=he-t.hdpopup.width,Q.bottom.height=n-t.videoCtrls.height,Q.left.x=e.align.x,Q.left.y=e.align.y,Q.left.width=i,Q.left.height=ue-t.videoCtrls.height}}function B(t){t.id===e.mediaItem.id&&(e.mediaItem.thumb!==t.thumb,e.mediaItem.content!==t.content)}function H(){STATE.section(G.section),q&&(q.transition=0,q.x=.5*(STATE.mediaView.maskWidth(G.width)-q.width),q.y=.5*(STATE.mediaView.maskHeight(G.height,G.section.key)-q.height))}function F(){G.events.removeEventListener(PAUSE_MEDIA,u),G.events.removeEventListener(DESTROY_MEDIA,T),G.events.removeEventListener(TRANSITION_END,m),G.events.removeEventListener(ADMIN_MOUSE_DOWN,s),G.events.removeEventListener(ADMIN_MOUSE_UP,d),Le.removeEventListener(RESIZE,x),Le.removeEventListener(LAYOUT_MODEL_CHANGE,x),Le.removeEventListener("mediaSizeUpdate",x),Le.removeEventListener(MEDIA_MODEL_CHANGE,B),Le.removeEventListener("mediaAutoPlay",l),Le.removeEventListener("spacebarTogglePlay",r),Le.removeEventListener("destroy",F),Le.removeEventListener("showCursor",i),Le.removeEventListener("hideCursor",n),j.removeEventListener(LOAD,V),K&&(K.element.removeEventListener("webkitendfullscreen",f),isVimeo(e.mediaItem)?K.removeEventListener(VIMEO_METADATA_LOADED,O):K.element.removeEventListener(METADATA_LOADED,S,!1),K.destroy()),G.removeEventListener(CHILD_ADDED,o)}var G=new Sprite({events:e.localEvents});if(G.alpha=0,G.updateSpeed=0,G.overflow="hidden",G.id=e.mediaItem.id,G.type=e.mediaItem.type,G.dims=e.size.content,G.section=e.section,G.state=e.state,G.mediaItem=e.mediaItem,e.mediaItem.thumb.length||(MEDIA_MODEL[G.id].size.thumb.width=1200,MEDIA_MODEL[G.id].size.thumb.height=800),/mp4/.test(e.mediaItem.thumb)){var j=new Sprite({type:"video"});j.element.setAttribute("muted",!0),j.element.setAttribute("autoplay",!0),j.element.setAttribute("loop",!0),j.element.setAttribute("playsinline",!0),j.element.setAttribute("type","video/mp4")}else var j=new Bitmap;j.alpha=0,j.zIndex=1;var W,Z=new Sprite;Z.element.className="video.mask";var X,K,q,J,Q,$,ee=new Bitmap,te=e.size.thumb.width,ie=e.size.thumb.height,ne=0,oe=0,ae=0,re=0,le=0,se=0,de=e.size.content.width,ce=e.size.content.height,he=0,ue=0,Te=0,Ee=0,ge=!1,me=!1,pe=!1,Le=e.localEvents,fe=e.state,ve=getCaptionText(e.mediaItem);if(ve&&STATE.overrides.captionMobileOverrides){var Se=1,Oe=new Svg;Oe.left=0,Oe.top=0,Oe.rotate=0,Oe.path=new Path,Oe.path.scale=Se,Oe.width=15*Se,Oe.height=15*Se,Oe.path.d=svgPaths.navInfo[LAYOUT_MODEL.navbarIconSet],Oe.path.strokeWidth="thin"===LAYOUT_MODEL.navbarIconSet?1:0,Oe.path.fill="thin"===LAYOUT_MODEL.navbarIconSet?"none":LAYOUT_MODEL.navbarColor,Oe.path.stroke="thin"===LAYOUT_MODEL.navbarIconSet?LAYOUT_MODEL.navbarColor:"none",Oe.addChild(Oe.path);var Ce=buildAlignedButton({alignHorizontal:"right",alignVertical:"top",horizontalOffset:25,verticalOffset:20,blendMode:"normal",font:"Helvetica",fontSize:12,fontColor:"#999999"});Ce.zIndex=1,Ce.addChild(Oe),Ce.addEventListener("click",function(t){if(X)if(X.isShowing)X.hide();else{var i=getCaptionText(e.mediaItem);X.text=plainTextToHtml(i),X.show(y)}}),G.addChild(Ce)}if(t()&&STATE.lightboxButtonsEnabled()&&!G.mediaItem.disableLightbox){var Ae=STATE.lightboxSection.media.indexOf(G.mediaItem.id),be=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxGalleryBtnAlignHorizontal||"left",alignVertical:LAYOUT_MODEL.lightboxGalleryBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxGalleryBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxGalleryBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxGalleryBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxGalleryBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxGalleryBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxGalleryBtnFontColor||"#999999"});if(be.zIndex=1,be.text=Ae>-1?LAYOUT_MODEL.lightboxGalleryBtnRemoveText||"- Lightbox":LAYOUT_MODEL.lightboxGalleryBtnAddText||"+ Lightbox",be.addEventListener("click",function(e){var t,i=STATE.lightboxSection.media.indexOf(G.mediaItem.id);i>-1?(be.text=LAYOUT_MODEL.lightboxGalleryBtnAddText||"+ Lightbox",t="remove"):(be.text=LAYOUT_MODEL.lightboxGalleryBtnRemoveText||"- Lightbox",t="add"),G.events.dispatchEvent("lightboxUpdateItem",{action:t,id:G.mediaItem.id}),be.cursor="pointer"}),G.addChild(be),e.section.isLightbox&&!LAYOUT_MODEL.lightboxGalleryDownloadBtnDisable){var ye=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxDownloadBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.lightboxDownloadBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxDownloadBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxDownloadBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxDownloadBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxDownloadBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxDownloadBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxDownloadBtnFontColor||"#999999"});ye.text=LAYOUT_MODEL.lightboxDownloadBtnText||"↓",ye.zIndex=1,ye.addEventListener("click",function(e){G.events.dispatchEvent("lightboxDownloadOverlayOpen")}),G.addChild(ye)}}if(!isSlideshowGallery(G.section)&&e.mediaItem.attachment&&!LAYOUT_MODEL.attachmentGalleryBtnDisable){var Me=buildAttachmentButton({alignHorizontal:LAYOUT_MODEL.attachmentGalleryBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.attachmentGalleryBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.attachmentGalleryBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.attachmentGalleryBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.attachmentGalleryBtnBlendMode||"difference",font:LAYOUT_MODEL.attachmentGalleryBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.attachmentGalleryBtnFontSize||12,fontColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",iconColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",icon:svgPaths.cloud,text:LAYOUT_MODEL.attachmentGalleryBtnText});Me.zIndex=1,Me.addEventListener("click",function(t){G.events.dispatchEvent("attachmentDownload",e.mediaItem.attachment)}),G.addChild(Me)}Z.overflow="hidden",ee.width=70,ee.height=70,ee.alpha=0,ee.zIndex=4,G.addEventListener(CHILD_ADDED,o),G.events.addEventListener(PAUSE_MEDIA,u),G.events.addEventListener(DESTROY_MEDIA,T),G.events.addEventListener(ADMIN_MOUSE_DOWN,s),G.events.addEventListener(ADMIN_MOUSE_UP,d),Le.addEventListener(RESIZE,x),Le.addEventListener(LAYOUT_MODEL_CHANGE,function(){K&&(isVimeo(e.mediaItem)?STATE.overrides.videoLoop?K.setLoop("true"):K.setLoop("false"):STATE.overrides.videoLoop?K.element.setAttribute("loop",!0):K.element.removeAttribute("loop")),x()}),Le.addEventListener("mediaSizeUpdate",x),Le.addEventListener(MEDIA_MODEL_CHANGE,B),Le.addEventListener("mediaAutoPlay",l),Le.addEventListener("spacebarTogglePlay",r),Le.addEventListener("destroy",F),Le.addEventListener("showCursor",i),Le.addEventListener("hideCursor",n);var ve=getCaptionText(e.mediaItem);return X||""===ve||(X=new Caption,X.container.zIndex=3,J=e.mediaItem.overrides||{},Le.addEventListener("showCaption",D),Le.addEventListener("hideCaption",U),Le.addEventListener("checkCaption",M),w(ve)),G.load=function(){STATE.section(G.section),G.loaded=!0,G.playState=STATE.overrides.videoAutoPlay?"playing":"paused",""!==ve&&(G.addChild(X.container),y()),showPosterImage(e.mediaItem)?/mp4/.test(e.mediaItem.thumb)?(j.element.addEventListener(METADATA_LOADED,function(e){V(),this.muted=!0,this.play()}),j.src=cdnMediaPath(e.mediaItem.thumb,e.mediaItem.demoFile)):(j.addEventListener(LOAD,V),e.mediaItem.thumb.length?j.src=cdnMediaPath(e.mediaItem.thumb,e.mediaItem.demoFile):j.src=ICONS+"videoLarge2.png"):K||(m(),STATE.overrides.videoAutoPlay&&USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||K.setSource(e.mediaItem.content,!1),D(fe))},G.unload=function(){},G.play=function(t){Le.dispatchEvent(PAUSE_MEDIA),setTimeout(function(){STATE.section(G.section),t=void 0!==t?t:STATE.overrides.videoAutoPlay,K&&K.src?K.play():K&&!K.src?K.setSource(e.mediaItem.content,t):K||(m(),K.setSource(e.mediaItem.content,t)),q&&(q.removeLoader(),q.zIndex=0),Tween(ee,UPDATE_SPEED,{alpha:0,onComplete:function(){ee.display="none"}}),isSlideshowGallery(G.section)&&!LAYOUT_MODEL.landingMediaUnmuteBtn&&("function"==typeof K.disableUnmuteButton&&K.disableUnmuteButton(),isVimeo(e.mediaItem)||K.hud.disable())},0)},G.pause=function(){K&&K.pause()},G.destroy=function(){T()},G.autoPlay=function(){G.play(!0),USER_AGENT!==MOBILE&&x()},G.hide=function(){1===G.alpha&&Tween(G,UPDATE_SPEED,{alpha:0,onComplete:function(){G.display="none"}})},G.show=function(){0===G.alpha&&(G.display="block",Tween(G,UPDATE_SPEED,{alpha:1}))},G.updatePosition=x,G}function OverlayController(e){function t(){_.thumbs&&_.thumbs.getTotalHeight()&&(_.overlayView.contentHeight=_.thumbs.getTotalHeight()),_.overlayView.updatePosition()}function i(){_.overlayView.show(),_.thumbs&&_.thumbs.show()}function n(){_.overlayView.hide(),_.thumbs.hide()}function o(e){if(S){var t=getSectionById(e.id),i=t&&t.key.indexOf(S.key)>-1;(e&&"thumb"===e.field||e.section===S||i)&&(D=!0,S=e.section?e.section:S,_.overlayView.section=S,_.overlayView.updatePosition(e),u({mode:v,section:S}),_.thumbs&&_.thumbs.resize()),S=e.section?e.section:S,_.overlayView.section=S}else _.thumbs&&(n(),_.thumbs.scroll&&_.thumbs.scroll.destroy(),_.overlayView.removeChild(_.thumbs),delete _.thumbs)}function a(e){_.inquiry&&_.inquiry.updateInquiryInfo()}function r(e){e&&_.share&&(_.share.updateStyle(e),_.share.updatePosition(e)),e&&_.inquiry&&(_.inquiry.updateStyle(e),_.inquiry.updatePosition(e)),e&&/overlay/.test(e.id)&&("overlay"===STATE.overrides.thumbnailDock||/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType))&&(D=!0,_.overlayView.updatePosition(e),"changeTemplate"===e.action||(V=!0,u({mode:v,section:S}))),e&&/attachmentThumbnail|paginated|static|thumbnail|menuWidth|menuAlignHorizontal|menuOffsetX|sitePaddingTop|sitePaddingRight|sitePaddingBottom|sitePaddingLeft/i.test(e.id)&&(D=!0,_.overlayView.updatePosition(e),"changeTemplate"===e.action||(V=!0,u({mode:v,section:S})),_.thumbs&&_.thumbs.resize())}function l(e){(e.info.isMediaViewStateChange||e.info.isModeChange)&&_.overlayView.updatePosition(e),e.assetId&&(O=e.assetId),e.section&&STATE.section(e.section),STATE.siteView.unifiedPageScroll()&&/strip/.test(STATE.overrides.thumbnailType)?_.overlayView.position="fixed":_.overlayView.position="absolute",/inquiry|share|foto/.test(e.mode)?(_.overlayView.contentHeight=STATE.mediaView.zoneHeight(e.section.key),_.overlayView.show(),m(e),p(e),s(e)):(m(e),p(e),s(e)),u(e)}function s(t){if(t.section&&t.mode.indexOf("fotomoto")>-1){var i=csvToArray(t.section.media),n=getMediaById(i[t.assetId]);return window.FOTOMOTO&&n&&n.type===IMAGE&&window.FOTOMOTO.API.showWindow(10,SETTINGS_MODEL.cdnSslUri+"/"+n.content),setTimeout(function(){e.siteEvents.dispatchEvent("clearFotomotoMode","fotomoto")},100),!0}return!1}function d(e,t){return!!t&&t.indexOf(e)!==-1}function c(e){_.thumbs&&!_.thumbs.scroll&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)?e.info&&e.info.isModeChange&&d("thumbs",e.mode)||(e.info&&!e.info.isSectionChange&&e.info.isModeChange&&d("thumbs",e.info.lastUri)?y=_.thumbs.mask.scrollY||window.scrollY:e.info&&e.info.isSectionChange&&(y=void 0)):y=void 0}function h(e){if(_.thumbs&&STATE.section(_.thumbs.section),"unifiedSiteScrollVertical"!==STATE.overrides.siteDisplayBehavior&&_.thumbs&&!_.thumbs.scroll&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&(info&&info.isSectionChange&&!info.isModeChange&&d("thumbs",v)?STATE.siteView.unifiedPageScroll()&&window.scrollTo(0,0):info&&!info.isSectionChange&&info.isModeChange&&d("thumbs",v)&&(STATE.siteView.unifiedPageScroll()?window.scrollTo(0,y||0):_.thumbs.mask.scrollY=y||0)),_.thumbs&&/strip/.test(STATE.overrides.thumbnailType)&&d("thumbs",v))if(_.thumbs.scroll&&!_.thumbs.mouseHover)_.thumbs.scroll.percent=O/(b.length-1),_.thumbs.scroll.update(UPDATE_SPEED),_.thumbs.lazyLoader&&_.thumbs.lazyLoader.update();else if("strip"===STATE.overrides.thumbnailType){var t=O/(b.length-1);if(/top|bottom/.test(STATE.overrides.thumbnailSide)){var i=_.thumbs.mask.grid.width-_.thumbs.mask.width;Anim.to(_.thumbs.mask,UPDATE_SPEED,{scrollLeft:Math.round(i*t),scrollTop:0,ease:TOUCH_DEVICE?"outQuart":"inOutCubic",onComplete:function(){_.thumbs&&_.thumbs.lazyLoader&&_.thumbs.lazyLoader.update()}})}else{var i=_.thumbs.mask.grid.height-_.thumbs.mask.height;Anim.to(_.thumbs.mask,UPDATE_SPEED,{scrollLeft:0,scrollTop:Math.round(i*t),ease:TOUCH_DEVICE?"outQuart":"inOutCubic",onComplete:function(){_.thumbs&&_.thumbs.lazyLoader&&_.thumbs.lazyLoader.update()}})}}}function u(t){if(v=t.mode||"",S=t.section||S,_.overlayView.section=S,U=t.info?t.info.isModeChange:v!==t.mode&&S===t.section,info=t.info?t.info:{},t.assetId>-1&&(O=t.assetId),C=t.path||C,t.section&&(b=t.section.mediaItems||b),/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(v)?(e.siteEvents.dispatchEvent(PAUSE_MEDIA),setTimeout(function(){e.mediaView.scroll&&e.mediaView.scroll.hide()},20)):/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&setTimeout(function(){e.mediaView.scroll&&e.mediaView.scroll.show()},0),_.thumbs&&_.thumbs.section!==S&&(y=void 0),_.thumbs&&(_.thumbs.section!==S||D||V)&&(_.thumbs.scroll&&_.thumbs.scroll.destroy(),_.thumbs.lazyLoader&&delete _.thumbs.lazyLoader,_.overlayView.removeChild(_.thumbs),delete _.thumbs),b=t.section.media.filter(function(e){return null!==e}).filter(function(e){return!isSpacer(getSectionById(e))}).map(function(e){var t=e<1e4?f(getSectionById(e)):JSON.parse(JSON.stringify(getMediaById(e)));return t}).filter(function(e){return!!e&&!e.slideshow}),b.filter(function(e){return"link"!==e.type}).forEach(function(e,t){e.assetId=t}),t.section&&t.section.thumb)if(A=t.section.thumb,!_.thumbs&&v.indexOf("thumbs")>-1&&b.length&&("hPaginatedGrid"===STATE.overrides.thumbnailType?(_.thumbs=new PaginatedThumbs({assetId:O,path:C,mediaItems:b,settings:A,events:e.siteEvents,localEvents:e.localEvents,parent:e.siteView,scrollbarParent:w,section:S,thumbnailOnly:STATE.overrides.thumbnailOnly,isIndexSection:isIndexSection(S)}),_.overlayView.contentHeight=STATE.mediaView.zoneHeight(t.section.key)):(_.thumbs=new ThumbsModule({assetId:O,path:C,mediaItems:b,settings:A,events:e.siteEvents,localEvents:e.localEvents,parent:e.siteView,scrollbarParent:w,section:S,thumbnailOnly:STATE.overrides.thumbnailOnly,isIndexSection:isIndexSection(S)}),_.overlayView.contentHeight="strip"===STATE.overrides.thumbnailType&&"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?STATE.mediaView.zoneHeight(t.section.key):_.thumbs.getTotalHeight()),_.thumbs.section=S,_.thumbs.settings=A,_.overlayView.addChild(_.thumbs)),_.thumbs&&v.indexOf("thumbs")>-1&&(!_.thumbs.toggleState()||D))setTimeout(function(){T(),h(t),i()},1300*UPDATE_SPEED);else if(_.thumbs&&_.thumbs.toggleState()&&v.indexOf("thumbs")===-1)if(U)if(T(),STATE.siteView.unifiedPageScroll()||/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)&&"multiple"===layoutCalcs.sectionDisplayMode||"strip"===STATE.overrides.thumbnailType)n();else{setTimeout(function(){n()},0)}else e.siteEvents.addEventListener(TRANSITION_START,E);c(t),setTimeout(function(){g(t),v.indexOf("thumbs")>-1&&h(t)},20),U=!1,D=!1,V=!1}function T(){"strip"===STATE.overrides.thumbnailType&&"displace"===STATE.overrides.thumbnailDock&&e.siteEvents.dispatchEvent("thumbStripDisplaceChange")}function E(){e.siteEvents.removeEventListener(TRANSITION_START,E),1===LAYOUT_MODEL.overlayAlpha&&e.siteEvents.dispatchEvent("OPAQUE_OVERLAY_CLOSE"),n()}function g(){_.thumbs&&(O>-1?_.thumbs.highlight(O):_.thumbs.highlight(-1))}function m(t){return t.mode.indexOf("share")>-1?(_.share||(_.share=new ShareView(Object.assign({},e,{section:t.section})),_.share.pointerEvents="auto",_.overlayView.addChild(_.share)),_.share.updateContent(t),_.share.show(),!0):(_.share&&_.share.hide(),!1)}function p(t){return t.mode.indexOf("inquiry")>-1?(_.inquiry||(_.inquiry=new InquiryView(Object.assign({},e,{section:t.section})),_.inquiry.pointerEvents="auto",_.overlayView.addChild(_.inquiry)),_.inquiry.updateContent(t),_.inquiry.show(),!0):(_.inquiry&&_.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=getMediaById(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 f(e){var t;if(e){var i=getMediaById(e.media[0]),n=L(e);isOnlyLinkItem(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 v,S,O,C,A,b,y,M,w,_=new ControllerProxy({parentView:e.mediaView.mask,parentController:e.parentController,events:e.siteEvents}),D=!1,U=!1,x=e.localEvents,V=!1;return _.overlayView=new OverlayView(e),_.overlayView.zIndex=STATE.overlayView.zIndex,_.lazyLoaderUpdate=function(){_.thumbs&&_.thumbs.lazyLoader&&_.thumbs.lazyLoader.update()},/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||isInMediaOverlay()?(w=e.mediaView,e.mediaView.addChild(_.overlayView)):(w=e.siteView,e.siteView.addChild(_.overlayView)),x.addEventListener("UPDATE_CONTENT_HEIGHT",function(e){S&&(M=S.key,STATE.section(S)),"strip"===STATE.overrides.thumbnailType?(_.overlayView.contentHeight=STATE.mediaView.zoneHeight(M),_.overlayView.updatePosition()):e.thumbs&&(_.overlayView.contentHeight=e.thumbs,_.overlayView.updatePosition())}),e.siteEvents.addEventListener(LAYOUT_MODEL_CHANGE,r),_.uriChange=l,e.siteEvents.addEventListener(SECTIONS_MODEL_CHANGE,o),e.siteEvents.addEventListener(SETTINGS_MODEL_CHANGE,a),e.siteEvents.addEventListener("UPDATE_CONTENT_HEIGHT",t),e.siteEvents.addEventListener("holdersBuilt",function(){g(),h()}),_.destroy=function(){_.thumbs&&(_.thumbs.scroll&&_.thumbs.scroll.destroy(),_.thumbs.staticNav&&_.thumbs.removeStaticNav()),/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?e.mediaView.mask.removeChild(_.overlayView):e.siteView.removeChild(_.overlayView),e.siteEvents.removeEventListener(LAYOUT_MODEL_CHANGE,r),_.uriChange=l,e.siteEvents.removeEventListener(SECTIONS_MODEL_CHANGE,o),e.siteEvents.removeEventListener(SETTINGS_MODEL_CHANGE,a),e.siteEvents.removeEventListener("UPDATE_CONTENT_HEIGHT",t),e.siteEvents.removeEventListener("holdersBuilt",function(){thumbHoldersBuilt(),h()})},_.resize=function(e){_.overlayView.updatePosition(e),_.share&&_.share.updatePosition(e),_.inquiry&&_.inquiry.updatePosition(e),_.thumbs&&_.thumbs.resize()},_}function OverlayView(e){var t=new ViewProxy({events:e.events});t.zIndex=STATE.overlayView.zIndex,t.overflow=/hPaginatedGrid/.test(STATE.overrides.thumbnailType)?"initial":"hidden",t.pointerEvents="none",t.updateSpeed=0,"Safari"===BROWSER_NAME&&(t.style["-webkit-backface-visibility"]="hidden",t.style.transform="translateZ(0)"),t.element.setAttribute("class","OverlayView"),t.addEventListener(CHILD_ADDED,function(){t.updatePosition()}),t.show=function(){t.display="block",Tween(t,UPDATE_SPEED,{alpha:1})},t.hide=function(){Tween(t,UPDATE_SPEED,{alpha:0,onComplete:function(){t.display="none"}})};var i=20;return t.updatePosition=function(){setTimeout(function(){if(t.section&&(t.sectionKey=t.section.key,STATE.section(t.section)),STATE.overrides.siteDisplayGalleryOnlyOverlay&&"open"===layoutCalcs.mediaOverlayState);else{t.overflow=/hPaginatedGrid/.test(STATE.overrides.thumbnailType)?"initial":"hidden";var e=/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||(STATE.siteView.unifiedPageScroll()||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior))&&/overlay/.test(t.section.displayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay?t.contentHeight||0:STATE.overlayView.zoneHeight();"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&/strip/.test(STATE.overrides.thumbnailType)&&(e=STATE.mediaView.zoneHeight(t.sectionKey)),Tween.defer(t,0,{x:STATE.overlayView.x(),y:STATE.overlayView.y(t.sectionKey),width:STATE.overlayView.zoneWidth(),height:e}),t.updateSpeed=UPDATE_SPEED}},i)},t}function PaginatedThumbs(e){function t(e,t,i){var n=THUMB_SIZES[STATE.overrides.thumbnailSize].width+i,o=Math.floor((e+i)/n);return o<1?1:o),t?t:o}function i(e,t){var i=THUMB_SIZES[STATE.overrides.thumbnailSize].height+t;return Math.floor((e+t)/i)}function n(){var e=percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width);return STATE.mediaView.zoneWidth()-2*e}function o(){var t=percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height);return STATE.mediaView.zoneHeight(e.section.key)-2*t}function a(){STATE.section(e.section);var a=n(),r=o(),l=STATE.overrides.thumbnailGap;return t(a,1/0,l)*i(r,l)||1}function r(e){var t=0,i=0,n=0;u.addEventListener(TOUCH_START,function(e){t=e.touches[0].pageX-u.x,touchStartPointXRef=e.touches[0].pageX},!1),u.addEventListener(TOUCH_MOVE,function(e){i=e.touches[0].pageX,n=e.touches[0].pageY,Math.abs(i)>Math.abs(n)-10&&(e.preventDefault(),e.stopPropagation()),u.x=i-t},!1),u.addEventListener(TOUCH_END,function(n){if(i-touchStartPointXRef>20){v=v-1>0?v-1:0;var o=T[v];Tween(u,.35,{x:-o.x,ease:EASE.cubic.out,onComplete:function(){0===v?(e.hide("prev"),e.show("next")):v===T.length-1?(e.hide("next"),e.show("prev")):e.show(),L.lazyLoader.update(),p=u.x}})}else if(i-touchStartPointXRef<-20){v=v+1Math.abs(n.deltaY)){var o=T[T.length-1].x;p-=Math.round(n.deltaX),p<-Math.abs(o)?(u.x=-Math.abs(o),p=-Math.abs(o)):p<0?u.x=p:p>=0&&(u.x=0,p=0),t=setTimeout(function(){v=Math.round(Math.abs(p)/o*(T.length-1));var t=T[v];Tween(u,.35,{x:-t.x,ease:EASE.cubic.inOut,onComplete:function(){0===v?(e.hide("prev"),e.show("next")):v===T.length-1?(e.hide("next"),e.show("prev")):e.show(),L.lazyLoader.update(),p=u.x}})},i)}})}function s(){return STATE.section(e.section),new StaticNav({zIndex:201,axis:"x",align:LAYOUT_MODEL.staticNavAlignment||"center",scale:LAYOUT_MODEL.staticNavIconScale||1,zone:{x:0,y:0,width:STATE.mediaView.zoneWidth(),height:STATE.mediaView.zoneHeight(L.section.key)},offset:{prevX:LAYOUT_MODEL.staticNavPrevOffsetX||0,prevY:LAYOUT_MODEL.staticNavPrevOffsetY||0,nextX:LAYOUT_MODEL.staticNavNextOffsetX||0,nextY:LAYOUT_MODEL.staticNavNextOffsetY||0},paths:{prev:{d:svgPaths.arrow3Left,fill:"none",stroke:LAYOUT_MODEL.cursorColor||"#333",strokeWidth:LAYOUT_MODEL.staticNavStrokeWidth||1},next:{d:svgPaths.arrow3Right,fill:"none",stroke:LAYOUT_MODEL.cursorColor||"#333",strokeWidth:LAYOUT_MODEL.staticNavStrokeWidth||1}},prevClick:function(e){v=v-1>0?v-1:0;var t=T[v];Tween(u,.35,{x:-t.x,ease:EASE.cubic.inOut,onComplete:function(){0===v?(e.hide("prev"),e.show("next")):v===T.length-1?(e.hide("next"),e.show("prev")):e.show(),L.lazyLoader.update(),p=u.x}})},nextClick:function(e){v=v+10&&(u=h(new Sprite), u.zIndex=1,u.element.className="paginated container",L.mask.element.className="paginated mask",L.mask.width=STATE.mediaView.zoneWidth(),L.mask.height=STATE.mediaView.zoneHeight(L.section.key),L.layout=function(){T.forEach(function(e,t){e.resize(),e.x=t*STATE.mediaView.zoneWidth()})},L.transition=new PaginatedSlideTransition({mediaView:L,mediaViewContainer:u,event:e.events}),L.resize=function(){h(u),v>T.length-1&&(v=T.length-1),L.staticNav&&(L.staticNav.resize({x:0,y:0,width:STATE.overlayView.zoneWidth(),height:STATE.mediaView.zoneHeight(L.section.key)}),T.length&&1!==T.length?0===v?(L.staticNav.hide("prev"),L.staticNav.show("next")):v===T.length-1?(L.staticNav.hide("next"),L.staticNav.show("prev")):L.staticNav.show():L.staticNav.hide()),L.layout(),T[v]&&Tween(u,.35,{x:-T[v].x})},L.removeStaticNav=function(){L.removeChild(L.staticNav)},L.staticNav=s(),L.swipeNav=l(L.staticNav),L.touchNav=r(L.staticNav),T.length&&1!==T.length?0===v?(L.staticNav.hide("prev"),L.staticNav.show("next")):v===T.length-1?(L.staticNav.hide("next"),L.staticNav.show("prev")):L.staticNav.show():L.staticNav.hide(),L.resize()),L.show=function(){L.display="block",T.forEach(function(e,t){e.show()}),m=!0},L.hide=function(){T.forEach(function(e){e.hide()}),setTimeout(function(){L.display="none"},1e3*UPDATE_SPEED),m=!1},L.toggleState=function(){return m},L.highlight=function(){if(u){var e=u.children[v];e&&e.highlight()}},L.mask.addChild(u),L.addChild(L.mask),L.addChild(L.staticNav),L}function PaginatedSlideTransition(e){function t(e,t){STATE.section(o.section);var t=void 0!==t?t:STATE.mediaView.transitionDuration();n.dispatchEvent(TRANSITION_START);var a=TOUCH_DEVICE?EASE.quart.out:EASE.cubic.inOut,r=i.children[e];if(r){var l=r.x,s=r.y;if(Tween(i,t,{translateX:-l,translateY:-s,ease:a,onComplete:function(){n.dispatchEvent(TRANSITION_END),o.lazyLoader&&o.lazyLoader.update()}}),USER_AGENT===MOBILE)for(var d=i.children,c=0;c<128?"#FFFFFF":"#000000"):(e=parseColor(STATE.mediaView.backgroundColor()),t=.33*(e[0]+e[1]+e[2]),t<128?"#FFFFFF":"#000000")}function s(e){return STATE.lightboxSection&&!LAYOUT_MODEL.lightboxThumbnailBtnDisable&&("image"===e&&!LAYOUT_MODEL.lightboxImageDisable||"video"===e&&!LAYOUT_MODEL.lightboxVideoDisable)}function d(){STATE.section(e.section);var t=e.mediaItems,i=t.length,a=0;for(getNumberOfColumns(getZoneWidth(),STATE.overrides.thumbnailMaxCols,STATE.overrides.thumbnailGap);a1?(p=2*THUMB_SIZES[STATE.overrides.thumbnailSize].width+STATE.overrides.thumbnailGap,L=2*THUMB_SIZES[STATE.overrides.thumbnailSize].height+STATE.overrides.thumbnailGap,f=2*THUMB_SIZES[STATE.overrides.thumbnailSize].width+STATE.overrides.thumbnailGap,v=2*THUMB_SIZES[STATE.overrides.thumbnailSize].height+STATE.overrides.thumbnailGap):(p=THUMB_SIZES[STATE.overrides.thumbnailSize].width,L=THUMB_SIZES[STATE.overrides.thumbnailSize].height,f=THUMB_SIZES[STATE.overrides.thumbnailSize].width,v=THUMB_SIZES[STATE.overrides.thumbnailSize].height);var A=p,y=L;if(S.width=A,S.height=y,S.filename=n(d,p,L),S.original=o(d,p,L),isBlogFeed(e.section.id)?S.index=inverseAssetId(d.assetId,e.section.mediaItems.length-1):S.index=d.assetId,/mp4/.test(S.filename)?(S.thumb=new Sprite({type:"video"}),S.thumb.element.setAttribute("muted",!0),S.thumb.element.setAttribute("autoplay",!0),S.thumb.element.setAttribute("loop",!0),S.thumb.element.setAttribute("playsinline",!0),S.thumb.element.setAttribute("type","video/mp4")):S.thumb=new Bitmap,S.thumb.attempts=0,S.thumb.selectable=!1,S.thumb.zIndex=1,!d.disableLightbox&&s(d.type)&&STATE.lightboxButtonsEnabled()){var _=STATE.lightboxSection.media.indexOf(d.id),D=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxThumbnailBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.lightboxThumbnailBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxThumbnailBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxThumbnailBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxThumbnailBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxThumbnailBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxThumbnailBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxThumbnailBtnFontColor||"#999999"});if(D.zIndex=5,D.text=_>-1?LAYOUT_MODEL.lightboxThumbnailBtnRemoveText||"- Lightbox":LAYOUT_MODEL.lightboxThumbnailBtnAddText||"+ Lightbox",S.lightboxBtn=D,S.lightboxBtn.addEventListener("click",function(e){var t,i=STATE.lightboxSection.media.indexOf(d.id);i>-1?(D.text=LAYOUT_MODEL.lightboxThumbnailBtnAddText||"+ Lightbox",P.section.isLightbox&&(S.thumb.alpha=.15),t="remove"):(D.text=LAYOUT_MODEL.lightboxThumbnailBtnRemoveText||"- Lightbox",P.section.isLightbox&&(S.thumb.alpha=1),t="add"),S.lightboxBtn.cursor="pointer",P.events.dispatchEvent("lightboxUpdateItem",{action:t,id:d.id})}),S.addChild(D),!LAYOUT_MODEL.lightboxThumbnailDownloadBtnDisable&&P.section.isLightbox){var U=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxThumbnailDownloadBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.lightboxThumbnailDownloadBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxThumbnailDownloadBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxThumbnailDownloadBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxThumbnailDownloadBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxThumbnailDownloadBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxThumbnailDownloadBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxThumbnailDownloadBtnFontColor||"#999999"});U.text=LAYOUT_MODEL.lightboxThumbnailDownloadBtnText||"↓",U.zIndex=5,U.addEventListener("click",function(e){P.events.dispatchEvent("lightboxDownloadOverlayOpen")}),S.addChild(U)}}if(!isSlideshowGallery(P.section)&&d.attachment&&!LAYOUT_MODEL.attachmentThumbnailBtnDisable){var x=buildAttachmentButton({alignHorizontal:LAYOUT_MODEL.attachmentThumbnailBtnAlignHorizontal||"right",alignVertical:LAYOUT_MODEL.attachmentThumbnailBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.attachmentThumbnailBtnHorizontalOffset,stage.height)||10,verticalOffset:percentToPixels(LAYOUT_MODEL.attachmentThumbnailBtnVerticalOffset,stage.height)||10,blendMode:LAYOUT_MODEL.attachmentThumbnailBtnBlendMode||"difference",font:LAYOUT_MODEL.attachmentThumbnailBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.attachmentThumbnailBtnFontSize||12,fontColor:LAYOUT_MODEL.attachmentThumbnailBtnFontColor||"#999999",iconColor:LAYOUT_MODEL.attachmentGalleryBtnFontColor||"#999999",icon:svgPaths.cloud,text:LAYOUT_MODEL.attachmentGalleryBtnText||"Download"});x.zIndex=5,x.addEventListener("click",function(e){P.events.dispatchEvent("attachmentDownload",d.attachment)}),S.addChild(x)}var V=ScaleEngine({type:"fit",hRange:f,vRange:v,width:d.size.thumb.width||d.size.content.width||THUMB_SIZES[STATE.overrides.thumbnailSize].width,height:d.size.thumb.height||d.size.content.height||THUMB_SIZES[STATE.overrides.thumbnailSize].height,disableOrientationCheck:!0}),I=new AlignEngine({hRange:p,vRange:L,hAlign:STATE.overrides.thumbnailAlignHorizontal||"center",vAlign:STATE.overrides.thumbnailAlignVertical||"center",width:V.width,height:V.height});S.thumb.width=Math.ceil(V.width),S.thumb.height=Math.ceil(V.height),S.thumb.x=Math.floor(I.x),S.thumb.y=Math.floor(I.y),"strip"!==STATE.overrides.thumbnailType&&("slideUp"===LAYOUT_MODEL.thumbLoadEffect?(S.alpha=0,S.translateX=0,S.translateY=70):"slideDown"===LAYOUT_MODEL.thumbLoadEffect&&(S.alpha=0,S.translateX=0,S.translateY=-70)),d.type===VIDEO&&STATE.overrides.thumbnailVideoPlayIcon&&(isVimeo(d)&&STATE.overrides.vimeoDefault&&e.thumbnailOnly||T(S,p,L)),S.playBtn&&(S.playBtn.x=Math.round(.5*(p-50)),S.playBtn.y=Math.round(.5*(L-50)));var Y=getLabelPosition(e.isIndexSection);if(S.selectable=!0,Y&&"none"!==Y){S.label=new TextField,S.label.selectable=!0;var R=d.alias||d.label;d.subTitle&&(R+="
"+d.subTitle+"
"),S.label.text=R,S.label.element.style.wordBreak="break-word",S.label.fontFamily=STATE.overrides.thumbnailTitleFont,S.label.fontColor=STATE.overrides.thumbnailTitleFontColor,S.label.fontSize=STATE.overrides.thumbnailTitleFontSize,S.label.width=p,S.label.textAlign=getLabelJustification(e.isIndexSection),S.label.zIndex=5;var z=getSpriteDims(S.label);switch(Y){case"top":S.label.y=firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),S.thumb.y=z.height+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),k=z.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5)>k?z.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5):k,S.height=L+k;break;case"over":case"hover":d.type===VIDEO&&STATE.overrides.thumbnailVideoPlayIcon?S.label.y=.5*(L-50)-z.height+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,0):S.label.y=.5*(L-z.height)+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,0),S.label.pointerEvents="none",USER_AGENT===MOBILE||isPod()?S.label.alpha=1:USER_AGENT===TABLET||isPad()?S.label.alpha=1:"over"===Y?S.label.alpha=1:S.label.alpha=0;break;case"hover-bottom":S.label.pointerEvents="none",USER_AGENT===MOBILE||isPod()?S.label.alpha=1:USER_AGENT===TABLET||isPad()?S.label.alpha=1:"over"===Y?S.label.alpha=1:S.label.alpha=0,S.label.y=L+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),k=z.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5)>k?z.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5):k,S.height=L+k;break;case"bottom":default:S.label.y=L+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),k=z.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5)>k?z.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5):k,S.height=L+k}S.addChild(S.label)}"spinner"===STATE.overrides.thumbnailLoaderType&&(S.loader=new LoadingIndicator({type:"spinner",alpha:.65,color:l()}),S.addChild(S.loader),S.loader.x=.5*(p-S.loader.width),S.loader.y=.5*(L-S.loader.height));var H=new Sprite;H.id="hit",H.zIndex=4,H.cursor="pointer",USER_AGENT===MOBILE&&/hover|over/.test(Y)?H.alpha=firstValid(STATE.overrides.thumbnailHoverAlphaMobile,0):USER_AGENT===TABLET&&/hover|over/.test(Y)?H.alpha=firstValid(STATE.overrides.thumbnailHoverAlphaTablet,0):H.alpha=0,H.y=0,H.width=A,H.height=y,H.backgroundColor=STATE.overrides.thumbnailHoverColor,"Safari"===BROWSER_NAME&&(H.style["-webkit-backface-visibility"]="hidden",H.style.transform="translateZ(0px)"),S.addChild(H),S.hit=H;var F=getZoneWidth(),G=getNumberOfColumns(F,STATE.overrides.thumbnailMaxCols,STATE.overrides.thumbnailGap),j=/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryMaintainOrder,W=!(!(G>1&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType))||j)&&h;B.addItem(p,S.height,W),S.defaultWidth=A,S.defaultHeight=y,N.push(S),e.thumbnailOnly&&"link"!==d.type||H.addEventListener(CLICK,m),isPod()||isPad()||(H.addEventListener(MOUSE_OVER,E),H.addEventListener(MOUSE_OUT,g)),H.element.addEventListener("contextmenu",r),H.element.addEventListener("dragstart",r),S.load=O,S.unload=b,a===i-1&&setTimeout(function(){c(N).forEach(function(e){w.addChild(e)}),M.gridContainer.addChild(w),P.holdersBuilt=!0,P.updateSpeed=UPDATE_SPEED,STATE.section(P.section),P.events.dispatchEvent("holdersBuilt"),u(),P.resize()},0)}},0)}(a)}function c(e){var t=e.slice(0);if(STATE.overrides.thumbnailRandomize){var i=STATE.overrides.thumbnailRandomInterval||1e-4,n=36e5*i,o=(Math.floor((new Date).getTime()/n)*n).toString();t=shuffleSeed.shuffle(t,o)}return t}function h(e){var t=ICONS;switch(e){case VIDEO:t+="video2@2x.png";break;case HTML:t+="text3@2x.png";break;case SWF:t+="swf@2x.png";break;case LINK:t+="link@2x.png";break;case PDF:t+="pdf@2x.png";break;case CONTACT:t+="contact@2x.png"}return t}function u(){if(STATE.section(e.section),/fill|hMasonry|vMasonry|hPaginatedGrid/.test(STATE.overrides.thumbnailType))D=new ThumbsFill({titleBlock:U,container:P,mask:M,items:N,side:STATE.overrides.thumbnailSide,size:STATE.overrides.thumbnailSize,horizontalMargin:percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width),verticalMargin:U?z+percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)-STATE.overrides.thumbnailTitleBlockTopMargin:percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height),masonry:STATE.overrides.thumbnailMasonry,tile:B,parent:P,grid:w,gap:STATE.overrides.thumbnailGap,maxGap:k,events:e.events,localEvents:e.localEvents,isIndexSection:e.isIndexSection,section:e.section});else if("strip"===STATE.overrides.thumbnailType){var t="displace"===STATE.overrides.thumbnailDock?0:24;"Safari"===BROWSER_NAME&&(P.style["-webkit-backface-visibility"]="hidden");var i=isHorizontalStrip()?percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width):percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height),n=layoutCalcs.mediaView.size;V=new Dock(P,{get x(){return n.x()},get y(){return n.y(e.section.key)},get width(){return n.width()},get height(){var t=STATE.mediaView.zoneHeight(e.section.key);return t}},{side:STATE.overrides.thumbnailSide,align:"left",pOffset:i,margin:0,reveal:t,updateSpeed:UPDATE_SPEED}),D=new ThumbsStrip({section:e.section,dock:V,container:P,mask:M,items:N,side:STATE.overrides.thumbnailSide,size:STATE.overrides.thumbnailSize,horizontalMargin:percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width),verticalMargin:percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height),tile:B,parent:P,localEvents:e.localEvents})}}function T(e,t,i){var n=new Bitmap;n.src=ICONS+"play@2x.png",n.width=50,n.height=50,n.alpha=0,n.zIndex=3,n.thumbHolder=e,n.index=e.index,Tween(n,1,{alpha:.85}),e.playBtn=n,e.addChild(n)}function E(t){if(STATE.section(e.section),t.target.parent.label){var i=isIndexSection(e.section);(i&&/hover/.test(STATE.overrides.thumbnailLabelPosition)||!i&&/hover/.test(STATE.overrides.thumbnailStdLabelPosition))&&Tween(t.target.parent.label,.35,{alpha:1})}Tween(t.target,.35,{alpha:a(),backgroundColor:STATE.overrides.thumbnailHoverColor})}function g(t){if(STATE.section(e.section),"link"===t.target.parent.mediaItem.type||I!==t.target.parent.index||0===r()?Tween(t.target,.2,{alpha:0}):Tween(t.target,.2,{alpha:r(),backgroundColor:STATE.overrides.thumbnailSelectedColor}),t.target.parent.label){var i=isIndexSection(e.section);(i&&/hover/.test(STATE.overrides.thumbnailLabelPosition)||!i&&/hover/.test(STATE.overrides.thumbnailStdLabelPosition))&&Tween(t.target.parent.label,.35,{alpha:0})}}function m(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,Tween(t.target.parent.vimeo,UPDATE_SPEED,{alpha:1})):"link"===i.type?P.events.dispatchEvent(THUMB_CLICK,{nothumbs:/nothumbs(\/|)$/.test(i.content),type:"internal",path:i.content.replace(/nothumbs(\/|)/i,""),linkTarget:i.linkTarget,isThumbClick:!1}):(STATE.section(e.section),P.events.dispatchEvent(THUMB_CLICK,{assetId:Number(t.target.parent.index),type:"internal",path:e.path,linkTarget:"_self",isThumbClick:!0,isMobileVideoClick:"video"===i.type&&USER_AGENT===MOBILE&&STATE.overrides.mobileAutoPlay}))}function p(t){e.events.dispatchEvent(NAVBAR_OVERLAY_BTN_CLICK,"thumbs")}function L(e){var t=e.target;t.attempts<2&&t.parent.mediaItem.thumb?(t.src=CDN_PF_SSL_URI+"/media/"+t.parent.mediaItem.thumb,t.attempts++):t.removeEventListener(ERROR,L)}function f(e){return RETINA?e.width>500||e.height>500:e.width>1e3||e.height>1e3}function v(t){var i=t.thumb,n=t.mediaItem,o=new VimeoPlayer({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,e.thumbnailOnly&&(STATE.overrides.vimeoDefault?(o.zIndex=5,Tween(o,UPDATE_SPEED,{alpha:1}),Tween(i,UPDATE_SPEED,{alpha:0}),o.setSource(n.content)):t.hit.element.onclick=function(e){o.zIndex=5,Tween(o,UPDATE_SPEED,{alpha:1}),Tween(i,UPDATE_SPEED,{alpha:0}),o.addEventListener(VIMEO_METADATA_LOADED,function(e){o.play()}),o.setSource(n.content)}),o.onplay=function(){A(o)},o.onpause=function(){}}function S(e){var t=e.thumb,i=e.mediaItem,n=new VideoPlayer({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(){A(n),n.setSource(i.content),n.play(),n.element.style.zIndex=5,Tween(n,UPDATE_SPEED,{alpha:1}),Tween(t,UPDATE_SPEED,{alpha:0})},n.element.onclick=function(){n.paused?(A(n),n.play()):n.pause()}}function O(){var t=this,i=(t.thumb,t.mediaItem);STATE.section(e.section),!D||t.loaded&&t.thumb.src||(/mp4/.test(t.filename)?(t.thumb.element.addEventListener(METADATA_LOADED,function(e){D.thumbLoaded.call(t.thumb),this.muted=!0,this.play()}),t.thumb.src=t.filename):(t.thumb.addEventListener(LOAD,D.thumbLoaded),f(t.thumb)||STATE.overrides.thumbnailFullRes?t.thumb.src=t.original:t.thumb.src=t.filename),t.thumb.addEventListener(ERROR,L),t.thumb.alpha=0,t.loaded=!0,t.addChild(t.thumb)),i.type!==VIDEO||t.vimeo||t.video||(isVimeo(i)&&(USER_AGENT===MOBILE&&STATE.overrides.mobileAutoPlay&&e.thumbnailOnly||USER_AGENT!==MOBILE&&e.thumbnailOnly)?v(t):!isVimeo(i)&&e.thumbnailOnly&&S(t))}function C(e){return"video"===e.mediaItem.type&&(e.vimeo||e.video)}function A(e){P.mask.grid.children.filter(C).forEach(function(t){isVimeo(t.mediaItem)?e&&t.vimeo&&t.vimeo.playerID!==e.playerID?t.vimeo.pause():!e&&t.vimeo&&t.vimeo.pause():t.video&&e&&t.video!==e&&t.video.pause()})}function b(){this.mediaItem.type===VIDEO&&this.vimeo&&0===this.mediaItem.content.indexOf("vimeo")&&USER_AGENT===MOBILE&&this.removeChild(this.vimeo)}function y(){x.state=!0,P.holdersBuilt&&(P.updateSpeed=UPDATE_SPEED)}STATE.section(e.section);var M,w,_,D,U,x,V,I,P=new Sprite({events:e.events}),Y="left"===STATE.overrides.thumbnailSide||"right"===STATE.overrides.thumbnailSide||/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)?"y":"x",R="y"===Y?"top":"left",N=[],z=0,k=STATE.overrides.thumbnailGap,B=new Tile({name:"thumbs",type:STATE.overrides.thumbnailType,marginHorizontal:percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width),marginVertical:percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height),maintainOrder:/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryMaintainOrder,horizontalMasonry:/hMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryEvenRowHeight,masonryFill:/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill,gap:STATE.overrides.thumbnailGap});return e.localEvents.addEventListener(PAUSE_MEDIA,function(e){A()}),P.getTotalHeight=function(){return D?D.totalHeight:0},P.currentThumb=1,P.settings=e.settings,P.section=e.section,P.tile=B,P.pointerEvents=/^unified/.test(STATE.overrides.siteDisplayBehavior)&&LAYOUT_MODEL.globalSmoothScroll&&USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&""!==LAYOUT_MODEL.logoZIndex&&LAYOUT_MODEL.logoZIndex<5?"none":"auto",P.isInit=!0,P.element.setAttribute("class","Thumbs.container"),P.selectable=!1,P.build=function(){STATE.section(e.section),P.updateSpeed=0,P.holdersBuilt=!1,P.id="thumbs",P.overflow="hidden",P.zIndex=200,P.alpha=0,M=P.mask=new Sprite,M.id="mask",M.overflow="hidden",M.zIndex=1,M.element.setAttribute("class","Thumbs.mask"),("overlay"===STATE.overrides.thumbnailDock||/fill|hMasonry|vMasonry|hPaginatedGrid/.test(STATE.overrides.thumbnailType))&&(M.backgroundColor=toRgba(STATE.overrides.thumbnailOverlayColor,STATE.overrides.thumbnailOverlayAlpha)),P.addChild(M),P.mask=M,w=new Sprite,w.id="grid",w.element.setAttribute("class","Thumbs.grid"),w.element.style.transform="translateZ(0)",/hMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill&&(w.overflow="hidden"),M.grid=w,_=new Sprite,_.id="grid-container",_.element.setAttribute("class","Thumbs.grid.container"),_.element.style.transform="translateZ(0)",M.gridContainer=_,M.addChild(_);var n={Containername:"thumbs"};(isPod()||isPad())&&(n.domElementScroll=!0),STATE.siteView.unifiedPageScroll()&&(/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll)&&"strip"!==STATE.overrides.thumbnailType&&"MSIE"!==BROWSER_NAME&&(n.windowScroll=!0),/slide/.test(LAYOUT_MODEL.thumbLoadEffect)?n.boundaryMultiplier=.9:/hPaginatedGrid/.test(STATE.overrides.thumbnailType)&&(n.boundaryMultiplier=2),MAC_SCROLLBARS&&(/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll)?n.domElementScroll=!0:n.property="translate",n.targetChildren=w.children;var o="strip"===STATE.overrides.thumbnailType?w:_;P.lazyLoader=new LazyLoader(o,M,n),P.lazyLoader.name="thumbs",x=new Toggle({target:P,on:P.hide,off:P.show});var a,r,l=0,s=0,c=0,h=0;if(/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&e.section.thumb&&e.section.thumb.titleBlock&&(U=t(e.section),z=STATE.overrides.thumbnailTitleBlockTopMargin+U.element.offsetHeight,U.y=STATE.overrides.thumbnailTitleBlockTopMargin,M.gridContainer.addChild(U)),isPod()||isPad())/^unified/.test(STATE.overrides.siteDisplayBehavior)&&USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||("y"===Y?(M.element.style.overflowY="scroll",M.element.style.overflowX="hidden"):(M.element.style.overflowY="hidden",M.element.style.overflowX="scroll")),M.element.style["-webkit-overflow-scrolling"]="touch",w.element.addEventListener("touchstart",function(e){l=0,s=0,c=e.touches[0].pageX,h=e.touches[0].pageY}),w.element.addEventListener("touchmove",function(e){l=e.touches[0].pageX-c,s=e.touches[0].pageY-h,Mth.abs(l)>Mth.abs(s)?(l>0?M.element.scrollLeft>0&&M.element.scrollLeft<=w.width-STATE.overlayView.zoneWidth()&&e.stopPropagation():"x"===Y&&e.stopPropagation(),a=!0,r=!1):(r=!0,a=!1),P.lazyLoader&&P.lazyLoader.update()}),w.element.addEventListener("touchend",function(e){P.lazyLoader&&P.lazyLoader.update()}),M.element.addEventListener("scroll",function(){P.lazyLoader&&P.lazyLoader.update()}),STATE.siteView.unifiedPageScroll()&&window.addEventListener("scroll",function(e){P.lazyLoader&&P.lazyLoader.update()});else if(/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior))window.addEventListener("scroll",function(e){P.lazyLoader&&P.lazyLoader.update()});else if(STATE.siteView.unifiedPageScroll()&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&(/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll))document.getElementsByClassName("SiteView")[0].addEventListener("scroll",function(e){P.lazyLoader&&P.lazyLoader.update()}),window.addEventListener("scroll",function(e){P.lazyLoader&&P.lazyLoader.update()});else if(MAC_SCROLLBARS&&(/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll))M.element.addEventListener("scroll",function(){P.lazyLoader&&P.lazyLoader.update()}),"y"===Y?(M.element.style.overflowY="scroll",M.element.style.overflowX="hidden"):(M.element.style.overflowY="hidden",M.element.style.overflowX="scroll");else{i();var u="strip"===STATE.overrides.thumbnailType?0:STATE.overrides.thumbnailScrollbarWidth,T="right"===STATE.overrides.thumbnailScrollbarAlignment?-STATE.overrides.thumbnailScrollbarHorizontalOffset-u:STATE.overrides.thumbnailScrollbarHorizontalOffset+u,E=isHorizontalStrip()?"x":"y";"strip"===STATE.overrides.thumbnailType&&(R="y"===Y?STATE.overrides.thumbnailAlignVertical||"center":STATE.overrides.thumbnailAlignHorizontal||"center");var g={name:"thumbs",types:["bar","wheel","touch"],axis:E,align:R,zIndex:STATE.overlayView.zIndex+1,color:STATE.overrides.thumbnailScrollbarColor,hover:STATE.overrides.thumbnailScrollbarHover,side:STATE.overrides.thumbnailScrollbarAlignment,alpha:STATE.overrides.thumbnailScrollbarBgAlpha,width:u,offsetX:STATE.overlayView.x()+T,offsetY:STATE.overlayView.y(e.section.key)+STATE.overrides.thumbnailScrollbarVerticalOffset,property:"translate",rounded:STATE.overrides.thumbnailScrollbarRounded,visibility:STATE.overrides.thumbnailScrollbarVisibility,parent:e.scrollbarParent};/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)?(g.marginTop=U?STATE.overrides.thumbnailTitleBlockTopMargin:percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height),g.marginBottom=percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)):g.margin=0,(/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll)&&(g.margin=0,g.color="#000000",g.hover="#000000",g.side="right",g.alpha=0,g.width=u,g.offsetX=STATE.overlayView.x()-10,g.offsetY=STATE.overlayView.y(e.section.key),g.rounded=!0,g.visibility="when scrolling");var o="strip"===STATE.overrides.thumbnailType?w:_;P.scroll=new Scroll(o,M,g)}P.scroll&&(P.scroll.addEventListener(SCROLL,function(){P.lazyLoader&&P.lazyLoader.update()}),P.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){P.scroll.percent=0,P.scroll.update(UPDATE_SPEED)})),e.mediaItems.length>0&&d(),x.state=!0,P.resize(),x.state=!1,P.isInit=!1},P.resizeThumbVideo=function(){P.mask.grid.children.filter(C).forEach(function(e){e.video?e.video.setSize(e.width,e.height):e.vimeo&&e.vimeo.setSize(e.width,e.height)})},P.highlight=function(t){if(STATE.section(e.section),USER_AGENT!==MOBILE&&!e.thumbnailOnly){var i=N.length;for(I=Number(void 0!==t?t:e.assetId);i--;)if(i!==I){var n=N[i].hit.parent.mediaItem,o=getLabelPosition(e.isIndexSection);isThumbLink(n)||USER_AGENT===MOBILE||USER_AGENT===TABLET||(Tween(N[i].hit,UPDATE_SPEED,{alpha:0}),N[i].hit.parent.label&&/hover/.test(o)&&USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&Tween(N[i].hit.parent.label,.35,{alpha:0}))}if(I>-1&&N[I]&&"link"!==N[I].hit.parent.mediaItem.type){P.currentThumb=I+1;var n=N[I].hit.parent.mediaItem,o=getLabelPosition(e.isIndexSection);Tween(N[I].hit,UPDATE_SPEED,{alpha:r(),backgroundColor:STATE.overrides.thumbnailSelectedColor}),N[I].hit.parent.label&&/hover/.test(o)&&USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&Tween(N[I].hit.parent.label,.35,{alpha:0})}}},P.hide=function(){x.state&&(STATE.section(e.section),Tween(P,UPDATE_SPEED,{alpha:0,onComplete:function(){P.display="none",P.updateSpeed=0,x.state=!1}}),"strip"===STATE.overrides.thumbnailType&&V&&V.hide(),P.scroll&&(P.scroll.disable(),P.scroll.hide()))},P.show=function(){x.state||(P.display="block",setTimeout(function(){STATE.section(e.section),V&&V.resize(0),V&&V.show(),P.resize(),Tween(P,UPDATE_SPEED,{alpha:1,onComplete:y}),"scrollbar"===STATE.overrides.thumbnailScrollType&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&P.scroll&&P.scroll.enable(),P.scroll&&(P.scroll.show(),P.scroll.update())},0))},P.toggle=function(){x.flip(),"strip"===STATE.overrides.thumbnailType&&V.toggle(),x.state?P.show():P.hide()},P.toggleState=function(){return x.state},P.resize=function(){D||u(),D&&D.resize(),P.scroll&&P.scroll.resize()},P.build(),P}function getIndexLabelPosition(){return isPod()?firstValid(STATE.overrides.thumbnailLabelPositionMobile,STATE.overrides.thumbnailLabelPosition):isPad()?firstValid(STATE.overrides.thumbnailLabelPositionTablet,STATE.overrides.thumbnailLabelPosition):STATE.overrides.thumbnailLabelPosition}function getStdLabelPosition(){return isPod()?firstValid(STATE.overrides.thumbnailStdLabelPositionMobile,STATE.overrides.thumbnailStdLabelPosition):isPad()?firstValid(STATE.overrides.thumbnailStdLabelPositionTablet,STATE.overrides.thumbnailStdLabelPosition):STATE.overrides.thumbnailStdLabelPosition}function getLabelPosition(e){var t=getIndexLabelPosition(),i=getStdLabelPosition();if(e){if(t)return t}else if(i)return i;return!1}function getIndexLabelJustification(){var e=STATE.overrides.thumbnailLabelJustification;return e}function getStdLabelJustification(){var e=STATE.overrides.thumbnailStdLabelJustification;return e}function getLabelJustification(e){var t=getIndexLabelJustification(),i=getStdLabelJustification();if(e){if(t)return t}else if(i)return i;return"center"}function isHorizontalStrip(){return"strip"===STATE.overrides.thumbnailType&&("top"===STATE.overrides.thumbnailSide||"bottom"===STATE.overrides.thumbnailSide)}function isVerticalStrip(){return"strip"===STATE.overrides.thumbnailType&&("left"===STATE.overrides.thumbnailSide||"right"===STATE.overrides.thumbnailSide)}function isMasonryGrid(){return/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)}function getThumbWidth(e){return!isDefaultThumb(e)&&(isHorizontalStrip()||isMasonryGrid()||isVerticalStrip())?e.size.thumb.width||e.size.content.width:THUMB_SIZES[STATE.overrides.thumbnailSize].width}function getThumbHeight(e){return!isDefaultThumb(e)&&(isHorizontalStrip()||isMasonryGrid()||isVerticalStrip())?e.size.thumb.height||e.size.content.height:THUMB_SIZES[STATE.overrides.thumbnailSize].height; }function getHRange(e,t){if(/hMasonry/.test(STATE.overrides.thumbnailType)||/vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill)return getGridFillWidth(e,t);var i=THUMB_SIZES[STATE.overrides.thumbnailSize].width,n=getNumberOfColumns(getZoneWidth(),STATE.overrides.thumbnailMaxCols,t);return/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&e&&n>1?2*i+t:isHorizontalStrip()?10*i:i}function getVRange(e,t,i){var n=THUMB_SIZES[STATE.overrides.thumbnailSize].height;return i=i?i:getNumberOfColumns(getZoneWidth(),STATE.overrides.thumbnailMaxCols,t),/fill|hMasonry/.test(STATE.overrides.thumbnailType)&&e&&i>1?2*n+t:isMasonryGrid()&&!STATE.overrides.thumbnailMasonryEvenRowHeight||isVerticalStrip()?10*n:n}function getZoneWidth(){var e=percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width);return STATE.overlayView.zoneWidth()-2*e}function getNumberOfColumns(e,t,i){t=/fill|hPaginatedGrid/.test(STATE.overrides.thumbnailType)?1/0:t;var n=THUMB_SIZES[STATE.overrides.thumbnailSize].width+i,o=/vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill?Math.round:Math.floor,a=o((e+i)/n);return a<1?1:a),t?t:a}function getGridFillWidth(e,t){if(STATE.overrides.thumbnailMasonryEvenRowHeight)return stage.width;var i=getZoneWidth(),n=getNumberOfColumns(i,STATE.overrides.thumbnailMaxCols,t),o=STATE.overrides.thumbnailGap*(n-1),a=(i-o)/n;return/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&e&&n>1?2*Math.round(a)+t:Math.round(a)}function isThumbLink(e){return"link"===e.type&&!!e.thumb}function isDefaultThumb(e){return!e.thumb&&"image"!==e.type}function ThumbsFill(e){function t(){if(STATE.section(e.section),/hMasonry/.test(STATE.overrides.thumbnailType)||/vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill)r.perpLength=getZoneWidth();else{var t=getNumberOfColumns(getZoneWidth(),STATE.overrides.thumbnailMaxCols,STATE.overrides.thumbnailGap),i=getHRange(!1,STATE.overrides.thumbnailGap),n=STATE.overrides.thumbnailGap*(t-1);r.perpLength=i*t+n}r.layoutItems();for(var a=o.grid.children,l=0,s=a.length;l1?(L=2*THUMB_SIZES[STATE.overrides.thumbnailSize].width+STATE.overrides.thumbnailGap,f=2*THUMB_SIZES[STATE.overrides.thumbnailSize].height+STATE.overrides.thumbnailGap,v=2*THUMB_SIZES[STATE.overrides.thumbnailSize].width+STATE.overrides.thumbnailGap,S=2*THUMB_SIZES[STATE.overrides.thumbnailSize].height+STATE.overrides.thumbnailGap):(L=THUMB_SIZES[STATE.overrides.thumbnailSize].width,f=THUMB_SIZES[STATE.overrides.thumbnailSize].height,v=THUMB_SIZES[STATE.overrides.thumbnailSize].width,S=THUMB_SIZES[STATE.overrides.thumbnailSize].height);var C=ScaleEngine({type:"fit",hRange:v,vRange:S,width:m.size.thumb.width||m.size.content.width||THUMB_SIZES[STATE.overrides.thumbnailSize].width,height:m.size.thumb.height||m.size.content.height||THUMB_SIZES[STATE.overrides.thumbnailSize].height,disableOrientationCheck:!0}),A=new AlignEngine({hRange:L,vRange:f,hAlign:STATE.overrides.thumbnailAlignHorizontal||"center",vAlign:STATE.overrides.thumbnailAlignVertical||"center",width:C.width,height:C.height});h[u].thumb.width=Math.ceil(C.width),h[u].thumb.height=Math.ceil(C.height),h[u].thumb.x=Math.round(A.x),h[u].thumb.y=Math.round(A.y),h[u].playBtn&&(h[u].playBtn.x=Math.round(.5*(L-50)),h[u].playBtn.y=Math.round(.5*(f-50))),h[u].width=L,h[u].height=f,h[u].hit.width=L,h[u].hit.height=f;var b=/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryMaintainOrder,y=!(!(g>1&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType))||b)&&p;r.addItem(L,f,y,m.content)}/fill|vMasonry/.test(STATE.overrides.thumbnailType)&&(r.gridWidths=getHRange(!1,STATE.overrides.thumbnailGap),r.lastColumnWidth=/vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill?E-(r.gridWidths+STATE.overrides.thumbnailGap)*(g-1):r.gridWidths,r.numberOfColumns=g),r.items.length&&t(),setTimeout(function(){STATE.section(e.section);var t=r.getBounds(),l=new AlignEngine({hRange:STATE.overlayView.zoneWidth(),vRange:"hPaginatedGrid"===STATE.overrides.thumbnailType?STATE.mediaView.zoneHeight(e.section.key):STATE.overlayView.zoneHeight(e.section.key),width:r.perpLength,height:t.height,hAlign:"center",vAlign:"hPaginatedGrid"===STATE.overrides.thumbnailType?"center":"top",hOffset:0,vOffset:"hPaginatedGrid"===STATE.overrides.thumbnailType?0:e.verticalMargin});if((STATE.overrides.thumbnailMasonryFill||STATE.overrides.thumbnailMasonryEvenRowHeight)&&/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)?o.gridContainer.x=e.horizontalMargin:(o.gridContainer.x=Math.floor(l.x),a&&(a.width=r.perpLength,d=STATE.overrides.thumbnailTitleBlockTopMargin+a.element.offsetHeight,a.y=STATE.overrides.thumbnailTitleBlockTopMargin)),"hPaginatedGrid"===STATE.overrides.thumbnailType?o.gridContainer.y=Math.floor(l.y):(o.gridContainer.y=0,o.grid.y=d+e.verticalMargin),n.width=STATE.overlayView.zoneWidth(),o.width=STATE.overlayView.zoneWidth(),o.grid.width=r.perpLength,o.gridContainer.width=r.perpLength,"hPaginatedGrid"===STATE.overrides.thumbnailType){var c=STATE.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(STATE.overrides.siteDisplayBehavior)||(STATE.siteView.unifiedPageScroll()||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior))&&/overlay/.test(e.section.displayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay){var h=!isIndexSection(e.section)&&STATE.mediaView.height(e.section.key)>t.height?STATE.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(STATE.siteView.unifiedPageScroll()&&(USER_AGENT!==MOBILE&&isPod()||USER_AGENT!==TABLET&&isPad()||/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll)){var u=t.height+e.verticalMargin;u=u>STATE.mediaView.height()?u:STATE.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=STATE.overlayView.zoneHeight(),o.height=n.height,i.height=n.height,o.grid.height=t.height+e.verticalMargin,o.gridContainer.height=s;a&&"bottom"===LAYOUT_MODEL.thumbnailTitleBlockPosition&&(a.y=t.height+e.verticalMargin+STATE.overrides.thumbnailTitleBlockTopMargin,o.grid.y=e.verticalMargin),i.totalHeight=s,e.localEvents.dispatchEvent("UPDATE_CONTENT_HEIGHT",{thumbs:s}),n.resizeThumbVideo()},20)},this.thumbLoaded=function(e){this.parent.loader&&this.parent.removeChild(this.parent.loader),"slideUp"!==LAYOUT_MODEL.thumbLoadEffect&&"slideDown"!==LAYOUT_MODEL.thumbLoadEffect||Tween(this.parent,.85,{alpha:1,translateY:0}),Tween(this,.25,{alpha:1})}}function ThumbsStrip(e){function t(){switch(a){case"top":l.axis="x",l.perpLength=THUMB_SIZES[r].height,n.height=THUMB_SIZES[r].height,o.height=THUMB_SIZES[r].height;break;case"right":l.axis="y",l.perpLength=THUMB_SIZES[r].width,n.width=THUMB_SIZES[r].width,o.width=THUMB_SIZES[r].width;break;case"bottom":l.axis="x",l.perpLength=THUMB_SIZES[r].height,n.height=THUMB_SIZES[r].height,o.height=THUMB_SIZES[r].height;break;case"left":l.axis="y",l.perpLength=THUMB_SIZES[r].width,n.width=THUMB_SIZES[r].width,o.width=THUMB_SIZES[r].width}}function i(){l.layoutItems(),items=o.grid.children;for(var t=0,i=items.length;t573?573:STATE.mediaView.width(),w=STATE.mediaView.height(y.section.key)>400?400:STATE.mediaView.height(y.section.key),T.height=T.element.offsetHeight,O.width=O.element.offsetWidth,E.y=T.height+10,SETTINGS_MODEL.inquiryInfo?(g.y=T.height+20,m.x=2,m.y=g.y+g.element.offsetHeight+10):(m.x=2,m.y=T.height+20),layoutCalcs.mediaView.width()>573?SETTINGS_MODEL.inquiryInfo?(p.x=222,p.y=g.y+g.element.offsetHeight+10):(p.x=222,p.y=m.y):(p.transition=0,p.x=U,p.width=STATE.mediaView.width()-2*U,p.y=m.y+b+10,m.x=.5*(layoutCalcs.mediaView.width()-m.width),T.x=.5*(layoutCalcs.mediaView.width()-T.element.offsetWidth),f.input.width=.5*p.width-U,v.input.width=.5*p.width,S.input.width=p.width,v.x=.5*p.width,E.alpha=0),O.x=p.element.offsetWidth-O.width,SETTINGS_MODEL.inquiryInfo?(_.x=p.x,_.y=g.y+g.element.offsetHeight+10):(_.x=p.x,_.y=40),0===y.updateSpeed?(y.width=STATE.mediaView.width(),y.height=STATE.mediaView.height(y.section.key),u.x=.5*(STATE.mediaView.width()-M),u.y=.5*(STATE.mediaView.height(y.section.key)-w),u.width=M,u.height=w):(Tween(y,y.updateSpeed,{width:STATE.mediaView.width(),height:STATE.mediaView.height(y.section.key)}),Tween(u,y.updateSpeed,{x:.5*(STATE.mediaView.width()-M),y:.5*(STATE.mediaView.height(y.section.key)-w),width:M,height:w})),C.width=STATE.mediaView.width(),C.height=STATE.mediaView.height(y.section.key),y.updateSpeed=UPDATE_SPEED},y.show=function(){y.updateSpeed=0,y.visible||(y.visible=!0,y.display="block",Tween(y,UPDATE_SPEED,{alpha:1}),Tween(p,UPDATE_SPEED,{alpha:1}),Tween(_,UPDATE_SPEED,{alpha:0})),y.updatePosition()},y.hide=function(){y.visible&&(y.visible=!1,Tween(y,UPDATE_SPEED,{alpha:0,onComplete:function(){this.display="none"}}))},y.updateInquiryInfo=function(){T.text=SETTINGS_MODEL.inquiryTitle?SETTINGS_MODEL.inquiryTitle:"Inquire about this image",SETTINGS_MODEL.inquiryInfo&&(g.text=SETTINGS_MODEL.inquiryInfo),y.updatePosition()},y.updateContent=function(e){var t=csvToArray(e.section.media);L=getMediaById(t[e.assetId]),m&&u.removeChild(m),m=new Bitmap,m.alpha=0,SETTINGS_MODEL.inquiryInfo?(m.x=2,m.y=g.y+g.element.offsetHeight+10):(m.x=2,m.y=T.height+20),m.src=getThumbQuery(200,200,L.thumb||L.featuredImage||L.content,L.demoFile),m.width=200,u.addChild(m),m.addEventListener(LOAD,i)},y.addEventListener(CHILD_ADDED,function(e){t.call(y)}),y}function ShareView(e){function t(){E=new Sprite,E.backgroundColor="#cccccc",E.alpha=0,E.addEventListener(MOUSE_DOWN,o),p.addChild(E),a=new Sprite,a.width=L,a.height=f,p.addChild(a),r=new TextField,r.text="Share this item",r.fontFamily=STATE.overrides.overlayTitleFont,r.fontColor=STATE.overrides.overlayTitleFontColor,r.fontSize=STATE.overrides.overlayTitleFontSize,a.addChild(r),r.height=r.element.offsetHeight,l=new Sprite,l.backgroundColor=toRgba(STATE.overrides.overlayTitleFontColor,.35),l.width=L,l.height=1,l.y=STATE.overrides.overlayTitleFontSize+10,a.addChild(l),s=new Bitmap,s.alpha=0,a.addChild(s),s.addEventListener(LOAD,i),d=new Sprite,d.x=222,d.y=r.height+20,d.width=L-d.x,d.height=f-d.y,a.addChild(d);var e="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");h=new Sprite({type:"iframe"}),h.src="https://www.facebook.com/plugins/share_button.php?href="+encodeURIComponent(e)+"&width="+O.width+"&layout="+O.layout+"&action=like&size="+O.size+"&show_faces="+O.showFaces+"&share="+O.showShareButton+"&height="+O.height,h.width=O.width,h.height=O.height,h.element.setAttribute("scrolling","no"),h.element.setAttribute("frameborder","0"),h.element.setAttribute("allowTransparency","true"),u=new Button,u.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 Bitmap;t.position="relative",t.width=20,t.height=20,t.src="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com/icon/twitter@2x.png",u.addChild(t),T=new Button,T.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="+SETTINGS_MODEL.portfolioEmailMessage+"%0A%0A"+e});var c=new Bitmap;c.position="relative",c.width=20,c.height=20,c.src="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com/icon/email@2x.png",T.addChild(c),h.y=0,u.y=30,T.y=60,d.addChild(h),d.addChild(u),d.addChild(T),v.alpha=0,v.x=d.x,v.y=40,v.fontFamily=STATE.overrides.overlayTitleFont,v.fontColor=STATE.overrides.overlayTitleFontColor,v.fontSize=14,a.addChild(v),p.updateStyle(),p.updatePosition(),p.show(),S.addEventListener(SHARE_FORM_SENT,n)}function i(e){var t=RetinaResizeEngine({width:this.width,height:this.element.offsetHeight,filename:s.src}),i=Resize(null,0,{type:"fit",width:t.width,height:t.height,hRange:200,vRange:isPod()?200:300,hAlign:0,vAlign:0,disableOrientationCheck:!0});g=Math.ceil(i.scale.width),m=Math.ceil(i.scale.height),this.width=g,this.height=m,Tween(this,UPDATE_SPEED,{alpha:1}),p.updatePosition()}function n(e){v.text=e.response,Tween(d,UPDATE_SPEED,{alpha:0}),Tween(v,UPDATE_SPEED,{alpha:1}),p.addEventListener(MOUSE_DOWN,o)}function o(e){e.target===p&&p.removeEventListener(MOUSE_DOWN,o),S.dispatchEvent(NAVBAR_OVERLAY_BTN_CLICK,"share")}var a,r,l,s,d,c,h,u,T,E,g,m,p=new Sprite(e),L=573,f=400,v=new Sprite,S=e.localEvents;p.section=e.section;var O={layout:"button",size:"small",showFaces:!1,showShareButton:!0,width:67,height:20};return p.updateSpeed=0,p.backgroundColor=toRgba(LAYOUT_MODEL.overlayColor,LAYOUT_MODEL.overlayAlpha),p.zIndex=100,p.alpha=0,p.visible=!1,p.updateStyle=function(e){STATE.overrides.overlayTitleFont!==r.fontFamily&&(r.fontFamily=STATE.overrides.overlayTitleFont,h.fontFamily=STATE.overrides.overlayTitleFont,u.fontFamily=STATE.overrides.overlayTitleFont,T.fontFamily=STATE.overrides.overlayTitleFont),STATE.overrides.overlayTitleFontSize!==r.fontSize&&Tween(r,UPDATE_SPEED,{fontSize:STATE.overrides.overlayTitleFontSize,onComplete:function(){p.updatePosition(e)}}),STATE.overrides.overlayTitleFontColor!==r.fontColor&&(Tween(r,UPDATE_SPEED,{fontColor:STATE.overrides.overlayTitleFontColor}),Tween(l,UPDATE_SPEED,{backgroundColor:toRgba(STATE.overrides.overlayTitleFontColor,.35)}),Tween(h,UPDATE_SPEED,{fontColor:toRgba(LAYOUT_MODEL.overlayColor,.35),backgroundColor:toRgba(STATE.overrides.overlayTitleFontColor,.35)}),Tween(u,UPDATE_SPEED,{fontColor:toRgba(LAYOUT_MODEL.overlayColor,.35),backgroundColor:toRgba(STATE.overrides.overlayTitleFontColor,.35)}),Tween(T,UPDATE_SPEED,{fontColor:toRgba(LAYOUT_MODEL.overlayColor,.35),backgroundColor:toRgba(STATE.overrides.overlayTitleFontColor,.35)})),toRgba(LAYOUT_MODEL.overlayColor,LAYOUT_MODEL.overlayAlpha)!==p.backgroundColor&&Tween(p,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.overlayColor,LAYOUT_MODEL.overlayAlpha)})},p.updatePosition=function(e){STATE.section(p.section),p.x=0,p.y=0,L=STATE.mediaView.width()>573?573:STATE.mediaView.width(),f=STATE.mediaView.height(p.section.key)>400?400:STATE.mediaView.height(p.section.key),s.x=2,s.y=r.height+20,l.y=STATE.overrides.overlayTitleFontSize+10,layoutCalcs.mediaMask.width()>573?(d.x=222,d.y=r.height+20):(d.transition=0,d.x=.5*(layoutCalcs.mediaView.width()-d.width),d.y=s.y+m+10,s.x=.5*(layoutCalcs.mediaView.width()-s.width),r.x=.5*(layoutCalcs.mediaView.width()-r.element.offsetWidth),h.x=.5*(d.width-67),u.x=.5*(d.width-20),T.x=.5*(d.width-20),l.alpha=0),0===p.updateSpeed?(p.width=STATE.mediaView.width(),p.height=STATE.mediaView.height(p.section.key),a.x=.5*(STATE.mediaView.width()-L),a.y=.5*(STATE.mediaView.height(p.section.key)-f),a.width=L,a.height=f):(Tween(p,p.updateSpeed,{width:STATE.mediaView.width(),height:STATE.mediaView.height(p.section.key)}),Tween(a,p.updateSpeed,{x:.5*(STATE.mediaView.width()-L),y:.5*(STATE.mediaView.height(p.section.key)-f),width:L,height:f})),E.width=STATE.mediaView.width(),E.height=STATE.mediaView.height(p.section.key),p.updateSpeed=UPDATE_SPEED},p.show=function(){p.updateSpeed=0,p.updatePosition(),p.visible||(p.visible=!0,p.display="block",Tween(p,UPDATE_SPEED,{alpha:1}),Tween(d,UPDATE_SPEED,{alpha:1}),Tween(v,UPDATE_SPEED,{alpha:0}))},p.hide=function(e){p.visible&&(p.visible=!1,Tween(p,UPDATE_SPEED,{alpha:0,onComplete:function(){this.display="none"}}))},p.updateContent=function(e){var t=csvToArray(e.section.media);c=getMediaById(t[e.assetId]),r.text="Share this "+c.type;var n=r.element.offsetHeight;s&&a.removeChild(s),s=new Bitmap,s.alpha=0,s.x=2,s.y=n+20,s.width=200,s.src=getThumbQuery(200,200,c.thumb||c.content,c.demoFile),d.y=n+20;var o="https://"+window.location.host+window.location.pathname.split("/").slice(0,-1).join("/");h.src="https://www.facebook.com/plugins/share_button.php?href="+encodeURIComponent(o)+"&width="+O.width+"&layout="+O.layout+"&action=like&size="+O.size+"&show_faces="+O.showFaces+"&share="+O.showShareButton+"&height="+O.height,a.addChild(s),s.addEventListener(LOAD,i)},p.addEventListener(CHILD_ADDED,function(e){t.call(p)}),p}function MenuController(e){function t(e){return window.scrollY>e?e:window.scrollY<0?0:window.scrollY}function i(e){LAYOUT_MODEL.menuRevealOnInit!==!1&&b&&e<10?g.menuView.dock.toggleState()||g.menuView.dock.show():e>stage.height*LAYOUT_MODEL.menuScrollReveal?g.menuView.dock.toggleState()||g.menuView.dock.show():g.menuView.dock.toggleState()&&g.menuView.dock.hide()}function n(){g.menuView.dock.toggleState()&&g.menuView.closeDock()}function o(e){if(g.menuView.isInitUri=!1,USER_AGENT===MOBILE||USER_AGENT===TABLET){var t=e.info.isDeepLink||""===LAYOUT_MODEL.menuAutoCloseMobile||void 0===LAYOUT_MODEL.menuAutoCloseMobile||LAYOUT_MODEL.menuAutoCloseMobile;""===STATE.introFile&&""===LAYOUT_MODEL.introFile||e.path?!p&&M(e)&&g.menuView.dock.toggleState()?setTimeout(g.menuView.closeDock,200):p||t?t&&g.menuView.dock.toggleState()&&setTimeout(g.menuView.closeDock,2e3):g.menuView.dock.toggleState()&&(clearTimeout(E),E=setTimeout(g.menuView.closeDock,200)):(g.menuView.dock.toggleState()||g.menuView.openDock(),t&&setTimeout(g.menuView.closeDock,2e3))}else"overlay"===STATE.menuView.placement()?(!p&&g.menuView.dock.toggleState()&&g.menuView.closeDock(),p&&(LAYOUT_MODEL.menuOpenOverlayOnInit?g.menuView.openDock():g.menuView.closeDock())):isRevealMenuOnScrollPercent()&&i();a(e),p=!1}function a(e){(void 0===LAYOUT_MODEL.isAutoHighlightMenuOnScroll||LAYOUT_MODEL.isAutoHighlightMenuOnScroll)&&g.menuView.menuText.setActiveMenuItem(e)}function r(e){var t=csvToArray(e.value);return"media"===e.field&&"update"===e.method&&1===t.length&&"link"===getMediaById(t[0]).type}function l(e){return"media"===e.field&&"update"===e.method&&""===e.value}function s(e){setTimeout(function(){g.menuView.menuText.display="block",g.menuView.display="block",g.menuView.menuText.rebuild({model:e})},400)}function d(e){T&&clearTimeout(T),T=setTimeout(function(){e.action&&"sectionReorder"===e.action||(e.action&&"remove"===e.action?l(e)&&s(c()):e.action&&"addMediaToSection"===e.action||(e.action&&"addSelectionToSection"===e.action?r(e)&&s(c()):s(c())))},0)}function c(){var e={};for(var t in SECTIONS_MODEL)SECTIONS_MODEL[t].media&&SECTIONS_MODEL[t].mediaItems&&SECTIONS_MODEL.hasOwnProperty(t)&&(e[t]={id:SECTIONS_MODEL[t].id,key:SECTIONS_MODEL[t].key,hideFromMenu:SECTIONS_MODEL[t].hideFromMenu,customLink:SECTIONS_MODEL[t].customLink,isIndex:SECTIONS_MODEL[t].isIndex,indexLink:SECTIONS_MODEL[t].indexLink,linkTarget:SECTIONS_MODEL[t].linkTarget,isOpen:SECTIONS_MODEL[t].isOpen,hideSubs:SECTIONS_MODEL[t].hideSubs,label:SECTIONS_MODEL[t].label,alias:SECTIONS_MODEL[t].alias,media:SECTIONS_MODEL[t].media.slice(0),mediaItems:SECTIONS_MODEL[t].mediaItems.slice(0),overrides:SECTIONS_MODEL[t].overrides,password:SECTIONS_MODEL[t].password,thumb:SECTIONS_MODEL[t].thumb,visible:SECTIONS_MODEL[t].visible,isSearch:SECTIONS_MODEL[t].isSearch,isLightbox:SECTIONS_MODEL[t].isLightbox});if((USER_AGENT===MOBILE||USER_AGENT===TABLET&&LAYOUT_MODEL.footerOnMenuTablet)&&(STATE.socialLinks.forEach(function(t){var i=MEDIA_MODEL[t],n=getNextId(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)}),STATE.copyright)){var i=getNextId(e);e.copyright={id:i,key:"copyright",label:STATE.copyright,media:[],mediaItems:[],overrides:{},password:"",thumb:{},visible:!0},e.ROOT_SECTION.media.push(i)}return e}function h(e){if(m||e&&/menu|marginOverlap|dropdownSubMenu|sitePaddingTop|sitePaddingRight|sitePaddingBottom|sitePaddingLeft|footerIcon/.test(e.id)){g.menuView.updateStyle(),g.menuView.layoutChange();var t=c();g.menuView.menuText.display="block",g.menuView.display="block",g.menuView.menuText.rebuild({model:t}),g.menuView.menuText.updatePosition(0),g.menuView.updatePosition("layoutModelChange"),g.menuView.updateScroll(),m=!1,s(t)}}function u(e){"link"===e.type&&"Footer Links"!==e.filters&&(g.menuView.updateStyle(),g.menuView.menuText.display="block",g.menuView.display="block",g.menuView.menuText.rebuild({model:c()}),g.menuView.menuText.updatePosition(0),g.menuView.updatePosition(),g.menuView.updateScroll())}var T,E,g=new ControllerProxy({parentView:e.parentView,parentController:e.parentController,events:e.siteControllerEvents}),m=!0,p=!0,L=!0,f=350,v=!1,S=!1;g.updateSpeed=0,g.menuView=new e.MenuView(e),g.menuView.alpha=0,USER_AGENT===MOBILE&&STATE.overrides.menuDisplaceMobile?(stage.addChild(g.menuView),g.menuView.addChild(e.parentView),g.menuView.setClass("MenuView invertSite")):USER_AGENT===TABLET&&STATE.overrides.menuDisplaceTablet?(stage.addChild(g.menuView),g.menuView.addChild(e.parentView),g.menuView.setClass("MenuView invertSite")):(g.parentView.addChild(g.menuView),g.parentView.setClass("SiteView invertSite")),e.model=SECTIONS_MODEL,g.menuView.menuText=new MenuText(e),g.menuView.menuText.element.setAttribute("class","menuText"), g.menuView.addContent(g.menuView.menuText),g.events.addEventListener("menuUpdatePosition",function(){g.menuView.updatePosition()}),g.events.addEventListener(LAYOUT_MODEL_CHANGE,h),g.events.addEventListener(MEDIA_MODEL_CHANGE,u),g.events.addEventListener(SECTIONS_MODEL_CHANGE,d),g.events.addEventListener(ORIENTATION_CHANGE,function(){v=!0}),g.events.addEventListener(RESIZE_END,function(){layoutCalcs.isMenuOverlayStateChange?(g.menuView.transition=0,g.menuView.alpha=0,setTimeout(function(){layoutCalcs.isMenuResponsiveOverlay&&USER_AGENT!==MOBILE?g.menuView.closeDock(0):g.menuView.openDock(0),g.menuView.menuText.display="block",g.menuView.display="block",g.menuView.menuText.rebuild({model:c()}),g.menuView.menuText.updatePosition(0),g.menuView.updatePosition(0),g.menuView.updateStyle(0),g.menuView.updateScroll(),g.menuView.dock.toggleState()&&setTimeout(function(){g.menuView.transition=0,g.menuView.alpha=1},350)},f)):(USER_AGENT===MOBILE&&(v||L)&&(g.menuView.menuText.rebuild({model:c()}),v=!1),g.menuView.menuText.updatePosition(0),g.menuView.updatePosition(),USER_AGENT===MOBILE||USER_AGENT===TABLET||g.menuView.dock.toggleState()||LAYOUT_MODEL.isMenuScrollReveal||setTimeout(function(){g.menuView.display="none"},f)),f=50,L=!1}),g.events.addEventListener(SITE_URI_CHANGE,o),g.events.addEventListener("SITE_URI_CHANGE_PASSIVE",a),g.events.addEventListener(TOUCH_NAVIGATION_END,n),g.events.addEventListener(MENU_BUILT,function(){T=setTimeout(function(){g.menuView.dock.toggleState()&&(g.menuView.menuText.display="block",g.menuView.display="block"),g.menuView.menuText.updatePosition(0),g.menuView.updatePosition()},0)}),g.events.addEventListener(MENU_SIZE_CHANGE,g.menuView.updatePosition),g.events.addEventListener("LOGO_LOADED",function(){g.menuView.menuText.display="block",g.menuView.display="block",g.menuView.menuText.updatePosition(0),g.menuView.updatePosition()});var O,C=0,A=!1,b=!0,y=void 0===LAYOUT_MODEL.menuRevealOnInit||LAYOUT_MODEL.menuRevealOnInit;LAYOUT_MODEL.menuRevealOnInit!==!1&&"overlay"!==STATE.menuView.placement()||USER_AGENT===MOBILE||USER_AGENT===TABLET||g.menuView.dock.hide(),window.addEventListener("scroll",function(){S=!1,LAYOUT_MODEL.isMenuScrollReveal&&/top/.test(STATE.menuView.placement())&&(A=!0,clearTimeout(O),O=setTimeout(function(){var e=STATE.siteView.height()-stage.height;C=t(e),LAYOUT_MODEL.menuRevealOnInit!==!0&&b?(g.menuView.dock.hide(),y=!1):isRevealMenuOnScrollPercent()?(S=!0,i(C)):LAYOUT_MODEL.isMenuScrollReveal&&(0!==C&&C>window.oldScrollY-1?g.menuView.dock.toggleState()&&!b&&(g.menuView.dock.hide(),y=!1):C<15?g.menuView.dock.toggleState()||g.menuView.dock.show():/menu|logo/.test(e.target.getAttribute("data-identity"))||g.menuView.dock.toggleState()&&!y&&(S||g.menuView.dock.hide())))});var M=function(e){return e.path};return g}function MenuView(e){function t(e){var t=Math.floor(e/4),i=Math.floor(t/3*2),n=e-2*i,o=e-2*t;return{zoneSize:e,topMargin:t,leftMargin:i,width:n,height:o,diagonal:a(n,o)}}function i(){T=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.menuIconAlignHorizontal||LAYOUT_MODEL.menuIconSide||"right",alignVertical:LAYOUT_MODEL.menuIconAlignVertical||"top",horizontalOffset:firstValid(percentToPixels(LAYOUT_MODEL.menuIconHOffset,stage.height),30),verticalOffset:firstValid(percentToPixels(LAYOUT_MODEL.menuIconVOffset,stage.height),20),rotation:firstValid(LAYOUT_MODEL.menuIconRotation,0),blendMode:LAYOUT_MODEL.menuIconBlendMode||LAYOUT_MODEL.menuBlendMode||"normal",font:LAYOUT_MODEL.menuIconFont||LAYOUT_MODEL.menuFont||"Helvetica",fontSize:firstValid(LAYOUT_MODEL.menuIconFontSize,LAYOUT_MODEL.menuFontSize,12),fontColor:LAYOUT_MODEL.menuIconColor||"#333333"}),T.position="fixed",T.zIndex=50,T.textTransform=LAYOUT_MODEL.menuIconTextTransform||LAYOUT_MODEL.menuTextTransform||"",T.element.style.transformOrigin="center",T.fontStyle=LAYOUT_MODEL.menuIconFontStyle||LAYOUT_MODEL.menuFontStyle||"normal",T.letterSpacing=firstValid(LAYOUT_MODEL.menuIconKerning,LAYOUT_MODEL.menuKerning,0),T.style.pointerEvents="auto",T.text=LAYOUT_MODEL.menuIconText||"menu",T.textAlign="center",e.parentView.addChild(T),T.width=T.element.offsetWidth,isPod()||isPad()?T.element.onclick=d:"hover"===LAYOUT_MODEL.menuIconAction?(T.element.onmouseenter=d,T.element.onclick=isPod()||isPad()?d:null):T.element.onclick=d}function n(){var i=firstValid(LAYOUT_MODEL.menuIconHOffset,30),n=firstValid(LAYOUT_MODEL.menuIconVOffset,20),o=LAYOUT_MODEL.menuIconColor||"#333333",a=LAYOUT_MODEL.menuIconAlignHorizontal||LAYOUT_MODEL.menuIconSide||"right",r="right"===a?"left":"right",l=Number(LAYOUT_MODEL.menuIconSize||36),s=t(l),d=LAYOUT_MODEL.menuIconLineWidth||1;USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(i=USER_AGENT===MOBILE&&STATE.overrides.menuDisplaceMobile?layoutCalcs.menuView.width()+firstValid(LAYOUT_MODEL.menuIconHOffsetMobile,16):USER_AGENT===TABLET&&STATE.overrides.menuDisplaceTablet?layoutCalcs.menuView.width()+firstValid(LAYOUT_MODEL.menuIconHOffsetMobile,16):firstValid(LAYOUT_MODEL.menuIconHOffsetMobile,16),n=firstValid(LAYOUT_MODEL.menuIconVOffsetMobile,16),o=firstValid(LAYOUT_MODEL.menuIconColorMobile,LAYOUT_MODEL.menuIconColor,"#606060"),l=firstValid(LAYOUT_MODEL.menuIconSizeMobile,27),s=t(l),a=LAYOUT_MODEL.menuIconAlignHorizontalMobile||"left",r="right"===a?"left":"right",d=firstValid(LAYOUT_MODEL.menuIconLineWidthMobile,3)),T=new Sprite,T.element.id="menuToggleBtn",T.position="fixed",T.zIndex=50,T.style.pointerEvents="auto",USER_AGENT===MOBILE||USER_AGENT===TABLET?T.element.style["mix-blend-mode"]=firstValid(LAYOUT_MODEL.menuIconBlendModeMobile,"normal"):T.element.style["mix-blend-mode"]=firstValid(LAYOUT_MODEL.menuIconBlendMode,LAYOUT_MODEL.menuBlendMode,"normal"),(USER_AGENT===TABLET||USER_AGENT===MOBILE)&&STATE.overrides.menuDisplaceMobile?h.addChild(T):e.parentView.addChild(T),T.line1=new Sprite,T.line1.element.setAttribute("class","menuLine"),T.addChild(T.line1),T.line2=new Sprite,T.line2.element.setAttribute("class","menuLine"),T.addChild(T.line2),T.line3=new Sprite,T.line3.element.setAttribute("class","menuLine"),T.addChild(T.line3),T.width=s.zoneSize,T.height=s.zoneSize,T.y=n,T.element.style[r]="",T.element.style[a]=i+"px",T.line1.backgroundColor=o,T.line1.width=s.width,T.line1.x=s.leftMargin,T.line1.y=s.topMargin,T.line1.height=d||1,T.line2.backgroundColor=o,T.line2.width=s.width,T.line2.x=s.leftMargin,T.line2.y=2*s.topMargin,T.line2.height=d||1,T.line3.backgroundColor=o,T.line3.width=s.width,T.line3.x=s.leftMargin,T.line3.y=3*s.topMargin,T.line3.height=d||1,h.dock.toggleState()?h.showCloseButton():h.showMenuIcon()}function o(e){if(T){var t=e.isClosed?0:45,i=e.isClosed?1:0;h.isInitUri?T.alpha=0:(T.alpha=1,Tween.defer(T.line1,UPDATE_SPEED,{width:e.diagonal,x:e.leftMargin,y:e.line1Y,rotate:-t,backgroundColor:e.color}),Tween.defer(T.line2,.5*UPDATE_SPEED,{alpha:i,backgroundColor:e.color}),Tween.defer(T.line3,UPDATE_SPEED,{width:e.diagonal,x:e.leftMargin,y:e.line3Y,rotate:t,backgroundColor:e.color}),Tween.defer(T,UPDATE_SPEED,{rotate:e.rotate}))}}function a(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}function r(e){1===e.touches.length&&stage.zoom<=1&&(touchTimeStart=Date.now(),m=0,p=0,v=h.translateX,L=e.touches[0].pageX,f=e.touches[0].pageY,A=!0,h.addEventListener(TOUCH_MOVE,l),h.addEventListener(TOUCH_END,s),h.addEventListener(TOUCH_CANCEL,s))}function l(e){if(1===e.touches.length&&stage.zoom<=1){USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&e.preventDefault(),m=e.touches[0].pageX-L,p=e.touches[0].pageY-f,Mth.abs(m)>Mth.abs(p)?(b=!0,C=!1,e.stopPropagation()):(C=!0,USER_AGENT===MOBILE&&(h.dock.toggleState()?h.dock.show(0):h.dock.hide(0)),b=!1),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||!b||e.preventDefault();var t=/left|top|bottom/.test(STATE.menuView.placement())?"left":"right";if(USER_AGENT!==TABLET&&USER_AGENT!==MOBILE||(t="left"),b){h.transition=0;var i=m+v;"left"===t?h.dock.toggleState()?h.translateX=i>0?0:i:h.translateX=i<-layoutCalcs.menuView.width()?-layoutCalcs.menuView.width():i:h.translateX=i<=e.touches[0].pageX?(S="left"===t?"open":"close",O=e.touches[0].pageX):!C&&O>=e.touches[0].pageX&&(S="left"===t?"close":"open",O=e.touches[0].pageX)}}function s(){b&&"close"===S?(A=!1,h.dock.toggleState()&&h.closeDock()):b&&"open"===S&&(A=!1,h.dock.toggleState()||h.openDock()),A=!1,b=!1,h.removeEventListener(TOUCH_MOVE,l),h.removeEventListener(TOUCH_END,s),h.removeEventListener(TOUCH_CANCEL,s)}function d(){h.dock.toggleState()?(D=!1,h.closeDock()):(D=!0,h.openDock())}function c(){return USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.menuBlendMode&&"overlay"!==STATE.menuView.placement()?LAYOUT_MODEL.menuBlendMode:"normal"}var h=new ViewProxy({events:e.events});h.identity="menu",h.element.setAttribute("data-identity","menu"),h.isInitUri=!0,h.alpha=0,h.updateSpeed=0,h.zIndex=STATE.menuView.zIndex,h.style.pointerEvents="none",h.x=0,h.y=0,h.position=STATE.menuView.menuPositionFixed()||"overlay"===STATE.menuView.placement()?"fixed":"absolute",h.element.style["mix-blend-mode"]=c();var u=(e.parentView,new Sprite);u.identity="menu",u.element.setAttribute("data-identity","menu"),u.element.setAttribute("class","mask"),u.backgroundColor=toRgba("#FF0000",0),u.width=layoutCalcs.menuView.width(),h.mask=u,h.addChild(u);var T,E,g=!0,m=0,p=0,L=0,f=0,v=0,S="open",O=0,C=!1,A=!1,b=!1,y=isVerticalMenu()?"top":"left",M=isHorizontalMenu()?layoutCalcs.menuView.y():layoutCalcs.menuView.x(),w=isHorizontalMenu()?layoutCalcs.menuView.x():layoutCalcs.menuView.y(),_={width:stage.width,height:stage.height};h.addEventListener(CHILD_ADDED,function(){h.updatePosition(),"overlay"===STATE.menuView.placement()?g=!1:Tween(h,UPDATE_SPEED,{delay:UPDATE_SPEED,alpha:1,onComplete:function(){g=!1}})}),h.dock=new Dock(h,_,{side:USER_AGENT===TABLET||USER_AGENT===MOBILE?"left":STATE.menuView.placement(),align:y,margin:M,pOffset:w,reveal:0,disableResize:"overlay"===STATE.menuView.placement()}),h.layoutChange=function(){var e=STATE.menuView.placement();h.prevPlacement!==e&&"overlay"===e?h.element.addEventListener(CLICK,function(e){h.element!==e.target&&h.mask.element!==e.target||d()}):"overlay"===h.prevPlacement&&"overlay"!==e&&h.element.removeEventListener(CLICK,function(e){h.element!==e.target&&h.mask.element!==e.target||d()}),h.prevPlacement=e},h.layoutChange(),h.showCloseButton=function(){if(USER_AGENT===MOBILE||USER_AGENT===TABLET){var e=STATE.menuView.menuIconOverlayColor(),i=Number(LAYOUT_MODEL.menuIconSizeMobile||27),n=t(i);n.isClosed=!1,n.color=firstValid(LAYOUT_MODEL.menuIconOverlayColorMobile,"#000000"),n.rotate=-180,n.line1Y=2*n.topMargin-(Number(LAYOUT_MODEL.menuIconLineWidthMobile||3)+1),n.line3Y=2*n.topMargin-(Number(LAYOUT_MODEL.menuIconLineWidthMobile||3)+1),n.leftMargin*=.5,LAYOUT_MODEL.menuShowCloseIconMobile&&o(n)}else if("text"!==LAYOUT_MODEL.menuOverlayIconType){var e=STATE.menuView.menuIconOverlayColor(),i=Number(LAYOUT_MODEL.menuIconSize||36),n=t(i);n.isClosed=!1,n.color=e,n.rotate=-180,n.line1Y=2*n.topMargin-(Number(LAYOUT_MODEL.menuIconLineWidth||1)+1),n.line3Y=2*n.topMargin-(Number(LAYOUT_MODEL.menuIconLineWidth||1)+1),n.leftMargin*=.5,o(n)}else T.fontColor=LAYOUT_MODEL.menuIconOverlayColor||"#333333",T.text=LAYOUT_MODEL.menuIconCloseText||"close"},h.showMenuIcon=function(){if(USER_AGENT===MOBILE||USER_AGENT===TABLET){var e=Number(LAYOUT_MODEL.menuIconSizeMobile||27),i=t(e);i.isClosed=!0,i.color=firstValid(LAYOUT_MODEL.menuIconColorMobile,LAYOUT_MODEL.menuIconColor,"#606060"),i.rotate=0,i.line1Y=i.topMargin,i.line3Y=3*i.topMargin,i.diagonal=i.width,LAYOUT_MODEL.menuShowCloseIconMobile&&o(i)}else if("text"!==LAYOUT_MODEL.menuOverlayIconType){var e=Number(LAYOUT_MODEL.menuIconSize||36),i=t(e);i.isClosed=!0,i.color=LAYOUT_MODEL.menuIconColor||"#333333",i.rotate=0,i.line1Y=i.topMargin,i.line3Y=3*i.topMargin,i.diagonal=i.width,o(i)}else T.fontColor=LAYOUT_MODEL.menuIconColor||"#333333",T.text=LAYOUT_MODEL.menuIconText||"menu"},USER_AGENT===TABLET||USER_AGENT===MOBILE?(n(),T.addEventListener(CLICK,d),h.addEventListener(TOUCH_START,r),h.style.pointerEvents="auto"):"overlay"===STATE.menuView.placement()&&("text"!==LAYOUT_MODEL.menuOverlayIconType?n():"text"===LAYOUT_MODEL.menuOverlayIconType&&i());var D=!1;return h.openDock=function(e){e=isNaN(e)?UPDATE_SPEED:e,USER_AGENT===MOBILE||USER_AGENT===TABLET?(h.dock.show(e),h.showCloseButton(),h.events.dispatchEvent(MENU_DOCK_OPEN),h.events.dispatchEvent("MENU_DOCK_TOGGLE")):"overlay"===STATE.menuView.placement()&&(h.showCloseButton(),T&&"hover"===LAYOUT_MODEL.menuIconAction&&(T.element.onmouseenter=null),h.dock.show(0,function(t){t.display="block",h.menuText.updatePosition(0),Tween(t,e,{delay:.15,alpha:1,onComplete:function(){T&&(h.dock.toggleState()?(h.showCloseButton(),"hover"===LAYOUT_MODEL.menuIconAction&&(T.element.onmouseenter=null),T.element.onclick=d):(h.showMenuIcon(),"hover"===LAYOUT_MODEL.menuIconAction?(T.element.onmouseenter=d,T.element.onclick=isPod()||isPad()?d:null):T.element.onclick=d))}}),E=document.body.style.overflowY,document.body.style.overflowY="hidden"}))},h.closeDock=function(e){e=isNaN(e)?UPDATE_SPEED:e,A||USER_AGENT!==MOBILE&&USER_AGENT!==TABLET?"overlay"===STATE.menuView.placement()&&(h.showMenuIcon(),T&&("hover"===LAYOUT_MODEL.menuIconAction?(T.element.onmouseenter=d,T.element.onclick=isPod()||isPad()?d:null):T.element.onclick=d),h.dock.hide(0,function(t){Tween(t,e,{delay:.05,alpha:0,onComplete:function(){t.display="none",T&&(h.dock.toggleState()?(h.showCloseButton(),"hover"===LAYOUT_MODEL.menuIconAction&&(T.element.onmouseenter=null),T.element.onclick=d):(h.showMenuIcon(),"hover"===LAYOUT_MODEL.menuIconAction?(T.element.onmouseenter=d,T.element.onclick=isPod()||isPad()?d:null):T.element.onclick=d))}}),setTimeout(function(){/unified/.test(STATE.overrides.siteDisplayBehavior)?document.body.style.overflowY="scroll":document.body.style.overflowY="hidden"},100)})):(h.dock.hide(e),h.showMenuIcon(),h.dock.toggleState()&&(h.events.dispatchEvent(MENU_DOCK_CLOSE),h.events.dispatchEvent("MENU_DOCK_TOGGLE")))},h.updateStyle=function(){USER_AGENT===MOBILE?Tween(h,h.updateSpeed,{backgroundColor:toRgba(LAYOUT_MODEL.menuBgColorMobile||LAYOUT_MODEL.menuBgColor,LAYOUT_MODEL.menuBgAlphaMobile||LAYOUT_MODEL.menuBgAlpha)}):USER_AGENT===TABLET?Tween(h,h.updateSpeed,{backgroundColor:toRgba(LAYOUT_MODEL.menuBgColorTablet||LAYOUT_MODEL.menuBgColor,LAYOUT_MODEL.menuBgAlphaTablet||LAYOUT_MODEL.menuBgAlpha)}):Tween(h,0,{backgroundColor:toRgba(STATE.menuView.menuBgColor(),STATE.menuView.menuBgAlpha())})},h.updatePosition=function(t){var o="layoutModelChange"===t,a=isNaN(t)?h.updateSpeed:t;h.position=STATE.menuView.menuPositionFixed()||"overlay"===STATE.menuView.placement()?"fixed":"absolute",h.element.style["mix-blend-mode"]=c();var r=exists(h,"menuText.height")||0,l=layoutCalcs.menuView.height()-layoutCalcs.menuText.y(r),s=layoutCalcs.menuText.y(r);if(USER_AGENT===MOBILE?l=layoutCalcs._footerHeight?layoutCalcs.menuView.height()-layoutCalcs.menuText.y(r)-layoutCalcs._footerHeight-2*layoutCalcs.mobileFooterPadding:layoutCalcs.menuView.height()-layoutCalcs.menuText.y(r):l>layoutCalcs.menuView.height()&&(l=layoutCalcs.menuView.height(),s=0),USER_AGENT!==TABLET&&USER_AGENT!==MOBILE&&LAYOUT_MODEL.navbarAlignHorizontal===STATE.menuView.placement()&&"bottom"===LAYOUT_MODEL.navbarAlignVertical&&layoutCalcs._navbarVisible){var d=12;l=layoutCalcs.navbarView.y()-percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)-s-LAYOUT_MODEL.menuOffsetY-d}USER_AGENT===TABLET||USER_AGENT===MOBILE||("overlay"===STATE.menuView.placement()?T?o&&T&&(e.parentView.removeChild(T),"text"!==LAYOUT_MODEL.menuOverlayIconType?n():"text"===LAYOUT_MODEL.menuOverlayIconType&&i()):"text"!==LAYOUT_MODEL.menuOverlayIconType?n():"text"===LAYOUT_MODEL.menuOverlayIconType&&i():T&&(h.dock.show(0,function(e){e.display="block",Tween(e,a,{alpha:1})}),/overlay/.test(STATE.menuView.placement())?stage.removeChild(T):e.parentView.removeChild(T),T=null));var E=isPod()&&"overlay"===STATE.menuView.placement()?250:0;Tween(h,0,{width:layoutCalcs.menuView.width(),height:layoutCalcs.menuView.height()+E}),USER_AGENT===MOBILE?(Tween(u,a,{width:layoutCalcs.menuView.width(),height:layoutCalcs.menuView.height(),y:0}),h.menuText&&Tween(h.menuText,a,{y:s})):Tween(u,a,{width:layoutCalcs.menuView.width(),height:l,y:s}),h.updateSpeed=UPDATE_SPEED,_.width=stage.width,_.height=stage.height,USER_AGENT===TABLET||USER_AGENT===MOBILE?h.dock.side="left":h.dock.side=STATE.menuView.placement(),h.dock.align=isVerticalMenu()?"top":"left",h.dock.margin=isHorizontalMenu()?layoutCalcs.menuView.y():layoutCalcs.menuView.x(),h.dock.pOffset=isHorizontalMenu()?layoutCalcs.menuView.x():layoutCalcs.menuView.y(),h.dock.disableResize="overlay"===STATE.menuView.placement(),h.dock.resize(g?0:UPDATE_SPEED),setTimeout(function(){h.scroll&&h.scroll.resize()},1e3*UPDATE_SPEED)},h.addContent=function(e){h.mask.addChild(e),setTimeout(function(){h.updateScroll()},1e3*UPDATE_SPEED)},h.removeContent=function(e){h.mask.removeChild(e),setTimeout(function(){h.updateScroll()},1e3*UPDATE_SPEED)},h.updateScroll=function(){if((isPod()||isPad())&&(u.element.style["-webkit-overflow-scrolling"]="touch"),"native"===LAYOUT_MODEL.menuScrollType)h.style.pointerEvents="auto",!isVerticalMenu()&&LAYOUT_MODEL.dropdownSubMenu?u.element.style.overflow="visible":isVerticalMenu()?(u.element.style.overflowY="scroll",u.element.style.overflowX="hidden"):(u.element.style.overflowY="hidden",u.element.style.overflowX="scroll");else if(MAC_SCROLLBARS&&("nativeMacOs"===LAYOUT_MODEL.menuScrollType||LAYOUT_MODEL.globalSmoothScroll||USER_AGENT===MOBILE))h.style.pointerEvents="auto",!isVerticalMenu()&&LAYOUT_MODEL.dropdownSubMenu?u.element.style.overflow="visible":isVerticalMenu()?(u.element.style.overflowY="scroll",u.element.style.overflowX="hidden"):u.element.style.overflow="auto";else if(isVerticalMenu()||!LAYOUT_MODEL.dropdownSubMenu){h.scroll&&h.scroll.destroy(),u.overflow="hidden";var e=LAYOUT_MODEL.menuScrollbarWidth,t="right"===LAYOUT_MODEL.menuScrollbarAlign?-e:-percentToPixels(LAYOUT_MODEL.menuWidth,stage.width),i=["bar","wheel","touch"],n=percentToPixels(STATE.menuView.menuTextPaddingHorizontal(),stage.width),o={name:"menu",types:i,axis:isVerticalMenu()?"y":"x",align:isVerticalMenu()?"top":STATE.menuView.menuTextAlignHorizontal(),alpha:LAYOUT_MODEL.menuScrollbarBgAlpha,color:LAYOUT_MODEL.menuScrollbarColor,hover:LAYOUT_MODEL.menuScrollbarHover,side:LAYOUT_MODEL.menuScrollbarAlignment,width:e,topPad:0,margin:isVerticalMenu()?2:n,offsetX:isVerticalMenu()?t:0,zIndex:500,rounded:STATE.overrides.thumbnailScrollbarRounded,visibility:STATE.overrides.thumbnailScrollbarVisibility};("nativeMacOs"===LAYOUT_MODEL.menuScrollType||LAYOUT_MODEL.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"),h.scroll=new Scroll(h.menuText,u,o)}else h.style.pointerEvents="auto",u.element.style.overflow="visible"},h.updateStyle(),h}function MenuText(e){function t(){_.text="",_.children=[],x=new Accordion(e),x.alpha=0,USER_AGENT===MOBILE?x.gap=0:USER_AGENT===TABLET?x.gap=percentToPixels(firstValid(LAYOUT_MODEL.menuTextGapTablet,STATE.menuView.menuTextGap()),100):x.gap=percentToPixels(STATE.menuView.menuTextGap(),100),LAYOUT_MODEL.menuExpandAll?x.expand="all":x.expand="single",x.toggle=!1,x.wrap=!1;var t=USER_AGENT===TABLET?LAYOUT_MODEL.menuTextAlignHorizontalTablet||"left":STATE.menuView.menuTextAlignHorizontal(),r=t;USER_AGENT===MOBILE?r="left":/top|bottom/.test(STATE.menuView.placement())&&USER_AGENT!==TABLET&&(r="top"),x.align=r,x.updateSpeed=_.updateSpeed,x.axis=isVerticalMenu()?"y":"x",x.perpLength=isVerticalMenu()?_.height:_.width,x.animate=!1,_.addChild(x),a(P,!1,x,!1),_.width=x.width,_.height=x.height,x.addEventListener(ACCORDION_SIZE_CHANGE,o),o(),x.layout(),D&&_.selectMenuItem(),setTimeout(function(){i(),n(),_.events.dispatchEvent(MENU_BUILT),N=0},N)}function i(){O(),x.perpLength=isVerticalMenu()?_.height:_.width,x.layout()}function n(){setTimeout(function(){Tween(x,UPDATE_SPEED,{alpha:1})},350)}function o(e){e&&(_.width=e.width,_.height=e.height),_.x=Math.round(layoutCalcs.menuText.x(_.width)),_.events.dispatchEvent(MENU_SIZE_CHANGE)}function a(e,t,i,n){i.parentLabel=n;for(var o=0,a=e.length;o-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 u(e){var t=h(e.label),i=new Bitmap;return i.src=SETTINGS_MODEL.cdnSslUri+"/"+t.path,i.width=t.width,i.height=t.height,i.customLabel=e.label.toLowerCase(),i.cursor="pointer",i}function T(e){var t=socialIcons[e.label.toLowerCase()],i=new Bitmap;return i.src=ICONS+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 E(e){switch(LAYOUT_MODEL.footerIconShape){case"standard":return e.svgStdPath;case"rectangle":return e.svgRectPath;case"circle":return e.svgCircPath}}function g(e){var t=socialIcons[e.label.toLowerCase()],i=new Svg;i.identity="menu",i.element.setAttribute("data-identity","menu");var n=new Svg({type:"g"});n.identity="menu",n.element.setAttribute("data-identity","menu");var o=new Path;o.identity="menu",o.element.setAttribute("data-identity","menu");var a=USER_AGENT===TABLET||USER_AGENT===MOBILE?1:LAYOUT_MODEL.footerIconScale;if(n.scale=a,/circle|rectangle/.test(LAYOUT_MODEL.footerIconShape)){var r=new Rect;r.rx="circle"===LAYOUT_MODEL.footerIconShape?t.bgCircRadius:t.bgRectRadius,r.width=t.width,r.height=t.height,r.fill=LAYOUT_MODEL.footerIconColor,n.addChild(r)}return o.d=E(t),o.fill="standard"===LAYOUT_MODEL.footerIconShape?LAYOUT_MODEL.footerIconColor:LAYOUT_MODEL.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 m(e,t){var i="%spacer%"===e.toLowerCase()?"span":"a",n=new Sprite({type:i});return n.identity="menu",n.element.setAttribute("data-identity","menu"),n.element.setAttribute("class","menuLabel"),n.element.style["user-select"]="none",USER_AGENT===MOBILE?(t?(n.fontFamily=LAYOUT_MODEL.menuSubFontMobile||LAYOUT_MODEL.menuFontMobile||LAYOUT_MODEL.menuFont,n.fontSize=LAYOUT_MODEL.menuSubFontSizeMobile||LAYOUT_MODEL.menuFontSizeMobile||LAYOUT_MODEL.menuSubFontSize,n.textTransform=LAYOUT_MODEL.menuSubTextTransform||"none"):(n.fontFamily=LAYOUT_MODEL.menuFontMobile||LAYOUT_MODEL.menuFont,n.fontSize=LAYOUT_MODEL.menuFontSizeMobile||LAYOUT_MODEL.menuFontSize,n.textTransform=LAYOUT_MODEL.menuTextTransform||"none"),n.fontColor=LAYOUT_MODEL.menuFontColorMobile||LAYOUT_MODEL.menuFontColor):USER_AGENT===TABLET?(t?(n.fontFamily=LAYOUT_MODEL.menuSubFontTablet||LAYOUT_MODEL.menuFontTablet||LAYOUT_MODEL.menuFont,n.fontSize=LAYOUT_MODEL.menuSubFontSizeTablet||LAYOUT_MODEL.menuFontSizeTablet||LAYOUT_MODEL.menuSubFontSize,n.textTransform=LAYOUT_MODEL.menuSubTextTransform||"none"):(n.fontFamily=LAYOUT_MODEL.menuFontTablet||LAYOUT_MODEL.menuFont,n.fontSize=LAYOUT_MODEL.menuFontSizeTablet||LAYOUT_MODEL.menuFontSize,n.textTransform=LAYOUT_MODEL.menuTextTransform||"none"),n.fontColor=LAYOUT_MODEL.menuFontColorTablet||LAYOUT_MODEL.menuFontColor):(t?(n.fontFamily=LAYOUT_MODEL.menuSubFont||LAYOUT_MODEL.menuFont,n.fontSize=STATE.menuView.menuSubFontSize(),n.textTransform=LAYOUT_MODEL.menuSubTextTransform||"none"):(n.fontFamily=LAYOUT_MODEL.menuFont,n.fontSize=STATE.menuView.menuFontSize(),n.textTransform=LAYOUT_MODEL.menuTextTransform||"none"),n.fontColor=STATE.menuView.menuFontColor()),n.fontStyle=LAYOUT_MODEL.menuFontStyle||"normal",n.letterSpacing=LAYOUT_MODEL.menuKerning,n.textWrap=USER_AGENT===MOBILE,n.text="%spacer%"===e.toLowerCase()?"‌":e,n.label=n,"%spacer%"!==e.toLowerCase()&&(n.cursor="pointer"),n}function p(e){var t=isNaN(LAYOUT_MODEL.menuIndentMobile)?20:LAYOUT_MODEL.menuIndentMobile,i=isNaN(LAYOUT_MODEL.menuSubIndentMobile)?t+10:t+LAYOUT_MODEL.menuSubIndentMobile;return e?i:t}function L(e,t){var i,n=LAYOUT_MODEL.menuTextAlignHorizontalMobile?LAYOUT_MODEL.menuTextAlignHorizontalMobile:"left",o=p(t),a=""===LAYOUT_MODEL.menuLinesMobile||void 0===LAYOUT_MODEL.menuLinesMobile||LAYOUT_MODEL.menuLinesMobile,r=LAYOUT_MODEL.menuLineHeightMobile||60;switch(n){case"left":i="flex-start";break;case"center":i="center";break;case"right":i="flex-end"}var l=new Sprite;return l.identity="menu",l.element.setAttribute("data-identity","menu"),l.addChild(e),l.label=e,l.width=layoutCalcs.menuView.width(),l.minHeight=r,l.position="relative",l.display="flex",l.style.justifyContent=i,l.style.alignItems="center",a&&(l.borderBottom="1px solid "+toRgba(STATE.menuView.menuFontColor(),STATE.menuView.menuBgAlpha()+.15)),e.position="relative",layoutCalcs.menuBullet.updateSize(t),e.x=0,e.y=a?1:0,e.textAlign=n,e.paddingLeft=o,e.paddingRight=o,l}function f(e){var t;if("custom_png"===LAYOUT_MODEL.menuBulletType)t=new Bitmap,t.isSub=e,layoutCalcs.menuBullet.updateSize(e),t.alpha=0,_.addChild(t),t.element.addEventListener(LOAD,function(i){var n={width:i.target.offsetWidth,height:i.target.offsetHeight,filename:this.src};setTimeout(function(){var i=RetinaResizeEngine(n);t.width=i.width,t.height=i.height,layoutCalcs.menuBullet.width=i.width,layoutCalcs.menuBullet.height=i.height,t.width=layoutCalcs.menuBullet.width,e?(t.x=Math.round(-(t.width+15)+LAYOUT_MODEL.menuSubBulletOffsetHorizontal),t.y=0+LAYOUT_MODEL.menuSubBulletOffsetVertical):(t.x=Math.round(-(t.width+15)+LAYOUT_MODEL.menuBulletOffsetHorizontal),t.y=0+LAYOUT_MODEL.menuBulletOffsetVertical)},10)}),t.src=SETTINGS_MODEL.cdnSslUri+"/menu-bullet__at__2x.png";else if(/^underline/.test(LAYOUT_MODEL.menuBulletType)){var i=Number(LAYOUT_MODEL.menuBulletType.split("_")[1]);t=new Sprite,t.identity="menu",t.element.setAttribute("data-identity","menu"),t.isSub=e,t.backgroundColor=toRgba(STATE.menuView.menuFontColor(),0),t.width=0,t.height=i}else t=new Sprite,t.identity="menu",t.element.setAttribute("data-identity","menu"),t.isSub=e,layoutCalcs.menuBullet.updateSize(e),t.fontFamily=LAYOUT_MODEL.menuFont,t.fontColor=toRgba(STATE.menuView.menuFontColor(),0),t.fontSize=e?STATE.menuView.menuSubFontSize():STATE.menuView.menuFontSize(),t.width=layoutCalcs.menuBullet.width,t.text=menuBullet[LAYOUT_MODEL.menuBulletType],e?(t.x=Math.round(-(t.width+15)+LAYOUT_MODEL.menuSubBulletOffsetHorizontal),t.y=0+LAYOUT_MODEL.menuSubBulletOffsetVertical):(t.x=Math.round(-(t.width+15)+LAYOUT_MODEL.menuBulletOffsetHorizontal),t.y=0+LAYOUT_MODEL.menuBulletOffsetVertical);return t}function v(){var e="inherit"===STATE.menuView.menuSubTextAlignHorizontal()?STATE.menuView.menuTextAlignHorizontal():STATE.menuView.menuSubTextAlignHorizontal();return USER_AGENT===MOBILE?LAYOUT_MODEL.menuTextAlignHorizontalMobile||"left":USER_AGENT===TABLET?LAYOUT_MODEL.menuTextAlignHorizontalTablet||"left":e}function S(){return USER_AGENT===MOBILE?0:USER_AGENT===TABLET?firstValid(LAYOUT_MODEL.menuSubIndentTablet,LAYOUT_MODEL.menuSubIndent):LAYOUT_MODEL.menuSubIndent}function O(){for(var e=0,t=Y.length,i=v(),n=firstValid(LAYOUT_MODEL.menuSubTextPaddingHorizontal,5);eo.tile.perpLength?a:o.tile.perpLength,o.tile.addItem(a,r)}o.tile.layoutItems();var l=STATE.menuView.menuSubTextGap();USER_AGENT===TABLET&&(l=firstValid(LAYOUT_MODEL.menuTextGapTablet,STATE.menuView.menuSubTextGap())),l=percentToPixels(l,100);for(var s=0;s0){for(d=new Tile({id:"nav"}),d.gap=LAYOUT_MODEL.navbarGap+2,d.axis="horizontal"===LAYOUT_MODEL.navbarLayout?"x":"y",d.align="vertical"===LAYOUT_MODEL.navbarLayout?LAYOUT_MODEL.navbarJustification:"left",d.wrap=!1,d.perpLength="x"===d.axis?t[0].element.offsetHeight:t[0].element.offsetWidth,e=0;ed.perpLength&&(d.perpLength=o):n>d.perpLength&&(d.perpLength=n),d.addItem(n,o)}for(d.layoutItems(),e=0;e1&&/image|video/.test(u.type)}/fill|hMasonry|vMasonry/.test(L)&&/thumbs/.test(E)?c.hide():e.section.id===LANDING_MEDIA&&g?c.hide():(m=e.assetId===-1?0:e.assetId,p>1?(c.show(),window.FOTOMOTO&&u&&"image"===u.type?r(u.content):window.FOTOMOTO||!isPod()&&!isPad()?c.buildNavBtns():setTimeout(function(){r(u.content)},1e3)):c.hide())},c.buildNavBtns=function(){v=percentToPixels(LAYOUT_MODEL.navbarFontSize,100),c.parent.removeChildren(c);for(var e in NAVBAR_MODEL)if(NAVBAR_MODEL.hasOwnProperty(e)){if("fullscreen"===NAVBAR_MODEL[e].type&&!isFullscreenCapable())continue;if("thumbs"===NAVBAR_MODEL[e].type&&"none"===L)continue;if("fotomoto"===NAVBAR_MODEL[e].type&&!f)continue;if(!/caption|inquiry|fotomoto/.test(NAVBAR_MODEL[e].type)&&USER_AGENT===MOBILE)continue;if(USER_AGENT===MOBILE&&!T)continue;var r=new Sprite;c.addChild(r),"caption"===NAVBAR_MODEL[e].type&&u&&(r.alpha=""===u.caption?.35:1),USER_AGENT===MOBILE&&E&&"caption"===E&&"caption"===NAVBAR_MODEL[e].type&&u&&u.caption?(r.label=o("×",v+20),r.addChild(r.label),r.width=r.label.element.offsetWidth,r.height=v+10,r.label.x=0,r.label.y=.5*(v-r.label.element.offsetHeight)):"spacer"===NAVBAR_MODEL[e].type?(r.label=o("    "),r.addChild(r.label),r.width=r.label.element.offsetWidth,r.height=v,r.label.x=0,r.label.y=.5*(v-r.label.element.offsetHeight)):"label"===NAVBAR_MODEL[e].iconType||"count"===NAVBAR_MODEL[e].type?(r.label=o(NAVBAR_MODEL[e].name),r.addChild(r.label),r.width=r.label.element.offsetWidth,r.height=v,r.label.x=0,r.label.y=.5*(v-r.label.element.offsetHeight)):"icon"===NAVBAR_MODEL[e].iconType?(r.icon=a(NAVBAR_MODEL[e].type),r.addChild(r.icon),r.width=r.icon.width,r.height=v,r.icon.left=0,r.icon.top=Math.round(.5*(v-r.icon.height))+LAYOUT_MODEL.navbarIconOffsetY):"both"===NAVBAR_MODEL[e].iconType&&(r.icon=a(NAVBAR_MODEL[e].type),r.addChild(r.icon),r.label=o(NAVBAR_MODEL[e].name),r.addChild(r.label),"next"===NAVBAR_MODEL[e].type?("vertical"===LAYOUT_MODEL.navbarLayout?(r.label.x=-3,r.icon.left=Math.round(r.label.element.offsetWidth-LAYOUT_MODEL.navbarIconOffsetX)):(r.label.x=0,r.icon.left=Math.round(r.label.element.offsetWidth-LAYOUT_MODEL.navbarIconOffsetX+3)),r.label.y=.5*(v-r.label.element.offsetHeight),r.icon.top=Math.round(.5*(v-r.icon.height)+LAYOUT_MODEL.navbarIconOffsetY),r.width=r.icon.width+r.label.element.offsetWidth-LAYOUT_MODEL.navbarIconOffsetX):(r.icon.left=0,r.icon.top=Math.round(.5*(v-r.icon.height)+LAYOUT_MODEL.navbarIconOffsetY),r.label.x=r.icon.width-LAYOUT_MODEL.navbarIconOffsetX+3,r.label.y=.5*(v-r.label.element.offsetHeight),r.width=r.icon.width+r.label.element.offsetWidth-LAYOUT_MODEL.navbarIconOffsetX+3),r.height=v);var l=new Sprite;l.cursor="pointer",l.width=r.element.offsetWidth,l.height=r.element.offsetHeight,l.type=NAVBAR_MODEL[e].type,l.tooltip=NAVBAR_MODEL[e].tooltip,r.label&&(l.label=r.label),r.icon&&(l.icon=r.icon),r.addChild(l),r.hit=l,"count"===NAVBAR_MODEL[e].type?(h=r,h.label.text=m+1+" of "+p,h.width=h.label.element.offsetWidth,l.width=h.label.element.offsetWidth):"spacer"===NAVBAR_MODEL[e].type||(l.addEventListener(MOUSE_OVER,i),l.addEventListener(MOUSE_OUT,n),l.addEventListener(CLICK,t)),r.label&&(r.label.element.style["user-select"]="none")}Object.keys(NAVBAR_MODEL).length>0&&(s(),c.updatePosition())};return c}function IntroView(e){function t(){s=new Sprite,s.backgroundColor=LAYOUT_MODEL.siteBackgroundColor,s.width=stage.width,s.height=stage.height,c.addChild(s)}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&&c.events.dispatchEvent(INTRO_COMPLETE))},i.open("GET",e,!0),i.send(null)}function n(){var e=/https/.test(STATE.introFile||LAYOUT_MODEL.introFile)?STATE.introFile||LAYOUT_MODEL.introFile:SETTINGS_MODEL.cdnSslUri+"/"+(STATE.introFile||LAYOUT_MODEL.introFile);/mp4$/.test(STATE.introFile||LAYOUT_MODEL.introFile)?(d=new VideoPlayer({parent:c,width:Math.floor(stage.width),height:Math.floor(stage.height)}),d.alpha=0,d.addEventListener(METADATA_LOADED,r),d.element.addEventListener("error",function(){o()}),d.addEventListener("click",function(){o()}),d.element.addEventListener("ended",function(){o()}),d.src=e,c.addChild(d)):/jpeg$|jpg$|gif$|png$/.test(STATE.introFile||LAYOUT_MODEL.introFile)?(d=new Bitmap,d.alpha=0,d.addEventListener(LOAD,l),d.addEventListener("error",function(){c.events.dispatchEvent(INTRO_COMPLETE)}),d.src=e,c.addChild(d)):/htm$|html$/.test(STATE.introFile||LAYOUT_MODEL.introFile)&&(d=new Sprite,d.alpha=0,d.width=stage.width,d.height=stage.height,d.overflow="auto",i(e,function(e){Tween(d,1,{alpha:1}),u=UPDATE_SPEED,d.text=e}),c.addChild(d))}function o(e){e!==!1&&void 0!==e&&null!==e||(e=.75),setTimeout(function(){Tween(d,e,{alpha:0,onComplete:function(){c.events.dispatchEvent(INTRO_COMPLETE)}})},1e3*(LAYOUT_MODEL.introDuration||h))}function a(){return USER_AGENT===MOBILE?LAYOUT_MODEL.introScaleTypeMobile||LAYOUT_MODEL.introScaleType:USER_AGENT===TABLET?LAYOUT_MODEL.introScaleTypeTablet||LAYOUT_MODEL.introScaleType:LAYOUT_MODEL.introScaleType}function r(e){var t=RetinaResizeEngine({width:e.target.videoWidth,height:e.target.videoHeight,filename:STATE.introFile||LAYOUT_MODEL.introFile});Resize(d,0,{type:a(),width:t.width,height:t.height,hRange:stage.width,vRange:stage.height,hAlign:"center",vAlign:"center",disableOrientationCheck:!0,onComplete:function(){setTimeout(function(){d.element.muted=!0,d.element.play(),Tween(d,UPDATE_SPEED,{alpha:1})},"Safari"===BROWSER_NAME?700:100),u=UPDATE_SPEED}})}function l(e){var t=RetinaResizeEngine({width:d.element.offsetWidth,height:d.element.offsetHeight,filename:STATE.introFile||LAYOUT_MODEL.introFile});Resize(d,0,{type:a(),width:t.width,height:t.height,hRange:stage.width,vRange:stage.height,hAlign:"center",vAlign:"center",disableOrientationCheck:!0,onComplete:function(){Tween(d,1,{alpha:1,onComplete:o}),u=UPDATE_SPEED}})}var s,d,c=new Sprite({events:e.events}),h=1.4,u=(e.parentView,0);return c.element.id="IntroView",c.zIndex=STATE.introView.zIndex,e.events.addEventListener("introFadeOut",function(){Tween(d,.5,{alpha:0,onComplete:function(){c.events.dispatchEvent(INTRO_COMPLETE)}})}),c.addEventListener(CHILD_ADDED,function(e){t(),n()}),c.updatePosition=function(e){s.width=stage.width,s.height=stage.height,/htm$|html$/.test(STATE.introFile||LAYOUT_MODEL.introFile)&&(d.width=stage.width,d.height=stage.height),d&&Tween(d,0,{x:.5*(stage.width-d.width),y:.5*(stage.height-d.height)})},c}function Login(e){function t(e){Tween(this,.2,{fontColor:theme.fontColorLightest,borderBottom:"1px solid "+theme.bgColorDark,boxShadow:"0 1px 0 0 "+theme.bgColorDark,ease:"ease-out"}),Tween(this.label,.2,{fontSize:12,y:this.y-15,ease:"ease-out"})}function i(e){Tween(this,.2,{fontColor:theme.fontColorLightest,borderBottom:"1px solid "+theme.bgColorDarkest,boxShadow:"0 1px 0 0 #333",ease:"ease-out"}),this.value||Tween(this.label,.2,{fontSize:15,y:this.y+5,ease:"ease-out"})}function n(e){Tween(this,.2,{fontColor:theme.fontColorSelected,ease:"ease-out"})}function o(e){Tween(this,.2,{fontColor:theme.fontColorLight,ease:"ease-out"})}function a(e){Tween(this,.2,{fontColor:theme.fontColorSelected,ease:"ease-out"})}function r(e){Tween(this,.2,{fontColor:theme.fontColorLight,ease:"ease-out"})}function l(){}function s(){}function d(){SETTINGS_MODEL.adminLockout||new JSONXHR({url:"/dx/service/login",params:{user:m.value,pass:p.value},callback:u.loginResponse})}function c(){new JSONXHR({url:"/dx/service/logout",params:{},callback:u.logoutResponse})}function h(e){13===e.which&&d(),m.label.y=m.value?m.y-15:m.y+5,p.label.y=p.value?p.y-15:p.y+5}e=e||{};var u,T=345,E=new Sprite;E.width=T,E.height=350,E.borderRadius=4,E.addEventListener(CLICK,function(e){e.stopPropagation()});var g=new Sprite("h1");g.x=-2,g.y=2,g.width=T,g.height=50,g.fontColor=theme.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",E.addChild(g);var m=new Input;m.x=0,m.y=75,m.width=T,m.height=40,m.fontColor=theme.fontColor,m.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",m.fontSize=16,m.fontWeight=700,m.value="",m.backgroundColor="transparent",m.borderBottom="1px solid "+theme.bgColorDarkest,m.boxShadow="0 1px 0 0 #333",m.element.tabIndex=1,E.addChild(m),m.label=new Sprite,m.label.x=0,m.label.y=m.value?m.y-15:m.y+5,m.label.fontColor=theme.fontColorLight,m.label.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",m.label.fontSize=15,m.label.fontWeight=700,m.label.text="email",m.label.pointerEvents="none",E.addChild(m.label);var p=new Input;p.x=0,p.y=145,p.width=T,p.height=40,p.fontColor=theme.fontColor,p.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",p.fontSize=16,p.fontWeight=700,p.value="",p.backgroundColor="transparent",p.borderBottom="1px solid "+theme.bgColorDarkest,p.boxShadow="0 1px 0 0 #333",p.element.tabIndex=2,p.element.setAttribute("type","password"),E.addChild(p),p.label=new Sprite,p.label.x=0,p.label.y=p.value?p.y-15:p.y+5,p.label.fontColor=theme.fontColorLight,p.label.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",p.label.fontSize=15,p.label.fontWeight=700,p.label.text="password",p.label.pointerEvents="none",E.addChild(p.label);var L=new Button;L.x=0,L.y=220,L.width=T,L.height=45,L.fontColor=theme.fontColor,L.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",L.fontWeight=400,L.fontSize=13,L.text=SETTINGS_MODEL.adminLockout?"ADMIN LOCKED FOR MAINTENANCE":"LOGIN",L.textAlign="center",L.element.tabIndex=3,L.borderRadius=3,L.backgroundColor=SETTINGS_MODEL.adminLockout?"#ff295e":"#2FA0D8",L.fontColor=theme.bgColorLighter,L.boxShadow="0 2px 5px 0 rgba(0,0,0,0.16)",E.addChild(L),L.addEventListener(MOUSE_OVER,function(){Tween(this,.2,{backgroundColor:SETTINGS_MODEL.adminLockout?"#ff295e":"#4bb7ed",boxShadow:"0 10px 20px 0 rgba(0,0,0,0.6)",ease:"ease-out"})}),L.addEventListener(FOCUS,function(){Tween(this,.2,{backgroundColor:SETTINGS_MODEL.adminLockout?"#ff295e":"#4bb7ed",boxShadow:"0 10px 20px 0 rgba(0,0,0,0.6)",ease:"ease-out"})}),L.addEventListener(MOUSE_OUT,function(){Tween(this,.2,{backgroundColor:SETTINGS_MODEL.adminLockout?"#ff295e":"#2FA0D8",boxShadow:"0 2px 5px 0 rgba(0,0,0,0.16)",ease:"ease-out"})}),L.addEventListener(BLUR,function(){Tween(this,.2,{backgroundColor:SETTINGS_MODEL.adminLockout?"#ff295e":"#2FA0D8",boxShadow:"0 2px 5px 0 rgba(0,0,0,0.16)",ease:"ease-out"})}),m.addEventListener(FOCUS,t),m.addEventListener(BLUR,i),p.addEventListener(FOCUS,t),p.addEventListener(BLUR,i);var f=new Sprite({type:"button"});f.x=.5*T,f.y=270,f.width=.5*T,f.height=50,f.text="CANCEL",f.outline="none",f.border="none",f.fontWeight="bold",f.fontSize=theme.fontSize,f.fontColor=theme.fontColorLight,f.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",f.backgroundColor="transparent",f.element.tabIndex=4,E.addChild(f);var v=new Sprite({type:"button"});return v.x=0,v.y=270,v.width=.5*T,v.height=50,v.text="FORGOT?",v.outline="none",v.border="none",v.fontWeight="bold",v.fontSize=theme.fontSize,v.fontColor=theme.fontColorLight,v.fontFamily="RobotoDraft, Helvetica Neue, sans-serif",v.backgroundColor="transparent",v.element.tabIndex=5,E.addChild(v),f.addEventListener(MOUSE_OVER,a),f.addEventListener(MOUSE_OUT,r),v.addEventListener(MOUSE_OVER,a),v.addEventListener(MOUSE_OUT,r),f.addEventListener(FOCUS,n),f.addEventListener(BLUR,o),v.addEventListener(FOCUS,n),v.addEventListener(BLUR,o),f.addEventListener(CLICK,function(e){c(),u.close()}),L.addEventListener(CLICK,function(e){d()}),v.addEventListener(CLICK,function(e){new JSONXHR({url:"/dx/service/login/forget",params:{},callback:function(e){alert("Please check your email for password reset instructions.")}})}),u="MSIE"===BROWSER_NAME?alert("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:[e.parentView],alpha:.5,onOpen:l,onClose:s}):new Overlay(E,{userOverride:!1,blurLayers:[e.parentView],backgroundColor:"#000000",alpha:.8,onOpen:l,onClose:s}),u.open(),u.overlayResize(),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&m.focus(),u.loginResponse=function(e){"pass"===e.status?location.assign("/"):L.text="TRY AGAIN"},u.logoutResponse=function(e){e&&location.assign("/")},window.addEventListener("keydown",h,!1),setTimeout(function(){m.label.y=m.value||m.element.focus?m.y-15:m.y+5,p.label.y=m.value?p.y-15:p.y+5},100),u}window.isLogin=!1;var isAdmin=!1,ACCOUNT_MODEL=window.DX_MODEL.account,LAYOUT_MODEL=window.DX_MODEL.layout,MEDIA_MODEL=window.DX_MODEL.media,NAVBAR_MODEL=window.DX_MODEL.navbar,SECTIONS_MODEL=window.DX_MODEL.sections,SETTINGS_MODEL=window.DX_MODEL.settings,FILES_MODEL=window.DX_MODEL.files,REWRITE_BASE="/";!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(i){return t.resolve(e()).then(function(){return i})},function(i){return t.resolve(e()).then(function(){return t.reject(i)})})}function t(){}function i(e){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(e,this)}function n(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,i._immediateFn(function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var n;try{n=i(e._value)}catch(e){return void a(t.promise,e)}o(t.promise,n)}else(1===e._state?o:a)(t.promise,e._value)})):e._deferreds.push(t)}function o(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void r(e);if("function"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,r(e)}catch(t){a(e,t)}}function a(e,t){e._state=2,e._value=t,r(e)}function r(e){2===e._state&&0===e._deferreds.length&&i._immediateFn(function(){e._handled||i._unhandledRejectionFn(e._value)});for(var t=0,o=e._deferreds.length;o>t;t++)n(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var i=!1;try{e(function(e){i||(i=!0,o(t,e))},function(e){i||(i=!0,a(t,e))})}catch(e){if(i)return;i=!0,a(t,e)}}var s=setTimeout;i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,i){var o=new this.constructor(t);return n(this,new function(e,t,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=i}(e,i,o)),o},i.prototype.finally=e,i.all=function(e){return new i(function(t,i){function n(e,r){try{if(r&&("object"==typeof r||"function"==typeof r)){var l=r.then;if("function"==typeof l)return void l.call(r,function(t){n(e,t)},i)}o[e]=r,0==--a&&t(o)}catch(e){i(e)}}if(!e||"undefined"==typeof e.length)throw new TypeError("Promise.all accepts an array");var o=Array.prototype.slice.call(e);if(0===o.length)return t([]);for(var a=o.length,r=0;o.length>r;r++)n(r,o[r])})},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i(function(t){t(e)})},i.reject=function(e){return new i(function(t,i){i(e)})},i.race=function(e){return new i(function(t,i){for(var n=0,o=e.length;o>n;n++)e[n].then(t,i)})},i._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){s(e,0)},i._unhandledRejectionFn=function(e){void 0!==console&&console&&void 0};var d=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in d?d.Promise.prototype.finally||(d.Promise.prototype.finally=e):d.Promise=i}),window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),i=document.getElementsByTagName("script")[0],n=null;t.type="text/css",t.id="matchmediajs-test",i?i.parentNode.insertBefore(t,i):document.head.appendChild(t),n="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var i="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=i:t.textContent=i,"1px"===n.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,i=!1,n=0,o=[],a=function(t){clearTimeout(n),n=setTimeout(function(){for(var t=0,i=o.length;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)*(T*Math.cos(u*t)+E*Math.sin(u*t)):(T+E*t)*Math.exp(-t*c),0===e||1===e?e:1-t}var a=n(t),r=e(q.und(a[0])?1:a[0],.1,100),l=e(q.und(a[1])?100:a[1],.1,100),s=e(q.und(a[2])?10:a[2],.1,100),d=e(q.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,T=1,E=h<1?(h*c-d)/u:-d+c;return i?o:function(){var e=K.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 K.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(q.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;a<0&&(i+=1),i>1&&(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 m(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 p(e,t){return q.fnc(e)?e(t.target,t.id,t.total):e}function L(e,t){return e.getAttribute(t)}function f(e,t,i){if(h([i,"deg","rad","turn"],m(t)))return t;var n=K.CSS[t+i];if(!q.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 K.CSS[t+i]=l,l}function v(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?f(e,o,i):o}}function S(e,t){return q.dom(e)&&!q.inp(e)&&(L(e,t)||q.svg(e)&&e[t])?"attribute":q.dom(e)&&h(X,t)?"transform":q.dom(e)&&"transform"!==t&&v(e,t)?"css":null!=e[t]?"object":void 0}function O(e){if(q.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 C(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=O(e).get(i)||r;return n&&(n.transforms.list.set(i,l),n.transforms.last=i),o?f(e,l,o):l}function A(e,t,i,n){switch(S(e,t)){case"transform":return C(e,t,n,i);case"css":return v(e,t,i);case"attribute":return L(e,t);default:return e[t]||0}}function b(e,t){var i=/^(\*=|\+=|-=)/.exec(e);if(!i)return e;var n=m(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 y(e,t){if(q.col(e))return g(e);if(/\s/g.test(e))return e;var i=m(e),n=i?e.substr(0,e.length-i.length):e;return t?n+t:n}function M(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function w(e){for(var t,i=e.points,n=0,o=0;o0&&(n+=M(t,a)),t=a}return n}function _(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return a=e,2*Math.PI*L(a,"r");case"rect":return 2*L(o=e,"width")+2*L(o,"height");case"line":return M({x:L(n=e,"x1"),y:L(n,"y1")},{x:L(n,"x2"),y:L(n,"y2")});case"polyline":return w(e);case"polygon":return i=(t=e).points,w(t)+M(i.getItem(i.numberOfItems-1),i.getItem(0))}var t,i,n,o,a}function D(e,t){var i=t||{},n=i.el||function(e){for(var t=e.parentNode;q.svg(t)&&q.svg(t.parentNode);)t=t.parentNode;return t}(e),o=n.getBoundingClientRect(),a=L(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 U(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=D(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 x(e,t){var i=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=y(q.pth(e)?e.totalLength:e,t)+"";return{original:n,numbers:n.match(i)?n.match(i).map(Number):[0],strings:q.str(e)||t?n.split(i):[]}}function V(e){return s(e?d(q.arr(e)?e.map(c):c(e)):[],function(e,t,i){return i.indexOf(e)===t})}function I(e){var t=V(e);return t.map(function(e,i){return{target:e,id:i,total:t.length,transforms:{list:O(e)}}})}function P(e,t){var i=u(t);if(/^spring/.test(i.easing)&&(i.duration=o(i.easing)),q.arr(e)){var n=e.length;2!==n||q.obj(e[0])?q.fnc(t.duration)||(i.duration=t.duration/n):e={value:e}}var a=q.arr(e)?e:[e];return a.map(function(e,i){var n=q.obj(e)&&!q.pth(e)?e:{value:e};return q.und(n.delay)&&(n.delay=i?0:t.delay),q.und(n.endDelay)&&(n.endDelay=i===a.length-1?t.endDelay:0),n}).map(function(e){return E(e,i)})}function Y(e,t){var i=[],n=t.keyframes;for(var o in n&&(t=E(function(e){for(var t=s(d(e.map(function(e){return Object.keys(e)})),function(e){return q.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)q.key(i)?i==o&&(t.value=e[i]):t[i]=e[i];return t})},o=0;o2||(f=Math.round(f*E)/E)),g.push(f)}var O=T.length;if(O){p=T[0];for(var C=0;C0&&(M.began=!0,d("begin")),!M.loopBegan&&M.currentTime>0&&(M.loopBegan=!0,d("loopBegin")),u<=s&&0!==M.currentTime&&l(0),(u>=c&&M.currentTime!==a||!a)&&l(a),u>s&&u=a&&(C=0,M.remaining&&!0!==M.remaining&&M.remaining--,M.remaining?(O=A,d("loopComplete"),M.loopBegan=!1,"alternate"===M.direction&&n()):(M.paused=!0,M.completed||(M.completed=!0,d("loopComplete"),d("complete"),!M.passThrough&&"Promise"in window&&(y(),i(M)))))}void 0===t&&(t={});var h,u,g,m,p,L,f,v,S,O=0,C=0,A=0,b=0,y=null,M=(g=T(W,u=t),m=T(Z,u),p=Y(m,u),L=I(u.targets),f=z(L,p),v=k(f,m),S=ee,ee++,E(g,{id:S,children:[],animatables:L,animations:f,duration:v.duration,delay:v.delay,endDelay:v.endDelay}));return i(M),M.reset=function(){var e=M.direction;M.passThrough=!1,M.currentTime=0,M.progress=0,M.paused=!0,M.began=!1,M.loopBegan=!1,M.changeBegan=!1,M.completed=!1,M.changeCompleted=!1,M.reversePlayback=!1,M.reversed="reverse"===e,M.remaining=M.loop,h=M.children;for(var t=b=h.length;t--;)M.children[t].reset();(M.reversed&&!0!==M.loop||"alternate"===e&&1===M.loop)&&M.remaining++,l(M.reversed?M.duration:0)},M.set=function(e,t){return N(e,t),M},M.tick=function(e){A=e,O||(O=A),c((A+(C-O))*B.speed)},M.seek=function(e){c(o(e))},M.pause=function(){M.paused=!0,a()},M.play=function(){M.paused&&(M.completed&&M.reset(),M.paused=!1,te.push(M),a(),j||ne())},M.reverse=function(){n(),a()},M.restart=function(){M.reset(),M.play()},M.reset(),M.autoplay&&M.play(),M}function H(e,t){for(var i=t.length;i--;)h(e,t[i].animatable.target)&&t.splice(i,1)}var F,G,j,W={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Z={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},X=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],K={CSS:{},springs:{}},q={arr:function(e){return Array.isArray(e)},obj:function(e){return t(Object.prototype.toString.call(e),"Object")},pth:function(e){return q.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||q.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 q.hex(e)||q.rgb(e)||q.hsl(e)},key:function(e){return!W.hasOwnProperty(e)&&!Z.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<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(t,i){void 0===t&&(t=1),void 0===i&&(i=.5);var n=e(t,1,10),o=e(i,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/o)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach(function(e,t){G[e]=function(){return function(e){return Math.pow(e,t+2)}}}),Object.keys(G).forEach(function(e){var t=G[e];F["easeIn"+e]=t,F["easeOut"+e]=function(e,i){return function(n){return 1-t(e,i)(1-n)}},F["easeInOut"+e]=function(e,i){return function(n){return n<.5?t(e,i)(2*n)/2:1-t(e,i)(-2*n+2)/2}}}),F),$={css:function(e,t,i){return e.style[t]=i},attribute:function(e,t,i){return e.setAttribute(t,i)},object:function(e,t,i){return e[t]=i},transform:function(e,t,i,n,o){if(n.list.set(t,i),t===n.last||o){var a="";n.list.forEach(function(e,t){a+=t+"("+e+") "}),e.style.transform=a}}},ee=0,te=[],ie=[],ne=function(){function e(){j=requestAnimationFrame(t)}function t(t){var i=te.length;if(i){for(var n=0;n-1&&(te.splice(a,1),i=te.length)}else o.tick(t);n++}e()}else j=cancelAnimationFrame(j)}return e}();return"undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){document.hidden?(te.forEach(function(e){return e.pause()}),ie=te.slice(0),B.running=te=[]):ie.forEach(function(e){return e.play()})}),B.version="3.1.0",B.speed=1,B.running=te,B.remove=function(e){for(var t=V(e),i=te.length;i--;){var n=te[i],o=n.animations,a=n.children;H(t,o);for(var r=a.length;r--;){var l=a[r],s=l.animations;H(t,s),s.length||l.children.length||a.splice(r,1)}o.length||a.length||n.pause()}},B.get=A,B.set=N,B.convertPx=f,B.path=function(e,t){var i=q.str(e)?l(e)[0]:e,n=t||100;return function(e){return{property:e,el:i,svg:D(i),totalLength:_(i)*(n/100)}}},B.setDashoffset=function(e){var t=_(e);return e.setAttribute("stroke-dasharray",t),t},B.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=q.arr(e),u=h?parseFloat(e[0]):parseFloat(e),T=h?parseFloat(e[1]):0,E=m(h?e[1]:e)||0,g=t.start||0+(h?u:0),p=[],L=0;return function(e,t,r){if(s&&(l=0),d&&(l=(r-1)/2),c&&(l=r-1),!p.length){for(var m=0;m<0?-1*e:-e:Math.abs(L-e)}))}return g+(h?(T-u)/L:u)*(Math.round(100*p[t])/100)+E}},B.timeline=function(e){void 0===e&&(e={});var t=B(e);return t.duration=0,t.add=function(i,n){function o(e){e.passThrough=!0}var a=te.indexOf(t),r=t.children;a>-1&&te.splice(a,1);for(var l=0;l<=e;)e/=2,t/=2,n>>>=1;return(e+n)/t};return m.int32=function(){return 0|E.g(4)},m.quick=function(){return E.g(4)/4294967296},m.double=m,q(s(E.S),a),(t.pass||r||function(e,t,i,n){return n&&(n.S&&o(n,E),e.state=function(){return o(E,{})}),i?(b[g]=e,t):e})(m,T,"global"in t?t.global:this==b,t.state)}function n(e){var t,i=e.length,n=this,o=0,a=n.i=n.j=0,r=n.S=[];for(i||(e=[i++]);od;d++)s.push(d);for(var d=0;a>d;d++){var c=n(r,0,s.length-1),h=s[c];s.splice(c,1),l.push(e[h])}return l},e.unshuffle=function(e,o){if(!t(e))return null;o=i(o)||"none";for(var a=e.length,r=seedrandom(o),l=[],s=[],d=0;a>d;d++)l.push(null),s.push(d);for(var d=0;a>d;d++){var c=n(r,0,s.length-1),h=s[c];s.splice(c,1),l[h]=e[d]}return l},"undefined"!=typeof exports?module.exports=e:this.shuffleSeed=e}.call(window);var HTTP_USER_AGENT=navigator.userAgent,USER_AGENT="html",TABLET="pad",MOBILE="pod",HOME="home",LANDING_MEDIA="landingMedia",IMAGE="image",VIDEO="video",HTML="html",SWF="swf",LINK="link",PDF="pdf",CONTACT="contactForm",NORMAL="normal",ERROR="error",LOAD="load",RESIZE="resize",RESIZE_END="resizeEnd",PANEL_RESIZE="panelResize",PANEL_RESIZE_END="panelResizeEnd",FOCUS="focus",BLUR="blur",TOUCH_START="touchstart",TOUCH_MOVE="touchmove",TOUCH_END="touchend",TOUCH_CANCEL="touchcancel",MOUSE_OVER="mouseover",MOUSE_DOWN="mousedown",MOUSE_MOVE="mousemove",MOUSE_UP="mouseup",MOUSE_OUT="mouseout",MOUSE_WHEEL="mousewheel",WHEEL="wheel",KEY_DOWN="keydown",KEY_UP="keyup",LEFT_ARROW="leftArrow",UP_ARROW="upArrow",RIGHT_ARROW="rightArrow",DOWN_ARROW="downArrow",ESCAPE="escape",SPACE_BAR="spaceBar",ENTER="enter",DELETE="delete",CLICK="click",DOUBLE_CLICK="dblclick",SHIFT="shift",COMMAND="command",CONTROL="control",CHANGE="change",SELECT_ACCORDION_ITEM="selectAccordionItem",ACCORDION_SELECT="accordionSelect",ACCORDION_SIZE_CHANGE="accordionSizeChange",ADDRESS_CHANGE="addressChange",ADDRESS_URI_CHANGE="addressUriChange",SITE_URI_CHANGE="siteUriChange",NAVIGATION_EVENT="navigationEvent",ADMIN_LOADED="adminLoaded",MODEL_CHANGE="modelChange",ACCOUNT_MODEL_CHANGE="accountModelChange",FONTS_MODEL_CHANGE="fontsModelChange",FILES_MODEL_CHANGE="filesModelChange",LAYOUT_MODEL_CHANGE="layoutModelChange",MEDIA_MODEL_CHANGE="mediaModelChange",NAVBAR_MODEL_CHANGE="navbarModelChange",PDF_MODEL_CHANGE="pdfModelChange",SETTINGS_MODEL_CHANGE="settingsModelChange",SECTIONS_MODEL_CHANGE="sectionsModelChange",MENU_CLICK="menuClick",NAVBAR_TOOLBAR_CLICK="navbarToolbarClick",NAVBAR_FULLSCREEN="navbarFullscreen",THUMB_CLICK="thumbClick",TOGGLE_PLAY_MEDIA="togglePlayMedia",PAUSED="paused",PLAY="play",PAUSE_MEDIA="pauseMedia",DESTROY_MEDIA="destroyMedia",FOOTER_CLICK="footerClick",LOGO_CLICK="logoClick",LOGO_LOADED="logoLoaded",SCROLL="scroll",LANDING_INIT="landingInit",OVERLAY_CHANGE="overlayChange",POP_UP="popUp",FULLSCREEN_TOGGLE="fullscreenToggle",FULLSCREEN_TOGGLE_ELEMENT="fullscreenToggleElement",ORIENTATION=!1,ORIENTATION_CHANGE="orientationchange",GESTURE_START="gesturestart",GESTURE_CHANGE="gesturechange",GESTURE_END="gestureend",RETINA=window.retina||window.devicePixelRatio>1,TOUCH_DEVICE=!!("ontouchstart"in window||window.navigator.maxTouchPoints),MEDIA_ORIGINAL="media/original/",CDN_PF_SSL_URI="https://33acda504924667afc4c-95ab99cbba1f87315d458f4e201677b2.ssl.cf1.rackcdn.com",ICONS=CDN_PF_SSL_URI+"/icon/",CF_STORAGE_LIMIT=17*Math.pow(1024,3),S3_FREE_LIMIT=1*Math.pow(1024,3),S3_UPGRADE_LIMIT=100*Math.pow(1024,3),TRANSITION_START="transitionStart",TRANSITION_END="transitionEnd",METADATA_LOADED="loadedmetadata",VIMEO_METADATA_LOADED="vimeoMetadataLoaded",MEDIA_LOADED="mediaLoaded",UPDATE_SPEED=.5,CHILD_ADDED="childAdded",DROP="drop",DRAG_ENTER="dragenter",DRAG_LEAVE="dragleave",DRAG_OVER="dragover",DRAG_START="dragStart",DRAG_MOVE="dragMove",DRAG_STOP="dragStop",DRAG_CANCEL="dragCancel",REORDER_START="reorderStart",REORDER_MOVE="reorderMove",REORDER_STOP="reorderStop",ELEMENT_EVENTS=[TOUCH_START,TOUCH_MOVE,TOUCH_END,TOUCH_CANCEL,KEY_DOWN,KEY_UP,MOUSE_OVER,MOUSE_DOWN,MOUSE_MOVE,MOUSE_UP,MOUSE_OUT,CLICK,DOUBLE_CLICK,LOAD,ERROR,FOCUS,BLUR,DRAG_ENTER,DRAG_OVER,DRAG_LEAVE,DROP],THUMB_SIZES={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}},CONTACT_FORM_SUBMIT="contactFormSubmit",SITE_SERVICE_CONTACT_FORM_SUBMIT="siteServiceContactFormSubmit",CONTACT_FORM_SENT="contactFormSent",LAYOUT_FILE_CHANGE="layoutFileChange",SETTINGS_FILE_CHANGE="settingsFileChange",PDF_FILE_CHANGE="pdfFileChange",SHARE_FORM_SUBMIT="shareFormSubmit",SITE_SERVICE_SHARE_FORM_SUBMIT="siteServiceShareFormSubmit",SHARE_FORM_SENT="shareFormSent",INQUIRY_FORM_SUBMIT="inquiryFormSubmit",SITE_SERVICE_INQUIRY_FORM_SUBMIT="siteServiceInquiryFormSubmit",INQUIRY_FORM_SENT="inquiryFormSent",TOUCH_NAVIGATION_START="touchNavigationStart",TOUCH_NAVIGATION_MOVE="touchNavigationMove",TOUCH_NAVIGATION_END="touchNavigationEnd",MENU_DOCK_OPEN="menuDockOpen",MENU_DOCK_CLOSE="menuDockClose",INTRO_COMPLETE="introComplete",MENU_BUILT="menuBuilt",MENU_SIZE_CHANGE="menuSizeChange",ADDRESS_SECTION_CHANGE="addressSectionChange",ADDRESS_OVERLAY_CHANGE="addressOverlayChange",ADDRESS_ASSET_CHANGE="addressAssetChange",NAVBAR_NAV_CLICK="navbarNavClick",NAVBAR_OVERLAY_BTN_CLICK="navbaOverlayBtnClick",ADMIN_MOUSE_DOWN="adminMouseDown",ADMIN_MOUSE_UP="adminMouseUp",SITE_SERVICE_GET_FILE="siteServiceGetFile",PAGE_LOADED="pageLoaded",MAC_SCROLLBARS="macScrollbars",EASE={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)"}},JSONP=function(e){var t=document.createElement("script"),i=document.getElementsByTagName("head")[0];t.setAttribute("src",e.url+"?"+e.params+"&callback="+e.callback),t.setAttribute("id","jsonp");var n=document.getElementById("jsonp");n?i.replaceChild(t,n):i.appendChild(t)},Mth={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 gbToBytes=toBytes(3),mbToBytes=toBytes(2),OS=function(){var e=HTTP_USER_AGENT.toLowerCase();return/windows/.test(e)?"Windows":/macintosh/.test(e)?"Macintosh":/linux/.test(e)?"Linux":"Other"}(),BROWSER_NAME=function(){var e=HTTP_USER_AGENT.toLowerCase();return/mobile/.test(e)?"Mobile "+getVendorName(e):getVendorName(e)}(),BROWSER_VERSION=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]))}();USER_AGENT=function(){return window.isStaging?isPad()&&SETTINGS_MODEL.hasOwnProperty("stagingPadUseDesktop")?SETTINGS_MODEL.stagingPadUseDesktop?HTML:TABLET:isPod()&&SETTINGS_MODEL.hasOwnProperty("stagingPodUseDesktop")?SETTINGS_MODEL.stagingPodUseDesktop?HTML:MOBILE:HTML:isPad()&&!SETTINGS_MODEL.padUseDesktop?TABLET:isPod()&&!SETTINGS_MODEL.podUseDesktop?MOBILE:HTML}(),setViewport();var keyCode={8:DELETE,13:ENTER,27:ESCAPE,32:SPACE_BAR,37:LEFT_ARROW,38:UP_ARROW,39:RIGHT_ARROW,40:DOWN_ARROW,16:SHIFT,91:COMMAND,93:COMMAND,224:COMMAND,17:CONTROL,65:"a",72:"h",77:"m"},keyName={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},emailIcon={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"},plus1Icon={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"},socialIcons={"[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]":emailIcon,"[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,10 C20,14.5701102 16.9356514,18.4228412 12.75,19.6172098 L12.75,12.5 L15.25,12.5 L15.875,9.375 L12.75,9.375 L12.75,8.125 C12.75,6.875 13.37625,6.25 14.625,6.25 L15.875,6.25 L15.875,3.125 L13.375,3.125 C11.078125,3.125 9.625,4.925625 9.625,7.5 L9.625,9.375 L7.125,9.375 L7.125,12.5 L9.625,12.5 L9.625,19.9931017 Z"},"[flickr]":{filename:"flickr@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M5.731,13.154 C3.87,13.154 2.361,11.647 2.361,9.785 C2.361,7.923 3.87,6.416 5.731,6.416 C7.593,6.416 9.101,7.923 9.101,9.785 C9.1,11.647 7.593,13.154 5.731,13.154 z M14.187,13.154 C12.325,13.154 10.817,11.647 10.817,9.785 C10.817,7.923 12.325,6.416 14.187,6.416 C16.047,6.416 17.556,7.923 17.556,9.785 C17.556,11.647 16.047,13.154 14.187,13.154 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.73130435,13.153913 C3.87,13.153913 2.36130435,11.6465217 2.36130435,9.78521739 C2.36130435,7.92304348 3.87,6.41565217 5.73130435,6.41565217 C7.5926087,6.41565217 9.10086957,7.92304348 9.10086957,9.78521739 C9.10043478,11.6465217 7.5926087,13.153913 5.73130435,13.153913 Z M14.1865217,13.153913 C12.3252174,13.153913 10.8169565,11.6465217 10.8169565,9.78521739 C10.8169565,7.92304348 12.3252174,6.41565217 14.1865217,6.41565217 C16.0469565,6.41565217 17.556087,7.92304348 17.556087,9.78521739 C17.556087,11.6465217 16.0469565,13.153913 14.1865217,13.153913 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.73130435,13.153913 C3.87,13.153913 2.36130435,11.6465217 2.36130435,9.78521739 C2.36130435,7.92304348 3.87,6.41565217 5.73130435,6.41565217 C7.5926087,6.41565217 9.10086957,7.92304348 9.10086957,9.78521739 C9.10043478,11.6465217 7.5926087,13.153913 5.73130435,13.153913 Z M14.1865217,13.153913 C12.3252174,13.153913 10.8169565,11.6465217 10.8169565,9.78521739 C10.8169565,7.92304348 12.3252174,6.41565217 14.1865217,6.41565217 C16.0469565,6.41565217 17.556087,7.92304348 17.556087,9.78521739 C17.556087,11.6465217 16.0469565,13.153913 14.1865217,13.153913 Z"},"[google plus]":plus1Icon,"[houzz]":{filename:"houzz@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.016,6.937 L10.016,6.824 L14.516,4 L14.516,9.717 L10.016,6.937 z M10.016,13.21 L10.016,19 L14.516,16.176 L14.516,10.345 L10.016,13.21 z M9.5,13.063 L9.5,13.176 L5,16 L5,10.283 L9.5,13.063 z M9.5,6.79 L9.5,1 L5,3.824 L5,9.655 L9.5,6.79 L9.5,6.79 z M5.5,9.963 L9.516,12.462 L9.479,7.464 L5.5,9.963 z M14.016,10.037 L10,7.538 L10.038,12.536 L14.016,10.037 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.0161105,6.9372511 L10.0161105,6.82434949 L14.5161105,4 L14.5161105,9.71724392 L10.0161105,6.9372511 Z M10.0161105,13.2103483 L10.0161105,19 L14.5161105,16.1756505 L14.5161105,10.3445536 L10.0161105,13.2103483 Z M9.5,13.0627489 L9.5,13.1756505 L5,16 L5,10.2827561 L9.5,13.0627489 Z M9.5,6.78965167 L9.5,1 L5,3.82434949 L5,9.65544636 L9.5,6.78965167 L9.5,6.78965167 Z M5.5,9.96340065 L9.51611053,12.4619386 L9.47856618,7.46421069 L5.5,9.96340065 Z M14.0161105,10.0365994 L10,7.53806139 L10.0375444,12.5357893 L14.0161105,10.0365994 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.0161105,6.9372511 L10.0161105,6.82434949 L14.5161105,4 L14.5161105,9.71724392 L10.0161105,6.9372511 Z M10.0161105,13.2103483 L10.0161105,19 L14.5161105,16.1756505 L14.5161105,10.3445536 L10.0161105,13.2103483 Z M9.5,13.0627489 L9.5,13.1756505 L5,16 L5,10.2827561 L9.5,13.0627489 Z M9.5,6.78965167 L9.5,1 L5,3.82434949 L5,9.65544636 L9.5,6.78965167 L9.5,6.78965167 Z M5.5,9.96340065 L9.51611053,12.4619386 L9.47856618,7.46421069 L5.5,9.96340065 Z M14.0161105,10.0365994 L10,7.53806139 L10.0375444,12.5357893 L14.0161105,10.0365994 Z"},"[imdb]":{filename:"imdb@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M3.608,6.714 L3.608,13.182 L1.926,13.182 L1.926,6.714 L3.608,6.714 z M9.473,6.714 L9.473,13.182 L8.003,13.182 L8.003,8.815 L7.416,13.182 L6.373,13.182 L5.754,8.915 L5.754,13.182 L4.284,13.182 L4.284,6.714 L6.461,6.714 C6.525,7.103 6.593,7.561 6.665,8.088 L6.896,9.734 L7.28,6.714 L9.473,6.714 z M10.148,6.714 L11.407,6.714 C12.219,6.714 12.768,6.751 13.055,6.826 C13.341,6.9 13.559,7.023 13.708,7.193 C13.857,7.364 13.95,7.553 13.987,7.763 C14.025,7.972 14.043,8.382 14.043,8.995 L14.043,11.26 C14.043,11.841 14.016,12.229 13.962,12.425 C13.907,12.621 13.812,12.774 13.676,12.884 C13.54,12.995 13.372,13.072 13.172,13.116 C12.973,13.16 12.672,13.182 12.27,13.182 L10.148,13.182 L10.148,6.714 z M16.237,6.714 L16.237,8.244 C16.37,8.089 16.518,7.974 16.682,7.898 C16.846,7.822 17.024,7.785 17.215,7.785 C17.437,7.785 17.628,7.819 17.791,7.888 C17.953,7.958 18.077,8.055 18.162,8.18 C18.248,8.305 18.299,8.428 18.316,8.548 C18.333,8.667 18.342,8.923 18.342,9.315 L18.342,11.704 C18.342,12.093 18.316,12.382 18.264,12.573 C18.212,12.763 18.09,12.928 17.899,13.068 C17.707,13.208 17.479,13.278 17.215,13.278 C17.026,13.278 16.85,13.236 16.686,13.154 C16.522,13.071 16.373,12.947 16.237,12.782 L16.133,13.182 L14.623,13.182 L14.623,6.714 L16.237,6.714 z M11.83,7.82 L11.83,12.075 C12.073,12.075 12.222,12.027 12.278,11.929 C12.334,11.832 12.362,11.568 12.362,11.136 L12.362,8.623 C12.362,8.331 12.352,8.143 12.334,8.06 C12.315,7.978 12.272,7.917 12.206,7.878 C12.139,7.84 12.014,7.82 11.83,7.82 z M16.728,9.387 C16.728,9.112 16.711,8.933 16.676,8.849 C16.642,8.765 16.574,8.723 16.472,8.723 C16.374,8.723 16.31,8.76 16.281,8.833 C16.251,8.906 16.237,9.091 16.237,9.387 L16.237,11.672 C16.237,11.957 16.253,12.139 16.287,12.219 C16.32,12.299 16.386,12.339 16.484,12.339 C16.586,12.339 16.652,12.298 16.682,12.215 C16.713,12.132 16.728,11.934 16.728,11.62 L16.728,9.387 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 M3.60839844,6.71386719 L3.60839844,13.1818182 L1.92649148,13.1818182 L1.92649148,6.71386719 L3.60839844,6.71386719 Z M9.47310014,6.71386719 L9.47310014,13.1818182 L8.00292969,13.1818182 L8.00292969,8.81525213 L7.41566051,13.1818182 L6.3729581,13.1818182 L5.75372869,8.91512784 L5.75372869,13.1818182 L4.28355824,13.1818182 L4.28355824,6.71386719 L6.46084872,6.71386719 C6.5247695,7.10271856 6.5926843,7.56081057 6.66459517,8.08815696 L6.89630682,9.73410866 L7.27982955,6.71386719 L9.47310014,6.71386719 Z M10.1482599,6.71386719 L11.4066939,6.71386719 C12.2190204,6.71386719 12.7683313,6.75115375 13.0546431,6.82572798 C13.3409549,6.90030222 13.5586818,7.0228152 13.7078303,7.1932706 C13.8569787,7.36372599 13.9501951,7.55348795 13.9874822,7.76256214 C14.0247694,7.97163634 14.0434126,8.38245432 14.0434126,8.99502841 L14.0434126,11.2602095 C14.0434126,11.8408232 14.0161136,12.2290029 13.9615146,12.4247603 C13.9069156,12.6205177 13.8117017,12.7736589 13.67587,12.8841886 C13.5400384,12.9947182 13.3722489,13.0719547 13.1724964,13.1159002 C12.972744,13.1598457 12.6717882,13.1818182 12.26962,13.1818182 L10.1482599,13.1818182 L10.1482599,6.71386719 Z M16.2366832,6.71386719 L16.2366832,8.24396307 C16.3698515,8.08948786 16.5183319,7.97429903 16.6821289,7.89839311 C16.8459259,7.82248719 17.0237029,7.7845348 17.2154652,7.7845348 C17.4365245,7.7845348 17.628284,7.81915803 17.7907493,7.88840554 C17.9532146,7.95765305 18.0770592,8.05486443 18.1622869,8.18004261 C18.2475146,8.3052208 18.2987836,8.42773378 18.3160955,8.54758523 C18.3334074,8.66743668 18.3420632,8.92311594 18.3420632,9.31463068 L18.3420632,11.7036577 C18.3420632,12.092509 18.3160958,12.3821457 18.2641602,12.5725763 C18.2122245,12.763007 18.0903774,12.9281332 17.8986151,13.0679599 C17.7068527,13.2077866 17.4791384,13.2776989 17.2154652,13.2776989 C17.0263662,13.2776989 16.8499209,13.2364173 16.6861239,13.153853 C16.522327,13.0712886 16.3725149,12.947444 16.2366832,12.7823153 L16.1328125,13.1818182 L14.6226918,13.1818182 L14.6226918,6.71386719 L16.2366832,6.71386719 Z M11.8301669,7.82049006 L11.8301669,12.0751953 C12.0725332,12.0751953 12.2216794,12.0265896 12.2776101,11.9293768 C12.3335408,11.8321639 12.3615057,11.5678289 12.3615057,11.1363636 L12.3615057,8.62349077 C12.3615057,8.33052055 12.352184,8.14275609 12.3335405,8.06019176 C12.3148969,7.97762743 12.2722837,7.91703677 12.2056996,7.87841797 C12.1391154,7.83979917 12.0139391,7.82049006 11.8301669,7.82049006 Z M16.7280717,9.38654119 C16.7280717,9.11221454 16.7107601,8.93310589 16.6761364,8.84920987 C16.6415126,8.76531386 16.5735978,8.72336648 16.4723899,8.72336648 C16.3738454,8.72336648 16.3099256,8.7599872 16.2806286,8.83322976 C16.2513315,8.90647231 16.2366832,9.09090761 16.2366832,9.38654119 L16.2366832,11.6716974 C16.2366832,11.9566776 16.253329,12.1391154 16.2866211,12.2190163 C16.3199132,12.2989173 16.3858305,12.3388672 16.484375,12.3388672 C16.5855829,12.3388672 16.6515002,12.2975856 16.6821289,12.2150213 C16.7127576,12.132457 16.7280717,11.9340392 16.7280717,11.6197621 L16.7280717,9.38654119 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 M3.60839844,6.71386719 L3.60839844,13.1818182 L1.92649148,13.1818182 L1.92649148,6.71386719 L3.60839844,6.71386719 Z M9.47310014,6.71386719 L9.47310014,13.1818182 L8.00292969,13.1818182 L8.00292969,8.81525213 L7.41566051,13.1818182 L6.3729581,13.1818182 L5.75372869,8.91512784 L5.75372869,13.1818182 L4.28355824,13.1818182 L4.28355824,6.71386719 L6.46084872,6.71386719 C6.5247695,7.10271856 6.5926843,7.56081057 6.66459517,8.08815696 L6.89630682,9.73410866 L7.27982955,6.71386719 L9.47310014,6.71386719 Z M10.1482599,6.71386719 L11.4066939,6.71386719 C12.2190204,6.71386719 12.7683313,6.75115375 13.0546431,6.82572798 C13.3409549,6.90030222 13.5586818,7.0228152 13.7078303,7.1932706 C13.8569787,7.36372599 13.9501951,7.55348795 13.9874822,7.76256214 C14.0247694,7.97163634 14.0434126,8.38245432 14.0434126,8.99502841 L14.0434126,11.2602095 C14.0434126,11.8408232 14.0161136,12.2290029 13.9615146,12.4247603 C13.9069156,12.6205177 13.8117017,12.7736589 13.67587,12.8841886 C13.5400384,12.9947182 13.3722489,13.0719547 13.1724964,13.1159002 C12.972744,13.1598457 12.6717882,13.1818182 12.26962,13.1818182 L10.1482599,13.1818182 L10.1482599,6.71386719 Z M16.2366832,6.71386719 L16.2366832,8.24396307 C16.3698515,8.08948786 16.5183319,7.97429903 16.6821289,7.89839311 C16.8459259,7.82248719 17.0237029,7.7845348 17.2154652,7.7845348 C17.4365245,7.7845348 17.628284,7.81915803 17.7907493,7.88840554 C17.9532146,7.95765305 18.0770592,8.05486443 18.1622869,8.18004261 C18.2475146,8.3052208 18.2987836,8.42773378 18.3160955,8.54758523 C18.3334074,8.66743668 18.3420632,8.92311594 18.3420632,9.31463068 L18.3420632,11.7036577 C18.3420632,12.092509 18.3160958,12.3821457 18.2641602,12.5725763 C18.2122245,12.763007 18.0903774,12.9281332 17.8986151,13.0679599 C17.7068527,13.2077866 17.4791384,13.2776989 17.2154652,13.2776989 C17.0263662,13.2776989 16.8499209,13.2364173 16.6861239,13.153853 C16.522327,13.0712886 16.3725149,12.947444 16.2366832,12.7823153 L16.1328125,13.1818182 L14.6226918,13.1818182 L14.6226918,6.71386719 L16.2366832,6.71386719 Z M11.8301669,7.82049006 L11.8301669,12.0751953 C12.0725332,12.0751953 12.2216794,12.0265896 12.2776101,11.9293768 C12.3335408,11.8321639 12.3615057,11.5678289 12.3615057,11.1363636 L12.3615057,8.62349077 C12.3615057,8.33052055 12.352184,8.14275609 12.3335405,8.06019176 C12.3148969,7.97762743 12.2722837,7.91703677 12.2056996,7.87841797 C12.1391154,7.83979917 12.0139391,7.82049006 11.8301669,7.82049006 Z M16.7280717,9.38654119 C16.7280717,9.11221454 16.7107601,8.93310589 16.6761364,8.84920987 C16.6415126,8.76531386 16.5735978,8.72336648 16.4723899,8.72336648 C16.3738454,8.72336648 16.3099256,8.7599872 16.2806286,8.83322976 C16.2513315,8.90647231 16.2366832,9.09090761 16.2366832,9.38654119 L16.2366832,11.6716974 C16.2366832,11.9566776 16.253329,12.1391154 16.2866211,12.2190163 C16.3199132,12.2989173 16.3858305,12.3388672 16.484375,12.3388672 C16.5855829,12.3388672 16.6515002,12.2975856 16.6821289,12.2150213 C16.7127576,12.132457 16.7280717,11.9340392 16.7280717,11.6197621 L16.7280717,9.38654119 Z"},"[instagram]":{filename:"instagram_new@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,0.753 C7.489,0.753 7.174,0.764 6.187,0.808 C5.203,0.854 4.532,1.01 3.943,1.239 C3.335,1.474 2.819,1.791 2.305,2.305 C1.791,2.819 1.474,3.335 1.239,3.943 C1.01,4.532 0.854,5.203 0.808,6.187 C0.764,7.174 0.753,7.489 0.753,10 C0.753,12.511 0.764,12.826 0.808,13.813 C0.854,14.797 1.01,15.468 1.239,16.057 C1.474,16.665 1.791,17.181 2.305,17.695 C2.819,18.209 3.335,18.526 3.943,18.761 C4.532,18.99 5.203,19.146 6.187,19.192 C7.174,19.236 7.489,19.247 10,19.247 C12.511,19.247 12.826,19.236 13.813,19.192 C14.797,19.146 15.468,18.99 16.057,18.761 C16.665,18.526 17.181,18.209 17.695,17.695 C18.209,17.181 18.526,16.665 18.761,16.057 C18.99,15.468 19.146,14.797 19.192,13.813 C19.236,12.826 19.247,12.511 19.247,10 C19.247,7.489 19.236,7.174 19.192,6.187 C19.146,5.203 18.99,4.532 18.761,3.943 C18.526,3.335 18.209,2.819 17.695,2.305 C17.181,1.791 16.665,1.474 16.057,1.239 C15.468,1.01 14.797,0.854 13.813,0.808 C12.826,0.764 12.511,0.753 10,0.753 z M10,2.419 C12.469,2.419 12.761,2.429 13.737,2.473 C14.638,2.514 15.128,2.665 15.454,2.792 C15.885,2.959 16.194,3.16 16.516,3.484 C16.84,3.806 17.041,4.115 17.208,4.546 C17.335,4.872 17.486,5.362 17.527,6.263 C17.571,7.239 17.581,7.531 17.58,10 C17.581,12.469 17.571,12.761 17.527,13.737 C17.486,14.638 17.335,15.128 17.208,15.454 C17.041,15.885 16.84,16.194 16.516,16.516 C16.194,16.84 15.885,17.041 15.454,17.208 C15.128,17.335 14.638,17.486 13.737,17.527 C12.762,17.571 12.469,17.581 10,17.58 C7.531,17.581 7.238,17.571 6.263,17.527 C5.362,17.486 4.872,17.335 4.546,17.208 C4.115,17.041 3.806,16.84 3.484,16.516 C3.16,16.194 2.959,15.885 2.792,15.454 C2.665,15.128 2.514,14.638 2.473,13.737 C2.429,12.761 2.419,12.469 2.419,10 C2.419,7.531 2.429,7.239 2.473,6.263 C2.514,5.362 2.665,4.872 2.792,4.546 C2.959,4.115 3.16,3.806 3.484,3.484 C3.806,3.16 4.115,2.959 4.546,2.792 C4.872,2.665 5.362,2.514 6.263,2.473 C7.239,2.429 7.531,2.419 10,2.419 z M10,5.251 C7.378,5.251 5.251,7.378 5.251,10 C5.251,12.622 7.378,14.749 10,14.749 C12.622,14.749 14.749,12.622 14.749,10 C14.749,7.378 12.622,5.251 10,5.251 z M10,6.918 C11.702,6.918 13.082,8.298 13.082,10 C13.082,11.702 11.702,13.082 10,13.082 C8.298,13.082 6.918,11.702 6.918,10 C6.918,8.298 8.298,6.918 10,6.918 z M14.936,3.954 C14.323,3.954 13.827,4.451 13.827,5.064 C13.827,5.677 14.323,6.173 14.936,6.173 C15.549,6.173 16.046,5.677 16.046,5.064 C16.046,4.451 15.549,3.954 14.936,3.954 z",svgRectPath:"M18.009,-0 C19.102,-0 20,0.891 20,1.991 L20,18.009 C20,19.102 19.109,20 18.009,20 L1.991,20 C0.898,20 -0,19.109 -0,18.009 L-0,1.991 C-0,0.898 0.891,-0 1.991,-0 L18.009,-0 z M10,0.753 C7.489,0.753 7.174,0.764 6.187,0.808 C5.203,0.854 4.532,1.01 3.943,1.239 C3.335,1.474 2.819,1.791 2.305,2.305 C1.791,2.819 1.474,3.335 1.239,3.943 C1.01,4.532 0.854,5.203 0.808,6.187 C0.764,7.174 0.753,7.489 0.753,10 C0.753,12.511 0.764,12.826 0.808,13.813 C0.854,14.797 1.01,15.468 1.239,16.057 C1.474,16.665 1.791,17.181 2.305,17.695 C2.819,18.209 3.335,18.526 3.943,18.761 C4.532,18.99 5.203,19.146 6.187,19.192 C7.174,19.236 7.489,19.247 10,19.247 C12.511,19.247 12.826,19.236 13.813,19.192 C14.797,19.146 15.468,18.99 16.057,18.761 C16.665,18.526 17.181,18.209 17.695,17.695 C18.209,17.181 18.526,16.665 18.761,16.057 C18.99,15.468 19.146,14.797 19.192,13.813 C19.236,12.826 19.247,12.511 19.247,10 C19.247,7.489 19.236,7.174 19.192,6.187 C19.146,5.203 18.99,4.532 18.761,3.943 C18.526,3.335 18.209,2.819 17.695,2.305 C17.181,1.791 16.665,1.474 16.057,1.239 C15.468,1.01 14.797,0.854 13.813,0.808 C12.826,0.764 12.511,0.753 10,0.753 z M10,2.419 C12.469,2.419 12.761,2.429 13.737,2.473 C14.638,2.514 15.128,2.665 15.454,2.792 C15.885,2.959 16.194,3.16 16.516,3.484 C16.84,3.806 17.041,4.115 17.208,4.546 C17.335,4.872 17.486,5.362 17.527,6.263 C17.571,7.239 17.581,7.531 17.58,10 C17.581,12.469 17.571,12.761 17.527,13.737 C17.486,14.638 17.335,15.128 17.208,15.454 C17.041,15.885 16.84,16.194 16.516,16.516 C16.194,16.84 15.885,17.041 15.454,17.208 C15.128,17.335 14.638,17.486 13.737,17.527 C12.762,17.571 12.469,17.581 10,17.58 C7.531,17.581 7.238,17.571 6.263,17.527 C5.362,17.486 4.872,17.335 4.546,17.208 C4.115,17.041 3.806,16.84 3.484,16.516 C3.16,16.194 2.959,15.885 2.792,15.454 C2.665,15.128 2.514,14.638 2.473,13.737 C2.429,12.761 2.419,12.469 2.419,10 C2.419,7.531 2.429,7.239 2.473,6.263 C2.514,5.362 2.665,4.872 2.792,4.546 C2.959,4.115 3.16,3.806 3.484,3.484 C3.806,3.16 4.115,2.959 4.546,2.792 C4.872,2.665 5.362,2.514 6.263,2.473 C7.239,2.429 7.531,2.419 10,2.419 z M10,5.251 C7.378,5.251 5.251,7.378 5.251,10 C5.251,12.622 7.378,14.749 10,14.749 C12.622,14.749 14.749,12.622 14.749,10 C14.749,7.378 12.622,5.251 10,5.251 z M10,6.918 C11.702,6.918 13.082,8.298 13.082,10 C13.082,11.702 11.702,13.082 10,13.082 C8.298,13.082 6.918,11.702 6.918,10 C6.918,8.298 8.298,6.918 10,6.918 z M14.936,3.954 C14.323,3.954 13.827,4.451 13.827,5.064 C13.827,5.677 14.323,6.173 14.936,6.173 C15.549,6.173 16.046,5.677 16.046,5.064 C16.046,4.451 15.549,3.954 14.936,3.954 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 M10,2.332 C7.918,2.332 7.657,2.341 6.838,2.378 C6.022,2.415 5.465,2.545 4.978,2.735 C4.473,2.931 4.045,3.193 3.619,3.619 C3.193,4.045 2.931,4.473 2.735,4.978 C2.545,5.465 2.415,6.022 2.378,6.838 C2.341,7.657 2.332,7.918 2.332,10 C2.332,12.082 2.341,12.343 2.378,13.162 C2.415,13.978 2.545,14.535 2.735,15.022 C2.931,15.527 3.193,15.955 3.619,16.381 C4.045,16.807 4.473,17.069 4.978,17.265 C5.465,17.455 6.022,17.585 6.838,17.622 C7.657,17.659 7.918,17.668 10,17.668 C12.082,17.668 12.343,17.659 13.162,17.622 C13.978,17.585 14.535,17.455 15.022,17.265 C15.527,17.069 15.955,16.807 16.381,16.381 C16.807,15.955 17.069,15.527 17.265,15.022 C17.455,14.535 17.585,13.978 17.622,13.162 C17.659,12.343 17.668,12.082 17.668,10 C17.668,7.918 17.659,7.657 17.622,6.838 C17.585,6.022 17.455,5.465 17.265,4.978 C17.069,4.473 16.807,4.045 16.381,3.619 C15.955,3.193 15.527,2.931 15.022,2.735 C14.535,2.545 13.978,2.415 13.162,2.378 C12.343,2.341 12.082,2.332 10,2.332 z M10,3.714 C12.048,3.714 12.289,3.722 13.099,3.758 C13.846,3.792 14.252,3.917 14.522,4.022 C14.88,4.162 15.136,4.328 15.404,4.596 C15.672,4.864 15.838,5.12 15.978,5.478 C16.083,5.748 16.208,6.154 16.242,6.901 C16.278,7.711 16.286,7.952 16.286,10 C16.286,12.048 16.278,12.29 16.242,13.099 C16.208,13.846 16.083,14.252 15.978,14.522 C15.838,14.88 15.672,15.136 15.404,15.404 C15.136,15.672 14.88,15.838 14.522,15.978 C14.252,16.083 13.846,16.208 13.099,16.242 C12.29,16.279 12.048,16.286 10,16.286 C7.952,16.286 7.71,16.279 6.901,16.242 C6.154,16.208 5.748,16.083 5.478,15.978 C5.12,15.838 4.864,15.672 4.596,15.404 C4.328,15.136 4.162,14.88 4.022,14.522 C3.917,14.252 3.792,13.846 3.758,13.099 C3.722,12.29 3.714,12.048 3.714,10 C3.714,7.952 3.722,7.711 3.758,6.901 C3.792,6.154 3.917,5.748 4.022,5.478 C4.162,5.12 4.328,4.864 4.596,4.596 C4.864,4.328 5.12,4.162 5.478,4.022 C5.748,3.917 6.154,3.792 6.901,3.758 C7.711,3.722 7.952,3.714 10,3.714 z M10,6.062 C7.826,6.063 6.063,7.826 6.063,10 C6.063,12.174 7.826,13.937 10,13.937 C12.174,13.937 13.937,12.174 13.937,10 C13.937,7.826 12.174,6.063 10,6.063 z M10,7.444 C11.412,7.444 12.556,8.588 12.556,10 C12.556,11.412 11.412,12.556 10,12.556 C8.588,12.556 7.444,11.412 7.444,10 C7.444,8.588 8.588,7.444 10,7.444 z M14.093,4.987 L13.735,5.059 C13.159,5.635 13.29,5.323 13.173,5.907 C13.173,6.415 13.585,6.827 14.093,6.827 C14.602,6.827 15.013,6.415 15.013,5.907 C15.013,5.399 14.602,4.987 14.093,4.987 z"},"[like]":{filename:"like@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M7.056,15.883 L8.219,15.88 C8.643,16.006 8.586,16.047 8.821,16.191 C8.894,16.236 9.107,16.468 9.407,16.468 L9.407,16.468 L15.952,16.468 L16.047,16.461 C16.354,16.441 17.073,16.393 17.23,15.563 C17.296,15.209 17.217,14.912 17.091,14.719 C17.359,14.574 17.621,14.276 17.693,13.848 C17.768,13.404 17.653,13.076 17.484,12.849 C17.791,12.686 18.055,12.368 18.123,11.835 C18.193,11.286 17.997,10.996 17.747,10.773 C18.01,10.571 18.237,10.225 18.237,9.668 C18.236,8.447 17.042,8.249 16.409,8.244 L14.221,8.236 C14.206,8.235 13.857,8.226 13.829,7.999 C13.771,7.521 13.904,7.21 14.186,6.897 C14.51,6.536 14.861,5.541 14.974,4.77 C15.084,4.02 14.793,2.891 14.241,2.503 C14.096,2.402 13.944,2.351 13.789,2.351 C13.356,2.351 13.019,2.748 12.943,3.133 C12.923,3.23 12.907,3.327 12.891,3.421 C12.802,3.953 12.71,4.503 12.033,5.367 C11.611,5.906 11.654,5.941 11.442,6.095 C11.236,6.245 11.023,6.4 10.682,6.823 C10.434,7.131 10.198,7.506 9.948,7.902 C9.639,8.391 9.32,8.944 8.959,9.351 C8.755,9.582 8.64,9.68 8.603,9.7 L7.05,9.7 C7.054,9.731 7.056,9.763 7.056,9.795 L7.056,15.883 L7.056,15.883 z M7.056,15.883 L7.031,15.883 C6.884,15.883 6.764,15.764 6.764,15.618 L6.764,9.965 C6.764,9.819 6.884,9.7 7.031,9.7 L7.05,9.7 C7.004,9.369 6.719,9.114 6.376,9.114 L2.149,9.114 C1.775,9.114 1.47,9.419 1.47,9.795 L2.441,16.084 C2.441,16.459 2.747,16.765 3.121,16.765 L6.376,16.765 C6.751,16.765 7.056,16.459 7.056,16.084 L7.056,15.883 L7.056,15.883 z M5.292,14.119 C5.617,14.119 5.881,14.383 5.881,14.707 C5.881,15.032 5.617,15.295 5.292,15.295 C4.967,15.295 4.703,15.031 4.703,14.707 C4.703,14.382 4.967,14.119 5.292,14.119 L5.292,14.119 z",svgRectPath:"M7.05647059,15.8828793 L8.21911765,15.88 C8.64323529,16.0064706 8.58617647,16.0467647 8.82058824,16.1908824 C8.89382353,16.2361765 9.10705882,16.4676471 9.40735294,16.4676471 L9.40735294,16.4676471 L15.9523529,16.4676471 L16.0473529,16.4614706 C16.3541176,16.4405882 17.0729412,16.3926471 17.2297059,15.5626471 C17.2961765,15.2088235 17.2173529,14.9123529 17.0905882,14.7188235 C17.3594118,14.5741176 17.6208824,14.2758824 17.6929412,13.8479412 C17.7679412,13.4035294 17.6532353,13.0755882 17.4835294,12.8488235 C17.7908824,12.6858824 18.055,12.3676471 18.1226471,11.8347059 C18.1926471,11.2855882 17.9973529,10.9961765 17.7467647,10.7732353 C18.0102941,10.5714706 18.2367647,10.2252941 18.2367647,9.66823529 C18.2364706,8.44676471 17.0417647,8.24911765 16.4094118,8.24382353 L14.2214706,8.23558824 C14.2064706,8.235 13.8567647,8.22588235 13.8291176,7.99852941 C13.7708824,7.52088235 13.9038235,7.21029412 14.1855882,6.89676471 C14.51,6.53647059 14.8614706,5.54058824 14.9741176,4.77029412 C15.0835294,4.02029412 14.7932353,2.89117647 14.2405882,2.50323529 C14.0964706,2.40205882 13.9444118,2.35058824 13.7885294,2.35088235 C13.3558824,2.35058824 13.0188235,2.74823529 12.9426471,3.13264706 C12.9232353,3.22970588 12.9070588,3.32705882 12.8911765,3.42117647 C12.8017647,3.95294118 12.7097059,4.50264706 12.0332353,5.36676471 C11.6111765,5.90617647 11.6544118,5.94117647 11.4423529,6.09470588 C11.2361765,6.245 11.0226471,6.4 10.6823529,6.82323529 C10.4335294,7.13147059 10.1979412,7.50588235 9.94823529,7.90176471 C9.63941176,8.39147059 9.32029412,8.94441176 8.95941176,9.35088235 C8.755,9.58176471 8.63970588,9.68 8.60264706,9.7 L7.04985884,9.7 C7.05421692,9.73114361 7.05647059,9.76295808 7.05647059,9.79529412 L7.05647059,15.8828793 L7.05647059,15.8828793 Z 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.05647059,15.8828793 L7.03147059,15.8829412 C6.88352941,15.8829412 6.76352941,15.7641176 6.76352941,15.6176471 L6.76352941,9.96529412 C6.76352941,9.81852941 6.88352941,9.7 7.03147059,9.7 L7.04985884,9.7 C7.00351789,9.36883908 6.71923567,9.11352941 6.37647059,9.11352941 L2.14941176,9.11352941 C1.77470588,9.11352941 1.46970588,9.41911765 1.46970588,9.79529412 L2.44147059,16.0835294 C2.44147059,16.4591176 2.74676471,16.765 3.12147059,16.765 L6.37647059,16.765 C6.75117647,16.765 7.05617647,16.4591176 7.05647059,16.0835294 L7.05647059,15.8828793 L7.05647059,15.8828793 Z M5.29205882,14.1194118 C5.61705882,14.1194118 5.88058824,14.3826471 5.88058824,14.7073529 C5.88058824,15.0317647 5.61705882,15.2947059 5.29205882,15.2947059 C4.96705882,15.2947059 4.70323529,15.0314706 4.70323529,14.7073529 C4.70323529,14.3823529 4.96676471,14.1194118 5.29205882,14.1194118 L5.29205882,14.1194118 Z",svgCircPath:"M7.34394464,14.957354 L8.36980969,14.9546667 C8.74403114,15.0727059 8.69368512,15.1103137 8.90051903,15.2448235 C8.96513841,15.287098 9.1532872,15.5031373 9.4182526,15.5031373 L9.4182526,15.5031373 L15.1932526,15.5031373 L15.2770761,15.4973725 C15.5477509,15.4778824 16.1820069,15.4331373 16.3203287,14.6584706 C16.3789792,14.3282353 16.3094291,14.0515294 16.1975779,13.870902 C16.4347751,13.7358431 16.6654844,13.4574902 16.7290657,13.0580784 C16.7952422,12.6432941 16.6940311,12.3372157 16.5442907,12.1255686 C16.8154844,11.9734902 17.0485294,11.6764706 17.108218,11.1790588 C17.1699827,10.666549 16.9976644,10.3964314 16.7765571,10.1883529 C17.009083,10.0000392 17.20891,9.67694118 17.20891,9.15701961 C17.2086505,8.01698039 16.1544983,7.8325098 15.5965398,7.82756863 L13.6660035,7.81988235 C13.6527682,7.81933333 13.3442042,7.81082353 13.3198097,7.59862745 C13.2684256,7.15282353 13.3857266,6.86294118 13.6343426,6.57031373 C13.9205882,6.23403922 14.2307093,5.30454902 14.3301038,4.58560784 C14.4266436,3.88560784 14.1705017,2.83176471 13.682872,2.46968627 C13.5557093,2.3752549 13.4215398,2.32721569 13.2839965,2.3274902 C12.9022491,2.32721569 12.6048443,2.69835294 12.5376298,3.05713725 C12.5205017,3.14772549 12.5062284,3.23858824 12.4922145,3.32643137 C12.4133218,3.8227451 12.3320934,4.33580392 11.7352076,5.14231373 C11.3628028,5.64576471 11.4009516,5.67843137 11.2138408,5.82172549 C11.0319204,5.962 10.8435121,6.10666667 10.5432526,6.50168627 C10.3237024,6.78937255 10.1158304,7.13882353 9.89550173,7.50831373 C9.62301038,7.96537255 9.34143599,8.48145098 9.02301038,8.86082353 C8.84264706,9.07631373 8.74091696,9.168 8.70821799,9.18666667 L7.33811074,9.18666667 C7.3419561,9.21573404 7.34394464,9.24542754 7.34394464,9.27560784 L7.34394464,14.957354 L7.34394464,14.957354 Z 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.34394464,14.957354 L7.32188581,14.9574118 C7.19134948,14.9574118 7.08546713,14.8465098 7.08546713,14.7098039 L7.08546713,9.43427451 C7.08546713,9.29729412 7.19134948,9.18666667 7.32188581,9.18666667 L7.33811074,9.18666667 C7.29722167,8.87758314 7.04638442,8.63929412 6.74394464,8.63929412 L3.01418685,8.63929412 C2.68356401,8.63929412 2.41444637,8.9245098 2.41444637,9.27560784 L3.27188581,15.1446275 C3.27188581,15.4951765 3.54126298,15.7806667 3.87188581,15.7806667 L6.74394464,15.7806667 C7.07456747,15.7806667 7.34368512,15.4951765 7.34394464,15.1446275 L7.34394464,14.957354 L7.34394464,14.957354 Z M5.78711073,13.311451 C6.07387543,13.311451 6.30640138,13.5571373 6.30640138,13.8601961 C6.30640138,14.1629804 6.07387543,14.4083922 5.78711073,14.4083922 C5.50034602,14.4083922 5.26756055,14.1627059 5.26756055,13.8601961 C5.26756055,13.5568627 5.50008651,13.311451 5.78711073,13.311451 L5.78711073,13.311451 Z"},"[linkedin]":{filename:"linkedin@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M2.48,5.24 L2.48,16.938 L5.822,16.938 L5.822,5.24 L2.48,5.24 z M13.759,5.24 C11.427,5.24 11.026,6.091 10.836,6.911 L10.836,5.24 L7.493,5.24 L7.493,16.938 L10.836,16.938 L10.836,10.253 C10.836,9.17 11.423,8.582 12.507,8.582 C13.564,8.582 14.178,9.157 14.178,10.253 L14.178,16.938 L17.52,16.938 L17.52,11.089 C17.52,7.747 17.084,5.24 13.759,5.24 z M4.151,4.405 C5.074,4.405 5.822,3.656 5.822,2.734 C5.822,1.811 5.074,1.063 4.151,1.063 C3.228,1.063 2.48,1.811 2.48,2.734 C2.48,3.656 3.228,4.405 4.151,4.405 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 M4.375,6.875 L4.375,15.625 L6.875,15.625 L6.875,6.875 L4.375,6.875 Z M12.811875,6.875 C11.0675,6.875 10.7675,7.51125 10.625,8.125 L10.625,6.875 L8.125,6.875 L8.125,15.625 L10.625,15.625 L10.625,10.625 C10.625,9.814375 11.064375,9.375 11.875,9.375 C12.66625,9.375 13.125,9.805 13.125,10.625 L13.125,15.625 L15.625,15.625 L15.625,11.25 C15.625,8.75 15.299375,6.875 12.811875,6.875 Z M5.625,6.25 C6.31535594,6.25 6.875,5.69035594 6.875,5 C6.875,4.30964406 6.31535594,3.75 5.625,3.75 C4.93464406,3.75 4.375,4.30964406 4.375,5 C4.375,5.69035594 4.93464406,6.25 5.625,6.25 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 M4.375,6.875 L4.375,15.625 L6.875,15.625 L6.875,6.875 L4.375,6.875 Z M12.811875,6.875 C11.0675,6.875 10.7675,7.51125 10.625,8.125 L10.625,6.875 L8.125,6.875 L8.125,15.625 L10.625,15.625 L10.625,10.625 C10.625,9.814375 11.064375,9.375 11.875,9.375 C12.66625,9.375 13.125,9.805 13.125,10.625 L13.125,15.625 L15.625,15.625 L15.625,11.25 C15.625,8.75 15.299375,6.875 12.811875,6.875 Z M5.625,6.25 C6.31535594,6.25 6.875,5.69035594 6.875,5 C6.875,4.30964406 6.31535594,3.75 5.625,3.75 C4.93464406,3.75 4.375,4.30964406 4.375,5 C4.375,5.69035594 4.93464406,6.25 5.625,6.25 Z"},"[mail]":emailIcon,"[mailto]":emailIcon,"[one]":plus1Icon,"[pinterest]":{filename:"pinterest@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.116,2.053 C5.583,2.053 1.908,5.727 1.908,10.261 C1.908,13.622 3.929,16.509 6.821,17.779 C6.798,17.205 6.817,16.518 6.964,15.894 C7.121,15.227 8.02,11.421 8.02,11.421 C8.02,11.421 7.757,10.897 7.757,10.123 C7.757,8.907 8.462,7.998 9.34,7.998 C10.087,7.998 10.448,8.559 10.448,9.23 C10.448,9.981 9.969,11.103 9.723,12.143 C9.517,13.014 10.159,13.724 11.018,13.724 C12.573,13.724 13.621,11.727 13.621,9.36 C13.621,7.561 12.409,6.214 10.206,6.214 C7.716,6.214 6.165,8.071 6.165,10.145 C6.165,10.86 6.376,11.364 6.706,11.755 C6.858,11.934 6.879,12.006 6.824,12.212 C6.785,12.363 6.694,12.727 6.657,12.871 C6.602,13.079 6.434,13.154 6.246,13.077 C5.099,12.609 4.565,11.353 4.565,9.941 C4.565,7.609 6.531,4.813 10.431,4.813 C13.565,4.813 15.627,7.081 15.627,9.516 C15.627,12.735 13.838,15.141 11.199,15.141 C10.313,15.141 9.479,14.661 9.194,14.118 C9.194,14.118 8.717,16.009 8.616,16.374 C8.442,17.007 8.101,17.64 7.79,18.132 C8.528,18.35 9.308,18.469 10.116,18.469 C14.649,18.469 18.324,14.795 18.324,10.261 C18.324,5.727 14.648,2.053 10.116,2.053 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.116,2.05266667 C5.583,2.05266667 1.90766667,5.727 1.90766667,10.261 C1.90766667,13.6216667 3.92866667,16.509 6.82066667,17.7786667 C6.79766667,17.205 6.81666667,16.5176667 6.96366667,15.894 C7.12133333,15.2273333 8.01966667,11.4213333 8.01966667,11.4213333 C8.01966667,11.4213333 7.75733333,10.8973333 7.75733333,10.1226667 C7.75733333,8.90666667 8.46233333,7.99833333 9.34033333,7.99833333 C10.087,7.99833333 10.4476667,8.559 10.4476667,9.23 C10.4476667,9.98066667 9.96866667,11.103 9.72266667,12.1426667 C9.51733333,13.0136667 10.1593333,13.724 11.0183333,13.724 C12.5733333,13.724 13.621,11.7266667 13.621,9.36 C13.621,7.561 12.4093333,6.21433333 10.2056667,6.21433333 C7.71566667,6.21433333 6.16466667,8.071 6.16466667,10.145 C6.16466667,10.8603333 6.37566667,11.3643333 6.706,11.755 C6.85766667,11.934 6.879,12.0063333 6.824,12.212 C6.78466667,12.363 6.69433333,12.727 6.657,12.871 C6.60233333,13.0793333 6.434,13.1536667 6.246,13.0766667 C5.09933333,12.6086667 4.565,11.3526667 4.565,9.94066667 C4.565,7.60933333 6.53133333,4.81333333 10.4313333,4.81333333 C13.5646667,4.81333333 15.6273333,7.08133333 15.6273333,9.51566667 C15.6273333,12.735 13.8376667,15.1406667 11.199,15.1406667 C10.3126667,15.1406667 9.479,14.6613333 9.19366667,14.118 C9.19366667,14.118 8.717,16.0093333 8.61633333,16.374 C8.44233333,17.0073333 8.10133333,17.6396667 7.79,18.1323333 C8.52833333,18.3503333 9.308,18.469 10.1163333,18.469 C14.649,18.469 18.324,14.7946667 18.324,10.2613333 C18.3236667,5.727 14.6483333,2.05266667 10.116,2.05266667 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.116,2.05266667 C5.583,2.05266667 1.90766667,5.727 1.90766667,10.261 C1.90766667,13.6216667 3.92866667,16.509 6.82066667,17.7786667 C6.79766667,17.205 6.81666667,16.5176667 6.96366667,15.894 C7.12133333,15.2273333 8.01966667,11.4213333 8.01966667,11.4213333 C8.01966667,11.4213333 7.75733333,10.8973333 7.75733333,10.1226667 C7.75733333,8.90666667 8.46233333,7.99833333 9.34033333,7.99833333 C10.087,7.99833333 10.4476667,8.559 10.4476667,9.23 C10.4476667,9.98066667 9.96866667,11.103 9.72266667,12.1426667 C9.51733333,13.0136667 10.1593333,13.724 11.0183333,13.724 C12.5733333,13.724 13.621,11.7266667 13.621,9.36 C13.621,7.561 12.4093333,6.21433333 10.2056667,6.21433333 C7.71566667,6.21433333 6.16466667,8.071 6.16466667,10.145 C6.16466667,10.8603333 6.37566667,11.3643333 6.706,11.755 C6.85766667,11.934 6.879,12.0063333 6.824,12.212 C6.78466667,12.363 6.69433333,12.727 6.657,12.871 C6.60233333,13.0793333 6.434,13.1536667 6.246,13.0766667 C5.09933333,12.6086667 4.565,11.3526667 4.565,9.94066667 C4.565,7.60933333 6.53133333,4.81333333 10.4313333,4.81333333 C13.5646667,4.81333333 15.6273333,7.08133333 15.6273333,9.51566667 C15.6273333,12.735 13.8376667,15.1406667 11.199,15.1406667 C10.3126667,15.1406667 9.479,14.6613333 9.19366667,14.118 C9.19366667,14.118 8.717,16.0093333 8.61633333,16.374 C8.44233333,17.0073333 8.10133333,17.6396667 7.79,18.1323333 C8.52833333,18.3503333 9.308,18.469 10.1163333,18.469 C14.649,18.469 18.324,14.7946667 18.324,10.2613333 C18.3236667,5.727 14.6483333,2.05266667 10.116,2.05266667 Z"},"[plus one]":plus1Icon,"[reddit]":{filename:"reddit@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M18.702,9.806 C18.702,8.733 17.841,7.86 16.783,7.86 C16.279,7.86 15.826,8.054 15.481,8.376 C14.194,7.469 12.442,6.884 10.492,6.798 L11.395,3.787 L14.093,4.326 C14.101,5.283 14.872,6.058 15.818,6.058 C16.771,6.058 17.543,5.275 17.543,4.31 C17.543,3.345 16.771,2.558 15.818,2.558 C15.097,2.558 14.481,3.008 14.221,3.643 L10.919,2.984 L9.779,6.791 L9.504,6.798 C7.554,6.884 5.802,7.473 4.516,8.376 C4.174,8.054 3.717,7.86 3.213,7.86 C2.155,7.86 1.295,8.733 1.295,9.806 C1.295,10.566 1.721,11.221 2.345,11.543 C2.314,11.733 2.298,11.922 2.298,12.116 C2.306,15.054 5.752,17.442 10,17.442 C14.248,17.442 17.694,15.054 17.694,12.112 C17.694,11.919 17.678,11.729 17.651,11.539 C18.275,11.217 18.702,10.562 18.702,9.806 z M1.984,9.806 C1.984,9.116 2.539,8.558 3.217,8.558 C3.496,8.558 3.756,8.655 3.961,8.814 C3.291,9.403 2.795,10.093 2.527,10.845 C2.202,10.616 1.984,10.236 1.984,9.806 z M15.054,15.306 C13.713,16.233 11.919,16.744 10,16.744 C8.081,16.744 6.287,16.233 4.946,15.306 C3.686,14.434 2.992,13.298 2.992,12.112 C2.992,11.988 3,11.86 3.016,11.736 C3.043,11.504 3.101,11.275 3.182,11.05 C3.399,10.446 3.802,9.876 4.372,9.368 C4.543,9.217 4.729,9.07 4.93,8.93 C4.934,8.926 4.942,8.922 4.946,8.919 C6.287,7.992 8.081,7.481 10,7.481 C11.919,7.481 13.713,7.992 15.054,8.919 C15.058,8.922 15.066,8.926 15.07,8.93 C15.271,9.07 15.457,9.217 15.628,9.368 C16.198,9.876 16.601,10.446 16.818,11.05 C16.899,11.275 16.953,11.504 16.984,11.736 C17,11.86 17.008,11.984 17.008,12.112 C17.008,13.298 16.314,14.434 15.054,15.306 z M15.818,3.252 C16.391,3.252 16.857,3.725 16.857,4.306 C16.857,4.888 16.391,5.36 15.818,5.36 C15.244,5.36 14.779,4.888 14.779,4.306 C14.779,3.725 15.244,3.252 15.818,3.252 z M17.473,10.841 C17.205,10.089 16.709,9.399 16.039,8.81 C16.244,8.651 16.504,8.554 16.783,8.554 C17.461,8.554 18.016,9.116 18.016,9.802 C18.016,10.236 17.798,10.616 17.473,10.841 z M12.589,12.504 C13.27,12.504 13.822,11.952 13.822,11.271 C13.822,10.591 13.27,10.039 12.589,10.039 C11.908,10.039 11.357,10.591 11.357,11.271 C11.357,11.952 11.908,12.504 12.589,12.504 z M7.473,12.504 C8.154,12.504 8.705,11.952 8.705,11.271 C8.705,10.591 8.154,10.039 7.473,10.039 C6.792,10.039 6.24,10.591 6.24,11.271 C6.24,11.952 6.792,12.504 7.473,12.504 z M12.5,13.95 C12.492,13.957 11.562,14.888 10,14.895 C8.415,14.888 7.504,13.957 7.496,13.95 L7.008,14.43 C7.054,14.477 8.155,15.574 10,15.581 C11.845,15.574 12.942,14.477 12.988,14.43 L12.5,13.95 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.7015504,9.80620155 C18.7015504,8.73255814 17.8410853,7.86046512 16.7829457,7.86046512 C16.2790698,7.86046512 15.8255814,8.05426357 15.4806202,8.37596899 C14.1937984,7.46899225 12.4418605,6.88372093 10.4922481,6.79844961 L11.3953488,3.78682171 L14.0930233,4.3255814 C14.1007752,5.28294574 14.872093,6.05813953 15.8178295,6.05813953 C16.7713178,6.05813953 17.5426357,5.2751938 17.5426357,4.31007752 C17.5426357,3.34496124 16.7713178,2.55813953 15.8178295,2.55813953 C15.0968992,2.55813953 14.4806202,3.00775194 14.2209302,3.64341085 L10.9186047,2.98449612 L9.77906977,6.79069767 L9.50387597,6.79844961 C7.55426357,6.88372093 5.80232558,7.47286822 4.51550388,8.37596899 C4.1744186,8.05426357 3.71705426,7.86046512 3.21317829,7.86046512 C2.15503876,7.86046512 1.29457364,8.73255814 1.29457364,9.80620155 C1.29457364,10.5658915 1.72093023,11.2209302 2.34496124,11.5426357 C2.31395349,11.7325581 2.29844961,11.9224806 2.29844961,12.1162791 C2.30620155,15.0542636 5.75193798,17.4418605 10,17.4418605 C14.248062,17.4418605 17.6937984,15.0542636 17.6937984,12.1124031 C17.6937984,11.9186047 17.6782946,11.7286822 17.6511628,11.5387597 C18.2751938,11.2170543 18.7015504,10.5620155 18.7015504,9.80620155 Z M1.98449612,9.80620155 C1.98449612,9.11627907 2.53875969,8.55813953 3.21705426,8.55813953 C3.49612403,8.55813953 3.75581395,8.65503876 3.96124031,8.81395349 C3.29069767,9.40310078 2.79457364,10.0930233 2.52713178,10.8449612 C2.20155039,10.6162791 1.98449612,10.2364341 1.98449612,9.80620155 Z M15.0542636,15.3062016 C13.7131783,16.2325581 11.9186047,16.744186 10,16.744186 C8.08139535,16.744186 6.28682171,16.2325581 4.94573643,15.3062016 C3.68604651,14.4341085 2.99224806,13.2984496 2.99224806,12.1124031 C2.99224806,11.9883721 3,11.8604651 3.01550388,11.7364341 C3.04263566,11.503876 3.10077519,11.2751938 3.18217054,11.0503876 C3.39922481,10.4457364 3.80232558,9.87596899 4.37209302,9.36821705 C4.54263566,9.21705426 4.72868217,9.06976744 4.93023256,8.93023256 C4.93410853,8.92635659 4.94186047,8.92248062 4.94573643,8.91860465 C6.28682171,7.99224806 8.08139535,7.48062016 10,7.48062016 C11.9186047,7.48062016 13.7131783,7.99224806 15.0542636,8.91860465 C15.0581395,8.92248062 15.0658915,8.92635659 15.0697674,8.93023256 C15.2713178,9.06976744 15.4573643,9.21705426 15.627907,9.36821705 C16.1976744,9.87596899 16.6007752,10.4457364 16.8178295,11.0503876 C16.8992248,11.2751938 16.9534884,11.503876 16.9844961,11.7364341 C17,11.8604651 17.0077519,11.9844961 17.0077519,12.1124031 C17.0077519,13.2984496 16.3139535,14.4341085 15.0542636,15.3062016 Z M15.8178295,3.25193798 C16.3914729,3.25193798 16.8565891,3.7248062 16.8565891,4.30620155 C16.8565891,4.8875969 16.3914729,5.36046512 15.8178295,5.36046512 C15.244186,5.36046512 14.7790698,4.8875969 14.7790698,4.30620155 C14.7790698,3.7248062 15.244186,3.25193798 15.8178295,3.25193798 Z M17.4728682,10.8410853 C17.2054264,10.0891473 16.7093023,9.39922481 16.0387597,8.81007752 C16.244186,8.65116279 16.503876,8.55426357 16.7829457,8.55426357 C17.4612403,8.55426357 18.0155039,9.11627907 18.0155039,9.80232558 C18.0155039,10.2364341 17.7984496,10.6162791 17.4728682,10.8410853 Z M12.5891473,12.503876 C13.2698704,12.503876 13.8217054,11.9520409 13.8217054,11.2713178 C13.8217054,10.5905948 13.2698704,10.0387597 12.5891473,10.0387597 C11.9084242,10.0387597 11.3565891,10.5905948 11.3565891,11.2713178 C11.3565891,11.9520409 11.9084242,12.503876 12.5891473,12.503876 Z M7.47286822,12.503876 C8.15359128,12.503876 8.70542636,11.9520409 8.70542636,11.2713178 C8.70542636,10.5905948 8.15359128,10.0387597 7.47286822,10.0387597 C6.79214515,10.0387597 6.24031008,10.5905948 6.24031008,11.2713178 C6.24031008,11.9520409 6.79214515,12.503876 7.47286822,12.503876 Z M12.5,13.9496124 C12.4922481,13.9573643 11.5620155,14.8875969 10,14.8953488 C8.41472868,14.8875969 7.50387597,13.9573643 7.49612403,13.9496124 L7.00775194,14.4302326 C7.05426357,14.4767442 8.15503876,15.5736434 10,15.5813953 C11.8449612,15.5736434 12.9418605,14.4767442 12.9883721,14.4302326 L12.5,13.9496124 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 M17.7347115,10.3200443 C17.7347115,9.3230897 16.9698536,8.51328904 16.0292851,8.51328904 C15.5813953,8.51328904 15.1782946,8.69324474 14.8716624,8.99197121 C13.7278208,8.14977852 12.1705426,7.60631229 10.4375538,7.52713178 L11.2403101,4.73062016 L13.6382429,5.23089701 C13.6451335,6.11987818 14.3307494,6.839701 15.171404,6.839701 C16.0189492,6.839701 16.704565,6.11267996 16.704565,5.21650055 C16.704565,4.32032115 16.0189492,3.589701 15.171404,3.589701 C14.5305771,3.589701 13.9827735,4.00719823 13.751938,4.59745293 L10.8165375,3.98560354 L9.80361757,7.51993355 L9.55900086,7.52713178 C7.82601206,7.60631229 6.26873385,8.15337763 5.12489233,8.99197121 C4.82170543,8.69324474 4.41515935,8.51328904 3.9672696,8.51328904 C3.02670112,8.51328904 2.26184324,9.3230897 2.26184324,10.3200443 C2.26184324,11.0254707 2.64082687,11.6337209 3.1955211,11.9324474 C3.16795866,12.108804 3.15417743,12.2851606 3.15417743,12.4651163 C3.16106804,15.1932447 6.22394488,17.410299 10,17.410299 C13.7760551,17.410299 16.838932,15.1932447 16.838932,12.4615172 C16.838932,12.2815615 16.8251507,12.1052049 16.8010336,11.9288483 C17.3557278,11.6301218 17.7347115,11.0218715 17.7347115,10.3200443 Z M2.87510767,10.3200443 C2.87510767,9.67940199 3.36778639,9.16112957 3.9707149,9.16112957 C4.21877692,9.16112957 4.4496124,9.25110742 4.63221361,9.3986711 C4.03617571,9.94573643 3.59517657,10.5863787 3.35745047,11.2846069 C3.06804479,11.0722591 2.87510767,10.719546 2.87510767,10.3200443 Z M14.4926787,15.4271872 C13.3006029,16.2873754 11.7054264,16.7624585 10,16.7624585 C8.29457364,16.7624585 6.69939707,16.2873754 5.50732127,15.4271872 C4.3875969,14.6173865 3.77088717,13.5628461 3.77088717,12.4615172 C3.77088717,12.3463455 3.77777778,12.2275748 3.791559,12.1124031 C3.81567614,11.8964563 3.86735573,11.6841085 3.93970715,11.4753599 C4.13264427,10.9138981 4.49095607,10.3848283 4.99741602,9.91334441 C5.14900947,9.77297896 5.31438415,9.63621262 5.49354005,9.50664452 C5.49698536,9.5030454 5.50387597,9.49944629 5.50732127,9.49584718 C6.69939707,8.63565891 8.29457364,8.16057586 10,8.16057586 C11.7054264,8.16057586 13.3006029,8.63565891 14.4926787,9.49584718 C14.496124,9.49944629 14.5030146,9.5030454 14.5064599,9.50664452 C14.6856158,9.63621262 14.8509905,9.77297896 15.002584,9.91334441 C15.5090439,10.3848283 15.8673557,10.9138981 16.0602929,11.4753599 C16.1326443,11.6841085 16.1808786,11.8964563 16.208441,12.1124031 C16.2222222,12.2275748 16.2291128,12.3427464 16.2291128,12.4615172 C16.2291128,13.5628461 15.6124031,14.6173865 14.4926787,15.4271872 Z M12.3014643,12.8250277 C12.9065514,12.8250277 13.3970715,12.3126094 13.3970715,11.6805094 C13.3970715,11.0484094 12.9065514,10.5359911 12.3014643,10.5359911 C11.6963771,10.5359911 11.205857,11.0484094 11.205857,11.6805094 C11.205857,12.3126094 11.6963771,12.8250277 12.3014643,12.8250277 Z M7.75366064,12.8250277 C8.35874781,12.8250277 8.84926787,12.3126094 8.84926787,11.6805094 C8.84926787,11.0484094 8.35874781,10.5359911 7.75366064,10.5359911 C7.14857347,10.5359911 6.6580534,11.0484094 6.6580534,11.6805094 C6.6580534,12.3126094 7.14857347,12.8250277 7.75366064,12.8250277 Z M12.2222222,14.1674972 C12.2153316,14.1746955 11.3884582,15.0384828 10,15.0456811 C8.59086994,15.0384828 7.78122308,14.1746955 7.77433247,14.1674972 L7.34022394,14.6137874 C7.38156761,14.6569767 8.36003445,15.675526 10,15.6827243 C11.6399655,15.675526 12.6149871,14.6569767 12.6563307,14.6137874 L12.2222222,14.1674972 Z M15.171404,4.23394241 C15.6813092,4.23394241 16.0947459,4.67303433 16.0947459,5.21290144 C16.0947459,5.75276855 15.6813092,6.19186047 15.171404,6.19186047 C14.6614987,6.19186047 14.248062,5.75276855 14.248062,5.21290144 C14.248062,4.67303433 14.6614987,4.23394241 15.171404,4.23394241 Z M16.6425495,11.2810078 C16.4048234,10.5827796 15.9638243,9.94213732 15.3677864,9.39507198 C15.5503876,9.24750831 15.7812231,9.15753045 16.0292851,9.15753045 C16.6322136,9.15753045 17.1248923,9.67940199 17.1248923,10.3164452 C17.1248923,10.719546 16.9319552,11.0722591 16.6425495,11.2810078 Z"},"[rss]":{filename:"rss@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M2.251,10.329 C4.127,10.329 5.89,11.062 7.215,12.394 C8.543,13.727 9.274,15.502 9.274,17.392 L12.164,17.392 C12.164,11.903 7.717,7.438 2.251,7.438 L2.251,10.329 L2.251,10.329 z M2.255,5.204 C8.941,5.204 14.38,10.673 14.38,17.395 L17.27,17.395 C17.27,9.079 10.534,2.314 2.255,2.314 L2.255,5.204 L2.255,5.204 z M6.253,15.376 C6.253,16.482 5.356,17.378 4.251,17.378 C3.145,17.378 2.248,16.482 2.248,15.376 C2.248,14.27 3.145,13.374 4.25,13.374 C5.356,13.374 6.253,14.27 6.253,15.376 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 M2.25090909,10.3287879 C4.12666667,10.3287879 5.89,11.0615152 7.21515152,12.3942424 C8.54272727,13.7269697 9.27363636,15.5021212 9.27363636,17.3918182 L12.1642424,17.3918182 C12.1642424,11.9030303 7.7169697,7.43787879 2.25090909,7.43787879 L2.25090909,10.3287879 L2.25090909,10.3287879 Z M2.25545455,5.20424242 C8.94060606,5.20424242 14.379697,10.6730303 14.379697,17.3954545 L17.270303,17.3954545 C17.270303,9.07878788 10.5342424,2.31363636 2.25545455,2.31363636 L2.25545455,5.20424242 L2.25545455,5.20424242 Z M6.25272727,15.3760606 C6.25272727,16.4815152 5.35606061,17.3781818 4.25060606,17.3781818 C3.14515152,17.3781818 2.24848485,16.4818182 2.24848485,15.3760606 C2.24848485,14.27 3.14484848,13.3739394 4.25030303,13.3739394 C5.35575758,13.3739394 6.25272727,14.27 6.25272727,15.3760606 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.20072727,9.6630303 C6.70133333,9.6630303 8.112,10.2492121 9.17212121,11.3153939 C10.2341818,12.3815758 10.8189091,13.801697 10.8189091,15.3134545 L13.1313939,15.3134545 C13.1313939,10.9224242 9.57357576,7.35030303 5.20072727,7.35030303 L5.20072727,9.6630303 L5.20072727,9.6630303 Z M5.20436364,5.56339394 C10.5524848,5.56339394 14.9037576,9.93842424 14.9037576,15.3163636 L17.2162424,15.3163636 C17.2162424,8.6630303 11.8273939,3.25090909 5.20436364,3.25090909 L5.20436364,5.56339394 L5.20436364,5.56339394 Z M8.40218182,13.7008485 C8.40218182,14.5852121 7.68484848,15.3025455 6.80048485,15.3025455 C5.91612121,15.3025455 5.19878788,14.5854545 5.19878788,13.7008485 C5.19878788,12.816 5.91587879,12.0991515 6.80024242,12.0991515 C7.68460606,12.0991515 8.40218182,12.816 8.40218182,13.7008485 Z"},"[tiktok]":{filename:"tiktok@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M15.892,4.466 C14.638,3.65 13.88,2.256 13.878,0.76 L10.699,0.76 L10.694,13.497 C10.638,14.958 9.418,16.102 7.957,16.064 C6.496,16.027 5.337,14.821 5.356,13.36 C5.375,11.899 6.566,10.724 8.027,10.725 C8.295,10.726 8.561,10.768 8.816,10.849 L8.816,7.604 C8.554,7.567 8.291,7.548 8.027,7.547 C4.801,7.547 2.177,10.171 2.177,13.397 C2.182,16.626 4.799,19.243 8.029,19.247 C11.254,19.247 13.878,16.623 13.878,13.397 L13.878,6.938 C15.166,7.865 16.713,8.363 18.3,8.361 L18.3,5.182 C17.445,5.182 16.608,4.934 15.892,4.466 z",svgRectPath:"M18,0 C19.102,0 20,0.895 20,2 L20,18 C20,19.102 19.105,20 18,20 L2,20 C0.898,20 0,19.105 0,18 L0,2 C0,0.898 0.895,0 2,0 L18,0 z M12.898,2.641 L10.367,2.641 L10.362,12.781 C10.318,13.944 9.347,14.855 8.184,14.825 C7.02,14.795 6.098,13.835 6.113,12.672 C6.128,11.509 7.076,10.574 8.24,10.575 C8.453,10.575 8.664,10.608 8.867,10.673 L8.867,8.09 C8.659,8.061 8.45,8.045 8.24,8.044 C5.672,8.044 3.582,10.133 3.582,12.701 C3.586,15.272 5.67,17.355 8.241,17.359 C10.808,17.359 12.898,15.27 12.898,12.701 L12.898,7.56 C13.923,8.297 15.154,8.694 16.418,8.692 L16.417,6.161 C15.737,6.162 15.071,5.964 14.501,5.592 C13.502,4.942 12.899,3.833 12.898,2.641 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 C0,4.477 4.477,0 10,0 z M12.898,2.641 L10.367,2.641 L10.362,12.781 C10.318,13.944 9.347,14.855 8.184,14.825 C7.02,14.795 6.098,13.835 6.113,12.672 C6.128,11.509 7.076,10.574 8.24,10.575 C8.453,10.575 8.664,10.608 8.867,10.673 L8.867,8.09 C8.659,8.061 8.45,8.045 8.24,8.044 C5.672,8.044 3.582,10.133 3.582,12.701 C3.586,15.272 5.67,17.355 8.241,17.359 C10.808,17.359 12.898,15.27 12.898,12.701 L12.898,7.56 C13.923,8.297 15.154,8.694 16.418,8.692 L16.417,6.161 C15.737,6.162 15.071,5.964 14.501,5.592 C13.502,4.942 12.899,3.833 12.898,2.641 z"},"[tumblr]":{filename:"tumblr@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M8.525,2.112 L10.775,2.112 L10.775,5.772 L14.435,5.772 L14.435,8.598 L10.775,8.598 L10.775,12.656 C10.775,13.574 10.764,14.104 10.861,14.364 C10.958,14.623 11.2,14.892 11.464,15.047 C11.815,15.257 12.214,15.362 12.665,15.362 C13.466,15.362 14.264,15.101 15.056,14.581 L15.056,17.077 C14.381,17.395 13.768,17.619 13.22,17.747 C12.671,17.874 12.079,17.939 11.441,17.939 C10.718,17.939 10.29,17.847 9.735,17.666 C9.179,17.482 8.705,17.22 8.312,16.884 C7.919,16.546 7.647,16.186 7.495,15.806 C7.343,15.424 7.267,14.872 7.267,14.148 L7.267,8.598 L5.117,8.598 L5.117,6.356 C5.739,6.154 6.459,5.865 6.901,5.488 C7.346,5.11 7.702,4.657 7.97,4.128 C8.239,3.6 8.424,2.928 8.525,2.112 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 M8.525,2.1117628 L10.775,2.1117628 L10.775,5.7717628 L14.435,5.7717628 L14.435,8.5980128 L10.775,8.5980128 L10.775,12.6555128 C10.775,13.573652 10.7644516,14.1040964 10.86125,14.3642628 C10.9580484,14.6231424 11.2000464,14.8917564 11.46375,15.0467628 C11.8149264,15.2570828 12.2141308,15.3617628 12.665,15.3617628 C13.4664024,15.3617628 14.2635308,15.1011668 15.05625,14.5805128 L15.05625,17.0767628 C14.3809108,17.3951364 13.7683104,17.6194132 13.22,17.7467628 C12.671046,17.8741124 12.0786408,17.9392628 11.44125,17.9392628 C10.7176728,17.9392628 10.290386,17.8472112 9.735,17.6655128 C9.1786492,17.4815636 8.7045184,17.220324 8.3125,16.8842628 C7.9185528,16.5456284 7.64679,16.1859536 7.495,15.8055128 C7.3428876,15.4241072 7.2675,14.87159 7.2675,14.1480128 L7.2675,8.5980128 L5.1175,8.5980128 L5.1175,6.3555128 C5.7391332,6.153876 6.4587424,5.8649164 6.90125,5.4880128 C7.3456872,5.1098232 7.7024376,4.6570284 7.97,4.1280128 C8.2394924,3.6002836 8.4236992,2.9276364 8.525,2.1117628 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 M8.525,2.1117628 L10.775,2.1117628 L10.775,5.7717628 L14.435,5.7717628 L14.435,8.5980128 L10.775,8.5980128 L10.775,12.6555128 C10.775,13.573652 10.7644516,14.1040964 10.86125,14.3642628 C10.9580484,14.6231424 11.2000464,14.8917564 11.46375,15.0467628 C11.8149264,15.2570828 12.2141308,15.3617628 12.665,15.3617628 C13.4664024,15.3617628 14.2635308,15.1011668 15.05625,14.5805128 L15.05625,17.0767628 C14.3809108,17.3951364 13.7683104,17.6194132 13.22,17.7467628 C12.671046,17.8741124 12.0786408,17.9392628 11.44125,17.9392628 C10.7176728,17.9392628 10.290386,17.8472112 9.735,17.6655128 C9.1786492,17.4815636 8.7045184,17.220324 8.3125,16.8842628 C7.9185528,16.5456284 7.64679,16.1859536 7.495,15.8055128 C7.3428876,15.4241072 7.2675,14.87159 7.2675,14.1480128 L7.2675,8.5980128 L5.1175,8.5980128 L5.1175,6.3555128 C5.7391332,6.153876 6.4587424,5.8649164 6.90125,5.4880128 C7.3456872,5.1098232 7.7024376,4.6570284 7.97,4.1280128 C8.2394924,3.6002836 8.4236992,2.9276364 8.525,2.1117628 Z"},"[twitter]":{filename:"twitter@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M16.444,5.385 C17.161,4.964 17.709,4.297 17.968,3.502 C17.3,3.891 16.559,4.174 15.769,4.327 C15.138,3.665 14.239,3.251 13.244,3.251 C11.333,3.251 9.784,4.775 9.784,6.659 C9.784,6.923 9.815,7.185 9.872,7.436 C6.997,7.29 4.447,5.935 2.741,3.875 C2.444,4.378 2.271,4.963 2.271,5.589 C2.271,6.769 2.884,7.813 3.81,8.424 C3.244,8.406 2.71,8.253 2.244,7.998 C2.244,8.011 2.244,8.026 2.244,8.041 C2.244,9.691 3.436,11.069 5.02,11.382 C4.731,11.458 4.424,11.503 4.107,11.503 C3.884,11.503 3.668,11.482 3.458,11.442 C3.896,12.795 5.173,13.78 6.688,13.809 C5.508,14.721 4.015,15.267 2.394,15.267 C2.116,15.267 1.839,15.252 1.567,15.219 C3.098,16.186 4.918,16.749 6.872,16.749 C13.236,16.749 16.717,11.557 16.717,7.053 C16.717,6.907 16.713,6.757 16.706,6.614 C17.381,6.132 17.969,5.531 18.433,4.849 C17.812,5.121 17.146,5.302 16.444,5.385 L16.444,5.385 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 M14.76875,6.580625 C15.3,6.269375 15.70625,5.775 15.8975,5.18625 C15.4025,5.474375 14.85375,5.684375 14.269375,5.7975 C13.801875,5.306875 13.135625,5 12.39875,5 C10.9825,5 9.83625,6.129375 9.83625,7.52375 C9.83625,7.72 9.85875,7.914375 9.90125,8.1 C7.771875,7.9925 5.883125,6.988125 4.61875,5.461875 C4.39875,5.835 4.27125,6.268125 4.27125,6.731875 C4.27125,7.60625 4.725,8.37875 5.41125,8.831875 C4.991875,8.818125 4.59625,8.705 4.25125,8.515625 C4.250625,8.52625 4.250625,8.536875 4.250625,8.548125 C4.250625,9.77 5.134375,10.79125 6.306875,11.023125 C6.0925,11.079375 5.86625,11.111875 5.63125,11.111875 C5.46625,11.111875 5.30625,11.096875 5.15,11.066875 C5.475,12.069375 6.42125,12.79875 7.5425,12.82 C6.66875,13.49625 5.5625,13.9 4.361875,13.9 C4.155625,13.9 3.950625,13.88875 3.75,13.865 C4.88375,14.580625 6.231875,14.998125 7.679375,14.998125 C12.3925,14.998125 14.970625,11.151875 14.970625,7.81625 C14.970625,7.708125 14.9675,7.5975 14.963125,7.490625 C15.463125,7.13375 15.89875,6.689375 16.241875,6.18375 C15.781875,6.385 15.28875,6.519375 14.76875,6.580625 Z",svgCircPath:"M10,0 C4.4771525,0 8.8817842e-16,4.47593818 8.8817842e-16,10 C8.8817842e-16,15.5228475 4.47593818,20 10,20 C15.5228475,20 20,15.5240618 20,10 C20,4.4771525 15.5240618,0 10,0 Z M15.76875,6.580625 C16.3,6.269375 16.70625,5.775 16.8975,5.18625 C16.4025,5.474375 15.85375,5.684375 15.269375,5.7975 C14.801875,5.306875 14.135625,5 13.39875,5 C11.9825,5 10.83625,6.129375 10.83625,7.52375 C10.83625,7.72 10.85875,7.914375 10.90125,8.1 C8.771875,7.9925 6.883125,6.988125 5.61875,5.461875 C5.39875,5.835 5.27125,6.268125 5.27125,6.731875 C5.27125,7.60625 5.725,8.37875 6.41125,8.831875 C5.991875,8.818125 5.59625,8.705 5.25125,8.515625 C5.250625,8.52625 5.250625,8.536875 5.250625,8.548125 C5.250625,9.77 6.134375,10.79125 7.306875,11.023125 C7.0925,11.079375 6.86625,11.111875 6.63125,11.111875 C6.46625,11.111875 6.30625,11.096875 6.15,11.066875 C6.475,12.069375 7.42125,12.79875 8.5425,12.82 C7.66875,13.49625 6.5625,13.9 5.361875,13.9 C5.155625,13.9 4.950625,13.88875 4.75,13.865 C5.88375,14.580625 7.231875,14.998125 8.679375,14.998125 C13.3925,14.998125 15.970625,11.151875 15.970625,7.81625 C15.970625,7.708125 15.9675,7.5975 15.963125,7.490625 C16.463125,7.13375 16.89875,6.689375 17.241875,6.18375 C16.781875,6.385 16.28875,6.519375 15.76875,6.580625 Z"},"[vimeo]":{filename:"vimeo@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M15.449,3.064 C17.015,3.032 18.307,4.052 17.889,6.407 C16.997,11.433 12.01,15.689 10.511,16.661 C9.011,17.634 7.643,16.272 7.148,15.243 C6.579,14.068 4.878,7.705 4.432,7.177 C3.987,6.651 2.649,7.705 2.649,7.705 L2,6.854 C2,6.854 4.716,3.611 6.782,3.205 C8.974,2.775 8.97,6.569 9.498,8.676 C10.007,10.714 10.35,11.88 10.795,11.88 C11.241,11.88 12.092,10.743 13.024,9.001 C13.957,7.258 12.984,5.717 11.16,6.812 C11.547,4.487 13.674,3.1 15.449,3.064 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 M15.44875,3.06375 C17.0146248,3.03195936 18.3067688,4.0521372 17.88875,6.4075 C16.9966544,11.4329184 12.0102292,15.6888172 10.51125,16.66125 C9.0113028,17.634332 7.6433952,16.2723624 7.1475,15.2425 C6.5793332,14.0680956 4.8783864,7.7046908 4.4325,7.1775 C3.9866132,6.6506304 2.64875,7.705 2.64875,7.705 L2,6.85375 C2,6.85375 4.7156772,3.6105564 6.7825,3.205 C8.9738612,2.774922 8.9699856,6.5694196 9.4975,8.67625 C10.0072684,10.7140348 10.3500808,11.88 10.795,11.88 C11.2405632,11.88 12.0916468,10.743176 13.02375,9.00125 C13.9571436,7.2577112 12.9835536,5.717142 11.16,6.8125 C11.547368,4.4867496 13.674092,3.0997794 15.44875,3.06375 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 M14.7676563,4.05919643 C16.1377967,4.02967655 17.2684227,4.97698454 16.9026563,7.16410714 C16.1220726,11.8305671 11.7589506,15.7824731 10.4473438,16.6854464 C9.13488995,17.5890226 7.9379708,16.3243365 7.5040625,15.3680357 C7.00691655,14.2775173 5.5185881,8.36864146 5.1284375,7.87910714 C4.73828655,7.38987109 3.56765625,8.36892857 3.56765625,8.36892857 L3,7.57848214 C3,7.57848214 5.37621755,4.56694523 7.1846875,4.19035714 C9.10212855,3.790999 9.0987374,7.31446106 9.5603125,9.27080357 C10.0063599,11.1630323 10.3063207,12.2457143 10.695625,12.2457143 C11.0854928,12.2457143 11.830191,11.190092 12.6457813,9.57258929 C13.4625007,7.95358897 12.6106094,6.52306043 11.015,7.54017857 C11.353947,5.3805532 13.2148305,4.0926523 14.7676563,4.05919643 Z"},"[vsco]":{filename:"vsco@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,0 C4.48,0 0,4.48 0,10 C0,15.52 4.48,20 10,20 C15.52,20 20,15.52 20,10 C20,4.48 15.52,0 10,0 z M19.6,10 C19.6,10.34 19.581,10.66 19.54,10.98 L17.84,10.78 C17.86,10.52 17.882,10.26 17.882,10 C17.882,9.76 17.861,9.5 17.84,9.26 L19.54,9.06 C19.6,9.38 19.6,9.68 19.6,10 z M0.399,10 C0.399,9.68 0.419,9.359 0.44,9.04 L2.14,9.24 C2.12,9.5 2.101,9.74 2.101,10 C2.101,10.26 2.12,10.5 2.14,10.76 L0.44,10.96 C0.399,10.641 0.399,10.32 0.399,10 z M17.459,7.42 L19.06,6.82 C19.28,7.42 19.421,8.04 19.52,8.68 L17.82,8.88 C17.739,8.38 17.62,7.88 17.459,7.42 z M17.5,10 C17.5,10.5 17.44,10.98 17.361,11.46 L15.68,11.081 C15.739,10.74 15.779,10.38 15.779,10 C15.779,9.62 15.739,9.24 15.68,8.88 L17.361,8.499 C17.459,8.98 17.5,9.48 17.5,10 z M10,15.38 C7.029,15.379 4.621,12.971 4.62,10 C4.621,7.029 7.029,4.621 10,4.62 C12.971,4.621 15.379,7.029 15.38,10 C15.387,12.966 12.988,15.373 10.023,15.38 L10,15.38 z M10.18,17.5 L10.18,15.78 C10.917,15.756 11.643,15.593 12.32,15.301 L13.06,16.861 C12.152,17.263 11.173,17.479 10.18,17.5 z M6.9,16.841 L7.66,15.28 C8.32,15.579 9.04,15.759 9.8,15.78 L9.8,17.5 C8.798,17.481 7.812,17.256 6.9,16.841 z M2.5,10 C2.5,9.48 2.56,8.98 2.66,8.48 L4.34,8.86 C4.258,9.235 4.218,9.617 4.22,10 C4.22,10.36 4.26,10.72 4.32,11.06 L2.64,11.439 C2.543,10.966 2.495,10.483 2.5,10 z M9.8,2.5 L9.8,4.22 C9.069,4.244 8.35,4.407 7.68,4.7 L6.94,3.141 C7.843,2.743 8.814,2.525 9.8,2.5 z M13.079,3.16 L12.32,4.72 C11.646,4.418 10.918,4.254 10.18,4.24 L10.18,2.52 C11.22,2.52 12.2,2.76 13.079,3.16 z M17.319,7.04 C17.127,6.573 16.892,6.125 16.619,5.7 L18.02,4.74 C18.359,5.28 18.66,5.84 18.9,6.44 L17.319,7.04 z M17.261,8.12 L15.579,8.5 C15.387,7.792 15.062,7.127 14.62,6.54 L15.98,5.461 C16.58,6.26 17.02,7.14 17.261,8.12 z M14.38,6.24 C13.903,5.684 13.327,5.223 12.68,4.879 L13.44,3.32 C14.32,3.778 15.101,4.403 15.74,5.16 L14.38,6.24 z M13.88,3.12 L14.68,1.6 C15.24,1.92 15.759,2.28 16.26,2.7 L15.121,4 C14.737,3.666 14.322,3.372 13.88,3.12 z M13.54,2.94 C13.09,2.718 12.622,2.538 12.14,2.4 L12.56,0.74 C13.18,0.92 13.78,1.14 14.359,1.44 L13.54,2.94 z M11.74,2.3 C11.24,2.18 10.74,2.12 10.22,2.101 L10.22,0.399 C10.881,0.419 11.54,0.499 12.16,0.64 L11.74,2.3 z M9.84,2.101 C9.336,2.118 8.834,2.179 8.34,2.281 L7.94,0.62 C8.54,0.48 9.179,0.399 9.84,0.399 L9.84,2.101 z M7.94,2.379 C7.452,2.518 6.977,2.699 6.52,2.92 L5.72,1.4 C6.296,1.114 6.899,0.887 7.52,0.72 L7.94,2.379 z M6.18,3.1 C5.739,3.345 5.324,3.633 4.94,3.96 L3.8,2.68 C4.3,2.26 4.82,1.9 5.38,1.581 L6.18,3.1 z M6.58,3.32 L7.32,4.879 C6.66,5.219 6.1,5.679 5.62,6.219 L4.28,5.14 C4.926,4.394 5.706,3.777 6.58,3.32 z M4.04,5.46 L5.38,6.539 C4.938,7.127 4.613,7.792 4.42,8.5 L2.74,8.12 C3,7.12 3.44,6.22 4.04,5.46 z M2.7,7 L1.1,6.4 C1.339,5.8 1.64,5.22 2,4.7 L3.4,5.68 C3.116,6.092 2.881,6.534 2.7,7 z M2.56,7.379 C2.4,7.86 2.26,8.339 2.2,8.859 L0.5,8.661 C0.6,8.02 0.74,7.38 0.961,6.78 L2.56,7.379 z M2.18,11.14 C2.26,11.64 2.379,12.14 2.54,12.62 L0.94,13.22 C0.714,12.613 0.56,11.983 0.48,11.339 L2.18,11.14 z M2.7,12.98 C2.899,13.46 3.14,13.9 3.4,14.319 L2,15.28 C1.638,14.756 1.336,14.192 1.1,13.6 L2.7,12.98 z M2.72,11.82 L4.401,11.44 C4.581,12.16 4.921,12.841 5.341,13.42 L4,14.5 C3.396,13.703 2.961,12.791 2.72,11.82 z M5.58,13.72 C6.061,14.28 6.64,14.76 7.3,15.1 L6.54,16.66 C5.654,16.196 4.866,15.564 4.22,14.8 L5.58,13.72 z M6.18,16.899 L5.38,18.42 C4.818,18.107 4.288,17.737 3.8,17.319 L4.94,16.04 C5.32,16.379 5.72,16.66 6.18,16.899 z M6.52,17.08 C6.96,17.3 7.44,17.48 7.941,17.619 L7.521,19.279 C6.898,19.116 6.295,18.888 5.721,18.6 L6.52,17.08 z M8.32,17.72 C8.8,17.82 9.3,17.881 9.82,17.901 L9.82,19.6 C9.175,19.578 8.533,19.505 7.899,19.38 L8.32,17.72 z M10.22,17.9 C10.724,17.882 11.226,17.822 11.721,17.719 L12.12,19.379 C11.496,19.519 10.859,19.599 10.22,19.618 L10.22,17.9 z M12.101,17.62 C12.589,17.483 13.063,17.302 13.52,17.081 L14.32,18.601 C13.747,18.892 13.143,19.12 12.521,19.28 L12.101,17.62 z M13.839,16.899 C14.279,16.66 14.699,16.36 15.079,16.04 L16.22,17.319 C15.73,17.737 15.201,18.107 14.64,18.42 L13.839,16.899 z M13.44,16.68 L12.7,15.121 C13.357,14.776 13.941,14.307 14.42,13.741 L15.758,14.821 C15.11,15.579 14.323,16.211 13.44,16.68 z M15.999,14.52 L14.66,13.44 C15.103,12.85 15.423,12.176 15.6,11.46 L17.281,11.84 C17.022,12.804 16.588,13.713 15.999,14.52 z M17.3,13 L18.9,13.601 C18.66,14.201 18.36,14.761 18.001,15.301 L16.599,14.32 C16.88,13.9 17.119,13.46 17.3,13 z M17.44,12.621 C17.6,12.16 17.72,11.661 17.801,11.161 L19.5,11.36 C19.408,11.994 19.255,12.617 19.041,13.22 L17.44,12.621 z M17.82,4.42 L16.419,5.38 C16.121,4.972 15.786,4.591 15.42,4.24 L16.56,2.96 C17.02,3.42 17.44,3.9 17.82,4.42 z M3.5,2.94 L4.64,4.22 C4.26,4.56 3.94,4.94 3.64,5.36 L2.24,4.38 C2.599,3.85 3.023,3.367 3.5,2.94 z M2.22,15.62 L3.62,14.66 C3.92,15.06 4.261,15.441 4.62,15.801 L3.48,17.08 C3.023,16.626 2.602,16.138 2.22,15.62 z M16.52,17.061 L15.38,15.78 C15.74,15.441 16.081,15.061 16.379,14.66 L17.781,15.64 C17.4,16.14 16.98,16.619 16.52,17.061 z", svgRectPath:"M18,0 C19.102,0 20,0.895 20,2 L20,18 C20,19.102 19.105,20 18,20 L2,20 C0.898,20 0,19.105 0,18 L0,2 C0,0.898 0.895,0 2,0 L18,0 z M10,0.55 C4.784,0.55 0.55,4.784 0.55,10 C0.55,15.216 4.784,19.45 10,19.45 C15.216,19.45 19.45,15.216 19.45,10 C19.45,4.784 15.216,0.55 10,0.55 z M11.626,17.295 L12.003,18.863 C11.414,18.996 10.812,19.071 10.208,19.089 L10.208,17.465 C10.684,17.449 11.158,17.391 11.626,17.295 z M8.412,17.295 C8.866,17.39 9.339,17.447 9.83,17.466 L9.83,19.072 C9.22,19.052 8.614,18.982 8.015,18.864 L8.412,17.295 z M13.326,16.691 L14.082,18.128 C13.541,18.403 12.97,18.618 12.382,18.77 L11.985,17.201 C12.447,17.071 12.895,16.9 13.326,16.691 z M6.711,16.691 C7.127,16.899 7.581,17.069 8.054,17.2 L7.657,18.769 C7.069,18.614 6.499,18.399 5.956,18.127 L6.711,16.691 z M14.8,15.708 L15.878,16.917 C15.415,17.312 14.915,17.661 14.385,17.957 L13.628,16.52 C14.044,16.294 14.441,16.01 14.8,15.708 z M5.218,15.708 C5.577,16.028 5.955,16.294 6.39,16.52 L5.634,17.957 C5.103,17.661 4.602,17.312 4.141,16.917 L5.218,15.708 z M7.789,14.99 C8.412,15.272 9.093,15.442 9.811,15.462 L9.811,17.087 C8.864,17.069 7.932,16.857 7.07,16.465 L7.789,14.99 z M12.192,15.009 L12.892,16.483 C12.033,16.863 11.109,17.068 10.17,17.087 L10.17,15.462 C10.867,15.439 11.553,15.286 12.192,15.009 z M3.971,14.404 C4.254,14.782 4.576,15.142 4.916,15.482 L3.839,16.691 C3.407,16.261 3.009,15.8 2.648,15.311 L3.971,14.404 z M16.028,14.404 L17.353,15.33 C16.993,15.802 16.596,16.255 16.161,16.672 L15.084,15.462 C15.424,15.142 15.746,14.782 16.028,14.404 z M14.177,13.535 L15.442,14.556 C14.829,15.272 14.086,15.869 13.251,16.313 L12.551,14.839 C13.172,14.513 13.724,14.07 14.177,13.535 z M5.823,13.515 C6.277,14.045 6.825,14.498 7.449,14.819 L6.73,16.294 C5.893,15.855 5.148,15.258 4.538,14.536 L5.823,13.515 z M10,4.916 C12.807,4.917 15.083,7.193 15.084,10 C15.09,12.803 12.823,15.078 10.021,15.084 L10,15.084 C7.193,15.083 4.917,12.807 4.916,10 C4.917,7.193 7.193,4.917 10,4.916 z M16.898,12.835 L18.41,13.403 C18.184,13.97 17.9,14.499 17.561,15.009 L16.236,14.082 C16.502,13.686 16.728,13.27 16.899,12.835 z M3.102,12.816 C3.29,13.27 3.517,13.686 3.763,14.082 L2.44,14.99 C2.097,14.494 1.812,13.961 1.59,13.402 L3.102,12.816 z M15.292,11.38 L16.88,11.739 C16.635,12.65 16.226,13.509 15.669,14.271 L14.404,13.251 C14.823,12.693 15.125,12.056 15.292,11.38 z M4.709,11.361 C4.879,12.041 5.2,12.685 5.597,13.232 L4.33,14.252 C3.759,13.499 3.348,12.637 3.12,11.72 L4.709,11.361 z M17.372,11.097 L18.977,11.285 C18.891,11.884 18.746,12.473 18.544,13.043 L17.031,12.477 C17.182,12.041 17.295,11.569 17.372,11.097 z M2.61,11.077 C2.686,11.55 2.798,12.022 2.95,12.476 L1.438,13.043 C1.225,12.47 1.079,11.873 1.004,11.266 L2.61,11.077 z M16.956,8.582 C17.049,9.036 17.087,9.509 17.087,10 C17.087,10.472 17.031,10.926 16.956,11.38 L15.368,11.021 C15.424,10.699 15.461,10.359 15.461,10 C15.461,9.641 15.424,9.282 15.368,8.942 L16.956,8.582 z M3.064,8.564 L4.651,8.923 C4.574,9.277 4.536,9.638 4.538,10 C4.538,10.34 4.576,10.68 4.632,11.002 L3.045,11.36 C2.953,10.913 2.908,10.457 2.913,10 C2.913,9.509 2.969,9.036 3.064,8.564 z M19.015,9.112 C19.072,9.414 19.072,9.698 19.072,10 C19.072,10.321 19.054,10.624 19.015,10.926 L17.409,10.737 C17.428,10.491 17.448,10.246 17.448,10 C17.448,9.773 17.428,9.528 17.409,9.301 L19.015,9.112 z M0.966,9.093 L2.572,9.282 C2.553,9.528 2.535,9.754 2.535,10 C2.535,10.246 2.553,10.472 2.572,10.718 L0.966,10.907 C0.927,10.606 0.927,10.302 0.927,10 C0.927,9.698 0.946,9.394 0.966,9.093 z M18.562,6.995 C18.77,7.562 18.903,8.148 18.996,8.753 L17.39,8.942 C17.314,8.469 17.201,7.997 17.049,7.562 L18.562,6.995 z M1.458,6.957 L2.969,7.523 C2.818,7.978 2.686,8.431 2.629,8.922 L1.023,8.734 C1.117,8.129 1.249,7.524 1.458,6.957 z M4.368,5.71 L5.634,6.729 C5.217,7.285 4.909,7.913 4.727,8.583 L3.139,8.223 C3.385,7.278 3.801,6.428 4.368,5.71 z M15.651,5.71 C16.218,6.466 16.634,7.297 16.861,8.223 L15.272,8.583 C15.091,7.913 14.783,7.285 14.366,6.73 L15.651,5.71 z M17.579,5.029 C17.899,5.54 18.184,6.069 18.41,6.636 L16.917,7.203 C16.735,6.762 16.513,6.338 16.255,5.937 L17.579,5.029 z M2.44,4.991 L3.763,5.918 C3.494,6.307 3.272,6.725 3.102,7.165 L1.589,6.598 C1.816,6.031 2.1,5.483 2.44,4.991 z M13.251,3.687 C14.082,4.12 14.82,4.71 15.424,5.426 L14.139,6.447 C13.689,5.922 13.144,5.486 12.533,5.161 L13.251,3.687 z M6.768,3.687 L7.467,5.161 C6.844,5.482 6.315,5.917 5.861,6.427 L4.595,5.407 C5.205,4.702 5.942,4.119 6.768,3.687 z M16.199,3.347 C16.634,3.782 17.031,4.236 17.39,4.727 L16.066,5.634 C15.784,5.248 15.468,4.888 15.122,4.557 L16.199,3.347 z M3.858,3.328 L4.935,4.538 C4.576,4.859 4.273,5.218 3.99,5.615 L2.667,4.689 C3.006,4.188 3.407,3.732 3.858,3.328 z M10.17,2.931 C11.153,2.931 12.079,3.158 12.91,3.536 L12.192,5.01 C11.555,4.725 10.868,4.57 10.17,4.557 L10.17,2.931 z M9.811,2.912 L9.811,4.538 C9.12,4.561 8.441,4.714 7.808,4.991 L7.108,3.518 C7.961,3.142 8.879,2.936 9.811,2.913 z M14.423,2.062 C14.952,2.364 15.442,2.705 15.916,3.102 L14.839,4.33 C14.476,4.014 14.084,3.736 13.667,3.498 L14.423,2.062 z M5.634,2.044 L6.39,3.48 C5.974,3.711 5.581,3.984 5.218,4.292 L4.141,3.083 C4.614,2.686 5.105,2.346 5.634,2.044 z M12.419,1.249 C13.005,1.419 13.572,1.627 14.119,1.911 L13.345,3.328 C12.92,3.119 12.477,2.948 12.022,2.818 L12.419,1.249 z M7.656,1.23 L8.053,2.798 C7.592,2.93 7.143,3.101 6.711,3.309 L5.955,1.873 C6.5,1.603 7.07,1.388 7.656,1.23 z M10.208,0.927 C10.832,0.946 11.455,1.022 12.041,1.155 L11.644,2.724 C11.172,2.61 10.699,2.553 10.208,2.535 L10.208,0.927 z M9.849,0.927 L9.849,2.535 C9.372,2.552 8.898,2.609 8.431,2.705 L8.053,1.136 C8.62,1.004 9.224,0.927 9.849,0.927 z",svgCircPath:"M10,-0 C15.524,0 20,4.477 20,10 C20,15.524 15.523,20 10,20 C4.476,20 0,15.523 0,10 C0,4.476 4.477,0 10,-0 z M10,0.5 C4.756,0.5 0.5,4.756 0.5,10 C0.5,15.244 4.756,19.5 10,19.5 C15.244,19.5 19.5,15.244 19.5,10 C19.5,4.756 15.244,0.5 10,0.5 z M11.635,17.333 L12.014,18.91 C11.421,19.043 10.816,19.119 10.209,19.137 L10.209,17.505 C10.688,17.488 11.165,17.431 11.635,17.333 z M8.404,17.334 C8.86,17.429 9.335,17.487 9.829,17.506 L9.829,19.12 C9.216,19.099 8.607,19.03 8.004,18.911 L8.404,17.334 z M13.344,16.727 L14.104,18.171 C13.559,18.448 12.986,18.664 12.395,18.816 L11.996,17.239 C12.46,17.108 12.91,16.937 13.344,16.727 z M6.694,16.726 C7.112,16.935 7.568,17.106 8.044,17.238 L7.645,18.815 C7.053,18.66 6.48,18.444 5.935,18.17 L6.694,16.726 z M14.825,15.738 L15.909,16.953 C15.444,17.351 14.941,17.701 14.408,17.999 L13.647,16.554 C14.065,16.327 14.464,16.042 14.825,15.738 z M5.193,15.738 C5.554,16.06 5.934,16.327 6.371,16.554 L5.611,17.999 C5.077,17.701 4.574,17.351 4.11,16.953 L5.193,15.738 z M7.777,15.016 C8.404,15.3 9.088,15.471 9.81,15.491 L9.81,17.125 C8.858,17.107 7.921,16.893 7.055,16.499 L7.777,15.016 z M12.204,15.036 L12.907,16.518 C12.044,16.899 11.115,17.105 10.171,17.125 L10.171,15.491 C10.872,15.468 11.561,15.314 12.204,15.036 z M3.939,14.427 C4.224,14.807 4.548,15.169 4.889,15.511 L3.806,16.726 C3.372,16.295 2.972,15.831 2.609,15.339 L3.939,14.427 z M16.06,14.427 L17.392,15.358 C17.03,15.833 16.631,16.288 16.194,16.708 L15.111,15.491 C15.453,15.169 15.777,14.808 16.06,14.427 z M14.199,13.554 L15.47,14.58 C14.854,15.3 14.107,15.9 13.268,16.346 L12.565,14.865 C13.189,14.537 13.744,14.091 14.199,13.554 z M5.801,13.534 C6.258,14.066 6.808,14.522 7.435,14.845 L6.713,16.327 C5.871,15.886 5.123,15.286 4.509,14.56 L5.801,13.534 z M10,4.889 C12.822,4.89 15.11,7.178 15.111,10 C15.117,12.818 12.838,15.105 10.021,15.111 L10,15.111 C7.178,15.11 4.89,12.822 4.889,10 C4.89,7.178 7.178,4.89 10,4.889 z M16.935,12.85 L18.455,13.421 C18.227,13.991 17.942,14.523 17.601,15.036 L16.269,14.104 C16.536,13.705 16.763,13.287 16.935,12.85 z M3.065,12.831 C3.254,13.287 3.483,13.705 3.73,14.103 L2.4,15.016 C2.056,14.518 1.769,13.982 1.545,13.42 L3.065,12.831 z M15.32,11.387 L16.917,11.748 C16.671,12.664 16.259,13.528 15.699,14.294 L14.427,13.268 C14.848,12.708 15.152,12.067 15.32,11.387 z M4.681,11.368 C4.852,12.052 5.175,12.699 5.574,13.249 L4.3,14.275 C3.726,13.517 3.313,12.651 3.084,11.729 L4.681,11.368 z M17.411,11.103 L19.025,11.292 C18.938,11.894 18.792,12.486 18.589,13.059 L17.068,12.49 C17.22,12.052 17.334,11.578 17.411,11.103 z M2.571,11.083 C2.647,11.558 2.76,12.033 2.913,12.489 L1.393,13.059 C1.178,12.483 1.032,11.883 0.956,11.272 L2.571,11.083 z M16.993,8.574 C17.086,9.031 17.125,9.506 17.125,10 C17.125,10.475 17.068,10.931 16.993,11.387 L15.396,11.027 C15.452,10.703 15.49,10.361 15.49,10 C15.49,9.639 15.452,9.278 15.396,8.936 L16.993,8.574 z M3.027,8.556 L4.623,8.917 C4.545,9.273 4.507,9.636 4.509,10 C4.509,10.342 4.547,10.684 4.604,11.007 L3.008,11.367 C2.915,10.918 2.87,10.459 2.875,10 C2.875,9.506 2.932,9.031 3.027,8.556 z M19.063,9.107 C19.12,9.411 19.12,9.696 19.12,10 C19.12,10.323 19.102,10.627 19.063,10.931 L17.448,10.741 C17.467,10.494 17.488,10.247 17.488,10 C17.488,9.772 17.468,9.525 17.448,9.297 L19.063,9.107 z M0.918,9.088 L2.533,9.278 C2.514,9.525 2.496,9.753 2.496,10 C2.496,10.247 2.514,10.475 2.533,10.722 L0.918,10.912 C0.879,10.609 0.879,10.304 0.879,10 C0.879,9.696 0.898,9.391 0.918,9.088 z M18.607,6.979 C18.816,7.549 18.95,8.138 19.044,8.746 L17.429,8.936 C17.352,8.461 17.239,7.986 17.086,7.549 L18.607,6.979 z M1.413,6.941 L2.932,7.51 C2.78,7.967 2.647,8.422 2.59,8.916 L0.975,8.728 C1.07,8.119 1.203,7.511 1.413,6.941 z M4.338,5.687 L5.611,6.712 C5.191,7.27 4.882,7.902 4.699,8.575 L3.103,8.214 C3.35,7.264 3.768,6.409 4.338,5.687 z M15.681,5.688 C16.251,6.447 16.669,7.283 16.898,8.214 L15.3,8.575 C15.118,7.902 14.809,7.27 14.389,6.713 L15.681,5.688 z M17.619,5.003 C17.941,5.516 18.227,6.048 18.455,6.618 L16.953,7.188 C16.77,6.745 16.547,6.319 16.288,5.915 L17.619,5.003 z M2.4,4.965 L3.73,5.896 C3.46,6.287 3.237,6.707 3.065,7.15 L1.545,6.58 C1.772,6.01 2.058,5.459 2.4,4.965 z M13.268,3.654 C14.104,4.089 14.846,4.682 15.453,5.402 L14.161,6.428 C13.708,5.9 13.16,5.462 12.546,5.135 L13.268,3.654 z M6.751,3.654 L7.454,5.135 C6.827,5.458 6.295,5.895 5.839,6.408 L4.566,5.383 C5.18,4.674 5.921,4.088 6.751,3.654 z M16.232,3.312 C16.669,3.749 17.068,4.205 17.429,4.699 L16.098,5.611 C15.815,5.223 15.497,4.861 15.149,4.528 L16.232,3.312 z M3.825,3.293 L4.908,4.509 C4.547,4.832 4.243,5.193 3.958,5.592 L2.628,4.661 C2.969,4.157 3.372,3.698 3.825,3.293 z M10.171,2.894 C11.159,2.894 12.09,3.122 12.925,3.502 L12.204,4.984 C11.564,4.697 10.872,4.541 10.171,4.528 L10.171,2.894 z M9.81,2.875 L9.81,4.509 C9.116,4.532 8.432,4.686 7.796,4.965 L7.093,3.484 C7.95,3.105 8.873,2.899 9.81,2.875 z M14.446,2.02 C14.978,2.324 15.471,2.666 15.947,3.065 L14.865,4.3 C14.5,3.983 14.106,3.703 13.686,3.464 L14.446,2.02 z M5.611,2.002 L6.371,3.445 C5.952,3.678 5.558,3.952 5.193,4.262 L4.11,3.046 C4.585,2.647 5.079,2.305 5.611,2.002 z M12.432,1.203 C13.021,1.374 13.591,1.583 14.141,1.868 L13.363,3.293 C12.936,3.082 12.491,2.911 12.033,2.78 L12.432,1.203 z M7.644,1.184 L8.043,2.76 C7.579,2.892 7.128,3.064 6.694,3.274 L5.934,1.83 C6.481,1.558 7.054,1.342 7.644,1.184 z M10.209,0.879 C10.837,0.898 11.463,0.974 12.052,1.108 L11.653,2.685 C11.178,2.571 10.703,2.514 10.209,2.496 L10.209,0.879 z M9.848,0.879 L9.848,2.496 C9.369,2.512 8.892,2.57 8.423,2.667 L8.043,1.089 C8.613,0.956 9.22,0.879 9.848,0.879 z"},"[wordpress]":{filename:"wordpress@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,2 C5.589,2 2,5.589 2,10 C2,14.411 5.589,18 10,18 C14.411,18 18,14.411 18,10 C18,5.589 14.411,2 10,2 z M2.807,10 C2.807,8.957 3.031,7.968 3.431,7.073 L6.861,16.473 C4.462,15.307 2.807,12.847 2.807,10 z M10,17.193 C9.294,17.193 8.613,17.09 7.969,16.9 L10.127,10.63 L12.337,16.687 C12.352,16.722 12.37,16.754 12.389,16.785 C11.641,17.049 10.838,17.193 10,17.193 z M10.991,6.628 C11.424,6.605 11.814,6.56 11.814,6.56 C12.201,6.514 12.156,5.944 11.768,5.966 C11.768,5.966 10.604,6.058 9.851,6.058 C9.144,6.058 7.957,5.966 7.957,5.966 C7.569,5.944 7.523,6.536 7.911,6.56 C7.911,6.56 8.278,6.605 8.665,6.628 L9.786,9.698 L8.212,14.419 L5.594,6.628 C6.027,6.605 6.417,6.56 6.417,6.56 C6.803,6.514 6.759,5.944 6.371,5.966 C6.371,5.966 5.206,6.058 4.453,6.058 C4.318,6.058 4.159,6.055 3.99,6.049 C5.277,4.096 7.488,2.808 10,2.808 C11.873,2.808 13.578,3.523 14.858,4.696 C14.826,4.694 14.796,4.689 14.764,4.689 C14.057,4.689 13.556,5.305 13.556,5.966 C13.556,6.56 13.898,7.061 14.262,7.654 C14.536,8.132 14.856,8.748 14.856,9.637 C14.856,10.252 14.619,10.967 14.309,11.962 L13.59,14.359 L10.991,6.628 z M16.312,6.549 C16.873,7.575 17.192,8.75 17.192,10 C17.192,12.654 15.755,14.97 13.616,16.218 L15.814,9.866 C16.223,8.84 16.361,8.019 16.361,7.29 C16.36,7.024 16.343,6.779 16.312,6.549 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,2 C5.589,2 2,5.589 2,10 C2,14.411 5.589,18.0005 10,18.0005 C14.411,18.0005 18,14.411 18,10 C18,5.589 14.411,2 10,2 Z M2.8075,10 C2.8075,8.957 3.031,7.9675 3.4305,7.073 L6.861,16.473 C4.462,15.3075 2.8075,12.847 2.8075,10 Z M10,17.193 C9.294,17.193 8.6125,17.09 7.9685,16.9005 L10.1265,10.6295 L12.3375,16.6865 C12.352,16.7215 12.3695,16.7545 12.389,16.785 C11.641,17.049 10.838,17.193 10,17.193 Z M10.991,6.6275 C11.424,6.605 11.814,6.5595 11.814,6.5595 C12.2015,6.5135 12.156,5.944 11.768,5.9665 C11.768,5.9665 10.6035,6.058 9.851,6.058 C9.144,6.058 7.9565,5.9665 7.9565,5.9665 C7.569,5.9435 7.5235,6.536 7.911,6.5595 C7.911,6.5595 8.278,6.605 8.6655,6.6275 L9.786,9.6985 L8.212,14.419 L5.5935,6.6275 C6.027,6.605 6.4165,6.5595 6.4165,6.5595 C6.803,6.5135 6.7585,5.944 6.3705,5.9665 C6.3705,5.9665 5.2055,6.058 4.453,6.058 C4.318,6.058 4.159,6.055 3.99,6.049 C5.277,4.0965 7.4875,2.8075 10,2.8075 C11.8725,2.8075 13.5775,3.523 14.8575,4.696 C14.8265,4.6935 14.796,4.6895 14.764,4.6895 C14.0575,4.6895 13.556,5.305 13.556,5.9665 C13.556,6.5595 13.898,7.0605 14.2625,7.6535 C14.536,8.132 14.856,8.7475 14.856,9.6375 C14.856,10.2525 14.619,10.967 14.3085,11.9625 L13.5905,14.359 L10.991,6.6275 Z M16.3115,6.5495 C16.873,7.5745 17.1925,8.7495 17.1925,10 C17.1925,12.654 15.7545,14.97 13.6165,16.2175 L15.8135,9.8655 C16.2235,8.8395 16.3605,8.019 16.3605,7.29 C16.36,7.0245 16.343,6.779 16.3115,6.5495 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,2 C5.589,2 2,5.589 2,10 C2,14.411 5.589,18.0005 10,18.0005 C14.411,18.0005 18,14.411 18,10 C18,5.589 14.411,2 10,2 Z M2.8075,10 C2.8075,8.957 3.031,7.9675 3.4305,7.073 L6.861,16.473 C4.462,15.3075 2.8075,12.847 2.8075,10 Z M10,17.193 C9.294,17.193 8.6125,17.09 7.9685,16.9005 L10.1265,10.6295 L12.3375,16.6865 C12.352,16.7215 12.3695,16.7545 12.389,16.785 C11.641,17.049 10.838,17.193 10,17.193 Z M10.991,6.6275 C11.424,6.605 11.814,6.5595 11.814,6.5595 C12.2015,6.5135 12.156,5.944 11.768,5.9665 C11.768,5.9665 10.6035,6.058 9.851,6.058 C9.144,6.058 7.9565,5.9665 7.9565,5.9665 C7.569,5.9435 7.5235,6.536 7.911,6.5595 C7.911,6.5595 8.278,6.605 8.6655,6.6275 L9.786,9.6985 L8.212,14.419 L5.5935,6.6275 C6.027,6.605 6.4165,6.5595 6.4165,6.5595 C6.803,6.5135 6.7585,5.944 6.3705,5.9665 C6.3705,5.9665 5.2055,6.058 4.453,6.058 C4.318,6.058 4.159,6.055 3.99,6.049 C5.277,4.0965 7.4875,2.8075 10,2.8075 C11.8725,2.8075 13.5775,3.523 14.8575,4.696 C14.8265,4.6935 14.796,4.6895 14.764,4.6895 C14.0575,4.6895 13.556,5.305 13.556,5.9665 C13.556,6.5595 13.898,7.0605 14.2625,7.6535 C14.536,8.132 14.856,8.7475 14.856,9.6375 C14.856,10.2525 14.619,10.967 14.3085,11.9625 L13.5905,14.359 L10.991,6.6275 Z M16.3115,6.5495 C16.873,7.5745 17.1925,8.7495 17.1925,10 C17.1925,12.654 15.7545,14.97 13.6165,16.2175 L15.8135,9.8655 C16.2235,8.8395 16.3605,8.019 16.3605,7.29 C16.36,7.0245 16.343,6.779 16.3115,6.5495 Z"},"[yelp]":{filename:"yelp@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M11.496,12.419 C11.225,12.692 11.454,13.189 11.454,13.189 L13.493,16.594 C13.493,16.594 13.828,17.043 14.118,17.043 C14.41,17.043 14.698,16.804 14.698,16.804 L16.31,14.499 C16.31,14.499 16.473,14.208 16.476,13.953 C16.482,13.591 15.936,13.492 15.936,13.492 L12.119,12.266 C12.119,12.266 11.745,12.167 11.496,12.419 z M11.302,10.702 C11.498,11.033 12.036,10.937 12.036,10.937 L15.845,9.824 C15.845,9.824 16.364,9.612 16.439,9.332 C16.511,9.05 16.353,8.71 16.353,8.71 L14.533,6.567 C14.533,6.567 14.375,6.295 14.048,6.268 C13.687,6.237 13.465,6.674 13.465,6.674 L11.312,10.061 C11.312,10.06 11.122,10.398 11.302,10.702 z M9.503,9.382 C9.951,9.271 10.023,8.62 10.023,8.62 L9.992,3.197 C9.992,3.197 9.924,2.528 9.624,2.347 C9.153,2.061 9.013,2.211 8.878,2.23 L5.716,3.406 C5.716,3.406 5.406,3.508 5.245,3.766 C5.014,4.133 5.478,4.669 5.478,4.669 L8.765,9.149 C8.765,9.148 9.09,9.484 9.503,9.382 z M8.722,11.576 C8.733,11.158 8.22,10.907 8.22,10.907 L4.821,9.19 C4.821,9.19 4.318,8.982 4.073,9.127 C3.886,9.238 3.72,9.437 3.704,9.615 L3.482,12.34 C3.482,12.34 3.449,12.812 3.572,13.027 C3.745,13.331 4.315,13.12 4.315,13.12 L8.283,12.243 C8.437,12.138 8.707,12.129 8.722,11.576 z M9.709,13.047 C9.368,12.872 8.96,13.235 8.96,13.235 L6.303,16.159 C6.303,16.159 5.972,16.606 6.056,16.881 C6.135,17.138 6.267,17.266 6.453,17.356 L9.121,18.199 C9.121,18.199 9.445,18.266 9.69,18.195 C10.037,18.094 9.973,17.549 9.973,17.549 L10.033,13.589 C10.034,13.59 10.021,13.208 9.709,13.047 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 M11.4955523,12.4188154 C11.2246493,12.6917251 11.4539135,13.1888823 11.4539135,13.1888823 L13.4932111,16.5942335 C13.4932111,16.5942335 13.8278265,17.0432302 14.1182948,17.0432302 C14.4097663,17.0432302 14.6977262,16.8039325 14.6977262,16.8039325 L16.3101008,14.4987486 C16.3101008,14.4987486 16.4726426,14.2082803 16.4761543,13.9534308 C16.4821744,13.5912235 15.9358533,13.4918924 15.9358533,13.4918924 L12.1186292,12.2663071 C12.1186292,12.2663071 11.7448834,12.1674776 11.4955523,12.4188154 Z M11.3024085,10.702093 C11.4980607,11.0331967 12.036355,10.9368756 12.036355,10.9368756 L15.8450506,9.82366495 C15.8450506,9.82366495 16.3642814,9.61246091 16.4385289,9.33152447 C16.5112714,9.04958469 16.3527429,8.71045426 16.3527429,8.71045426 L14.532676,6.56680873 C14.532676,6.56680873 14.3751509,6.29540408 14.047559,6.26831378 C13.6868566,6.23721008 13.4646158,6.6741666 13.4646158,6.6741666 L11.3124419,10.0609559 C11.3124419,10.0604543 11.1223081,10.397578 11.3024085,10.702093 Z M9.50291014,9.38169169 C9.95140514,9.27132382 10.0226426,8.61965156 10.0226426,8.61965156 L9.99204058,3.1970763 C9.99204058,3.1970763 9.92431484,2.52834721 9.62381314,2.34724352 C9.15274293,2.06129034 9.01277636,2.21078869 8.87782654,2.23035391 L5.71578641,3.40577195 C5.71578641,3.40577195 5.40575297,3.50811308 5.24471614,3.7664743 C5.01444862,4.13269504 5.47849545,4.66898265 5.47849545,4.66898265 L8.76545197,9.14891578 C8.76545197,9.14841413 9.09003388,9.48353117 9.50291014,9.38169169 Z M8.72230814,11.5760061 C8.73334493,11.1581131 8.22013423,10.9067753 8.22013423,10.9067753 L4.8213048,9.18955121 C4.8213048,9.18955121 4.31762588,8.98185891 4.0728098,9.12684221 C3.88568606,9.23771178 3.71963254,9.4373773 3.70357906,9.6149693 L3.48234158,12.3400529 C3.48234158,12.3400529 3.44923123,12.8121265 3.57163923,13.0268422 C3.74521784,13.3313573 4.31511749,13.1196516 4.31511749,13.1196516 L8.28284327,12.2427285 C8.43685662,12.1383806 8.70725797,12.1293506 8.72230814,11.5760061 Z M9.70859575,13.0469091 C9.36796032,12.8718255 8.9601008,13.2345345 8.9601008,13.2345345 L6.30324458,16.1592837 C6.30324458,16.1592837 5.97163923,16.6062736 6.05592019,16.8806883 C6.13518441,17.1380462 6.26662254,17.2664743 6.45274293,17.3562736 L9.12113758,18.1985813 C9.12113758,18.1985813 9.44471614,18.2658054 9.68953223,18.194568 C10.0371911,18.0942335 9.97297701,17.5494174 9.97297701,17.5494174 L10.0331777,13.5892168 C10.0336794,13.5897185 10.0206359,13.2079459 9.70859575,13.0469091 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 M11.4955523,12.4188154 C11.2246493,12.6917251 11.4539135,13.1888823 11.4539135,13.1888823 L13.4932111,16.5942335 C13.4932111,16.5942335 13.8278265,17.0432302 14.1182948,17.0432302 C14.4097663,17.0432302 14.6977262,16.8039325 14.6977262,16.8039325 L16.3101008,14.4987486 C16.3101008,14.4987486 16.4726426,14.2082803 16.4761543,13.9534308 C16.4821744,13.5912235 15.9358533,13.4918924 15.9358533,13.4918924 L12.1186292,12.2663071 C12.1186292,12.2663071 11.7448834,12.1674776 11.4955523,12.4188154 Z M11.3024085,10.702093 C11.4980607,11.0331967 12.036355,10.9368756 12.036355,10.9368756 L15.8450506,9.82366495 C15.8450506,9.82366495 16.3642814,9.61246091 16.4385289,9.33152447 C16.5112714,9.04958469 16.3527429,8.71045426 16.3527429,8.71045426 L14.532676,6.56680873 C14.532676,6.56680873 14.3751509,6.29540408 14.047559,6.26831378 C13.6868566,6.23721008 13.4646158,6.6741666 13.4646158,6.6741666 L11.3124419,10.0609559 C11.3124419,10.0604543 11.1223081,10.397578 11.3024085,10.702093 Z M9.50291014,9.38169169 C9.95140514,9.27132382 10.0226426,8.61965156 10.0226426,8.61965156 L9.99204058,3.1970763 C9.99204058,3.1970763 9.92431484,2.52834721 9.62381314,2.34724352 C9.15274293,2.06129034 9.01277636,2.21078869 8.87782654,2.23035391 L5.71578641,3.40577195 C5.71578641,3.40577195 5.40575297,3.50811308 5.24471614,3.7664743 C5.01444862,4.13269504 5.47849545,4.66898265 5.47849545,4.66898265 L8.76545197,9.14891578 C8.76545197,9.14841413 9.09003388,9.48353117 9.50291014,9.38169169 Z M8.72230814,11.5760061 C8.73334493,11.1581131 8.22013423,10.9067753 8.22013423,10.9067753 L4.8213048,9.18955121 C4.8213048,9.18955121 4.31762588,8.98185891 4.0728098,9.12684221 C3.88568606,9.23771178 3.71963254,9.4373773 3.70357906,9.6149693 L3.48234158,12.3400529 C3.48234158,12.3400529 3.44923123,12.8121265 3.57163923,13.0268422 C3.74521784,13.3313573 4.31511749,13.1196516 4.31511749,13.1196516 L8.28284327,12.2427285 C8.43685662,12.1383806 8.70725797,12.1293506 8.72230814,11.5760061 Z M9.70859575,13.0469091 C9.36796032,12.8718255 8.9601008,13.2345345 8.9601008,13.2345345 L6.30324458,16.1592837 C6.30324458,16.1592837 5.97163923,16.6062736 6.05592019,16.8806883 C6.13518441,17.1380462 6.26662254,17.2664743 6.45274293,17.3562736 L9.12113758,18.1985813 C9.12113758,18.1985813 9.44471614,18.2658054 9.68953223,18.194568 C10.0371911,18.0942335 9.97297701,17.5494174 9.97297701,17.5494174 L10.0331777,13.5892168 C10.0336794,13.5897185 10.0206359,13.2079459 9.70859575,13.0469091 Z"},"[youtube]":{filename:"youtube@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M5.781,2.072 L6.722,2.072 L7.359,4.419 L7.969,2.072 L8.874,2.072 L7.798,5.628 L7.798,8.049 L6.903,8.049 L6.903,5.628 C6.821,5.199 6.642,4.571 6.355,3.737 C6.166,3.183 5.97,2.627 5.781,2.072 z M10.073,3.541 C10.477,3.541 10.792,3.693 11.015,3.997 C11.184,4.223 11.265,4.572 11.265,5.048 L11.265,6.606 C11.265,7.08 11.184,7.431 11.015,7.654 C10.792,7.957 10.477,8.11 10.073,8.11 C9.671,8.11 9.357,7.957 9.134,7.654 C8.962,7.431 8.881,7.08 8.881,6.606 L8.881,5.048 C8.881,4.571 8.962,4.223 9.134,3.997 C9.357,3.693 9.671,3.541 10.073,3.541 z M11.929,3.595 L12.734,3.595 L12.734,6.874 C12.734,7.063 12.734,7.161 12.744,7.188 C12.762,7.312 12.824,7.376 12.932,7.376 C13.094,7.376 13.264,7.251 13.443,6.999 L13.443,3.595 L14.249,3.595 L14.249,8.049 L13.443,8.049 L13.443,7.562 C13.121,7.931 12.814,8.11 12.52,8.11 C12.26,8.11 12.082,8.004 12.001,7.779 C11.957,7.644 11.929,7.431 11.929,7.116 L11.929,3.595 z M9.749,8.778 L10.054,8.778 L10.359,8.778 C11.909,8.778 13.465,8.789 15.002,8.961 C15.694,9.039 16.268,9.557 16.43,10.26 C16.66,11.261 16.659,12.352 16.659,13.382 L16.659,13.426 C16.659,14.444 16.654,15.52 16.427,16.506 C16.266,17.209 15.691,17.728 14.999,17.805 C13.46,17.977 11.903,17.987 10.351,17.987 C10.251,17.987 10.151,17.988 10.051,17.987 C9.951,17.988 9.851,17.987 9.751,17.987 C8.199,17.987 6.643,17.977 5.104,17.805 C4.412,17.728 3.837,17.209 3.675,16.506 C3.45,15.529 3.445,14.466 3.445,13.458 L3.445,13.382 C3.445,12.352 3.448,11.261 3.678,10.26 C3.839,9.557 4.414,9.039 5.106,8.961 C6.644,8.789 8.198,8.778 9.749,8.778 z M10.073,4.267 C9.812,4.267 9.688,4.473 9.688,4.885 L9.688,6.759 C9.688,7.171 9.812,7.376 10.073,7.376 C10.333,7.376 10.457,7.171 10.457,6.759 L10.457,4.885 C10.457,4.473 10.333,4.267 10.073,4.267 z M4.43,10.421 L4.43,11.254 L5.37,11.254 L5.37,16.336 L6.259,16.336 L6.259,11.254 L7.215,11.254 L7.215,10.421 L4.43,10.421 z M10.319,10.421 L10.319,16.336 L11.118,16.336 L11.118,15.909 C11.384,16.239 11.659,16.396 11.943,16.396 C12.26,16.396 12.473,16.229 12.58,15.901 C12.633,15.714 12.661,15.42 12.661,15.012 L12.661,13.259 C12.661,12.842 12.633,12.55 12.58,12.373 C12.473,12.042 12.26,11.875 11.943,11.875 C11.649,11.875 11.375,12.035 11.118,12.352 L11.118,10.421 L10.319,10.421 z M11.515,12.594 C11.745,12.594 11.863,12.797 11.863,13.195 L11.863,15.076 C11.863,15.474 11.745,15.67 11.515,15.67 C11.384,15.67 11.251,15.607 11.118,15.474 L11.118,12.788 C11.251,12.656 11.384,12.594 11.515,12.594 z M14.485,11.875 C14.077,11.875 13.76,12.026 13.529,12.328 C13.359,12.55 13.283,12.894 13.283,13.365 L13.283,14.909 C13.283,15.377 13.369,15.724 13.539,15.945 C13.77,16.246 14.087,16.396 14.505,16.396 C14.922,16.396 15.251,16.239 15.471,15.919 C15.569,15.778 15.631,15.617 15.658,15.44 C15.665,15.36 15.674,15.183 15.674,14.926 L15.674,14.809 L14.86,14.809 C14.86,15.129 14.85,15.306 14.842,15.35 C14.797,15.564 14.682,15.671 14.485,15.671 C14.211,15.671 14.078,15.467 14.078,15.059 L14.078,14.278 L15.674,14.278 L15.674,13.365 C15.674,12.894 15.595,12.55 15.427,12.328 C15.204,12.026 14.886,11.875 14.485,11.875 z M14.479,12.594 C14.743,12.594 14.876,12.797 14.876,13.205 L14.876,13.613 L14.078,13.613 L14.078,13.205 C14.078,12.797 14.212,12.594 14.479,12.594 z M7.331,11.929 L7.331,15.414 C7.331,15.725 7.358,15.935 7.401,16.069 C7.481,16.292 7.659,16.396 7.916,16.396 C8.21,16.396 8.511,16.219 8.829,15.855 L8.829,16.336 L9.627,16.336 L9.627,11.929 L8.829,11.929 L8.829,15.297 C8.651,15.548 8.484,15.67 8.324,15.67 C8.217,15.67 8.156,15.607 8.136,15.484 C8.129,15.457 8.129,15.361 8.129,15.174 L8.129,11.929 L7.331,11.929 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.78125,2.0725 L6.7225,2.0725 L7.35875,4.41875 L7.96875,2.0725 L8.87375,2.0725 L7.7975,5.6275 L7.7975,8.04875 L6.9025,8.04875 L6.9025,5.6275 C6.8213916,5.1989312 6.6419944,4.5710256 6.355,3.7375 C6.1662504,3.18303336 5.9698048,2.62682056 5.78125,2.0725 Z M10.0725,3.54125 C10.4768728,3.54125 10.791782,3.6929304 11.015,3.9975 C11.1841784,4.2225192 11.265,4.5715128 11.265,5.0475 L11.265,6.60625 C11.265,7.0795596 11.1841784,7.4309216 11.015,7.65375 C10.791782,7.9574432 10.4768728,8.11 10.0725,8.11 C9.6705616,8.11 9.356822,7.9574432 9.13375,7.65375 C8.9620888,7.4309216 8.88125,7.0795596 8.88125,6.60625 L8.88125,5.0475 C8.88125,4.571464 8.9620888,4.2225192 9.13375,3.9975 C9.3567732,3.6929304 9.6705128,3.54125 10.0725,3.54125 Z M11.92875,3.595 L12.73375,3.595 L12.73375,6.87375 C12.73375,7.0628404 12.7340132,7.1611132 12.74375,7.1875 C12.7615684,7.312424 12.8241772,7.37625 12.9325,7.37625 C13.09384,7.37625 13.2637308,7.2514708 13.4425,6.99875 L13.4425,3.595 L14.24875,3.595 L14.24875,8.04875 L13.4425,8.04875 L13.4425,7.5625 C13.1213292,7.9307 12.814346,8.11 12.52,8.11 C12.2602688,8.11 12.0817252,8.0043048 12.00125,7.77875 C11.9567036,7.643748 11.92875,7.4306052 11.92875,7.11625 L11.92875,3.595 Z M9.74875,8.7775 L10.05375,8.7775 L10.35875,8.7775 C11.909056,8.7775 13.4649004,8.7894916 15.0025,8.96125 C15.6942568,9.0385608 16.2684164,9.5572408 16.43,10.26 C16.6599852,11.260854 16.65875,12.3520948 16.65875,13.3825 L16.65875,13.42625 C16.6586528,14.4438512 16.6542232,15.5195144 16.4275,16.50625 C16.2658676,17.2089608 15.6905552,17.727738 14.99875,17.805 C13.459544,17.9770508 11.90326,17.9875 10.35125,17.9875 C10.2512524,17.9875 10.1512476,17.9875972 10.05125,17.9875 C9.9513984,17.9875972 9.8511992,17.9875 9.75125,17.9875 C8.1991912,17.9875 6.6430532,17.9770508 5.10375,17.805 C4.4119448,17.727738 3.8366322,17.2089608 3.675,16.50625 C3.45046756,15.5292028 3.44509736,14.466192 3.445,13.4575 L3.445,13.3825 C3.445,12.3520948 3.44751488,11.260854 3.6775,10.26 C3.8391322,9.5572408 4.4144448,9.0385608 5.10625,8.96125 C6.643752,8.7894428 8.1984928,8.7775 9.74875,8.7775 Z M10.0725,4.2675 C9.8123304,4.2675 9.6875,4.472984 9.6875,4.885 L9.6875,6.75875 C9.6875,7.1708636 9.8123304,7.37625 10.0725,7.37625 C10.3326696,7.37625 10.4575,7.1708636 10.4575,6.75875 L10.4575,4.885 C10.4575,4.472984 10.332718,4.2675 10.0725,4.2675 Z M4.43,10.42125 L4.43,11.25375 L5.37,11.25375 L5.37,16.33625 L6.25875,16.33625 L6.25875,11.25375 L7.215,11.25375 L7.215,10.42125 L4.43,10.42125 Z M10.31875,10.42125 L10.31875,16.33625 L11.1175,16.33625 L11.1175,15.90875 C11.3842904,16.2388788 11.6586212,16.39625 11.9425,16.39625 C12.2603604,16.39625 12.4728944,16.2288472 12.58,15.90125 C12.6328712,15.7143992 12.66125,15.420378 12.66125,15.0125 L12.66125,13.25875 C12.66125,12.8417196 12.63292,12.5498572 12.58,12.3725 C12.4728944,12.0424684 12.2603604,11.875 11.9425,11.875 C11.6488356,11.875 11.3753324,12.0351752 11.1175,12.3525 L11.1175,10.42125 L10.31875,10.42125 Z M11.515,12.59375 C11.745326,12.59375 11.8625,12.7968588 11.8625,13.195 L11.8625,15.07625 C11.8625,15.4743912 11.745326,15.67 11.515,15.67 C11.383698,15.67 11.2511388,15.6072428 11.1175,15.47375 L11.1175,12.7875 C11.2511388,12.65576 11.3837468,12.59375 11.515,12.59375 Z M14.485,11.875 C14.0774628,11.875 13.7597088,12.0258516 13.52875,12.3275 C13.3591824,12.5503772 13.2825,12.8940272 13.2825,13.365 L13.2825,14.90875 C13.2825,15.3770452 13.369036,15.7244596 13.53875,15.945 C13.76966,16.2460644 14.087288,16.39625 14.505,16.39625 C14.9220304,16.39625 15.2505148,16.238704 15.47125,15.91875 C15.5685216,15.7775164 15.6308696,15.6173572 15.6575,15.44 C15.6649972,15.3603524 15.67375,15.1831088 15.67375,14.92625 L15.67375,14.80875 L14.86,14.80875 C14.86,15.1290448 14.849754,15.306476 14.8425,15.35 C14.7968828,15.563676 14.6818796,15.67125 14.485,15.67125 C14.2106636,15.67125 14.0775,15.466628 14.0775,15.05875 L14.0775,14.2775 L15.67375,14.2775 L15.67375,13.365 C15.67375,12.8940272 15.5947308,12.5503772 15.4275,12.3275 C15.203844,12.0258516 14.885624,11.875 14.485,11.875 Z M14.47875,12.59375 C14.7431064,12.59375 14.8762988,12.7973656 14.87625,13.205 L14.87625,13.6125 L14.0775,13.6125 L14.0775,13.205 C14.0775,12.7974144 14.2116672,12.59375 14.47875,12.59375 Z M7.33125,11.92875 L7.33125,15.41375 C7.33125,15.7247948 7.3577748,15.9352572 7.40125,16.06875 C7.4811412,16.2918708 7.6590016,16.39625 7.91625,16.39625 C8.2098168,16.39625 8.5113276,16.2191108 8.82875,15.855 L8.82875,16.33625 L9.6275,16.33625 L9.6275,11.92875 L8.82875,11.92875 L8.82875,15.2975 C8.65149,15.5476404 8.4840192,15.67 8.32375,15.67 C8.2170336,15.67 8.1556752,15.6074572 8.13625,15.48375 C8.12885,15.4573632 8.12875,15.3608928 8.12875,15.17375 L8.12875,11.92875 L7.33125,11.92875 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 M6.38392857,3.0634375 L7.19071429,3.0634375 L7.73607143,5.11640625 L8.25892857,3.0634375 L9.03464286,3.0634375 L8.11214286,6.1740625 L8.11214286,8.29265625 L7.345,8.29265625 L7.345,6.1740625 C7.27547851,5.7990648 7.12170949,5.2496474 6.87571429,4.5203125 C6.71392891,4.03515419 6.54554697,3.54846799 6.38392857,3.0634375 Z M10.0621429,4.34859375 C10.4087481,4.34859375 10.6786703,4.4813141 10.87,4.7478125 C11.0150101,4.9447043 11.0842857,5.2500737 11.0842857,5.6665625 L11.0842857,7.03046875 C11.0842857,7.44461465 11.0150101,7.7520564 10.87,7.94703125 C10.6786703,8.2127628 10.4087481,8.34625 10.0621429,8.34625 C9.71762423,8.34625 9.44870457,8.2127628 9.2575,7.94703125 C9.11036183,7.7520564 9.04107143,7.44461465 9.04107143,7.03046875 L9.04107143,5.6665625 C9.04107143,5.250031 9.11036183,4.9447043 9.2575,4.7478125 C9.44866274,4.4813141 9.7175824,4.34859375 10.0621429,4.34859375 Z M11.6532143,4.395625 L12.3432143,4.395625 L12.3432143,7.26453125 C12.3432143,7.42998535 12.3434399,7.51597405 12.3517857,7.5390625 C12.3670586,7.648371 12.4207233,7.70421875 12.5135714,7.70421875 C12.6518629,7.70421875 12.7974835,7.59503695 12.9507143,7.37390625 L12.9507143,4.395625 L13.6417857,4.395625 L13.6417857,8.29265625 L12.9507143,8.29265625 L12.9507143,7.8671875 C12.675425,8.1893625 12.4122966,8.34625 12.16,8.34625 C11.9373733,8.34625 11.7843359,8.2537667 11.7153571,8.05640625 C11.6771745,7.9382795 11.6532143,7.75177955 11.6532143,7.47671875 L11.6532143,4.395625 Z M9.78464286,8.9303125 L10.0460714,8.9303125 L10.3075,8.9303125 C11.6363337,8.9303125 12.9699146,8.94080515 14.2878571,9.09109375 C14.8807915,9.1587407 15.3729283,9.6125857 15.5114286,10.2275 C15.7085587,11.1032473 15.7075,12.058083 15.7075,12.9596875 L15.7075,12.9979688 C15.7074167,13.8883698 15.7036199,14.8295751 15.5092857,15.6929688 C15.3707437,16.3078407 14.8776187,16.7617708 14.2846429,16.829375 C12.9653234,16.9799195 11.6313657,16.9890625 10.3010714,16.9890625 C10.2153592,16.9890625 10.1296408,16.9891476 10.0439286,16.9890625 C9.95834149,16.9891476 9.87245646,16.9890625 9.78678571,16.9890625 C8.4564496,16.9890625 7.12261703,16.9799195 5.80321429,16.829375 C5.2102384,16.7617708 4.71711331,16.3078407 4.57857143,15.6929688 C4.38611505,14.8380525 4.38151202,13.907918 4.38142857,13.0253125 L4.38142857,12.9596875 C4.38142857,12.058083 4.38358418,11.1032473 4.58071429,10.2275 C4.71925617,9.6125857 5.21238126,9.1587407 5.80535714,9.09109375 C7.123216,8.94076245 8.45585097,8.9303125 9.78464286,8.9303125 Z M10.0725,4.9840625 C9.8123304,4.9840625 9.6875,5.163861 9.6875,5.524375 L9.6875,7.16390625 C9.6875,7.52450565 9.8123304,7.70421875 10.0725,7.70421875 C10.3326696,7.70421875 10.4575,7.52450565 10.4575,7.16390625 L10.4575,5.524375 C10.4575,5.163861 10.332718,4.9840625 10.0725,4.9840625 Z M5.22571429,10.3685938 L5.22571429,11.0970313 L6.03142857,11.0970313 L6.03142857,15.5442188 L6.79321429,15.5442188 L6.79321429,11.0970313 L7.61285714,11.0970313 L7.61285714,10.3685938 L5.22571429,10.3685938 Z M10.2732143,10.3685938 L10.2732143,15.5442188 L10.9578571,15.5442188 L10.9578571,15.1701563 C11.1865346,15.459019 11.4216753,15.5967188 11.665,15.5967188 C11.9374518,15.5967188 12.1196238,15.4502413 12.2114286,15.1635938 C12.2567467,15.0000993 12.2810714,14.7428308 12.2810714,14.3859375 L12.2810714,12.8514063 C12.2810714,12.4865047 12.2567886,12.2311251 12.2114286,12.0759375 C12.1196238,11.7871599 11.9374518,11.640625 11.665,11.640625 C11.4132877,11.640625 11.1788563,11.7807783 10.9578571,12.0584375 L10.9578571,10.3685938 L10.2732143,10.3685938 Z M11.2985714,12.2695313 C11.4959937,12.2695313 11.5964286,12.4472515 11.5964286,12.795625 L11.5964286,14.4417188 C11.5964286,14.7900923 11.4959937,14.96125 11.2985714,14.96125 C11.1860269,14.96125 11.0724047,14.9063375 10.9578571,14.7895313 L10.9578571,12.4390625 C11.0724047,12.32379 11.1860687,12.2695313 11.2985714,12.2695313 Z M13.8442857,11.640625 C13.4949681,11.640625 13.2226075,11.7726202 13.0246429,12.0365625 C12.8792992,12.2315801 12.8135714,12.5322738 12.8135714,12.944375 L12.8135714,14.2951563 C12.8135714,14.7049146 12.8877451,15.0089022 13.0332143,15.201875 C13.2311371,15.4653064 13.5033897,15.5967188 13.8614286,15.5967188 C14.2188832,15.5967188 14.5004413,15.458866 14.6896429,15.1789063 C14.7730185,15.0553269 14.8264597,14.9151876 14.8492857,14.76 C14.8557119,14.6903084 14.8632143,14.5352202 14.8632143,14.3104688 L14.8632143,14.2076563 L14.1657143,14.2076563 C14.1657143,14.4879142 14.156932,14.6431665 14.1507143,14.68125 C14.1116138,14.8682165 14.0130397,14.9623438 13.8442857,14.9623438 C13.6091402,14.9623438 13.495,14.7832995 13.495,14.4264063 L13.495,13.7428125 L14.8632143,13.7428125 L14.8632143,12.944375 C14.8632143,12.5322738 14.7954835,12.2315801 14.6521429,12.0365625 C14.4604377,11.7726202 14.1876777,11.640625 13.8442857,11.640625 Z M13.8389286,12.2695313 C14.0655198,12.2695313 14.1796847,12.4476949 14.1796429,12.804375 L14.1796429,13.1609375 L13.495,13.1609375 L13.495,12.804375 C13.495,12.4477376 13.6100005,12.2695313 13.8389286,12.2695313 Z M7.7125,11.6876563 L7.7125,14.7370313 C7.7125,15.0091955 7.73523554,15.1933501 7.7725,15.3101563 C7.84097817,15.505387 7.99342994,15.5967188 8.21392857,15.5967188 C8.46555726,15.5967188 8.72399509,15.441722 8.99607143,15.123125 L8.99607143,15.5442188 L9.68071429,15.5442188 L9.68071429,11.6876563 L8.99607143,11.6876563 L8.99607143,14.6353125 C8.84413429,14.8541854 8.70058789,14.96125 8.56321429,14.96125 C8.47174309,14.96125 8.41915017,14.9065251 8.4025,14.7982813 C8.39615714,14.7751928 8.39607143,14.6907812 8.39607143,14.5270313 L8.39607143,11.6876563 L7.7125,11.6876563 Z" }},Docks={arr:[],register:function(e){this.arr.push(e)},unRegister:function(e){for(var t=this.arr.length;t--;)e===this.arr[t]&&this.arr.splice(t,1)},resize:function(){if(this.arr.length>0)for(var e=this.arr.length;e--;)this.arr[e].resize()}},Overlay=function(){function e(e,t){var i=this,n=new Sprite,o=t.parentView||stage;n.position="fixed",n.top=0,n.left=0,n.alpha=0,n.zIndex=t.zIndex||500,n.display="none",n.backgroundColor=toRgba(t.backgroundColor||o.backgroundColor,t.alpha||.85),this.parentView=o,this.background=n,this.content=e,this.onClose=t.onClose,this.onOpen=t.onOpen,this.openDuration=t.openDuration||UPDATE_SPEED,this.closeDuration=t.closeDuration||UPDATE_SPEED,this.userOverride=t.userOverride,this.blurLayers=t.blurLayers,this.updateSpeed=0,o.addEventListener(RESIZE,this.overlayResize.bind(this)),this.background.width=this.parentView.width,this.background.height=this.parentView.height,o.addChild(n),n.addChild(e),this.userOverride&&(n.element.addEventListener(CLICK,function(e){i.background.element===e.target&&i.close.apply(i,[e])}),stage.addEventListener(KEY_DOWN,this.keyDown.bind(this)))}return e.prototype={open:function(){this.background.display="block",this.onOpen&&this.onOpen(),Tween(this.background,this.openDuration,{alpha:1})},overlayResize:function(){this.background.width=this.parentView.width,this.background.height=this.parentView.height,Align(this.content,this.updateSpeed,{hRange:this.parentView.width,vRange:this.parentView.height,hAlign:"center",vAlign:"center"}),this.updateSpeed=UPDATE_SPEED},keyDown:function(e){e.keyCode===keyName.ESCAPE&&this.close()},close:function(e){var t=this;Tween(t.background,t.closeDuration,{alpha:0,onComplete:function(){t.background.display="none",t.onClose&&t.onClose()}})},destroy:function(){this.background.removeChild(this.content),this.parentView.removeChild(this.background),this.parentView.removeEventListener(RESIZE,this.overlayResize.bind(this)),this.userOverride&&(this.background.removeEventListener(CLICK,this.close.bind(this)),stage.removeEventListener(KEY_DOWN,this.keyDown.bind(this)))}},e}(),Scrolls={arr:[],focusTarget:null,register:function(e){this.arr.push(e)},unRegister:function(e){for(var t=this.arr.length;t--;)e===this.arr[t]&&this.arr.splice(t,1)},resize:function(){if(this.arr.length>0)for(var e=this.arr.length;e--;)this.arr[e].resize()},setActive:function(e){for(var t=this.arr.length;t--;)this.arr[t].disabled||(this.arr[t].active=e===this.arr[t])},hitMask:function(e,t){for(var i=this.arr.length;i--;)this.arr[i].disabled||(this.arr[i].active=this.arr[i].mask.hitTestPoint(e,t))},hitScrollBar:function(e,t){for(var i=this.arr.length;i--;)if(this.arr[i].bar&&this.arr[i].bar.handle.hitTestAbs(e,t))return this.arr[i].bar.back.hitTestAbs(e,t);return!1},get ing(){for(var e=this.arr.length;e--;)if(this.arr[e].ing)return this.arr[e].ing;return!1}},Anim=function(){function e(e,t,i,n){for(var o=0,a=[],r=n-o,l=0,s=Math.round(r/h);l<4?e.concat([1]):e}function n(e){return i(e.replace(/^rgb\(|^rgba\(/,"").replace(")","").split(",").map(Number).map(Math.round))}function o(e){return/^#/.test(e)?t(e):n(e)}function a(e){var t=e.map(Math.round);return"rgba("+t[0]+","+t[1]+","+t[2]+","+e[3]+")"}function r(e,t,i){for(var n in t)t.hasOwnProperty(n)&&("scrollY"===n?e.scrollTo(e.pageXOffset,t[n][i]):"scrollX"===n?e.scrollTo(t[n][i],e.pageYOffset):e[n]=t[n][i])}function l(t,i,n,r){var l={};for(var s in n)if(n.hasOwnProperty(s))if(/color/i.test(s)){for(var d=o(n[s]),c=o(t[s]).map(function(t,n){return e(r,t,d[n],i)}),h=c[0],u=c[1],T=c[2],E=c[3],g=[],m=0,p=h.length;m

<1?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t)},inCubic:function(e,t,i,n){return e/=n,i*e*e*e+t},outCubic:function(e,t,i,n){return e/=n,e--,i*(e*e*e+1)+t},inOutCubic:function(e,t,i,n){return e/=n/2,e<1?i/2*e*e*e+t:(e-=2,i/2*(e*e*e+2)+t)},inQuart:function(e,t,i,n){return e/=n,i*e*e*e*e+t},outQuart:function(e,t,i,n){return e/=n,e--,-i*(e*e*e*e-1)+t},inOutQuart:function(e,t,i,n){return e/=n/2,e<1?i/2*e*e*e*e+t:(e-=2,-i/2*(e*e*e*e-2)+t)},inQuint:function(e,t,i,n){return e/=n,i*e*e*e*e*e+t},outQuint:function(e,t,i,n){return e/=n,e--,i*(e*e*e*e*e+1)+t},inOutQuint:function(e,t,i,n){return e/=n/2,e<1?i/2*e*e*e*e*e+t:(e-=2,i/2*(e*e*e*e*e+2)+t)},inSine:function(e,t,i,n){return-i*Math.cos(e/n*(Math.PI/2))+i+t},outSine:function(e,t,i,n){return i*Math.sin(e/n*(Math.PI/2))+t},inOutSine:function(e,t,i,n){return-i/2*(Math.cos(Math.PI*e/n)-1)+t},inExpo:function(e,t,i,n){return i*Math.pow(2,10*(e/n-1))+t},outExpo:function(e,t,i,n){return i*(-Math.pow(2,-10*e/n)+1)+t},inOutExpo:function(e,t,i,n){return e/=n/2,e<1?i/2*Math.pow(2,10*(e-1))+t:(e--,i/2*(-Math.pow(2,-10*e)+2)+t)},inCirc:function(e,t,i,n){return e/=n,-i*(Math.sqrt(1-e*e)-1)+t},outCirc:function(e,t,i,n){return e/=n,e--,i*Math.sqrt(1-e*e)+t},inOutCirc:function(e,t,i,n){return e/=n/2,e<1?-i/2*(Math.sqrt(1-e*e)-1)+t:(e-=2,i/2*(Math.sqrt(1-e*e)+1)+t)}};return c.prototype={rewind:function(e){cancelAnimationFrame(this.rAF);var t=JSON.parse(JSON.stringify(this.steps));"function"==typeof this.onStart&&this.onStart(this.target),this.rAF=requestAnimationFrame(s(this,t,e))},play:function(e){cancelAnimationFrame(this.rAF);var t=JSON.parse(JSON.stringify(this.steps));"function"==typeof this.onStart&&this.onStart(this.target),this.rAF=requestAnimationFrame(d(this,t,e))},reset:function(e){this.play(function(t){t.curStep=0,"function"==typeof e&&e(t)})},kill:function(){cancelAnimationFrame(this.rAF),this.steps=null,this.rAF=null},stop:function(){cancelAnimationFrame(this.rAF),"function"==typeof this.onComplete&&this.onComplete(this.target)}},c.to=function(e,t,i){var n=new c(e,t,i);return n.play(i.onComplete),n},c}();Tween.defer=function(e,t,i){setTimeout(function(){Tween(e,t,i)},0)};var globalEvents=new EventSandbox,Sprite=function(){function e(e){this.vars={};var t;for(t in e)this.vars[t]=e[t];var i=this.vars.element||document.createElement(this.vars.type||"div");i.proxy=this,this._private={},this.vars.id&&(this.id=this.vars.id),this.element=i,USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(this.element.style["-webkit-backface-visibility"]="hidden"),"Safari"===BROWSER_NAME&&(this.element.style["-webkit-backface-visibility"]="hidden"),this.type=this.vars.type,this.children=[],this.style=i.style,this.name="Sprite",this.events=this.vars.events||globalEvents,this.listeners=this.events.listeners,this.vars.selectable||(this.selectable=!1),this.style.position="absolute",this.style.display="block"}var t=["backgroundPositionX","backgroundPositionY","backgroundRepeatX","backgroundRepeatY","baselineShift","borderBottomLeftRadius","borderBottomRightRadius","borderBottomWidth","borderImageWidth","borderLeftWidth","borderRadius","borderRightWidth","borderSpacing","borderTopLeftRadius","borderTopRightRadius","borderTopWidth","borderWidth","bottom","fontSize","height","left","letterSpacing","lineHeight","margin","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","outlineOffset","outlineWidth","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","right","strokeWidth","textIndent","textLineThroughWidth","textOverlineWidth","textUnderlineWidth","top","width","wordSpacing"],i=["backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundRepeatX","backgroundRepeatY","backgroundSize","border","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","bufferedRendering","clear","color","content","cursor","direction","display","float","font","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","height","imageRendering","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","maxZoom","minHeight","minWidth","minZoom","opacity","order","orientation","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","paintOrder","pointerEvents","position","resize","right","size","src","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textAnchor","textDecoration","textIndent","textLineThroughColor","textLineThroughMode","textLineThroughStyle","textLineThroughWidth","textOverflow","textOverlineColor","textOverlineMode","textOverlineStyle","textOverlineWidth","textRendering","textShadow","textTransform","textUnderlineColor","textUnderlineMode","textUnderlineStyle","textUnderlineWidth","top","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","userZoom","verticalAlign","visibility","webkitBackfaceVisibility","webkitBoxShadow","webkitFilter","webkitFontSmoothing","webkitHighlight","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitUserDrag","webkitUserModify","webkitUserSelect","whiteSpace","width","wordBreak","wordSpacing","wordWrap","zIndex","zoom"];return function(i){var n="function"==typeof n?n:"function"==typeof MSCSSMatrix?MSCSSMatrix:"function"==typeof WebKitCSSMatrix?WebKitCSSMatrix:function(){};e.prototype.dispatchEvent=function(e,t){this.events.dispatchEvent.apply(this,[e,t])},e.prototype.addEventListener=function(e,t){for(var i=ELEMENT_EVENTS.length;i--;)e===ELEMENT_EVENTS[i]&&this.element.addEventListener(e,this.event,!1);this.events.addEventListener.apply(this,[e,t])},e.prototype.removeEventListener=function(e,t){for(var i=ELEMENT_EVENTS.length;i--;)e===ELEMENT_EVENTS[i]&&this.element.removeEventListener(e,this.event,!1);this.events.removeEventListener.apply(this,[e,t])},e.prototype.removeAllListeners=function(){this.events.removeAllListeners.call(this)},e.prototype.addChild=function(e){this.element.appendChild(e.element),e.parent=this,this.children.push(e),e.dispatchEvent(CHILD_ADDED,e)},e.prototype.prependChild=function(e){this.element.insertBefore(e.element,this.element.firstChild),e.parent=this,this.children.unshift(e),e.dispatchEvent(CHILD_ADDED,e)},e.prototype.removeChild=function(e){if(e){e.events&&e.events.removeAllListeners(e),e.removeLoader&&e.removeLoader(),e.element.parentNode&&e.element.parentNode.removeChild(e.element);for(var t=this.children.length;t--;)this.children[t]===e&&this.children.splice(t,1);e=null}},e.prototype.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])},e.prototype.childAdded=function(e){for(var t=this.children.length;t--;)"Stage"===this.children[t].topParentName&&this.children[t]===e&&this.children[t].dispatchEvent&&this.children[t].dispatchEvent(CHILD_ADDED,this.children[t])},e.prototype.moveToTop=function(e){for(var t=0,i=this.children.length;i--;)this.children[i].zIndex>=t&&!this.children[i]===e?t=this.children[i].zIndex+1:this.children[i].zIndex--;e.zIndex=t},e.prototype.event=function(e){!this.proxy._private.selectable&&!TOUCH_DEVICE&&"input"!==this.proxy.vars.type&&"textarea"!==this.proxy.vars.type&&"button"!==this.proxy.vars.type;var t={type:e.type,target:this.proxy,currentTarget:this.proxy,keyCode:e.which,detail:e.detail,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX||e.layerX,offsetY:e.offsetY||e.layerY,mouseX:e.clientX-this.proxy.stageX,mouseY:e.clientY-this.proxy.stageY,preventDefault:function(){e.preventDefault()},stopPropagation:function(){e.stopPropagation()},dataTransfer:e.dataTransfer};e.touches&&(t.touches=e.touches),this.proxy.dispatchEvent(e.type,t)},e.prototype.hitTestPoint=function(e,t){return this._private.width||(this._private.width=this.element.offsetWidth||this.element.scrollWidth||0),"none"!==this.style.display&&e>=this.stageX&&e<=this.stageX+this._private.width&&t>=this.stageY&&t<=this.stageY+this._private.height},e.prototype.hitTestAbs=function(e,t){return"none"!==this.style.display&&e>=this.scrollAbsX&&e<=this.scrollAbsX+this._private.width&&t>=this.scrollAbsY&&t<=this.scrollAbsY+this._private.height},e.prototype.globalToLocal=function(e){return{x:e.x-this.stageX,y:e.y-this.stageY}},e.prototype.localToGlobal=function(e){return{x:e.x+this.stageX,y:e.y+this.stageY}},e.prototype.focus=function(){stage.activeFocus=this,"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.focus()},e.prototype.blur=function(){"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.blur()},e.prototype.getClass=function(){return this.element.className},e.prototype.setClass=function(e){return this.element.setAttribute("class",e)},i.forEach(function(i){/width|height|fontSize|src|transition/.test(i)||Object.defineProperty(e.prototype,i,{get:function(){return this._private[i]},set:function(e){this._private[i]=e,this.element.style[i]=t.indexOf(i)>-1?e+"px":e}})}),Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.element.style.fontFamily},set:function(e){if(e.indexOf(":")>-1){var t=e.split(":"),i=t[0],n=t[1];this.fontWeight=n,this.element.style.fontFamily=i,this._private.fontFamily=i}else this.element.style.fontFamily=e,this._private.fontFamily=e}}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this.element.scrollLeft},set:function(e){this.element.scrollLeft=e}}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.element.scrollTop},set:function(e){this.element.scrollTop=e}}),Object.defineProperty(e.prototype,"offsetLeft",{get:function(){return this.element.offsetLeft}}),Object.defineProperty(e.prototype,"offsetTop",{get:function(){return this.element.offsetTop}}),Object.defineProperty(e.prototype,"value",{get:function(){return this.element.value},set:function(e){this.element.value=e}}),Object.defineProperty(e.prototype,"topParentName",{get:function(){return this.parent?this.parent.topParentName:this.topParentName}}),Object.defineProperty(e.prototype,"stageX",{get:function(){if(this.parent){var e=this.x>0?this.x:this.translateX;return this.parent.stageX+(e||0)}return this.x}}),Object.defineProperty(e.prototype,"stageY",{get:function(){if(this.parent){var e=this.y>0?this.y:this.translateY;return this.parent.stageY+(e||0)}return this.y}}),Object.defineProperty(e.prototype,"absX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetLeft+i.m41}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"absY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetTop+i.m42}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"scrollAbsX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetLeft+i.m41-t.scrollLeft}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"scrollAbsY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do{var i=new n(window.getComputedStyle(t).getPropertyValue("transform"));e+=t.offsetTop+i.m42-t.scrollTop}while(t=t.offsetParent);return e}}),Object.defineProperty(e.prototype,"src",{get:function(){return this._private.src},set:function(e){e&&(this._private.src=e,this.element.src=e)}}),Object.defineProperty(e.prototype,"text",{get:function(){return this._private.text},set:function(e){this._private.text=e,this.element.innerHTML=e}}),Object.defineProperty(e.prototype,"textAlignVertical",{get:function(){return this._private.textAlignVertical},set:function(e){this._private.textAlignVertical=e,"middle"!==e&&"bottom"!==e||(this.style.position="relative",this.style.display="table-cell"),this.style.verticalAlign=e}}),Object.defineProperty(e.prototype,"textWrap",{get:function(){return this._private.textWrap},set:function(e){this._private.textWrap=e,this.style.whiteSpace=e?"normal":"nowrap"}}),Object.defineProperty(e.prototype,"fontColor",{get:function(){return this._private.fontColor},set:function(e){this._private.fontColor=e,this.style.color=e}}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this._private.selectable},set:function(e){this._private.selectable=e,this._private.selectable||"input"===this.vars.type||"textarea"===this.vars.type?(this.style.cursor="auto",this.style["-webkit-touch-callout"]="text",this.style["-webkit-user-select"]="text",this.style.MozUserSelect="text",this.style["-ms-touch-callout"]="text",this.style["user-select"]="text"):(this.style.cursor="default",this.style["-webkit-touch-callout"]="none",this.style["-webkit-user-select"]="none",this.style.MozUserSelect="none",this.style["-ms-touch-callout"]="none",this.style["user-select"]="none")}}),Object.defineProperty(e.prototype,"alpha",{get:function(){return this._private.opacity},set:function(e){this._private.opacity=e,this.style.opacity=e}}),Object.defineProperty(e.prototype,"x",{get:function(){return this._private.x||0},set:function(e){this._private.x=e,this.style.left=e+"px"}}),Object.defineProperty(e.prototype,"y",{get:function(){return this._private.y||0},set:function(e){"textinputpanel"===this.name,this._private.y=e,this.style.top=e+"px"}}),Object.defineProperty(e.prototype,"translate",{get:function(){return this._private.translate},set:function(e){this._private.translate=e,this._private.translateX=e[0],this._private.translateY=e[1],this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateX",{get:function(){if(isNaN(this._private.translateX)){var e=new TransformMatrix(this.element);return Number(e.x)||0}return this._private.translateX},set:function(e){this._private.translateX=e,this._private.translateY=this._private.translateY||0,this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateY",{get:function(){if(this._private.translateY)return this._private.translateY;var e=new TransformMatrix(this.element);return Number(e.y)||0},set:function(e){this._private.translateY=e,this._private.translateX=this._private.translateX||0,this.style["-webkit-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style["-ms-transform"]="translate("+this._private.translateX+"px,"+this._private.translateY+"px)",this.style.transform="translate("+this._private.translateX+"px,"+this._private.translateY+"px)"}}),Object.defineProperty(e.prototype,"translateZ",{get:function(){return this._private.translateZ},set:function(e){this._private.translateZ=e,this.style["-webkit-transform"]="translateZ("+e+"px)",this.style["-ms-transform"]="translateZ("+e+"px)",this.style.transform="translateZ("+e+"px)"}}),Object.defineProperty(e.prototype,"translate3d",{get:function(){if(this._private.translate3d)return this._private.translate3d;var e=new TransformMatrix(this.element);return[e.x,e.y,e.z]||0},set:function(e){this._private.translate3d=e,this._private.translateX=e[0]||0,this._private.translateY=e[1]||0,this._private.translateZ=e[2]||0,this.style["-webkit-transform"]="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)",this.style["-ms-transform"]="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)",this.style.transform="translate3d("+e[0]+"px,"+e[1]+"px,"+e[2]+"px)"}}),Object.defineProperty(e.prototype,"rotate",{get:function(){return this._private.rotate},set:function(e){this._private.rotate=e,this.style["-webkit-transform"]="rotate("+e+"deg)",this.style["-moz-transform"]="rotate("+e+"deg)",this.style["-o-transform"]="rotate("+e+"deg)",this.style.transform="rotate("+e+"deg)"}}),Object.defineProperty(e.prototype,"width",{get:function(){return this._private.width=this._private.width||0,this._private.width},set:function(e){e<0&&(e=0),this._private.width=e,this.style.width=e+"px"}}),Object.defineProperty(e.prototype,"height",{get:function(){return this._private.height=this._private.height||0,this._private.height},set:function(e){e<0&&(e=0),this._private.height=e,this.style.height=e+"px"}}),Object.defineProperty(e.prototype,"numChildren",{get:function(){return this.children.length}}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this._private.fontSize},set:function(e){this._private.fontSize=e,isNaN(e)&&e.search("%")>-1?this.style.fontSize=e:isNaN(e)&&e.search("px")>-1?this.style.fontSize=e:isNaN(e)?this.style.fontSize=e:this.style.fontSize=e+"px"}}),Object.defineProperty(e.prototype,"transition",{get:function(){return this._private.transition},set:function(e){this._private.transition=e,e?(e="all "+e+"s cubic-bezier(1, 0, 0.3, 1)",this.style.WebkitTransition=e,this.style.MozTransition=e,this.style.OTransition=e,this.style.transition=e):(this.style.WebkitTransitionProperty="none",this.style.MozTransitionProperty="none",this.style.OTransitionProperty="none",this.style.transitionProperty="none")}}),Object.defineProperty(e.prototype,"isInViewport",{get:function(){var e=window.innerWidth,t=window.innerHeight,i={x:0,y:0,width:2*e,height:2*t},n=this.element.getBoundingClientRect();return n.x=n.x||n.left,n.y=n.y||n.top,isCollision(i,n)}})}(i),e}(),stage=Stage.call(Stage),svgPaths={navArrowRight:{default:"M1.4,11.984l4.244-4.242L1.4,3.5",thin:""},navArrowLeft:{default:"M6.644,3.5L2.4,7.742l4.244,4.242",thin:""},navArrowUp:{default:"m 1.4562498,8.21905 5.1000001,-5.4 5.7000001,5.4",thin:""},navArrowDown:{default:"m 1.4562498,1.44405 5.1000001,5.4 5.7000001,-5.4",thin:""},navFullscreen:{default:"M0,0h15v9H0V0z M2,2v5h11V2H2z",thin:"M1.5,1.5 L12.5,1.5 L12.5,7.5 L1.5,7.5 L1.5,1.5 z"},navShare:{default:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z",thin:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z"},navInfo:{default:"M0.576,10.401c0.384,0.922,0.924,1.724,1.621,2.404c2.891,2.908,7.741,2.946,10.624,0c2.904-2.923,2.905-7.705,0-10.629 c-2.88-2.92-7.736-2.881-10.624,0c-0.738,0.715-1.274,1.525-1.607,2.43C-0.192,6.534-0.197,8.465,0.576,10.401 C0.959,11.324,0.192,9.479,0.576,10.401z M1.9,5.131c0.311-0.753,0.745-1.403,1.303-1.95c2.34-2.383,6.292-2.274,8.654,0 c2.316,2.448,2.284,6.187,0,8.643c-2.387,2.29-6.288,2.39-8.654,0c-0.543-0.542-0.985-1.207-1.329-1.994 c-0.293-0.738-0.44-1.528-0.44-2.371C1.435,6.661,1.59,5.885,1.9,5.131C2.211,4.378,1.59,5.885,1.9,5.131z M4.792,7.981 c0.562,0,1.844-0.876,2.245-0.566C7.531,7.798,6.011,9.726,5.89,9.94c-0.605,1.064-0.754,2.451,0.931,2.24 c1.02-0.128,2.904-0.903,3.41-1.88c0.232-0.451-2.039,0.442-2.189,0.278C7.69,10.194,8.925,8.421,9.058,8.096 C10.812,3.81,4.583,6.318,4.792,7.981C4.796,7.981,4.792,7.981,4.792,7.981z M8.151,4.869c0.465,0.459,1.194,0.432,1.651-0.025 c0.701-0.62,0.341-1.849-0.572-2.041C8.067,2.56,7.326,4.053,8.151,4.869C8.38,5.094,7.923,4.644,8.151,4.869z",thin:"M7.5,12.5 C4.739,12.5 2.5,10.261 2.5,7.5 C2.5,4.739 4.739,2.5 7.5,2.5 C10.261,2.5 12.5,4.739 12.5,7.5 C12.5,10.261 10.261,12.5 7.5,12.5 z M7.5,5.694 L7.5,4.306 M7.5,10.37 L7.5,6.435"},navCart:{default:"M 1.248,8.985 H 3.254 V 6.989 H 1.248 V 8.985 z M 0,0 1.05,5.992 h 9.235 L 11.271,0.966 13.248,0.968 13.256,0 H 0 z m 3.25,3.981 h -1 v -1 h 1 v 1 z M 3.25,2 h -1 V 1 h 1 v 1 z m 2,2 h -1 V 3 h 1 v 1 z m 0,-2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 7.25,2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 9.25,2 h -1 V 1 h 1 V 2 z M 7.252,9.007 H 9.25 V 7.002 H 7.252 v 2.005 z",thin:"M3.673,7.806 C3.866,7.806 4.023,7.963 4.023,8.157 C4.023,8.35 3.866,8.507 3.673,8.507 C3.479,8.507 3.322,8.35 3.322,8.157 C3.322,7.963 3.479,7.806 3.673,7.806 z M10.034,1.526 L8.552,6.278 L2.701,6.278 L1.5,1.5 L11.542,1.5 M7.333,7.806 C7.139,7.806 6.982,7.963 6.982,8.157 C6.982,8.35 7.139,8.507 7.333,8.507 C7.527,8.507 7.684,8.35 7.684,8.157 C7.684,7.963 7.527,7.806 7.333,7.806 z"},navThumbs:{default:"M0,3h7v4H0V3z M0,8h7v4H0V8z M8,3h7v4H8V3z M8,8h7v4H8V8z",thin:"M1.5,3.5 L6.5,3.5 L6.5,6.5 L1.5,6.5 L1.5,3.5 z M8.5,3.5 L8.5,6.5 L13.5,6.5 L13.5,3.5 L8.5,3.5 z M1.5,8.5 L1.5,11.5 L6.5,11.5 L6.5,8.5 L1.5,8.5 z M8.5,8.5 L8.5,11.5 L13.5,11.5 L13.5,8.5 L8.5,8.5 z"},play:"M2,1l8,5.031L2,11V1z",pause:"M2,2h3v8H2V2z M7,2h3v8H7V2z",volume:"M2,7.5h1V10H2V7.5z M4,7h1v3H4V7z M6,6h1v4H6V6z M8,4h1v6H8V4z M10,2h1v8h-1V2z M0,8h1v2H0V8z",mute:"M2,8h1v2H2V8z M4,8h1v2H4V8z M6,8h1v2H6V8z M8,8h1v2H8V8z M10,8h1v2h-1V8z M0,8h1v2H0V8z",arrowLeft:"M 8.812269,1.1126749 2.1862736,7.2790289 8.876226,13.512325",arrowRight:"M 1.0939806,1.1126749 7.719976,7.2790289 1.0300236,13.512325",arrowUp:"M 1.1126747,8.812269 7.2790287,2.1862738 13.512325,8.876226",arrowDown:"M 1.1126747,1.0939808 7.2790287,7.719976 13.512325,1.0300238",arrowUpSmall:"M10.535,8.768L7,5.232L3.465,8.768",arrowDownSmall:"M3.465,5.232L7,8.768l3.535-3.535",arrowRightSmall:"M4.5,11.001L9.5,6l-5-5",arrowLeftSmall:"M9.5,2l-5,5.001l5,5",edit:"M4.244,7.759L9.203,2.8l2.151,2.151L6.396,9.909L2.8,11.397L4.244,7.759z",popout:"M3,8 L3,1 L12,1 L12,8 L10,8 L10,11 L0,11 L0,3 L3,3 L2,3 L2,4 L1.969,9 L10,9 L10,8 L3,8 z M10,3 L5,3 L5,6 L10,6 L10,3 z",remove:"M4,7h6 M7,2.5C4.515,2.5,2.5,4.515,2.5,7c0,2.486,2.015,4.5,4.5,4.5 c2.486,0,4.5-2.014,4.5-4.5C11.5,4.515,9.485,2.5,7,2.5z",spacer:"M12,10H2V4h10V10z",chart:"M1.844,9.188 L5.094,6.188 L7.031,8.562 L12.156,4.188",eyeSmall:"M2.613,6.95c0-1.391,2.021-2.518,4.513-2.518 c2.493,0,4.514,1.127,4.514,2.518 M7.125,5.691c-0.682,0-1.235,0.553-1.235,1.235c0,0.681,0.553,1.235,1.235,1.235 c0.681,0,1.235-0.554,1.235-1.235C8.36,6.244,7.807,5.691,7.125,5.691z",lock:"M10,9.875H4v-5h6V9.875z M9.5,4.625c0-1.381-1.119-2.5-2.5-2.5s-2.5,1.119-2.5,2.5 M5.5,4.625c0-0.828,0.672-1.5,1.5-1.5s1.5,0.672,1.5,1.5",plusSmall:"M3,7h8 M7,11V3",listSmall:"M11,4H3V3h8V4z M11,9H3v1h8V9z M11,6H3v1h8V6z",thumbXSmall:"M6,6H2V3h4V6z M12,3H8v3h4V3z M6,8H2v3h4V8z M12,8H8v3h4V8z",eyeHide:"M19.781,4.592 L21.552,6.272 L19.239,8.467 C21.488,9.601 23.362,11.298 25,13.186 C20.879,18.097 14.534,21.593 8.14,19.004 L5.219,21.776 L3.448,20.096 L5.761,17.9 C3.573,16.71 1.624,15.072 0,13.186 C2.735,10.019 6.181,7.253 10.432,6.602 C11.132,6.495 11.845,6.518 12.551,6.476 C14.03,6.531 15.436,6.958 16.838,7.386 L19.781,4.592 z M17.152,10.449 L16.088,11.458 L16.098,11.48 L11.356,15.995 L11.902,16.512 L16.432,12.199 C16.554,12.509 16.546,12.855 16.578,13.182 C16.578,15.412 14.674,17.221 12.324,17.22 C11.124,17.106 11.733,17.245 10.508,16.756 L10.108,17.135 C14.331,18.386 17.629,16.231 20.391,13.185 C19.486,12.082 18.4,11.139 17.152,10.449 z M12.357,8.854 C8.758,9.069 6.619,10.465 4.257,13.185 C5.207,14.373 6.45,15.227 7.71,16.051 L8.665,15.144 C8.045,13.746 8.2,14.412 8.07,13.182 C8.07,10.952 9.974,9.144 12.324,9.144 C13.614,9.267 12.915,9.119 14.391,9.709 L14.748,9.37 C13.149,8.884 13.947,9.051 12.357,8.854 z",minimize:"M0,11.5 L12,11.5",maximize:"M12,0 L12,12 L0,12 L0,0 L12,0 z M11,1.998 L1,1.998 L1,11.002 L11,11.002 L11,1.998 z",desktop:"M1.195,26.607 C0.561,26.543 0.018,26 -0.018,25.395 L0.018,3.755 C0.018,3.086 0.561,2.542 1.23,2.542 L30.805,2.542 C31.474,2.542 32.018,3.086 32.018,3.755 L31.982,25.394 C32.018,26 31.474,26.543 30.77,26.608 L18.932,26.607 C18.932,26.607 18.719,28.746 20.05,29.45 C20.9,29.9 20.558,30.258 20.558,30.258 L11.407,30.258 C11.407,30.258 11.09,29.93 11.95,29.5 C13.45,28.75 13.144,26.607 13.144,26.607 L1.195,26.607 z M30.237,4.404 L1.798,4.404 L1.798,20.531 L30.237,20.531 L30.237,4.404 z",tablet:"M25.638,0 C26.307,0 26.85,0.543 26.85,1.213 L26.85,30.787 C26.85,31.457 26.307,32 25.638,32 L6.362,32 C5.693,32 5.15,31.457 5.15,30.787 L5.15,1.213 C5.15,0.543 5.693,0 6.362,0 L25.638,0 z M16,29.476 C15.553,29.476 15.19,29.838 15.19,30.286 C15.19,30.733 15.553,31.095 16,31.095 C16.447,31.095 16.81,30.733 16.81,30.286 C16.81,29.838 16.447,29.476 16,29.476 z M25.188,3.231 L6.812,3.231 L6.812,28.769 L25.188,28.769 L25.188,3.231 z M15.896,1.406 C15.729,1.406 15.594,1.54 15.594,1.707 C15.594,1.874 15.729,2.009 15.896,2.009 C16.062,2.009 16.198,1.874 16.198,1.707 C16.198,1.54 16.062,1.406 15.896,1.406 z",mobile:"M21.718,0 C22.754,0 23.594,0.836 23.594,1.869 L23.594,30.131 C23.594,31.164 22.754,32 21.718,32 L10.282,32 C9.246,32 8.406,31.164 8.406,30.132 L8.406,1.868 C8.406,0.836 9.246,0 10.282,0 L21.718,0 z M16,28.5 C15.352,28.5 14.826,29.023 14.826,29.668 C14.826,30.314 15.352,30.837 16,30.837 C16.648,30.837 17.174,30.314 17.174,29.668 C17.174,29.023 16.648,28.5 16,28.5 z M22.539,4.083 L9.461,4.083 L9.461,27.345 L22.539,27.345 L22.539,4.083 z M17.287,2.563 L14.938,2.563 C14.876,2.563 14.825,2.623 14.825,2.697 L14.825,2.999 C14.825,3.073 14.875,3.133 14.938,3.133 L17.287,3.133 C17.351,3.133 17.402,3.073 17.402,2.999 L17.402,2.697 C17.402,2.623 17.351,2.563 17.287,2.563 z M16.117,1.042 C15.923,1.042 15.766,1.199 15.766,1.393 C15.766,1.586 15.923,1.743 16.117,1.743 C16.31,1.743 16.467,1.586 16.467,1.393 C16.467,1.199 16.31,1.042 16.117,1.042 z",close:"M0,0l12,12 M0,12l12-12",closeSmall:"M3,3l8,8 M3,11l8-8",plus:"M 6.5591462,0.00335385 6.5033537,13.059146",minus:"M 0.0033543,6.5033535 13.059146,6.5591465",operand:"m 0.07131516,7.5193495 14.99702684,0", fullscreen:"M0,2h2.77v0.898H0.923v1.801H0V2z M0,8.3h0.923v1.8H2.77V11H0V8.3z M1.846,3.8h8.308v5.4H1.846V3.8z M2.77,4.699V8.3h6.46 V4.699H2.77z M9.23,2H12v2.699h-0.923V2.898H9.23V2z M9.23,10.1h1.847V8.3H12V11H9.23V10.1z",resize:"M5.795,11l5.121-5.125 M9.293,11l1.623-1.623 M2.314,10.979l8.608-8.607",arrow1Left:"M7.5,20l18.338,18.336l6.662-6.664L20.829,20L32.5,8.327l-6.662-6.663L7.5,20z",arrow1Right:"M7.5,8.329L19.172,20L7.5,31.674l6.664,6.662L32.5,20L14.164,1.665L7.5,8.329z",arrow2Left:"M9.5,20l16.792,16.151l4.208-4.046L17.913,20L30.5,7.896l-4.208-4.047L9.5,20z",arrow2Right:"M9.5,7.894L22.084,20L9.5,32.104l4.208,4.047L30.5,20L13.708,3.849L9.5,7.894z",arrow3Left:"M66.5,15 L33.5,50 L66.5,85",arrow3Right:"M33,85 L67,50 L33,15",arrow3Down:"M15,33 L50,67 L85,33",plus1Left:"M0,15v10h40V15H0z",plus1Right:"M0,15v9.999h15V40h9.998V24.999H40V15H24.998V0H15v15H0z",plus2Left:"M5,17v6h30v-6H5z",plus2Right:"M5,17.001v5.998h12V35h6V22.999H35v-5.998H23.001V5h-6v12.001H5z",cursorThumbs:"M8,12h11v7H8V12z M8,20h11v7H8V20z M20,12h11v7H20V12z M20,20h11v7H20V20z",updates:"M7,3.563v4.649 M7,1.541C3.986,1.541,1.541,3.986,1.541,7c0,3.017,2.445,5.459,5.459,5.459c3.017,0,5.459-2.442,5.459-5.459C12.459,3.986,10.014,1.541,7,1.541z M6.333,9.022L7,9.832l0.665-0.81H6.333z",menuIconMobile:"M0,0 L20,0 L20,20 L0,20 L0,20 L20,20 L20,15 L0,15 L0,12 L20,12 L20,9 L0,9 L0,6 L20,6 L20,3 L0,3 L0,0 z",bigX:"M38.5,38.5L20.5,20.5L38.5,2.5L20.5,20.5L38.5,38.5ZM2.5,2.5L20.5,20.5L2.5,38.5L20.5,20.5L2.5,2.5Z",liveBtn:"M7,11.5 C4.515,11.5 2.5,9.485 2.5,7 C2.5,4.515 4.515,2.5 7,2.5 C9.485,2.5 11.5,4.515 11.5,7 C11.5,9.485 9.485,11.5 7,11.5 z",search:"M9.216,0.017 C11.426,0.129 13.407,1.063 15,2.577 L15,2.577 C17.352,4.953 18.186,8.521 17.078,11.685 C16.691,12.792 16.082,13.715 15.347,14.616 L16.512,14.302 L17.787,15.578 L17.785,15.587 L24.981,22.783 L22.771,24.993 L15.572,17.794 L15.571,17.794 L14.295,16.518 L14.61,15.349 C14.029,15.823 13.915,15.952 13.253,16.343 C10.537,17.95 7.052,17.95 4.336,16.343 C3.693,15.962 3.128,15.5 2.589,14.988 C-0.838,11.56 -0.838,6.004 2.589,2.577 C4.537,0.698 6.547,0.017 9.216,0.017 z M8.762,2.634 C7.117,2.657 5.65,3.34 4.446,4.433 C2.044,6.835 2.044,10.729 4.446,13.131 C6.847,15.533 10.742,15.533 13.143,13.131 C15.545,10.729 15.545,6.835 13.143,4.433 C12.001,3.289 10.672,2.791 9.089,2.639 L8.762,2.634 z",cloud:"M8.279,2.576 L9.048,2.632 C10.89,2.933 12.369,3.804 13.452,5.307 C13.976,5.2 13.716,5.232 14.233,5.206 C16.032,5.236 17.521,6.473 17.878,8.229 C19.765,8.595 20.911,10.333 21.003,12.16 C20.965,14.315 19.296,16.099 17.129,16.208 L15.216,16.217 L16.412,14.939 L17.011,14.931 L14.093,14.931 L10.825,18.424 L7.557,14.931 L5.001,14.931 L5.001,14.927 L7.553,14.927 L7.551,14.925 L9.688,14.925 L9.688,10.046 L11.962,10.046 L11.962,14.925 L14.099,14.925 L14.096,14.927 L17.013,14.927 L17.013,14.931 C18.528,14.846 19.699,13.681 19.725,12.16 C19.725,10.625 18.48,9.38 16.945,9.38 L16.85,9.385 C16.907,9.219 16.861,9.362 16.893,8.938 C16.893,7.48 15.711,6.298 14.253,6.298 C13.727,6.325 13.202,6.435 12.776,6.765 C12.033,5.001 10.151,3.977 8.299,3.932 C5.544,3.932 3.31,6.173 3.31,8.938 L3.324,9.229 C2.09,9.75 1.31,10.619 1.278,12.017 C1.278,13.631 2.593,14.939 4.207,14.939 L5.237,14.939 L6.433,16.217 L3.915,16.203 C1.655,16.105 0.108,14.161 0,12.017 C0.009,10.539 0.757,9.297 1.96,8.484 C2.144,5.037 4.983,2.743 8.279,2.576 z",attachment:"M9.931,1.636 C9.583,1.288 9.177,1.017 8.724,0.833 C8.286,0.655 7.824,0.564 7.349,0.564 C6.876,0.564 6.412,0.653 5.975,0.829 C5.522,1.012 5.116,1.279 4.767,1.626 L0.846,5.538 C0.571,5.811 0.358,6.13 0.212,6.487 C0.072,6.83 -0,7.194 -0,7.568 C-0,7.94 0.071,8.302 0.21,8.646 C0.353,9.001 0.565,9.32 0.838,9.594 C1.112,9.869 1.431,10.081 1.787,10.225 C2.131,10.365 2.494,10.436 2.867,10.436 C3.24,10.436 3.603,10.365 3.947,10.227 C4.304,10.082 4.623,9.87 4.898,9.597 L8.014,6.493 C8.214,6.294 8.368,6.062 8.473,5.802 C8.575,5.552 8.626,5.287 8.626,5.016 C8.626,4.458 8.409,3.937 8.014,3.545 C7.62,3.149 7.097,2.931 6.54,2.928 C5.982,2.927 5.457,3.144 5.062,3.539 L3.122,5.48 C3.023,5.579 2.97,5.708 2.97,5.846 C2.97,5.984 3.023,6.115 3.122,6.212 L3.13,6.22 C3.331,6.423 3.66,6.423 3.863,6.221 L5.808,4.282 C6.214,3.879 6.874,3.877 7.281,4.277 C7.477,4.472 7.583,4.732 7.583,5.011 C7.583,5.293 7.474,5.557 7.276,5.754 L4.161,8.857 C4.156,8.863 4.151,8.867 4.148,8.874 C3.804,9.209 3.35,9.392 2.868,9.389 C2.383,9.387 1.928,9.198 1.587,8.857 C1.417,8.683 1.285,8.48 1.194,8.255 C1.106,8.036 1.062,7.804 1.062,7.568 C1.062,7.084 1.248,6.631 1.587,6.291 C1.592,6.287 1.596,6.284 1.6,6.28 L5.513,2.369 C5.516,2.366 5.52,2.361 5.523,2.356 C5.771,2.113 6.059,1.923 6.38,1.795 C6.693,1.67 7.021,1.607 7.36,1.607 C7.698,1.607 8.028,1.672 8.339,1.797 C8.662,1.928 8.952,2.119 9.199,2.366 C9.447,2.613 9.638,2.903 9.769,3.226 C9.895,3.537 9.959,3.867 9.959,4.205 C9.959,4.545 9.895,4.876 9.768,5.19 C9.637,5.514 9.444,5.806 9.195,6.056 L6.491,8.751 C6.393,8.85 6.338,8.979 6.338,9.118 C6.338,9.257 6.393,9.387 6.49,9.484 L6.496,9.49 C6.697,9.692 7.026,9.692 7.228,9.49 L9.929,6.796 C10.277,6.447 10.548,6.041 10.733,5.588 C10.911,5.15 11,4.688 11,4.214 C11,3.74 10.91,3.278 10.733,2.841 C10.55,2.389 10.28,1.983 9.931,1.636 z",gear:"M10.329,6.099 L9.534,5.923 C9.522,5.462 9.423,5.017 9.239,4.597 L9.857,4.097 C9.956,4.016 9.971,3.871 9.891,3.772 L9.048,2.731 C9.009,2.683 8.954,2.653 8.893,2.646 C8.832,2.64 8.771,2.658 8.723,2.696 L8.121,3.185 C7.753,2.908 7.342,2.709 6.9,2.593 L6.9,1.827 C6.9,1.699 6.796,1.596 6.669,1.596 L5.329,1.596 C5.201,1.596 5.098,1.699 5.098,1.827 L5.098,2.594 C4.646,2.713 4.228,2.918 3.853,3.205 L3.245,2.72 C3.197,2.682 3.136,2.665 3.075,2.672 C3.015,2.679 2.959,2.71 2.921,2.757 L2.086,3.806 C2.048,3.854 2.031,3.915 2.038,3.976 C2.045,4.037 2.075,4.092 2.123,4.13 L2.747,4.627 C2.568,5.047 2.473,5.493 2.465,5.953 L1.669,6.137 C1.609,6.151 1.558,6.188 1.525,6.239 C1.493,6.291 1.482,6.354 1.496,6.413 L1.798,7.72 C1.827,7.844 1.95,7.921 2.075,7.893 L2.894,7.703 C3.108,8.095 3.389,8.438 3.731,8.724 L3.362,9.497 C3.336,9.552 3.333,9.616 3.353,9.673 C3.373,9.731 3.416,9.778 3.471,9.804 L4.681,10.381 C4.712,10.396 4.746,10.404 4.78,10.404 C4.806,10.404 4.832,10.399 4.857,10.391 C4.915,10.37 4.962,10.328 4.988,10.273 L5.361,9.49 C5.792,9.569 6.239,9.567 6.666,9.486 L7.046,10.264 C7.101,10.378 7.24,10.426 7.354,10.37 L8.559,9.782 C8.614,9.755 8.656,9.708 8.676,9.65 C8.696,9.592 8.692,9.529 8.665,9.474 L8.291,8.706 C8.631,8.416 8.909,8.07 9.119,7.676 L9.939,7.858 C10.064,7.885 10.187,7.807 10.214,7.683 L10.504,6.374 C10.532,6.25 10.453,6.127 10.329,6.099 z M7.516,6.013 C7.516,6.849 6.836,7.529 6,7.529 C5.164,7.529 4.484,6.849 4.484,6.013 C4.484,5.177 5.164,4.497 6,4.497 C6.836,4.497 7.516,5.177 7.516,6.013 z"},Svg=function(e){function t(e){this.vars={};var t;for(t in e)this.vars[t]=e[t];var i=document.createElementNS("http://www.w3.org/2000/svg",this.vars.type||"svg");i.style.position="absolute",i.style.display="block",i.proxy=this,this._private={},this.element=i,this.children=[],this.style=i.style,this.name=this.vars.type||"svg",this.events=this.vars.events||globalEvents,this.listeners=this.events.listeners}var i=e.Sprite,n=["dispatchEvent","addEventListener","removeEventListener","removeAllListeners","addChild","removeChild","removeChildren","childAdded","moveToTop","event","hitTestPoint","hitTestAbs","globalToLocal","localToGlobal","focus","blur"],o=["backgroundPositionX","backgroundPositionY","backgroundRepeatX","backgroundRepeatY","baselineShift","borderBottomLeftRadius","borderBottomRightRadius","borderBottomWidth","borderImageWidth","borderLeftWidth","borderRadius","borderRightWidth","borderSpacing","borderTopLeftRadius","borderTopRightRadius","borderTopWidth","borderWidth","bottom","fontSize","height","left","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","outlineOffset","outlineWidth","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","right","strokeWidth","textIndent","textLineThroughWidth","textOverlineWidth","textUnderlineWidth","top","width","wordSpacing"],a=["cx","cy","d","points","r","rx","ry","fill","stroke","width","height"],r=["backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundRepeatX","backgroundRepeatY","backgroundSize","border","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","bufferedRendering","clear","color","content","cursor","direction","display","float","font","fontFamily","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","height","imageRendering","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","maxZoom","minHeight","minWidth","minZoom","opacity","order","orientation","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","paintOrder","pointerEvents","position","resize","right","size","src","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textAnchor","textDecoration","textIndent","textLineThroughColor","textLineThroughMode","textLineThroughStyle","textLineThroughWidth","textOverflow","textOverlineColor","textOverlineMode","textOverlineStyle","textOverlineWidth","textRendering","textShadow","textTransform","textUnderlineColor","textUnderlineMode","textUnderlineStyle","textUnderlineWidth","top","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","userZoom","verticalAlign","visibility","webkitBackfaceVisibility","webkitBoxShadow","webkitFilter","webkitFontSmoothing","webkitHighlight","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitUserDrag","webkitUserModify","webkitUserSelect","whiteSpace","width","wordBreak","wordSpacing","wordWrap","zIndex","zoom"];return function(e,n,a){for(var r=e.length;r--;)t.prototype[e[r]]=i.prototype[e[r]];n.forEach(function(e){/fill|stroke|strokeWidth|width|height|x|y|transition/.test(e)||Object.defineProperty(t.prototype,e,{get:function(){return this._private[e]},set:function(t){this._private[e]=t,this.element.style[e]=o.indexOf(e)>-1?t+"px":t}})}),a.forEach(function(e){Object.defineProperty(t.prototype,e,{get:function(){return this._private[e]},set:function(t){this._private[e]=t,this.element.setAttribute(e,t)}})}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._private.scale},set:function(){var e=arguments[1]?arguments[0]+","+arguments[1]:arguments[0];this._private.scale=e,this.element.setAttribute("transform","scale("+e+")")}}),Object.defineProperty(t.prototype,"fillRule",{get:function(){return this._private.fillRule},set:function(e){this._private.fillRule=e,this.element.setAttribute("fill-rule",e)}}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._private.strokeWidth},set:function(e){this._private.strokeWidth=e,this.element.setAttribute("stroke-width",e)}}),Object.defineProperty(t.prototype,"topParentName",{get:function(){return this.parent?this.parent.topParentName:this.topParentName}}),Object.defineProperty(t.prototype,"stageX",{get:function(){return this.parent?this.parent.stageX+this.x:this.x}}),Object.defineProperty(t.prototype,"stageY",{get:function(){return this.parent?this.parent.stageY+this.y:this.y}}),Object.defineProperty(t.prototype,"absX",{get:function(){var e=0,t=this.element;if(t.offsetParent)do e+=t.offsetLeft;while(t=t.offsetParent);return e}}),Object.defineProperty(t.prototype,"absY",{get:function(){var e=0,t=this.element;if(t.offsetParent)do e+=t.offsetTop;while(t=t.offsetParent);return e}}),Object.defineProperty(t.prototype,"class",{get:function(){return this.element.className},set:function(e){this.element.setAttribute("class",e)}}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._private.selectable},set:function(e){this._private.selectable=e,this._private.selectable||"input"===this.vars.type||"textarea"===this.vars.type?(this.style.cursor="auto",this.style["-webkit-touch-callout"]="auto",this.style["-webkit-user-select"]="auto",this.style["-khtml-user-select"]="auto",this.style["-moz-user-select"]="auto",this.style["-ms-touch-callout"]="auto",this.style["user-select"]="auto"):(this.style.cursor="default",this.style["-webkit-touch-callout"]="none",this.style["-webkit-user-select"]="none",this.style["-khtml-user-select"]="none",this.style["-moz-user-select"]="none",this.style["-ms-touch-callout"]="none",this.style["user-select"]="none")}}),Object.defineProperty(t.prototype,"x",{get:function(){return this._private.x||0},set:function(e){this._private.x=e,this.style.left=e+"px"}}),Object.defineProperty(t.prototype,"y",{get:function(){return this._private.y||0},set:function(e){this._private.y=e,this.style.top=e+"px"}}),Object.defineProperty(t.prototype,"alpha",{get:function(){return this._private.opacity},set:function(e){this._private.opacity=e,this.style.opacity=e}}),Object.defineProperty(t.prototype,"translate",{get:function(){return this._private.translate},set:function(e){this._private.translate=e,this._private.translateX=e[0],this._private.translateY=e[1],this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateX",{get:function(){var e=new TransformMatrix(this.element);return e.x},set:function(e){this._private.translateX=e,this._private.translateY=this._private.translateY||0,this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateY",{get:function(){var e=new TransformMatrix(this.element);return e.y},set:function(e){this._private.translateY=e,this._private.translateX=this._private.translateX||0,this.style["-webkit-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)",this.style.transform="translate3d("+this._private.translateX+"px,"+this._private.translateY+"px, 0px)"}}),Object.defineProperty(t.prototype,"translateZ",{get:function(){return this._private.translateZ},set:function(e){this._private.translateZ=e,this._private.translateZ=this._private.translateZ||0,this.style["-webkit-transform"]="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)",this.style["-ms-transform"]="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)",this.style.transform="translate3d("+this._private.translateZ+"px,"+this._private.translateZ+"px, 0px)"}}),Object.defineProperty(t.prototype,"rotate",{get:function(){return this._private.rotate},set:function(e){this._private.rotate=e,this.style["-webkit-transform"]="rotate("+e+"deg)",this.style["-moz-transform"]="rotate("+e+"deg)",this.style["-o-transform"]="rotate("+e+"deg)",this.style.transform="rotate("+e+"deg)"}}),Object.defineProperty(t.prototype,"numChildren",{get:function(){return this.children.length}}),Object.defineProperty(t.prototype,"transition",{get:function(){return this._private.transition},set:function(e){this._private.transition=e,e=0===e?"none":"all "+e+"s cubic-bezier(1, 0, 0.3, 1)",this.style.WebkitTransition=e,this.style.MozTransition=e,this.style.OTransition=e,this.style.transition=e}})}(n,r,a),t}({Sprite:Sprite});VideoPlayer.playerID=0,VideoPlayer.getNextPlayerID=function(){return VideoPlayer.playerID++},VimeoPlayer.playerID=0,VimeoPlayer.getNextPlayerID=function(){return VimeoPlayer.playerID++},stage.addEventListener(LOAD,function(){dx.address=Address,dx.site=new SiteController({Sprite:Sprite,TextField:TextField,Bitmap:Bitmap,Tile:Tile,FooterController:FooterController,FooterView:FooterView,LogoController:LogoController,LogoView:LogoView,SectionController:SectionController,MediaModule:MediaModule,MenuController:MenuController,MenuView:MenuView,NavbarController:NavbarController,NavbarView:NavbarView,AddressController:AddressController,OverlayController:OverlayController,OverlayView:OverlayView,ImageView:ImageView,VideoView:VideoView,PageView:PageView,ContactView:ContactView,VideoPlayer:VideoPlayer,VimeoPlayer:VimeoPlayer,LoadingIndicator:LoadingIndicator,ThumbsModule:ThumbsModule,Cursor:Cursor,StaticNav:StaticNav,Tooltip:Tooltip,passwordInput:passwordInput,searchInput:searchInput,IntroView:IntroView,SiteService:SiteService,Popup:Popup,TouchNav:TouchNav})});var passedSections=[],layoutCalcs={_logoWidth:0,_logoHeight:0,_footerWidth:0,_footerHeight:0,_fotomotoWidth:0,_fotomotoHeight:0,_navbarHeight:0,_section:void 0,_thumbContentHeight:0,_mediaContentHeight:0,_maskView:{},_uriState:{},mobileFooterPadding:5,mediaOverlayState:"closed",isLandingMedia:!1,isMenuResponsiveOverlay:!1,_activeMediaType:void 0,_mediaMarginPrefix:void 0,_sectionStates:Object.keys(SECTIONS_MODEL).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:SECTIONS_MODEL[t].id,key:SECTIONS_MODEL[t].key,height:stage.height,zoneHeight:stage.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:stage.height,height:stage.height,assetId:0,mode:""}}),get _thumbsVisible(){return this._section&&this._section.key&&this._sectionStates[this._section.key]&&/thumbs/.test(this._sectionStates[this._section.key].mode)},set activeMediaType(e){this._mediaMarginPrefix=formatMediaType(e),this._activeMediaType=e},updateSectionState:function(e,t){var i=this;i._sectionStates[e]=[t].reduce(function(e,t){return Object.keys(t).reduce(function(e,i){return e[i]=t[i],e},e)},i._sectionStates[e]||{})},resetSectionState:function(){this._sectionStates=Object.keys(SECTIONS_MODEL).reduce(function(e,t){return"ROOT_SECTION"===t?e["/"]={}:e[t]={id:SECTIONS_MODEL[t].id,key:SECTIONS_MODEL[t].key,height:stage.height,zoneHeight:stage.height,assetId:0,mode:""},e},{landingMedia:{key:"landingMedia",zoneHeight:stage.height,height:stage.height,assetId:0,mode:""}})},getSectionState:function(e){return"string"==typeof e&&this._sectionStates[e]},getMaxScrollSectionHeight:function(e){var t=e.maxScroll.length,i=e.maxScroll.position,n=STATE.menuView.menuPositionFixed(),o=getMarginOverlap()||0,a=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),r=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),l=percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height),s=stage.height,d=/top/.test(STATE.menuView.placement()),c=/bottom/.test(STATE.menuView.placement()),h=!LAYOUT_MODEL.isMenuScrollReveal&&(d||c),u=0;return isFillSiteSlideshow(e.section)?s=stage.height:t>1&&0===i?h?n?d?(u=r+a-o,s=stage.height-u):(u=l+a-o,s=stage.height-u-r):d?(u=r+a-o,s=stage.height-u):s=stage.height-r:s=stage.height-r:i===t-1?h?n?d?(u=r+a-o,s=stage.height-u-l):(u=l+a-o,s=stage.height-u):d?s=stage.height-l:(u=l+a-o,s=stage.height-u):s=stage.height-l:1===t?h?n?d?(u=r+a-o,s=stage.height-u-l):(u=l+a-o,s=stage.height-u-r):d?(u=r+a-o,s=stage.height-u-l):(u=l+a-o,s=stage.height-u-r):s=stage.height-r-l:h&&n?d?(u=r+a-o,s=stage.height-u):(u=l+a-o,s=stage.height-u):s=stage.height,s},navbarView:{x:function(e){var t=percentToPixels(LAYOUT_MODEL.navbarOffsetX,stage.width);if(USER_AGENT===MOBILE){var i=""===LAYOUT_MODEL.menuDisplaceMobile||void 0===LAYOUT_MODEL.menuDisplaceMobile||LAYOUT_MODEL.menuDisplaceMobile,n=i?2*stage.width:stage.width;return n-e-15}switch(LAYOUT_MODEL.navbarAlignHorizontal){case"left":return t;case"center":return USER_AGENT===TABLET?.5*(stage.width-e):.5*(stage.width-e)+t;case"right":return stage.width-e+t;default:return t}},y:function(e){e=e||layoutCalcs._navbarHeight,layoutCalcs._navbarHeight=e;var t=percentToPixels(LAYOUT_MODEL.navbarOffsetY,stage.height);if(USER_AGENT!==MOBILE)switch(LAYOUT_MODEL.navbarAlignVertical){case"top":return t;case"center":return.5*(stage.height-e)+t;case"bottom":var i=LAYOUT_MODEL.navbarPositionFixed?window.innerHeight:STATE.siteView.height();return USER_AGENT===TABLET&&layoutCalcs.isDisplace()&&"bottom"===STATE.overrides.thumbnailSide&&"horizontal"===LAYOUT_MODEL.navbarLayout?stage.height-22:i-e+t}return 15}},footerView:{x:function(e){e=e||layoutCalcs._footerWidth,layoutCalcs._footerWidth=e;var t=percentToPixels(LAYOUT_MODEL.copyrightOffsetX,stage.width);if(USER_AGENT!==MOBILE)switch(LAYOUT_MODEL.copyrightAlignHorizontal){case"left":return t;case"center":return USER_AGENT===TABLET?.5*(stage.width-e)+t:.5*(stage.width-e)+t;case"right":return USER_AGENT===TABLET?stage.width-e+t:stage.width-e+t}else if(USER_AGENT===MOBILE)return layoutCalcs.mobileFooterPadding;return 0},y:function(e){e=e||layoutCalcs._footerHeight,layoutCalcs._footerHeight=e;var t=percentToPixels(LAYOUT_MODEL.copyrightOffsetY,stage.height);if(USER_AGENT!==MOBILE)switch(LAYOUT_MODEL.copyrightAlignVertical){case"top":return t;case"center":return.5*(stage.height-e)+t;case"bottom":var i=LAYOUT_MODEL.copyrightPositionFixed?window.innerHeight:STATE.siteView.height();return USER_AGENT===TABLET&&layoutCalcs.isDisplace()&&"bottom"===STATE.overrides.thumbnailSide?stage.height-22:i-e+t}else if(USER_AGENT===MOBILE)return stage.height-e-layoutCalcs.mobileFooterPadding;return 0}},logoView:{x:function(e){e=e||layoutCalcs._logoWidth,layoutCalcs._logoWidth=e;var t=0,i="left";if(USER_AGENT===MOBILE)t=percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width),i=LAYOUT_MODEL.mobileLogoAlignHorizontal||"left";else if(USER_AGENT===TABLET){var n=""===LAYOUT_MODEL.menuDisplaceTablet||void 0===LAYOUT_MODEL.menuDisplaceTablet||LAYOUT_MODEL.menuDisplaceTablet;t=n?percentToPixels(firstValid(LAYOUT_MODEL.tabletLogoOffsetX,LAYOUT_MODEL.logoOffsetX),stage.width)-layoutCalcs.menuView.width():percentToPixels(firstValid(LAYOUT_MODEL.tabletLogoOffsetX,LAYOUT_MODEL.logoOffsetX),stage.width),i=LAYOUT_MODEL.tabletLogoAlignHorizontal||LAYOUT_MODEL.logoAlignHorizontal}else isPod()?(t=percentToPixels(firstValid(LAYOUT_MODEL.mobileLogoOffsetX,LAYOUT_MODEL.logoOffsetX,0),stage.width),i=firstValid(LAYOUT_MODEL.mobileLogoAlignHorizontal,LAYOUT_MODEL.logoAlignHorizontal,"left")):isPad()?(t=percentToPixels(firstValid(LAYOUT_MODEL.tabletLogoOffsetX,LAYOUT_MODEL.logoOffsetX,0),stage.width),i=firstValid(LAYOUT_MODEL.tabletLogoAlignHorizontal,LAYOUT_MODEL.logoAlignHorizontal,"left")):(t=percentToPixels(LAYOUT_MODEL.logoOffsetX,stage.width),i=LAYOUT_MODEL.logoAlignHorizontal);switch(i){case"left":return t||0;case"center":return.5*(stage.width-e)+t;case"right":return stage.width-e-t}return 0},y:function(e){e=e||layoutCalcs._logoHeight,layoutCalcs._logoHeight=e;var t=0;if(USER_AGENT===MOBILE)return percentToPixels(LAYOUT_MODEL.mobileLogoOffsetY||0,stage.height);if(USER_AGENT===TABLET)switch(t=percentToPixels(firstValid(LAYOUT_MODEL.tabletLogoOffsetY,LAYOUT_MODEL.logoOffsetY),stage.height),LAYOUT_MODEL.tabletLogoAlignVertical||LAYOUT_MODEL.logoAlignVertical){case"top":return t;case"center":return.5*(stage.height-e)+t;case"bottom":return stage.height-e-t}else{t=isPod()?percentToPixels(firstValid(LAYOUT_MODEL.mobileLogoOffsetY,LAYOUT_MODEL.logoOffsetY,0),stage.height):isPad()?percentToPixels(firstValid(LAYOUT_MODEL.tabletLogoOffsetY,LAYOUT_MODEL.logoOffsetY,0),stage.height):percentToPixels(LAYOUT_MODEL.logoOffsetY,stage.height);var i=isPod()?firstValid(LAYOUT_MODEL.mobileLogoAlignVertical,LAYOUT_MODEL.logoAlignVertical,"top"):isPad()?firstValid(LAYOUT_MODEL.tabletLogoAlignVertical,LAYOUT_MODEL.logoAlignVertical,"top"):LAYOUT_MODEL.logoAlignVertical;switch(i){case"top":return t;case"center":return.5*(stage.height-e)+t;case"bottom":var n=LAYOUT_MODEL.logoPositionFixed?window.innerHeight:STATE.siteView.height();return n-e-t}}return 0}},menuBullet:{updateSize:function(e){var t=getFontData(LAYOUT_MODEL.menuFont),i=document.createElement("div"),n=e?LAYOUT_MODEL.menuSubFontSize:LAYOUT_MODEL.menuFontSize;i.innerHTML=menuBullet[LAYOUT_MODEL.menuBulletType],i.setAttribute("style","margin:0; padding:0; position:absolute; display:block; white-space:nowrap; opacity:0; font-family:"+t.family+"; font-weight:"+t.weight+"; font-size:"+n+"px"),document.body.appendChild(i),layoutCalcs.menuBullet.width=parseInt(window.getComputedStyle(i,null).width,10),layoutCalcs.menuBullet.height=parseInt(window.getComputedStyle(i,null).height,10),document.body.removeChild(i),i=null}},menuText:{x:function(e){e=e||layoutCalcs._menuTextWidth,layoutCalcs._menuTextWidth=e;var t=percentToPixels(STATE.menuView.menuTextPaddingHorizontal(),stage.width),i=STATE.menuView.menuTextAlignHorizontal();if(USER_AGENT===MOBILE)return 0;switch(USER_AGENT===TABLET&&(t=firstValid(percentToPixels(LAYOUT_MODEL.menuTextPaddingHorizontalTablet,stage.width),10),i=LAYOUT_MODEL.menuTextAlignHorizontalTablet||STATE.menuView.menuTextAlignHorizontal(),/top|bottom/.test(STATE.menuView.placement())&&(i=LAYOUT_MODEL.menuTextAlignHorizontalTablet||"left")),i){case"left":return t;case"center":return.5*(layoutCalcs.menuView.width()-e);case"right":return layoutCalcs.menuView.width()-e-t}},y:function(e){if(USER_AGENT===MOBILE)return layoutCalcs.logoView.y()+layoutCalcs._logoHeight+percentToPixels(firstValid(LAYOUT_MODEL.menuTextPaddingVerticalMobile,10),stage.height);var t=USER_AGENT===TABLET?LAYOUT_MODEL.menuTextAlignVerticalTablet||STATE.menuView.menuTextAlignVertical():STATE.menuView.menuTextAlignVertical(),i=USER_AGENT===TABLET?percentToPixels(firstValid(LAYOUT_MODEL.menuTextPaddingVerticalTablet,STATE.menuView.menuTextPaddingVertical()),stage.height):percentToPixels(STATE.menuView.menuTextPaddingVertical(),stage.height);switch(t){case"top":return i;case"center":return e>layoutCalcs.menuView.height()?0:.5*(layoutCalcs.menuView.height()-e)+i;case"bottom":return layoutCalcs.menuView.height()-e-i}return 0}},menuView:{x:function(){return USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.menuView.placement()?0:/top|bottom/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.width):"right"===STATE.menuView.placement()?percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width)-(getMarginOverlap()||0):percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.height)-(getMarginOverlap()||0)},y:function(){return USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.menuView.placement()?0:/left|right/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.height):"bottom"===STATE.menuView.placement()?percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.width)-(getMarginOverlap()||0):percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.width)-(getMarginOverlap()||0)},width:function(){if(USER_AGENT===MOBILE||"overlay"===STATE.menuView.placement())return stage.width;var e=!layoutCalcs._menuTextWidth||layoutCalcs._menuTextWidth<150?150:layoutCalcs._menuTextWidth;return USER_AGENT===TABLET&&percentToPixels(LAYOUT_MODEL.menuWidthMobile,stage.width)?percentToPixels(LAYOUT_MODEL.menuWidthMobile,stage.width)?percentToPixels(LAYOUT_MODEL.menuWidthMobile,stage.width):e:USER_AGENT===TABLET&&/top|bottom/.test(STATE.menuView.placement())?firstValid(LAYOUT_MODEL.menuWidthMobile,e):/left|right/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.menuWidth,stage.width):stage.width-(percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width))-percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.width)},height:function(){return USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.menuView.placement()?stage.height:/top|bottom/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.menuWidth,stage.height):stage.height-(percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height))-percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.height)}},mediaView:{x:function(){if(USER_AGENT===MOBILE||USER_AGENT===TABLET||isInMediaOverlay())return 0;var e=/left/.test(STATE.menuView.placement())?-getMarginOverlap()||0:0;return"left"===STATE.menuView.placement()?percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.menuWidth,stage.width)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.width)+e:percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+e},y:function(e){if(USER_AGENT===MOBILE||USER_AGENT===TABLET||isInMediaOverlay())return 0;var t=/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?-getMarginOverlap()||0:0;return"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?!LAYOUT_MODEL.isMenuScrollReveal&&STATE.menuView.menuPositionFixed()&&/top/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height)+t:0:/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height)+t:percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+t},width:function(e){var t=e||0;if(USER_AGENT===MOBILE||USER_AGENT===TABLET||isInMediaOverlay())return stage.width;if(/left|right/.test(STATE.menuView.placement())){var i=getMarginOverlap()||0;return stage.width-(percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width)+percentToPixels(LAYOUT_MODEL.menuWidth,stage.width)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.width)+t)+i}return stage.width-(percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width))},height:function(e,t){var i="unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior||(STATE.siteView.unifiedPageScroll()||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior))&&/overlay/.test(STATE.overrides.siteDisplayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&/thumbs/.test(layoutCalcs._uriState.mode)?t?STATE.getSectionZoneHeight(e):STATE.getSectionHeight(e):stage.height,n=layoutCalcs.getSectionState(e),o=!!n&&n.isFullTextHeight,a=/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?getMarginOverlap()||0:0,r=0,l=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),s=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height);return t||/unifiedSiteScrollVertical/.test(STATE.overrides.siteDisplayBehavior)||!STATE.siteView.unifiedPageScroll()||(i=/vScroll/.test(STATE.overrides.transitionType)?/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?STATE.getSectionHeight(e)+(l+s)>stage.height?STATE.getSectionHeight(e):stage.height:STATE.getSectionHeight(e)>stage.height?STATE.getSectionHeight(e):stage.height:stage.height), USER_AGENT===TABLET&&"bottom"===LAYOUT_MODEL.navbarAlignVertical&&layoutCalcs.isDisplace()&&"bottom"===STATE.overrides.thumbnailSide?i-30:USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.overrides.siteDisplayBehavior?i:(r="unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?!LAYOUT_MODEL.isMenuScrollReveal&&STATE.menuView.menuPositionFixed()&&/top|bottom/.test(STATE.menuView.placement())&&i>=stage.height-l&&!o&&!t?i-l:i:STATE.siteView.unifiedPageScroll()&&/vScroll/.test(STATE.overrides.transitionType)?i===stage.height&&/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?i-(l+s):i:/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?i-(l+s):i-s,r+a)},size:{x:function(){return/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?0:layoutCalcs.mediaView.x()},y:function(e){return/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?0:layoutCalcs.mediaView.y(e)},width:function(){return layoutCalcs.mediaView.width()},height:function(e){return layoutCalcs.mediaView.height(e)}}},landingMediaView:{x:function(){return 0},y:function(){return 0},width:function(){return stage.width},height:function(){return stage.height}},mediaMask:{x:function(){return"contact"===layoutCalcs._mediaMarginPrefix?0:percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginLeft"],stage.width)},y:function(e){return"contact"===layoutCalcs._mediaMarginPrefix?0:percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginTop"],stage.height)},width:function(e){return"contact"===layoutCalcs._mediaMarginPrefix?layoutCalcs.mediaView.width():(e||layoutCalcs.mediaView.width())-(percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginLeft"],stage.width)+percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginRight"],stage.width))},height:function(e,t){return"contact"===layoutCalcs._mediaMarginPrefix?layoutCalcs.mediaView.height(t):(e||layoutCalcs.mediaView.height(t))-(percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginTop"],stage.height)+percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginBottom"],stage.height))}},captionView:{size:function(e,t){layoutCalcs.captionView.currentText=e||layoutCalcs.captionView.currentText;var i=document.createElement("span"),n=getFontData(LAYOUT_MODEL.captionFont);i.innerHTML=layoutCalcs.captionView.currentText;var o="padding:"+(t||0)+"px";i.setAttribute("style","position:absolute; display:block; white-space:nowrap; opacity:1; font-family:"+n.family+"; font-weight:"+n.weight+"; font-size:"+LAYOUT_MODEL.captionFontSize+"px;"+o),document.body.appendChild(i);var a=percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginLeft"],stage.height),r=percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginRight"],stage.height),l=STATE.mediaView.width()-(a+r)-2*t;i.offsetWidth>l?(layoutCalcs.captionView.width=l+2*t,i.style.width=l+2*t+"px",i.style.whiteSpace="normal",layoutCalcs.captionView.height=i.offsetHeight):(layoutCalcs.captionView.width=i.offsetWidth,layoutCalcs.captionView.height=i.offsetHeight),document.body.removeChild(i),i=null}},isDisplace:function(){return!(USER_AGENT===MOBILE||!layoutCalcs._section||!layoutCalcs._thumbsVisible)&&(layoutCalcs._section.thumb&&"strip"===STATE.overrides.thumbnailType&&"displace"===STATE.overrides.thumbnailDock)}},STATE={get lightboxHash(){return localStorage.getItem("lightboxHash")},cacheLightboxSection:function(){var e=Object.keys(SECTIONS_MODEL).map(function(e){return SECTIONS_MODEL[e]}).filter(function(e){return e.isLightbox})[0];STATE.lightboxSection=e,e||localStorage.removeItem("lightboxHash")},lightboxButtonsEnabled:function(){return STATE.lightboxSection&&(STATE.lightboxSection.isUserEnableLightbox&&(STATE.userEnabledLightbox||STATE.lightboxSection.media.length)||!STATE.lightboxSection.isUserEnableLightbox)},setSectionHeight:function(e,t){layoutCalcs.updateSectionState(e,{height:t})},getSectionHeight:function(e){var t=layoutCalcs.getSectionState(e);return e&&t&&("unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior||STATE.siteView.unifiedPageScroll())?t.height:stage.height},getSectionZoneHeight:function(e){var t=layoutCalcs.getSectionState(e);return e&&t&&"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?t.zoneHeight:stage.height},overrides:{logoZIndex:LAYOUT_MODEL.logoZIndex,containerColor:LAYOUT_MODEL.containerColor,transitionType:touchDeviceTransition()||LAYOUT_MODEL.transitionType,transitionDuration:LAYOUT_MODEL.transitionDuration,imageAlignHorizontal:LAYOUT_MODEL.imageAlignHorizontal,imageAlignVertical:LAYOUT_MODEL.imageAlignVertical,imageScaleType:LAYOUT_MODEL.imageScaleType,videoScaleType:LAYOUT_MODEL.videoScaleType,videoAutoPlay:LAYOUT_MODEL.videoAutoPlay,mobileAutoPlay:LAYOUT_MODEL.mobileAutoPlay,vimeoDefault:LAYOUT_MODEL.vimeoDefault,videoLoop:LAYOUT_MODEL.videoLoop,imageVideoMarginTop:LAYOUT_MODEL.imageVideoMarginTop,imageVideoMarginRight:LAYOUT_MODEL.imageVideoMarginRight,imageVideoMarginBottom:LAYOUT_MODEL.imageVideoMarginBottom,imageVideoMarginLeft:LAYOUT_MODEL.imageVideoMarginLeft,imageVideoInactiveAlpha:LAYOUT_MODEL.imageVideoInactiveAlpha,imageVideoLoaderType:LAYOUT_MODEL.imageVideoLoaderType,imageVideoScrollType:LAYOUT_MODEL.imageVideoScrollType,imageVideoScrollbarRounded:LAYOUT_MODEL.imageVideoScrollbarRounded,imageVideoScrollbarVisibility:LAYOUT_MODEL.imageVideoScrollbarVisibility,imageVideoScrollbarAlignment:LAYOUT_MODEL.imageVideoScrollbarAlignment,imageVideoScrollbarHorizontalOffset:LAYOUT_MODEL.imageVideoScrollbarHorizontalOffset,imageVideoScrollbarVerticalOffset:LAYOUT_MODEL.imageVideoScrollbarVerticalOffset,imageVideoScrollbarColor:LAYOUT_MODEL.imageVideoScrollbarColor,imageVideoScrollbarHover:LAYOUT_MODEL.imageVideoScrollbarHover,imageVideoScrollbarBgTransparency:LAYOUT_MODEL.imageVideoScrollbarBgTransparency,imageVideoScrollbarWidth:LAYOUT_MODEL.imageVideoScrollbarWidth,menuDisplaceMobile:""===LAYOUT_MODEL.menuDisplaceMobile||void 0===LAYOUT_MODEL.menuDisplaceMobile||LAYOUT_MODEL.menuDisplaceMobile,menuDisplaceTablet:""===LAYOUT_MODEL.menuDisplaceTablet||void 0===LAYOUT_MODEL.menuDisplaceTablet||LAYOUT_MODEL.menuDisplaceTablet,pageMarginTop:LAYOUT_MODEL.pageMarginTop,pageMarginRight:LAYOUT_MODEL.pageMarginRight,pageMarginBottom:LAYOUT_MODEL.pageMarginBottom,pageMarginLeft:LAYOUT_MODEL.pageMarginLeft,pageMaxWidth:LAYOUT_MODEL.pageMaxWidth,pageMaxAlign:LAYOUT_MODEL.pageMaxAlign,pageScrollVerticalMargin:LAYOUT_MODEL.pageScrollVerticalMargin,pageTextFont:LAYOUT_MODEL.pageTextFont,pageTextKerning:LAYOUT_MODEL.pageTextKerning,pageTextFontSize:LAYOUT_MODEL.pageTextFontSize,pageTextFontColor:LAYOUT_MODEL.pageTextFontColor,pageTitle:LAYOUT_MODEL.pageTitle,pageTitleFont:LAYOUT_MODEL.pageTitleFont,pageTitleKerning:LAYOUT_MODEL.pageTitleKerning,pageTitleFontSize:LAYOUT_MODEL.pageTitleFontSize,pageTitleFontColor:LAYOUT_MODEL.pageTitleFontColor,pageScrollType:LAYOUT_MODEL.pageScrollType,pageScrollbarVisibility:LAYOUT_MODEL.pageScrollbarVisibility,pageScrollbarRounded:LAYOUT_MODEL.pageScrollbarRounded,pageScrollbarAlignment:LAYOUT_MODEL.pageScrollbarAlignment,pageScrollbarHorizontalOffset:LAYOUT_MODEL.pageScrollbarHorizontalOffset,pageScrollbarVerticalOffset:LAYOUT_MODEL.pageScrollbarVerticalOffset,pageScrollbarColor:LAYOUT_MODEL.pageScrollbarColor,pageScrollbarHover:LAYOUT_MODEL.pageScrollbarHover,pageScrollbarBgAlpha:LAYOUT_MODEL.pageScrollbarBgAlpha,pageScrollbarWidth:LAYOUT_MODEL.pageScrollbarWidth,thumbnailOnly:LAYOUT_MODEL.thumbnailOnly,thumbnailFullRes:LAYOUT_MODEL.thumbnailFullRes,thumbnailDefaultOn:LAYOUT_MODEL.thumbnailDefaultOn,thumbnailPositionFixed:LAYOUT_MODEL.thumbnailPositionFixed,thumbnailMasonryType:LAYOUT_MODEL.thumbnailMasonryType,thumbnailMasonry:LAYOUT_MODEL.thumbnailMasonry,thumbnailMasonryEvenRowHeight:LAYOUT_MODEL.thumbnailMasonryEvenRowHeight,thumbnailMasonryFill:LAYOUT_MODEL.thumbnailMasonryFill,thumbnailMasonryMaintainOrder:LAYOUT_MODEL.thumbnailMasonryMaintainOrder,thumbnailMaxCols:LAYOUT_MODEL.thumbnailMaxCols,thumbnailGap:Number(LAYOUT_MODEL.thumbnailGap),thumbnailGapVertical:Number(LAYOUT_MODEL.thumbnailGapVertical),thumbnailDock:LAYOUT_MODEL.thumbnailDock,thumbnailType:LAYOUT_MODEL.thumbnailType,thumbnailSize:LAYOUT_MODEL.thumbnailSize,thumbnailRandomize:LAYOUT_MODEL.thumbnailRandomize,thumbnailRandomInterval:LAYOUT_MODEL.thumbnailRandomInterval,thumbnailCustomWidth:LAYOUT_MODEL.thumbnailCustomWidth,thumbnailCustomHeight:LAYOUT_MODEL.thumbnailCustomHeight,thumbnailSide:LAYOUT_MODEL.thumbnailSide,thumbnailHorizontalMargin:LAYOUT_MODEL.thumbnailHorizontalMargin,thumbnailVerticalMargin:LAYOUT_MODEL.thumbnailVerticalMargin,thumbnailAlignHorizontal:LAYOUT_MODEL.thumbnailAlignHorizontal,thumbnailAlignVertical:LAYOUT_MODEL.thumbnailAlignVertical,thumbnailOverlayColor:LAYOUT_MODEL.overlayColor,thumbnailOverlayAlpha:LAYOUT_MODEL.overlayAlpha,thumbnailGridColor:LAYOUT_MODEL.thumbnailGridColor,thumbnailGridTransparency:LAYOUT_MODEL.thumbnailGridTransparency,thumbnailHoverAlpha:LAYOUT_MODEL.thumbnailHoverAlpha,thumbnailHoverAlphaMobile:LAYOUT_MODEL.thumbnailHoverAlphaMobile,thumbnailHoverAlphaTablet:LAYOUT_MODEL.thumbnailHoverAlphaTablet,thumbnailHoverColor:LAYOUT_MODEL.thumbnailHoverColor,thumbnailLoaderType:LAYOUT_MODEL.thumbnailLoaderType,thumbnailTitleFont:LAYOUT_MODEL.thumbnailTitleFont,thumbnailTitleFontSize:LAYOUT_MODEL.thumbnailTitleFontSize,thumbnailTitleFontColor:LAYOUT_MODEL.thumbnailTitleFontColor,thumbnailLabelVerticalOffset:LAYOUT_MODEL.thumbnailLabelVerticalOffset,thumbnailLabelColorMobile:LAYOUT_MODEL.thumbnailLabelColorMobile,thumbnailLabelColorTablet:LAYOUT_MODEL.thumbnailLabelColorTablet,thumbnailLabelPosition:LAYOUT_MODEL.thumbnailLabelPosition,thumbnailLabelJustification:LAYOUT_MODEL.thumbnailLabelJustification,thumbnailLabelPositionMobile:LAYOUT_MODEL.thumbnailLabelPositionMobile,thumbnailLabelPositionTablet:LAYOUT_MODEL.thumbnailLabelPositionTablet,thumbnailStdLabelPosition:LAYOUT_MODEL.thumbnailStdLabelPosition,thumbnailStdLabelPositionMobile:LAYOUT_MODEL.thumbnailStdLabelPositionMobile,thumbnailStdLabelPositionTablet:LAYOUT_MODEL.thumbnailStdLabelPositionTablet,thumbnailVideoPlayIcon:LAYOUT_MODEL.thumbnailVideoPlayIcon!==!1,thumbnailScrollbarAlignment:LAYOUT_MODEL.thumbnailScrollbarAlignment,thumbnailScrollbarColor:LAYOUT_MODEL.thumbnailScrollbarColor,thumbnailScrollbarHover:LAYOUT_MODEL.thumbnailScrollbarHover,thumbnailSelectedColor:LAYOUT_MODEL.thumbnailSelectedColor,thumbnailSelectedAlpha:LAYOUT_MODEL.thumbnailSelectedAlpha,thumbnailScrollbarHorizontalOffset:LAYOUT_MODEL.thumbnailScrollbarHorizontalOffset,thumbnailScrollbarVerticalOffset:LAYOUT_MODEL.thumbnailScrollbarVerticalOffset,thumbnailScrollType:LAYOUT_MODEL.thumbnailScrollType,thumbnailScrollbarBgAlpha:LAYOUT_MODEL.thumbnailScrollbarBgAlpha,thumbnailScrollbarWidth:LAYOUT_MODEL.thumbnailScrollbarWidth,thumbnailScrollbarVisibility:LAYOUT_MODEL.thumbnailScrollbarVisibility,thumbnailScrollbarRounded:LAYOUT_MODEL.thumbnailScrollbarRounded,captionAutoPosition:LAYOUT_MODEL.captionAutoPosition,captionDefault:LAYOUT_MODEL.captionDefault,captionUseTitle:LAYOUT_MODEL.captionUseTitle,captionCloseButton:LAYOUT_MODEL.captionCloseButton,captionBackgroundAlpha:LAYOUT_MODEL.captionBackgroundAlpha,captionBackgroundRectColor:LAYOUT_MODEL.captionBackgroundRectColor,captionFont:LAYOUT_MODEL.captionFont,captionFontColor:LAYOUT_MODEL.captionFontColor,captionFontSize:LAYOUT_MODEL.captionFontSize,captionFontSizeBreakpoint:LAYOUT_MODEL.captionFontSizeBreakpoint,captionWidth:LAYOUT_MODEL.captionWidth,captionHeight:LAYOUT_MODEL.captionHeight,captionAlignHorizontal:LAYOUT_MODEL.captionAlignHorizontal,captionAlignVertical:LAYOUT_MODEL.captionAlignVertical,captionOffsetX:LAYOUT_MODEL.captionOffsetX,captionOffsetY:LAYOUT_MODEL.captionOffsetY,captionTextAlign:LAYOUT_MODEL.captionTextAlign,captionTextAlignVertical:LAYOUT_MODEL.captionTextAlignVertical,captionPaddingTop:LAYOUT_MODEL.captionPaddingTop,captionPaddingRight:LAYOUT_MODEL.captionPaddingRight,captionPaddingBottom:LAYOUT_MODEL.captionPaddingBottom,captionPaddingLeft:LAYOUT_MODEL.captionPaddingLeft,captionScrollType:LAYOUT_MODEL.captionScrollType,captionScrollbarWidth:LAYOUT_MODEL.captionScrollbarWidth,captionScrollbarAlignment:LAYOUT_MODEL.captionScrollbarAlignment,captionScrollbarColor:LAYOUT_MODEL.captionScrollbarColor,captionScrollbarHover:LAYOUT_MODEL.captionScrollbarHover,captionScrollbarHorizontalOffset:LAYOUT_MODEL.captionScrollbarHorizontalOffset,captionScrollbarVerticalOffset:LAYOUT_MODEL.captionScrollbarVerticalOffset,captionScrollbarBgAlpha:LAYOUT_MODEL.captionScrollbarBgAlpha,captionAnchorTo:LAYOUT_MODEL.captionAnchorTo,slideshowRandomize:LAYOUT_MODEL.landingMediaRandomize,slideshowTransitionType:LAYOUT_MODEL.landingMediaTransitionType,slideshowSpeed:LAYOUT_MODEL.landingMediaSpeed,slideshowTransitionDuration:LAYOUT_MODEL.landingMediaTransitionDuration,slideshowAlignHorizontal:LAYOUT_MODEL.landingMediaAlignHorizontal,slideshowAlignVertical:LAYOUT_MODEL.landingMediaAlignVertical,slideshowScaleType:LAYOUT_MODEL.landingMediaScaleType,slideshowScrollDownIcon:LAYOUT_MODEL.slideshowScrollDownIcon,siteDisplayBehavior:LAYOUT_MODEL.siteDisplayBehavior,siteDisplayGalleryOnlyOverlay:LAYOUT_MODEL.siteDisplayGalleryOnlyOverlay},section:function(e){if(!e)return!1;var t=e.overrides||{},i=e.thumb||{};layoutCalcs.isLandingMedia=isSlideshowGallery(e),layoutCalcs._section=e,STATE.overrides={get containerColor(){return firstValid(t.containerColor,LAYOUT_MODEL.containerColor)},get transitionType(){if(layoutCalcs.isLandingMedia)return firstValid(t.transitionType,LAYOUT_MODEL.landingMediaTransitionType);var i=firstValid(touchDeviceTransition(),t.transitionType,LAYOUT_MODEL.transitionType);return!isPod()&&!isPad()||/vScroll/.test(i)||(i="mSlide"),TOUCH_DEVICE&&"hSlide"===i&&(i="mSlide"),isSingleTextPage(e)&&(i="vScrollStatic"),i},get transitionDuration(){return firstValid(t.transitionDuration,LAYOUT_MODEL.transitionDuration)},get imageAlignHorizontal(){return firstValid(t.imageAlignHorizontal,LAYOUT_MODEL.imageAlignHorizontal)},get imageAlignVertical(){return firstValid(t.imageAlignVertical,LAYOUT_MODEL.imageAlignVertical)},get imageScaleType(){return firstValid(t.imageScaleType,LAYOUT_MODEL.imageScaleType)},get videoScaleType(){return firstValid(t.videoScaleType,LAYOUT_MODEL.videoScaleType)},get mobileAutoPlay(){return LAYOUT_MODEL.mobileAutoPlay},get videoAutoPlay(){return!!layoutCalcs.isLandingMedia||firstValid(t.videoAutoPlay,LAYOUT_MODEL.videoAutoPlay)},get vimeoDefault(){var e=""===LAYOUT_MODEL.vimeoDefault||void 0===LAYOUT_MODEL.vimeoDefault||LAYOUT_MODEL.vimeoDefault,t=LAYOUT_MODEL.vimeoDefaultMobile,i=LAYOUT_MODEL.vimeoDefaultTablet;return isPod()?firstValid(t,e):isPad()?firstValid(i,e):e},get videoLoop(){return firstValid(t.videoLoop,LAYOUT_MODEL.videoLoop)},get imageVideoMarginTop(){return USER_AGENT!==MOBILE||/vScroll/.test(STATE.overrides.transitionType)?firstValid(t.imageVideoMarginTop,LAYOUT_MODEL.imageVideoMarginTop):0},get imageVideoMarginRight(){return USER_AGENT===MOBILE?0:firstValid(t.imageVideoMarginRight,LAYOUT_MODEL.imageVideoMarginRight)},get imageVideoMarginBottom(){return USER_AGENT!==MOBILE||/vScroll/.test(STATE.overrides.transitionType)?firstValid(t.imageVideoMarginBottom,LAYOUT_MODEL.imageVideoMarginBottom):0},get imageVideoMarginLeft(){return USER_AGENT===MOBILE?0:firstValid(t.imageVideoMarginLeft,LAYOUT_MODEL.imageVideoMarginLeft)},get pageMarginTop(){var e=firstValid(t.pageMarginTop,LAYOUT_MODEL.pageMarginTop);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginTopMobile,50):isPod()?firstValid(LAYOUT_MODEL.pageMarginTopMobile,e):e},get pageMarginRight(){var e=firstValid(t.pageMarginRight,LAYOUT_MODEL.pageMarginRight);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginRightMobile,0):isPod()?firstValid(LAYOUT_MODEL.pageMarginRightMobile,e):e},get pageMarginBottom(){var e=firstValid(t.pageMarginBottom,LAYOUT_MODEL.pageMarginBottom);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginBottomMobile,0):isPod()?firstValid(LAYOUT_MODEL.pageMarginBottomMobile,e):e},get pageMarginLeft(){var e=firstValid(t.pageMarginLeft,LAYOUT_MODEL.pageMarginLeft);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginLeftMobile,0):isPod()?firstValid(LAYOUT_MODEL.pageMarginLeftMobile,e):e},get pageMaxWidth(){return percentToPixels(firstValid(t.pageMaxWidth,LAYOUT_MODEL.pageMaxWidth),stage.width)},get pageMaxAlign(){return firstValid(t.pageMaxAlign,LAYOUT_MODEL.pageMaxAlign)},get pageScrollVerticalMargin(){return firstValid(t.pageScrollVerticalMargin,LAYOUT_MODEL.pageScrollVerticalMargin)},get pageTextFont(){return firstValid(t.pageTextFont,LAYOUT_MODEL.pageTextFont)},get pageTextKerning(){return firstValid(t.pageTextKerning,LAYOUT_MODEL.pageTextKerning)},get pageTextFontSize(){return t.pageTextFontSize||LAYOUT_MODEL.pageTextFontSize},get pageTextFontColor(){return firstValid(t.pageTextFontColor,LAYOUT_MODEL.pageTextFontColor)},get pageTitle(){return firstValid(t.pageTitle,LAYOUT_MODEL.pageTitle)},get pageTitleFont(){return firstValid(t.pageTitleFont,LAYOUT_MODEL.pageTitleFont)},get pageTitleKerning(){return firstValid(t.pageTitleKerning,LAYOUT_MODEL.pageTitleKerning)},get pageTitleFontSize(){return t.pageTitleFontSize||LAYOUT_MODEL.pageTitleFontSize},get pageTitleFontColor(){return firstValid(t.pageTitleFontColor,LAYOUT_MODEL.pageTitleFontColor)},get pageScrollType(){return firstValid(t.pageScrollType,LAYOUT_MODEL.pageScrollType)},get pageScrollbarVisibility(){return firstValid(t.pageScrollbarVisibility,LAYOUT_MODEL.pageScrollbarVisibility)},get pageScrollbarRounded(){return firstValid(t.pageScrollbarRounded,LAYOUT_MODEL.pageScrollbarRounded)},get pageScrollbarAlignment(){return firstValid(t.pageScrollbarAlignment,LAYOUT_MODEL.pageScrollbarAlignment)},get pageScrollbarHorizontalOffset(){return firstValid(t.pageScrollbarHorizontalOffset,LAYOUT_MODEL.pageScrollbarHorizontalOffset)},get pageScrollbarVerticalOffset(){return firstValid(t.pageScrollbarVerticalOffset,LAYOUT_MODEL.pageScrollbarVerticalOffset)},get pageScrollbarColor(){return firstValid(t.pageScrollbarColor,LAYOUT_MODEL.pageScrollbarColor)},get pageScrollbarHover(){return firstValid(t.pageScrollbarHover,LAYOUT_MODEL.pageScrollbarHover)},get pageScrollbarBgAlpha(){return firstValid(t.pageScrollbarBgAlpha,LAYOUT_MODEL.pageScrollbarBgAlpha)},get pageScrollbarWidth(){return firstValid(t.pageScrollbarWidth,LAYOUT_MODEL.pageScrollbarWidth)},get imageVideoScrollType(){var e=""===t.imageVideoScrollType?"scrollbar":t.imageVideoScrollType;return firstValid(e,LAYOUT_MODEL.imageVideoScrollType)},get imageVideoScrollbarRounded(){return firstValid(t.imageVideoScrollbarRounded,LAYOUT_MODEL.imageVideoScrollbarRounded)},get imageVideoScrollbarVisibility(){return firstValid(t.imageVideoScrollbarVisibility,LAYOUT_MODEL.imageVideoScrollbarVisibility)},get imageVideoInactiveAlpha(){return firstValid(t.imageVideoInactiveAlpha,LAYOUT_MODEL.imageVideoInactiveAlpha)},get imageVideoLoaderType(){return firstValid(t.imageVideoLoaderType,LAYOUT_MODEL.imageVideoLoaderType)},get imageVideoScrollbarAlignment(){return firstValid(t.imageVideoScrollbarAlignment,LAYOUT_MODEL.imageVideoScrollbarAlignment)},get imageVideoScrollbarHorizontalOffset(){return firstValid(t.imageVideoScrollbarHorizontalOffset,LAYOUT_MODEL.imageVideoScrollbarHorizontalOffset)},get imageVideoScrollbarVerticalOffset(){return firstValid(t.imageVideoScrollbarVerticalOffset,LAYOUT_MODEL.imageVideoScrollbarVerticalOffset)},get imageVideoScrollbarColor(){return firstValid(t.imageVideoScrollbarColor,LAYOUT_MODEL.imageVideoScrollbarColor)},get imageVideoScrollbarHover(){return firstValid(t.imageVideoScrollbarHover,LAYOUT_MODEL.imageVideoScrollbarHover)},get imageVideoScrollbarBgTransparency(){return firstValid(t.imageVideoScrollbarBgTransparency,LAYOUT_MODEL.imageVideoScrollbarBgTransparency)},get imageVideoScrollbarWidth(){return firstValid(t.imageVideoScrollbarWidth,LAYOUT_MODEL.imageVideoScrollbarWidth)},get menuDisplaceMobile(){return""===LAYOUT_MODEL.menuDisplaceMobile||void 0===LAYOUT_MODEL.menuDisplaceMobile||LAYOUT_MODEL.menuDisplaceMobile},get menuDisplaceTablet(){return""===LAYOUT_MODEL.menuDisplaceTablet||void 0===LAYOUT_MODEL.menuDisplaceTablet||LAYOUT_MODEL.menuDisplaceTablet},get overlayTitleFont(){return firstValid(LAYOUT_MODEL.overlayTitleFont,LAYOUT_MODEL.thumbnailTitleFont)},get overlayTitleFontSize(){return LAYOUT_MODEL.overlayTitleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize},get overlayTitleFontColor(){return firstValid(LAYOUT_MODEL.overlayTitleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor)},get thumbnailOnly(){return firstValid(i.only,LAYOUT_MODEL.thumbnailOnly)},get thumbnailFullRes(){return firstValid(i.fullRes,LAYOUT_MODEL.thumbnailFullRes)},get thumbnailDefaultOn(){return USER_AGENT===MOBILE?i.only||LAYOUT_MODEL.thumbnailOnly||firstValid(LAYOUT_MODEL.thumbnailDefaultOnMobile,i.defaultOn,LAYOUT_MODEL.thumbnailDefaultOn):i.only||LAYOUT_MODEL.thumbnailOnly||firstValid(i.defaultOn,LAYOUT_MODEL.thumbnailDefaultOn)},get thumbnailPositionFixed(){return USER_AGENT!==MOBILE&&firstValid(i.positionFixed,LAYOUT_MODEL.thumbnailPositionFixed)},get thumbnailMasonry(){if(USER_AGENT===MOBILE)return!0;var e=firstValid(i.type,LAYOUT_MODEL.thumbnailType);switch(e){case"vMasonry":return!0;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryType(){return firstValid(i.masonryType,LAYOUT_MODEL.thumbnailMasonryType)},get thumbnailMasonryFill(){if(USER_AGENT===MOBILE)return!0;var e=firstValid(i.masonryFill,LAYOUT_MODEL.thumbnailMasonryFill),t=firstValid(i.type,LAYOUT_MODEL.thumbnailType);if(void 0===t)return e;switch(t){case"vMasonry":return e;case"hMasonry":return e;default:return!1}},get thumbnailMasonryEvenRowHeight(){if(USER_AGENT===MOBILE)return!1;var e=firstValid(i.type,LAYOUT_MODEL.thumbnailType);switch(e){case"vMasonry":return!1;case"hMasonry":return!0;default:return!1}},get thumbnailMasonryMaintainOrder(){return firstValid(i.masonryMaintainOrder,LAYOUT_MODEL.thumbnailMasonryMaintainOrder)},get thumbnailMaxCols(){return firstValid(i.maxCols,LAYOUT_MODEL.thumbnailMaxCols)},get thumbnailGap(){return USER_AGENT===MOBILE?Number(LAYOUT_MODEL.thumbnailGapMobile||0):isPod()?Number(firstValid(LAYOUT_MODEL.thumbnailGapMobile,i.gap,LAYOUT_MODEL.thumbnailGap)):Number(firstValid(i.gap,LAYOUT_MODEL.thumbnailGap))},get thumbnailGapVertical(){return USER_AGENT===MOBILE?Number(LAYOUT_MODEL.thumbnailGapVerticalMobile||0):isPod()?Number(firstValid(LAYOUT_MODEL.thumbnailGapVerticalMobile,i.gapVertical,LAYOUT_MODEL.thumbnailGapVertical)):Number(firstValid(i.gapVertical,LAYOUT_MODEL.thumbnailGapVertical))},get thumbnailDock(){return firstValid(i.dock,LAYOUT_MODEL.thumbnailDock)},get thumbnailType(){if(USER_AGENT===MOBILE)return"none"===firstValid(i.type,LAYOUT_MODEL.thumbnailType)?"none":"vMasonry";var e=firstValid(i.masonry,LAYOUT_MODEL.thumbnailMasonry),t=i.type&&"default"!==i.type?firstValid(i.type,LAYOUT_MODEL.thumbnailType):LAYOUT_MODEL.thumbnailType,n="fill"===t&&e?"vMasonry":t;return n},get thumbnailRandomize(){return firstValid(i.randomize,LAYOUT_MODEL.thumbnailRandomize)},get thumbnailRandomInterval(){return firstValid(i.randomizeInterval,LAYOUT_MODEL.thumbnailRandomInterval,24)},get thumbnailSize(){return USER_AGENT===MOBILE?(THUMB_SIZES=updateCustomThumbSize(LAYOUT_MODEL.thumbnailCustomWidthMobile,LAYOUT_MODEL.thumbnailCustomHeightMobile),LAYOUT_MODEL.thumbnailSizeMobile||"xLarge"):isPod()?(THUMB_SIZES=updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthMobile,i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightMobile,i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),firstValid(LAYOUT_MODEL.thumbnailSizeMobile,i.size,LAYOUT_MODEL.thumbnailSize)):isPad()?(THUMB_SIZES=updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthTablet,i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightTablet,i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),firstValid(LAYOUT_MODEL.thumbnailSizeTablet,i.size,LAYOUT_MODEL.thumbnailSize)):(THUMB_SIZES=updateCustomThumbSize(firstValid(i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),firstValid(i.size,LAYOUT_MODEL.thumbnailSize))},get thumbnailCustomWidth(){return THUMB_SIZES=isPod()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthMobile,i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightMobile,i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):isPad()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthTablet,i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightTablet,i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):updateCustomThumbSize(firstValid(i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),THUMB_SIZES.custom.width},get thumbnailCustomHeight(){return THUMB_SIZES=isPod()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthMobile,i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightMobile,i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):isPad()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthTablet,i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightTablet,i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):updateCustomThumbSize(firstValid(i.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(i.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),THUMB_SIZES.custom.height},get thumbnailSide(){return firstValid(i.side,LAYOUT_MODEL.thumbnailSide)},get thumbnailHorizontalMargin(){return USER_AGENT===MOBILE?LAYOUT_MODEL.thumbnailHorizontalMarginMobile||0:isPod()?firstValid(LAYOUT_MODEL.thumbnailHorizontalMarginMobile,i.horizontalMargin,LAYOUT_MODEL.thumbnailHorizontalMargin):firstValid(i.horizontalMargin,LAYOUT_MODEL.thumbnailHorizontalMargin)},get thumbnailVerticalMargin(){return USER_AGENT===MOBILE?LAYOUT_MODEL.thumbnailVerticalMarginMobile||0:isPod()?firstValid(LAYOUT_MODEL.thumbnailVerticalMarginMobile,i.verticalMargin,LAYOUT_MODEL.thumbnailVerticalMargin):firstValid(i.verticalMargin,LAYOUT_MODEL.thumbnailVerticalMargin)},get thumbnailAlignHorizontal(){return firstValid(i.alignHorizontal,LAYOUT_MODEL.thumbnailAlignHorizontal)},get thumbnailAlignVertical(){return firstValid(i.alignVertical,LAYOUT_MODEL.thumbnailAlignVertical)},get thumbnailOverlayColor(){return firstValid(i.overlayColor,LAYOUT_MODEL.overlayColor)},get thumbnailOverlayAlpha(){return firstValid(i.overlayAlpha,LAYOUT_MODEL.overlayAlpha)},get thumbnailGridColor(){return firstValid(i.gridColor,LAYOUT_MODEL.thumbnailGridColor)},get thumbnailGridTransparency(){return firstValid(i.gridTransparency,LAYOUT_MODEL.thumbnailGridTransparency)},get thumbnailHoverAlpha(){return firstValid(i.hoverAlpha,LAYOUT_MODEL.thumbnailHoverAlpha)},get thumbnailHoverAlphaMobile(){return LAYOUT_MODEL.thumbnailHoverAlphaMobile},get thumbnailHoverAlphaTablet(){return LAYOUT_MODEL.thumbnailHoverAlphaTablet},get thumbnailHoverColor(){return firstValid(i.hoverColor,LAYOUT_MODEL.thumbnailHoverColor)},get thumbnailLoaderType(){return firstValid(i.loaderType,LAYOUT_MODEL.thumbnailLoaderType,"spinner")},get thumbnailTitleFont(){return isPod()?firstValid(LAYOUT_MODEL.thumbnailTitleFontMobile,LAYOUT_MODEL.thumbnailTitleFont):isPad()?firstValid(LAYOUT_MODEL.thumbnailTitleFontTablet,LAYOUT_MODEL.thumbnailTitleFont):firstValid(i.titleFont,LAYOUT_MODEL.thumbnailTitleFont)},get thumbnailTitleFontSize(){return isPod()?LAYOUT_MODEL.thumbnailTitleFontSizeMobile||i.titleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize:isPad()?LAYOUT_MODEL.thumbnailTitleFontSizeTablet||i.titleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize:i.titleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize},get thumbnailTitleFontColor(){return isPod()?firstValid(LAYOUT_MODEL.thumbnailTitleFontColorMobile,LAYOUT_MODEL.thumbnailLabelColorMobile,i.titleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor):isPad()?firstValid(LAYOUT_MODEL.thumbnailTitleFontColorTablet,LAYOUT_MODEL.thumbnailLabelColorTablet,i.titleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor):firstValid(i.titleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor)},get thumbnailLabelVerticalOffset(){return firstValid(i.labelVerticalOffset,LAYOUT_MODEL.thumbnailLabelVerticalOffset)},get thumbnailLabelColorMobile(){return LAYOUT_MODEL.thumbnailLabelColorMobile},get thumbnailLabelColorTablet(){return LAYOUT_MODEL.thumbnailLabelColorTablet},get thumbnailLabelPosition(){return firstValid(i.labelPosition,LAYOUT_MODEL.thumbnailLabelPosition)},get thumbnailLabelJustification(){return firstValid(i.labelJustification,LAYOUT_MODEL.thumbnailLabelJustification)},get thumbnailStdLabelPosition(){return i.stdLabelPosition},get thumbnailStdLabelJustification(){return i.stdLabelJustification},get thumbnailLabelPositionMobile(){var e=/^hover/.test(i.labelPosition)?"bottom":i.labelPosition,t=/^hover/.test(LAYOUT_MODEL.thumbnailLabelPosition)?"bottom":LAYOUT_MODEL.thumbnailLabelPosition;return firstValid(LAYOUT_MODEL.thumbnailLabelPositionMobile,e,t,void 0)},get thumbnailStdLabelPositionMobile(){var e=/^hover/.test(i.stdLabelPositionMobile)?"over":i.stdLabelPositionMobile,t=/^hover/.test(LAYOUT_MODEL.thumbnailStdLabelPositionMobile)?"over":LAYOUT_MODEL.thumbnailStdLabelPositionMobile;return firstValid(e,t,void 0)},get thumbnailLabelPositionTablet(){var e=/^hover/.test(i.labelPosition)?"bottom":i.labelPosition,t=/^hover/.test(LAYOUT_MODEL.thumbnailLabelPosition)?"bottom":LAYOUT_MODEL.thumbnailLabelPosition;return firstValid(LAYOUT_MODEL.thumbnailLabelPositionTablet,e,t,void 0)},get thumbnailStdLabelPositionTablet(){var e=/^hover/.test(i.stdLabelPositionTablet)?"over":i.stdLabelPositionTablet,t=/^hover/.test(LAYOUT_MODEL.thumbnailStdLabelPositionTablet)?"over":LAYOUT_MODEL.thumbnailStdLabelPositionTablet;return firstValid(e,t,void 0)},get thumbnailVideoPlayIcon(){return firstValid(i.videoPlayIcon,LAYOUT_MODEL.thumbnailVideoPlayIcon!==!1)},get thumbnailScrollbarAlignment(){return firstValid(i.scrollbarAlignment,LAYOUT_MODEL.thumbnailScrollbarAlignment)},get thumbnailScrollbarColor(){return firstValid(i.scrollbarColor,LAYOUT_MODEL.thumbnailScrollbarColor)},get thumbnailScrollbarHover(){return firstValid(i.scrollbarHover,LAYOUT_MODEL.thumbnailScrollbarHover)},get thumbnailSelectedColor(){return firstValid(i.selectedColor,LAYOUT_MODEL.thumbnailSelectedColor)},get thumbnailSelectedAlpha(){return firstValid(i.selectedAlpha,LAYOUT_MODEL.thumbnailSelectedAlpha,LAYOUT_MODEL.thumbnailHoverAlpha)},get thumbnailScrollbarHorizontalOffset(){return firstValid(i.scrollbarHorizontalOffset,LAYOUT_MODEL.thumbnailScrollbarHorizontalOffset)},get thumbnailScrollbarVerticalOffset(){return firstValid(i.scrollbarVerticalOffset,LAYOUT_MODEL.thumbnailScrollbarVerticalOffset)},get thumbnailScrollType(){var e=firstValid(i.scrollType,LAYOUT_MODEL.thumbnailScrollType);return"mouse cursor"===e&&(e="nativeMacOs"),e},get thumbnailScrollbarBgAlpha(){return firstValid(i.scrollbarBgAlpha,LAYOUT_MODEL.thumbnailScrollbarBgAlpha)},get thumbnailScrollbarWidth(){return firstValid(i.scrollbarWidth,LAYOUT_MODEL.thumbnailScrollbarWidth)},get thumbnailScrollbarVisibility(){return firstValid(i.scrollbarVisibility,LAYOUT_MODEL.thumbnailScrollbarVisibility)},get thumbnailScrollbarRounded(){return firstValid(i.scrollbarRounded,LAYOUT_MODEL.thumbnailScrollbarRounded)},get thumbnailTitleBlockTopMargin(){return isPod()?firstValid(LAYOUT_MODEL.thumbnailTitleBlockTopMarginMobile,LAYOUT_MODEL.thumbnailTitleBlockTopMargin)||0:LAYOUT_MODEL.thumbnailTitleBlockTopMargin||0},get captionAutoPosition(){return USER_AGENT===MOBILE&&LAYOUT_MODEL.captionMobileOverrides||firstValid(t.captionAutoPosition,LAYOUT_MODEL.captionAutoPosition)},get captionDefault(){return firstValid(t.captionDefault,LAYOUT_MODEL.captionDefault); },get captionUseTitle(){return firstValid(t.captionUseTitle,LAYOUT_MODEL.captionUseTitle)},get captionCloseButton(){return firstValid(t.captionCloseButton,LAYOUT_MODEL.captionCloseButton)},get captionBackgroundAlpha(){return firstValid(t.captionBackgroundAlpha,LAYOUT_MODEL.captionBackgroundAlpha)},get captionBackgroundRectColor(){return firstValid(t.captionBackgroundRectColor,LAYOUT_MODEL.captionBackgroundRectColor)},get captionFont(){return firstValid(t.captionFont,LAYOUT_MODEL.captionFont)},get captionFontColor(){return firstValid(t.captionFontColor,LAYOUT_MODEL.captionFontColor)},get captionFontSize(){return t.captionFontSize||LAYOUT_MODEL.captionFontSize},get captionFontSizeBreakpoint(){return t.captionFontSizeBreakpoint||LAYOUT_MODEL.captionFontSizeBreakpoint||t.captionFontSize||LAYOUT_MODEL.captionFontSize},get captionWidth(){return percentToPixels(firstValid(t.captionWidth,LAYOUT_MODEL.captionWidth),stage.width)},get captionHeight(){return percentToPixels(firstValid(t.captionHeight,LAYOUT_MODEL.captionHeight),stage.height)},get captionAlignHorizontal(){return firstValid(t.captionAlignHorizontal,LAYOUT_MODEL.captionAlignHorizontal)},get captionAlignVertical(){return firstValid(t.captionAlignVertical,LAYOUT_MODEL.captionAlignVertical)},get captionMobileOverrides(){return USER_AGENT===MOBILE&&LAYOUT_MODEL.captionMobileOverrides},get captionOffsetX(){return percentToPixels(firstValid(t.captionOffsetX,LAYOUT_MODEL.captionOffsetX),stage.width)},get captionOffsetY(){return percentToPixels(firstValid(t.captionOffsetY,LAYOUT_MODEL.captionOffsetY),stage.height)},get captionTextAlign(){return firstValid(t.captionTextAlign,LAYOUT_MODEL.captionTextAlign)},get captionTextAlignVertical(){return firstValid(t.captionTextAlignVertical,LAYOUT_MODEL.captionTextAlignVertical)},get captionPaddingTop(){return percentToPixels(firstValid(t.captionPaddingTop,LAYOUT_MODEL.captionPaddingTop),stage.height)},get captionPaddingRight(){return percentToPixels(firstValid(t.captionPaddingRight,LAYOUT_MODEL.captionPaddingRight),stage.width)},get captionPaddingBottom(){return percentToPixels(firstValid(t.captionPaddingBottom,LAYOUT_MODEL.captionPaddingBottom),stage.height)},get captionPaddingLeft(){return percentToPixels(firstValid(t.captionPaddingLeft,LAYOUT_MODEL.captionPaddingLeft),stage.width)},get captionScrollType(){return firstValid(t.captionScrollType,LAYOUT_MODEL.captionScrollType)},get captionScrollbarWidth(){return firstValid(t.captionScrollbarWidth,LAYOUT_MODEL.captionScrollbarWidth)},get captionScrollbarAlignment(){return firstValid(t.captionScrollbarAlignment,LAYOUT_MODEL.captionScrollbarAlignment)},get captionScrollbarColor(){return firstValid(t.captionScrollbarColor,LAYOUT_MODEL.captionScrollbarColor)},get captionScrollbarHover(){return firstValid(t.captionScrollbarHover,LAYOUT_MODEL.captionScrollbarHover)},get captionScrollbarHorizontalOffset(){return firstValid(t.captionScrollbarHorizontalOffset,LAYOUT_MODEL.captionScrollbarHorizontalOffset)},get captionScrollbarVerticalOffset(){return firstValid(t.captionScrollbarVerticalOffset,LAYOUT_MODEL.captionScrollbarVerticalOffset)},get captionScrollbarBgAlpha(){return firstValid(t.captionScrollbarBgAlpha,LAYOUT_MODEL.captionScrollbarBgAlpha)},get captionAnchorTo(){return firstValid(t.captionAnchorTo,LAYOUT_MODEL.captionAnchorTo)},get slideshowRandomize(){return firstValid(t.slideshowRandomize,LAYOUT_MODEL.landingMediaRandomize)},get slideshowTransitionType(){return firstValid(t.slideshowTransitionType,LAYOUT_MODEL.landingMediaTransitionType)},get slideshowSpeed(){return firstValid(t.slideshowSpeed,LAYOUT_MODEL.landingMediaSpeed)},get slideshowTransitionDuration(){return firstValid(t.slideshowTransitionDuration,LAYOUT_MODEL.landingMediaTransitionDuration)},get slideshowAlignHorizontal(){return firstValid(t.slideshowAlignHorizontal,LAYOUT_MODEL.landingMediaAlignHorizontal)},get slideshowAlignVertical(){return firstValid(t.slideshowAlignVertical,LAYOUT_MODEL.landingMediaAlignVertical)},get slideshowScaleType(){var e=firstValid(t.slideshowScaleType,LAYOUT_MODEL.landingMediaScaleType);return isPod()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeMobile,"fit"):isPad()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeTablet,e):e},get slideshowScrollDownIcon(){return firstValid(e.scrollDownIcon,LAYOUT_MODEL.slideshowScrollDownIcon)},get siteDisplayBehavior(){if(USER_AGENT===MOBILE||USER_AGENT===TABLET)return"none";var t=(LAYOUT_MODEL.unifiedPageScrolling||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior))&&/overlay/.test(e.displayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&isThumbsFirst(e)&&/thumbs/.test(layoutCalcs._uriState.mode)?LAYOUT_MODEL.siteDisplayBehavior:e.displayBehavior;return firstValid(t,LAYOUT_MODEL.siteDisplayBehavior,LAYOUT_MODEL.unifiedPageScrolling?"unifiedPageScrolling":"none")},get siteDisplayGalleryOnlyOverlay(){return USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&e.displayGalleryOnlyOverlay},get logoViewZIndex(){return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.mobileLogoZIndex,LAYOUT_MODEL.logoZIndex,"overlay"===STATE.menuView.placement()?5:8):isPod()?firstValid(t.logoZIndex,LAYOUT_MODEL.mobileLogoZIndex,LAYOUT_MODEL.logoZIndex,"overlay"===STATE.menuView.placement()?5:8):firstValid(t.logoZIndex,LAYOUT_MODEL.logoZIndex,"overlay"===STATE.menuView.placement()?5:8)}}},get backgroundImages(){var e=[];return e=window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingBackgroundImages")?SETTINGS_MODEL.stagingBackgroundImages||e:SETTINGS_MODEL.backgroundImages.length?SETTINGS_MODEL.backgroundImages:DX_MODEL.designSettings.backgroundImages||e,e.filter(function(e){return getMediaById(e)})},get socialLinks(){var e=[];return e=window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingSocialLinks")?SETTINGS_MODEL.stagingSocialLinks||e:SETTINGS_MODEL.socialLinks.length?SETTINGS_MODEL.socialLinks:DX_MODEL.designSettings.socialLinks||e,e.filter(function(e){return getMediaById(e)})},get podUseDesktop(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingPodUseDesktop")?SETTINGS_MODEL.stagingPodUseDesktop||!1:firstValid(SETTINGS_MODEL.podUseDesktop,DX_MODEL.designSettings.podUseDesktop)||!1},get padUseDesktop(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingPadUseDesktop")?SETTINGS_MODEL.stagingPadUseDesktop||!1:firstValid(SETTINGS_MODEL.padUseDesktop,DX_MODEL.designSettings.padUseDesktop)||!1},get copyright(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingCopyright")?SETTINGS_MODEL.stagingCopyright||"":firstValid(SETTINGS_MODEL.copyright,DX_MODEL.designSettings.copyright)||""},get logoFile(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingLogoFile")?SETTINGS_MODEL.stagingLogoFile||"":firstValid(SETTINGS_MODEL.logoFile,DX_MODEL.designSettings.logoFile)||""},get logoHtml(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingLogoHtml")?SETTINGS_MODEL.stagingLogoHtml||"":firstValid(SETTINGS_MODEL.logoHtml,DX_MODEL.designSettings.logoHtml)||""},get logoText(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingLogoText")?SETTINGS_MODEL.stagingLogoText||"":firstValid(SETTINGS_MODEL.logoText,DX_MODEL.designSettings.logoText)||""},get introFile(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingIntroFile")?SETTINGS_MODEL.stagingIntroFile||"":firstValid(SETTINGS_MODEL.introFile,DX_MODEL.designSettings.introFile)||""},get blogSectionId(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingBlogSectionId")?SETTINGS_MODEL.stagingBlogSectionId||"":firstValid(SETTINGS_MODEL.blogSectionId,DX_MODEL.designSettings.blogSectionId)||""},footerView:{zIndex:function(){return LAYOUT_MODEL.copyrightZIndex?LAYOUT_MODEL.copyrightZIndex:"overlay"===STATE.menuView.placement()?5:8}},introView:{zIndex:500},mediaView:{zIndex:1,zoneX:function(){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.x():layoutCalcs.mediaView.x()},zoneY:function(e){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.y():layoutCalcs.mediaView.y(e)},zoneWidth:function(){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.width():layoutCalcs.mediaView.width()},zoneHeight:function(e){return"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e,!0):isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e)},contentHeight:function(){return STATE.siteView.unifiedPageScroll()&&layoutCalcs._mediaContentHeight>STATE.mediaView.height()?layoutCalcs._mediaContentHeight:STATE.mediaView.height()},x:function(){var e=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.x():layoutCalcs.mediaView.x();return layoutCalcs.isDisplace()&&"left"===STATE.overrides.thumbnailSide?e+percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width)+THUMB_SIZES[STATE.overrides.thumbnailSize].width:e},y:function(e){var t=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.y():layoutCalcs.mediaView.y(e);return layoutCalcs.isDisplace()&&"top"===STATE.overrides.thumbnailSide?t+percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)+THUMB_SIZES[STATE.overrides.thumbnailSize].height:t},width:function(){var e=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.width():layoutCalcs.mediaView.width();return!layoutCalcs.isDisplace()||"left"!==STATE.overrides.thumbnailSide&&"right"!==STATE.overrides.thumbnailSide?e:e-percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width)-THUMB_SIZES[STATE.overrides.thumbnailSize].width},height:function(e){var t=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e),i=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),n=/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)&&/top|bottom/.test(STATE.menuView.placement())?stage.height-i:stage.height;return!(t>=n)&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||!layoutCalcs.isDisplace()||"top"!==STATE.overrides.thumbnailSide&&"bottom"!==STATE.overrides.thumbnailSide?t:t-percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)-THUMB_SIZES[STATE.overrides.thumbnailSize].height},maskX:function(){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.x():layoutCalcs.mediaMask.x()},maskY:function(e){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.y():layoutCalcs.mediaMask.y(e)},maskWidth:function(e){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.width():layoutCalcs.mediaMask.width(e)},maskHeight:function(e,t){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaMask.height(e,t)},hAlign:function(){return USER_AGENT===MOBILE?layoutCalcs.isLandingMedia?firstValid(LAYOUT_MODEL.landingMediaAlignHorizontalMobile,STATE.overrides.slideshowAlignHorizontal):STATE.overrides.imageAlignHorizontal:layoutCalcs.isLandingMedia?STATE.overrides.slideshowAlignHorizontal:STATE.overrides.imageAlignHorizontal},vAlign:function(){return USER_AGENT===MOBILE?layoutCalcs.isLandingMedia?firstValid(LAYOUT_MODEL.landingMediaAlignVerticalMobile,STATE.overrides.slideshowAlignVertical):STATE.overrides.imageAlignVertical:layoutCalcs.isLandingMedia?STATE.overrides.slideshowAlignVertical:STATE.overrides.imageAlignVertical},transitionDuration:function(e){return e?STATE.overrides.slideshowTransitionDuration:STATE.overrides.transitionDuration},imageScaleType:function(){return layoutCalcs.isLandingMedia?isPod()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeMobile,STATE.overrides.slideshowScaleType):isPad()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeTablet,STATE.overrides.slideshowScaleType):STATE.overrides.slideshowScaleType:STATE.overrides.imageScaleType},videoScaleType:function(e){return layoutCalcs.isLandingMedia?isPod()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeMobile,STATE.overrides.slideshowScaleType):isPad()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeTablet,STATE.overrides.slideshowScaleType):STATE.overrides.slideshowScaleType:e&&"fill"===STATE.overrides.videoScaleType?"fit":STATE.overrides.videoScaleType},videoAutoPlay:function(){return STATE.overrides.videoAutoPlay},backgroundColor:function(){return isFillSite()&&layoutCalcs.isLandingMedia?LAYOUT_MODEL.siteBackgroundColor:STATE.overrides.containerColor}},menuView:{placement:function(){var e;switch(LAYOUT_MODEL.menuAlignHorizontal){case"top-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"top";break;case"right-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"right";break;case"bottom-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"bottom";break;case"left-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"left";break;default:e=LAYOUT_MODEL.menuAlignHorizontal}return USER_AGENT===MOBILE||USER_AGENT===TABLET?"left":e},zIndex:6,menuPositionFixed:function(){return!!/bottom/.test(STATE.menuView.placement())||LAYOUT_MODEL.menuPositionFixed},menuFontSize:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayFontSize||LAYOUT_MODEL.menuFontSize:LAYOUT_MODEL.menuFontSize},menuSubFontSize:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlaySubFontSize||LAYOUT_MODEL.menuSubFontSize:LAYOUT_MODEL.menuSubFontSize},menuBgColor:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayBgColor||LAYOUT_MODEL.menuBgColor:LAYOUT_MODEL.menuBgColor},menuBgAlpha:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayBgAlpha||LAYOUT_MODEL.menuBgAlpha:LAYOUT_MODEL.menuBgAlpha},menuFontColor:function(){var e=LAYOUT_MODEL.menuFontColor;return USER_AGENT===MOBILE&&(e=LAYOUT_MODEL.menuFontColorMobile||e),USER_AGENT===TABLET&&(e=LAYOUT_MODEL.menuFontColorTablet||e),"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayFontColor||e:e},menuFontColorHover:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayFontColorHover||LAYOUT_MODEL.menuFontColorHover:LAYOUT_MODEL.menuFontColorHover},menuFontColorSelected:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayFontColorSelected||LAYOUT_MODEL.menuFontColorSelected:LAYOUT_MODEL.menuFontColorSelected},menuTextAlignHorizontal:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayTextAlignHorizontal||LAYOUT_MODEL.menuTextAlignHorizontal:LAYOUT_MODEL.menuTextAlignHorizontal},menuTextAlignVertical:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayTextAlignVertical||LAYOUT_MODEL.menuTextAlignVertical:LAYOUT_MODEL.menuTextAlignVertical},menuTextPaddingHorizontal:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayTextPaddingHorizontal||LAYOUT_MODEL.menuTextPaddingHorizontal:LAYOUT_MODEL.menuTextPaddingHorizontal},menuTextPaddingVertical:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayTextPaddingVertical||LAYOUT_MODEL.menuTextPaddingVertical:LAYOUT_MODEL.menuTextPaddingVertical},menuTextGap:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlayTextGap||LAYOUT_MODEL.menuTextGap:LAYOUT_MODEL.menuTextGap},menuSubTextAlignHorizontal:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlaySubTextAlignHorizontal||LAYOUT_MODEL.menuSubTextAlignHorizontal:LAYOUT_MODEL.menuSubTextAlignHorizontal},menuSubTextGap:function(){return"overlay"===STATE.menuView.placement()?LAYOUT_MODEL.menuOverlaySubTextGap||LAYOUT_MODEL.menuSubTextGap:LAYOUT_MODEL.menuSubTextGap},menuIconOverlayColor:function(){return LAYOUT_MODEL.menuIconOverlayColor||LAYOUT_MODEL.menuOverlayFontColor||"#333333"}},navbarView:{zIndex:function(){return/^overlay/.test(STATE.overrides.siteDisplayBehavior)?101:USER_AGENT===MOBILE||"overlay"===STATE.menuView.placement()?3:7}},overlayView:{x:function(){return STATE.mediaView.zoneX()},y:function(e){return/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||isInMediaOverlay()?0:STATE.mediaView.zoneY(e)},zoneWidth:function(){return isInMediaOverlay()?stage.width:isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.width():layoutCalcs.mediaView.width()},zoneHeight:function(e){if(isInMediaOverlay())return stage.height;if(!/unifiedPageScroll/.test(STATE.overrides.siteDisplayBehavior)||USER_AGENT===HTML&&isPod()||USER_AGENT===HTML&&isPad()||/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll){if(STATE.siteView.unifiedPageScroll()){var t=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e);return layoutCalcs._thumbsVisible&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&layoutCalcs._thumbContentHeight>t?layoutCalcs._thumbContentHeight:t}return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e)}return STATE.mediaView.zoneHeight()},zIndex:4,size:{x:function(){return isInMediaOverlay()?0:STATE.overlayView.x()},y:function(e){return isInMediaOverlay()?0:STATE.overlayView.y(e)},width:function(){return STATE.overlayView.zoneWidth()},height:function(e){return STATE.overlayView.zoneHeight(e)}}},captionView:{zIndex:function(){return USER_AGENT===MOBILE||"overlay"===STATE.menuView.placement()?2:7}},siteView:{unifiedPageScroll:function(){return"overlay"!==STATE.overrides.siteDisplayBehavior&&(!/none/.test(STATE.overrides.siteDisplayBehavior)&&(/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?/^vScroll/.test(STATE.overrides.transitionType)||layoutCalcs._thumbsVisible&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)||isSingleTextPage(layoutCalcs._section):/^unifiedPage/.test(STATE.overrides.siteDisplayBehavior)?/^vScroll/.test(STATE.overrides.transitionType)||layoutCalcs._thumbsVisible&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)||isSingleTextPage(layoutCalcs._section):LAYOUT_MODEL.unifiedPageScrolling))},width:function(){return stage.width},height:function(){if("single"===layoutCalcs.sectionDisplayMode&&isFillSite()&&layoutCalcs.isLandingMedia)return layoutCalcs.landingMediaView.height();if(USER_AGENT===MOBILE||USER_AGENT===TABLET)return stage.height;if("unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode){var e=getMarginOverlap()||0,t=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),i=percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height),n=layoutCalcs.mediaModules&&layoutCalcs.mediaModules[0],o=n&&n.controller.section;o&&STATE.section(o);var a=0,r=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height);return o&&isFillSiteSlideshow(o)?layoutCalcs.mediaViewsHeight+i:/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?(a=t+r-e,a+layoutCalcs.mediaViewsHeight+i):/bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?(a=i+r-e,t+layoutCalcs.mediaViewsHeight+a):t+layoutCalcs.mediaViewsHeight+i}if(STATE.siteView.unifiedPageScroll()||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior)&&/overlay/.test(STATE.overrides.siteDisplayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay){var l=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),s=/top/.test(STATE.menuView.placement()),d=/bottom/.test(STATE.menuView.placement()),c=!LAYOUT_MODEL.isMenuScrollReveal&&(s||d);if(c){var e=getMarginOverlap()||0,r=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),t=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),i=percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height),a=(stage.height,r-e||0);l+=a}if(/thumbs/.test(layoutCalcs._uriState.mode)&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&(isPod()||isPad()||/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll))l+=layoutCalcs._thumbContentHeight>STATE.mediaView.zoneHeight()?layoutCalcs._thumbContentHeight:STATE.mediaView.zoneHeight();else{var h=layoutCalcs._section&&layoutCalcs._section.key;l+=STATE.mediaView.height(h)>STATE.mediaView.zoneHeight()?STATE.mediaView.height(h):STATE.mediaView.zoneHeight()}return l+=percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height)}return stage.height}},setPassedSection:function(e){passedSections.push(e)},getPassedSection:function(e){return passedSections.indexOf(e)>-1}};layoutCalcs.sectionDisplayMode=/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)?"multiple":"single";var Address={url:"",path:"",query:"",fragment:"",listeners:[],onUriChange:function(){},init:function(){this.url=window.location.pathname+window.location.search,window.onpopstate=Address.fireListeners,window.onhashchange=Address.fireListeners,setTimeout(function(){window.history.pushState({value:Address.url},"",Address.url),Address.fireListeners()},0)},fireListeners:function(e,t){e&&e.state&&e.state.value&&(Address.url=e.state.value),Address.onChange(decodeURIComponent(Address.url)||"/",t),Address.onUriChange(Address.url,t)},setValue:function(e,t,i){if(0===e.indexOf("http"))window.location=e;else{var n=e.split("?"),o=i?"pushState":"replaceState";this.path=this.addDashes(this.trim(n[0])),this.query=n[1]?"?"+n[1]:"",this.url="/"+this.path+this.query,window.history[o]({value:this.url},"",this.url),this.fireListeners({},t)}"function"!=typeof window.ga||isAdmin||ga("send",{hitType:"pageview",page:window.location.pathname})},back:function(){history.back()},setLocation:function(e){window.location=e},setMetaDescription:function(e){var t=document.head.querySelector("meta[name='description']");e&&t&&t.setAttribute("content",e)},getMetaDescription:function(){var e=document.head.querySelector("meta[name='description']");return e?e.content:""},getQuery:function(){return window.location.search},setTitle:function(e){document.title=e},getTitle:function(){return document.title},getHost:function(){return window.location.host},addDashes:function(e){return e.replace(/ /g,"-").replace(/%20/g,"-")},trim:function(e){return e.replace(/^\s+|\s+$/g,"").replace(/^\/|\/$/g,"")}},MediaController=function(){function e(e,i){function n(){V.dispatchEvent(PAUSE_MEDIA)}function o(e){I.dispatchEvent(ADDRESS_ASSET_CHANGE,e)}function a(){I.dispatchEvent(PAGE_LOADED)}function r(e){V.dispatchEvent(LAYOUT_MODEL_CHANGE,e),x.section&&"layoutModelInit"!==e.id&&(P.test(e.id)||Y.test(e.id)||R.test(e.id)||N.test(e.id))&&(V.dispatchEvent("SectionMediaFactory/buildItems",{section:x.section,media:removeLinksFromMedia(x.section.media)}),V.dispatchEvent("assetReset")),t(x)}function l(e){return/page/.test(e)}function s(e){return/imageVideo|caption/.test(e)}function d(e,t){return/thumb/.test(t)&&"strip"!==e}function c(e){if(x.section&&(STATE.section(x.section),V.dispatchEvent(SECTIONS_MODEL_CHANGE,e),"update"===e.method&&e.id===x.section.id&&!d(STATE.overrides.thumbnailType,x.state.mode))){if("media"===e.field)V.dispatchEvent("SectionMediaFactory/buildItems",{section:x.section,media:e.value?removeLinksFromMedia(e.value):[]}),V.dispatchEvent("assetReset");else if("overrides"===e.field){var i=JSON.stringify(e.value);l(i)&&"html"===layoutCalcs._activeMediaType?(V.dispatchEvent("SectionMediaFactory/buildItems",{section:x.section,media:removeLinksFromMedia(x.section.media)}),V.dispatchEvent("assetReset")):s(i)&&/image|video/.test(layoutCalcs._activeMediaType)&&(V.dispatchEvent("SectionMediaFactory/buildItems",{section:x.section,media:removeLinksFromMedia(x.section.media)}),V.dispatchEvent("assetReset"))}else if(V.dispatchEvent("SectionMediaFactory/buildItems",{section:x.section,media:removeLinksFromMedia(x.section.media)}),V.dispatchEvent("assetReset"),"slideshow"===e.field){var n=e.value?"landingMedia":"mediaView";U=n,x.mediaViewBehavior=x.behavior.navigationModeChange(n);var o=x.state;o.isLandingMedia=e.value,o.info.mediaViewState=n,x.mediaViewBehavior.uriChange(o)}t(x)}}function h(e){V.dispatchEvent(SETTINGS_MODEL_CHANGE,e),"update"===e.method&&x.section&&("landingMedia"===x.section.id||x.section.isIntroGallery)&&"backgroundImages"===e.id&&I.dispatchEvent("resetUriChange",e)}function u(e){V.dispatchEvent(MEDIA_MODEL_CHANGE,e),"update"===e.method&&x.section&&x.section.media.indexOf(e.id)>-1&&(V.dispatchEvent("SectionMediaFactory/buildItems",{section:x.section,media:removeLinksFromMedia(x.section.media)}),V.dispatchEvent("assetReset")),t(x)}function T(e){V.dispatchEvent("MediaView/ContentReady",e.media)}function E(){V.dispatchEvent("layoutMediaView",{section:x.section}),z&&I.addEventListener(RESIZE_END,g),z=!1,"landingMedia"===U||x.mediaToRender.length<2?V.dispatchEvent("hideCursor"):V.dispatchEvent("showCursor")}function g(){V.dispatchEvent(RESIZE),STATE.section(x.section),x.staticNav&&x.staticNav.resize({x:0,y:0,width:STATE.mediaView.zoneWidth(),height:x.getTotalHeight()})}function m(){V.dispatchEvent(ORIENTATION_CHANGE)}function p(e){x.state&&x.state.assetId!==e.id&&(x.state.assetId=e.id,I.dispatchEvent("updateAssetId",e))}function L(e){x.section.key===e.section.key&&(x.state.mode=e.mode,V.dispatchEvent("checkCaption",e))}function f(e){/video|vimeo/.test(e.type)&&V.dispatchEvent("mediaSizeUpdate",e)}function v(){I.dispatchEvent(TRANSITION_START)}function S(){I.dispatchEvent(TRANSITION_END)}function O(e){x.cursorAxis=e,I.dispatchEvent("cursorAxisUpdate",e)}function C(e){I.dispatchEvent(CONTACT_FORM_SUBMIT,e)}function A(e){I.dispatchEvent(SHARE_FORM_SUBMIT,e)}function b(e){I.dispatchEvent(INQUIRY_FORM_SUBMIT,e)}function y(e){V.dispatchEvent(CONTACT_FORM_SENT,e)}function M(e){V.dispatchEvent(SHARE_FORM_SENT,e)}function w(e){V.dispatchEvent(INQUIRY_FORM_SENT,e)}function _(e){I.dispatchEvent(NAVBAR_OVERLAY_BTN_CLICK,e)}function D(e){I.dispatchEvent(TOUCH_NAVIGATION_END,e)}var U,x=this,V=e,I=i,P=/contactTitleFont|contactTitleFontSize|contactTitleShow|contactFont|contactFontSize|contactFontColor|contactFieldRectColor/,Y=/attachmentGallery|containerColor|transitionType|imageAlignHorizontal|imageAlignVertical|imageScaleType|videoScaleType|imageVideoInactiveAlpha|imageVideoMarginTop|imageVideoMarginRight|imageVideoMarginBottom|imageVideoMarginLeft|imageVideoScrollType|imageVideoScrollbarRounded|imageVideoScrollVisibility|imageVideoScrollbarHorizontalOffset|imageVideoScrollbarVerticalOffset/,R=/pageMarginTop|pageMarginRight|pageMarginBottom|pageMarginLeft|pageScrollVerticalMargin|pageTextFont|pageTextKerning|pageTextFontSize|pageTextFontColor|pageTitle|pageTitleFont|pageTitleKerning|pageTitleFontSize|pageTitleFontColor|pageScrollbarAlignment|pageScrollbarHorizontalOffset|pageScrollbarVerticalOffset|pageScrollbarColor|pageScrollbarHover|pageScrollbarBgAlpha|pageScrollbarWidth/,N=/landingMediaRandomize|landingMediaTransitionType|landingMediaSpeed|landingMediaTransitionDuration|landingMediaAlignHorizontal|landingMediaAlignVertical|landingMediaScaleType/,z=!0;I.addEventListener(ORIENTATION_CHANGE,m),I.addEventListener(LAYOUT_MODEL_CHANGE,r),I.addEventListener(SECTIONS_MODEL_CHANGE,c),I.addEventListener(SETTINGS_MODEL_CHANGE,h),I.addEventListener(MEDIA_MODEL_CHANGE,u),I.addEventListener(PAUSE_MEDIA,n),I.addEventListener(CONTACT_FORM_SENT,y),I.addEventListener(SHARE_FORM_SENT,M),I.addEventListener(INQUIRY_FORM_SENT,w),I.addEventListener("thumbStripDisplaceChange",g),I.addEventListener(MENU_DOCK_CLOSE,function(e){V.dispatchEvent(MENU_DOCK_CLOSE,e)}),I.addEventListener(MENU_DOCK_OPEN,function(e){V.dispatchEvent(MENU_DOCK_OPEN,e)}),I.addEventListener("SITE_URI_CHANGE_PASSIVE",L),V.addEventListener("SectionMediaFactory/mediaBuilt",T),V.addEventListener("MediaView/ContentAdded",E),V.addEventListener("ScrollTransition/updateAssetId",p),V.addEventListener(MEDIA_LOADED,f),V.addEventListener(TRANSITION_START,v),V.addEventListener(TRANSITION_END,S),V.addEventListener("cursorAxisUpdate",O),V.addEventListener(ADDRESS_ASSET_CHANGE,o),V.addEventListener(CONTACT_FORM_SUBMIT,C),V.addEventListener(SHARE_FORM_SUBMIT,A),V.addEventListener(INQUIRY_FORM_SUBMIT,b),V.addEventListener(NAVBAR_OVERLAY_BTN_CLICK,_),V.addEventListener(TOUCH_NAVIGATION_END,D),V.addEventListener(PAGE_LOADED,a),V.addEventListener("siteAnchorCaptionUpdate",function(e){I.dispatchEvent("siteAnchorCaptionUpdate",e)}),V.addEventListener("mediaOverlayClose",function(){n(),I.dispatchEvent("mediaOverlayClose")}),V.addEventListener("adminPageviewImageSizes",function(e){I.dispatchEvent("adminPageviewImageSizes",e)}),V.addEventListener("lightboxDownloadOverlayOpen",function(){I.dispatchEvent("lightboxDownloadOverlayOpen")}),V.addEventListener("lightboxUpdateItem",function(e){I.dispatchEvent("lightboxUpdateItem",e)}),V.addEventListener("attachmentDownload",function(e){I.dispatchEvent("attachmentDownload",e)}),I.addEventListener(RESIZE_END,function(e){STATE.section(x.section),(STATE.overrides.thumbnailOnly||isThumbsFirst(x.section))&&x.overlayController.resize()}),V.addEventListener("UPDATE_CONTENT_HEIGHT",function(e){STATE.section(x.section),e.thumbs&&x.thumbsTotalHeight!==e.thumbs?(/strip/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(x.state.mode)?/top|bottom/.test(STATE.overrides.thumbnailSide)?x.thumbsTotalHeight=Math.round(e.thumbs+x.totalHeight):x.thumbsTotalHeight=Math.round(x.totalHeight):x.thumbsTotalHeight=Math.round(e.thumbs),/^overlay/.test(STATE.overrides.siteDisplayBehavior)&&!isClosedGalleryOnlyOverlay()||(layoutCalcs._thumbContentHeight=Math.round(e.thumbs))):e.gallery&&(x.totalHeight=Math.round(e.gallery),x.overlayController.resize());var t;/thumbs/.test(x.state.mode)&&(t=/strip/.test(STATE.overrides.thumbnailType)&&x.totalHeight>0&&x.totalHeight>x.thumbsTotalHeight?x.totalHeight:x.thumbsTotalHeight);var i=/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?getMarginOverlap()||0:0;i&&(t-=i);var n={height:x.totalHeight};x.mediaView.container.children[0]&&(n.isFullTextHeight=allowPageContentHeight(x.mediaView.container.children[0],x.mediaView.container.children.length)),t&&(n.zoneHeight=t),layoutCalcs.updateSectionState(x.section.key,n),x.staticNav&&x.staticNav.resize({x:0,y:0,width:STATE.mediaView.zoneWidth(),height:x.getTotalHeight()}),I.dispatchEvent("UPDATE_CONTENT_HEIGHT")}),x.getTotalHeight=function(){if(STATE.section(x.section),"none"===STATE.overrides.siteDisplayBehavior)return STATE.mediaView.zoneHeight();if(isIndexSection(x.section)&&/thumbs/.test(x.state.mode))return x.thumbsTotalHeight?x.thumbsTotalHeight:STATE.mediaView.zoneHeight(x.section.key);if(isSlideshowGallery(x.section)||/none/.test(STATE.overrides.thumbnailType)||!/thumbs/.test(x.state.mode)){if(/unifiedSiteScrollVertical/.test(STATE.overrides.siteDisplayBehavior)){var e=x.mediaView.container.boundsHeight,t=layoutCalcs.getMaxScrollSectionHeight(x.mediaView);return/vScroll/.test(STATE.overrides.transitionType)?e:e&&e<2||t?x.staticNav.hide():0===e.assetId?(x.staticNav.hide("prev"),x.staticNav.show("next")):e.assetId===e.section.media.length-1?(x.staticNav.hide("next"),x.staticNav.show("prev")):x.staticNav.show()}}}function t(e){clearTimeout(i),i=setTimeout(function(){e.state&&e.state.mode.indexOf("caption")>-1&&USER_AGENT!==MOBILE?e.localEvents.dispatchEvent("showCaption",e.state):e.localEvents.dispatchEvent("hideCaption",e.state)},350)}e.prototype={checkCaption:function(){var e=this;t(e)},createStaticNav:function(){var e=this;isPod()||!sectionHasMedia(e.section)||"static"!==LAYOUT_MODEL.navCursorType||isSlideshowGallery(e.section)?"static"!==LAYOUT_MODEL.navCursorType&&e.staticNav&&e.staticNav.hide():(e.staticNav=e.buildStaticNav(),e.updateStaticNav(e.state),e.mediaView.addChild(e.staticNav))},destroyStaticNav:function(){var e=this;e.staticNav&&e.staticNav.element&&e.mediaView.removeChild(e.staticNav)},updateState:function(e){var t=this;t.state=e,t.mediaViewBehavior&&t.mediaViewBehavior.updateState(e)},build:function(e,i){var n=this;if(n.mediaView.section=e.section,n.state=e,navigationMode=e.info.mediaViewState,n.section=JSON.parse(JSON.stringify(e.section)),n.mediaToRender=e.mediaToRender,STATE.section(n.section),isSlideshowGallery(n.section)&&n.mediaToRender&&STATE.overrides.slideshowRandomize&&(n.mediaToRender=shuffleArray(n.mediaToRender)),e.assetId>-1){var o=getMediaById(e.mediaToRender[e.assetId]);layoutCalcs.activeMediaType=o.type}n.createStaticNav(),n.mediaViewBehavior=n.behavior.navigationModeChange(e.info.mediaViewState),(isSlideshowGallery(n.section)||!STATE.overrides.thumbnailOnly||e.assetId>-1)&&n.localEvents.dispatchEvent("SectionMediaFactory/buildItems",{media:n.mediaToRender,isMobileVideoClick:e.info.isMobileVideoClick,isBlog:e.info.isBlog,section:n.section,state:n.state}),n.overlayController.uriChange(e),i?n.mediaViewBehavior.init(e):!/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)||USER_AGENT===MOBILE||isPod()||USER_AGENT===TABLET||isPad()?n.mediaViewBehavior.uriChange(e):n.mediaViewBehavior.init(e),t(n)},getCurrentAssetId:function(){return this.state?this.state.assetId:0},getCurrentMode:function(){return this.state?this.state.mode:""},navigate:function(e){var i=this;if(i.state=e,i.mediaView.section=e.section,navigationMode=e.info.mediaViewState,i.section=JSON.parse(JSON.stringify(e.section)),i.mediaToRender=e.mediaToRender,STATE.section(i.section),e.assetId>-1&&!/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)){var n=getMediaById(e.mediaToRender[e.assetId]);layoutCalcs.activeMediaType=n.type}i.staticNav&&i.updateStaticNav(e),i.overlayController.uriChange(e),i.mediaViewBehavior.uriChange(e),i.localEvents.dispatchEvent("siteUriChange",e),t(i)},destroy:function(){var e=this;e.localEvents.dispatchEvent("destroy"),e.mediaView.destroy(),e.overlayController.destroy(),e.mediaViewBehavior.destroy(),e.staticNav&&e.staticNav.element&&e.mediaView.removeChild(e.staticNav)}};var i;return e}(),MediaModule=function(e){function t(e,t,i,n){var o,a=new EventSandbox,r=new MediaController(a,e);o=i?new MediaOverlay({localEvents:a,siteView:t}):new MediaView({localEvents:a,siteView:t}),t.addChild(o),n&&(o.maxScroll=n);new SectionMediaFactory({localEvents:a});return r.behavior=new MediaViewBehavior({localEvents:a,siteView:t,mediaView:o}),r.overlayController=new OverlayController({siteEvents:e,localEvents:a,siteView:t,mediaView:o}),r.mediaView=o,{controller:r,view:o,events:a,destroy:function(){mediaViewBehavior.destroy(),a.listeners=null,a=null}}}return t}({}),Caption=function(){function e(){this._properties={},this.container=new Sprite;var e=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.captionBlendMode?LAYOUT_MODEL.captionBlendMode:"normal";this.container.element.style["mix-blend-mode"]=e,this.container.element.style["border-radius"]="2px",this.mask=new Sprite,this.container.addChild(this.mask),this.hide(),this.content=new Sprite,this.mask.addChild(this.content),this.mask.overflow="hidden",this.container.selectable=!0,this.content.selectable=!0,this.mask.selectable=!0;var i=this;this.closeBtn=t(function(){i.hide()}),this.closeBtn.x=this.width-9,this.closeBtn.y=-9,this.closeBtn.element.style.zIndex=10,this.container.addChild(this.closeBtn),LAYOUT_MODEL.captionCloseButton||setTimeout(function(){i.hideCloseButton()},0)}function t(e){var t=new Svg;t.width=18,t.height=18,t.cursor="pointer";var i=new Circle;i.r=9,i.cx=9,i.cy=9,i.fill=LAYOUT_MODEL.captionBackgroundRectColor,i.element.style.opacity=LAYOUT_MODEL.captionBackgroundAlpha,i.stroke="none";var n=new Path;return n.id="icon",n.d="M5,5l8,8 M5,13l8-8",n.strokeWidth=1.5,n.fill="none",n.stroke=LAYOUT_MODEL.captionFontColor,t.addEventListener("click",e),t.addEventListener("mouseover",function(){0!=t.element.style.opacity&&(t.element.style.opacity=.75)}),t.addEventListener("mouseout",function(){0!=t.element.style.opacity&&(t.element.style.opacity=1)}),t.addChild(i),t.addChild(n),t}return e.prototype={get text(){return this._properties.text},set text(e){this._properties.text=e,this.content.text=e},get backgroundColor(){return this._properties.backgroundColor},set backgroundColor(e){this._properties.backgroundColor=e,this.container.backgroundColor=e},hideCloseButton:function(){this.closeBtn.element.style.pointerEvents="none",this.closeBtn.alpha=0,this.closeBtn.display="none"},showCloseButton:function(){this.closeBtn.element.style.pointerEvents="auto",this.closeBtn.alpha=1,this.closeBtn.display="block"},get fontFamily(){return this._properties.fontFamily},set fontFamily(e){this._properties.fontFamily=e,this.content.fontFamily=e},get fontColor(){return this._properties.fontColor},set fontColor(e){this._properties.fontColor=e,this.content.fontColor=e},get fontSize(){return this._properties.fontSize},set fontSize(e){this._properties.fontSize=e,this.content.fontSize=e},get textAlign(){return this._properties.textAlign},set textAlign(e){this._properties.textAlign=e,this.content.textAlign=e},get paddingTop(){return this._properties.paddingTop},set paddingTop(e){this._properties.paddingTop=e,this.content.paddingTop=e},get paddingRight(){return this._properties.paddingRight},set paddingRight(e){this._properties.paddingRight=e,this.content.paddingRight=e,this.width=this._properties.width},get paddingBottom(){return this._properties.paddingBottom},set paddingBottom(e){this._properties.paddingBottom=e,this.content.paddingBottom=e},get paddingLeft(){return this._properties.paddingLeft},set paddingLeft(e){this._properties.paddingLeft=e,this.content.paddingLeft=e,this.width=this._properties.width},get width(){return this._properties.width},set width(e){this._properties.width=e,this.closeBtn&&(this.closeBtn.x=e-9),this.container.width=e,this.mask.width=e,this.content.width=e-(this._properties.paddingLeft+this._properties.paddingRight)},get height(){return this._properties.height},set height(e){this._properties.height=e,this.container.height=e,this.mask.height=e},show:function(e){var t=this;t.text?setTimeout(function(){t.container.display="block",t.isShowing=!0,t.scroll&&setTimeout(t.scroll.resize,0),"function"==typeof e&&e(),Tween(t.container,.35,{alpha:1})},1e3*LAYOUT_MODEL.transitionDuration):this.hide()},hide:function(){this.container.alpha=0,this.container.display="none",this.isShowing=!1},buildScroll:function(e){if(isPod()||isPad()){if(this.mask.element.offsetHeight