import{r as e,h as r}from"./p-dfbe004d.js";import{_ as s}from"./p-8415f806.js";import"./p-fd56940f.js";import"./p-9a7a47e8.js";const t=class{constructor(r){e(this,r),this.size="medium",this.pill=!1,this.clearable=!1}getType(){switch(this.status){case"processing":return"warning";case"paid":return"success";case"payment_failed":case"canceled":return"danger";case"void":return"default";case"canceled":return"danger"}}getText(){switch(this.status){case"processing":return s("Processing","surecart");case"payment_failed":return s("Payment Failed","surecart");case"paid":return s("Paid","surecart");case"canceled":return s("Canceled","surecart");case"void":return s("Void","surecart");case"canceled":return s("Canceled","surecart");default:return this.status}}render(){return r("sc-tag",{type:this.getType()},this.getText())}};t.style=":host{display:inline-block}";export{t as sc_order_status_badge}