import{t as A}from"./chunk-LvLJmgfZ.js";var L=A(((u,m)=>{var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,h=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,f=/^:\s*/,p=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,n=/^\s+|\s+$/g,i=`
`,g="/",C="*",d="",j="comment",k="declaration";function P(e,y){if(typeof e!="string")throw TypeError("First argument must be a string");if(!e)return[];y||(y={});var _=1,v=1;function b(t){var r=t.match(h);r&&(_+=r.length);var c=t.lastIndexOf(i);v=~c?t.length-c:v+t.length}function E(){var t={line:_,column:v};return function(r){return r.position=new z(t),$(),r}}function z(t){this.start=t,this.end={line:_,column:v},this.source=y.source}z.prototype.content=e;function M(t){var r=Error(y.source+":"+_+":"+v+": "+t);if(r.reason=t,r.filename=y.source,r.line=_,r.column=v,r.source=e,!y.silent)throw r}function w(t){var r=t.exec(e);if(r){var c=r[0];return b(c),e=e.slice(c.length),r}}function $(){w(o)}function D(t){var r;for(t||(t=[]);r=O();)r!==!1&&t.push(r);return t}function O(){var t=E();if(!(g!=e.charAt(0)||C!=e.charAt(1))){for(var r=2;d!=e.charAt(r)&&(C!=e.charAt(r)||g!=e.charAt(r+1));)++r;if(r+=2,d===e.charAt(r-1))return M("End of comment missing");var c=e.slice(2,r-2);return v+=2,b(c),e=e.slice(r),v+=2,t({type:j,comment:c})}}function T(){var t=E(),r=w(a);if(r){if(O(),!w(f))return M("property missing ':'");var c=w(p),I=t({type:k,property:x(r[0].replace(l,d)),value:c?x(c[0].replace(l,d)):d});return w(s),I}}function F(){var t=[];D(t);for(var r;r=T();)r!==!1&&(t.push(r),D(t));return t}return $(),F()}function x(e){return e?e.replace(n,d):d}m.exports=P})),S=A((u=>{var m=u&&u.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(u,"__esModule",{value:!0}),u.default=h;var l=m(L());function h(o,a){let f=null;if(!o||typeof o!="string")return f;let p=(0,l.default)(o),s=typeof a=="function";return p.forEach(n=>{if(n.type!=="declaration")return;let{property:i,value:g}=n;s?a(i,g,n):g&&(f||(f={}),f[i]=g)}),f}})),U=A((u=>{Object.defineProperty(u,"__esModule",{value:!0}),u.camelCase=void 0;var m=/^--[a-zA-Z0-9_-]+$/,l=/-([a-z])/g,h=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,f=function(n){return!n||h.test(n)||m.test(n)},p=function(n,i){return i.toUpperCase()},s=function(n,i){return`${i}-`};u.camelCase=function(n,i){return i===void 0&&(i={}),f(n)?n:(n=n.toLowerCase(),n=i.reactCompat?n.replace(a,s):n.replace(o,s),n.replace(l,p))}})),Z=A(((u,m)=>{var l=(u&&u.__importDefault||function(a){return a&&a.__esModule?a:{default:a}})(S()),h=U();function o(a,f){var p={};return!a||typeof a!="string"||(0,l.default)(a,function(s,n){s&&n&&(p[(0,h.camelCase)(s,f)]=n)}),p}o.default=o,m.exports=o}));export{Z as t};
