PageSourceSearch

https://file.nightcrows.co.kr/official/1.3.11/index.5c8ae40c.js

js nightcrows.co.kr collected 2026-10-01 16:33:29 UTC 1,222 bytes, 1 lines download raw bytes

1import{h as m}from"./entry.4f696db5.js";import{u as f}from"./useWmpsApiFetch.69bdecd5.js";import{a as i,ad as p,F as d,H as v,G as k}from"./swiper-vue.ec62e897.js";const x={__name:"index",async setup(_){let t,u;const l=m().query.k,e=i(null),r=i(null);if(!l)e.value={status:"error",message:"잘못된 접근입니다.<br />다시 시도해주세요."};else{const{data:s,error:a,pending:o}=([t,u]=p(()=>f(`/v1/kmc/cert?k=${l}`,{method:"GET"})),t=await t,u(),t);if(a.value)e.value={status:"network-error",message:`본인 인증에 실패하였습니다.(Network Error ${a.value.statusCode||"Unknown"})`};else if(s.value){const{code:n,data:c}=s.value;n!==200?e.value={status:"error",message:`본인 인증에 실패하였습니다.(${n})`}:r.value=c}}return d(()=>{var s,a,o;e.value?(s=window.opener)==null||s.callback({status:e.value.status,message:e.value.message,isSelfVerification:!0}):r.value?(a=window.opener)==null||a.callback({status:"success",data:r.value,message:"본인 인증이 완료되었습니다.",isSelfVerification:!0}):(o=window.opener)==null||o.callback({status:"error",message:"본인 인증에 실패하였습니다.",isSelfVerification:!0}),self.close()}),(s,a)=>(k(),v("div"))}};export{x 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.