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.