"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),$="aplus",l="is-",c=(a,u,t,m,p)=>{let o=`${a}-${u}`;return t&&(o+=`-${t}`),m&&(o+=`__${m}`),p&&(o+=`--${p}`),o},N=Symbol("namespaceContextKey"),y=a=>{const u=a||(r.getCurrentInstance()?r.inject(N,r.ref($)):r.ref($));return r.computed(()=>r.unref(u)||$)},V=(a,u)=>{const t=y(u);return{namespace:t,b:(e="")=>c(t.value,a,e,"",""),e:e=>e?c(t.value,a,"",e,""):"",m:e=>e?c(t.value,a,"","",e):"",be:(e,s)=>e&&s?c(t.value,a,e,s,""):"",em:(e,s)=>e&&s?c(t.value,a,"",e,s):"",bm:(e,s)=>e&&s?c(t.value,a,e,"",s):"",bem:(e,s,n)=>e&&s&&n?c(t.value,a,e,s,n):"",is:(e,...s)=>{const n=s.length>=1?s[0]:!0;return e&&n?`${l}${e}`:""},cssVar:(e,s=!0)=>{const n={};for(const v in e)e[v]&&(n[`--${s?`${t.value}-`:""}${a}-${v}`]=e[v]);return n},cssVarName:e=>`--${t.value}-${e}`,cssVarBlock:e=>{const s={};for(const n in e)e[n]&&(s[`--${t.value}-${a}-${n}`]=e[n]);return s},cssVarBlockName:e=>`--${t.value}-${a}-${e}`}};exports.defaultNamespace=$;exports.namespaceContextKey=N;exports.useGetDerivedNamespace=y;exports.useNamespace=V;
