@tailwindcss/browser 0.0.0-insiders.5a94f81 → 0.0.0-insiders.5aa2bf1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var Yt="0.0.0-insiders.5a94f81";var Pe=92,We=47,qe=42,Zt=34,Jt=39,Ui=58,Ge=59,le=10,Ye=13,Oe=32,He=9,Qt=123,yt=125,Ct=40,Xt=41,zi=91,Ki=93,er=45,xt=64,Li=33;function Se(e,r){let i=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],o=[],s=[],a=null,d=null,u="",c="",m=0,g;for(let p=0;p<e.length;p++){let v=e.charCodeAt(p);if(!(v===Ye&&(g=e.charCodeAt(p+1),g===le)))if(v===Pe)u===""&&(m=p),u+=e.slice(p,p+2),p+=1;else if(v===We&&e.charCodeAt(p+1)===qe){let k=p;for(let x=p+2;x<e.length;x++)if(g=e.charCodeAt(x),g===Pe)x+=1;else if(g===qe&&e.charCodeAt(x+1)===We){p=x+1;break}let w=e.slice(k,p+1);if(w.charCodeAt(2)===Li){let x=Ze(w.slice(2,-2));o.push(x),i&&(x.src=[i,k,p+1],x.dst=[i,k,p+1])}}else if(v===Jt||v===Zt){let k=tr(e,p,v);u+=e.slice(p,k+1),p=k}else{if((v===Oe||v===le||v===He)&&(g=e.charCodeAt(p+1))&&(g===Oe||g===le||g===He||g===Ye&&(g=e.charCodeAt(p+2))&&g==le))continue;if(v===le){if(u.length===0)continue;g=u.charCodeAt(u.length-1),g!==Oe&&g!==le&&g!==He&&(u+=" ")}else if(v===er&&e.charCodeAt(p+1)===er&&u.length===0){let k="",w=p,x=-1;for(let C=p+2;C<e.length;C++)if(g=e.charCodeAt(C),g===Pe)C+=1;else if(g===Jt||g===Zt)C=tr(e,C,g);else if(g===We&&e.charCodeAt(C+1)===qe){for(let y=C+2;y<e.length;y++)if(g=e.charCodeAt(y),g===Pe)y+=1;else if(g===qe&&e.charCodeAt(y+1)===We){C=y+1;break}}else if(x===-1&&g===Ui)x=u.length+C-w;else if(g===Ge&&k.length===0){u+=e.slice(w,C),p=C;break}else if(g===Ct)k+=")";else if(g===zi)k+="]";else if(g===Qt)k+="}";else if((g===yt||e.length-1===C)&&k.length===0){p=C-1,u+=e.slice(w,C);break}else(g===Xt||g===Ki||g===yt)&&k.length>0&&e[C]===k[k.length-1]&&(k=k.slice(0,-1));let V=At(u,x);if(!V)throw new Error("Invalid custom property, expected a value");i&&(V.src=[i,w,p],V.dst=[i,w,p]),a?a.nodes.push(V):t.push(V),u=""}else if(v===Ge&&u.charCodeAt(0)===xt)d=_e(u),i&&(d.src=[i,m,p],d.dst=[i,m,p]),a?a.nodes.push(d):t.push(d),u="",d=null;else if(v===Ge&&c[c.length-1]!==")"){let k=At(u);if(!k){if(u.length===0)continue;throw new Error(`Invalid declaration: \`${u.trim()}\``)}i&&(k.src=[i,m,p],k.dst=[i,m,p]),a?a.nodes.push(k):t.push(k),u=""}else if(v===Qt&&c[c.length-1]!==")")c+="}",d=Y(u.trim()),i&&(d.src=[i,m,p],d.dst=[i,m,p]),a&&a.nodes.push(d),s.push(a),a=d,u="",d=null;else if(v===yt&&c[c.length-1]!==")"){if(c==="")throw new Error("Missing opening {");if(c=c.slice(0,-1),u.length>0)if(u.charCodeAt(0)===xt)d=_e(u),i&&(d.src=[i,m,p],d.dst=[i,m,p]),a?a.nodes.push(d):t.push(d),u="",d=null;else{let w=u.indexOf(":");if(a){let x=At(u,w);if(!x)throw new Error(`Invalid declaration: \`${u.trim()}\``);i&&(x.src=[i,m,p],x.dst=[i,m,p]),a.nodes.push(x)}}let k=s.pop()??null;k===null&&a&&t.push(a),a=k,u="",d=null}else if(v===Ct)c+=")",u+="(";else if(v===Xt){if(c[c.length-1]!==")")throw new Error("Missing opening (");c=c.slice(0,-1),u+=")"}else{if(u.length===0&&(v===Oe||v===le||v===He))continue;u===""&&(m=p),u+=String.fromCharCode(v)}}}if(u.charCodeAt(0)===xt){let p=_e(u);i&&(p.src=[i,m,e.length],p.dst=[i,m,e.length]),t.push(p)}if(c.length>0&&a){if(a.kind==="rule")throw new Error(`Missing closing } at ${a.selector}`);if(a.kind==="at-rule")throw new Error(`Missing closing } at ${a.name} ${a.params}`)}return o.length>0?o.concat(t):t}function _e(e,r=[]){let i=e,t="";for(let o=5;o<e.length;o++){let s=e.charCodeAt(o);if(s===Oe||s===Ct){i=e.slice(0,o),t=e.slice(o);break}}return F(i.trim(),t.trim(),r)}function At(e,r=e.indexOf(":")){if(r===-1)return null;let i=e.indexOf("!important",r+1);return n(e.slice(0,r).trim(),e.slice(r+1,i===-1?e.length:i).trim(),i!==-1)}function tr(e,r,i){let t;for(let o=r+1;o<e.length;o++)if(t=e.charCodeAt(o),t===Pe)o+=1;else{if(t===i)return o;if(t===Ge&&(e.charCodeAt(o+1)===le||e.charCodeAt(o+1)===Ye&&e.charCodeAt(o+2)===le))throw new Error(`Unterminated string: ${e.slice(r,o+1)+String.fromCharCode(i)}`);if(t===le||t===Ye&&e.charCodeAt(o+1)===le)throw new Error(`Unterminated string: ${e.slice(r,o)+String.fromCharCode(i)}`)}return r}function me(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),i=r.length,t=-1,o,s="",a=r.charCodeAt(0);if(i===1&&a===45)return"\\"+r;for(;++t<i;){if(o=r.charCodeAt(t),o===0){s+="\uFFFD";continue}if(o>=1&&o<=31||o===127||t===0&&o>=48&&o<=57||t===1&&o>=48&&o<=57&&a===45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(t);continue}s+="\\"+r.charAt(t)}return s}function ve(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var ir=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-column-end"]],["--grid-row",["--grid-row-start","--grid-row-end"]]]);function rr(e,r){return(ir.get(r)??[]).some(i=>e===i||e.startsWith(`${i}-`))}var Je=class{constructor(r=new Map,i=new Set([])){this.values=r;this.keyframes=i}prefix=null;get size(){return this.values.size}add(r,i,t=0,o){if(r.endsWith("-*")){if(i!=="initial")throw new Error(`Invalid theme value \`${i}\` for namespace \`${r}\``);r==="--*"?this.values.clear():this.clearNamespace(r.slice(0,-2),0)}if(t&4){let s=this.values.get(r);if(s&&!(s.options&4))return}i==="initial"?this.values.delete(r):this.values.set(r,{value:i,options:t,src:o})}keysInNamespaces(r){let i=[];for(let t of r){let o=`${t}-`;for(let s of this.values.keys())s.startsWith(o)&&s.indexOf("--",2)===-1&&(rr(s,t)||i.push(s.slice(o.length)))}return i}get(r){for(let i of r){let t=this.values.get(i);if(t)return t.value}return null}hasDefault(r){return(this.getOptions(r)&4)===4}getOptions(r){return r=ve(this.#r(r)),this.values.get(r)?.options??0}entries(){return this.prefix?Array.from(this.values,r=>(r[0]=this.prefixKey(r[0]),r)):this.values.entries()}prefixKey(r){return this.prefix?`--${this.prefix}-${r.slice(2)}`:r}#r(r){return this.prefix?`--${r.slice(3+this.prefix.length)}`:r}clearNamespace(r,i){let t=ir.get(r)??[];e:for(let o of this.values.keys())if(o.startsWith(r)){if(i!==0&&(this.getOptions(o)&i)!==i)continue;for(let s of t)if(o.startsWith(s))continue e;this.values.delete(o)}}#e(r,i){for(let t of i){let o=r!==null?`${t}-${r}`:t;if(!this.values.has(o))if(r!==null&&r.includes(".")){if(o=`${t}-${r.replaceAll(".","_")}`,!this.values.has(o))continue}else continue;if(!rr(o,t))return o}return null}#t(r){let i=this.values.get(r);if(!i)return null;let t=null;return i.options&2&&(t=i.value),`var(${me(this.prefixKey(r))}${t?`, ${t}`:""})`}markUsedVariable(r){let i=ve(this.#r(r)),t=this.values.get(i);if(!t)return!1;let o=t.options&16;return t.options|=16,!o}resolve(r,i,t=0){let o=this.#e(r,i);if(!o)return null;let s=this.values.get(o);return(t|s.options)&1?s.value:this.#t(o)}resolveValue(r,i){let t=this.#e(r,i);return t?this.values.get(t).value:null}resolveWith(r,i,t=[]){let o=this.#e(r,i);if(!o)return null;let s={};for(let d of t){let u=`${o}${d}`,c=this.values.get(u);c&&(c.options&1?s[d]=c.value:s[d]=this.#t(u))}let a=this.values.get(o);return a.options&1?[a.value,s]:[this.#t(o),s]}namespace(r){let i=new Map,t=`${r}-`;for(let[o,s]of this.values)o===r?i.set(null,s.value):o.startsWith(`${t}-`)?i.set(o.slice(r.length),s.value):o.startsWith(t)&&i.set(o.slice(t.length),s.value);return i}addKeyframes(r){this.keyframes.add(r)}getKeyframes(){return Array.from(this.keyframes)}};var B=class extends Map{constructor(i){super();this.factory=i}get(i){let t=super.get(i);return t===void 0&&(t=this.factory(i,this),this.set(i,t)),t}};function $t(e){return{kind:"word",value:e}}function Ii(e,r){return{kind:"function",value:e,nodes:r}}function ji(e){return{kind:"separator",value:e}}function ee(e,r,i=null){for(let t=0;t<e.length;t++){let o=e[t],s=!1,a=0,d=r(o,{parent:i,replaceWith(u){s||(s=!0,Array.isArray(u)?u.length===0?(e.splice(t,1),a=0):u.length===1?(e[t]=u[0],a=1):(e.splice(t,1,...u),a=u.length):e[t]=u)}})??0;if(s){d===0?t--:t+=a-1;continue}if(d===2)return 2;if(d!==1&&o.kind==="function"&&ee(o.nodes,r,o)===2)return 2}}function J(e){let r="";for(let i of e)switch(i.kind){case"word":case"separator":{r+=i.value;break}case"function":r+=i.value+"("+J(i.nodes)+")"}return r}var or=92,Fi=41,nr=58,lr=44,Mi=34,ar=61,sr=62,ur=60,cr=10,Bi=40,Wi=39,fr=47,dr=32,pr=9;function G(e){e=e.replaceAll(`\r
1
+ "use strict";(()=>{var Yt="0.0.0-insiders.5aa2bf1";var Pe=92,We=47,qe=42,Zt=34,Jt=39,Ui=58,Ge=59,le=10,Ye=13,Oe=32,He=9,Qt=123,yt=125,Ct=40,Xt=41,zi=91,Ki=93,er=45,xt=64,Li=33;function Se(e,r){let i=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],o=[],s=[],a=null,d=null,u="",c="",m=0,g;for(let p=0;p<e.length;p++){let v=e.charCodeAt(p);if(!(v===Ye&&(g=e.charCodeAt(p+1),g===le)))if(v===Pe)u===""&&(m=p),u+=e.slice(p,p+2),p+=1;else if(v===We&&e.charCodeAt(p+1)===qe){let k=p;for(let x=p+2;x<e.length;x++)if(g=e.charCodeAt(x),g===Pe)x+=1;else if(g===qe&&e.charCodeAt(x+1)===We){p=x+1;break}let w=e.slice(k,p+1);if(w.charCodeAt(2)===Li){let x=Ze(w.slice(2,-2));o.push(x),i&&(x.src=[i,k,p+1],x.dst=[i,k,p+1])}}else if(v===Jt||v===Zt){let k=tr(e,p,v);u+=e.slice(p,k+1),p=k}else{if((v===Oe||v===le||v===He)&&(g=e.charCodeAt(p+1))&&(g===Oe||g===le||g===He||g===Ye&&(g=e.charCodeAt(p+2))&&g==le))continue;if(v===le){if(u.length===0)continue;g=u.charCodeAt(u.length-1),g!==Oe&&g!==le&&g!==He&&(u+=" ")}else if(v===er&&e.charCodeAt(p+1)===er&&u.length===0){let k="",w=p,x=-1;for(let C=p+2;C<e.length;C++)if(g=e.charCodeAt(C),g===Pe)C+=1;else if(g===Jt||g===Zt)C=tr(e,C,g);else if(g===We&&e.charCodeAt(C+1)===qe){for(let y=C+2;y<e.length;y++)if(g=e.charCodeAt(y),g===Pe)y+=1;else if(g===qe&&e.charCodeAt(y+1)===We){C=y+1;break}}else if(x===-1&&g===Ui)x=u.length+C-w;else if(g===Ge&&k.length===0){u+=e.slice(w,C),p=C;break}else if(g===Ct)k+=")";else if(g===zi)k+="]";else if(g===Qt)k+="}";else if((g===yt||e.length-1===C)&&k.length===0){p=C-1,u+=e.slice(w,C);break}else(g===Xt||g===Ki||g===yt)&&k.length>0&&e[C]===k[k.length-1]&&(k=k.slice(0,-1));let V=At(u,x);if(!V)throw new Error("Invalid custom property, expected a value");i&&(V.src=[i,w,p],V.dst=[i,w,p]),a?a.nodes.push(V):t.push(V),u=""}else if(v===Ge&&u.charCodeAt(0)===xt)d=_e(u),i&&(d.src=[i,m,p],d.dst=[i,m,p]),a?a.nodes.push(d):t.push(d),u="",d=null;else if(v===Ge&&c[c.length-1]!==")"){let k=At(u);if(!k){if(u.length===0)continue;throw new Error(`Invalid declaration: \`${u.trim()}\``)}i&&(k.src=[i,m,p],k.dst=[i,m,p]),a?a.nodes.push(k):t.push(k),u=""}else if(v===Qt&&c[c.length-1]!==")")c+="}",d=Y(u.trim()),i&&(d.src=[i,m,p],d.dst=[i,m,p]),a&&a.nodes.push(d),s.push(a),a=d,u="",d=null;else if(v===yt&&c[c.length-1]!==")"){if(c==="")throw new Error("Missing opening {");if(c=c.slice(0,-1),u.length>0)if(u.charCodeAt(0)===xt)d=_e(u),i&&(d.src=[i,m,p],d.dst=[i,m,p]),a?a.nodes.push(d):t.push(d),u="",d=null;else{let w=u.indexOf(":");if(a){let x=At(u,w);if(!x)throw new Error(`Invalid declaration: \`${u.trim()}\``);i&&(x.src=[i,m,p],x.dst=[i,m,p]),a.nodes.push(x)}}let k=s.pop()??null;k===null&&a&&t.push(a),a=k,u="",d=null}else if(v===Ct)c+=")",u+="(";else if(v===Xt){if(c[c.length-1]!==")")throw new Error("Missing opening (");c=c.slice(0,-1),u+=")"}else{if(u.length===0&&(v===Oe||v===le||v===He))continue;u===""&&(m=p),u+=String.fromCharCode(v)}}}if(u.charCodeAt(0)===xt){let p=_e(u);i&&(p.src=[i,m,e.length],p.dst=[i,m,e.length]),t.push(p)}if(c.length>0&&a){if(a.kind==="rule")throw new Error(`Missing closing } at ${a.selector}`);if(a.kind==="at-rule")throw new Error(`Missing closing } at ${a.name} ${a.params}`)}return o.length>0?o.concat(t):t}function _e(e,r=[]){let i=e,t="";for(let o=5;o<e.length;o++){let s=e.charCodeAt(o);if(s===Oe||s===Ct){i=e.slice(0,o),t=e.slice(o);break}}return F(i.trim(),t.trim(),r)}function At(e,r=e.indexOf(":")){if(r===-1)return null;let i=e.indexOf("!important",r+1);return n(e.slice(0,r).trim(),e.slice(r+1,i===-1?e.length:i).trim(),i!==-1)}function tr(e,r,i){let t;for(let o=r+1;o<e.length;o++)if(t=e.charCodeAt(o),t===Pe)o+=1;else{if(t===i)return o;if(t===Ge&&(e.charCodeAt(o+1)===le||e.charCodeAt(o+1)===Ye&&e.charCodeAt(o+2)===le))throw new Error(`Unterminated string: ${e.slice(r,o+1)+String.fromCharCode(i)}`);if(t===le||t===Ye&&e.charCodeAt(o+1)===le)throw new Error(`Unterminated string: ${e.slice(r,o)+String.fromCharCode(i)}`)}return r}function me(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),i=r.length,t=-1,o,s="",a=r.charCodeAt(0);if(i===1&&a===45)return"\\"+r;for(;++t<i;){if(o=r.charCodeAt(t),o===0){s+="\uFFFD";continue}if(o>=1&&o<=31||o===127||t===0&&o>=48&&o<=57||t===1&&o>=48&&o<=57&&a===45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o===45||o===95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(t);continue}s+="\\"+r.charAt(t)}return s}function ve(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var ir=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-column-end"]],["--grid-row",["--grid-row-start","--grid-row-end"]]]);function rr(e,r){return(ir.get(r)??[]).some(i=>e===i||e.startsWith(`${i}-`))}var Je=class{constructor(r=new Map,i=new Set([])){this.values=r;this.keyframes=i}prefix=null;get size(){return this.values.size}add(r,i,t=0,o){if(r.endsWith("-*")){if(i!=="initial")throw new Error(`Invalid theme value \`${i}\` for namespace \`${r}\``);r==="--*"?this.values.clear():this.clearNamespace(r.slice(0,-2),0)}if(t&4){let s=this.values.get(r);if(s&&!(s.options&4))return}i==="initial"?this.values.delete(r):this.values.set(r,{value:i,options:t,src:o})}keysInNamespaces(r){let i=[];for(let t of r){let o=`${t}-`;for(let s of this.values.keys())s.startsWith(o)&&s.indexOf("--",2)===-1&&(rr(s,t)||i.push(s.slice(o.length)))}return i}get(r){for(let i of r){let t=this.values.get(i);if(t)return t.value}return null}hasDefault(r){return(this.getOptions(r)&4)===4}getOptions(r){return r=ve(this.#r(r)),this.values.get(r)?.options??0}entries(){return this.prefix?Array.from(this.values,r=>(r[0]=this.prefixKey(r[0]),r)):this.values.entries()}prefixKey(r){return this.prefix?`--${this.prefix}-${r.slice(2)}`:r}#r(r){return this.prefix?`--${r.slice(3+this.prefix.length)}`:r}clearNamespace(r,i){let t=ir.get(r)??[];e:for(let o of this.values.keys())if(o.startsWith(r)){if(i!==0&&(this.getOptions(o)&i)!==i)continue;for(let s of t)if(o.startsWith(s))continue e;this.values.delete(o)}}#e(r,i){for(let t of i){let o=r!==null?`${t}-${r}`:t;if(!this.values.has(o))if(r!==null&&r.includes(".")){if(o=`${t}-${r.replaceAll(".","_")}`,!this.values.has(o))continue}else continue;if(!rr(o,t))return o}return null}#t(r){let i=this.values.get(r);if(!i)return null;let t=null;return i.options&2&&(t=i.value),`var(${me(this.prefixKey(r))}${t?`, ${t}`:""})`}markUsedVariable(r){let i=ve(this.#r(r)),t=this.values.get(i);if(!t)return!1;let o=t.options&16;return t.options|=16,!o}resolve(r,i,t=0){let o=this.#e(r,i);if(!o)return null;let s=this.values.get(o);return(t|s.options)&1?s.value:this.#t(o)}resolveValue(r,i){let t=this.#e(r,i);return t?this.values.get(t).value:null}resolveWith(r,i,t=[]){let o=this.#e(r,i);if(!o)return null;let s={};for(let d of t){let u=`${o}${d}`,c=this.values.get(u);c&&(c.options&1?s[d]=c.value:s[d]=this.#t(u))}let a=this.values.get(o);return a.options&1?[a.value,s]:[this.#t(o),s]}namespace(r){let i=new Map,t=`${r}-`;for(let[o,s]of this.values)o===r?i.set(null,s.value):o.startsWith(`${t}-`)?i.set(o.slice(r.length),s.value):o.startsWith(t)&&i.set(o.slice(t.length),s.value);return i}addKeyframes(r){this.keyframes.add(r)}getKeyframes(){return Array.from(this.keyframes)}};var B=class extends Map{constructor(i){super();this.factory=i}get(i){let t=super.get(i);return t===void 0&&(t=this.factory(i,this),this.set(i,t)),t}};function $t(e){return{kind:"word",value:e}}function Ii(e,r){return{kind:"function",value:e,nodes:r}}function ji(e){return{kind:"separator",value:e}}function ee(e,r,i=null){for(let t=0;t<e.length;t++){let o=e[t],s=!1,a=0,d=r(o,{parent:i,replaceWith(u){s||(s=!0,Array.isArray(u)?u.length===0?(e.splice(t,1),a=0):u.length===1?(e[t]=u[0],a=1):(e.splice(t,1,...u),a=u.length):e[t]=u)}})??0;if(s){d===0?t--:t+=a-1;continue}if(d===2)return 2;if(d!==1&&o.kind==="function"&&ee(o.nodes,r,o)===2)return 2}}function J(e){let r="";for(let i of e)switch(i.kind){case"word":case"separator":{r+=i.value;break}case"function":r+=i.value+"("+J(i.nodes)+")"}return r}var or=92,Fi=41,nr=58,lr=44,Mi=34,ar=61,sr=62,ur=60,cr=10,Bi=40,Wi=39,fr=47,dr=32,pr=9;function G(e){e=e.replaceAll(`\r
2
2
  `,`
3
3
  `);let r=[],i=[],t=null,o="",s;for(let a=0;a<e.length;a++){let d=e.charCodeAt(a);switch(d){case or:{o+=e[a]+e[a+1],a++;break}case nr:case lr:case ar:case sr:case ur:case cr:case fr:case dr:case pr:{if(o.length>0){let g=$t(o);t?t.nodes.push(g):r.push(g),o=""}let u=a,c=a+1;for(;c<e.length&&(s=e.charCodeAt(c),!(s!==nr&&s!==lr&&s!==ar&&s!==sr&&s!==ur&&s!==cr&&s!==fr&&s!==dr&&s!==pr));c++);a=c-1;let m=ji(e.slice(u,c));t?t.nodes.push(m):r.push(m);break}case Wi:case Mi:{let u=a;for(let c=a+1;c<e.length;c++)if(s=e.charCodeAt(c),s===or)c+=1;else if(s===d){a=c;break}o+=e.slice(u,a+1);break}case Bi:{let u=Ii(o,[]);o="",t?t.nodes.push(u):r.push(u),i.push(u),t=u;break}case Fi:{let u=i.pop();if(o.length>0){let c=$t(o);u?.nodes.push(c),o=""}i.length>0?t=i[i.length-1]:t=null;break}default:o+=String.fromCharCode(d)}}return o.length>0&&r.push($t(o)),r}function Qe(e){let r=[];return ee(G(e),i=>{if(!(i.kind!=="function"||i.value!=="var"))return ee(i.nodes,t=>{t.kind!=="word"||t.value[0]!=="-"||t.value[1]!=="-"||r.push(t.value)}),1}),r}var Hi=64;function W(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function F(e,r="",i=[]){return{kind:"at-rule",name:e,params:r,nodes:i}}function Y(e,r=[]){return e.charCodeAt(0)===Hi?_e(e,r):W(e,r)}function n(e,r,i=!1){return{kind:"declaration",property:e,value:r,important:i}}function Ze(e){return{kind:"comment",value:e}}function ue(e,r){return{kind:"context",context:e,nodes:r}}function j(e){return{kind:"at-root",nodes:e}}function K(e,r,i=[],t={}){for(let o=0;o<e.length;o++){let s=e[o],a=i[i.length-1]??null;if(s.kind==="context"){if(K(s.nodes,r,i,{...t,...s.context})===2)return 2;continue}i.push(s);let d=!1,u=0,c=r(s,{parent:a,context:t,path:i,replaceWith(m){d||(d=!0,Array.isArray(m)?m.length===0?(e.splice(o,1),u=0):m.length===1?(e[o]=m[0],u=1):(e.splice(o,1,...m),u=m.length):(e[o]=m,u=1))}})??0;if(i.pop(),d){c===0?o--:o+=u-1;continue}if(c===2)return 2;if(c!==1&&"nodes"in s){i.push(s);let m=K(s.nodes,r,i,t);if(i.pop(),m===2)return 2}}}function Xe(e,r,i=[],t={}){for(let o=0;o<e.length;o++){let s=e[o],a=i[i.length-1]??null;if(s.kind==="rule"||s.kind==="at-rule")i.push(s),Xe(s.nodes,r,i,t),i.pop();else if(s.kind==="context"){Xe(s.nodes,r,i,{...t,...s.context});continue}i.push(s),r(s,{parent:a,context:t,path:i,replaceWith(d){Array.isArray(d)?d.length===0?e.splice(o,1):d.length===1?e[o]=d[0]:e.splice(o,1,...d):e[o]=d,o+=d.length-1}}),i.pop()}}function be(e,r,i=3){let t=[],o=new Set,s=new B(()=>new Set),a=new B(()=>new Set),d=new Set,u=new Set,c=[],m=[],g=new B(()=>new Set);function p(k,w,x={},V=0){if(k.kind==="declaration"){if(k.property==="--tw-sort"||k.value===void 0||k.value===null)return;if(x.theme&&k.property[0]==="-"&&k.property[1]==="-"){if(k.value==="initial"){k.value=void 0;return}x.keyframes||s.get(w).add(k)}if(k.value.includes("var("))if(x.theme&&k.property[0]==="-"&&k.property[1]==="-")for(let C of Qe(k.value))g.get(C).add(k.property);else r.trackUsedVariables(k.value);if(k.property==="animation")for(let C of mr(k.value))u.add(C);i&2&&k.value.includes("color-mix(")&&a.get(w).add(k),w.push(k)}else if(k.kind==="rule"){let C=[];for(let R of k.nodes)p(R,C,x,V+1);let y={},_=new Set;for(let R of C){if(R.kind!=="declaration")continue;let D=`${R.property}:${R.value}:${R.important}`;y[D]??=[],y[D].push(R)}for(let R in y)for(let D=0;D<y[R].length-1;++D)_.add(y[R][D]);if(_.size>0&&(C=C.filter(R=>!_.has(R))),C.length===0)return;k.selector==="&"?w.push(...C):w.push({...k,nodes:C})}else if(k.kind==="at-rule"&&k.name==="@property"&&V===0){if(o.has(k.params))return;if(i&1){let y=k.params,_=null,R=!1;for(let U of k.nodes)U.kind==="declaration"&&(U.property==="initial-value"?_=U.value:U.property==="inherits"&&(R=U.value==="true"));let D=n(y,_??"initial");D.src=k.src,R?c.push(D):m.push(D)}o.add(k.params);let C={...k,nodes:[]};for(let y of k.nodes)p(y,C.nodes,x,V+1);w.push(C)}else if(k.kind==="at-rule"){k.name==="@keyframes"&&(x={...x,keyframes:!0});let C={...k,nodes:[]};for(let y of k.nodes)p(y,C.nodes,x,V+1);k.name==="@keyframes"&&x.theme&&d.add(C),(C.nodes.length>0||C.name==="@layer"||C.name==="@charset"||C.name==="@custom-media"||C.name==="@namespace"||C.name==="@import")&&w.push(C)}else if(k.kind==="at-root")for(let C of k.nodes){let y=[];p(C,y,x,0);for(let _ of y)t.push(_)}else if(k.kind==="context"){if(k.context.reference)return;for(let C of k.nodes)p(C,w,{...x,...k.context},V)}else k.kind==="comment"&&w.push(k)}let v=[];for(let k of e)p(k,v,{},0);e:for(let[k,w]of s)for(let x of w){if(gr(x.property,r.theme,g)){if(x.property.startsWith(r.theme.prefixKey("--animate-")))for(let y of mr(x.value))u.add(y);continue}let C=k.indexOf(x);if(k.splice(C,1),k.length===0){let y=Gi(v,_=>_.kind==="rule"&&_.nodes===k);if(!y||y.length===0)continue e;y.unshift({kind:"at-root",nodes:v});do{let _=y.pop();if(!_)break;let R=y[y.length-1];if(!R||R.kind!=="at-root"&&R.kind!=="at-rule")break;let D=R.nodes.indexOf(_);if(D===-1)break;R.nodes.splice(D,1)}while(!0);continue e}}for(let k of d)if(!u.has(k.params)){let w=t.indexOf(k);t.splice(w,1)}if(v=v.concat(t),i&2)for(let[k,w]of a)for(let x of w){let V=k.indexOf(x);if(V===-1||x.value==null)continue;let C=G(x.value),y=!1;if(ee(C,(D,{replaceWith:U})=>{if(D.kind!=="function"||D.value!=="color-mix")return;let H=!1,O=!1;if(ee(D.nodes,(L,{replaceWith:q})=>{if(L.kind=="word"&&L.value.toLowerCase()==="currentcolor"){O=!0,y=!0;return}let M=L,oe=null,l=new Set;do{if(M.kind!=="function"||M.value!=="var")return;let f=M.nodes[0];if(!f||f.kind!=="word")return;let h=f.value;if(l.has(h)){H=!0;return}if(l.add(h),y=!0,oe=r.theme.resolveValue(null,[f.value]),!oe){H=!0;return}if(oe.toLowerCase()==="currentcolor"){O=!0;return}oe.startsWith("var(")?M=G(oe)[0]:M=null}while(M);q({kind:"word",value:oe})}),H||O){let L=D.nodes.findIndex(M=>M.kind==="separator"&&M.value.trim().includes(","));if(L===-1)return;let q=D.nodes.length>L?D.nodes[L+1]:null;if(!q)return;U(q)}else if(y){let L=D.nodes[2];L.kind==="word"&&(L.value==="oklab"||L.value==="oklch"||L.value==="lab"||L.value==="lch")&&(L.value="srgb")}}),!y)continue;let _={...x,value:J(C)},R=Y("@supports (color: color-mix(in lab, red, red))",[x]);R.src=x.src,k.splice(V,1,_,R)}if(i&1){let k=[];if(c.length>0){let w=Y(":root, :host",c);w.src=c[0].src,k.push(w)}if(m.length>0){let w=Y("*, ::before, ::after, ::backdrop",m);w.src=m[0].src,k.push(w)}if(k.length>0){let w=v.findIndex(C=>!(C.kind==="comment"||C.kind==="at-rule"&&(C.name==="@charset"||C.name==="@import"))),x=F("@layer","properties",[]);x.src=k[0].src,v.splice(w<0?v.length:w,0,x);let V=Y("@layer properties",[F("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",k)]);V.src=k[0].src,V.nodes[0].src=k[0].src,v.push(V)}}return v}function ne(e,r){let i=0,t={file:null,code:""};function o(a,d=0){let u="",c=" ".repeat(d);if(a.kind==="declaration"){if(u+=`${c}${a.property}: ${a.value}${a.important?" !important":""};
4
4
  `,r){i+=c.length;let m=i;i+=a.property.length,i+=2,i+=a.value?.length??0,a.important&&(i+=11);let g=i;i+=2,a.dst=[t,m,g]}}else if(a.kind==="rule"){if(u+=`${c}${a.selector} {
@@ -28,7 +28,7 @@ Using an object as a plugin option is currently only supported in JavaScript con
28
28
  ${JSON.stringify(w,null,2)}
29
29
 
30
30
  This feature is not currently supported.`);let x=!1;w.pattern[0]=="!"&&(x=!0,w.pattern=w.pattern.slice(1)),t.push({...w,negated:x})}return a}function Ai(e){let r=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&r.push(o+1);function i(o){let s=0,a=r.length;for(;a>0;){let u=(a|0)>>1,c=s+u;r[c]<=o?(s=c+1,a=a-u-1):a=u}s-=1;let d=o-r[s];return{line:s+1,column:d}}function t({line:o,column:s}){o-=1,o=Math.min(Math.max(o,0),r.length-1);let a=r[o],d=r[o+1]??a;return Math.min(Math.max(a+s,0),d)}return{find:i,findOffset:t}}function Ci({ast:e}){let r=new B(o=>Ai(o.code)),i=new B(o=>({url:o.file,content:o.code,ignore:!1})),t={file:null,sources:[],mappings:[]};K(e,o=>{if(!o.src||!o.dst)return;let s=i.get(o.src[0]);if(!s.content)return;let a=r.get(o.src[0]),d=r.get(o.dst[0]),u=s.content.slice(o.src[1],o.src[2]),c=0;for(let p of u.split(`
31
- `)){if(p.trim()!==""){let v=a.find(o.src[1]+c),k=d.find(o.dst[1]);t.mappings.push({name:null,originalPosition:{source:s,...v},generatedPosition:k})}c+=p.length,c+=1}let m=a.find(o.src[2]),g=d.find(o.dst[2]);t.mappings.push({name:null,originalPosition:{source:s,...m},generatedPosition:g})});for(let o of r.keys())t.sources.push(i.get(o));return t.mappings.sort((o,s)=>o.generatedPosition.line-s.generatedPosition.line||o.generatedPosition.column-s.generatedPosition.column||(o.originalPosition?.line??0)-(s.originalPosition?.line??0)||(o.originalPosition?.column??0)-(s.originalPosition?.column??0)),t}var Si=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function ht(e){let r=e.indexOf("{");if(r===-1)return[e];let i=[],t=e.slice(0,r),o=e.slice(r),s=0,a=o.lastIndexOf("}");for(let g=0;g<o.length;g++){let p=o[g];if(p==="{")s++;else if(p==="}"&&(s--,s===0)){a=g;break}}if(a===-1)throw new Error(`The pattern \`${e}\` is not balanced.`);let d=o.slice(1,a),u=o.slice(a+1),c;hn(d)?c=kn(d):c=z(d,","),c=c.flatMap(g=>ht(g));let m=ht(u);for(let g of m)for(let p of c)i.push(t+p+g);return i}function hn(e){return Si.test(e)}function kn(e){let r=e.match(Si);if(!r)return[e];let[,i,t,o]=r,s=o?parseInt(o,10):void 0,a=[];if(/^-?\d+$/.test(i)&&/^-?\d+$/.test(t)){let d=parseInt(i,10),u=parseInt(t,10);if(s===void 0&&(s=d<=u?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");let c=d<u;c&&s<0&&(s=-s),!c&&s>0&&(s=-s);for(let m=d;c?m<=u:m>=u;m+=s)a.push(m.toString())}return a}function $i(e,r){let i=new Set,t=new Set,o=[];function s(a,d=[]){if(e.has(a)&&!i.has(a)){t.has(a)&&r.onCircularDependency?.(d,a),t.add(a);for(let u of e.get(a)??[])d.push(a),s(u,d),d.pop();i.add(a),t.delete(a),o.push(a)}}for(let a of e.keys())s(a);return o}var vn=/^[a-z]+$/;function wn(){throw new Error("No `loadModule` function provided to `compile`")}function bn(){throw new Error("No `loadStylesheet` function provided to `compile`")}function yn(e){let r=0,i=null;for(let t of z(e," "))t==="reference"?r|=2:t==="inline"?r|=1:t==="default"?r|=4:t==="static"?r|=8:t.startsWith("prefix(")&&t.endsWith(")")&&(i=t.slice(7,-1));return[r,i]}async function xn(e,{base:r="",from:i,loadModule:t=wn,loadStylesheet:o=bn}={}){let s=0;e=[ue({base:r},e)],s|=await Ft(e,r,o,0,i!==void 0);let a=null,d=new Je,u=new Map,c=new Map,m=[],g=null,p=null,v=[],k=[],w=[],x=[],V=null;K(e,(y,{parent:_,replaceWith:R,context:D})=>{if(y.kind==="at-rule"){if(y.name==="@tailwind"&&(y.params==="utilities"||y.params.startsWith("utilities"))){if(p!==null){R([]);return}if(D.reference){R([]);return}let U=z(y.params," ");for(let H of U)if(H.startsWith("source(")){let O=H.slice(7,-1);if(O==="none"){V=O;continue}if(O[0]==='"'&&O[O.length-1]!=='"'||O[0]==="'"&&O[O.length-1]!=="'"||O[0]!=="'"&&O[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");V={base:D.sourceBase??D.base,pattern:O.slice(1,-1)}}p=y,s|=16}if(y.name==="@utility"){if(_!==null)throw new Error("`@utility` cannot be nested.");if(y.nodes.length===0)throw new Error(`\`@utility ${y.params}\` is empty. Utilities should include at least one property.`);let U=_r(y);if(U===null){if(!y.params.endsWith("-*")){if(y.params.endsWith("*"))throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(y.params.includes("*"))throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}m.push(U)}if(y.name==="@source"){if(y.nodes.length>0)throw new Error("`@source` cannot have a body.");if(_!==null)throw new Error("`@source` cannot be nested.");let U=!1,H=!1,O=y.params;if(O[0]==="n"&&O.startsWith("not ")&&(U=!0,O=O.slice(4)),O[0]==="i"&&O.startsWith("inline(")&&(H=!0,O=O.slice(7,-1)),O[0]==='"'&&O[O.length-1]!=='"'||O[0]==="'"&&O[O.length-1]!=="'"||O[0]!=="'"&&O[0]!=='"')throw new Error("`@source` paths must be quoted.");let L=O.slice(1,-1);if(H){let q=U?x:w,M=z(L," ");for(let oe of M)for(let l of ht(oe))q.push(l)}else k.push({base:D.base,pattern:L,negated:U});R([]);return}if(y.name==="@variant"&&(_===null?y.nodes.length===0?y.name="@custom-variant":(K(y.nodes,U=>{if(U.kind==="at-rule"&&U.name==="@slot")return y.name="@custom-variant",2}),y.name==="@variant"&&v.push(y)):v.push(y)),y.name==="@custom-variant"){if(_!==null)throw new Error("`@custom-variant` cannot be nested.");R([]);let[U,H]=z(y.params," ");if(!ut.test(U))throw new Error(`\`@custom-variant ${U}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(y.nodes.length>0&&H)throw new Error(`\`@custom-variant ${U}\` cannot have both a selector and a body.`);if(y.nodes.length===0){if(!H)throw new Error(`\`@custom-variant ${U}\` has no selector or body.`);let O=z(H.slice(1,-1),",");if(O.length===0||O.some(M=>M.trim()===""))throw new Error(`\`@custom-variant ${U} (${O.join(",")})\` selector is invalid.`);let L=[],q=[];for(let M of O)M=M.trim(),M[0]==="@"?L.push(M):q.push(M);u.set(U,M=>{M.variants.static(U,oe=>{let l=[];q.length>0&&l.push(W(q.join(", "),oe.nodes));for(let f of L)l.push(Y(f,oe.nodes));oe.nodes=l},{compounds:Ae([...q,...L])})}),c.set(U,new Set);return}else{let O=new Set;K(y.nodes,L=>{L.kind==="at-rule"&&L.name==="@variant"&&O.add(L.params)}),u.set(U,L=>{L.variants.fromAst(U,y.nodes,L)}),c.set(U,O);return}}if(y.name==="@media"){let U=z(y.params," "),H=[];for(let O of U)if(O.startsWith("source(")){let L=O.slice(7,-1);K(y.nodes,(q,{replaceWith:M})=>{if(q.kind==="at-rule"&&q.name==="@tailwind"&&q.params==="utilities")return q.params+=` source(${L})`,M([ue({sourceBase:D.base},[q])]),2})}else if(O.startsWith("theme(")){let L=O.slice(6,-1),q=L.includes("reference");K(y.nodes,M=>{if(M.kind!=="at-rule"){if(q)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return 0}if(M.name==="@theme")return M.params+=" "+L,1})}else if(O.startsWith("prefix(")){let L=O.slice(7,-1);K(y.nodes,q=>{if(q.kind==="at-rule"&&q.name==="@theme")return q.params+=` prefix(${L})`,1})}else O==="important"?a=!0:O==="reference"?y.nodes=[ue({reference:!0},y.nodes)]:H.push(O);H.length>0?y.params=H.join(" "):U.length>0&&R(y.nodes)}if(y.name==="@theme"){let[U,H]=yn(y.params);if(D.reference&&(U|=2),H){if(!vn.test(H))throw new Error(`The prefix "${H}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);d.prefix=H}return K(y.nodes,O=>{if(O.kind==="at-rule"&&O.name==="@keyframes")return d.addKeyframes(O),1;if(O.kind==="comment")return;if(O.kind==="declaration"&&O.property.startsWith("--")){d.add(ve(O.property),O.value??"",U,O.src);return}let L=ne([F(y.name,y.params,[O])]).split(`
31
+ `)){if(p.trim()!==""){let v=a.find(o.src[1]+c),k=d.find(o.dst[1]);t.mappings.push({name:null,originalPosition:{source:s,...v},generatedPosition:k})}c+=p.length,c+=1}let m=a.find(o.src[2]),g=d.find(o.dst[2]);t.mappings.push({name:null,originalPosition:{source:s,...m},generatedPosition:g})});for(let o of r.keys())t.sources.push(i.get(o));return t.mappings.sort((o,s)=>o.generatedPosition.line-s.generatedPosition.line||o.generatedPosition.column-s.generatedPosition.column||(o.originalPosition?.line??0)-(s.originalPosition?.line??0)||(o.originalPosition?.column??0)-(s.originalPosition?.column??0)),t}var Si=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function ht(e){let r=e.indexOf("{");if(r===-1)return[e];let i=[],t=e.slice(0,r),o=e.slice(r),s=0,a=o.lastIndexOf("}");for(let g=0;g<o.length;g++){let p=o[g];if(p==="{")s++;else if(p==="}"&&(s--,s===0)){a=g;break}}if(a===-1)throw new Error(`The pattern \`${e}\` is not balanced.`);let d=o.slice(1,a),u=o.slice(a+1),c;hn(d)?c=kn(d):c=z(d,","),c=c.flatMap(g=>ht(g));let m=ht(u);for(let g of m)for(let p of c)i.push(t+p+g);return i}function hn(e){return Si.test(e)}function kn(e){let r=e.match(Si);if(!r)return[e];let[,i,t,o]=r,s=o?parseInt(o,10):void 0,a=[];if(/^-?\d+$/.test(i)&&/^-?\d+$/.test(t)){let d=parseInt(i,10),u=parseInt(t,10);if(s===void 0&&(s=d<=u?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");let c=d<u;c&&s<0&&(s=-s),!c&&s>0&&(s=-s);for(let m=d;c?m<=u:m>=u;m+=s)a.push(m.toString())}return a}function $i(e,r){let i=new Set,t=new Set,o=[];function s(a,d=[]){if(e.has(a)&&!i.has(a)){t.has(a)&&r.onCircularDependency?.(d,a),t.add(a);for(let u of e.get(a)??[])d.push(a),s(u,d),d.pop();i.add(a),t.delete(a),o.push(a)}}for(let a of e.keys())s(a);return o}var vn=/^[a-z]+$/;function wn(){throw new Error("No `loadModule` function provided to `compile`")}function bn(){throw new Error("No `loadStylesheet` function provided to `compile`")}function yn(e){let r=0,i=null;for(let t of z(e," "))t==="reference"?r|=2:t==="inline"?r|=1:t==="default"?r|=4:t==="static"?r|=8:t.startsWith("prefix(")&&t.endsWith(")")&&(i=t.slice(7,-1));return[r,i]}async function xn(e,{base:r="",from:i,loadModule:t=wn,loadStylesheet:o=bn}={}){let s=0;e=[ue({base:r},e)],s|=await Ft(e,r,o,0,i!==void 0);let a=null,d=new Je,u=new Map,c=new Map,m=[],g=null,p=null,v=[],k=[],w=[],x=[],V=null;K(e,(y,{parent:_,replaceWith:R,context:D})=>{if(y.kind==="at-rule"){if(y.name==="@tailwind"&&(y.params==="utilities"||y.params.startsWith("utilities"))){if(p!==null){R([]);return}if(D.reference){R([]);return}let U=z(y.params," ");for(let H of U)if(H.startsWith("source(")){let O=H.slice(7,-1);if(O==="none"){V=O;continue}if(O[0]==='"'&&O[O.length-1]!=='"'||O[0]==="'"&&O[O.length-1]!=="'"||O[0]!=="'"&&O[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");V={base:D.sourceBase??D.base,pattern:O.slice(1,-1)}}p=y,s|=16}if(y.name==="@utility"){if(_!==null)throw new Error("`@utility` cannot be nested.");if(y.nodes.length===0)throw new Error(`\`@utility ${y.params}\` is empty. Utilities should include at least one property.`);let U=_r(y);if(U===null){if(!y.params.endsWith("-*")){if(y.params.endsWith("*"))throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(y.params.includes("*"))throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${y.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}m.push(U)}if(y.name==="@source"){if(y.nodes.length>0)throw new Error("`@source` cannot have a body.");if(_!==null)throw new Error("`@source` cannot be nested.");let U=!1,H=!1,O=y.params;if(O[0]==="n"&&O.startsWith("not ")&&(U=!0,O=O.slice(4)),O[0]==="i"&&O.startsWith("inline(")&&(H=!0,O=O.slice(7,-1)),O[0]==='"'&&O[O.length-1]!=='"'||O[0]==="'"&&O[O.length-1]!=="'"||O[0]!=="'"&&O[0]!=='"')throw new Error("`@source` paths must be quoted.");let L=O.slice(1,-1);if(H){let q=U?x:w,M=z(L," ");for(let oe of M)for(let l of ht(oe))q.push(l)}else k.push({base:D.base,pattern:L,negated:U});R([]);return}if(y.name==="@variant"&&(_===null?y.nodes.length===0?y.name="@custom-variant":(K(y.nodes,U=>{if(U.kind==="at-rule"&&U.name==="@slot")return y.name="@custom-variant",2}),y.name==="@variant"&&v.push(y)):v.push(y)),y.name==="@custom-variant"){if(_!==null)throw new Error("`@custom-variant` cannot be nested.");R([]);let[U,H]=z(y.params," ");if(!ut.test(U))throw new Error(`\`@custom-variant ${U}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(y.nodes.length>0&&H)throw new Error(`\`@custom-variant ${U}\` cannot have both a selector and a body.`);if(y.nodes.length===0){if(!H)throw new Error(`\`@custom-variant ${U}\` has no selector or body.`);let O=z(H.slice(1,-1),",");if(O.length===0||O.some(M=>M.trim()===""))throw new Error(`\`@custom-variant ${U} (${O.join(",")})\` selector is invalid.`);let L=[],q=[];for(let M of O)M=M.trim(),M[0]==="@"?L.push(M):q.push(M);u.set(U,M=>{M.variants.static(U,oe=>{let l=[];q.length>0&&l.push(W(q.join(", "),oe.nodes));for(let f of L)l.push(Y(f,oe.nodes));oe.nodes=l},{compounds:Ae([...q,...L])})}),c.set(U,new Set);return}else{let O=new Set;K(y.nodes,L=>{L.kind==="at-rule"&&L.name==="@variant"&&O.add(L.params)}),u.set(U,L=>{L.variants.fromAst(U,y.nodes,L)}),c.set(U,O);return}}if(y.name==="@media"){let U=z(y.params," "),H=[];for(let O of U)if(O.startsWith("source(")){let L=O.slice(7,-1);K(y.nodes,(q,{replaceWith:M})=>{if(q.kind==="at-rule"&&q.name==="@tailwind"&&q.params==="utilities")return q.params+=` source(${L})`,M([ue({sourceBase:D.base},[q])]),2})}else if(O.startsWith("theme(")){let L=O.slice(6,-1),q=L.includes("reference");K(y.nodes,M=>{if(M.kind!=="at-rule"){if(q)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return 0}if(M.name==="@theme")return M.params+=" "+L,1})}else if(O.startsWith("prefix(")){let L=O.slice(7,-1);K(y.nodes,q=>{if(q.kind==="at-rule"&&q.name==="@theme")return q.params+=` prefix(${L})`,1})}else O==="important"?a=!0:O==="reference"?y.nodes=[ue({reference:!0},y.nodes)]:H.push(O);H.length>0?y.params=H.join(" "):U.length>0&&R(y.nodes)}if(y.name==="@theme"){let[U,H]=yn(y.params);if(s|=64,D.reference&&(U|=2),H){if(!vn.test(H))throw new Error(`The prefix "${H}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);d.prefix=H}return K(y.nodes,O=>{if(O.kind==="at-rule"&&O.name==="@keyframes")return d.addKeyframes(O),1;if(O.kind==="comment")return;if(O.kind==="declaration"&&O.property.startsWith("--")){d.add(ve(O.property),O.value??"",U,O.src);return}let L=ne([F(y.name,y.params,[O])]).split(`
32
32
  `).map((q,M,oe)=>`${M===0||M>=oe.length-2?" ":">"} ${q}`).join(`
33
33
  `);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/browser",
3
- "version": "0.0.0-insiders.5a94f81",
3
+ "version": "0.0.0-insiders.5aa2bf1",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.global.js",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "h3": "^1.15.4",
28
28
  "listhen": "^1.9.0",
29
- "tailwindcss": "0.0.0-insiders.5a94f81"
29
+ "tailwindcss": "0.0.0-insiders.5aa2bf1"
30
30
  },
31
31
  "scripts": {
32
32
  "lint": "tsc --noEmit",