@hhgtech/hhg-components 1.21.83 → 1.21.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/components/atoms/logo/index.d.ts +1 -1
  3. package/build/components/organisms/footer/discoverFooter/index.d.ts +1 -1
  4. package/build/components/organisms/footer/index.d.ts +1 -1
  5. package/build/components.js +1 -1
  6. package/build/defaultClassWrapper-0eac7dff.js +1 -0
  7. package/build/esm/babyGrowth.js +1 -1
  8. package/build/esm/components.js +1 -1
  9. package/build/esm/defaultClassWrapper-4144361d.js +1 -0
  10. package/build/esm/footer.js +1 -0
  11. package/build/esm/index-1f8da9eb.js +1 -0
  12. package/build/esm/index-34929038.js +1 -0
  13. package/build/esm/index-77ba5666.js +1 -0
  14. package/build/esm/index-c4be547e.js +1 -0
  15. package/build/esm/index-eced25ed.js +1 -0
  16. package/build/esm/index-fdce1dc1.js +1 -0
  17. package/build/esm/index.js +1 -1
  18. package/build/esm/mantine.js +1 -1
  19. package/build/esm/navigation.js +1 -1
  20. package/build/esm/together.js +1 -1
  21. package/build/esm/types-c751a7fb.js +1 -0
  22. package/build/footer.js +1 -0
  23. package/build/{index-ffea3551.js → index-26ab3cb0.js} +1 -1
  24. package/build/index-46eab25f.js +1 -0
  25. package/build/index-7d3b086d.js +1 -0
  26. package/build/{defaultClassWrapper-68462614.js → index-8ebed99b.js} +1 -1
  27. package/build/index-9766e52b.js +1 -0
  28. package/build/index-aae60289.js +1 -0
  29. package/build/index.js +1 -1
  30. package/build/mantine.js +1 -1
  31. package/build/navigation.js +1 -1
  32. package/build/together.js +1 -1
  33. package/build/types-a556493e.js +1 -0
  34. package/package.json +3 -3
  35. package/build/esm/defaultClassWrapper-d19e31e4.js +0 -1
  36. package/build/esm/imgHHG.js +0 -1
  37. package/build/esm/index-1adcd5bd.js +0 -1
  38. package/build/esm/index-d3a86a58.js +0 -1
  39. package/build/esm/index-fba7cd68.js +0 -1
  40. package/build/esm/types-43617e4c.js +0 -1
  41. package/build/imgHHG.js +0 -1
  42. package/build/index-9a25c714.js +0 -1
  43. package/build/index-a8498b05.js +0 -1
  44. package/build/modules/imgHHG/index.d.ts +0 -22
  45. package/build/types-1f45f6c4.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-e6f346c4.js"),n=require("react"),t=require("./core-97cd306c.js"),a=require("./gAssets.js"),i=require("styled-components"),l=require("./index-12476f9c.js"),o=require("./index-d28c27ca.js"),r=require("./routing-5f59e486.js"),d=require("./index-ebcffc91.js"),s=require("./constants-ca5ea110.js"),p=require("./useTranslations-00120db0.js"),c=require("./index-6193a08c.js"),u=require("./utils-df758048.js"),m=require("./index-0ecbbfbd.js"),f=require("./index-8ebed99b.js"),h=require("./theme-696d81a9.js"),g=require("./defaultClassWrapper-0eac7dff.js"),x=require("dayjs"),b=require("dayjs/plugin/relativeTime"),v=require("./index-9766e52b.js"),y=require("lodash/throttle"),w=require("./lazyLoad-f5c59bb0.js"),E=require("string-format"),k=require("@mantine/core"),_=require("./cookieHelper-612b90fa.js"),C=require("lodash/debounce");function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T,M=L(n),A=L(i),B=L(x),j=L(b),P=L(y),O=L(E),z=L(C),S=function(n){return M.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/cambodiaRound.png"),style:e.__assign({borderRadius:"50%"},n.style)},n))},H=function(n){return M.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/cambodiaSquare.png")},n))},N=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},n.style)},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),M.default.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),M.default.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),M.default.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),M.default.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),M.default.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),M.default.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),M.default.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),M.default.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),M.default.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),M.default.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),M.default.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),M.default.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),M.default.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),M.default.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),M.default.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),M.default.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),M.default.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),M.default.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),M.default.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),M.default.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),M.default.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),M.default.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),M.default.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),M.default.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),M.default.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),M.default.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},D=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},M.default.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),M.default.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),M.default.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),M.default.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),M.default.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),M.default.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),M.default.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),M.default.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),M.default.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),M.default.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},R=function(n){return M.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/indiaRound.png"),style:e.__assign({borderRadius:"50%"},n.style)},n))},U=function(n){return M.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/indiaSquare.png")},n))},G=function(t){var a=t.isTesting,i=e.__rest(t,["isTesting"]),l=n.useRef("id-flag-round-mask-"+(a?1:Math.random()));return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),M.default.createElement("mask",{id:l.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("g",{mask:"url(#".concat(l.current,")")},M.default.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),M.default.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},I=function(t){var a=t.isTesting,i=e.__rest(t,["isTesting"]),l=n.useRef("id-flag-clip-"+(a?1:Math.random()));return M.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),M.default.createElement("g",{clipPath:"url(#".concat(l.current,")")},M.default.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),M.default.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),M.default.createElement("defs",null,M.default.createElement("clipPath",{id:l.current},M.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},Z=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},n.style)},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),M.default.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),M.default.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},Q=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),M.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),M.default.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),M.default.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),M.default.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},F=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},n.style)},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),M.default.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),M.default.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},V=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),M.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),M.default.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),M.default.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},q=function(n){return M.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/philippineRound.png"),style:e.__assign({borderRadius:"50%"},n.style)},n))},W=function(n){return M.default.createElement("img",e.__assign({src:a.CommonGAssets.getAssetPath("flags/philippineSquare.png")},n))},Y=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},n.style)},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),M.default.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),M.default.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),M.default.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),M.default.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),M.default.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),M.default.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),M.default.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),M.default.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),M.default.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),M.default.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),M.default.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),M.default.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),M.default.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),M.default.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),M.default.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},K=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),M.default.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),M.default.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),M.default.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),M.default.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),M.default.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),M.default.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),M.default.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),M.default.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),M.default.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),M.default.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),M.default.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),M.default.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),M.default.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),M.default.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),M.default.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},X=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},n.style)},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),M.default.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},J=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),M.default.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),M.default.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},$=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e.__assign({borderRadius:"50%"},n.style)},n),M.default.createElement("g",null,M.default.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},M.default.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),M.default.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),M.default.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},ee=function(n){return M.default.createElement("svg",e.__assign({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),M.default.createElement("g",null,M.default.createElement("clipPath",null,M.default.createElement("rect",{width:"24",height:"16",fill:"white"})),M.default.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),M.default.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},ne=A.default.div(T||(T=e.__makeTemplateObject(["\n --width: ",";\n --height: ",";\n\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n img,\n svg {\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n }\n\n img {\n object-fit: contain;\n }\n"],["\n --width: ",";\n --height: ",";\n\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n img,\n svg {\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n }\n\n img {\n object-fit: contain;\n }\n"])),(function(e){return e.theme.width||20}),(function(e){return e.theme.height||20})),te=function(e){var n,t,a=e.country,i=e.language,l=e.rounded,o=e.height,r=e.width,d=e.isTesting;switch(i){case"en":n=M.default.createElement(D,null),t=M.default.createElement(N,null);break;case"vi":n=M.default.createElement(ee,null),t=M.default.createElement($,null);break;case"id":n=M.default.createElement(I,{isTesting:d}),t=M.default.createElement(G,{isTesting:d});break;case"th":n=M.default.createElement(J,null),t=M.default.createElement(X,null);break;case"km":n=M.default.createElement(H,null),t=M.default.createElement(S,null);break;case"ms":n=M.default.createElement(Q,null),t=M.default.createElement(Z,null);break;case"my":n=M.default.createElement(V,null),t=M.default.createElement(F,null);break;case"tl":n=M.default.createElement(W,null),t=M.default.createElement(q,null);break;case"hi":n=M.default.createElement(U,null),t=M.default.createElement(R,null);break;case"zh":n=M.default.createElement(K,null),t=M.default.createElement(Y,null)}if(!n&&!t)switch(a){case"VN":n=M.default.createElement(ee,null),t=M.default.createElement($,null);break;case"ID":n=M.default.createElement(I,{isTesting:d}),t=M.default.createElement(G,{isTesting:d});break;case"TH":n=M.default.createElement(J,null),t=M.default.createElement(X,null);break;case"KH":n=M.default.createElement(H,null),t=M.default.createElement(S,null);break;case"MY":n=M.default.createElement(Q,null),t=M.default.createElement(Z,null);break;case"MM":n=M.default.createElement(V,null),t=M.default.createElement(F,null);break;case"PH":n=M.default.createElement(W,null),t=M.default.createElement(q,null);break;case"IN":n=M.default.createElement(U,null),t=M.default.createElement(R,null);break;case"TW":n=M.default.createElement(K,null),t=M.default.createElement(Y,null)}return M.default.createElement(ne,{theme:{width:r,height:o}},l?t:n)},ae=A.default.div(ie||(ie=e.__makeTemplateObject(["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n .focused & {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"],["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n .focused & {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"])),(function(e){return e.theme.colors.red700}),(function(e){return e.theme.colors.gray200}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.blue200}),(function(e){return e.theme.colors.gray100}),(function(e){return e.theme.sizes.fwRegular}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.sizes.fwRegular}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.sizes.fwRegular}),u.MediaQueries.mbDown,u.MediaQueries.mbUp);A.default.label(le||(le=e.__makeTemplateObject(["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"])),(function(e){return e.theme.colors.gray600}),(function(e){return e.theme.sizes.fwBold}));var ie,le,oe,re,de,se=A.default.label(oe||(oe=e.__makeTemplateObject(["\n color: ",";\n font-weight: ",";\n"],["\n color: ",";\n font-weight: ",";\n"])),(function(e){return e.theme.colors.red700}),(function(e){return e.theme.sizes.fwRegular})),pe=A.default.div(re||(re=e.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n right: 16px;\n display: inline-flex;\n cursor: pointer;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n right: 16px;\n display: inline-flex;\n cursor: pointer;\n transform: translateY(-50%);\n"]))),ce=A.default.div(de||(de=e.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"]))),ue=M.default.forwardRef((function(t,a){var i=t.name,l=t.errorMessage,o=t.autoComplete,r=void 0===o?"off":o,d=t.defaultValue,s=t.actionIcon,p=t.displayIcon,u=t.isDeleteAction,m=t.onActionClick,f=t.label,h=t.placeholder,g=t.className,x=t.onChange,b=t.onKeyPress,v=t.isDisabled,y=t.CustomInput,w=t.size,E=t.style,k=t.autoFocus,_=t.type,C=void 0===_?"text":_,L=t.isNumerousKeyboard,T=void 0!==L&&L,A=t.onFocus,B=t.enterKeyHint,j=t.nativeOnChange,P=e.__rest(t,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]),O=n.useState(d),z=O[0],S=O[1];return M.default.createElement(ae,{"data-size":w,className:g,"data-has-action-icon":!!s||void 0,"data-has-display-icon":!!p||void 0,"data-has-error":l&&l.length>0||void 0,style:E},f&&M.default.createElement(c.Label,{size:"label2",htmlFor:i,className:"inputLabel"},f),M.default.createElement("div",{style:{position:"relative"}},y||M.default.createElement("input",e.__assign({id:i,name:i,placeholder:h,onChange:null!=j?j:function(e){return n=e.target.value,S(n),void x(n);var n},onKeyPress:b,type:C,"aria-label":C,disabled:v,value:z,autoComplete:r,ref:a,autoFocus:k,inputMode:T||"number"===C?"numeric":C,pattern:T?"[0-9]*":".*",onFocus:A,enterKeyHint:B},P)),p&&M.default.createElement(ce,{className:"displayIcon"},p),s&&M.default.createElement(pe,{className:"actionIcon",onClick:function(){var e;u&&(S(""),null===(e=a.current)||void 0===e||e.focus()),m&&m()}},s)),l&&l.length>0&&M.default.createElement(se,{className:"errorLabel"},l))}));ue.displayName="PureInput";var me,fe,he,ge,xe,be,ve,ye,we,Ee,ke,_e,Ce,Le,Te,Me,Ae,Be,je,Pe,Oe,ze=A.default.a(me||(me=e.__makeTemplateObject(["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"],["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray600})),Se=A.default.div(fe||(fe=e.__makeTemplateObject(["\n position: relative;\n display: inline-block;\n"],["\n position: relative;\n display: inline-block;\n"]))),He=A.default.div(he||(he=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Ne=A.default.div(ge||(ge=e.__makeTemplateObject(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),De=A.default.div(xe||(xe=e.__makeTemplateObject(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(e){return e.theme.colors.gray100})),Re=A.default.div(be||(be=e.__makeTemplateObject(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),Ue=function(e){var t=e.options,i=e.label,o=e.labelRenderer,r=e.selected,d=e.onChange,s=e.showSelected,p=void 0===s||s,c=e.style,u=void 0===c?{}:c,m=e.showIndicator,f=void 0===m||m,h=n.useState(!1),g=h[0],x=h[1];return M.default.createElement(M.default.Fragment,null,M.default.createElement(Se,null,M.default.createElement(He,{onClick:function(){return x((function(e){return!e}))}},i||(null==o?void 0:o(g))||null,M.default.createElement(Ne,{"data-is-open":g,style:u,"data-show-indicator":f},t.map((function(e,n){return M.default.createElement(De,{key:n,"data-selected":p&&r===e.value,onClick:function(n){r!==e.value&&(d(e.value),x((function(e){return!e}))),n.stopPropagation()}},M.default.createElement(l.Text,{size:"p3"},e.label),p&&r===e.value&&M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),g&&M.default.createElement(Re,{onClick:function(){return x(!1)}}))},Ge=function(e){var n,t,a=e.languageOptions,i=e.locale,l=null==a?void 0:a.find((function(e){return e.locale===i}));return(null==a?void 0:a.length)?M.default.createElement(Ue,{options:a,selected:l.value,label:M.default.createElement(Ie,{locale:i,label:l.label||(null===(t=null===(n=i.split("-"))||void 0===n?void 0:n[0])||void 0===t?void 0:t.toUpperCase())}),onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Ie=function(e){var n,t,a,i=e.locale,l=e.label,o=e.href;return M.default.createElement(ze,{href:o},M.default.createElement(te,{country:null===(t=null===(n=null==i?void 0:i.split("-"))||void 0===n?void 0:n[1])||void 0===t?void 0:t.toUpperCase(),width:16,height:16,rounded:!0,language:null===(a=null==i?void 0:i.split("-"))||void 0===a?void 0:a[0]}),M.default.createElement("span",null,l))},Ze=M.default.createContext({}),Qe=function(t){var a=t.children,i=e.__rest(t,["children"]),l="undefined"!=typeof window?window.location.href:i.currentUrl||o.domainLocales[i.locale||"en-PH"],d=function(e){var t=e.locale,a=e.projectType,i=e.isMobile,l=e.siteType;return n.useMemo((function(){var e=!(!i&&"profile"===a),n="discover"===a||"marryBaby"===a||"profile"===a&&"marryBaby"===l,d="marryBaby"!==l&&"marryBaby"!==a&&o.CARE_LOCALES.includes(t),s="marryBaby"!==a&&"discover"===a&&"marryBaby"!==l&&o.CARE_BOOKING_LOCALES.includes(t),p="marryBaby"===a||o.TOGETHER_LOCALES.includes(t),c="ecom"===a,u="ecom"===a,m=r.getCurrentBaseUrl(t,"marryBaby"===l),f=r.getCurrentSsoUrl(t,"marryBaby"===l);return{enableProfileNavigatorMenu:e,enableSearchBar:n,enableNavCare:d,enableNavCareBooking:s,enableNavTogether:p,enableNavEcom:c,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:m,CARE_URL_FE:"".concat(m,"/care"),TOGETHER_URL_FE:"".concat(m,"/community"),SSO_URL:f,TOGETHER_API:r.getTogetherApiDomain(),DISCOVER_API:r.getDiscoverApiDomain(t)}}}),[t,a,i])}({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return M.default.createElement(Ze.Provider,{value:e.__assign(e.__assign({},i),{configs:d,currentUrl:l})},a)},Fe=function(){return M.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"}))},Ve=function(){var e=n.useContext(Ze),t=e.locale,a=e.configs.statics,i=e.siteType,l=p.useTranslations().t;return M.default.createElement(ue,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===i?l("navigation.search.input.placeholder"):l("home.search",{site:o.LOCALE_SPECS[t||"en-PH"]?o.LOCALE_SPECS[t||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(e){return"Enter"===e.key&&(window.location.href="".concat(a.HOME_PAGE_URL,"/search/?s=").concat(e.target.value))},type:"search",onFocus:function(e){e.preventDefault()},displayIcon:M.default.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},M.default.createElement(Fe,null))})},qe=A.default.div(ve||(ve=e.__makeTemplateObject(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),u.MediaQueries.mbUp),We=A.default.a(ye||(ye=e.__makeTemplateObject(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.mbColors.lightPink}),(function(e){return e.theme.colors.primaryActive}),(function(e){return e.theme.mbColors.lightGray})),Ye=A.default.div(we||(we=e.__makeTemplateObject(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),u.MediaQueries.mbDown),Ke=A.default.div(Ee||(Ee=e.__makeTemplateObject(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),u.MediaQueries.mbUp),Xe=A.default.div(ke||(ke=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),Je=A.default.div(_e||(_e=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),$e=A.default.a(Ce||(Ce=e.__makeTemplateObject(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.mbColors.pink}),u.MediaQueries.mbDown),en=function(e){var t=e.hrefViewMore,i=e.titleBtnViewMore,l=e.UrlFE,o=e.onClosePopup,r=e.menuItems,d=e.headingTitle,s=n.useContext(Ze),p=s.siteType,c=s.isAmp;return M.default.createElement(qe,null,M.default.createElement(Ye,null,M.default.createElement(m.Heading,{tag:"marryBaby"===p?"h5":"h6",as:"h2",fontWeight:"semibold"},d)),null==r?void 0:r.slice(0,6).map((function(e,n){var t=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:"".concat(l,"/").concat(null==e?void 0:e.link.split("/").filter(Boolean).join("/"),"/"):"/";return M.default.createElement(We,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t,"data-is-heading-category":!1,href:t,"data-theme":p,key:n,onClick:o},M.default.createElement("div",{className:"icon"},c?M.default.createElement("img",{alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}}):M.default.createElement("img",{className:"lazy",alt:e.name,"data-src":e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32}})),M.default.createElement("p",null,e.name),M.default.createElement(Ke,null,M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),i&&M.default.createElement($e,{"data-theme":p,style:{textDecoration:"none"},href:t,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t},M.default.createElement(Xe,{onClick:o,"data-theme":p,"data-is-heading-category":!1},i,M.default.createElement(Je,null,M.default.createElement("img",{className:"svg",src:"marryBaby"===p?a.CommonGAssets.getAssetPath("chevronRightPink.svg"):a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},nn=A.default.div(Le||(Le=e.__makeTemplateObject(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp),tn=A.default.div(Te||(Te=e.__makeTemplateObject(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(e){return e.theme.colors.gray600})),an=A.default.div(Me||(Me=e.__makeTemplateObject(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),ln=A.default.div(Ae||(Ae=e.__makeTemplateObject(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),on=A.default.div(Be||(Be=e.__makeTemplateObject(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),u.MediaQueries.mbDown),rn=function(e){var t=e.title,i=e.link,l=e.description,o=e.cta,r=e.icon,d=n.useContext(Ze),s=d.siteType,p=d.isAmp;return M.default.createElement(nn,{"data-theme":s},M.default.createElement(on,null,p?M.default.createElement("img",{src:"marryBaby"===s?a.CommonGAssets.getAssetPath("navMBSpotlightBgNoData.svg"):a.CommonGAssets.getAssetPath("navSpotlightBgNoData.svg"),alt:"",className:"bg-svg"}):M.default.createElement("img",{"data-src":"marryBaby"===s?a.CommonGAssets.getAssetPath("navMBSpotlightBgNoData.svg"):a.CommonGAssets.getAssetPath("navSpotlightBgNoData.svg"),alt:"",className:"bg-svg lazy"}),M.default.createElement(ln,null,r&&M.default.createElement("img",{src:r,width:64,height:64}))),M.default.createElement("div",null,t&&M.default.createElement(an,null,t),l&&M.default.createElement(tn,null,l),o&&M.default.createElement("div",null,M.default.createElement("a",{href:i},M.default.createElement(f.Button,{theme:s,className:"survey-contact-submit",size:"md"},o)))))},dn=A.default.div(je||(je=e.__makeTemplateObject(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),u.MediaQueries.mbDown,(function(e){return e.theme.colors.neutral100})),sn=A.default.div(Pe||(Pe=e.__makeTemplateObject(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),pn=A.default.a(Oe||(Oe=e.__makeTemplateObject(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),u.MediaQueries.mbDown),cn=function(e){var t=e.title,i=e.viewMore,l=e.children,o=e.link,r=e.dataEventAction,d=void 0===r?"":r,s=n.useContext(Ze).siteType;return M.default.createElement(dn,null,M.default.createElement(sn,null,M.default.createElement(m.Heading,{tag:"marryBaby"===s?"h5":"h6",as:"h2",fontWeight:"semibold"},t),i&&M.default.createElement(pn,{"data-event-category":"Hamburger Navigation","data-event-action":d,"data-event-label":o,href:o,"data-theme":s},i,M.default.createElement("img",{src:"marryBaby"===s?a.CommonGAssets.getAssetPath("chevronRightPink.svg"):a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),l)};A.default.div(un||(un=e.__makeTemplateObject(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(e){return e.theme.colors.neutral100}));var un,mn,fn,hn,gn,xn,bn,vn,yn,wn=A.default.div(mn||(mn=e.__makeTemplateObject(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),u.MediaQueries.tdDown),En=A.default.div(fn||(fn=e.__makeTemplateObject(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),u.MediaQueries.tdDown,u.MediaQueries.mbDown),kn=A.default.div(hn||(hn=e.__makeTemplateObject(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),_n=A.default.div(gn||(gn=e.__makeTemplateObject(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(e){return e.theme.colors.primaryBase}),u.MediaQueries.tdDown),Cn=A.default.p(xn||(xn=e.__makeTemplateObject(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(e){return e.theme.colors.gray800}),u.MediaQueries.tdDown),Ln=A.default.p(bn||(bn=e.__makeTemplateObject(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(e){return e.theme.colors.gray600}),u.MediaQueries.tdDown),Tn=A.default.div(vn||(vn=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),u.MediaQueries.tdDown),Mn="hhgcomp-navigation-menucareitem-contentwrapper",An=g.getDefaultClassWrapper(Tn,Mn),Bn=A.default.a(yn||(yn=e.__makeTemplateObject(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),h.theme.colors.white,u.MediaQueries.tdUp,u.MediaQueries.tdDown,Mn,u.MediaQueries.mbDown,u.MediaQueries.tdOnly,h.theme.colors.neutral100),jn=function(e){var t,i=e.item,l=e.index,o=void 0===l?0:l,r=p.useTranslations().t,d=n.useContext(Ze),c=d.locale,u=d.configs.statics,m=d.isAmp;if(!i)return null;var f="".concat(u.CARE_URL_FE,"/").concat(null===(t=s.LOCALIZED_SLUGS[c])||void 0===t?void 0:t.HOSPITAL,"/").concat(i.slug,"-").concat(i.id);return M.default.createElement(Bn,{key:i.id,href:f,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(o+1),"data-event-label":f},m?M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg"}):M.default.createElement("img",{"data-src":a.CommonGAssets.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg lazy"}),M.default.createElement(En,null,M.default.createElement(kn,null,m?M.default.createElement("img",{alt:i.name,src:i.logo||"/images/avatar.jpg"}):M.default.createElement("img",{className:"lazy",alt:i.name,"data-src":i.logo||"/images/avatar.jpg"}))),M.default.createElement(An,null,M.default.createElement(Cn,null,i.name),M.default.createElement(Ln,null,i.description),M.default.createElement(_n,null,r("home.seeMore"),M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Pn=function(e){var n=e.spotlights,t=void 0===n?[]:n,i=e.hrefViewMore,l=p.useTranslations().t;return M.default.createElement(cn,{title:l("home.navigator.menu.spotlightHospitals")},0!==t.length?M.default.createElement(wn,null,null==t?void 0:t.slice(0,3).map((function(e,n){return M.default.createElement(jn,{key:n,index:n,item:e})}))):M.default.createElement(rn,{title:l("home.navigator.menu.care.noDatas.title"),description:l("home.navigator.menu.care.noDatas.description"),link:i,cta:l("home.navigator.menu.care.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))};A.default.div(On||(On=e.__makeTemplateObject(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),A.default.div(zn||(zn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var On,zn,Sn,Hn,Nn,Dn,Rn=A.default.div(Sn||(Sn=e.__makeTemplateObject(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),u.MediaQueries.tdDown),Un=A.default.a(Hn||(Hn=e.__makeTemplateObject(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Gn=A.default.div(Nn||(Nn=e.__makeTemplateObject(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),u.MediaQueries.tdDown),In=A.default.p(Dn||(Dn=e.__makeTemplateObject(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(e){return e.theme.colors.gray800}),u.MediaQueries.tdUp),Zn=function(e){var t=e.item,a=e.index,i=void 0===a?0:a;if(!t)return null;var l=n.useContext(Ze).isAmp;return M.default.createElement(Un,{key:t.id,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(i+1),"data-event-label":t.link},M.default.createElement(Gn,null,l?M.default.createElement("img",{alt:t.title,src:t.banner||"/images/notFound-min-small.jpg"}):M.default.createElement("img",{className:"lazy",alt:t.title,"data-src":t.banner||"/images/notFound-min-small.jpg"})),M.default.createElement(In,null,t.title))},Qn=function(e){var t=e.spotlightsList,i=void 0===t?[]:t,l=e.hrefViewMore,o=p.useTranslations().t,r=n.useContext(Ze).configs.statics;return M.default.createElement(cn,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:l,dataEventAction:"Spotlight See More Click"},0!==i.length?M.default.createElement(Rn,null,null==i?void 0:i.slice(0,4).map((function(e,n){return M.default.createElement(Zn,{key:n,index:n,item:{id:e.id,link:r.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})}))):M.default.createElement(rn,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:l,cta:o("home.navigator.menu.category.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("Spotlight.svg")}))};A.default.div(Fn||(Fn=e.__makeTemplateObject(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100})),A.default.div(Vn||(Vn=e.__makeTemplateObject(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Fn,Vn,qn,Wn,Yn,Kn,Xn,Jn,$n,et,nt,tt,at,it,lt=A.default.div(qn||(qn=e.__makeTemplateObject(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),u.MediaQueries.tdDown,u.MediaQueries.mbDown),ot=A.default.div(Wn||(Wn=e.__makeTemplateObject(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),rt=A.default.img(Yn||(Yn=e.__makeTemplateObject(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),dt=A.default.div(Kn||(Kn=e.__makeTemplateObject(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(e){return e.theme.colors.gray800})),st=A.default.div(Xn||(Xn=e.__makeTemplateObject(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(e){return e.theme.colors.primaryBase})),pt=A.default.div(Jn||(Jn=e.__makeTemplateObject(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(e){return e.theme.colors.gray600})),ct=A.default.div($n||($n=e.__makeTemplateObject(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(e){return e.theme.colors.gray600})),ut=A.default.a(et||(et=e.__makeTemplateObject(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(e){return e.theme.colors.neutral100}),u.MediaQueries.tdOnly,u.MediaQueries.mbDown,u.MediaQueries.tdUp),mt=A.default.div(nt||(nt=e.__makeTemplateObject(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),ft=A.default.div(tt||(tt=e.__makeTemplateObject(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(e){return e.theme.colors.gray800})),ht=A.default.div(at||(at=e.__makeTemplateObject(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),gt=A.default.div(it||(it=e.__makeTemplateObject(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));B.default.extend(j.default);var xt=function(e){var t,a,i,l,o,r,s,p=e.post,c=e.index,u=void 0===c?0:c,m=n.useContext(Ze),f=m.siteType,h=m.configs.statics,g=m.isAmp;if(!p)return null;var x=[h.TOGETHER_URL_FE,null===(t=p.community)||void 0===t?void 0:t.slug].join("/"),b=[x,p.slug].join("/"),v=p.createdAt,y=v?isNaN(new Date(v).getTime())?null:new Date(v):null,w=y?B.default(y).toNow(!0):v;return M.default.createElement(ut,{href:b,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(u+1),"data-event-label":b},M.default.createElement(ot,null,M.default.createElement(mt,null,M.default.createElement(d.UserAvatar,{avatar:null===(a=p.author)||void 0===a?void 0:a.avatar,username:(null===(i=p.author)||void 0===i?void 0:i.name)||(null===(l=p.author)||void 0===l?void 0:l.username),isLazy:!g}),M.default.createElement(gt,null,M.default.createElement(dt,{"data-theme":f},null===(o=p.author)||void 0===o?void 0:o.name),M.default.createElement(ht,null,M.default.createElement(st,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(u+1),"data-event-label":x,onClick:function(e){e.preventDefault(),location.href=x},"data-theme":f},null===(r=p.community)||void 0===r?void 0:r.name),M.default.createElement(ct,null,"•"),M.default.createElement(pt,{"data-theme":f},w)))),M.default.createElement(ft,null,p.title)),!!(null===(s=p.photos)||void 0===s?void 0:s.length)&&(g?M.default.createElement(rt,{src:p.photos[0]}):M.default.createElement(rt,{className:"lazy","data-src":p.photos[0]})))},bt=function(e){var t=e.spotlights,i=void 0===t?[]:t,l=n.useContext(Ze).configs.statics,o=p.useTranslations().t;return M.default.createElement(cn,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:l.TOGETHER_URL_FE,dataEventAction:"Together See More Click"},0!==i.length?M.default.createElement(lt,null,null==i?void 0:i.slice(0,4).map((function(e,n){return M.default.createElement(xt,{index:n,post:e,key:e.id})}))):M.default.createElement(rn,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:"".concat(l.HOME_PAGE_URL,"/community/"),cta:o("home.navigator.menu.together.noPosts.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))};A.default.div(vt||(vt=e.__makeTemplateObject(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var vt,yt,wt,Et,kt,_t,Ct,Lt,Tt,Mt,At,Bt,jt,Pt,Ot,zt,St=A.default.div(yt||(yt=e.__makeTemplateObject(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),u.MediaQueries.tdDown),Ht=A.default.a(wt||(wt=e.__makeTemplateObject(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),u.MediaQueries.tdDown,u.MediaQueries.tdDown),Nt=A.default.div(Et||(Et=e.__makeTemplateObject(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),u.MediaQueries.tdDown),Dt=A.default.div(kt||(kt=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(e){return e.theme.colors.primaryBase})),Rt=A.default.p(_t||(_t=e.__makeTemplateObject(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(e){return e.theme.colors.gray800})),Ut=A.default.p(Ct||(Ct=e.__makeTemplateObject(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(e){return e.theme.colors.gray600}),u.MediaQueries.tdDown),Gt=A.default.div(Lt||(Lt=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),u.MediaQueries.tdUp,u.MediaQueries.tdDown),It=function(e){var t=e.item,i=e.index,l=void 0===i?0:i,o=p.useTranslations().t,r=n.useContext(Ze),d=r.configs.statics,s=r.isAmp;if(!t)return null;var c=t.link?t.link.startsWith("http")?t.link:"".concat(d.HOME_PAGE_URL).concat(t.link):void 0;return M.default.createElement(Ht,{href:c,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(l+1),"data-event-label":c},s?M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("navToolCardBg.svg"),alt:"",className:"bg-svg"}):M.default.createElement("img",{"data-src":a.CommonGAssets.getAssetPath("navToolCardBg.svg"),alt:"",className:"bg-svg lazy"}),M.default.createElement(Gt,null,M.default.createElement(Rt,null,t.title),M.default.createElement(Ut,null,t.subtitle),M.default.createElement(Dt,null,o("home.seeMore"),M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),M.default.createElement(Nt,null,s?M.default.createElement("img",{alt:t.title,src:t.icon||"/images/avatar.jpg"}):M.default.createElement("img",{className:"lazy",alt:t.title,"data-src":t.icon||"/images/avatar.jpg"})))},Zt=A.default.a(Tt||(Tt=e.__makeTemplateObject(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(e){return e.theme.mbColors.tonePink}),(function(e){return e.theme.mbColors.peach}),(function(e){return e.theme.mbColors.toneYellow}),(function(e){return e.theme.mbColors.orange}),(function(e){return e.theme.mbColors.toneGreen}),(function(e){return e.theme.mbColors.mint}),u.MediaQueries.tdDown,u.MediaQueries.mbDown,u.MediaQueries.tdUp,u.MediaQueries.tdUp,u.MediaQueries.tdDown),Qt=A.default.div(Mt||(Mt=e.__makeTemplateObject(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),u.MediaQueries.tdDown,u.MediaQueries.mbDown),Ft=A.default.div(At||(At=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(e){return e.theme.mbColors.gray}),u.MediaQueries.tdDown,(function(e){return e.theme.mbColors.pink})),Vt=A.default.p(Bt||(Bt=e.__makeTemplateObject(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(e){return e.theme.colors.gray800})),qt=A.default.p(jt||(jt=e.__makeTemplateObject(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(e){return e.theme.colors.gray600}),u.MediaQueries.tdDown),Wt=A.default.div(Pt||(Pt=e.__makeTemplateObject(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),u.MediaQueries.tdUp,u.MediaQueries.tdDown),Yt=A.default.div(Ot||(Ot=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),u.MediaQueries.tdUp,u.MediaQueries.tdDown),Kt=A.default.div(zt||(zt=e.__makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),u.MediaQueries.tdUp,u.MediaQueries.tdDown),Xt=function(e){var t=e.item,i=e.index,l=void 0===i?0:i,o=e.color,r=p.useTranslations().t,d=n.useContext(Ze),s=d.configs.statics,c=d.isAmp;if(!t)return null;var u=t.link?t.link.startsWith("http")?t.link:"".concat(s.HOME_PAGE_URL).concat(t.link):void 0,m=function(){return M.default.createElement(Qt,null,c?M.default.createElement("img",{src:t.icon||"/images/avatar.jpg"}):M.default.createElement("img",{className:"lazy",alt:t.title,"data-src":t.icon||"/images/avatar.jpg"}))},f=function(){return M.default.createElement(Kt,null,M.default.createElement(Yt,null,M.default.createElement(Vt,null,t.title),M.default.createElement(qt,null,t.subtitle)),M.default.createElement(Ft,null,M.default.createElement("div",{className:"mobile-only"},r("home.seeMore")),M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return M.default.createElement(Zt,{href:u,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(l+1),"data-event-label":u,"data-color":o},M.default.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M.default.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),M.default.createElement("img",{"data-src":a.CommonGAssets.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg lazy",alt:""}),M.default.createElement(Wt,null,M.default.createElement("div",{className:"mobile-only"},m()),M.default.createElement("div",{className:"desktop-only"},f())),M.default.createElement("div",{className:"mobile-only"},f()),M.default.createElement("div",{className:"desktop-only"},m()))},Jt=function(e){var t=e.hrefViewMore,i=e.spotlightHealthTools,l=void 0===i?[]:i,o=p.useTranslations().t,r=["pink","orange","green"],d=n.useContext(Ze).siteType;return M.default.createElement(cn,{title:o("home.navigator.menu.spotlightTools")},0!==l.length&&M.default.createElement(St,null,null==l?void 0:l.slice(0,3).map((function(e,n){return"marryBaby"===d?M.default.createElement(Xt,{key:n,index:n,item:e,color:r[n]}):M.default.createElement(It,{key:n,index:n,item:e})}))),0===l.length&&M.default.createElement(rn,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:t,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:a.CommonGAssets.getAssetPath("community.svg")}))},$t="profile/posts?website_url={websiteUrl}",ea=99,na=300,ta=400,aa=200,ia=210,la=A.default(v.Container)(oa||(oa=e.__makeTemplateObject(["\n padding-bottom: 1rem;\n\n "," {\n display: block;\n padding: 0;\n }\n "," {\n display: grid;\n grid-template-columns: 1fr 3fr;\n grid-gap: 10px;\n }\n"],["\n padding-bottom: 1rem;\n\n "," {\n display: block;\n padding: 0;\n }\n "," {\n display: grid;\n grid-template-columns: 1fr 3fr;\n grid-gap: 10px;\n }\n"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp);A.default.div(ra||(ra=e.__makeTemplateObject(["\n padding-right: 1rem;\n border-right: 1px solid #e4e8ec;\n"],["\n padding-right: 1rem;\n border-right: 1px solid #e4e8ec;\n"])));var oa,ra,da,sa,pa,ca=A.default.div(da||(da=e.__makeTemplateObject(["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: ",";\n transition: opacity 0.2s ease-in-out;\n &[data-is-display='false'] {\n visibility: hidden;\n opacity: 0;\n }\n padding: 0.5rem;\n &[data-is-nav-menu='true'] {\n position: absolute;\n top: 100%;\n height: unset;\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"],["\n position: fixed;\n z-index: ",";\n top: 69px;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background-color: ",";\n transition: opacity 0.2s ease-in-out;\n &[data-is-display='false'] {\n visibility: hidden;\n opacity: 0;\n }\n padding: 0.5rem;\n &[data-is-nav-menu='true'] {\n position: absolute;\n top: 100%;\n height: unset;\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"])),aa,(function(e){return e.theme.colors.white})),ua="hhgcomp-navigation-popupwrapper-menuwrapper",ma=g.getDefaultClassWrapper(ca,ua),fa=A.default.div(sa||(sa=e.__makeTemplateObject(["\n position: relative;\n z-index: 1;\n"],["\n position: relative;\n z-index: 1;\n"]))),ha=A.default.div(pa||(pa=e.__makeTemplateObject(["\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),ga=A.default.div(xa||(xa=e.__makeTemplateObject(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n\n &[data-is-amp='true'] {\n top: calc(var(--header-height));\n }\n\n ."," {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n\n &[data-is-amp='true'] {\n top: calc(var(--header-height));\n }\n\n ."," {\n position: unset;\n }\n"])),ua);A.default.div(ba||(ba=e.__makeTemplateObject(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),A.default.div(va||(va=e.__makeTemplateObject(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),A.default.div(ya||(ya=e.__makeTemplateObject(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),A.default.div(wa||(wa=e.__makeTemplateObject(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),A.default.div(Ea||(Ea=e.__makeTemplateObject(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),A.default.div(ka||(ka=e.__makeTemplateObject(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),ia,(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.white})),A.default.div(_a||(_a=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),A.default.div(Ca||(Ca=e.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),A.default.div(La||(La=e.__makeTemplateObject(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),A.default.div(Ta||(Ta=e.__makeTemplateObject(["\n display: none;\n"],["\n display: none;\n"]))),A.default.div(Ma||(Ma=e.__makeTemplateObject(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwRegular}),(function(e){return e.theme.colors.primaryBase})),A.default.div(Aa||(Aa=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.mbColors.pink})),A.default.div(Ba||(Ba=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),A.default.div(ja||(ja=e.__makeTemplateObject(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),A.default.div(Pa||(Pa=e.__makeTemplateObject(["\n display: block;\n"],["\n display: block;\n"]))),A.default.div(Oa||(Oa=e.__makeTemplateObject(["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .amp-sidebar {\n width: 100vw;\n\n background-color: ",";\n }\n\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(e){return e.theme.colors.neutral50}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.gray800})),A.default.div(za||(za=e.__makeTemplateObject(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(e){return e.theme.mbColors.pink}));var xa,ba,va,ya,wa,Ea,ka,_a,Ca,La,Ta,Ma,Aa,Ba,ja,Pa,Oa,za,Sa,Ha,Na,Da,Ra,Ua,Ga,Ia=A.default.div(Sa||(Sa=e.__makeTemplateObject(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(e){return e.theme.mbColors.lightGray})),Za=A.default.div(Ha||(Ha=e.__makeTemplateObject(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),Qa=function(e){var t,a,i=e.closePopup,l=e.menuItems,r=void 0===l?[]:l,d=n.useContext(Ze),c=d.siteType,u=d.ssrMenuContent,m=u.categories,f=u.healthTools,h=u.care,g=u.together,x=d.activeMenuService,b=d.configs,v=b.statics,y=b.enableSearchBar,w=d.isAmp,E=d.locale,k=p.useTranslations().t;return M.default.createElement(ga,{id:"categories-menu","data-is-amp":w},y?M.default.createElement(Ia,{"data-theme":c,onClick:function(){window.location.href="".concat(v.HOME_PAGE_URL,"/search")}},M.default.createElement(Ve,null)):null,M.default.createElement(Za,null,M.default.createElement(en,{UrlFE:v.HOME_PAGE_URL,titleBtnViewMore:k("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:k("home.navigator.menuItem.healthCategories"),onClosePopup:i}),"categories"===x&&M.default.createElement(Qn,{spotlightsList:(null==m?void 0:m.spotlights)||[],hrefViewMore:"".concat(v.HOME_PAGE_URL).concat("tl-PH"===E?"/fil":"","/spotlight/")}),"tools"===x&&M.default.createElement(Jt,{spotlightHealthTools:null==f?void 0:f.spotlights,hrefViewMore:"".concat(v.HOME_PAGE_URL).concat("tl-PH"===E?"/fil":"").concat((null===(t=o.STATIC_PAGES[E])||void 0===t?void 0:t.HEALTH_TOOLS)||"")}),"care"===x&&M.default.createElement(Pn,{spotlights:null==h?void 0:h.spotlights,hrefViewMore:"".concat(v.CARE_URL_FE,"/").concat(null===(a=s.LOCALIZED_SLUGS[E])||void 0===a?void 0:a.SPECIALTIES)}),"together"===x&&M.default.createElement(bt,{spotlights:null==g?void 0:g.spotlights})))},Fa=A.default.div(Na||(Na=e.__makeTemplateObject(["\n ","\n"],["\n ","\n"])),(function(e){return"\n ".concat(0!==e.lowerBound?"@media (max-width: ".concat(e.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==e.upperBound?"@media (min-width: ".concat(e.upperBound,"px) { display: none; }"):"","\n ")})),Va=function(e){var t=e.forceDisplay,a=e.mediaQueryKey,i=e.children,l=e.className,o=e.style,r=n.useMemo((function(){return u.getBoundariesFromMediaQueryKey(a)}),[a]),d=r[0],s=r[1];return M.default.createElement(Fa,{lowerBound:t?0:d,upperBound:t?0:s,className:l,style:o},i)},qa=A.default.div(Da||(Da=e.__makeTemplateObject(["\n a {\n text-decoration: none;\n }\n .login-btn-mobile {\n padding-left: 10px;\n padding-right: 10px;\n }\n"],["\n a {\n text-decoration: none;\n }\n .login-btn-mobile {\n padding-left: 10px;\n padding-right: 10px;\n }\n"]))),Wa=function(e){var n=e.onCareHeaderClick,t=e.currentUrl,a=e.careUrlFe,i=e.btnName;return M.default.createElement(qa,null,n?M.default.createElement(f.Button,{className:"login-btn-mobile",size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:function(e){return n(e)}},i):M.default.createElement("a",{href:a,className:"care-button no-replace-click"},M.default.createElement(f.Button,{className:"login-btn-mobile",size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},i)))},Ya=function(e){var t=(e||{}).allowBgScroll,a=n.useRef();return{containerRef:a,onContainerFocus:function(){t||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){t||(document.documentElement.style.overflow="")},onButtonMouseDown:function(e){a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:function(){a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},Ka=A.default.div(Ra||(Ra=e.__makeTemplateObject(["\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-bottom: 1px solid #ffffff;\n text-decoration: none;\n cursor: pointer;\n\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n &:focus-within {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n div[data-site-type='marryBaby'] & {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n svg:hover path {\n stroke: ",";\n }\n }\n\n ."," {\n visibility: initial;\n opacity: 1;\n }\n }\n &:not(:focus-within) {\n ."," {\n img {\n display: none;\n }\n }\n }\n\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"],["\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-bottom: 1px solid #ffffff;\n text-decoration: none;\n cursor: pointer;\n\n & > div {\n display: flex;\n align-items: center;\n\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n user-select: none;\n }\n\n color: ",";\n\n div[data-site-type='marryBaby'] & {\n color: ",";\n }\n &:focus-within {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n div[data-site-type='marryBaby'] & {\n color: ",";\n border-bottom: 1px solid ",";\n svg path {\n stroke: ",";\n }\n svg:hover path {\n stroke: ",";\n }\n }\n\n ."," {\n visibility: initial;\n opacity: 1;\n }\n }\n &:not(:focus-within) {\n ."," {\n img {\n display: none;\n }\n }\n }\n\n .care-navigator {\n color: ",";\n font-size: 14px;\n font-weight: 700;\n }\n"])),(function(e){return e.theme.sizes.fsParagraph4}),(function(e){return e.theme.sizes.fwBold}),(function(e){return e.theme.colors.secondaryDark}),(function(e){return e.theme.mbColors.dark}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.colors.primaryBase}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.mbColors.pink}),(function(e){return e.theme.mbColors.midGray}),(function(e){return e.theme.mbColors.pink}),ua,ua,(function(e){return e.theme.colors.secondaryDark})),Xa="hhgcomp-navigation-itemnav-headeritem",Ja=g.getDefaultClassWrapper(Ka,Xa),$a=A.default.div(Ua||(Ua=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),ei=A.default.div(Ga||(Ga=e.__makeTemplateObject(["\n cursor: pointer;\n * {\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n * {\n pointer-events: none;\n }\n"]))),ni=function(e){var t=e.item,a=e.menu,i=Ya({allowBgScroll:!0}),l=i.containerRef,o=i.onContainerFocus,r=i.onContainerBlur,d=i.onButtonMouseDown,s=i.onClose,p=function(){var e=n.useState(!0),t=e[0],a=e[1];return n.useEffect((function(){a(!1)}),[]),t}();return!t.popupType&&t.link?M.default.createElement(Ja,{className:p?"":"menu-handler-".concat(t.id),tabIndex:0,as:"a",href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},M.default.createElement(ei,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},t.name)):M.default.createElement(Ja,{ref:l,className:p?"":"menu-handler-".concat(t.id),tabIndex:0,key:t.id,onBlur:r,onFocus:o,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},M.default.createElement(ei,{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link,onMouseDown:d},t.name,t.popupType&&M.default.createElement($a,null,M.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M.default.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),M.default.isValidElement(a)?M.default.cloneElement(a,{onClose:s}):null)},ti=function(e){var n,t,a,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===(n=e.child_cates)||void 0===n?void 0:n.map((function(e){return ti(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===(t=e.cat_parent)||void 0===t?void 0:t.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},ai=function(e){var n,t;if(!e)return{};var a=null===(n=e.link)||void 0===n?void 0:n.includes("/bot/"),i=null===(t=e.link)||void 0===t?void 0:t.startsWith("/fil/"),l=e.link?e.link.startsWith("http")||a?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(e.link.replace("/health-tools/","/")):void 0;return{icon:e.icon,link:l,subtitle:e.subtitle,title:e.title}},ii=function(e){return e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{}},li=function(e){return e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{}},oi=function(e){var n,t,a=e.type,i=e.specialtySlug,l=e.locale;return"".concat(null===(n=s.LOCALIZED_SLUGS[l])||void 0===n?void 0:n.ALL,"/").concat((null===(t=s.LOCALIZED_SLUGS[l])||void 0===t?void 0:t[a])||"doctor","/").concat(null!=i?i:"")},ri=function(e){return e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{}},di=function(e){var n=new Date;if(null==e?void 0:e.startDate){var t=new Date(e.startDate);if(n.getTime()<t.getTime())return!1}if(null==e?void 0:e.endDate){var a=new Date(e.endDate);if(n.getTime()>a.getTime())return!1}return!0},si=function(e){var n=e.onClosePopup;return M.default.createElement(ha,{className:"close-btn",onClick:n},M.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))},pi=function(e){var n=e.onClosePopup,t=e.isDisplay,a=e.children,i=e.isNavMenu,l=e.hideCloseBtn;return M.default.createElement(ma,{className:"top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!i},M.default.createElement(v.Container,null,!l&&M.default.createElement(fa,null,M.default.createElement(si,{onClosePopup:n})),M.default.createElement(la,null,a)))},ci=function(e){var t,a=e.careSpecialties,i=void 0===a?[]:a,l=e.isOpen,o=e.onClose,r=e.spotlights,d=void 0===r?[]:r,c=p.useTranslations().t,u=n.useContext(Ze),m=u.locale,f=u.configs.statics,h="".concat(f.CARE_URL_FE,"/").concat(null===(t=s.LOCALIZED_SLUGS[m])||void 0===t?void 0:t.SPECIALTIES);return M.default.createElement(pi,{onClosePopup:o,isDisplay:l,isNavMenu:!0},M.default.createElement(en,{headingTitle:c("home.navigator.menuItem.specialties"),hrefViewMore:h,UrlFE:f.CARE_URL_FE,onClosePopup:o,titleBtnViewMore:c("home.navigator.menuItem.allSpecialties"),menuItems:(null==i?void 0:i.map((function(e){return e?{name:String(e.name)||"",link:oi({type:"DOCTOR",specialtySlug:e.slug,locale:m}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{}})))||[]}),M.default.createElement(Pn,{spotlights:d,hrefViewMore:h}))},ui=function(e){var t=e.categories,a=void 0===t?[]:t,i=e.spotlightsList,l=void 0===i?[]:i,o=e.onClose,r=e.isOpen,d=p.useTranslations().t,s=n.useContext(Ze),c=s.locale,u=s.configs.statics;return M.default.createElement(pi,{onClosePopup:o,isDisplay:r,isNavMenu:!0},M.default.createElement(en,{hrefViewMore:"".concat(u.HOME_PAGE_URL).concat("tl-PH"===c?"/fil":"","/categories/"),UrlFE:u.HOME_PAGE_URL,onClosePopup:o,titleBtnViewMore:d("home.navigator.menuItem.allCategories"),menuItems:(null==a?void 0:a.map((function(e){return e?{name:e.displayName||null,link:(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{}})))||[],headingTitle:d("home.navigator.menuItem.healthCategories")}),M.default.createElement(Qn,{spotlightsList:l,hrefViewMore:"".concat(u.HOME_PAGE_URL).concat("tl-PH"===c?"/fil":"","/spotlight/")}))},mi=function(e){var t=e.communities,a=void 0===t?[]:t,i=e.onClose,l=e.isOpen,o=e.spotlights,r=void 0===o?[]:o,d=p.useTranslations().t,s=n.useContext(Ze).configs.statics;return M.default.createElement(pi,{onClosePopup:i,isDisplay:l,isNavMenu:!0},M.default.createElement(en,{hrefViewMore:s.TOGETHER_URL_FE,UrlFE:s.TOGETHER_URL_FE,onClosePopup:i,titleBtnViewMore:d("home.navigator.menuItem.allCommunities"),menuItems:(null==a?void 0:a.map((function(e){return e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{}})))||[],headingTitle:d("home.navigator.menuItem.allCommunitiesheadingTitle")}),M.default.createElement(bt,{spotlights:r}))},fi=function(e){var t,a=e.locale,i=e.onClose,l=e.isOpen,r=e.spotlightHealthTools,d=void 0===r?[]:r,s=e.healthTools,c=void 0===s?[]:s,u=p.useTranslations().t,m=n.useContext(Ze).configs.statics,f="".concat(m.HOME_PAGE_URL).concat("tl-PH"===a?"/fil":"").concat((null===(t=o.STATIC_PAGES[a])||void 0===t?void 0:t.HEALTH_TOOLS)||"");return M.default.createElement(pi,{onClosePopup:i,isDisplay:l,isNavMenu:!0},M.default.createElement(en,{hrefViewMore:f,UrlFE:m.HOME_PAGE_URL,onClosePopup:i,headingTitle:u("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:u("home.navigator.menuItem.allHealthTools"),menuItems:c.map((function(e){return{name:e.title,link:e.link?e.link.startsWith("http")?e.link:"".concat(m.HOME_PAGE_URL).concat(e.link):void 0,thumbnail:e.icon}}))}),M.default.createElement(Jt,{spotlightHealthTools:d,hrefViewMore:f}))};function hi(e){var n=e.className,t=e.ampHidden,a=e.ampBindHiddenCondition;return M.default.createElement("div",{"data-amp-bind-hidden":a,hidden:t},M.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},M.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function gi(e){var n=e.siteType,t=e.type,i=e.enableSearch,l=e.className,o=e.ampBindHiddenCondition;return"helloSites"===n?M.default.createElement("div",{"data-amp-bind-hidden":o},M.default.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:i?a.CommonGAssets.getAssetPath("hamburgerMenuNewWithSearch.svg"):a.CommonGAssets.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:l})):M.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l},M.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}var xi=A.default.header(Ci||(Ci=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),bi=A.default.div(Ti||(Ti=e.__makeTemplateObject(["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n\n ","\n #categories-menu {\n transition: transform 0.1s, opacity 0.1s;\n opacity: 0;\n transform: translateX(-100%);\n }\n"],["\n margin-right: 8px;\n &[data-event-category] > * {\n pointer-events: none;\n }\n\n ","\n #categories-menu {\n transition: transform 0.1s, opacity 0.1s;\n opacity: 0;\n transform: translateX(-100%);\n }\n"])),(function(n){return!n.isAmp&&i.css(Li||(Li=e.__makeTemplateObject(["\n .mobile-close-icon {\n display: none;\n }\n &:focus-within {\n .mobile-close-icon {\n display: block;\n }\n .mobile-hamburger-icon {\n display: none;\n }\n #categories-menu {\n transform: translateX(0);\n opacity: 1;\n }\n }\n "],["\n .mobile-close-icon {\n display: none;\n }\n &:focus-within {\n .mobile-close-icon {\n display: block;\n }\n .mobile-hamburger-icon {\n display: none;\n }\n #categories-menu {\n transform: translateX(0);\n opacity: 1;\n }\n }\n "])))})),vi=A.default.div(Mi||(Mi=e.__makeTemplateObject(["\n cursor: pointer;\n > * {\n pointer-events: none;\n }\n"],["\n cursor: pointer;\n > * {\n pointer-events: none;\n }\n"]))),yi=A.default.div(Ai||(Ai=e.__makeTemplateObject(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n\n &[data-is-amp='true'] {\n position: relative;\n transform: translateY(0);\n transition: transform 0.5s;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.mbColors.lightPink}),u.MediaQueries.mbUp,u.MediaQueries.mbDown,ea,na,ta,(function(e){return e.theme.mbColors.lightGray})),wi=A.default.div(Bi||(Bi=e.__makeTemplateObject(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),u.MediaQueries.pcDown,u.MediaQueries.mbDown,u.MediaQueries.tdUp),Ei=A.default.div(ji||(ji=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),u.MediaQueries.pcDown),ki=A.default.div(Pi||(Pi=e.__makeTemplateObject([""],[""]))),_i=A.default.div(Oi||(Oi=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n ."," {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n ."," {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),Xa,u.MediaQueries.pcUp,u.MediaQueries.pcDown,u.MediaQueries.mbDown);A.default.div(zi||(zi=e.__makeTemplateObject(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var Ci,Li,Ti,Mi,Ai,Bi,ji,Pi,Oi,zi,Si,Hi,Ni,Di,Ri=A.default.div(Si||(Si=e.__makeTemplateObject(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),u.MediaQueries.pcDown,u.MediaQueries.mbDown),Ui=A.default.div(Hi||(Hi=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Gi=function(e){var t=e.type,a=void 0===t?"home":t,i=e.menuItems,l=n.useContext(Ze),o=l.siteType,r=l.isAmp,d=l.configs.enableSearchBar,s=Ya(),p=s.containerRef,c=s.onContainerFocus,u=s.onContainerBlur,m=s.onButtonMouseDown,f=s.onClose;return M.default.createElement(Va,{mediaQueryKey:"mbDown",forceDisplay:!!r||void 0},r&&M.default.createElement("amp-state",{id:"menu"},M.default.createElement("script",{type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify({lightbox:"closed"})}})),M.default.createElement(xi,null,M.default.createElement(bi,{ref:p,on:"tap:discover-amp-lightbox",role:"button",tabIndex:0,onBlur:u,onFocus:c,isAmp:r},M.default.createElement(vi,{onMouseDown:m,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},M.default.createElement(hi,{className:"mobile-close-icon",ampHidden:r&&!0,ampBindHiddenCondition:"menu.lightbox == 'closed'"}),M.default.createElement(gi,{siteType:o,type:a,enableSearch:d,className:"mobile-hamburger-icon",ampBindHiddenCondition:"menu.lightbox == 'open'"})),!r&&M.default.createElement(Qa,{menuItems:i,closePopup:f}))))},Ii=A.default.div(Ni||(Ni=e.__makeTemplateObject(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray800}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray600}),u.MediaQueries.mbDown,u.MediaQueries.mbUp),Zi=A.default.div(Di||(Di=e.__makeTemplateObject(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return"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 ":""})),Qi=function(e){var t=e.openLogoutPopup,i=e.onCloseHandler,l=e.onLogoutHandler,o=e.siteType,r=void 0===o?"helloSites":o,s=p.useTranslations().t;return n.useEffect((function(){document.body.classList.toggle("noscroll",t)}),[t]),M.default.createElement(k.Portal,null,M.default.createElement(d.Popup,{type:"confirm",isOpen:t,closeIcon:M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:i},M.default.createElement(Ii,null,"helloSites"===r&&M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),M.default.createElement("h2",null,s("helloSites"===r?"logout.popup.ask1":"logout.popup.ask.mb")),M.default.createElement("p",null,s("logout.popup.ask2")),M.default.createElement(Zi,{siteType:r},M.default.createElement(f.Button,{className:"logout-button",color:"tertiary",size:"lg",onClick:l},s("logout.popup.button.logout")),M.default.createElement(f.Button,{className:"cancel-button",color:"primary",size:"lg",onClick:i},s("logout.popup.button.cancel"))))))},Fi=A.default.div(Ki||(Ki=e.__makeTemplateObject(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown,u.MediaQueries.mbUp,u.MediaQueries.mbDown,u.MediaQueries.mbUp,(function(e){return e.theme.colors.gray200}),u.MediaQueries.mbDown,h.theme.colors.neutral100,u.MediaQueries.mbUp),Vi="hhgcomp-navprofilebutton-popup",qi=g.getDefaultClassWrapper(Fi,Vi),Wi=A.default.div(Xi||(Xi=e.__makeTemplateObject(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),u.MediaQueries.mbUp,u.MediaQueries.mbDown),Yi="hhgcomp-navprofilebutton-popupwrapper";g.getDefaultClassWrapper(Wi,Yi);var Ki,Xi,Ji,$i,el,nl,tl,al,il,ll,ol,rl,dl,sl,pl,cl,ul,ml,fl=A.default.div(Ji||(Ji=e.__makeTemplateObject(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(e){return e.theme.colors.secondaryBase})),hl=A.default.a($i||($i=e.__makeTemplateObject(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),Vi,u.MediaQueries.mbDown,Yi),gl=A.default.a(el||(el=e.__makeTemplateObject(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),u.MediaQueries.mbUp,u.MediaQueries.mbUp),xl={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},bl=A.default.div(nl||(nl=e.__makeTemplateObject(["\n cursor: pointer;\n [data-theme='helloSites'] & {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n padding: 12px 16px;\n }\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n min-width: 80px;\n height: 100px;\n border-radius: 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n"],["\n cursor: pointer;\n [data-theme='helloSites'] & {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n padding: 12px 16px;\n }\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n min-width: 80px;\n height: 100px;\n border-radius: 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n"]))),vl=A.default.h3(tl||(tl=e.__makeTemplateObject(["\n white-space: nowrap;\n [data-theme='helloSites'] & {\n font-size: 14px;\n color: ",";\n margin-top: 6px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n margin-top: 8px;\n }\n"],["\n white-space: nowrap;\n [data-theme='helloSites'] & {\n font-size: 14px;\n color: ",";\n margin-top: 6px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n margin-top: 8px;\n }\n"])),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.text_default})),yl=A.default.div(al||(al=e.__makeTemplateObject(["\n background-repeat: no-repeat;\n [data-theme='helloSites'] & {\n height: 28px;\n }\n [data-theme='marryBaby'] & {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-position: center;\n }\n"],["\n background-repeat: no-repeat;\n [data-theme='helloSites'] & {\n height: 28px;\n }\n [data-theme='marryBaby'] & {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n display: flex;\n justify-content: center;\n align-items: center;\n background-position: center;\n }\n"]))),wl={myHealth:h.theme.mbColors.toneYellow,myCommunity:h.theme.mbColors.toneBlue,mySaved:h.theme.mbColors.toneGreen},El={helloSites:{myBooking:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},kl=A.default.div(il||(il=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n padding: 18px 16px;\n &[data-theme='helloSites'] {\n gap: 16px;\n }\n &[data-theme='marryBaby'] {\n font-family: Inter, 'Open Sans', sans-serif;\n gap: 24px;\n }\n\n // reset inherited values\n font-size: initial;\n font-weight: initial;\n line-height: initial;\n"],["\n display: flex;\n flex-direction: column;\n padding: 18px 16px;\n &[data-theme='helloSites'] {\n gap: 16px;\n }\n &[data-theme='marryBaby'] {\n font-family: Inter, 'Open Sans', sans-serif;\n gap: 24px;\n }\n\n // reset inherited values\n font-size: initial;\n font-weight: initial;\n line-height: initial;\n"]))),_l=A.default.div(ll||(ll=e.__makeTemplateObject(["\n flex: 1;\n display: inline-flex;\n flex-wrap: wrap;\n [data-theme='helloSites'] & {\n gap: 8px;\n margin-right: -8px;\n }\n [data-theme='marryBaby'] & {\n gap: 16px;\n }\n"],["\n flex: 1;\n display: inline-flex;\n flex-wrap: wrap;\n [data-theme='helloSites'] & {\n gap: 8px;\n margin-right: -8px;\n }\n [data-theme='marryBaby'] & {\n gap: 16px;\n }\n"]))),Cl=A.default((function(e){var t=e.type,a=e.themeName,i=e.className,l=e.onClick,o=void 0===l?function(){}:l,r=p.useTranslations().t,d=n.useMemo((function(){var e,n;return(null===(n=null===(e=El[a])||void 0===e?void 0:e[t])||void 0===n?void 0:n.call(e))||""}),[t,a]),s=n.useMemo((function(){return"marryBaby"!==a?"transparent":wl[t]}),[t,a]);return M.default.createElement(bl,{onClick:function(){o(t)},className:i},M.default.createElement(yl,{style:{backgroundColor:s,backgroundImage:'url("'.concat(d,'")')}}),M.default.createElement(vl,null,r("userProfile.nav.card.".concat(t))))}))(ol||(ol=e.__makeTemplateObject(["\n [data-theme='helloSites'] & {\n width: calc(50% - 8px);\n }\n [data-theme='marryBaby'] & {\n flex: 1;\n width: 33.33%;\n }\n"],["\n [data-theme='helloSites'] & {\n width: calc(50% - 8px);\n }\n [data-theme='marryBaby'] & {\n flex: 1;\n width: 33.33%;\n }\n"]))),Ll=A.default(f.Button)(rl||(rl=e.__makeTemplateObject(["\n span {\n justify-content: center;\n font-weight: normal;\n img {\n margin-right: 8px;\n }\n }\n\n & .button-icon {\n width: 15px;\n height: 15px;\n }\n"],["\n span {\n justify-content: center;\n font-weight: normal;\n img {\n margin-right: 8px;\n }\n }\n\n & .button-icon {\n width: 15px;\n height: 15px;\n }\n"]))),Tl=A.default.div(dl||(dl=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),Ml=A.default(d.Avatar)(sl||(sl=e.__makeTemplateObject(["\n flex-shrink: 0;\n"],["\n flex-shrink: 0;\n"]))),Al=A.default.div(pl||(pl=e.__makeTemplateObject(["\n flex-grow: 0;\n margin-left: 12px;\n"],["\n flex-grow: 0;\n margin-left: 12px;\n"]))),Bl=A.default.div(cl||(cl=e.__makeTemplateObject(["\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n color: ",";\n font-weight: 700;\n -webkit-line-clamp: 1;\n text-overflow: ellipsis;\n word-break: break-word;\n [data-theme='helloSites'] & {\n font-size: 16px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n font-size: 14px;\n font-weight: 600;\n }\n"],["\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n color: ",";\n font-weight: 700;\n -webkit-line-clamp: 1;\n text-overflow: ellipsis;\n word-break: break-word;\n [data-theme='helloSites'] & {\n font-size: 16px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n font-size: 14px;\n font-weight: 600;\n }\n"])),(function(e){return e.theme.colors.text_black})),jl=A.default.div(ul||(ul=e.__makeTemplateObject(["\n display: flex;\n width: fit-content;\n align-items: center;\n padding-top: 0;\n padding-left: 0;\n background-repeat: no-repeat;\n cursor: pointer;\n font-size: 12px;\n font-weight: normal;\n [data-theme='helloSites'] & {\n padding-right: 15px;\n background-image: ",";\n background-position: right 5px;\n background-size: 5px 8px;\n color: ",";\n }\n [data-theme='marryBaby'] & {\n padding-right: 25px;\n margin-top: 2px;\n background-image: ",";\n background-position: right -2px;\n background-size: 20px 20px;\n color: ",";\n font-weight: 600;\n }\n"],["\n display: flex;\n width: fit-content;\n align-items: center;\n padding-top: 0;\n padding-left: 0;\n background-repeat: no-repeat;\n cursor: pointer;\n font-size: 12px;\n font-weight: normal;\n [data-theme='helloSites'] & {\n padding-right: 15px;\n background-image: ",";\n background-position: right 5px;\n background-size: 5px 8px;\n color: ",";\n }\n [data-theme='marryBaby'] & {\n padding-right: 25px;\n margin-top: 2px;\n background-image: ",";\n background-position: right -2px;\n background-size: 20px 20px;\n color: ",";\n font-weight: 600;\n }\n"])),(function(){return'url("'.concat(a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),'")')}),(function(e){return e.theme.colors.gray600}),(function(){return'url("'.concat(a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),'")')}),(function(e){return e.theme.mbColors.midGray}));function Pl(e){var t=e.userInfo,a=e.onClickMyProfileButton,i=e.themeName,l=void 0===i?"helloSites":i,o=p.useTranslations().t,r=n.useMemo((function(){var e=(null==t?void 0:t.name)||(null==t?void 0:t.username);return e&&e.length?e[0].toUpperCase():"A"}),[null==t?void 0:t.username,null==t?void 0:t.name]);return M.default.createElement(Tl,{onClick:function(){a&&a()}},M.default.createElement(Ml,{type:"rounded",size:"xl",avatarUrl:null==t?void 0:t.avatar,firstLetter:r,backgroundColor:"marryBaby"===l?h.theme.mbColors.pink:h.theme.colors.secondaryBase}),M.default.createElement(Al,null,M.default.createElement(Bl,null,(null==t?void 0:t.name)||(null==t?void 0:t.username)),M.default.createElement(jl,null,o("userProfile.nav.header.viewProfile"))))}A.default.div(ml||(ml=e.__makeTemplateObject(["\n display: flex;\n flex: 1;\n justify-content: flex-end;\n"],["\n display: flex;\n flex: 1;\n justify-content: flex-end;\n"])));var Ol,zl,Sl,Hl,Nl,Dl,Rl,Ul,Gl,Il,Zl,Ql,Fl,Vl,ql,Wl,Yl=A.default.div(Ol||(Ol=e.__makeTemplateObject(["\n user-select: none;\n overflow: hidden;\n font-size: 14px;\n color: ",";\n [data-theme='helloSites'] & {\n padding: 8px 0;\n background-color: ",";\n }\n margin: 0 -16px;\n"],["\n user-select: none;\n overflow: hidden;\n font-size: 14px;\n color: ",";\n [data-theme='helloSites'] & {\n padding: 8px 0;\n background-color: ",";\n }\n margin: 0 -16px;\n"])),(function(e){return e.theme.colors.gray800}),(function(e){return e.theme.colors.neutral50})),Kl=A.default.div(Sl||(Sl=e.__makeTemplateObject(["\n background-color: white;\n border: 1px solid transparent;\n transition: margin 0.3 linear;\n cursor: pointer;\n\n ","\n\n margin-top: 0;\n transition: margin 200ms;\n\n &[data-is-open='true'] {\n & > div:first-child {\n border-bottom-color: ",";\n }\n & + div {\n margin-top: 8px;\n }\n & + .nav-menu-item {\n border-top-color: transparent;\n }\n }\n\n [data-theme='helloSites'] & {\n & + .nav-menu-item {\n border-top-color: ",";\n }\n }\n\n [data-theme='marryBaby'] & {\n & + .nav-menu-item::before {\n content: '';\n display: block;\n height: 1px;\n background-color: ",";\n margin: 0 50px;\n }\n }\n\n .nav-menu-item {\n padding-left: 33px;\n }\n"],["\n background-color: white;\n border: 1px solid transparent;\n transition: margin 0.3 linear;\n cursor: pointer;\n\n ","\n\n margin-top: 0;\n transition: margin 200ms;\n\n &[data-is-open='true'] {\n & > div:first-child {\n border-bottom-color: ",";\n }\n & + div {\n margin-top: 8px;\n }\n & + .nav-menu-item {\n border-top-color: transparent;\n }\n }\n\n [data-theme='helloSites'] & {\n & + .nav-menu-item {\n border-top-color: ",";\n }\n }\n\n [data-theme='marryBaby'] & {\n & + .nav-menu-item::before {\n content: '';\n display: block;\n height: 1px;\n background-color: ",";\n margin: 0 50px;\n }\n }\n\n .nav-menu-item {\n padding-left: 33px;\n }\n"])),(function(n){return n.hasSubmenu&&i.css(zl||(zl=e.__makeTemplateObject(["\n cursor: pointer;\n "],["\n cursor: pointer;\n "])))}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.colors.neutral100}),(function(e){return e.theme.mbColors.lightGray})),Xl=A.default.div(Hl||(Hl=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 18px;\n border: 1px solid transparent;\n transition: border-color 300ms;\n"],["\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 18px;\n border: 1px solid transparent;\n transition: border-color 300ms;\n"]))),Jl=A.default.div(Nl||(Nl=e.__makeTemplateObject(["\n width: 20px;\n height: 20px;\n margin-right: 14px;\n background-repeat: no-repeat;\n background-position: center;\n"],["\n width: 20px;\n height: 20px;\n margin-right: 14px;\n background-repeat: no-repeat;\n background-position: center;\n"]))),$l=A.default.div(Dl||(Dl=e.__makeTemplateObject(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n &::after {\n content: '';\n display: block;\n width: 12px;\n height: 10px;\n background-image: ",";\n background-repeat: no-repeat;\n background-position: center;\n [data-is-open='true'] & {\n transform: rotate(-180deg);\n }\n }\n"],["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n &::after {\n content: '';\n display: block;\n width: 12px;\n height: 10px;\n background-image: ",";\n background-repeat: no-repeat;\n background-position: center;\n [data-is-open='true'] & {\n transform: rotate(-180deg);\n }\n }\n"])),(function(){return'url("'.concat(a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),'")')})),eo=A.default.div(Rl||(Rl=e.__makeTemplateObject(["\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.3s ease-out;\n\n [data-is-open='true'] & {\n max-height: 100px;\n transition-timing-function: ease-in;\n }\n"],["\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.3s ease-out;\n\n [data-is-open='true'] & {\n max-height: 100px;\n transition-timing-function: ease-in;\n }\n"]))),no=function(e){var t=e.themeName,i=e.locale,l=e.onClickItem,o=n.useState(""),r=o[0],d=o[1],s=p.useTranslations().t,c=n.useMemo((function(){return"marryBaby"===t?[{key:"userProfile.nav.menu.password",icon:a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[t]);return M.default.createElement(Yl,null,c.map((function e(n){var t;return(null===(t=n.disableLocale)||void 0===t?void 0:t.includes(i))?null:M.default.createElement(Kl,{className:"nav-menu-item","data-is-open":r===n.key,key:n.key,hasSubmenu:!!n.subMenu},M.default.createElement(Xl,{onClick:function(){return function(e){e.subMenu?d((function(n){return n?"":e.key})):l&&l(e)}(n)}},n.icon&&M.default.createElement(Jl,{style:{backgroundImage:'url("'.concat(n.icon,'")')}}),s(n.key),n.subMenu&&M.default.createElement($l,null)),n.subMenu&&M.default.createElement(eo,null,n.subMenu.map(e)))})))},to=A.default.div(Ul||(Ul=e.__makeTemplateObject(["\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n border-radius: 8px;\n overflow: hidden;\n }\n"],["\n [data-theme='marryBaby'] & {\n box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);\n border-radius: 8px;\n overflow: hidden;\n }\n"]))),ao=A.default.div(Gl||(Gl=e.__makeTemplateObject(["\n [data-theme='helloSites'] & {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n overflow: hidden;\n }\n"],["\n [data-theme='helloSites'] & {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n overflow: hidden;\n }\n"]))),io=A.default.div(Il||(Il=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0 16px;\n font-size: 14px;\n [data-theme='helloSites'] & {\n height: 42px;\n }\n [data-theme='marryBaby'] & {\n height: 52px;\n }\n\n [data-theme='helloSites'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n [data-theme='marryBaby'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n padding: 0 16px;\n font-size: 14px;\n [data-theme='helloSites'] & {\n height: 42px;\n }\n [data-theme='marryBaby'] & {\n height: 52px;\n }\n\n [data-theme='helloSites'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n [data-theme='marryBaby'] [data-user-rank='member'] & {\n color: ",";\n background-color: ",";\n }\n"])),(function(e){return e.theme.colors.blue600}),(function(e){return e.theme.colors.blue50}),(function(e){return e.theme.mbColors.blue}),(function(e){return e.theme.mbColors.toneBlue})),lo=A.default.div(Zl||(Zl=e.__makeTemplateObject(["\n background-repeat: no-repeat;\n background-position: center;\n [data-theme='helloSites'] & {\n height: 18px;\n width: 18px;\n }\n [data-theme='marryBaby'] & {\n height: 24px;\n width: 24px;\n }\n"],["\n background-repeat: no-repeat;\n background-position: center;\n [data-theme='helloSites'] & {\n height: 18px;\n width: 18px;\n }\n [data-theme='marryBaby'] & {\n height: 24px;\n width: 24px;\n }\n"]))),oo=A.default.h3(Ql||(Ql=e.__makeTemplateObject(["\n font-size: 14px;\n [data-theme='helloSites'] & {\n margin-left: 6px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n margin-left: 8px;\n font-weight: 500;\n }\n"],["\n font-size: 14px;\n [data-theme='helloSites'] & {\n margin-left: 6px;\n font-weight: 600;\n }\n [data-theme='marryBaby'] & {\n margin-left: 8px;\n font-weight: 500;\n }\n"]))),ro=A.default.p(Fl||(Fl=e.__makeTemplateObject(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n font-weight: 600;\n [data-theme='helloSites'] & {\n font-size: 14px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n }\n"],["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n font-weight: 600;\n [data-theme='helloSites'] & {\n font-size: 14px;\n }\n [data-theme='marryBaby'] & {\n font-size: 12px;\n color: ",";\n }\n"])),(function(e){return e.theme.mbColors.gray}));A.default.div(Vl||(Vl=e.__makeTemplateObject(["\n display: flex;\n font-size: 12px;\n margin-top: 6px;\n [data-theme='helloSites'] & {\n color: ",";\n }\n [data-theme='marryBaby'] & {\n color: ",";\n }\n"],["\n display: flex;\n font-size: 12px;\n margin-top: 6px;\n [data-theme='helloSites'] & {\n color: ",";\n }\n [data-theme='marryBaby'] & {\n color: ",";\n }\n"])),(function(e){return e.theme.color.gray500}),(function(e){return e.theme.mbColors.midGray})),A.default.div(ql||(ql=e.__makeTemplateObject(["\n .theme--hb & {\n font-weight: bold;\n color: ",";\n }\n .theme--mb & {\n margin-left: 6px;\n }\n"],["\n .theme--hb & {\n font-weight: bold;\n color: ",";\n }\n .theme--mb & {\n margin-left: 6px;\n }\n"])),(function(e){return e.theme.colors.gray600})),A.default.div(Wl||(Wl=e.__makeTemplateObject(["\n .theme--hb & {\n color: ",";\n }\n .theme--mb & {\n margin-left: 3px;\n }\n"],["\n .theme--hb & {\n color: ",";\n }\n .theme--mb & {\n margin-left: 3px;\n }\n"])),(function(e){return e.theme.colors.gray500}));var so={helloSites:{member:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return a.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},po=function(e){var t=e.themeName,a=e.rank,i=void 0===a?"member":a,l=e.numberOfPosts,o=void 0===l?0:l,r=p.useTranslations().t,d=n.useMemo((function(){var e,n;return(null===(n=null===(e=so[t])||void 0===e?void 0:e[i])||void 0===n?void 0:n.call(e))||""}),[i,t]);return M.default.createElement(to,{"data-user-rank":i},M.default.createElement(ao,null,M.default.createElement(io,null,M.default.createElement(lo,{style:{backgroundImage:'url("'.concat(d,'")')}}),M.default.createElement(oo,null,r("userProfile.userRank.".concat(i))),o>0&&M.default.createElement(ro,null,o," ",r("userProfile.nav.header.count.posts")))))},co=function(t){var i=t.SSO_URL,l=t.UP_BASEPATH,r=void 0===l?"user":l,d=t.themeName,s=void 0===d?"helloSites":d,c=t.cardUrls,u=void 0===c?xl:c,m=t.enableCare,f=t.enableTogether,h=t.enableEcom,g=t.userInfo,x=t.togetherApiDomain,b=t.userPostsNumber,v=t.onClickNavigationCard,y=t.onClickMyProfileButton,w=t.onClickMenuItem,E=t.onClickLogout,k=t.isUserProfileNavigatorMenuHidden,C=void 0!==k&&k,L=t.isMyHealthEnabled,T=void 0!==L&&L,A=t.locale,B=p.useTranslations().t,j=n.useState(b||0),P=j[0],z=j[1],S="marryBaby"===s;n.useEffect((function(){if(g&&void 0===b){var n=_.getCookie("hhg_user_token");n&&fetch(function(n,t,a,i){return(a||"https://together.hellohealthgroup.com/")+"api/v1/"+O.default($t,e.__assign(e.__assign({},i),{websiteUrl:t?"https://marrybaby.vn":"https://".concat(o.domainLocales[n])}))}(A,S,x),{headers:{Authorization:"Bearer ".concat(n)}}).then((function(e){return e.json()})).then((function(e){var n,t,a;1===(null==e?void 0:e.status)&&(null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.pagination)&&z((null===(a=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)||void 0===a?void 0:a.total_items)||0)})).catch((function(e){return console.error("Error fetching post number",e)}))}}),[A,null!==g,b,x,S]);var H=n.useMemo((function(){return(S?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(e){return"myBooking"===e?m:"myCommunity"===e?f:"myHealth"===e?T:"eCom"!==e||h}))}),[S,T]),N=n.useMemo((function(){return"marryBaby"===s?null:M.default.createElement(Ll,{color:"tertiary",icon:M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:E},B("userProfile.nav.menu.logout"))}),[s]),D=function(e){window.location.href="".concat(i).concat(r,"/").concat(e)},R=function(e){var n=u[e];v?v(n):D(n)};return g?M.default.createElement(kl,{"data-theme":s},M.default.createElement(Pl,{userInfo:g,themeName:s,onClickMyProfileButton:function(){y?y():D("profile")}}),M.default.createElement(po,{themeName:s,rank:"member",numberOfPosts:P}),M.default.createElement(_l,null,H.map((function(e){return M.default.createElement(Cl,{key:e,themeName:s,type:e,onClick:R})}))),!C&&M.default.createElement(M.default.Fragment,null,M.default.createElement(no,{themeName:s,locale:A,onClickItem:function(e){"logout"===e.link&&E?E():e.link&&!e.subMenu&&(w?w(e.link):D(e.link))}}),N)):null},uo=function(e){var n=e.type,t=void 0===n?"lead":n,a=e.closeIcon,i=e.isOpen,l=void 0===i||i,o=e.onClose,r=e.children,d=e.enableAnimation,s=void 0===d||d,p=e.targetAvatar,c=e.id,u=e.className;return M.default.createElement(qi,{"data-open":l,"data-type":t,"data-animation":s,"data-target":p,id:c,className:u},M.default.createElement("div",{className:"popup-content"},!!a&&M.default.createElement("div",{className:"close-button",onClick:o},a),r))},mo=function(e){var n=e.SSO_URL,t=e.UP_BASEPATH,a=e.isOpen,i=e.targetAvatar,l=e.userInfo,o=e.enableCare,r=e.enableTogether,d=e.enableEcom,s=e.closePopup,p=e.siteType,c=void 0===p?"helloSites":p,u=e.dispatchLogout,m=e.userProfileRouterPush,f=e.isUserProfileNavigatorMenuHidden,h=e.isMyHealthEnabled,g=void 0!==h&&h,x=e.togetherApiDomain,b=e.locale,v=function(e){m?m("/".concat(e)):n&&(window.location.href="".concat(n).concat(t,"/").concat(e))},y=function(e){v(e),s()};return M.default.createElement(uo,{isOpen:a,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:s},M.default.createElement(co,{SSO_URL:n,UP_BASEPATH:t,themeName:c,userInfo:l,enableCare:o,enableTogether:r,enableEcom:d,onClickLogout:function(){u&&(u(),s())},onClickMenuItem:y,onClickNavigationCard:y,onClickMyProfileButton:function(){v("profile"),s()},isUserProfileNavigatorMenuHidden:f,isMyHealthEnabled:g,togetherApiDomain:x,locale:b}))},fo=function(t){var i=t.userInfo,o=t.siteType,r=t.isAmp,s=t.goToLogin,c=t.SSO_URL,u=t.currentUrl,m=t.isMinifyLogin,g=t.enableCare,x=t.enableTogether,b=t.enableEcom,v=t.isUserProfileNavigatorMenuHidden,y=t.UP_BASEPATH,w=t.isMyHealthEnabled,E=t.togetherApiDomain,k=t.onLogout,_=t.style,C=t.userProfileRouterPush,L=t.isLoading,T=t.locale,A=p.useTranslations().t,B=n.useState(!1),j=B[0],P=B[1],O=(null==i?void 0:i.name)||(null==i?void 0:i.username),z=n.useState(!1),S=z[0],H=z[1];n.useEffect((function(){H(!0)}),[]);var N=Ya(),D=N.containerRef,R=N.onContainerFocus,U=N.onContainerBlur,G=N.onButtonMouseDown,I=N.onClose;return L&&!r?M.default.createElement(f.Button,{size:"sm",color:"transparent",isLoading:!0}):(null==i?void 0:i.id)?M.default.createElement(M.default.Fragment,null,M.default.createElement(hl,{ref:D,href:r?"".concat(c,"user/profile"):void 0,style:_,tabIndex:0,onBlur:U,onFocus:R},M.default.createElement("div",{onMouseDown:G},M.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},M.default.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),M.default.createElement(d.Avatar,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==i?void 0:i.avatar,firstLetter:O&&O.length?O[0].toUpperCase():"A",backgroundColor:"marryBaby"===o?h.theme.mbColors.pink:h.theme.colors.secondaryBase,isAmp:r})),!r&&M.default.createElement(mo,{UP_BASEPATH:y,SSO_URL:c,dispatchLogout:function(){I(),P(!0)},isOpen:!1,isMyHealthEnabled:w,enableCare:g,enableTogether:x,enableEcom:b,closePopup:I,userInfo:i,siteType:o,isUserProfileNavigatorMenuHidden:v,togetherApiDomain:E,userProfileRouterPush:C,locale:T})),!r&&M.default.createElement(Qi,{openLogoutPopup:j,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),P(!1)},siteType:o,onLogoutHandler:function(){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return P(!1),document.body.classList.toggle("noscroll",!1),[4,k()];case 1:return e.sent(),[2]}}))}))}})):M.default.createElement(gl,{style:e.__assign({textDecoration:"none"},_),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":u,href:r?"".concat(c,"?returnUrl=").concat(u.replace("?amp=1","")):S?void 0:"".concat(c,"?returnUrl=").concat(u),"data-site-type":o},m?M.default.createElement(fl,{onClick:s},M.default.createElement("img",{"data-src":a.CommonGAssets.getAssetPath("lock.png"),className:"avatar lazy",alt:"avatar"})):M.default.createElement(M.default.Fragment,null,"helloSites"===o&&M.default.createElement("img",{className:"mobile-only",src:a.CommonGAssets.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:s}),"marryBaby"===o&&M.default.createElement("div",{className:"mobile-only",onClick:s,style:{paddingLeft:16}},M.default.createElement(l.Text,{size:"p3",color:h.theme.mbColors.pink},A("navigation.loginJoin"))),M.default.createElement(f.Button,{className:"login-btn",size:"md",color:"tertiary",onClick:s,icon:M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("login.svg"),width:18,height:18}),theme:o},A("navigation.loginJoin"))))};function ho(e){var t=e.goToLogin,a=n.useContext(Ze),i=a.siteType,l=a.isAmp,r=a.userState.userInfo,d=a.currentUrl,s=a.locale,p=a.onLogout,c=a.userProfileRouterPush,u=a.configs,m=u.enableNavCare,f=u.enableProfileMyHealth,h=u.enableNavTogether,g=u.enableProfileEcom,x=u.statics,b=u.enableProfileNavigatorMenu,v=a.isUserLoading;return M.default.createElement(fo,{userInfo:r,siteType:i,isAmp:l,goToLogin:t,SSO_URL:x.SSO_URL+"/",currentUrl:d,onLogout:p,UP_BASEPATH:o.UP_BASEPATH,isMyHealthEnabled:f,enableCare:m,enableTogether:h,enableEcom:g,togetherApiDomain:x.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!b,userProfileRouterPush:c,isLoading:v,locale:s})}var go,xo,bo,vo,yo=function(e){var t,i,l,r,d,s=e.onTopBarAppears,c=e.type,u=void 0===c?"home":c,m=e.languageMenu,f=e.menuItems,h=e.setSitewideBannerClosed,g=e.sitewideBannerClosed,x=n.useContext(Ze),b=x.siteType,y=x.isAmp,E=x.isMobile,k=void 0!==E&&E,_=x.locale,C=x.sitewideBanner,L=x.sitewideBannerShown,T=void 0===L||L,A=x.sponsorComponent,B=x.onBookingClick,j=x.currentUrl,O=x.ssrMenuContent,z=O.categories,S=O.healthTools,H=O.care,N=O.together,D=x.configs,R=D.statics,U=D.enableNavCareBooking,G=D.enableSearchBar,I=p.useTranslations().t,Z=R.SSO_URL,Q=R.HOME_PAGE_URL,F=!!A,V=n.useState(!1),q=V[0],W=V[1],Y=n.useRef(47),K=n.useRef(null),X=n.useRef(!1),J="helloSites"===b?null===(t=o.LOCALE_SPECS[_])||void 0===t?void 0:t.LOGO_TYPE:b,$="undefined"!=typeof window,ee=n.useCallback(P.default((function(){if("home"===u&&$){if(!K.current)return;var e=K.current.getBoundingClientRect();e.top<=0&&window.scrollY>Y.current&&window.scrollY>e.height+20&&!X.current&&(X.current=!0,W(!0)),window.scrollY<Y.current&&X.current&&(X.current=!1,W(!1)),window.scrollY>=0&&(Y.current=window.scrollY)}}),200),[]);n.useEffect((function(){null==s||s(!q)}),[q]),n.useEffect((function(){return window.addEventListener("scroll",ee,{passive:!0}),function(){window.removeEventListener("scroll",ee)}}),[]),n.useEffect((function(){k&&ee()}),[k]),n.useEffect((function(){null===w.lazyLoadInstance||void 0===w.lazyLoadInstance||w.lazyLoadInstance.update(document.querySelectorAll("#site-header img"))}),[null===(i=null==z?void 0:z.items)||void 0===i?void 0:i.length,null===(l=null==S?void 0:S.items)||void 0===l?void 0:l.length,null===(r=null==H?void 0:H.items)||void 0===r?void 0:r.length,null===(d=null==N?void 0:N.items)||void 0===d?void 0:d.length,k]);var ne=T&&!!C&&!g;return M.default.createElement(yi,{"data-site-type":b,"data-sponsored":F,"data-sitewide-banner-shown":ne,"data-header-type":u,"data-collapsed":q,"data-with-search-input":"popup-sub-level"!==u,"data-is-displayed":!0,"data-is-amp":y,id:"site-header",ref:K},C?M.default.isValidElement(C)?M.default.cloneElement(C,{isCollapsed:q,setBannerClosed:h,isAmp:y,isMobile:k}):C:null,M.default.createElement(wi,{"data-site-type":b},M.default.createElement(Ei,{"data-site-type":b},M.default.createElement(Gi,{menuItems:f,type:u}),M.default.createElement("a",{href:Q},M.default.createElement(ki,null,M.default.createElement(v.Logo,{style:{display:"flex"},type:J,badge:"id-ID"===_&&(y?M.default.createElement("amp-img",{src:a.CommonGAssets.getAssetPath("sehat-badge.png"),width:"56",height:"23"}):M.default.createElement("img",{src:a.CommonGAssets.getAssetPath("sehat-badge.png"),width:"56",height:"23"})),dateForSeasonal:new Date,locale:_,key:"undefined"!=typeof window?"client":"server"}))),!y&&("marryBaby"===b?M.default.createElement(Eo,{menuItems:f}):G&&M.default.createElement(wo,{siteType:b}))),M.default.createElement(_i,{"data-site-type":b},!y&&("marryBaby"===b?G&&M.default.createElement(wo,{siteType:b}):M.default.createElement(Eo,{menuItems:f})),M.default.createElement(Ri,null,U&&!y&&M.default.createElement(Va,{mediaQueryKey:"mbUp",forceDisplay:!y&&void 0},M.default.createElement(Wa,{careUrlFe:R.CARE_URL_FE,currentUrl:j,btnName:I("login.booking"),onCareHeaderClick:B})),m,M.default.createElement(ho,{goToLogin:function(){var e=window.location.href;window.location.href=Z?"".concat(Z,"?returnUrl=").concat(e):e}})))),A?M.default.isValidElement(A)?M.default.cloneElement(A,{isCollapsed:q,locale:_,isMobile:k,isAmp:y}):A:null)},wo=function(e){var n=e.siteType;return M.default.createElement(Va,{mediaQueryKey:"mbUp",className:"marryBaby"===n?"marry-baby":""},M.default.createElement(Ve,null))},Eo=function(e){var t=e.menuItems,a=n.useContext(Ze),i=a.siteType,l=a.locale,o=a.ssrMenuContent,r=o.categories,d=o.healthTools,s=o.care,p=o.together;return M.default.createElement(Va,{mediaQueryKey:"mbUp",style:{height:"100%"}},M.default.createElement(Ui,{"data-site-type":i},null==t?void 0:t.map((function(e,n){return M.default.createElement(ni,{key:n,item:e,menu:"categories"===e.popupType?M.default.createElement(ui,{categories:null==r?void 0:r.items,spotlightsList:null==r?void 0:r.spotlights}):"tools"===e.popupType?M.default.createElement(fi,{locale:l,healthTools:null==d?void 0:d.items,spotlightHealthTools:null==d?void 0:d.spotlights}):"together"===e.popupType?M.default.createElement(mi,{communities:null==p?void 0:p.items,spotlights:null==p?void 0:p.spotlights}):"care"===e.popupType?M.default.createElement(ci,{careSpecialties:null==s?void 0:s.items,spotlights:null==s?void 0:s.spotlights}):null})}))))},ko=A.default.div(xo||(xo=e.__makeTemplateObject(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n ","\n\n .amp-header {\n position: fixed;\n z-index: var(--header-z-index);\n top: 0;\n left: 0;\n width: 100vw;\n max-width: 100vw;\n\n > [data-site-type] {\n border-bottom: none;\n }\n }\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > amp-lightbox {\n pointer-events: auto;\n }\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n ","\n\n .amp-header {\n position: fixed;\n z-index: var(--header-z-index);\n top: 0;\n left: 0;\n width: 100vw;\n max-width: 100vw;\n\n > [data-site-type] {\n border-bottom: none;\n }\n }\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > amp-lightbox {\n pointer-events: auto;\n }\n > section * {\n pointer-events: auto;\n }\n"])),u.MediaQueries.mbDown,(function(n){return!n.isAmp&&i.css(go||(go=e.__makeTemplateObject(["\n -webkit-transform: translateZ(0);\n position: sticky;\n "],["\n -webkit-transform: translateZ(0);\n position: sticky;\n "])))}));A.default.div(bo||(bo=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),A.default.a(vo||(vo=e.__makeTemplateObject(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));var _o=function(t){var i,l,r=t.isMobile,d=t.isAmp,s=void 0!==d&&d,c=t.locale,u=t.onTopBarAppears,m=t.languageOptions,f=t.ampSubBar,h=t.sponsorComponent,g=t.sitewideBanner,x=t.sitewideBannerShown,b=t.className,v=n.useState(!1),y=v[0],w=v[1],E=function(){var e=p.useTranslations().t,t=n.useContext(Ze),i=t.siteType,l=t.locale,r=t.configs,d=r.enableNavCare,s=r.enableNavTogether,c=r.enableNavEcom,u=r.statics,m="marryBaby"===i,f=n.useMemo((function(){var n,t=[{name:e("home.navigator.menuItem.discover"),id:"categories",link:"".concat(u.HOME_PAGE_URL).concat("tl-PH"===l?"/fil":"","/categories"),niceName:"",thumbnail:m?a.CommonGAssets.getAssetPath("categories-mb.svg"):a.CommonGAssets.getAssetPath("discover.png"),popupType:"categories"},{name:e("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(u.HOME_PAGE_URL).concat("tl-PH"===l?"/fil":"").concat((null===(n=o.STATIC_PAGES[l])||void 0===n?void 0:n.HEALTH_TOOLS)||""),thumbnail:m?a.CommonGAssets.getAssetPath("healthtools-mb.svg"):a.CommonGAssets.getAssetPath("healthTools.png"),popupType:"tools"}];return d&&t.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:u.HOME_PAGE_URL+"/care",thumbnail:a.CommonGAssets.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===l?null:"care"}),s&&t.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:u.TOGETHER_URL_FE+"/",thumbnail:m?a.CommonGAssets.getAssetPath("community-mb.svg"):a.CommonGAssets.getAssetPath("together.png"),popupType:"together"}),c&&t.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:u.HOME_PAGE_URL+"/ecom",thumbnail:a.CommonGAssets.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),t}),[l,d,s,c]);return f}();!function(){var t=n.useContext(Ze),a=t.isFirstLogin,i=t.userState.userInfo;n.useEffect((function(){(null==i?void 0:i.id)&&(a?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:e.__assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])}();var k=s&&{"next-page-hide":""},_=function(e){var t=e.hasSponsoredBanners,a=e.isSiteWide,i=e.isSponsored,l=e.isShowingSiteWideBanner,o=e.isMobile,r=e.showAmpSubBar,d=n.useRef(null),s=n.useState(0),p=s[0],c=s[1],u=n.useState(64),m=u[0],f=u[1],h=n.useCallback(z.default((function(){var e,n,t,a,i=(null===(e=d.current)||void 0===e?void 0:e.clientHeight)||(null===(t=null===(n=d.current)||void 0===n?void 0:n.children[0])||void 0===t?void 0:t.clientHeight)||0;window.scrollY<=i+200&&(c(i),f((null===(a=d.current)||void 0===a?void 0:a.getBoundingClientRect().bottom)||p))}),200),[]);n.useEffect((function(){return window.addEventListener("resize",h),window.addEventListener("scroll",h),h(),function(){window.removeEventListener("resize",h),window.removeEventListener("scroll",h)}}),[]),n.useEffect((function(){h()}),[r,o,a,l,i,t,d.current]);var g=n.useMemo((function(){var e=o?64:69;return l&&(e+=64),i&&(e+=40,t&&(e+=57)),r&&(e+=32),e}),[o,l,t,i,r]);return{defaultHeaderHeight:g,headerHeight:p||g,headerBottom:m,headerRef:d}}({isSiteWide:!!g&&!y,isShowingSiteWideBanner:x&&!!g&&!y,isSponsored:!!h,hasSponsoredBanners:!!(null===(l=null===(i=null==h?void 0:h.props)||void 0===i?void 0:i.sponsoredBy)||void 0===l?void 0:l.length),isMobile:r,showAmpSubBar:s&&!!f}),C=_.headerRef,L=_.defaultHeaderHeight,T=_.headerHeight,A=_.headerBottom;return M.default.createElement(ko,{id:"navigation-v2",style:{"--default-header-height":L+"px","--header-height":"calc(".concat(T,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":A+"px"},isAmp:s,className:"".concat(s&&x?"nav-open":""," ").concat(b)},M.default.createElement("section",e.__assign({className:s?"amp-header":void 0,"next-page-replace":"hhg-navigator","amp-fx":"float-in-top"},k,{ref:C,style:s?{overflow:"hidden"}:void 0}),M.default.createElement(yo,{menuItems:E,type:"home",onTopBarAppears:r?function(e){u&&u(e)}:void 0,languageMenu:M.default.createElement(Ge,{languageOptions:m,locale:c}),setSitewideBannerClosed:w,sitewideBannerClosed:y}),r&&s&&void 0!==f&&M.default.createElement(M.default.Fragment,null,f)),s&&M.default.createElement("amp-lightbox",{id:"discover-amp-lightbox",layout:"nodisplay",style:{width:"100vw",maxWidth:"100vw"},on:"lightboxOpen:AMP.setState({menu: {lightbox: 'open'}});lightboxClose:AMP.setState({menu: {lightbox: 'closed'}})"},M.default.createElement("div",e.__assign({style:{position:"absolute",width:"100%",height:"100%"},role:"button",tabIndex:1},{on:"tap:discover-amp-lightbox.close"})),M.default.createElement(Qa,{menuItems:E})))},Co=function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t,a,i,l,s,p,c,u,m,f,h,g,x,b,v,y,w,E,k,_,C,L,T,M,A,B,j,P,O,z,S,H,N,D,R,U;return e.__generator(this,(function(e){switch(e.label){case 0:t={},a="vi-VN_MB"===n,e.label=1;case 1:e.trys.push([1,14,,15]),i="tl-PH"===n?"lang=fil":"",e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(r.getDiscoverApiDomain(n),"/wp-json/api/categories").concat(i?"?"+i:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(n),"/wp-json/api/spotlights?per_page=10").concat(i?"&"+i:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(n),"/wp-json/api/").concat(a?"health-tools":"healthtools").concat(i?"?"+i:"")).then((function(e){return e.json()})),fetch("".concat(r.getDiscoverApiDomain(n),"/wp-json/api/").concat(a?"health-tools":"healthtools","/favorites").concat(i?"?"+i:"")).then((function(e){return e.json()}))])];case 3:return l=e.sent(),s=l[0],p=l[1],c=l[2],u=l[3],t.categories={items:(null===(w=null===(y=null==s?void 0:s.data)||void 0===y?void 0:y.map)||void 0===w?void 0:w.call(y,ti))||[],spotlights:(null===(C=null===(_=null===(k=null===(E=null==p?void 0:p.data)||void 0===E?void 0:E.articles)||void 0===k?void 0:k.map)||void 0===_?void 0:_.call(k,ri))||void 0===C?void 0:C.filter(di))||[]},t.healthTools={items:(null===(T=null===(L=null==c?void 0:c.data)||void 0===L?void 0:L.map)||void 0===T?void 0:T.call(L,ai))||[],spotlights:(null===(A=null===(M=null==u?void 0:u.data)||void 0===M?void 0:M.map)||void 0===A?void 0:A.call(M,ai))||[]},[3,5];case 4:return e.sent(),[3,5];case 5:if(!a&&!o.TOGETHER_LOCALES.includes(n))return[3,9];e.label=6;case 6:return e.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(r.getTogetherApiDomain(),"/api/v1/community?website_url=https://").concat(o.domainLocales[n])).then((function(e){return e.json()})),fetch("".concat(r.getTogetherApiDomain(),"/api/v1/options?website_url=https://").concat(o.domainLocales[n],"&meta_key=popular_post")).then((function(e){return e.json()}))])];case 7:return m=e.sent(),f=m[0],h=m[1],t.together={items:(null===(P=null===(j=null===(B=null==f?void 0:f.data)||void 0===B?void 0:B.communities)||void 0===j?void 0:j.map)||void 0===P?void 0:P.call(j,d.formatCommunity))||[],spotlights:(null===(S=null===(z=null===(O=null==h?void 0:h.data)||void 0===O?void 0:O.posts)||void 0===z?void 0:z.map)||void 0===S?void 0:S.call(z,d.formatPost))||[]},[3,9];case 8:return e.sent(),[3,9];case 9:if(!o.CARE_LOCALES.includes(n))return[3,13];e.label=10;case 10:return e.trys.push([10,12,,13]),[4,Promise.all([fetch(r.getCareApiDomain()+"/api/specialties?_ishome=1&site=".concat(o.domainLocales[n])).then((function(e){return e.json()})),fetch(r.getCareApiDomain()+"/api/search/?site=".concat(o.domainLocales[n],"&type=hospital&order_by=total_doctor")).then((function(e){return e.json()}))])];case 11:return g=e.sent(),x=g[0],b=g[1],t.care={items:(null===(D=null===(N=null===(H=null==x?void 0:x._data)||void 0===H?void 0:H.specialties)||void 0===N?void 0:N.map)||void 0===D?void 0:D.call(N,ii))||[],spotlights:(null===(U=null===(R=null==b?void 0:b._data.searches)||void 0===R?void 0:R.map)||void 0===U?void 0:U.call(R,li))||[]},[3,13];case 12:return e.sent(),[3,13];case 13:return[3,15];case 14:return v=e.sent(),console.error(v),[3,15];case 15:return[2,t]}}))}))};exports.Flag=te,exports.LanguageSwitcher=Ge,exports.NavHeader=Pl,exports.NavigationLogoutPopup=Qi,exports.NavigationProfileButton=fo,exports.NavigationV2=function(n){var t=e.__assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},n);return M.default.createElement(Qe,e.__assign({},t),M.default.createElement(_o,e.__assign({},t)))},exports.ProfilePopup=mo,exports.PureInput=ue,exports.UserProfileNavigation=co,exports.UserStats=po,exports.getNavMenuContent=Co,exports.getNavMenuContentWithCache=function(n){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,t.getDataWithCache("nav-menu-content",(function(){return Co(n||"en-PH")}),(function(e){var n,t;return!!(null===(t=null===(n=null==e?void 0:e.categories)||void 0===n?void 0:n.items)||void 0===t?void 0:t.length)}))];case 1:return[2,e.sent()||{}]}}))}))};
package/build/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-57503957.js"),r=require("./index-d28c27ca.js"),o=require("./index-ffea3551.js"),t=require("./index-ebcffc91.js"),a=require("./defaultClassWrapper-68462614.js"),s=require("./index-0db09db1.js"),i=require("./index-9a25c714.js"),p=require("./index-0ecbbfbd.js"),n=require("./index-f1d22aeb.js"),x=require("./index-6193a08c.js"),u=require("./index-12476f9c.js"),l=require("./index-a8498b05.js"),d=require("./index-76dc603c.js"),c=require("./useTranslations-00120db0.js"),g=require("./useScrollbarSize-586f6706.js"),C=require("./useFbDataLayer-bf534f29.js"),P=require("./useHealthToolCache-8b136374.js"),m=require("./translationsProvider-baeb0158.js"),b=require("./translationsContext-9e231a88.js"),h=require("./types-1f45f6c4.js"),f=require("./types-5fa20dcc.js"),S=require("./constants-ca5ea110.js"),T=require("./localizeNumberFormat-155e5aec.js"),q=require("./animation-197e5762.js"),v=require("./cookieHelper-612b90fa.js"),D=require("./lazyLoad-f5c59bb0.js");require("react"),require("styled-components");var y=require("./theme-696d81a9.js"),j=require("./dataTransform-19b2a04e.js"),B=require("./routing-5f59e486.js"),L=require("./utils-df758048.js"),k=require("./getDynamicHealthTool-13ad1a92.js"),I=require("./getSocialList-d9421b94.js");require("./Locale-11b51016.js"),require("./isProduction-32e6a55a.js"),require("./tslib.es6-e6f346c4.js"),require("lodash/throttle"),require("keen-slider/react"),require("./gAssets.js"),require("react-hook-form"),require("./index-a8d5c663.js"),require("@mantine/core"),require("@mantine/hooks"),require("@mantine/carousel"),require("@hookform/resolvers/yup"),require("dayjs"),require("lodash/debounce"),require("date-fns"),require("react-range"),require("./types-2b3bdf79.js"),require("react-day-picker/DayPickerInput"),require("./useOutsideClick-528bfd6c.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("slugify"),require("string-format"),require("./core-97cd306c.js"),require("dayjs/plugin/relativeTime"),require("./FullScreen-8225ba88.js"),require("react-dom"),require("recharts"),require("lodash/chunk"),require("innertext"),require("react-contenteditable"),require("react-loading-skeleton"),require("lodash/shuffle"),require("vanilla-lazyload"),exports.Types=e.index,exports.Constants=r.index,exports.Alert=o.Alert,exports.AmpNextPage=o.AmpNextPage,exports.ArticleCard=o.ArticleCard,exports.BMICardEmbed=o.BMICardEmbed,exports.BMRCardEmbed=o.BMRCardEmbed,exports.BabyGrowthCardEmbed=o.BabyGrowthCardEmbed,exports.BabyPoopEmbed=o.BabyPoopEmbed,exports.Badge=o.Badge,exports.BorderHeading=o.BorderHeading,exports.Breadcrumbs=o.Breadcrumbs,exports.Carousel=o.Carousel,exports.CategoryCard=o.CategoryCard,exports.Checkbox=o.Checkbox,exports.CheckboxGroup=o.CheckboxGroup,exports.CookieAcceptConfirm=o.CookieAcceptConfirm,exports.DatePicker=o.DatePicker,exports.DateRangePicker=o.DateRangePicker,exports.DoctorInfo=o.DoctorInfo,exports.DueDateCardEmbed=o.DueDateCardEmbed,exports.FileDropdown=o.FileDropdown,exports.FloatButtonGroup=o.FloatButtonGroup,exports.Footer=o.Footer,exports.Grid=o.Grid,exports.IconText=o.IconText,exports.MobileBottomNavigation=o.MobileBottomNavigation,exports.MobileBottomNavigationIcon=o.MobileBottomNavigationIcon,exports.OvulationCardEmbed=o.OvulationCardEmbed,exports.PWGCardEmbed=o.PWGCardEmbed,exports.Pagination=o.Pagination,exports.PillCarousel=o.PillCarousel,exports.Progress=o.Progress,exports.ProgressBar=o.ProgressBar,exports.Radio=o.Radio,exports.RadioGroup=o.RadioGroup,exports.RateStars=o.RateStars,exports.ScrollList=o.ScrollList,exports.SeoHead=o.SeoHead,exports.Shadow=o.Shadow,exports.ShareContainer=o.ShareContainer,exports.ShareDrawer=o.ShareDrawer,exports.SideMenu=o.index,exports.Slider=o.Slider,exports.StatisticCard=o.StatisticCard,exports.SurveyQuestionCard=o.SurveyQuestionCard,exports.SurveyThankyouCard=o.SurveyThankyouCard,exports.THRCardEmbed=o.THRCardEmbed,exports.Table=o.index$1,exports.Tabs=o.Tabs,exports.Tag=o.Tag,exports.TextArea=o.TextArea,exports.TextDivider=o.TextDivider,exports.Toggle=o.Toggle,exports.ToolsBannerCard=o.ToolsBannerCard,exports.UnderlinedLink=o.UnderlinedLink,exports.Uploader=o.Uploader,exports.Avatar=t.Avatar,exports.DefaultComponentGlobalContextData=t.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return t.GlobalData}}),exports.Popup=t.Popup,exports.TogetherComponentGlobalContext=t.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=t.TogetherComponentGlobalContextProvider,exports.TogetherConstants=t.constants,exports.TogetherDataTransforms=t.dataTransform,exports.UserAvatar=t.UserAvatar,exports.Button=a.Button,exports.AuthorBadge=s.AuthorBadge,exports.Divider=s.Divider,exports.Dropdown=s.Dropdown,exports.Container=i.Container,exports.Flag=i.Flag,exports.LanguageSwitcher=i.LanguageSwitcher,exports.Logo=i.Logo,exports.NavigationLogoutPopup=i.NavigationLogoutPopup,exports.NavigationProfileButton=i.NavigationProfileButton,exports.NavigationV2=i.NavigationV2,exports.ProfilePopup=i.ProfilePopup,exports.PureInput=i.PureInput,exports.UserProfileNavigation=i.UserProfileNavigation,exports.UserProfileNavigationHeader=i.NavHeader,exports.UserProfileNavigationStats=i.UserStats,exports.getNavMenuContent=i.getNavMenuContent,exports.getNavMenuContentWithCache=i.getNavMenuContentWithCache,exports.Heading=p.Heading,exports.Input=n.Input,exports.Label=x.Label,exports.Text=u.Text,exports.Drawer=l.Drawer,exports.Icon=l.Icon,exports.Menu=l.Menu,exports.Modal=l.Modal,exports.NewBabyProfileRadio=l.NewBabyProfileRadio,exports.RadioImageGroup=l.RadioImageGroup,exports.CustomReferenceDot=d.CustomReferenceDot,exports.useTranslations=c.useTranslations,exports.MEASURE_ELEMENT_CLASS=g.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=g.useScrollbarSize,exports.useFbDataLayer=C.useFbDataLayer,exports.useHealthToolsCache=P.useHealthToolsCache,exports.TranslationsProvider=m.TranslationsProvider,exports.translationsMap=m.translationsMap,exports.TranslationsContext=b.TranslationsContext,exports.defaultTranslations=b.defaultTranslations,exports.CardAuthor=h.CardAuthor,exports.CardLink=h.CardLink,exports.CardPost=h.CardPost,exports.CardPostPopoverMore=h.CardPostPopoverMore,exports.CardReactions=h.CardReactions,exports.CardReply=h.CardReply,exports.CardReplyPopover=h.CardReplyPopover,exports.CreateNewPostContent=h.CreateNewPostContent,exports.CreatePostDescription=h.CreatePostDescription,exports.CreatePostTitle=h.CreatePostTitle,exports.ImagePreviewPopup=h.ImagePreviewPopup,exports.InputCommentBar=h.InputCommentBar,exports.LabelPin=h.LabelPin,exports.LabelSortPin=h.LabelSortPin,exports.LabelSorting=h.LabelSorting,exports.Loading=h.Loading,exports.PopoverMenu=h.PopoverMenu,exports.PopupDanger=h.PopupDanger,exports.PopupDoctor=h.PopupDoctor,exports.PopupExpert=h.PopupExpert,exports.PopupFrame=h.PopupFrame,exports.PopupHospital=h.PopupHospital,exports.PostContent=h.PostContent,exports.PostImagePreview=h.PostImagePreview,exports.PostSingleImageViewPopup=h.PostSingleImageViewPopup,exports.ShareBox=h.ShareBox,exports.SharePopup=h.SharePopup,exports.SocialLinkPreview=h.SocialLinkPreview,exports.SubmitReportForm=h.SubmitReportForm,exports.TagTopic=h.TagTopic,exports.TogetherAuthConfigContext=h.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=h.TogetherAuthConfigContextProvider,exports.TogetherTypes=h.types,exports.TopicSelectList=h.TopicSelectList,exports.useTogetherAuthRequiredAction=h.useTogetherAuthRequiredAction,exports.BookingSearchBar=f.BookingSearchBar,exports.CareTypes=f.types,exports.CareConstants=S.constants,exports.ageGenerate=T.ageGenerate,exports.convertLocalizedStringToNumber=T.convertLocalizedStringToNumber,exports.localizeNumberFormat=T.localizeNumberFormat,exports.fadeIn=q.fadeIn,exports.slideInDown=q.slideInDown,exports.slideInLeft=q.slideInLeft,exports.slideInRight=q.slideInRight,exports.slideInUp=q.slideInUp,exports.slideOutDown=q.slideOutDown,exports.slideOutLeft=q.slideOutLeft,exports.slideOutRight=q.slideOutRight,exports.slideOutUp=q.slideOutUp,exports.deleteCookie=v.deleteCookie,exports.getCookie=v.getCookie,exports.setCookie=v.setCookie,Object.defineProperty(exports,"lazyLoadInstance",{enumerable:!0,get:function(){return D.lazyLoadInstance}}),exports.theme=y.theme,exports.ScreenSizeContext=j.ScreenSizeContext,exports.ScreenSizeContextProvider=j.ScreenSizeContextProvider,exports.abbreviateNumber=j.abbreviateNumber,exports.formatPill=j.formatPill,exports.getWindowSizeGroups=j.getWindowSizeGroups,exports.getCareApiDomain=B.getCareApiDomain,exports.getCurrentBaseUrl=B.getCurrentBaseUrl,exports.getCurrentSsoUrl=B.getCurrentSsoUrl,exports.getDiscoverApiDomain=B.getDiscoverApiDomain,exports.getTogetherApiDomain=B.getTogetherApiDomain,exports.Breakpoints=L.Breakpoints,exports.MediaQueries=L.MediaQueries,exports.formatUrlWithPageParam=L.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=L.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=L.getPopupWrapperDom,exports.makeParams=L.makeParams,exports.safeEncodeURI=L.safeEncodeURI,exports.startCase=L.startCase,exports.toggleNoScroll=L.toggleNoScroll,exports.formatHealthTool=k.formatHealthTool,exports.getDynamicHealthTool=k.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=k.getDynamicHealthToolWithCache,exports.getSocialList=I.getSocialList;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-57503957.js"),r=require("./index-d28c27ca.js"),o=require("./index-26ab3cb0.js"),t=require("./index-ebcffc91.js"),a=require("./index-8ebed99b.js"),s=require("./index-0db09db1.js"),i=require("./index-aae60289.js"),p=require("./index-0ecbbfbd.js"),n=require("./index-f1d22aeb.js"),x=require("./index-6193a08c.js"),u=require("./index-9766e52b.js"),d=require("./index-12476f9c.js"),l=require("./index-46eab25f.js"),c=require("./index-76dc603c.js"),g=require("./footer.js"),C=require("./useTranslations-00120db0.js"),P=require("./useScrollbarSize-586f6706.js"),b=require("./useFbDataLayer-bf534f29.js"),m=require("./useHealthToolCache-8b136374.js"),h=require("./translationsProvider-baeb0158.js"),f=require("./translationsContext-9e231a88.js"),q=require("./types-a556493e.js"),S=require("./types-5fa20dcc.js"),T=require("./constants-ca5ea110.js"),v=require("./localizeNumberFormat-155e5aec.js"),D=require("./animation-197e5762.js"),y=require("./cookieHelper-612b90fa.js"),j=require("./lazyLoad-f5c59bb0.js");require("react"),require("styled-components");var B=require("./theme-696d81a9.js"),L=require("./dataTransform-19b2a04e.js"),k=require("./routing-5f59e486.js"),I=require("./utils-df758048.js"),A=require("./getDynamicHealthTool-13ad1a92.js"),N=require("./getSocialList-d9421b94.js");require("./Locale-11b51016.js"),require("./isProduction-32e6a55a.js"),require("./tslib.es6-e6f346c4.js"),require("./defaultClassWrapper-0eac7dff.js"),require("lodash/throttle"),require("keen-slider/react"),require("./gAssets.js"),require("react-hook-form"),require("./index-a8d5c663.js"),require("@mantine/core"),require("@mantine/hooks"),require("@mantine/carousel"),require("@hookform/resolvers/yup"),require("dayjs"),require("./index-7d3b086d.js"),require("lodash/debounce"),require("date-fns"),require("react-range"),require("./types-2b3bdf79.js"),require("react-day-picker/DayPickerInput"),require("./useOutsideClick-528bfd6c.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("slugify"),require("string-format"),require("./core-97cd306c.js"),require("dayjs/plugin/relativeTime"),require("./FullScreen-8225ba88.js"),require("react-dom"),require("recharts"),require("lodash/chunk"),require("innertext"),require("react-contenteditable"),require("react-loading-skeleton"),require("lodash/shuffle"),require("vanilla-lazyload"),exports.Types=e.index,exports.Constants=r.index,exports.Alert=o.Alert,exports.AmpNextPage=o.AmpNextPage,exports.ArticleCard=o.ArticleCard,exports.BMICardEmbed=o.BMICardEmbed,exports.BMRCardEmbed=o.BMRCardEmbed,exports.BabyGrowthCardEmbed=o.BabyGrowthCardEmbed,exports.BabyPoopEmbed=o.BabyPoopEmbed,exports.Badge=o.Badge,exports.BorderHeading=o.BorderHeading,exports.Breadcrumbs=o.Breadcrumbs,exports.Carousel=o.Carousel,exports.CategoryCard=o.CategoryCard,exports.Checkbox=o.Checkbox,exports.CheckboxGroup=o.CheckboxGroup,exports.CookieAcceptConfirm=o.CookieAcceptConfirm,exports.DatePicker=o.DatePicker,exports.DateRangePicker=o.DateRangePicker,exports.DoctorInfo=o.DoctorInfo,exports.DueDateCardEmbed=o.DueDateCardEmbed,exports.FileDropdown=o.FileDropdown,exports.FloatButtonGroup=o.FloatButtonGroup,exports.Grid=o.Grid,exports.IconText=o.IconText,exports.MobileBottomNavigation=o.MobileBottomNavigation,exports.MobileBottomNavigationIcon=o.MobileBottomNavigationIcon,exports.OvulationCardEmbed=o.OvulationCardEmbed,exports.PWGCardEmbed=o.PWGCardEmbed,exports.Pagination=o.Pagination,exports.PillCarousel=o.PillCarousel,exports.Progress=o.Progress,exports.ProgressBar=o.ProgressBar,exports.Radio=o.Radio,exports.RadioGroup=o.RadioGroup,exports.RateStars=o.RateStars,exports.ScrollList=o.ScrollList,exports.SeoHead=o.SeoHead,exports.Shadow=o.Shadow,exports.ShareContainer=o.ShareContainer,exports.ShareDrawer=o.ShareDrawer,exports.SideMenu=o.index,exports.Slider=o.Slider,exports.StatisticCard=o.StatisticCard,exports.SurveyQuestionCard=o.SurveyQuestionCard,exports.SurveyThankyouCard=o.SurveyThankyouCard,exports.THRCardEmbed=o.THRCardEmbed,exports.Table=o.index$1,exports.Tabs=o.Tabs,exports.Tag=o.Tag,exports.TextArea=o.TextArea,exports.TextDivider=o.TextDivider,exports.Toggle=o.Toggle,exports.ToolsBannerCard=o.ToolsBannerCard,exports.UnderlinedLink=o.UnderlinedLink,exports.Uploader=o.Uploader,exports.Avatar=t.Avatar,exports.DefaultComponentGlobalContextData=t.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return t.GlobalData}}),exports.Popup=t.Popup,exports.TogetherComponentGlobalContext=t.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=t.TogetherComponentGlobalContextProvider,exports.TogetherConstants=t.constants,exports.TogetherDataTransforms=t.dataTransform,exports.UserAvatar=t.UserAvatar,exports.Button=a.Button,exports.AuthorBadge=s.AuthorBadge,exports.Divider=s.Divider,exports.Dropdown=s.Dropdown,exports.Flag=i.Flag,exports.LanguageSwitcher=i.LanguageSwitcher,exports.NavigationLogoutPopup=i.NavigationLogoutPopup,exports.NavigationProfileButton=i.NavigationProfileButton,exports.NavigationV2=i.NavigationV2,exports.ProfilePopup=i.ProfilePopup,exports.PureInput=i.PureInput,exports.UserProfileNavigation=i.UserProfileNavigation,exports.UserProfileNavigationHeader=i.NavHeader,exports.UserProfileNavigationStats=i.UserStats,exports.getNavMenuContent=i.getNavMenuContent,exports.getNavMenuContentWithCache=i.getNavMenuContentWithCache,exports.Heading=p.Heading,exports.Input=n.Input,exports.Label=x.Label,exports.Container=u.Container,exports.Logo=u.Logo,exports.Text=d.Text,exports.Drawer=l.Drawer,exports.Icon=l.Icon,exports.Menu=l.Menu,exports.Modal=l.Modal,exports.NewBabyProfileRadio=l.NewBabyProfileRadio,exports.RadioImageGroup=l.RadioImageGroup,exports.CustomReferenceDot=c.CustomReferenceDot,exports.Footer=g.Footer,exports.useTranslations=C.useTranslations,exports.MEASURE_ELEMENT_CLASS=P.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=P.useScrollbarSize,exports.useFbDataLayer=b.useFbDataLayer,exports.useHealthToolsCache=m.useHealthToolsCache,exports.TranslationsProvider=h.TranslationsProvider,exports.translationsMap=h.translationsMap,exports.TranslationsContext=f.TranslationsContext,exports.defaultTranslations=f.defaultTranslations,exports.CardAuthor=q.CardAuthor,exports.CardLink=q.CardLink,exports.CardPost=q.CardPost,exports.CardPostPopoverMore=q.CardPostPopoverMore,exports.CardReactions=q.CardReactions,exports.CardReply=q.CardReply,exports.CardReplyPopover=q.CardReplyPopover,exports.CreateNewPostContent=q.CreateNewPostContent,exports.CreatePostDescription=q.CreatePostDescription,exports.CreatePostTitle=q.CreatePostTitle,exports.ImagePreviewPopup=q.ImagePreviewPopup,exports.InputCommentBar=q.InputCommentBar,exports.LabelPin=q.LabelPin,exports.LabelSortPin=q.LabelSortPin,exports.LabelSorting=q.LabelSorting,exports.Loading=q.Loading,exports.PopoverMenu=q.PopoverMenu,exports.PopupDanger=q.PopupDanger,exports.PopupDoctor=q.PopupDoctor,exports.PopupExpert=q.PopupExpert,exports.PopupFrame=q.PopupFrame,exports.PopupHospital=q.PopupHospital,exports.PostContent=q.PostContent,exports.PostImagePreview=q.PostImagePreview,exports.PostSingleImageViewPopup=q.PostSingleImageViewPopup,exports.ShareBox=q.ShareBox,exports.SharePopup=q.SharePopup,exports.SocialLinkPreview=q.SocialLinkPreview,exports.SubmitReportForm=q.SubmitReportForm,exports.TagTopic=q.TagTopic,exports.TogetherAuthConfigContext=q.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=q.TogetherAuthConfigContextProvider,exports.TogetherTypes=q.types,exports.TopicSelectList=q.TopicSelectList,exports.useTogetherAuthRequiredAction=q.useTogetherAuthRequiredAction,exports.BookingSearchBar=S.BookingSearchBar,exports.CareTypes=S.types,exports.CareConstants=T.constants,exports.ageGenerate=v.ageGenerate,exports.convertLocalizedStringToNumber=v.convertLocalizedStringToNumber,exports.localizeNumberFormat=v.localizeNumberFormat,exports.fadeIn=D.fadeIn,exports.slideInDown=D.slideInDown,exports.slideInLeft=D.slideInLeft,exports.slideInRight=D.slideInRight,exports.slideInUp=D.slideInUp,exports.slideOutDown=D.slideOutDown,exports.slideOutLeft=D.slideOutLeft,exports.slideOutRight=D.slideOutRight,exports.slideOutUp=D.slideOutUp,exports.deleteCookie=y.deleteCookie,exports.getCookie=y.getCookie,exports.setCookie=y.setCookie,Object.defineProperty(exports,"lazyLoadInstance",{enumerable:!0,get:function(){return j.lazyLoadInstance}}),exports.theme=B.theme,exports.ScreenSizeContext=L.ScreenSizeContext,exports.ScreenSizeContextProvider=L.ScreenSizeContextProvider,exports.abbreviateNumber=L.abbreviateNumber,exports.formatPill=L.formatPill,exports.getWindowSizeGroups=L.getWindowSizeGroups,exports.getCareApiDomain=k.getCareApiDomain,exports.getCurrentBaseUrl=k.getCurrentBaseUrl,exports.getCurrentSsoUrl=k.getCurrentSsoUrl,exports.getDiscoverApiDomain=k.getDiscoverApiDomain,exports.getTogetherApiDomain=k.getTogetherApiDomain,exports.Breakpoints=I.Breakpoints,exports.MediaQueries=I.MediaQueries,exports.formatUrlWithPageParam=I.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=I.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=I.getPopupWrapperDom,exports.makeParams=I.makeParams,exports.safeEncodeURI=I.safeEncodeURI,exports.startCase=I.startCase,exports.toggleNoScroll=I.toggleNoScroll,exports.formatHealthTool=A.formatHealthTool,exports.getDynamicHealthTool=A.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=A.getDynamicHealthToolWithCache,exports.getSocialList=N.getSocialList;