index-6bdb8877.js 568 B

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