import{j as g}from"./AM9C8FsA.js";function a(t){var i,f,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(i=0;i<n;i++)t[i]&&(f=a(t[i]))&&(r&&(r+=" "),r+=f)}else for(f in t)t[f]&&(r&&(r+=" "),r+=f);return r}function p(){for(var t,i,f=0,r="",n=arguments.length;f<n;f++)(t=arguments[f])&&(i=a(t))&&(r&&(r+=" "),r+=i);return r}function h(t){return typeof t=="object"?p(t):t??""}const e=[...` 	
\r\f \v\uFEFF`];function v(t,i,f){var r=t==null?"":""+t;if(i&&(r=r?r+" "+i:i),f){for(var n in f)if(f[n])r=r?r+" "+n:n;else if(r.length)for(var u=n.length,l=0;(l=r.indexOf(n,l))>=0;){var s=l+u;(l===0||e.includes(r[l-1]))&&(s===r.length||e.includes(r[s]))?r=(l===0?"":r.substring(0,l))+r.substring(s+1):l=s}}return r===""?null:r}function m(t,i,f,r,n,u){var l=t.__className;if(g||l!==f){var s=v(f,r,u);(!g||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=f}else if(u){n??(n={});for(var o in u){var c=!!u[o];c!==!!n[o]&&t.classList.toggle(o,c)}}return u}export{h as c,m as s};
