1import{r as i,j as e}from"./vendor-react-Hmgc0IJo.js";import{a as q}from"./index-CHgVLYjI.js";import{g as D,s as O}from"./inquiryService-Chy6fmci.js";import{f as $}from"./storageService-BSSwqqbq.js";import"./vendor-firebase-Dak2Hxsr.js";import"./firebase-FBroemQC.js";import"./firestoreService-BMfNrRSy.js";import"./detailHtml-B1LfqO6-.js";import"./userNotifications-BFSmaFGp.js";const B={subscription:"구ë
ê´ë¦¬ ì´ê¸°","account-deletion":"ê³ì ìì íë©´ ì´ê¸°"},U=[{id:"cancel-subscription",category:"subscription",question:"구ë
í´ì§ë ì´ëì íëì?",answer:["íë©´ ì쪽 ã구ë
ê´ë¦¬ã를 ë른 ë¤(í´ëí°ì ì¤ë¥¸ìª½ ì ë보기 ë©ë´ â ã구ë
ê´ë¦¬ã) ã구ë
í´ì§ã를 ë르면 ë©ëë¤.","í´ì§í´ë ì´ë¯¸ ê²°ì í 기ê°ì´ ëë ëê¹ì§ë ê·¸ëë¡ ì¸ ì ìê³ , ë¤ì ê²°ì ë¶í° ì²êµ¬ëì§ ììµëë¤.","íë¶ ê·ì ì ê°ì íë©´ì ãí´ì§Â·íë¶ ìë´ãì ììµëë¤."],action:"subscription"},{id:"payment-history",category:"subscription",question:"ê²°ì ë´ìì ì´ëì íì¸íëì?",answer:["ã구ë
ê´ë¦¬ã â ãê²°ì ë´ìãìì ë ì§Â·ê¸ì¡Â·ê²°ì ìë¨ì ë³¼ ì ììµëë¤.","ììì¦ì´ íìíë©´ ê²°ì ë´ìì í´ë¹ ê±´ì ëë¬ íì¸í´ 주ì¸ì."],action:"subscription"},{id:"square-image",category:"usage",question:"ì´ë¯¸ì§ë¥¼ 1:1(ì ì¬ê°)ë¡ ë§ë¤ ì ìëì?",answer:["ì¹´ëë´ì¤ ì íì ì²ìë¶í° 1:1ë¡ ë§ë¤ì´ì§ëë¤.","ìì¸íì´ì§ ì´ë¯¸ì§ë ê° ì´ë¯¸ì§ ì¹´ëì ⯠ë©ë´ â ãâï¸ ë¹ì¨ íì¥ãìì 1:1·4:5·16:9 ë± ìíë ë¹ì¨ë¡ ë°°ê²½ì ëí ë§ë¤ ì ììµëë¤(í¬ë ë§ ì¬ì©)."]},{id:"change-font",category:"usage",question:"ê¸ê¼´ì ì´ëì ë°ê¾¸ëì?",answer:['HTML ë°©ì ìì¸íì´ì§: ê²°ê³¼ íë©´ìì ã미리보기ã ëë ãí¸ì§ãì ì° ë¤ ì¤ë¥¸ìª½ ì ð¨ìì ê¸ê¼´ì ê³ ë¥´ê±°ë, ê·¸ íë©´ì ãAIìê² ìí¤ê¸°ãì "ê¸ê¼´ì ëëê³ ëì¼ë¡ ë°ê¿ì¤"ì²ë¼ ì ì¼ë©´ ë©ëë¤. ë°ê¾¼ ê¸ê¼´ì íë¡ì í¸ì ì ì¥ë©ëë¤.',"ì´ë¯¸ì§ ì¹´ë ëª©ë¡ ìì ãAIìê² ìí¤ê¸°ãë ì´ë¯¸ì§ ì ì©ì´ë¼ ê¸ê¼´ì ë°ê¾¸ì§ 못í©ëë¤. ê¸ê¼´ ìì²ì ë£ì¼ë©´ í¸ì§ íë©´ì¼ë¡ ìë´í´ ë립ëë¤.","ì´ë¯¸ì§ ë°©ì(ê¸ìê° ê·¸ë¦¼ì ë¤ì´ê° ê²½ì°)ì í´ë¹ ì´ë¯¸ì§ì ãí
ì¤í¸ í¸ì§ã ëë ãCanvas í¸ì§ãìì ê¸ìë§ë¤ ê¸ê¼´ì ë°ê¿ëë¤."]},{id:"delete-account",category:"account",question:"ê³ì ì ìì (íí´)íë ¤ë©´ ì´ë»ê² íëì?",answer:["ì¤ë¥¸ìª½ ì ë´ íë¡í(ì¬ì§)ì ë른 ë¤ ë§¨ ìë ãê³ì ìì ãìì ì§ì ì§íí ì ììµëë¤.","ì 기결ì ê° ì§í ì¤ì´ë©´ 먼ì ã구ë
ê´ë¦¬ãìì í´ì§í´ì¼ í©ëë¤. ìì ë¤ìë ìì
ë´ìê³¼ ì´ë¯¸ì§ê° 모ë ì§ìì§ê³ ëë릴 ì ììµëë¤.","ê²°ì ·구ë
기ë¡ì ë²ì ë°ë¼ ì¼ì ê¸°ê° ë³´ê´ëë©°, ê³ì ì ìë³í ì ìë ì ë³´ë ì ê±°ë©ëë¤."],action:"account-deletion"}],z={subscription:"구ë
·결ì ",usage:"ì¬ì©ë²",account:"ê³ì "},S=3,P=5*1024*1024,K="precanvas-contact-draft",ee=({onClose:d,initialCategory:h,onOpenSubscriptionManagement:E,onRequestAccountDeletion:A})=>{const{user:s}=q(),[l,c]=i.useState({name:(s==null?void 0:s.displayName)||"",email:(s==null?void 0:s.email)||"",category:h||"other",subject:"",message:""}),[x,g]=i.useState([]),[u,f]=i.useState(!1),[b,I]=i.useState(!1),[j,o]=i.useState(null),[N,y]=i.useState([]),[L,v]=i.useState(!1),w=i.useRef(null),m=`${K}:${(s==null?void 0:s.uid)||"guest"}`,F=[{value:"refund",label:"íë¶ ë¬¸ì",description:"íë¶ ë° ê²°ì ê´ë ¨ 문ì"},{value:"subscription",label:"구ë
문ì",description:"구ë
í´ì§ ë° ë³ê²½ ê´ë ¨ 문ì"},{value:"exclusive",label:"ìµì¤í´ë£¨ìë¸ ê¶íì ì²",description:"ìµì¤í´ë£¨ìë¸ ê¶í ì ì² ë° ì¹ì¸ 문ì"},{value:"technical",label:"기ì ì§ì",description:"ê¸°ë¥ ì¬ì© ë° ì¤ë¥ ê´ë ¨ 문ì"},{value:"feature",label:"ê¸°ë¥ ì ì",description:"ìë¡ì´ ê¸°ë¥ ì ì ë° ê°ì ì¬í"},{value:"other",label:"기í",description:"기í 문ìì¬í"}],T=i.useMemo(()=>({pending:"ì ìë¨","in-progress":"íì¸ ì¤",resolved:"ëµë³ ìë£"}),[]);i.useEffect(()=>{c(t=>({...t,name:(s==null?void 0:s.displayName)||t.name,email:(s==null?void 0:s.email)||t.email}))},[s]),i.useEffect(()=>{try{const t=window.sessionStorage.getItem(m);if(t){const a=JSON.parse(t);c(r=>({...r,...a,category:h||a.category||r.category,name:(s==null?void 0:s.displayName)||a.name||r.name,email:(s==null?void 0:s.email)||a.email||r.email}))}}catch(t){console.warn("문ì ìì ìì± ë´ì© ë³µì ì¤í¨:",t)}finally{w.current=m}},[m,h,s==null?void 0:s.displayName,s==null?void 0:s.email]),i.useEffect(()=>{if(!(w.current!==m||b))try{!!(l.subject.trim()||l.message.trim())?window.sessionStorage.setItem(m,JSON.stringify(l)):window.sessionStorage.removeItem(m)}catch(t){console.warn("문ì ìì ìì± ë´ì© ì ì¥ ì¤í¨:",t)}},[m,l,b]),i.useEffect(()=>{if(!d)return;const t=a=>{a.key==="Escape"&&!u&&d()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[u,d]),i.useEffect(()=>{const t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[]),i.useEffect(()=>{if(!(s!=null&&s.uid)){y([]);return}(async()=>{try{v(!0);const a=await D(s.uid);y(a)}catch(a){console.error("문ì ë´ì ë¶ë¬ì¤ê¸° ì¤í¨:",a)}finally{v(!1)}})()},[s==null?void 0:s.uid,b]);const R=t=>new Promise((a,r)=>{const n=new FileReader;n.onload=()=>a(n.result),n.onerror=r,n.readAsDataURL(t)}),C=t=>{const a=Array.from(t.target.files||[]);if(a.length===0)return;if(!s){o("ì´ë¯¸ì§ 첨ë¶ë ë¡ê·¸ì¸ í ì¬ì©í ì ììµëë¤."),t.target.value="";return}const r=[...x,...a];if(r.length>S){o(`ì´ë¯¸ì§ë ìµë ${S}ì¥ê¹ì§ 첨ë¶í ì ììµëë¤.`),t.target.value="";return}if(r.find(p=>!p.type.startsWith("image/"))){o("ì´ë¯¸ì§ íì¼ë§ 첨ë¶í ì ììµëë¤."),t.target.value="";return}if(r.find(p=>p.size>P)){o("ì´ë¯¸ì§ë 1ì¥ë¹ 5MB ì´íë§ ì²¨ë¶í ì ììµëë¤."),t.target.value="";return}o(null),g(r),t.target.value=""},_=t=>{g(a=>a.filter((r,n)=>n!==t))},M=async t=>{if(t.preventDefault(),o(null),!l.name.trim()){o("ì´ë¦ì ì
ë ¥í´ì£¼ì¸ì.");return}if(!l.email.trim()){o("ì´ë©ì¼ì ì
ë ¥í´ì£¼ì¸ì.");return}if(!l.email.includes("@")){o("ì¬ë°ë¥¸ ì´ë©ì¼ 주ì를 ì
ë ¥í´ì£¼ì¸ì.");return}if(!l.subject.trim()){o("ì 목ì ì
ë ¥í´ì£¼ì¸ì.");return}if(!l.message.trim()){o("문ì ë´ì©ì ì
ë ¥í´ì£¼ì¸ì.");return}if(l.message.trim().length<10){o("문ì ë´ì©ì ìµì 10ì ì´ì ì
ë ¥í´ì£¼ì¸ì.");return}if(x.length>0&&!(s!=null&&s.uid)){o("ì´ë¯¸ì§ 첨ë¶ë ë¡ê·¸ì¸ í ì¬ì©í ì ììµëë¤.");return}f(!0);try{let a=[];if(s!=null&&s.uid&&x.length>0){const r=`draft_${Date.now()}`;a=await Promise.all(x.map(async n=>{const k=await R(n),p=await $(k,s.uid,r,n.name);return{name:n.name,storagePath:p.storagePath,contentType:n.type,size:n.size,downloadUrl:p.downloadUrl}}))}await O({userId:s==null?void 0:s.uid,name:l.name.trim(),email:l.email.trim(),category:l.category,subject:l.subject.trim(),message:l.message.trim(),attachments:a}),window.sessionStorage.removeItem(m),I(!0),g([]),c({name:(s==null?void 0:s.displayName)||"",email:(s==null?void 0:s.email)||"",category:h||"other",subject:"",message:""}),d&&setTimeout(()=>{d()},3e3)}catch(a){console.error("Error submitting inquiry:",a),o(a.message||"문ì ì ì¶ ì¤ ì¤ë¥ê° ë°ìíìµëë¤. ë¤ì ìëí´ì£¼ì¸ì.")}finally{f(!1)}};return e.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"
1contact-form-title",className:"bg-white rounded-xl shadow-xl max-w-3xl w-full max-h-[90vh] overflow-y-auto",children:[e.jsx("div",{className:"p-4 sm:p-6 border-b border-slate-200 sticky top-0 bg-white z-10",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h2",{id:"contact-form-title",className:"text-xl sm:text-2xl font-bold text-slate-900",children:"ê³ ê°ì¼í° 문ìí기"}),e.jsx("p",{className:"text-sm text-slate-600 mt-2",children:"문ìì¬íì ë¨ê²¨ì£¼ìë©´ íì¸ í ëµë³ëë¦¬ê² ìµëë¤."})]}),d&&e.jsx("button",{type:"button",onClick:d,"aria-label":"문ì ì°½ ë«ê¸°",title:"ë«ê¸°",className:"flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-lg text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-700",children:e.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}),e.jsxs("div",{className:"p-4 sm:p-6 space-y-6 sm:space-y-8",children:[e.jsxs("div",{className:"flex items-start gap-3 rounded-xl border border-blue-200 bg-blue-50 p-4",children:[e.jsx("svg",{className:"w-5 h-5 text-blue-600 mt-0.5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),e.jsxs("div",{className:"text-sm text-blue-900",children:[e.jsx("p",{className:"font-semibold",children:"ëµë³ ìë´"}),e.jsxs("p",{className:"mt-1 text-blue-800",children:["문ì ëµë³ì ì ìë ììëë¡ ",e.jsx("span",{className:"font-semibold",children:"ìì°¨ì ì¼ë¡"})," ì§íëë©°, ",e.jsx("span",{className:"font-semibold",children:"ì¤í 1ì ì´í"}),"ì ëµë³ë립ëë¤. ì¡°ê¸ë§ 기ë¤ë ¤ 주ìë©´ ì ì±ê» ëµë³ëë¦¬ê² ìµëë¤."]})]})]}),e.jsxs("details",{className:"group rounded-xl border border-slate-200 bg-slate-50","data-contact-faq":"1",children:[e.jsxs("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-3 px-4 py-3 text-sm font-semibold text-slate-800 [&::-webkit-details-marker]:hidden",children:[e.jsxs("span",{children:["ì주 묻ë ì§ë¬¸ 먼ì íì¸í기 ",e.jsx("span",{className:"font-normal text-slate-500",children:"â í´ì§Â·ê²°ì ë´ì·ê¸ê¼´Â·1:1·ê³ì ìì "})]}),e.jsx("span",{"aria-hidden":"true",className:"text-slate-400 transition-transform group-open:rotate-180",children:"â"})]}),e.jsx("div",{className:"space-y-3 border-t border-slate-200 px-4 py-3",children:U.map(t=>e.jsxs("details",{className:"rounded-lg bg-white px-3 py-2 ring-1 ring-inset ring-slate-200","data-contact-faq-item":t.id,children:[e.jsxs("summary",{className:"cursor-pointer list-none text-sm font-medium text-slate-900 [&::-webkit-details-marker]:hidden",children:[e.jsx("span",{className:"mr-2 rounded bg-slate-100 px-1.5 py-0.5 text-[11px] font-semibold text-slate-600",children:z[t.category]}),t.question]}),e.jsx("ul",{className:"mt-2 space-y-1 text-[13px] leading-relaxed text-slate-700",children:t.answer.map(a=>e.jsxs("li",{className:"flex gap-2",children:[e.jsx("span",{"aria-hidden":"true",className:"text-slate-400",children:"·"}),e.jsx("span",{children:a})]},a))}),(()=>{const a=t.action==="subscription"?E:t.action==="account-deletion"?A:void 0;return!t.action||!a?null:e.jsxs("button",{type:"button",onClick:a,"data-contact-faq-action":t.action,className:"mt-2 inline-flex h-8 items-center rounded-lg border border-slate-300 bg-white px-3 text-xs font-semibold text-slate-800 hover:bg-slate-50",children:[B[t.action]," â"]})})()]},t.id))})]}),b&&e.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-xl p-4",children:[e.jsx("h3",{className:"text-lg font-bold text-green-900",children:"문ìê° ì ìëììµëë¤"}),e.jsx("p",{className:"text-sm text-green-800 mt-1",children:"ëµë³ì ì ì ììëë¡ ìì°¨ì ì¼ë¡ ì§íëë©° ì¤í 1ì ì´íì ìë´ë립ëë¤. ë¡ê·¸ì¸í ê²½ì° ìëìì ë´ ë¬¸ìì ëµë³ì ë°ë¡ íì¸í ì ììµëë¤."})]}),e.jsxs("form",{onSubmit:M,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-slate-700 mb-2",children:["문ì ì í ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:F.map(t=>e.jsxs("label",{className:`relative flex items-start p-3 sm:p-4 border-2 rounded-lg cursor-pointer transition-all ${l.category===t.value?"border-blue-600 bg-blue-50":"border-slate-200 hover:border-blue-300 bg-white"}`,children:[e.jsx("input",{type:"radio",name:"category",value:t.value,checked:l.category===t.value,onChange:a=>c({...l,category:a.target.value}),className:"sr-only"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"font-medium text-slate-900",children:t.label}),e.jsx("div",{className:"text-xs text-slate-600 mt-1",children:t.description})]})]},t.value))})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-slate-700 mb-2",children:["ì´ë¦ ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",value:l.name,onChange:t=>c({...l,name:t.target.value}),className:"w-full px-4 py-2 border border-slate-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"ì´ë¦ì ì
ë ¥í´ì£¼ì¸ì",required:!0})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-slate-700 mb-2",children:["ì´ë©ì¼ ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"email",value:l.email,onChange:t=>c({...l,email:t.target.value}),className:"w-full px-4 py-2 border border-slate-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"ì´ë©ì¼ì ì
ë ¥í´ì£¼ì¸ì",required:!0})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-slate-700 mb-2",children:["ì 목 ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",value:l.subject,onChange:t=>c({...l,subject:t.target.value}),className:"w-full px-4 py-2 border border-slate-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"문ì ì 목ì ì
ë ¥í´ì£¼ì¸ì",required:!0})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-slate-700 mb-2",children:["문ì ë´ì© ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("textarea",{value:l.message,onChange:t=>c({...l,message:t.target.value}),rows:6,minLength:10,className:"w-full px-4 py-2 border border-slate-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 resize-none",placeholder:"문ì ë´ì©ì ìì¸í ì ì´ì£¼ì¸ì. ì¤ë¥ ìí©ì´ë¼ë©´ íë©´ 캡ì²ë¥¼ í¨ê» 첨ë¶í´ì£¼ì
ë ì¢ìµëë¤.",required:!0}),e.jsxs("p",{className:"text-xs text-slate-500 mt-1",children:[l.message.length,"ì / ìµì 10ì ì´ì"]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-medium text-slate-700 mb-2",children:["ì´ë¯¸ì§ ì²¨ë¶ ",s?e.jsx("span",{className:"text-slate-400",children:"(ìµë 3ì¥)"}):e.jsx("span",{className:"text-amber-600",children:"(ë¡ê·¸ì¸ í ì¬ì© ê°ë¥)"})]}),e.jsxs("label",{className:`flex items-center justify-center w-full px-4 py-4 border border-dashed rounded-lg cursor-pointer transition-colors ${s?"border-slate-300 hover:border-blue-400 bg-slate-50":"border-slate-200 bg-slate-100 cursor-not-allowed"}`,children:[e.jsx("input",{type:"file",accept:"image/*",multiple:!0,onChange:C,className:"hidden",disabled:!s||u}),e.jsx("span",{className:"text-sm text-slate-600",children:"ì´ë¯¸ì§ ì í"})]}),x.length>0&&e.jsx("ul",{className:"mt-3 space-y-2",children:x.map((t,a)=>e.jsxs("li",{className:"flex items-center justify-between rounded-lg bg-slate-50 px-3 py-2 text-sm text-slate-700",children:[e.jsx("span",{className:"truncate pr-3",children:t.name}),e.jsx("button",{type:"button",onClick:()=>_(a),className:"text-rose-600 hover:text-rose-700",children:"ì ê±°"})]},`${t.name}-${a}`))})]}),j&&e.jsx("div",{className:"bg-red-50 border border-red-200 rounded-lg p-4 text-sm text-red-800",children:j}),e.jsxs("div",{className:"flex gap-3 pt-2",children:[d&&e.jsx("button",{type:"button",onClick:d,disabled:u,className:"flex-1 px-6 py-3 bg-slate-100 text-slate-700 font-medium rounded-lg hover:bg-slate-200 transition-colors disabled:opacity-50",children:"ì·¨ì"}),e.jsx("button",{type:"submit",disabled:u,className:"flex-1 px-6 py-3 bg-gradient-to-r from-blue-600 to-indigo-600 text-white font-bold rounded-lg hover:from-blue-700 hover:to-indigo-700 transition-all disabled:opacity-50",children:u?"ì ì ì¤...":"문ì ë³´ë´ê¸°"})]})]}),s&&e.jsxs("section",{className:"border-t border-slate-200 pt-8",children:[e.jsx("div",{className:"flex items-center justify-between mb-4",children:e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl font-bold text-slate-900",children:"ë´ ë¬¸ì ë´ì"}),e.jsx("p",{className:"text-sm text-slate-600 mt-1",children:"ë´ê° ë¨ê¸´ 문ìì ê´ë¦¬ì ëµë³ì ì¬ê¸°ì ë°ë¡ íì¸í ì ììµëë¤."})]})}),L?e.jsx("div",{className:"text-sm text-slate-500",children:"문ì ë´ìì ë¶ë¬ì¤ë ì¤ì
ëë¤..."}):N.length===0?e.jsx("div",{className:"rounded-xl border border-dashed border-slate-300 bg-slate-50 px-4 py-6 text-sm text-slate-500",children:"ìì§ ë¨ê¸´ 문ìê° ììµëë¤."}):e.jsx("div",{className:"space-y-4",children:N.map(t=>{var a,r;return e.jsxs("article",{className:"rounded-xl border border-slate-200 p-4",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-3",children:[e.jsx("span",{className:"px-2 py-1 rounded-full bg-slate-100 text-xs font-medium text-slate-700",children:T[t.status||"pending"]}),e.jsx("span",{className:"text-xs text-slate-500",children:t.createdAt.toLocaleStr
1ing("ko-KR")})]}),e.jsx("h4",{className:"font-bold text-slate-900",children:t.subject}),e.jsx("p",{className:"mt-2 text-sm text-slate-700 whitespace-pre-wrap",children:t.message}),!!((a=t.attachments)!=null&&a.length)&&e.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:t.attachments.map(n=>e.jsxs("a",{href:n.downloadUrl,target:"_blank",rel:"noreferrer",className:"inline-flex items-center rounded-lg bg-blue-50 px-3 py-2 text-xs font-medium text-blue-700 hover:bg-blue-100",children:["ì²¨ë¶ ì´ë¯¸ì§ · ",n.name]},n.storagePath))}),e.jsxs("div",{className:"mt-4 rounded-xl bg-slate-50 p-4 border border-slate-200",children:[e.jsx("div",{className:"text-xs font-semibold text-slate-500 mb-2",children:"ê´ë¦¬ì ëµë³"}),(r=t.adminReply)!=null&&r.message?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-slate-800 whitespace-pre-wrap",children:t.adminReply.message}),e.jsxs("p",{className:"mt-2 text-xs text-slate-500",children:[t.adminReply.repliedAt.toLocaleString("ko-KR"),t.adminReply.repliedByName?` · ${t.adminReply.repliedByName}`:""]})]}):e.jsx("p",{className:"text-sm text-slate-500",children:"ìì§ ëµë³ ì ì
ëë¤. íì¸ í ìë´ë릴ê²ì."})]})]},t.id)})})]})]})]})};export{ee as default};
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.