"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[2948],{2948:function(t,e,s){s.r(e),s.d(e,{sc_invoice_status_badge:function(){return a}});var r=s(3029),i=s(2901),u=s(1346),a=function(){return(0,i.A)((function t(e){(0,r.A)(this,t),(0,u.r)(this,e),this.status=void 0,this.size="medium",this.pill=!1,this.clearable=!1}),[{key:"getType",value:function(){switch(this.status){case"paid":return"success";case"open":return"info";case"draft":return"default"}}},{key:"getText",value:function(){switch(this.status){case"paid":return wp.i18n.__("Paid","surecart");case"open":return wp.i18n.__("Open","surecart");case"draft":return wp.i18n.__("Draft","surecart");default:return this.status}}},{key:"render",value:function(){return(0,u.h)("sc-tag",{key:"910dcfd2e4fc4853c0d847a6fb18e9eca7d080c1",type:this.getType(),pill:this.pill},this.getText())}}])}();a.style=":host{display:inline-block}"}}]);