import{_ as a,o as e,c as t,x as r,s as l,a as d}from"./app-9daf7b25.js";const i={props:{domain_color:String,processing:Boolean,type:{type:String,default:"button"},disabled:Boolean,secondary:{type:Boolean,default:!1}},computed:{colors(){return this.secondary?"border border-"+this.domain_color+" text-"+this.domain_color:"text-white bg-"+this.domain_color}}},c=["type","disabled"],_={key:0,class:"h-6 w-6 animate-spin inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},u=d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"},null,-1),p=[u],m={key:1};function h(s,f,o,b,y,n){return e(),t("button",{type:o.type,class:l(["button w-full py-2 px-6 rounded-full disabled:opacity-60 disabled:cursor-default",[n.colors]]),disabled:o.disabled},[o.processing?(e(),t("svg",_,p)):(e(),t("span",m,[r(s.$slots,"default")]))],10,c)}const g=a(i,[["render",h]]);export{g as F};