1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="3979ae2d-5cdb-e21b-bcd9-acb69fbb2241")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,622110,e=>{"use strict";let t={logo:{size:{horizontal:{xl:{composition:{height:{value:"400"}}},l:{composition:{height:{value:"350"}}},m:{composition:{height:{value:"300"}}},s:{composition:{height:{value:"250"}}},xs:{composition:{height:{value:"200"}}}}}}};e.s(["default",0,t])},601866,e=>{"use strict";var t=e.i(687652);function i(e){let t;return"string"==typeof e&&"%"===e[e.length-1]&&!isNaN(t=parseFloat(e.substring(0,e.length-1)))&&isFinite(t)}function n(e,t,i){0===t&&!i&&(null==e?void 0:e.style)&&(null==e?void 0:e.children.length)>0&&(e.style.display="none")}let a={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"};function s(e,t){return[e.static,0===t&&e.staticHeightZero,"number"==typeof t&&t>0?e.staticHeightSpecific:null,"auto"===t&&e.staticHeightAuto].filter(e=>e).join(" ")}let o=["animateOpacity","animationStateClasses","applyInlineTransitions","children","className","contentClassName","contentRef","delay","duration","easing","height","onHeightAnimationEnd","onHeightAnimationStart","style","disableDisplayNone"],r=t.default.forwardRef((e,r)=>{let{animateOpacity:l=!1,animationStateClasses:c={},applyInlineTransitions:d=!0,children:u,className:h="",contentClassName:m,delay:p=0,disableDisplayNone:g=!1,duration:f=500,easing:v="ease",height:x,onHeightAnimationEnd:I,onHeightAnimationStart:S,style:b,contentRef:y}=e,C=Object.assign({},e);o.forEach(e=>{delete C[e]});let w=(0,t.useRef)(x),k=(0,t.useRef)(null),N=(0,t.useRef)(),j=(0,t.useRef)(),T=(0,t.useRef)(Object.assign(Object.assign({},a),c)),_="u">typeof window,A=(0,t.useRef)(!!_&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion)").matches),E=A.current?0:p,L=A.current?0:f,R=x,z="visible";"number"==typeof x?(R=x<0?0:x,z="hidden"):i(R)&&(R="0%"===x?0:x,z="hidden");let[M,O]=(0,t.useState)(R),[F,B]=(0,t.useState)(z),[U,D]=(0,t.useState)(!1),[H,V]=(0,t.useState)(s(T.current,x));(0,t.useEffect)(()=>{n(k.current,M,g)},[]),(0,t.useEffect)(()=>{if(x!==w.current&&k.current){var e;let t,a;e=k.current,0===w.current&&(null==e?void 0:e.style)&&(e.style.display=""),k.current.style.overflow="hidden";let o=k.current.offsetHeight;k.current.style.overflow="";let r=L+E,l="hidden",c="auto"===w.current;"number"==typeof x?a=t=x<0?0:x:i(x)?a=t="0%"===x?0:x:(t=o,a="auto",l=void 0),c&&(a=t,t=o);let d=[T.current.animating,("auto"===w.current||x<w.current)&&T.current.animatingUp,("auto"===x||x>w.current)&&T.current.animatingDown,0===a&&T.current.animatingToHeightZero,"auto"===a&&T.current.animatingToHeightAuto,"number"==typeof a&&a>0?T.current.animatingToHeightSpecific:null].filter(e=>e).join(" "),u=s(T.current,a);O(t),B("hidden"),D(!c),V(d),clearTimeout(j.current),clearTimeout(N.current),c?(j.current=setTimeout(()=>{O(a),B(l),D(!0),null==S||S(a)},50),N.current=setTimeout(()=>{D(!1),V(u),n(k.current,a,g),null==I||I(a)},r)):(null==S||S(t),j.current=setTimeout(()=>{O(a),B(l),D(!1),V(u),"auto"!==x&&n(k.current,t,g),null==I||I(t)},r))}return w.current=x,()=>{clearTimeout(j.current),clearTimeout(N.current)}},[x]);let P=Object.assign(Object.assign({},b),{height:M,overflow:F||(null==b?void 0:b.overflow)});U&&d&&(P.transition=`height ${L}ms ${v} ${E}ms`,(null==b?void 0:b.transition)&&(P.transition=`${b.transition}, ${P.transition}`),P.WebkitTransition=P.transition);let G={};l&&(G.transition=`opacity ${L}ms ${v} ${E}ms`,G.WebkitTransition=G.transition,0===M&&(G.opacity=0));let q=void 0!==C["aria-hidden"]?C["aria-hidden"]:0===x;return t.default.createElement("div",Object.assign({},C,{"aria-hidden":q,className:`${H} ${h}`,style:P,ref:r}),t.default.createElement("div",{className:m,style:G,ref:e=>{k.current=e,y&&(y.current=e)}},u))});e.s(["default",0,r])},15437,e=>{"use strict";var t=e.i(318008),i=e.i(519774);e.i(550834);var n=e.i(271894),a=e.i(687652),s=e.i(601866),o=e.i(224034);Object.keys(o.easings);let r="beforeContent",l=a.forwardRef((e,l)=>{let{triggerComponent:c,triggerComponentPosition:d=r,children:u,as:
2h="div",easing:m="easeInOut",isExpanded:p,transitionTime:g=200,css:f,...v}=e,x=a.useMemo(()=>o.easings[m],[m]);return(0,t.jsxs)(h,{...(0,i.spreadProps)(v,(0,n.css)(f)),children:[d===r&&c,(0,t.jsx)(s.default,{ref:l,easing:x,duration:g,height:p?"auto":0,className:(0,n.css)(p?{opacity:"visible",transform:"translateY(0)"}:{opacity:"transparent",transform:"translateY(-8px)"}),style:{transition:`opacity ${g}ms ${x}, transform ${g}ms ${x}`},children:u}),"afterContent"===d&&c]})});l.displayName="Fresha.DesignSystem.Accordion",e.s(["Accordion",0,l],15437)},506713,e=>{"use strict";var t=e.i(674515),i=e.i(687652);e.s(["useLanguage",0,function(e){let{languageId:n}={languageId:null,...e},[a,s]=(0,i.useState)(n);return(0,t.useClientLayoutEffect)(()=>{if(null!=n)return void s(n);let t=(e?.element??document.documentElement).getAttribute("lang");""===t?s(null):s(t)},[n,e?.element]),{language:a}}])},59970,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 2a1 1 0 0 1 1 1v1h10V3a1 1 0 1 1 2 0v1h3a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3V3a1 1 0 0 1 1-1M9 6H6v4h20V6h-3v1a1 1 0 1 1-2 0V6H11v1a1 1 0 1 1-2 0zm17 6H6v14h20z",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.CalendarIcon",e.s(["CalendarIcon",0,a])},163065,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"M21.196 9.074A10 10 0 0 0 2 13v8a2 2 0 0 0 2 2h6.834A10.02 10.02 0 0 0 20 29h8a2 2 0 0 0 2-2v-8a10 10 0 0 0-8.804-9.926M4 13a8 8 0 1 1 8 8H4zm24 14h-8a8.02 8.02 0 0 1-6.96-4.054 9.993 9.993 0 0 0 8.798-11.732A8 8 0 0 1 28 19z"})})}));a.displayName="Fresha.DesignIcons.ChatBubbleIcon",e.s(["ChatBubbleIcon",0,a])},202460,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"m29.061 9.06-16 16a1.5 1.5 0 0 1-2.125 0l-7-7a1.503 1.503 0 1 1 2.125-2.124L12 21.875 26.939 6.938a1.502 1.502 0 1 1 2.125 2.125z"})})}));a.displayName="Fresha.DesignIcons.CheckBoldIcon",e.s(["CheckBoldIcon",0,a])},818489,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M15.293 12.293a1 1 0 0 1 1.414 0l6.25 6.25a1 1 0 0 1-1.414 1.414L16 14.414l-5.543 5.543a1 1 0 0 1-1.414-1.414z",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.ChevronUpIcon",e.s(["ChevronUpIcon",0,a])},523713,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16 4a4 4 0 0 0-3.193 1.59l-.013.018A4 4 0 0 0 12 8h8a4 4 0 0 0-.794-2.392l-.013-.017A4 4 0 0 0 16 4m4.472 0a6 6 0 0 0-8.944 0H7a2 2 0 0 0-2 2v21a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm1.185 2c.225.636.343 1.312.343 2v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V8c0-.688.118-1.364.343-2H7v21h18V6zM11 15a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.ClipboardIcon",e.s(["ClipboardIcon",0,a])},784139,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.297 3.84a4.005 4.005 0 0 1 5.667.003c.289.291.518.641.703 1.01.184-.369.413-.719.702-1.01a4.005 4.005 0 0 1 5.934 5.366h4.364a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2v8a2 2 0 0 1-2 2h-18a2 2 0 0 1-2-2v-8a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2H9.03a4.005 4.005 0 0 1 .267-5.37m5.37 7.37h-10v4h10zm0 6h-8v8h8zm2 8v-8h8v8zm0-10v-4h10v4zm-2.048-6.048c-.024-.329-.062-.71-.119-1.108a10 10 0 0 0-.378-1.706c-.178-.536-.382-.899-.577-1.096a2.005 2.005 0 0 0-2.835 2.836c.197.195.56.398 1.095.577.521.173 1.12.294 1.706.378.399.057.78.094 1.108.12m2.095 0c.329-.025.71-.062 1.108-.12a10 10 0 0 0 1.706-.377c.536-.179.899-.382 1.096-.577a2.005 2.005 0 0 0-2.836-2.836c-.195.197-.398.56-.576 1.096-.174.521-.295 1.12-.379 1.706-.057.399-.094.78-.119 1.108",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.GiftIcon",e.s(["GiftIcon",0,a])},464056,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M13.488 26.603c.6.404 1.102.719 1.455.934.176.
2107.465.275.563.332.304.17.68.173.984.003.102-.06.394-.23.567-.335a40.466 40.466 0 0 0 5.862-4.356C26.072 20.343 29.5 16.21 29.5 11.5A7.5 7.5 0 0 0 16 7a7.5 7.5 0 0 0-13.5 4.5c0 4.71 3.428 8.843 6.581 11.68a40.5 40.5 0 0 0 4.407 3.423m-.903-19.958A5.5 5.5 0 0 0 4.5 11.5c0 3.79 2.822 7.407 5.919 10.194A38.5 38.5 0 0 0 16 25.84a38.466 38.466 0 0 0 5.581-4.145C24.678 18.907 27.5 15.29 27.5 11.5a5.5 5.5 0 0 0-10.577-2.115 1 1 0 0 1-1.846 0 5.5 5.5 0 0 0-2.492-2.74",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.HeartIcon",e.s(["HeartIcon",0,a])},933342,974093,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M2.667 6a2 2 0 0 1 2-2h22.666a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2H4.667a2 2 0 0 1-2-2zm24.666 0H4.667v20h22.666zM16 12a3 3 0 1 0 0 6 3 3 0 0 0 0-6m3.43 6.638a5 5 0 1 0-6.86 0 8 8 0 0 0-.893.423c-1.253.696-2.22 1.719-2.627 2.961a1 1 0 1 0 1.9.622c.213-.65.77-1.32 1.698-1.834.925-.514 2.107-.81 3.352-.81s2.427.296 3.352.81c.928.515 1.485 1.183 1.698 1.834a1 1 0 0 0 1.9-.622c-.406-1.242-1.374-2.265-2.627-2.96a8 8 0 0 0-.893-.424",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.ProfileIcon",e.s(["ProfileIcon",0,a],933342);let s=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"M16 10a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6m0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8m13.743-6.599a1 1 0 0 0-.487-.675l-3.729-2.125-.015-4.202a1 1 0 0 0-.353-.76 14 14 0 0 0-4.59-2.584 1 1 0 0 0-.808.074L16 5.23l-3.765-2.106a1 1 0 0 0-.809-.075 14 14 0 0 0-4.585 2.594 1 1 0 0 0-.354.759l-.018 4.206-3.729 2.125a1 1 0 0 0-.486.675 13.3 13.3 0 0 0 0 5.195 1 1 0 0 0 .486.675l3.729 2.125.015 4.202a1 1 0 0 0 .354.76 14 14 0 0 0 4.59 2.584 1 1 0 0 0 .807-.074L16 26.77l3.765 2.106a1.009 1.009 0 0 0 .809.073 14 14 0 0 0 4.585-2.592 1 1 0 0 0 .354-.759l.018-4.206 3.729-2.125a1 1 0 0 0 .486-.675 13.3 13.3 0 0 0-.003-5.19m-1.875 4.364-3.572 2.031a1 1 0 0 0-.375.375c-.072.125-.148.258-.226.383a1 1 0 0 0-.152.526l-.02 4.031c-.96.754-2.029 1.357-3.17 1.788L16.75 24.89a1 1 0 0 0-.489-.125h-.478a1 1 0 0 0-.513.125l-3.605 2.013a12 12 0 0 1-3.18-1.779L8.471 21.1a1 1 0 0 0-.152-.527 7 7 0 0 1-.225-.383 1 1 0 0 0-.375-.383l-3.575-2.036a11.3 11.3 0 0 1 0-3.532l3.565-2.035a1 1 0 0 0 .375-.375c.072-.125.149-.258.226-.383.1-.157.152-.34.152-.526l.02-4.031c.96-.754 2.029-1.357 3.17-1.788L15.25 7.11a1 1 0 0 0 .512.125h.456a1 1 0 0 0 .512-.125l3.605-2.013a12 12 0 0 1 3.18 1.779l.014 4.025a1 1 0 0 0 .152.527c.078.126.154.25.225.383.089.159.218.291.375.383l3.575 2.036c.188 1.17.19 2.364.006 3.536z"})})}));s.displayName="Fresha.DesignIcons.SettingsIcon",e.s(["SettingsIcon",0,s],974093)},107076,e=>{"use strict";var t=e.i(318008),i=e.i(687652),n=e.i(557547);let a=i.default.forwardRef((e,i)=>(0,t.jsx)(n.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M1 8.99A2 2 0 0 1 3 7h26a2 2 0 0 1 2 2v3.018A1 1 0 0 1 30 13c-1.615 0-2.947 1.33-2.947 3s1.332 3 2.947 3a1 1 0 0 1 1 .983V23a2 2 0 0 1-2 2H3a2 2 0 0 1-2-1.99v-2.993A1 1 0 0 1 2 19c1.615 0 2.947-1.33 2.947-3S3.615 13 2 13a1 1 0 0 1-1-1.018zM29 9H3l.015 2.105C5.268 11.58 6.947 13.6 6.947 16s-1.679 4.42-3.932 4.895L3 23h26l.016-2.099c-2.269-.462-3.963-2.49-3.963-4.901s1.694-4.44 3.963-4.901zm-13 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-5 3a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}));a.displayName="Fresha.DesignIcons.VoucherIcon",e.s(["VoucherIcon",0,a])},477788,e=>{"use strict";var t=e.i(318008),i=e.i(506713),n=e.i(622110);e.i(550834);var a=e.i(271894),s=e.i(138696),o=e.i(585102);let r=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 81.8 24",pointerEvents:"none",className:(0,o.default)(e.svgClassName,e.className),style:e.style,children:[(0,t.jsx)("title",{children:"Fresha"}),(0,t.jsx)("path",{d:"M51.5 2.1h3.9v8.1c1.3-1.9 4-2.5 6.2-1.6 2.2.9 2.9 2.5 3 2.7.2.5.4 1 .5 1.5.6 3.6-.6 7.2.5 10.7h-3.8c-1-2.5-.4-5.3-.4-7.9 0-.7 0-1.5-.4-2.2-.5-.9-1.5-1.
26-2.5-1.6-1.1 0-2.1.6-2.6 1.5-.4.8-.4 1.8-.4 2.7v7.5h-3.9l-.1-21.4zM36 15.7c.1-4.3-2.6-7.5-6.8-7.5-2.8 0-5.2 1.4-6.5 3.8-1.4 2.6-1.3 6.3.4 8.8 2.5 3.4 7.6 4.2 12.5 1.9l-1.2-3.1c-4.1 1.8-8.5 1.3-8.8-2.4H36v-1.5zm-10.3-1.5c.3-.8.7-1.4 1.3-1.9 1.2-.9 3.3-1 4.4-.1.5.4.9 1.1 1.2 1.9h-6.9zM13.1 13.9s0-2.3-1.9-2.3H6.9v12.1H3V11.6H0V8.3h3V5.7C3 3.4 5.1 0 9.7 0s6.4 3.9 6.4 3.9l-3 2.1s-.8-2.5-3.3-2.5C8.7 3.5 7 4.4 7 6.2v2h6.1c2.7 0 3.4 2 3.4 2 1-2.4 4.6-2.1 5.3-2v3.1c-2.5-.2-4.8 1.2-4.8 4.1v8h-3.9v-9.5zM48.9 16.2c-1.2-1.2-4.3-1.6-6.3-2-1-.2-1.8-.4-1.8-1.4 0-1.2 1.2-1.5 2.4-1.5s2.4.5 3.1 1.5l3-1.6c-1.7-3-6.2-3.6-9.1-2.4-.9.4-1.6 1-2.1 1.7-1.1 1.5-1 4.1.3 5.3.7.7 1.9 1.2 3.4 1.5l2.8.5c1 .2 1.9.4 1.9 1.5 0 1.3-1.4 1.6-2.6 1.6-3.2 0-3.8-3-3.8-3L36.4 19c.2 1 1.5 5 7.4 5 3.3 0 6.2-1.3 6.3-4.8-.1-1.3-.5-2.3-1.2-3zM81.2 20.8c-.7 0-1.3-.4-1.3-1.4 0-.5-.1-2.2-.1-2.6 0-2.6.1-5.1-1.7-6.9-2-2-6.6-2.2-9-.6-.9.5-1.7 1.2-2.3 2.1l2.3 2.4c.9-1.5 2.2-2.2 3.7-2.2 1.4-.1 2.6.6 3.1 2-3.1.8-7.1 1.1-8.8 4.3-.8 1.5-.6 3.4.6 4.7.9 1 2.4 1.3 3.8 1.3 2.2 0 4.3-.5 5.6-2.5.7 1.7 2.2 2.5 4 2.5.3 0 .6-.1.8-.2v-3c-.2.1-.4.1-.7.1zm-5.3-3.1c.1 2.2-1.7 3.4-3.7 3.4-1.1 0-1.8-.5-1.8-1.6 0-1.2 1-1.6 2.1-1.9l3.4-1v1.1z",className:e.pathClassName})]});r.displayName="Fresha.DesignSystem.LogoText";let l=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 132 48",pointerEvents:"none",className:(0,o.default)(e.svgClassName,e.className),style:e.style,children:[(0,t.jsx)("title",{children:"ÙØ±Ùشا"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M84.7466 19.7532H78.1635V28.5898C78.1635 31.6443 77.0354 33.196 74.8229 33.196H59.4169V19.7532H52.7847V28.9655C52.7847 31.7858 51.6567 33.196 49.4441 33.196H46.0599V19.7532H39.4823V28.9655C39.4823 31.7858 38.3542 33.196 36.1417 33.196H32.7575V19.7532H26.1253V28.726C26.1253 32.0145 24.9482 33.1906 22.7847 33.1906H12.2234C7.3842 33.1906 6.58311 31.4973 6.58311 28.3067V0H0V31.7368C0 36.5771 2.91553 39.49 7.9455 39.49C7.9455 39.49 15.2153 39.5717 18.5232 39.5553C19.7929 39.5499 20.8011 39.5336 21.1553 39.49C23.2371 39.2396 25.6185 38.412 26.5831 36.147C26.5831 36.147 27.5368 38.7387 30.6758 39.4301C30.7684 39.4465 30.8883 39.4682 31.03 39.4846C31.2098 39.5063 31.4223 39.5281 31.6676 39.5445C31.7875 39.5554 31.9128 39.5608 32.049 39.5662C32.0545 39.5662 32.06 39.5662 32.0709 39.5662L32.8501 39.5717C33.3951 39.5826 34.0273 39.5608 34.6866 39.4846C36.7684 39.2341 39.1499 38.4065 40.1144 36.1416C40.1144 36.1416 41.1553 38.9455 44.6485 39.4846C44.9482 39.5281 45.2589 39.5662 45.5967 39.5662H45.6022C46.2616 39.5662 47.0518 39.588 47.9128 39.4846C49.9946 39.2341 52.376 38.4065 53.3406 36.1416C53.3406 36.1416 54.5177 39.4846 57.8747 39.4846H58.8501H70.6267H76.2234C78.9482 39.4846 81.1117 38.5426 82.6649 36.6207C84.0273 34.9764 84.7357 32.9074 84.7357 30.4192V19.7532H84.7466Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M120.104 13.2468C113.531 13.2468 108.207 18.5662 108.207 25.1325V27.5989C108.207 29.6189 108.714 31.5191 109.602 33.1851H106.654H105.717H102.965H97.1063C96.921 28.6715 96.5504 24.1525 97.6621 19.7477H91.2752C89.8529 23.9456 90.3433 28.6116 90.5232 33.1851C90.5395 33.5336 90.5504 33.8875 90.5559 34.2359C90.5559 34.2904 90.5613 34.3448 90.5613 34.3993C90.5722 34.7804 90.5776 35.1615 90.5776 35.5372C90.5776 35.6515 90.5776 35.7659 90.5776 35.8802C90.5667 37.0399 90.4523 38.2214 89.9455 39.2613C89.1717 40.8512 87.4659 41.9347 85.7003 41.9619C85.237 41.9673 84.7738 41.8966 84.327 41.7713V47.4501C86.436 48.2123 88.8937 48.1906 91.0572 47.2976C94.7902 45.8221 95.9727 43.1815 96.1417 42.8276C96.5286 42.0163 96.7629 41.1506 96.9046 40.2686C96.9482 40.0073 96.9755 39.7405 97.0082 39.4791H102.965H105.717H106.654H118.436H120.054C120.071 39.4791 120.087 39.4791 120.104 39.4791C120.12 39.4791 120.136 39.4791 120.153 39.4791C126.163 39.4519 131.117 34.9764 131.891 29.1724C131.962 28.6552 132 28.127 132 27.5935V25.1325C132 18.5717 126.676 13.2468 120.104 13.2468ZM126.093 27.8167C126.093 29.0799 125.7 30.2505 125.03 31.2142C123.951 32.7768 122.147 33.8004 120.104 33.8004C119.749 33.8004 119.406 33.7623 119.068 33.7078C116.256 33.2178 114.114 30.7731 114.114 27.8221V24.9201C114.114 21.6152 116.796 18.9365 120.104 18.9365C123.411 18.9365 126.093 21.6152 126.093 24.9201V27.8167Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M42.4905 8.50453C44.0104 8.50453 45.2425 7.27351 45.2425 5.75498C45.2425 4.23645 44.0104 3.00543 42.4905 3.00543C40.9706 3.00543 39.7384 4.23645 39.7384 5.75498C39.7384 7.27351 40.9706 8.50453 42.4905 8.50453Z"}
2),(0,t.jsx)("path",{className:e.pathClassName,d:"M38.1417 16.2305C39.6616 16.2305 40.8937 14.9995 40.8937 13.4809C40.8937 11.9624 39.6616 10.7314 38.1417 10.7314C36.6218 10.7314 35.3896 11.9624 35.3896 13.4809C35.3896 14.9995 36.6218 16.2305 38.1417 16.2305Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M47.0027 16.2305C48.5226 16.2305 49.7548 14.9995 49.7548 13.4809C49.7548 11.9624 48.5226 10.7314 47.0027 10.7314C45.4828 10.7314 44.2507 11.9624 44.2507 13.4809C44.2507 14.9995 45.4828 16.2305 47.0027 16.2305Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M67.9836 42.5009C66.4632 42.5009 65.2316 43.7314 65.2316 45.2505C65.2316 46.7695 66.4632 48 67.9836 48C69.5041 48 70.7357 46.7695 70.7357 45.2505C70.7357 43.7314 69.5041 42.5009 67.9836 42.5009Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M76.8501 42.5009C75.3297 42.5009 74.0981 43.7314 74.0981 45.2505C74.0981 46.7695 75.3297 48 76.8501 48C78.3706 48 79.6022 46.7695 79.6022 45.2505C79.6022 43.7314 78.3706 42.5009 76.8501 42.5009Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M124.665 5.68966C124.676 3.82759 123.417 3.02723 121.624 3.02723C118.294 3.01634 115.346 5.17787 115.444 8.78222V10.4973L121.15 8.88023C123.03 8.32487 124.632 7.61707 124.665 5.68966Z"})]});l.displayName="Fresha.DesignSystem.LogoTextArabic";let c=(0,s.sva)({slots:["path","svg"],base:{svg:{display:"block"}},variants:{color:{white:{svg:{fill:"foreground.onPrimary"},path:{fill:"foreground.onPrimary"}},dark:{svg:{fill:"foreground.neutral"},path:{fill:"foreground.neutral"}},neutralFaded:{svg:{fill:"foreground.neutralFaded"},path:{fill:"foreground.neutralFaded"}},ghost:{svg:{fill:"foreground.ghost"},path:{fill:"foreground.ghost"}}},size:{xl:{svg:{blockSize:n.default.logo.size.horizontal.xl.composition.height.value}},l:{svg:{blockSize:n.default.logo.size.horizontal.l.composition.height.value}},m:{svg:{blockSize:n.default.logo.size.horizontal.m.composition.height.value}},s:{svg:{blockSize:n.default.logo.size.horizontal.s.composition.height.value}},xs:{svg:{blockSize:n.default.logo.size.horizontal.xs.composition.height.value}}}}}),d=e=>{let{color:n="dark",size:s="xs",height:o,locale:d,css:u}=e,{language:h}=(0,i.useLanguage)({languageId:d}),m="ar"===h?l:r,p=c.raw({color:n,size:o?void 0:s});return(0,t.jsx)(m,{pathClassName:(0,a.css)(p.path),svgClassName:(0,a.css)(p.svg,u),style:{height:o}})};d.displayName="Fresha.DesignSystem.Logo",e.s(["Logo",0,d],477788)},950023,e=>{"use strict";var t=e.i(318008),i=e.i(842125),n=e.i(687652),a=e.i(202460);let s=n.createContext({isExpanded:!1,hasChildSelected:!1});s.displayName="Fresha.DesignSystem.Menu.MenuItemAccordion.Context";var o=e.i(28218),r=e.i(84582);let l=n.default.createContext({hasItemDivider:!1,itemSize:void 0});l.displayName="Fresha.DesignSystem.MenuStructure.ItemContext";let{Provider:c}=l,d=n.forwardRef((e,a)=>{let{children:s,id:c,hasDivider:d,size:u,hasChildSelected:h,...m}=e,p=(0,o.useId)(c),{Component:g,hasAction:f,actionProps:v,restProps:x}=(0,r.getActionBehaviour)({...m,id:p}),{hasItemDivider:I,itemSize:S}=n.useContext(l);return(0,t.jsxs)(i.MenuStructure.Item,{ref:a,size:u||S,color:h?"accent":"default",...x,children:[f&&(0,t.jsx)(g,{...v,id:p,css:i.MenuStructure.Item.getInteractionStyles()}),s,(I||d)&&(0,t.jsx)(i.MenuStructure.Item.Divider,{})]})});d.displayName="Fresha.DesignSystem.Menu.MenuItemSlot";let u=e=>{let{prefixIcon:o,prefix:r,label:l,description:c,suffix:u,isAccordion:h,isNavigable:m,isSelected:p,isPrefixInteractive:g,hasDivider:f,...v}=e,{isExpanded:x,hasChildSelected:I}=n.useContext(s);return(0,t.jsxs)(d,{isHighlighted:I&&p,...v,hasDivider:f,as:h?"div":"li",children:[!r&&o&&(0,t.jsx)(i.MenuStructure.Item.PrefixIcon,{icon:o}),r&&(0,t.jsx)(i.MenuStructure.Item.PrefixWithMargin,{isInteractive:g,children:r}),(0,t.jsxs)(i.MenuStructure.Item.Content,{children:[(0,t.jsx)(i.MenuStructure.Item.Label,{children:l}),c&&(0,t.jsx)(i.MenuStructure.Item.Description,{children:c})]}),u,h&&(0,t.jsx)(i.MenuStructure.Item.SuffixAccordion,{isExpanded:x}),p&&(0,t.jsx)(i.MenuStructure.Item.SuffixIcon,{icon:a.CheckBoldIcon}),m&&(0,t.jsx)(i.MenuStructure.Item.SuffixChevron,{})]})};u.displayName="Fresha.DesignSystem.Menu.MenuItem";var h=e.i(15437);
2let m=n.forwardRef((e,n)=>{let{children:a,...s}=e;return(0,t.jsx)(i.MenuStructure.ItemWrapper,{ref:n,...s,children:a})});m.displayName="Fresha.DesignSystem.Menu.MenuItemAccordion.Wrapper";let p=n.forwardRef((e,i)=>{let{children:a,isExpanded:o,hasChildSelected:r,...l}=e,c=n.useMemo(()=>({isExpanded:o,hasChildSelected:r}),[o,r]);return(0,t.jsx)(s.Provider,{value:c,children:(0,t.jsx)(h.Accordion,{as:"li",ref:i,isExpanded:o,triggerComponent:(0,t.jsx)(u,{...l,hasChildSelected:r,isAccordion:!0}),unsafeStyle:{listStyle:"none"},children:a})})});p.displayName="Fresha.DesignSystem.Menu.MenuItemAccordion";let g=Object.assign(p,{Wrapper:m}),f=e=>{let{header:a,headerSlot:s,hasItemDivider:o,itemSize:r,hasDivider:l=!0,children:d,...u}=e,h=n.useMemo(()=>({hasItemDivider:o,itemSize:r}),[o,r]);return(0,t.jsx)(c,{value:h,children:(0,t.jsxs)(i.MenuStructure.List,{...u,size:r,children:[a&&(0,t.jsx)(i.MenuStructure.List.Header,{slot:s,children:a}),(0,t.jsx)(i.MenuStructure.List.Content,{children:d}),(0,t.jsx)(i.MenuStructure.List.Divider,{withoutLine:!l})]})})};f.displayName="Fresha.DesignSystem.Menu.MenuList";let v=n.forwardRef((e,n)=>(0,t.jsx)(i.MenuStructure,{ref:n,...e}));v.displayName="Fresha.DesignSystem.Menu";let x=Object.assign(v,{List:f,Item:u,ItemAccordion:g,ItemSlot:d});e.s(["Menu",0,x],950023)},477829,364379,e=>{"use strict";var t=e.i(151639);e.s(["getAbsoluteLocalizedLink",0,e=>{let{path:i}=e,{urlPrefix:n,isDefault:a}=(0,t.getLocaleConfig)();return a?["https://www.fresha.com",i?.[0]==="/"?i.substr(1):i].filter(Boolean).join("/"):[`https://www.fresha.com/${n}`,i?.[0]==="/"?i.substr(1):i].filter(Boolean).join("/")}],477829);var i=e.i(318008),n=e.i(687652),a=e.i(557547);let s=n.default.forwardRef((e,t)=>(0,i.jsx)(a.Icon,{...e,ref:t,children:(0,i.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M19.429 3.457C24.944 4.96 29 10.007 29 16c0 2.022-.462 3.937-1.285 5.643a1 1 0 0 1-.088.18l-.006.01c-2.084 4.144-6.319 7.02-11.238 7.161a1 1 0 0 1-.169.004L16 29C8.82 29 3 23.18 3 16S8.82 3 16 3c1.105 0 2.177.138 3.201.397q.117.017.227.06M5 16c0-1.786.426-3.473 1.181-4.965l1.305 3.471a1.99 1.99 0 0 0 1.454 1.272l2.675.574.471.981.009.018a2.03 2.03 0 0 0 1.778 1.111h.163l-.96 2.154a2 2 0 0 0 .35 2.173l2.352 2.544-.322 1.654C9.633 26.703 5 21.893 5 16m2.923-6.016L8.956 7.55A10.96 10.96 0 0 1 16 5c.826 0 1.63.091 2.404.264l.944 1.709-3.356 3.035-1.55.854h-2.655a2.012 2.012 0 0 0-1.844 1.218l-.651 1.547zm4.107 4.412-.818-.176.58-1.358h2.697c.303 0 .634-.091.917-.241l1.552-.858a2 2 0 0 0 .383-.279l3.365-3.04a2.01 2.01 0 0 0 .536-2.117A11 11 0 0 1 27 16c0 1.35-.244 2.645-.689 3.84l-5.792-3.563a1.9 1.9 0 0 0-.794-.282l-2.85-.386a1.98 1.98 0 0 0-1.915.853l-1.071-.003-.473-.975a1.99 1.99 0 0 0-1.386-1.088m13.409 7.256a11 11 0 0 1-7.927 5.245l.232-1.179a2.025 2.025 0 0 0-.491-1.741l-2.354-2.54 1.715-3.845 2.853.387z",clipRule:"evenodd"})})}));s.displayName="Fresha.DesignIcons.GlobeIcon",e.s(["GlobeIcon",0,s],364379)},238695,e=>{"use strict";var t=e.i(318008),i=e.i(330126),n=e.i(40271),a=e.i(687652),s=e.i(486382);let o=()=>e.A(937330).then(e=>e.LogoutConfirmationDialog),r=(0,n.default)(o,{ssr:!1});e.s(["LogoutConfirmationDialogLazy",0,function(e){let{email:n,redirectTo:l}=e,{isOpen:c}=(0,s.useLogoutConfirmationDialog)(),d=(0,i.useHasOpened)(c);return((0,a.useEffect)(()=>{d||o()},[d]),d)?(0,t.jsx)(r,{email:n,redirectTo:l}):null}])},486382,e=>{"use strict";var t=e.i(350648);e.s(["useLogoutConfirmationDialog",0,function(){return(0,t.useSearchParamsModal)({key:"logout-confirmation"})}])},323555,e=>{"use strict";var t,i=e.i(317437),n=e.i(726415),a=((t={}).ACTIVITY="Activity",t.LOGIN="Log in",t.LOGOUT="Logout",t.MESSAGES="Messages",t.PROFILE="Profile",t.PROFILE_SETTINGS="Settings",t.VOUCHERS="Vouchers",t.GIFT_CARDS="Gift cards",t.FAVOURITES="Favourites",t.FORMS="Forms",t.DOWNLOAD_APP="Download the app",t.CUSTOMER_SUPPORT="Customer Support",t.LANGUAGE_SELECT="Language select",t.SEND_GIFT_CARD="Send gift card",t);e.s(["USER_NAVIGATION_TITLES",()=>a,"onBusinessNavigation",0,()=>((0,i.pushEvent)({event:n.EventNames.FOR_BUSINESS_NAVIGATION_CLICK,interaction_value:"For business"}),Promise.resolve()),"onUserNavigation",0,e=>((0,i.pushEvent)({event:n.EventNames.USER_NAVIGATION_CLICKED,interaction_value:e}),Promise.resolve())])},914898,183077,e=>{"use strict";var t=e.i(318008),i=e.i(149824),n=e.i(255996),a=e.i(60831),s=e.i(713783);e.i(317123);var o=e.i(843131);e.i(481248);var r=e.i(616094),l=e.i(896075),c=e.i(684908);e.i(550834);var d=e.i(271894),u=e.i(687652),h=e.i(875523),m=e.i(949316),p=e.i(477829),g=e.i(804702),f=e.i(224989),v=e.i(323555);let x=e=>{let{isFreshaGiftCardEnabled:n,isLoading:a,isLoggedIn:s}=e;return a?(0,t.jsxs)(t.Fragment,{children:[n?(0,t.jsx)(f.Skeleton,{qaType:"navigation-fresha-gift-card-skeleton",shape:"default",css:{blockSize:"[24px]",inlineSize:"[122px]",alignSelf:"center",marginBlock:"0",marginInline:"[19px]"}}):null,(0,t.jsx)(f.Skeleton,{qaType:"navigation-for-business-skeleton",shape:"rounded",css:{blockSize:"[48px]",inlineSize:"[146.39px]"}})]}):(0,t.jsxs)(t.Fragment,{children:[n?(0,t.jsx)(g.Button,{linkTo:"/buy-fresha-gift-card",isExternal:!0,target:"_self",id:"fresha-gift-card",qaType:"fresha-gift-card",variant:"tertiary",size:"l",shape:"pill",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.SEND_GIFT_CARD),children:m.__`Send a gift card`}):null,s?null:(0,t.jsx)(g.Button,{linkTo:(0,i.selectUserPath)(),isExternal:!0,target:"_self",id:"login-btn",qaType:"login-btn",variant:"tertiary",size:"l",shape:"pill",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.LOGIN),children:m.__`Log in`}),(0,t.jsx)(g.Button,{linkTo:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),isExternal:!0,target:"_self",id:"for-business-btn",qaType:"link-for-business",variant:"secondary",size:"l",shape:"pill",onAction:v.onBusinessNavigation,children:(0,m.__p)("Link to for business page","For businesses")})]})};var I=e.i(151639),S=e.i(462041),b=e.i(210426),y=e.i(253116),C=e.i(551612),w=e.i(732257),k=e.i(364379),N=e.i(557547);let j=u.default.forwardRef((e,i)=>(0,t.jsx)(N.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 8a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 8a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 8a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"})})}));j.displayName="Fresha.DesignIcons.HamburgerMenuIcon";var T=e.i(616274),_=e.i(130641),A=e.i(950023),E=e.i(842125);let L=d.css.raw({backgroundColor:"transparent",borderStyle:"none",display:"flex",alignItems:"center",blockSize:"100%"}),R=d.css.raw({alignItems:"center",blockSize:"600",display:"inline-flex",position:"relative"}),z=d.css.raw({backgroundColor:"background.neutralFaded",borderStyle:"none",borderWidth:"0",margin:"0",maxBlockSize:"none",maxInlineSize:"none",overflowY:"auto",padding:"0",zIndex:"101",_backdrop:{backgroundColor:"background.overlay"},"@media not all and (min-width: 768px)":{blockSize:"100%",inlineSize:"100%",insetBlockEnd:"0",insetBlockStart:"0",insetInlineEnd:"0",insetInlineStart:"0",position:"fixed"},tablet:{backgroundColor:"background.elevated",blockSize:"auto",borderColor:"border.neutralFaded",borderRadius:"l",borderStyle:"solid",borderWidth:"100",boxShadow:"elevated",inlineSize:"[240px]",insetBlockEnd:"auto",insetBlockStart:"[calc(100% + 8px)]",insetInlineEnd:"0",insetInlineStart:"auto",marginBlockStart:"0",overflow:"hidden",paddingBlockEnd:"100",paddingBlockStart:"100",paddingInline:"250",position:"absolute",_backdrop:{backgroundColor:"transparent"}}}),M=d.css.raw({alignItems:"center",backgroundColor:"background.neutralFaded",display:"flex",justifyContent:"flex-end",marginBlock:"[10px]",marginInline:"0",paddingBlockEnd:"200",paddingBlockStart:"250",paddingInline:"250",tablet:{display:"none"}}),O=d.css.raw({display:"flex",flexDirection:"column",gap:"200"}),F=d.css.raw({backgroundColor:"background.page",borderWidth:"100",borderStyle:"solid",borderColor:"border.neutralFaded",borderRadius:"l",display:"flex",flexFlow:"column",listStyle:"none",marginBlock:"0",marginInline:"250",paddingBlock:"150",paddingInline:"250"}),B=d.css.raw({textStyle:"header.l.semibold",paddingBlockStart:"0",paddingInline:"250",paddingBlockEnd:"150"}),U=d.css.raw({paddingBlock:"150",paddingInline:"0"}),D=d.css.raw({textStyle:"body.m.semibold",laptop:{textStyle:"body.s.semibold"}}),H=e=>{let{isFreshaGiftCardEnabled:n}=e;return(0,t.jsxs)("nav",{hidden:!0,"aria-hidden":"true",children:[(0,t.jsx)("a",{href:(0,S.toLocalisedHref)((0,i.selectUserPath)()),children:m.__`Log in or sign up`}),n?(0,t.jsx)("a",{href:(0,S.toLocalisedHref)("/buy-fresha-gift-card"),children:m.__`Send a gift card`}):null,(0,t.jsx)("a",{href:(0,S.toLocalisedHref)(i.DOWNLOAD_APP),children:m.__`Download the app`}),(0,t.jsx)("a",{href:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.HELP_CENTER_GET_SUPPORT}),children:m.__`Help and support`}),(0,t.jsx)("a",{href:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),children:m.__`For businesses`})]})},V=e=>{let{menu:i,onItemAction:n}=e;return(0,t.jsx)("div",{className:(0,d.css)(O),children:i.map(e=>(0,t.jsxs)(u.Fragment,{children:[e.name?(0,t.jsx)("p",{className:(0,d.css)(B),children:e.name}):null,(0,t.jsx)("ul",{className:(0,d.css)(F),children:e.items.map(e=>{let i=e.prefixIcon;return(0,t.jsxs)(_.ListItem,{as:"li",onAction:()=>(e.onAction?.(),n(),Promise.resolve()),css:U,variant:"flush",linkTo:e?.linkTo,isExternal:e.isExternal,target:e?.target,qaType:e.dataQa,children:[i?(0,t.jsx)(_.ListItem.Prefix,{leftSection:(0,t.jsx)(i,{size:"m"})}):null,(0,t.jsx)(_.ListItem.Content,{children:(0,t.jsx)("p",{className:(0,d.css)({textStyle:"body.m.medium"},e.isLabelBold&&{textStyle:"body.m.semibold"},"accent"===e.labelColor&&{color:"foreground.accent"}),children:e.label})}),(0,t.jsx)(_.ListItem.Suffix,{rightSection:e.useArrowIcon?(0,t.jsx)(y.ArrowRightIcon,{color:"neutral",size:"l"}):(0,t.jsx)(C.ChevronRightIcon,{color:"neutral",size:"l"})})]},e.key)})})]},e.key))})},P=e=>{let{menu:i,onItemAction:n}=e,[a,s]=i;return(0,t.jsxs)(A.Menu,{children:[(0,t.jsx)(A.Menu.List,{header:a.name,children:a.items.map(e=>(0,t.jsx)(A.Menu.Item,{label:e.label,color:"accent"===e.labelColor?"accent":"default",linkTo:e.linkTo,isExternal:e.isExternal,target:e.target,prefixIcon:e.prefixIcon,qaType:e.dataQa,onAction:async()=>{e.onAction?.(),n()}},e.key))}),(0,t.jsx)(A.Menu.List,{children:s.items.map(e=>(0,t.jsxs)(A.Menu.ItemSlot,{linkTo:e.linkTo,isExternal:e.isExternal,target:e.target,qaType:e.dataQa,onAction:async()=>{e.onAction?.(),n()},children:[(0,t.jsx)(E.MenuStructure.Item.Content,{children:(0,t.jsx)(E.MenuStructure.Item.Label,{css:D,children:e.label})}),(0,t.jsx)(E.MenuStructure.Item.SuffixIcon,{icon:y.ArrowRightIcon})]},e.key))})]})},G=e=>{let{isFreshaGiftCardEnabled:n}=e,[a,s]=(0,u.useState)(!1),r=(0,u.useRef)(null),l=(0,u.useRef)(null),c=(0,u.useRef)(!1),f=(0,u.useId)(),{setOpen:x}=(0,b.useLocaleDialog)(),S=(0,u.useCallback)(()=>s(!1),[]),y=(0,u.useCallback)(()=>s(e=>!e),[]);(0,h.useInteractOutside)({ref:r,onInteractOutside:S,isDisabled:!a}),(0,u.useLayoutEffect)(()=>{let e=l.current;if(e){if(!a){e.open&&e.close(),c.current=!1;return}e.open||(window.matchMedia("(min-width: 768px)").matches?(c.current=!1,e.show()):(c.current=!0,e.showModal()))}},[a]),(0,u.useEffect)(()=>{let e=l.current;if(!e)return;let t=()=>s(!1);return e.addEventListener("close",t),()=>e.removeEventListener("close",t)},[]),(0,u.useEffect)(()=>
2{if(!a)return;let e=e=>{if("Escape"!==e.key||c.current)return;e.preventDefault();let t=r.current?.querySelector('[aria-expanded="true"]');S(),queueMicrotask(()=>t?.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[S,a]);let C=[{name:(0,m.__p)("User menu","For customers"),key:"list-1",items:[{key:"login",linkTo:(0,i.selectUserPath)(),label:m.__`Log in or sign up`,dataQa:"menu-item-log-in",labelColor:"accent"},...n?[{key:"fresha-gift-card",linkTo:"/buy-fresha-gift-card",label:(0,m.__)("Send a gift card"),onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.SEND_GIFT_CARD)}]:[],{key:"download-app",linkTo:i.DOWNLOAD_APP,label:m.__`Download the app`,dataQa:"menu-item-download-app",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.DOWNLOAD_APP)},{key:"help",linkTo:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.HELP_CENTER_GET_SUPPORT}),isExternal:!0,label:m.__`Help and support`,dataQa:"menu-item-support",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.CUSTOMER_SUPPORT)},{label:(0,I.getLocaleConfig)().name,key:"language-switch",dataQa:"menu-item-language",prefixIcon:k.GlobeIcon,onAction:()=>{x(!0),(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.LANGUAGE_SELECT)}}]}
2,{name:"",key:"list-2",items:[{key:"for-business",linkTo:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),target:"_self",label:m.__`For businesses`,isLabelBold:!0,useArrowIcon:!0,isExternal:!0,dataQa:"menu-item-for-business",onAction:v.onBusinessNavigation}]}];return(0,t.jsxs)("div",{className:(0,d.css)(R),ref:r,children:[(0,t.jsx)(o.Visibility,{lt:"laptop",children:(0,t.jsx)(T.ButtonBehaviour,{css:L,onAction:y,"aria-label":(0,m.__p)("Mobile menu link","Menu"),"aria-expanded":a,"aria-controls":f,qaType:"navigation-hamburger-mobile",children:(0,t.jsx)(j,{color:"neutral",size:"2xl"})})}),(0,t.jsx)(o.Visibility,{gte:"laptop",children:(0,t.jsx)(g.Button,{id:"popup-menu-button",icon:j,iconPosition:"right",variant:"secondary",shape:"pill",qaType:"navigation-hamburger-desktop",size:"l","aria-expanded":a,"aria-controls":f,onAction:y,children:(0,m.__p)("button for main navigation on Desktop","Menu")})}),(0,t.jsxs)("dialog",{id:f,ref:l,className:(0,d.css)(z),"aria-label":(0,m.__p)("Mobile menu link","Menu"),children:[(0,t.jsx)("div",{className:(0,d.css)(M),children:(0,t.jsx)(g.Button,{icon:w.CloseBoldIcon,isCompact:!0,isLabelHidden:!0,onAction:async()=>{S()},qaType:"navigation-hamburger-close",size:"l",variant:"tertiary",children:(0,m.__p)("Logged-out header menu: dismiss the menu","Close")})}),(0,t.jsx)(o.Visibility,{lt:"tablet",children:(0,t.jsx)(V,{menu:C,onItemAction:S})}),(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(P,{menu:C,onItemAction:S})})]})]})};var q=e.i(501826),W=e.i(930934),$=e.i(388369),Z=e.i(348514),K=e.i(238695),Q=e.i(486382),Y=e.i(59970),J=e.i(163065),X=e.i(865555),ee=e.i(818489),et=e.i(523713),ei=e.i(784139),en=e.i(464056),ea=e.i(933342),es=e.i(974093),eo=e.i(107076),er=e.i(275125),el=e.i(943597),ec=e.i(960826),ed=e.i(652463),eu=e.i(564080),eh=e.i(21575);let em=d.css.raw({display:"flex",alignItems:"center"}),ep=d.css.raw({display:"flex",alignItems:"center",justifyContent:"space-between",inlineSize:"100%"}),eg={__meta__:{hash:"24128382633725db2ad51736545b88258c22b2e00009cc680279b2c5d0502bf1"},name:"Shell_UserMenu_Query",type:"query"},ef=(0,u.forwardRef)((e,i)=>{let{isOpen:n,onAction:a,user:s,badge:o,...r}=e;return(0,t.jsx)(g.Button,{...r,onAction:a,contentUnsafeStyle:{paddingInlineEnd:eh.spacing100},id:"menu-button",ref:i,qaType:"avatar-button-desktop",variant:"secondary",shape:"pill",size:"l",isLabelHidden:!0,prefix:(0,t.jsx)(ec.ButtonStructure.Affix,{prefixType:"compact",size:"l",children:o?(0,t.jsxs)("span",{className:(0,d.css)({position:"relative",display:"inline-flex"}),children:[(0,t.jsx)(el.Avatar,{id:"avatar-button-desktop",initials:s.initials,src:s.avatarThumb?.url,alt:(0,m.__)("The avatar of %{firstName} %{lastName}",{firstName:s.firstName,lastName:s.lastName}),size:"m"}),o]}):(0,t.jsx)(el.Avatar,{id:"avatar-button-desktop",initials:s.initials,src:s.avatarThumb?.url,alt:(0,m.__)("The avatar of %{firstName} %{lastName}",{firstName:s.firstName,lastName:s.lastName}),size:"m"})}),suffix:n?(0,t.jsx)(ee.ChevronUpIcon,{color:"neutral",size:"l"}):(0,t.jsx)(X.ChevronDownIcon,{color:"neutral",size:"l"}),children:m.__`User menu`})});ef.displayName="AvatarDropdownButtonComponent";let ev=e=>{let{data:a,showSkeleton:s}=e,r=(0,W.unmask)(a),l=(0,$.useFeatureIsEnabled)("B2C_WEB_CUSTOMER_CONNECT"),{data:c}=(0,n.useSWRGQL)(eg),h=!!c?.freshaGiftCardCountryConfig?.isEnabled,{messagesInline:g,messagesOverlay:x}=(0,Z.useNavigationBadges)(),{setOpen:S}=(0,b.useLocaleDialog)(),{openModal:C}=(0,Q.useLogoutConfirmationDialog)(),{menus:w}=(0,u.useMemo)(()=>({menus:[{name:r?.fullName??"",key:"list-1",items:[{linkTo:i.PROFILE,copy:m.__`Profile`,key:"profile",prefixIcon:ea.ProfileIcon,qaType:"dropdown-btn-info-profile",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.PROFILE)},{linkTo:(0,i.activityPath)(),copy:m.__`Activity`,key:"activity",prefixIcon:Y.CalendarIcon},{linkTo:"/wallet",copy:m.__`Wallet`,key:"wallet",prefixIcon:er.WalletIcon},...!0===l?[{linkTo:i.MESSAGES,copy:m.__`Messages`,key:"messages",prefixIcon:J.ChatBubbleIcon,content:g,qaType:"menu-item-messages",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.MESSAGES)}]:[],{linkTo:(0,i.profileFavoritesPath)(),copy:m.__`Favorites`,key:"favorites",prefixIcon:en.HeartIcon,qaType:"menu-item-my-favorites",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.FAVOURITES)},...h?[{linkTo:{pathname:"/buy-fresha-gift-card"},copy:m.__`Send a gift card`,key:"fresha-gift-card",prefixIcon:ei.GiftIcon,onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.SEND_GIFT_CARD)}]:[],{linkTo:(0,i.consultationFormsPath)(),copy:m.__`Forms`,key:"consultation-forms",prefixIcon:et.ClipboardIcon,qaType:"menu-item-my-consultation-forms",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.FORMS)},...r?.isVouchersLinkEnabled?[{linkTo:i.USER_VOUCHERS_ROOT,copy:m.__`Vouchers`,key:"vouchers",prefixIcon:eo.VoucherIcon,onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.VOUCHERS)}]:[],{linkTo:"/settings",copy:m.__`Settings`,key:"settings",prefixIcon:es.SettingsIcon,onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.PROFILE_SETTINGS)},{copy:m.__`Log out`,key:"logout",qaType:"menu-item-logout",onAction:()=>((0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.LOGOUT),C(),Promise.resolve())}]}
2,{name:"",key:"list-2",items:[{linkTo:i.DOWNLOAD_APP,copy:m.__`Download the app`,key:"download-the-app",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.DOWNLOAD_APP)},{linkTo:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.HELP_CENTER_GET_SUPPORT}),isExternal:!0,copy:m.__`Help and support`,key:"customer-button",onAction:()=>(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.CUSTOMER_SUPPORT)},{copy:(0,I.getLocaleConfig)().name,key:"language-switch",prefixIcon:k.GlobeIcon,onAction:async()=>{(0,v.onUserNavigation)(v.USER_NAVIGATION_TITLES.LANGUAGE_SELECT),S(!0)}}]},{name:"",key:"list-3",items:[{key:"for-business",linkTo:(0,p.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),isExternal:!0,useArrowIcon:!0,semibold:!0,copy:m.__`For businesses`,onAction:v.onBusinessNavigation}]}]}),[l,h,g,C,S,r?.fullName,r?.isVouchersLinkEnabled]);return s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Visibility,{lt:"tablet",children:(0,t.jsx)(f.Skeleton,{isAnimated:!0,shape:"rounded",css:{blockSize:"[30px]",inlineSize:"[30px]"}})}),(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(f.Skeleton,{isAnimated:!0,shape:"rounded",css:{blockSize:"[48px]",inlineSize:"[85px]"}})})]}):r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ed.Dropdown,{onAction:e=>{w.flatMap(e=>e.items).find(t=>t.key===e&&"function"==typeof t.onAction&&!t.linkTo)?.onAction?.()},placement:"bottom end",width:240,triggerComponent:e=>{let{triggerRef:i,menuTriggerProps:n,isOpen:a}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Visibility,{lt:"tablet",children:(0,t.jsx)(eu.Link,{"aria-label":(0,m.__p)("Mobile menu link","Menu"),qaType:"avatar-button-mobile",linkTo:"/menu",text:(0,t.jsx)(el.Avatar,{id:"avatar-button-mobile",initials:r.initials,src:r.avatarThumb?.url,alt:r.fullName,size:"s"}),css:em})}),(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(ef,{isOpen:a,...n,ref:i,user:r,badge:x})})]})},children:w.map(e=>(0,t.jsx)(ed.Dropdown.List,{title:e.name,children:e.items.map(e=>(0,t.jsx)(ed.Dropdown.Item,{textValue:e.copy,isBold:e.semibold,linkTo:e.linkTo,isExternal:e.isExternal,onAction:e.linkTo?e.onAction:void 0,children:(0,t.jsx)(ed.DropdownItems.Inline,{title:e.content?(0,t.jsxs)("span",{className:(0,d.css)(ep),children:[(0,t.jsx)(ed.DropdownItems.Inline.Title,{children:e.copy}),e.content]}):e.copy,prefixIcon:e.prefixIcon,suffixIcon:e.useArrowIcon?y.ArrowRightIcon:void 0})},e.key))},e.key))}),(0,t.jsx)(K.LogoutConfirmationDialogLazy,{email:r.email})]}):null},ex=d.css.raw({position:"sticky",backgroundColor:"background.page",insetBlockStart:"0",insetInlineEnd:"0",zIndex:100,inlineSize:"100%",blockSize:"[var(--navbar-height)]",display:"flex",transitionProperty:"[block-size]",transitionDuration:"short.m",transitionTimingFunction:"easeInOut",'&:has(form[data-active="true"])':{blockSize:"[var(--navbar-height-expanded)]",transition:"none"},"@supports not (animation-timeline: scroll())":{transitionProperty:"[background-color, box-shadow, block-size]"}}),eI=d.css.raw({blockSize:"[var(--navbar-height-expanded)]"}),eS={static:d.css.raw({position:"static"}),"static--border":d.css.raw({position:"static",borderBlockEndWidth:"100",borderBlockEndStyle:"solid",borderBlockEndColor:"border.neutralFaded"}),sticky:d.css.raw({boxShadow:"clipping"}),"sticky--transparent":d.css.raw({marginBlockEnd:"[calc(-1 * var(--navbar-height))]",backgroundColor:"transparent","@supports (animation-timeline: scroll())":{animationTimingFunction:"linear",animationFillMode:"both",animationName:"navbarScrollBackground",animationTimeline:"[scroll(root)]",animationRange:"[0px 48px]"}})},eb=d.css.raw({"@supports not (animation-timeline: scroll())":{backgroundColor:"background.page",boxShadow:"clipping"}}),ey=d.css.raw({background:"transparent",blockSize:"[1px]",display:"block",inlineSize:"[1px]",insetBlockStart:"0",insetInlineStart:"0",position:"absolute",zIndex:"[-1]"}),eC=d.css.raw({alignItems:"center",blockSize:"600",display:"flex",zIndex:1,inlineSize:"fit-content"}),ew=d.css.raw({position:"relative",display:"grid",gridTemplateColumns:"[minmax(75px, 1fr) minmax(auto, 4fr) minmax(auto, 1fr)]",justifyContent:"center",marginBlock:"0",marginInline:"auto",paddingBlock:"150",paddingInline:{base:"250",laptop:"400"},inlineSize:"100%",maxInlineSize:"[1440px]"}),ek=d.css.raw({maxInlineSize:"none"}),eN=d.css.raw({justifySelf:"flex-end",alignSelf:{base:"center",laptop:"start"},tablet:{display:"flex",gap:"150"}}),ej=d.css.raw({alignItems:"center",alignSelf:"center",display:"flex",justifyContent:"center",inlineSize:"100%",position:"relative",transitionProperty:"[padding-inline]",transitionDuration:"short.l",transitionTimingFunction:"easeInOut",pointerEvents:"none","& form":{pointerEvents:"auto"}
2,laptop:{position:"absolute",insetInline:"0",insetBlockEnd:"0",insetBlockStart:"[2px]"}}),eT=d.css.raw({zIndex:5,laptop:{paddingInline:"400"}}),e_=d.css.raw({insetInline:"0",insetBlockStart:"[var(--navbar-height)]",blockSize:"[calc(100vh - var(--navbar-height))]",backgroundColor:"background.overlay",zIndex:"[-1]",opacity:"transparent",transitionProperty:"opacity",transitionDuration:"short.m",transitionTimingFunction:"easeInOut",'[data-navigation-root]:has(form[data-active="true"]) &':{insetBlockStart:"[var(--navbar-height-expanded)]",blockSize:"[calc(100vh - var(--navbar-height-expanded))]",position:"absolute",opacity:"visible",zIndex:4}}),eA=d.css.raw({insetBlockStart:"[var(--navbar-height-expanded)]",blockSize:"[calc(100vh - var(--navbar-height-expanded))]",position:"absolute",opacity:"visible",zIndex:4}),eE=void 0!==window?.CSS&&"function"==typeof window.CSS.supports&&window.CSS.supports("animation-timeline: scroll()"),eL={focus:!1,modal:!1};e.s(["Navigation",0,e=>{let{withForBusinessBtn:m,isFullWidth:p,layoutVariant:g="sticky",searchVariant:f="navigation",searchForm:v}=e,I=(0,q.useSearchFormSlot)(),{data:S,isLoading:b}=(0,a.useBasicProfile)(),y=(0,u.useRef)(null),C=(0,u.useRef)(null),{data:w}=(0,n.useSWRGQL)(eg),k=!!w?.freshaGiftCardCountryConfig?.isEnabled,N=!!S?.profile,[j,T]=(0,u.useState)(eL),_=(0,u.useRef)(!1),A=(0,u.useCallback)(()=>{_.current=!1,T(eL)},[]);(0,h.useInteractOutside)({ref:y,onInteractOutside:A});let E=(0,u.useCallback)(e=>{!1!==_.current&&(y.current?.contains(e.target)||(_.current=!1,T(eL)))},[]),L=j.focus||j.modal,{pageScrolled:R,onScrollUp:z,onScrollDown:M}=(()=>{let[e,t]=(0,u.useState)(!1);return{pageScrolled:e,onScrollUp:(0,u.useCallback)(()=>{eE||t(!1)},[]),onScrollDown:(0,u.useCallback)(()=>{eE||t(!0)},[])}})();(0,u.useEffect)(()=>(window.addEventListener("wheel",E),window.addEventListener("touchmove",E),()=>{window.removeEventListener("wheel",E),window.removeEventListener("touchmove",E)}),[E]);let O=(0,t.jsxs)("div",{"data-navigation-root":"",className:(0,d.css)(ex,eS[g],R&&"sticky--transparent"===g&&eb,L&&eI),children:[(0,t.jsxs)("nav",{className:(0,d.css)(ew,p&&ek),children:[(0,t.jsx)("div",{children:(0,t.jsx)(c.AnchorBehaviour,{css:eC,linkTo:i.HOME,"aria-label":"Fresha",ref:C,children:(0,t.jsx)(s.InternationalLogo,{height:"22px"})})}),(0,t.jsx)("div",{children:f?(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)("div",{className:(0,d.css)(ej,L&&eT),ref:y,
2children:v??I})}):null}),(0,t.jsxs)("div",{className:(0,d.css)(eN),children:[!!m&&(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(x,{isFreshaGiftCardEnabled:k,isLoading:b,isLoggedIn:N})}),N?(0,t.jsx)(ev,{data:S?.profile}):b?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ev,{data:void 0,showSkeleton:!0}),(0,t.jsx)(H,{isFreshaGiftCardEnabled:k})]}):(0,t.jsx)(G,{isFreshaGiftCardEnabled:k})]})]}),(0,t.jsx)("div",{className:(0,d.css)(e_,L&&eA),role:"none"})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.IntersectionObserver,{rootMargin:"20px",children:(0,t.jsx)(l.IsVisible,{className:(0,d.css)(ey),onHide:M,onShow:z})}),O]})}],183077),e.s([],914898)},713783,e=>{"use strict";var t=e.i(318008),i=e.i(151639),n=e.i(477788);e.s(["InternationalLogo",0,e=>{let{language:a}=(0,i.getLocale)();return(0,t.jsx)(n.Logo,{locale:a,...e})}])},210426,e=>{"use strict";var t=e.i(318008),i=e.i(687652);let n=(0,i.createContext)({isOpen:!1,setOpen(){}});e.s(["LocaleDialogProvider",0,function(e){let{children:a,isOpen:s=!1}=e,[o,r]=(0,i.useState)(s),l=(0,i.useMemo)(()=>({isOpen:o,setOpen:r}),[o]);return(0,t.jsx)(n.Provider,{value:l,children:a})},"useLocaleDialog",0,function(){return(0,i.useContext)(n)}])},348514,e=>{"use strict";var t=e.i(687652);let i=(0,t.createContext)({}),n=i.Provider;e.s(["NavigationBadgesProvider",0,n,"useNavigationBadges",0,()=>(0,t.useContext)(i)])},501826,e=>{"use strict";var t=e.i(687652);let i=(0,t.createContext)(null),n=i.Provider;e.s(["SearchFormProvider",0,n,"useSearchFormSlot",0,()=>(0,t.useContext)(i)])}]); 3 4//# debugId=3979ae2d-5cdb-e21b-bcd9-acb69fbb2241 5//# sourceMappingURL=3lymz9zez007i.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.