PageSourceSearch

https://www.naezipscan.com/js/15442.7776df57.js

js naezipscan.com collected 2026-10-07 22:47:50 UTC 7,264 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunknaezipscan_front"]=self["webpackChunknaezipscan_front"]||[]).push([[15442],{15442:function(t,e,s){s.r(e),s.d(e,{default:function(){return _}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"corp_modal_overlay",on:{click:function(e){return e.target!==e.currentTarget?null:t.fnClose.apply(null,arguments)}}},[e("div",{staticClass:"corp_modal"},[e("div",{staticClass:"corp_modal_mobile_titlebar"},[e("img",{staticClass:"corp_modal_mobile_back",attrs:{src:s(84076),alt:"뒤로"},on:{click:t.fnClose}}),e("p",{staticClass:"corp_modal_mobile_title"},[t._v("법인등록번호로 조회하기")])]),e("div",{staticClass:"corp_modal_body"},[e("div",{staticClass:"corp_modal_web_header"},[e("p",{staticClass:"corp_modal_title"},[t._v("법인 등록 번호로 조회하기")]),e("button",{staticClass:"corp_modal_close_btn",attrs:{type:"button","aria-label":"닫기"},on:{click:t.fnClose}},[t._v(" × ")])]),e("div",{staticClass:"corp_modal_search_row"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],ref:"keywordInput",staticClass:"corp_modal_search_input",attrs:{type:"text",placeholder:t.inputPlaceholder,disabled:t.autocompleteDisabled,maxlength:"14",inputmode:"numeric"},domProps:{value:t.keyword},on:{input:[function(e){e.target.composing||(t.keyword=e.target.value)},t.fnOnKeywordInput],keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.fnSearchManual.apply(null,arguments)}}}),e("button",{staticClass:"corp_modal_search_btn",attrs:{type:"button",disabled:t.autocompleteDisabled},on:{click:t.fnSearchManual}},[t._v(" 검색하기 ")]),e("button",{staticClass:"corp_modal_search_btn_mobile",attrs:{type:"button","aria-label":"검색",disabled:t.autocompleteDisabled},on:{click:t.fnSearchManual}},[e("img",{attrs:{src:s(57337),alt:"검색"}})])]),e("div",{staticClass:"corp_modal_result_box"},[t.isLoading?e("div",{staticClass:"corp_modal_placeholder"},[e("div",{staticClass:"corp_modal_spinner"}),e("p",{staticClass:"corp_modal_placeholder_text"},[t._v("검색 중...")])]):t.quotaError?e("div",{staticClass:"corp_modal_placeholder"},[e("img",{staticClass:"corp_modal_warn_icon",attrs:{src:s(67622),alt:"안내"}}),e("p",{staticClass:"corp_modal_placeholder_text"},[t._v("자동완성을 일시적으로 이용할 수 없습니다")]),e("p",{staticClass:"corp_modal_placeholder_sub"},[t._v("법인명과 법인등록번호를 직접 입력해 주세요")])]):t.networkError?e("div",{staticClass:"corp_modal_placeholder"},[e("img",{staticClass:"corp_modal_warn_icon",attrs:{src:s(67622),alt:"에러"}}),e("p",{staticClass:"corp_modal_placeholder_text"},[t._v("검색에 실패했어요")]),e("p",{staticClass:"corp_modal_placeholder_sub"},[t._v(" 잠시 후 다시 시도하거나 다른 방법으로 조회해 주세요 ")])]):t.hasSearched?0===t.items.length?e("div",{staticClass:"corp_modal_placeholder"},[e("img",{staticClass:"corp_modal_warn_icon",attrs:{src:s(67622),alt:"결과없음"}}),e("p",{staticClass:"corp_modal_placeholder_text"},[t._v(" 입력하신 법인 등록 번호와 일치하는 법인 정보를 찾을 수 없습니다. ")]),e("p",{staticClass:"corp_modal_placeholder_sub"},[t._v(" 정보를 다시 확인하시거나, 법인명으로 조회를 진행해 보시기 바랍니다. ")]),e("button",{staticClass:"corp_modal_alt_btn",attrs:{type:"button"},on:{click:t.fnSwitchToName}},[t._v(" 법인명으로 조회하기 ")])]):e("ul",{staticClass:"corp_modal_list"},t._l(t.items,(function(a,o){return e("li",{key:`${a.cno}-${o}`,staticClass:"corp_modal_list_item",class:{selected:t.selectedIdx===o},on:{click:function(e){return t.fnSelectItem(o)}}},[e("img",{staticClass:"corp_modal_radio",attrs:{src:t.selectedIdx===o?s(38335):s(60196),alt:"선택"}}),e("div",{staticClass:"corp_modal_list_item_text"},[e("span",{staticClass:"corp_modal_company_name"},[t._v(t._s(a.company))]),e("span",{staticClass:"corp_modal_company_cno"},[t._v(t._s(t.fnFormatCno(a.cno)))])])])})),0):e("div",{staticClass:"corp_modal_placeholder corp_modal_placeholder_empty"})]),e("div",{staticClass:"corp_modal_footer"},[e("button",{staticClass:"corp_modal_confirm_btn",attrs:{type:"button",disabled:null===t.selectedIdx},on:{click:t.fnConfirm}},[t._v(" 조회하기 ")])])])])])},o=[],r=s(90408),l=s(49189);const i="sherlock_corp_autocomplete_disabled";var c={name:"SherlockCorpRegnoSearchModalComponent",props:{initialKeyword:{type:String,default:""}},data(){return{keyword:"",isLoading:!1,items:[],hasSearched:!1,selectedIdx:null,quotaError:!1,networkError:!1,autocompleteDisabled:!1,requestSeq:0}},computed:{inputPlaceholder(){return this.quotaError?"법인등록번호를 직접 입력해 주세요":"000000-0000000"}},created(){this.$mixpanel_track("View Sherlock-Search-Corp-RegnoSearchModal"),"1"===sessionStorage.getItem(i)&&(this.quotaError=!0,this.autocompleteDisabled=!0)},mounted(){this.fnInit()},methods:{...(0,r.nv)("sherlockStore/corpStore",["acPostSherlockCorpRegnoLookup"]),fnInit(){this.initialKeyword&&(this.keyword=this.initialKeyword,this.fnSearch()),this.$nextTick((()=>{this.$refs.keywordInput&&this.$refs.keywordInput.focus()}))},fnOnKeywordInput(){const t=(this.keyword||"").replace(/[^0-9-]/g,"");t!==this.keyword&&(this.keyword=t)},fnSearchManual(){this.fnSearch()},async fnSearch(){this.networkError=!1;const t=(this.keyword||"").trim(),e=t.replace(/\D/g,"");if(!e)return this.items=[],this.hasSearched=!1,void(this.selectedIdx=null);if(e.length<13)return this.items=[],this.hasSearched=!1,void(this.selectedIdx=null);if(this.autocompleteDisabled)return;const s=++this.requestSeq;this.isLoading=!0;try{const e=await this.acPostSherlockCorpRegnoLookup({cno:t});if(s!==this.requestSeq)return;if(!e)return this.items=[],this.hasSearched=!0,void(this.selectedIdx=null);if("QUOTA_EXCEEDED"===e.errorType)return this.quotaError=!0,this.autocompleteDisabled=!0,sessionStorage.setItem(i,"1"),this.items=[],this.hasSearched=!1,void(this.selectedIdx=null);
1if("NETWORK_ERROR"===e.errorType||"UNKNOWN_ERROR"===e.errorType)return this.networkError=!0,this.items=[],this.hasSearched=!1,void(this.selectedIdx=null);if("INVALID_PARAM"===e.errorType)return this.items=[],this.hasSearched=!1,void(this.selectedIdx=null);const a=e.item;this.items=a?[a]:[],this.hasSearched=!0,this.selectedIdx=null}finally{s===this.requestSeq&&(this.isLoading=!1)}},fnSelectItem(t){this.selectedIdx=t},fnConfirm(){if(null===this.selectedIdx)return;const t=this.items[this.selectedIdx];t&&(this.$mixpanel_track("Click Sherlock-Search-Corp-RegnoSearchModal-Confirm"),this.$emit("childFnSelectCorp",{company:t.company,cno:t.cno,bno:t.bno}))},fnSwitchToName(){this.$mixpanel_track("Click Sherlock-Search-Corp-RegnoSearchModal-SwitchToName"),this.$emit("childFnSwitchToName")},fnClose(){this.$emit("childFnClose")},fnFormatCno(t){return(0,l.w)(t)}}},n=c,d=s(43736),p=(0,d.Z)(n,a,o,!1,null,"07759d95",null),_=p.exports},84076:function(t,e,s){t.exports=s.p+"img/arrow_left.db9d60c9.svg"},60196:function(t,e,s){t.exports=s.p+"img/radio_disabled.cf75a932.svg"},38335:function(t,e,s){t.exports=s.p+"img/radio_selected.3243dab6.svg"},67622:function(t,e,s){t.exports=s.p+"img/warn.9f182b5a.svg"}}]);
2//# sourceMappingURL=15442.7776df57.js.map

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.