"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=function(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`).toLowerCase()},c=function(e){return/[heigt|wd]$/.test(e)},s=function(e){let t="";const r=Object.keys(e);return r.forEach((n,i)=>{let o=e[n];n=l(n),c(n)&&typeof o=="number"&&(o=`${o}px`),o===!0?t+=n:o===!1?t+=`not ${n}`:t+=`(${n}: ${o})`,i<r.length-1&&(t+=" and ")}),t};function f(e){let t="";return typeof e=="string"?e:Array.isArray(e)?(e.forEach((r,n)=>{t+=s(r),n<e.length-1&&(t+=", ")}),t):s(e)}exports.default=f;
