import{ba as r,bb as a,bc as n,L as t,bd as e,be as o,bf as s,e as i,bg as u,l as f,bh as c,p as b,bi as d,n as l,bj as v,C as $,bk as p,d as g}from"./p-BTBbFFOR.js";import{R as j}from"./p-cEccaEEN.js";import{S as m,a as k,b as h}from"./p-BpvVF1E7.js";var w=new class{format(a,n){switch(n){case"backgroundColor":return r.format(a);case"borderColor":return h.format(a);case"shadow":return k.format(a);case"border":return m.format(a);default:throw new Error(`Invalid flag ${n} passed into StateFormatFacade`)}}};function O(r,a,n){t.warn(`The ${r} value ${a} is invalid, it must be a value of: `,n)}function E(r,a){let n="";return a.includes("dark")&&(n+=` dark:v-dark-${r}`),n}function F(r){if(d(r))return`v-p-${r}`;O("padding",r,Object.keys(l))}function x(r){if(e(r))return`v-border-${r}`;O("border-style",r,o)}function B(r){if(p(r))return`v-${r}`;O("border-radius",r,Object.keys(g))}function C(r){if(v(r))return`v-${r}`;O("border-color",r,$.filter((()=>/^border-color-.+$/.test)))}function R(r,n=[]){if(a(r))return`v-${r}`+E(r,n);O("background-color",r,$.filter((()=>/^bg-.+$/.test)))}function S(r,a=[]){if(n(r))return`v-${r}`+E(r,a);O("text-color",r,$.filter((()=>/^text-.+$/.test)))}function T(r){if(s(r))return`vega-flex-${r}`;O("breakpoint",r,Object.keys(i))}function y(r){if(s(r))return i[r];O("breakpoint",r,Object.keys(i))}function I(r){if(d(r))return`v-gap-${r}`;O("gap",r,Object.keys(l))}function L(r,a=[]){if(u(r))return`v-${r}`+E(r,a);O("shadows",r,f)}function N(r,a){if(null!=r)return j.format(r,a)}function V(r){if(c(r))return`v-${r}`;O("font",r,b)}function q(r,a){if(null!=r)return w.format(r,a)}export{I as a,L as b,y as c,R as d,C as e,N as f,B as g,F as h,S as i,T as j,q as k,x as l,V as m}