index-9ba9fadc.js 711 B

1
  1. import{__tla as d}from"./SkuList.vue_vue_type_script_setup_true_lang-937def20.js";import{__tla as h}from"./PcComponents.css_vue_type_style_index_0_src_bf8feb19_scoped_bf8feb19_lang-b209d228.js";let n,y=Promise.all([(()=>{try{return d}catch{}})(),(()=>{try{return h}catch{}})()]).then(async()=>{n=t=>{var o;const e=[];return t.specType&&((o=t.skus)==null||o.forEach(u=>{var s;(s=u.properties)==null||s.forEach(({propertyId:r,propertyName:c,valueId:l,valueName:i})=>{var _,m;e!=null&&e.some(a=>a.id===r)||e.push({id:r,name:c,values:[]});const p=e==null?void 0:e.findIndex(a=>a.id===r);(_=e[p].values)!=null&&_.some(a=>a.id===l)||((m=e[p].values)==null||m.push({id:l,name:i}))})})),e}});export{y as __tla,n as g};