1import{t as r}from"../constants/boardService.B2zsg4XN.js";import{a as t}from"../utils/stringFormatter.CMUO4R7h.js";import{t as i}from"../store/boardStore.Wy-OA_Au.js";import{t as n}from"./BaseCmd.CPdlR0x8.js";var s=class extends n{#e=null;#t=null;#o=null;connectedCallback(){this.#e=i(this.boardCode).getState().boardConfig,this.#e.addonInfo.infoBox&&(this.#o=new AbortController,this.#r())}disconnectedCallback(){this.#o?.abort()}async#r(){try{const{default:o}=await import("../template/common/BoxInfo.lwyBcKzX.js");this.#t=new o(this.boardCode);const e=await r.getTopBoxInfo(this.boardCode,this.#o.signal);if(e.err_code||e.length===0)throw new Error("BoxInfo Data Not Found");this.#i(e)}catch(o){console.error(o),this.remove()}finally{this.#o=null}}#i(o){this.#t&&(this.innerHTML=this.#t.render({showDevice:t(o[0].SHOW_DEVICE),imageUrl:t(o[0].IMAGE_URL),imageAlt:t(o[0].IMAGE_ALT,"\uCD5C\uC0C1\uB2E8 \uC0AC\uC9C4"),description:t(o[0].DESCRIPTION),linkUrl:t(o[0].PC_LINK_URL),linkTarget:t(o[0].PC_LINK_TARGET)}))}};customElements.define("sbs-board-module-box-info",s);
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.