PageSourceSearch

https://www.kongkapan.com/_nuxt/Ci6i0HUl.js

js kongkapan.com collected 2026-10-03 00:02:48 UTC 2,161 bytes, 1 lines download raw bytes

1import{_ as S}from"./DVZ2pCWJ.js";import{u as v,a as b}from"./Dc2NKuvZ.js";import{d as P,s as N,R as k,c as s,y as I,f as n,o as T,g,i as z,aO as L,aV as x,aM as R,n as V,k as C}from"#entry";import{i as E}from"./BTwpKAXD.js";import{u as B}from"./CtL5Fl4e.js";import{a as U}from"./CT1hL7fc.js";import"./BC9AvE3U.js";import"./DTuX238w.js";import"./B7nOgko8.js";import"./C3PEg95Z.js";import"./D0m3rUg_.js";import"./1N6Co2hr.js";import"./potJleQs.js";import"./BH83xhdu.js";import"./BR3oGjiE.js";import"./CQlqU5Vm.js";import"./CkwoAd7q.js";import"./CBOphtaG.js";const oo=P({__name:"ProductPromotion",props:{productUuid:{},promotions:{},coupons:{},ukey:{},isShowDescription:{type:Boolean},productNumber:{default:10},bulletTitleTypoStyle:{},bulletDescriptionTypoStyle:{},bulletLinkVariant:{},bulletLayout:{},promotionIconName:{default:"tag"},couponIconName:{default:"coupon_1"},bulletIconSize:{},effects:{}},setup(r){const t=r,{resolvedProductUuid:c}=B(()=>t.productUuid),{products:p}=N(k()),{selectedProductUuid:u}=v(c);b(c);const l=s(()=>u.value?p.value[u.value]:void 0),{t:$}=I(),m=s(()=>{const e=l.value?.promotion_ids??[];return t.promotions.filter(i=>e.includes(String(i.promotion_id)))}),d=s(()=>{const e=l.value?.coupon_ids??[];return t.coupons.filter(i=>e.includes(String(i.config_id)))}),a=s(()=>{const e=m.value.map(o=>({title:{text:o.promotion_name},description:o.promotion_description?{text:o.promotion_description}:void 0,iconName:t.promotionIconName,iconSize:t.bulletIconSize,to:`/promotion/${o.promotion_id}`})),i=d.value.map(o=>({title:{text:o.coupon_name},description:o.coupon_description?{text:o.coupon_description}:void 0,iconName:t.couponIconName,iconSize:t.bulletIconSize,to:`/coupon/${o.config_id}`}));return[...e,...i]}),{elementRef:f,effectClassName:y,effectInlineStyle:_}=U(()=>t);return(e,i)=>{const o=S;return n(E)(n(a))?C("",!0):(T(),g("div",{key:0,class:V(["widget-product-promotion",n(y)]),ref_key:"elementRef",ref:f,style:R(n(_))},[z(o,L(x({titleTypoStyle:r.bulletTitleTypoStyle,descriptionTypoStyle:r.bulletDescriptionTypoStyle,bulletLists:n(a),layout:"list",linkVariant:r.bulletLinkVariant})),null,16)],6))}}});export{oo 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.