1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,563522,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={overlay:function(e){return{position:"fixed",zIndex:1e3,width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.3)",opacity:+!!e,MozTransform:e?"":"translate3d(100%, 0, 0)",MsTransform:e?"":"translate3d(100%, 0, 0)",OTransform:e?"":"translate3d(100%, 0, 0)",WebkitTransform:e?"":"translate3d(100%, 0, 0)",transform:e?"":"translate3d(100%, 0, 0)",transition:e?"opacity 0.3s":"opacity 0.3s, transform 0s 0.3s"}},menuWrap:function(e,t,n){return{position:"fixed",right:n?0:"inherit",zIndex:1100,width:t,height:"100%",MozTransform:e?"":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:"all 0.5s"}},menu:function(){return{height:"100%",boxSizing:"border-box",overflow:"auto"}},itemList:function(){return{height:"100%"}},item:function(){return{display:"block"}}},t.exports=n.default},657731,(e,t,n)=>{"use strict";function a(){var e=Array.from(document.getElementsByClassName("bm-item")).shift();e&&e.focus()}function r(){var e=Array.from(document.getElementsByClassName("bm-item")).pop();e&&e.focus()}function i(){var e=document.getElementById("react-burger-cross-btn");e&&e.focus()}function o(e){if(document.activeElement.className.includes("bm-item")){var t=document.activeElement[e];t?t.focus():i()}else"previousElementSibling"===e?r():a()}Object.defineProperty(n,"__esModule",{value:!0}),n.focusOnFirstMenuItem=a,n.focusOnLastMenuItem=r,n.focusOnCrossButton=i,n.focusOnMenuButton=function(){var e=document.getElementById("react-burger-menu-btn");e&&e.focus()},n.focusOnMenuItem=o,n.focusOnNextMenuItem=function(){o("nextElementSibling")},n.focusOnPreviousMenuItem=function(){o("previousElementSibling")}},468706,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function(e,t,n){for(var a=!0;a;){var r=e,i=t,o=n;a=!1,null===r&&(r=Function.prototype);var l=Object.getOwnPropertyDescriptor(r,i);if(void 0===l){var s=Object.getPrototypeOf(r);if(null===s)return;e=s,t=i,n=o,a=!0,l=s=void 0;continue}if("value"in l)return l.value;var c=l.get;if(void 0===c)return;return c.call(o)}};function o(e){return e&&e.__esModule?e:{default:e}}var l=e.r(271645),s=o(l),c=o(e.r(745009)),d=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");i(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={hover:!1}}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(t,[{key:"getLineStyle",value:function(e){return a({position:"absolute",height:"20%",left:0,right:0,top:2*e*20+"%",opacity:this.state.hover?.6:1},this.state.hover&&this.props.styles.bmBurgerBarsHover)}},{key:"render",value:function(){var e=this,t=void 0;if(this.props.customIcon){var n={className:("bm-icon "+(this.props.customIcon.props.className||"")).trim(),style:a({width:"100%",height:"100%"},this.props.styles.bmIcon)};t=s.default.cloneElement(this.props.customIcon,n)}else t=s.default.createElement("span",null,[0,1,2].map(function(t){return s.default.createElement("span",{key:t,className:("bm-burger-bars "+e.props.barClassName+" "+(e.state.hover?"bm-burger-bars-hover":"")).trim(),style:a({},e.getLineStyle(t),e.props.styles.bmBurgerBars)})}));return s.default.createElement("div",{className:("bm-burger-button "+this.props.className).trim(),style:a({zIndex:1e3},this.props.styles.bmBurgerButton)},s.default.createElement("button",{type:"button",id:"react-burger-menu
1-btn",onClick:this.props.onClick,onMouseOver:function(){e.setState({hover:!0}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!0})},onMouseOut:function(){e.setState({hover:!1}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!1})},style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},"Open Menu"),t)}}]),t}(l.Component);n.default=d,d.propTypes={barClassName:c.default.string,customIcon:c.default.element,styles:c.default.object},d.defaultProps={barClassName:"",className:"",styles:{}},t.exports=n.default},180462,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function(e,t,n){for(var a=!0;a;){var r=e,i=t,o=n;a=!1,null===r&&(r=Function.prototype);var l=Object.getOwnPropertyDescriptor(r,i);if(void 0===l){var s=Object.getPrototypeOf(r);if(null===s)return;e=s,t=i,n=o,a=!0,l=s=void 0;continue}if("value"in l)return l.value;var c=l.get;if(void 0===c)return;return c.call(o)}};function o(e){return e&&e.__esModule?e:{default:e}}var l=e.r(271645),s=o(l),c=o(e.r(745009)),d=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");i(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(t,[{key:"getCrossStyle",value:function(e){return{position:"absolute",width:3,height:14,transform:"before"===e?"rotate(45deg)":"rotate(-45deg)"}}},{key:"render",value:function(){var e,t=this;if(this.props.customIcon){var n={className:("bm-cross "+(this.props.customIcon.props.className||"")).trim(),style:a({width:"100%",height:"100%"},this.props.styles.bmCross)};e=s.default.cloneElement(this.props.customIcon,n)}else e=s.default.createElement("span",{style:{position:"absolute",top:"6px",right:"14px"}},["before","after"].map(function(e,n){return s.default.createElement("span",{key:n,className:("bm-cross "+t.props.crossClassName).trim(),style:a({},t.getCrossStyle(e),t.props.styles.bmCross)})}));return s.default.createElement("div",{className:("bm-cross-button "+this.props.className).trim(),style:a({},{position:"absolute",width:24,height:24,right:8,top:8},this.props.styles.bmCrossButton)},s.default.createElement("button",a({type:"button",id:"react-burger-cross-btn",onClick:this.props.onClick,style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},!this.props.isOpen&&{tabIndex:-1}),"Close Menu"),e)}}]),t}(l.Component);n.default=d,d.propTypes={crossClassName:c.default.string,customIcon:c.default.element,isOpen:c.default.bool,styles:c.default.object},d.defaultProps={crossClassName:"",className:"",styles:{},isOpen:!1},t.exports=n.default},716867,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw i}}return n}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")},r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};
1function i(e){return e&&e.__esModule?e:{default:e}}var o=i(e.r(271645));i(e.r(174080));var l=i(e.r(745009)),s=i(e.r(563522)),c=e.r(657731),d=i(e.r(468706)),u=i(e.r(180462));n.default=function(e){if(!e)throw Error("No styles supplied");var t="ArrowDown",n="ArrowUp",i=function(i){i=r({},{bodyClassName:"",burgerBarClassName:"",burgerButtonClassName:"",className:"",crossButtonClassName:"",crossClassName:"",disableAutoFocus:!1,disableCloseOnEsc:!1,htmlClassName:"",id:"",itemClassName:"",itemListClassName:"",menuClassName:"",morphShapeClassName:"",noOverlay:!1,noTransition:!1,onStateChange:function(){},outerContainerId:"",overlayClassName:"",pageWrapId:"",styles:{},width:300,onIconHoverChange:function(){},itemListElement:"nav"},i);var l,p,h=a(o.default.useState(!1),2),f=h[0],m=h[1],x=o.default.useRef(),v=o.default.useRef({}),b=(l=i.isOpen,p=o.default.useRef(l),o.default.useEffect(function(){p.current=l}),p.current);function y(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];v.current=e,k(),setTimeout(function(){m(function(t){return void 0!==e.isOpen?e.isOpen:!t})})}function _(){"function"==typeof i.onClose?i.onClose():y()}function w(e,t){var n=i,a=n.width;return e(f,"string"!=typeof a?a+"px":a,n.right,t)}function C(t,n,a){var o="bm"+t.replace(t.charAt(0),t.charAt(0).toUpperCase()),l=s.default[t]?w(s.default[t]):{};return e[t]&&(l=r({},l,w(e[t],n+1))),i.styles[o]&&(l=r({},l,i.styles[o])),a&&(l=r({},l,a)),i.noTransition&&delete l.transition,l}function N(e,t,n){var a=document.getElementById(e);if(!a)return void console.error("Element with ID '"+e+"' not found");var r=w(t);for(var o in r)r.hasOwnProperty(o)&&(a.style[o]=n?r[o]:"");var l=function(e){return e.style["overflow-x"]=n?"hidden":""};i.htmlClassName||l(document.querySelector("html")),i.bodyClassName||l(document.querySelector("body"))}function k(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0],n=function(e,n){return e.classList[t?"add":"remove"](n)};i.htmlClassName&&n(document.querySelector("html"),i.htmlClassName),i.bodyClassName&&n(document.querySelector("body"),i.bodyClassName),e.pageWrap&&i.pageWrapId&&N(i.pageWrapId,e.pageWrap,t),e.outerContainer&&i.outerContainerId&&N(i.outerContainerId,e.outerContainer,t);var a=document.querySelector(".bm-menu-wrap");a&&(t?a.removeAttribute("hidden"):a.setAttribute("hidden",!0))}function j(){x.current&&clearTimeout(x.current)}function A(e){switch((e=e||window.event).key){case"Escape":i.disableCloseOnEsc||(_(),(0,c.focusOnMenuButton)());break;case t:(0,c.focusOnNextMenuItem)();break;case n:(0,c.focusOnPreviousMenuItem)();break;case"Home":(0,c.focusOnFirstMenuItem)();break;case"End":(0,c.focusOnLastMenuItem)()}}function T(e){if((e=e||window.event).target===document.getElementById("react-burger-menu-btn"))switch(e.key){case t:case" ":y();break;case n:y({focusOnLastItem:!0})}}return o.default.useEffect(function(){return i.isOpen&&y({isOpen:!0,noStateChange:!0}),function(){k(!1),j()}},[]),o.default.useEffect(function(){var t,n;void 0!==i.isOpen&&i.isOpen!==f&&i.isOpen!==b?y():e.svg&&(t=document.getElementById("bm-morph-shape"),n=e.svg.lib(t).select("path"),f?e.svg.animate(n):setTimeout(function(){n.attr("d",e.svg.pathInitial)},300))}),o.default.useEffect(function(){var e=v.current,t=e.noStateChange,n=e.focusOnLastItem;t||i.onStateChange({isOpen:f}),i.disableAutoFocus||(f?n?(0,c.focusOnLastMenuItem)():(0,c.focusOnFirstMenuItem)():document.activeElement?document.activeElement.blur():document.body.blur()),j(),x.current=setTimeout(function(){x.current=null,f||k(!1)},500);var a=f?A:T,r=i.customOnKeyDown||a;return window.addEventListener("keydown",r),function(){window.removeEventListener("keydown",r)}},[f]),o.default.createElement("div",null,!i.noOverlay&&o.default.createElement("div",{className:("bm-overlay "+i.overlayClassName).trim(),onClick:function(){!0===i.disableOverlayClick||"function"==typeof i.disableOverlayClick&&i.disableOverlayClick()||_()},style:C("overlay")}),!1!==i.customBurgerIcon&&o.default.createElement("div",{style:C("burgerIcon")},o.default.createElement(d.default,{onClick:function(){"function"==typeof i.onOpen?i.onOpen():y()},styles:i.styles,customIcon:i.customBurgerIcon,className:i.burgerButtonClassName,barClassName:i.burgerBarClassName,onIconStateChange:i.onIconStateChange})),o.default.createElement("div",{id:i.id,className:("bm-menu-wrap "+i.className).trim(),style:C("menuWrap"),"aria-hidden":!f},e.svg&&o.default.createElement("div",{id:"bm-morph-shape",className:("bm-morph-shape "+i.morphShapeClassName).trim(),style:C("morphShape")},o.default.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 100 800",preserveAspectRatio:"none"},o.default.createElement("path",{d:e.svg.pathInitial}))),o.default.createElement("div",{className:("bm-menu "+i.menuClassName).trim(),style:C("menu")},o.default.createElement(i.itemListElement,{className:("bm-item-list "+i.itemListClassName).trim(),style:C("itemList")},o.default.Children.map(i.children,function(e,t){if(e){var n=r({key:t,className:["bm-item",i.itemClassName,e.props.className].filter(function(e){return!!e}).join(" "),style:C("item",t,e.props.style)},!f&&{tabIndex:-1});return o.default.cloneElement(e,n)}}))),!1!==i.customCrossIcon&&o.default.createElement("div",{style:C("closeButton")},o.default.createElement(u.default,{onClick:_,styles:i.styles,customIcon:i.customCrossIcon,className:i.crossButtonClassName,crossClassName:i.crossClassName,isOpen:f}))))};return i.propTypes={bodyClassName:l.default.string,burgerBarClassName:l.default.string,burgerButtonClassName:l.default.string,className:l.default.string,crossButtonClassName:l.default.string,crossClassName:l.default.string,customBurgerIcon:l.default.oneOfType([l.default.element,l.default.oneOf([
1!1])]),customCrossIcon:l.default.oneOfType([l.default.element,l.default.oneOf([!1])]),customOnKeyDown:l.default.func,disableAutoFocus:l.default.bool,disableCloseOnEsc:l.default.bool,disableOverlayClick:l.default.oneOfType([l.default.bool,l.default.func]),htmlClassName:l.default.string,id:l.default.string,isOpen:l.default.bool,itemClassName:l.default.string,itemListClassName:l.default.string,itemListElement:l.default.oneOf(["div","nav"]),menuClassName:l.default.string,morphShapeClassName:l.default.string,noOverlay:l.default.bool,noTransition:l.default.bool,onClose:l.default.func,onIconHoverChange:l.default.func,onOpen:l.default.func,onStateChange:l.default.func,outerContainerId:e&&e.outerContainer?l.default.string.isRequired:l.default.string,overlayClassName:l.default.string,pageWrapId:e&&e.pageWrap?l.default.string.isRequired:l.default.string,right:l.default.bool,styles:l.default.object,width:l.default.oneOfType([l.default.number,l.default.string])},i},t.exports=n.default},932655,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({}),t.exports=n.default},244621,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({menuWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",MsTransform:e?"":n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",OTransform:e?"":n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",WebkitTransform:e?"":n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",transform:e?"":n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)",transition:e?"transform 0.8s cubic-bezier(0.7, 0, 0.3, 1)":"transform 0.4s cubic-bezier(0.7, 0, 0.3, 1)"}},item:function(e,t,n,a){return{MozTransform:e?"":"translate3d(0, "+500*a+"px, 0)",MsTransform:e?"":"translate3d(0, "+500*a+"px, 0)",OTransform:e?"":"translate3d(0, "+500*a+"px, 0)",WebkitTransform:e?"":"translate3d(0, "+500*a+"px, 0)",transform:e?"":"translate3d(0, "+500*a+"px, 0)",transition:e?"transform 0.8s cubic-bezier(0.7, 0, 0.3, 1)":"transform 0s 0.2s cubic-bezier(0.7, 0, 0.3, 1)"}}}),t.exports=n.default},379053,(e,t,n)=>{var a,r,i,o,l,s,c,d,u,p,h,f,m,x;let v;a="u">typeof window?window:e.e,o="hasOwnProperty",l=/[\.\/]/,s=/\s*,\s*/,c=function(e,t){return e-t},d={n:{}},u=function(){for(var e=0,t=this.length;e<t;e++)if(void 0!==this[e])return this[e]},p=function(){for(var e=this.length;--e;)if(void 0!==this[e])return this[e]},h=Object.prototype.toString,f=String,m=Array.isArray||function(e){return e instanceof Array||"[object Array]"==h.call(e)},(x=function(e,t){var n,a=i,o=Array.prototype.slice.call(arguments,2),l=x.listeners(e),s=0,d=[],h={},f=[],m=r;f.firstDefined=u,f.lastDefined=p,r=e,i=0;for(var v=0,b=l.length;v<b;v++)"zIndex"in l[v]&&(d.push(l[v].zIndex),l[v].zIndex<0&&(h[l[v].zIndex]=l[v]));for(d.sort(c);d[s]<0;)if(n=h[d[s++]],f.push(n.apply(t,o)),i)return i=a,f;for(v=0;v<b;v++)if("zIndex"in(n=l[v]))if(n.zIndex==d[s]){if(f.push(n.apply(t,o)),i)break;do if((n=h[d[++s]])&&f.push(n.apply(t,o)),i)break;while(n)}else h[n.zIndex]=n;else if(f.push(n.apply(t,o)),i)break;return i=a,r=m,f})._events=d,x.listeners=function(e){var t,n,a,r,i,o,s,c,u=m(e)?e:e.split(l),p=d,h=[p],f=[];for(r=0,i=u.length;r<i;r++){for(o=0,c=[],s=h.length;o<s;o++)for(n=[(p=h[o].n)[u[r]],p["*"]],a=2;a--;)(t=n[a])&&(c.push(t),f=f.concat(t.f||[]));h=c}return f},x.separator=function(e){l=e?new RegExp(e="["+(e=f(e).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]"):/[\.\/]/},x.on=function(e,t){if("function"!=typeof t)return function(){};for(var n=m(e)?m(e[0])?e:[e]:f(e).split(s),a=0,r=n.length;a<r;a++)!function(e){for(var n,a=m(e)?e:f(e).split(l),r=d,i=0,o=a.length;i<o;i++)r=(r=r.n).hasOwnProperty(a[i])&&r[a[i]]||(r[a[i]]={n:{}});for(i=0,r.f=r.f||[],o=r.f.length;i<o;i++)if(r.f[i]==t){n=!0;break}n||r.f.push(t)}(n[a]);return function(e){+e==+e&&(t.zIndex=+e)}},x.f=function(e){var t=[].slice.call(arguments,1);return function(){x.apply(null,[e,null].concat(t).concat([].slice.call(arguments,0)))}},x.stop=function(){i=1},x.nt=function(e){var t=m(r)?r.join("."):r;return e?RegExp("(?:\\.|\\/|^)"+e+"(?:\\.|\\/|$)").test(t):t},x.nts=function(){return m(r)?r:r.split(l)},x.off=x.unbind=function(e,t){if(!e){x._events=d={n:{}};return}var n=m(e)?m(e[0])?e:[e]:f(e).split(s);if(n.length>1){for(var a=0,r=n.length;a<r;a++)x.off(n[a],t);return}n=m(e)?e:f(e).split(l);var i,c,u,a,r,p,h,v=[d],b=[];for(a=0,r=n.length;a<r;a++)for(p=0;p<v.length;p+=u.length-2){if(u=[p,1],i=v[p].n,"*"!=n[a])i[n[a]]&&(u.push(i[n[a]]),b.unshift({n:i,name:n[a]}));else for(c in i)i[o](c)&&(u.push(i[c]),b.unshift({n:i,name:c}));v.splice.apply(v,u)}for(a=0,r=v.length;a<r;a++)for(i=v[a];i.n;){if(t){if(i.f){for(p=0,h=i.f.length;p<h;p++)if(i.f[p]==t){i.f.splice(p,1);break}i.f.length||delete i.f}for(c in i.n)if(i.n[o](c)&&i.n[c].f){var y=i.n[c].f;for(p=0,h=y.length;p<h;p++)if(y[p]==t){y.splice(p,1);break}y.length||delete i.n[c].f}}else for(c in delete i.f,i.n)i.n[o](c)&&i.n[c].f&&delete i.n[c].f;i=i.n}e:for(a=0,r=b.length;a<r;a++){for(c in(i=b[a]).n[i.name].f)continue e;
1for(c in i.n[i.name].n)continue e;delete i.n[i.name]}},x.once=function(e,t){var n=function(){return x.off(e,n),t.apply(this,arguments)};return x.on(e,n)},x.version="0.5.4",x.toString=function(){return"You are running Eve 0.5.4"},a.eve=x,t.exports?t.exports=x:"function"==typeof define&&define.amd?void 0!==(v=x)&&e.v(v):a.eve=x},401625,(e,t,n)=>{window.eve=e.r(379053);var a,r,i,o,l,s,c,d,u,p,h,f,m,x,v,b,y=(a="u"<typeof eve?function(){}:eve,i={},o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16,new Date().getTime()),!0},l=Array.isArray||function(e){return e instanceof Array||"[object Array]"==Object.prototype.toString.call(e)},s=0,c="M"+(+new Date).toString(36),d=function(e){if(null==e)return this.s;var t=this.s-e;this.b+=this.dur*t,this.B+=this.dur*t,this.s=e},u=function(e){if(null==e)return this.spd;this.spd=e},p=function(e){if(null==e)return this.dur;this.s=this.s*e/this.dur,this.dur=e},h=function(){delete i[this.id],this.update(),a("mina.stop."+this.id,this)},f=function(){this.pdif||(delete i[this.id],this.update(),this.pdif=this.get()-this.b)},m=function(){this.pdif&&(this.b=this.get()-this.pdif,delete this.pdif,i[this.id]=this,v())},x=function(){var e;if(l(this.start)){e=[];for(var t=0,n=this.start.length;t<n;t++)e[t]=+this.start[t]+(this.end[t]-this.start[t])*this.easing(this.s)}else e=+this.start+(this.end-this.start)*this.easing(this.s);this.set(e)},v=function(e){if(!e){r||(r=o(v));return}var t=0;for(var n in i)if(i.hasOwnProperty(n)){var l=i[n],s=l.get();t++,l.s=(s-l.b)/(l.dur/l.spd),l.s>=1&&(delete i[n],l.s=1,t--,function(e){setTimeout(function(){a("mina.finish."+e.id,e)})}(l)),l.update()}r=!!t&&o(v)},(b=function(e,t,n,a,r,o,l){var y={id:c+(s++).toString(36),start:e,end:t,b:n,s:0,dur:a-n,spd:1,get:r,set:o,easing:l||b.linear,status:d,speed:u,duration:p,stop:h,pause:f,resume:m,update:x};i[y.id]=y;var _,w=0;for(_ in i)if(i.hasOwnProperty(_)&&2==++w)break;return 1==w&&v(),y}).time=Date.now||function(){return+new Date},b.getById=function(e){return i[e]||null},b.linear=function(e){return e},b.easeout=function(e){return Math.pow(e,1.7)},b.easein=function(e){return Math.pow(e,.48)},b.easeinout=function(e){if(1==e)return 1;if(0==e)return 0;var t=.48-e/1.04,n=Math.sqrt(.1734+t*t),a=n-t,r=-n-t,i=Math.pow(Math.abs(a),1/3)*(a<0?-1:1)+Math.pow(Math.abs(r),1/3)*(r<0?-1:1)+.5;return(1-i)*3*i*i+i*i*i},b.backin=function(e){return 1==e?1:e*e*(2.70158*e-1.70158)},b.backout=function(e){return 0==e?0:(e-=1)*e*(2.70158*e+1.70158)+1},b.elastic=function(e){return!!e==e?e:Math.pow(2,-10*e)*Math.sin(2*Math.PI*(e-.075)/.3)+1},b.bounce=function(e){var t;return e<.36363636363636365?t=7.5625*e*e:e<.7272727272727273?(e-=.5454545454545454,t=7.5625*e*e+.75):e<.9090909090909091?(e-=.8181818181818182,t=7.5625*e*e+.9375):(e-=.9545454545454546,t=7.5625*e*e+.984375),t},window.mina=b,b),_=function(e){function t(e,n){if(e){if(e.nodeType)return K(e);if(E(e,"array")&&t.set)return t.set.apply(t,e);if(e instanceof H)return e;if(null==n)try{return e=i.doc.querySelector(String(e)),K(e)}catch(e){return null}}return new V(e=null==e?"100%":e,n=null==n?"100%":n)}t.version="0.5.1",t.toString=function(){return"Snap v"+this.version},t._={};var n,a,r,i={win:e.window,doc:e.window.document};t._.glob=i;var o="hasOwnProperty",l=String,s=parseFloat,c=parseInt,d=Math,u=d.max,p=d.min,h=d.abs,f=(d.pow,d.PI),m=(d.round,Object.prototype.toString),x=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,v=(t._.separator=/[,\s]+/,/[\s]*,[\s]*/),b={hs:1,rg:1},y=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/ig,_=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/ig,w=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/ig,C=0,N="S"+(+new Date).toString(36),k=function(e){return(e&&e.type?e.type:"")+N+(C++).toString(36)},j="http://www.w3.org/1999/xlink",A="http://www.w3.org/2000/svg",T={};function S(e,t){if(t){if("#text"==e&&(e=i.doc.createTextNode(t.text||t["#text"]||"")),"#comment"==e&&(e=i.doc.createComment(t.text||t["#text"]||"")),"string"==typeof e&&(e=S(e)),"string"==typeof t)if(1==e.nodeType)return"xl
1ink:"==t.substring(0,6)?e.getAttributeNS(j,t.substring(6)):"xml:"==t.substring(0,4)?e.getAttributeNS(A,t.substring(4)):e.getAttribute(t);else if("text"==t)return e.nodeValue;else return null;if(1==e.nodeType){for(var n in t)if(t[o](n)){var a=l(t[n]);a?"xlink:"==n.substring(0,6)?e.setAttributeNS(j,n.substring(6),a):"xml:"==n.substring(0,4)?e.setAttributeNS(A,n.substring(4),a):e.setAttribute(n,a):e.removeAttribute(n)}}else"text"in t&&(e.nodeValue=t.text)}else e=i.doc.createElementNS(A,e);return e}function E(e,t){return"finite"==(t=l.prototype.toLowerCase.call(t))?isFinite(e):!!("array"==t&&(e instanceof Array||Array.isArray&&Array.isArray(e)))||"null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||m.call(e).slice(8,-1).toLowerCase()==t}function L(e,t,n){function a(){var r=Array.prototype.slice.call(arguments,0),i=r.join("â"),l=a.cache=a.cache||{},s=a.count=a.count||[];return l[o](i)?!function(e,t){for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return e.push(e.splice(n,1)[0])}(s,i):(s.length>=1e3&&delete l[s.shift()],s.push(i),l[i]=e.apply(t,r)),n?n(l[i]):l[i]}return a}function I(e){return e%360*f/180}t.url=function(e){return"url('#"+e+"')"},t._.$=S,t._.id=k,n=/\{([^\}]+)\}/g,a=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,r=function(e,t,n){var r=n;return t.replace(a,function(e,t,n,a,i){t=t||a,r&&(t in r&&(r=r[t]),"function"==typeof r&&i&&(r=r()))}),r=(null==r||r==n?e:r)+""},t.format=function(e,t){return l(e).replace(n,function(e,n){return r(e,n,t)})},t._.clone=function e(t){if("function"==typeof t||Object(t)!==t)return t;var n=new t.constructor;for(var a in t)t[o](a)&&(n[a]=e(t[a]));return n},t._.cacher=L,t.rad=I,t.deg=function(e){return 180*e/f%360},t.sin=function(e){return d.sin(t.rad(e))},t.tan=function(e){return d.tan(t.rad(e))},t.cos=function(e){return d.cos(t.rad(e))},t.asin=function(e){return t.deg(d.asin(e))},t.acos=function(e){return t.deg(d.acos(e))},t.atan=function(e){return t.deg(d.atan(e))},t.atan2=function(e){return t.deg(d.atan2(e))},t.angle=function e(t,n,a,r,i,o){if(null!=i)return e(t,n,i,o)-e(a,r,i,o);var l=t-a,s=n-r;return l||s?(180+180*d.atan2(-s,-l)/f+360)%360:0},t.len=function(e,n,a,r){return Math.sqrt(t.len2(e,n,a,r))},t.len2=function(e,t,n,a){return(e-n)*(e-n)+(t-a)*(t-a)},t.closestPoint=function(e,t,n){function a(e){var a=e.x-t,r=e.y-n;return a*a+r*r}for(var r,i,o,l,s,c,d,u,p,h,f=e.node,m=f.getTotalLength(),x=m/f.pathSegList.numberOfItems*.125,v=1/0,b=0;b<=m;b+=x)(h=a(p=f.getPointAtLength(b)))<v&&(d=p,u=b,v=h);for(x*=.5;x>.5;)(o=u-x)>=0&&(s=a(r=f.getPointAtLength(o)))<v?(d=r,u=o,v=s):(l=u+x)<=m&&(c=a(i=f.getPointAtLength(l)))<v?(d=i,u=l,v=c):x*=.5;return{x:d.x,y:d.y,length:u,distance:Math.sqrt(v)}},t.is=E,t.snapTo=function(e,t,n){if(n=E(n,"finite")?n:10,E(e,"array")){for(var a=e.length;a--;)if(h(e[a]-t)<=n)return e[a]}else{var r=t%(e*=1);if(r<n)return t-r;if(r>e-n)return t-r+e}return t},t.getRGB=L(function(e){if(!e||(e=l(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:M};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:M};if(b[o](e.toLowerCase().substring(0,2))||"#"==e.charAt()||(e=F(e)),!e)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:M};var n,a,r,i,h,f,m=e.match(x);return m?(m[2]&&(r=c(m[2].substring(5),16),a=c(m[2].substring(3,5),16),n=c(m[2].substring(1,3),16)),m[3]&&(r=c((h=m[3].charAt(3))+h,16),a=c((h=m[3].charAt(2))+h,16),n=c((h=m[3].charAt(1))+h,16)),m[4]&&(n=s((f=m[4].split(v))[0]),"%"==f[0].slice(-1)&&(n*=2.55),a=s(f[1]),"%"==f[1].slice(-1)&&(a*=2.55),r=s(f[2]),"%"==f[2].slice(-1)&&(r*=2.55),"rgba"==m[1].toLowerCase().slice(0,4)&&(i=s(f[3])),f[3]&&"%"==f[3].slice(-1)&&(i/=100)),m[5])?(n=s((f=m[5].split(v))[0]),"%"==f[0].slice(-1)&&(n/=100),a=s(f[1]),"%"==f[1].slice(-1)&&(a/=100),r=s(f[2]),"%"==f[2].slice(-1)&&(r/=100),("deg"==f[0].slice(-3)||"°"==f[0].slice(-1))&&(n/=360),"hsba"==m[1].toLowerCase().slice(0,4)&&(i=s(f[3])),f[3]&&"%"==f[3].slice(-1)&&(i/=100),t.hsb2rgb(n,a,r,i)):m[6]?(n=s((f=m[6].split(v))[0]),"%"==f[0].slice(-1)&&(n/=100),a=s(f[1]),"%"==f[1].slice(-1)&&(a/=100),r=s(f[2]),"%"==f[2].slice(-1)&&(r/=100),("deg"==f[0].slice(-3)||"°"==f[0].slice(-1))&&(n/=360),"hsla"==m[1].toLowerCase().slice(0,4)&&(i=s(f[3])),f[3]&&"%"==f[3].slice(-1)&&(i/=100),t.hsl2rgb(n,a,r,i)):(n=p(d.round(n),255),a=p(d.round(a),255),r=p(d.round(r),255),i=p(u(i,0),1),(m={r:n,g:a,b:r,toString:M}).hex="#"+(0x1000000|r|a<<8|n<<16).toString(16).slice(1),m.opacity=E(i,"finite")?i:1,m):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:M}},t),t.hsb=L(function(e,n,a){return t.hsb2rgb(e,n,a).hex}),t.hsl=L(function(e,n,a){return t.hsl2rgb(e,n,a).hex}),t.rgb=L(function(e,t,n,a){if(E(a,"finite")){var r=d.round;return"rgba("+[r(e),r(t),r(n),+a.toFixed(2)]+")"}return"#"+(0x1000000|n|t<<8|e<<16).toString(16).slice(1)});var F=function(e){var t=i.doc.getElementsByTagName("head")[0]||i.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(F=L(function(e){if("red"==e.toLowerCase())return n;t.style.color=n,t.style.color=e;var a=i.doc.defaultView.getComputedStyle(t,"").getPropertyValue("color");return a==n?null:a}))(e)},B=function(){return"hsb("+[this.h,this.s,this.b]+")"},O=function(){return"hsl("+[this.h,this.s,this.l]+")"},M=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},$=function(e,n,a){if(null==n&&E(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(a=e.b,n=e.g,e=e.r),null==n&&E(e,string)){var r=t.getRGB(e);e=r.r,n=r.g,a=r.b}return(e>1||n>1||a>1)&&(e/=255,n/=255,a/=255),[e,n,a]},P=function(e,n,a,r){e=d.round(255*e);
1var i={r:e,g:n=d.round(255*n),b:a=d.round(255*a),opacity:E(r,"finite")?r:1,hex:t.rgb(e,n,a),toString:M};return E(r,"finite")&&(i.opacity=r),i};t.color=function(e){var n;return E(e,"object")&&"h"in e&&"s"in e&&"b"in e?(n=t.hsb2rgb(e),e.r=n.r,e.g=n.g,e.b=n.b,e.opacity=1,e.hex=n.hex):E(e,"object")&&"h"in e&&"s"in e&&"l"in e?(n=t.hsl2rgb(e),e.r=n.r,e.g=n.g,e.b=n.b,e.opacity=1,e.hex=n.hex):(E(e,"string")&&(e=t.getRGB(e)),E(e,"object")&&"r"in e&&"g"in e&&"b"in e&&!("error"in e)?(n=t.rgb2hsl(e),e.h=n.h,e.s=n.s,e.l=n.l,n=t.rgb2hsb(e),e.v=n.b):((e={hex:"none"}).r=e.g=e.b=e.h=e.s=e.v=e.l=-1,e.error=1)),e.toString=M,e},t.hsb2rgb=function(e,t,n,a){var r,i,o,l,s;return E(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,a=e.o,e=e.h),e*=360,e=e%360/60,l=(s=n*t)*(1-h(e%2-1)),P(r=(i=o=n-s)+[s,l,0,0,l,s][e=~~e],i+=[l,s,s,l,0,0][e],o+=[0,0,l,s,s,l][e],a)},t.hsl2rgb=function(e,t,n,a){var r,i,o,l,s;return E(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(e>1||t>1||n>1)&&(e/=360,t/=100,n/=100),e*=360,e=e%360/60,l=(s=2*t*(n<.5?n:1-n))*(1-h(e%2-1)),P(r=(i=o=n-s/2)+[s,l,0,0,l,s][e=~~e],i+=[l,s,s,l,0,0][e],o+=[0,0,l,s,s,l][e],a)},t.rgb2hsb=function(e,t,n){var a,r,i;return{h:a=((a=0==(i=(r=u(e=(n=$(e,t,n))[0],t=n[1],n=n[2]))-p(e,t,n))?null:r==e?(t-n)/i:r==t?(n-e)/i+2:(e-t)/i+4)+360)%6*60/360,s:0==i?0:i/r,b:r,toString:B}},t.rgb2hsl=function(e,t,n){var a,r,i,o,l;return a=((a=0==(l=(i=u(e=(n=$(e,t,n))[0],t=n[1],n=n[2]))-(o=p(e,t,n)))?null:i==e?(t-n)/l:i==t?(n-e)/l+2:(e-t)/l+4)+360)%6*60/360,r=(i+o)/2,{h:a,s:0==l?0:r<.5?l/(2*r):l/(2-2*r),l:r,toString:O}},t.parsePathString=function(e){if(!e)return null;var n=t.path(e);if(n.arr)return t.path.clone(n.arr);var a={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},r=[];return E(e,"array")&&E(e[0],"array")&&(r=t.path.clone(e)),r.length||l(e).replace(y,function(e,t,n){var i=[],o=t.toLowerCase();if(n.replace(w,function(e,t){t&&i.push(+t)}),"m"==o&&i.length>2&&(r.push([t].concat(i.splice(0,2))),o="l",t="m"==t?"l":"L"),"o"==o&&1==i.length&&r.push([t,i[0]]),"r"==o)r.push([t].concat(i));else for(;i.length>=a[o]&&(r.push([t].concat(i.splice(0,a[o]))),a[o]););}),r.toString=t.path.toString,n.arr=t.path.clone(r),r};var z=t.parseTransformString=function(e){if(!e)return null;var n=[];return E(e,"array")&&E(e[0],"array")&&(n=t.path.clone(e)),n.length||l(e).replace(_,function(e,t,a){var r=[];t.toLowerCase(),a.replace(w,function(e,t){t&&r.push(+t)}),n.push([t].concat(r))}),n.toString=t.path.toString,n};function D(e){return e.node.ownerSVGElement&&K(e.node.ownerSVGElement)||t.select("svg")}function R(e){E(e,"array")||(e=Array.prototype.slice.call(arguments,0));for(var t=0,n=0,a=this.node;this[t];)delete this[t++];for(t=0;t<e.length;t++)"set"==e[t].type?e[t].forEach(function(e){a.appendChild(e.node)}):a.appendChild(e[t].node);var r=a.childNodes;for(t=0;t<r.length;t++)this[n++]=K(r[t]);return this}function H(e){if(e.snap in T)return T[e.snap];try{t=e.ownerSVGElement}catch(e){}this.node=e,t&&(this.paper=new V(t)),this.type=e.tagName||e.nodeName;var t,n=this.id=k(this);if(this.anims={},this._={transform:[]},e.snap=n,T[n]=this,"g"==this.type&&(this.add=R),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var a in V.prototype)V.prototype[o](a)&&(this[a]=V.prototype[a])}function W(e){this.node=e}function q(e,t){var n=S(e);return t.appendChild(n),K(n)}function V(e,t){var n,a,r,l=V.prototype;if(e&&e.tagName&&"svg"==e.tagName.toLowerCase()){if(e.snap in T)return T[e.snap];var s=e.ownerDocument;for(var c in n=new H(e),a=e.getElementsByTagName("desc")[0],r=e.getElementsByTagName("defs")[0],a||((a=S("desc")).appendChild(s.createTextNode("Created with Snap")),n.node.appendChild(a)),r||(r=S("defs"),n.node.appendChild(r)),n.defs=r,l)l[o](c)&&(n[c]=l[c]);n.paper=n.root=n}else S((n=q("svg",i.doc.body)).node,{height:t,version:1.1,width:e,xmlns:A});return n}function K(e){return!e||e instanceof H||e instanceof W?e:e.tagName&&"svg"==e.tagName.toLowerCase()?new V(e):e.tagName&&"object"==e.tagName.toLowerCase()&&"image/svg+xml"==e.type?new V(e.contentDocument.getElementsByTagName("svg")[0]):new H(e)}t._.svgTransform2string=function(e){var t=[];return e=e.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(e,n,a){return a=a.split(/\s*,\s*|\s+/),"rotate"==n&&1==a.length&&a.push(0,0),"scale"==n&&(a.length>2?a=a.slice(0,2):2==a.length&&a.push(0,0),1==a.length&&a.push(a[0],0,0)),"skewX"==n?t.push(["m",1,0,d.tan(I(a[0])),1,0,0]):"skewY"==n?t.push(["m",1,d.tan(I(a[0])),0,1,0,0]):t.push([n.charAt(0)].concat(a)),e}),t},t._.rgTransform=/^[a-z][\s]*-?\.?\d/i,t._.transform2matrix=function(e,n){var a=z(e),r=new t.Matrix;if(a)for(var i=0,o=a.length;i<o;i++){var s,c,d,u,p,h=a[i],f=h.length,m=l(h[0]).toLowerCase(),x=h[
10]!=m,v=x?r.invert():0;"t"==m&&2==f?r.translate(h[1],0):"t"==m&&3==f?x?(s=v.x(0,0),c=v.y(0,0),d=v.x(h[1],h[2]),u=v.y(h[1],h[2]),r.translate(d-s,u-c)):r.translate(h[1],h[2]):"r"==m?2==f?(p=p||n,r.rotate(h[1],p.x+p.width/2,p.y+p.height/2)):4==f&&(x?(d=v.x(h[2],h[3]),u=v.y(h[2],h[3]),r.rotate(h[1],d,u)):r.rotate(h[1],h[2],h[3])):"s"==m?2==f||3==f?(p=p||n,r.scale(h[1],h[f-1],p.x+p.width/2,p.y+p.height/2)):4==f?x?(d=v.x(h[2],h[3]),u=v.y(h[2],h[3]),r.scale(h[1],h[1],d,u)):r.scale(h[1],h[1],h[2],h[3]):5==f&&(x?(d=v.x(h[3],h[4]),u=v.y(h[3],h[4]),r.scale(h[1],h[2],d,u)):r.scale(h[1],h[2],h[3],h[4])):"m"==m&&7==f&&r.add(h[1],h[2],h[3],h[4],h[5],h[6])}return r},t._unit2px=function(e,t,n){var a=D(e).node,r={},i=a.querySelector(".svg---mgr");function o(e){if(null==e)return"";if(e==+e)return e;S(i,{width:e});try{return i.getBBox().width}catch(e){return 0}}function l(e){if(null==e)return"";if(e==+e)return e;S(i,{height:e});try{return i.getBBox().height}catch(e){return 0}}function s(a,i){null==t?r[a]=i(e.attr(a)||0):a==t&&(r=i(null==n?e.attr(a)||0:n))}switch(!i&&(i=S("rect"),S(i,{x:-9e9,y:-9e9,width:10,height:10,class:"svg---mgr",fill:"none"}),a.appendChild(i)),e.type){case"rect":s("rx",o),s("ry",l);case"image":s("width",o),s("height",l);case"text":s("x",o),s("y",l);break;case"circle":s("cx",o),s("cy",l),s("r",o);break;case"ellipse":s("cx",o),s("cy",l),s("rx",o),s("ry",l);break;case"line":s("x1",o),s("x2",o),s("y1",l),s("y2",l);break;case"marker":s("refX",o),s("markerWidth",o),s("refY",l),s("markerHeight",l);break;case"radialGradient":s("fx",o),s("fy",l);break;case"tspan":s("dx",o),s("dy",l);break;default:s(t,o)}return a.removeChild(i),r},i.doc.contains||i.doc.compareDocumentPosition,t._.getSomeDefs=function(e){var n=e.node.ownerSVGElement&&K(e.node.ownerSVGElement)||e.node.parentNode&&K(e.node.parentNode)||t.select("svg")||t(0,0),a=n.select("defs"),r=null!=a&&a.node;return r||(r=q("defs",n.node).node),r},t._.getSomeSVG=D,t.select=function(e){return e=l(e).replace(/([^\\]):/g,"$1\\:"),K(i.doc.querySelector(e))},t.selectAll=function(e){for(var n=i.doc.querySelectorAll(e),a=(t.set||Array)(),r=0;r<n.length;r++)a.push(K(n[r]));return a},setInterval(function(){for(var e in T)if(T[o](e)){var t=T[e],n=t.node;("svg"!=t.type&&!n.ownerSVGElement||"svg"==t.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete T[e]}},1e4),H.prototype.attr=function(e,t){var n=this.node;if(!e){if(1!=n.nodeType)return{text:n.nodeValue};for(var a=n.attributes,r={},i=0,l=a.length;i<l;i++)r[a[i].nodeName]=a[i].nodeValue;return r}if(E(e,"string"))if(!(arguments.length>1))return eve("snap.util.getattr."+e,this).firstDefined();else{var s={};s[e]=t,e=s}for(var c in e)e[o](c)&&eve("snap.util.attr."+c,this,e[c]);return this},t.parse=function(e){var t=i.doc.createDocumentFragment(),n=!0,a=i.doc.createElement("div");if((e=l(e)).match(/^\s*<\s*svg(?:\s|>)/)||(e="<svg>"+e+"</svg>",n=!1),a.innerHTML=e,e=a.getElementsByTagName("svg")[0])if(n)t=e;else for(;e.firstChild;)t.appendChild(e.firstChild);return new W(t)},t.fragment=function(){for(var e=Array.prototype.slice.call(arguments,0),n=i.doc.createDocumentFragment(),a=0,r=e.length;a<r;a++){var o=e[a];o.node&&o.node.nodeType&&n.appendChild(o.node),o.nodeType&&n.appendChild(o),"string"==typeof o&&n.appendChild(t.parse(o).node)}return new W(n)},t._.make=q,t._.wrap=K,V.prototype.el=function(e,t){var n=q(e,this.node);return t&&n.attr(t),n},H.prototype.children=function(){for(var e=[],n=this.node.childNodes,a=0,r=n.length;a<r;a++)e[a]=t(n[a]);return e},H.prototype.toJSON=function(){var e=[];return!function e(t,n){for(var a=0,r=t.length;a<r;a++){var i={type:t[a].type,attr:t[a].attr()},o=t[a].children();n.push(i),o.length&&e(o,i.childNodes=[])}}([this],e),e[0]},eve.on("snap.util.getattr",function(){var e=eve.nt(),t=(e=e.substring(e.lastIndexOf(".")+1)).replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()});return G[o](t)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(t):S(this.node,e)});var G={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode
1-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};eve.on("snap.util.attr",function(e){var t=eve.nt(),n={};n[t=t.substring(t.lastIndexOf(".")+1)]=e;var a=t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()}),r=t.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()});G[o](r)?this.node.style[a]=null==e?"":e:S(this.node,n)}),V.prototype,t.ajax=function(e,t,n,a){var r=new XMLHttpRequest,i=k();if(r){if(E(t,"function"))a=n,n=t,t=null;else if(E(t,"object")){var o=[];for(var l in t)t.hasOwnProperty(l)&&o.push(encodeURIComponent(l)+"="+encodeURIComponent(t[l]));t=o.join("&")}return r.open(t?"POST":"GET",e,!0),t&&(r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-type","application/x-www-form-urlencoded")),n&&(eve.once("snap.ajax."+i+".0",n),eve.once("snap.ajax."+i+".200",n),eve.once("snap.ajax."+i+".304",n)),r.onreadystatechange=function(){4==r.readyState&&eve("snap.ajax."+i+"."+r.status,a,r)},4==r.readyState||r.send(t),r}},t.load=function(e,n,a){t.ajax(e,function(e){var r=t.parse(e.responseText);a?n.call(a,r):n(r)})};var U=function(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,a=n.body,r=n.documentElement,i=r.clientTop||a.clientTop||0,o=r.clientLeft||a.clientLeft||0;return{y:t.top+(g.win.pageYOffset||r.scrollTop||a.scrollTop)-i,x:t.left+(g.win.pageXOffset||r.scrollLeft||a.scrollLeft)-o}};return t.getElementByPoint=function(e,t){this.canvas;var n=i.doc.elementFromPoint(e,t);if(i.win.opera&&"svg"==n.tagName){var a=U(n),r=n.createSVGRect();r.x=e-a.x,r.y=t-a.y,r.width=r.height=1;var o=n.getIntersectionList(r,null);o.length&&(n=o[o.length-1])}return n?K(n):null},t.plugin=function(e){e(t,H,V,i,W)},i.win.Snap=t,t}(window||e.e);_.plugin(function(e,t,n,a,r){var i=t.prototype,o=e.is,l=String,s=e._unit2px,c=e._.$,d=e._.make,u=e._.getSomeDefs,p=e._.wrap;i.getBBox=function(t){if("tspan"==this.type)return e._.box(this.node.getClientRects().item(0));if(!e.Matrix||!e.path)return this.node.getBBox();var n=this,a=new e.Matrix;if(n.removed)return e._.box();for(;"use"==n.type;)if(t||(a=a.add(n.transform().localMatrix.translate(n.attr("x")||0,n.attr("y")||0))),n.original)n=n.original;else{var r=n.attr("xlink:href");n=n.original=n.node.ownerDocument.getElementById(r.substring(r.indexOf("#")+1))}var i=n._,o=e.path.get[n.type]||e.path.get.deflt;try{if(t)return i.bboxwt=o?e.path.getBBox(n.realPath=o(n)):e._.box(n.node.getBBox()),e._.box(i.bboxwt);return n.realPath=o(n),n.matrix=n.transform().localMatrix,i.bbox=e.path.getBBox(e.path.map(n.realPath,a.add(n.matrix))),e._.box(i.bbox)}catch(t){return e._.box()}};var h=function(){return this.string};function f(t,n){if(null==n){var a=!0;if(!(n="linearGradient"==t.type||"radialGradient"==t.type?t.node.getAttribute("gradientTransform"):"pattern"==t.type?t.node.getAttribute("patternTransform"):t.node.getAttribute("transform")))return new e.Matrix;n=e._.svgTransform2string(n)}else o(n=e._.rgTransform.test(n)?l(n).replace(/\.{3}|\u2026/g,t._.transform||""):e._.svgTransform2string(n),"array")&&(n=e.path?e.path.toString.call(n):l(n)),t._.transform=n;var r=e._.transform2matrix(n,t.getBBox(1));if(a)return r;t.matrix=r}i.transform=function(t){var n=this._;
1if(null==t){for(var a,r=this,i=new e.Matrix(this.node.getCTM()),o=f(this),s=[o],d=new e.Matrix,u=o.toTransformString(),p=l(o)==l(this.matrix)?l(n.transform):u;"svg"!=r.type&&(r=r.parent());)s.push(f(r));for(a=s.length;a--;)d.add(s[a]);return{string:p,globalMatrix:i,totalMatrix:d,localMatrix:o,diffMatrix:i.clone().add(o.invert()),global:i.toTransformString(),total:d.toTransformString(),local:u,toString:h}}return t instanceof e.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):f(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?c(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?c(this.node,{patternTransform:this.matrix}):c(this.node,{transform:this.matrix})),this},i.parent=function(){return p(this.node.parentNode)},i.append=i.add=function(e){if(e){if("set"==e.type){var t=this;return e.forEach(function(e){t.add(e)}),this}e=p(e),this.node.appendChild(e.node),e.paper=this.paper}return this},i.appendTo=function(e){return e&&(e=p(e)).append(this),this},i.prepend=function(e){if(e){if("set"==e.type){var t,n=this;return e.forEach(function(e){t?t.after(e):n.prepend(e),t=e}),this}var a=(e=p(e)).parent();this.node.insertBefore(e.node,this.node.firstChild),this.add&&this.add(),e.paper=this.paper,this.parent()&&this.parent().add(),a&&a.add()}return this},i.prependTo=function(e){return(e=p(e)).prepend(this),this},i.before=function(e){if("set"==e.type){var t=this;return e.forEach(function(e){var n=e.parent();t.node.parentNode.insertBefore(e.node,t.node),n&&n.add()}),this.parent().add(),this}var n=(e=p(e)).parent();return this.node.parentNode.insertBefore(e.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),e.paper=this.paper,this},i.after=function(e){var t=(e=p(e)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(e.node,this.node.nextSibling):this.node.parentNode.appendChild(e.node),this.parent()&&this.parent().add(),t&&t.add(),e.paper=this.paper,this},i.insertBefore=function(e){e=p(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},i.insertAfter=function(e){e=p(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node.nextSibling),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},i.remove=function(){var e=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,e&&e.add(),this},i.select=function(e){return p(this.node.querySelector(e))},i.selectAll=function(t){for(var n=this.node.querySelectorAll(t),a=(e.set||Array)(),r=0;r<n.length;r++)a.push(p(n[r]));return a},i.asPX=function(e,t){return null==t&&(t=this.attr(e)),+s(this,e,t)},i.use=function(){var e,t=this.node.id;return t||(t=this.id,c(this.node,{id:t})),c((e="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?d(this.type,this.node.parentNode):d("use",this.node.parentNode)).node,{"xlink:href":"#"+t}),e.original=this,e},i.clone=function(){var t=p(this.node.cloneNode(!0));return c(t.node,"id")&&c(t.node,{id:t.id}),!function(t){var n,a=t.selectAll("*"),r=/^\s*url\(("|'|)(.*)\1\)\s*$/,i=[],o={};function l(t,n){var a=c(t.node,n);(a=(a=a&&a.match(r))&&a[2])&&"#"==a.charAt()&&(a=a.substring(1))&&(o[a]=(o[a]||[]).concat(function(a){var r={};r[n]=e.url(a),c(t.node,r)}))}for(var s=0,d=a.length;s<d;s++){l(n=a[s],"fill"),l(n,"stroke"),l(n,"filter"),l(n,"mask"),l(n,"clip-path"),function(e){var t=c(e.node,"xlink:href");t&&"#"==t.charAt()&&(t=t.substring(1))&&(o[t]=(o[t]||[]).concat(function(t){e.attr("xlink:href","#"+t)}))}(n);var u=c(n.node,"id");u&&(c(n.node,{id:n.id}),i.push({old:u,id:n.id}))}for(s=0,d=i.length;s<d;s++){var p=o[i[s].old];if(p)for(var h=0,f=p.length;h<f;h++)p[h](i[s].id)}}(t),t.insertAfter(this),t},i.toDefs=function(){return u(this).appendChild(this.node),this},i.pattern=i.toPattern=function(e,t,n,a){var r=d("pattern",u(this));return null==e&&(e=this.getBBox()),o(e,"object")&&"x"in e&&(t=e.y,n=e.width,a=e.height,e=e.x),c(r.node,{x:e,y:t,width:n,height:a,patternUnits:"userSpaceOnUse",id:r.id,viewBox:[e,t,n,a].join(" ")}),r.node.appendChild(this.node),r},i.marker=function(e,t,n,a,r,i){var l=d("marker",u(this));return null==e&&(e=this.getBBox()),o(e,"object")&&"x"in e&&(t=e.y,n=e.width,a=e.height,r=e.refX||e.cx,i=e.refY||e.cy,e=e.x),c(l.node,{viewBox:[e,t,n,a].join(" "),markerWidth:n,markerHeight:a,orient:"auto",refX:r||0,refY:i||0,id:l.id}),l.node.appendChild(this.node),l};var m={};
1function x(e){return function(){var t=e?"<"+this.type:"",n=this.node.attributes,a=this.node.childNodes;if(e)for(var r=0,i=n.length;r<i;r++)t+=" "+n[r].name+'="'+n[r].value.replace(/"/g,'\\"')+'"';if(a.length){for(e&&(t+=">"),r=0,i=a.length;r<i;r++)3==a[r].nodeType?t+=a[r].nodeValue:1==a[r].nodeType&&(t+=p(a[r]).toString());e&&(t+="</"+this.type+">")}else e&&(t+="/>");return t}}i.data=function(t,n){var a=m[this.id]=m[this.id]||{};if(0==arguments.length)return eve("snap.data.get."+this.id,this,a,null),a;if(1==arguments.length){if(e.is(t,"object")){for(var r in t)t.hasOwnProperty(r)&&this.data(r,t[r]);return this}return eve("snap.data.get."+this.id,this,a[t],t),a[t]}return a[t]=n,eve("snap.data.set."+this.id,this,n,t),this},i.removeData=function(e){return null==e?m[this.id]={}:m[this.id]&&delete m[this.id][e],this},i.outerSVG=i.toString=x(1),i.innerSVG=x(),i.toDataURL=function(){if(window&&window.btoa){var t=this.getBBox();return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+t.x.toFixed(3),y:+t.y.toFixed(3),width:+t.width.toFixed(3),height:+t.height.toFixed(3),contents:this.outerSVG()}))))}},r.prototype.select=i.select,r.prototype.selectAll=i.selectAll}),_.plugin(function(e,t,n,a,r){var i=Object.prototype.toString,o=String,l=Math;function s(e,t,n,a,r,o){if(null==t&&"[object SVGMatrix]"==i.call(e)){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.e=e.e,this.f=e.f;return}null!=e?(this.a=+e,this.b=+t,this.c=+n,this.d=+a,this.e=+r,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}var c=s.prototype;function d(e){return e[0]*e[0]+e[1]*e[1]}function u(e){var t=l.sqrt(d(e));e[0]&&(e[0]/=t),e[1]&&(e[1]/=t)}c.add=function(e,t,n,a,r,i){if(e&&e instanceof s)return this.add(e.a,e.b,e.c,e.d,e.e,e.f);var o=e*this.a+t*this.c,l=e*this.b+t*this.d;return this.e+=r*this.a+i*this.c,this.f+=r*this.b+i*this.d,this.c=n*this.a+a*this.c,this.d=n*this.b+a*this.d,this.a=o,this.b=l,this},s.prototype.multLeft=function(e,t,n,a,r,i){if(e&&e instanceof s)return this.multLeft(e.a,e.b,e.c,e.d,e.e,e.f);var o=e*this.a+n*this.b,l=e*this.c+n*this.d,c=e*this.e+n*this.f+r;return this.b=t*this.a+a*this.b,this.d=t*this.c+a*this.d,this.f=t*this.e+a*this.f+i,this.a=o,this.c=l,this.e=c,this},c.invert=function(){var e=this.a*this.d-this.b*this.c;return new s(this.d/e,-this.b/e,-this.c/e,this.a/e,(this.c*this.f-this.d*this.e)/e,(this.b*this.e-this.a*this.f)/e)},c.clone=function(){return new s(this.a,this.b,this.c,this.d,this.e,this.f)},c.translate=function(e,t){return this.e+=e*this.a+t*this.c,this.f+=e*this.b+t*this.d,this},c.scale=function(e,t,n,a){return null==t&&(t=e),(n||a)&&this.translate(n,a),this.a*=e,this.b*=e,this.c*=t,this.d*=t,(n||a)&&this.translate(-n,-a),this},c.rotate=function(t,n,a){t=e.rad(t),n=n||0,a=a||0;var r=+l.cos(t).toFixed(9),i=+l.sin(t).toFixed(9);return this.add(r,i,-i,r,n,a),this.add(1,0,0,1,-n,-a)},c.skewX=function(e){return this.skew(e,0)},c.skewY=function(e){return this.skew(0,e)},c.skew=function(t,n){t=t||0,n=n||0,t=e.rad(t),n=e.rad(n);var a=l.tan(t).toFixed(9),r=l.tan(n).toFixed(9);return this.add(1,r,a,1,0,0)},c.x=function(e,t){return e*this.a+t*this.c+this.e},c.y=function(e,t){return e*this.b+t*this.d+this.f},c.get=function(e){return+this[o.fromCharCode(97+e)].toFixed(4)},c.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},c.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},c.determinant=function(){return this.a*this.d-this.b*this.c},c.split=function(){var t={};t.dx=this.e,t.dy=this.f;var n=[[this.a,this.b],[this.c,this.d]];t.scalex=l.sqrt(d(n[0])),u(n[0]),t.shear=n[0][0]*n[1][0]+n[0][1]*n[1][1],n[1]=[n[1][0]-n[0][0]*t.shear,n[1][1]-n[0][1]*t.shear],t.scaley=l.sqrt(d(n[1])),u(n[1]),t.shear/=t.scaley,0>this.determinant()&&(t.scalex=-t.scalex);var a=n[0][1],r=n[1][1];return r<0?(t.rotate=e.deg(l.acos(r)),a<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(l.asin(a)),t.isSimple=!+t.shear.toFixed(9)&&(t.scalex.toFixed(9)==t.scaley.toFixed(9)||!t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},c.toTransformString=function(e){var t=e||this.split();return+t.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[+t.dx.toFixed(4),+t.dy.toFixed(4)]:"")+(t.rotate?"r"+[+t.rotate.toFixed(4),0,0]:"")+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:""))},e.Matrix=s,e.matrix=function(e,t,n,a,r,i){return new s(e,t,n,a,r,i)}}),_.plugin(function(e,t,n,a,r){var i,o=e._.make,l=e._.wrap,s=e.is,c=e._.getSomeDefs,d=/^url\((['"]?)([^)]+)\1\)$/,u=e._.$,p=e.url,h=String,f=e._.separator;
1function m(n){return function(a){if(eve.stop(),a instanceof r&&1==a.node.childNodes.length&&("radialGradient"==a.node.firstChild.tagName||"linearGradient"==a.node.firstChild.tagName||"pattern"==a.node.firstChild.tagName)&&(a=a.node.firstChild,c(this).appendChild(a),a=l(a)),a instanceof t)if("radialGradient"==a.type||"linearGradient"==a.type||"pattern"==a.type){a.node.id||u(a.node,{id:a.id});var i=p(a.node.id)}else i=a.attr(n);else if((i=e.color(a)).error){var o=e(c(this).ownerSVGElement).gradient(a);o?(o.node.id||u(o.node,{id:o.id}),i=p(o.node.id)):i=a}else i=h(i);var s={};s[n]=i,u(this.node,s),this.node.style[n]=""}}e.deurl=function(e){var t=String(e).match(d);return t?t[2]:e},eve.on("snap.util.attr.mask",function(e){if(e instanceof t||e instanceof r){if(eve.stop(),e instanceof r&&1==e.node.childNodes.length&&(e=e.node.firstChild,c(this).appendChild(e),e=l(e)),"mask"==e.type)var n=e;else(n=o("mask",c(this))).node.appendChild(e.node);n.node.id||u(n.node,{id:n.id}),u(this.node,{mask:p(n.id)})}}),i=function(e){if(e instanceof t||e instanceof r){eve.stop();for(var n,a=e.node;a;){if("clipPath"===a.nodeName){n=new t(a);break}if("svg"===a.nodeName){n=void 0;break}a=a.parentNode}!n&&((n=o("clipPath",c(this))).node.appendChild(e.node),n.node.id||u(n.node,{id:n.id})),u(this.node,{"clip-path":p(n.node.id||n.id)})}},eve.on("snap.util.attr.clip",i),eve.on("snap.util.attr.clip-path",i),eve.on("snap.util.attr.clipPath",i),eve.on("snap.util.attr.fill",m("fill")),eve.on("snap.util.attr.stroke",m("stroke"));var x=/^([lr])(?:\(([^)]*)\))?(.*)$/i;function v(e){eve.stop(),e==+e&&(e+="px"),this.node.style.fontSize=e}function b(t){return function(){eve.stop();var n=a.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+t);return"none"==n?n:e(a.doc.getElementById(n.match(d)[1]))}}function y(e){return function(t){eve.stop();var n="marker"+e.charAt(0).toUpperCase()+e.substring(1);if(""==t||!t){this.node.style[n]="none";return}if("marker"==t.type){var a=t.node.id;a||u(t.node,{id:t.id}),this.node.style[n]=p(a);return}}}function _(){return eve.stop(),this.node.style.fontSize}eve.on("snap.util.grad.parse",function(e){var t=(e=h(e)).match(x);if(!t)return null;var n=t[1],a=t[2],r=t[3];1==(a=a.split(/\s*,\s*/).map(function(e){return+e==e?+e:e})).length&&0==a[0]&&(a=[]);var i=(r=(r=r.split("-")).map(function(e){var t={color:(e=e.split(":"))[0]};return e[1]&&(t.offset=parseFloat(e[1])),t})).length,o=0,l=0;function s(e,t){for(var n=(t-o)/(e-l),a=l;a<e;a++)r[a].offset=+(+o+n*(a-l)).toFixed(2);l=e,o=t}i--;for(var c=0;c<i;c++)"offset"in r[c]&&s(c,r[c].offset);return r[i].offset=r[i].offset||100,s(i,r[i].offset),{type:n,params:a,stops:r}}),eve.on("snap.util.attr.d",function(t){eve.stop(),s(t,"array")&&s(t[0],"array")&&(t=e.path.toString.call(t)),(t=h(t)).match(/[ruo]/i)&&(t=e.path.toAbsolute(t)),u(this.node,{d:t})})(-1),eve.on("snap.util.attr.#text",function(e){eve.stop(),e=h(e);for(var t=a.doc.createTextNode(e);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(t)})(-1),eve.on("snap.util.attr.path",function(e){eve.stop(),this.attr({d:e})})(-1),eve.on("snap.util.attr.class",function(e){eve.stop(),this.node.className.baseVal=e})(-1),eve.on("snap.util.attr.viewBox",function(e){var t;t=s(e,"object")&&"x"in e?[e.x,e.y,e.width,e.height].join(" "):s(e,"array")?e.join(" "):e,u(this.node,{viewBox:t}),eve.stop()})(-1),eve.on("snap.util.attr.transform",function(e){this.transform(e),eve.stop()})(-1),eve.on("snap.util.attr.r",function(e){"rect"==this.type&&(eve.stop(),u(this.node,{rx:e,ry:e}))})(-1),eve.on("snap.util.attr.textpath",function(e){if(eve.stop(),"text"==this.type){var n,a,r;if(!e&&this.textPath){for(a=this.textPath;a.node.firstChild;)this.node.appendChild(a.node.firstChild);a.remove(),delete this.textPath;return}if(s(e,"string")){var i=c(this),o=l(i.parentNode).path(e);i.appendChild(o.node),n=o.id,o.attr({id:n})}else(e=l(e))instanceof t&&((n=e.attr("id"))||(n=e.id,e.attr({id:n})));if(n)if(a=this.textPath,r=this.node,a)a.attr({"xlink:href":"#"+n});else{for(a=u("textPath",{"xlink:href":"#"+n});r.firstChild;)a.appendChild(r.firstChild);r.appendChild(a),this.textPath=l(a)}}})(-1),eve.on("snap.util.attr.text",function(e){if("text"==this.type){for(var t=this.node,n=function(e){var t=u("tspan");if(s(e,"array"))for(var r=0;r<e.length;r++)t.appendChild(n(e[r]));else t.appendChild(a.doc.createTextNode(e));return t.normalize&&t.normalize(),t};t.firstChild;)t.removeChild(t.firstChild);for(var r=n(e);r.firstChild;)t.appendChild(r.firstChild)}eve.stop()})(-1),eve.on("snap.util.attr.fontSize",v)(-1),eve.on("snap.util.attr.font-size",v)(-1),eve.on("snap.util.getattr.transform",function(){return eve.stop(),this.transform()})(-1),eve.on("snap.util.getattr.textpath",function(){return eve.stop(),this.textPath})(-1),eve.on("snap.util.getattr.marker-end",b("end"))(-1),eve.on("snap.util.getattr.markerEnd",b("end"))(-1),eve.on("snap.util.getattr.marker-start",b("start"))(-1),eve.on("snap.util.getattr.markerStart",b("start"))(-1),eve.on("snap.util.getattr.marker-mid",b("mid"))(-1),eve.on("snap.util.getattr.markerMid",b("mid"))(-1),eve.on("snap.util.attr.marker-end",y("end"))(-1),eve.on("snap.util.attr.markerEnd",y("end"))(-1),eve.on("snap.util.attr.marker-start",y("start"))(-1),eve.on("snap.util.attr.markerStart",y("start"))(-1),eve.on("snap.util.attr.marker-mid",y("mid"))(-1),eve.on("snap.util.attr.markerMid",y("mid"))(-1),eve.on("snap.util.getattr.r",function(){if("rect"==this.type&&u(this.node,"rx")==u(this.node,"ry"))return eve.stop(),u(this.node,"rx")})(-1),eve.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){eve.stop();var e=function e(t){for(var n=[],a=t.childNodes,r=0,i=a.length;r<i;r++){var o=a[r];3==o.nodeType&&n.push(o.nodeValue),"tspan"==o.tagName&&(1==o.childNodes.length&&3==o.firstChild.nodeType?n.push(o.firstChild.nodeValue):n.push(e(o)))}return n}(this.node);return 1==e.length?e[0]:e}})(-1),eve.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),eve.on("snap.util.getattr.fill",function(t){if(!t){eve.stop();var n=eve("snap.util.getattr.fill",this,!0).firstDefined();return e(e.deurl(n))||n}})(-1),eve.on("snap.util.getattr.stroke",function(t){if(!t){eve.stop();var n=eve("snap.util.getattr.stroke",this,!0).firstDefined();return e(e.deurl(n))||n}})(-1),eve.on("snap.util.getattr.viewBox",function(){eve.stop();var t=u(this.node,"viewBox");return t?(t=t.split(f),e._.box(+t[0],+t[1],+t[2],+t[3])):void 0})(-1),eve.on("snap.util.getattr.points",function(){var e=u(this.node,"points");return(eve.stop(),e)?e.split(f):void 0})(-1),eve.on("snap.util.getattr.path",function(){var e=u(this.node,"d");return eve.stop(),e})(-1),eve.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),eve.on("snap.util.getattr.fontSize",_)(-1),eve.on("snap.util.getattr.font-size",_)(-1)}),_.plugin(function(e,t,n,a,r){var i=/\S+/g,o=String,l=t.prototype;l.addClass=function(e){var t,n,a,r=o(e||"").match(i)||[],l=this.node,s=l.className.baseVal,c=s.match(i)||[];if(r.length){for(t=0;n=r[t++];)~c.indexOf(n)||c.push(n);s!=(a=c.join(" "))&&(l.className.baseVal=a)}return this},l.removeClass=function(e){var t,n,a,r,l=o(e||"").match(i)||[],s=this.node,c=s.className.baseVal,d=c.match(i)||[];if(d.length){for(t=0;a=l[t++];)~(n=d.indexOf(a))&&d.splice(n,1);c!=(r=d.join(" "))&&(s.className.baseVal=r)}return this},l.hasClass=function(e){return!!~(this.node.className.baseVal.match(i)||[]).indexOf(e)},l.toggleClass=function(e,t){if(null!=t)if(t)return this.addClass(e);else return this.removeClass(e);var n,a,r,o,l=(e||"").match(i)||[],s=this.node,c=s.className.baseVal,d=c.match(i)||[];for(n=0;r=l[n++];)~(a=d.indexOf(r))?d.splice(a,1):d.push(r);return c!=(o=d.join(" "))&&(s.className.baseVal=o),this}}),_.plugin(function(e,t,n,a,r){var i={"+":function(e,t){return e+t},"-":function(e,t){return e-t},"/":function(e,t){return e/t},"*":function(e,t){return e*t}},o=String,l=/[a-z]+$/i,s=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;function c(e){return e}eve.on("snap.util.attr",function(e){var t=o(e).match(s);if(t){var n=eve.nt(),a=n.substring(n.lastIndexOf(".")+1),r=this.attr(a),c={};eve.stop();var d=t[3]||"",u=r.match(l),p=i[t[1]];if(u&&u==d?e=p(parseFloat(r),+t[2]):(r=this.asPX(a),e=p(this.asPX(a),this.asPX(a,t[2]+d))),isNaN(r)||isNaN(e))return;c[a]=e,this.attr(c)}})(-10),eve.on("snap.util.equal",function(e,t){var n=o(this.attr(e)||""),a=o(t).match(s);if(a){eve.stop();var r=a[3]||"",d=n.match(l),u=i[a[1]];return d&&d==r?{from:parseFloat(n),to:u(parseFloat(n),+a[2]),f:function(e){return+e.toFixed(3)+d}}:{from:n=this.asPX(e),to:u(n,this.asPX(e,a[2]+r)),f:c}}})(-10)}),_.plugin(function(e,t,n,a,r){var i=n.prototype,o=e.is;i.rect=function(e,t,n,a,r,i){var l;return null==i&&(i=r),o(e,"object")&&"[object Object]"==e?l=e:null!=e&&(l={x:e,y:t,width:n,height:a},null!=r&&(l.rx=r,l.ry=i)),this.el("rect",l)},i.circle=function(e,t,n){var a;return o(e,"object")&&"[object Object]"==e?a=e:null!=e&&(a={cx:e,cy:t,r:n}),this.el("circle",a)};var l=function(){function e(){this.parentNode.removeChild(this)}return function(t,n){var r=a.doc.createElement("img"),i=a.doc.body;r.style.cssText="position:absolute;
1left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,i.removeChild(r)},r.onerror=e,i.appendChild(r),r.src=t}}();i.image=function(t,n,a,r,i){var s=this.el("image");if(o(t,"object")&&"src"in t)s.attr(t);else if(null!=t){var c={"xlink:href":t,preserveAspectRatio:"none"};null!=n&&null!=a&&(c.x=n,c.y=a),null!=r&&null!=i?(c.width=r,c.height=i):l(t,function(){e._.$(s.node,{width:this.offsetWidth,height:this.offsetHeight})}),e._.$(s.node,c)}return s},i.ellipse=function(e,t,n,a){var r;return o(e,"object")&&"[object Object]"==e?r=e:null!=e&&(r={cx:e,cy:t,rx:n,ry:a}),this.el("ellipse",r)},i.path=function(e){var t;return o(e,"object")&&!o(e,"array")?t=e:e&&(t={d:e}),this.el("path",t)},i.group=i.g=function(e){var t=this.el("g");return 1==arguments.length&&e&&!e.type?t.attr(e):arguments.length&&t.add(Array.prototype.slice.call(arguments,0)),t},i.svg=function(e,t,n,a,r,i,l,s){var c={};return o(e,"object")&&null==t?c=e:(null!=e&&(c.x=e),null!=t&&(c.y=t),null!=n&&(c.width=n),null!=a&&(c.height=a),null!=r&&null!=i&&null!=l&&null!=s&&(c.viewBox=[r,i,l,s])),this.el("svg",c)},i.mask=function(e){var t=this.el("mask");return 1==arguments.length&&e&&!e.type?t.attr(e):arguments.length&&t.add(Array.prototype.slice.call(arguments,0)),t},i.ptrn=function(e,t,n,a,r,i,l,s){if(o(e,"object"))var c=e;else c={patternUnits:"userSpaceOnUse"},e&&(c.x=e),t&&(c.y=t),null!=n&&(c.width=n),null!=a&&(c.height=a),null!=r&&null!=i&&null!=l&&null!=s?c.viewBox=[r,i,l,s]:c.viewBox=[e||0,t||0,n||0,a||0];return this.el("pattern",c)},i.use=function(n){return null!=n?(n instanceof t&&(n.attr("id")||n.attr({id:e._.id(n)}),n=n.attr("id")),"#"==String(n).charAt()&&(n=n.substring(1)),this.el("use",{"xlink:href":"#"+n})):t.prototype.use.call(this)},i.symbol=function(e,t,n,a){var r={};return null!=e&&null!=t&&null!=n&&null!=a&&(r.viewBox=[e,t,n,a]),this.el("symbol",r)},i.text=function(e,t,n){var a={};return o(e,"object")?a=e:null!=e&&(a={x:e,y:t,text:n||""}),this.el("text",a)},i.line=function(e,t,n,a){var r={};return o(e,"object")?r=e:null!=e&&(r={x1:e,x2:n,y1:t,y2:a}),this.el("line",r)},i.polyline=function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments,0));var t={};return o(e,"object")&&!o(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polyline",t)},i.polygon=function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments,0));var t={};return o(e,"object")&&!o(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polygon",t)},function(){var t=e._.$;function n(){return this.selectAll("stop")}function a(n,a){var r=t("stop"),i={offset:+a+"%"};n=e.color(n),i["stop-color"]=n.hex,n.opacity<1&&(i["stop-opacity"]=n.opacity),t(r,i);for(var o,l=this.stops(),s=0;s<l.length;s++)if(parseFloat(l[s].attr("offset"))>a){this.node.insertBefore(r,l[s].node),o=!0;break}return o||this.node.appendChild(r),this}function r(){if("linearGradient"==this.type){var n=t(this.node,"x1")||0,a=t(this.node,"x2")||1,r=t(this.node,"y1")||0,i=t(this.node,"y2")||0;return e._.box(n,r,math.abs(a-n),math.abs(i-r))}var o=this.node.cx||.5,l=this.node.cy||.5,s=this.node.r||0;return e._.box(o-s,l-s,2*s,2*s)}function o(t){var n=t,a=this.stops();if("string"==typeof t&&(n=eve("snap.util.grad.parse",null,"l(0,0,0,1)"+t).firstDefined().stops),e.is(n,"array")){for(var r=0;r<a.length;r++)if(n[r]){var i=e.color(n[r].color),o={offset:n[r].offset+"%"};o["stop-color"]=i.hex,i.opacity<1&&(o["stop-opacity"]=i.opacity),a[r].attr(o)}else a[r].remove();for(r=a.length;r<n.length;r++)this.addStop(n[r].color,n[r].offset);return this}}function l(i,l,s,c,d){var u=e._.make("linearGradient",i);return u.stops=n,u.addStop=a,u.getBBox=r,u.setStops=o,null!=l&&t(u.node,{x1:l,y1:s,x2:c,y2:d}),u}function s(i,o,l,s,c,d){var u=e._.make("radialGradient",i);return u.stops=n,u.addStop=a,u.getBBox=r,null!=o&&t(u.node,{cx:o,cy:l,r:s}),null!=c&&null!=d&&t(u.node,{fx:c,fy:d}),u}i.gradient=function(e){return function(e,n){var a,r=eve("snap.util.grad.parse",null,n).firstDefined();if(!r)return null;r.params.unshift(e),a="l"==r.type.toLowerCase()?l.apply(0,r.params):s.apply(0,r.params),r.type!=r.type.toLowerCase()&&t(a.node,{gradientUnits:"userSpaceOnUse"});for(var i=r.stops,o=i.length,c=0;c<o;c++){var d=i[c];a.addStop(d.color,d.offset)}return a}(this.defs,e)},i.gradientLinear=function(e,t,n,a){return l(this.defs,e,t,n,a)},i.gradientRadial=function(e,t,n,a,r){return s(this.defs,e,t,n,a,r)},i.toString=function(){var t,n=this.node.ownerDocument,a=n.createDocumentFragment(),r=n.createElement("div"),i=this.node.cloneNode(!0);return a.appendChild(r),r.appendChild(i),e._.$(i,{xmlns:"http://www.w3.org/2000/svg"}),t=r.innerHTML,a.removeChild(a.firstChild),t},i.toDataURL=function(){if(window&&window.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},i.clear=function(){for(var e,t=this.node.firstChild;t;)e=t.nextSibling,"defs"!=t.tagName?t.parentNode.removeChild(t):i.clear.call({node:t}),t=e}}()}),_.plugin(function(e,t,n,a){var r=t.prototype,i=e.is,o=e._.clone,l=/,?([a-z]),?/gi,s=parseFloat,c=Math,d=c.PI,u=c.min,p=c.max,h=c.pow,f=c.abs;function m(e){var t=m.ps=m.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout(function(){for(var n in t)t.hasOwnProperty(n)&&n!=e&&(t[n].sleep--,t[n].sleep||delete t[n])}),t[e]}function x(e,t,n,a){return null==e&&(e=t=n=a=0),null==t&&(t=e.y,n=e.width,a=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:a,h:a,x2:e+n,y2:t+a,cx:e+n/2,cy:t+a/2,r1:c.min(n,a)/2,r2:c.max(n,a)/2,r0:c.sqrt(n*n+a*a)/2,path:F(e,t,n,a),vb:[e,t,n,a].join(" ")}}function v(){return this.join(",").replace(l,"$1")}function b(e){var t=o(e);return t.toString=v,t}function y(e,t,n,a,r,i,o,l,s){return null==s?E(e,t,n,a,r,i,o,l):k(e,t,n,a,r,i,o,l,function(e,t,n,a,r,i,o,l,s){if(!(s<0||E(e,t,n,a,r,i,o,l)<s)){var c,d=.5,u=.5;for(c=E(e,t,n,a,r,i,o,l,.5);f(c-s)>.01;)d/=2,u+=(c<s?1:-1)*d,c=E(e,t,n,a,r,i,o,l,u);return u}}(e,t,n,a,r,i,o,l,s))}function _(n,a){function r(e){return+(+e).toFixed(3)}return e._.cacher(function(e,i,o){e instanceof t&&(e=e.attr("d")),e=z(e);for(var l,s,c,d,u,p="",h={},f=0,m=0,x=e.length;m<x;m++){if("M"==(c=e[m])[0])l=+c[1],s=+c[2];else{if(f+(d=y(l,s,c[1],c[2],c[3],c[4],c[5],c[6]))>i){if(a&&!h.start){if(p+=["C"+r((u=y(l,s,c[1],c[2],c[3],c[4],c[5],c[6],i-f)).start.x),r(u.start.y),r(u.m.x),r(u.m.y),r(u.x),r(u.y)],o)return p;h.start=p,p=["M"+r(u.x),r(u.y)+"C"+r(u.n.x),r(u.n.y),r(u.end.x),r(u.end.y),r(c[5]),r(c[6])].join(),f+=d,l=+c[5],s=+c[6];continue}if(!n&&!a)return y(l,s,c[1],c[2],c[3],c[4],c[5],c[6],i-f)}f+=d,l=+c[5],s=+c[6]}p+=c.shift()+c}
1return h.end=p,u=n?f:a?h:k(l,s,c[0],c[1],c[2],c[3],c[4],c[5],1)},null,e._.clone)}var w=_(1),C=_(),N=_(0,1);function k(e,t,n,a,r,i,o,l,s){var u=1-s,p=h(u,3),f=h(u,2),m=s*s,x=m*s,v=p*e+3*f*s*n+3*u*s*s*r+x*o,b=p*t+3*f*s*a+3*u*s*s*i+x*l,y=e+2*s*(n-e)+m*(r-2*n+e),_=t+2*s*(a-t)+m*(i-2*a+t),w=n+2*s*(r-n)+m*(o-2*r+n),C=a+2*s*(i-a)+m*(l-2*i+a),N=u*e+s*n,k=u*t+s*a,j=u*r+s*o,A=u*i+s*l,T=90-180*c.atan2(y-w,_-C)/d;return{x:v,y:b,m:{x:y,y:_},n:{x:w,y:C},start:{x:N,y:k},end:{x:j,y:A},alpha:T}}function j(t,n,a,r,i,o,l,s){e.is(t,"array")||(t=[t,n,a,r,i,o,l,s]);var c=P.apply(null,t);return x(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function A(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function T(e,t){return e=x(e),A(t=x(t),e.x,e.y)||A(t,e.x2,e.y)||A(t,e.x,e.y2)||A(t,e.x2,e.y2)||A(e,t.x,t.y)||A(e,t.x2,t.y)||A(e,t.x,t.y2)||A(e,t.x2,t.y2)||(e.x<t.x2&&e.x>t.x||t.x<e.x2&&t.x>e.x)&&(e.y<t.y2&&e.y>t.y||t.y<e.y2&&t.y>e.y)}function S(e,t,n,a,r){var i=e*(-3*t+9*n-9*a+3*r)+6*t-12*n+6*a;return e*i-3*t+3*n}function E(e,t,n,a,r,i,o,l,s){null==s&&(s=1);for(var d=(s=s>1?1:s<0?0:s)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],p=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,f=0;f<12;f++){var m=d*u[f]+d,x=S(m,e,n,r,o),v=S(m,t,a,i,l),b=x*x+v*v;h+=p[f]*c.sqrt(b)}return d*h}function L(e,t,n){e=z(e),t=z(t);for(var a,r,i,o,l,s,c,d,h,m,x=n?0:[],v=0,b=e.length;v<b;v++){var y=e[v];if("M"==y[0])a=l=y[1],r=s=y[2];else{"C"==y[0]?(a=(h=[a,r].concat(y.slice(1)))[6],r=h[7]):(h=[a,r,a,r,l,s,l,s],a=l,r=s);for(var _=0,w=t.length;_<w;_++){var C=t[_];if("M"==C[0])i=c=C[1],o=d=C[2];else{"C"==C[0]?(i=(m=[i,o].concat(C.slice(1)))[6],o=m[7]):(m=[i,o,i,o,c,d,c,d],i=c,o=d);var N=function(e,t,n){if(!T(j(e),j(t)))return n?0:[];for(var a=E.apply(0,e),r=E.apply(0,t),i=~~(a/8),o=~~(r/8),l=[],s=[],c={},d=n?0:[],h=0;h<i+1;h++){var m=k.apply(0,e.concat(h/i));l.push({x:m.x,y:m.y,t:h/i})}for(h=0;h<o+1;h++)m=k.apply(0,t.concat(h/o)),s.push({x:m.x,y:m.y,t:h/o});for(h=0;h<i;h++)for(var x=0;x<o;x++){var v=l[h],b=l[h+1],y=s[x],_=s[x+1],w=.001>f(b.x-v.x)?"y":"x",C=.001>f(_.x-y.x)?"y":"x",N=function(e,t,n,a,r,i,o,l){if(!(p(e,n)<u(r,o)||u(e,n)>p(r,o)||p(t,a)<u(i,l)||u(t,a)>p(i,l))){var s=(e*a-t*n)*(r-o)-(e-n)*(r*l-i*o),c=(e*a-t*n)*(i-l)-(t-a)*(r*l-i*o),d=(e-n)*(i-l)-(t-a)*(r-o);if(d){var h=s/d,f=c/d,m=+h.toFixed(2),x=+f.toFixed(2);if(!(m<+u(e,n).toFixed(2)||m>+p(e,n).toFixed(2)||m<+u(r,o).toFixed(2)||m>+p(r,o).toFixed(2)||x<+u(t,a).toFixed(2)||x>+p(t,a).toFixed(2)||x<+u(i,l).toFixed(2)||x>+p(i,l).toFixed(2)))return{x:h,y:f}}}}(v.x,v.y,b.x,b.y,y.x,y.y,_.x,_.y);if(N){if(c[N.x.toFixed(4)]==N.y.toFixed(4))continue;c[N.x.toFixed(4)]=N.y.toFixed(4);var A=v.t+f((N[w]-v[w])/(b[w]-v[w]))*(b.t-v.t),S=y.t+f((N[C]-y[C])/(_[C]-y[C]))*(_.t-y.t);A>=0&&A<=1&&S>=0&&S<=1&&(n?d++:d.push({x:N.x,y:N.y,t1:A,t2:S}))}}return d}(h,m,n);if(n)x+=N;else{for(var A=0,S=N.length;A<S;A++)N[A].segment1=v,N[A].segment2=_,N[A].bez1=h,N[A].bez2=m;x=x.concat(N)}}}}}return x}function I(e){var t=m(e);if(t.bbox)return o(t.bbox);if(!e)return x();e=z(e);for(var n,a=0,r=0,i=[],l=[],s=0,c=e.length;s<c;s++)if("M"==(n=e[s])[0])a=n[1],r=n[2],i.push(a),l.push(r);else{var d=P(a,r,n[1],n[2],n[3],n[4],n[5],n[6]);i=i.concat(d.min.x,d.max.x),l=l.concat(d.min.y,d.max.y),a=n[5],r=n[6]}var h=u.apply(0,i),f=u.apply(0,l),v=x(h,f,p.apply(0,i)-h,p.apply(0,l)-f);return t.bbox=o(v),v}function F(e,t,n,a,r){if(r)return[["M",+e+ +r,t],["l",n-2*r,0],["a",r,r,0,0,1,r,r],["l",0,a-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-n,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-a],["a",r,r,0,0,1,r,-r],["z"]];var i=[["M",e,t],["l",n,0],["l",0,a],["l",-n,0],["z"]];return i.toString=v,i}function B(e,t,n,a,r){if(null==r&&null==a&&(a=n),e*=1,t*=1,n*=1,a*=1,null!=r)var i=Math.PI/180,o=e+n*Math.cos(-a*i),l=e+n*Math.cos(-r*i),s=t+n*Math.sin(-a*i),c=t+n*Math.sin(-r*i),d=[["M",o,s],["A",n,n,0,+(r-a>180),0,l,c]];else d=[["M",e,t],["m",0,-a],["a",n,a,0,1,1,0,2*a],["a",n,a,0,1,1,0,-2*a],["z"]];return d.toString=v,d}var O=e._unit2px;function M(t){var n=m(t);if(n.abs)return b(n.abs);if(i(t,"array")&&i(t&&t[0],"array")||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var a,r=[],o=0,l=0,s=0,c=0,d=0;"M"==t[0][0]&&(o=+t[0][1],l=+t[0][2],s=o,c=l,d++,r[0]=["M",o,l]);for(var u,p,h=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),f=d,x=t.length;f<x;f++){if(r.push(u=[]),(a=(p=t[f])[0])!=a.toUpperCase())switch(u[0]=a.toUpperCase(),u[0]){case"A":u[1]=p[1],u[2]=p[2],u[3]=p[3],u[4]=p[4],u[5]=p[5],u[6]=+p[6]+o,u[7]=+p[7]+l;break;case"V":u[1]=+p[1]+l;break;case"H":u[1]=+p[1]+o;break;case"R":for(var y=[o,l].concat(p.slice(1)),_=2,w=y.length;_<w;_++)y[_]=+y[_]+o,y[++_]=+y[_]+l;r.pop(),r=r.concat(D(y,h));break;case"O":r.pop(),(y=B(o,l,p[1],p[2])).push(y[0]),r=r.concat(y);break;case"U":r.pop(),u=["U"].concat((r=r.concat(B(o,l,p[1],p[2],p[3])))[r.length-1].slice(-2));break;
1case"M":s=+p[1]+o,c=+p[2]+l;default:for(_=1,w=p.length;_<w;_++)u[_]=+p[_]+(_%2?o:l)}else if("R"==a)y=[o,l].concat(p.slice(1)),r.pop(),r=r.concat(D(y,h)),u=["R"].concat(p.slice(-2));else if("O"==a)r.pop(),(y=B(o,l,p[1],p[2])).push(y[0]),r=r.concat(y);else if("U"==a)r.pop(),u=["U"].concat((r=r.concat(B(o,l,p[1],p[2],p[3])))[r.length-1].slice(-2));else for(var C=0,N=p.length;C<N;C++)u[C]=p[C];if("O"!=(a=a.toUpperCase()))switch(u[0]){case"Z":o=+s,l=+c;break;case"H":o=u[1];break;case"V":l=u[1];break;case"M":s=u[u.length-2],c=u[u.length-1];default:o=u[u.length-2],l=u[u.length-1]}}return r.toString=v,n.abs=b(r),r}function $(e,t,n,a,r,i){return[1/3*e+2/3*n,1/3*t+2/3*a,1/3*r+2/3*n,1/3*i+2/3*a,r,i]}function P(e,t,n,a,r,i,o,l){for(var s,d,h,m,x,v,b,y,_=[],w=[[],[]],C=0;C<2;++C){if(0==C?(d=6*e-12*n+6*r,s=-3*e+9*n-9*r+3*o,h=3*n-3*e):(d=6*t-12*a+6*i,s=-3*t+9*a-9*i+3*l,h=3*a-3*t),1e-12>f(s)){if(1e-12>f(d))continue;0<(m=-h/d)&&m<1&&_.push(m);continue}b=d*d-4*h*s,y=c.sqrt(b),!(b<0)&&(0<(x=(-d+y)/(2*s))&&x<1&&_.push(x),0<(v=(-d-y)/(2*s))&&v<1&&_.push(v))}for(var N,k=_.length,j=k;k--;)N=1-(m=_[k]),w[0][k]=N*N*N*e+3*N*N*m*n+3*N*m*m*r+m*m*m*o,w[1][k]=N*N*N*t+3*N*N*m*a+3*N*m*m*i+m*m*m*l;return w[0][j]=e,w[1][j]=t,w[0][j+1]=o,w[1][j+1]=l,w[0].length=w[1].length=j+2,{min:{x:u.apply(0,w[0]),y:u.apply(0,w[1])},max:{x:p.apply(0,w[0]),y:p.apply(0,w[1])}}}function z(t,n){var a=!n&&m(t);if(!n&&a.curve)return b(a.curve);for(var r=M(t),i=n&&M(n),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},l={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},u=function(t,n,a){var r,i,o,l,s,u,p,h,m,x,v,b,y,_,w,C,N,k;if(!t)return["C",n.x,n.y,n.x,n.y,n.x,n.y];switch(t[0]in{T:1,Q:1}||(n.qx=n.qy=null),t[0]){case"M":n.X=t[1],n.Y=t[2];break;case"A":t=["C"].concat((function t(n,a,r,i,o,l,s,u,p,h){var m,x=120*d/180,v=d/180*(+o||0),b=[],y=e._.cacher(function(e,t,n){return{x:e*c.cos(n)-t*c.sin(n),y:e*c.sin(n)+t*c.cos(n)}});if(!r||!i)return[n,a,u,p,u,p];if(h)S=h[0],E=h[1],A=h[2],T=h[3];else{n=(m=y(n,a,-v)).x,a=m.y,u=(m=y(u,p,-v)).x,p=m.y,c.cos(d/180*o),c.sin(d/180*o);var _=(n-u)/2,w=(a-p)/2,C=_*_/(r*r)+w*w/(i*i);C>1&&(r*=C=c.sqrt(C),i*=C);var N=r*r,k=i*i,j=(l==s?-1:1)*c.sqrt(f((N*k-N*w*w-k*_*_)/(N*w*w+k*_*_))),A=j*r*w/i+(n+u)/2,T=-(j*i)*_/r+(a+p)/2,S=c.asin(((a-T)/i).toFixed(9)),E=c.asin(((p-T)/i).toFixed(9));S=n<A?d-S:S,E=u<A?d-E:E,S<0&&(S=2*d+S),E<0&&(E=2*d+E),s&&S>E&&(S-=2*d),!s&&E>S&&(E-=2*d)}var L=E-S;if(f(L)>x){var I=E,F=u,B=p;E=S+x*(s&&E>S?1:-1),b=t(u=A+r*c.cos(E),p=T+i*c.sin(E),r,i,o,0,s,F,B,[E,I,A,T])}L=E-S;var O=c.cos(S),M=c.sin(S),$=c.cos(E),P=c.sin(E),z=c.tan(L/4),D=4/3*r*z,R=4/3*i*z,H=[n,a],W=[n+D*M,a-R*O],q=[u+D*P,p-R*$],V=[u,p];if(W[0]=2*H[0]-W[0],W[1]=2*H[1]-W[1],h)return[W,q,V].concat(b);b=[W,q,V].concat(b).join().split(",");for(var K=[],G=0,U=b.length;G<U;G++)K[G]=G%2?y(b[G-1],b[G],v).y:y(b[G],b[G+1],v).x;return K}).apply(0,[n.x,n.y].concat(t.slice(1))));break;case"S":"C"==a||"S"==a?(r=2*n.x-n.bx,i=2*n.y-n.by):(r=n.x,i=n.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"==a||"T"==a?(n.qx=2*n.x-n.qx,n.qy=2*n.y-n.qy):(n.qx=n.x,n.qy=n.y),t=["C"].concat($(n.x,n.y,n.qx,n.qy,t[1],t[2]));break;case"Q":n.qx=t[1],n.qy=t[2],t=["C"].concat($(n.x,n.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat((o=n.x,l=n.y,[o,l,s=t[1],u=t[2],s,u]));break;case"H":t=["C"].concat((p=n.x,h=n.y,[p,h,m=t[1],x=n.y,m,x]));break;case"V":t=["C"].concat((v=n.x,b=n.y,[v,b,y=n.x,_=t[1],y,_]));break;case"Z":t=["C"].concat((w=n.x,C=n.y,[w,C,N=n.X,k=n.Y,N,k]))}return t},h=function(e,t){if(e[t].length>7){e[t].shift();for(var n=e[t];n.length;)v[t]="A",i&&(y[t]="A"),e.splice(t++,0,["C"].concat(n.splice(0,6)));e.splice(t,1),N=p(r.length,i&&i.length||0)}},x=function(e,t,n,a,o){e&&t&&"M"==e[o][0]&&"M"!=t[o][0]&&(t.splice(o,0,["M",a.x,a.y]),n.bx=0,n.by=0,n.x=e[o][1],n.y=e[o][2],N=p(r.length,i&&i.length||0))},v=[],y=[],_="",w="",C=0,N=p(r.length,i&&i.length||0);C<N;C++){r[C]&&(_=r[C][0]),"C"!=_&&(v[C]=_,C&&(w=v[C-1])),r[C]=u(r[C],o,w),"A"!=v[C]&&"C"==_&&(v[C]="C"),h(r,C),i&&(i[C]&&(_=i[C][0]),"C"!=_&&(y[C]=_,C&&(w=y[C-1])),i[C]=u(i[C],l,w),"A"!=y[C]&&"C"==_&&(y[C]="C"),h(i,C)),x(r,i,o,l,C),x(i,r,l,o,C);var k=r[C],j=i&&i[C],A=k.length,T=i&&j.length;o.x=k[A-2],o.y=k[A-1],o.bx=s(k[A-4])||o.x,o.by=s(k[A-3])||o.y,l.bx=i&&(s(j[T-4])||l.x),l.by=i&&(s(j[T-3])||l.y),l.x=i&&j[T-2],l.y=i&&j[T-1]}
1return i||(a.curve=b(r)),i?[r,i]:r}function D(e,t){for(var n=[],a=0,r=e.length;r-2*!t>a;a+=2){var i=[{x:+e[a-2],y:+e[a-1]},{x:+e[a],y:+e[a+1]},{x:+e[a+2],y:+e[a+3]},{x:+e[a+4],y:+e[a+5]}];t?a?r-4==a?i[3]={x:+e[0],y:+e[1]}:r-2==a&&(i[2]={x:+e[0],y:+e[1]},i[3]={x:+e[2],y:+e[3]}):i[0]={x:+e[r-2],y:+e[r-1]}:r-4==a?i[3]=i[2]:a||(i[0]={x:+e[a],y:+e[a+1]}),n.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return n}e.path=m,e.path.getTotalLength=w,e.path.getPointAtLength=C,e.path.getSubpath=function(e,t,n){if(this.getTotalLength(e)-n<1e-6)return N(e,t).end;var a=N(e,n,1);return t?N(a,t).end:a},r.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},r.getPointAtLength=function(e){return C(this.attr("d"),e)},r.getSubpath=function(t,n){return e.path.getSubpath(this.attr("d"),t,n)},e._.box=x,e.path.findDotsAtSegment=k,e.path.bezierBBox=j,e.path.isPointInsideBBox=A,e.closest=function(t,n,a,r){for(var i=100,o=x(t-50,n-50,100,100),l=[],s=a[0].hasOwnProperty("x")?function(e){return{x:a[e].x,y:a[e].y}}:function(e){return{x:a[e],y:r[e]}},c=0;i<=1e6&&!c;){for(var d=0,u=a.length;d<u;d++){var p=s(d);if(A(o,p.x,p.y)){c++,l.push(p);break}}c||(i*=2,o=x(t-i/2,n-i/2,i,i))}if(1e6!=i){var h,f=1/0;for(d=0,u=l.length;d<u;d++){var m=e.len(t,n,l[d].x,l[d].y);f>m&&(f=m,l[d].len=m,h=l[d])}return h}},e.path.isBBoxIntersect=T,e.path.intersection=function(e,t){return L(e,t)},e.path.intersectionNumber=function(e,t){return L(e,t,1)},e.path.isPointInside=function(e,t,n){var a=I(e);return A(a,t,n)&&L(e,[["M",t,n],["H",a.x2+10]],1)%2==1},e.path.getBBox=I,e.path.get={path:function(e){return e.attr("path")},circle:function(e){var t=O(e);return B(t.cx,t.cy,t.r)},ellipse:function(e){var t=O(e);return B(t.cx||0,t.cy||0,t.rx,t.ry)},rect:function(e){var t=O(e);return F(t.x||0,t.y||0,t.width,t.height,t.rx,t.ry)},image:function(e){var t=O(e);return F(t.x||0,t.y||0,t.width,t.height)},line:function(e){return"M"+[e.attr("x1")||0,e.attr("y1")||0,e.attr("x2"),e.attr("y2")]},polyline:function(e){return"M"+e.attr("points")},polygon:function(e){return"M"+e.attr("points")+"z"},deflt:function(e){var t=e.node.getBBox();return F(t.x,t.y,t.width,t.height)}},e.path.toRelative=function(t){var n=m(t),a=String.prototype.toLowerCase;if(n.rel)return b(n.rel);e.is(t,"array")&&e.is(t&&t[0],"array")||(t=e.parsePathString(t));var r=[],i=0,o=0,l=0,s=0,c=0;"M"==t[0][0]&&(i=t[0][1],o=t[0][2],l=i,s=o,c++,r.push(["M",i,o]));for(var d=c,u=t.length;d<u;d++){var p=r[d]=[],h=t[d];if(h[0]!=a.call(h[0]))switch(p[0]=a.call(h[0]),p[0]){case"a":p[1]=h[1],p[2]=h[2],p[3]=h[3],p[4]=h[4],p[5]=h[5],p[6]=+(h[6]-i).toFixed(3),p[7]=+(h[7]-o).toFixed(3);break;case"v":p[1]=+(h[1]-o).toFixed(3);break;case"m":l=h[1],s=h[2];default:for(var f=1,x=h.length;f<x;f++)p[f]=+(h[f]-(f%2?i:o)).toFixed(3)}else{p=r[d]=[],"m"==h[0]&&(l=h[1]+i,s=h[2]+o);for(var y=0,_=h.length;y<_;y++)r[d][y]=h[y]}var w=r[d].length;switch(r[d][0]){case"z":i=l,o=s;break;case"h":i+=+r[d][w-1];break;case"v":o+=+r[d][w-1];break;default:i+=+r[d][w-2],o+=+r[d][w-1]}}return r.toString=v,n.rel=b(r),r},e.path.toAbsolute=M,e.path.toCubic=z,e.path.map=function(e,t){var n,a,r,i,o,l,s;if(!t)return e;for(r=0,o=(e=z(e)).length;r<o;r++)for(i=1,l=(s=e[r]).length;i<l;i+=2)n=t.x(s[i],s[i+1]),a=t.y(s[i],s[i+1]),s[i]=n,s[i+1]=a;return e},e.path.toString=v,e.path.clone=b}),_.plugin(function(e,t,n,a){var r=Math.max,i=Math.min,o=function(e){if(this.items=[],this.bindings={},this.length=0,this.type="set",e)for(var t=0,n=e.length;t<n;t++)e[t]&&(this[this.items.length]=this.items[this.items.length]=e[t],this.length++)},l=o.prototype;l.push=function(){for(var e,t,n=0,a=arguments.length;n<a;n++)e=arguments[n],e&&(this[t=this.items.length]=this.items[t]=e,this.length++);return this},l.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},l.forEach=function(e,t){for(var n=0,a=this.items.length;n<a&&!1!==e.call(t,this.items[n],n);n++);return this},l.animate=function(t,n,a,r){"function"!=typeof a||a.length||(r=a,a=y.linear),t instanceof e._.Animation&&(r=t.callback,n=(a=t.easing).dur,t=t.attr);var i=arguments;if(e.is(t,"array")&&e.is(i[i.length-1],"array"))var o=!0;var l,s=function(){l?this.b=l:l=this.b},c=0,d=this,u=r&&function(){++c==d.length&&r.call(this)};return this.forEach(function(e,r){eve.once("snap.animcreated."+e.id,s),o?i[r]&&e.animate.apply(e,i[r]):e.animate(t,n,a,u)})},l.remove=function(){for(;this.length;)this.pop().remove();return this},l.bind=function(e,t,n){var a={};if("function"==typeof t)this.bindings[e]=t;else{var r=n||e;this.bindings[e]=function(e){a[r]=e,t.attr(a)}}return this},l.attr=function(e){var t={};for(var n in e)this.bindings[n]?this.bindings[n](e[n]):t[n]=e[n];for(var a=0,r=this.items.length;a<r;a++)this.items[a].attr(t);return this},l.clear=function(){for(;this.length;)this.pop()}
1,l.splice=function(e,t,n){e=e<0?r(this.length+e,0):e,t=r(0,i(this.length-e,t));var a,l=[],s=[],c=[];for(a=2;a<arguments.length;a++)c.push(arguments[a]);for(a=0;a<t;a++)s.push(this[e+a]);for(;a<this.length-e;a++)l.push(this[e+a]);var d=c.length;for(a=0;a<d+l.length;a++)this.items[e+a]=this[e+a]=a<d?c[a]:l[a-d];for(a=this.items.length=this.length-=t-d;this[a];)delete this[a++];return new o(s)},l.exclude=function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]==e)return this.splice(t,1),!0;return!1},l.insertAfter=function(e){for(var t=this.items.length;t--;)this.items[t].insertAfter(e);return this},l.getBBox=function(){for(var e=[],t=[],n=[],a=[],o=this.items.length;o--;)if(!this.items[o].removed){var l=this.items[o].getBBox();e.push(l.x),t.push(l.y),n.push(l.x+l.width),a.push(l.y+l.height)}return e=i.apply(0,e),t=i.apply(0,t),{x:e,y:t,x2:n=r.apply(0,n),y2:a=r.apply(0,a),width:n-e,height:a-t,cx:e+(n-e)/2,cy:t+(a-t)/2}},l.clone=function(e){e=new o;for(var t=0,n=this.items.length;t<n;t++)e.push(this.items[t].clone());return e},l.toString=function(){return"Snapâs set"},l.type="set",e.Set=o,e.set=function(){var e=new o;return arguments.length&&e.push.apply(e,Array.prototype.slice.call(arguments,0)),e}}),_.plugin(function(e,t,n,a){var r={},i=/[%a-z]+$/i,o=String;function l(e){var t=e[0];switch(t.toLowerCase()){case"t":return[t,0,0];case"m":return[t,1,0,0,1,0,0];case"r":if(4==e.length)return[t,0,e[2],e[3]];return[t,0];case"s":if(5==e.length)return[t,1,1,e[3],e[4]];if(3==e.length)return[t,1,1];return[t,1]}}function s(e){return e}function c(e){return e.join(" ")}function d(t){return e.rgb(t[0],t[1],t[2],t[3])}function u(e){var t,n,a,r,i,o,l=0,s=[];for(t=0,n=e.length;t<n;t++){for(a=1,i="[",o=['"'+e[t][0]+'"'],r=e[t].length;a<r;a++)o[a]="val["+l+++"]";i+=o+"]",s[t]=i}return Function("val","return Snap.path.toString.call(["+s+"])")}function p(e){for(var t=[],n=0,a=e.length;n<a;n++)for(var r=1,i=e[n].length;r<i;r++)t.push(e[n][r]);return t}r.stroke=r.fill="colour";t.prototype.equal=function(e,t){return eve("snap.util.equal",this,e,t).firstDefined()},eve.on("snap.util.equal",function(t,n){var a,h,f=o(this.attr(t)||""),m=this;if("colour"==r[t])return a=e.color(f),h=e.color(n),{from:[a.r,a.g,a.b,a.opacity],to:[h.r,h.g,h.b,h.opacity],f:d};if("viewBox"==t)return{from:a=this.attr(t).vb.split(" ").map(Number),to:h=n.split(" ").map(Number),f:c};if("transform"==t||"gradientTransform"==t||"patternTransform"==t)return"string"==typeof n&&(n=o(n).replace(/\.{3}|\u2026/g,f)),function(t,n,a){t=t||new e.Matrix,n=n||new e.Matrix,t=e.parseTransformString(t.toTransformString())||[],n=e.parseTransformString(n.toTransformString())||[];for(var r,i,o,s,c=Math.max(t.length,n.length),d=[],h=[],f=0;f<c;f++){if(o=t[f]||l(n[f]),s=n[f]||l(o),o[0]!=s[0]||"r"==o[0].toLowerCase()&&(o[2]!=s[2]||o[3]!=s[3])||"s"==o[0].toLowerCase()&&(o[3]!=s[3]||o[4]!=s[4])){t=e._.transform2matrix(t,a()),n=e._.transform2matrix(n,a()),d=[["m",t.a,t.b,t.c,t.d,t.e,t.f]],h=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(r=0,d[f]=[],h[f]=[],i=Math.max(o.length,s.length);r<i;r++)r in o&&(d[f][r]=o[r]),r in s&&(h[f][r]=s[r])}return{from:p(d),to:p(h),f:u(d)}}(f=this.matrix,n=e._.rgTransform.test(n)?e._.transform2matrix(n,this.getBBox()):e._.transform2matrix(e._.svgTransform2string(n),this.getBBox()),function(){return m.getBBox(1)});
1if("d"==t||"path"==t)return{from:p((a=e.path.toCubic(f,n))[0]),to:p(a[1]),f:u(a[0])};if("points"==t)return{from:a=o(f).split(e._.separator),to:h=o(n).split(e._.separator),f:function(e){return e}};if(isFinite(f)&&isFinite(n))return{from:parseFloat(f),to:parseFloat(n),f:s};var x=f.match(i),v=o(n).match(i);return x&&e.is(x,"array")&&e.is(v,"array")&&x.toString()==v.toString()?{from:parseFloat(f),to:parseFloat(n),f:function(e){return+e.toFixed(3)+x}}:{from:this.asPX(t),to:this.asPX(t,n),f:s}})}),_.plugin(function(e,t,n,a){for(var r=t.prototype,i=("createTouch"in a.doc),o=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],l={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},s=function(e,t){var n="y"==e?"scrollTop":"scrollLeft",r=t&&t.node?t.node.ownerDocument:a.doc;return r[n in r.documentElement?"documentElement":"body"][n]},c=function(){return this.originalEvent.preventDefault()},d=function(){return this.originalEvent.stopPropagation()},u=function(e,t,n,a){var r=i&&l[t]?l[t]:t,o=function(r){var o=s("y",a),u=s("x",a);if(i&&l.hasOwnProperty(t)){for(var p=0,h=r.targetTouches&&r.targetTouches.length;p<h;p++)if(r.targetTouches[p].target==e||e.contains(r.targetTouches[p].target)){var f=r;(r=r.targetTouches[p]).originalEvent=f,r.preventDefault=c,r.stopPropagation=d;break}}var m=r.clientX+u,x=r.clientY+o;return n.call(a,r,m,x)};return t!==r&&e.addEventListener(t,o,!1),e.addEventListener(r,o,!1),function(){return t!==r&&e.removeEventListener(t,o,!1),e.removeEventListener(r,o,!1),!0}},p=[],h=function(e){for(var t,n=e.clientX,a=e.clientY,r=s("y"),o=s("x"),l=p.length;l--;){if(t=p[l],i){for(var c,d=e.touches&&e.touches.length;d--;)if((c=e.touches[d]).identifier==t.el._drag.id||t.el.node.contains(c.target)){n=c.clientX,a=c.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var u=t.el.node;u.nextSibling,u.parentNode,u.style.display,n+=o,a+=r,eve("snap.drag.move."+t.el.id,t.move_scope||t.el,n-t.el._drag.x,a-t.el._drag.y,n,a,e)}},f=function(t){e.unmousemove(h).unmouseup(f);for(var n,a=p.length;a--;)(n=p[a]).el._drag={},eve("snap.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,t),eve.off("snap.drag.*."+n.el.id);p=[]},m=o.length;m--;)!function(t){e[t]=r[t]=function(n,a){if(e.is(n,"function"))this.events=this.events||[],this.events.push({name:t,f:n,unbind:u(this.node||document,t,n,a||this)});else for(var r=0,i=this.events.length;r<i;r++)if(this.events[r].name==t)try{this.events[r].f.call(this)}catch(e){}return this},e["un"+t]=r["un"+t]=function(e){for(var n=this.events||[],a=n.length;a--;)if(n[a].name==t&&(n[a].f==e||!e)){n[a].unbind(),n.splice(a,1),n.length||delete this.events;break}return this}}(o[m]);r.hover=function(e,t,n,a){return this.mouseover(e,n).mouseout(t,a||n)},r.unhover=function(e,t){return this.unmouseover(e).unmouseout(t)};var x=[];r.drag=function(t,n,a,r,i,o){var l,s=this;if(!arguments.length)return s.drag(function(e,t){this.attr({transform:l+(l?"T":"t")+[e,t]})},function(){l=this.transform().local});function c(l,c,d){(l.originalEvent||l).preventDefault(),s._drag.x=c,s._drag.y=d,s._drag.id=l.identifier,p.length||e.mousemove(h).mouseup(f),p.push({el:s,move_scope:r,start_scope:i,end_scope:o}),n&&eve.on("snap.drag.start."+s.id,n),t&&eve.on("snap.drag.move."+s.id,t),a&&eve.on("snap.drag.end."+s.id,a),eve("snap.drag.start."+s.id,i||r||s,c,d,l)}function d(e,t,n){eve("snap.draginit."+s.id,s,e,t,n)}return eve.on("snap.draginit."+s.id,c),s._drag={},x.push({el:s,start:c,init:d}),s.mousedown(d),s},r.undrag=function(){for(var t=x.length;t--;)x[t].el==this&&(this.unmousedown(x[t].init),x.splice(t,1),eve.unbind("snap.drag.*."+this.id),eve.unbind("snap.draginit."+this.id));return x.length||e.unmousemove(h).unmouseup(f),this}}),_.plugin(function(e,t,n,a){t.prototype;var r=n.prototype,i=/^\s*url\((.+)\)/,o=String,l=e._.$;e.filter={},r.filter=function(n){var a=this;"svg"!=a.type&&(a=a.paper);var r=e.parse(o(n)),i=e._.id(),s=(a.node.offsetWidth,a.node.offsetHeight,l("filter"));return l(s,{id:i,filterUnits:"userSpaceOnUse"}),s.appendChild(r.node),a.defs.appendChild(s),new t(s)},eve.on("snap.util.getattr.filter",function(){eve.stop();var t=l(this.node,"filter");if(t){var n=o(t).match(i);return n&&e.select(n[1])}}),eve.on("snap.util.attr.filter",function(n){if(n instanceof t&&"filter"==n.type){eve.stop();var a=n.node.id;a||(l(n.node,{id:n.id}),a=n.id),l(this.node,{filter:e.url(a)})}n&&"none"!=n||(eve.stop(),this.node.removeAttribute("filter"))}),e.filter.blur=function(t,n){null==t&&(t=2);var a=null==n?t:[t,n];return e.format('<feGaussianBlur stdDeviation="{def}"/>',{def:a})},e.filter.blur.toString=function(){return this()},e.filter.shadow=function(t,n,a,r,i){return null==i&&(null==r?(i=a,a=4,r="#000"):(i=r,r=a,a=4)),null==a&&(a=4),null==i&&(i=1),null==t&&(t=0,n=2),null==n&&(n=t),r=e.color(r),e.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:r,dx:t,dy:n,blur:a,opacity:i})},e.filter.shadow.toString=function(){return this()},e.filter.grayscale=function(t){return null==t&&(t=1),e.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-t),b:.7152-.7152*(1-t),c:.0722-.0722*(1-t),d:.2126-.2126*(1-t),e:.7152+.2848*(1-t),f:.0722-.0722*(1-t),g:.2126-.2126*(1-t),h:.0722+.9278*(1-t)})},e.filter.grayscale.toString=function(){return this()},e.filter.sepia=function(t){return null==t&&(t=1),e.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-t),b:.769-.769*(1-t),c:.189-.189*(1-t),d:.349-.349*(1-t),e:.686+.314*(1-t),f:.168-.168*(1-t),g:.272-.272*(1-t),h:.534-.534*(1-t),i:.131+.869*(1-t)})},e.filter.sepia.toString=function(){return this()},e.filter.saturate=function(t){return null==t&&(t=1),e.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-t})},e.filter.saturate.toString=function(){return this()},e.filter.hueRotate=function(t){return t=t||0,e.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:t})},e.filter.hueRotate.toString=function(){return this()},e.filter.invert=function(t){return null==t&&(t=1),e.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:t,amount2:1-t})},e.filter.invert.toString=function(){return this()},e.filter.brightness=function(t){return null==t&&(t=1),e.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:t})},e.filter.brightness.toString=function(){return this()},e.filter.contrast=function(t){return null==t&&(t=1),e.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:t,amount2:.5-t/2})},e.filter.contrast.toString=function(){return this()}}),_.plugin(function(e,t,n,a,r){var i=e._.box,o=e.is,l=/^[^a-z]*([tbmlrc])/i,s=function(){return"T"+this.dx+","+this.dy};t.prototype.getAlign=function(e,t){null==t&&o(e,"string")&&(t=e,e=null);var n=(e=e||this.paper).getBBox?e.getBBox():i(e),a=this.getBBox(),r={};switch(t=(t=t&&t.match(l))?t[1].toLowerCase():"c"){case"t":r.dx=0,r.dy=n.y-a.y;break;case"b":r.dx=0,r.dy=n.y2-a.y2;break;case"m":r.dx=0,r.dy=n.cy-a.cy;break;case"l":r.dx=n.x-a.x,r.dy=0;break;case"r":r.dx=n.x2-a.x2,r.dy=0;break;default:r.dx=n.cx-a.cx,r.dy=0}return r.toString=s,r},t.prototype.align=function(e,t){return this.transform("..."+this.getAlign(e,t))}}),_.plugin(function(e,t,n,a,r){var i=t.prototype,o=e.is,l=String,s="hasOwnProperty",c=function(e,t,n,a){"function"!=typeof n||n.length||(a=n,n=y.linear),this.attr=e,this.dur=t,n&&(this.easing=n),a&&(this.callback=a)};e._.Animation=c,e.animation=function(e,t,n,a){return new c(e,t,n,a)},i.inAnim=function(){var e=[];for(var t in this.anims)this.anims[s](t)&&function(t){e.push({anim:new c(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(this.anims[t]);return e},e.animate=function(e,t,n,a,r,i){"function"!=typeof r||r.length||(i=r,r=y.linear);var o=y.time(),l=y(e,t,o,o+a,y.time,n,r);return i&&eve.once("mina.finish."+l.id,i),l},i.stop=function(){for(var e=this.inAnim(),t=0,n=e.length;t<n;t++)e[t].stop();return this},i.animate=function(e,t,n,a){"function"!=typeof n||n.length||(a=n,n=y.linear),e instanceof c&&(a=e.callback,n=e.easing,t=e.dur,e=e.attr);var r,i,d,u,p=[],h=[],f={},m=this;for(var x in e)if(e[s](x)){m.equal?(r=(u=m.equal(x,l(e[x]))).from,i=u.to,d=u.f):(r=+m.attr(x),i=+e[x]);var v=o(r,"array")?r.length:1;f[x]=function(e,t,n){return function(a){var r=a.slice(e,t);return 1==r.length&&(r=r[0]),n?n(r):r}}
1(p.length,p.length+v,d),p=p.concat(r),h=h.concat(i)}var b=y.time(),_=y(p,h,b,b+t,y.time,function(e){var t={};for(var n in f)f[s](n)&&(t[n]=f[n](e));m.attr(t)},n);return m.anims[_.id]=_,_._attrs=e,_._callback=a,eve("snap.animcreated."+m.id,_),eve.once("mina.finish."+_.id,function(){eve.off("mina.*."+_.id),delete m.anims[_.id],a&&a.call(m)}),eve.once("mina.stop."+_.id,function(){eve.off("mina.*."+_.id),delete m.anims[_.id]}),m}}),_.plugin(function(e,t,n,a){function r(e){var t=new String((e=e.split(/(?=#)/))[5]);return t[50]=e[0],t[100]=e[1],t[200]=e[2],t[300]=e[3],t[400]=e[4],t[500]=e[5],t[600]=e[6],t[700]=e[7],t[800]=e[8],t[900]=e[9],e[10]&&(t.A100=e[10],t.A200=e[11],t.A400=e[12],t.A700=e[13]),t}e.mui={},e.flat={},e.mui.red=r("#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000"),e.mui.pink=r("#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162"),e.mui.purple=r("#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF"),e.mui.deeppurple=r("#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA"),e.mui.indigo=r("#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE"),e.mui.blue=r("#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF"),e.mui.lightblue=r("#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA"),e.mui.cyan=r("#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4"),e.mui.teal=r("#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5"),e.mui.green=r("#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853"),e.mui.lightgreen=r("#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17"),e.mui.lime=r("#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00"),e.mui.yellow=r("#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600"),e.mui.amber=r("#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00"),e.mui.orange=r("#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00"),e.mui.deeporange=r("#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00"),e.mui.brown=r("#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723"),e.mui.grey=r("#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121"),e.mui.bluegrey=r("#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238"),e.flat.turquoise="#1abc9c",e.flat.greensea="#16a085",e.flat.sunflower="#f1c40f",e.flat.orange="#f39c12",e.flat.emerland="#2ecc71",e.flat.nephritis="#27ae60",e.flat.carrot="#e67e22",e.flat.pumpkin="#d35400",e.flat.peterriver="#3498db",e.flat.belizehole="#2980b9",e.flat.alizarin="#e74c3c",e.flat.pomegranate="#c0392b",e.flat.amethyst="#9b59b6",e.flat.wisteria="#8e44ad",e.flat.clouds="#ecf0f1",e.flat.silver="#bdc3c7",e.flat.wetasphalt="#34495e",e.flat.midnightblue="#2c3e50",e.flat.concrete="#95a5a6",e.flat.asbestos="#7f8c8d",e.importMUIColors=function(){for(var t in e.mui)e.mui.hasOwnProperty(t)&&(window[t]=e.mui[t])}}),t.exports=_},890717,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var t=void 0;try{t=e.r(401625)}finally{return t}},t.exports=n.default},114180,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.pxToNum=function(e){return parseInt(e.slice(0,-2),10)}},863528,(e,t,n)=>{"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var r=a(e.r(890717)),i=a(e.r(716867)),o=e.r(114180),l={svg:{lib:r.default,pathInitial:"M-1,0h101c0,0-97.833,153.603-97.833,396.167C2.167,627.579,100,800,100,800H-1V0z",pathOpen:"M-1,0h101c0,0,0-1,0,395c0,404,0,405,0,405H-1V0z",animate:function(e){e.animate({path:this.pathOpen},400,window.mina.easeinout)}},morphShape:function(e,t,n){return{position:"absolute",width:120,height:"100%",right:n?"inherit":0,left:n?0:"inherit",MozTransform:n?"rotateY(180deg)":"",MsTransform:n?"rotateY(180deg)":"",OTransform:n?"rotateY(180deg)":"",WebkitTransform:n?"rotateY(180deg)":"",transform:n?"rotateY(180deg)":""}}
1,menuWrap:function(e,t,n){return{MozTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:"all 0.3s"}},menu:function(e,t,n){return{position:"fixed",right:n?0:"inherit",width:(0,o.pxToNum)(t)-120,whiteSpace:"nowrap",boxSizing:"border-box",overflow:"visible"}},itemList:function(e,t,n){if(n)return{position:"relative",left:"-110px",width:"170%",overflow:"auto"}},pageWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",MsTransform:e?"":n?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",OTransform:e?"":n?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",WebkitTransform:e?"":n?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",transform:e?"":n?"translate3d(-100px, 0, 0)":"translate3d(100px, 0, 0)",transition:e?"all 0.3s":"all 0.3s 0.1s"}},outerContainer:function(e){return{overflow:e?"":"hidden"}}};n.default=(0,i.default)(l),t.exports=n.default},142792,(e,t,n)=>{"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var r=a(e.r(890717)),i=a(e.r(716867)),o=e.r(114180),l={svg:{lib:r.default,pathInitial:"M-7.312,0H0c0,0,0,113.839,0,400c0,264.506,0,400,0,400h-7.312V0z",pathOpen:"M-7.312,0H15c0,0,66,113.339,66,399.5C81,664.006,15,800,15,800H-7.312V0z;M-7.312,0H100c0,0,0,113.839,0,400c0,264.506,0,400,0,400H-7.312V0z",animate:function(e){var t=0,n=this.pathOpen.split(";"),a=n.length,r=window.mina;!function i(){!(t>a-1)&&(e.animate({path:n[t]},0===t?400:500,0===t?r.easein:r.elastic,function(){i()}),t++)}()}},morphShape:function(e,t,n){return{position:"absolute",width:"100%",height:"100%",right:n?"inherit":0,left:n?0:"inherit",MozTransform:n?"rotateY(180deg)":"rotateY(0deg)",MsTransform:n?"rotateY(180deg)":"rotateY(0deg)",OTransform:n?"rotateY(180deg)":"rotateY(0deg)",WebkitTransform:n?"rotateY(180deg)":"rotateY(0deg)",transform:n?"rotateY(180deg)":"rotateY(0deg)"}},menuWrap:function(e,t,n){return{MozTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"translate3d(0, 0, 0)":n?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:e?"transform 0.4s 0s":"transform 0.4s"}},menu:function(e,t,n){var a=(0,o.pxToNum)(t)-140;return{position:"fixed",MozTransform:e?"":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",MsTransform:e?"":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",OTransform:e?"":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",WebkitTransform:e?"":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",transform:e?"":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",transition:e?"opacity 0.1s 0.4s cubic-bezier(.17, .67, .1, 1.27), transform 0.1s 0.4s cubic-bezier(.17, .67, .1, 1.27)":"opacity 0s 0.3s cubic-bezier(.17, .67, .1, 1.27), transform 0s 0.3s cubic-bezier(.17, .67, .1, 1.27)",opacity:+!!e}},item:function(e,t,n,a){var r=(0,o.pxToNum)(t)-140;return{MozTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+r+", 0, 0)":"translate3d(-"+r+", 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+r+", 0, 0)":"translate3d(-"+r+", 0, 0)",OTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+r+", 0, 0)":"translate3d(-"+r+", 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+r+", 0, 0)":"translate3d(-"+r+", 0, 0)",transform:e?"translate3d(0, 0, 0)":n?"translate3d("+r+", 0, 0)":"translate3d(-"+r+", 0, 0)",transition:e?"opacity 0.3s 0.4s, transform 0.3s 0.4s":"opacity 0s 0.3s cubic-bezier(.17, .67, .1, 1.27), transform 0s 0.3s cubic-bezier(.17, .67, .1, 1.27)",opacity:+!!e}},closeButton:function(e,t,n){var a=(0,o.pxToNum)(t)-140;return{MozTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+a+", 0, 0
1)":"translate3d(-"+a+", 0, 0)",MsTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",OTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",WebkitTransform:e?"translate3d(0, 0, 0)":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",transform:e?"translate3d(0, 0, 0)":n?"translate3d("+a+", 0, 0)":"translate3d(-"+a+", 0, 0)",transition:e?"opacity 0.3s 0.4s cubic-bezier(.17, .67, .1, 1.27), transform 0.3s 0.4s cubic-bezier(.17, .67, .1, 1.27)":"opacity 0s 0.3s cubic-bezier(.17, .67, .1, 1.27), transform 0s 0.3s cubic-bezier(.17, .67, .1, 1.27)",opacity:+!!e}}};n.default=(0,i.default)(l),t.exports=n.default},892582,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({pageWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",MsTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",OTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",WebkitTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transition:"all 0.5s"}},outerContainer:function(e){return{overflow:e?"":"hidden"}}}),t.exports=n.default},636390,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({pageWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",MsTransform:e?"":n?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",OTransform:e?"":n?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",WebkitTransform:e?"":n?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",transform:e?"":n?"translate3d(-"+t+", 0, 0) rotateY(15deg)":"translate3d("+t+", 0, 0) rotateY(-15deg)",transformOrigin:n?"100% 50%":"0% 50%",transformStyle:"preserve-3d",transition:"all 0.5s"}},outerContainer:function(e){return{perspective:"1500px",overflow:e?"":"hidden"}}}),t.exports=n.default},574781,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({pageWrap:function(e,t){return{MozTransform:e?"":"translate3d(0, 0, -"+t+")",MsTransform:e?"":"translate3d(0, 0, -"+t+")",OTransform:e?"":"translate3d(0, 0, -"+t+")",WebkitTransform:e?"":"translate3d(0, 0, -"+t+")",transform:e?"":"translate3d(0, 0, -"+t+")",transformOrigin:"100%",transformStyle:"preserve-3d",transition:"all 0.5s"}},outerContainer:function(){return{perspective:"1500px"}}}),t.exports=n.default},182630,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({pageWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",MsTransform:e?"":n?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",OTransform:e?"":n?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",WebkitTransform:e?"":n?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",transform:e?"":n?"translate3d(-100px, 0, -600px) rotateY(20deg)":"translate3d(100px, 0, -600px) rotateY(-20deg)",transformStyle:"preserve-3d",transition:"all 0.5s",overflow:e?"":"hidden"}},outerContainer:function(e){return{perspective:"1500px",overflow:e?"":"hidden"}}}),t.exports=n.default},242560,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({menuWrap:function(e){return{MozTransform:e?"":"translate3d(0, -100%, 0)",MsTransform:e?"":"translate3d(0, -100%, 0)",OTransform:e?"":"translate3d(0, -100%, 0)",WebkitTransform:e?"":"translate3d(0, -100%, 0)",transform:e?"":"translate3d(0, -100%, 0)",transition:"all 0.5s ease-in-out"}},pageWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",MsTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",OTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",WebkitTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transition:"all 0.5s"}},outerContainer:function(e){return{perspective:"1500px",perspectiveOrigin:"0% 50%",overflow:e?"":"hidden"}}}),t.exports=n.default},348990,(e,t,n)=>{"use strict";var a;Object.defineProperty(n,"__esModule",{value:!0}),n.default=(0,((a=e.r(716867))&&a.__esModule?a:{default:a}).default)({menuWrap:function(e,t,n){return{MozTransform:"translate3d(0, 0, 0)",MsTransform:"translate3d(0, 0, 0)",OTransform:"translate3d(0, 0, 0)",WebkitTransform:"translate3d(0, 0, 0)",transform:"translate3d(0, 0, 0)",zIndex:e?1e3:-1}},overlay:function(e,t,n){return{zIndex:1400,MozTransform:e?n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",MsTransform:e?n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",OTransform:e?n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",WebkitTransform:e?n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",transform:e?n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)":"translate3d(0, 0, 0)",transition:"all 0.5s",visibility:e?"visible":"hidden"}},pageWrap:function(e,t,n){return{MozTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",MsTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",OTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",WebkitTransform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transform:e?"":n?"translate3d(-"+t+", 0, 0)":"translate3d("+t+", 0, 0)",transition:"all 0.5s",zIndex:1200,position:"relative"}}
1,burgerIcon:function(e,t,n){return{MozTransform:e?n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",MsTransform:e?n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",OTransform:e?n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",WebkitTransform:e?n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",transform:e?n?"translate3d("+t+", 0, 0)":"translate3d(-"+t+", 0, 0)":"translate3d(0, 0, 0)",transition:"all 0.1s",position:"relative",zIndex:1300}},outerContainer:function(e){return{overflow:e?"":"hidden"}}}),t.exports=n.default},772152,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={slide:e.r(932655),stack:e.r(244621),elastic:e.r(863528),bubble:e.r(142792),push:e.r(892582),pushRotate:e.r(636390),scaleDown:e.r(574781),scaleRotate:e.r(182630),fallDown:e.r(242560),reveal:e.r(348990)},t.exports=n.default},848676,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isNavigator=n.isBrowser=n.off=n.on=n.noop=void 0,n.noop=function(){},n.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)},n.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)},n.isBrowser="u">typeof window,n.isNavigator="u">typeof navigator},490123,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=e.r(271645),r=e.r(848676);n.default=function(e,t){var n=a.useState(void 0!==t?t:!!r.isBrowser&&window.matchMedia(e).matches),i=n[0],o=n[1];return a.useEffect(function(){var t=!0,n=window.matchMedia(e),a=function(){t&&o(!!n.matches)};return n.addEventListener("change",a),o(n.matches),function(){t=!1,n.removeEventListener("change",a)}},[e]),i}},50704,4667,572424,353839,245992,e=>{"use strict";var t,n,a,r,i,o=e.i(843476),l=e.i(953195),s=e.i(271645),c=e.i(997053);e.i(21076);var d=e.i(633157),u=e.i(505080),p=e.i(367371),h=e.i(386930),f=e.i(971615),m=((t={}).CTA="CTA",t.IMAGE="menu__image",t.MENUITEM="menu__option__item",t),x=((n={}).BOTH="both",n.MOBILE_ONLY="mobile-only",n.DESKTOP_ONLY="desktop-only",n);function v(e){return[x.BOTH,x.DESKTOP_ONLY].includes(e)}var b=e.i(537581);function y({className:e,children:t,tagName:n,roleName:a}){return(0,o.jsx)(_,{as:n,className:["accordion",e].join(" "),role:a,children:t})}let _=c.default.div.withConfig({displayName:"Accordion__AccordionWrapper",componentId:"sc-f0b01d6e-0"})` 2 &.accordion { 3 text-align: center; 4 margin: 0; 5 } 6 7 &.accordion.nav-right__inner-accordion { 8 padding: 0 20px; 9 } 10`;function w({title:e,className:t}){return(0,o.jsxs)("svg",{className:(0,d.cx)("vortex__content-icon",t),width:"16",height:"23",viewBox:"0 0 16 23",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("title",{children:e}),(0,o.jsx)("path",{d:"M7.469 1.036c1.429-.255 2.882-.059 3.833 1.12.813 1.006 1.035 2.576 1.148 3.815.114 1.24.054 2.597-.58 3.71-.279.49-.69.87-1.15 1.2.401.11.819.195 1.187.379 1.04.52 1.802 1.223 2.192 2.285.44 1.202.608 2.506.722 3.772.081.9.42 2.337-.122 3.15-.272.41-.767.562-1.199.768-.615.293-1.21.588-1.869.783-1.24.366-2.762.48-4.052.39-1.902-.131-4.97-.624-6.33-2.055-.137-.08-.249-.287-.249-.624 0-1.733.124-3.35.553-5.036.341-1.34 1.024-2.744 2.396-3.393.507-.24 1.067-.369 1.595-.564-.11-.073-.2-.136-.226-.155-1.03-.762-1.429-2.465-1.574-3.648-.179-1.458-.179-2.87.622-4.144.688-1.095 1.845-1.529 3.103-1.753zm2.762 1.891c-1.228-.82-3.136-.497-4.378.143C4.13 3.96 4.22 6.203 4.76 7.786c.155.453.39 1.083.764 1.412.213.188.512.278.742.444.318.229.52.5.588.892.19 1.1-.593 1.46-1.476 1.77-1.433.502-2.52.988-2.958 2.538-.414 1.467-.564 2.864-.591 4.355 1.212 1.135 3.817 1.533 5.368 1.689 2.213.221 4.306-.281 6.274-1.227.543-.261.53-.485.529-1.054 0-.588-.066-1.176-.137-1.759-.134-1.092-.471-2.537-1.21-3.424-.906-1.088-2.482-.841-3.43-1.773-.42.126-.86.153-1.304-.002-.457-.16-.348-1.601.198-1.41.613.214 1.271-.071 1.828-.415.881-.58 1.57-1.244 1.68-2.433.128-1.402-.13-3.617-1.394-4.462z",fill:"
10currentColor",stroke:"currentColor",strokeWidth:".3",fillRule:"evenodd"})]})}function C({title:e,className:t}){return(0,o.jsxs)("svg",{className:(0,d.cx)("profile-cta__icon",t),viewBox:"0 0 10 15",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("title",{children:e}),(0,o.jsx)("path",{d:"M8.903 8.349C8.654 7.669 8.357 7.195 7.67 7c-.5-.141-1.83.038-1.398-.356.294-.211 1.027-.454 1.206-.768.406-.712.444-1.581.371-2.374-.072-.793-.214-1.798-.735-2.443C6.504.305 5.575.18 4.66.343c-.805.144-1.546.421-1.986 1.122-.512.816-.512 1.719-.398 2.652.093.757.322 1.73.982 2.217.016.012.307.157.307.31 0 .356-.66.087-1.148.356-.865.476-1.325 1.225-1.543 2.083-.275 1.08-.354 2.114-.354 3.223 0 .216.071.349.16.4.87.916 2.833 1.231 4.05 1.315.826.058 1.8-.015 2.594-.25.422-.124.802-.313 1.196-.5.276-.133.593-.23.768-.492.346-.52.13-1.44.077-2.016-.072-.81-.18-1.645-.462-2.414z",fill:"#1E647D",stroke:"#1E647D",strokeWidth:".3",fillRule:"evenodd"})]})}let N=(0,o.jsx)("svg",{className:"cross-icon",width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:(0,o.jsx)("path",{d:"M19.476.159c-.401-.34-1.96-.098-2.35.364l-6.42 7.59a307.367 307.367 0 0 0-5.45-6.858c-.24-.29-.702-.285-1.05-.227-.481.08-1.26.365-1.434.828a.51.51 0 0 0 .09.52 309.104 309.104 0 0 1 6.14 7.75c-1.38 1.608-2.783 2.93-4.142 4.21-1.414 1.332-2.876 2.71-4.319 4.415-.165.196-.155.36-.118.465.057.161.21.265.45.308.091.016.2.025.32.025.58 0 1.413-.19 1.7-.528 1.247-1.474 2.52-2.631 3.751-3.75 1.175-1.067 2.386-2.168 3.587-3.551.994 1.277 1.984 2.32 2.943 3.329 1.204 1.268 2.342 2.466 3.484 4.088.155.22.461.318.894.277.52-.047 1.353-.328 1.575-.807a.544.544 0 0 0-.052-.56c-1.287-1.828-2.622-3.26-3.913-4.646-1.052-1.13-2.139-2.296-3.224-3.695l7.54-8.913c.23-.272.142-.512-.002-.634",fill:"var(--color-teal-600)",fillRule:"evenodd"})}),k=e=>(0,o.jsxs)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,o.jsx)("title",{children:e}),(0,o.jsx)("path",{d:"M8.518.071c.94-.064 1.904.063 2.81.32.908.256 1.786.65 2.597 1.133.81.482 1.607 1.056 2.259 1.742a5.499 5.499 0 0 1 1.378 2.483c.214.881.23 1.8.116 2.697a14.36 14.36 0 0 1-.638 2.74 10.07 10.07 0 0 1-.841 1.915l.156.148c1.198 1.135 2.374 2.292 3.484 3.514a79.834 79.834 0 0 1 1.545 1.758c.64.747 1.296 1.485 1.91 2.254.374.47.747 1.039.702 1.67-.046.652-.421 1.288-1.071 1.496-.361.116-.724.05-1.06-.105-.274-.127-.506-.343-.742-.528a40.957 40.957 0 0 1-1.15-.934 32.549 32.549 0 0 1-3.231-3.168c-1.17-1.303-2.333-2.605-3.57-3.846l.31.319a7.468 7.468 0 0 1-2.1.732c-.254.047-.51.077-.766.11l-.13.016.047-.007-.044.007-.037.005h-.013.017l.016-.003-.02.003-.018.003a12.838 12.838 0 0 0-.773.137c-.42.085-.836.063-1.261.051-.418-.011-.727-.334-.745-.75-.018-.397.355-.76.745-.75.24.007.48.017.72.013.062-.002.123-.008.184-.011l-.061.004.016-.003.239-.048.24-.044c.216-.036.434-.065.651-.094l.338-.043.025-.004.032-.005.067-.01a6.926 6.926 0 0 0 1.386-.381c.043-.017.085-.037.128-.051l-.018.006.029-.012c.087-.04.173-.08.258-.123l.252-.133a6.569 6.569 0 0 0 .728-.468l.02-.016.026-.021.054-.042c.298-.246.573-.52.818-.82l.057-.07-.008.008-.027.037.01-.012c.026-.032.06-.075.025-.034l-.006.007.04-.055.02-.025a.685.685 0 0 1 .069-.09l-.061.078a6.367 6.367 0 0 0 .612-1.083l.065-.148-.002.003-.005.014.007-.014.016-.039-.014.029.005-.012c.043-.109.085-.218.125-.327l.117-.33c.136-.401.26-.808.365-1.219.105-.412.192-.83.252-1.25l-.003.026a.446.446 0 0 0 .001-.01l.002-.017.001-.007.002-.015V8.37l.001-.008.016-.139.014-.148.012-.148c.014-.205.021-.41.02-.615a6.56 6.56 0 0 0-.033-.606l-.006-.046-.003-.03-.003-.02.003.015.002.019-.003-.03-.004-.033v.014a4.612 4.612 0 0 0-.061-.33 4.976 4.976 0 0 0-.17-.597c-.018-.053-.038-.105-.058-.157v.002c.05.109-.022-.066-.013-.036l.012.033-.06-.128-.064-.13a4.429 4.429 0 0 0-.35-.557l-.012-.017-.01-.012-.002-.004-.025-.03-.048-.058a6.882 6.882 0 0 0-.683-.688 8.708 8.708 0 0 0-.255-.215l-.12-.096.04.032-.007-.005-.015-.01-.03-.025a11.434 11.434 0 0 0-2.23-1.331l-.093-.042.027.012a.412.412 0 0 0-.033-.015l-.008-.003.013.006-.01-.003-.055-.023-.017-.007a9.469 9.469 0 0 0-.896-.31 8.604 8.604 0 0 0-.967-.22l-.15-.024.044.007-.01-.001-.037-.005a7.257 7.257 0 0 0-1.597-.014c-.048.005-.097.014-.146.017l.036-.005-.03.005a6.907 6.907 0 0 0-.307.056l-.305.069a7.307 7.307 0 0 0-1.005.33l-.013.004-.258.126-.272.13a8.704 8.704 0 0 0-1.051.65c-.086.061-.17.125-.254.188l.037-.028-.01.009-.03.022-.113.092a10.059 10.059 0 0 0-1.314 1.309c-.068.081-.13.173-.202.25l-.092.126A9.078 9.078 0 0 0 2 6.573l-.004.008-.007.017-.027.069-.027.069a7.08 7.08 0 0 0-.395 1.478l-.002.005-.001.015-.003.023.002-.024-.003.024a.767.767 0 0 0-.001.014v-.003l-.01.094c-.005.053-.01.106-.013.158l-.01.159c-.01.204-.01.41.001.613.004.069.013.137.017.206l-.004-.041-.007-.043c-.023-.13.014.132.011.084l-.003-.034.008.039c.011.064.025.128.04.191l.05.19c.04.14.088.277.14.412l.045.114-.011-.027.034.077.046.099c.135.287.288.565.454.835.18.29.374.571.58.844l-.012-.015-.019-.024c-.02-.024.014.02.034.046l.011.014-.015-.021.034.042.038.048.155.19a10.421 10.421 0 0 0 1.43 1.416h-.001l-.017-.012c-.053-.04.043.034.07.055l-.021-.018.04.03.089.065.09.064c.239.167.488.32.751.447l.102.047-.02-.01.042.017.085.032c.114.04.23.073.347.099.408.088.606.545.52.922-.092.41-.536.606-.916.524a4.111 4.111 0 0 1-.883-.322c-.612-.29-1.165-.716-1.67-1.165a11.748 11.748 0 0 1-1.527-1.681 9.476 9.476 0 0 1-1.08-1.762c-.288-.621-.505-1.26-.545-1.95-.106-1.826.581-3.665 1.637-5.129C2.702 2.726 4.118 1.477 5.777.76A8.264 8.264 0 0 1 8.517.07zm6.789 14.234a6.547 6.547 0 0 1-.562.53l.042.043c.558.573 1.1 1.16 1.636 1.752l1.605 1.782a31.402 31.402 0 0 0 3.175 3.06c.376.312.759.618 1.145.918l-.02-.015-.009-.006c-.011-.006.13.1.029.02l-.017-.012.004.002.058.042c.045.032.092.062.14.089l-.05-.03.003-.004.002-.005.003-.01.014-.043.002-.012v-.034l-.01-.024-.007-.032.005.01
107.012.035v-.042c0-.036-.011-.044-.015-.03l-.002.018-.01-.048-.014-.06-.002-.01-.076-.139-.09-.144a3.095 3.095 0 0 0-.087-.123l-.02-.027.027.037.009.013-.007-.01-.062-.076-.012-.015-.238-.282-.495-.585c-1.016-1.2-2.032-2.401-3.106-3.55-1.15-1.231-2.367-2.398-3.595-3.55zm-3.99-3.229-.027.042a8.042 8.042 0 0 0 .042-.063l.03-.044a4.388 4.388 0 0 0 .329-.609l.071-.171-.029.08.015-.04.016-.041-.007.017-.009.02.014-.036c.046-.13.087-.261.122-.394l.05-.2c.023-.105.044-.211.06-.317.009-.05.015-.1.023-.15l-.006.037-.002.017-.004.043c0 .008.012-.088.015-.112l-.003.016-.003.01a5.623 5.623 0 0 0 0-1.1h-.001l.002.011.004.024-.004-.042c-.004-.03-.008-.059-.006-.035l.003.034-.03-.186a5.726 5.726 0 0 0-.038-.204l-.048-.202a5.163 5.163 0 0 0-.137-.448l-.005-.012-.074-.172a4.985 4.985 0 0 0-.087-.183l-.096-.18a4.28 4.28 0 0 0-.164-.268l.001.001c.056.074-.088-.13-.037-.052l.018.026.007.01-.032-.042-.044-.058c-.254-.326-.273-.756 0-1.08.24-.288.748-.306.986 0 .371.474.645.985.858 1.564.691 1.88.336 4.142-.864 5.673-.254.323-.726.262-.987 0-.292-.294-.237-.778 0-1.08l.07-.096.016-.02-.007.012z",fill:"var(--color-white-100)",fillRule:"evenodd"})]}),j=(0,o.jsx)("svg",{width:"13",height:"12",viewBox:"0 0 13 12",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M6.804 1.917c-.036-.054-.107-.118-.244-.117a.63.63 0 0 0-.157.025c-.295.081-.653.347-.743.489C3.61 5.538 2.69 6.924.224 9.856c-.09.107-.12.187-.096.25.013.032.043.073.122.086.237.039 1.03-.06 1.193-.254 1.973-2.347 2.501-3.14 4.274-5.782l.453-.648.515.758.235.332c1.27 1.846 2.6 3.675 3.955 5.437.043.056.133.12.313.098.338-.042.8-.348.908-.597.046-.107.017-.179-.015-.22a128.017 128.017 0 0 1-5.277-7.4",fill:"var(--color-teal-600)",fillRule:"evenodd"})});var A=e.i(880917);function T({title:e,className:t,customHeader:n,children:a,onHover:r,analytics:i,redirectionData:l,deviceType:c,roleName:u,menuId:p,onToggle:f,open:m,panelClassName:x,panelItemClassName:v}){let b=s.default.useContext(h.UIContext),y=!!b?.rtl,_=c?`-${c}`:"",w=e?`${e?.toLowerCase().replace(/\s/g,"")}-section${_}`:"",C=e?`${e?.toLowerCase().replace(/\s/g,"")}-panel${_}`:"",N=e=>{l?.shouldRedirect&&e&&!["N/A"].includes(l?.url)?window.open(l?.url||"",l?.target?"_blank":"_self"):f&&f()},k=(e,t)=>{("Space"===e.code||"Enter"===e.code)&&t&&(e.preventDefault(),r?N(!1):N(!0)),"Escape"===e.code&&(e.preventDefault(),N())};return(0,o.jsxs)(I,{rtl:y,className:["panel",t].join(" "),onMouseEnter:()=>r&&f(!0),onMouseLeave:()=>r&&f(!1),role:u,"data-menuid":p,children:[(0,o.jsx)("div",{className:"panel__header",children:n||(0,o.jsx)("div",{className:"panel__header-heading",children:(0,o.jsxs)(A.NativeButton,{ariaLabel:e||"",onClick:()=>N(!0),onKeyDown:e=>k(e,!0),type:"button",id:w,className:`panel__header-button ${i?.eventAction}`,dataActionDetail:i?.eventLabel,dataEventCategory:i?.eventCategory,ariaExpanded:m,ariaControls:C,children:[(0,o.jsx)("span",{className:`arrow ${m?"toggle":""}`,children:j}),(0,o.jsx)("span",{className:"accordion-title",children:e})]})})}),(0,o.jsx)("div",{onKeyDown:e=>k(e,!1),className:(0,d.cx)("panel__collapse",m&&"collapse2",x),role:"region","aria-labelledby":w,id:C,children:(0,o.jsx)("div",{className:(0,d.cx)("panel__collapse-item",v),children:a})})]})}let S=c.css` 11 .panel__header-heading { 12 padding-left: 11px; 13 } 14 15 .accordion-title { 16 padding-left: 26px; 17 } 18 19 .get-app-cta { 20 margin-right: 16px; 21 } 22`,E=c.css` 23 .panel__header-heading { 24 padding-right: 11px; 25 } 26 27 .accordion-title { 28 padding-right: 26px; 29 } 30 31 .get-app-cta { 32 margin-left: 16px; 33 } 34`,L=c.css` 35 &.panel { 36 display: flex; 37 flex: 1 1 100%; 38 flex-direction: column; 39 40 height: 100%; 41 background: transparent; 42 43 .panel__header-heading { 44 margin-bottom: 16px; 45 } 46 47 .accordion-title { 48 font-size: calc(19px + var(--zoom)); 49 font-family: var(--legacy-font-primary-semi-bold); 50 color: var(--color-navyblue-800); 51 font-weight: 600; 52 margin: 0; 53 } 54 55 .arrow { 56 height: inherit; 57 position: absolute; 58 top: 50%; 59 transform: translateY(-50%) rotate(180deg); 60 transition: all 0.25s ease 0s; 61 } 62 .toggle { 63 transform: translateY(-50%) rotate(0deg); 64 } 65 66 .panel__header { 67 flex: 1 1 auto; 68 min-height: 100%; 69 cursor: pointer; 70 71 .panel__header-button { 72 position: relative; 73 display: flex; 74 outline: revert; 75 } 76 77 .panel__header-heading { 78 display: flex; 79 } 80 } 81 82 .panel__collapse { 83 display: none; 84 } 85 86 .collapse2 { 87 display: block; 88 z-index: 9999; 89 } 90 91 .panel__collapse-item { 92 position: relative; 93 width: 100%; 94 font-size: calc(16px + var(--zoom)); 95 color: var(--color-navyblue-800); 96 font-weight: normal; 97 background-color: var(--color-white-100); 98 z-index: 9999; 99 } 100 101 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 102 .panel__header:hover { 103 text-decoration: underline; 104 text-decoration-color: var(--color-white-100); 105 text-decoration-thickness: 6px; 106 text-underline-offset: 30px; 107 } 108 } 109 } 110`,I=c.default.div.withConfig({displayName:"AccordionPanel__StyledWrapper",componentId:"sc-7410acfb-0"})` 111 ${L} 112 ${e=>e.rtl?E:S} 113`;var F=e.i(890264),B=((a={}).CTA="CTA",a.IMAGE="menu__image",a.MENUITEM="menu__option__item",a);(r={}).BOTH="both",r.MOBILE_ONLY="mobile-only",r.DESKTOP_ONLY="desktop-only";var O=((i={}).MOBILE="mobile",i.DESKTOP="desktop",i);let M={key:"profile"},$={key:"login"},P={key:"shop-now"},z={key:"search"};var D=e.i(448301);function R({className:e,linkObj:t,labelObj:n,image:a,icon:r,lazyload:i=!0,analytics:l,menuId:c}
113){let u,p=(0,s.useContext)(h.UIContext),f=!!p?.rtl;switch(t.type){case B.CTA:case B.MENUITEM:u=(n?.title||t.title)&&(0,o.jsx)(H,{menuId:c,linkObj:t,analytics:l,labelObj:n});break;case B.IMAGE:u=a&&(0,o.jsx)(W,{image:a,lazyload:i,icon:r});break;default:u=null}return(0,o.jsx)(G,{className:(0,d.cx)("type",e),rtl:f,"data-cy":"type","data-menuid":c,children:u})}function H({menuId:e,linkObj:t,analytics:n,labelObj:a}){return(0,o.jsx)("div",{"data-menuid":e,className:[t.type===B.CTA?"type__cta":"type__item"].join(" "),"aria-label":t.title,children:(0,o.jsxs)(D.NativeLink,{ariaHidden:!0,href:t.url,rel:"noopener noreferrer",target:t.openInNewWindow?"_blank":"_self",className:`${n?.eventAction}`,dataActionDetail:`${n?.eventLabel}${t?.title}`,dataEventCategory:n?.eventCategory,children:[a?.displayLabelText&&(0,o.jsx)("span",{className:(0,d.cx)("type__label-text",a?.className),children:a?.title}),t?.title&&(0,o.jsx)("span",{children:t?.title})]})})}function W({image:e,lazyload:t,icon:n}){return(0,o.jsxs)("div",{className:"type__image-container",children:[e?.url&&(0,o.jsx)(F.CfImage,{lazyLoaded:t,asset:e,className:"type__isImage",alt:e?.title||""}),n?.url&&(0,o.jsx)(F.CfImage,{lazyLoaded:t,asset:n,className:"type__isIcon",alt:n?.title||""})]})}let q=c.css` 114 .type__cta { 115 padding-right: 23px; 116 padding-left: 22px; 117 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 118 padding-right: 22px; 119 padding-left: 23px; 120 } 121 } 122 123 .type__label-text { 124 margin-right: 7px; 125 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 126 margin-right: 8px; 127 } 128 } 129 130 .type__isIcon { 131 margin-left: 2px; 132 } 133 134 .type__isImage { 135 padding-left: 1px; 136 } 137`,V=c.css` 138 .type__cta { 139 padding-left: 23px; 140 padding-right: 22px; 141 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 142 padding-left: 22px; 143 padding-right: 23px; 144 } 145 } 146 147 .type__label-text { 148 margin-left: 7px; 149 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 150 margin-left: 8px; 151 } 152 } 153 154 .type__isIcon { 155 margin-right: 2px; 156 } 157`,K=c.css` 158 &.type { 159 a { 160 color: inherit; 161 text-decoration: none; 162 cursor: pointer; 163 outline: revert; 164 } 165 166 .type__item { 167 font-size: calc(16px + var(--zoom)); 168 font-family: var(--font-primary); 169 letter-spacing: 0.06px; 170 line-height: normal; 171 padding-top: 9px; 172 padding-bottom: 11px; 173 color: var(--color-navyblue-800); 174 font-weight: normal; 175 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 176 :hover { 177 text-decoration: underline; 178 } 179 } 180 } 181 182 .type__label-text { 183 font-size: calc(11px + var(--zoom)); 184 font-weight: 500; 185 line-height: 1; 186 padding: 0 5px; 187 padding-top: 4px; 188 padding-bottom: 1px; 189 border: 1px solid transparent; 190 border-radius: 2px; 191 text-transform: uppercase; 192 position: relative; 193 top: -1px; 194 } 195 196 .type__cta { 197 font-size: calc(19px + var(--zoom)); 198 font-weight: normal; 199 font-stretch: normal; 200 font-style: normal; 201 line-height: normal; 202 letter-spacing: 0.07px; 203 color: var(--color-red-400); 204 cursor: pointer; 205 font-family: var(--legacy-font-primary-semi-bold); 206 border: solid 2px var(--color-red-400); 207 display: inline-block; 208 border-radius: 24.5px; 209 padding-top: 1px; 210 padding-bottom: 2px; 211 margin-top: 11px; 212 margin-bottom: 10px; 213 :hover { 214 color: var(--color-white-100); 215 background-color: var(--color-red-400); 216 } 217 :focus-within { 218 color: var(--color-white-100); 219 background-color: var(--color-red-400); 220 } 221 } 222 223 .type__image-container { 224 padding-top: 7px; 225 display: flex; 226 align-items: center; 227 } 228 229 .type__isImage { 230 width: 90px; 231 height: 90px; 232 } 233 234 .type__isIcon { 235 margin-bottom: 2px; 236 } 237 } 238`,G=c.default.div.withConfig({displayName:"AccordionPanelItem__StyledWrapper",componentId:"sc-8c947b50-0"})` 239 ${K} 240 ${e=>e.rtl?V:q} 241`;var U=e.i(276074);let Y=({src:e,className:t,alt:n})=>(0,o.jsx)(U.NextImage,{className:["type__isIcon",t].join(" "),src:e,alt:n,height:"63",width:"110"});function X({className:e,image:t,url:n,analytics:a,componentID:r,ariaLabel:i}){let l=s.default.useContext(h.UIContext),c=!!l?.rtl;return(0,o.jsx)(Q,{rtl:c,className:["logo-container",e].join(" "),"data-cy":"logo-container",children:(0,o.jsx)(D.NativeLink,{id:r||"",href:n,className:a?.eventAction,dataActionDetail:a?.eventLabel,dataEventCategory:a?.eventCategory,ariaLabel:i||t?.title,children:(0,o.jsx)("div",{"aria-hidden":!0,
241className:"logo__container",children:(0,o.jsx)(Y,{src:t?.url,className:"logo__container-image",alt:t?.title||""})})})})}let Z=c.css` 242 &.logo-container { 243 height: 100%; 244 245 a { 246 all: unset; 247 outline: revert; 248 249 h1 { 250 margin: 0; 251 } 252 } 253 .logo__container { 254 margin-top: 6px; 255 256 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 257 margin-top: 16px; 258 } 259 } 260 .logo__container-image { 261 max-width: none; 262 width: 84px; 263 height: 40px; 264 } 265 } 266`,Q=c.default.div.withConfig({displayName:"LogoContainer__StyledWrapper",componentId:"sc-2c56cf42-0"})` 267 ${Z} 268`;var J=e.i(877450),ee=e.i(871750);let et=(0,d.cx)("whitespace-nowrap text-navyblue-800 bg-teal-200 mb-4","hover:bg-white hover:px-6 mx-6 hover:mx-4","transition-all duration-1000 ease-in-out");function en({isLogged:e,profileLink:t,sharedCollection:n,vortexScenario:a,signup:r,analytics:i}){return(0,o.jsx)("div",{className:"panel__header-item",children:e?(0,o.jsx)(ee.ActionButton,{className:et,onClick:t?()=>{window.location.href=t}:void 0,type:"button",leadingIcon:(0,o.jsx)(C,{title:n.profileIconTitle,className:"w-3 me-2"}),size:"md",children:(0,o.jsx)("span",{className:"profile-cta__text",children:n?.profile})}):!!a&&(0,o.jsx)(J.VortexLink,{title:a?.title||"",label:a?.title||"",formId:a?.formId,formType:a?.flowName||"",url:r?.url||"",vortex:a,className:(0,d.cx)(i?.ctaAnalytics?.vortexDesktop?.eventAction||"event_profile_register",et),eventLabel:i?.ctaAnalytics?.vortexDesktop?.eventLabel,eventCategory:i?.ctaAnalytics?.vortexDesktop?.eventCategory||void 0,leadingIcon:(0,o.jsx)(w,{title:n.profileIconTitle,className:"w-3"}),size:"md",children:(0,o.jsx)("div",{className:"vortex__content text-base",children:(0,o.jsx)("span",{className:"vortex__content-label",children:r?.labelText||""})})})})}function ea({section:e,lazyload:t}){let n=!!e.items&&e.items.some(e=>v(e.displayRule)),a=e.items.filter(e=>v(e.displayRule));return(0,o.jsxs)("div",{className:"panel__item",children:[n&&(0,o.jsx)("p",{className:"panel__item-title",children:e?.title||""}),a.map((e,n)=>(0,o.jsx)(R,{linkObj:{title:e.title,type:e.type,url:e.url||"",openInNewWindow:e.openLink||!1},labelObj:{title:e.labelText,className:e.labelStyle||"teal",displayLabelText:e.displayLabelText},image:e.image,icon:e.icon?.image,lazyload:t,analytics:e.analytics?.desktop,menuId:e.menuId},n))]})}var er=e.i(833514);let ei=(0,c.default)(er.NextLink).withConfig({displayName:"HeaderDesktop.styles__CartLink",componentId:"sc-4fac86fc-0"})` 269 color: var(--color-white-100); 270 padding-top: 0.75rem; 271 272 svg { 273 width: 1.5rem; 274 height: 1.5rem; 275 } 276`,eo=c.default.div.withConfig({displayName:"HeaderDesktop.styles__Overlay",componentId:"sc-4fac86fc-1"})` 277 display: none; 278 &.overlay { 279 display: block; 280 position: absolute; 281 width: 100%; 282 height: 100vh; 283 background-color: rgba(0, 0, 0, 0.5); 284 left: 0; 285 z-index: 9998; 286 } 287`,el=c.css` 288 &.nav-desktop { 289 .panel__header .profile-cta { 290 margin-right: 24px; 291 } 292 } 293 .logo-container { 294 margin-left: 2px; 295 296 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 297 margin-left: 9px; 298 } 299 } 300 301 .search-activated { 302 margin-right: 9px; 303 } 304 .panel .panel__header { 305 .search-cta svg { 306 right: 16px; 307 } 308 } 309 .search-cta span { 310 left: 15px; 311 } 312 .panel { 313 padding-top: 1px; 314 margin-left: 40px; 315 } 316 .panel-right { 317 margin-left: 112px; 318 319 &.logged__out { 320 margin-left: 0; 321 } 322 } 323 .profile-cta span { 324 left: 19px; 325 } 326 .profile-cta svg { 327 left: 15px; 328 } 329 .panel__item { 330 margin-right: 32px; 331 text-align: left; 332 } 333 .panel__collapse-item { 334 padding-left: 130px; 335 } 336 .short-desciption__text { 337 text-align: left; 338 margin-right: 69px; 339 } 340 .accordion { 341 margin-left: 0; 342 } 343 344 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) and (max-width: ${l.DESKTOP_BREAKPOINT}px) { 345 .panel__collapse-item { 346 padding-left: 65px; 347 } 348 } 349 350 .profile-collapse .panel-right { 351 .panel__collapse .collapse2 { 352 left: 0; 353 } 354 .panel__collapse .panel__collapse-item { 355 padding-left: 45px; 356 padding-right: 45px; 357 text-align: left; 358 } 359 } 360 .profile-collapse { 361 .collapse2 { 362 left: 0; 363 } 364 .panel__collapse-item { 365 padding-left: 39px; 366 padding-right: 0px; 367 text-align: left; 368 } 369 } 370 371 .panel__item-content-added { 372 text-align: left; 373 } 374 375 &.accesible-variant.nav-desktop { 376 .profile-cta { 377 justify-content: center; 378 .profile-cta__icon { 379 left: -5px; 380 } 381 .profile-cta__text { 382 left: 0px; 383 } 384 } 385 } 386`,es=c.css` 387 &.nav-desktop { 388 .panel__header .profile-cta { 389 margin-left: 24px; 390 } 391 .profile-collapse .panel__header .profile-cta { 392 min-width: 150px; 393 } 394 } 395 .logo-container { 396 margin-right: 2px; 397 } 398 399 .search-activated { 400 margin-left: 8px; 401 } 402 .panel .panel__header { 403 .search-cta svg { 404 right: 16px; 405 } 406 } 407 .search-cta span { 408 right: 15px; 409 } 410 .panel { 411 margin-right: 40px; 412 } 413 .panel-right { 414 margin-right: 112px; 415 416 &.logged__out { 417 margin-right: 0; 418 } 419 } 420 .profile-cta span { 421 right: 19px; 422 } 423 .profile-cta svg { 424 right: 15px; 425 } 426 .panel__item { 427 margin-left: 32px; 428 text-align: right; 429 } 430 .panel__collapse-item { 431 padding-right: 130px; 432 } 433 .short-desciption__text { 434 text-align: right; 435 margin-left: 69px; 436 } 437 .accordion { 438 margin-right: 0; 439 } 440 441 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) and (max-width: ${l.DESKTOP_BREAKPOINT}px) { 442 .panel__collapse-item { 443 padding-right: 65px; 444 } 445 } 446 .profile-collapse .panel-right { 447 .panel__collapse .collapse2 { 448 right: 0; 449 } 450 .panel__collapse .panel__collapse-item { 451 padding-left: 45px; 452 padding-right: 45px; 453 text-align: right; 454 } 455 } 456 .profile-collapse { 457 .collapse2 { 458 right: 0; 459 } 460 .panel__collapse-item { 461 padding-right: 39px; 462 padding-left: 0px; 463 text-align: right; 464 } 465 } 466 467 .panel__item-content-added { 468 text-align: right; 469 } 470`,ec=c.css` 471 &.nav-desktop { 472 display: flex; 473 justify-content: center; 474 height: 100%; 475 476 .panel__item-content-added { 477 margin-top: 41px; 478 display: flex; 479 flex-direction: column; 480 max-height: 167px; 481 flex-wrap: wrap; 482 .type { 483 min-width: 300px; 484 } 485 } 486 487 .nav-desktop__container { 488 display: flex; 489 width: 100%; 490 max-width: 1200px; 491 } 492 .logo-container {
493 margin-top: 1px; 494 cursor: pointer; 495 } 496 .panel__header { 497 .arrow svg { 498 display: none; 499 } 500 } 501 .accordion-title { 502 white-space: nowrap; 503 padding: 0; 504 font-size: calc(19px + var(--zoom)); 505 font-family: var(--legacy-font-primary-semi-bold); 506 color: var(--color-white-100); 507 font-weight: bold; 508 } 509 .accordion { 510 padding-top: 13px; 511 flex: 1 1 auto; 512 height: 100%; 513 justify-content: flex-end; 514 } 515 .desktop-panel-collapse { 516 display: flex; 517 background-color: var(--color-white-100); 518 } 519 .panel__collapse-item .short-desciption__text { 520 display: block; 521 color: var(--color-teal-600); 522 font-family: var(--legacy-font-primary-semi-bold); 523 font-size: calc(30px + var(--zoom)); 524 max-width: 300px; 525 min-width: 300px; 526 line-height: 1.2; 527 letter-spacing: 0.06px; 528 } 529 .panel { 530 flex: unset; 531 } 532 .panel__header-search { 533 .search-cta svg { 534 width: 24px; 535 height: 24px; 536 position: relative; 537 top: 12px; 538 } 539 .search-cta span { 540 position: relative; 541 top: 8px; 542 } 543 button { 544 outline: revert; 545 height: 100%; 546 display: flex; 547 border: none; 548 background-color: var(--color-teal-600); 549 padding: 1px 6px; 550 } 551 } 552 553 .panel__header-cart { 554 .cart-cta svg { 555 width: 24px; 556 height: 24px; 557 position: relative; 558 top: 12px; 559 } 560 561 .cart-cta { 562 position: relative; 563 outline: revert; 564 display: flex; 565 border: none; 566 background-color: var(--color-teal-600); 567 padding: 1px 6px; 568 } 569 570 .cart-cta span { 571 width: 100%; 572 padding: 0 3px; 573 } 574 575 .cart-counter { 576 display: flex; 577 position: absolute; 578 align-items: center; 579 justify-content: center; 580 font-family: var(--font-primary); 581 color: var(--color-teal-600); 582 background-color: var(--color-white-100); 583 border-radius: 50px; 584 width: min-content; 585 height: 12px; 586 font-size: calc(9px + var(--zoom)); 587 font-weight: 700; 588 min-width: 12px; 589 left: 23px; 590 top: 10px; 591 outline: 2px solid var(--color-teal-600); 592 } 593 } 594 595 .getApp-cta { 596 display: none; 597 } 598 599 .profile-cta__content { 600 width: 100%; 601 display: flex; 602 justify-content: center; 603 align-items: center; 604 border-radius: 20px; 605 background-color: var(--color-teal-200); 606 } 607 608 .profile-cta { 609 transition: all 0.1s ease-in-out; 610 display: flex; 611 font-family: var(--legacy-font-primary-semi-bold); 612 min-width: 128px; 613 min-height: 40px; 614 border-radius: 20px; 615 bottom: 10px; 616 margin-top: 6px; 617 outline: revert; 618 background-color: transparent; 619 position: relative; 620 621 span { 622 display: flex; 623 position: relative; 624 top: 10px; 625 color: var(--color-navyblue-800); 626 height: 100%; 627 } 628 629 svg { 630 position: relative; 631 top: 12px; 632 } 633 634 :hover { 635 background-color: var(--color-teal-200); 636 } 637 } 638 .profile-cta::before { 639 content: ""; 640 position: absolute; 641 left: 50%; 642 top: 50%; 643 transform: translate3d(-50%, -50%, 0px); 644 border-radius: 20px; 645 background-color: var(--color-teal-200); 646 width: 100%; 647 height: 100%; 648 transition: 1s all; 649 } 650 .profile-cta:hover::before { 651 width: calc(100% + 10px); 652 border-radius: 24px; 653 background-color: var(--color-white-100); 654 } 655 .profile-cta svg, 656 .profile-cta span { 657 z-index: 1; 658 } 659 .panel__item { 660 max-width: 249px; 661 width: 249px; 662 margin-top: 6px; 663 .panel__item-title { 664 font-size: calc(16px + var(--zoom)); 665 color: var(--color-navyblue-800); 666 font-family: var(--legacy-font-primary-semi-bold); 667 font-weight: 600; 668 min-height: 1.5em; 669 } 670 } 671 672 .panel__collapse-item { 673 min-height: 300px; 674 padding-top: 45px; 675 z-index: 2; 676 } 677 678 .profile-collapse { 679 position: relative; 680 681 .panel__header-item { 682 width: min-content; 683 } 684 685 .panel__header:hover { 686 text-decoration: none; 687 } 688 689 .collapse2 { 690 position: absolute; 691 width: 240px; 692 min-height: unset; 693 display: flex; 694 top: 56px; 695 } 696 .panel__collapse-item { 697 font-size: calc(13px + var(--zoom)); 698 color: var(--color-grey-900); 699 text-transform: uppercase; 700 margin-top: 50px; 701 min-height: unset; 702 padding-top: 7px; 703 padding-bottom: 18px; 704 } 705 .panel__collapse-item:first-of-type { 706 margin-top: 0px; 707 } 708 .type { 709 .type__item:hover { 710 text-decoration: none; 711 } 712 } 713 a { 714 color: var(--color-grey-900); 715 font-size: calc(13px + var(--zoom)); 716 font-weight: 500; 717 } 718 .panel__collapse-item-profile button { 719 font-size: calc(13px + var(--zoom)); 720 font-weight: 500; 721 min-height: 27px; 722 width: 100%; 723 padding-top: 5px; 724 border-top: 1px solid grey; 725 cursor: pointer; 726 outline: revert; 727 } 728 } 729 730 &.accesible-variant.nav-desktop .panel__collapse .panel__collapse-item { 731 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 732 .panel__item-content-added .type__item, 733 .panel__item .type__item { 734 a { 735 background: 736 linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), 737 linear-gradient( 738 to right, 739 var(--color-teal-700), 740 var(--color-teal-700), 741 var(--color-teal-700) 742 ); 743 background-size: 744 100% 1px, 745 0 1px; 746 background-repeat: no-repeat; 747 text-decoration: none; 748 } 749 @keyframes header-redesigned-hyperlink-animation { 750 0% { 751 background-size: 752 100% 1px, 753 0 1px; 754 } 755 100% { 756 background-size: 757 0 1px, 758 100% 1px; 759 } 760 } 761 :hover, 762 :focus { 763 a { 764 background-size: 765 0 1px, 766 100% 1px; 767 background-repeat: no-repeat; 768 animation: header-redesigned-hyperlink-animation 1s; 769 } 770 text-decoration: none; 771 } 772 } 773 } 774 } 775 } 776`,ed=c.default.div.withConfig({displayName:"HeaderDesktop.styles__StyledWrapper",componentId:"sc-4fac86fc-2"})` 777 ${ec} 778 ${e=>e.rtl?es:el} 779 &.nav-desktop { 780 &.accesible-variant.nav-desktop .panel__collapse .panel__collapse-item { 781 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 782 .panel__item-content-added .type__item, 783 .panel__item .type__item { 784 a { 785 background-position: ${e=>e.rtl?"0 100%, 100% 100%":"100% 100%, 0 100%"}; 786 } 787 } 788 } 789 } 790 } 791`,eu=(0,s.memo)(({className:e,items:t,analytics:n,sharedCollection:a,isLogged:r,onLogoutHandler:i,search:l,onCartIconClick:c,lazyload:u,enableAccessibleFeatures:p=!1,overlay:f,mainToggle:m,onToggleHeader:x})=>
791{let _=s.default.useContext(h.UIContext),w=!!_?.rtl,C=t?.cta?.filter(e=>e?.title.toLowerCase()==="edit-profile")[0],N=t?.cta?.filter(e=>e?.title.toLowerCase()==="my rewards")[0],j=t?.cta?.filter(e=>e?.title.toLowerCase()==="registration")[0],S=t?.vortexScenario,E=t?.cta?.find(e=>"Edit-profile"===e.title)?.url,L="en-us"===_.localePage;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ed,{rtl:w,className:["nav-desktop",p?"accesible-variant":"",e].join(" "),"data-cy":"header-desktop",children:(0,o.jsxs)("div",{className:"nav-desktop__container",children:[(0,o.jsx)(X,{componentID:"to-home",className:"",image:t?.logo?.image,url:t.logo?.url,analytics:n?.logoAnalytics,isHeader:t?.enableH1Tag??!0,ariaLabel:a?.home}),(0,o.jsxs)(y,{roleName:"list",children:[t.navItems?.filter(e=>v(e.displayRule)).map((e,t)=>(0,o.jsx)(T,{roleName:"listitem",deviceType:O.DESKTOP,onHover:e.sections.length>0,title:e?.title||"",redirectionData:{shouldRedirect:!0,url:e?.url||"",target:e?.openLink||!1},analytics:e?.analytics,menuId:e?.menuId,onToggle:t=>x(e,t),open:m===e,children:(0,o.jsxs)("div",{className:"desktop-panel-collapse",children:[(0,o.jsx)("div",{className:"short-desciption__text",children:(0,o.jsx)("p",{children:e?.shortDescription||""})}),e.sections.map((e,t)=>(0,o.jsx)(ea,{section:e,lazyload:u},t))]})},t+1)),(0,o.jsx)("div",{role:"listitem",children:(0,o.jsx)(T,{onHover:r,className:`panel-right ${r?"logged__in":"logged__out"}`,sharedCollection:a,disableOverlay:!0,customHeader:(0,o.jsx)(en,{isLogged:r,profileLink:E,sharedCollection:a,vortexScenario:S,signup:j,analytics:n}),onToggle:e=>x(M,e),open:m===M,panelClassName:"relative",panelItemClassName:"p-0! w-60! right-5! left-auto! -top-2 min-h-0!",children:(0,o.jsxs)("div",{className:"panel-item-wrapper px-8 py-4 flex flex-col gap-2",children:[(0,o.jsx)("div",{className:"panel__collapse-item-profile border-b-gray-400 border-b text-left",children:(0,o.jsx)(R,{className:"uppercase [&_a]:text-[13px] [&_a]:text-gray-900!",linkObj:{title:C?.labelText,url:C?.url,openInNewWindow:!1,type:B.MENUITEM}})}),N&&(0,o.jsx)("div",{className:"panel__collapse-item-profile text-left",children:(0,o.jsx)(R,{className:"uppercase [&_a]:text-[13px] [&_a]:text-gray-900!",linkObj:{title:N?.labelText,url:N?.url,o
791penInNewWindow:!1,type:B.MENUITEM}})}),(0,o.jsx)("div",{className:"panel__collapse-item-profile text-left",children:(0,o.jsx)(A.NativeButton,{onClick:i,title:a?.logout,dataActionDetail:n?.ctaAnalytics?.logOut.eventLabel,dataEventCategory:n?.ctaAnalytics?.logOut?.eventCategory,className:(0,d.cx)("uppercase text-[13px] cursor-pointer text-gray-900",n?.ctaAnalytics?.logOut.eventAction),children:a?.logout})})]})})}),l?.isActivated&&(0,o.jsx)("div",{role:"listitem",className:(0,d.cx)("panel__header-search",l?.isActivated?"search-activated":""),children:(0,o.jsx)(A.NativeButton,{id:"to-search",ariaLabel:l?.title||"",type:"button",title:l?.title||"",className:`search-cta ${n?.searchAnalytics?.searchButton?.eventAction}`,onClick:l?.onClick,dataActionDetail:n?.searchAnalytics?.searchButton?.eventLabel,dataAnalyticsEventCategory:n?.searchAnalytics?.searchButton?.eventCategory,children:k(a?.searchText)})}),L&&(0,o.jsx)(ei,{"aria-label":"Cart",href:"/en-us/products",role:"listitem",onClick:c,prefetch:!1,children:(0,o.jsx)(b.CartIcon,{})})]})]})}),(0,o.jsx)(ep,{overlay:f})]})}),ep=(0,s.memo)(({overlay:e})=>(0,o.jsx)(eo,{className:(0,d.cx)(e&&"overlay")})),eh=c.css` 792 & { 793 .teal { 794 background-color: var(--color-teal-600); 795 color: var(--color-white-100); 796 } 797 798 .indigo { 799 background-color: var(--color-navyblue-800); 800 color: var(--color-white-100); 801 } 802 } 803`,ef=c.css` 804 .accordion { 805 margin-left: 0; 806 .panel__collapse-item { 807 left: 0; 808 } 809 } 810`,em=c.css` 811 .accordion-item { 812 margin-right: 12px; 813 margin-left: 17px; 814 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 815 margin-right: 129px; 816 margin-left: 27px; 817 } 818 } 819 820 .accordion { 821 margin-right: 0; 822 .panel__collapse-item { 823 right: 0; 824 } 825 } 826 827 .nav-accordion { 828 margin-left: 25px; 829 830 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 831 margin-right: 115px; 832 margin-left: 13px; 833 } 834 } 835 836 .header-cta-mobile { 837 padding-right: 17px; 838 } 839 .header-cta-mobile .header-cta__vortex { 840 margin-right: 14px; 841 } 842 843 .header-cta .vortex-link--secondary { 844 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 845 padding-left: 5px; 846 } 847 } 848 849 .angle-down { 850 right: 0; 851 } 852 853 .menu__option { 854 padding-right: 8px; 855 } 856 857 nav .logo__container { 858 margin-right: 10px; 859 @media (min-width: ${l.TABLET_BREAKPOINT}px) { 860 margin-right: 8px; 861 } 862 } 863 864 .submenu-close-button { 865 right: 0; 866 left: 0; 867 margin-right: auto; 868 margin-left: auto; 869 } 870`,eg=c.css` 871 transform: translateY(${({isVisible:e})=>e?"0":"-110%"}); 872 transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); 873 will-change: transform; 874`,ex=c.css` 875 &.header { 876 z-index: 1300; 877 background-color: var(--color-teal-600); 878 width: 100%; 879 height: ${({isMobile:e})=>e?"100%":"100px"}; 880 display: flex; 881 flex-direction: column; 882 position: sticky; 883 top: 0; 884 max-height: 100px; 885 886 ${eg} 887 888 @media (max-width: ${l.TABLET_BREAKPOINT}px) { 889 /* Safari style */ 890 /* DO NOT OVERWRITE */ 891 transform: translateZ(0); 892 -webkit-transform: translateZ(0); 893 } 894 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 895 max-height: 78px; 896 } 897 nav { 898 height: 100%; 899 .nav-mobile { 900 display: flex; 901 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 902 display: none; 903 } 904 } 905 .nav-desktop { 906 display: none; 907 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 908 display: flex; 909 } 910 } 911 .accordion { 912 display: flex; 913 flex: 1 1 auto; 914 height: 100%; 915 .panel__header { 916 height: 100%; 917 display: flex; 918 align-items: center; 919 } 920 921 .panel__collapse-item { 922 position: absolute; 923 width: 100%; 924 } 925 } 926 927 .panel-right { 928 .panel__header { 929 display: flex; 930 flex-direction: row; 931 } 932 } 933 } 934 } 935 &.floating { 936 top: 0; 937 position: fixed; 938 transition: transform 0.3s ease-in-out; 939 940 &.header--visible { 941 transform: translateY(0); 942 } 943 &.header--hidden { 944 transform: translateY(-100%); 945 } 946 } 947`,ev=c.default.header.withConfig({displayName:"HeaderRedesign.styles__StyledWrapper",componentId:"sc-f304c02a-0"})` 948 ${ex} 949 ${eh} 950 ${e=>e.rtl?em:ef} 951`;function eb(e){return!e||e===x.BOTH||e===x.MOBILE_ONLY}let ey=(0,c.default)(er.NextLink).withConfig({displayName:"HeaderMobile.styles__CartLink",componentId:"sc-7b354549-0"})` 952 color: var(--color-white-100) !important; 953 padding-bottom: 0.25rem !important; 954 display: inline-block !important; 955 956 svg { 957 width: 1.25rem !important; 958 height: 1.25rem !important; 959 } 960`,e_=c.default.div.withConfig({displayName:"HeaderMobile.styles__Overlay",componentId:"sc-7b354549-1"})` 961 display: none; 962 &.overlay { 963 display: block; 964 position: absolute; 965 width: 100%; 966 height: 100vh; 967 background-color: rgba(0, 0, 0, 0.5); 968 top: 100px; 969 left: 0; 970 z-index: 9998; 971 } 972`,ew=c.css` 973 &.nav-mobile { 974 .logo-container { 975 padding-left: 19px; 976 } 977 978 .panel__header-heading { 979 .accordion-title { 980 padding-right: 28px; 981 } 982 } 983 984 .nav-right__inner-accordion { 985 .accordion-title { 986 padding-left: 23px; 987 } 988 } 989 990 .nav-right__accordion { 991 margin-left: 20px; 992 } 993 } 994 995 .nav-right__accordion-content { 996 .panel__collapse.collapse2 { 997 padding-left: 23px; 998 } 999 } 1000 1001 .panel__header { 1002 padding-right: 16px; 1003 } 1004 1005 .navbar-right__cta { 1006 .panel__header { 1007 justify-content: flex-end; 1008 gap: 12px; 1009 } 1010 1011 .panel__header-item:last-child { 1012 .search-cta > svg { 1013 margin-right: 21px; 1014 } 1015 > svg { 1016 margin-right: 21px; 1017 } 1018 } 1019 1020 .profile-cta { 1021 svg { 1022 margin-right: 4px; 1023 } 1024 } 1025 1026 .get-app-cta .downloadApp__icon { 1027 padding-right: 0px; 1028 } 1029 1030 .get-app-cta .downloadApp__icon svg { 1031 padding-right: 11px; 1032 } 1033 } 1034 1035 .logo__container > img { 1036 margin-left: 20px; 1037 } 1038 1039 .panel-right { 1040 .panel { 1041 .panel__header { 1042 padding-left: 26px; 1043 } 1044 1045 .accordion-title { 1046 padding-left: 23px; 1047 } 1048 .panel__collapse-item-profile { 1049 text-align: left; 1050 padding-left: 50px; 1051 padding-right: 50px; 1052 } 1053 } 1054 .accordion-close-button { 1055 padding-left: 17px; 1056 left: 0; 1057 right: 0; 1058 } 1059 } 1060`,eC=c.css` 1061 &.nav-mobile { 1062 .logo-container { 1063 padding-right: 19px; 1064 } 1065 1066 .panel__header-heading { 1067 .accordion-title { 1068 padding-left: 28px; 1069 } 1070 } 1071 1072 .nav-right__inner-accordion { 1073 .accordion-title { 1074 padding-right: 23px; 1075 } 1076 } 1077 1078 .nav-right__accordion { 1079 margin-right: 20px; 1080 } 1081 } 1082 1083 .nav-right__accordion-content { 1084 .panel__collapse.collapse2 { 1085 padding-right: 23px; 1086 } 1087 } 1088 1089 .navbar-right__cta { 1090 .search-cta > svg { 1091 margin-left: 21px; 1092 } 1093 1094 .profile-cta__unlogged > svg, 1095 .profile-cta > svg { 1096 margin-left: 19px; 1097 } 1098 .profile-cta { 1099 margin-left: 14px; 1100 svg { 1101 margin-left: 4px; 1102 } 1103 } 1104 1105 .get-app-cta { 1106 margin-left: 16px; 1107 } 1108 1109 .get-app-cta .downloadApp__icon { 1110 padding-left: 0px; 1111 } 1112 1113 .get-app-cta .downloadApp__icon svg { 1114 padding-left: 11px; 1115 } 1116 } 1117 1118 .logo__container > img { 1119 margin-right: 20px; 1120 } 1121 1122 .panel-right { 1123 .panel { 1124 .panel__header {
1125 padding-right: 26px; 1126 } 1127 .accordion-title { 1128 padding-right: 23px; 1129 } 1130 .panel__collapse-item-profile { 1131 text-align: right; 1132 padding-right: 50px; 1133 } 1134 } 1135 .accordion-close-button { 1136 padding-left: 17px; 1137 padding-right: 17px; 1138 left: 0; 1139 right: 0; 1140 } 1141 1142 .cart-cta { 1143 flex-direction: row-reverse; 1144 } 1145 } 1146`,eN=c.css` 1147 &.nav-mobile { 1148 display: flex; 1149 flex-direction: column; 1150 height: 100%; 1151 1152 @media (orientation: landscape) { 1153 .accordion-panel__landscape { 1154 .panel__collapse-item { 1155 overflow-y: scroll; 1156 .accordion-close-button { 1157 padding-bottom: 120px; 1158 margin-bottom: -120px; 1159 } 1160 .accordion-close-button.close-button-spacing { 1161 padding-bottom: 50px; 1162 margin-bottom: -50px; 1163 } 1164 } 1165 } 1166 } 1167 1168 .panel__header-heading { 1169 margin: 0; 1170 padding: 0; 1171 1172 .accordion-title { 1173 padding-bottom: 0; 1174 } 1175 } 1176 1177 .logo__container img { 1178 width: 74px; 1179 } 1180 1181 .navbar-right__mobile { 1182 display: flex; 1183 align-items: center; 1184 } 1185 1186 .navbar-right__cta { 1187 .search-cta > svg { 1188 width: 20px; 1189 height: 20px; 1190 margin-bottom: 6px; 1191 } 1192 1193 .profile-cta__unlogged > svg, 1194 .profile-cta > svg { 1195 width: 16px; 1196 height: 23px; 1197 margin-bottom: 5px; 1198 path { 1199 fill: var(--color-white-100); 1200 stroke: var(--color-white-100); 1201 } 1202 } 1203 1204 .getApp-cta .get-app-cta-text, 1205 .get-app-cta-hyperlinked { 1206 font-size: calc(12px + var(--zoom)); 1207 font-weight: bold; 1208 color: var(--color-white-100); 1209 background-color: var(--color-red-400); 1210 font-family: var(--legacy-font-primary-semi-bold); 1211 min-width: fit-content; 1212 border-radius: 20px; 1213 padding-top: 0px; 1214 position: relative; 1215 right: 2px; 1216 } 1217 1218 .get-app-cta .get-app-cta-hyperlinked { 1219 min-width: 82px; 1220 min-height: 30px; 1221 border-radius: 25px; 1222 } 1223 1224 .get-app-cta .downloadApp__icon svg { 1225 box-sizing: content-box; 1226 width: 14px; 1227 height: 13px; 1228 margin-top: 6px; 1229 } 1230 1231 .get-app-cta { 1232 margin-bottom: 9px; 1233 margin-right: 4px; 1234 } 1235 } 1236 1237 .cart-cta svg { 1238 width: 24px; 1239 height: 24px; 1240 position: relative; 1241 margin-bottom: 14px; 1242 } 1243 .cart-cta { 1244 position: relative; 1245 outline: revert; 1246 display: flex; 1247 border: none; 1248 background-color: var(--color-teal-600); 1249 } 1250 1251 .cart-cta span { 1252 width: 100%; 1253 padding: 0 3px; 1254 } 1255 1256 .cart-counter { 1257 position: absolute; 1258 display: flex; 1259 align-items: center; 1260 justify-content: center; 1261 font-family: var(--font-primary); 1262 color: var(--color-teal-600); 1263 background-color: var(--color-white-100); 1264 border-radius: 50px; 1265 width: min-content; 1266 height: 12px; 1267 font-size: calc(9px + var(--zoom)); 1268 font-weight: 700; 1269 min-width: 12px; 1270 left: 18px; 1271 outline: 2px solid var(--color-teal-600); 1272 } 1273 1274 .nav-right__accordion::-webkit-scrollbar {
1275 display: none; 1276 } 1277 1278 .nav-right__accordion { 1279 overflow-x: scroll; 1280 overflow-y: hidden; 1281 1282 .accordion-close-button { 1283 position: absolute; 1284 bottom: -29px; 1285 background-color: var(--color-white-100); 1286 padding: 17px; 1287 border-radius: 37px; 1288 left: 0; 1289 right: 0; 1290 margin: auto; 1291 width: 55px; 1292 svg { 1293 width: 20px; 1294 height: 20px; 1295 } 1296 } 1297 1298 .arrow.toggle + .accordion-title { 1299 text-decoration: underline; 1300 text-decoration-thickness: 4px; 1301 text-underline-offset: 15px; 1302 } 1303 .arrow { 1304 display: none; 1305 } 1306 .accordion-title { 1307 font-size: calc(19px + var(--zoom)); 1308 color: var(--color-white-100); 1309 margin: 0; 1310 padding: 0; 1311 white-space: nowrap; 1312 } 1313 } 1314 1315 .nav-right__inner-accordion { 1316 display: flex; 1317 flex-direction: column; 1318 padding: 1px 27px 0; 1319 1320 .accordion-title { 1321 font-size: calc(16px + var(--zoom)); 1322 font-family: var(--legacy-font-primary-semi-bold); 1323 color: var(--color-navyblue-800); 1324 font-weight: 600; 1325 } 1326 1327 .arrow { 1328 display: inline-block; 1329 } 1330 1331 .arrow.toggle { 1332 padding-top: 4px; 1333 } 1334 1335 .nav-right__accordion-content { 1336 .panel__header { 1337 padding: 24px 0 18px; 1338 } 1339 1340 .panel__collapse.collapse2 { 1341 padding-bottom: 8px; 1342 } 1343 } 1344 1345 .nav-right__accordion-content:last-of-type { 1346 border-bottom: none; 1347 margin-bottom: 28px; 1348 } 1349 } 1350 1351 .nav-right__accordion-content { 1352 border-bottom: 1px solid var(--color-grey-200); 1353 1354 .panel__header { 1355 .arrow.toggle + .accordion-title { 1356 text-decoration: none; 1357 } 1358 } 1359 } 1360 1361 .nav-right__accordion-content .panel__collapse .panel__collapse-item { 1362 position: relative; 1363 text-align: left; 1364 } 1365 1366 .panel-right { 1367 margin-top: 7px; 1368 .panel__collapse-item { 1369 top: 100px; 1370 padding-bottom: 20px; 1371 } 1372 .panel { 1373 .panel__collapse-item { 1374 top: 62px; 1375 } 1376 .panel__header { 1377 justify-content: flex-start; 1378 padding-top: 20px; 1379 padding-bottom: 14px; 1380 } 1381 1382 .arrow { 1383 padding-bottom: 6px; 1384 } 1385 .arrow.toggle { 1386 padding-top: 9px; 1387 } 1388 svg { 1389 width: 15px; 1390 height: 11px; 1391 } 1392 .accordion-title { 1393 padding-top: 4px; 1394 font-size: calc(16px + var(--zoom)); 1395 font-family: var(--legacy-font-primary-semi-bold); 1396 font-weight: 600; 1397 font-stretch: normal; 1398 font-style: normal; 1399 line-height: 1.5; 1400 letter-spacing: 0.06px; 1401 } 1402 .panel__collapse-item-profile { 1403 font-size: calc(16px + var(--zoom)); 1404 font-family: var(--font-primary); 1405 line-height: 36px; 1406 letter-spacing: 0.06px; 1407 font-weight: normal; 1408 } 1409 } 1410 .accordion-close-button { 1411 position: absolute; 1412 bottom: -27px; 1413 left: 0; 1414 right: 0; 1415 margin: auto; 1416 padding: 17px; 1417 width: 55px; 1418 background-color: var(--color-white-100); 1419 border-radius: 37px; 1420 1421 svg {
1422 width: 20px; 1423 height: 20px; 1424 } 1425 } 1426 } 1427 .profile-accordion .panel__collapse.collapse2 .panel__collapse-item { 1428 position: relative; 1429 top: 0; 1430 } 1431 } 1432`,ek=c.default.div.withConfig({displayName:"HeaderMobile.styles__StyledWrapper",componentId:"sc-7b354549-2"})` 1433 ${eN} 1434 ${e=>e.rtl?eC:ew} 1435`;function ej({fixHorizontalSpacing:e,onClick:t}){return(0,o.jsx)(A.NativeButton,{className:`accordion-close-button ${e?"close-button-spacing":""}`,onClick:t,children:N})}function eA({className:e,headerCta:t,isDownloadSvgActive:n=!0,isDownloadSvgReadable:a=!1,isLogged:r=!1,analytics:i,openInNewWindow:l=!0,rel:c,uiStringSet:d}){let u=s.default.useContext(h.UIContext),p=!!u?.rtl,f=(0,o.jsxs)("svg",{className:"get-app-cta-svg",id:"download-icon","aria-hidden":a?"false":"true",focusable:"false",viewBox:"0 0 96.1 89.6",children:[(0,o.jsx)("title",{title:"getAppCtaSvg",children:d?.downloadAppAlt||"Download"}),(0,o.jsx)("path",{d:"M92.7 48.4a3.33 3.33 0 0 0-3.3 3.3V83H6.5V51.7a3.33 3.33 0 0 0-3.3-3.3A3.24 3.24 0 0 0 0 51.7v34.6a3.33 3.33 0 0 0 3.3 3.3h89.5a3.33 3.33 0 0 0 3.3-3.3V51.7a3.49 3.49 0 0 0-3.4-3.3z"}),(0,o.jsx)("path",{d:"M65.6 48.5L51.9 61.3v-58a3.3 3.3 0 1 0-6.6 0v58.1L31 48.4a3.1 3.1 0 0 0-2.2-.9 3.19 3.19 0 0 0-2.4 1.1 3.29 3.29 0 0 0 .2 4.6l19.8 18a3.24 3.24 0 0 0 4.4 0l19.2-18a3.2 3.2 0 0 0 .1-4.6 3.08 3.08 0 0 0-4.5-.1z"})]}),m=(0,o.jsxs)(D.NativeLink,{href:t?.url,title:t?.title,className:`${i?.cta?.eventAction||"event_button_click"} get-app-cta-hyperlinked`,rel:c||"noopener noreferrer",tabIndex:0,dataActionDetail:i?.cta?.eventLabel||"",target:l?"_blank":"_self",dataAnalyticsEventCategory:i?.cta?.eventCategory||"",children:[n&&(0,o.jsx)("div",{className:"downloadApp__icon",children:f}),(0,o.jsx)("span",{className:"get-app-cta-text",children:t?.title})]}),x=!r&&t?.vortexScenario&&Object.keys(t?.vortexScenario).length>0?(0,o.jsx)(J.VortexLink,{className:`${i?.vortex?.eventAction||"event_button_click"} get-app-cta-hyperlinked`,eventLabel:i?.vortex?.eventLabel||"",eventCategory:i?.vortex?.eventCategory||"",title:t?.vortexScenario.title||"",label:t?.title||"",formId:t?.vortexScenario.formId||"",formType:t?.vortexScenario.formType||"",url:t?.vortexScenario.url||"",beforeRedirect:t?.vortexScenario.beforeRedirect||void 0,redirectUrl:t?.vortexScenario.redirectUrl||"",vortex:t?.vortexScenario,children:n?(0,o.jsx)("div",{className:"downloadApp__icon",children:f}):t?.title}):m;return(0,o.jsx)(eL,{rtl:p,className:["get-app-cta",e].join(" "),"data-cy":"get-app-cta",children:x})}let eT=c.css` 1436 .downloadApp__icon { 1437 padding-right: 5px; 1438 } 1439`,eS=c.css` 1440 .downloadApp__icon { 1441 padding-left: 5px; 1442 } 1443`,eE=c.css` 1444 &.get-app-cta { 1445 .get-app-cta-hyperlinked { 1446 max-height: 30px; 1447 color: var(--color-white-100); 1448 background-color: var(--color-teal-600); 1449 font-size: calc(12px + var(--zoom)); 1450 line-height: 28px; 1451 padding: 0 15.5px; 1452 position: relative; 1453 display: inline-flex; 1454 font-weight: 600; 1455 text-align: center; 1456 text-decoration: none; 1457 text-transform: none; 1458 white-space: nowrap; 1459 vertical-align: middle; 1460 cursor: pointer; 1461 border-radius: 20px; 1462 justify-content: center; 1463 border: 1px solid var(--color-teal-600); 1464 1465 span { 1466 font-size: calc(12px + var(--zoom)); 1467 } 1468 1469 a { 1470 color: var(--color-white-100); 1471 } 1472 } 1473 1474 .get-app-cta-svg { 1475 width: 17px; 1476 vertical-align: inherit; 1477 fill: white; 1478 align-self: center; 1479 } 1480 1481 .get-app-cta-title { 1482 margin-bottom: 20px; 1483 } 1484 .get-app-cta-desc { 1485 color: var(--color-teal-600); 1486 } 1487 1488 .downloadApp__icon { 1489 fill: var(--color-white-100); 1490 } 1491 1492 .get-app-cta-text { 1493 vertical-align: middle; 1494 } 1495 } 1496`,eL=c.default.div.withConfig({displayName:"GetAppCta__StyledWrapper",componentId:"sc-33e83b31-0"})` 1497 ${eE} 1498 ${e=>e.rtl?eS:eT} 1499`;function eI({getAppCta:e,sharedCollection:t,isLogged:n,analytics:a,TogglePannelCb:r,vortexScenario:i,signup:l,search:c,isCartLinkVisible:u}){return(0,o.jsxs)(s.default.Fragment,{children:[(0,o.jsx)("div",{className:"panel__header-item",children:e?.isGetAppActive&&(0,o.jsx)(eA,{className:["getApp-cta",e?.className].join(" "),headerCta:{title:e?.title||t.getAppText,url:e?.url,vortexScenario:{...e?.vortexScenario}},isDownloadSvgActive:e?.isDownloadSvgActive,isDownloadSvgReadable:e?.isDownloadSvgReadable,isLogged:n,openInNewWindow:e?.openInNewWindow||!1,rel:e?.openInNewWindow?"noopener noreferrer":"",analytics:a?.ctaAnalytics?.getAppCta})}),(0,o.jsx)("div",{className:"panel__header-item",children:n?(0,o.jsxs)(A.NativeButton,{className:`profile-cta ${a?.ctaAnalytics?.logOutMobile?.eventAction}`,onClick:()=>r(),dataActionDetail:a?.ctaAnalytics?.logOutMobile?.eventLabel,dataEventCategory:a?.ctaAnalytics?.logOutMobile?.eventCategory,children:[(0,o.jsx)(C,{title:t.profileIconTitle}),(0,o.jsx)("span",{className:"hidden",children:t.profile})]}):!!i&&(0,o.jsx)(J.VortexLink,{title:i?.title||"",label:i?.title||"",formId:i?.formId,formType:i?.flowName||"",url:l?.url||"",vortex:i,className:(0,d.cx)("vortex",a?.ctaAnalytics?.vortexMobile?.eventAction||"event_profile_register","profile-cta__unlogged","bg-transparent","text-white"),eventLabel:a?.ctaAnalytics?.vortexMobile?.eventLabel,eventCategory:a?.ctaAnalytics?.vortexMobile?.eventCategory||void 0,leadingIcon:(0,o.jsx)(w,{title:t.profileIconTitle}),size:"sm",children:(0,o.jsx)("span",{className:"hidden",children:l?.labelText||""})})}),(0,o.jsx)("div",{className:"panel__header-item",children:c?.isActivated&&(0,o.jsx)(A.NativeButton,{id:"to-search-mobile",type:"button",ariaLabel:c?.title||"",title:c?.title||"",className:`search-cta ${a?.searchAn
1499alytics?.searchButton?.eventAction}`,onClick:c?.onClick,dataActionDetail:a?.searchAnalytics?.searchButton?.eventLabel,dataEventCategory:a?.searchAnalytics?.searchButton?.eventCategory,children:k(t.searchText)})}),(0,o.jsx)("div",{className:"panel__header-item",children:u&&(0,o.jsx)(ey,{href:"/en-us/products",prefetch:!1,children:(0,o.jsx)(b.CartIcon,{})})})]})}var eF=e.i(286358);let{objective:eB,creative:eO,contentType:eM,siteCategory:e$,device:eP}=eF.analyticsLabels;function ez(e){return e?.sections?.map((t,n)=>{if(!t.title)return null;let a=t.items??[],r=e.sections[n+1];return(r&&!r.title&&(a=a.concat(r.items)),(a=a.filter(e=>eb(e.displayRule))).length)?{...t,items:a}:null}).filter(e=>!!e)}function eD({section:e,lazyload:t,onToggle:n,open:a}){let r=e?.items?.filter(e=>eb(e.displayRule))??[];return(0,o.jsx)(T,{className:"nav-right__accordion-content",title:e?.title||"",analytics:e?.analytics,onToggle:n,open:a,children:r.map((e,n)=>(0,o.jsx)(R,{linkObj:{title:e?.title,type:e?.type,url:e?.url,openInNewWindow:e?.openLink||!1},labelObj:{title:e?.labelText,className:e?.labelStyle||"teal",displayLabelText:e?.displayLabelText},image:e?.image,icon:e?.icon?.image,lazyload:t,analytics:e?.analytics?.mobile,menuId:e?.menuId},n))})}function eR({navItem:e,onToggleHeader:t,mainToggle:n,lazyload:a,CloseButtonHandler:r}){let i=(0,s.useMemo)(()=>ez(e),[e]),[l,c]=(0,s.useState)(i[0]??null);return(0,o.jsxs)(T,{roleName:"listitem",className:"accordion-panel__landscape",deviceType:O.MOBILE,title:e?.title||"",redirectionData:{shouldRedirect:!1,url:e?.url||"",target:e?.openLink||!1},analytics:e?.analytics,menuId:e?.menuId,onToggle:n=>t(e,n),open:n===e,children:[(0,o.jsx)(y,{className:"nav-right__inner-accordion",children:i.map((e,t)=>(0,o.jsx)(eD,{section:e,lazyload:a,onToggle:()=>c(l===e?null:e),open:l===e},t))}),(0,o.jsx)(ej,{fixHorizontalSpacing:!l,onClick:r})]})}let eH=(0,s.memo)(({className:e,sharedCollection:t,items:n,isLogged:a,analytics:r,search:i,lazyload:l,onLogoutHandler:c,CloseButtonHandler:u,onToggleNavItem:p,overlay:f,activeNavItem:m})=>{let x=s.default.useContext(h.UIContext),v=!!x?.rtl,b=n?.cta?.filter(e=>e?.title.toLowerCase()==="edit-profile")[0],_=n?.cta?.filter(e=>e?.title.toLowerCase()==="my rewards")[0],w=n?.cta?.filter(e=>e?.title.toLowerCase()==="registration")[0],C=n?.vortexScenario,N=n.headerCta,k=(0,s.useCallback)(()=>{p(M)},[]),j="en-us"===x.locale;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(ek,{rtl:v,className:(0,d.cx)("nav-mobile",e),children:[(0,o.jsxs)("div",{className:"navbar-right__mobile",children:[(0,o.jsx)(X,{componentID:"to-home-mobile",className:"",image:n?.logo?.image,url:n.logo?.url,analytics:r?.logoAnalytics,isHeader:n?.enableH1Tag??!0,ariaLabel:t?.home}),(0,o.jsx)(y,{className:"navbar-right__cta",children:(0,o.jsxs)(T,{className:"panel-right",sharedCollection:t,customHeader:(0,o.jsx)(eI,{getAppCta:N,sharedCollection:t,isLogged:a,analytics:r,TogglePannelCb:k,vortexScenario:C,signup:w,search:i,isCartLinkVisible:j}),title:t?.profile,deviceType:O.MOBILE,onToggle:k,open:m===M,children:[(0,o.jsx)(y,{children:(0,o.jsx)(T,{title:t?.profile,className:"profile-accordion",onToggle:null,open:!0,children:(0,o.jsxs)("div",{className:"panel-item-wrapper",children:[(0,o.jsx)("div",{className:"panel__collapse-item-profile",children:(0,o.jsx)(R,{linkObj:{title:b?.labelText,url:b?.url,openInNewWindow:!1,type:B.MENUITEM}})}),_&&(0,o.jsx)("div",{className:"panel__collapse-item-profile",children:(0,o.jsx)(R,{linkObj:{title:_?.labelText,url:_?.url,openInNewWindow:!1,type:B.MENUITEM}})}),(0,o.jsx)("div",{className:"panel__collapse-item-profile",children:(0,o.jsx)(A.NativeButton,{onClick:c,title:t?.logout,dataActionDetail:r?.ctaAnalytics?.logOut?.eventLabel,dataEventCategory:r?.ctaAnalytics?.logOut?.eventCategory,className:r?.ctaAnalytics?.logOut?.eventAction,children:t?.logout})})]})})}),(0,o.jsx)(ej,{onClick:u})]})})]}),(0,o.jsx)(y,{className:"nav-right__accordion",roleName:"list",children:n.navItems?.filter(e=>eb(e.displayRule))?.map((e,t)=>(0,o.jsx)(eR,{navItem:e,onToggleHeader:p,mainToggle:m,lazyload:l,CloseButtonHandler:u},t))})]}),(0,o.jsx)(eW,{overlay:f})]})}),eW=(0,s.memo)(({overlay:e})=>(0,o.jsx)(e_,{className:[e&&"overlay"].join(" ")}));var eq=e.i(183735);function eV({className:e,sharedCollection:t,items:n,isLogged:a,analytics:r,onLogoutHandler:i,search:l,lazyload:c,enableAccessibleFeatures:m=!0,floating:x=!1}){let v=s.default.useContext(h.UIContext),b=!!v?.rtl,y=(0,u.useIsMobile)(),{floatingDown:_}=s.default.useContext(f.FloatingContext),w=`floating ${_?"header--visible":"header--hidden"}
1499`,[C,N]=(0,s.useState)(!0),[k,j]=(0,s.useState)(0),A=(0,s.useRef)(null),T=(0,s.useCallback)(e=>{let t=e.scroll||e.actualScroll||0,n=e.direction;t<=100?N(!0):1===n?N(!1):-1===n&&N(!0),j(t)},[k]),S=(0,eq.useLenis2)();(0,s.useEffect)(()=>{if(S)return S.on("scroll",T),()=>{S.off("scroll",T)}},[S,T]);let E=()=>{(0,p.DataLayerPush)("event_informational_action","event_button_click","ENG_ALLSITE_NAVBAR_BUTTON_cart-icon-redirect-pcp")},[L,I]=(0,s.useState)(null),F=!!L,B=(0,s.useCallback)((e,t)=>{void 0!==t?I(t?e:null):I(t=>t===e?null:e)},[]),O=(0,s.useCallback)(()=>{B(M)},[]),$=(0,s.useCallback)(()=>{I(null)},[]);return(0,o.jsx)(ev,{ref:A,rtl:b,className:(0,d.cx)("header",m&&"accessible-variant",x?w:"",e),"data-cy":"header",role:"banner",isMobile:y,isVisible:C,children:(0,o.jsxs)("nav",{className:"nav",role:"navigation",children:[(0,o.jsx)(eH,{analytics:r,isLogged:a,items:n,lazyload:c,onCartIconClick:E,onLogoutHandler:i,search:l,sharedCollection:t,CloseButtonHandler:$,onToggleNavItem:B,overlay:F,activeNavItem:L}),(0,o.jsx)(eu,{analytics:r,enableAccessibleFeatures:m,isLogged:a,items:n,onCartIconClick:E,onLogoutHandler:i,search:l,sharedCollection:t,overlay:F,onToggleHeader:B,onToggleProfile:O,mainToggle:L,lazyload:c})]})})}var eK=e.i(361846);let eG=(e,t)=>e?{...e,eventLabel:e.dynamicEventLabel(t||"")}:{};var eU=e.i(840535);function eY({className:e,image:t,url:n,analytics:a,componentID:r,ariaLabel:i}){let l=s.default.useContext(h.UIContext),c=!!l?.rtl;return(0,o.jsx)(eZ,{rtl:c,className:(0,d.cx)("logo-container",e),"data-cy":"logo-container",children:(0,o.jsx)(D.NativeLink,{id:r||"",href:n,className:a?.eventAction,dataActionDetail:a?.eventLabel,dataEventCategory:a?.eventCategory,ariaLabel:i||t?.title,children:(0,o.jsx)("div",{"aria-hidden":!0,className:"logo__container",children:(0,o.jsx)(U.NextImage,{className:"type__isIcon logo__container-image",height:63,width:110,priority:!0,src:t?.url??"",alt:t?.title??""})})})})}let eX=c.css` 1500 &.logo-container { 1501 height: 100%; 1502 .logo__container { 1503 margin-top: 6px; 1504 1505 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 1506 margin-top: 20px; 1507 } 1508 } 1509 .logo__container-image { 1510 max-width: none; 1511 width: 84px; 1512 height: 40px; 1513 } 1514 } 1515`,eZ=c.default.div.withConfig({displayName:"LogoContainer__StyledWrapper",componentId:"sc-8ec2d59d-0"})` 1516 ${eX} 1517`;function eQ({className:e,children:t,role:n,menuId:a,open:r,onMouseEnter:i,onMouseLeave:l,onFocus:c,shouldAnimate:u,fullWidth:p,header:h,dataId:f,onBlur:m}){let x=(0,s.useId)(),v=`${x}-panel`;return(0,o.jsxs)("div",{className:e,onMouseEnter:i,onMouseLeave:l,onFocus:c,onBlur:m,role:n,"data-menuid":a,"data-id":f,children:[(0,o.jsx)("div",{children:h({ariaExpanded:r,ariaControls:v})}),(0,o.jsx)("div",{className:(0,d.cx)("z-9999",!r&&"hidden",!p&&"relative"),role:"region",id:v,children:(0,o.jsx)("div",{className:(0,d.cx)(u&&"animate-slide-down",p&&"w-full px-page-gutter min-h-75 py-11.25 mt-4",!p&&"rounded-[8px] shadow-basic-m mt-1","absolute text-[16px] text-text_brand_default inset-s-0","font-normal bg-background_inverse_default z-9999"),children:t})})]})}var eJ=e.i(886048);function e0({className:e,linkObj:t,image:n,icon:a,lazyload:r=!0,analytics:i,menuId:l}){return t.type===m.CTA?(0,o.jsx)(e3,{menuId:l,linkObj:t,analytics:i,className:e}):t.type===m.MENUITEM?(0,o.jsx)(e1,{menuId:l,linkObj:t,analytics:i,className:e}):t.type===m.IMAGE?(0,o.jsx)(e2,{image:n,lazyload:r,icon:a,href:t.url,className:e}):null}function e1({menuId:e,linkObj:t,analytics:n,className:a,children:r}){return t.title?(0,o.jsxs)(er.NextLink,{"data-menuid":e,"aria-label":t.title,href:t.url,rel:"noopener noreferrer",target:t.openInNewWindow?"_blank":"_self",className:(0,d.cx)("hover:underline",n?.eventAction,a),"data-action-detail":eG(n,t.title).eventLabel,"data-event-category":n?.eventCategory,children:[t.title&&(0,o.jsx)("span",{children:t.title}),r]}):null}function e3({menuId:e,linkObj:t,analytics:n,className:a,children:r}){let i=eG(n,t.title);return t.title?(0,o.jsxs)(eJ.GenericButton,{dataMenuId:e,className:a,ariaLabel:t.title,variant:"secondary",size:"md",link:t?.url,openLinkInNewTab:t.openInNewWindow,analytics:i,children:[t.title,r]}):null}function e2({image:e,lazyload:t,icon:n,href:a,className:r}){let i="N/A"===a?null:a;return e&&i?(0,o.jsxs)("a",{href:i,"aria-label":e?.title,target:"_blank",rel:"noopener noreferrer",className:(0,d.cx)("shrink-0 grow",r),children:[e?.url&&(0,o.jsx)(F.CfImage,{lazyLoaded:t,asset:e,className:"w-22.5 h-22.5",alt:e?.title||""}),n?.url&&!e?.url&&(0,o.jsx)(F.CfImage,{lazyLoaded:t,asset:n,alt:n?.title||""})]}):null}var e6=e.i(499881);function e5({children:e,onClick:t,className:n}){return(0,o.jsx)(e6.TextButton,{plain:!0,onClick:t,className:(0,d.cx)("logout-button-redesign",n),children:e})}
1517function e4({href:e,label:t,ariaControls:n,ariaExpanded:a,onClick:r,onKeyDown:i,dataId:l,onFocus:s}){return(0,o.jsx)(eJ.GenericButton,{variant:"primary",widthTablet:"Fit Content",size:"lg",width:"Fit Content",link:e||"/edit-profile",openLinkInNewTab:!1,ariaControls:n,ariaExpanded:a,onClick:r,onKeyDown:i,dataId:l,onFocus:s,children:t??"My Profile"})}var e7=e.i(652831);function e8({menuItem:e,lazyload:t}){return(0,o.jsx)(e0,{linkObj:{title:e?.title,type:e?.type,url:e?.url||"",openInNewWindow:e?.openLink||!1},image:e?.image,icon:e?.icon?.image,lazyload:t,analytics:e?.analytics?.desktop??e?.analytics,menuId:e.menuId})}function e9({section:e,lazyload:t,className:n}){let a=(0,s.useMemo)(()=>e.items.filter(e=>!!e?.type&&v(e.displayRule)),[e]);return(0,o.jsxs)("div",{className:n,children:[e?.title&&(0,o.jsx)(e7.P,{variant:"m",className:"panel__item-title font-semibold",children:e.title}),a.map((e,n)=>(0,o.jsx)(e8,{menuItem:e,lazyload:t},n))]})}function te({navItem:e,navItemIndex:t,open:n,lazyload:a,onMouseEnter:r,onMouseLeave:i,onClick:l,onKeyDown:s,onFocus:c,shouldAnimate:u,className:p,linkDataId:h}){if(!e||!v(e.displayRule))return null;let{analytics:f}=e,m=e.title??"",x=e.url&&"N/A"!==e.url?e.url:"#";return(0,o.jsx)(eQ,{role:"listitem",onMouseEnter:r,onMouseLeave:i,onFocus:c,menuId:e.menuId,open:n,shouldAnimate:u,className:p,fullWidth:!0,header:({ariaExpanded:e,ariaControls:t})=>(0,o.jsx)(er.NextLink,{href:x,onClick:l,onKeyDown:s,className:(0,d.cx)("text-text_brand_default text-[20px] font-semibold leading-[140%]","flex justify-center items-center","hover:bg-background_brand_secondary_hover rounded-4xl px-4.75 py-2.5",f?.eventAction),"data-action-detail":f?.dynamicEventLabel?.(m)??f?.eventLabel,"data-event-category":f?.eventCategory,"aria-expanded":e,"aria-controls":t,"data-id":h,children:m}),children:(0,o.jsxs)("div",{className:"flex gap-4",children:[(0,o.jsx)("div",{className:"flex-30 pe-4",children:(0,o.jsx)(e7.P,{variant:"xl",className:"font-semibold",children:e.shortDescription||""})}),e.sections.map((e,t)=>(0,o.jsx)(e9,{className:"flex-25 flex flex-col gap-2",section:e,lazyload:a},t))]})},t+1)}var tt=e.i(266189),tn=e.i(12893);function ta({onClick:e,analytics:t,id:n,isSearchOpen:a,controlsId:r,dataId:i}){return(0,o.jsx)(eJ.GenericButton,{variant:"tertiary",widthTablet:"Fit Content",size:"lg",width:"Full Width",leadingIcon:(0,o.jsx)(tt.SearchIcon,{}),ariaLabel:"Search",id:n,analytics:t,forceNonGlobalEventTracker:!0,name:"Search",onClick:e,ariaExpanded:a,ariaHasPopup:"dialog",ariaControls:a?r:void 0,dataId:i,className:tn.ignoreOutsideClickClass})}function tr({analytics:e,label:t,link:n,className:a,dataId:r}){return(0,o.jsx)(eJ.GenericButton,{variant:"secondary-neutral",widthTablet:"Fit Content",size:"lg",width:"Full Width",link:n??"/products",openLinkInNewTab:!1,className:a,leadingIcon:void 0,analytics:e,dataId:r,children:t??"Shop now"})}function ti({link:e,label:t,analytics:n,ariaControls:a,ariaExpanded:r,onFocus:i,dataId:l}){return(0,o.jsx)(eJ.GenericButton,{variant:"primary",widthTablet:"Fit Content",size:"lg",width:"Fit Content",link:e,openLinkInNewTab:!1,leadingIcon:void 0,analytics:n,ariaControls:a,ariaExpanded:r,onFocus:i,dataId:l,children:t??"Sign in"})}let to=[$,M,P,z],tl={fallbackFocus:()=>document.body,initialFocus:!1,returnFocusOnDeactivate:!1},ts=({className:e,items:t,analytics:n,sharedCollection:a,isLogged:r,onLogoutHandler:i,search:l,searchIsOpen:c,searchControl
1517sId:u,lazyload:p,isAuthEnabled:h})=>{let[f,x]=(0,s.useState)({activeNavItem:null,shouldAnimate:!0}),v=t.navItems,b=(0,s.useMemo)(()=>[...v,...to],[v]),{activeNavItem:y,shouldAnimate:_}=f,w=!!y&&y!==M,C=t?.cta?.find(e=>e?.title?.toLowerCase()==="edit-profile"),N=t?.cta?.find(e=>e?.title?.toLowerCase()==="my rewards"),k=t?.cta?.find(e=>e?.title?.toLowerCase()==="registration"),j=t?.cta?.find(e=>e?.title?.toLowerCase()==="shop-now");function A(e){return!(e===M&&!r||e.sections?.every(e=>!e.items?.length))}let T=e=>{x({activeNavItem:y===e?null:e,shouldAnimate:null===y})};function S(e){for(let t of e){let e=I(t),n=document.querySelector(`[data-id=${e}]`);if(n){n.focus(),x({activeNavItem:t,shouldAnimate:null===y});return}}}let E=(e,t)=>{" "===e.key&&(e.preventDefault(),T(t))},L=(e,t)=>{A(t)&&x({activeNavItem:t,shouldAnimate:null===y})};function I(e){return e?`header-desktop-navitem-${e.key}`:null}return(0,o.jsxs)(eK.PageContainer,{className:"bg-white-100 h-full hidden xl:block",children:[(0,o.jsx)("div",{className:(0,d.cx)("h-full",e),"data-cy":"header-desktop",onKeyDown:e=>{if("Escape"===e.key&&y){let t=e.target,n=t.closest("[role=region]")?.id;if(n){let e=t.closest("[role=listitem]")?.querySelector(`[aria-controls=${n}]`);e?.focus()}e.preventDefault(),T(null)}let t=I(y);if("ArrowLeft"===e.key&&t){let e=b.findIndex(e=>I(e)===t);if(e<=0)return;let n=b.slice(0,e).reverse();n.length&&S(n)}if("ArrowRight"===e.key&&t){let e=b.findIndex(e=>I(e)===t);if(-1===e||e>=b.length-1)return;let n=b.slice(e+1);n.length&&S(n)}},onMouseLeave:(e,t)=>{(t===y||void 0===t)&&T(null)},children:(0,o.jsx)(eU.FocusTrap,{active:!!y,focusTrapOptions:tl,children:(0,o.jsxs)("div",{className:"flex w-full h-full nav-desktop__container",onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||T(null)},children:[(0,o.jsx)(eY,{componentID:"to-home",image:t?.logo?.image,url:t.logo?.url,isHeader:t?.enableH1Tag??!0,ariaLabel:a?.home}),(0,o.jsxs)("div",{role:"list",className:"accordion flex flex-1 h-full justify-end items-center",children:[v.map((e,t)=>(0,o.jsx)(te,{navItem:e,navItemIndex:t,linkDataId:I(e),onMouseEnter:t=>L(t,e),onFocus:t=>{A(e)&&x({activeNavItem:e,shouldAnimate:null===y})},onClick:t=>{var n,a;let r,i,o;t.preventDefault(),n=e,((r=n?.url||"")&&"N/A"!==r?r:null)&&(i=(a=e).url,o=a?.openLink||!1,window.open(i||"",o?"_blank":"_self"))},onKeyDown:t=>E(t,e),open:e===y,lazyload:p,shouldAnimate:_},t+1)),h&&!r&&(0,o.jsx)("div",{role:"listitem",className:"px-2",children:(0,o.jsx)(ti,{label:k?.labelText||"Sign in",link:k?.url||"/registration",analytics:eG(n?.ctaAnalytics?.vortexMobile,"Sign in"),onFocus:()=>T(null),dataId:I($)})}),h&&r&&(0,o.jsx)("div",{role:"listitem",className:"px-2",children:(0,o.jsx)(eQ,{header:({ariaControls:e,ariaExpanded:t})=>(0,o.jsx)(e4,{ariaControls:e,ariaExpanded:t,label:C?.labelText,href:C?.url,onKeyDown:e=>E(e,M),dataId:I(M)}),onMouseEnter:e=>L(e,M),onFocus:e=>L(e,M),open:y===M,shouldAnimate:_,children:(0,o.jsxs)("div",{className:"w-max p-6 flex flex-col gap-2",children:[C&&(0,o.jsx)(e1,{menuId:null,analytics:null,className:"text-grey-700 uppercase text-[13px]",linkObj:{title:C?.labelText,url:C?.url,openInNewWindow:!1,type:m.MENUITEM},children:(0,o.jsx)("p",{className:"text-grey-400 uppercase text-[12px]",children:"View and edit your details"})}),N&&(0,o.jsx)(e1,{menuId:null,analytics:null,className:"text-grey-900 uppercase",linkObj:{title:N.labelText,url:N.url,openInNewWindow:!1,type:m.MENUITEM}}),(0,o.jsx)(e5,{onClick:i,children:(0,o.jsx)("span",{className:"text-grey-900 uppercase text-[13px] font-medium",children:a?.logout||"Log out"})})]})})}),!!j&&(0,o.jsx)("div",{role:"listitem",className:(0,d.cx)("px-2",l?.isActivated&&"search-activated"),children:(0,o.jsx)(tr,{label:j.labelText??j.label,link:j.url,analytics:eG(n?.headerLinkAnalytics?.shopNowAnalytics,"Shop now"),dataId:I(P)})}),l?.isActivated&&(0,o.jsx)("div",{role:"listitem",className:"px-2 flex items-center",children:(0,o.jsx)(ta,{id:"to-search",onClick:l.onClick,isSearchOpen:c,controlsId:u,analytics:eG(n?.searchAnalytics?.searchButton,"Search"),dataId:I(z)})})]})]})})}),(0,o.jsx)("div",{className:w?"block absolute w-full h-screen bg-black/50 left-0 z-9998":""})]})},tc=c.default.header.withConfig({displayName:"HeaderRevamp.styles__StyledWrapper",componentId:"sc-4a7d21-0"})` 1518 &.header { 1519 nav { 1520 height: 100%; 1521 .nav-mobile { 1522 display: flex; 1523 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 1524 display: none; 1525 } 1526 } 1527 .nav-desktop { 1528 display: none; 1529 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 1530 display: flex; 1531 } 1532 } 1533 .accordion { 1534 .panel__header { 1535 height: 100%; 1536 display: flex; 1537 align-items: center; 1538 } 1539 1540 .panel-right { 1541 .panel__header { 1542 display: flex; 1543 flex-direction: row; 1544 } 1545 } 1546 } 1547 } 1548 } 1549 & { 1550 .teal { 1551 background-color: var(--color-teal-600); 1552 color: var(--color-white-100); 1553 } 1554 1555 .indigo { 1556 background-color: var(--color-navyblue-800); 1557 color: var(--color-white-100); 1558 } 1559 } 1560`;var td=e.i(279895),tu=e.i(174080),tp=e.i(613058);function th({modalKey:e,children:t,open:n}){let a=(0,tp.useModal)(e,n);return a?(0,tu.createPortal)(t,a,e):t}var tf=e.i(264698),tm=e.i(584643);e.i(94724);var tg=e.i(772385),tg=tg;function tx(e){return tm.processEnv.PREVIEW?(0,tg.y)(e).cleaned:e}let tv=c.default.nav.withConfig({displayName:"HeaderMobileRedesign.styles__StyledWrapper",componentId:"sc-fbcea16b-0"})` 1561 .logo__container { 1562 margin: 0 !important; 1563 } 1564 1565 .logo__container-image { 1566 width: auto !important; 1567 height: 32px !important; 1568 } 1569 .bm-burger-button { 1570 display: none !important; 1571 } 1572 1573 .bm-menu-wrap { 1574 top: 0 !important; 1575 left: 0 !important; 1576 width: 100vw !important; 1577 height: 100dvh !important; 1578 z-index: 10000 !important; 1579 } 1580 1581 .bm-menu { 1582 background: white !important; 1583 font-size: 16px !important; 1584 width: 100% !important; 1585 height: 100% !important; 1586 padding: 0 !important; 1587 } 1588 1589 .bm-item-list { 1590 height: 100% !important; 1591 padding: 0 !important; 1592 } 1593 1594 .bm-cross-button { 1595 height: 32px !important; 1596 width: 32px !important; 1597 right: 16px !important; 1598 top: 16px !important; 1599 z-index: 10001 !important; 1600 display: none !important; 1601 } 1602 1603 .bm-cross { 1604 background: #374151 !important; 1605 } 1606 1607 .bm-overlay { 1608 background: rgba(0, 0, 0, 0.5) !important; 1609 top: 0 !important; 1610 left: 0 !important; 1611 width: 100vw !important; 1612 height: 100vh !important; 1613 z-index: 9998 !important; 1614 }
1615 .modal-body { 1616 max-width: 100vw; 1617 } 1618 @media (min-width: ${l.DESKTOP_BREAKPOINT}px) { 1619 display: none; 1620 } 1621`;var tb=e.i(989277);function ty({className:e}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:e,children:(0,o.jsx)("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"#0A6365",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}e.s(["LeftNavIcon",0,ty],4667);var t_=e.i(772152);function tw({className:e}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:e,children:(0,o.jsx)("path",{d:"M9 18L15 12L9 6",stroke:"#0A6365",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}function tC({handleSubmenuClick:e,navItem:t,analytics:n}){return(0,o.jsx)("li",{children:(0,o.jsxs)(A.NativeButton,{onClick:()=>e(t),dataActionDetail:eG(n,t.title).eventLabel,dataAnalyticsEventCategory:n.eventCategory,className:`${n.eventAction} w-full flex items-center justify-between px-4 py-[0.75rem] text-left text-teal-600 hover:bg-gray-50 transition-colors font-medium min-h-[44px] mb-[1rem]`,ariaExpanded:"false",ariaHasPopup:"true",type:"button",children:[(0,o.jsx)("span",{className:"text-[1.25rem] font-semibold leading-[1.4] text-text_brand_default",children:t.title}),(0,o.jsx)(tw,{className:"[&_path]:stroke-border_brand_default"})]})})}function tN({menuItem:e,closeMenu:t,dataAction:n}){return(0,o.jsx)("li",{children:(0,o.jsx)(er.NextLink,{"data-action-detail":eG(n,e.title).eventLabel,"data-analytics-event-category":n.eventCategory,href:e.url,className:`${n.eventAction} py-[1.125rem] px-[1.5rem] text-gray-700 hover:text-teal-600 transition-colors min-h-[44px] flex items-center`,onClick:t,target:e.openLink?"_blank":void 0,rel:e.openLink?"noopener noreferrer":void 0,prefetch:!1,children:(0,o.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,o.jsx)("span",{className:"text-[1.125rem] font-normal leading-[1.5] text-text_brand_default",children:e.title}),e.labelText&&(0,o.jsx)("span",{className:"inline-block bg-purple-500 text-white text-xs px-2 py-1 rounded",children:e.labelText})]})})})}function tk({section:e,daCta:t,daMenuItem:n,closeMenu:a}){return(0,o.jsxs)("section",{className:"mb-6",children:[(0,o.jsx)("h2",{className:"text-[0.6875rem] !font-semibold leading-[1] text-text_neutral_tertiary tracking-[0.02063rem] uppercase mt-[1rem] mb-[.5rem]",children:e.title}),(0,o.jsx)("ul",{className:"space-y-1",role:"list",children:e.items.map((e,r)=>(0,o.jsx)(tN,{dataAction:e.type===B.CTA?t:n,menuItem:e,closeMenu:a},r))})]})}function tj({editProfile:e,closeMenu:t}){return(0,o.jsx)(eJ.GenericButton,{variant:"primary",widthTablet:"Full Width",size:"md",width:"Full Width",link:e?.url??"/registration",openLinkInNewTab:!1,leadingIcon:void 0,name:"auth-action",onClick:t,className:"w-full",children:e?.title??"Edit Profile"})}function tA({shopNowButton:e,analytics:t,closeMenu:n}){return(0,o.jsx)(eJ.GenericButton,{variant:"secondary",widthTablet:"Full Width",size:"md",width:"Full Width",link:e?.url??"/en-us/products",openLinkInNewTab:!1,leadingIcon:void 0,analytics:eG(t,"Shop now"),name:"shop-now",onClick:n,className:"w-full",children:e?.labelText??"Shop now"})}function tT({signup:e,vortexMobile:t,closeMenu:n}){return(0,o.jsx)(eJ.GenericButton,{variant:"primary",widthTablet:"Full Width",size:"md",width:"Full Width",link:e?.url||"/registration",openLinkInNewTab:!1,analytics:eG(t,"Sign in"),leadingIcon:void 0,name:"auth-action",onClick:n,className:"w-full",children:e?.labelText??"Sign in"})}function tS({label:e,onLogoutHandler:t}){return(0,o.jsx)(eJ.GenericButton,{variant:"secondary",widthTablet:"Full Width",size:"md",width:"Full Width",link:"",openLinkInNewTab:!1,leadingIcon:void 0,name:"auth-action",onClick:t,className:"w-full",children:e??"Log out"})}function tE({isMenuOpen:e,onMenuStateChange:t,currentView:n,closeMenu:a,navItems:r,onSubmenuClick:i,isLogged:l,logoutLabel:c,signup:d,shopNowButton:u,editProfile:p,onLogout:h,onBackClick:f,activeNavItem:m,analytics:x,className:v,isAuthEnabled:b}){let y=(0,s.useMemo)(()=>({bmBurgerButton:{position:"fixed",width:"24px",height:"24px",left:"16px",top:"12px",zIndex:"9999"},bmBurgerBars:{background:"#374151",height:"2px"},bmBurgerBarsHover:{background:"#374151"},bmCrossButton:{height:"32px",width:"32px",right:"16px",top:"16px",zIndex:"10001",display:"none"},bmCross:{background:"#374151",height:"2px",width:"2px"},bmMenuWrap:{position:"fixed",height:"100vh",width:"100vw",left:"0",top:"0",zIndex:"10000"},bmMenu:{background:"#ffffff",padding:"0",fontSize:"16px",overflow:"auto",width:"100%",height:"100%"},bmMorphShape:{fill:"#373a47"},bmItemList:{color:"#374151",padding:"0",height:"100%"},bmItem:{display:"block"},bmOverlay:{background:"rgba(0, 0, 0, 0.5)",zIndex:"9998",top:"0",left:"0",width:"100vw",height:"100vh"}}),[n]),[_,w]=s.default.useState(null),C=!!_;(0,s.useEffect)(()=>{w(e?"opening":"closing"),setTimeout(()=>{w(null)},500)},[e]);let N=(0,s.useMemo)(()=>ez(m),[m]),k=e&&"main"===n,j=e&&"submenu"===n;return(0,o.jsx)("div",{inert:!e,children:(0,o.jsx)(t_.fallDown,{width:"100%",isOpen:e,onStateChange:t,styles:y,customBurgerIcon:!1,customCrossIcon:!1,disableAutoFocus:!0,"aria-modal":"true","aria-label":"Navigation menu",className:v,children:(0,o.jsxs)("div",{className:"h-full flex flex-col relative overflow-hidden",role:"main","data-lenis-prevent":!0,children:[(0,o.jsx)(eU.FocusTrap,{active:k&&!C,focusTrapOptions:tL,children:(0,o.jsxs)("section",{className:`main-section absolute inset-0 !flex flex-col transition-transform duration-300 ease-in-out ${"main"===n?"translate-x-0":"-translate-x-full"}`,inert:!k,children:[(0,o.jsxs)("header",{className:"!flex items-center justify-between py-[.5rem] px-[.875rem] bg-white",children:[(0,o.jsx)("div",{className:"w-11 h-11","aria-hidden":"true"}),(0,o.jsx)(A.NativeButton,{onClick:a,className:"main-close-button text-gray-600 hover:text-gray-800 transition-colors min-w-[44px] min-h-[44px] flex items-center justify-center active:bg-red-500",ariaLabel:"Close navigation menu",type:"button",children:(0,o.jsx)(tb.CloseNavIcon,{className:"size-5"})})]}),(0,o.jsx)("nav",{className:"flex-1 overflow-y-auto","aria-label":"Main menu",children:(0,o.jsx)("ul",{role:"list",children:r?.map((e,t)=>(0,o.jsx)(tC,{handleSubmenuClick:i,navItem:e,analytics:x?.navigationAnalytics?.menuList},t))})}),b&&(0,o.jsx)("div",{className:"p-4 space-y-[.5rem]",children:l?(0,o.jsxs)(o.Fragment,{children:[!!p&&(0,o.jsx)(tj,{editProfile:p,closeMenu:a}),(0,o.jsx)(tS,{label:c,onLogoutHandler:h})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(tT,{signup:d,vortexMobile:x?.ctaAnalytics?.vortexMobile,closeMenu:a}),!!u&&(0,o.jsx)(tA,{shopNowButton:u,analytics:x?.headerLinkAnalytics?.shopNowAnalytics,closeMenu:a})]})})]})}),(0,o.jsx)(eU.FocusTrap,{active:j&&!C,focusTrapOptions:tL,children:(0,o.jsxs)("section",{className:`absolute inset-0 !flex flex-col transition-transform duration-300 ease-in-out bg-white ${"submenu"===n?"translate-x-0":"translate-x-full"}`,inert:!j,children:[(0,o.jsxs)("header",{className:"!flex items-center justify-between py-[.5rem] px-[.875rem] bg-white",children:[(0,o.jsx)(A.NativeButton,{onClick:f,className:"submenu-back-button flex items-center text-gray-600 hover:text-gray-800 transition-colors min-w-[44px] min-h-[44px] justify-center",ariaLabel:"Go back to main menu",type:"button",children:(0,o.jsx)(ty,{className:"[&_path]:stroke-border_brand_default"})}),m?.title&&(0,o.jsx)("h2",{className:"text-[1.25rem] !font-semibold leading-[1.4] text-[#063C50]",children:m?.title}),(0,o.jsx)(A.NativeButton,{onClick:a,className:"submenu-close-button text-gray-600 hover:text-gray-800 transition-colors min-w-[44px] min-h-[44px] flex items-center justify-center",ariaLabel:"Close navigation menu",type:"button",children:(0,o.jsx)(tb.CloseNavIcon,{className:"size-5"})})]}),(0,o.jsx)("nav",{className:"flex-1 overflow-y-auto px-4 py-[1rem]","aria-label":`${m?.title} navigation`,children:N?.map((e,t)=>
1621(0,o.jsx)(tk,{section:e,daCta:x?.navigationAnalytics?.cta,daMenuItem:x?.navigationAnalytics?.menuItem,closeMenu:a},t))})]})})]})})})}let tL={fallbackFocus:()=>document.querySelector(`#${tP}`)??document.body};function tI({className:e}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:e,children:(0,o.jsx)("path",{d:"M4.43021 16.1987C4.93714 15.0043 6.12073 14.1667 7.49996 14.1667H12.5C13.8792 14.1667 15.0628 15.0043 15.5697 16.1987M13.3333 7.91666C13.3333 9.75761 11.8409 11.25 9.99996 11.25C8.15901 11.25 6.66663 9.75761 6.66663 7.91666C6.66663 6.07571 8.15901 4.58332 9.99996 4.58332C11.8409 4.58332 13.3333 6.07571 13.3333 7.91666ZM18.3333 9.99999C18.3333 14.6024 14.6023 18.3333 9.99996 18.3333C5.39759 18.3333 1.66663 14.6024 1.66663 9.99999C1.66663 5.39762 5.39759 1.66666 9.99996 1.66666C14.6023 1.66666 18.3333 5.39762 18.3333 9.99999Z",stroke:"#0A6365",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}function tF({sharedCollection:e,vortexMobile:t,profileLink:n,label:a}){return(0,o.jsx)(A.NativeButton,{ariaLabel:`${a||e?.profile||"Profile"} menu`,className:`${t?.eventAction} p-3 hover:bg-gray-100 rounded m-0 transition-colors text-gray-600 min-w-[44px] min-h-[44px] flex items-center justify-center`,dataActionDetail:t?.dynamicEventLabel(e?.profile||"My Profile"),dataAnalyticsEventCategory:t?.eventCategory,onClick:()=>{window.location.href=n},type:"button",children:(0,o.jsx)(tI,{})})}function tB({signup:e,vortexMobile:t}){return(0,o.jsx)(er.NextLink,{href:e?.url||"/registration","aria-label":"Sign in to your account",className:`${t?.eventAction} m-0 p-3 hover:bg-gray-100 rounded transition-colors text-gray-600 min-w-[44px] min-h-[44px] flex items-center justify-center`,"data-action-detail":t?.dynamicEventLabel("Sign in"),"data-analytics-event-category":t?.eventCategory,prefetch:!1,children:(0,o.jsx)(tI,{})})}function tO({className:e}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:e,children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16663 1.66666C5.02449 1.66666 1.66663 5.02452 1.66663 9.16666C1.66663 13.3088 5.02449 16.6667 9.16663 16.6667C10.9375 16.6667 12.565 16.0529 13.848 15.0266L16.9107 18.0892C17.2361 18.4147 17.7638 18.4147 18.0892 18.0892C18.4147 17.7638 18.4147 17.2362 18.0892 16.9107L15.0265 13.8481C16.0529 12.565 16.6666 10.9375 16.6666 9.16666C16.6666 5.02452 13.3088 1.66666 9.16663 1.66666ZM3.33329 9.16666C3.33329 5.945 5.94497 3.33332 9.16663 3.33332C12.3883 3.33332 15 5.945 15 9.16666C15 12.3883 12.3883 15 9.16663 15C5.94497 15 3.33329 12.3883 3.33329 9.16666Z",fill:"#0A6365"})})}function tM({className:e}){return(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",className:e,children:(0,o.jsx)("path",{d:"M2.5 10H17.5M2.5 5H17.5M2.5 15H17.5",stroke:"#0A6365",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}let t$=({className:e,sharedCollection:t,items:n,isLogged:a,analytics:r,search:i,searchIsOpen:l,searchControl
1621sId:c,onLogoutHandler:d,isAuthEnabled:u})=>{let p=n.navItems,[h,f]=(0,s.useState)(!1),[m,x]=(0,s.useState)(null),v=(0,s.useRef)(null);(0,s.useEffect)(()=>{h||v.current?.focus()},[h,v]),(0,td.useBodyScrollPrevention)({isShowing:h});let b=n?.cta?.find(e=>"edit-profile"===tx(e?.title?.toLowerCase()??"")),y=n?.cta?.find(e=>"registration"===tx(e?.title?.toLowerCase()??"")),_=n?.cta?.find(e=>"shop-now"===tx(e?.title?.toLowerCase()??"")),w=n?.vortexScenario,C=r?.searchAnalytics?.searchButton??{},N=a?(0,o.jsx)(tF,{sharedCollection:t,vortexMobile:r?.ctaAnalytics?.vortexMobile,profileLink:b?.url}):w&&(0,o.jsx)(tB,{signup:y,vortexMobile:r?.ctaAnalytics?.vortexMobile});return(0,o.jsxs)(tv,{className:`mobile-nav-container ${e||""}`,role:"navigation","aria-label":"Main navigation",children:[(0,o.jsxs)("header",{className:"sticky top-0 max-h-[3.5rem] z-50 !flex items-center justify-between pl-[1.5rem] pr-[0.563rem] py-[0.25rem] bg-white text-gray-800 transition ease-in-out duration-300",children:[(0,o.jsx)(eY,{componentID:"to-home-mobile",image:n?.logo?.image,url:n.logo?.url,isHeader:n?.enableH1Tag??!0,ariaLabel:t?.home}),n?.mobileCta&&(0,o.jsx)("section",{className:"!flex-1 !flex justify-end","aria-label":"App download",children:(0,o.jsx)(tf.CfGenericButton,{genericButton:n.mobileCta,className:"!flex items-center space-x-2"})}),(0,o.jsxs)("div",{className:"!flex items-center space-x-1 [&_path]:stroke-border_brand_default",role:"toolbar","aria-label":"User actions",children:[u&&N,i?.isActivated&&(0,o.jsx)(A.NativeButton,{onClick:i.onClick,ariaLabel:i.title||t?.searchText,ariaExpanded:l,ariaHasPopup:"dialog",ariaControls:c&&l?c:void 0,type:"button",className:`${C?.eventAction} m-0 p-3 hover:bg-gray-100 rounded transition-colors text-gray-600 min-w-[44px] min-h-[44px] !flex items-center justify-center`,dataActionDetail:C?.dynamicEventLabel("Search"),dataAnalyticsEventCategory:C?.eventCategory,children:(0,o.jsx)(tO,{className:"[&_path]:stroke-none [&_path]:fill-ds-icon-primary-default"})}),(0,o.jsx)(A.NativeButton,{onClick:()=>f(!h),id:tP,className:"m-0 p-3 hover:bg-gray-100 rounded transition-colors text-gray-600 min-w-[44px] min-h-[44px] !flex items-center justify-center",ariaLabel:"Open navigation menu",ariaExpanded:h,type:"button",ref:v,children:(0,o.jsx)(tM,{})})]})]}),(0,o.jsx)(th,{modalKey:"mobile-menu-modal",open:h,children:(0,o.jsx)(tE,{className:e,isMenuOpen:h,onMenuStateChange:e=>{f(e.isOpen),e.isOpen||setTimeout(()=>{x(null)},500)},currentView:m?"submenu":"main",closeMenu:()=>{f(!1),setTimeout(()=>{x(null)},500)},navItems:p,onSubmenuClick:e=>{x(e)},isLogged:a,signup:y,shopNowButton:_,logoutLabel:t?.logout||"Log out",editProfile:b,onLogout:d,onBackClick:()=>{x(null)},activeNavItem:m,analytics:r,isAuthEnabled:u})})]})},tP="mobile-burger-button";var tz=e.i(280277);function tD({className:e,sharedCollection:t,items:n,isLogged:a,analytics:r,onLogoutHandler:i,search:l,searchIsOpen:c,searchControl
1621sId:u,lazyload:p,redirectAfterSignupUrl:h,enableHeaderStickyBehavior:f=!0,isAuthEnabled:m}){let x=(0,tz.useIsHeaderVisible)();return(0,s.useEffect)(()=>{h&&localStorage.setItem("thank-you-path",h)},[h]),(0,o.jsx)(tc,{className:(0,d.cx)("header","z-1300 bg-white w-full h-14 flex flex-col max-h-25 xl:h-22.5","transition-transform duration-500 ease-in-out will-change-transform",f?"sticky top-0":"relative",x?"transform-[translateY(0)]":"transform-[translateY(-110%)]",e),"data-cy":"header",role:"banner",children:(0,o.jsxs)("nav",{className:"nav h-full",role:"navigation",children:[(0,o.jsx)(t$,{analytics:r,isLogged:a,items:n,lazyload:p,onLogoutHandler:i,search:l,searchIsOpen:c,searchControlsId:u,sharedCollection:t,isAuthEnabled:m}),(0,o.jsx)(ts,{analytics:r,isLogged:a,items:n,onLogoutHandler:i,search:l,searchIsOpen:c,searchControlsId:u,sharedCollection:t,isAuthEnabled:m})]})})}var tR=e.i(770703),tH=e.i(686284),tW=e.i(572091);function tq({className:e,title:t,description:n,url:a,openInNewTab:r=!1,analytics:i}){let l=s.default.useContext(h.UIContext),c=l?.platformUserAgent||" ",d=!!l?.rtl,u=(0,o.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.744078 12.2441L5.98816 6.99998L0.744078 1.7559C0.418641 1.43047 0.418641 0.902828 0.744078 0.577391C1.06951 0.251954 1.59715 0.251954 1.92259 0.577391L7.75592 6.41072C8.08136 6.73616 8.08136 7.2638 7.75592 7.58923L1.92259 13.4226C1.59715 13.748 1.06951 13.748 0.744078 13.4226C0.418641 13.0971 0.418641 12.5695 0.744078 12.2441Z",fill:"white"})});return(0,o.jsx)(tU,{href:a,rtl:d,className:["members-stripe accessible-variant",c,e,i?.eventAction?i?.eventAction:"event_button_click"].join(" "),"data-action-detail":`${i?.eventLabel}`,"data-event-category":i?.eventCategory,target:r?"_blank":"_self",rel:"noopener noreferrer","data-cy":"MembersStripe",children:(0,o.jsxs)("div",{className:"members-stripe__container",children:[(0,o.jsxs)("div",{className:"members-stripe__container-box",children:[(0,o.jsx)("h4",{children:t}),(0,o.jsx)("p",{children:n})]}),(0,o.jsx)("div",{className:"members-stripe__container-arrow",children:u})]})})}let tV=c.css` 1622 &.members-stripe { 1623 .members-stripe__container { 1624 .members-stripe__container-box { 1625 margin-left: auto; 1626 padding-left: 20px; 1627 } 1628 .members-stripe__container-arrow { 1629 margin-right: auto; 1630 padding-right: 20px; 1631 1632 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1633 padding-right: 0px; 1634 } 1635 } 1636 1637 .members-stripe__container-arrow svg { 1638 margin-left: auto; 1639 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1640 margin-left: inherit; 1641 left: -10px; 1642 } 1643 } 1644 } 1645 1646 @keyframes members-stripe-animation { 1647 100% { 1648 left: 10px; 1649 position: relative; 1650 } 1651 } 1652 } 1653`,tK=c.css` 1654 &.members-stripe { 1655 .members-stripe__container { 1656 .members-stripe__container-box { 1657 margin-right: auto; 1658 padding-right: 20px; 1659 } 1660 .members-stripe__container-arrow { 1661 margin-left: auto; 1662 padding-left: 20px; 1663 1664 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1665 padding-left: 0px; 1666 } 1667 } 1668 1669 .members-stripe__container-arrow svg { 1670 margin-right: auto; 1671 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1672 margin-right: inherit; 1673 right: -10px; 1674 } 1675 } 1676 } 1677 1678 @keyframes members-stripe-animation { 1679 100% { 1680 right: 10px; 1681 position: relative; 1682 } 1683 } 1684 } 1685`,tG=c.css` 1686 &.members-stripe { 1687 background-color: var(--color-teal-700); 1688 width: 100%; 1689 min-height: 60px; 1690 padding-top: 8px; 1691 padding-bottom: 8px; 1692 display: block; 1693 1694 :hover, 1695 :focus { 1696 text-decoration: none; 1697 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1698 .members-stripe__container .members-stripe__container-arrow svg { 1699 animation: members-stripe-animation 1s alternate; 1700 animation-iteration-count: var(--animation-iteration); 1701 } 1702 } 1703 } 1704 1705 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1706 min-height: 48px; 1707 top: 80px; 1708 } 1709 1710 .members-stripe__container { 1711 display: flex; 1712 height: 100%; 1713 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1714 gap: 8px; 1715 } 1716 1717 .members-stripe__container-box { 1718 min-height: 44px; 1719 width: 90%; 1720 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1721 display: flex; 1722 flex-wrap: nowrap; 1723 gap: 4px; 1724 width: auto; 1725 padding: 0; 1726 } 1727 } 1728 1729 .members-stripe__container-box h4 {
1730 font-family: var(--font-primary); 1731 color: var(--color-white-100); 1732 font-size: calc(16px + var(--zoom)); 1733 font-weight: 700; 1734 line-height: 24px; 1735 margin-top: auto; 1736 margin-bottom: auto; 1737 } 1738 1739 .members-stripe__container-box p { 1740 font-family: var(--font-primary); 1741 color: var(--color-white-100); 1742 font-size: calc(14px + var(--zoom)); 1743 font-weight: 400; 1744 line-height: 20px; 1745 margin-top: auto; 1746 margin-bottom: auto; 1747 } 1748 1749 .members-stripe__container-arrow { 1750 width: 10%; 1751 height: 100%; 1752 margin-top: auto; 1753 margin-bottom: auto; 1754 display: flex; 1755 1756 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1757 width: auto; 1758 } 1759 } 1760 .members-stripe__container-arrow svg { 1761 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1762 margin-bottom: -3px; 1763 } 1764 } 1765 } 1766 } 1767 &.members-stripe.compo-ios, 1768 &.members-stripe.compo-ios-chrome { 1769 .members-stripe__container-arrow svg { 1770 @media only screen and (min-width: ${l.TABLET_BREAKPOINT}px) { 1771 margin-bottom: 3px; 1772 } 1773 } 1774 } 1775`,tU=c.default.a.withConfig({displayName:"MembersStripe__StyledWrapper",componentId:"sc-1cfd9d7b-0"})` 1776 ${tG} 1777 ${e=>e.rtl?tK:tV} 1778`;var tY=e.i(895395),tX=e.i(123333),tZ=e.i(431409);let tQ=function(e,t){var n=(0,s.useState)(null),a=n[0],r=n[1];return(0,s.useEffect)(function(){if(e.current&&"function"==typeof IntersectionObserver){var n=new IntersectionObserver(function(e){r(e[0])},t);return n.observe(e.current),function(){r(null),n.disconnect()}}return function(){}},[e.current,t.threshold,t.root,t.rootMargin]),a};function tJ({threshold:e=0,defaultValue:t=!0}){let n=(0,s.useRef)(null),a=tQ(n,{threshold:e});return{isIntersecting:a?.isIntersecting??t,ref:n}}e.s(["useIsIntersecting",0,tJ],572424);var t0=e.i(109021),t1=e.i(618566),t3=e.i(83312),t2=e.i(865820),t2=t2;let t6=(e,t)=>{let[n,a=""]=e.split("?",2),r=new URLSearchParams(a);for(let[e,n]of Object.entries(t))null!=n&&r.set(e,n);return`${n}?${r.toString()}`};e.s(["appendSearchAnalyticsParams",0,t6],353839);let t5=(e,t)=>{if(!e.AlgoliaSearch)throw Error("AlgoliaSearch config is missing");let n=e.AlgoliaSearch.searchLpUrl;return`${n}?term=${encodeURIComponent(t)}`},t4={eventCategory:"event_informational_action",eventAction:"event_menu_click",eventLabel:"ENG_LINK_HEADER_Navigation search_SearchProducts-{{element_text}}"},t7={eventCategory:"event_informational_action",eventAction:"event_menu_click",eventLabel:"ENG_LINK_HEADER_Navigation search_SearchResources-{{element_text}}"},t8={eventCategory:"event_informational_action",eventAction:"event_menu_click",eventLabel:"ENG_LINK_HEADER_Navigation search_SearchAutocomplete-{{element_text}}"},t9={eventCategory:"event_informational_action",eventAction:"event_menu_click",eventLabel:"ENG_LINK_HEADER_Navigation search_SearchHelpCenter-{{element_text}}"};function ne({items:e=[],className:t,heading:n}){if(0===e.length)return null;let a="help-center-heading";return(0,o.jsxs)("section",{className:(0,d.cx)("relative",t),"aria-labelledby":a,children:[(0,o.jsx)("div",{className:"hidden xl:block absolute bg-background_decorative_warmgrey -top-250 -bottom-250 left-0 -right-250","aria-hidden":!0}),(0,o.jsxs)("div",{className:"relative z-10 py-6 lg:py-0 lg:ps-10",children:[(0,o.jsx)("span",{id:a,className:"text-[0.688rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem] block mb-2 leading-none",children:n}),(0,o.jsx)("nav",{"aria-label":n,children:(0,o.jsx)("ul",{className:"flex flex-col list-none m-0 p-0 gap-1 lg:gap-2",children:e.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)(nt,{item:e})},e.id))})})]})]})}function nt({item:e}){return(0,o.jsxs)(er.NextLink,{href:e.url,target:e.openInNewWindow?"_blank":"_self",rel:e.openInNewWindow?"noopener noreferrer":void 0,className:(0,d.cx)("py-3 flex items-center gap-1 text-base text-text_brand_default","hover:text-background_brand_primary_hover no-underline hover:underline outline-border_focus_default","focus:bg-background_decorative_grey w-[calc(100%+1rem)] rounded-lg -mx-2 px-2",t9.eventAction),"aria-label":e.title,"data-action-detail":t9?.eventLabel.replace("{{element_text}}",e.title),"data-event-category":t9?.eventCategory,children:[e.icon&&(0,o.jsx)(F.CfImage,{asset:e.icon,className:"size-5 shrink-0 object-contain","aria-hidden":!0}),(0,o.jsx)("span",{className:"w-full font-semibold leading-none ",children:e.title})]})}var nn=e.i(447658),na=e.i(855535);
1778function nr({className:e,ariaControls:t,uiStrings:n,initialQuery:a="",onChange:r,onChangeImmediately:i,onFocus:l,onSubmit:c}){var u;let p=(0,s.useRef)(null),[h,f]=(0,s.useState)(!!a.length),m=(u=e=>{let t=e.target.value,n=t.length<3?"":t;f(!!n.length),r(n)},(0,s.useCallback)((0,na.debounce)(u,300,void 0),[300,void 0])),x={size:"sm",widthTablet:"Fit Content",width:"Fit Content",variant:"tertiary"};return(0,o.jsxs)("form",{onSubmit:e=>{e.preventDefault(),c(e.currentTarget.query.value)},className:(0,d.cx)("w-full flex items-center relative",e),children:[(0,o.jsx)(eJ.GenericButton,{type:"submit",...x,leadingIcon:(0,o.jsx)(nn.Search,{className:"size-4"}),ariaLabel:n.search.submit,className:"absolute inset-s-2 w-8!"}),(0,o.jsx)("input",{ref:p,type:"search",role:"searchbox",name:"query","aria-label":n.search.searchBoxPlaceholder,placeholder:n.search.searchBoxPlaceholder,id:"search-input",className:(0,d.cx)("px-11 py-2 xl:py-3 border w-full rounded-full border-transparent bg-background_decorative_warmgrey","outline-offset-4! outline-border_focus_default","[&::-webkit-search-decoration]:hidden [&::-webkit-search-cancel-button]:hidden","[&::-webkit-search-results-button]:hidden [&::-webkit-search-results-decoration]:hidden","focus:placeholder:opacity-0 hover:bg-background_decorative_grey"),onChange:e=>{m(e),i?.(e.target.value)},onFocus:l,defaultValue:a,autoComplete:"off","aria-controls":t}),h&&(0,o.jsx)(eJ.GenericButton,{type:"reset",...x,leadingIcon:(0,o.jsx)(tb.CloseNavIcon,{}),ariaLabel:n.search.searchBoxClear,onClick:()=>{f(!1),r(""),p.current&&(p.current.value="")},className:"absolute inset-e-2 top-2 w-8!"})]})}var ni=e.i(4091);function no({logo:e,close:t,className:n,uiStrings:a}){let r=(0,tY.useConfig)();return(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:(0,d.cx)("relative flex flex-row justify-center lg:justify-between items-center border-none",n),children:[(0,o.jsx)("div",{className:"search-logo","aria-label":e?.description,children:(0,o.jsx)(D.NativeLink,{href:`/${r.Pages.locale}`,className:"border-none h-8 xl:h-10 block border mt-2 relative w-20 xl:w-28",children:(0,o.jsx)(F.CfImage,{asset:e,fill:!0})})}),(0,o.jsx)(ni.IconButton,{size:"lg",variant:"ghost",ariaLabel:a.search.closeSearch,onClick:t,className:"absolute -inset-e-2 top-2 w-8! z-20",children:(0,o.jsx)(tb.CloseNavIcon,{})})]})})}function nl({className:e}){return(0,o.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,o.jsx)("path",{d:"M7 2.5H3.83333C3.36662 2.5 3.13327 2.5 2.95501 2.59083C2.79821 2.67072 2.67072 2.79821 2.59083 2.95501C2.5 3.13327 2.5 3.36662 2.5 3.83333V7C2.5 7.46671 2.5 7.70007 2.59083 7.87833C2.67072 8.03513 2.79821 8.16261 2.95501 8.24251C3.13327 8.33333 3.36662 8.33333 3.83333 8.33333H7C7.46671 8.33333 7.70007 8.33333 7.87833 8.24251C8.03513 8.16261 8.16261 8.03513 8.24251 7.87833C8.33333 7.70007 8.33333 7.46671 8.33333 7V3.83333C8.33333 3.36662 8.33333 3.13327 8.24251 2.95501C8.16261 2.79821 8.03513 2.67072 7.87833 2.59083C7.70007 2.5 7.46671 2.5 7 2.5Z",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16.1667 2.5H13C12.5333 2.5 12.2999 2.5 12.1217 2.59083C11.9649 2.67072 11.8374 2.79821 11.7575 2.95501C11.6667 3.13327 11.6667 3.36662 11.6667 3.83333V7C11.6667 7.46671 11.6667 7.70007 11.7575 7.87833C11.8374 8.03513 11.9649 8.16261 12.1217 8.24251C12.2999 8.33333 12.5333 8.33333 13 8.33333H16.1667C16.6334 8.33333 16.8667 8.33333 17.045 8.24251C17.2018 8.16261 17.3293 8.03513 17.4092 7.87833C17.5 7.70007 17.5 7.46671 17.5 7V3.83333C17.5 3.36662 17.5 3.13327 17.4092 2.95501C17.3293 2.79821 17.2018 2.67072 17.045 2.59083C16.8667 2.5 16.6334 2.5 16.1667 2.5Z",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16.1667 11.6667H13C12.5333 11.6667 12.2999 11.6667 12.1217 11.7575C11.9649 11.8374 11.8374 11.9649 11.7575 12.1217C11.6667 12.2999 11.6667 12.5333 11.6667 13V16.1667C11.6667 16.6334 11.6667 16.8667 11.7575 17.045C11.8374 17.2018 11.9649 17.3293 12.1217 17.4092C12.2999 17.5 12.5333 17.5 13 17.5H16.1667C16.6334 17.5 16.8667 17.5 17.045 17.4092C17.2018 17.3293 17.3293 17.2018 17.4092 17.045C17.5 16.8667 17.5 16.6334 17.5 16.
17781667V13C17.5 12.5333 17.5 12.2999 17.4092 12.1217C17.3293 11.9649 17.2018 11.8374 17.045 11.7575C16.8667 11.6667 16.6334 11.6667 16.1667 11.6667Z",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M7 11.6667H3.83333C3.36662 11.6667 3.13327 11.6667 2.95501 11.7575C2.79821 11.8374 2.67072 11.9649 2.59083 12.1217C2.5 12.2999 2.5 12.5333 2.5 13V16.1667C2.5 16.6334 2.5 16.8667 2.59083 17.045C2.67072 17.2018 2.79821 17.3293 2.95501 17.4092C3.13327 17.5 3.36662 17.5 3.83333 17.5H7C7.46671 17.5 7.70007 17.5 7.87833 17.4092C8.03513 17.3293 8.16261 17.2018 8.24251 17.045C8.33333 16.8667 8.33333 16.6334 8.33333 16.1667V13C8.33333 12.5333 8.33333 12.2999 8.24251 12.1217C8.16261 11.9649 8.03513 11.8374 7.87833 11.7575C7.70007 11.6667 7.46671 11.6667 7 11.6667Z",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})]})}e.s(["SuggestionIcon",0,nl],245992);var ns=e.i(556585);function nc({title:e,ariaLabel:t,category:n,subcategory:a,href:r,analytics:i,onClick:l,image:s}){return(0,o.jsxs)(er.NextLink,{className:(0,d.cx)("flex gap-2 h-12 items-center rounded-xl text-text_neutral_default! outline-border_focus_default outline-offset-4",i?.eventAction),href:r,"aria-label":t,"data-action-detail":i?.eventLabel,"data-event-category":i?.eventCategory,onClick:l,children:[s?(0,o.jsx)(F.CfImage,{className:"object-cover size-7 bg-background_decorative_grey!",asset:s}):(0,o.jsx)("div",{className:"size-7 flex justify-center items-center",children:(0,o.jsx)(nl,{className:"size-5"})}),(0,o.jsxs)("div",{className:"h-full flex flex-col justify-center [&_mark]:font-semibold [&_mark]:bg-transparent [&_mark]:text-inherit",children:[(0,o.jsx)("span",{className:"w-full text-sm leading-[1em]",children:e}),(0,o.jsxs)("span",{className:"text-[0.6875rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem]",children:[n,a&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ns.ChevronRightIcon,{className:"size-3 inline-block stroke-2"}),a]})]})]})]})}function nd({parts:e,fallback:t}){return e?(0,o.jsx)("span",{children:e.map((e,t)=>{let n=`${e.text}-${t}`;return(0,o.jsx)(o.Fragment,{children:e.bold?(0,o.jsx)("mark",{className:"font-semibold bg-transparent text-inherit",children:e.text}):e.text},n)})}):t??null}var nu=e.i(382543),np=e.i(490360);function nh({allResults:e,uiStrings:t,className:n,isDefaultState:a}){let{sendClickEvent:r}=(0,np.useSearchPanelAnalytics)();return(0,o.jsxs)("div",{className:n,children:[(0,o.jsx)("span",{className:"sr-only",children:t.search.resources}),e.map(e=>{let n=(0,o.jsx)(nd,{parts:e.titleHighlighted,fallback:e.title}),i="product"===e.resultType&&e.productType?{highlighted:e.productTypeHighlighted,text:e.productType}:null,l=i?(0,o.jsx)(nd,{parts:i?.highlighted,fallback:i?.text}):null,s=t.search.hitTypes[e.resultType],c=[e.title,s,i?.text,t?.search?.searchResult].filter(Boolean).join(", "),d={...t8};d.eventLabel=d.eventLabel.replace("{{element_text}}",e.title);let u="algolia"===e.source?e.queryId:null,p=t6((0,nu.toRelativeUrl)(e.url),{utm_source:"Search Bar",utm_medium:"Suggestions",utm_content:"Typing state",queryID:a?null:u,objectID:"algolia"===e.source?e.id:null});return(0,o.jsx)(nc,{title:n,category:s,subcategory:l,href:p,image:e.image,ariaLabel:c,analytics:d,onClick:()=>r({result:e,eventName:"Hit Clicked (search bar - suggestions)",isClickAfterSearch:!a})},e.id)})]})}var nf=e.i(447699),nm=e.i(368379);function ng({image:e,label:t,href:n,className:a,ariaLabel:r,tag:i,orientation:l="vertical",onClick:s,headingTag:c="h3",analytics:u}){let p;return p=n?er.NextLink:s?"button":"div",(0,o.jsxs)(p,{href:n,onClick:s,"aria-label":r,"data-action-detail":u?.eventLabel,"data-event-category":u?.eventCategory,className:(0,d.cx)("flex items-center bg-background_decorative_grey! rounded-xl text-text_neutral_default! no-underline! overflow-hidden group outline-offset-4 outline-border_focus_default",{"flex-row h-27":"horizontal"===l,"flex-col":"vertical"===l},a,u?.eventAction),children:[(0,o.jsx)("div",{className:(0,d.cx)("shrink-0 overflow-hidden",{"h-full w-22.5":"horizontal"===l,"w-full h-22.5":"vertical"===l}),children:e&&(0,o.jsx)(F.CfImage,{className:"object-cover w-full h-full group-[&:hover]:scale-105 transition-transform duration-300 bg-background_decorative_beige",asset:e})}),(0,o.jsxs)("div",{className:"p-3! flex flex-col gap-2 justify-start grow-0 w-full h-full",children:[i&&(0,o.jsx)(nm.StaticTag,{color:"outlined",className:"w-fit",children:i}),(0,o.jsx)(nf.Typography,{as:c,variant:"s",className:"w-full font-semibold line-clamp-3 text-ellipsis group-[&:hover]:underline",style:{wordBreak:"break-word"},children:t})]})]})}var nx=e.i(866577);function nv({products:e,toolsAndArticles:t,uiStrings:n,className:a,isDefaultState:r}){let{sendClickEvent:i}=(0,np.useSearchPanelAnalytics)(),l=e.length>0,s=t.length>0;return(0,o.jsxs)("div",{className:a,children:[l&&(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:"text-[0.6875rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem] block mb-2 leading-none",children:n.search.product}),(0,o.jsx)("div",{className:"grid grid-cols-4 gap-4 mb-0",children:e.map(e=>{let t=`${e.title}, ${n.search.hitTypes.product}, ${n.search.searchResult}`,a=e.minSize&&e.maxSize?{minSize:e.minSize,maxSize:e.maxSize}:void 0,l={...t4};l.eventLabel=l.eventLabel.replace("{{element_text}}",e.title);let s=(0,nu.toRelativeUrl)(e.url),c="algolia"===e.source?e.queryId:null,d=t6(s,{utm_source:"Search Bar",utm_medium:"Products",utm_content:"Typing state",queryID:r?null:c,objectID:"algolia"===e.source?e.id:null});return(0,o.jsx)(nx.ProductTile,{title:e.title,type:"Minimal",foregroundAsset:e.image,topTagLabel:e.topTag,sizeTag:a,rating:{ratingNumber:e.rating},ariaLabel:t,uiStrings:n,path:d,analytics:l,onClick:()=>i({result:e,eventName:"Hit Clicked (search bar - products)",isClickAfterSearch:!r})},e.id)})})]}),s&&(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:"text-[0.6875rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem] block mb-2 leading-none",children:n.search.resources}),(0,o.jsx)("div",{className:"grid grid-cols-3 gap-4 mb-0",children:t.map(e=>{let t=n.search.hitTypes[e.resultType],a=`${e.title}, ${t}, ${n.search.searchResult}`,l={...t7}
1778;l.eventLabel=l.eventLabel.replace("{{element_text}}",e.title);let s="algolia"===e.source?e.queryId:null,c=t6((0,nu.toRelativeUrl)(e.url),{utm_source:"Search Bar",utm_medium:"Resources",utm_content:"Typing state",queryID:r?null:s,objectID:"algolia"===e.source?e.id:null});return(0,o.jsx)(ng,{href:c,image:e.image,label:e.title,ariaLabel:a,tag:t,orientation:"horizontal",headingTag:"span",analytics:l,onClick:()=>i({result:e,eventName:"Hit Clicked (search bar - resources)",isClickAfterSearch:!r})},e.id)})})]})]})}function nb({allResults:e,products:t,toolsAndArticles:n,className:a,uiStrings:r,isDefaultState:i}){return(0,o.jsxs)("div",{className:a,children:[(0,o.jsx)(nh,{allResults:e,uiStrings:r,className:"xl:hidden flex flex-col",isDefaultState:i}),(0,o.jsx)(nv,{products:t,toolsAndArticles:n,uiStrings:r,className:"hidden xl:flex flex-col gap-4",isDefaultState:i})]})}function ny(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"flex flex-col gap-4 xl:hidden",children:(0,o.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,o.jsx)(nC,{}),(0,o.jsx)(nC,{}),(0,o.jsx)(nC,{}),(0,o.jsx)(nC,{}),(0,o.jsx)(nC,{})]})}),(0,o.jsxs)("div",{className:"flex-col gap-12 hidden xl:flex",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,o.jsx)("div",{className:"bg-background_subtle_default! w-24 h-2 rounded-md"}),(0,o.jsxs)("div",{className:"grid gap-4 grid-cols-4",children:[(0,o.jsx)(n_,{}),(0,o.jsx)(n_,{}),(0,o.jsx)(n_,{}),(0,o.jsx)(n_,{})]})]}),(0,o.jsxs)("div",{className:"flex-col gap-2 hidden xl:flex",children:[(0,o.jsx)("div",{className:"bg-background_subtle_default! w-24 h-2 rounded-md"}),(0,o.jsxs)("div",{className:"grid gap-4 grid-cols-3",children:[(0,o.jsx)(nw,{}),(0,o.jsx)(nw,{}),(0,o.jsx)(nw,{})]})]})]})]})}function n_(){return(0,o.jsxs)("div",{className:"flex flex-col animate-pulse items-center w-full gap-2",children:[(0,o.jsx)("div",{className:"flex flex-col justify-center items-center overflow-hidden rounded-xl bg-background_subtle_default! w-full h-35"}),(0,o.jsxs)("div",{className:"w-full flex justify-between items-start gap-1",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-1 w-full",children:[(0,o.jsx)("div",{className:"bg-background_subtle_default! w-full h-3.5 rounded-md"}),(0,o.jsx)("div",{className:"bg-background_subtle_default! w-full h-3.5 rounded-md"})]}),(0,o.jsx)("div",{className:"flex gap-1 items-center shrink-0",children:(0,o.jsx)("div",{className:"bg-background_subtle_default! w-10 h-4.5 rounded-md"})})]})]})}function nw(){return(0,o.jsxs)("div",{className:"flex h-27.5 animate-pulse items-center bg-background_subtle_default! rounded-xl overflow-hidden",children:[(0,o.jsx)("div",{className:"bg-background_subtle_default! w-22.5 h-full"}),(0,o.jsxs)("div",{className:"p-3! flex flex-col gap-2 justify-start h-full w-full",children:[(0,o.jsx)("div",{className:"bg-background_subtle_default! w-16 h-5 rounded-md"}),(0,o.jsx)("div",{className:"bg-background_subtle_default! w-full h-5 rounded-md"}),(0,o.jsx)("div",{className:"bg-background_subtle_default! w-3/4 h-5 rounded-md"})]})]})}function nC(){return(0,o.jsxs)("div",{className:"animate-pulse flex gap-2 h-12 items-center rounded-xl",children:[(0,o.jsx)("div",{className:"size-7 rounded-sm bg-background_subtle_default!"}),(0,o.jsxs)("div",{className:"h-full flex flex-col justify-center w-full gap-1",children:[(0,o.jsx)("span",{className:"w-24 h-3 rounded-md bg-background_subtle_default!"}),(0,o.jsx)("span",{className:"w-44 h-3 rounded-md bg-background_subtle_default!"})]})]})}var nN=e.i(548443),nk=e.i(868453);function nj({item:e,uiStrings:t,className:n,isNoResultsState:a}){let{sendClickEvent:r}=(0,np.useSearchPanelAnalytics)(),i=e.topTag?{name:e.topTag}:void 0,l=e.minSize&&e.maxSize?{minSize:e.minSize,maxSize:e.maxSize}:void 0,s=function({sizeFromLabel:e,sizeToLabel:t,minSize:n,maxSize:a}){if(!n)return null;let r=e.replace("{0}",n);if(!a)return r;let i=t.replace("{0}",a);return`${r} ${i}`}({sizeFromLabel:t.productTile.sizeFromLabel,sizeToLabel:t.productTile.sizeToLabel,minSize:e.minSize,maxSize:e.maxSize}),c=(0,nk.buildProductTileAriaLabel)({productName:e.title,uiStrings:t.productTile,ecommerceTagLabel:i?.name,sizeTagLabel:s,rating:e.rating}),d={...t4};d.eventLabel=d.eventLabel.replace("{{element_text}}",e.title);let u=t6((0,nu.toRelativeUrl)(e.url),{utm_source:"Search Bar",utm_medium:"Products",utm_content:a?"No results":"Default state",objectID:"algolia"===e.source?e.id:null});return(0,o.jsx)(nx.ProductTile,{title:e.title,type:"Minimal",ariaLabel:c,path:u,rating:{ratingNumber:e.rating},foregroundAsset:e.image,topTagLabel:e.topTag,sizeTag:l,uiStrings:t,className:n,analytics:d,onClick:()=>r({result:e,eventName:"Hit Clicked (search bar - products)",isClickAfterSearch:!1})},e.id)}function nA({item:e,uiStrings:t,orientation:n,className:a,isNoResultsState:r}){let{sendClickEvent:i}=(0,np.useSearchPanelAnalytics)(),l=t.search.hitTypes[e.resultType],s=`${e.t
1778itle}, ${l}, ${t.search.popularResult}`,c={...t7};c.eventLabel=c.eventLabel.replace("{{element_text}}",e.title);let d=t6((0,nu.toRelativeUrl)(e.url),{utm_source:"Search Bar",utm_medium:"Resources",utm_content:r?"No results":"Default state",objectID:"algolia"===e.source?e.id:null});return(0,o.jsx)(ng,{href:d,image:e.image,label:e.title,ariaLabel:s,tag:l,orientation:n,headingTag:"span",analytics:c,className:a,onClick:()=>i({result:e,eventName:"Hit Clicked (search bar - resources)",isClickAfterSearch:!1})})}function nT({products:e,productsDesktop:t,allProductsLinkUrl:n,toolsAndArticles:a,toolsAndArticlesDesktop:r,uiStrings:i,isNoResultsState:l}){let s=e.length>0,c=a.length>0,u={...t4,eventLabel:t4.eventLabel.replace("{{element_text}}",i.search.viewAllProducts)};return(0,o.jsxs)("div",{children:[s&&(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"flex justify-between items-center w-full",children:[(0,o.jsx)("span",{className:"text-[0.6875rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem] block leading-none",children:i.search.product}),n&&(0,o.jsx)(nN.LinkTextButton,{size:"s",href:n,className:(0,d.cx)(u?.eventAction),dataActionDetail:u?.eventLabel,dataEventCategory:u?.eventCategory,ariaLabel:`${i.search.viewAllProducts} - ${i.search.product}`,children:i.search.viewAllProducts})]}),(0,o.jsx)("div",{className:"hidden lg:grid grid-cols-4 gap-4 mb-0",children:t.map(e=>(0,o.jsx)(nj,{item:e,uiStrings:i,className:"w-full",isNoResultsState:l},e.id))}),(0,o.jsx)("div",{className:"flex lg:hidden gap-2 overflow-x-auto overflow-y-visible -mx-6 px-6 -my-2 py-2 w-[calc(100%+3rem)]",children:e.map(e=>(0,o.jsx)(nj,{item:e,uiStrings:i,className:"w-35",isNoResultsState:l},e.id))})]}),c&&(0,o.jsxs)("div",{className:"mt-3",children:[(0,o.jsx)("span",{className:"text-[0.6875rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem] block mb-2 leading-none",children:i.search.resources}),(0,o.jsx)("div",{className:"hidden lg:grid grid-cols-3 gap-4 mb-0",children:r.map(e=>(0,o.jsx)(nA,{item:e,uiStrings:i,orientation:"horizontal",isNoResultsState:l},e.id))}),(0,o.jsx)("div",{className:"flex lg:hidden gap-2 overflow-x-auto -mx-6 px-6 -my-2 py-2 w-[calc(100%+3rem)]",children:a.map(e=>(0,o.jsx)(nA,{item:e,uiStrings:i,orientation:"vertical",className:"min-w-40",isNoResultsState:l},e.id))})]})]})}function nS({className:e}){return(0,o.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,o.jsx)("path",{d:"M5.83333 5C5.3731 5 5 5.3731 5 5.83333V14.1667C5 14.6269 5.3731 15 5.83333 15C6.29357 15 6.66667 14.6269 6.66667 14.1667V7.84518L13.5774 14.7559C13.9028 15.0814 14.4305 15.0814 14.7559 14.7559C15.0814 14.4305 15.0814 13.9028 14.7559 13.5774L7.84518 6.66667H14.1667C14.6269 6.66667 15 6.29357 15 5.83333C15 5.3731 14.6269 5 14.1667 5H5.83333Z",fill:"currentColor"})})}function nE({hit:e,isPopularSuggestion:t,uiStrings:n,className:a,onClick:r}){let i=(0,tY.useConfig)(),l=t?n?.search?.popularSuggestion:n?.search?.suggestion,s=`${e.query}, ${l}`,c=t6(t5(i,e.query),{utm_source:"Search Bar",utm_medium:t?"Popular Search":"Results"});return(0,o.jsxs)(er.NextLink,{href:c,className:(0,d.cx)("h-10 flex items-center justify-between w-[calc(100%+1rem)] rounded-lg -mx-2 px-2","outline-border_focus_default text-text_neutral_secondary hover:underline hover:text-background_brand_primary_hover","focus:bg-background_decorative_grey focus:text-background_brand_primary_hover",a,t8?.eventAction),"aria-label":s,"data-action-detail":t8?.eventLabel.replace("{{element_text}}",e.query),"data-event-category":t8?.eventCategory,onClick:r,children:[(0,o.jsx)("span",{"aria-hidden":!0,className:"text-sm [&_mark]:font-semibold [&_mark]:bg-transparent [&_mark]:text-inherit focus:underline text-ellipsis overflow-hidden line-clamp-2 leading-none",children:(0,o.jsx)(nd,{parts:e.queryHighlighted,fallback:e.query})}),(0,o.jsx)(nS,{className:"size-5 text-icon_brand_default shrink-0","aria-hidden":!0})]})}function nL({className:e,uiStrings:t,showsPopularSuggestions:n,popularSearchSuggestions:a,searchSuggestions:r}){let i=n?a:r,{sendClickEvent:l}=(0,np.useSearchPanelAnalytics)();return(0,o.jsxs)("div",{className:e,children:[(0,o.jsx)("span",{className:(0,d.cx)(!n&&"sr-only xl:not-sr-only","text-[0.6875rem] uppercase text-text_neutral_tertiary tracking-[0.02063rem] block mb-2 leading-none"),children:n?t.search.popularSearches:t.search.suggestions}),(0,o.jsx)("div",{className:(0,d.cx)("hidden xl:hidden",{block:n}),children:(0,o.jsx)("div",{className:"flex gap-2 overflow-x-auto -mx-6 px-6 -my-2 py-2 w-[calc(100%+3rem)]",children:a.map(e=>(0,o.jsx)(nI,{item:e,uiStrings:t,onClick:()=>{l({result:e,eventName:"Hit Clicked (search bar - popular searches)",isClickAfterSearch:!1})}},e.id))})}),(0,o.jsx)("div",{className:(0,d.cx)("block xl:block",{hidden:n}),children:i.map(e=>(0,o.jsx)(nE,{hit:e,uiStrings:t,isPopularSuggestion:n,className:"nth-[1n+6]:hidden xl:nth-[1n+6]:flex",onClick:()=>{l({result:e,eventName:"Hit Clicked (search bar - suggestions)",isClickAfterSearch:!n})}},e.id))})]})}function nI({item:e,uiStrings:t,onClick:n}){let a=(0,tY.useConfig)(),r=`${e.query}, ${t?.search?.popularSuggestion}`,i=t6(t5(a,e.query),{utm_source:"Search Bar",utm_medium:"Popular Search"});return(0,o.jsx)(er.NextLink,{href:i,className:(0,d.cx)(t8?.eventAction),"aria-label":r,"data-action-detail":t8?.eventLabel.replace("{{element_text}}",e.query),"data-event-category":t8?.eventCategory,onClick:n,children:(0,o.jsx)(nm.StaticTag,{className:"max-w-[40vw] whitespace-nowrap",color:"outlined",size:"m",ellipsis:!0,children:e.query})})}function nF({mobileSkeletonType:e}){return(0,o.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,o.jsx)("div",{className:(0,d.cx)("bg-background_subtle_default! w-24 h-2 rounded-md hidden xl:block",{block:"tags"===e})}),(0,o.jsxs)("div",{className:(0,d.cx)("hidden lg:hidden gap-2",{flex:"tags"===e}),children:[(0,o.jsx)(nB,{}),(0,o.jsx)(nB,{}),(0,o.jsx)(nB,{}),(0,o.jsx)(nB,{}),(0,o.jsx)(nB,{}),(0,o.jsx)(nB,{})]}),(0,o.jsxs)("div",{className:(0,d.cx)("hidden flex-col lg:flex",{flex:"suggestions"===e}),children:[(0,o.jsx)(nO,{}),(0,o.jsx)(nO,{}),(0,o.jsx)(nO,{}),(0,o.jsx)(nO,{}),(0,o.jsx)(nO,{}),(0,o.jsx)(nO,{className:"hidden xl:flex"})]})]})}function nB(){return(0,o.jsx)("div",{className:"animate-pulse bg-background_subtle_default! w-32 h-8 rounded-md shrink-0"})}function nO({className:e}){return(0,o.jsx)("div",{className:(0,d.cx)("h-10 flex items-center rounded-lg -mx-2 px-2!",e),children:(0,o.jsx)("div",{className:"bg-background_subtle_default! w-full h-3 rounded-md"})})}e.i(247167);var nM=e.i(743784);
1778let n$=function(e,t){var n=(0,s.useState)(void 0!==t?t:!!nM.isBrowser&&window.matchMedia(e).matches),a=n[0],r=n[1];return(0,s.useEffect)(function(){var t=!0,n=window.matchMedia(e),a=function(){t&&r(!!n.matches)};return n.addEventListener("change",a),r(n.matches),function(){t=!1,n.removeEventListener("change",a)}},[e]),a},nP={suggestions:[],totalSuggestions:0,products:[],totalProducts:0,toolsAndArticles:[],totalToolsAndArticles:0,allResults:[],totalResults:0,query:""};var nz=e.i(490123);let nD={suggestions:[],products:[],toolsAndArticles:[]};function nR({logo:e,close:t,isOpen:n,searchPanelData:a,uiStrings:r,query:i,setQuery:c}){let u=(0,tY.useConfig)(),p=(0,t1.useRouter)(),h=(0,s.useRef)(null);(0,t3.useClickAway)(h,t),(0,t2.default)("Escape",t);let f=(0,t0.useSearchClient)({allProducts:a.allProducts}),m=function({searchClient:e,defaultState:t,isPanelOpen:n}){let[a,r]=(0,s.useState)(!1),[i,o]=(0,s.useState)(nD);(0,s.useEffect)(()=>{if(!e)return;let a=!1;return(async()=>{if(!n)return;let{isProductsSectionVisible:i,isResourcesSectionVisible:l}=t,s=i&&0===t.products.length,c=l&&0===t.resources.length;try{r(!0);let n=await e.fetchPopularResults({shouldFetchProducts:s,shouldFetchResources:c});if(a)return;let d=[],u=[];i&&(d=s?n.products:t.products),l&&(u=c?n.toolsAndArticles:t.resources),o({suggestions:n.suggestions,products:d,toolsAndArticles:u})}finally{r(!1)}})(),()=>{a=!0}},[t,e,n]);let c=i.products.slice(0,4),d=i.toolsAndArticles.slice(0,0===i.products.length?6:3),u=(0,nz.default)(`(min-width: ${l.DESKTOP_BREAKPOINT}px)`,null);return(0,s.useEffect)(()=>{if(i===nD||!n||null===u)return;let t=u?"desktop":"mobile";"mobile"===t&&e?.sendInsightsViewEvents([{eventName:"Hits Viewed (search bar - suggestions)",results:i.suggestions},{eventName:"Hits Viewed (search bar - products)",results:i.products},{eventName:"Hits Viewed (search bar - resources)",results:i.toolsAndArticles}]),"desktop"===t&&e?.sendInsightsViewEvents([{eventName:"Hits Viewed (search bar - suggestions)",results:i.suggestions},{eventName:"Hits Viewed (search bar - products)",results:c},{eventName:"Hits Viewed (search bar - resources)",results:d}])},[e,c,d,i,n,u]),{...i,productsDesktop:c,toolsAndArticlesDesktop:d,isLoading:a}}({searchClient:f,defaultState:a.defaultState,isPanelOpen:n}),[x,v]=(0,s.useState)(!1),{results:b,isError:y,isLoading:_,isNoResults:w,totalSearchResultsFound:C,visibleSearchResultsCountDesktop:N,visibleSearchResultsCountMobile:k,visibleSuggestionsCountDesktop:j,visibleSuggestionsCountMobile:A}=function({query:e,searchClient:t}){let[n,a]=(0,s.useState)(!1),[r,i]=(0,s.useState)(!1),[o,c]=(0,s.useState)(nP);(0,s.useEffect)(()=>{if(!t)return;let n=!1;if(""===e){i(!1),a(!1),c(nP);return}return(async()=>{a(!0),i(!1);try{let r=await t.fetchResults(e);if(n)return;c(r),a(!1)}catch{if(n)return;i(!0),a(!1)}})(),()=>{n=!0}},[e,t]);let{isNoResults:d,modifiedResults:u,visibleSuggestionsCountDesktop:p,visibleSuggestionsCountMobile:h,visibleSearchResultsCountDesktop:f,visibleSearchResultsCountMobile:m,totalSearchResultsFound:x}=(0,s.useMemo)(()=>{let e=o.query.length>0&&0===o.totalResults,t=0===o.totalProducts,n=0===o.totalSuggestions,a=o.toolsAndArticles.slice(0,t?6:3),r={hitType:"suggestion",id:o.query,query:o.query,queryHighlighted:[{bold:!0,text:o.query}],source:"contentful"},i=n?[r]:o.suggestions,l=Math.min(i.length,5),s=Math.min(i.length,6),c={...o,toolsAndArticles:a,suggestions:i},d=c.products.length+c.toolsAndArticles.length,u=c.allResults.length;return{isNoResults:e,modifiedResults:c,visibleSuggestionsCountDesktop:s,visibleSuggestionsCountMobile:l,visibleSearchResultsCountDesktop:d,visibleSearchResultsCountMobile:u,totalSearchResultsFound:o.totalResults}},[o]),v=n$(`(min-width: ${l.DESKTOP_BREAKPOINT}px)`,null);return(0,s.useEffect)(()=>{if(o===nP||null===v)return;let e=v?"desktop":"mobile";"mobile"===e&&t?.sendInsightsViewEvents([{eventName:"Hits Viewed (search bar - suggestions)",results:u.suggestions.slice(0,5)},{eventName:"Hits Viewed (search bar - suggestions)",results:u.allResults}]),"desktop"===e&&t?.sendInsightsViewEvents([{eventName:"Hits Viewed (search bar - suggestions)",results:u.suggestions},{eventName:"Hits Viewed (search bar - products)",results:u.products},{eventName:"Hits Viewed (search bar - resources)",results:u.toolsAndArticles}])},[o,t,u,v]),{results:u,isNoResults:""!==o.query&&d&&!n&&!r,visibleSuggestionsCountDesktop:p,visibleSuggestionsCountMobile:h,visibleSearchResultsCountDesktop:f,visibleSearchResultsCountMobile:m,totalSearchResultsFound:x,isLoading:n,isError:r}}({query:i,searchClient:f}),T=!b.query.length,S=_||m.isLoading,E=!S&&(T||w||y),L=nW({visibleResultHitsCount:N,visibleSuggestionHitsCount:j,isDefaultState:E,uiStrings:r}),I=nW({visibleResultHitsCount:k,visibleSuggestionHitsCount:A,isDefaultState:E,uiStrings:r}),F=nH({visibleResultsCount:N,totalResultsFound:C,query:i,uiStrings:r}),B=nH({visibleResultsCount:k,totalResultsFound:C,query:i,uiStrings:r}),O=w?r.search.noResults.replace("#{term}
1778",b.query):"",[M,$]=(0,s.useState)("");(0,tZ.useDebouncedEffect)(()=>{O?$(O):B?$(B):$("")},1e3,[O,B]);let[P,z]=(0,s.useState)("");(0,tZ.useDebouncedEffect)(()=>{O?z(O):F?z(F):z("")},1e3,[O,F]);let{ref:D,isIntersecting:R}=tJ({threshold:1});(0,td.useBodyScrollPrevention)({isShowing:n});let H="search-results",W="search-results-label";return n?(0,o.jsx)(eU.FocusTrap,{focusTrapOptions:{initialFocus:"#search-input"},children:(0,o.jsx)("div",{className:"bg-black/30 fixed inset-0 z-1301",children:(0,o.jsxs)("div",{ref:h,id:"search-panel-dialog",role:"dialog","aria-modal":"true","aria-label":r.search.title,className:"bg-white h-screen lg:h-auto max-h-screen overflow-y-auto overflow-x-hidden pb-6 animate-slide-down",children:[(0,o.jsx)("div",{ref:D}),(0,o.jsxs)(eK.PageContainer,{className:"flex flex-col gap-4",noClipping:!0,children:[(0,o.jsx)(no,{logo:e,close:t,uiStrings:r,className:"py-2"}),(0,o.jsxs)("div",{className:"xl:ps-25",children:[(0,o.jsxs)("div",{className:"xl:pe-54",children:[(0,o.jsx)(nr,{className:(0,d.cx)("bg-white border-b border-transparent xl:flex-1",!R&&"border-[rgba(18,18,23,.05)]"),ariaControls:H,initialQuery:i,onChange:c,uiStrings:r,onChangeImmediately:()=>v(!1),onSubmit:e=>{if(!e)return void v(!0);let t=t6(t5(u,e),{utm_source:"Search Bar",utm_medium:"Results"});p.push(t,{scroll:!0})}}),(0,o.jsxs)("output",{className:"sr-only","aria-live":"polite","aria-atomic":"true",children:[(0,o.jsx)("span",{className:"xl:hidden",children:M}),(0,o.jsx)("span",{className:"hidden xl:block",children:P}),x&&r.search.submissionWithEmptyQueryError]})]}),w&&!x&&(0,o.jsx)("p",{className:"text-sm font-bold mb-2 text-text_neutral_secondary",style:{wordBreak:"break-word"},"aria-hidden":!0,children:O}),x&&(0,o.jsx)("p",{className:"text-sm font-bold mb-2 text-text_neutral_secondary","aria-hidden":!0,children:r.search.submissionWithEmptyQueryError})]}),(0,o.jsxs)("div",{id:H,role:"region","aria-labelledby":W,className:"flex flex-col gap-2 xl:gap-6 xl:flex-row xl:flex-1 xl:ps-25",children:[(0,o.jsxs)("div",{className:"sr-only",id:W,children:[(0,o.jsx)("span",{className:"xl:hidden",children:I}),(0,o.jsx)("span",{className:"hidden xl:block",children:L})]}),(0,o.jsx)("div",{className:"xl:basis-50 xl:flex-none",children:S?(0,o.jsx)(nF,{mobileSkeletonType:""===i?"tags":"suggestions"}):(0,o.jsx)(nL,{uiStrings:r,showsPopularSuggestions:E,searchSuggestions:b.suggestions,popularSearchSuggestions:m.suggestions})}),S&&(0,o.jsx)(ny,{}),E&&(0,o.jsx)(nT,{products:m.products,productsDesktop:m.productsDesktop,allProductsLinkUrl:a.defaultState.allProductsLinkUrl,uiStrings:r,toolsAndArticles:m.toolsAndArticles,toolsAndArticlesDesktop:m.toolsAndArticlesDesktop,isNoResultsState:w}),!S&&!E&&(0,o.jsx)(nb,{uiStrings:r,allResults:b.allResults,products:b.products,toolsAndArticles:b.toolsAndArticles,isDefaultState:E}),(0,o.jsx)(ne,{className:"xl:basis-50 xl:flex-none",items:a.helpCenter.items,heading:r.search.helpCenter})]})]})]})})}):null}function nH({uiStrings:e,query:t="",totalResultsFound:n,visibleResultsCount:a}){return 0===t.length||0===a?null:e.search.screenReaderResultsAnnouncement.replace("{count}",a.toString()).replace("{query}",t).replace("{total}",n.toString())}function nW({uiStrings:e,isDefaultState:t,visibleResultHitsCount:n,visibleSuggestionHitsCount:a}){return t?e.search.popularResultsAriaLabel:e.search.resultsAriaLabel.replace("{suggestions}",a.toString()).replace("{results}",n.toString())}nR.displayName="SearchPanel";var nq=e.i(957527);let nV=(0,tR.default)(()=>e.A(278985).then(e=>e.AlgoliaLazyWrapper),{loadableGenerated:{modules:[126313]}}),nK=c.createGlobalStyle` 1779.compo-ios, .compo-ios-chrome { 1780 .nav-mobile { 1781 .nav-right__inner-accordion { 1782 .accordion-title { 1783 padding-left: 24px; 1784 } 1785 .arrow.toggle { 1786 padding-top: 1px; 1787 } 1788 .arrow { 1789 padding-top: 5px; 1790 } 1791 .nav-right__accordion-content { 1792 padding-top: 1px; 1793 .panel__collapse.collapse2{ 1794 padding-left: 24px; 1795 } 1796 .panel__header { 1797 padding: 27px 0 15px; 1798 } 1799 } 1800 } 1801 .nav-right__accordion { 1802 .arrow.toggle + .accordion-title { 1803 text-underline-offset: 17px; 1804 } 1805 } 1806 .logo-container { 1807 .logo__container { 1808 margin-top: 4px; 1809 } 1810 } 1811 .panel-right { 1812 margin-top: 8px; 1813 } 1814 .navbar-right__cta { 1815 .getApp-cta { 1816 .get-app-cta-text { 1817 right: 1px; 1818 } 1819 } 1820 1821 .get-app-cta { 1822 margin-right: 18px; 1823 margin-bottom: 11px; 1824 .get-app-cta-hyperlinked { 1825 padding: 0 14px; 1826 position: relative; 1827 top: -1px; 1828 padding-top: 1px; 1829 } 1830 } 1831 } 1832 } 1833 1834 @media(min-width: ${l.DESKTOP_BREAKPOINT}px) { 1835 .nav-desktop { 1836 .vortex { 1837 svg { 1838 top: 1px; 1839 left: 12px; 1840 } 1841 1842 span { 1843 top: 1px; 1844 bottom: 0; 1845 } 1846 } 1847 1848 .panel__header { 1849 .profile-cta {
1850 margin-right: 26px; 1851 } 1852 } 1853 1854 1855 .type { 1856 .type__cta { 1857 span { 1858 position: relative; 1859 top: 1px; 1860 } 1861 } 1862 .type__isImage { 1863 margin-left: -3px; 1864 padding: 0; 1865 } 1866 } 1867 } 1868 } 1869} 1870.compo-ios { 1871 .nav-right__accordion { 1872 overflow-x: scroll; 1873 overflow-y: auto; 1874 .panel__collapse.collapse2{ 1875 position: absolute; 1876 top: 100px; 1877 left: 0; 1878 width: 100%; 1879 height: auto; 1880 } 1881 } 1882 1883 .nav-right__accordion-content { 1884 .panel__collapse.collapse2{ 1885 position: relative; 1886 top: 0; 1887 } 1888 } 1889} 1890 1891.compo-ios-chrome { 1892 .nav-right__accordion { 1893 overflow-x: scroll; 1894 overflow-y: hidden; 1895 } 1896} 1897`;e.s(["HeaderWrapper",0,function({header:e,uiStringSet:t,headerH1:n,siteSetting:a,getAppCta:r,floating:i=!1,enableHeaderStickyBehavior:l=!0,searchPanelOpen:c,setSearchPanelOpen:d,searchPanelQuery:u,setSearchPanelQuery:p}){var h;let f,x,v,b=(0,tY.useConfig)(),y=(0,tX.useLocale)(),{objective:_,creative:w,contentType:C,siteCategory:N,device:k}=eF.analyticsLabels,{searchAnalytics:j,headerRedesignAnalytics:A}=(0,s.useMemo)(()=>(function(){let{objective:e,creative:t,contentType:n,siteCategory:a,device:r}=eF.analyticsLabels,i={popularSearchAnalytics:{popularSearchAnalytics:{eventLabel:`${e?.eng}${a?.allsite}${n?.other}${t?.hyperlink}${r?.all}popular-item-`,eventCategory:"event_informational_action",eventAction:"event_internal_link"}},searchButtonGA:{eventLabel:`${e?.eng}${a?.allsite}${n?.other}${t?.other}${r?.all}search-`,eventCategory:"event_informational_action",eventAction:"event_button_click"},ClearButtonGA:{eventLabel:`${e?.eng}${a?.allsite}${n?.other}${t?.other}${r?.all}search-text-clear`,eventCategory:"event_informational_action",eventAction:"event_button_click"},autoCompleteGA:{eventLabel:`${e?.eng}${a?.allsite}${n?.other}${t?.hyperlink}${r?.all}autosuggest-`,eventCategory:"event_informational_action",eventAction:"event_internal_link"},closeIconAnalytics:{eventLabel:`${e?.eng}${a?.allsite}${n?.other}${t?.other}${r?.all}search-exit`,eventCategory:"event_informational_action",eventAction:"event_button_click"}},o={searchAnalytics:{searchAnalytics:i,searchButton:{eventLabel:`${e?.eng}${a?.allsite}${n?.navbar}${t?.other}${r?.all}search-icon`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}},headerLinkAnalytics:{linkAnalytics:{eventLabel:`${e?.eng}${a?.allsite}${n?.navbar}${t?.other}${r?.all}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"},appAnalytics:{eventLabel:`${e?.app}${a?.allsite}${n?.navbar}${t?.other}${r?.all}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}},ctaAnalytics:{getAppCta:{cta:{eventLabel:`${e?.app}${a?.allsite}${n?.navbar}${t?.other}${r?.mobile}get-app-button`,eventCategory:"event_informational_action",eventAction:"event_button_click"}},vortexMobile:{eventLabel:`${e?.reg}${a?.allsite}${n?.navbar}${t?.other}${r?.mobile}register`,eventCategory:"event_crm_action",eventAction:"event_profile_register"},vortexDesktop:{eventLabel:`${e?.reg}${a?.allsite}${n?.navbar}${t?.other}${r?.all}register`,eventCategory:"event_crm_action",eventAction:"event_profile_register"},logOut:{eventLabel:`${e?.login}${a?.allsite}${n?.navbar}${t?.other}${r?._all}`,eventCategory:"event_crm_action",eventAction:"event_profile_logout"}},logoAnalytics:{eventLabel:`${e?.eng}${a?.allsite}${n?.navbar}${t?.other}${r?.all}header_pampers-logo-prod`,eventCategory:"event_informational_action",eventAction:"event_banner_click"},navigationAnalytics:{menuList:{eventLabel:`${e?.eng}${a?.allsite}${n?.navbar}${t?.other}${r?.all}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}}};return{searchAnalytics:i,headerRedesignAnalytics:o}})(),[y]),{searchAnalyticsRevamp:T,headerRevampAnalytics:S}=(0,s.useMemo)(()=>(function(){let{objective:e,creative:t,contentType:n}=eF.analyticsLabels,a=`${t.link}${n?.header}${t?.navigation}`;return{searchAnalyticsRevamp:{popularSearchAnalytics:{popularSearchAnalytics:{eventLabel:`${e?.eng}${a} search_SearchPopular-`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}},searchButtonGA:{eventLabel:`${e?.eng}${a} search_`,eventCategory:"event_informational_action",eventAction:"event_button_click"},autoCompleteGA:{eventLabel:`${e?.eng}${a} search_SearchAutocomplete-`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}}
1897,headerRevampAnalytics:{searchAnalytics:{searchButton:{dynamicEventLabel:a=>`${e?.eng}${t.button}${n?.header}${t?.navigation} search_${a}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}},headerLinkAnalytics:{shopNowAnalytics:{dynamicEventLabel:t=>`${e?.product}${a} shop now_${t}`,eventCategory:"event_informational_action",eventAction:"event_button_click"}},ctaAnalytics:{vortexMobile:{dynamicEventLabel:t=>`${e?.reg}${a} reg_${t}`,eventCategory:"event_crm_action",eventAction:"event_profile_register"},vortexDesktop:{dynamicEventLabel:t=>`${e?.reg}${a} reg_${t}`,eventCategory:"event_crm_action",eventAction:"event_profile_register"}},navigationAnalytics:{cta:{dynamicEventLabel:t=>`${e?.reg}${a} reg_${t}`,eventCategory:"event_crm_action",eventAction:"event_profile_register"},menuItem:{dynamicEventLabel:t=>`${e?.eng}${a} subsections_${t}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"},menuList:{dynamicEventLabel:t=>`${e?.eng}${a} sections_${t}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}}}}}
1897)(),[y]),[E,L]=s.default.useState(!1),[I,F]=(0,s.useState)(!1),B=c??I,O=d??F,[M,$]=(0,s.useState)(""),P=(0,t1.useSearchParams)(),z=(0,t1.usePathname)();(0,s.useEffect)(()=>O(!1),[z,P,O]);let D=b.Features.WebsiteRevamp,R=r||{url:b?.Header?.getAppCta?.appURL,title:t?.header?.getApp};s.default.useEffect(()=>{(0,tH.IsUserLogged)()?L(!0):L(!1)},[tH.IsUserLogged]);let H=()=>O(!1),W=(0,s.useCallback)(e=>(0,tH.Logout)(e,b),[b]),q={clearButtonLabel:t?.search?.searchBoxClear||"",placeholder:t?.search?.searchBoxPlaceholder||"",className:"search-input",handlerSubmit:()=>(()=>{let e=document?.querySelector(".search-input-field")?.value?.trim()??"";if(!e)return;let t=`${b.AlgoliaSearch.searchLpUrl}?term=${encodeURIComponent(e)}`;window.location.href=t})(),searchId:"search-input-text",autoCompleteProps:{sourceId:b?.AlgoliaSearch?.sourceId,indexName:b?.AlgoliaSearch?.indexName,hitsPerPage:b?.AlgoliaSearch?.autoCompleteHitsPerPage,autoCompleteMinLength:a?.autocompleteMinLength}},V={PopularSearchlabel:t?.search?.searchBoxPopularSearchTerms||"",popularSearchItems:(h=a?.popularSearchTerm,f=[],h?.map(e=>{f.push({title:e||"",url:(0,tW.replaceProdDomain)(`${b?.AlgoliaSearch?.searchLpUrl}?term=${e}`,y)})}),f)},K=(0,nq.getLogo)(y),[G,U]=(0,s.useState)(null),[Y,X]=(0,s.useState)(!1);(0,s.useEffect)(()=>{U(window.location.pathname),X(!0)},[]);let Z=b.Features.SearchRevamp&&b.Features.WebsiteRevamp,Q=Z?(0,o.jsx)(nR,{logo:{...K,url:e.items?.logo.url},isOpen:B,close:H,uiStrings:t,searchPanelData:e.searchPanelData,query:u??M,setQuery:p??$}):null,J=b.Features.Search&&!Z?(0,o.jsx)(nV,{logoImage:K,title:t?.search?.searchBoxTitle||"",showModal:B,hideModal:H,searchTextFieldProps:q,popularSearchProps:V,SearchAnalytics:D?T:j}):null;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(nK,{}),(x={logout:t?.crm?.logout||"",profile:t?.crm?.profile||"",profileIconTitle:t?.header?.profileIconTitle||"",getAppText:t?.header?.getApp||"",searchText:t?.header?.searchIconTitle||"",home:t?.header?.home||""},v={items:{navItems:function({isHeaderRevamp:e,headerRevampAnalytics:t,headerRedesignAnalytics:n,header:a}){return a.items.navItems?.map((a,r)=>{let i,o,l,s=a.parent;return{key:`navItem${r+1}`,menuId:a.menuId,title:s.title,url:s.url,openLink:s.openLink,labelText:s.labelText,labelStyle:s.labelStyle,image:s.image,icon:s.icon,type:s.type,displayRule:s.displayRule,displayLabelText:s.displayLabelText,analytics:e?t.navigationAnalytics.menuList:n.navigationAnalytics.menuList,shortDescription:a.shortDescription,sections:(i=a,o=t,l=e,[{items:i.subnavCol1Collection.items,title:i.subnavTitleCol1},{items:i.subnavCol2Collection.items,title:i.subnavTitleCol2},{items:i.subnavCol3Collection.items,title:i.subnavTitleCol3}].map((e,t)=>{var n;let a,r,{title:s,items:c}=e;return{key:`section${t+1}`,title:s,items:(n=i?.parent?.title,a=[],r=e=>e.type===m.CTA?o?.navigationAnalytics?.cta:o?.navigationAnalytics?.menuItem,c.forEach((e,t)=>{a.push({analytics:{desktop:(e=>{if(l)return r(e);let t=e?.url.includes("/registration")?eB?.reg:eB?.eng;return{eventLabel:`${t}${e$?.allsite}${eM?.navbar}${eO?.other}${eP?.all}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}})(e),mobile:(e=>{if(l)return r(e);let t=e?.url.includes("/registration")?eB?.reg:eB?.eng;return{eventLabel:`${t}${e$?.allsite}${eM?.navbar}${eO?.other}${eP?.mobile}${n}-`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}})(e)},key:`menuItem${t+1}`,title:e.title,url:e.url,openLink:e.openLink,labelText:e.labelText,labelStyle:e.labelStyle,image:e.image,icon:e.icon,type:e.type,displayRule:e.displayRule,displayLabelText:e.displayLabelText,menuId:e.menuId})}),a),analytics:{eventLabel:`${eB?.eng}${e$?.allsite}${eM?.navbar}${eO?.other}${eP?.mobile}${i?.parent?.title}-${s}`,eventCategory:"event_informational_action",eventAction:"event_menu_click"}}}))}})}({header:e,headerRedesignAnalytics:A,headerRevampAnalytics:S,isHeaderRevamp:D}),cta:e?.items?.cta,enableH1Tag:e?.enableH1Tag,logo:{image:e?.items?.logo,url:(e?.items?.logo).href,isMainHeader:n},vortexScenario:e?.items?.vortexScenario,headerCta:{...R,title:t?.header?.redesignedGetApp||"",isGetAppActive:b.Header.isGetAppActive,isDownloadSvgActive:b.Header.getAppCta?.isDownloadSvgActive,isDownloadSvgReadable:b.Header.getAppCta?.isDownloadSvgReadable},mobileCta:e?.mobileCta},search:{isActivated:b.Features.Search||!1,title:t?.search?.title||"",onClick:()=>O(!0)}
1897,searchIsOpen:B,searchControlsId:b.Features.SearchRevamp&&b.Features.WebsiteRevamp&&B?"search-panel-dialog":void 0,isLogged:E,sharedCollection:{...x,getAppText:t?.header?.redesignedGetApp||""},onLogoutHandler:W,analytics:A,enableAccessibleFeatures:b.enableAccessibilityFeatures,floating:i,redirectAfterSignupUrl:e.redirectAfterSignupUrl,enableHeaderStickyBehavior:l,isAuthEnabled:!!b.Features.Okta},(0,o.jsxs)(o.Fragment,{children:[D?(0,o.jsx)(tD,{...v,analytics:S}):(0,o.jsx)(eV,{...v}),b.Header.memberStripe?.enableMemberStripe&&(()=>{let e,n,a=b.Header.memberStripe?.preNatal,r=b.Header.memberStripe?.postNatal,i=b.Header.memberStripe?.memberStripeExcludedUrl;if(i.includes(G))return null;let l=!1,s=!1;(l=a.some(function(e){return G?.startsWith(e)}))||(s=r.some(function(e){return G?.startsWith(e)}));let c=()=>{let e="",n="",a="",r="";return!1==E&&!0==l&&(e=t?.membersStripe?.unloggedPregnancyTitle||"",n=t?.membersStripe?.unloggedPregnancyDescription||"",a=b?.Features?.Okta?t?.membersStripe?.unloggedPregnancyOktaLink||"":t?.membersStripe?.unloggedPregnancyLink||"",r=`${_?.reg}${N?.pregnancy}${C?.article}${w?.banner}${k?.all}join-pampers-club-free-${e}`),!1==E&&!0==s&&(e=t?.membersStripe?.unloggedParentingTitle||"",n=t?.membersStripe?.unloggedParentingDescription||"",a=t?.membersStripe?.unloggedParentingLink||"",r=`${_?.app}${N?.baby}${C?.article}${w?.banner}${k?.all}join-pampers-club-free-${e}`),!0==E&&(!0==l||!0==s)&&(e=t?.membersStripe?.loginPregnancyParentingTitle||"",n=t?.membersStripe?.loginPregnancyParentingDescription||"",a=t?.membersStripe?.loginPregnancyParentingLink||"",r=`${_?.reg}${N?.pregnancy}${C?.article}${w?.banner}${k?.all}welcome-to-the-club-${e}`),{title:e,description:n,url:a,eventlabel:r}},d={title:c().title,description:c().description,url:c().url,openInNewTab:!!Y&&(e=window.location.hostname,!(n=c().url).startsWith("/")&&""!==n&&e!=new URL(n).hostname),analytics:{eventLabel:c().eventlabel,eventCategory:"event_informational_action",eventAction:"event_banner_click"}};return(l||s)&&(0,o.jsx)(tq,{...d})})()]})),Q??J]})}],50704)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.