1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98902,9709,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(47167);let i={hyostory:{key:"hyostory",displayName:"í¨ì¤í 리 NEXT",shortName:"í¨ì¤í 리",englishName:"HYOSTORY NEXT",productCategory:"ëë´ ê¸°ë¡ ìì¤í
",futureProductCategory:"ëë´ ì´ì ìì¤í
",tagline:"ë¶ëª¨ëì ì¤ëì 기ë¡íê³ , íìí ê³³ì ì´ì´ ìëë¤.",descriptor:"íì¥ ê¸°ë¡ê³¼ ë³´í¸ì ìíµì ì°ê²°íë ëë´ ê¸°ë¡ ìì¤í
",logoGreen:"/brand/hyostory-logo-green.png",logoWhite:"/brand/hyostory-logo-white.png",palette:{primary:"#577862",primaryDark:"#425E4D",primarySoft:"#EDF3EF",warmGray:"#8A8F89",beige:"#F2EFE9",sage:"#F3F6F1",text:"#26343A",textMuted:"#68736D",surface:"#FFFFFF",border:"#E4E9E5"},alt:"í¨ì¤í 리 ë¡ê³ "},"dolbom-saenghwal":{key:"dolbom-saenghwal",displayName:"ëë´ìí",shortName:"ëë´ìí",englishName:"DOLBOM LIFE",productCategory:"ëë´ ê¸°ë¡ ìì¤í
",futureProductCategory:"ëë´ ì´ì ìì¤í
",tagline:"기ë¡ì ì°¨ë¶íê², ìì¬ì ë ê¹ê²",descriptor:"ë¶ëª¨ëì ì¤ëì ì íë ëë´ ê¸°ë¡Â·ìíµ ìë¹ì¤",logoGreen:"/brand/dolbom-life/symbol-primary.svg",logoWhite:"/brand/dolbom-life/symbol-white.svg",appIcon:"/brand/dolbom-life/app-icon.svg",splashLogo:"/brand/dolbom-life/splash-logo.svg",favicon:"/brand/dolbom-life/favicon.svg",palette:{primary:"#6B7F63",primaryDark:"#586B52",primarySoft:"#EDF1EA",warmGray:"#9A948A",beige:"#E7E1D6",sage:"#F3F6F1",text:"#343630",textMuted:"#73766F",surface:"#FFFFFF",border:"#E4E7E1"},alt:"ëë´ìí ë¡ê³ "}};function o(){let e=r.default.env.NEXT_PUBLIC_BRAND_KEY;return e&&i[e]?i[e]:i["dolbom-saenghwal"]}e.s(["getActiveBrand",0,o],9709),e.s(["default",0,function({variant:e="green",size:r=36,className:i="",showName:n=!1,compact:s=!1}){let d=o(),l="white"===e?d.logoWhite:d.logoGreen,p="white"===e?"#ffffff":d.palette.text;return a.default.useEffect(()=>{if("u"<typeof document)return;let e=e=>{if("/app"!==window.location.pathname&&"/web"!==window.location.pathname)return;let t=e.target instanceof Element?e.target:null;t?.closest(".hyTargetHomeTop .hyBrandMark,.hyTargetHomeTop .hyTargetBrandLine>div,.hyGuardianHeroBar>div,.hyGuardianDesktopBrand")&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),window.location.assign("/app/switch"))};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[]),(0,t.jsxs)("span",{className:`hyBrandLockup ${s?"compact":""} ${i}`.trim(),children:[l?(0,t.jsx)("img",{className:"hyBrandMark",src:l,width:r,height:r,alt:d.alt}):(0,t.jsx)("span",{className:"hyBrandName hyBrandNameTextOnly",style:{display:"inline-flex",alignItems:"center",minHeight:r,color:p,fontSize:Math.max(18,Math.round(.67*r)),fontWeight:800,letterSpacing:"-0.055em",lineHeight:1,whiteSpace:"nowrap"},children:(0,t.jsx)("strong",{children:d.shortName})}),n&&l&&(0,t.jsxs)("span",{className:"hyBrandName",style:{color:p},children:[(0,t.jsx)("strong",{children:d.shortName}),"hyostory"===d.key&&(0,t.jsx)("em",{children:"NEXT"})]})]})}],98902)},19545,e=>{"use strict";var t=e.i(43476),a=e.i(37902),r=e.i(71645),i=e.i(79956);let o="hyostory-before-care-entry-v1",n=[{status:"NO_GRADE_OR_UNSURE",stage:"GRADE_GUIDANCE",title:"ìì§ ë±ê¸ì´ ìê±°ë ì ëª¨ë¥´ê² ì´ì",desc:"ì¥ê¸°ììì´ íìíì§ë¶í° ì´í´ë³´ê³ , ì´ì©í ì ìë ìë¹ì¤ì 기ê´ì 미리 ììë´
ëë¤.",next:"ë±ê¸ ì ë¶í° ìì보기"},{status:"APPLYING",stage:"ASSESSMENT_WAITING",title:"ë±ê¸ ì ì²Â·íì ì´ ì§í ì¤ì´ìì",desc:"결과를 기ë¤ë¦¬ë ëì ì§ìë³ ê¸°ê´ê³¼ 방문·주ì¼ê°Â·ìì¤ ìë¹ì¤ë¥¼ ë¹êµí´ ì¤ë¹í ì ììµëë¤.",next:"ë기 ì¤ ì¤ë¹í기"},{status:"HAVE_GRADE",stage:"SERVICE_DISCOVERY",title:"ì´ë¯¸ ì¥ê¸°ììë±ê¸ì´ ìì´ì",desc:"íì¬ ë±ê¸ ì´í ë¨ê³ì
ëë¤. íìí ìë¹ì¤ ì íê³¼ 기ê´ì ë°ë¡ ì°¾ê³ ë¹êµí©ëë¤.",next:"ê¸°ê´ ì°¾ê¸° ìì"}],s={GRADE_GUIDANCE:{eyebrow:"ë±ê¸ ì ì¤ë¹",title:"ìì¤ë¶í° 찾기 ì ì, ì¸ ê°ì§ë§ 먼ì ì í´ëë©´ ë©ëë¤.",steps:["íìí ëë´ íí","ìíê¶Â·ì´ë ê°ë¥ ë²ì","íë³´ ê¸°ê´ 2~3ê³³"],cta:"ìì¤Â·ìë¹ì¤ 미리 보기"},ASSESSMENT_WAITING:{eyebrow:"íì ë기",title:"ê²°ê³¼ê° ëì¤ê¸° ì ì íë³´ 기ê´ì 3ê³³ê¹ì§ ì¢íëì¸ì.",steps:["í¬ë§ ìë¹ì¤ ì í","ìíê¶Â·ì´ë ë²ì","ìë´í íë³´ 기ê´"],cta:"íë³´ ê¸°ê´ ì°¾ê¸°"},SERVICE_DISCOVERY:{eyebrow:"ë±ê¸ ë³´ì ",title:"ì§ê¸ íìí ìë¹ì¤ì 기ê´ì ë°ë¡ ë¹êµí ì ììµëë¤.",steps:["ìë¹ì¤ ì í","ì§ì·ì´ë ì¡°ê±´","ë¹êµ í ìë´"],cta:"ê¸°ê´ ì°¾ê¸° ìì"}};function d(e){try{window.localStorage.setItem(o,JSON.stringify(e))}catch{}}e.s(["default",0,function(){let[e,l]=r.default.useState(!1),[p,c]=r.default.useState(null),[h,m]=r.default.useState(!1),[x,u]=r.default.useState(!1),[f,y]=r.default.useState("IDLE");r.default.useEffect(()=>{let e=function(){try{let e=window.localStorage.getItem(o);if(!e)return null;let t=JSON.parse(e);return t?.status&&t?.journeyStage?t:null}catch{return null}}();c(e),m(!e),l(!0)},[]);let g=async e=>{let t={status:e.status,journeyStage:e.stage,updatedAt:new Date().toISOString(),journeyToken:p?.journeyToken};d(t),c(t),m(!1),u(!0),y("SAVING"),window.dispatchEvent(new CustomEvent("hyostory:before-care-stage",{detail:t}));try{let a=await (0,i.saveBeforeCareJourney)({journeyToken:p?.journeyToken,status:e.status,stage:e.stage}),r={...t,journeyToken:a.journey_token,serverSyncedAt:a.updated_at};d(r),c(r),y("SAVED"),window.dispatchEvent(new CustomEvent("hyostory:before-care-stage-synced",{detail:r}))}catch(e){console.warn("[before-care] journey server sync deferred",e),y("LOCAL_ONLY")}};if(!e)return null;let b=n.find(e=>e.status===p?.status),w=p?s[p.journeyStage]:null;return(0,t.jsxs)(t.Fragment,{children:[!h&&b&&(0,t.jsxs)("section",{"aria-label":"íì¬ ëë´ ì¤ë¹ ë¨ê³",className:"jsx-361e4cded2d9ee7d hyBeforeCareInline",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>m(!0),"aria-label":"íì¬ ëë´ ì¤ë¹ ë¨ê³ ë¤ì ì í",className:"jsx-361e4cded2d9ee7d hyBeforeCareStageChip",children:[(0,t.jsx)("span",{className:"jsx-361e4cded2d9ee7d",children:"ëë´ ì¤ë¹"}),(0,t.jsx)("strong",{className:"jsx-361e4cded2d9ee7d",children:b.title}),(0,t.jsx)("b",{className:"jsx-361e4cded2d9ee7d",children:"SAVING"===f?"ì ì¥ ì¤":"LOCAL_ONLY"===f?"기기 ì ì¥":"ë³ê²½"})]}),w&&x&&(0,t.jsxs)("div",{"aria-label":"íì¬ ë¨ê³ ë¤ì íë",className:"jsx-361e4cded2d9ee7d hyBeforeCareAction",children:[(0,t.jsxs)("div",{className:"jsx-361e4cded2d9ee7d hyBeforeCareActionHead",children:[(0,t.jsxs)("div",{className:"jsx-361e4cded2d9ee7d",children:[(0,t.jsx)("small",{className:"jsx-361e4cded2d9ee7d",children:w.eyebrow}),(0,t.jsx)("h2",{className:"jsx-361e4cded2d9ee7d",children:w.title})]}),(0,t.jsx)("button",{type:"button",onClick:()=>u(!1),"aria-label":"ìë´ ë«ê¸°",className:"jsx-361e4cded2d9ee7d close",children:"ì 기"})]}),(0,t.jsx)("ol",{className:"jsx-361e4cded2d9ee7d",children:w.steps.map((e,a)=>(0,t.jsxs)("li",{className:"jsx-361e4cded2d9ee7d",children:[(0,t.jsx)("em",{className:"jsx-361e4cded2d9ee7d",children:a+1}),(0,t.jsx)("span",{className:"jsx-361e4cded2d9ee7d",children:e})]},e))}),(0,t.jsxs)("button",{type:"button",onClick:()=>{let e;u(!1),e=document.querySelector(".hyP1FilterCard"),e?.scrollIntoView({behavior:"smooth",block:"start"}),window.setTimeout(()=>document.querySelector(".hyP1Search input")?.focus({preventScroll:!0}),420)},className:"jsx-361e4cded2d9ee7d next",children:[w.cta," â"]})]}),w&&!x&&(0,t.jsx)("button",{type:"button",onClick:()=>u(!0),className:"jsx-361e4cded2d9ee7d hyBeforeCareGuideReopen",children:"ë±ê¸ ì ì¤ë¹ ë¤ì 보기"})]}),h&&(0,t.jsx)("div",{role:"dialog","aria-modal":"true","aria-label":"ì¥ê¸°ìì ì¤ë¹ ë¨ê³ ì í",className:"jsx-361e4cded2d9ee7d hyBeforeCareBackdrop",children:(0,t.jsxs)("section",{className:"jsx-361e4cded2d9ee7d hyBeforeCarePanel",children:[(0,t.jsxs)("header",{className:"jsx-361e4cded2d9ee7d",children:[(0,t.jsx)("small",{className:"jsx-361e4cded2d9ee7d",children:"BEFORE CARE"}),(0,t.jsxs)("h1",{className:"jsx-361e4cded2d9ee7d",children:["ë¶ëª¨ë ëë´,",(0,t.jsx)("br",{className:"jsx-361e4cded2d9ee7d"}),"ì§ê¸ ì´ë ë¨ê³ì¸ê°ì?"]}),(0,t.jsx)("p",{className:"jsx-361e4cded2d9ee7d",children:"ë±ê¸ì ë°ê¸° ì ì´ì´ë ê´ì°®ìµëë¤. ì§ê¸ ìí©ì ë§ë ë¤ì ë¨ê³ë¶í° ì´ì´ì ë³¼ ì ììµëë¤."})]}),(0,t.jsx)("div",{className:"jsx-361e4cded2d9ee7d hyBeforeCareOptions",children:n.map((e,a)=>(0,t.jsxs)("button",{type:"button",onClick:()=>void g(e),className:"jsx-361e4cded2d9ee7d",children:[(0,t.jsx)("em",{className:"jsx-361e4cded2d9ee7d",children:String(a+1).padStart(2,"0")}),(0,t.jsxs)("span",{className:"jsx-361e4cded2d9ee7d",children:[(0,t.jsx)("strong",{className:"jsx-361e4cded2d9ee7d",children:e.title}),(0,t.jsx)("small",{className:"jsx-361e4cded2d9ee7d",children:e.desc}),(0,t.jsxs)("b",{className:"jsx-361e4cded2d9ee7d",children:[e.next," â"]})]})]},e.status))}),(0,t.jsxs)("footer",{className:"jsx-361e4cded2d9ee7d",children:[(0,t.jsx)("span",{className:"jsx-361e4cded2d9ee7d",children:"ì´ ë¨ê³ 기ë¡ì ìµëª
Journey IDë¡ë§ ì ì¥íë©° ì´ë¦Â·ì£¼ë¯¼ë²í¸Â·ë±ê¸ë²í¸ ë± ê°ì¸ì ë³´ë ì ì¥íì§ ììµëë¤."}),p&&(0,t.jsx)("button",{type:"button",onClick:()=>m(!1),className:"jsx-361e4cded2d9ee7d",children:"íì¬ ì í ì ì§"})]})]})}),(0,t.jsx)(a.default,{id:"361e4cded2d9ee7d",children:".hyBeforeCareInline{gap:8px;max-width:1084px;margin:10px auto 12px;padding:0 18px;display:grid}.hyBeforeCareStageChip{color:#244733;text-align:left;width:100%;box-shadow:none;background:#f8fbf9;border:1px solid #d9e7dd;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 12px;display:grid}.hyBeforeCareStageChip span{color:#24804b;font-size:10px;font-weight:950}.hyBeforeCareStageChip strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.hyBeforeCareStageChip b{color:#287b4b;font-size:10px}.hyBeforeCareAction{color:#203a2a;background:#fff;border:1px solid #d7e7dc;border-radius:18px;padding:14px;box-shadow:0 8px 24px #143a2312}.hyBeforeCareActionHead{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.hyBeforeCareActionHead>div{min-width:0}.hyBeforeCareAction .close{color:#607067;background:#f2f6f3;border:0;border-radius:999px;flex:none;padding:6px 8px;font-size:10px;font-weight:900}.hyBeforeCareAction small{letter-spacing:.06em;color:#24804b;font-size:10px;font-weight:950}.hyBeforeCareAction h2{letter-spacing:-.4px;margin:4px 0 10px;font-size:16px;line-height:1.38}.hyBeforeCareAction ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none;display:grid}.hyBeforeCareAction li{color:#52645a;background:#f4f8f5;border-radius:11px;align-items:center;gap:6px;min-width:0;padding:8px;display:flex}.hyBeforeCareAction li em{color:#217647;background:#dfeee4;border-radius:999px;flex:none;place-items:center;width:20px;height:20px;font-size:9px;font-style:normal;font-weight:950;display:grid}.hyBeforeCareAction li span{word-break:keep-all;font-size:11px;font-weight:800;line-height:1.3}.hyBeforeCareAction .next{color:#fff;background:#227c48;border:0;border-radius:12px;width:100%;min-height:44px;margin-top:10px;padding:10px 12px;font-size:12px;font-weight:900}.hyBeforeCareGuideReopen{color:#27794a;background:#f6fbf7;border:1px solid #d7e7dc;border-radius:999px;justify-self:start;padding:7px 10px;font-size:10px;font-weight:900}.hyBeforeCareBackdrop{z-index:60000;background:#0e1f1594;place-items:center;padding:18px;display:grid;position:fixed;inset:0;overflow:auto}.hyBeforeCarePanel{background:#fff;border-radius:28px;width:min(680px,100%);max-height:min(760px,100dvh - 36px);padding:28px;overflow:auto;box-shadow:0 30px 80px #00000047}.hyBeforeCarePanel header small{letter-spacing:2px;color:#23814a;font-size:10px;font-weight:950}.hyBeforeCarePanel h1{letter-spacing:-1.8px;color:#173b29;margin:7px 0 9px;font-size:34px;line-height:1.17}.hyBeforeCarePanel header p{color:#65736a;margin:0;font-size:14px;line-height:1.6}.hyBeforeCareOptions{gap:10px;margin-top:22px;display:grid}.hyBeforeCareOptions>button{text-align:left;color:#19261e;background:#fff;border:1px solid #dce7df;border-radius:18px;grid-template-columns:42px 1fr;gap:12px;width:100%;padding:16px;display:grid}.hyBeforeCareOptions>button:hover,.hyBeforeCareOptions>button:active{background:#f5fbf7;border-color:#6aaf80}.hyBeforeCareOptions em{color:#257b49;background:#eaf6ee;border-radius:12px;place-items:center;width:38px;height:38px;font-size:11px;font-style:normal;font-weight:950;display:grid}.hyBeforeCareOptions span{gap:5px;
1display:grid}.hyBeforeCareOptions strong{font-size:16px}.hyBeforeCareOptions small{color:#6d7971;font-size:12px;line-height:1.5}.hyBeforeCareOptions b{color:#218048;font-size:11px}.hyBeforeCarePanel footer{border-top:1px solid #edf1ee;justify-content:space-between;align-items:center;gap:10px;margin-top:18px;padding-top:14px;display:flex}.hyBeforeCarePanel footer span{color:#849087;font-size:10px;line-height:1.5}.hyBeforeCarePanel footer button{color:#43584b;background:#f7faf8;border:1px solid #dce5df;border-radius:10px;padding:8px 10px;font-size:10px;font-weight:850}body:has(.hyBeforeCareBackdrop){overflow:hidden!important}@media (width<=700px){.hyBeforeCareInline{gap:6px;margin:6px auto 8px;padding:0 10px}.hyBeforeCareStageChip{border-radius:12px;padding:8px 10px}.hyBeforeCareStageChip span{font-size:9px}.hyBeforeCareStageChip strong{font-size:10.5px}.hyBeforeCareStageChip b{font-size:9px}.hyBeforeCareAction{border-radius:14px;padding:11px}.hyBeforeCareAction h2{margin:3px 0 8px;font-size:14px}.hyBeforeCareAction ol{grid-template-columns:1fr 1fr 1fr;gap:5px}.hyBeforeCareAction li{text-align:center;justify-items:center;gap:4px;padding:7px 4px;display:grid}.hyBeforeCareAction li span{font-size:9.5px}.hyBeforeCareAction .next{margin-top:8px}.hyBeforeCareBackdrop{align-items:end;padding:0}.hyBeforeCarePanel{width:100%;max-height:88dvh;padding:21px 16px calc(18px + env(safe-area-inset-bottom));border-radius:26px 26px 0 0}.hyBeforeCarePanel h1{font-size:27px}.hyBeforeCareOptions>button{min-height:74px;padding:14px 12px}.hyBeforeCareOptions strong{font-size:15px}.hyBeforeCarePanel footer{flex-direction:column;align-items:flex-start}}"})]})}])},69351,e=>{"use strict";var t=e.i(43476),a=e.i(37902),r=e.i(71645),i=e.i(17526),o=e.i(52768),n=e.i(75738);let s=()=>`hyostory-before-care-uat-saved:${i.PREUAT_RELEASE.version}:${i.PREUAT_RELEASE.buildSha}`;e.s(["default",0,function(){let[e,d]=r.default.useState(!1),[l,p]=r.default.useState({viewport:!1,noHorizontalOverflow:!1,modalFits:!1,touchTargets:!1,stageChosen:!1,serverSynced:!1,guideVisible:!1,guideCta:!1,searchFocused:!1}),[c,h]=r.default.useState({viewportWidth:0,viewportHeight:0,visualHeight:0,optionMin:0,guideHeight:0,ctaHeight:0}),[m,x]=r.default.useState(!1),[u,f]=r.default.useState(0),[y,g]=r.default.useState("IDLE"),[b,w]=r.default.useState(""),j=r.default.useRef(!1);r.default.useEffect(()=>{let e=new URLSearchParams(window.location.search),t="1"===e.get("beforecare_uat");if(d(t),!t)return;if("1"===e.get("reset")){try{window.localStorage.removeItem("hyostory-before-care-entry-v1"),window.localStorage.removeItem(s())}catch{}e.delete("reset"),window.history.replaceState(null,"",`${window.location.pathname}?${e.toString()}`),window.location.reload();return}try{"1"===window.localStorage.getItem(s())&&g("SAVED")}catch{}let a=()=>{let e,t,a,r,i,o,n,s,d=(e=window.innerWidth,t=window.innerHeight,a=Math.round(window.visualViewport?.height??t),r=document.documentElement,i=document.querySelector(".hyBeforeCarePanel"),n=(o=Array.from(document.querySelectorAll(".hyBeforeCareOptions>button"))).length?Math.min(...o.map(e=>e.getBoundingClientRect().height)):0,s=i?.getBoundingClientRect(),{viewport:e>=320&&t>=500,noHorizontalOverflow:r.scrollWidth<=e+1,modalPresent:!!s,modalFits:!!s&&s.left>=-1&&s.right<=e+1&&s.height<=a+1,touchTargets:3===o.length&&n>=48,viewportWidth:e,viewportHeight:t,visualHeight:a,optionMin:Math.round(10*n)/10}),l=document.querySelector(".hyBeforeCareAction"),c=document.querySelector(".hyBeforeCareAction .next"),m=l?.getBoundingClientRect(),x=c?.getBoundingClientRect();h({viewportWidth:d.viewportWidth,viewportHeight:d.viewportHeight,visualHeight:d.visualHeight,optionMin:d.optionMin,guideHeight:Math.round((m?.height??0)*10)/10,ctaHeight:Math.round((x?.height??0)*10)/10}),p(e=>({...e,viewport:d.viewport,noHorizontalOverflow:d.noHorizontalOverflow,modalFits:e.modalFits||d.modalPresent&&d.modalFits,touchTargets:e.touchTargets||d.touchTargets,guideVisible:e.guideVisible||!!(l&&m&&m.width>0&&m.height>0&&m.left>=-1&&m.right<=window.innerWidth+1),guideCta:e.guideCta||!!(x&&x.height>=44)}))},r=()=>{x(!1),f(0)},i=()=>{r(),p(e=>({...e,stageChosen:!0})),window.setTimeout(a,50)},o=()=>{r(),p(e=>({...e,serverSynced:!0}))},n=e=>{let t=e.target;t?.matches(".hyP1Search input")&&(r(),p(e=>({...e,searchFocused:!0})))},l=e=>{let t=e.detail;f(Math.max(800,Math.round(Number(t?.settledMs)||800))),x(!0)},c=new MutationObserver(()=>window.requestAnimationFrame(a));return c.observe(document.body,{subtree:!0,childList:!0,attributes:!0}
1),window.addEventListener("resize",a),window.visualViewport?.addEventListener("resize",a),window.addEventListener("hyostory:before-care-stage",i),window.addEventListener("hyostory:before-care-stage-synced",o),window.addEventListener("hyostory:before-care-ui-stable",l),document.addEventListener("focusin",n),window.setTimeout(a,100),()=>{c.disconnect(),window.removeEventListener("resize",a),window.visualViewport?.removeEventListener("resize",a),window.removeEventListener("hyostory:before-care-stage",i),window.removeEventListener("hyostory:before-care-stage-synced",o),window.removeEventListener("hyostory:before-care-ui-stable",l),document.removeEventListener("focusin",n)}},[]);let v=Object.values(l).every(Boolean),C=v&&m;if(r.default.useEffect(()=>{e&&C&&!j.current&&"SAVED"!==y&&"LOCAL"!==y&&(j.current=!0,g("SAVING"),w("ì¤ì¸¡ ê²°ê³¼ ì ì¥ ì¤"),(async()=>{try{let e,t=(0,o.loadSession)();if(!t){try{window.localStorage.setItem(s(),"1")}catch{}g("LOCAL"),w("첫 ì¤ì¸¡ íµê³¼ · 기기 ì ì¥ ìë£");return}let a=t.userId||(await n.authApi.getUser(t)).id,r=window.matchMedia("(display-mode: standalone)").matches||!!navigator.standalone;await n.rest.insert("before_care_device_uat_runs",{user_id:a,app_version:i.PREUAT_RELEASE.version,build_sha:i.PREUAT_RELEASE.buildSha,browser_kind:(e=navigator.userAgent||"",/samsungbrowser/i.test(e)?"SAMSUNG_INTERNET":/chrome\//i.test(e)&&!/edga|edgios|opr\//i.test(e)?"CHROME":/safari/i.test(e)&&!/chrome|crios|android/i.test(e)?"SAFARI":"OTHER"),viewport_width:c.viewportWidth,viewport_height:c.viewportHeight,visual_viewport_height:c.visualHeight,standalone:r,status:"PASS",checks:{...l,uiStable:!0},metrics:{...c,uiStable:!0,settledMs:u,screenWidth:screen.width,screenHeight:screen.height,devicePixelRatio:window.devicePixelRatio||1,path:window.location.pathname}},t);try{window.localStorage.setItem(s(),"1")}catch{}g("SAVED"),w("첫 ì¤ì¸¡ íµê³¼ · ìë² ì ì¥ ìë£")}catch(e){try{window.localStorage.setItem(s(),"1")}catch{}g("LOCAL"),w("첫 ì¤ì¸¡ íµê³¼ · 기기 ì ì¥ ìë£")}})())},[e,C,l,c,u,y]),!e)return null;let _=[["íë©´ í¬ê¸°",l.viewport],["ê°ë¡ ë침 ìì",l.noHorizontalOverflow],["ì§ì
ì°½ íë©´ ë´ íì",l.modalFits],[`ì í ë²í¼ ${c.optionMin}px`,l.touchTargets],["ë¨ê³ ì í",l.stageChosen],["Journey ìë² ì ì¥",l.serverSynced],["ë¤ì íë ìë´ íì",l.guideVisible],[`CTA ${c.ctaHeight}px`,l.guideCta],["CTAâê²ì í¬ì»¤ì¤",l.searchFocused]],S=_.filter(([,e])=>e).length,E="SAVED"===y||"LOCAL"===y,N=C?E?"BEFORE CARE · UAT PASS":"BEFORE CARE · ìì í ìë£":v?"BEFORE CARE · 9/9 · ìì í íì¸ ì¤":`BEFORE CARE \xb7 ${S}/9`;return(0,t.jsxs)("aside",{"aria-live":"polite",className:`jsx-d6a4d88506d7595c hyBeforeCareUat ${C?"pass":"running"} ${E?"saved":""} ${y.toLowerCase()}`,children:[(0,t.jsx)("strong",{className:"jsx-d6a4d88506d7595c",children:N}),(0,t.jsxs)("span",{className:"jsx-d6a4d88506d7595c",children:[c.viewportWidth,"Ã",c.viewportHeight,"px · visual ",c.visualHeight,"px · v",i.PREUAT_RELEASE.version]}),(0,t.jsx)("ul",{className:"jsx-d6a4d88506d7595c",children:_.map(([e,a])=>(0,t.jsx)("li",{"data-ok":a,className:"jsx-d6a4d88506d7595c",children:e},e))}),(0,t.jsx)("small",{className:"jsx-d6a4d88506d7595c",children:C?b||`íë©´ ìì í ${u}ms íì¸`:v?"íë©´ì´ 0.8ì´ ì´ì ìì ëëì§ íì¸ ì¤ì
ëë¤.":"ë¨ê³ë¥¼ ì ííê³ ìë´ CTAê¹ì§ ëë¬ ì£¼ì¸ì."}),(0,t.jsx)(a.default,{id:"d6a4d88506d7595c",children:'.hyBeforeCareUat.jsx-d6a4d88506d7595c{pointer-events:none;z-index:2147483000;left:8px;bottom:calc(8px + env(safe-area-inset-bottom));color:#fff;background:#1e2721f0;border-radius:12px;gap:4px;width:min(230px,100vw - 16px);padding:9px 10px;font-family:inherit;display:grid;position:fixed;box-shadow:0 8px 26px #0000003d}.hyBeforeCareUat.pass.jsx-d6a4d88506d7595c{background:#116c3af5}.hyBeforeCareUat.error.jsx-d6a4d88506d7595c{background:#9a3039f5}.hyBeforeCareUat.jsx-d6a4d88506d7595c strong.jsx-d6a4d88506d7595c{font-size:10px}.hyBeforeCareUat.jsx-d6a4d88506d7595c>span.jsx-d6a4d88506d7595c,.hyBeforeCareUat.jsx-d6a4d88506d7595c>
1small.jsx-d6a4d88506d7595c{opacity:.88;font-size:8px;line-height:1.35}.hyBeforeCareUat.jsx-d6a4d88506d7595c ul.jsx-d6a4d88506d7595c{grid-template-columns:1fr 1fr;gap:2px 7px;margin:2px 0;padding:0;list-style:none;display:grid}.hyBeforeCareUat.jsx-d6a4d88506d7595c li.jsx-d6a4d88506d7595c{opacity:.62;font-size:7.5px;line-height:1.3}.hyBeforeCareUat.jsx-d6a4d88506d7595c li.jsx-d6a4d88506d7595c:before{content:"â "}.hyBeforeCareUat.jsx-d6a4d88506d7595c li[data-ok=true].jsx-d6a4d88506d7595c{opacity:1}.hyBeforeCareUat.jsx-d6a4d88506d7595c li[data-ok=true].jsx-d6a4d88506d7595c:before{content:"â "}'})]})}])},29633,e=>{"use strict";var t=e.i(43476),a=e.i(37902),r=e.i(71645);e.s(["default",0,function(){return r.default.useEffect(()=>{let e=!1,t=!1,a=performance.now(),r=()=>{a=performance.now(),t=!1},i=e=>{let t=e.target instanceof Element?e.target:null;if(!t?.closest(".hyP1RegionRow>label:not(.check)"))return;let a=document.activeElement;a instanceof HTMLElement&&a.matches("input,textarea,[contenteditable='true']")&&a.blur(),r()},o=t=>{let a=t.target;a?.matches(".hyP1Search input")&&(e=!0,r())},n=()=>{e=!1,r()},s=()=>{document.body.classList.toggle("hyBeforePickerOpen",!!document.querySelector(".hyGuidedPickerBackdrop"))},d=new MutationObserver(e=>{e.some(e=>{var t;let a;return a=(t=e.target)instanceof Element?t:t.parentElement,!a?.closest(".hyBeforeCareUat")})&&r(),s()});d.observe(document.body,{subtree:!0,childList:!0,attributes:!0});let l=window.setInterval(()=>{!e||t||document.querySelector(".hyGuidedPickerBackdrop,.hyP1Modal,.hyPilotOverlay,.hyCompareHubBackdrop")||document.documentElement.scrollWidth>window.innerWidth+1||performance.now()-a<800||(t=!0,window.dispatchEvent(new CustomEvent("hyostory:before-care-ui-stable",{detail:{settledMs:Math.round(performance.now()-a)}})))},120);return document.addEventListener("pointerdown",i,!0),document.addEventListener("focusin",o),window.addEventListener("hyostory:before-care-stage",n),window.addEventListener("hyostory:before-care-stage-synced",r),s(),()=>{window.clearInterval(l),d.disconnect(),document.removeEventListener("pointerdown",i,!0),document.removeEventListener("focusin",o),window.removeEventListener("hyostory:before-care-stage",n),window.removeEventListener("hyostory:before-care-stage-synced",r),document.body.classList.remove("hyBeforePickerOpen")}},[]),(0,t.jsx)(a.default,{id:"f656e80b6a169b60",children:"body.hyBeforePickerOpen{overscroll-behavior:none!important;overflow:hidden!important}.hyBeforeCareUat.pass.saved{border-radius:999px!important;grid-template-columns:auto!important;gap:0!important;width:auto!important;max-width:calc(100vw - 16px)!important;padding:7px 9px!important}.hyBeforeCareUat.pass.saved>span,.hyBeforeCareUat.pass.saved>ul{display:none!important}.hyBeforeCareUat.pass.saved>small{white-space:nowrap!important;margin-top:2px!important;font-size:7.5px!important}"})}])},24023,e=>{"use strict";e.s(["default",0,function(){return null}])},10615,e=>{"use strict";var t=e.i(43476),a=e.i(37902);e.s(["default",0,function(){return(0,t.jsx)(a.default,{id:"b6a54a357d66037f",children:'@media (width<=760px){#hyNearbyHost{margin:0 auto 10px!important;padding:0 12px!important}.hyNearbyCard{border-radius:17px!important;padding:13px!important;overflow:visible!important;box-shadow:0 8px 22px #123d271f!important}.hyNearbyHead{grid-template-columns:1fr auto!important;align-items:center!important;gap:8px 10px!important;display:grid!important}.hyNearbyHead small{letter-spacing:.03em!important;font-size:9px!important}.hyNearbyHead h2{letter-spacing:-.35px!important;margin:2px 0 0!important;font-size:16px!important;line-height:1.28!important}.hyNearbyHead p{display:none!important}.hyNearbyHead>button{white-space:nowrap!important;border-radius:11px!important;min-height:40px!important;padding:0 11px!important;font-size:10.5px!important}.hyNearbyAddressRow{gap:6px!important;margin-top:9px!important}.hyNearbyAddressRow input,.hyNearbyAddressRow button{border-radius:10px!important;height:40px!important}.hyNearbyAddressRow input{padding:0 10px!important;font-size:12px!important}.hyNearbyAddressRow button{padding:0 11px!important;font-size:10.5px!important}.hyNearbyMap{border-radius:12px!important;height:300px!important;margin-top:9px!important;margin-bottom:98px!important;overflow:visible!important}.hyNearbyMap iframe{border-radius:12px!important;overflow:hidden!important}.hyNearbyBadge,.hyPilotPinCount,.hyPilotLegend{display:none!important}.hyRadiusPilot{box-shadow:none!important;background:0 0!important;border-radius:0!important;justify-content:flex-start!important;gap:5px!important;padding:0!important;display:flex!important;inset:auto 0 -43px!important}.hyRadiusPilot>span{color:#355846!important;align-items:center!important;height:34px!important;padding:0 3px!important;font-size:9px!important;font-weight:900!important;display:inline-flex!important}.hyRadiusPilot button{background:#fff!important;border-radius:10px!important;min-width:48px!important;height:34px!important;padding:0 10px!important;font-size:10px!important}.hyRadiusPilot button.on{color:#fff!important;background:#176d43!important}.hyPilotMiniCard{width:auto!important;max-width:none!important;min-height:42px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;padding:6px 0!important;display:grid!important;inset:auto 0 -92px!important}.hyPilotMiniInfo{min-width:0!important}.hyPilotMiniInfo strong{white-space:nowrap!important;text-overflow:ellipsis!important;font-size:11px!important;line-height:1.2!important;display:block!important;overflow:hidden!important}.hyPilotMiniInfo small{white-space:nowrap!important;text-overflow:ellipsis!important;margin-top:2px!important;font-size:8.5px!important;line-height:1.2!important;display:block!important;overflow:hidden!important}.hyPilotMiniInfo em{display:none!important}.hyPilotMiniActions{flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;display:flex!important}.hyPilotMiniActions button{white-space:nowrap!important;border-radius:9px!important;min-width:0!important;height:32px!important;padding:0 8px!important;font-size:8.5px!important}.hyPilotMiniActions .compareNow{display:none!important}.hyPilotMiniActions .close{width:32px!important;padding:0!important;font-size:18px!important}.hyNearbyStatus{border-radius:9px!important;margin-top:7px!important;padding:7px 9px!important;font-size:9.5px!important;line-height:1.35!important}
1.hyNearbyRegionJump{border-radius:9px!important;min-height:36px!important;margin-top:7px!important;padding:0 10px!important;font-size:10px!important}.hyNearbyNote{display:none!important}.hyP1FilterCard{margin-top:4px!important;padding-top:38px!important;position:relative!important}.hyP1FilterCard:before{content:"ì ì²´ ìì¤ ê²ì · ì§ì·ìì¤ëª
·ìë¹ì¤ ì íì¼ë¡ ë ì¢í기";color:#315b43;letter-spacing:-.1px;font-size:10px;font-weight:900;position:absolute;top:12px;left:14px}.hyP1FilterCard:after{display:none!important}.hyP1RegionRow,.hyP1PracticalFilters{gap:6px!important}.hyP1Summary{margin-top:9px!important}.hyP1Workspace{padding-top:34px!important;position:relative!important}.hyP1Workspace:after{content:"ìì¤ ê²°ê³¼ · ëë¬ì ìì¸ë³´ê¸° · ìµë 3ê³³ ë¹êµ";color:#52665a;letter-spacing:-.1px;font-size:10px;font-weight:900;position:absolute;top:8px;left:14px}.hyP1Card{border-radius:16px!important}.hyP1CardBody{padding:13px!important}.hyP1CardBody h2{margin-bottom:5px!important;font-size:15px!important;line-height:1.28!important}.hyP1Actions{gap:6px!important}.hyP1Actions a,.hyP1Actions button,.hyP1Save{min-height:40px!important}.hyMobileCompareFab{min-width:86px!important;height:44px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;font-size:12px!important}body:has(.hyP1Modal){touch-action:none!important;overflow:hidden!important}body:has(.hyCompareHubBackdrop){touch-action:none!important;overflow:hidden!important}.hyP1Modal,.hyCompareHubBackdrop{touch-action:pan-y!important}.hyP1Modal{background:#f7faf8!important;place-items:stretch stretch!important;padding:0!important}.hyP1ComparePanel{border-radius:0!important;width:100%!important;height:100dvh!important;max-height:none!important}.hyP1ComparePanel>header{z-index:4!important;background:#fff!important;padding:13px 14px!important;position:sticky!important;top:0!important}.hyP1ComparePanel>header small{font-size:10px!important}.hyP1ComparePanel>header h2{margin-top:2px!important;font-size:18px!important;line-height:1.28!important}.hyP1ComparePanel>header>button{border-radius:50%!important;width:40px!important;height:40px!important;font-size:24px!important}.hyP1CompareScroll{-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;background:#fff!important;flex:1!important;padding-top:30px!important;position:relative!important;overflow:auto!important}.hyP1CompareScroll:before{content:"â ì¢ì°ë¡ ë°ì´ ìì¤ë³ ë´ì©ì ë¹êµíì¸ì â";color:#557063;white-space:nowrap;font-size:10px;font-weight:900;position:absolute;top:7px;left:12px}.hyP1CompareScroll table{table-layout:fixed!important;width:max-content!important;min-width:0!important}.hyP1CompareScroll th,.hyP1CompareScroll td{word-break:keep-all!important;white-space:normal!important;padding:10px 8px!important;font-size:12px!important;line-height:1.4!important}.hyP1CompareScroll th:first-child{z-index:3!important;width:78px!important;min-width:78px!important;max-width:78px!important}.hyP1CompareScroll th:not(:first-child),.hyP1CompareScroll td:not(:first-child){width:176px!important;min-width:176px!important;max-width:176px!important}.hyP1CompareScroll thead th{z-index:2!important;background:#fff!important;position:sticky!important;top:0!important}.hyP1CompareScroll thead th:first-child{z-index:5!important;background:#f4f8f5!important}.hyP1CompareScroll thead th strong{margin-bottom:4px!important;font-size:12px!important;line-height:1.3!important;display:block!important}.hyP1CompareScroll thead th button{border-radius:8px!important;min-height:30px!important;padding:0 8px!important;font-size:9.5px!important}.hyP1ComparePanel>footer{z-index:4!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;background:#fff!important;gap:8px!important;position:sticky!important;bottom:0!important}.hyP1ComparePanel>footer span{font-size:9.5px!important;line-height:1.35!important}.hyP1ComparePanel>footer button{border-radius:10px!important;min-width:82px!important;min-height:40px!important;font-weight:900!important}}'})}])},25325,e=>{"use strict";var t=e.i(43476);e.s(["NextIcon",0,function({name:e,size:a=26}){let r={fill:"none",stroke:"currentColor",strokeWidth:2.15,strokeLinecap:"round",strokeLinejoin:"round"};return(0,t.jsxs)("svg",{width:a,height:a,viewBox:"0 0 32 32","aria-hidden":"true",children:["menu"===e&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("path",{d:"M6 9h20M6 16h20M6 23h20",...r})}),"bell"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 23h14l-2-3v-6a5 5 0 0 0-10 0v6z",...r}),(0,t.jsx)("path",{d:"M14 26h4",...r})]}),"notice"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"9",...r}),(0,t.jsx)("path",{d:"M16 11v6M16 21h.01",...r})]}),"meal"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 6v8M12 6v8M9 10h3M10.5 14v12",...r}),(0,t.jsx)("path",{d:"M22 6c-3 5-3 9 0 12v8M22 6v12",...r})]}),"program"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 9h16M9 16h16M9 23h16",...r}
1),(0,t.jsx)("circle",{cx:"5",cy:"9",r:"1.2",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"5",cy:"16",r:"1.2",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"5",cy:"23",r:"1.2",fill:"currentColor"})]}),"daily"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"8",y:"5",width:"16",height:"22",rx:"2",...r}),(0,t.jsx)("path",{d:"M12 11h8M12 16h8M12 21h6",...r})]}),"car"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M7 13l3-5h12l3 5 1 3v7H6v-7z",...r}),(0,t.jsx)("path",{d:"M8 16h16",...r}),(0,t.jsx)("circle",{cx:"10",cy:"21",r:"1.5",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"22",cy:"21",r:"1.5",fill:"currentColor"})]}),"album"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"6",y:"9",width:"20",height:"16",rx:"2",...r}),(0,t.jsx)("path",{d:"M9 22l5-5 4 4 3-3 5 4",...r}),(0,t.jsx)("circle",{cx:"21",cy:"13",r:"1.5",...r})]}),"message"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6 7h20v15H14l-6 5v-5H6z",...r}),(0,t.jsx)("path",{d:"M11 12h10M11 17h7",...r})]}),"home"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M5 15l11-9 11 9",...r}),(0,t.jsx)("path",{d:"M9 14v12h14V14",...r}),(0,t.jsx)("path",{d:"M14 26v-7h4v7",...r})]}),"calendar"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"5",y:"7",width:"22",height:"20",rx:"2",...r}),(0,t.jsx)("path",{d:"M10 4v6M22 4v6M5 12h22M10 17h2M15 17h2M20 17h2M10 22h2M15 22h2M20 22h2",...r})]}),"news"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M7 6h18v20H7z",...r}),(0,t.jsx)("path",{d:"M11 11h10M11 16h10M11 21h7",...r})]}),"search"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"14",cy:"14",r:"7",...r}),(0,t.jsx)("path",{d:"M19 19l7 7",...r})]}),"back"===e&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("path",{d:"M20 6L10 16l10 10",...r})}),"settings"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"4",...r}),(0,t.jsx)("path",{d:"M16 4v4M16 24v4M4 16h4M24 16h4M7.5 7.5l3 3M21.5 21.5l3 3M24.5 7.5l-3 3M10.5 21.5l-3 3",...r})]}),"logout"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M14 6H7v20h7",...r}),(0,t.jsx)("path",{d:"M17 10l6 6-6 6M23 16H12",...r})]}),"users"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"12",cy:"11",r:"4",...r}),(0,t.jsx)("circle",{cx:"22",cy:"12",r:"3",...r}),(0,t.jsx)("path",{d:"M5 26c1-6 4-9 7-9s6 3 7 9M19 18c4 0 7 3 8 8",...r})]}),"camera"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"5",y:"10",width:"22",height:"15",rx:"3",...r}),(0,t.jsx)("path",{d:"M11 10l2-4h6l2 4",...r}),(0,t.jsx)("circle",{cx:"16",cy:"17.5",r:"4",...r})]}),"record"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M8 5h16v22H8z",...r}),(0,t.jsx)("path",{d:"M12 11h8M12 16h8M12 21h5",...r})]}),"more"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"8",cy:"16",r:"1.7",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"16",cy:"16",r:"1.7",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"24",cy:"16",r:"1.7",fill:"currentColor"})]}),"heart"===e&&(0,t.jsx)("path",{d:"M16 26S6 20 6 12a5 5 0 0 1 9-3 5 5 0 0 1 9 3c0 8-8 14-8 14z",...r}),"gift"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"6",y:"13",width:"20",height:"13",rx:"1",...r}),(0,t.jsx)("path",{d:"M5 9h22v5H5zM16 9v17M16 9c-5 0-7-2-7-4 0-3 5-2 7 4zm0 0c5 0 7-2 7-4 0-3-5-2-7 4z",...r})]}),"comment"===e&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("path",{d:"M6 7h20v14H14l-6 5v-5H6z",...r})}),"check"===e&&(0,t.jsx)("path",{d:"M7 17l6 6L26 8",...r}),"chevron"===e&&(0,t.jsx)("path",{d:"M12 7l9 9-9 9",...r}),"person"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"16",cy:"10",r:"4",...r}),(0,t.jsx)("path",{d:"M8 27c.8-6.3 4-10 8-10s7.2 3.7 8 10",...r})]}),"health"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M16 26S7 20 7 12a5 5 0 0 1 9-3 5 5 0 0 1 9 3c0 8-9 14-9 14z",...r}),(0,t.jsx)("path",{d:"M10 16h4l2-4 3 7 2-3h3",...r})]}),"document"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 5h10l5 5v17H9z",...r}),(0,t.jsx)("path",{d:"M19 5v6h5M12 16h9M12 21h9",...r})]}),"timeline"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M10 6v20",...r}
1),(0,t.jsx)("circle",{cx:"10",cy:"9",r:"2",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"10",cy:"17",r:"2",fill:"currentColor"}),(0,t.jsx)("circle",{cx:"10",cy:"25",r:"2",fill:"currentColor"}),(0,t.jsx)("path",{d:"M15 9h11M15 17h8M15 25h10",...r})]}),"capture"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"5",y:"9",width:"22",height:"17",rx:"3",...r}),(0,t.jsx)("circle",{cx:"16",cy:"17.5",r:"4",...r}),(0,t.jsx)("path",{d:"M11 9l2-3h6l2 3",...r})]}),"import"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M8 5h12l4 4v18H8z",...r}),(0,t.jsx)("path",{d:"M16 11v10M12 17l4 4 4-4",...r})]}),"refresh"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M24 10a10 10 0 1 0 1.5 11",...r}),(0,t.jsx)("path",{d:"M24 5v6h-6",...r})]}),"add"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"11",...r}),(0,t.jsx)("path",{d:"M16 10v12M10 16h12",...r})]}),"map"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M5 8l7-3 8 3 7-3v19l-7 3-8-3-7 3z",...r}),(0,t.jsx)("path",{d:"M12 5v19M20 8v19",...r})]}),"send"===e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M5 15L27 5l-8 22-4-9z",...r}),(0,t.jsx)("path",{d:"M15 18L27 5",...r})]})]})}])},18180,e=>{"use strict";var t=e.i(43476),a=e.i(37902),r=e.i(98902);e.s(["default",0,function({active:e,loggedIn:i=!1,onLogout:o}){return(0,t.jsxs)("header",{className:"jsx-3e9c809621da5aa8 wfPublicNav",children:[(0,t.jsx)("a",{href:"/","aria-label":"ëë´ìí í",className:"jsx-3e9c809621da5aa8 wfPublicBrand",children:(0,t.jsx)(r.default,{size:38,showName:!0})}),(0,t.jsxs)("nav",{"aria-label":"ëë´ìí ì±ì© ë©ë´",className:"jsx-3e9c809621da5aa8",children:[(0,t.jsx)("a",{href:"/discover",className:"jsx-3e9c809621da5aa8 "+(("DISCOVER"===e?"active":"")||""),children:"ìì¤ ëë¬ë³´ê¸°"}),(0,t.jsx)("a",{href:"/jobs",className:"jsx-3e9c809621da5aa8 "+(("JOBS"===e?"active":"")||""),children:"ì±ì©ì ë³´"}),(0,t.jsx)("a",{href:"/workforce",className:"jsx-3e9c809621da5aa8 "+(("WORKFORCE"===e?"active":"")||""),children:"ë´ êµ¬ì§ì ë³´"}),i&&o?(0,t.jsx)("button",{type:"button",onClick:o,className:"jsx-3e9c809621da5aa8",children:"ë¡ê·¸ìì"}):(0,t.jsx)("a",{href:"/app?intent=login",className:"jsx-3e9c809621da5aa8",children:"ìì¤Â·ë³´í¸ì ë¡ê·¸ì¸"})]}),(0,t.jsx)(a.default,{id:"3e9c809621da5aa8",children:".wfPublicNav.jsx-3e9c809621da5aa8{z-index:20;box-sizing:border-box;background:#fff;border-bottom:1px solid #e4ebe6;justify-content:space-between;align-items:center;height:72px;padding:0 max(24px,50vw - 590px);display:flex;position:sticky;top:0}.wfPublicBrand.jsx-3e9c809621da5aa8{color:#31483c;align-items:center;text-decoration:none;display:flex}.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8{white-space:nowrap;align-items:center;gap:22px;font-size:14px;font-weight:800;display:flex}.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8 a.jsx-3e9c809621da5aa8,.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8 button.jsx-3e9c809621da5aa8{color:#31483c;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none}.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8 .active.jsx-3e9c809621da5aa8{color:#167443}.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8 button.jsx-3e9c809621da5aa8{color:#64756c}.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8 a.jsx-3e9c809621da5aa8:hover,.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8 button.jsx-3e9c809621da5aa8:hover{color:#167443}@media (width<=760px){.wfPublicNav.jsx-3e9c809621da5aa8{align-items:flex-start;gap:12px;height:auto;min-height:68px;padding:10px 14px}.wfPublicNav.jsx-3e9c809621da5aa8 nav.jsx-3e9c809621da5aa8{flex-wrap:wrap;justify-content:flex-end;gap:8px 13px;font-size:12px}}"})]})}])},79956,e=>{"use strict";var t=e.i(17526);async function a(e,a,r){if(!t.HYOSTORY_CLOUD.publishableKey)throw Error("NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY missing");let i={apikey:t.HYOSTORY_CLOUD.publishableKey,"Content-Type":"application/json"};r?.accessToken&&(i.Authorization=`Bearer ${r.accessToken}`);let o=await fetch(`${t.HYOSTORY_CLOUD.url}/rest/v1/rpc/${e}`,{method:"POST",headers:i,body:JSON.stringify(a)}),n=await o.text(),s=null;try{s=n?JSON.parse(n):null}catch{s=n}if(!o.ok)throw Error("object"==typeof s&&s&&"message"in s?String(s.message):`HTTP ${o.status}`);return Array.isArray(s)?s:[]}async function r(e,t,r){let i=(await a(e,t,r))[0];if(!i?.journey_token)throw Error("CARE_JOURNEY_RESPONSE_MISSING");return i}async function i(e,t){let r=(await a("hyostory_link_journey_consultation",{p_journey_token:t.journeyToken,p_inquiry_id:t.inquiryId},e))[0];if(!r?.journey_token)throw Error("JOURNEY_CONSULTATION_LINK_RESPONSE_MISSING");return r}async function o(e){let t=(await a("hyostory_save_before_care_context",{p_journey_token:e.journeyToken,p_stage_code:e.stageCode,p_care_need:e.careNeed,p_supp
1ort_network:e.supportNetwork,p_priority_codes:e.priorities,p_region:e.region.trim()}))[0];if(!t?.journey_token)throw Error("BEFORE_CARE_CONTEXT_SAVE_RESPONSE_MISSING");return t}async function n(e){if(!e)return null;let t=(await a("hyostory_before_care_context",{p_journey_token:e}))[0];return t?.journey_token?t:null}async function s(e,t){let r=(await a("hyostory_link_before_care_inquiry",{p_journey_token:t.journeyToken,p_inquiry_id:t.inquiryId},e))[0];if(!r?.journey_token)throw Error("BEFORE_CARE_INQUIRY_LINK_RESPONSE_MISSING");return r}e.s(["linkBeforeCareInquiry",0,s,"linkJourneyConsultation",0,i,"loadBeforeCareContext",0,n,"saveBeforeCareContext",0,o,"saveBeforeCareJourney",0,function(e){return r("hyostory_start_or_advance_before_care",{p_journey_token:e.journeyToken||null,p_entry_status:e.status,p_stage:e.stage})}])},74290,e=>{"use strict";var t=e.i(17526);let a="da0d0000-0000-4000-8000-000000000001";async function r(e,a){if(!t.HYOSTORY_CLOUD.publishableKey)return[];let r=new URLSearchParams(a),i=await fetch(`${t.HYOSTORY_CLOUD.url}/rest/v1/${e}?${r.toString()}`,{headers:{apikey:t.HYOSTORY_CLOUD.publishableKey}});return i.ok?await i.json():[]}async function i(e,a){if(!t.HYOSTORY_CLOUD.publishableKey)return{ok:!1,rows:[],status:0};let r=await fetch(`${t.HYOSTORY_CLOUD.url}/rest/v1/rpc/${e}`,{method:"POST",headers:{apikey:t.HYOSTORY_CLOUD.publishableKey,"Content-Type":"application/json"},body:JSON.stringify(a)});return r.ok?{ok:!0,rows:await r.json(),status:r.status}:{ok:!1,rows:[],status:r.status}}let o={"demo-daon-program-art":"/demo/daon/art.svg","demo-daon-program-walk":"/demo/daon/walk.svg","demo-daon-program-music":"/demo/daon/music.svg","demo-daon-program-exercise":"/demo/daon/exercise.svg","demo-daon-program-birthday":"/demo/daon/friday.svg","demo-daon-meal-weekly":"/demo/daon/weekly-menu.svg","demo-daon-meal-lunch":"/demo/daon/meal-lunch.svg","demo-daon-meal-snack":"/demo/daon/meal-snack.svg","demo-daon-notice-autumn":"/demo/daon/walk.svg","demo-daon-notice-holiday":"/demo/daon/friday.svg","demo-daon-notice-health":"/demo/daon/exercise.svg","demo-daon-notice-family":"/demo/daon/art.svg"},n={"?ë¼ì¬ê°ë³µì§ì¼í°":"ìë¼ì¬ê°ë³µì§ì¼í°"};function s(e){let t=String(e||"").replace(/\s+/g," ").trim();return(t=(t=(t=n[t]||t).replace(/^["'ââââ]?\((?:[A-Za-z]|\d{1,3})\)["'ââââ]?\s*/u,"")).replace(/^["'ââââ]+\s*/u,""))||"ìì¤ëª
íì¸ íì"}function d(e){return e.map(e=>({...e,name:s(e.name)}))}async function l(e=""){let t=(await r("facilities",{select:"id,name,facility_type,address,latitude,longitude,public_phone,description,public_enabled,public_profile_enabled,cover_storage_path",public_enabled:"eq.true",public_profile_enabled:"eq.true",order:"name.asc",limit:"24"})).filter(e=>e.id!==a).map(e=>({...e,name:s(e.name)})),i=e.trim().toLowerCase();return i?t.filter(e=>`${e.name} ${e.address||""}`.toLowerCase().includes(i)):t}async function p(e={}){let t={p_query:e.query?.trim()||null,p_sido:e.sido?.trim()||null,p_sigungu:e.sigungu?.trim()||null,p_category:e.category&&"ALL"!==e.category?e.category:null,p_hyostory_only:!!e.hyostoryOnly,p_limit:Math.min(Math.max(e.limit??60,1),200),p_offset:Math.max(e.offset??0,0)},r=await i("hyostory_public_facility_registry_v2",t);if(r.ok)return d(r.rows).filter(e=>e.facility_id!==a);let o=await i("hyostory_public_facility_registry",t);return o.ok?d(o.rows).filter(e=>e.facility_id!==a):(await l(e.query||"")).map(e=>{let t,a=(t=String(e.facility_type||"").toUpperCase()).includes("DAY")||t.includes("주ì¼")||t.includes("ë°ì´")?"DAYCARE":t.includes("NURS")||t.includes("ììì")?"NURSING_HOME":"OTHER";return{registry_id:null,facility_id:e.id,provider_code:null,name:e.name,facility_type:e.facility_type,facility_category:a,service_categories:[a],sido:"",sigungu:"",address:e.address||"",public_phone:e.public_phone,latitude:e.latitude,longitude:e.longitude,is_hyostory:!0,public_profile_enabled:!0,claim_verified:!1,cover_storage_path:e.cover_storage_path,description:e.description||"",consultation_status:"UNKNOWN",capacity_status:"UNKNOWN",transport_available:null,service_features:[],special_care:[],source_name:"HYOSTORY",source_updated_at:null,source_observed_at:null,facility_confirmed_at:null,facility_info_updated_at:null}}).filter(t=>!e.category||"ALL"===e.category||t.service_categories.includes(e.category))}async function c(){let e=await i("hyostory_public_facility_regions_v2",{});if(e.ok)return e.rows;let t=await i("hyostory_public_facility_regions",{});return t.ok?t.rows:[]}async function h(e){let t=(await r("facilities",{select:"id,name,facility_type,address,latitude,longitude,public_phone,description,public_enabled,public_profile_enabled,cover_storage_path",id:`eq.${e}`,public_enabled:"eq.true",public_profile_enabled:"eq.true",limit:"1"}))[0];return t?{...t,name:s(t.name)}:null}async function m(e,t="DISCOVERY"){let a=await i("hyostory_public_facility_contents",{p_facility_id:e,p_channel:t,p_limit:40});return a.ok?a.rows:[]}async function x(e){return r("media_items",{select:"id,facility_id,media_type,visibility,original_storage_path,playback_storage_path,thumbnail_storage_path,care_date,caption,consent_confirmed,created_at",facility_id:`eq.${e}`,visibility:"eq.FACILITY_PUBLIC",consent_confirmed:"eq.true",order:"care_date.desc,created_at.desc",limit:"36"})}e.s(["getPublicFacility",0,h,"getPublicFacilityContents",0,m,"getPublicFacilityMedia",0,x,"listPublicFacilities",0,l,"listPublicFacilityDirectory",0,p,"listPublicFacilityRegions",0,c,"publicContentAttachmentUrl",0,function(e,a="DISCOVERY"){return o[e]?o[e]:e?`${t.HYOSTORY_CLOUD.url}/functions/v1/public-content-asset?content_id=${encodeURIComponent(e)}&channel=${encodeURIComponent(a)}`:""},"publicObjectUrl",0,function(e){if(!e)return"";if(e.startsWith("/")||/^https?:\/\//i.test(e))return e;let a=e.replace(/^\/+/,""),r=a.startsWith("hyostory-public/")?a.slice(16):a;return`${t.HYOSTORY_CLOUD.url}/storage/v1/object/public/hyostory-public/${r.split("/").map(encodeURIComponent).join("/")}`}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.