PageSourceSearch

https://wegofair.com/_next/static/chunks/pages/app/admin/auto-report-sites-e1f8ce9fa5b841c3.js

js wegofair.com collected 2026-10-06 00:28:49 UTC 25,562 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9039],{16690:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/admin/auto-report-sites",function(){return r(51220)}])},17356:function(e,t,r){"use strict";var l=r(52322);r(2784);var s=r(6277),a=r(21720);let o=e=>{let{className:t,loading:r=!1}=e;return(0,l.jsx)(a.E.div,{className:(0,s.Z)("flex h-full w-full items-center justify-center bg-transparent p-[40px]",t),initial:{opacity:0},animate:{opacity:r?1:0,transition:{duration:.2,delay:.3}},children:(0,l.jsx)("div",{className:"flex flex-col items-center justify-center gap-[7px]",children:(0,l.jsx)("img",{src:"/images/loading.gif",alt:"loading",className:"h-[64px] w-[64px]"})})})};t.Z=o},68908:function(e,t,r){"use strict";var l=r(52322);r(2784);var s=r(6277);let a=e=>{let{title:t,subtitle:r,utils:a}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"flex select-none justify-between bg-white px-[20px] pt-[20px] lg:px-[60px] lg:pt-[57px]",children:[(0,l.jsxs)("div",{className:"flex items-end gap-[6px] lg:gap-[14px]",children:[(0,l.jsx)("span",{className:"text-[30px] font-medium text-[#48483f] lg:text-[40px]",children:t}),(0,l.jsx)("span",{className:"mb-[6px] hidden text-[12px] font-normal text-[#78786a] md:block lg:text-[14px]",children:r})]}),(0,l.jsx)("div",{className:"hidden h-[43px] gap-[15px] md:flex lg:h-[56px]",children:null==a?void 0:a.map(e=>void 0===e?null:(0,l.jsx)("div",{className:(0,s.Z)("cursor-pointer border border-[#dedece] bg-white px-[15px] py-[10px] text-[14px] font-medium text-[#48483f] transition-all duration-300 hover:bg-[#f4f3ef] lg:px-[25px] lg:py-[17px]","fill"===e.style&&"!bg-[#10b981] !text-white hover:bg-[#0e9f6e]","disabled"===e.style&&"cursor-auto !bg-[#dedece] !text-[#78786a]"),onClick:e.onClick,children:e.label},e.label))})]})})};t.Z=a},51220:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return v},default:function(){return g}});var l=r(52322),s=r(59877),a=r(68908),o=r(2784),i=r(3255),n=r(17356),d=r(18417);async function c(){let e=await d.ZP.get("".concat(d.KB,"/admin/auto-report-sites"));return e.data}async function x(e,t){let r=await d.ZP.patch("".concat(d.KB,"/admin/auto-report-sites/").concat(encodeURIComponent(e)),t);return r.data}async function p(e){let t=await d.ZP.post("".concat(d.KB,"/admin/auto-report-sites/").concat(encodeURIComponent(e),"/send-test"));return t.data}let _="admin-auto-report-sites";function m(e){if(!e)return"";try{let t=JSON.parse(e);if(Array.isArray(t))return t.join(", ")}catch(r){}return""}function h(e){var t,r,l,s,a,o,i,n;return{report_method:e.report_method,report_email:e.report_email,report_email_locale:null!==(t=e.report_email_locale)&&void 0!==t?t:"ko",report_email_verified:1===e.report_email_verified,report_email_sender_mode:null!==(r=e.report_email_sender_mode)&&void 0!==r?r:"fixed",report_email_from:null!==(l=e.report_email_from)&&void 0!==l?l:"",report_email_reply_to:null!==(s=e.report_email_reply_to)&&void 0!==s?s:"",report_email_cc:m(e.report_email_cc),report_email_subject_pattern:null!==(a=e.report_email_subject_pattern)&&void 0!==a?a:"",report_attach_policy:null!==(o=e.report_attach_policy)&&void 0!==o?o:"",report_reason_code:null!==(i=e.report_reason_code)&&void 0!==i?i:"",celery_q_report:null!==(n=e.celery_q_report)&&void 0!==n?n:""}}function u(e,t){var r,l,s,a,o,i,n,d,c,x,p;let _={};if(e.report_method!==t.report_method&&(_.report_method=t.report_method),(null!==(r=e.report_email)&&void 0!==r?r:"")!==(null!==(l=t.report_email)&&void 0!==l?l:"")&&(_.report_email=null!==(s=t.report_email)&&void 0!==s?s:null),(null!==(a=e.report_email_locale)&&void 0!==a?a:"ko")!==t.report_email_locale&&(_.report_email_locale=t.report_email_locale),1===e.report_email_verified!==t.report_email_verified&&(_.report_email_verified=t.report_email_verified),(null!==(o=e.report_email_sender_mode)&&void 0!==o?o:"fixed")!==t.report_email_sender_mode&&(_.report_email_sender_mode=t.report_email_sender_mode),(null!==(i=e.report_email_from)&&void 0!==i?i:"")!==t.report_email_from&&(_.report_email_from=""===t.report_email_from?null:t.report_email_from),(null!==(n=e.report_email_reply_to)&&void 0!==n?n:"")!==t.report_email_reply_to&&(_.report_email_reply_to=""===t.report_email_reply_to?null:t.report_email_reply_to),m(e.report_email_cc)!==t.report_email_cc){let h=t.report_email_cc.split(",").map(e=>e.trim()).filter(e=>""!==e);_.report_email_cc=0===h.length?null:h}return(null!==(d=e.report_email_subject_pattern)&&void 0!==d?d:"")!==t.report_email_subject_pattern&&(_.report_email_subject_pattern=""===t.report_email_subject_pattern?null:t.report_email_subject_pattern),(null!==(c=e.report_attach_policy)&&void 0!==c?c:"")!==t.report_attach_policy&&(_.report_attach_policy=""===t.report_attach_policy?null:t.report_attach_policy),(null!==(x=e.report_reason_code)&&void 0!==x?x:"")!==t.report_reason_code&&(_.report_reason_code=""===t.report_reason_code?null:t.report_reason_code),(null!==(p=e.celery_q_report)&&void 0!==p?p:"")!==t.celery_q_report&&(_.celery_q_report=""===t.celery_q_report?null:t.celery_q_report),_}let f=e=>{let{siteKey:t}=e;return(0,l.jsxs)("div",{className:"mt-[16px] border border-[#DEDECE] bg-white px-[20px] py-[16px] text-[12px] text-[#48483F]","data-testid":"policy-help-".concat(t),children:[(0,l.jsx)("div",{className:"mb-[12px] text-[12px] font-semibold text-[#48483F]",children:"정책 필드 가이드"}),(0,l.jsxs)("dl",{className:"grid grid-cols-1 gap-x-6 gap-y-2 md:grid-cols-2",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"sender mode"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:[(0,l.jsx)("code",{children:"fixed"}),": site 별 발송 주소 고정 (운영자 누가 발송해도 동일)."," ",(0,l.jsx)("strong",{children:"default 권장"}),".",(0,l.jsx)("br",{}),(0,l.jsx)("code",{children:"operator"}),": 작업자 본인 alias (V2_US.email) 로 발송."]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"sender from"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:["mode=fixed 일 때 발송 주소 (예: ",(0,l.jsx)("code",{children:"[email protected]"}),"). ",(0,l.jsx)("br",{}),(0,l.jsx)("strong",{children:"wegofair.com 도메인만 허용"}),". 비우면 ",(0,l.jsx)("code",{children:"[email protected]"})," ","fallback."]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"replyTo"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:["신고팀이 답장할 주소. 외부 도메인 OK (예: ",(0,l.jsx)("code",{children:"[email protected]"}),"). 비우면"," ",(0,l.jsx)("code",{children:"[email protected]"}),"."]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"cc (참조)"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:["위고페어 측 추적용 자동 cc (예: ",(0,l.jsx)("code",{children:"[email protected], [email protected]"}),"). comma 로 구분. testMode 시 자동 차단."]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"제목 패턴"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:["메일 제목 형식. ",(0,l.jsx)("code",{children:"{brand}"})," placeholder 가 brand 이름으로 치환. 비우면 locale 별 default 제목."]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"첨부 정책"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:[(0,l.jsx)("code",{children:"body_inline"}),": 본문에 침해 list inline + POA PDF (",(0,l.jsx)("strong",{children:"권장 default"}),").",(0,l.jsx)("br",{}),(0,l.jsx)("code",{children:"separate_xlsx_poa"}),": 침해 xlsx + POA PDF (BUYMA 패턴).",(0,l.jsx)("br",{}),(0,l.jsx)("code",{children:"combined_pdf"}),": 통합 PDF 1개 (Qoo10 패턴).",(0,l.jsx)("br",{}),(0,l.jsx)("code",{children:"noci_set"}),": NOCI form set (eBay 패턴)."]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("dt",{className:"font-semibold text-[#48483F]",children:"사유 코드"}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:["site 별 신고 사유 코드 (예: eBay ",(0,l.jsx)("code",{children:"4.2"})," = 저작권). 본문 \xa74 자동 삽입은 후속 phase. 현재는 기록 용도."]})]}),(0,l.jsxs)("div",{className:"md:col-span-2",children:[(0,l.jsxs)("dt",{className:"font-semibold text-[#48483F]",children:["Celery 큐 ",(0,l.jsx)("span",{className:"text-[#b66400]",children:"(인프라 협의 필수)"})]}),(0,l.jsxs)("dd",{className:"text-[#78786A]",children:["browser 자동신고 시 worker 라우팅 큐 명. 형식: ",(0,l.jsx)("code",{children:"lowercase + 숫자 + hyphen, 2~32자"})," ","(관례: ",(0,l.jsx)("code",{children:"<머신>
1-<용도>"}),", 예: ",(0,l.jsx)("code",{children:"tw03-s"}),").",(0,l.jsx)("br",{}),(0,l.jsx)("strong",{children:"변경 절차"}),": (1) 인프라 팀과 queue 명 협의 → (2) 인프라 팀이 해당 머신에서 worker 시작 (",(0,l.jsx)("code",{children:"celery worker --queues=<큐>"}),") → (3) SM 이 이 필드에 입력 + 저장 → (4) ",(0,l.jsx)("code",{children:"▶ 테스트"})," 로 config 검증."]})]})]})]})},b=()=>{var e,t;let{t:r}=(0,s.$G)("common"),{data:a,isLoading:d}=(0,i.ZP)(_,()=>c()),[m,b]=(0,o.useState)({}),[y,j]=(0,o.useState)(new Set),[v,g]=(0,o.useState)({}),[N,k]=(0,o.useState)(new Set),w=e=>{k(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},[E,D]=(0,o.useState)(new Set),C=e=>{D(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},[A,F]=(0,o.useState)(new Set),[S,O]=(0,o.useState)({}),q=async e=>{if("browser"===e.report_method){let t=window.confirm("Browser 자동신고 테스트 발사 (".concat(e.site_key,"):\n\n")+"• HJY-OMSP dev worker 가 headed Playwright 창으로 시작 — site config 시각 확인용\n• storage_state 만료 시 SSO 페이지에서 멈춤 (재로그인 필요)\n• 실 신고 도달 X — submit 은 6중 안전망 Layer 5 로 자동 거부\n• V2_RA row 1건 INSERT (cron 1h 후 자동 삭제)\n\n진행할까요?");if(!t)return}F(t=>new Set(t).add(e.site_key)),O(t=>{let r={...t};return delete r[e.site_key],r});try{let r=await p(e.site_key),l="email_test_send"===r.kind?"✓ ".concat(r.redirected_recipient," 으로 발송 (NHN: ").concat(r.email_message_id,"). Original=").concat(r.original_recipient):"✓ browser fill_form 발사 — ra_id=".concat(r.ra_id," (").concat(r.cd_id,"). Queue: ").concat(r.celery_queue,". dev worker headed Playwright 창에서 확인. submit 은 자동 거부 (Layer 5)");O(t=>({...t,[e.site_key]:{ok:!0,text:l}}))}catch(d){var s,a,o,i;let n=null!==(i=null!==(o=null==d?void 0:null===(s=d.response)||void 0===s?void 0:null===(a=s.data)||void 0===a?void 0:a.error)&&void 0!==o?o:null==d?void 0:d.message)&&void 0!==i?i:"발송 실패";O(t=>({...t,[e.site_key]:{ok:!1,text:"✗ ".concat(n)}}))}finally{F(t=>{let r=new Set(t);return r.delete(e.site_key),r})}},P=null!==(e=null==a?void 0:a.sites)&&void 0!==e?e:[],M=(0,o.useMemo)(()=>{let e={};for(let t of P)e[t.site_key]=t;return e},[P]),[Z,B]=(0,o.useState)(""),T=(0,o.useMemo)(()=>{let e=Z.trim().toLowerCase();return""===e?P:P.filter(t=>t.site_key.toLowerCase().includes(e))},[P,Z]),I=e=>null!==(t=m[e.site_key])&&void 0!==t?t:h(e),K=(e,t)=>{b(r=>{var l;let s=null!==(l=r[e])&&void 0!==l?l:h(M[e]);return{...r,[e]:{...s,...t}}})},L=e=>{let t=m[e.site_key];return!!t&&Object.keys(u(e,t)).length>0},R=async e=>{let t=m[e.site_key];if(!t)return;let r=u(e,t);if(0!==Object.keys(r).length){j(t=>new Set(t).add(e.site_key)),g(t=>{let r={...t};return delete r[e.site_key],r});try{await x(e.site_key,r),b(t=>{let r={...t};return delete r[e.site_key],r}),await (0,i.JG)(_)}catch(d){var l,s,a,o;let n=null!==(o=null!==(a=null==d?void 0:null===(l=d.response)||void 0===l?void 0:null===(s=l.data)||void 0===s?void 0:s.error)&&void 0!==a?a:null==d?void 0:d.message)&&void 0!==o?o:"저장 실패";g(t=>({...t,[e.site_key]:n}))}finally{j(t=>{let r=new Set(t);return r.delete(e.site_key),r})}}},U=e=>{b(t=>{let r={...t};return delete r[e],r}),g(t=>{let r={...t};return delete r[e],r})};return d?(0,l.jsx)(n.Z,{}):(0,l.jsx)("div",{className:"w-full select-none bg-[#fcfbfa] px-[20px] pt-[0px] lg:px-[60px]",children:(0,l.jsxs)("div",{className:"min-h-[100px] w-full bg-white shadow-[0px_1px_1px_rgba(125,_125,_111,_0.1),_0px_1px_2px_rgba(125,_125,_111,_0.1)]",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-[16px] px-[24px] py-[24px]",children:[(0,l.jsxs)("div",{className:"text-[15px] font-medium text-[#48483F]",children:["V2_ST_sites",(0,l.jsx)("span",{className:"ml-[8px] rounded-full bg-[#F2F2F2] px-[10px] py-[3px] text-[12px] text-[#78786A]","data-testid":"site-count",children:""===Z.trim()?"".concat(P.length," sites"):"".concat(T.length," / ").concat(P.length," sites")})]}),(0,l.jsxs)("div",{className:"flex h-[42px] min-w-[300px] flex-1 items-center gap-[8px] border border-[#DEDECE] px-[16px]",children:[(0,l.jsx)("input",{type:"text",className:"placehoder:text-[#7D7D6F] w-full bg-transparent text-[14px] text-[#48483F] outline-0 ring-0 focus:ring-0",placeholder:"site_key 검색 (예: shopee, ali)",value:Z,onChange:e=>B(e.target.value),"data-testid":"site-search"}),Z&&(0,l.jsx)("button",{type:"button",onClick:()=>B(""),className:"text-[12px] text-[#7D7D6F] hover:text-[#48483F]","aria-label":"검색 지우기",children:"✕"})]})]}),0===T.length&&(0,l.jsxs)("div",{className:"mx-[24px] mb-[24px] border border-[#DEDECE] bg-[#f4f3ef] px-[20px] py-[32px] text-center text-[14px] text-[#78786A]","data-testid":"site-search-empty",children:['매칭되는 site_key 가 없습니다 (검색어: "',Z,'")']}),(0,l.jsx)("div",{className:"overflow-x-auto",children:(0,l.jsxs)("table",{className:"w-full min-w-[1100px]","data-testid":"auto-report-site-table",children:[(0,l.jsx)("thead",{className:"h-[54px] bg-[#f4f3ef] text-[13px] font-semibold text-[#48483f]",children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:"px-[12px] text-left",children:"SITE_KEY"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"NAME (KO/EN)"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"COUNTRY"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"METHOD"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"EMAIL"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"LOCALE"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"VERIFIED"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"CELERY_Q"}),(0,l.jsx)("th",{className:"px-[12px] text-left",children:"ACTION"})]})}),(0,l.jsx)("tbody",{children:T.map(e=>{var t,r,s,a,i,n;let d=I(e),c=L(e),x=y.has(e.site_key),p=v[e.site_key];return(0,l.jsxs)(o.Fragment,{children:[(0,l.jsxs)("tr",{className:c?"border-b border-[#
1E8E8DD] bg-[#fff8e3] text-[14px] text-[#48483f]":"border-b border-[#E8E8DD] bg-white text-[14px] text-[#48483f]","data-testid":"row-".concat(e.site_key),children:[(0,l.jsx)("td",{className:"px-[12px] py-[12px] font-mono text-[13px] text-[#48483f]",children:e.site_key}),(0,l.jsxs)("td",{className:"px-[12px] py-[12px]",children:[(0,l.jsx)("div",{className:"text-[14px] text-[#48483f]",children:null!==(t=e.ko_name)&&void 0!==t?t:"—"}),(0,l.jsx)("div",{className:"text-[12px] text-[#78786a]",children:null!==(r=e.en_name)&&void 0!==r?r:"—"})]}),(0,l.jsx)("td",{className:"px-[12px] py-[12px] text-[13px] text-[#78786a]",children:null!==(s=e.country_code)&&void 0!==s?s:"—"}),(0,l.jsx)("td",{className:"px-[12px] py-[12px]",children:(0,l.jsxs)("select",{className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:null!==(a=d.report_method)&&void 0!==a?a:"",onChange:t=>K(e.site_key,{report_method:""===t.target.value?null:t.target.value}),"data-testid":"method-".concat(e.site_key),children:[(0,l.jsx)("option",{value:"",children:"— (none)"}),(0,l.jsx)("option",{value:"browser",children:"browser"}),(0,l.jsx)("option",{value:"email",children:"email"})]})}),(0,l.jsx)("td",{className:"px-[12px] py-[12px]",children:(0,l.jsx)("input",{type:"email",className:"w-56 border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:null!==(i=d.report_email)&&void 0!==i?i:"",onChange:t=>K(e.site_key,{report_email:""===t.target.value?null:t.target.value}),placeholder:"ipr@...","data-testid":"email-".concat(e.site_key)})}),(0,l.jsx)("td",{className:"px-[12px] py-[12px]",children:(0,l.jsxs)("select",{className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:null!==(n=d.report_email_locale)&&void 0!==n?n:"ko",onChange:t=>K(e.site_key,{report_email_locale:t.target.value}),"data-testid":"locale-".concat(e.site_key),children:[(0,l.jsx)("option",{value:"ko",children:"ko"}),(0,l.jsx)("option",{value:"en",children:"en"}),(0,l.jsx)("option",{value:"ja",children:"ja"}),(0,l.jsx)("option",{value:"zh",children:"zh"})]})}),(0,l.jsx)("td",{className:"px-[12px] py-[12px]",children:(0,l.jsx)("input",{type:"checkbox",checked:d.report_email_verified,onChange:t=>K(e.site_key,{report_email_verified:t.target.checked}),"data-testid":"verified-".concat(e.site_key)})}),(0,l.jsx)("td",{className:"px-[12px] py-[12px] font-mono text-[13px] text-[#78786a]",children:d.celery_q_report||"—"}),(0,l.jsxs)("td",{className:"px-[12px] py-[12px]",children:[(0,l.jsxs)("div",{className:"flex gap-[6px]",children:[(0,l.jsx)("button",{type:"button",disabled:!c||x,onClick:()=>R(e),className:"bg-[#48483F] px-[14px] py-[6px] text-[12px] font-medium text-white hover:bg-[#3a3a33] disabled:bg-[#E8E8DD] disabled:text-[#A9A9A9] disabled:cursor-not-allowed","data-testid":"save-".concat(e.site_key),children:x?"...":"Save"}),(0,l.jsx)("button",{type:"button",disabled:!c||x,onClick:()=>U(e.site_key),className:"border border-[#DEDECE] bg-white px-[14px] py-[6px] text-[12px] font-medium text-[#48483F] hover:bg-[#f4f3ef] disabled:opacity-50","data-testid":"reset-".concat(e.site_key),children:"Reset"}),(0,l.jsx)("button",{type:"button",onClick:()=>q(e),disabled:A.has(e.site_key)||"email"!==e.report_method&&"browser"!==e.report_method||"email"===e.report_method&&!e.report_email||"browser"===e.report_method&&!e.celery_q_report,className:"border border-[#78786A] bg-white px-[14px] py-[6px] text-[12px] font-medium text-[#48483F] hover:bg-[#f4f3ef] disabled:opacity-50 disabled:cursor-not-allowed",title:"email"===e.report_method?"이메일 — testMode 강제 redirect":"browser"===e.report_method?"browser — config 검증만 (실 발사는 자동신고 현황에서)":"method 미지정 — email 또는 browser 로 먼저 설정","data-testid":"send-test-".concat(e.site_key),children:A.has(e.site_key)?"테스트 중…":"▶ 테스트"}),(0,l.jsx)("button",{type:"button",onClick:()=>w(e.site_key),className:"border border-[#DEDECE] bg-white px-[12px] py-[6px] text-[12px] font-medium text-[#48483F] hover:bg-[#f4f3ef]","data-testid":"toggle-".concat(e.site_key),children:N.has(e.site_key)?"▲ 정책":"▼ 정책"})]}),p&&(0,l.jsx)("div",{className:"mt-[6px] text-[12px] text-[#c0392b]","data-testid":"error-".concat(e.site_key),children:p}),S[e.site_key]&&(0,l.jsx)("div",{className:"mt-[6px] border px-[10px] py-[6px] text-[12px] leading-relaxed ".concat(S[e.site_key].ok?"border-[#bcd9a8] bg-[#f3f8ee] text-[#2e6b1a]":"border-[#e8c2bd] bg-[#fdf3f1] text-[#c0392b]"),"data-testid":"send-test-result-".concat(e.site_key),children:S[e.site_key].text})]})]}),N.has(e.site_key)&&(0,l.jsx)("tr",{className:"border-b border-[#
1E8E8DD] bg-[#f4f3ef]","data-testid":"policy-row-".concat(e.site_key),children:(0,l.jsxs)("td",{colSpan:9,className:"px-[24px] py-[20px]",children:[(0,l.jsxs)("div",{className:"mb-[12px] flex items-center gap-[8px] text-[13px] font-semibold text-[#48483F]",children:[(0,l.jsxs)("span",{children:[e.site_key," — sender / 첨부 / 사유 정책"]}),(0,l.jsx)("button",{type:"button",onClick:()=>C(e.site_key),className:"border border-[#DEDECE] bg-white px-[8px] py-[2px] text-[11px] font-normal text-[#78786A] hover:bg-[#f4f3ef]","data-testid":"policy-help-toggle-".concat(e.site_key),children:"? 도움말"})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-[16px] md:grid-cols-3",children:[(0,l.jsxs)("label",{className:"flex flex-col text-xs",children:[(0,l.jsx)("span",{className:"mb-1 text-[#78786A]",children:"sender mode"}),(0,l.jsxs)("select",{className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_email_sender_mode,onChange:t=>K(e.site_key,{report_email_sender_mode:t.target.value}),"data-testid":"sender-mode-".concat(e.site_key),children:[(0,l.jsx)("option",{value:"fixed",children:"fixed (site 별 고정)"}),(0,l.jsx)("option",{value:"operator",children:"operator (작업자 alias)"})]})]}),(0,l.jsxs)("label",{className:"flex flex-col text-xs",children:[(0,l.jsx)("span",{className:"mb-1 text-[#78786A]",children:"sender from (wegofair.com 강제)"}),(0,l.jsx)("input",{type:"email",className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_email_from,onChange:t=>K(e.site_key,{report_email_from:t.target.value}),placeholder:"[email protected]","data-testid":"sender-from-".concat(e.site_key),disabled:"operator"===d.report_email_sender_mode})]}),(0,l.jsxs)("label",{className:"flex flex-col text-xs",children:[(0,l.jsx)("span",{className:"mb-1 text-[#78786A]",children:"replyTo (외부 OK)"}),(0,l.jsx)("input",{type:"email",className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_email_reply_to,onChange:t=>K(e.site_key,{report_email_reply_to:t.target.value}),placeholder:"[email protected]","data-testid":"reply-to-".concat(e.site_key)})]}),(0,l.jsxs)("label",{className:"col-span-1 flex flex-col text-xs md:col-span-3",children:[(0,l.jsx)("span",{className:"mb-1 text-[#78786A]",children:"cc (comma-separated, wegofair 추적용)"}),(0,l.jsx)("input",{type:"text",className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_email_cc,onChange:t=>K(e.site_key,{report_email_cc:t.target.value}),placeholder:"[email protected], [email protected]","data-testid":"cc-".concat(e.site_key)})]}),(0,l.jsxs)("label",{className:"col-span-1 flex flex-col text-xs md:col-span-3",children:[(0,l.jsxs)("span",{className:"mb-1 text-[#78786A]",children:["제목 패턴 (","{brand}"," placeholder 지원)"]}),(0,l.jsx)("input",{type:"text",className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_email_subject_pattern,onChange:t=>K(e.site_key,{report_email_subject_pattern:t.target.value}),placeholder:"【Wegofair】{brand} ブランド著作権侵害に関する通報資料のご提出","data-testid":"subject-pattern-".concat(e.site_key)})]}),(0,l.jsxs)("label",{className:"flex flex-col text-xs",children:[(0,l.jsx)("span",{className:"mb-1 text-[#78786A]",children:"첨부 정책"}),(0,l.jsxs)("select",{className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_attach_policy,onChange:t=>K(e.site_key,{report_attach_policy:t.target.value}),"data-testid":"attach-policy-".concat(e.site_key),children:[(0,l.jsx)("option",{value:"",children:"— (미지정)"}),(0,l.jsx)("option",{value:"body_inline",children:"body_inline (본문 N rows + POA, 권장 default)"}),(0,l.jsx)("option",{value:"separate_xlsx_poa",children:"separate_xlsx_poa (BUYMA)"}),(0,l.jsx)("option",{value:"combined_pdf",children:"combined_pdf (Qoo10)"}),(0,l.jsx)("option",{value:"noci_set",children:"noci_set (eBay)"})]})]}),(0,l.jsxs)("label",{className:"flex flex-col text-xs",children:[(0,l.jsx)("span",{className:"mb-1 text-[#78786A]",children:"사유 코드"}),(0,l.jsx)("input",{type:"text",className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.report_reason_code,onChange:t=>K(e.site_key,{report_reason_code:t.target.value}),placeholder:"eBay: 4.2","data-testid":"reason-code-".concat(e.site_key)})]}),(0,l.jsxs)("label",{className:"flex flex-col text-xs",children:[(0,l.jsxs)("span",{className:"mb-1 text-[#78786A]",children:["Celery 큐 ",(0,l.jsx)("span",{className:"text-[#b66400]",children:"(인프라 협의 필수)"})]}),(0,l.jsx)("input",{type:"text",className:"border border-[#DEDECE] bg-white px-[10px] py-[6px] font-mono text-[14px] text-[#48483F] focus:border-[#78786A] focus:outline-none",value:d.celery_q_report,onChange:t=>K(e.site_key,{celery_q_report:t.target.value}),placeholder:"예: tw03-s (lowercase + 숫자 + hyphen, 2~32자)",pattern:"^[a-z0-9][a-z0-9-]{1,31}$","data-testid":"celery-q-".concat(e.site_key)})]})]}),E.has(e.site_key)&&(0,l.jsx)(f,{siteKey:e.site_key})]})})]},e.site_key)})})]})})]})})};var y=r(86799);let j=()=>{let{t:e}=(0,s.$G)("common");return(0,l.jsxs)(y.Z,{children:[(0,l.jsx)(a.Z,{title:e("w-001999")}
1),(0,l.jsx)("div",{className:"h-[26px] border-b border-[#E8E8DD] bg-white"}),(0,l.jsx)(b,{})]})};var v=!0,g=j}},function(e){e.O(0,[2382,1720,2514,1076,1284,2377,2196,2786,3255,6799,9774,2888,179],function(){return e(e.s=16690)}),_N_E=e.O()}]);

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.