(()=>{var e={1828:e=>{e.exports={setAttributes:function(e,t){Object.keys(t).forEach((n=>e.setAttribute(n,t[n])))},createElement:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const l=document.createElement(e);return Array.isArray(t)?t.forEach((e=>{l.classList.add(e)})):"string"==typeof t&&l.classList.add(t),Array.isArray(n)?n.forEach((e=>{l.setAttribute(e.name,e.value)})):"object"==typeof n&&l.setAttribute(n.name,n.value),l},toggleInertOnSiblings:(e,t)=>{e&&e.parentElement&&[...e.parentElement?.children].forEach((n=>{n!==e&&"SCRIPT"!==n.tagName&&"NOSCRIPT"!==n.tagName&&"LINK"!==n.tagName&&"onetrust-consent-sdk"!==n.id&&n.toggleAttribute("inert",t)}))}}},6942:(e,t)=>{var n; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var l={}.hasOwnProperty;function i(){for(var e="",t=0;t{const t={get(e){const t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length?t.pop().split(";").shift():""},set(e,t,n,l,i){const a=`${e}=${t}`,r=n?`;domain=${n}`:"",s=l?`;path=${l}`:"",o=i?`;expires=${i}`:"",c=arguments.length>5&&void 0!==arguments[5]&&arguments[5]&&n?";secure":"";document.cookie=a.concat(r,s,o,c)}};e.exports=t},9853:e=>{var t=.1,n="function"==typeof Float32Array;function l(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function a(e){return 3*e}function r(e,t,n){return((l(t,n)*e+i(t,n))*e+a(t))*e}function s(e,t,n){return 3*l(t,n)*e*e+2*i(t,n)*e+a(t)}function o(e){return e}e.exports=function(e,l,i,a){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===l&&i===a)return o;for(var c=n?new Float32Array(11):new Array(11),d=0;d<11;++d)c[d]=r(d*t,e,i);function u(n){for(var l=0,a=1;10!==a&&c[a]<=n;++a)l+=t;--a;var o=l+(n-c[a])/(c[a+1]-c[a])*t,d=s(o,e,i);return d>=.001?function(e,t,n,l){for(var i=0;i<4;++i){var a=s(t,n,l);if(0===a)return t;t-=(r(t,n,l)-e)/a}return t}(n,o,e,i):0===d?o:function(e,t,n,l,i){var a,s,o=0;do{(a=r(s=t+(n-t)/2,l,i)-e)>0?n=s:t=s}while(Math.abs(a)>1e-7&&++o<10);return s}(n,l,l+t,e,i)}return function(e){return 0===e?0:1===e?1:r(u(e),l,a)}}}},t={};function n(l){var i=t[l];if(void 0!==i)return i.exports;var a=t[l]={exports:{}};return e[l](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,l,i,a,r,s,o,c,d,u,_,h={},m=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function v(e,t){for(var n in t)e[n]=t[n];return e}function g(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(t,n,l){var i,a,r,s={};for(r in n)"key"==r?i=n[r]:"ref"==r?a=n[r]:s[r]=n[r];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):l),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)null==s[r]&&(s[r]=t.defaultProps[r]);return k(t,s,i,a,null)}function k(e,n,i,a,r){var s={type:e,props:n,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++l:r,__i:-1,__u:0};return null==r&&null!=t.vnode&&t.vnode(s),s}function y(){return{current:null}}function x(e){return e.children}function E(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var n;td&&i.sort(s),e=i.shift(),d=i.length,e.__d&&(l=void 0,r=(a=(n=e).__v).__e,o=[],c=[],n.__P&&((l=v({},a)).__v=a.__v+1,t.vnode&&t.vnode(l),H(n.__P,l,a,n.__n,n.__P.namespaceURI,32&a.__u?[r]:null,o,null==r?S(a):r,!!(32&a.__u),c),l.__v=a.__v,l.__.__k[l.__i]=l,V(o,l,c),l.__e!=r&&N(l)));w.__r=0}function I(e,t,n,l,i,a,r,s,o,c,d){var u,_,p,f,v,g,b=l&&l.__k||m,k=t.length;for(o=z(n,t,b,o,k),u=0;u0?k(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r).__=e,r.__b=e.__b+1,s=null,-1!=(c=r.__i=A(r,n,o,u))&&(u--,(s=n[c])&&(s.__u|=2)),null==s||null==s.__v?(-1==c&&(i>d?_--:io?_--:_++,r.__u|=4))):e.__k[a]=null;if(u)for(a=0;a(null==o||2&o.__u?0:1))for(i=n-1,a=n+1;i>=0||a=0){if((o=t[i])&&!(2&o.__u)&&r==o.key&&s==o.type)return i;i--}if(a0?e:f(e)?e.map(O):v({},e)}function B(n,l,i,a,r,s,o,c,d){var u,_,m,p,v,b,k,y=i.props,x=l.props,E=l.type;if("svg"==E?r="http://www.w3.org/2000/svg":"math"==E?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=s)for(u=0;u2&&(o.children=arguments.length>3?e.call(arguments,2):l),k(t.type,o,i||t.key,a||t.ref,null)}function q(e){function t(e){var n,l;return this.getChildContext||(n=new Set,(l={})[t.__c]=this,this.getChildContext=function(){return l},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach((function(e){e.__e=!0,$(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+_++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}e=m.slice,t={__e:function(e,t,n,l){for(var i,a,r;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&null!=a.getDerivedStateFromError&&(i.setState(a.getDerivedStateFromError(e)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,l||{}),r=i.__d),r)return i.__E=i}catch(t){e=t}throw e}},l=0,E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),$(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),$(this))},E.prototype.render=x,i=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},w.__r=0,o=/(PointerCapture)$|Capture$/i,c=0,d=T(!1),u=T(!0),_=0;var j,K,Z,X,J=0,Y=[],Q=t,ee=Q.__b,te=Q.__r,ne=Q.diffed,le=Q.__c,ie=Q.unmount,ae=Q.__;function re(e,t){Q.__h&&Q.__h(K,e,J||t),J=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function se(e){return J=1,oe(Se,e)}function oe(e,t,n){var l=re(j++,2);if(l.t=e,!l.__c&&(l.__=[n?n(t):Se(void 0,t),function(e){var t=l.__N?l.__N[0]:l.__[0],n=l.t(t,e);t!==n&&(l.__N=[n,l.__[1]],l.__c.setState({}))}],l.__c=K,!K.__f)){var i=function(e,t,n){if(!l.__c.__H)return!0;var i=l.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var r=l.__c.props!==e;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(r=!0)}})),a&&a.call(this,e,t,n)||r};K.__f=!0;var a=K.shouldComponentUpdate,r=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var l=a;a=void 0,i(e,t,n),a=l}r&&r.call(this,e,t,n)},K.shouldComponentUpdate=i}return l.__N||l.__}function ce(e,t){var n=re(j++,3);!Q.__s&&Ee(n.__H,t)&&(n.__=e,n.u=t,K.__H.__h.push(n))}function de(e,t){var n=re(j++,4);!Q.__s&&Ee(n.__H,t)&&(n.__=e,n.u=t,K.__h.push(n))}function ue(e){return J=5,he((function(){return{current:e}}),[])}function _e(e,t,n){J=6,de((function(){if("function"==typeof e){var n=e(t());return function(){e(null),n&&"function"==typeof n&&n()}}if(e)return e.current=t(),function(){return e.current=null}}),null==n?n:n.concat(e))}function he(e,t){var n=re(j++,7);return Ee(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function me(e,t){return J=8,he((function(){return e}),t)}function pe(e){var t=K.context[e.__c],n=re(j++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function fe(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function ve(){var e=re(j++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ge(){for(var e;e=Y.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ye),e.__H.__h.forEach(xe),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){K=null,ee&&ee(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ae&&ae(e,t)},Q.__r=function(e){te&&te(e),j=0;var t=(K=e.__c).__H;t&&(Z===K?(t.__h=[],K.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0}))):(t.__h.forEach(ye),t.__h.forEach(xe),t.__h=[],j=0)),Z=K},Q.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Y.push(t)&&X===Q.requestAnimationFrame||((X=Q.requestAnimationFrame)||ke)(ge)),t.__H.__.forEach((function(e){e.u&&(e.__H=e.u),e.u=void 0}))),Z=K=null},Q.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ye),e.__h=e.__h.filter((function(e){return!e.__||xe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Q.__e(n,e.__v)}})),le&&le(e,t)},Q.unmount=function(e){ie&&ie(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ye(e)}catch(e){t=e}})),n.__H=void 0,t&&Q.__e(t,n.__v))};var be="function"==typeof requestAnimationFrame;function ke(e){var t,n=function(){clearTimeout(l),be&&cancelAnimationFrame(t),setTimeout(e)},l=setTimeout(n,100);be&&(t=requestAnimationFrame(n))}function ye(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function xe(e){var t=K;e.__c=e.__(),K=t}function Ee(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Se(e,t){return"function"==typeof t?t(e):t}function Ne(e,t){for(var n in t)e[n]=t[n];return e}function $e(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var l in t)if("__source"!==l&&e[l]!==t[l])return!0;return!1}function we(e,t){var n=t(),l=se({t:{__:n,u:t}}),i=l[0].t,a=l[1];return de((function(){i.__=n,i.u=t,Ie(i)&&a({t:i})}),[e,n,t]),ce((function(){return Ie(i)&&a({t:i}),e((function(){Ie(i)&&a({t:i})}))}),[e]),n}function Ie(e){var t,n,l=e.u,i=e.__;try{var a=l();return!((t=i)===(n=a)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}function ze(e){e()}function Ce(e){return e}function Le(){return[!1,ze]}var Ae=de;function Me(e,t){this.props=e,this.context=t}(Me.prototype=new E).isPureReactComponent=!0,Me.prototype.shouldComponentUpdate=function(e,t){return $e(this.props,e)||$e(this.state,t)};var Pe=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Pe&&Pe(e)};var Te="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function He(e){function t(t){var n=Ne({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Te,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ve=function(e,t){return null==e?null:L(L(e).map(t))},Oe={map:Ve,forEach:Ve,count:function(e){return e?L(e).length:0},only:function(e){var t=L(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:L},Be=t.__e;t.__e=function(e,t,n,l){if(e.then)for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Be(e,t,n,l)};var Re=t.unmount;function De(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ne({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return De(e,t,n)}))),e}function Ue(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ue(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function We(){this.__u=0,this.o=null,this.__b=null}function Fe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ge(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Re&&Re(e)},(We.prototype=new E).__c=function(e,t){var n=t.__c,l=this;null==l.o&&(l.o=[]),l.o.push(n);var i=Fe(l.__v),a=!1,r=function(){a||(a=!0,n.__R=null,i?i(s):s())};n.__R=r;var s=function(){if(! --l.__u){if(l.state.__a){var e=l.state.__a;l.__v.__k[0]=Ue(e,e.__c.__P,e.__c.__O)}var t;for(l.setState({__a:l.__b=null});t=l.o.pop();)t.forceUpdate()}};l.__u++||32&t.__u||l.setState({__a:l.__b=l.__v.__k[0]}),e.then(r,r)},We.prototype.componentWillUnmount=function(){this.o=[]},We.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),l=this.__v.__k[0].__c;this.__v.__k[0]=De(this.__b,n,l.__O=l.__P)}this.__b=null}var i=t.__a&&b(x,null,e.fallback);return i&&(i.__u&=-33),[b(x,null,t.__a?null:e.children),i]};var qe=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.h.removeChild(e)}}),W(b(je,{context:t.context},e.__v),t.v)}(Ge.prototype=new E).__a=function(e){var t=this,n=Fe(t.__v),l=t.l.get(e);return l[0]++,function(i){var a=function(){t.props.revealOrder?(l.push(i),qe(t,e,l)):i()};n?n(a):a()}},Ge.prototype.render=function(e){this.i=null,this.l=new Map;var t=L(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Ge.prototype.componentDidUpdate=Ge.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){qe(e,n,t)}))};var Ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Xe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Je=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ye=/[A-Z0-9]/g,Qe="undefined"!=typeof document,et=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};E.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var tt=t.event;function nt(){}function lt(){return this.cancelBubble}function it(){return this.defaultPrevented}t.event=function(e){return tt&&(e=tt(e)),e.persist=nt,e.isPropagationStopped=lt,e.isDefaultPrevented=it,e.nativeEvent=e};var at,rt={enumerable:!1,configurable:!0,get:function(){return this.class}},st=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,l={},i=-1===n.indexOf("-");for(var a in t){var r=t[a];if(!("value"===a&&"defaultValue"in t&&null==r||Qe&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var s=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===r?r="":"translate"===s&&"no"===r?r=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?a="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||et(t.type)?"onfocus"===s?a="onfocusin":"onblur"===s?a="onfocusout":Je.test(a)&&(a=s):s=a="oninput":i&&Xe.test(a)?a=a.replace(Ye,"-$&").toLowerCase():null===r&&(r=void 0),"oninput"===s&&l[a=s]&&(a="oninputCapture"),l[a]=r}}"select"==n&&l.multiple&&Array.isArray(l.value)&&(l.value=L(t.children).forEach((function(e){e.props.selected=-1!=l.value.indexOf(e.props.value)}))),"select"==n&&null!=l.defaultValue&&(l.value=L(t.children).forEach((function(e){e.props.selected=l.multiple?-1!=l.defaultValue.indexOf(e.props.value):l.defaultValue==e.props.value}))),t.class&&!t.className?(l.class=t.class,Object.defineProperty(l,"className",rt)):(t.className&&!t.class||t.class&&t.className)&&(l.class=l.className=t.className),e.props=l}(e),e.$$typeof=Ze,st&&st(e)};var ot=t.__r;t.__r=function(e){ot&&ot(e),at=e.__c};var ct=t.diffed;t.diffed=function(e){ct&&ct(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),at=null};var dt={ReactCurrentDispatcher:{current:{readContext:function(e){return at.__n[e.__c].props.value},useCallback:me,useContext:pe,useDebugValue:fe,useDeferredValue:Ce,useEffect:ce,useId:ve,useImperativeHandle:_e,useInsertionEffect:Ae,useLayoutEffect:de,useMemo:he,useReducer:oe,useRef:ue,useState:se,useSyncExternalStore:we,useTransition:Le}}};function ut(e){return!!e&&e.$$typeof===Ze}var _t={useState:se,useId:ve,useReducer:oe,useEffect:ce,useLayoutEffect:de,useInsertionEffect:Ae,useTransition:Le,useDeferredValue:Ce,useSyncExternalStore:we,startTransition:ze,useRef:ue,useImperativeHandle:_e,useMemo:he,useCallback:me,useContext:pe,useDebugValue:fe,version:"18.3.1",Children:Oe,render:function(e,t,n){return null==t.__k&&(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return F(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(W(null,e),!0)},createPortal:function(e,t){var n=b(Ke,{__v:e,h:t});return n.containerInfo=t,n},createElement:b,createContext:q,createFactory:function(e){return b.bind(null,e)},cloneElement:function(e){return ut(e)?G.apply(null,arguments):e},createRef:y,Fragment:x,isValidElement:ut,isElement:ut,isFragment:function(e){return ut(e)&&e.type===x},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:E,PureComponent:Me,memo:function(e,t){function n(e){var n=this.props.ref,l=n==e.ref;return!l&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!l:$e(this.props,e)}function l(t){return this.shouldComponentUpdate=n,b(e,t)}return l.displayName="Memo("+(e.displayName||e.name)+")",l.prototype.isReactComponent=!0,l.__f=!0,l},forwardRef:He,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:x,Suspense:We,SuspenseList:Ge,lazy:function(e){var t,n,l;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){l=e})),l)throw l;if(!n)throw t;return b(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:dt};const ht=q({}),mt=e=>{let{children:t}=e;const[n,l]=se([]),[i,a]=se([]),[r,s]=se([]),[o,c]=se(""),[d,u]=se(1),[_,h]=se(""),[m,p]=se(!1),f={productCategories:n,setProductCategories:l,activeCategory:i,setActiveCategory:a,activeIdx:r,setActiveIdx:s,menuLevel:d,setMenuLevel:u,menuHeadTitle:o,setMenuHeadTitle:c,selectedPrimaryLinkIndex:_,setSelectedPrimaryLinkIndex:h,isPageContextToBeReset:m,setIsPageContextToBeReset:p};return _t.createElement(ht.Provider,{value:f},t)},pt=()=>pe(ht);var ft=0;Array.isArray;function vt(e,n,l,i,a,r){n||(n={});var s,o,c=n;if("ref"in c)for(o in c={},n)"ref"==o?s=n[o]:c[o]=n[o];var d={type:e,props:c,key:l,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ft,__i:-1,__u:0,__source:a,__self:r};if("function"==typeof e&&(s=e.defaultProps))for(o in s)void 0===c[o]&&(c[o]=s[o]);return t.vnode&&t.vnode(d),d}var gt=n(6942);const bt=({prefix:e="",className:t,viewBox:n="0 0 24 24",ariaHidden:l=!0,children:i,...a})=>vt("svg",{viewBox:n,focusable:"false",width:"24",height:"24",...a,"aria-hidden":l,className:`${e}svg-icon${t?` ${t}`:""}`,children:i});var kt=e=>{const{prefix:t="",viewBox:n="0 0 24 24",paths:l,className:i,modifier:a,ariaHidden:r=!0,...s}=e,o=gt(i,a&&`${t}svg-icon--${a}`);return l?vt(bt,{viewBox:n,prefix:t,...s,className:o,ariaHidden:r,children:l().map(((e,t)=>_t.cloneElement(e,{key:t})))}):null},yt=kt;const xt=He(((e,t)=>{const{prefix:n="",iconOnly:l=!1,label:i,selected:a=!1,disabled:r=!1,size:s="medium",thumbnail:o,ssrIcon:c,iconPosition:d="leading",thumbnailAlt:u,className:_,onClick:h,...m}=e,p=`${n}pill`;return vt("button",{ref:t,className:gt(`${p}`,"medium"!==s&&`${p}--${s}`,l&&c&&!o&&`${p}--icon`,!l&&c&&!o&&`${n}${d}-icon`,o&&`${p}--thumbnail`,a&&!r&&`${p}--active`,_),disabled:r,"aria-pressed":a?"true":"false",onClick:h,...m,children:[o&&vt("img",{className:`${p}__thumbnail`,src:o,alt:u}),c&&!o&&vt(yt,{prefix:n,paths:c,className:`${p}__icon`}),i&&vt("span",{className:`${p}__label`,children:i})]})}));xt.displayName="Pill";var Et=xt;const St=[{tag:"path",att:{d:"M11.0036 14.2499h2v-6h-2v6zm1 1.5c-.6904 0-1.25.5596-1.25 1.25 0 .6903.5596 1.25 1.25 1.25.6903 0 1.25-.5597 1.25-1.25 0-.6904-.5597-1.25-1.25-1.25z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m1.1152 20.5341 10-19h1.7699l10 19-.8849 1.4658h-20l-.885-1.4658zm2.5413-.5342h16.6873l-8.3436-15.853L3.6565 20z"}}],Nt=St;function $t(e){return e.replace(/-([a-z])/g,((e,t)=>t.toUpperCase()))}function wt(e){if(e)return e.map((e=>{return b(e.tag,(t=e.att,Object.entries(t).reduce(((e,[t,n])=>("style"===t&&"string"==typeof n?e.style=n.split(";").reduce(((e,t)=>{const[n,l]=t.split(":");return n&&l&&(e[$t(n.trim())]=l.trim()),e}),{}):e[$t(t)]=n,e)),{})),wt(e.nds));var t}))}var It=()=>wt(Nt);const zt=["primary","emphasised","secondary","tertiary"],Ct=He(((e,t)=>{const{href:n="",newWindow:l=!1,loadingSrText:i="Loading…",ssrIcon:a,iconOnly:r=!1,prefix:s="",htmlType:o="button",disabled:c=!1,className:d="",onClick:u,text:_="",type:h="secondary",expanding:m=!1,loading:p=!1,iconPosition:f="leading",fluid:v=!1,inverseTheme:g=!1,children:b,expandedOnTouchDevice:k=!1,size:y="medium",staticColour:x=!1,...E}=e,S=e=>{if(c||p||" "!==e.key)return;e.target.click()};let N=h||"secondary";r&&a&&(N=`icon-${N}`),g&&"danger"!==h&&"plain"!==h&&"image-overlay"!==h&&zt.indexOf(h)>-1&&(N=`${N}-inverse`);const $=gt(`${s}btn__inner`),w="danger"===h?It:a,I=w?vt(yt,{className:`${s}btn__icon`,prefix:s,paths:w}):null,z=gt(`${s}btn`,p&&`${s}btn--loading`,"medium"!==y&&`${s}btn--${y}`,!r&&w&&f&&`${s}${f}-icon`,h&&`${s}btn--${N}`,v&&!r&&`${s}btn--fluid`,m&&`${s}btn--expanding`,m&&k&&`${s}btn--touch-device-expanded`,x&&`${s}btn--static-colour`,d),C=e=>{p||c?e.stopPropagation():u&&"function"==typeof u&&u(e)},L=vt("span",{className:$,children:[I,_&&vt("span",{className:`${s}btn__label`,children:_})||null,!p&&b||null,p&&vt("span",{className:`${s}btn__loader`,children:i})||null]});return n?vt("a",{ref:t,className:z,"aria-disabled":!!p||void 0,onClick:C,onKeyUp:S,href:c?void 0:n,target:l?"_blank":void 0,rel:l?"noreferrer":void 0,...E,children:L}):vt("button",{ref:t,className:z,disabled:c,type:o,onClick:C,...E,children:L})}));Ct.displayName="Button";var Lt=Ct;const At=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m7 12.0009 8.0012-8.0007 1.4142 1.4142-6.587 6.5866 6.5859 6.5868L15 20.002l-8-8.0011z"}}],Mt=At;var Pt=()=>wt(Mt);const Tt=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m12 13.4142 4.9498 4.9497 1.4142-1.4142L13.4142 12l4.9498-4.9498-1.4142-1.4142L12 10.5857 7.0503 5.636 5.636 7.0502 10.5859 12l-4.9497 4.9497 1.4142 1.4142L12 13.4142z"}}],Ht=Tt;var Vt=()=>wt(Ht),Ot=n(1828);const Bt=(e,t)=>{try{sessionStorage&&sessionStorage.setItem(e,t)}catch(e){}},Rt=e=>{try{if(sessionStorage)return sessionStorage.getItem(e)}catch(e){}},Dt=e=>{try{sessionStorage&&sessionStorage.removeItem(e)}catch(e){}},Ut=(e,t,n)=>{const l=new Date;l.setMinutes(l.getMinutes()+n),Bt(e,JSON.stringify({expires:l.getTime(),data:t}))},Wt=e=>{let t=Rt(e);if(t){const e=JSON.parse(t);if(e?.data&&e?.expires>Date.now())return e.data}},Ft=e=>{if(window.sendEvent)if("beacon"===e.transport_type)try{window.sendEvent(e)}catch(e){}else setTimeout((()=>{try{window.sendEvent(e)}catch(e){}}),0);else window.analyticsQueue=window.analyticsQueue||[],window.analyticsQueue.push(e)},Gt=function(e,t,n,l){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0;const r={event_category:l,event_action:e(),event_label:t,transport_type:n||"",non_interaction:i};return a&&(r.custom=a),r},qt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;t=t.currentTarget||t;const l=Rt("navOpenDropdownTime"),i=l?Math.round(performance.now()-l):"";Bt("navLinkClick",((e,t,n,l,i)=>JSON.stringify({navType:e,pageUrl:t,link:n,timing:"number"==typeof l?l:"",siblings:i||""}))(e,location.href,(e=>{const t=e?.closest("ul")?e?.closest("ul").getAttribute("data-tracking-label"):"",n=e?.closest("a")?e?.closest("a").getAttribute("data-tracking-label"):"",l=n||e?.text?.trim();return t?`${t} | ${l}`:l})(t),i,n)),Dt("navOpenDropdownTime")};var jt=n(8448),Kt=n.n(jt);let Zt="";const Xt=()=>(""===Zt&&(Zt=document.getElementById("nav-script-main")?document.getElementById("nav-script-main").getAttribute("data-site-folder"):""),Zt);const Jt=function(){return`nav-vps${arguments.length>0&&void 0!==arguments[0]&&arguments[0]?"-b2b":""}_${Xt().replace("/","-").toUpperCase()}`};const Yt=/.*\/(cat|p)\/.*-([0-9a-zA-Z_]+)\/?$/,Qt=/.*\/([-0-9a-zA-Z_]+-pub[0-9a-zA-Z_]+)\/?$/,en=/.*\/([a-z0-9]{2})\/([a-z0-9]{2})\/([0-9a-zA-Z_]+-(products+))\/?$/,tn=/.*\/([a-z0-9]{2})\/([a-z0-9]{2})\/(.*)\/([-0-9a-zA-Z_]?)\/?$/,nn=e=>{const t=e?e.split("#").shift().split("?").shift():"";if(Yt.test(t))return t.replace(Yt,"$2");if(Qt.test(t))return t.replace(Qt,"$1");const n=t.match(en);return n?.[4]?n[4]:n?.[3]?n[3]:tn.test(t)?t.replace(tn,"$3"):t},ln=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.pathname;return/\/[a-z0-9]{2}\/[a-z0-9]{2}\/cat\/[a-z-]*-products\//.test(e)},an=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.pathname;return/\/[a-z0-9]{2}\/[a-z0-9]{2}\/business-store\/[a-z-2]*-products\/?/.test(e)},rn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.pathname;return/.*\/([a-z0-9]{2})\/([a-z0-9]{2})\/(rooms)\/?$/.test(e)},sn=e=>{try{return new URL(e).pathname}catch{return""}},on=()=>{const e=Kt().get("nav_state")||"{}";try{return JSON.parse(decodeURIComponent(e))}catch{return{}}};const cn=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return new Promise(((i,a)=>{let r=new XMLHttpRequest;r.open(t,e),n.length>0&&n.forEach((e=>{r.setRequestHeader(e.name,e.value)})),r.onload=()=>{r.status>=200&&r.status<300?i(r.response):a(`${r.status} ${r.statusText}`.trim())},r.onerror=()=>a(`${r.status>0?r.status:""} ${r.statusText}`.trim()),r.send(l)}))},dn=()=>"undefined"==typeof window,un=()=>{if(dn())return["products"];const e=document.querySelectorAll(".bc-breadcrumb__list > li > a");if(0===e.length)return[nn(window.location.pathname)];let t=[];try{const n=Array.from(e).findLast((e=>e.hasAttribute("data-tracking-label"))).getAttribute("data-tracking-label");n&&(t=n.split("|").map((e=>e.trim())))}catch(e){}if(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.pathname;return/.*\/([a-z0-9]{2})\/([a-z0-9]{2})\/(rooms)\/([-0-9a-zA-Z_]+)\/?/.test(e)}()){const e=nn(window.location.pathname);t.push(...e.split("/"))}return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.pathname;return/.*\/(cat)\/.*-([0-9a-zA-Z_]+)\/?$/.test(e)}()&&t.push(nn(window.location.pathname)),"box"===t[0]&&(t[0]="products"),t},_n=e=>{let t=[];return()=>{const n=Wt(`nav-catalog-${e}-slim-${Xt()}`);if(n)return Promise.resolve(n);const l=new Promise(((e,n)=>{t.push({resolve:e,reject:n})}));if(1===t.length){const n=Math.random().toString(36).substring(2,12),l=-1===window.location.pathname.indexOf("/api/preview/")?`https://${document.getElementById("nav-script-main").getAttribute("data-domain")}/${Xt()}/meta-data/navigation/catalog-${e}-slim.json?cb=${n}`:document.getElementById("nav-styles").href.replace(/header-footer\/styles\/.*/,`meta-data/navigation/catalog-${e}-slim.json?cb=${n}`);cn(l).then((n=>{const l=JSON.parse(n);Ut(`nav-catalog-${e}-slim-${Xt()}`,l,15),t.forEach((e=>e.resolve(l)))})).catch((e=>{t.forEach((t=>t.reject(e)))})).finally((()=>{t=[]}))}return l}},hn=()=>dn()?"":`https://${document.getElementById("nav-script-main").getAttribute("data-domain")}`,mn=e=>e.map((e=>e?nn(e):"")).join(" | "),pn={0:"products",1:"rooms",2:"new",3:"offers",4:"ideas",5:"customer-service/services"},fn=e=>pn[e]?`https://${document.getElementById("nav-script-main").getAttribute("data-domain")}/${Xt()}/${pn[e]}/`:null,vn=(e,t)=>-1===e?.indexOf("?")?`${e}?imwidth=${t}`:`${e=e.replace(/(f=[a-zA-Z]+&?)|(imwidth=[0-9]+&?)/g,"")}${e.endsWith("?")?"":"&"}imwidth=${t}`,gn=(e,t)=>e.replace("{{category}}",t?.toLowerCase()||"").replace("{{categoryCapitalised}}",t||"").replace(/\bikea\b/,"IKEA"),bn=/[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{8}/,kn=e=>e.id.match(bn)?nn(e.url):e.id;const{createElement:yn}=n(1828),xn=e=>{if(!e)return;const t=[...e.querySelectorAll('a[href], button, input, textarea, select, [tabindex]:not([tabindex="-1"])')].filter((e=>!e.closest('[aria-hidden="true"], [style*="display:none"], [disabled]')&&"none"!==window.getComputedStyle(e,null).display&&"hidden"!==window.getComputedStyle(e,null).visibility));return t.length?{first:t[0],last:t[t.length-1],all:t}:{}},En=e=>{let{localeStrings:t,enableSectionsAndGroups:n,setIsOpened:l,isOpened:i,isKeyboardNavigation:a,setIsKeyboardNavigation:r}=e;const{setIsPageContextToBeReset:s,setActiveCategory:o,activeIdx:c,setActiveIdx:d,activeCategory:u,menuHeadTitle:_,setMenuHeadTitle:h,menuLevel:m,setMenuLevel:p,setSelectedPrimaryLinkIndex:f,productCategories:v}=pt(),[g,b]=se(!1),k=ue(null),y=ue(null);ce((()=>{window.ikea?.pubsub?.subscribe("NAVIGATION/CLOSE_MODALS",(()=>{S()}))}),[]);const E=()=>{Ft(Gt((()=>"hamburger_menu_interaction"),"hamburger_menu_back","beacon","site_navigation"));p(m-1),2===u.length?(o([u[0]]),d([c[0]])):(o([]),d([])),s(!0)},S=()=>{k.current.classList.add("hnf-mobile-menu--hidden"),k.current.setAttribute("aria-hidden","true"),p(1),h(""),f(""),(0,Ot.toggleInertOnSiblings)(k.current,!1),(()=>{const e=document.body;if(e.classList.toString().indexOf("hnf-prevent-scroll-y")>-1){const t=e.getAttribute("data-skapa--scroll"),n=e.getAttribute("data-skapa--pad");e.classList.remove("hnf-prevent-scroll-y"),e.style.paddingRight=n,window.scrollTo(0,t),e.style.top="",e.removeAttribute("data-skapa--scroll"),e.removeAttribute("data-skapa--pad"),e.style.length||e.removeAttribute("style")}})(),Dt("navOpenDropdownTime");const e=document.querySelector(".hnf-overlay");e.classList.remove("hnf-overlay--visible"),e.style["will-change"]="",l(!1),a&&(document.activeElement.blur(),y.current?.focus())},N=e=>{const t=e.composedPath();t.includes(document.querySelector(".hnf-header__hamburger"))||t.includes(document.querySelector(".hnf-mobile-menu"))||t.includes(document.getElementById("onetrust-consent-sdk"))||S()},$=e=>{"Escape"!==e.key&&"Esc"!==e.key||(r(!0),m>1?E():S())};ce((()=>(document.addEventListener("click",N),()=>{document.removeEventListener("click",N)})),[N]),ce((()=>{k.current=document.querySelector("aside.hnf-mobile-menu"),y.current=document.querySelector(".hnf-header__hamburger > button");const e=()=>{k.current?.scrollTop>8?b(!0):b(!1)};return k.current?.addEventListener("scroll",e),()=>{k.current?.removeEventListener("scroll",e)}}),[]),ce((()=>(document.addEventListener("keydown",$),(e=>{if(!e)return;const{first:t,last:n}=xn(e);n&&(n.onkeydown=e=>{9!==e.which||e.shiftKey||(e.preventDefault(),t.focus())}),t&&(t.onkeydown=e=>{9===e.which&&e.shiftKey&&(e.preventDefault(),n.focus())})})(k.current),a&&setTimeout((()=>{xn(k.current?.querySelector(".hnf-mobile-menu__container"))?.first?.focus()}),100),()=>{!function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{first:n,last:l,all:i}=xn(e);t&&i?i.forEach((e=>{e.onkeydown=null})):(n&&(n.onkeydown=null),l&&(l.onkeydown=null))}(k.current,!0),document.removeEventListener("keydown",$)})),[i,m,v]);const w=n?"hnf-mobile-menu__heading--2-1-sections":"";return _t.createElement("div",{className:"hnf-mobile-menu__header "+(g||n&&1===m?"hnf-mobile-menu__header--scrolled":"")},1===m?_t.createElement("a",{href:hn(),className:"hnf-link hnf-mobile-menu__header-logo","data-tracking-label":"ikea-logo","aria-label":t.IKEA_LOGO_ACCESSIBLE_LABEL},_t.createElement("img",{src:"https://www.ikea.com/global/assets/logos/brand/ikea.svg",alt:""})):_t.createElement(x,null,_t.createElement(Et,{"data-back-link":!0,iconOnly:!0,ssrIcon:Pt,size:n?"xsmall":"small",prefix:"hnf-",className:"hnf-mobile-menu__back",label:t.SITE_MENU_GO_BACK,onClick:E}),!n&&_t.createElement("h2",{className:`hnf-mobile-menu__heading ${w}`},_)),_t.createElement(Lt,{"data-close-link":!0,prefix:"hnf-",className:"hnf-mobile-menu__close",type:"tertiary",size:n?"small":"medium",iconOnly:!0,ssrIcon:Vt,text:t.SITE_MENU_CLOSE_MENU,onClick:e=>{r(""===e.pointerType),Ft(Gt((()=>"hamburger_menu_close"),"","beacon","site_navigation")),S()}}))},Sn=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m16.415 12.0011-8.0012 8.0007-1.4141-1.4143 6.587-6.5866-6.586-6.5868L8.415 4l8 8.0011z"}}],Nn=Sn;var $n=()=>wt(Nn);const wn=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m15.5996 12.0007-5.785 5.7857-1.4143-1.4141 4.3711-4.3716L8.4003 7.629l1.4143-1.4142 5.785 5.7859z"}}],In=wn;var zn=()=>wt(In);const Cn=e=>{let{links:t,sectionsAndGroupsEnabled:n}=e;const{setSelectedPrimaryLinkIndex:l,setMenuLevel:i,setMenuHeadTitle:a}=pt();return _t.createElement("ul",{className:"hnf-mobile-menu__nav__main","data-main-links":!0},t.map((e=>{const t=nn(e.link);return _t.createElement("li",null,ln(e.link)||e?.items?.length>0?_t.createElement("a",{className:"hnf-link hnf-mobile-menu__link",href:e.link,onClick:n=>((e,t,n,r)=>{e.preventDefault(),Ft("products"===r?Gt((()=>"products_open"),"opened products menu","beacon","site_navigation"):"rooms"===r?Gt((()=>"rooms_open"),"opened rooms menu","beacon","site_navigation"):Gt((()=>"entrypoint_click"),r,"beacon","site_navigation")),l(t),i(2),a(n)})(n,e.dataIndex,e.title,t),"data-tracking-label":t,role:"button"},_t.createElement("span",{className:"hnf-mobile-menu__link__label"},e.title),_t.createElement(yt,{paths:n?zn:$n,className:"hnf-mobile-menu__link__icon"})):_t.createElement("a",{className:"hnf-link",href:e.link,"data-tracking-label":t},e.title))})))},Ln=e=>{let{links:t,sectionsAndGroupsEnabled:n}=e;const{setSelectedPrimaryLinkIndex:l,setMenuLevel:i,setMenuHeadTitle:a}=pt(),r=(e,t)=>{const n=t.sectionId||nn(t.link);e.preventDefault(),s(n),l(t.dataIndex),i(2),a(t.title)},s=e=>{Ft(Gt((()=>"entrypoint_click"),e,"beacon","site_navigation"))};return _t.createElement("ul",{className:"hnf-mobile-menu__nav__main hnf-mobile-menu__nav__main--secondary","data-main-links":!0},t.map((e=>n&&e?.items?.length>0?_t.createElement("li",null,_t.createElement("a",{className:"hnf-link hnf-mobile-menu__nav__main--small",href:e.link,onClick:t=>r(t,e),"data-tracking-label":nn(e.link),"data-index":e.dataIndex,role:"button"},_t.createElement("span",{className:"hnf-mobile-menu__link__label"},e.title),_t.createElement(yt,{paths:n?zn:$n,className:"hnf-mobile-menu__link__icon"}))):n?void 0:_t.createElement("li",null,e?.items?.length>0?_t.createElement("a",{className:"hnf-link hnf-mobile-menu__nav__main--small",href:e.link,onClick:t=>r(t,e),"data-tracking-label":nn(e.link),"data-index":e.dataIndex,role:"button"},_t.createElement("span",{className:"hnf-mobile-menu__link__label"},e.title),_t.createElement(yt,{paths:$n,className:"hnf-mobile-menu__link__icon"})):_t.createElement("a",{className:"hnf-link hnf-mobile-menu__nav__main--small",href:e.link,onClick:t=>s(e.sectionId||nn(e.link)),"data-tracking-label":e.sectionId||nn(e.link)},e.title)))))},An=e=>{let{links:t}=e;return _t.createElement("ul",{className:"hnf-mobile-menu__nav__aux","data-aux-links":!0},t.map((e=>_t.createElement("li",null,_t.createElement("a",{className:"hnf-link",href:e.link,"data-tracking-label":nn(e.link)},e.title)))))},Mn=_t.forwardRef(((e,t)=>{const{prefix:n,barPosition:l,barWidth:i,onClick:a,onMouseDown:r,draggable:s,...o}=e,c=(l-i*l/100)*(100/i),d=gt(`${n}scroll-indicator__bar`,s&&`${n}scroll-indicator__bar-dragging`);return vt("div",{className:gt(`${n}scroll-indicator`,s&&`${n}scroll-indicator--dragging`),onClick:e=>a&&a(e),"aria-hidden":!0,...o,children:i>0&&vt("span",{className:`${n}scroll-indicator__bar-wrapper`,ref:t,children:vt("span",{className:d,style:{width:`${i}%`,transform:`translateX(${c}%)`},onMouseDown:e=>r&&r(e)})})})}));Mn.displayName="ScrollIndicator";var Pn=Mn;const Tn=e=>{const{prefix:t="",children:n,targetId:l,label:i,className:a,targetReference:r,linkReference:s,onKeyDown:o,...c}=e,d=`${t}skip-content`;return vt(x,{children:[vt("a",{href:`#${l}`,className:gt(`${d}__button`,a),ref:s,onKeyDown:e=>{o&&o(e)," "===e.key&&(e.preventDefault(),e.currentTarget.click())},...c,children:i}),n,n&&vt("span",{id:l,className:gt(`${d}__target`),tabIndex:-1,ref:r})]})};Tn.displayName="SkipContent";var Hn=Tn,Vn=n(9853);const On=(e,t)=>{let n;return(...l)=>{clearTimeout(n),n=setTimeout((()=>{e(...l)}),t)}};var Bn=class extends E{constructor(e){super(e),this.slideRefs=[],this.scroller=null,this.scrollIndicator=null,this.slideToIndex=e=>this.slideRefs.indexOf(e),this.state={isScrolling:!1,currentIndex:e.slideIndex||0,visibleSlides:[],partiallyVisibleSlides:[],targetScroll:0,currentScroll:0,initialized:!1,draggable:!1,prevPosition:0,prevSliderPosition:0,slideShowDragging:!1,intersectionObserverDisabled:!1},e.id&&(this.skipButtonId=`${e.prefix}-carousel__${e.id}-skip-btn`,this.previousBtnId=`${e.prefix}-carousel__${e.id}-prev-btn`,this.nextBtnId=`${e.prefix}-carousel__${e.id}-next-btn`),this._visibleSlides=[],this.visibleIndexes=[],this.partiallyVisibleIndexes=[],this._partiallyVisibleSlides=[],this._visibleSlidesLength=null,this.onKeyUp=this.onKeyUp.bind(this),this.observeSlides=this.observeSlides.bind(this),this.setScrollState=this.setScrollState.bind(this),this.onScrollIndicatorClick=this.onScrollIndicatorClick.bind(this),this.slideRefs=[],this.onButtonClick=this.onButtonClick.bind(this),this.handleScrollBarMouseMove=this.handleScrollBarMouseMove.bind(this),this.handleScrollBarMouseDown=this.handleScrollBarMouseDown.bind(this),this.handleScrollBarMouseUp=this.handleScrollBarMouseUp.bind(this),this.handleSwipe=this.handleSwipe.bind(this),y&&(this.component={current:null},this.slider={current:null})}clamp(e,t,n){return e<=t?t:e>=n?n:e}setScrollState(){this.setState({currentScroll:this.scroller.scrollLeft})}observeSlides(e,t){const n=t&&t.thresholds;e.forEach((e=>{n&&e.intersectionRatio>=t.thresholds[1]?-1===this._visibleSlides.indexOf(e.target)&&this._visibleSlides.push(e.target):this._visibleSlides=this._visibleSlides.filter((t=>t!==e.target)),n&&e.intersectionRatio>=t.thresholds[0]?-1===this._partiallyVisibleSlides.indexOf(e.target)&&this._partiallyVisibleSlides.push(e.target):this._partiallyVisibleSlides=this._partiallyVisibleSlides.filter((t=>t!==e.target)),this.partiallyVisibleIndexes=this._partiallyVisibleSlides.map(this.slideToIndex)})),this.setState({partiallyVisibleSlides:[...this._partiallyVisibleSlides]}),this.debouncedSetVisibilityState&&this.debouncedSetVisibilityState(this._visibleSlides)}_getVisibleMinMax(e,t){return void 0===e||0===e.length?null:Math[t].apply(Math,e)}get maxVisible(){return this._getVisibleMinMax(this.visibleIndexes,"max")}get maxPartiallyVisible(){return this._getVisibleMinMax(this.partiallyVisibleIndexes,"max")}get minVisible(){return this._getVisibleMinMax(this.visibleIndexes,"min")}get minPartiallyVisible(){return this._getVisibleMinMax(this.partiallyVisibleIndexes,"min")}get firstSlide(){return this.slideRefs.length>0?this.slideRefs[0]:null}get lastSlide(){return this.slideRefs.length>0?this.slideRefs[this.lastSlideIndex]:null}get isFirstSlideVisible(){return On((()=>{if(0===this.state.currentScroll)return!0}),100),this._visibleSlides.indexOf(this.firstSlide)>-1}get isLastSlideVisible(){return On((()=>{if(this.state.currentScroll===this.maxScrollWidth)return!0}),100),this._visibleSlides.indexOf(this.lastSlide)>-1}get allSlidesVisible(){return this.isFirstSlideVisible&&this.isLastSlideVisible}get lastSlideIndex(){return this.slideRefs.length-1}get nextSlide(){return null===this.maxVisible?this.maxPartiallyVisible:this.maxVisible+1}get prevSlide(){return null===this.minVisible?this.minPartiallyVisible:this.minVisible-1}get visibleSlidesLength(){return this._visibleSlidesLength?this._visibleSlidesLength:this.clamp(this.state.visibleSlides.length,1,1/0)}get scrollWidth(){return this.scroller?this.scroller.scrollWidth:1/0}get maxScrollWidth(){return this.scroller?this.scrollWidth-this.scroller.offsetWidth:1/0}getPreviousScroll(e){return!this.props.isSlideShow&&this.props.rtl?e.offsetLeft:e.offsetLeft+e.getBoundingClientRect().width-this.scroller.offsetWidth}getNextScroll(e){return!this.props.isSlideShow&&this.props.rtl?e.offsetLeft-this.scroller.offsetWidth+e.getBoundingClientRect().width:e.offsetLeft}onButtonClick(e){if(this.state.isScrolling)return;const t=this.clamp("right"===e?this.nextSlide:this.prevSlide,0,this.lastSlideIndex);this.goToIndex(t,e),"right"===e&&this.props.onBtnRightClick&&this.props.onBtnRightClick(),"left"===e&&this.props.onBtnLeftClick&&this.props.onBtnLeftClick()}goToIndex(e,t="left"){e=this.clamp(e,0,this.lastSlideIndex);const n=this.slideRefs[e];if(!n)return void this.scrollTo(0);let l="right"===t?this.getNextScroll(n):this.getPreviousScroll(n);0===e&&(l=0),this.scrollTo(l)}easing(e,t,n,l){return n*Vn(.4,0,.4,1)(e/l)+t}scrollTo(e){if(this.setState({targetScroll:e}),this.stopObservingSlides(),!this.state.initialized||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return this.scroller.scrollLeft=e,this.startObservingSlides(),void(this.state.initialized||this.setState({initialized:!0}));this.setState({isScrolling:!0}),null!==this.scroller&&function(e,t,n,l,i=200,a=()=>{}){const r=Date.now(),s=e[t],o=n-s;let c=!1;const d=()=>{const u=Date.now()-r;if(!c){if(u/i>1)return e[t]=n,_(),void a();e[t]=l(u,s,o,i),requestAnimationFrame(d)}},u=()=>{c=!0,_(),a()},_=()=>{e.removeEventListener("wheel",u),e.removeEventListener("touchstart",u)};e.addEventListener("wheel",u,{passive:!0}),e.addEventListener("touchstart",u,{passive:!0}),d()}(this.scroller,"scrollLeft",e,this.easing,200,(()=>{this.setState({isScrolling:!1}),this.startObservingSlides()}))}startObservingSlides(){this.setState({slideShowDragging:!1}),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window?(this.visibleSlideObserver=new IntersectionObserver(this.observeSlides,{root:this.scroller,threshold:[.99,.001],rootMargin:"1px"}),this.slideRefs.forEach((e=>!!e&&this.visibleSlideObserver?.observe(e))),this.setState({intersectionObserverDisabled:!1})):this.setState({intersectionObserverDisabled:!0})}stopObservingSlides(){this.visibleSlideObserver&&this.visibleSlideObserver.disconnect()}onKeyUp(e){let t;if("ArrowLeft"===e.key||"ArrowRight"===e.key){switch(e.preventDefault(),e.key){case"ArrowLeft":t=this.props.rtl?"right":"left";break;case"ArrowRight":t=this.props.rtl?"left":"right";break;default:return}this.onButtonClick(t)}}onScrollIndicatorClick(e){if(!this.scrollIndicator)return;const{children:t=[],isSlideShow:n}=this.props,l=t.length;if(e.target===this.scrollIndicator.childNodes[0])return;const i=this.scrollIndicator.getBoundingClientRect().left,a=this.scrollIndicator.getBoundingClientRect().width,r=100*(e.clientX-i)/a*this.maxScrollWidth/100;if(n){const e=this.maxScrollWidth/(l-1),t=this.maxScrollWidth/l;let n=Math.round(r/e)*e;rt*(l-1)&&(n=this.maxScrollWidth),this.scrollTo(this.props.rtl?n-this.maxScrollWidth:n)}else this.scrollTo(this.props.rtl?r-this.maxScrollWidth:r)}adjustSliderPosition(){this.goToIndex(this.state.currentIndex)}handleSwipe(){this.state.slideShowDragging&&requestAnimationFrame((()=>{this.setState({slideShowDragging:!1})}))}handleScrollBarMouseDown(e){this.setState({draggable:!0,prevPosition:e.pageX,prevSliderPosition:this.scroller.scrollLeft,slideShowDragging:!0})}handleScrollBarMouseUp(){this.state.draggable&&this.setState({draggable:!1})}handleScrollBarMouseMove(e){if(!this.state.draggable)return;const t=this.scrollWidth/this.scrollIndicator.scrollWidth;this.scroller.scrollLeft=this.state.prevSliderPosition+(e.pageX-this.state.prevPosition)*t}componentDidMount(){this.resizeEventCallback=On((()=>{this._visibleSlidesLength=this._visibleSlides?this._visibleSlides.length:null,this.props.onResize&&this.props.onResize(),this.stopObservingSlides(),this.startObservingSlides(),this.slideRefs[0]&&this.slideRefs[0].getBoundingClientRect().width*this.slideRefs.length<=this.scroller.offsetWidth&&this.adjustSliderPosition()}),250),window.addEventListener("mousemove",this.handleScrollBarMouseMove),window.addEventListener("mouseup",this.handleScrollBarMouseUp),window.addEventListener("resize",this.resizeEventCallback),this.scroller?.addEventListener("wheel",this.handleSwipe,{passive:!0}),this.scroller?.addEventListener("scroll",this.setScrollState),this.debouncedSetVisibilityState=On((e=>{this._visibleSlidesLength||(this._visibleSlidesLength=e.length),this.setState({visibleSlides:e});const t=e.map(this.slideToIndex);this.visibleIndexes.join(",")!==t.join(",")&&this.props.onVisibleSlideChange&&this.props.onVisibleSlideChange([...t]),this.visibleIndexes=t}),100),this.startObservingSlides(),this.adjustSliderPosition()}componentWillUnmount(){window.removeEventListener("mousemove",this.handleScrollBarMouseMove),window.removeEventListener("mouseup",this.handleScrollBarMouseUp),this.resizeEventCallback&&window.removeEventListener("resize",this.resizeEventCallback),this.scroller?.removeEventListener("wheel",this.handleSwipe),this.scroller?.removeEventListener("scroll",this.setScrollState),this.stopObservingSlides()}componentDidUpdate(e){this.props.slideIndex!==e.slideIndex&&this.goToIndex(this.props.slideIndex),e.children.length!==this.props.children.length&&(this.stopObservingSlides(),this.startObservingSlides(),this.slideRefs.length=0,this.setScrollState())}render(){const{id:e,slideIndex:t=0,hasNoControls:n=!1,children:l=[],prefix:i="",rtl:a,ariaLabelLeftBtn:r="See previous items",ariaLabelRightBtn:s="See next items",controlBtnType:o="primary",onBtnRightClick:c,onBtnLeftClick:d,onResize:u,itemClass:_,contentClass:h,bodyWrapperClass:m,isSlideShow:p,hasNoScrollbar:f,hasSlideCounter:v,className:g,skipButtonText:b="Skip listing",counterText:k="of",onVisibleSlideChange:y,...x}=this.props,{currentScroll:E,isScrolling:S,slideShowDragging:N,draggable:$}=this.state,w=this.isLastSlideVisible,I=this.isFirstSlideVisible,z=this.allSlidesVisible,C=E/this.maxScrollWidth*100,L=null===this.scroller?0:this.scroller.offsetWidth/this.scroller.scrollWidth*100,A=_t.Children.toArray(l).filter((e=>e)),M=(this.visibleIndexes[0]??this.partiallyVisibleIndexes[0])+1,P=A.map(((t,n)=>vt("div",{ref:e=>this.slideRefs[n]=e,className:gt(`${i}carousel-slide`,_),children:t},`${e}-${n}`))),T=gt(`${i}carousel`,g,p&&`${i}carousel__slide-show`,this.state.intersectionObserverDisabled&&`${i}carousel--intersection-observer-disabled`,$&&`${i}carousel--dragging`),H=gt(`${i}carousel__content`,h,!S&&`${i}carousel__content--snap-slide`,N&&`${i}carousel__content--drag-slide`,z&&`${i}carousel__content--single-slide`),V=gt(`${i}carousel__body`,p&&`${i}carousel__body--slide-show`);return vt("div",{className:T,tabIndex:-1,ref:this.component,...x,onKeyUp:this.onKeyUp,children:vt(Hn,{prefix:i,label:b,targetId:this.skipButtonId,children:[vt("div",{className:`${i}carousel__wrapper`,children:[!n&&vt(Lt,{id:this.previousBtnId,"aria-controls":`${i}carousel__${e}`,prefix:i,size:"small",iconOnly:!0,ssrIcon:Pt,type:o,"aria-label":r,className:gt(`${i}carousel__button`,I&&`${i}carousel__button--hidden`),onClick:()=>this.onButtonClick("left")}),vt("div",{className:H,ref:e=>this.scroller=e,children:vt("div",{className:gt(`${i}carousel__body-wrapper`,m),children:vt("div",{id:`${i}carousel__${e}`,className:V,ref:this.slider,children:P})})}),!n&&vt(Lt,{id:this.nextBtnId,"aria-controls":`${i}carousel__${e}`,prefix:i,size:"small",iconOnly:!0,ssrIcon:$n,type:o,"aria-label":s,className:gt(`${i}carousel__button`,`${i}carousel__button--right`,w&&`${i}carousel__button--hidden`),onClick:()=>this.onButtonClick("right")})]}),!z&&!f&&vt("div",{className:`${i}carousel__counter--wrapper`,children:[vt(Pn,{prefix:i,barPosition:C,barWidth:L,ref:e=>this.scrollIndicator=e,onClick:this.onScrollIndicatorClick,onMouseDown:this.handleScrollBarMouseDown,draggable:this.state.draggable}),v&&!!M&&vt("span",{className:`${i}carousel__counter`,children:`${M} ${k} ${A.length}`})]})]})})}},Rn=Bn;var Dn=e=>{const{prefix:t="",className:n,media:l,mediaPosition:i="leading",content:a}=e,r=`${t}card`,s=gt(r,"trailing"===i&&`${r}--trailing-media`,n);return vt(x,{children:l?vt("div",{className:s,children:[a,vt("div",{className:`${r}__media`,children:l})]}):a})};const Un=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m20.0008 12.0001-8-8.001-1.4143 1.414L16.1727 11H4v2h12.1723l-5.5868 5.5866 1.4141 1.4142 8.0012-8.0007z"}}],Wn=Un;var Fn=()=>wt(Wn);const Gn="rgb(var(--colour-neutral-2, 245, 245, 245))",qn="rgb(var(--colour-neutral-7, 17, 17, 17))",jn="rgb(var(--colour-elevation-2, 255, 255, 255))",Kn="rgb(var(--colour-static-ikea-brand-blue, 0, 88, 163))",Zn="rgb(var(--colour-static-ikea-family, 0, 124, 193))",Xn="rgb(var(--colour-static-ikea-business-network, 222, 188, 156))",Jn="rgb(var(--colour-commercial-message-new, 202, 80, 8))",Yn="rgb(var(--colour-commercial-message-new-lower-price, 204, 0, 8))",Qn="rgb(var(--colour-commercial-message-bti-yellow, 255, 219, 0))",el="rgb(var(--colour-campaign-sustainability, 0, 133, 62))",tl="rgb(var(--colour-extended-palette-01, 193, 207, 212))",nl="rgb(var(--colour-extended-palette-02, 163, 172, 176))",ll="rgb(var(--colour-extended-palette-03, 140, 221, 255))",il="rgb(var(--colour-extended-palette-04, 0, 150, 210))",al="rgb(var(--colour-extended-palette-05, 0, 89, 128))",rl="rgb(var(--colour-extended-palette-06, 217, 171, 255))",sl="rgb(var(--colour-extended-palette-07, 107, 61, 153))",ol="rgb(var(--colour-extended-palette-08, 255, 166, 218))",cl="rgb(var(--colour-extended-palette-09, 229, 47, 126))",dl="rgb(var(--colour-extended-palette-10, 255, 174, 102))",ul="rgb(var(--colour-extended-palette-11, 255, 170, 0))",_l="rgb(var(--colour-extended-palette-12, 242, 106, 47))",hl="rgb(var(--colour-extended-palette-13, 204, 177, 0))",ml="rgb(var(--colour-extended-palette-14, 199, 217, 0))",pl="rgb(var(--colour-extended-palette-15, 122, 181, 29))",fl="rgb(var(--colour-extended-palette-16, 80, 128, 32))",vl="rgb(var(--colour-extended-palette-17, 149, 229, 187))",gl="rgb(var(--colour-extended-palette-18, 0, 153, 133))",bl="rgb(var(--colour-extended-palette-19, 0, 102, 88))",kl="rgb(var(--colour-extended-palette-20, 215, 199, 162))",yl="rgb(var(--colour-extended-palette-21, 195, 178, 137))",xl={default:Gn,importantMessage:qn,inverse:jn,wayfinding:Kn,lowestPrice:Qn,newLowerPrice:Yn,new:Jn,IKEAFamily:Zn,sustainability:el,IKEABusinessNetwork:Xn,extendedPalette01:tl,extendedPalette02:nl,extendedPalette03:ll,extendedPalette04:il,extendedPalette05:al,extendedPalette06:rl,extendedPalette07:sl,extendedPalette08:ol,extendedPalette09:cl,extendedPalette10:dl,extendedPalette11:ul,extendedPalette12:_l,extendedPalette13:hl,extendedPalette14:ml,extendedPalette15:pl,extendedPalette16:fl,extendedPalette17:vl,extendedPalette18:gl,extendedPalette19:bl,extendedPalette20:kl,extendedPalette21:yl},El=["importantMessage","new","sustainability","IKEAFamily","newLowerPrice"],Sl=["lowestPrice","IKEABusinessNetwork","extendedPalette01","extendedPalette02","extendedPalette03","extendedPalette04","extendedPalette06","extendedPalette08","extendedPalette09","extendedPalette10","extendedPalette11","extendedPalette12","extendedPalette13","extendedPalette14","extendedPalette15","extendedPalette17","extendedPalette18","extendedPalette20","extendedPalette21"],Nl=["wayfinding","extendedPalette05","extendedPalette07","extendedPalette16","extendedPalette19"];var $l=({prefix:e="",id:t,className:n,addOn:l,title:i,subtitle:a="",label:r="",body:s="",children:o,onCardClick:c,simple:d=!1,href:u,linkAttributes:_,theme:h="default",fixed:m,buttonProps:p,buttonType:f,titleHeadingTag:v="h2",contentVerticalAlign:g,...b})=>{const k=`${e}content-card`,y=gt(El.includes(h)&&`${k}--light-foreground`,Nl.includes(h)&&`${k}--static-light-foreground`,Sl.includes(h)&&`${k}--static-dark-foreground`),x=gt(k,m&&`${k}--fixed`,d&&`${k}--simple`,!d&&y,"center"===g&&`${k}--${g}`,n),E=gt(`${k}__container`),S=d?{"--content-card-background":"none"}:{"--content-card-background":`${xl[h]}`},N=v,$=vt("div",{className:E,children:[l&&vt("div",{className:`${k}__add-on`,children:l}),r&&vt("span",{className:`${k}__label`,children:r}),vt("a",{href:u,onClick:c,..._,className:`${k}__headers`,"aria-describedby":p?.text?`${t}-cta`:void 0,children:vt(N,{className:`${k}__title`,children:i})}),a&&vt("span",{className:`${k}__subtitle`,children:a}),s&&vt("p",{className:`${k}__body`,children:s}),o]}),w=vt(Lt,p?.text?{...p,prefix:e,className:gt(`${k}__cta`,p.className),tabIndex:-1,"aria-hidden":"true",type:f||"primary",size:"small",id:`${t}-cta`,href:void 0,onClick:void 0,inverseTheme:El.includes(h)||Nl.includes(h),staticColour:Sl.includes(h)||Nl.includes(h)}:{prefix:e,className:`${k}__cta`,tabIndex:-1,"aria-hidden":"true",type:"primary",iconOnly:!0,size:"small",inverseTheme:"inverse"!==h,staticColour:"inverse"!==h,ssrIcon:Fn}),I=p?.text?vt(Lt,{...p,prefix:e,id:`${t}-cta`,className:gt(`${k}__cta`,p.className),tabIndex:-1,href:void 0,onClick:void 0,"aria-hidden":"true",type:f||"secondary",size:"small"}):vt(yt,{className:`${k}__icon`,prefix:e,paths:Fn});return vt("div",{className:x,...b,style:S,children:[$,vt("div",{className:`${k}__footer`,children:d?I:w})]})};const wl=(e,t)=>{const[n,l]=se((dn()?null:on().store?.id||null)||null),[i,a]=se((dn()?null:on().pc?.state||null)||null);if(ce((()=>{const e=window?.ikea?.pubsub?.subscribe("NAVIGATION/STORE_SET",(e=>{e!==n&&l(e)})),t=window?.ikea?.pubsub?.subscribe("NAVIGATION/POSTALCODE_SET",(e=>{e&&e.state&&e.state!==i&&a(e.state)}));return()=>{e?.unsubscribe(),t?.unsubscribe()}}),[n,i]),!e?.length||!t?.length)return null;const r=(new Date).toISOString();let s=t.filter((t=>{let{id:n,start:l,end:i}=t;return e.includes(n)&&r>l&&(!i||r{let{stores:t,states:l}=e;return t.includes(n)||l?.includes(i)}));return s=o.length?o:s.filter((e=>{let{stores:t,states:n}=e;return!t.length&&!n?.length})),s[Math.floor(Math.random()*s.length)]||null},Il=e=>{let{promotionIds:t,promotions:n,idx:l}=e;const i=wl(t,n);if(!i)return null;const a=`${l?l+" | ":""}${i.promotionUrl}`;return _t.createElement("div",{className:"hnf-mobile-menu__promotion"},_t.createElement(Dn,{prefix:"hnf-",content:_t.createElement($l,{prefix:"hnf-",dataTrackingLabel:`${l?l+" | ":""}${i.promotionUrl}`,contentVerticalAlign:"top",fixed:!1,href:i.promotionUrl,theme:i?.background||"default",title:i.title,titleHeadingTag:"h2","data-tracking-label":a,onClick:e=>{const t=e.target.closest("nav")?.querySelector("ul"),n=`${t?.getAttribute("data-tracking-label")} | ${a}`;Ft(Gt((()=>"main_navigation_click"),n.replace(/^products\s\|/,"product_banners |"),"beacon","site_navigation"))}}),mediaPosition:"leading"}))};var zl=e=>{const{prefix:t="",className:n,width:l="100%",height:i,inlineBlock:a,tagName:r="div",...s}=e;return vt(r,{style:{width:l,height:i},className:gt(`${t}skeleton`,a&&`${t}skeleton--inline-block`,n),...s})};const Cl=e=>{let{item:t,sectionsAndGroupsEnabled:n=!1}=e;const{setActiveCategory:l,setActiveIdx:i,setMenuLevel:a,activeCategory:r,activeIdx:s,menuLevel:o}=pt(),[c,d]=se(!1),u=n?"48px":"74px";let _="";t.im&&(_=_t.createElement("div",{className:c?"hnf-mobile-menu--product__image":"hnf-image--loading"},_t.createElement("img",{src:vn(t.im,160),alt:"",className:"hnf-image",onLoad:()=>d(!0)})));return _t.createElement("li",{className:"hnf-mobile-menu--product"},_t.createElement("a",{href:`${hn()}${t.url}`,onClick:e=>((e,t)=>{const n=`${e.target.closest("ul").getAttribute("data-tracking-label")} | ${t.idx} | ${kn(t)}`;Ft(Gt((()=>"main_navigation_click"),n,"beacon","site_navigation")),e.preventDefault(),3===o?(a(4),l([r[0],t]),i([s[0],t.idx])):(a(3),l([t]),i([t.idx])),document.querySelector(".hnf-mobile-menu").scrollTo({top:0,left:100})})(e,t),role:"button",className:"hnf-link hnf-mobile-menu--product__link","data-tracking-label":`${t.idx} | ${kn(t)}`},_,!c&&_t.createElement(zl,{prefix:"hnf-",width:u,height:u,className:"hnf-mobile-menu--product__image"}),_t.createElement("span",{className:"hnf-mobile-menu--product__label"},t.name),_t.createElement(yt,{paths:n?zn:$n,className:"hnf-mobile-menu--product__icon"})))},Ll=e=>{let{item:t,sectionsAndGroupsEnabled:n}=e;const[l,i]=se(!1),a=n?"48px":"74px";let r="";return t.im&&(r=_t.createElement("div",{className:l?"hnf-mobile-menu--product__image":"hnf-image--loading"},_t.createElement("img",{src:vn(t.im,160),alt:"",className:"hnf-image",onLoad:()=>i(!0)}))),_t.createElement("li",{key:`product-category-${t.id}`},_t.createElement("a",{href:`${hn()}${t.url}`,className:"hnf-link hnf-mobile-menu--product__link","data-tracking-label":`${t.idx} | ${kn(t)}`,onClick:e=>{const n=`${e.target.closest("ul").getAttribute("data-tracking-label")} | ${t.idx} | ${kn(t)}`;Ft(Gt((()=>"main_navigation_click"),n,"beacon","site_navigation"))}},r,!l&&_t.createElement(zl,{prefix:"hnf-",width:a,height:a,className:"hnf-mobile-menu--product__image"}),_t.createElement("span",{className:"hnf-mobile-menu--product__label"},t.name)))};function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t{const{label:t,imageUrl:n,url:l,clickHandler:i,dataTrackingLabel:a,hasSubitems:r}=e,[s,o]=se(!1),c=t||_t.createElement(zl,{prefix:"hnf-",width:"150px",height:"22px"});return _t.createElement("a",Al({href:l,"data-tracking-label":a,className:"hnf-mobile-menu__card hnf-mobile-menu__card--extralink"},r?{onClick:i,role:"button"}:{onClick:e=>{const t=e.target.closest("a");Ft(Gt((()=>"main_navigation_click"),t.getAttribute("data-tracking-label"),"beacon","site_navigation"))}}),n?_t.createElement("div",{className:"hnf-mobile-menu__imagebox"},_t.createElement("img",{className:s?"hnf-image":"hnf-image hnf-image--loading",src:vn(n,300),alt:"",onLoad:()=>o(!0)}),!s&&_t.createElement(zl,{prefix:"hnf-",width:"150px",height:"100px"})):"",_t.createElement("span",null,c))},Pl=e=>{let{items:t,frontendVersion:n,productsTitle:l,localeStrings:i,promotions:a,sectionsAndGroupsEnabled:r,seeAllLink:s,isBusinessHeader:o}=e;const{productCategories:c,setProductCategories:d,activeCategory:u,activeIdx:_,setActiveCategory:h,menuLevel:m,setMenuLevel:p,setMenuHeadTitle:f,menuHeadTitle:v}=pt(),[g,b]=se(null);ce((async()=>{c?.length||d(o?await _n("box")():await _n("products")())}),[]),ce((()=>{2===m?f(l):3===m&&u.length?f(u[0].name):4===m&&u.length&&f(u[1].name)}),[m]);const k=t&&t.filter((e=>{let{mobileMenuImageUrl:t}=e;return t})).map(((e,t)=>_t.createElement(Ml,{key:`hnf-extra-link-${t}`,label:e.title,imageUrl:e.mobileMenuImageUrl,url:e.link,clickHandler:n=>((e,t)=>{e.preventDefault(),h([]),f(t.title),p(3),b(t);const n=e.target.closest("a").getAttribute("data-tracking-label");Ft(Gt((()=>"main_navigation_click"),n,"beacon","site_navigation"))})(n,{...e,idx:t+1}),hasSubitems:e.subItems?.length>0,dataTrackingLabel:`products_hotlinks | ${t+1} | ${nn(e.link)}`})));return _t.createElement(x,null,2===m&&_t.createElement("nav",{className:`hnf-mobile-menu__nav2 hnf-mobile-menu__submenu hnf-mobile-menu__submenu--${n}`},_t.createElement("ul",{"data-tracking-label":"products","data-menu-sub1-links":"",className:"hnf-mobile-menu__nav2__main hnf-mobile-menu__submenu__main","aria-label":""},!r&&k&&k?.length>0&&_t.createElement("li",{className:"hnf-tabs-navigation__carousel-wrapper"},_t.createElement(Rn,{id:"mobile-menu-extra-links",prefix:"hnf-",ariaLabelLeftBtn:i.TABS_NAVIGATION_SEE_PREVIOUS_ITEMS,ariaLabelRightBtn:i.TABS_NAVIGATION_SEE_NEXT_ITEMS,children:k,key:"carousel-1",skipButtonText:i.SKIP_LISTING})),r&&_t.createElement("li",{className:"hnf-mobile-menu__see-all-link"},_t.createElement("a",{href:s,className:"hnf-link"},l)),c.length>0&&c.filter((e=>e.im)).map(((e,t)=>{const n=k?.length>0?2:1;return e.subs?.length?_t.createElement(Cl,{item:{...e,idx:t+n},level:m,sectionsAndGroupsEnabled:r}):_t.createElement(Ll,{item:{...e,idx:t+n},sectionsAndGroupsEnabled:r})})))),3===m&&u[0]&&_t.createElement(x,null,_t.createElement("nav",{className:`hnf-mobile-menu__nav3 hnf-mobile-menu__submenu hnf-mobile-menu__submenu--${n}`},_t.createElement("ul",{className:"hnf-mobile-menu__nav3__main hnf-mobile-menu__submenu__main","data-tracking-label":`products | ${_[0]} | ${kn(u[0])}`},u[0].url&&_t.createElement("li",{className:r?"hnf-mobile-menu__see-all-link":"hnf-mobile-menu__list-item hnf-mobile-menu__list-item--highlight hnf-mobile-menu__list-item--last"},_t.createElement("a",{className:"hnf-btn hnf-btn--secondary hnf-btn--fluid",href:`${hn()}${u[0].url}`,"data-tracking-label":"1 | all",onClick:e=>{const t=`${e.target.closest("ul").getAttribute("data-tracking-label")} | 1 | all`;Ft(Gt((()=>"main_navigation_click"),t,"beacon","site_navigation"))}},r?_t.createElement("span",null,v):_t.createElement("span",{className:"hnf-btn__inner"},_t.createElement("span",{className:"hnf-btn__label"},gn(i.TABS_NAVIGATION_EXPLORE_CATEGORY,v))))),u[0].subs?.map(((e,t)=>e.subs?.length?_t.createElement(Cl,{item:{...e,idx:t+2},sectionsAndGroupsEnabled:r}):_t.createElement(Ll,{item:{...e,idx:t+2},sectionsAndGroupsEnabled:r})))),u[0]?.pro?.length?_t.createElement(Il,{promotionIds:u[0].pro,promotions:a,idx:u[0]?.subs?.length+2}):null)),4===m&&u[1]&&_t.createElement(x,null,_t.createElement("nav",{className:`hnf-mobile-menu__nav4 hnf-mobile-menu__submenu hnf-mobile-menu__submenu--${n}`},_t.createElement("ul",{className:"hnf-mobile-menu__nav4__main hnf-mobile-menu__submenu__main","data-tracking-label":`products | ${_[0]} | ${kn(u[0])} | ${_[1]} | ${kn(u[1])}`},u[1].subs?.length&&_t.createElement("li",{className:r?"hnf-mobile-menu__see-all-link":"hnf-mobile-menu__list-item hnf-mobile-menu__list-item--highlight hnf-mobile-menu__list-item--last"},_t.createElement("a",{className:"hnf-btn hnf-btn--secondary hnf-btn--fluid",href:`${hn()}${u[1].url}`,"data-tracking-label":"1 | all",onClick:e=>{const t=`${e.target.closest("ul").getAttribute("data-tracking-label")} | 1 | all`;Ft(Gt((()=>"main_navigation_click"),t,"beacon","site_navigation"))}},r?_t.createElement("span",null,v):_t.createElement("span",{className:"hnf-btn__inner"},_t.createElement("span",{className:"hnf-btn__label"},gn(i.TABS_NAVIGATION_EXPLORE_CATEGORY,v))))),u[1].subs?.map(((e,t)=>_t.createElement(Ll,{item:{...e,idx:t+2},sectionsAndGroupsEnabled:r})))),u[1]?.pro?.length?_t.createElement(Il,{promotionIds:u[1].pro,promotions:a,idx:u[1]?.subs?.length+2}):null)),3===m&&null!==g&&!u[0]&&_t.createElement(x,null,_t.createElement("nav",{className:"hnf-mobile-menu__nav3 hnf-mobile-menu__submenu"},_t.createElement("ul",{className:"hnf-mobile-menu__nav3__main hnf-mobile-menu__submenu__main","data-tracking-label":`products_hotlinks | ${g.idx} | ${nn(g.link)}`},_t.createElement("li",{className:"hnf-mobile-menu__list-item hnf-mobile-menu__list-item--highlight"},_t.createElement("a",{className:"hnf-btn hnf-btn--secondary hnf-btn--fluid",href:g.link,"data-tracking-label":"1 | all",onClick:e=>{const t=`${e.target.closest("ul").getAttribute("data-tracking-label")} | 1 | all`;Ft(Gt((()=>"main_navigation_click"),t,"beacon","site_navigation"))}},_t.createElement("span",{className:"hnf-btn__inner"},_t.createElement("span",{className:"hnf-btn__label"},i.SITE_MENU_SEE_ALL_IN.replace("{{category}}",v))))),g.subItems?.map(((e,t)=>_t.createElement("li",{className:"hnf-mobile-menu__list-item"},_t.createElement("a",{className:"hnf-link",href:e.link,"data-tracking-label":`${t+2} | ${nn(e.link)}`,onClick:n=>{const l=`${n.target.closest("ul").getAttribute("data-tracking-label")} | ${t+2} | ${nn(e.link)}`;Ft(Gt((()=>"main_navigation_click"),l,"beacon","site_navigation"))}},_t.createElement("span",null,e.title)))))),g?.promotionIds?.length?_t.createElement(Il,{promotionIds:g.promotionIds,promotions:a,idx:g?.subItems?.length+2}):null)))};var Tl=e=>{const{tagType:t="span",prefix:n="",className:l,ratio:i="standard",children:a,...r}=e;return vt(t,{className:`${gt(`${n}aspect-ratio-box`,i&&`${n}aspect-ratio-box--${i.replace(":","-")}`,l)}`,...r,children:a})};const Hl=e=>{let{item:t}=e;const[n,l]=se(!1);return _t.createElement("li",null,_t.createElement("a",{className:"hnf-link",href:t.link,"data-tracking-label":nn(t.link),onClick:()=>{const e=`rooms | ${t.idx} | ${nn(t.link)}`;Ft(Gt((()=>"main_navigation_click"),e,"beacon","site_navigation"))}},t.image?_t.createElement(Tl,{prefix:"hnf-",ratio:"standard",className:n?"":"hnf-image--loading"},_t.createElement("img",{className:"hnf-image",src:vn(t.image,300),alt:"",onLoad:()=>l(!0)})):"",!n&&_t.createElement(Tl,{prefix:"hnf-",ratio:"standard"},_t.createElement(zl,{prefix:"hnf-",className:"hnf-image"})),_t.createElement("span",null,t.title)))},Vl=e=>{let{item:t}=e;const[n,l]=se(!1);return _t.createElement("li",{className:"hnf-mobile-menu__room-item--stylised"},_t.createElement("a",{className:"hnf-link",href:t.link,"data-tracking-label":nn(t.link),onClick:()=>{const e=`rooms | ${t.idx} | ${nn(t.link)}`;Ft(Gt((()=>"main_navigation_click"),e,"beacon","site_navigation"))}},t.image?_t.createElement(Tl,{prefix:"hnf-",ratio:"4:5",className:n?"":"hnf-image--loading"},_t.createElement("img",{className:"hnf-image",src:vn(t.image,300),alt:"",onLoad:()=>l(!0)})):"",!n&&_t.createElement(Tl,{prefix:"hnf-",ratio:"4:5"},_t.createElement(zl,{prefix:"hnf-",className:"hnf-image"})),_t.createElement("span",{className:"hnf-mobile-menu__room-label"},_t.createElement("span",null,t.title),_t.createElement(yt,{paths:Fn,className:"hnf-mobile-menu--product__icon"}))))},Ol=e=>{let{items:t,sectionsAndGroupsEnabled:n}=e;return _t.createElement("nav",{className:"hnf-mobile-menu__nav2 hnf-mobile-menu__submenu"},_t.createElement("ul",{className:"hnf-mobile-menu__nav2__main hnf-mobile-menu__submenu__main hnf-mobile-menu__submenu__main--rooms-grid","data-tracking-label":"rooms"},t.map(((e,t)=>n?_t.createElement(Vl,{item:{...e,idx:t+1}}):_t.createElement(Hl,{item:{...e,idx:t+1}})))))},Bl=e=>{let{menuLabel:t,items:n,link:l,localeStrings:i,promotions:a,promotionIds:r,linkClickTrackingHandler:s}=e;const{setMenuHeadTitle:o,menuLevel:c,setMenuLevel:d,menuHeadTitle:u}=pt(),[_,h]=se();return ce((()=>{2===c?o(t):3===c&&o(_?.title)}),[c]),2===c?_t.createElement(x,null,_t.createElement("nav",{className:"hnf-mobile-menu__nav2 hnf-mobile-menu__submenu"},_t.createElement("ul",{className:"hnf-mobile-menu__nav2__main hnf-mobile-menu__submenu__main","data-tracking-label":nn(l)},l&&_t.createElement("li",{className:"hnf-mobile-menu__list-item hnf-mobile-menu__list-item--highlight"},_t.createElement("a",{className:"hnf-btn hnf-btn--secondary hnf-btn--fluid",href:l,"data-tracking-label":"1 | all",onClick:e=>s(e)},_t.createElement("span",{className:"hnf-btn__inner"},_t.createElement("span",{className:"hnf-btn__label"},i.SITE_MENU_SEE_ALL_IN.replace("{{category}}",u))))),n.map(((e,t)=>{const n=`${nn(l)} | ${t+2} | ${nn(e.link)}`;return e.subItems?.length>0?_t.createElement("li",{className:"hnf-mobile-menu__list-item"},_t.createElement("a",{className:"hnf-link",href:e.link,"data-tracking-label":`${t+2} | ${nn(e.link)}`,role:"button",onClick:l=>((e,t)=>{e.preventDefault(),s(e),h(t),d(3)})(l,{...e,idx:t+2,dataTrackingLabel:n})},_t.createElement("span",null,e.title),_t.createElement(yt,{paths:$n,className:"hnf-mobile-menu__link__icon"}))):_t.createElement("li",{className:"hnf-mobile-menu__list-item"},_t.createElement("a",{className:"hnf-link",href:e.link,"data-tracking-label":`${t+2} | ${nn(e.link)}`,onClick:e=>s(e)},_t.createElement("span",{className:"hnf-mobile-menu__link__label"},e.title)))}))),r?.length?_t.createElement(Il,{promotionIds:r,promotions:a,idx:n.length+2}):null)):3===c&&_?_t.createElement(x,null,_t.createElement("nav",{className:"hnf-mobile-menu__nav3 hnf-mobile-menu__submenu"},_t.createElement("ul",{className:"hnf-mobile-menu__nav3__main hnf-mobile-menu__submenu__main","data-tracking-label":`${_.dataTrackingLabel}`},(l||_.link&&"#"!==_.link)&&_t.createElement("li",{className:"hnf-mobile-menu__list-item hnf-mobile-menu__list-item--highlight"},_t.createElement("a",{className:"hnf-btn hnf-btn--secondary hnf-btn--fluid",href:_.link||l,"data-tracking-label":"1 | all",onClick:e=>s(e,_)},_t.createElement("span",{className:"hnf-btn__inner"},_t.createElement("span",{className:"hnf-btn__label"},i.SITE_MENU_SEE_ALL_IN.replace("{{category}}",_.title))))),_.subItems.map(((e,t)=>_t.createElement("li",{className:"hnf-mobile-menu__list-item"},_t.createElement("a",{href:e.link,"data-tracking-label":`${t+2} | ${nn(e.link)}`,onClick:t=>s(t,e)},_t.createElement("span",null,e.title)))))),_?.promotionIds?.length?_t.createElement(Il,{promotionIds:_.promotionIds,promotions:a,idx:_?.subItems.length+2}):null)):void 0},Rl=e=>{let{sections:t}=e;const{setSelectedPrimaryLinkIndex:n,setMenuLevel:l,setMenuHeadTitle:i}=pt();return _t.createElement("ul",{className:"hnf-mobile-menu__nav__main primarylinks","data-main-links":!0},t.map((e=>{const t=nn(e.link);return _t.createElement("li",null,_t.createElement("a",{className:"hnf-link hnf-mobile-menu__link",href:e.link,onClick:a=>((e,t,a,r)=>{e.preventDefault(),Ft("products"===r?Gt((()=>"products_open"),"opened products menu","beacon","site_navigation"):"rooms"===r?Gt((()=>"rooms_open"),"opened rooms menu","beacon","site_navigation"):Gt((()=>"entrypoint_click"),a,"beacon","site_navigation")),n(t),l(2),i(a)})(a,e.dataIndex,e.title,t),"data-tracking-label":t,role:"button"},_t.createElement("span",{className:"hnf-mobile-menu__link__label"},e.title),_t.createElement(yt,{paths:zn,className:"hnf-mobile-menu__link__icon"})))})))};var Dl=(e=>(e[e.Next=0]="Next",e[e.Previous=1]="Previous",e[e.First=2]="First",e[e.Last=3]="Last",e))(Dl||{});const Ul=e=>(Object.values(e).forEach((e=>(e.open=!1,e))),e),Wl=(e,t)=>{const n=t[e];return n?(n.open=!n.open,t):t},Fl=(e,t,n,l)=>{switch(e){case 0:return((e,t,n)=>{let l=-1,i=!1,a=(e+1)%n.length;for(;!i;)t[n[a]].disabled?a=(a+1)%n.length:(l=a,i=!0);return l})(t,n,l);case 1:return((e,t,n)=>{const l=n.length-1;let i=-1,a=!1,r=e<=0?l:e-1;for(;!a;)t[n[r]].disabled?r=r<=0?l:r-1:(i=r,a=!0);return i})(t,n,l);case 2:return((e,t)=>{let n=-1,l=!1,i=0;for(;!l;)e[t[i]].disabled||(n=i,l=!0),i++;return n})(n,l);case 3:return((e,t)=>{let n=-1,l=!1,i=t.length-1;for(;!l;)e[t[i]].disabled||(n=i,l=!0),i--;return n})(n,l);default:return t}},Gl=q({selectedId:null,setSelectedId:()=>{},items:{},setItems:()=>{},size:"medium",onHeadingClick:()=>{},onNavigation:Fl,upsertItem:()=>()=>{},keyDownHandler:()=>{}}),ql=e=>{const{selectedId:t,setSelectedId:n,items:l,setItems:i,collapsible:a,size:r,keyDownHandler:s,children:o}=e;return vt(Gl.Provider,{value:{selectedId:t,setSelectedId:n,items:l,setItems:i,size:r,onNavigation:Fl,onHeadingClick:e=>{const t=a?((e,t)=>{const n=t[e];return n?n.open?Ul(t):(t=Ul(t),Wl(e,t)):t})(e,l):Wl(e,l);i({...t}),n(e)},upsertItem:(e,t,n)=>(l[e]={open:t,disabled:n},i({...l}),()=>{delete l[e]}),keyDownHandler:s},children:o})};var jl=Gl;var Kl=e=>{const{collapsible:t=!0,prefix:n="",padded:l=!1,size:i="medium",children:a,className:r,...s}=e,o=gt(`${n}accordion`,l&&`${n}accordion--padded`,r),[c,d]=se(null),[u,_]=se({}),h=ue(null);return vt("ul",{className:o,onFocus:e=>{const t=e.target?.classList.contains(`${n}accordion__heading`);if(!t)return;const l=e.target.closest("[data-accordion-item]")?.id;l&&l!==c&&d(l)},ref:h,...s,children:vt(ql,{selectedId:c,setSelectedId:d,items:u,setItems:_,collapsible:t,size:i,keyDownHandler:e=>{const t="ArrowUp"===(n=e.key)?Dl.Previous:"ArrowDown"===n?Dl.Next:"Home"===n?Dl.First:"End"===n?Dl.Last:null;var n;if(null===t)return;e.preventDefault();const l=(e=>{if(null===e)return[];const t=e.querySelectorAll("[data-accordion-item]");return Array.from(t).map((e=>e.id))})(h.current),i=null===c?0:l.indexOf(c),a=l[Fl(t,i,u,l)];d(a)},children:a})})};const Zl=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m12.0003 15.5996-5.7857-5.785 1.414-1.4143 4.3717 4.3711 4.3717-4.3711 1.4141 1.4143-5.7858 5.785z"}}],Xl=Zl;var Jl=()=>wt(Xl);const Yl=He(((e,t)=>{const{prefix:n="",ssrIcon:l=zn,iconState:i,title:a="",subtitle:r="",onClick:s,disabled:o,className:c,onFocus:d,onBlur:u,..._}=e,h=pe(jl);return vt("button",{type:"button",disabled:o,className:gt(c,`${n}accordion-item-header`,`${n}accordion-item-header--${h.size}`),onClick:s,onFocus:d,onBlur:u,onKeyDown:h.keyDownHandler,ref:t,..._,children:[vt("span",{className:`${n}accordion-item-header__title-wrapper`,children:[vt("span",{className:`${n}accordion-item-header__title`,children:a}),r&&"small"!==h.size&&vt("span",{className:`${n}accordion-item-header__subtitle`,children:r})]}),vt(yt,{prefix:n,className:`${n}accordion-item-header__icon`,paths:l,modifier:i})]})}));Yl.displayName="AccordionItemHeader";var Ql=Yl;const ei=(e,t)=>e&&t?0:void 0;var ti=e=>{const{children:t,className:n,expanded:l=!1,prefix:i="",id:a,onTransitionEnd:r,focusOnExpanded:s=!1,...o}=e,c=ue(null),[d,u]=se(!l),_=`${i}collapsible`,h=gt(_,l&&`${_}--expanded`,d&&`${_}--closed`,n);return ce((()=>{l&&u(!1)}),[l]),vt("div",{id:a,className:h,"aria-hidden":!l,role:"region",tabIndex:ei(l,s),onTransitionEnd:e=>{c.current&&((e,t,n,l,i,a)=>{l.target!==n||l.target===n&&"grid-template-rows"!==l.propertyName||(((e,t,n)=>{e&&t&&n.focus()})(e,t,n),e||i(!0),a&&a(l,e))})(l,s,c.current,e,u,r)},ref:c,...o,children:vt("div",{className:`${_}__content`,children:t})})};const ni=He(((e,t)=>{const{id:n,prefix:l="",className:i,title:a,disabled:r=!1,children:s,onHeadingClicked:o,subtitle:c,caption:d,open:u=!1,ariaLevel:_=2,subtle:h=!1,onTransitionEnd:m,...p}=e,f=pe(jl),[v,g]=se(u),[b,k]=se(!1),y=ue(null),x=gt(`${l}accordion-item--${f.size}`,v&&!b&&`${l}accordion__item--active`,`${l}accordion__item`,h&&`${l}accordion__item--subtle`,i),E=gt(v&&!b&&"rotate-180");ce((()=>{const e=f.upsertItem(n,u,r);return()=>{e()}}),[n,u,r]),ce((()=>{const e=f.items[n];e&&(k(e.disabled),g(e.open))}),[f.items,n]),ce((()=>{n===f.selectedId&&null!==y.current&&y.current.focus()}),[f.selectedId,n]);return vt("li",{"data-accordion-item":!0,className:x,id:n,ref:t,children:[vt("div",{role:"heading","aria-level":_,children:vt(Ql,{className:`${l}accordion__heading`,prefix:l,onClick:e=>{f.onHeadingClick(n),o&&o(e)},"aria-controls":`SEC_${n}`,disabled:b,title:a,subtitle:d||(!v||b?c:""),ssrIcon:Jl,iconState:E,"aria-expanded":!!v,ref:y,...p})}),vt(ti,{id:`SEC_${n}`,prefix:l,className:`${l}accordion__content`,"aria-labelledby":n,expanded:v&&!b,onTransitionEnd:m,role:"region",children:vt("div",{className:`${l}accordion__content--inner-${f.size}`,children:s})})]})}));ni.displayName="AccordionItem";const li=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const[l,i]=se((dn()?null:on().store?.id||null)||null),[a,r]=se((dn()?null:on().pc?.state||null)||null);if(ce((()=>{const e=window?.ikea?.pubsub?.subscribe("NAVIGATION/STORE_SET",(e=>{e!==l&&i(e)})),t=window?.ikea?.pubsub?.subscribe("NAVIGATION/POSTALCODE_SET",(e=>{e&&e.state&&e.state!==a&&r(e.state)}));return()=>{e?.unsubscribe(),t?.unsubscribe()}}),[l,a]),!e?.length||!t?.length)return null;const s=(new Date).toISOString();let o=t.filter((t=>{let{id:n,start:l,end:i}=t;return e.includes(n)&&s>=l&&(!i||s{let{stores:t,states:n}=e;return t.includes(l)||n?.includes(a)})),d=o.filter((e=>{let{stores:t,states:n}=e;return!t.length&&!n?.length})),u=[];for(;u.length{let{combination:t="3:1",groups:n,sectionId:l,seeAllLink:i,hotspotLinks:a,promotions:r,promotionIds:s,linkClickTrackingHandler:o,seeAllTitle:c}=e,d=0;const u=ve();t=t.length>0?t:"3:1";const _=Number(t.split(":")[0]),h=Number(t.split(":")[1]);r=li(s,r,h);let m=1;return _t.createElement("nav",{className:"hnf-mobile-menu__section"},_t.createElement("ul",{"data-tracking-label":l},i&&_t.createElement("li",{className:"hnf-mobile-menu__section-link"},_t.createElement("a",{href:i,className:"hnf-link","data-tracking-label":m+++" | all",onClick:o},c)),a?.map(((e,t)=>_t.createElement("li",{className:"hnf-mobile-menu__section-link",key:t},_t.createElement("a",{href:e.link,className:"hnf-link","data-tracking-label":`${m++} | ${mn([e.link])}`,onClick:o},e.title))))),_t.createElement(Kl,{prefix:"hnf-",size:"small"},n?.length>0&&n.slice(0,_).map(((e,t)=>e.subItems&&0!==e.subItems?.length?(d+=e.subItems?.length||0,_t.createElement(ni,{prefix:"hnf-",id:u+t,title:e.title},_t.createElement("ul",{"data-tracking-label":`${l} | ${m++} | ${e.title}`},e.subItems?.map(((e,n)=>_t.createElement("li",{className:"hnf-mobile-menu__section-sub-link",key:u+t+n},_t.createElement("a",{href:e.link,className:"hnf-link","data-tracking-label":`${n+1} | ${mn([e.link])}`,onClick:o},e.title))))))):null))),r?.length>0&&r.slice(0,h).map(((e,t)=>{const n=`${t?t+" | ":""}${e.promotionUrl}`;return _t.createElement("div",{className:"hnf-mobile-menu__promotion"},_t.createElement(Dn,{prefix:"hnf-",content:_t.createElement($l,{prefix:"hnf-",dataTrackingLabel:`${t?t+" | ":""}${e.promotionUrl}`,contentVerticalAlign:"top",fixed:!1,href:e.promotionUrl,theme:e?.background||"default",title:e.title,titleHeadingTag:"h2","data-tracking-label":n,onClick:e=>{const t=e.target.closest("nav")?.querySelector("ul"),l=`${t?.getAttribute("data-tracking-label")} | ${n}`;sendTrackingEvent(getTrackingEvent((()=>"main_navigation_click"),l.replace(/^products\s\|/,"product_banners |"),"beacon","site_navigation"))}}),mediaPosition:"leading"}))})))},ai=e=>{let{enableSectionsAndGroups:t=!1,navigationVersion:n,isBusinessHeader:l,primaryLinks:i,secondaryLinks:a,auxiliaryLinks:r,sections:s,localeStrings:o,sectionsGroupsExperimentVariation:c,promotions:d,topCategories:u}=e;const{isPageContextToBeReset:_,productCategories:h,setActiveCategory:m,setActiveIdx:p,menuLevel:f,setMenuLevel:v,selectedPrimaryLinkIndex:g,setSelectedPrimaryLinkIndex:b,setMenuHeadTitle:k}=pt();ce((()=>{let e=[];if(e=un(),e&&0!==e.length&&!_)if("products"===e[0]){const t=i.find((e=>ln(e.link)||an(e.link)));if(b(t?.dataIndex||0),e.length>=2){const t=h.findIndex((t=>t.id===e[1])),n=h[t],l=n?.subs?.findIndex((t=>t.id===e[2])),i=n?.subs&&n.subs[l];i&&n&&i?.subs?(m([n,i]),p([t,l]),v(4)):i&&n&&!i.subs||n?(p([t]),m([n]),v(3)):v(2)}}else if("rooms"===e[0]){const e=i.find((e=>rn(e.link)));k(e?.title||""),b(e?.dataIndex||0),v(2)}}),[h]);let y,E,S,N=!l&&"no_sections"!==c&&t;n>=2.1&&s?.length>0&&!l||2===n&&t&&!l&&s?.length>0?(S="2-1-sections",y=s.find((e=>"products"===e.sectionId)),E=s.find((e=>"rooms"===e.sectionId))):(S="default-or-business",y=i.find((e=>ln(e.link)||an(e.link)&&u?.length>0)),E=i.find((e=>rn(sn(e.link)))));const $=e=>{const t=e.target.closest("ul")?.getAttribute("data-tracking-label"),n=e.target.closest("a")?.getAttribute("data-tracking-label");Ft(Gt((()=>"main_navigation_click"),`${t?t+" | ":""}${n}`,"beacon","site_navigation"))};return _t.createElement("div",{className:`hnf-mobile-menu__container hnf-mobile-menu__container--default hnf-mobile-menu__container--${S}`},1===f&&"default-or-business"===S&&_t.createElement("nav",{className:"hnf-mobile-menu__nav"},i&&i.length>0&&_t.createElement(Cn,{links:i,sectionsAndGroupsEnabled:N}),a&&a.length>0&&_t.createElement(Ln,{links:a,sectionsAndGroupsEnabled:N}),r.length>0&&r.length>0&&_t.createElement(An,{links:r})),1===f&&"2-1-sections"===S&&_t.createElement("nav",{className:"hnf-mobile-menu__nav"},_t.createElement(Rl,{sections:s})),f>1&&_t.createElement(x,null,g===y?.dataIndex&&_t.createElement(Pl,{isBusinessHeader:l,items:y?.items,productsTitle:y.title,localeStrings:o,promotions:d,seeAllLink:fn(y.dataIndex),sectionsAndGroupsEnabled:N,frontendVersion:S}),g===E?.dataIndex&&_t.createElement(Ol,{items:E.items,sectionsAndGroupsEnabled:N}),"default-or-business"===S&&g!==E?.dataIndex&&g!==y?.dataIndex&&a.map(((e,t)=>{if(e.dataIndex===g)return _t.createElement(Bl,{idx:t+1,link:e.link,localeStrings:o,items:e.items?e.items:[],menuLabel:e.title,promotions:d,promotionIds:e.promotionIds,linkClickTrackingHandler:$})})),"2-1-sections"===S&&g!==E?.dataIndex&&g!==y?.dataIndex&&s.slice(2).map(((e,t)=>{if(e.dataIndex===g)return _t.createElement(_t.Fragment,null,_t.createElement(ii,{combination:e?.combination,groups:e.items,hotspotLinks:e.hotspotLinks,linkClickTrackingHandler:$,promotions:d,promotionIds:e.promotionIds,seeAllLink:fn(e.dataIndex),seeAllTitle:e.titleSeeAll||e.title,sectionId:e.sectionId}))})),g!==E?.dataIndex&&g!==y?.dataIndex&&i.filter((e=>!ln(e.link)&&!rn(sn(e.link)))).map(((e,t)=>{if(e.dataIndex===g)return _t.createElement(Bl,{id:e.id,idx:t+1,link:e.link,items:e.items,menuLabel:e.title,localeStrings:o,promotions:d,promotionIds:e.promotionIds,linkClickTrackingHandler:$})}))))},ri=()=>/Android/i.test(navigator.userAgent),si=()=>ri()||/iPhone|iPad|iPod/i.test(navigator.userAgent),oi=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0;let n=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((l=>{if(ci(l.startMs,l.endMs)&&("desktop"!==l.targetDevice||!si())&&("mobile"!==l.targetDevice||si()))if(l.whitelist){const i=l.whitelist.split(",").reduce(((n,l)=>n||(l===t?1:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;const l=t.slice(t.indexOf(n),t.length);return l.indexOf(n)>-1&&l.indexOf(e)>0}(t,e,l)?2:null)),null);i&&n.push({...l,priority:i})}else n.push({...l,priority:3})})),n=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>(e.priority&&(e.priorityWeighted=Math.floor(10*Math.random())+e.priority),e)))}(n),n.sort(((e,t)=>e.priority-t.priority||e.priorityWeighted-t.priorityWeighted)),n},ci=(e,t)=>{if(!e&&!t)return!0;const n=Date.now(),l=e=>e&&n>=e,i=!e||l(e),a=l(t);return i&&!a},di=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m11.2933 16.5964 4.9498-4.9498c1.9526-1.9526 1.9526-5.1184 0-7.071l-3.1816-3.1822L9.5259 4.929l3.1819 3.182-4.9497 4.9498c-1.9526 1.9526-1.9526 5.1184 0 7.071l2.4749 2.4749 3.5357-3.5356-2.4754-2.4747zm-1.0604 1.7679-.3538-.3537c-.781-.7811-.781-2.0474 0-2.8285l4.9497-4.9497c1.1716-1.1716 1.1716-3.071 0-4.2427l-1.0605-1.0605-.7069.707 1.0606 1.0606c.7811.781.7811 2.0474 0 2.8284L9.1723 14.475c-1.1716 1.1716-1.1716 3.071 0 4.2426l.3537.3537.7069-.707z"}}],ui=di;const _i=[{tag:"path",att:{d:"M11.4166 11.6 12.7535 6h-.8913l-4.9018 6.4h3.565L9.1885 18h.8913l4.9018-6.4h-3.565z"}},{tag:"path",att:{d:"M7 7H5c-1.6568 0-3 1.3431-3 3v4c0 1.6569 1.3432 3 3 3h2v-2H5c-.5523 0-1-.4477-1-1v-4c0-.5523.4477-1 1-1h2V7zm8 8h2c.5523 0 1-.4477 1-1v-4c0-.5523-.4477-1-1-1h-2V7h2c1.6569 0 3 1.3431 3 3h1c.5523 0 1 .4477 1 1v2c0 .5523-.4477 1-1 1h-1c0 1.6569-1.3431 3-3 3h-2v-2z"}}],hi=_i;const mi=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m19.5831 8.1899-5.5499-3.9941-1.1683 1.6233 3.0326 2.1825H8.0982l3.0325-2.1825-1.1683-1.6233L4.4126 8.19l-.416.2994.0001.5125.0023 10 .0003.9998H19.999V8.4892l-.4159-.2993zM5.9969 10.0016H17.999v8H5.9988l-.0019-8zM10 14.0006h3.9999v-2h-4v2z"}}],pi=mi;const fi=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 2v4H2v7.3022l1 .2222V22h18v-8.4756l1-.2222V6h-5V2H7zm8 4V4H9v2h6zm4 7.9688V20H5v-6.0312l4 .8889V17h6v-2.1423l4-.8889zm-4-1.1599 5-1.1111V8H4v3.6978l5 1.1111V11h6v1.8089zM11 15v-2h2v2h-2z"}}],vi=fi;const gi=[{tag:"path",att:{d:"M11 6V2h2v4h-2z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 12c0-2.2091 1.7909-4 4-4 2.2091 0 4 1.7909 4 4 0 2.2091-1.7909 4-4 4-2.2091 0-4-1.7909-4-4zm4-2c-1.1046 0-2 .8954-2 2s.8954 2 2 2 2-.8954 2-2-.8954-2-2-2z"}},{tag:"path",att:{d:"M11 18v4h2v-4h-2zm-5-5H2v-2h4v2zm12 0h4v-2h-4v2zm-2.707-5.7073 3-3 1.4142 1.4142-3 3-1.4142-1.4142zm-8 8-3 3 1.4142 1.4142 3-3-1.4142-1.4142zm0-6.5857-3-3 1.4142-1.4143 3 3L7.293 8.707zm8 7.9999 3 3 1.4142-1.4142-3-3-1.4142 1.4142z"}}],bi=gi;const ki=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19 6V5h2.0001V3H19V2h-3.0001c-1.5854.0001-2.9247 1.0543-3.355 2.5h-.6448C9.7613 4.5 7.8661 5.9715 7.229 8h2.1724c.5187-.8967 1.4883-1.5 2.5987-1.5h.6448c.4303 1.4459 1.7696 2.5002 3.3552 2.5001H19V8h2.0001V6H19zm-2-2v3.0001h-1.0086c-.8245-.0046-1.4914-.6744-1.4914-1.5 0-.8284.6715-1.5 1.5-1.5h1zM6.882 9.5h8.295l1.8 4.5001H17c1.1046 0 2 .8954 2 2v4h-1.5v2h-3v-2h-7v2h-3v-2H3v-4c0-.9723.6938-1.7825 1.6133-1.9627L6.882 9.5001zm6.941 2.0001 1 2.5H6.868l1.25-2.5h5.705zm-7.823 7c.6904 0 1.25-.5597 1.25-1.25 0-.6904-.5596-1.25-1.25-1.25s-1.25.5596-1.25 1.25c0 .6903.5596 1.25 1.25 1.25zm11.25-1.25c0 .6903-.5596 1.25-1.25 1.25s-1.25-.5597-1.25-1.25c0-.6904.5596-1.25 1.25-1.25s1.25.5596 1.25 1.25z"}}],yi=ki;const xi=[{tag:"path",att:{d:"M12.4444 11.6 13.7778 6h-.8889L8 12.4h3.5556L10.2222 18h.8889L16 11.6h-3.5556z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 12C2 6.4771 6.4771 2 12 2c5.5228 0 10 4.4771 10 10 0 5.5228-4.4772 10-10 10-5.5229 0-10-4.4772-10-10zm10-8c-4.4183 0-8 3.5817-8 8s3.5817 8 8 8 8-3.5817 8-8-3.5817-8-8-8z"}}],Ei=xi;const Si=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 4H1v16h15v-8H6v6H3v-8h16v3.1707c-1.1652.4118-2 1.5231-2 2.8293v3c0 1.6569 1.3431 3 3 3s3-1.3431 3-3v-3c0-1.3062-.8348-2.4175-2-2.8293V4zM3 8V6h16v2H3zm11 6h-2v4h2v-4zm-4 0H8v4h2v-4zm10 1c-.5523 0-1 .4477-1 1v3c0 .5523.4477 1 1 1s1-.4477 1-1v-3c0-.5523-.4477-1-1-1z"}}],Ni=Si;const $i=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.9969 12c0 4.4187-3.5821 8.0008-8.0008 8.0008-4.4187 0-8.0008-3.5821-8.0008-8.0008 0-4.4187 3.582-8.0008 8.0008-8.0008 4.4187 0 8.0008 3.582 8.0008 8.0008zm1.9992 0c0 5.5228-4.4772 10-10 10-5.5229 0-10-4.4772-10-10 0-5.5229 4.4771-10 10-10 5.5228 0 10 4.4771 10 10zM10.9926 6.0062v5.8154L7.3102 15.273l1.3671 1.4587 3.9985-3.7476.316-.2962V6.0063h-1.9992z"}}],wi=$i;const Ii=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.0002 5c-1.6568 0-3 1.3431-3 3v8c0 1.6569 1.3432 3 3 3h14c1.6569 0 3-1.3431 3-3V8c0-1.6569-1.3431-3-3-3h-14zm-1 3c0-.5523.4478-1 1-1h14c.5523 0 1 .4477 1 1v1h-16V8zm0 4v4c0 .5523.4478 1 1 1h14c.5523 0 1-.4477 1-1v-4h-16z"}}],zi=Ii;const Ci=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m12.0006 13.4148 2.8283 2.8283 1.4142-1.4142-2.8283-2.8283 2.8283-2.8283-1.4142-1.4142-2.8283 2.8283L9.172 7.7578 7.7578 9.172l2.8286 2.8286-2.8286 2.8285 1.4142 1.4143 2.8286-2.8286z"}}],Li=Ci;const Ai=[{tag:"path",att:{d:"M15.81 2.48c.57-.32 1.21-.48 1.92-.48h1.32v20h-2v-5h-3V5.68c0-.64.14-1.24.42-1.78.3-.6.76-1.09 1.34-1.42zM10 10V3h2v8c0 1.65-1.35 3-3 3v8H7v-8c-1.65 0-3-1.35-3-3V3h2v7h1V3h2v7h1z"}}],Mi=Ai;const Pi=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1 4h15v3h3.0246l3.9793 5.6848V18h-2.6567c-.4218 1.3056-1.6473 2.25-3.0933 2.25-1.446 0-2.6715-.9444-3.0932-2.25h-3.9044c-.4217 1.3056-1.6472 2.25-3.0932 2.25S4.4916 19.3056 4.0698 18H1V4zm3.0698 12c.4218-1.3056 1.6473-2.25 3.0933-2.25 1.446 0 2.6715.9444 3.0932 2.25H14V6H3v10h1.0698zM16 14.0007a3.24 3.24 0 0 1 1.2539-.2507c1.446 0 2.6715.9444 3.0933 2.25h.6567v-2.6848L17.9833 9H16v5.0007zM7.163 15.75c-.6903 0-1.25.5596-1.25 1.25s.5597 1.25 1.25 1.25c.6904 0 1.25-.5596 1.25-1.25s-.5596-1.25-1.25-1.25zm10.0909 0c-.6904 0-1.25.5596-1.25 1.25s.5596 1.25 1.25 1.25 1.25-.5596 1.25-1.25-.5596-1.25-1.25-1.25z"}}],Ti=Pi;const Hi=[{tag:"path",att:{d:"M11 16h2V8h-2v8zm4.25-2.75c.6904 0 1.25-.5596 1.25-1.25s-.5596-1.25-1.25-1.25S14 11.3096 14 12s.5596 1.25 1.25 1.25zM10 12c0 .6904-.5596 1.25-1.25 1.25S7.5 12.6904 7.5 12s.5596-1.25 1.25-1.25S10 11.3096 10 12z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23 13.0533 11.9467 2l-8.289 1.6578L2 11.9467 13.0533 23 23 13.0533zM4.1206 11.3047 5.318 5.3179l5.9867-1.1973 8.9326 8.9327-7.184 7.184-8.9327-8.9326z"}}],Vi=Hi;const Oi=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14 6H5v3h9V6zM3 4v7h3.983l-2.3093 4H3v6h11v-6h-3.5445l2.3094-4H16V9h2V8h3V6h-3V5h-2V4H3zm7.4555 7-2.3094 4H6.983l2.3094-4h1.163zM5 17h7v2H5v-2z"}}],Bi=Oi;const Ri=[{tag:"path",att:{d:"M11.6994 4.7635c.4716.2875.6208.9029.3333 1.3744-.2875.4716-.9029.6208-1.3744.3332-.4716-.2875-.6208-.9028-.3333-1.3743.2876-.4716.9029-.6208 1.3744-.3333zm1.7758 1.3745c-.2875-.4716-.1383-1.087.3332-1.3745.4716-.2875 1.0869-.1383 1.3744.3333.2875.4715.1383 1.0868-.3332 1.3743-.4716.2876-1.0869.1384-1.3744-.3332zm-2.2962 5.8633c.5523 0 1-.4477 1-1 0-.5522-.4477-1-1-1s-1 .4478-1 1c0 .5523.4477 1 1 1zm0 8c.5523 0 1-.4477 1-1 0-.5522-.4477-1-1-1s-1 .4478-1 1c0 .5523.4477 1 1 1zm4.1499-9c0 .5523-.4477 1-1 1s-1-.4477-1-1c0-.5522.4477-1 1-1s1 .4478 1 1zm2.1504 1c.5523 0 1-.4477 1-1 0-.5522-.4477-1-1-1s-1 .4478-1 1c0 .5523.4477 1 1 1zm-2.1504 7c0 .5523-.4477 1-1 1s-1-.4477-1-1c0-.5522.4477-1 1-1s1 .4478 1 1zm2.1504 1c.5523 0 1-.4477 1-1 0-.5522-.4477-1-1-1s-1 .4478-1 1c0 .5523.4477 1 1 1zm4.1499-9c0 .5523-.4477 1-1 1s-1-.4477-1-1c0-.5522.4477-1 1-1s1 .4478 1 1zm-1.4961 7.2969c.5523 0 1-.4477 1-1s-.4477-1-1-1-1 .4477-1 1 .4477 1 1 1zm1.6186-4.1484c0 .5523-.4477 1-1 1s-1-.4477-1-1 .4477-1 1-1 1 .4477 1 1zm-6.7335-5.3439c-.2876-.4716-.1384-1.0869.3332-1.3744.4715-.2875 1.0869-.1383 1.3744.3332.2875.4716.1383 1.0869-.3333 1.3744-.4715.2875-1.0868.1383-1.3743-.3332zm-4.9389-1.3744c.4716.2875.6208.9028.3332 1.3744-.2875.4715-.9028.6207-1.3743.3332-.4716-.2875-.6208-.9028-.3333-1.3744.2875-.4715.9029-.6207 1.3744-.3332zM2.2485 9.996h6.7808v10.0001H7.091c-1.3766 0-2.5766-.9369-2.9105-2.2724l-1.932-7.7276z"}}],Di=Ri;const Ui=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.7467 18.1766C12.9482 19.7737 12.2151 20 12 20c-.2151 0-.9482-.2263-1.7467-1.8234-.3065-.6131-.5745-1.3473-.7831-2.1766h5.0596c-.2086.8293-.4766 1.5635-.7831 2.1766zM14.8885 14h-5.777A17.7354 17.7354 0 0 1 9 12c0-.6949.0392-1.3641.1115-2h5.777c.0723.6359.1115 1.3051.1115 2 0 .6949-.0392 1.3641-.1115 2zm1.6955 2c-.2658 1.2166-.6492 2.307-1.1213 3.2138A8.0347 8.0347 0 0 0 18.9297 16H16.584zm3.164-2H16.9c.0656-.6462.1-1.3151.1-2 0-.6849-.0344-1.3538-.1-2h2.848A8.0156 8.0156 0 0 1 20 12a8.0156 8.0156 0 0 1-.252 2zm-.8183-6a8.035 8.035 0 0 0-3.467-3.2138c.4721.9068.8555 1.9972 1.1213 3.2138h2.3457zm-4.3999 0c-.2086-.8293-.4766-1.5635-.7831-2.1766C12.9482 4.2264 12.2151 4 12 4c-.2151 0-.9482.2263-1.7467 1.8234-.3065.613-.5745 1.3473-.7831 2.1766h5.0596zM7.416 8c.2658-1.2166.6491-2.307 1.1213-3.2138A8.035 8.035 0 0 0 5.0703 8H7.416zm-3.164 2A8.0147 8.0147 0 0 0 4 12c0 .6906.0875 1.3608.252 2H7.1a19.829 19.829 0 0 1-.1-2c0-.6849.0344-1.3538.1-2H4.252zm3.164 6H5.0704a8.0347 8.0347 0 0 0 3.467 3.2138C8.0651 18.307 7.6818 17.2166 7.4161 16zM22 12c0-5.5229-4.4772-10-10-10C6.4771 2 2 6.4771 2 12c0 5.5228 4.4771 10 10 10 5.5228 0 10-4.4772 10-10z"}}],Wi=Ui;const Fi=[{tag:"path",att:{d:"M9.9087 10.4296c.1987.1988.4662.65.5874 1.026.1212-.376.3887-.8272.5875-1.026.3244-.3244.6107-.1724.8811.098.2703.2703.4223.5566.0979.8811-.1987.1987-.6499.4662-1.0259.5874.376.1212.8272.3887 1.0259.5874.3244.3244.1724.6108-.0979.8811-.2704.2704-.5567.4223-.8811.0979-.1988-.1987-.4663-.6499-.5875-1.0259-.1212.376-.3887.8273-.5874 1.026-.3245.3244-.6108.1724-.8811-.0979-.2704-.2704-.4224-.5567-.098-.8811.1988-.1988.65-.4663 1.026-.5875-.376-.1212-.8272-.3887-1.026-.5874-.3244-.3245-.1724-.6108.098-.8811.2703-.2704.5566-.4224.881-.098z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.496 11.9961c0-2.7614 2.2387-5 5.0001-5 2.7614 0 5 2.2386 5 5s-2.2386 5-5 5-5-2.2386-5-5zm5.0001-3c-1.6569 0-3 1.3431-3 3 0 1.6568 1.3431 3 3 3 1.6568 0 3-1.3432 3-3 0-1.6569-1.3432-3-3-3z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 4.5H2v15h2V21h2v-1.5h12V21h2v-1.5h2v-15zm-18 13v-11h16V9h-3.1606v2H20v2h-3.1606v2H20v2.5H4z"}}],Gi=Fi;const qi=[{tag:"path",att:{d:"M12 9.5c.6904 0 1.25-.5596 1.25-1.25S12.6904 7 12 7s-1.25.5596-1.25 1.25S11.3096 9.5 12 9.5zM11 11v6h2v-6h-2z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2C6.4771 2 2 6.4771 2 12c0 5.5228 4.4771 10 10 10 5.5228 0 10-4.4772 10-10 0-5.5229-4.4772-10-10-10zM4 12c0-4.4183 3.5817-8 8-8s8 3.5817 8 8-3.5817 8-8 8-8-3.5817-8-8z"}}],ji=qi;const Ki=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.2475 18.2656C1.9004 14.7153 3.0457 9.2629 5.927 6.3835 10.076 2.2372 16.4942 2 22 2c0 5.5026-.2372 11.9129-4.387 16.0598-2.8784 2.8765-8.3167 4.0182-11.8725 1.6912L3.4898 22 2 20.5114l2.2475-2.2458zM7.417 7.872c3.1138-3.1117 8.2872-3.651 12.4632-3.7538-.1024 4.175-.6415 9.3397-3.757 12.453-2.1362 2.1348-6.0648 3.0432-8.8415 1.6398l1.4753-1.4742h4.8154v-2.1052h-2.7085l2.1069-2.1053h3.762v-2.1052h-1.6551l3.3101-3.3076L16.898 5.625l-3.3256 3.323V7.2632h-2.1069v3.79l-2.1069 2.1053v-2.7374H7.2517v4.8426l-1.4649 1.4638c-1.4223-2.7737-.5088-6.718 1.6301-8.8555z"}}],Zi=Ki;const Xi=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.9989 4.9961v-1h-1l-4.9969.0001v2h2.5827l-5.296 5.2962 1.4143 1.4141 5.2959-5.2961v2.5887h2V4.996zM4.0019 19.9993v-16h8.0001v2H6.0019v12H18.002v-6h2v8H4.0019z"}}],Ji=Xi;const Yi=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.0001 6c-2.2367 0-4.0499 1.8132-4.0499 4.0499 0 2.2417 1.1054 4.196 2.2967 5.6418.6492.7878 1.3019 1.3969 1.7532 1.7814.4513-.3845 1.104-.9936 1.7532-1.7814 1.1913-1.4458 2.2967-3.4001 2.2967-5.6418C16.05 7.8132 14.2368 6 12.0001 6zM8.7034 16.9635c-1.3337-1.6186-2.7532-4.014-2.7532-6.9136C5.9502 6.7086 8.6588 4 12.0001 4S18.05 6.7086 18.05 10.0499c0 2.8996-1.4195 5.295-2.7532 6.9136C14.3297 18.1372 13.2084 19.0915 12 20c-1.2045-.9061-2.3313-1.8649-3.2966-3.0365z"}},{tag:"path",att:{d:"M14 10c0 1.1046-.8954 2-2 2s-2-.8954-2-2 .8954-2 2-2 2 .8954 2 2z"}}],Qi=Yi;const ea=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m10.9253 4-5.851 14.7964 1.4845 1.1997 5.4454-3.6302 5.4453 3.6302 1.4844-1.2001L13.0754 4h-2.1501zM8.1099 16.5584l3.891-9.8396 3.8954 9.8382-3.8921-2.5948-3.8943 2.5962z"}}],ta=ea;const na=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 4H2v16h20V4zM4 7.1206V18h16V7.1207l-8 5.6-8-5.6zM18.1134 6H5.8867L12 10.2794 18.1134 6z"}}],la=na;const ia=[{tag:"path",att:{d:"M15 13h4v2h-4v-2z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 5C3.3432 5 2 6.3431 2 8v8c0 1.6569 1.3432 3 3 3h14c1.6569 0 3-1.3431 3-3V8c0-1.6569-1.3431-3-3-3H5zM4 8c0-.5523.4477-1 1-1h14c.5523 0 1 .4477 1 1v8c0 .5523-.4477 1-1 1H5c-.5523 0-1-.4477-1-1V8z"}}],aa=ia;const ra=[{tag:"path",att:{d:"M12 17c-.5523 0-1 .4477-1 1s.4477 1 1 1 1-.4477 1-1-.4477-1-1-1z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9 2C7.3431 2 6 3.3432 6 5v14c0 1.6569 1.3431 3 3 3h6c1.6569 0 3-1.3431 3-3V5c0-1.6568-1.3431-3-3-3H9zM8 5c0-.5523.4477-1 1-1h6c.5523 0 1 .4477 1 1v14c0 .5523-.4477 1-1 1H9c-.5523 0-1-.4477-1-1V5z"}}],sa=ra;const oa=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.0009 2.586 4 11.5868v5.4144h5.4142l8.9944-8.9944-5.4077-5.421zM6 15.0012v-2.5859l6.9991-6.9993 2.5828 2.589-6.9961 6.9962H6z"}},{tag:"path",att:{d:"M4 21.0009h16v-2H4v2z"}}],ca=oa;const da=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.2786 9.6354c-.869-2.6067.468-4.7264 1.6332-5.8917L6.6555 2l1.5002.1242 3.4873 4.8823-.1051 1.2708-1.3037 1.3037c.4436 1.1756.9381 1.9924 1.5652 2.6196.6272.6271 1.444 1.1216 2.6196 1.5652l1.3037-1.3037 1.2708-.1051 4.8823 3.4873L22 17.3445l-1.7437 1.7437c-1.1653 1.1653-3.285 2.5021-5.8917 1.6332-1.1755-.3918-2.4852-1.1494-3.6497-1.9556-1.1738-.8127-2.2673-1.7217-3.0132-2.4675-.7458-.7459-1.6548-1.8394-2.4675-3.0131-.8062-1.1646-1.5638-2.4743-1.9556-3.6498zm3.0282-4.4968c-.9272.9272-1.6827 2.2949-1.1567 3.873.3057.917.943 2.0484 1.7061 3.1506.7567 1.0931 1.5914 2.092 2.2405 2.7411.649.6491 1.648 1.4838 2.7411 2.2405 1.1022.763 2.2337 1.4004 3.1506 1.7061 1.5781.526 2.9458-.2296 3.873-1.1567l.9203-.9203-3.2549-2.325-.7218.7218c-.5222.5223-1.3176.7286-2.0495.4542-1.3629-.5108-2.4601-1.1375-3.351-2.0284-.891-.8909-1.5176-1.9881-2.0284-3.351-.2744-.7319-.0681-1.5273.4542-2.0495l.7218-.7218-2.325-3.255-.9203.9204z"}}],ua=da;const _a=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m19.1881 12.617-1.687.975 1.324 2.317c.531.931.09 1.692-.982 1.692h-2.922v-1.949l-2.921 2.924 2.921 2.924v-1.949h2.922c1.223 0 2.236-.535 2.777-1.468.541-.933.503-2.078-.105-3.141l-1.327-2.325zm-14.014 3.292 1.305-2.285 1.652.954-1.07-3.994-3.99 1.07 1.721.995-1.308 2.293c-.608 1.063-.646 2.208-.105 3.141.541.933 1.554 1.468 2.777 1.468h3.895v-1.95h-3.895c-1.072 0-1.513-.761-.982-1.692zm2.035-7.493L9.342 4.68C9.952 3.613 10.92 3 12 3c1.079 0 2.047.613 2.657 1.68l2.116 3.706 1.714-.99-1.07 3.994-3.991-1.07 1.659-.959-2.119-3.713c-.5328-.9333-1.4018-.9307-1.933 0L8.896 9.391l-1.687-.975z"}}],ha=_a;const ma=[{tag:"path",att:{d:"M19.205 5.599c.9541.954 1.4145 2.2788 1.4191 3.6137 0 3.0657-2.2028 5.7259-4.1367 7.5015-1.2156 1.1161-2.5544 2.1393-3.9813 2.9729L12 20.001v-2.3516c.6699-.4304 1.9095-1.2834 3.1347-2.4084 1.8786-1.7247 3.4884-3.8702 3.4894-6.0264-.0037-.849-.2644-1.6326-.8333-2.2015-1.1036-1.1035-2.9413-1.0999-4.0445.0014l-1.7517 1.7448-1.7461-1.7462c-1.1165-1.1164-2.9267-1.1164-4.0431 0-1.6837 1.6837-.5313 4.4136.6406 6.0155.3487.4768.7386.9326 1.1472 1.3617L8 11.9982l2 .0057-.017 6-6-.0171.0056-2 2.7743.0079c-.5387-.5472-1.0629-1.1451-1.5311-1.7852-1.0375-1.4183-1.8594-3.1249-1.8597-4.9957-.0025-1.2512.3936-2.5894 1.419-3.6149 1.8976-1.8975 4.974-1.8975 6.8716 0l.3347.3347.336-.3347c1.8728-1.8722 4.9989-1.8727 6.8716 0z"}}],pa=ma;const fa=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.9997 4c1.7048 0 2.9806 1.122 3.4578 2.7127.3246 1.0819.5718 2.1886.8335 3.2873h6.1517l-3.75 10H5.3067l-3.75-10h6.1516c.2617-1.0987.509-2.2054.8335-3.2873C9.019 5.122 10.2948 4 11.9997 4zm2.2348 6H9.7648c.2293-.9532.5299-2.1701.6927-2.7127C10.6838 6.533 11.1739 6 11.9997 6s1.3158.533 1.5421 1.2873c.1628.5426.4634 1.7595.6927 2.7127zm-9.7918 2 2.25 6h10.614l2.25-6h-3.3252c-.6633 2.1065-1.7665 4-4.2318 4-2.4654 0-3.5686-1.8935-4.2319-4h-3.325zm5.4308 0c.3635 1.0612.8841 2 2.1262 2 1.242 0 1.7626-.9388 2.1261-2H9.8735z"}}],va=fa;const ga=[{tag:"path",att:{d:"M10.9374 2v2.4h2.125V2h-2.125zM5.5918 5.0944l1.697 1.697L8.7916 5.289l-1.697-1.697-1.5027 1.5025zM12 8.0625c-1.0701 0-1.9375.8674-1.9375 1.9375 0 .3659.1014.7081.2777 1H8.0615a4.0702 4.0702 0 0 1-.124-1c0-2.2437 1.8188-4.0625 4.0625-4.0625S16.0625 7.7563 16.0625 10c0 .3451-.043.6801-.124 1h-2.2787a1.928 1.928 0 0 0 .2777-1c0-1.07-.8674-1.9375-1.9375-1.9375zM17.5998 11h2.4V8.9374h-2.4V11zM6.4 11H4V8.9374h2.4V11zm8.8083-5.7111 1.6971-1.697 1.5026 1.5025-1.6971 1.697-1.5026-1.5025zM7.498 12h-3v4.5h3V12zm-3 10v-4.5h3V22h-3zm4-4.5V22h3v-4.5h-3zm4 4.5v-4.5h3V22h-3zm3-5.5h-3V12h3v4.5zm1 5.5v-4.5h3V22h-3zm3-5.5h-3V12h3v4.5zm-11 0h3V12h-3v4.5z"}}],ba=ga;const ka=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19 4c1.6569 0 3 1.3431 3 3v7c0 1.6569-1.3431 3-3 3h-6.5895l-3.9968 4H6v-4H5c-1.6568 0-3-1.3431-3-3V7c0-1.6569 1.3432-3 3-3h14zm1 3c0-.5523-.4477-1-1-1H5c-.5523 0-1 .4477-1 1v7c0 .5523.4477 1 1 1h3v3.5845L11.5817 15H19c.5523 0 1-.4477 1-1V7z"}}],ya=ka;const xa=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 4v16h20V4H2zm2 4V6h16v2H4zm0 2v8h3v-6h10v6h3v-8H4zm11 4h-2v4h2v-4zm-4 0H9v4h2v-4z"}}],Ea=xa;const Sa=[{tag:"path",att:{d:"m16.9601 1.2783-3.8452 1.793 1.793 3.8452.7411-2.036a7.9989 7.9989 0 0 1 4.3066 7.961 7.9996 7.9996 0 0 1-1.0274 3.1583l1.7321 1a10.001 10.001 0 0 0 .8545-8.0773 10.001 10.001 0 0 0-5.1775-5.9332l.6228-1.711zM9.4118 2.3405a10.0001 10.0001 0 0 0-6.072 14.6593l1.732-1A8 8 0 0 1 9.9294 4.2724l-.5176-1.9319z"}},{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9 21.9998H7v-12h10v12h-2v-2H9v2zm0-4h6v-2H9v2zm0-6v2h6v-2H9z"}}],Na=Sa;const $a=[{tag:"path",att:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.8439 9.9156a6.5766 6.5766 0 0 1-.3164-2.0217c0-3.6348 2.9466-6.5814 6.5814-6.5814 1.4557 0 2.8012.4727 3.891 1.2729l-3.8503 3.856 1.4155 1.4156 3.8495-3.8579c.8019 1.0906 1.2756 2.4373 1.2756 3.8948 0 3.6348-2.9465 6.5813-6.5813 6.5813a6.5769 6.5769 0 0 1-2.0227-.3166l-7.8436 7.8436L2 17.7595l7.8439-7.8438zM20.6902 7.894c0 2.5302-2.0511 4.5813-4.5813 4.5813-.904 0-1.7468-.2617-2.4567-.7136l-7.4096 7.4121-1.4142-1.4142 7.4103-7.4129a4.5595 4.5595 0 0 1-.7112-2.4527c0-2.5303 2.0511-4.5814 4.5814-4.5814.1108 0 .2206.0039.3293.0116l-1.7028 1.7031c-.7811.781-.7811 2.0474 0 2.8285l1.4155 1.4155c.7811.7811 2.0474.7811 2.8284 0l1.6998-1.6998c.0074.1065.0111.214.0111.3225z"}}],wa=$a;const Ia={allenKey:()=>wt(ui),batteryCharging:()=>wt(hi),chevronDownSmall:Jl,box:()=>wt(pi),briefcase:()=>wt(vi),brightnessUp:()=>wt(bi),carElectric:()=>wt(yi),charging:()=>wt(Ei),clickAndCollect:()=>wt(Ni),clock:()=>wt(wi),creditCard:()=>wt(zi),cross:Vt,crossSmall:()=>wt(Li),cutlery:()=>wt(Mi),deliveryTruck:()=>wt(Ti),discountTag:()=>wt(Vi),drill:()=>wt(Bi),financing:()=>wt(Di),globe:()=>wt(Wi),heatPump:()=>wt(Gi),informationCircle:()=>wt(ji),leaf:()=>wt(Zi),linkOut:()=>wt(Ji),locationPinSmall:()=>wt(Qi),locationPointer:()=>wt(ta),mail:()=>wt(la),membershipCard:()=>wt(aa),mobile:()=>wt(sa),pencil:()=>wt(ca),phone:()=>wt(ua),recycle:()=>wt(ha),returns:()=>wt(pa),shoppingBag:()=>wt(va),solarEnergy:()=>wt(ba),speechBubble:()=>wt(ya),store:()=>wt(Ea),takeBack:()=>wt(Na),wrench:()=>wt(wa)},za=e=>{let{appPromotion:t}=e;const[n,l]=se(null);ce((async()=>{if(null!==n)return;const e=await(async()=>{const e=null!==document.querySelector(".hnf-messages--b2b");let t=Wt(Jt(e));if(t)return t;const n=Math.random().toString(36).substr(2,10),l=e?"-b2b":"",i=-1===window.location.pathname.indexOf("/api/preview/")?`https://${document.getElementById("nav-script-main").getAttribute("data-domain")}/${Xt()}/meta-data/navigation/value-propositions${l}.json?cb=${n}`:document.getElementById("nav-styles").href.replace(/header-footer\/styles\/.*/,`meta-data/navigation/value-propositions${l}.json?cb=${n}`),a=await cn(i);return t=JSON.parse(a),Ut(Jt(e),t,15),t})();l((e=>{const t=e=>{const t=/.*\/(cat|p)\/.*-([0-9a-zA-Z_]+)\/?$/,n=/^\/[a-z]{2}\/[a-z]{2}\/([a-zA-Z\-\/]*?)\/?$/;return e=e?e.split("#").shift().split("?").shift():"",t.test(e)?e.replace(t,"$2"):n.test(e)?e.replace(n,"$1"):null},n=document.querySelectorAll(".bc-breadcrumb__list a"),l=[];for(let e=0;e{const t=e.target.closest("a");qt("Value Proposition Links",t)};if(t&&!dn()&&si()){const e=document.querySelector(".hnf-mobile-menu"),n=ri()?"android":"ios";return _t.createElement("div",{className:"hnf-vp-container"},_t.createElement("div",{className:"hnf-vp hnf-vp--app"},_t.createElement("a",{href:t[n].linkTo,className:"hnf-link hnf-link--subtle","data-tracking-label":"TESTING",target:t[n].linkNewWindow?"_blank":"_self",onClick:i},_t.createElement("img",{src:e.getAttribute(`data-${n}`)}),_t.createElement("span",{className:"hnf-vp__copy"},t[n].message))))}if(!n||0===n.length)return _t.createElement("div",{className:"hnf-vp-container"});const a=n[0],r=a.icon?a.icon.replace(/-./g,(e=>e[1].toUpperCase())):"";return _t.createElement("div",{className:"hnf-vp-container"},_t.createElement("div",{className:"hnf-vp","data-value-proposition-links":"","data-nosnippet":""},a.linkTo?_t.createElement("a",{href:a.linkTo,className:"hnf-link hnf-link--subtle","data-tracking-label":a.type,target:a.linkNewWindow?"_blank":"_self",onClick:i},_t.createElement(yt,{prefix:"hnf-",paths:Ia[r],className:"hnf-btn__icon"}),_t.createElement("span",{className:"hnf-vp__copy"},a.message)):_t.createElement("div",{className:"hnf-vp__wrapper"},_t.createElement(yt,{prefix:"hnf-",paths:Ia[r],className:"hnf-btn__icon"}),_t.createElement("span",{className:"hnf-vp__copy"},a.message))))},Ca=e=>{let{localeStrings:t}=e;return _t.createElement("div",{className:"hnf-voc-cta"},_t.createElement("p",null,t.VOC_CTA_INTRO),_t.createElement(Lt,{prefix:"hnf-",type:"secondary",size:"small","aria-haspopup":"dialog",text:t.VOC_CTA_BUTTON,onClick:()=>{document.querySelector(".hnf-mobile-menu__close")?.click(),window.ikea?.pubsub.publish("NAVIGATION/OPEN_VOC_FORM",{source:"mobile_menu"})}}))},La=e=>{let{appPromotion:t,localeStrings:n,enableVocFeedbackForm:l}=e;const[i,a]=se(l&&window.ikea?.cookieConsent?.hasConsent(2)),{menuLevel:r}=pt();return ce((()=>{l&&window.ikea?.pubsub.subscribe("ikeaCookieConsent/changed",(()=>{a(window.ikea?.cookieConsent?.hasConsent(2))}))}),[]),1===r&&_t.createElement("div",{className:"hnf-mobile-menu__footer"},_t.createElement(za,{appPromotion:t}),i&&_t.createElement(Ca,{localeStrings:n}))},Aa=e=>{let{primary:t,secondary:n,tertiary:l,sections:i,localeStrings:a,enableSectionsAndGroups:r=!1,sectionsGroupsExperimentVariation:s,promotions:o,promotionsABTestFallback:c,isBusinessHeader:d,businessHeader:u,appPromotion:_,topCategories:h,enableVocFeedbackForm:m,navigationVersion:p}=e;const f=[];let v=[];const g=[],[b,k]=se(!1),[y,x]=se(!1),E=e=>{k(!0),x(""===e.pointerType);const t=document.querySelector("aside.hnf-mobile-menu");(0,Ot.toggleInertOnSiblings)(t,!0),(()=>{const e=document.body;if(-1===e.classList.toString().indexOf("-prevent-scroll-y")){const t=window.pageYOffset||window.scrollY;e.setAttribute("data-skapa--scroll",t);const n=e.style.paddingRight;e.setAttribute("data-skapa--pad",n);let l=e.clientWidth;e.classList.add("hnf-prevent-scroll-y"),l=e.clientWidth-l,e.style.top=`-${t}px`,l&&(e.style.paddingRight=`calc(${n||"0px"} + ${l}px)`),window.scrollTo(0,0)}})(),t.classList.remove("hnf-mobile-menu--hidden"),t.setAttribute("aria-hidden","false"),Bt("navOpenDropdownTime",performance.now());const n=document.querySelector(".hnf-overlay");n.style["will-change"]="opacity",n.classList.add("hnf-overlay--visible"),Ft(Gt((()=>"hamburger_menu_open"),"","beacon","site_navigation"))};if(ce((()=>{const e=document.querySelector(".hnf-header__hamburger > button");return e.addEventListener("click",E,!1),()=>{e.removeEventListener("click",E,!1)}}),[]),d?(u?.primary?.forEach(((e,t)=>{const{title:n,link:l,items:i,promotionIds:a,titleSeeAll:r}=e;f.push({dataIndex:t,title:n,link:l,items:i,promotionIds:a,titleSeeAll:r})})),u?.secondary?.forEach(((e,t)=>{const{title:n,link:l,items:i,promotionIds:a}=e,r=t+u?.primary?.length;v.push({dataIndex:r,title:n,link:l,items:i,promotionIds:a})})),o=u?.promotions||[]):(t?.forEach(((e,t)=>{const{title:n,link:l,items:i,promotionIds:a,titleSeeAll:r}=e;f.push({dataIndex:t,title:n,link:l,items:i,promotionIds:a,titleSeeAll:r})})),n?.forEach(((e,n)=>{const{title:l,link:i,items:a,promotionIds:r}=e,s=n+t?.length;v.push({dataIndex:s,title:l,link:i,items:a,promotionIds:r})})),l?.forEach((e=>{"desktopOnly"!==e?.visibility&&g.push({title:e.title,link:e.link})}))),0===f.length&&v.length>0){let e=0;for(let t=0;t<2;t++)v[t]&&f.push(v[t]),e++;v=v.slice(e)}let S=!d&&"no_sections"!==s&&r;return b&&_t.createElement(mt,null,_t.createElement(En,{localeStrings:a,enableSectionsAndGroups:S,setIsOpened:k,isKeyboardNavigation:y,setIsKeyboardNavigation:x}),_t.createElement(ai,{enableSectionsAndGroups:S,navigationVersion:p,isBusinessHeader:d,topCategories:h,primaryLinks:f,secondaryLinks:v,auxiliaryLinks:g,localeStrings:a,sectionsGroupsExperimentVariation:s,promotions:"no_sections"!==s?o:c,sections:S?i:void 0}),_t.createElement(La,{appPromotion:_,localeStrings:a,enableVocFeedbackForm:m}))},Ma=document.querySelector("aside.hnf-mobile-menu"),Pa=document.querySelector(".hnf-header__hamburger > button");let Ta=!1;const Ha=()=>{const e=Ma.querySelector('script[type="text/hydration"]'),t=e&&JSON.parse(e.textContent)||{};F(b(Aa,t),Ma),Ta=!0};if(Ma&&Pa)if(Pa.getBoundingClientRect().x>0)Ha();else{const e=new ResizeObserver((t=>{t[0].target.getBoundingClientRect().x>0&&!Ta&&(Ha(),e.disconnect())}));!Ta&&Pa&&e.observe(Pa)}})()})();