@tailwindcss/browser 0.0.0-insiders.d593a21 → 0.0.0-insiders.d6464bd

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.d593a21";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.d6464bd";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} {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/browser",
3
- "version": "0.0.0-insiders.d593a21",
3
+ "version": "0.0.0-insiders.d6464bd",
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.d593a21"
29
+ "tailwindcss": "0.0.0-insiders.d6464bd"
30
30
  },
31
31
  "scripts": {
32
32
  "lint": "tsc --noEmit",