import{i as r}from"./includes-DdMWPj0t.js";import{gI as l}from"./index-9PRMimni.js";function s(t){return t=t.replace("#",""),t.length===3&&(t=t.split("").map(e=>e+e).join("")),t.toUpperCase()}function n(t,e){const a=s(t),o=Math.round(Math.max(0,Math.min(1,e))*255).toString(16).padStart(2,"0").toUpperCase();return`#${a}${o}`}const i=l(["#3FC33F","#E2792E","#D24C4C","#2080f0","#EDB716"],t=>({color:n(t,.12),borderColor:n(t,.5),textColor:n(t,1)}));function c(t){if(!r([1,2,3,4,5],t))return;const e={1:0,2:1,3:2,4:3,5:4}[t];return i[e]}const f=[{label:"已设置",labelEn:"Configured",value:1},{label:"未设置",labelEn:"Unconfigured",value:0}],C=!1;export{C as I,f as c,c as g};
