import{r as s,h as i,H as e}from"./p-e97fde0a.js";const t=":host{display:inline-block}";const p=t;const d={unshipped:wp.i18n.__("Not Shipped","surecart"),shipped:wp.i18n.__("Shipped","surecart"),partially_shipped:wp.i18n.__("Partially Shipped","surecart"),delivered:wp.i18n.__("Delivered","surecart")};const r={unshipped:"default",shipped:"info",partially_shipped:"warning",delivered:"success"};const l=class{constructor(i){s(this,i);this.status=undefined;this.size="medium";this.pill=false;this.clearable=false}render(){if(this.status==="unshippable"){return i(e,{style:{display:"none"}})}return i("sc-tag",{type:r===null||r===void 0?void 0:r[this===null||this===void 0?void 0:this.status],pill:this.pill},(d===null||d===void 0?void 0:d[this.status])||this.status)}};l.style=p;export{l as sc_order_shipment_badge};
//# sourceMappingURL=p-be1d8313.entry.js.map