(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1575],{67242:function(e,t,a){"use strict";a.d(t,{C:function(){return i}});var n=a(67294);const i=e=>n.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},e),n.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"}))},74844:function(e,t,a){"use strict";a.d(t,{M:function(){return g},S:function(){return p}});var n=a(23759),i=a(67294),o=a(33551),r=a(10917),l=a(70917),c=a(93867),s=a(26437);const d=l.F4` from { transform: translateY(100%); visibility: visible; } to { transform: translateY(0); } `,m=l.F4` from { transform: translate(0, 0); } to { visibility: hidden; transform: translate(0, 100%); } `,u=c.Z.div` cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-items: center; gap: 4px; .mobile-navigation-label { font-weight: 500; font-size: 10px; line-height: 16px; color: ${r.r.colors.gray600}; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 60px; text-align: center; ${s.M.mbDown} { max-width: 60px; } } .mobile-navigation-icon { position: relative; height: 24px; &[data-no-label='true'] { border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0px; gap: 16px; width: 40px; height: 40px; } } &[data-is-special='true'] { display: flex; flex-direction: row; align-items: center; padding: 4px 12px 4px 6px; gap: 4px; min-width: 152px; height: 32px; /* Neutral/Neutral-50 */ background: ${r.r.colors.primary50}; border-radius: 20px; flex-grow: 1; .mobile-navigation-icon { &[data-no-label='true'] { width: 24px; height: 24px; } } .mobile-navigation-label { max-width: max-content; color: ${r.r.colors.primaryBase}; } } &[data-is-active='true'] { .mobile-navigation-label { color: ${r.r.colors.primaryBase}; } } &[data-is-disabled='true'] { opacity: 0.2; } `,p=c.Z.div` z-index: 100; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; max-height: ${({height:e})=>e}px; min-height: ${({height:e})=>e}px; display: flex; height: 100%; align-items: center; justify-content: space-evenly; background-color: ${r.r.colors.white}; @supports (padding-bottom: env(safe-area-inset-bottom)) { min-height: calc(${({height:e})=>e}px + env(safe-area-inset-bottom)); max-height: calc(${({height:e})=>e}px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); } a { text-decoration: none; } &[data-is-collapsed='true'] { animation: ${m} 500ms ease-in-out forwards; } &[data-is-collapsed='false'] { animation: ${d} 500ms ease-in-out forwards; } &[data-template='health-tool'] { height: ${({height:e})=>e}px; max-height: ${({height:e})=>e}px; min-height: ${({height:e})=>e}px; justify-content: space-between; & > div { flex: 0; } } `,h=c.Z.span` position: absolute; left: 100%; transform: translate(-10px, calc(-50% + 3px)); background-color: ${r.r.colors.green800}; border-radius: 32px; border: 2px solid ${r.r.colors.white}; padding: 1px 4px; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 20px; aspect-ratio: 1; &[data-no-label='true'] { left: 0; transform: translate(22px, -50%); } `;c.Z.div` position: absolute; top: 0; left: 0; height: 3px; background-color: ${r.r.colors.primaryBase}; transition: width 150ms linear; `,c.Z.div` a { text-decoration: none; } `;const g=e=>{var{badgeAmount:t,disabled:a=!1,hasBadge:l=!1,icon:c,isActive:s=!1,isSpecial:d=!1,label:m}=e,p=(0,n._)(e,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return i.createElement(u,Object.assign({"data-is-special":d,"data-is-active":s,"data-is-disabled":a},p),i.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(m)},l&&i.createElement(h,{"data-no-label":!Boolean(m)},i.createElement(o.T,{size:"s5",weight:"semiBold",color:d?r.r.colors.primaryBase:r.r.colors.white},t)),c),m&&i.createElement("span",{className:"mobile-navigation-label"},m))}},64445:function(e,t,a){"use strict";a.d(t,{C:function(){return r},L:function(){return s}});var n=a(65900),i=a(34155);const o="vi-VN",r=(i.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||i.env.GOOGLE_API_KEY||i.env.NEXT_PUBLIC_GOOGLE_API_KEY,i.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,i.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID,"care"),l={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"};n.y,n.y,i.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==i.env.NEXT_PUBLIC_TOGETHER_API_URL&&i.env.NEXT_PUBLIC_TOGETHER_API_URL,i.env.NEXT_PUBLIC_SSO_URL;var c;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(c||(c={}));const s={"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}}},78720:function(e,t,a){"use strict";a.d(t,{g:function(){return l}});var n=a(23759),i=a(65900);const o={},r=(e,t)=>{try{"undefined"!==typeof window?localStorage.setItem((i.y?"":"staging_")+"hhg-cache-"+e,JSON.stringify({data:t,time:Date.now()})):o[e]={data:t,time:Date.now()}}catch(a){}},l=(e,t,a,l=9e5)=>(0,n.a)(void 0,void 0,void 0,(function*(){const c=(e=>{if("undefined"!==typeof window){let a;try{a=JSON.parse(localStorage.getItem((i.y?"":"staging_")+"hhg-cache-"+e)||"{}")}catch(t){}return a||{}}return o[e]})(e);if(null===c||void 0===c?void 0:c.data)return setTimeout((()=>(0,n.a)(void 0,void 0,void 0,(function*(){if(c.time&&Date.now()-c.time>l&&t){const n=yield t();a&&!a(n)||r(e,n)}}))),0),c.data;if(t){const n=yield t();return a&&!a(n)||r(e,n),n}return null}))},31125:function(e,t,a){"use strict";a.d(t,{I:function(){return l}});var n=a(23759),i=a(67294),o=a(26621),r=a(10917);const l=e=>{var{styles:t,color:a=r.r.colors.red700}=e,l=(0,n._)(e,["styles","color"]);return i.createElement(o.z,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},t),color:a},l))}},54331:function(e,t,a){"use strict";a.d(t,{M:function(){return c}});var n=a(23759),i=a(67294),o=a(93867),r=a(10917);(0,o.Z)((e=>{var{type:t}=e,a=(0,n._)(e,["type"]);return i.createElement(t,a)}))` color: var(--text-color, ${r.r.mbColors.dark}); font-family: Krub; font-weight: 600; letter-spacing: -0.2px; &[data-type='headline-1'] { font-size: 40px; line-height: 60px; } &[data-type='headline-2'] { font-size: 32px; line-height: 48px; } &[data-type='headline-3'] { font-size: 24px; line-height: 40px; } &[data-type='headline-4'] { font-size: 18px; line-height: 32px; } `;const l=o.Z.p` color: var(--text-color, ${r.r.mbColors.dark}); letter-spacing: -0.2px; &[data-type='subtitle-1'] { font-size: 16px; font-weight: 600; line-height: 26px; } &[data-type='subtitle-2'] { font-size: 14px; font-weight: 500; line-height: 24px; } &[data-type='subtitle-3'] { font-size: 12px; font-weight: 500; line-height: 20px; } &[data-type='bodytext-1'] { font-size: 16px; font-weight: 400; line-height: 28px; } &[data-type='bodytext-2'] { font-size: 14px; font-weight: 400; line-height: 24px; } &[data-type='bodytext-3'] { font-size: 12px; font-weight: 400; line-height: 20px; } &[data-type='caption-1'] { font-size: 10px; font-weight: 500; letter-spacing: -0.1px; line-height: 14px; } &[data-type='caption-2'] { font-size: 10px; font-weight: 400; letter-spacing: -0.1px; line-height: 14px; } `,c=e=>{var{type:t,color:a,style:o}=e,r=(0,n._)(e,["type","color","style"]);return i.createElement(l,Object.assign({"data-type":t,style:Object.assign(Object.assign({},o),a&&{"--text-color":a})},r))}},7347:function(e,t,a){"use strict";a.d(t,{C:function(){return g}});var n=a(67294),i=a(94184),o=a.n(i),r=a(93867),l=a(91938),c=a(26437),s=a(10917),d=a(65002),m=a(33551);const u=e=>n.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M1.94434 1.94434L3.44545 2.31989C3.88211 2.42878 4.20989 2.791 4.27545 3.23656L5.55656 11.9454",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16.9444 14.7218H4.99997C4.23331 14.7218 3.61108 14.0996 3.61108 13.3329C3.61108 12.5662 4.23331 11.944 4.99997 11.944H14.4766C14.9544 11.944 15.38 11.6385 15.5311 11.184L17.0122 6.73957C17.2522 6.01957 16.7166 5.27734 15.9578 5.27734H4.57553",stroke:"currentColor",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M4.16648 18.8891C4.93354 18.8891 5.55537 18.2673 5.55537 17.5002C5.55537 16.7332 4.93354 16.1113 4.16648 16.1113C3.39941 16.1113 2.77759 16.7332 2.77759 17.5002C2.77759 18.2673 3.39941 18.8891 4.16648 18.8891Z",fill:"currentColor"}),n.createElement("path",{d:"M15.8332 18.8891C16.6003 18.8891 17.2221 18.2673 17.2221 17.5002C17.2221 16.7332 16.6003 16.1113 15.8332 16.1113C15.0662 16.1113 14.4443 16.7332 14.4443 17.5002C14.4443 18.2673 15.0662 18.8891 15.8332 18.8891Z",fill:"currentColor"})),p=(0,r.Z)(l.x)` display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #ffffff33; position: relative; flex-shrink: 0; cursor: pointer; /* Desktop: Square layout */ border-radius: 28px; max-height: 40px; padding: 9px 1rem; background-color: inherit; white-space: nowrap; .cart-care-icon { width: 20px; height: 20px; color: ${s.r.colors.white}; flex-shrink: 0; } .cart-care-button-text { display: block; font-size: 14px; font-weight: 500; line-height: 22px; } /* Mobile: Circle layout */ ${c.M.mbDown} { border-radius: 100%; aspect-ratio: 1/1; width: 32px; height: 32px; padding: auto; background-color: ${s.r.colors.white}; max-height: none; padding: 0; .cart-care-icon { width: 20px; height: 20px; color: ${s.r.colors.blue900}; flex-shrink: 0; } .cart-care-button-text { display: none; } } `,h=(0,r.Z)(l.x)` min-width: 20px; min-height: 20px; aspect-ratio: 1/1; border-radius: 100%; background-color: ${s.r.colors.red500}; color: ${s.r.colors.white}; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: absolute; top: -4px; right: -4px; ${c.M.mbDown} { top: -8px; right: -8px; } `,g=e=>{const{count:t=0,href:a,classes:i,boxProps:r,anchorProps:l,tracking:c}=e,{t:g}=(0,d.u)();return n.createElement("a",Object.assign({className:o()("cart-care-button"),href:a,"data-testid":"cart-care-button","data-event-category":"Hamburger Navigation","data-event-action":"Cart Click","data-event-label":a},c,l),n.createElement(p,Object.assign({className:o()("cart-care-button-box",null===i||void 0===i?void 0:i.box)},r),n.createElement(u,{className:"cart-care-icon"}),n.createElement(m.T,{size:"label1",color:s.r.colors.white,fw:500,className:"cart-care-button-text"},g("navigation.button.cartCareService")),t>0&&n.createElement(h,{className:o()("cart-care-button-count-box",null===i||void 0===i?void 0:i.count)},n.createElement(m.T,{size:t>99?"label2":"c1",color:s.r.colors.white,fw:600,className:"cart-care-button-count-text"},t>99?"99+":t))))}},54894:function(e,t,a){"use strict";a.d(t,{N:function(){return T},a:function(){return S},b:function(){return O},u:function(){return L}});var n=a(23759),i=a(67294),o=a(76623),r=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i{var{size:t=24,color:a=o.SQ,isActive:n,activeColor:l=o.SK,isSolid:c}=e,s=r(e,["size","color","isActive","activeColor","isSolid"]);const d=n?l:a;return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",width:t,height:t},s),i.createElement("path",{d:c?"M12 11.6923C11.0346 11.6923 10.21 11.3503 9.52598 10.6664C8.84201 9.98239 8.50003 9.15773 8.50003 8.19236C8.50003 7.22698 8.84201 6.4023 9.52598 5.71833C10.21 5.03437 11.0346 4.69238 12 4.69238C12.9654 4.69238 13.79 5.03437 14.474 5.71833C15.158 6.4023 15.5 7.22698 15.5 8.19236C15.5 9.15773 15.158 9.98239 14.474 10.6664C13.79 11.3503 12.9654 11.6923 12 11.6923ZM6.01923 19.3077C5.59745 19.3077 5.23881 19.1599 4.94331 18.8644C4.64779 18.5689 4.50003 18.2103 4.50003 17.7885V17.0846C4.50003 16.5949 4.63305 16.1414 4.89908 15.7241C5.1651 15.3068 5.52054 14.986 5.96541 14.7616C6.95387 14.277 7.95099 13.9135 8.95676 13.6712C9.96252 13.4289 10.9769 13.3078 12 13.3078C13.0231 13.3078 14.0375 13.4289 15.0433 13.6712C16.049 13.9135 17.0461 14.277 18.0346 14.7616C18.4795 14.986 18.8349 15.3068 19.1009 15.7241C19.367 16.1414 19.5 16.5949 19.5 17.0846V17.7885C19.5 18.2103 19.3522 18.5689 19.0567 18.8644C18.7612 19.1599 18.4026 19.3077 17.9808 19.3077H6.01923Z":"M12 11.6923C11.0375 11.6923 10.2136 11.3496 9.52816 10.6642C8.84274 9.97879 8.50003 9.15484 8.50003 8.19236C8.50003 7.22986 8.84274 6.40591 9.52816 5.72051C10.2136 5.03509 11.0375 4.69238 12 4.69238C12.9625 4.69238 13.7864 5.03509 14.4719 5.72051C15.1573 6.40591 15.5 7.22986 15.5 8.19236C15.5 9.15484 15.1573 9.97879 14.4719 10.6642C13.7864 11.3496 12.9625 11.6923 12 11.6923ZM17.9808 19.3077H6.01923C5.59745 19.3077 5.23881 19.1599 4.94331 18.8644C4.64779 18.5689 4.50003 18.2103 4.50003 17.7885V17.0846C4.50003 16.5949 4.63305 16.1414 4.89908 15.7241C5.1651 15.3068 5.52054 14.986 5.96541 14.7616C6.95387 14.277 7.95099 13.9135 8.95676 13.6712C9.96252 13.4289 10.9769 13.3078 12 13.3078C13.0231 13.3078 14.0375 13.4289 15.0433 13.6712C16.049 13.9135 17.0461 14.277 18.0346 14.7616C18.4795 14.986 18.8349 15.3068 19.1009 15.7241C19.367 16.1414 19.5 16.5949 19.5 17.0846V17.7885C19.5 18.2103 19.3522 18.5689 19.0567 18.8644C18.7612 19.1599 18.4026 19.3077 17.9808 19.3077ZM6.00001 17.8077H18V17.0846C18 16.8821 17.9413 16.6946 17.824 16.5221C17.7067 16.3497 17.5474 16.209 17.3462 16.1C16.4846 15.6757 15.6061 15.3542 14.7107 15.1356C13.8153 14.917 12.9117 14.8077 12 14.8077C11.0883 14.8077 10.1847 14.917 9.28931 15.1356C8.39387 15.3542 7.51539 15.6757 6.65386 16.1C6.45257 16.209 6.29328 16.3497 6.17598 16.5221C6.05866 16.6946 6.00001 16.8821 6.00001 17.0846V17.8077ZM12 10.1924C12.55 10.1924 13.0208 9.99653 13.4125 9.60486C13.8042 9.21319 14 8.74236 14 8.19236C14 7.64236 13.8042 7.17153 13.4125 6.77986C13.0208 6.38819 12.55 6.19236 12 6.19236C11.45 6.19236 10.9792 6.38819 10.5875 6.77986C10.1958 7.17153 10 7.64236 10 8.19236C10 8.74236 10.1958 9.21319 10.5875 9.60486C10.9792 9.99653 11.45 10.1924 12 10.1924Z",fill:d}))},c=a(3908),s=a(64340),d=a(31804),m=a(33551),u=a(65002),p=a(82914),h=a(10917),g=a(93867),f=a(26437),v=a(78156),y=a(94184),b=a.n(y),E=a(94293),x=a(70275),C=a(93454),w=a(78577),k=a(90271),_=a(3406);const M=e=>i.createElement("svg",Object.assign({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("rect",{y:"0.5",width:"31",height:"31",rx:"15.5",fill:"white"}),i.createElement("path",{d:"M15.4999 14.3797C16.9062 14.3797 18.0462 13.2397 18.0462 11.8334C18.0462 10.4271 16.9062 9.28711 15.4999 9.28711C14.0936 9.28711 12.9536 10.4271 12.9536 11.8334C12.9536 13.2397 14.0936 14.3797 15.4999 14.3797Z",stroke:"#2743AD",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.9092 22.0335C20.7055 21.7825 21.124 20.9029 20.786 20.1399C19.8879 18.1112 17.861 16.6946 15.4999 16.6946C13.1388 16.6946 11.112 18.1112 10.2138 20.1399C9.87585 20.9038 10.2944 21.7825 11.0907 22.0335C12.2249 22.3909 13.7258 22.7131 15.4999 22.7131C17.274 22.7131 18.7749 22.3909 19.9092 22.0335Z",stroke:"#2743AD",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})),B=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M9.99991 8.3797C11.4062 8.3797 12.5462 7.23969 12.5462 5.83341C12.5462 4.42712 11.4062 3.28711 9.99991 3.28711C8.59363 3.28711 7.45361 4.42712 7.45361 5.83341C7.45361 7.23969 8.59363 8.3797 9.99991 8.3797Z",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M14.4092 16.0335C15.2055 15.7825 15.624 14.9029 15.286 14.1399C14.3879 12.1112 12.361 10.6946 9.99992 10.6946C7.63881 10.6946 5.61196 12.1112 4.71381 14.1399C4.37585 14.9038 4.79436 15.7825 5.59066 16.0335C6.72492 16.3909 8.22584 16.7131 9.99992 16.7131C11.774 16.7131 13.2749 16.3909 14.4092 16.0335Z",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})),S=i.createContext({}),O=e=>{var{children:t}=e,a=(0,n._)(e,["children"]);const[o,r]=i.useState((()=>a.currentUrl||`https://${"marryBaby"===a.siteType?x.d[a.locale||"en-PH"]:w.v[a.locale||"en-PH"]}${"together"===a.projectType?"/community":"ecom"===a.projectType?"/ecom":"care"===a.projectType?"/care":""}/`));(0,i.useEffect)((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,siteType:a,enableBookingBtn:n})=>(0,i.useMemo)((()=>{const i="discover"===t||"together"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===a,o="marryBaby"!==a&&"marryBaby"!==t&&E.C.includes(e),r=n&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==a&&E.d.includes(e),l="marryBaby"===t||E.c.includes(e),c="marryBaby"!==a&&E.E.includes(e),s="marryBaby"!==a&&E.E.includes(e),d=E.V.includes(e),m=E.H.includes(e),u=E.e.includes(e);let p=(0,C.g)(e,"marryBaby"===a);"undefined"!==typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableSearchBar:i,enableNavCare:o,enableNavCareBooking:r,enableNavTogether:l,enableNavEcom:c,enableProfileEcom:s,enableNavVideo:d,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,VIDEO_URL_FE:`${p}/videos`,SSO_URL:(0,C.a)(e,"marryBaby"===a),TOGETHER_API:(0,C.b)(),DISCOVER_API:(0,C.c)(e)},enableNavClinityDownload:m,enableNavCartCare:u}}),[]))({locale:a.locale,projectType:a.projectType,siteType:a.siteType,enableBookingBtn:a.enableBookingBtn});return i.createElement(S.Provider,{value:Object.assign(Object.assign({},a),{customClasses:a.customClasses||{},configs:Object.assign(Object.assign({},l),a.configs),currentUrl:a.currentUrl||o})},t)},L=e=>{const{allowBgScroll:t}=e||{},a=(0,i.useRef)();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},F=(0,v.Z)(g.Z.div` position: absolute; right: 0; transition: all 0.5s ease-in-out; overflow-y: auto; &[data-open='true'] { z-index: 200; top: 120%; opacity: 1; visibility: visible; } &[data-open='false'] { display: none; } .popup-content { z-index: 111; height: 100%; border: 1px solid #0000001a; border-radius: 16px; border-top-left-radius: 0; border-top-right-radius: 0; } /* min-height: 415px; */ ${f.M.mbUp} { width: 320px; } ${f.M.mbDown} { position: fixed; left: 0; width: 100%; padding-bottom: 70px; } `,"hhgcomp-navprofilebutton-popup"),N=(0,v.Z)(g.Z.div` position: fixed; z-index: 150; top: var(--header-bottom, 56px); left: 0; width: 100%; height: 100%; align-items: center; ${f.M.mbUp} { background-color: transparent; &[data-type='welcome'] { background: rgba(38, 38, 38, 0.3); } &[data-type='due-date'] { background: rgba(38, 38, 38, 0.3); } } ${f.M.mbDown} { background: rgba(38, 38, 38, 0.3); } &[data-type='welcome'] { top: 0; } &[data-open='false'] { display: none; } `,"hhgcomp-navprofilebutton-popupwrapper"),$=g.Z.div` width: 36px; height: 36px; cursor: pointer; img { border-radius: 50%; } .avatar { width: 36px; height: 36px; object-fit: cover; } .avatar-default { display: flex; align-items: center; justify-content: center; background-color: ${h.r.colors.secondaryBase}; border-radius: 50%; color: white; font-size: 20px; font-weight: bold; } `,D=g.Z.div` display: inline-flex; position: relative; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; cursor: pointer; .user-close-icon { display: none; } &:focus-within { .user-close-icon { display: block; } .user-avatar { display: none; } ${F.classSelector} { z-index: 200; top: 120%; opacity: 1; visibility: visible; display: initial; ${f.M.mbDown} { top: 100%; } } ${N.classSelector} { display: initial; } } `,P=g.Z.a` display: inline-flex; .login-btn[data-color='tertiary'][data-size='md'] { padding-left: 12px; padding-right: 12px; } .mobile-only { ${f.M.mbUp} { display: none; } } .login-btn { display: none; ${f.M.mbUp} { display: block; border: 1px solid ${h.r.colors.neutral100}; } } &[data-win-cash-back-theme='true'] { .login-btn { ${f.M.mbUp} { color: ${h.r.colors.white}; } } } `,A=({isOpen:e,userInfo:t,closePopup:a,siteType:n="helloSites",dispatchLogout:o})=>{const{customClasses:r={},configs:{enableProfileFindMyBooking:l}}=(0,i.useContext)(S);return i.createElement(F,{className:r.profilePopup,"data-open":e},i.createElement("div",{className:b()("popup-content",r.profilePopupContent)},i.createElement(k.l,{siteType:n,onLogout:()=>{o&&(o(),a())},userInfo:t,configs:{enableProfileFindMyBooking:l}})))},T=({userInfo:e,siteType:t,onLoginClick:a,currentUrl:o,isMinifyLogin:r,onLogout:g,style:f,isLoading:v,isMobile:y,className:b})=>{const{isWinCashBackTheme:E}=(0,i.useContext)(S),{t:x}=(0,u.u)(),[C,w]=(0,i.useState)(!1),k=(null===e||void 0===e?void 0:e.name)||(null===e||void 0===e?void 0:e.username),{containerRef:O,onContainerFocus:F,onContainerBlur:N,onButtonMouseDown:T,onClose:I}=L(),j=(0,i.useMemo)((()=>y&&"helloSites"===t),[y]);return v?j?i.createElement(c.S,null):i.createElement(d.B,{size:"sm",color:"transparent",loading:!0}):(null===e||void 0===e?void 0:e.id)?i.createElement(i.Fragment,null,i.createElement(D,{ref:O,style:f,tabIndex:0,onBlur:N,onFocus:()=>{var e;F();const t=null===(e=O.current)||void 0===e?void 0:e.querySelector("#navigation-v2 .hhgcomp-navprofilebutton-popup");if(t){const e=`calc(100vh - ${t.getBoundingClientRect().top}px)`;t.setAttribute("style",`max-height: ${e};`)}},className:b},i.createElement("div",{onMouseDown:T},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"user-close-icon"},i.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),i.createElement(s.A,{size:32,className:"user-avatar",src:null===e||void 0===e?void 0:e.avatar,color:"marryBaby"===t?h.r.mbColors.pink:h.r.colors.secondaryBase,placeholderText:k&&k.length?k[0].toUpperCase():"A"})),i.createElement(A,{dispatchLogout:()=>{I(),w(!0)},isOpen:!1,closePopup:I,siteType:t,userInfo:e})),i.createElement(_.F,{openLogoutPopup:C,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),w(!1)},siteType:t,onLogoutHandler:()=>(0,n.a)(void 0,void 0,void 0,(function*(){w(!1),document.body.classList.toggle("noscroll",!1),yield g()}))})):i.createElement(P,{style:Object.assign({textDecoration:"none"},f),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":o,"data-win-cash-back-theme":E,"data-site-type":t,onClick:a},r?i.createElement($,null,i.createElement("img",{src:p.C.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):i.createElement(i.Fragment,null,"helloSites"===t&&(j?E?i.createElement(M,{className:"mobile-only",style:{cursor:"pointer",width:32,height:32,flexShrink:0}}):i.createElement("img",{className:"mobile-only",src:p.C.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24}}):i.createElement(d.B,{className:"mobile-only",size:"sm",leftIcon:i.createElement(l,{color:"currentColor",isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"},styles:{leftIcon:{marginRight:4}}},x("navigation.loginJoin"))),"marryBaby"===t&&i.createElement("div",{className:"mobile-only",style:{paddingLeft:16}},i.createElement(m.T,{size:"p3",color:h.r.mbColors.pink},x("navigation.loginJoin"))),"marryBaby"===t?i.createElement(d.B,{className:"login-btn",size:"md",leftIcon:i.createElement(l,{color:"currentColor",isSolid:!0,size:22})},x("navigation.loginJoin")):i.createElement(d.B,{className:"login-btn",size:"md",leftIcon:E?i.createElement(B,{style:{flexShrink:0,width:20,height:20}}):i.createElement(l,{color:"#595959",isSolid:!0,size:22}),variant:"ghost",color:"#262626",sx:{fontWeight:500,fontSize:14,lineHeight:22}},x("navigation.loginJoin"))))}},66814:function(e,t,a){"use strict";a.d(t,{F:function(){return F}});var n=a(67294),i=a(61284),o=a(90411),r=a.n(o),l=a(53515),c=a(55157),s=a(91938),d=a(33551),m=a(26437),u=a(40587),p=a(93867),h=a(10917),g=a(78577),f=a(52519),v=a(54331);const y=p.Z.footer` background-color: #1b3250; .inner { padding: 64px 24px 98px 24px; margin: 0 auto; } .newsletter { padding: 24px 0; } .footer-logo { max-width: 132px; max-height: 32px; &[data-is-sehat='true'] { max-width: 250px; } img { object-fit: contain; } } .social { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; > .icons { display: flex; gap: 16px; } } hr { height: 1px; border: none; margin: 16px 0 16px 0; background: ${h.r.colors.neutral500}; opacity: 0.1; outline: none; } .footer-menu-column { min-width: 168px; } .footer-menu-title { margin-bottom: 16px; } .footer-menu-link { display: block; } .footer-menu-link-wrapper { display: flex; flex-direction: column; gap: 12px; } .copyright { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; .copyright-content { color: ${h.r.colors.neutral500}; font-size: 12px; } .copyright-image-wrapper { flex-shrink: 0; flex-wrap: wrap; display: flex; gap: 16px; justify-content: flex-end; .copyright-image { align-self: flex-start; img { height: 32px; } } } } .otherSites { display: flex; gap: 16px; align-items: center; padding: 19px 0; border-top: 1px solid ${h.r.colors.neutral100}1a; border-bottom: 1px solid ${h.r.colors.neutral100}1a; .flags { display: flex; gap: 12px; } } .signupButton { display: none; border: none; margin-top: 16px; outline: none; text-transform: uppercase; } ${m.M.mbDown} { .inner { padding: 64px 0; } .social { flex-direction: column; gap: 10px; align-items: start; } hr { margin-top: 0px; } .copyright { align-items: center; text-align: center; } .copyright-image-wrapper { justify-content: center; max-width: unset; } .otherSites { flex-direction: column; padding: 24px 0; .linkTitle { text-align: center; } .flags { flex-wrap: wrap; justify-content: center; } } .footer-menu-title { margin-bottom: 12px; } .footer-menu { display: grid; grid-template-columns: repeat(2, 1fr); > .footer-menu-column { padding: 24px 0; } > .footer-menu-column:first-child { grid-column-start: 1; grid-column-end: 3; border-top: 1px solid ${h.r.colors.neutral100}1a; border-bottom: 1px solid ${h.r.colors.neutral100}1a; > .footer-menu-link-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); } } } .otherSites { margin-bottom: 24px; } } ${m.M.mbUp} { .newsletter > p { max-width: 360px; } .hrMobile { display: none; } .copyright { gap: 24px; flex-direction: row-reverse; align-items: center; justify-content: space-between; } .otherSites { margin-bottom: 40px; } .columns { display: flex; flex-direction: row; width: 100%; gap: 16px; margin-bottom: 40px; > div:nth-child(1) { display: flex; flex-direction: column; flex: 1; } > div:nth-child(2) { display: flex; flex-direction: row; gap: 24px; } } } `,b=p.Z.img` width: 32px; height: 32px; ${m.M.mbDown} { width: 24px; height: 24px; } .country-flag { width: 100%; height: 100%; } `,E=({url:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:i})=>n.createElement(b,{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":t,"data-event-action":a,"data-content-label":i}),x=({title:e,items:t,locale:a,index:i})=>{const{isMobile:o}=(0,u.u)();return n.createElement("div",{className:"footer-menu-column"},e?n.createElement(d.T,{size:o?"s4":"s3",className:"footer-menu-title",weight:o?"regular":"semiBold",color:"neutral.6"},e):null,n.createElement("div",{className:"footer-menu-link-wrapper"},null===t||void 0===t?void 0:t.map(((e,t)=>n.createElement(d.T,{size:o?"p3":"p4",as:"a","data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${g.v[a]}${e.url}`,className:"footer-menu-link",href:e.url,key:t,color:"#fff",weight:o&&0===i?"semiBold":"regular"},e.title)))))},C=({className:e,footerInfo:t,locale:a})=>{var o,l,c,s,m,p,h,g,f,v,b;const{isMobile:C}=(0,u.u)(),w=null===t||void 0===t?void 0:t.menu,k=(null===(l=null===(o=null===t||void 0===t?void 0:t.general)||void 0===o?void 0:o.verified)||void 0===l?void 0:l.filter(Boolean))||[];return n.createElement(y,{className:e},n.createElement(i.C,null,n.createElement("div",{className:"inner"},n.createElement("a",{href:"/"},n.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(c=null===t||void 0===t?void 0:t.general)||void 0===c?void 0:c.logo,alt:"Logo","data-is-sehat":"id-ID"===a})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(d.T,{size:C?"s3":"s4",weight:"semiBold",color:"neutral.0"},null===(s=null===t||void 0===t?void 0:t.general)||void 0===s?void 0:s.content),n.createElement("div",{className:"social"},n.createElement(d.T,{size:"p4",color:"neutral.6"},null===(m=null===t||void 0===t?void 0:t.social)||void 0===m?void 0:m.title),n.createElement("div",{className:"icons"},null===(h=null===(p=null===t||void 0===t?void 0:t.social)||void 0===p?void 0:p.socials)||void 0===h?void 0:h.map(((e,t)=>n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},n.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon",width:"24",height:"24"}))))))),n.createElement("div",{className:"footer-menu"},w&&n.createElement(n.Fragment,null,null===w||void 0===w?void 0:w.map(((e,t)=>n.createElement(x,{title:e.menu_title,items:e.items,locale:a,key:t,index:t})))))),n.createElement("div",{className:"otherSites"},n.createElement(d.T,{size:"p4",className:"linkTitle",color:"neutral.6",weight:"regular"},null===(g=null===t||void 0===t?void 0:t.branch)||void 0===g?void 0:g.title),n.createElement("div",{className:"flags"},null===(v=null===(f=null===t||void 0===t?void 0:t.branch)||void 0===f?void 0:f.branch)||void 0===v?void 0:v.map(((e,t)=>n.createElement("a",{href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(E,{url:e.flag,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))),n.createElement("div",{className:"copyright"},n.createElement("div",{className:"copyright-image-wrapper"},k.length?k.map(((e,t)=>n.createElement("a",{href:e.url,key:t,className:"copyright-image"},n.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),n.createElement(d.T,{size:"n1",className:"copyright-content",as:"div",color:"neutral.6",weight:"regular"},n.createElement("div",{dangerouslySetInnerHTML:{__html:null===(b=null===t||void 0===t?void 0:t.general)||void 0===b?void 0:b.copyright.replace(/{currentYear}/gi,r()().get("year").toString())}}))))))},w=p.Z.footer` position: relative; overflow: hidden; .icons { margin-top: 12px; margin-bottom: 20px; > a:not(:last-child) { margin-right: 16px; } } a { text-decoration: none; } `,k=p.Z.div` position: relative; padding: 80px 0 40px; margin: auto 68px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid ${h.r.colors.neutral200}; ${m.M.tdDown} { margin: auto 16px; flex-wrap: wrap; row-gap: 32px; column-gap: 16px; } ${m.M.mbDown} { margin: auto 0; } `,_=p.Z.div` display: flex; justify-content: space-between; gap: 12px; flex-direction: column; ${m.M.mbDown} { flex: 1 1 160px; } .title { padding-bottom: 4px; } `,M=p.Z.div` display: flex; justify-content: space-between; gap: 12px; flex-direction: column; `,B=p.Z.div` background-color: #{map-get($mbColors, 'dark')}; padding: 16px 0; position: relative; img { width: 89px; height: 32px; } .content { display: flex; align-items: center; justify-content: space-between; gap: 174px; margin: auto 68px; ${m.M.tdDown} { margin: auto 16px; } ${m.M.mbDown} { flex-direction: column-reverse; gap: 16px; align-items: flex-start; margin: auto 0; } } .verify { display: flex; align-items: flex-start; gap: 8px; } `,S=p.Z.div` padding: 40px 0; ${m.M.mbUp} { margin: auto 68px; } `,O=p.Z.div` display: flex; gap: 16px; .social-logo { width: 28px; } `,L=({logoType:e="marryBaby",footerMenu:t,background:a})=>{var o;if(!t)return null;const{general:m,menu:u,socials:p}=t;return n.createElement(w,{style:{backgroundColor:a||"none"}},n.createElement(i.C,null,n.createElement(k,null,null===u||void 0===u?void 0:u.map((({menu_title:e,items:t},a)=>n.createElement(_,{key:`mbf${a}`},n.createElement(v.M,{className:"title",type:"subtitle-1",color:h.r.mbColors.pink},e),null===t||void 0===t?void 0:t.map((({title:e,url:t},a)=>n.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},n.createElement(M,{key:`mbitem${a}`},n.createElement(v.M,{type:"bodytext-2",color:h.r.mbColors.gray},e)))))))))),n.createElement(i.C,null,n.createElement(S,null,n.createElement(l.k,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},n.createElement(c.K,{spacing:"24px",className:"info-item"},n.createElement(f.L,{className:"logo",type:e}),n.createElement(d.T,{size:"p4",as:"div"},n.createElement("div",{dangerouslySetInnerHTML:{__html:null===m||void 0===m?void 0:m.content}})),n.createElement(O,null,null===p||void 0===p?void 0:p.map((({icon:e,name:t,url:a},i)=>n.createElement("a",{key:`social${i}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},n.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),n.createElement(s.x,{className:"info-item",sx:{paddingTop:"7px"}},n.createElement(d.T,{size:"p4",as:"div"},n.createElement("div",{dangerouslySetInnerHTML:{__html:null===m||void 0===m?void 0:m.information}})))))),n.createElement(B,null,n.createElement(i.C,null,n.createElement("div",{className:"content"},n.createElement(d.T,{size:"p5",color:"#fff",as:"div"},n.createElement("div",{dangerouslySetInnerHTML:{__html:null===m||void 0===m?void 0:m.copyright.replace(/{currentYear}/gi,r()().get("year").toString())}})),n.createElement("div",{className:"verify"},null===(o=null===m||void 0===m?void 0:m.verified)||void 0===o?void 0:o.map((({image:e,url:t},a)=>n.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))},F=({locale:e,footerInfo:t,siteType:a,background:i})=>"helloSites"===a?n.createElement(C,{locale:e,footerInfo:t||{}}):n.createElement(L,{footerMenu:t,background:i})},61284:function(e,t,a){"use strict";a.d(t,{C:function(){return o}});var n=a(67294),i="d76E4SH";const o=({children:e,className:t,style:a,type:o})=>n.createElement("div",{className:`${i} ${t||""}`,style:a,"data-type":o},e)},24657:function(e,t,a){"use strict";a.d(t,{K:function(){return r}});var n=a(23759),i=a(67294),o=a(74844);a(93867);const r=e=>{var{children:t,isCollapsed:a=!1,template:r="homepage",refObject:l,height:c=56}=e,s=(0,n._)(e,["children","isCollapsed","template","refObject","height"]);return i.createElement(o.S,Object.assign({height:c,"data-is-collapsed":a,"data-template":r,ref:l},s),t)};r.Icon=o.M},3406:function(e,t,a){"use strict";a.d(t,{F:function(){return h}});var n=a(67294),i=a(40254),o=a(3814),r=a(11935),l=a(65002),c=a(82914),s=a(93867),d=a(26437),m=a(10917);const u=s.Z.div` background-color: white; text-align: center; .cancle-img { margin-top: 24px; ${d.M.mbDown} { width: 80px; height: 80px; } ${d.M.mbUp} { width: 100px; height: 100px; } } h2 { margin-top: 32px; color: ${m.r.colors.gray800}; font-style: normal; font-weight: bold; ${d.M.mbDown} { font-size: 24px; line-height: 32px; } ${d.M.mbUp} { font-size: 32px; line-height: 42px; } } p { margin-top: 8px; color: ${m.r.colors.gray600}; font-style: normal; font-weight: normal; ${d.M.mbDown} { font-size: 16px; line-height: 24px; } ${d.M.mbUp} { font-size: 16px; line-height: 24px; } } `,p=s.Z.div` display: flex; ${d.M.mbDown} { margin-top: 24px; } ${d.M.mbUp} { margin-top: 32px; } justify-content: space-around; button { flex: 1; margin: 4px; } ${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""} `,h=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:a,siteType:s="helloSites"})=>{const{t:d}=(0,l.u)();return(0,n.useEffect)((()=>{document.body.classList.toggle("noscroll",e)}),[e]),n.createElement(i.h,null,n.createElement(r.P,{type:"confirm",isOpen:e,closeIcon:n.createElement("img",{src:c.C.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},n.createElement(u,null,"helloSites"===s&&n.createElement("img",{src:c.C.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),n.createElement("h2",null,d("helloSites"===s?"logout.popup.ask1":"logout.popup.ask.mb")),n.createElement("p",null,d("logout.popup.ask2")),n.createElement(p,{siteType:s},n.createElement(o.B,{className:"logout-button",color:"tertiary",size:"lg",onClick:a},d("logout.popup.button.logout")),n.createElement(o.B,{className:"cancel-button",color:"primary",size:"lg",onClick:t},d("logout.popup.button.cancel"))))))}},90271:function(e,t,a){"use strict";a.d(t,{l:function(){return $}});var n=a(67294),i=a(94293),o=a(64340),r=a(82914),l=a(33551),c=a(65002),s=a(67242),d=a(93454),m=a(70917),u=a(93867),p=a(10917);a(94184),a(90411);const h=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M2.5 6.5a3.2 3.2 0 0 1 3.2-3.2h7.9a3.2 3.2 0 0 1 3.19 3.2v4.72a3.2 3.2 0 0 1-3.2 3.2H5.7a3.2 3.2 0 0 1-3.19-3.2V6.49Z",fill:"#E3F2FF"}),n.createElement("path",{d:"M2.5 5.68A2.38 2.38 0 0 1 4.88 3.3h9.52a2.38 2.38 0 0 1 2.39 2.38z",fill:"#2D87F3"}),n.createElement("path",{d:"M13.6 2.5h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65M5.27 4.86h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65Z",fill:"#2743AD"}),n.createElement("path",{d:"M5.56 8.17h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.87 0h-.49a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.49a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m-8.3 2.52h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4m2.7 0h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4m2.7 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Zm2.87 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Z",fill:"#2D87F3"}),n.createElement("path",{d:"M16 16.8a3.17 3.17 0 1 0 0-6.36 3.17 3.17 0 0 0 0 6.35Z",fill:"#FE921D"}),n.createElement("path",{d:"M15.78 13.62v-1.36a.21.21 0 0 1 .42 0v1.26l.48.4a.21.21 0 0 1-.01.33.21.21 0 0 1-.26-.01l-.55-.46-.02-.01a.2.2 0 0 1-.06-.15",fill:"#fff"})),g=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M7.06 4.97h-2.3a3.12 3.12 0 0 0-3.1 3.1v.43a3.12 3.12 0 0 0 3.1 3.1h1.39s1.47 1.11 1.5.97c.03-.22-.23-.99-.23-.99a3.13 3.13 0 0 0 2.72-3.09v-.41a3.12 3.12 0 0 0-3.08-3.11m-2.7 3.55a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46m1.35.4a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .65Zm1.57-.05",fill:"#2D87F3"}),n.createElement("path",{d:"M12.88 9.52a3.53 3.53 0 0 0-1.35 6.8s-.23 1.03-.2 1.25c.03.14 1.55-.99 1.55-.99a3.53 3.53 0 0 0 0-7.06m-1.33 4.24a.48.48 0 1 1 0-.97.48.48 0 0 1 0 .97m1.58.04a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .66m1.34-.39a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46",fill:"#FFB521"}),n.createElement("path",{d:"M16.45 1.67h-3.87a1.88 1.88 0 0 0-1.88 2.06l.22 2.29a1.88 1.88 0 0 0 1.73 1.7s-.17.94-.14 1.16c.02.14 1.66-1.13 1.66-1.13l1.92-.03a1.88 1.88 0 0 0 1.86-1.59l.36-2.29a1.88 1.88 0 0 0-1.86-2.17M13.1 5.23a.48.48 0 1 1 .34-.14c-.1.1-.22.14-.34.14m1.57.05a.33.33 0 1 1 .23-.1.33.33 0 0 1-.23.1m1.34-.4a.23.23 0 1 1 .1-.01.2.2 0 0 1-.1.02Z",fill:"#91CAFF"})),f=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("rect",{x:"8.333",y:"8.333",width:"3.333",height:"3.333",rx:"1.667",fill:"#2D87F3"})),v=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"m3.18 7.06 1.6 1.6 4.33-4.69a.72.72 0 0 0-.03-.99l-.22-.22a.72.72 0 0 0-.99-.02zm13.64 0-1.6 1.6-4.33-4.69a.72.72 0 0 1 .02-.99l.23-.22a.72.72 0 0 1 .99-.02z",fill:"#2743AD"}),n.createElement("path",{d:"M15.04 16.7H4.9a.78.78 0 0 1-.77-.7l-.7-6.67h13.09l-.7 6.67a.78.78 0 0 1-.78.7",fill:"#2D87F3"}),n.createElement("path",{d:"M6.23 15.7a.23.23 0 0 1-.23-.22l-.3-4.46a.23.23 0 1 1 .47-.04l.3 4.47a.23.23 0 0 1-.22.25zm2.39 0a.23.23 0 0 1-.23-.23L8.3 11a.23.23 0 1 1 .47 0l.07 4.46a.23.23 0 0 1-.22.24h-.01Zm5.15 0h-.02a.23.23 0 0 1-.2-.16.2.2 0 0 1-.02-.09l.3-4.47a.24.24 0 0 1 .25-.22.23.23 0 0 1 .22.26l-.3 4.46a.23.23 0 0 1-.23.22m-2.39 0a.23.23 0 0 1-.23-.23l.07-4.47a.24.24 0 0 1 .24-.23.23.23 0 0 1 .23.23l-.08 4.47a.23.23 0 0 1-.23.23",fill:"#2743AD"}),n.createElement("path",{d:"M16.04 18.12a2.01 2.01 0 1 0 0-4.03 2.01 2.01 0 0 0 0 4.03",fill:"#FE921D"}),n.createElement("path",{d:"M16.97 15.87h-.7v-.7a.23.23 0 0 0-.46 0v.7h-.7a.23.23 0 1 0 0 .47h.7v.69a.23.23 0 1 0 .47 0v-.7h.69a.23.23 0 1 0 0-.46",fill:"#fff"}),n.createElement("path",{d:"M16.58 9.48H3.42a.8.8 0 0 1-.78-.7l-.13-1.1a.8.8 0 0 1 .78-.88h13.42a.8.8 0 0 1 .78.88l-.13 1.1a.8.8 0 0 1-.78.7",fill:"#BCDEFF"})),y=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M10 1.667c-4.595 0-8.333 3.738-8.333 8.333 0 4.595 3.738 8.333 8.333 8.333 4.595 0 8.333-3.738 8.333-8.333 0-4.595-3.738-8.333-8.333-8.333Zm0 13.194a.695.695 0 1 1 0-1.39.695.695 0 0 1 0 1.39Zm1.1-4.415a.698.698 0 0 0-.405.631v.312a.694.694 0 1 1-1.39 0v-.312c0-.81.477-1.553 1.213-1.893.707-.326 1.218-1.19 1.218-1.615 0-.956-.778-1.736-1.736-1.736s-1.736.78-1.736 1.736a.694.694 0 1 1-1.389 0A3.129 3.129 0 0 1 10 4.444a3.129 3.129 0 0 1 3.125 3.125c0 .939-.814 2.318-2.026 2.877Z",fill:"#FF6F4D"})),b=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M11.116 1.72 5.488.85a1.898 1.898 0 0 0-2.155 1.856v14.588a1.898 1.898 0 0 0 2.158 1.855l5.625-.869a1.865 1.865 0 0 0 1.592-1.855V3.575a1.87 1.87 0 0 0-1.592-1.855",fill:"#2D87F3"}),n.createElement("path",{d:"M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471",fill:"#FF6F4D"}),n.createElement("path",{d:"M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471m-7.603-.908v1.802c0 .124.1.225.224.225h1.257c.124 0 .225-.1.225-.225V8.676c0-.124-.1-.224-.225-.224h-1.257c-.124 0-.224.1-.224.224m-.673 1.809a.224.224 0 0 1-.225.225h-.407a.61.61 0 0 1-.609-.61V9.069a.61.61 0 0 1 .61-.61h.406a.224.224 0 0 1 .225.225z",fill:"#FF6F4D"})),E=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M6.114 3.333a4.64 4.64 0 0 1 3.565 1.708.412.412 0 0 0 .642 0 4.64 4.64 0 0 1 3.565-1.708c2.646 0 4.447 2.302 4.447 5.142 0 1.698-.904 4.446-2.675 6.102-2.522 2.358-4.665 2.965-5.392 3.11a1.3 1.3 0 0 1-.53 0c-.728-.146-2.871-.752-5.393-3.11-1.772-1.656-2.676-4.404-2.676-6.102 0-2.84 1.801-5.142 4.447-5.142",fill:"#FF6F4D"}),n.createElement("path",{d:"M13.298 11.226v-.829a1.205 1.205 0 0 0-1.202-1.204h-.208a.26.26 0 0 1-.261-.259v-.208a1.205 1.205 0 0 0-1.201-1.204h-.832A1.205 1.205 0 0 0 8.39 8.726v.205a.26.26 0 0 1-.259.261h-.207a1.2 1.2 0 0 0-1.202 1.202v.834a1.204 1.204 0 0 0 1.202 1.201h.207a.26.26 0 0 1 .259.262v.205A1.205 1.205 0 0 0 9.594 14.1h.832a1.204 1.204 0 0 0 1.201-1.204v-.208a.26.26 0 0 1 .261-.258h.208a1.205 1.205 0 0 0 1.202-1.204",fill:"#fff"})),x=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M4.767 17.236a1.36 1.36 0 0 0 1.256.188l4.097-1.397a.37.37 0 0 1 .28 0l4.097 1.397q.22.071.45.075c.29.002.573-.09.807-.263a1.43 1.43 0 0 0 .6-1.171V3.935A1.417 1.417 0 0 0 14.946 2.5H5.573a1.416 1.416 0 0 0-1.406 1.434v12.13a1.43 1.43 0 0 0 .6 1.172",fill:"#00CB8A"})),C=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M17.339 8.075a2.177 2.177 0 0 1-1.717-2.944 1.02 1.02 0 0 0-.305-1.15 8.2 8.2 0 0 0-2.445-1.417 1.03 1.03 0 0 0-1.16.323 2.173 2.173 0 0 1-3.423 0 1.03 1.03 0 0 0-1.161-.323A8.2 8.2 0 0 0 4.85 3.842a1.03 1.03 0 0 0-.322 1.183 2.167 2.167 0 0 1-1.806 2.978 1.03 1.03 0 0 0-.9.828 8 8 0 0 0-.05 2.861 1.03 1.03 0 0 0 .906.861 2.166 2.166 0 0 1 1.767 3.061 1.01 1.01 0 0 0 .283 1.211A8.2 8.2 0 0 0 7.15 18.22q.17.059.35.061a1.02 1.02 0 0 0 .833-.433 2.15 2.15 0 0 1 1.778-.934 2.18 2.18 0 0 1 1.745.878 1.02 1.02 0 0 0 1.2.339 8.3 8.3 0 0 0 2.222-1.328 1.03 1.03 0 0 0 .3-1.172 2.167 2.167 0 0 1 1.739-2.995 1.03 1.03 0 0 0 .872-.844 8 8 0 0 0 .144-1.405q0-.749-.138-1.484a1.02 1.02 0 0 0-.856-.828m-4.561 2.312a2.778 2.778 0 1 1-5.556 0 2.778 2.778 0 0 1 5.556 0",fill:"#2D87F3"})),w=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),n.createElement("path",{d:"M10 19.167A9.167 9.167 0 1 0 10 .833a9.167 9.167 0 0 0 0 18.334",fill:"#BCDEFF"}),n.createElement("path",{d:"M17.356 15.463a9.188 9.188 0 0 0-14.716-.005 9.155 9.155 0 0 0 14.716.005",fill:"#2D87F3"}),n.createElement("path",{d:"M10 10.591a3.548 3.548 0 1 0 0-7.096 3.548 3.548 0 0 0 0 7.096",fill:"#2D87F3"})),k=e=>n.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M1.11848 19.1667C1.19427 19.1666 1.26693 19.1365 1.32049 19.0829L4.30733 16.0962C4.36096 16.0426 4.3911 15.9699 4.39111 15.8941C4.39113 15.8183 4.36103 15.7455 4.30743 15.6919C4.25383 15.6383 4.18112 15.6081 4.1053 15.6081C4.02948 15.6081 3.95675 15.6382 3.90313 15.6918L0.916285 18.6787C0.876281 18.7186 0.849035 18.7696 0.837994 18.825C0.826954 18.8805 0.832614 18.938 0.854261 18.9903C0.875908 19.0425 0.912567 19.0872 0.9596 19.1186C1.00663 19.15 1.06193 19.1667 1.11848 19.1667Z",fill:"#626D7C"}),n.createElement("path",{d:"M7.71853 15.4925H7.72043L15.3384 7.87534L12.1272 4.66228L4.45021 12.3366C5.39488 13.2971 7.71853 15.4925 7.71853 15.4925Z",fill:"#2D87F3"}),n.createElement("path",{d:"M3.18097 14.9702L5.02953 16.8187C5.19838 16.9989 5.43172 17.1049 5.67851 17.1135C5.9253 17.122 6.16544 17.0325 6.34638 16.8645L7.71851 15.4923L4.50736 12.2793L3.13524 13.6514C2.96661 13.8324 2.87671 14.073 2.88529 14.3203C2.89386 14.5675 3.00021 14.8013 3.18097 14.9702Z",fill:"#BCDEFF"}),n.createElement("path",{d:"M17.7683 3.58334L16.4183 2.2333L13.5601 5.09143L14.9102 6.44147L17.7683 3.58334Z",fill:"#2B62CD"}),n.createElement("path",{d:"M7.71889 15.7783C7.77545 15.7783 7.83074 15.7616 7.87778 15.7301C7.92481 15.6987 7.96147 15.6541 7.98312 15.6018C8.00476 15.5496 8.01042 15.4921 7.99938 15.4366C7.98834 15.3811 7.9611 15.3302 7.92109 15.2902L4.70861 12.0779C4.65452 12.0268 4.58261 11.9988 4.50818 11.9998C4.43375 12.0009 4.36267 12.0309 4.31005 12.0836C4.25742 12.1362 4.22741 12.2073 4.22639 12.2817C4.22538 12.3562 4.25343 12.4281 4.3046 12.4821L7.51689 15.6944C7.54337 15.721 7.57485 15.7421 7.60952 15.7565C7.64419 15.7709 7.68136 15.7783 7.71889 15.7783Z",fill:"#BCDEFF"}),n.createElement("path",{d:"M9.48781 11.3095C9.54746 11.3096 9.60653 11.2978 9.66161 11.2749C9.71669 11.252 9.76669 11.2184 9.80874 11.1761L9.83847 11.1462L9.86819 11.1758C9.95336 11.2609 10.0689 11.3088 10.1893 11.3088C10.3098 11.3088 10.4253 11.2609 10.5104 11.1758L10.8535 10.8327C10.8957 10.7905 10.9291 10.7404 10.952 10.6853C10.9748 10.6302 10.9866 10.5711 10.9866 10.5114C10.9866 10.4517 10.9748 10.3926 10.952 10.3375C10.9291 10.2824 10.8957 10.2323 10.8535 10.1901L10.8232 10.1625L10.8531 10.1326C10.9382 10.0474 10.9861 9.93182 10.9861 9.81135C10.9861 9.69087 10.9382 9.57533 10.8531 9.49014L10.51 9.14711C10.4679 9.10487 10.4179 9.07136 10.3628 9.0485C10.3077 9.02563 10.2486 9.01386 10.1889 9.01386C10.1293 9.01386 10.0702 9.02563 10.0151 9.0485C9.96 9.07136 9.90995 9.10487 9.86781 9.14711L9.83808 9.17664L9.80836 9.14692C9.72313 9.06179 9.6076 9.01397 9.48715 9.01397C9.36669 9.01397 9.25116 9.06179 9.16594 9.14692L8.8229 9.48995C8.73774 9.57511 8.6899 9.69062 8.6899 9.81106C8.6899 9.9315 8.73774 10.047 8.8229 10.1322L8.85282 10.1621L8.82329 10.1918C8.73826 10.2771 8.69052 10.3925 8.69052 10.5129C8.69052 10.6333 8.73826 10.7488 8.82329 10.8341L9.16632 11.1771C9.2085 11.2193 9.25863 11.2528 9.31381 11.2755C9.36899 11.2982 9.42813 11.3098 9.48781 11.3095Z",fill:"white"}),n.createElement("path",{d:"M12.6184 3.4438L16.5573 7.38277C16.8001 7.6255 16.8001 8.01905 16.5573 8.26178C16.3146 8.50451 15.921 8.50451 15.6783 8.26178L11.7393 4.32281C11.4966 4.08008 11.4966 3.68653 11.7393 3.4438C11.9821 3.20107 12.3756 3.20107 12.6184 3.4438Z",fill:"#BCDEFF"}),n.createElement("path",{d:"M16.4563 1.22324L18.7767 3.54364C18.9921 3.75907 18.9921 4.10834 18.7767 4.32376C18.5613 4.53918 18.212 4.53918 17.9966 4.32376L15.6762 2.00336C15.4608 1.78793 15.4608 1.43866 15.6762 1.22324C15.8916 1.00782 16.2409 1.00782 16.4563 1.22324Z",fill:"#BCDEFF"})),_=u.Z.div` padding: 16px; border-radius: 16px; background-color: white; hr { border-color: ${p.r.colors.neutral100}; border-bottom-width: 0px; border-style: solid; } .profile-nav-item-group { background-color: white; border-radius: 8px; } `,M=u.Z.div` display: block; border: 1px solid transparent; transition: all 300ms linear; cursor: pointer; position: relative; ${e=>e.hasSubmenu&&m.iv` cursor: pointer; `} &[data-is-open='true'] { & + div { margin-top: 8px; } } border-left-width: 0; border-right-width: 0; &[data-is-open='true'] { & + div { margin-top: 0; } .nav-menu-item:last-child { border-bottom-color: ${p.r.colors.neutral100}; } } .nav-menu-item { background-color: ${p.r.colors.neutral50}; } .nav-menu-item { padding-left: 38px; } `,B=u.Z.div` display: flex; align-items: center; height: 48px; border: 1px solid transparent; transition: all 300ms; border-radius: 8px; &:hover { background-color: ${p.r.colors.neutral150}; } &[data-active='true'] { background-color: ${p.r.colors.blue50}; } `,S=u.Z.div` margin-left: auto; svg { fill: ${p.r.colors.gray600}; transition: transform 300ms; } &[data-is-open='true'] svg { transform: rotate(180deg); } `,O=u.Z.div` overflow: hidden; max-height: 0; transition: max-height 0.3s ease-out; [data-is-open='true'] & { max-height: 500px; transition-timing-function: ease-in; } `,L={helloSites:{member:()=>r.C.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>r.C.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>r.C.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>r.C.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>r.C.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>r.C.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>r.C.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>r.C.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>r.C.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>r.C.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},F=({rank:e,siteType:t="helloSites"})=>{const a=(0,n.useMemo)((()=>{var a,n;return(null===(n=null===(a=L[t])||void 0===a?void 0:a[e])||void 0===n?void 0:n.call(a))||""}),[e,t]),{t:i}=(0,c.u)();return n.createElement("div",{style:{display:"inline-flex",height:"fit-content",alignItems:"center",padding:"5px 12px",gap:"4px",borderRadius:16,border:`1px solid ${"helloSites"===t?p.r.colors.blue100:p.r.colors.mb100}`}},n.createElement("img",{src:a,alt:e,style:{height:16,width:16}}),n.createElement(l.T,{size:"s5",color:"gray.8",weight:"semiBold"},i(`userProfile.userRank.${e}`)))},N=({siteType:e="helloSites",userInfo:t})=>(null===t||void 0===t?void 0:t.id)?n.createElement(n.Fragment,null,n.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"space-between"}},n.createElement(o.A,{src:t.avatar,alt:t.name,size:48,style:{marginBottom:8}}),n.createElement(F,{rank:"member",siteType:e})),n.createElement(l.T,{size:"s3",weight:"semiBold",color:"gray.8",style:{marginBottom:4}},t.name),n.createElement(l.T,{size:"n1",weight:"regular",color:"helloSites"===e?"hb.6":"mb.6"},"@",t.username),n.createElement("hr",null)):null,$=({className:e,activeItem:t,navMenuItems:a,style:o,onLogout:r,siteType:l="helloSites",userInfo:s,onNavigate:m,configs:u={}})=>{const{enableProfileFindMyBooking:p=!1}=u,{locale:M}=(0,c.u)(),[B,S]=(0,n.useState)(),O="string"===typeof t?t:B,L=(0,d.n)((0,d.a)(M,"marryBaby"===l)+"/"),F=(0,d.n)((0,d.g)(M,"marryBaby"===l)+"/"),$=a||[[{key:"userProfile.nav.header.viewProfile",icon:n.createElement(w,{width:"24",height:"24"}),value:"profile",tracking:{action:"Profile Click"},link:`${L}user/profile/`},{key:"userProfile.nav.card.myHealth",icon:n.createElement(E,{width:"24",height:"24"}),value:"myHealth",tracking:{action:"My Health Click"},link:`${L}user/health/`},{key:"userProfile.nav.card.mySaved",icon:n.createElement(x,{width:"24",height:"24"}),iconColor:"green_300",value:"saved",tracking:{action:"Bookmarks Click"},link:`${L}user/saved/`},!!p&&{key:"navigation.find_my_booking",icon:n.createElement(k,{width:"24",height:"24"}),value:"find_my_booking",tracking:{action:"Find My Booking"},link:`${F}care/find-my-booking`},{key:"userProfile.nav.card.myBooking",icon:n.createElement(h,{width:"24",height:"24"}),value:"booking",disabled:!i.C.includes(M),tracking:{action:"Manage Booking Click"},link:`${L}user/booking/`},{key:"userProfile.nav.card.myCommunity",icon:n.createElement(g,{width:"24",height:"24"}),value:"myCommunities",disabled:!i.c.includes(M),tracking:{action:"Community Click"},link:`${L}user/my-communities/`}],...i.E.includes(M)?[[{key:"userProfile.nav.card.eCom",icon:n.createElement(v,{width:"24",height:"24"}),value:"eCom",disabled:!i.E.includes(M),subMenu:[{key:"userProfile.nav.card.ecom.manageOrders",value:"eCom-manageOrders",icon:n.createElement(f,{width:"24",height:"24"}),link:`${F}shop/ho-so/quan-li-don-hang/`,tracking:{action:"Order Management Click"}},{key:"userProfile.nav.card.ecom.DeliveryAddress",value:"eCom-manageAddress",icon:n.createElement(f,{width:"24",height:"24"}),link:`${F}shop/ho-so/dia-chi-giao-hang/`,tracking:{action:"Address Management Click"}},{key:"userProfile.nav.card.ecom.voucher",value:"eCom-voucher",icon:n.createElement(f,{width:"24",height:"24"}),link:`${F}shop/ho-so/khuyen-mai/`,tracking:{action:"Voucher Click"}}]}]]:[],[{key:"userProfile.nav.menu.accountSettings",icon:n.createElement(C,{width:"24",height:"24"}),subMenu:[{key:"userProfile.nav.menu.password",value:"password",icon:n.createElement(f,{width:"24",height:"24"}),tracking:{action:"Set Password Click"},link:`${L}user/password/`},{key:"userProfile.nav.menu.disableAccount",value:"disable-account",icon:n.createElement(f,{width:"24",height:"24"}),tracking:{action:"Disable Account Click"},link:`${L}user/disable-account/`},...i.D.includes(M)?[{key:"userProfile.nav.menu.dataPrivacy",value:"data-privacy",icon:n.createElement(f,{width:"24",height:"24"}),tracking:{action:"Data Privacy Click"},link:`${L}user/data-privacy/`}]:[]]}],[{key:"userProfile.nav.menu.help",icon:n.createElement(y,{width:"24",height:"24"}),value:"help",link:`${L}user/help`,tracking:{action:"Support Click"}},{key:"userProfile.nav.menu.logout",icon:n.createElement(b,{width:"24",height:"24"}),value:"logout",tracking:{action:"Sign Out Click"}}]];return n.createElement(_,{className:e,style:o},n.createElement(N,{userInfo:s,siteType:l}),$.map(((e,t)=>n.createElement(n.Fragment,{key:t},n.createElement("div",{className:"profile-nav-item-group",key:t},e.map((e=>e?n.createElement(D,{key:e.key,item:e,activeKey:O||"",onLogout:r,onClick:()=>S((t=>t===e.key?void 0:e.key)),siteType:l,onNavigate:m}):null))),t!==$.length-1&&n.createElement("hr",null)))))},D=({item:e,activeKey:t,forceOpen:a,onLogout:i,onClick:o,siteType:r="helloSites",onNavigate:d})=>{var m,u;const[p,h]=(0,n.useState)(!1),g=(0,n.useMemo)((()=>"undefined"!==typeof window?window.location.href:""),[]);if(e.disabled)return null;const{t:f}=(0,c.u)(),v=null===(m=e.subMenu)||void 0===m?void 0:m.some((e=>e.key===t)),y=t===e.key;(0,n.useEffect)((()=>{(v||y)&&h(!0)}),[v,y]);const b="boolean"===typeof a?a:p;return n.createElement(M,{as:e.subMenu?void 0:"a","data-is-open":b,key:e.key,hasSubmenu:!!e.subMenu,onClick:()=>{null===o||void 0===o||o(),e.subMenu&&!a?h((e=>!e)):"logout"===e.value?null===i||void 0===i||i():e.link&&(d?d(e.link):window.location.href=e.link)},"data-event-category":"Ecommerce","data-event-action":(null===(u=null===e||void 0===e?void 0:e.tracking)||void 0===u?void 0:u.action)||"","data-event-label":g},n.createElement(B,{"data-active":y},e.icon,n.createElement(l.T,{size:"p3",style:{marginLeft:e.icon?24:48,transition:"color 300ms"},color:y?"helloSites"===r?"hb.6":"mb.6":"gray.8"},f(e.key)),e.subMenu&&n.createElement(S,{"data-is-open":b},n.createElement(s.C,{width:14}))),e.subMenu&&n.createElement(O,null,e.subMenu.map((e=>n.createElement(D,{key:e.key,item:e,activeKey:t,onLogout:i,siteType:r})))))}},36611:function(e,t,a){"use strict";a.d(t,{a:function(){return d},u:function(){return s}});var n=a(67294),i=a(27986);function o(e,t){let a;try{a=e()}catch(n){return}return{getItem:e=>{var n;const i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),o=null!=(n=a.getItem(e))?n:null;return o instanceof Promise?o.then(i):i(o)},setItem:(e,n)=>a.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>a.removeItem(e)}}const r=e=>t=>{try{const a=e(t);return a instanceof Promise?a:{then:e=>r(e)(a),catch(e){return this}}}catch(a){return{then(e){return this},catch:e=>r(e)(a)}}},l=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),((e,t)=>(a,n,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1;const c=new Set,s=new Set;let d;try{d=o.getStorage()}catch(v){}if(!d)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),a(...e)}),n,i);const m=r(o.serialize),u=()=>{const e=o.partialize({...n()});let t;const a=m({state:e,version:o.version}).then((e=>d.setItem(o.name,e))).catch((e=>{t=e}));if(t)throw t;return a},p=i.setState;i.setState=(e,t)=>{p(e,t),u()};const h=e(((...e)=>{a(...e),u()}),n,i);let g;const f=()=>{var e;if(!d)return;l=!1,c.forEach((e=>e(n())));const t=(null==(e=o.onRehydrateStorage)?void 0:e.call(o,n()))||void 0;return r(d.getItem.bind(d))(o.name).then((e=>{if(e)return o.deserialize(e)})).then((e=>{if(e){if("number"!==typeof e.version||e.version===o.version)return e.state;if(o.migrate)return o.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return g=o.merge(e,null!=(t=n())?t:h),a(g,!0),u()})).then((()=>{null==t||t(g,void 0),l=!0,s.forEach((e=>e(g)))})).catch((e=>{null==t||t(void 0,e)}))};return i.persist={setOptions:e=>{o={...o,...e},e.getStorage&&(d=e.getStorage())},clearStorage:()=>{null==d||d.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>f(),hasHydrated:()=>l,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(s.add(e),()=>{s.delete(e)})},f(),g||h})(e,t)):((e,t)=>(a,n,i)=>{let l={storage:o((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},c=!1;const s=new Set,d=new Set;let m=l.storage;if(!m)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),a(...e)}),n,i);const u=()=>{const e=l.partialize({...n()});return m.setItem(l.name,{state:e,version:l.version})},p=i.setState;i.setState=(e,t)=>{p(e,t),u()};const h=e(((...e)=>{a(...e),u()}),n,i);let g;i.getInitialState=()=>h;const f=()=>{var e,t;if(!m)return;c=!1,s.forEach((e=>{var t;return e(null!=(t=n())?t:h)}));const i=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=n())?e:h))||void 0;return r(m.getItem.bind(m))(l.name).then((e=>{if(e){if("number"!==typeof e.version||e.version===l.version)return[!1,e.state];if(l.migrate)return[!0,l.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]})).then((e=>{var t;const[i,o]=e;if(g=l.merge(o,null!=(t=n())?t:h),a(g,!0),i)return u()})).then((()=>{null==i||i(g,void 0),g=n(),c=!0,d.forEach((e=>e(g)))})).catch((e=>{null==i||i(void 0,e)}))};return i.persist={setOptions:e=>{l={...l,...e},e.storage&&(m=e.storage)},clearStorage:()=>{null==m||m.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>f(),hasHydrated:()=>c,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},l.skipHydration||f(),g||h})(e,t);var c=a(94293);const s=()=>{const[e,t]=(0,n.useState)(!0);return(0,n.useEffect)((()=>{t(!1)}),[]),e},d=(0,i.Ue)()(l(((e,t)=>({href:null,setHref:t=>{e({href:t})},getHref:()=>{var e;return null!==(e=t().href)&&void 0!==e?e:null},resetHref:()=>{e({href:null})}})),{name:c.h,storage:o((()=>localStorage))}))},45717:function(e,t,a){"use strict";a.d(t,{a:function(){return h},b:function(){return E},c:function(){return g},d:function(){return f},e:function(){return d},f:function(){return s},g:function(){return p},h:function(){return y},i:function(){return v},j:function(){return m},k:function(){return u},r:function(){return b}});var n=a(19513),i=a(50016),o=a(47856),r=a.n(o),l=a(91738),c=a(78577);const s=e=>{var t,a,n,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>s(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(n=e.reviewed_by,{postTitle:n.post_title,permalink:n.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},d=e=>{var t,a;if(!e)return{};const n=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),i=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),o=e.link?e.link.startsWith("http")||n?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:o,subtitle:e.subtitle,title:e.title,isMobileAppTool:!!(null===e||void 0===e?void 0:e.is_mobile_app_tool)}},m=e=>{var t,a,n,i,o;return e&&(null===e||void 0===e?void 0:e.object_id)?{thumbnail:(null===(t=null===e||void 0===e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null===e||void 0===e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(n=e.object_id)||void 0===n?void 0:n.name)||"",name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",slug:(null===(o=e.object_id)||void 0===o?void 0:o.slug)||""}:{}},u=e=>{var t,a,n,i,o;return e&&(null===e||void 0===e?void 0:e.object_id)?{id:null===(t=e.object_id)||void 0===t?void 0:t.id,name:(null===(a=e.object_id)||void 0===a?void 0:a.name)||"",logo:(null===(n=null===e||void 0===e?void 0:e.object_id)||void 0===n?void 0:n.logo)||"",description:(null===(i=e.object_id)||void 0===i?void 0:i.description)||"",slug:(null===(o=e.object_id)||void 0===o?void 0:o.slug)||""}:{}},p=(e,t,a,n)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+r()(l.T.GET_USER_POSTS,Object.assign(Object.assign({},n),{websiteUrl:t?"https://marrybaby.vn":`https://${c.v[e]}`})),h=({type:e,specialtySlug:t,locale:a})=>{var i,o;return`${null===(i=n.L[a])||void 0===i?void 0:i.ALL}/${(null===(o=n.L[a])||void 0===o?void 0:o[e])||"doctor"}/${null!==t&&void 0!==t?t:""}`},g=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null===e||void 0===e?void 0:e.small_banner)||(null===e||void 0===e?void 0:e.image)||"",imageMedium:(null===e||void 0===e?void 0:e.image_medium)||null,imageThumbnail:(null===e||void 0===e?void 0:e.image_thumbnail)||null,startDate:null===e||void 0===e?void 0:e.start_date,endDate:null===e||void 0===e?void 0:e.end_date,buttonDisplay:e.button_display||null}:{},f=e=>{const t=new Date;if(null===e||void 0===e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()a.getTime())return!1}return!0},v=e=>"undefined"!==typeof e&&e?{id:e.ID||"",videoId:e.video_id||"",url:e.video_url||"",title:e.video_title||"",type:e.type||i.V.VIDEO,totalView:e.total_view||0,description:e.description||"",createTime:e.create_time||"",duration:e.duration||0,image:e.image||"",imageMedium:e.image_medium||"",imageThumbnail:e.image_thumbnail||"",active:!1,articleLink:e.article_link||""}:null;function y(e,t=!1){let a=!1,n=e.slice(e.startsWith("#")?1:0);3===n.length?n=[...n].map((e=>e+e)).join(""):8===n.length&&(a=!0),n=parseInt(n,16);const i={r:n>>>(a?24:16),g:(n&(a?16711680:65280))>>>(a?16:8),b:(n&(a?65280:255))>>>(a?8:0)};return t?i:"rgb"+(a?"a":"")+"("+i.r+", "+i.g+", "+i.b+(a?", "+(255&n):"")+")"}function b(e,t,a){e/=255,t/=255,a/=255;const n=Math.max(e,t,a),i=n-Math.min(e,t,a),o=0===i?0:i&&n===e?(t-a)/i:n===t?2+(a-e)/i:4+(e-t)/i;return[60*(o<0?o+6:o),n&&i/n*100,100*n]}function E(e,t,a){t/=100,a/=100;const n=t=>(t+e/60)%6,i=e=>a*(1-t*Math.max(0,Math.min(n(e),4-n(e),1)));return[255*i(5),255*i(3),255*i(1)]}},83952:function(e,t,a){"use strict";var n=a(67294),i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i{var{size:t=15,width:a=16,height:o=15}=e,r=i(e,["size","width","height"]);return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:a||t,height:o||t,viewBox:"0 0 16 15"},r),n.createElement("g",{filter:"url(#filter0_dd_1935_42974)"},n.createElement("g",{filter:"url(#filter1_iii_1935_42974)"},n.createElement("path",{d:"M7.12068 2.00468C7.12068 1.91737 7.11455 1.82393 7.10842 1.73432C7.08622 1.12362 6.48538 0.663415 5.89984 0.688873C5.20975 0.729335 5.0613 1.69561 5.6517 1.98553C5.7413 2.03302 5.76658 2.07438 5.75739 2.15786C5.75739 3.76885 5.75739 5.6094 5.75739 7.20585C5.76122 7.26942 5.7413 7.30159 5.68003 7.32763C5.0491 7.60239 5.20568 8.60421 5.91286 8.63195C6.49619 8.66111 7.07338 8.1784 7.10842 7.58803C7.11532 7.49689 7.12068 7.40805 7.12068 7.31614C7.12068 5.54578 7.13438 3.775 7.12068 2.00468Z",fill:"white"}),n.createElement("path",{d:"M4.02804 7.34455C3.91928 7.29707 3.88405 7.23656 3.89554 7.11248V2.11657C3.90499 2.00317 3.99905 2.00853 4.07246 1.9519C4.61592 1.59515 4.3849 0.702926 3.72627 0.688181H3.7033C3.04437 0.688181 2.53148 1.23412 2.53148 1.88221C2.53148 3.27445 2.52998 4.66669 2.53455 6.05892C2.53608 6.52473 2.53761 6.98979 2.53761 7.45484C2.53761 8.07413 3.06525 8.62972 3.68875 8.62972C4.3681 8.62972 4.67694 7.65171 4.02804 7.34455Z",fill:"white"}),n.createElement("path",{d:"M11.3271 5.85629C11.3271 6.20061 11.048 6.47973 10.7037 6.47973C10.3594 6.47973 10.0803 6.20061 10.0803 5.85629C10.0803 5.51198 10.3594 5.23286 10.7037 5.23286C11.048 5.23286 11.3271 5.51198 11.3271 5.85629Z",fill:"white"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.92657 5.82117C7.92657 7.15854 8.85234 8.281 10.0886 8.56396C10.0001 10.1471 8.04007 10.2211 6.86951 10.0342C6.59915 9.98982 6.35789 9.914 6.15264 9.80907C5.87002 9.66279 5.66323 9.43302 5.53916 9.12819C5.48193 8.98672 5.44596 8.83614 5.38138 8.69776C5.26573 8.4274 4.98159 8.28188 4.70663 8.35158C4.42172 8.42204 4.23178 8.67019 4.2448 8.9551C4.26217 9.37 4.43712 9.78198 4.68442 10.1108C4.94559 10.4647 5.29177 10.7358 5.74288 10.938C6.37935 11.2276 7.07939 11.3125 7.7725 11.3125C8.54709 11.3125 9.36425 11.1805 10.0395 10.7825C10.6826 10.4023 11.2904 9.90524 11.3028 8.56586C12.5432 8.28605 13.4732 7.16155 13.4732 5.82117C13.4732 4.27101 12.2294 3.00959 10.6999 3.00959C9.17038 3.00959 7.92657 4.27101 7.92657 5.82117ZM12.2018 5.82117C12.2018 6.66212 11.5278 7.34607 10.6999 7.34607C9.87117 7.34607 9.19795 6.66212 9.19795 5.82117C9.19795 4.98022 9.87194 4.29628 10.6999 4.29628C11.5286 4.29705 12.2018 4.98099 12.2018 5.82117Z",fill:"white"})),n.createElement("mask",{id:"mask0_1935_42974",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"12",height:"12"},n.createElement("path",{d:"M7.12068 2.00468C7.12068 1.91737 7.11455 1.82393 7.10842 1.73432C7.08622 1.12362 6.48538 0.663415 5.89984 0.688873C5.20975 0.729335 5.0613 1.69561 5.6517 1.98553C5.7413 2.03302 5.76658 2.07438 5.75739 2.15786C5.75739 3.76885 5.75739 5.6094 5.75739 7.20585C5.76122 7.26942 5.7413 7.30159 5.68003 7.32763C5.0491 7.60239 5.20568 8.60421 5.91286 8.63195C6.49619 8.66111 7.07338 8.1784 7.10842 7.58803C7.11532 7.49689 7.12068 7.40805 7.12068 7.31614C7.12068 5.54578 7.13438 3.775 7.12068 2.00468Z",fill:"white"}),n.createElement("path",{d:"M4.02804 7.34455C3.91928 7.29707 3.88405 7.23656 3.89554 7.11248V2.11657C3.90499 2.00317 3.99905 2.00853 4.07246 1.9519C4.61592 1.59515 4.3849 0.702926 3.72627 0.688181H3.7033C3.04437 0.688181 2.53148 1.23412 2.53148 1.88221C2.53148 3.27445 2.52998 4.66669 2.53455 6.05892C2.53608 6.52473 2.53761 6.98979 2.53761 7.45484C2.53761 8.07413 3.06525 8.62972 3.68875 8.62972C4.3681 8.62972 4.67694 7.65171 4.02804 7.34455Z",fill:"white"}),n.createElement("path",{d:"M11.3271 5.85629C11.3271 6.20061 11.048 6.47973 10.7037 6.47973C10.3594 6.47973 10.0803 6.20061 10.0803 5.85629C10.0803 5.51198 10.3594 5.23286 10.7037 5.23286C11.048 5.23286 11.3271 5.51198 11.3271 5.85629Z",fill:"white"}),n.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.92657 5.82117C7.92657 7.15854 8.85234 8.281 10.0886 8.56396C10.0001 10.1471 8.04007 10.2211 6.86951 10.0342C6.59915 9.98982 6.35789 9.914 6.15264 9.80907C5.87002 9.66279 5.66323 9.43302 5.53916 9.12819C5.48193 8.98672 5.44596 8.83614 5.38138 8.69776C5.26573 8.4274 4.98159 8.28188 4.70663 8.35158C4.42172 8.42204 4.23178 8.67019 4.2448 8.9551C4.26217 9.37 4.43712 9.78198 4.68442 10.1108C4.94559 10.4647 5.29177 10.7358 5.74288 10.938C6.37935 11.2276 7.07939 11.3125 7.7725 11.3125C8.54709 11.3125 9.36425 11.1805 10.0395 10.7825C10.6826 10.4023 11.2904 9.90524 11.3028 8.56586C12.5432 8.28605 13.4732 7.16155 13.4732 5.82117C13.4732 4.27101 12.2294 3.00959 10.6999 3.00959C9.17038 3.00959 7.92657 4.27101 7.92657 5.82117ZM12.2018 5.82117C12.2018 6.66212 11.5278 7.34607 10.6999 7.34607C9.87117 7.34607 9.19795 6.66212 9.19795 5.82117C9.19795 4.98022 9.87194 4.29628 10.6999 4.29628C11.5286 4.29705 12.2018 4.98099 12.2018 5.82117Z",fill:"white"})),n.createElement("g",{mask:"url(#mask0_1935_42974)"},n.createElement("g",{filter:"url(#filter2_f_1935_42974)"},n.createElement("path",{d:"M3.61232 8.43666C3.72105 8.61198 4.17739 9.16729 4.06051 9.23977C3.94363 9.31226 3.42138 9.07376 3.18906 8.69916C3.08033 8.52384 3.08694 8.32295 3.20382 8.25047C3.3207 8.17798 3.50359 8.26134 3.61232 8.43666Z",fill:"white"})),n.createElement("g",{filter:"url(#filter3_f_1935_42974)"},n.createElement("ellipse",{cx:"3.63046",cy:"1.59449",rx:"0.249023",ry:"0.373535",transform:"rotate(30 3.63046 1.59449)",fill:"white"})),n.createElement("g",{filter:"url(#filter4_f_1935_42974)"},n.createElement("rect",{x:"3.0625",y:"2.05957",width:"0.166016",height:"6.3916",fill:"white"})),n.createElement("g",{filter:"url(#filter5_f_1935_42974)"},n.createElement("rect",{x:"6.38281",y:"2.05957",width:"0.166016",height:"6.3916",fill:"white"})),n.createElement("g",{filter:"url(#filter6_f_1935_42974)"},n.createElement("path",{d:"M6.56083 8.63727C6.41976 8.836 6.08056 9.02885 5.96841 8.94924C5.85627 8.86963 6.01364 8.5477 6.15471 8.34897C6.29579 8.15024 6.50107 8.05367 6.61322 8.13329C6.72536 8.2129 6.70191 8.43854 6.56083 8.63727Z",fill:"white"})),n.createElement("g",{filter:"url(#filter7_f_1935_42974)"},n.createElement("ellipse",{cx:"6.20712",cy:"1.7605",rx:"0.249023",ry:"0.373535",transform:"rotate(-30 6.20712 1.7605)",fill:"white"})))),n.createElement("defs",null,n.createElement("filter",{id:"filter0_dd_1935_42974",x:"0.539062",y:"0.189819",width:"14.9258",height:"14.609",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:"0.332031"}),n.createElement("feGaussianBlur",{stdDeviation:"0.332031"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),n.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1935_42974"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dy:"1.49414"}),n.createElement("feGaussianBlur",{stdDeviation:"0.996094"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),n.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_1935_42974",result:"effect2_dropShadow_1935_42974"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1935_42974",result:"shape"})),n.createElement("filter",{id:"filter1_iii_1935_42974",x:"2.19922",y:"-0.142212",width:"11.4395",height:"11.4547",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:"-0.332031",dy:"-0.830078"}),n.createElement("feGaussianBlur",{stdDeviation:"0.830078"}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0582292 0 0 0 0 0.132925 0 0 0 0 0.325 0 0 0 0.25 0"}),n.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_1935_42974"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:"0.166016",dy:"-0.332031"}),n.createElement("feGaussianBlur",{stdDeviation:"0.166016"}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.45 0"}),n.createElement("feBlend",{mode:"normal",in2:"effect1_innerShadow_1935_42974",result:"effect2_innerShadow_1935_42974"}),n.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),n.createElement("feOffset",{dx:"-0.166016",dy:"-0.830078"}),n.createElement("feGaussianBlur",{stdDeviation:"0.415039"}),n.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),n.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.766667 0 0 0 0 0.888 0 0 0 0 1 0 0 0 1 0"}),n.createElement("feBlend",{mode:"normal",in2:"effect2_innerShadow_1935_42974",result:"effect3_innerShadow_1935_42974"})),n.createElement("filter",{id:"filter2_f_1935_42974",x:"2.68844",y:"7.79953",width:"1.81452",height:"1.878",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"0.212419",result:"effect1_foregroundBlur_1935_42974"})),n.createElement("filter",{id:"filter3_f_1935_42974",x:"2.91891",y:"0.822964",width:"1.41999",height:"1.54304",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"0.212419",result:"effect1_foregroundBlur_1935_42974"})),n.createElement("filter",{id:"filter4_f_1935_42974",x:"2.63766",y:"1.63473",width:"1.01765",height:"7.24128",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"0.212419",result:"effect1_foregroundBlur_1935_42974"})),n.createElement("filter",{id:"filter5_f_1935_42974",x:"5.95797",y:"1.63473",width:"1.01765",height:"7.24128",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"0.212419",result:"effect1_foregroundBlur_1935_42974"})),n.createElement("filter",{id:"filter6_f_1935_42974",x:"5.50485",y:"7.68051",width:"1.60358",height:"1.71198",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"0.212419",result:"effect1_foregroundBlur_1935_42974"})),n.createElement("filter",{id:"filter7_f_1935_42974",x:"5.49704",y:"0.988979",width:"1.41999",height:"1.54304",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB"},n.createElement("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),n.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),n.createElement("feGaussianBlur",{stdDeviation:"0.212419",result:"effect1_foregroundBlur_1935_42974"}))))}},9409:function(e,t,a){"use strict";var n=a(67294),i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i{var{size:t=15,color:a="#fff"}=e,o=i(e,["size","color"]);const r=Object.assign({width:t,height:t},o);return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 24",fill:"none"},r),n.createElement("path",{d:"M6.40025 8.62258C6.46826 8.8266 6.66029 8.96462 6.87531 8.96462C7.09034 8.96462 7.28136 8.8266 7.35037 8.62258C7.61543 7.8274 8.23941 7.20343 9.03458 6.93837C9.23861 6.87036 9.37663 6.67933 9.37663 6.46431C9.37663 6.24928 9.23861 6.05826 9.03458 5.99025C8.23941 5.72519 7.61543 5.10121 7.35037 4.30604C7.21335 3.89799 6.53827 3.89799 6.40125 4.30604C6.13619 5.10121 5.51222 5.72519 4.71704 5.99025C4.51302 6.05826 4.375 6.24928 4.375 6.46431C4.375 6.67933 4.51302 6.87036 4.71704 6.93837C5.51196 7.20334 6.13585 7.82748 6.40025 8.62258Z",fill:"url(#paint0_linear_1645_53328)"}),n.createElement("path",{d:"M19.9028 11.803C17.0091 10.6589 14.7181 8.36794 13.574 5.47422C13.347 4.90215 12.4059 4.90215 12.1789 5.47422C11.0348 8.36794 8.74378 10.6589 5.85006 11.803C5.56402 11.916 5.375 12.1931 5.375 12.5001C5.375 12.8071 5.56302 13.0842 5.85006 13.1972C8.74378 14.3413 11.0348 16.6323 12.1789 19.526C12.2919 19.812 12.5689 20 12.8759 20C13.183 20 13.46 19.812 13.573 19.526C14.7171 16.6323 17.0081 14.3413 19.9018 13.1972C20.1879 13.0842 20.3769 12.8071 20.3769 12.5001C20.3769 12.1931 20.1899 11.916 19.9028 11.803Z",fill:"url(#paint1_linear_1645_53328)"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_1645_53328",x1:"5.37533",y1:"6.85466",x2:"9.67227",y2:"6.30304",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{"stop-color":a}),n.createElement("stop",{offset:"1","stop-color":"#79E3DB"})),n.createElement("linearGradient",{id:"paint1_linear_1645_53328",x1:"8.37538",y1:"13.6442",x2:"21.2654",y2:"11.9966",gradientUnits:"userSpaceOnUse"},n.createElement("stop",{"stop-color":a}),n.createElement("stop",{offset:"1","stop-color":"#79E3DB"}))))}},41609:function(e,t,a){var n=a(280),i=a(64160),o=a(35694),r=a(1469),l=a(98612),c=a(44144),s=a(25726),d=a(36719),m=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(l(e)&&(r(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||d(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!n(e).length;for(var a in e)if(m.call(e,a))return!1;return!0}}}]);