1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44250,e=>{"use strict";var s=e.i(43476),t=e.i(8164);function l({size:e=16}){return(0,s.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"shrink-0",children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,s.jsx)("path",{d:"M12 11.2v5M12 8.2h.01"})]})}let a={note:{wrap:"bg-n-25 [border-left-color:var(--color-n-400)]",head:"text-ink",body:"text-body"},info:{wrap:"bg-accent-soft [border-left-color:var(--color-accent)]",head:"text-accent-deep",body:"text-ink-soft"},warning:{wrap:"bg-warn-bg [border-left-color:var(--color-warn-accent)]",head:"text-warn-accent",body:"text-warn-ink"}};e.s(["Callout",0,function({tone:e="note",title:r,children:n}){let i=a[e];return(0,s.jsxs)("div",{className:`my-6 rounded-lg border border-l-2 border-line px-4 py-3.5 sm:px-5 sm:py-4 ${i.wrap}`,children:[r?(0,s.jsxs)("div",{className:`mb-1.5 flex items-center gap-2 ${i.head}`,children:["warning"===e?(0,s.jsx)(t.IconAlert,{size:16}):(0,s.jsx)(l,{}),(0,s.jsx)("strong",{className:"text-[13.5px] font-semibold tracking-[-0.02em]",children:r})]}):null,(0,s.jsx)("div",{className:`text-[15px] leading-[1.75] ${i.body}`,children:n})]})}])},59823,e=>{"use strict";e.s(["directoryEntries",0,[{id:"example-rgv-korean-market",name:"RGV Korean Market (Example)",category:"ë§í¸Â·ìí",city:"ë§¥ìë ",phone:"(956) 000-0000",intro:"â» ì´ í목ì ë±ë¡ ììì
ëë¤, ì¤ì ë¡ ì¡´ì¬íë ê°ê²ê° ìëëë¤. ìëì²ë¼ ìí¸Â·ë¶ë¥Â·ì£¼ì·ì í·ì¬ì§ê³¼ í¨ê» ê°ë¨í ìê°ë¥¼ ì ì´ ì£¼ìë©´ ë©ëë¤. ì) íêµ ììì¬ë¥¼ ì 문ì¼ë¡ ì·¨ê¸íë ë§í¸ì
ëë¤. ê¹ì¹Â·ì¥ë¥Â·ëëìí·ë¼ë©´Â·ì¦ììíì ê°ì¶ê³ ìê³ , ëª
ì ìë ì ìì©íê³¼ ë¡ë ì¤ë¹í©ëë¤. 주차 ê³µê°ì´ ëê³ íêµì´ë¡ 문ìíì¤ ì ììµëë¤.",address:"0000 Example St, McAllen, TX 78501 (ìì 주ì)",mapQuery:"McAllen, TX",hours:"ìâí 10:00â20:00 · ì¼ 12:00â18:00 (ìì)",imageUrl:"/directory/rgv-kmart-logo.svg",updated:"2026.08",sample:!0},{id:"tokyo-asian-market",name:"Tokyo Asian Market",category:"ë§í¸Â·ìí",city:"ë§¥ìë ",phone:"(956) 664-9007",intro:"ë§¥ìë 10ë²ê°ì ìë ììì ìë£íì ì
ëë¤. íêµÂ·ì¼ë³¸Â·ì¤êµÂ·ë² í¸ë¨Â·í리í ìíì ë루 ì·¨ê¸í´, ë¼ë©´ê³¼ ê¹ì¹Â·ì¥ë¥Â·ìì¤ë¥, ëëìí, ê³¼ìì ìë£ê¹ì§ í ë²ì ë³¼ ì ììµëë¤. ì¼ë° ë§í¸ìì 구í기 ì´ë ¤ì´ ìì
ììì¬ë¥¼ ì°¾ì ë ë¤ë¬ë³¼ ë§í©ëë¤.",address:"2112 N 10th St #2112a, McAllen, TX 78501",mapQuery:"Tokyo Asian Market, 2112 N 10th St, McAllen, TX 78501",mapUrl:"https://maps.app.goo.gl/r7fPbtUEjpgPeVLT8",hours:"20:00 ë§ê° · ìì¼ë³ ìì
ìê°ì 방문 ì íì¸",imageUrl:"/directory/tokyo-asian-market.jpg",updated:"2026.08"}]])},85872,e=>{"use strict";e.i(36180);var s=e.i(515),t=e.i(63802),l=e.i(53798),a=e.i(33545);e.i(61086);var r=e.i(27215),n=e.i(59141);let i="directory";async function o(e,s){let t=[];for(let l=0;l<s.length;l++){let a=s[l],i=a.name.replace(/[^a-zA-Z0-9._-]/g,"_"),o=`directory/${e}/${Date.now()}_${l}_${i}`,c=await (0,r.uploadBytes)((0,r.ref)(n.storage,o),a,{contentType:a.type});t.push(await (0,r.getDownloadURL)(c.ref))}return t}async function c(e,l,r){if(!r.length)throw Error("ì¬ì§ì ìµì í ì¥ ì¬ë ¤ì£¼ì¸ì.");let c=await o(e,r),d={};for(let[e,s]of Object.entries(l))void 0!==s&&""!==s&&(d[e]=s);await (0,t.addDoc)((0,s.collection)(n.db,i),{...d,photos:c,status:"pending",submittedBy:e,createdAt:(0,a.serverTimestamp)()})}async function d(){let e=(0,t.query)((0,s.collection)(n.db,i),(0,t.where)("status","==","published"));return(await (0,t.getDocs)(e)).docs.map(e=>({id:e.id,...e.data()}))}async function x(){let e=(0,t.query)((0,s.collection)(n.db,i),(0,t.where)("status","==","pending"),(0,t.orderBy)("createdAt","desc"));return(await (0,t.getDocs)(e)).docs.map(e=>({id:e.id,...e.data()}))}async function m(e){await (0,t.updateDoc)((0,l.doc)(n.db,i,e),{status:"published",publishedAt:(0,a.serverTimestamp)()})}async function h(e){await (0,t.deleteDoc)((0,l.doc)(n.db,i,e))}e.s(["DIRECTORY_CATEGORIES",0,["ìë¹","ì¹´íÂ·ë² ì´ì»¤ë¦¬","ë§í¸Â·ìí","ë³ì·ìì","ì¹ê³¼","ì½êµ","미ì©Â·ë·°í°","êµí·ì¢
êµ","ë²ë¥ ","ë¶ëì°","ë³´í·ê¸ìµ","ìëì°¨","êµì¡Â·íì","ì 문 ìë¹ì¤","기í"],"approveListing",0,m,"deleteListing",0,h,"fetchPending",0,x,"fetchPublished",0,d,"submitListing",0,c])},60229,e=>{"use strict";var s=e.i(43476),t=e.i(71645),l=e.i(85872),a=e.i(8164);function r(e){return`tel:${e.replace(/[^0-9+]/g,"")}`}let n="inline-flex h-[22px] items-center gap-1 rounded px-2 text-[12px] font-semibold tracking-[-0.01em]";function i({entries:e}){let[o,c]=(0,t.useState)(""),[d,x]=(0,t.useState)("ì ì²´"),m=(0,t.useMemo)(()=>{let s=new Set(e.map(e=>e.category));return["ì ì²´",...l.DIRECTORY_CATEGORIES.filter(e=>s.has(e))]},[e]),h=(0,t.useMemo)(()=>{let s=o.trim().toLowerCase();return e.filter(e=>("ì ì²´"===d||e.category===d)&&(!s||e.name.toLowerCase().includes(s)||(e.city??"").toLowerCase().includes(s)||e.category.includes(s)||(e.intro??"").toLowerCase().includes(s)))},[e,o,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3 border-b border-line py-4 sm:flex-row sm:items-center",children:[(0,s.jsxs)("label",{className:"flex h-10 items-center gap-2 rounded-lg border border-edge bg-surface px-3 transition-colors focus-within:border-n-400 sm:w-[280px]",children:[(0,s.jsx)(a.IconSearch,{size:17,className:"shrink-0 text-faint"}),(0,s.jsx)("input",{type:"search",value:o,onChange:e=>c(e.target.value),placeholder:"ìí¸Â·ì§ì ê²ì (ì: ë§¥ìë , ì¹ê³¼)","aria-label":"주ìë¡ ê²ì",className:"w-full min-w-0 bg-transparent text-[15px] tracking-[-0.015em] text-ink outline-none"})]}),(0,s.jsx)("div",{role:"group","aria-label":"ë¶ë¥",className:"-mx-1 flex gap-1 overflow-x-auto px-1 pb-0.5",children:m.map(e=>{let t=d===e;return(0,s.jsx)("button",{type:"button",onClick:()=>x(e),"aria-pressed":t,className:`h-8 flex-none rounded-full border px-3 text-[13px] font-semibold tracking-[-0.015em] transition-colors ${t?"border-n-900 bg-n-900 text-n-0":"border-edge bg-surface text-body hover:bg-n-50 hover:text-ink"}`,children:e},e)})})]}),(0,s.jsxs)("p",{className:"py-4 text-[13px] text-subtle",children:[(0,s.jsx)("b",{className:"font-semibold text-ink tabular",children:h.length}),"ê³³"]}),0===h.length?(0,s.jsxs)("div",{className:"flex flex-col items-center gap-2.5 rounded-card border border-dashed border-edge px-6 py-16 text-center",children:[(0,s.jsx)("p",{className:"text-[15px] font-semibold text-ink",children:"ì¡°ê±´ì ë§ë ê³³ì´ ììµëë¤"}),(0,s.jsx)("p",{className:"max-w-[36ch] text-[13.5px] leading-[1.7] text-subtle",children:"ê²ìì´ë ë¶ë¥ë¥¼ ë°ê¿ ë³´ì¸ì. ë¹ ì§ ê³³ì ìëìì ë±ë¡í´ 주ìë©´ íì¸ í ì¶ê°ë©ëë¤."}),(0,s.jsx)("button",{type:"button",onClick:()=>{c(""),x("ì ì²´")},className:"mt-1 inline-flex h-8 items-center rounded-md border border-edge bg-surface px-3 text-[13px] font-semibold text-ink-soft shadow-xs transition-colors hover:border-n-300 hover:bg-n-50",children:"íí° ì´ê¸°í"})]}):(0,s.jsx)("div",{className:"grid gap-4 sm:grid-cols-2",children:h.map(e=>{var t;return(0,s.jsxs)("article",{className:"flex flex-col overflow-hidden rounded-card border border-line bg-surface transition-[border-color,box-shadow] hover:border-n-300 hover:shadow-md",children:[e.photos[0]?(0,s.jsx)("img",{src:e.photos[0],alt:e.name,className:"h-44 w-full border-b border-line object-cover"}):(0,s.jsx)("div",{className:"grid h-44 w-full place-items-center border-b border-line bg-n-100 text-faint",children:(0,s.jsx)(a.IconStore,{size:30})}),e.photos.length>1?(0,s.jsxs)("div",{className:"flex gap-1.5 border-b border-line bg-n-25 px-3 py-2",children:[e.photos.slice(1,5).map((t,l)=>(0,s.jsx)("img",{src:t,alt:`${e.name} ì¬ì§ ${l+2}`,className:"h-11 w-11 shrink-0 rounded border border-line object-cover"},t)),e.photos.length>5?(0,s.jsxs)("span",{className:"grid h-11 w-11 shrink-0 place-items-center rounded border border-line bg-surface text-[12px] font-semibold text-subtle tabular",children:["+",e.photos.length-5]}):null]}):null,(0,s.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-5",children:[(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:"grid h-10 w-10 shrink-0 place-items-center rounded-lg border border-edge bg-n-25 text-ink-soft",children:(0,s.jsx)(a.IconStore,{size:18})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("h3",{className:"text-[17px] font-semibold leading-[1.35] tracking-[-0.028em] text-ink",children:e.name}),(0,s.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-1",children:[(0,s.jsx)("span",{className:`${n} border border-edge text-subtle`,children:e.category}),e.city?(0,s.jsx)("span",{className:`${n} bg-n-100 text-muted`,children:e.city}):null]})]})]}),e.intro?(0,s.jsx)("p",{className:"text-[14.5px] leading-[1.7] text-body",children:e.intro}):null,(0,s.jsxs)("div",{className:"grid gap-1.5 border-t border-line pt-4 text-[13.5px] leading-[1.6] text-muted",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(a.IconPhone,{size:15,className:"shrink-0 text-faint"}),(0,s.jsx)("a",{href:r(e.phone),className:"font-semibold text-ink-soft tabular transition-colors hover:text-accent-deep",children:e.phone})]}),e.hours?(0,s.jsxs)("div",{className:"flex items-start gap-2",children:[(0,s.jsx)(a.IconClock,{size:15,className:"mt-[3px] shrink-0 text-faint"}),(0,s.jsx)("span",{children:e.hours})]}):null,e.address?(0,s.jsxs)("div",{className:"flex items-start gap-2",children:[(0,s.jsx)(a.IconMapPin,{size:15,className:"mt-[3px] shrink-0 text-faint"}),(0,s.jsx)("span",{children:e.address})]}):null,e.website?(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(a.IconExternal,{size:15,className:"shrink-0 text-faint"}),(0,s.jsx)("a",{href:e.website,target:"_blank",rel:"noopener noreferrer",className:"truncate text-ink-soft transition-colors hover:text-accent-deep",children:e.website.replace(/^https?:\/\//,"")})]}):null]}),(0,s.jsxs)("div",{className:"mt-auto flex items-center gap-2 pt-1",children:[(0,s.jsxs)("a",{href:r(e.phone),className:"inline-flex h-8 items-center gap-1.5 rounded-md border border-edge bg-surface px-3 text-[13px] font-semibold text-ink-soft shadow-xs transition-colors hover:border-n-300 hover:bg-n-50",children:[(0,s.jsx)(a.IconPhone,{size:15}),"ì í"]}),(0,s.jsxs)("a",{href:e.mapUrl||(t=e.mapQuery,`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(t)}`),target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-8 items-center gap-1.5 rounded-md px-2.5 text-[13px] font-semibold text-muted transition-colors hover:bg-n-50 hover:text-ink",children:["ì§ë 보기",(0,s.jsx)(a.IconExternal,{size:13})]}),e.sample?(0,s.jsx)("span",{className:"ml-auto text-[11.5px] text-subtle",children:"ìì"}):null]})]})]},e.id)})})]})}var o=e.i(43412),c=e.i(44250);let d="w-full rounded-lg border border-edge bg-surface px-3.5 py-2.5 text-[15px] leading-[1.7] text-ink outline-none transition-colors focus:border-n-400",x="text-[13px] font-semibold tracking-[-0.02em] text-ink",m=(0,s.jsx)("span",{className:"ml-0.5 text-accent",children:"*"});function h(){let{user:e,loading:r,signInWithGoogle:n,nickname:i}=(0,o.useAuth)(),[h,p]=(0,t.useState)(""),[u,b]=(0,t.useState)(l.DIRECTORY_CATEGORIES[0]),[g,f]=(0,t.useState)(""),[j,N]=(0,t.useState)(""),[v,y]=(0,t.useState)(""),[w,k]=(0,t.useState)(""),[C,S]=(0,t.useState)(""),[R,I]=(0,t.useState)(""),[E,A]=(0,t.useState)(""),[T,U]=(0,t.useState)(""),[z,L]=(0,t.useState)(""),[$,O]=(0,t.useState)([]),[M,D]=(0,t.useState)(null),[F,P]=(0,t.useState)(!1),[_,q]=(0,t.useState)(null),[B,G]=(0,t.useState)(!1),[Q,X]=(0,t.useState)(!1),[Y,V]=(0,t.useState)(null),K=(0,t.useRef)(null);async function W(){V(null),X(!0);try{await n()}catch{V("ë¡ê·¸ì¸íì§ ëª»íìµëë¤. ì ì í ë¤ì ìëí´ ì£¼ì¸ì. ê³ì ì ëë©´ ì´ìììê² ìë ¤ì£¼ì
1¸ì.")}finally{X(!1)}}async function Z(s){if(s.preventDefault(),q(null),!e)return void q("ë¡ê·¸ì¸ í ë¤ì ìëí´ ì£¼ì¸ì.");if(!h.trim()||!g.trim()||!v.trim())return void q("ìí¸, 주ì, ì íë íì í목ì
ëë¤.");if(0===$.length)return void D("ì¬ì§ì ìµì í ì¥ ì¬ë ¤ì£¼ì¸ì.");let t={name:h.trim(),category:u,address:g.trim(),phone:v.trim(),...j.trim()?{city:j.trim()}:{},...w.trim()?{email:w.trim()}:{},...C.trim()?{website:C.trim()}:{},...R.trim()?{mapUrl:R.trim()}:{},...E.trim()?{hours:E.trim()}:{},...T.trim()?{contactName:T.trim()}:{},...z.trim()?{intro:z.trim()}:{}};P(!0);try{await (0,l.submitListing)(e.uid,t,$.map(e=>e.file)),p(""),b(l.DIRECTORY_CATEGORIES[0]),f(""),N(""),y(""),k(""),S(""),I(""),A(""),U(""),L(""),O(e=>(e.forEach(e=>URL.revokeObjectURL(e.url)),[])),G(!0)}catch{q("ë±ë¡ì ìë£íì§ ëª»íìµëë¤. ì ì í ë¤ì ìëí´ ì£¼ì¸ì. 문ì ê° ê³ìëë©´ ì´ìììê² ìë ¤ 주ì¸ì. (ì
ë ¥íì ë´ì©ì ê·¸ëë¡ ë¨ì ììµëë¤.)")}finally{P(!1)}}return(0,t.useEffect)(()=>()=>{$.forEach(e=>URL.revokeObjectURL(e.url))},[]),r?(0,s.jsxs)("div",{className:"rounded-card border border-line bg-surface p-6",children:[(0,s.jsx)("div",{className:"h-4 w-32 animate-pulse rounded bg-n-100"}),(0,s.jsx)("div",{className:"mt-3 h-4 w-56 animate-pulse rounded bg-n-100"})]}):e?B?(0,s.jsx)("div",{className:"rounded-card border border-line bg-surface p-6 sm:p-8",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"grid h-9 w-9 shrink-0 place-items-center rounded-full bg-success-soft text-success",children:(0,s.jsx)(a.IconCheck,{size:18})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("h3",{className:"text-[17px] font-semibold tracking-[-0.025em] text-ink",children:"ë±ë¡ ì ì²ì´ ì ìëììµëë¤"}),(0,s.jsxs)("p",{className:"mt-2 max-w-[48ch] text-[14.5px] leading-[1.75] text-body",children:["ë³´ë´ì£¼ì ë´ì©ì ",(0,s.jsx)("b",{className:"font-semibold",children:"ê´ë¦¬ì ì¹ì¸"})," í 주ìë¡ì íìë©ëë¤. ì¹ì¸ ì ê¹ì§ë 목ë¡ì ëíëì§ ììì. íì¸í´ 주ì
ì ê°ì¬í©ëë¤."]}),(0,s.jsxs)("button",{type:"button",onClick:()=>G(!1),className:"mt-5 inline-flex h-9 items-center gap-1.5 rounded-md border border-edge bg-surface px-3.5 text-[13.5px] font-semibold text-ink-soft shadow-xs transition-colors hover:border-n-300 hover:bg-n-50",children:[(0,s.jsx)(a.IconPlus,{size:15}),"ë¤ë¥¸ ê³³ ë ë±ë¡í기"]})]})]})}):(0,s.jsxs)("div",{className:"rounded-card border border-line bg-surface p-5 sm:p-7",children:[(0,s.jsxs)("div",{className:"mb-5 flex items-center gap-2 text-[13px] text-subtle",children:[(0,s.jsx)(a.IconCheck,{size:14,className:"shrink-0 text-success"}),(0,s.jsxs)("span",{children:[(0,s.jsx)("b",{className:"font-semibold text-ink-soft",children:i??"ë´ ë³ëª
"})," ë³ëª
ì¼ë¡ ë±ë¡í©ëë¤."]})]}),_?(0,s.jsx)(c.Callout,{tone:"warning",title:"ë±ë¡ì ì¤í¨íìµëë¤",children:_}):null,(0,s.jsxs)("form",{onSubmit:Z,className:"flex flex-col gap-5",noValidate:!0,children:[(0,s.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-name",className:x,children:["ìí¸ / ì´ë¦ ",m]}),(0,s.jsx)("input",{id:"dir-name",type:"text",required:!0,value:h,onChange:e=>p(e.target.value),maxLength:80,placeholder:"ì: ì¡°ì ê°ë¹",className:d})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-category",className:x,children:["ë¶ë¥ ",m]}),(0,s.jsx)("select",{id:"dir-category",required:!0,value:u,onChange:e=>b(e.target.value),className:d,children:l.DIRECTORY_CATEGORIES.map(e=>(0,s.jsx)("option",{value:e,children:e},e))})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-address",className:x,children:["주ì ",m]}),(0,s.jsx)("input",{id:"dir-address",type:"text",required:!0,value:g,onChange:e=>f(e.target.value),placeholder:"ì: 1200 N 10th St, McAllen, TX 78501",className:d}),(0,s.jsx)("p",{className:"text-[12px] leading-[1.6] text-subtle",children:"ì§ë ë§í¬ì ê·¸ëë¡ ì°ì
ëë¤. ëë¡ëª
·ë²ì§ê¹ì§ ì ì´ ì£¼ìë©´ ì¢ìì."})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-mapurl",className:x,children:["êµ¬ê¸ ì§ë ë§í¬ ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("input",{id:"dir-mapurl",type:"url",value:R,onChange:e=>I(e.target.value),placeholder:"ì: https://maps.app.goo.gl/...",className:d}),(0,s.jsxs)("p",{className:"text-[12px] leading-[1.6] text-subtle",children:["êµ¬ê¸ ì§ëìì ê°ê²ë¥¼ ì°¾ì ",(0,s.jsx)("strong",{children:"ê³µì â ë§í¬ ë³µì¬"}),"í 주ì를 ë¶ì¬ë£ì´ 주ì¸ì. ìê° ì쪽ì´ë suite ë²í¸ê° ìë ê³³ë ì íí ì°ê²°ë©ëë¤. ë¹ì ëë©´ ì 주ìë¡ ê²ìë©ëë¤."]})]}),(0,s.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-city",className:x,children:["ëì ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("input",{id:"dir-city",type:"text",value:j,onChange:e=>N(e.target.value),placeholder:"ì: ë§¥ìë ",className:d})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-phone",className:x,children:["ì í ",m]}),(0,s.jsx)("input",{id:"dir-phone",type:"tel",required:!0,value:v,onCh
1ange:e=>y(e.target.value),placeholder:"ì: (956) 123-4567",className:d})]})]}),(0,s.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-email",className:x,children:["ì´ë©ì¼ ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("input",{id:"dir-email",type:"email",value:w,onChange:e=>k(e.target.value),placeholder:"ì: [email protected]",className:d})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-website",className:x,children:["ì¹ì¬ì´í¸ ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("input",{id:"dir-website",type:"url",value:C,onChange:e=>S(e.target.value),placeholder:"ì: https://example.com",className:d})]})]}),(0,s.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-hours",className:x,children:["ìì
ìê° ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("input",{id:"dir-hours",type:"text",value:E,onChange:e=>A(e.target.value),placeholder:"ì: íâì¼ 11:00â21:00 · ì í´ë¬´",className:d})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-contact",className:x,children:["ë´ë¹ì ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("input",{id:"dir-contact",type:"text",value:T,onChange:e=>U(e.target.value),placeholder:"ì: í길ë",className:d})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)("label",{htmlFor:"dir-intro",className:x,children:["ìê° ",(0,s.jsx)("span",{className:"text-subtle",children:"(ì í)"})]}),(0,s.jsx)("textarea",{id:"dir-intro",value:z,onChange:e=>L(e.target.value),rows:5,placeholder:"ì: ì¯ë¶ ìë
ê°ë¹ì ëë©´ì´ ì¸ê¸°ì
ëë¤. ë¨ì²´ ìì½ë ë°ìì.",className:`${d} resize-y`}),(0,s.jsx)("p",{className:"text-[12px] leading-[1.6] text-subtle",children:"ë©ë´ë ìë¹ì¤, í¹ì§ì ìë ¤ì£¼ì¸ì."})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,s.jsxs)("span",{className:x,children:["ì¬ì§ ",m]}),(0,s.jsx)("p",{className:"text-[12.5px] leading-[1.6] text-subtle",children:"ë¡ê³ ë ê°ê² ì¬ì§ì´ë í ì¥ ì´ì ì¬ë ¤ì£¼ì¸ì. ì¬ë¬ ì¥ë ê°ë¥í©ëë¤ (ì¥ë¹ 8MB ì´í)."}),(0,s.jsx)("input",{ref:K,id:"dir-photos",type:"file",accept:"image/*",multiple:!0,onChange:e=>(function(e){if(!e||0===e.length)return;D(null);let s=[],t=[];for(let l of Array.from(e)){if(!l.type.startsWith("image/")){t.push(`${l.name}: ì´ë¯¸ì§ íì¼ë§ ì¬ë¦´ ì ìì´ì.`);continue}if(l.size>8388608){t.push(`${l.name}: 8MB ì´íë§ ì¬ë¦´ ì ìì´ì.`);continue}s.push({file:l,url:URL.createObjectURL(l)})}t.length&&D(t.join(" ")),s.length&&O(e=>[...e,...s]),K.current&&(K.current.value="")}
1)(e.target.files),className:"sr-only"}),(0,s.jsxs)("label",{htmlFor:"dir-photos",className:"inline-flex h-10 w-fit cursor-pointer items-center gap-2 rounded-md border border-edge bg-surface px-4 text-[14px] font-semibold text-ink-soft shadow-xs transition-colors hover:border-n-300 hover:bg-n-50",children:[(0,s.jsx)(a.IconPhoto,{size:16}),"ì¬ì§ ì í"]}),M?(0,s.jsx)("p",{className:"text-[12.5px] leading-[1.6] text-warn-accent",children:M}):null,$.length>0?(0,s.jsx)("ul",{className:"mt-1 flex flex-wrap gap-2.5",children:$.map((e,t)=>(0,s.jsxs)("li",{className:"group relative h-24 w-24 overflow-hidden rounded-lg border border-line bg-n-50",children:[(0,s.jsx)("img",{src:e.url,alt:`ì íí ì¬ì§ ${t+1}`,className:"h-full w-full object-cover"}),(0,s.jsx)("button",{type:"button",onClick:()=>{O(e=>{let s=e[t];return s&&URL.revokeObjectURL(s.url),e.filter((e,s)=>s!==t)})},"aria-label":`ì¬ì§ ${t+1} ì ê±°`,className:"absolute right-1 top-1 grid h-6 w-6 place-items-center rounded-full bg-n-900/80 text-n-0 transition-colors hover:bg-n-900",children:(0,s.jsx)(a.IconClose,{size:13})})]},e.url))}):null]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3 border-t border-line pt-5",children:[(0,s.jsxs)("button",{type:"submit",disabled:F,className:"inline-flex h-10 items-center gap-2 rounded-md bg-n-900 px-5 text-[14.5px] font-semibold text-n-0 shadow-xs transition-colors hover:bg-n-800 disabled:cursor-not-allowed disabled:opacity-50",children:[F?"ë±ë¡ ì¤â¦":"주ìë¡ì ë±ë¡ ì ì²",F?null:(0,s.jsx)(a.IconArrowRight,{size:15})]}),(0,s.jsxs)("p",{className:"text-[12.5px] leading-[1.6] text-subtle",children:["ë±ë¡ ì ì²ì ",(0,s.jsx)("b",{className:"font-semibold text-body",children:"ê´ë¦¬ì ì¹ì¸"})," ","í 주ìë¡ì íìë©ëë¤."]})]})]})]}):(0,s.jsxs)("div",{className:"rounded-card border border-line bg-surface p-6 sm:p-8",children:[(0,s.jsx)("h3",{className:"text-[17px] font-semibold tracking-[-0.025em] text-ink",children:"ë¡ê·¸ì¸íê³ ë±ë¡í기"}),(0,s.jsx)("p",{className:"mt-2 max-w-[46ch] text-[14.5px] leading-[1.75] text-body",children:"êµ¬ê¸ ê³ì ì¼ë¡ ë¡ê·¸ì¸íë©´ 주ìë¡ì ë±ë¡í ì ìì´ì. ë³ë íìê°ì
ì ììµëë¤."}),(0,s.jsxs)("button",{type:"button",onClick:W,disabled:Q,className:"mt-5 inline-flex h-10 items-center gap-2 rounded-md bg-n-900 px-4 text-[14.5px] font-semibold text-n-0 shadow-xs transition-colors hover:bg-n-800 disabled:opacity-60",children:[Q?"ë¡ê·¸ì¸ ì¤â¦":"구ê¸ë¡ ê³ìí기",Q?null:(0,s.jsx)(a.IconArrowRight,{size:15})]}),Y?(0,s.jsx)(c.Callout,{tone:"warning",title:"ë¡ê·¸ì¸ ì¤í¨",children:Y}):null]})}function p({eyebrow:e,title:t,lead:l,updated:r,action:n}){return(0,s.jsxs)("header",{className:"border-b border-line pb-7",children:[(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[e?(0,s.jsx)("div",{className:"text-[11.5px] font-semibold uppercase tracking-[0.12em] text-accent",children:e}):null,(0,s.jsx)("h1",{className:`text-[26px] font-semibold leading-[1.25] tracking-[-0.035em] text-ink sm:text-[32px] ${e?"mt-2.5":""}`,children:t})]}),n?(0,s.jsx)("div",{className:"shrink-0 pt-1",children:n}):null]}),l?(0,s.jsx)("p",{className:"mt-4 max-w-[58ch] text-[16.5px] leading-[1.72] text-muted",children:l}):null,r?(0,s.jsxs)("div",{className:"mt-6 inline-flex items-center gap-1.5 text-[12.5px] text-subtle",children:[(0,s.jsx)(a.IconClock,{size:13,className:"shrink-0 text-faint"}),(0,s.jsxs)("span",{className:"tabular",children:["ì
ë°ì´í¸ ",r]})]}):null]})}var u=e.i(59823);function b(e){return{id:e.id,name:e.name,category:e.category,city:e.city,phone:e.phone,intro:e.intro,address:e.address,mapQuery:e.mapQuery,mapUrl:e.mapUrl,hours:e.hours,photos:e.imageUrl?[e.imageUrl]:[],sample:e.sample}}function g(e){return{id:e.id,name:e.name,category:e.category,city:e.city,phone:e.phone,intro:e.intro,address:e.address,mapQuery:e.address,mapUrl:e.mapUrl,hours:e.hours,website:e.website,photos:e.photos??[]}}e.s(["default",0,function(){let[e,r]=(0,t.useState)([]),[n,o]=(0,t.useState)(!0),[c,d]=(0,t.useState)(!0),[x,m]=(0,t.useState)(!1),f=(0,t.useRef)(null);(0,t.useEffect)(()=>{let e=!0;return(async()=>{try{let s=await (0,l.fetchPublished)();e&&r(s)}catch{e&&d(!1)}finally{e&&o(!1)}})(),()=>{e=!1}},[]);let j=(0,t.useMemo)(()=>{let s=u.directoryEntries.map(b),t=s.filter(e=>e.sample),l=s.filter(e=>!e.sample);return[...t,...e.map(g),...l]},[e]);return(0,s.jsx)("div",{className:"px-5 py-8 sm:px-8 sm:py-10",children:(0,s.jsxs)("div",{className:"mx-auto max-w-[1000px]",children:[(0,s.jsx)(p,{title:"ì°ë¦¬ëë¤ ì£¼ìë¡",lead:"íêµì´ê° íµíë ì°ë¦¬ ëë¤ ê°ê²ì ì 문ê°ë¥¼ í ê³³ì 모ì ì°ë½ì² 모ìì
ëë¤. ìë¹Â·ë§í¸Â·ë³ì·ì¹ê³¼Â·êµí·ë³í¸ì¬Â·ë¶ëì° ë±, ë¯¿ê³ ì°¾ì ì ìë ê³³ì ì¬ì§Â·ì£¼ì·ì íì í¨ê» ì 리íìµëë¤."}),(0,s.jsxs)("section",{className:"mt-6 rounded-card border border-line bg-n-25 p-5 sm:p-6",children:[(0,s.jsxs)("p",{className:"text-[14.5px] leading-[1.75] text-body",children:["ì°ë¦¬ëë¤ ì£¼ìë¡ì ì´ìê³¼ ì´ììê° í¨ê» ì±ì ê°ëë¤. ì§ì ì´ìíìë ê³³ì´ë , ì주 ì°¾ë ì¢ì ê³³ì´ë ë구ë ë±ë¡ì ì ì²í ì ìê³ , ì´ììê° ì§ì ì¶ê°í기ë í©ëë¤. ì¬ë¼ì¨ 모ë í목ì"," ",(0,s.jsx)("b",{className:"font-semibold text-ink",children:"íì¸Â·ì¹ì¸ ì ì°¨"}),"를 ê±°ì¹ ë¤ìì¼ ëª©ë¡ì íìë©ëë¤."]}),(0,s.jsxs)("button",{type:"button",onClick:function(){m(!0),requestAnimationFrame(()=>{f.current?.scrollIntoView({behavior:"smooth",block:"start"})})},className:"mt-4 inline-flex h-10 items-center gap-2 rounded-md bg-n-900 px-4 text-[14.5px] font-semibold text-n-0 shadow-xs transition-colors hover:bg-n-800",children:[(0,s.jsx)(a.IconPlus,{size:16}),"주ìë¡ì ë±ë¡í기"]})]}),c?null:(0,s.jsx)("p",{className:"mt-6 text-[13px] leading-[1.7] text-subtle",children:"ì¤ì ë±ë¡ í목ì ì¤ë¹ ì¤ì
ëë¤. ìëë ë±ë¡ íë©´ ììì
ëë¤."}),n?(0,s.jsx)("div",{className:"mt-8 grid gap-4 sm:grid-cols-2",children:[0,1].map(e=>(0,s.jsxs)("div",{className:"overflow-hidden rounded-card border border-line bg-surface",children:[(0,s.jsx)("div",{className:"h-44 w-full animate-pulse bg-n-100"}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 p-5",children:[(0,s.jsx)("div",{className:"h-4 w-2/3 animate-pulse rounded bg-n-100"}),(0,s.jsx)("div",{className:"h-3 w-1/3 animate-pulse rounded bg-n-100"}),(0,s.jsx)("div",{className:"h-3 w-full animate-pulse rounded bg-n-100"})]})]},e))}):(0,s.jsx)(i,{entries:j}),(0,s.jsxs)("section",{ref:f,className:"mt-12 scroll-mt-6",children:[(0,s.jsxs)("div",{className:"border-b border-line pb-5",children:[(0,s.jsx)("h2",{className:"text-[20px] font-semibold tracking-[-0.03em] text-ink sm:text-[22px]",children:"주ìë¡ì ë±ë¡í기"}),(0,s.jsx)("p",{className:"mt-2 max-w-[52ch] text-[14.5px] leading-[1.72] text-muted",children:"ìí¸Â·ì£¼ì·ì íì ì¬ì§ì ë¨ê²¨ 주ì¸ì. ê´ë¦¬ì íì¸ í 주ìë¡ì ì¬ë¼ê°ëë¤."})]}),(0,s.jsx)("div",{className:"mt-6",children:x?(0,s.jsx)(h,{}):(0,s.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"inline-flex h-10 items-center gap-2 rounded-md border border-edge bg-surface px-4 text-[14.5px] font-semibold text-ink-soft shadow-xs transition-colors hover:border-n-300 hover:bg-n-50",children:["ë±ë¡ ìì ì´ê¸°",(0,s.jsx)(a.IconArrowRight,{size:15})]})})]})]})})}],60229)}]);
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.