PageSourceSearch

https://www.cyso.co.kr/assets/MainProductList1-BFB5V1Z2.js

js cyso.co.kr collected 2026-10-04 16:14:27 UTC 2,408 bytes, 1 lines download raw bytes

1import{a7 as I,k as x,e as v,p as G,U as o,M as r,a1 as y,X as M,G as f,ae as g,v as m,a9 as W,c as s}from"./vendor-vue-C6ktd1u0.js";import{u as B}from"./useItemList-BXjD7XKC.js";import N from"./SubProductCard-Cebp5NHk.js";import{a as O}from"./index-CBl9UkzP.js";import"./saleItemStore-CL5VCgnt.js";import"./sale-BhPKX3--.js";import"./itemCategoryStore-BAqvf81U.js";import"./item-C6t3fKh3.js";import"./useContextSearch-8nRvaNMK.js";import"./useCommonCode-BodFzoN7.js";import"./storeList-C_QnzE6z.js";import"./vendor-ui-jRVoN3nQ.js";import"./auth-PhaNyg0M.js";import"./closedmallStore-DY3JUWn6.js";import"./itemWishlistStore-7RO6Q0gc.js";import"./itemUtils-Br2b-oK6.js";import"./numberFormat-DN9y6Ho2.js";import"./useCartAddResult-Cclj6LPq.js";import"./no-image-BQzljAk9.js";import"./ItemMarkOverlay-C35-7Fu7.js";import"./vendor-utils-Ch16ZUkk.js";const P={class:"position-relative"},R={__name:"MainProductList1",props:{storeId:{type:String,default:""},items:Array,itemList:{type:Object,required:!0},activeTab:{type:Number,default:0}},setup(b){const a=b,{getItemTypeLabel:h,getShpCostTypeLabel:_,toggleWishlist:C,updateWishlistState:n}=B(),{items:T,itemList:p}=I(a);x(async()=>{a.items&&a.items.length>0&&await n(a.items)}),v(()=>a.items,async t=>{t&&t.length>0&&await n(t)},{immediate:!0,deep:!0});const l=s(()=>{var t,i;return((i=(t=p.value)==null?void 0:t.displayGrp)==null?void 0:i.itemOutputColCnt)||4}),L=s(()=>{var t,i;return((i=(t=p.value)==null?void 0:t.displayGrp)==null?void 0:i.itemOutputRowCnt)||2}),u=s(()=>l.value*L.value),S=s(()=>{var t;return((t=T.value)==null?void 0:t.flat().filter(Boolean))||[]}),c=G(u.value),d=s(()=>S.value.slice(0,c.value)),k=s(()=>{const t=d.value.length%l.value;return t===0?0:l.value-t});return v(()=>a.activeTab,()=>{c.value=u.value}),(t,i)=>(o(),r("div",P,[y(W,{name:"fade",tag:"div",class:"row g-3"},{default:M(()=>[(o(!0),r(f,null,g(d.value,(e,w)=>(o(),r("div",{key:(e==null?void 0:e.saleItemNo)||"empty-"+w,class:"col-6 col-md-3"},[y(N,{item:e,"item-type-label":m(h)(e.itemType),"shp-cost-label":m(_)(e.shpCostType),onToggleWishlist:m(C),"is-main":""},null,8,["item","item-type-label","shp-cost-label","onToggleWishlist"])]))),128)),(o(!0),r(f,null,g(k.value,e=>(o(),r("div",{key:"empty-"+e,class:"card rec-card rounded-4 border bg-transparent",style:{visibility:"hidden"}}))),128))]),_:1})]))}},st=O(R,[["__scopeId","data-v-b8fe6f29"]]);export{st 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.