import{r as i,h as s,H as e}from"./p-9add63ef.js";const t=":host{display:inline-block;vertical-align:middle}";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 l={unshipped:"default",shipped:"info",partially_shipped:"warning",delivered:"success"};const r=class{constructor(s){i(this,s);this.status=undefined;this.size="medium";this.pill=false;this.clearable=false}render(){if(this.status==="unshippable"){return s(e,{style:{display:"none"}})}return s("sc-tag",{type:l===null||l===void 0?void 0:l[this===null||this===void 0?void 0:this.status],pill:this.pill},(d===null||d===void 0?void 0:d[this.status])||this.status)}};r.style=p;export{r as sc_order_shipment_badge};
//# sourceMappingURL=p-326898c8.entry.js.map