1import{c as r}from"./index-21b550bf.js";import{b as s,as as t,a as e,e as o}from"./client-c7cf1e30.js";import"./session-7c360044.js";const i=(r,s,t)=>(r.error||(r.error={}),r.json||(r.json={}),r.error.message=s,r.json.invalidSkuIds=t,r);function*n(s){const{payload:t}=s,{skuIds:e=[],gatherErrorsForAllSkus:n=!1}=t;let d,l="string"==typeof e?e.split(","):e,a=!1;if(n&&l.length>0){const t=[],e=[];for(;!a;){if(!(l.length>0))return t.length>0?(d=i(d,t,e),d):d;if(d=yield o({...s,payload:{skuIds:r(l),gatherErrorsForAllSkus:n},endpointId:"listSkus"}),!(d.error&&d.error.errorCode&&d.error.status&&"26060"===d.error.errorCode&&500===d.error.status))return t.length>0&&!d.error&&(d.ok=!1,d=i(d,t,e),a=!0),d;{const{message:r}=d.error;t.push(r);const s=r.split(":"),o=2===s.length?s[1].trim():"";l.indexOf(o)>=0&&(e.push(o),l=l.filter((r=>r!==o)))}}}else d=yield o({...s,endpointId:"listSkus"});return d}var d={*saga(){yield s([t("addProductNotification",o),e("getProduct",o),e("getProductType",o),e("getProductsPrices",o),e("getSkusPrices",o),e("getStockStatus",o),e("listProductTypes",o),e("listSkus",n),e("listProducts",o),t("moreProducts",o)])}};export{d as default}; 2//# sourceMappingURL=actions-636c5a3b.js.map
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.