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