@tailwindcss/browser 0.0.0-insiders.6fb98d2 → 0.0.0-insiders.7013ca3

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.6fb98d2";var Pe=92,We=47,qe=42,Oi=34,_i=39,zi=58,He=59,ne=10,Ge=13,Oe=32,Ye=9,Jt=123,yt=125,Ct=40,Qt=41,Ki=91,Di=93,Zt=45,xt=64,Ui=33;function Se(t,r){let i=r?.from?{file:r.from,code:t}:null;t[0]==="\uFEFF"&&(t=" "+t.slice(1));let e=[],o=[],s=[],a=null,f=null,u="",c="",g=0,p;for(let m=0;m<t.length;m++){let v=t.charCodeAt(m);if(!(v===Ge&&(p=t.charCodeAt(m+1),p===ne)))if(v===Pe)u===""&&(g=m),u+=t.slice(m,m+2),m+=1;else if(v===We&&t.charCodeAt(m+1)===qe){let k=m;for(let y=m+2;y<t.length;y++)if(p=t.charCodeAt(y),p===Pe)y+=1;else if(p===qe&&t.charCodeAt(y+1)===We){m=y+1;break}let x=t.slice(k,m+1);if(x.charCodeAt(2)===Ui){let y=Je(x.slice(2,-2));o.push(y),i&&(y.src=[i,k,m+1],y.dst=[i,k,m+1])}}else if(v===_i||v===Oi){let k=m;for(let x=m+1;x<t.length;x++)if(p=t.charCodeAt(x),p===Pe)x+=1;else if(p===v){m=x;break}else{if(p===He&&(t.charCodeAt(x+1)===ne||t.charCodeAt(x+1)===Ge&&t.charCodeAt(x+2)===ne))throw new Error(`Unterminated string: ${t.slice(k,x+1)+String.fromCharCode(v)}`);if(p===ne||p===Ge&&t.charCodeAt(x+1)===ne)throw new Error(`Unterminated string: ${t.slice(k,x)+String.fromCharCode(v)}`)}u+=t.slice(k,m+1)}else{if((v===Oe||v===ne||v===Ye)&&(p=t.charCodeAt(m+1))&&(p===Oe||p===ne||p===Ye||p===Ge&&(p=t.charCodeAt(m+2))&&p==ne))continue;if(v===ne){if(u.length===0)continue;p=u.charCodeAt(u.length-1),p!==Oe&&p!==ne&&p!==Ye&&(u+=" ")}else if(v===Zt&&t.charCodeAt(m+1)===Zt&&u.length===0){let k="",x=m,y=-1;for(let b=m+2;b<t.length;b++)if(p=t.charCodeAt(b),p===Pe)b+=1;else if(p===We&&t.charCodeAt(b+1)===qe){for(let V=b+2;V<t.length;V++)if(p=t.charCodeAt(V),p===Pe)V+=1;else if(p===qe&&t.charCodeAt(V+1)===We){b=V+1;break}}else if(y===-1&&p===zi)y=u.length+b-x;else if(p===He&&k.length===0){u+=t.slice(x,b),m=b;break}else if(p===Ct)k+=")";else if(p===Ki)k+="]";else if(p===Jt)k+="}";else if((p===yt||t.length-1===b)&&k.length===0){m=b-1,u+=t.slice(x,b);break}else(p===Qt||p===Di||p===yt)&&k.length>0&&t[b]===k[k.length-1]&&(k=k.slice(0,-1));let N=At(u,y);if(!N)throw new Error("Invalid custom property, expected a value");i&&(N.src=[i,x,m],N.dst=[i,x,m]),a?a.nodes.push(N):e.push(N),u=""}else if(v===He&&u.charCodeAt(0)===xt)f=_e(u),i&&(f.src=[i,g,m],f.dst=[i,g,m]),a?a.nodes.push(f):e.push(f),u="",f=null;else if(v===He&&c[c.length-1]!==")"){let k=At(u);if(!k)throw u.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${u.trim()}\``);i&&(k.src=[i,g,m],k.dst=[i,g,m]),a?a.nodes.push(k):e.push(k),u=""}else if(v===Jt&&c[c.length-1]!==")")c+="}",f=G(u.trim()),i&&(f.src=[i,g,m],f.dst=[i,g,m]),a&&a.nodes.push(f),s.push(a),a=f,u="",f=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)f=_e(u),i&&(f.src=[i,g,m],f.dst=[i,g,m]),a?a.nodes.push(f):e.push(f),u="",f=null;else{let x=u.indexOf(":");if(a){let y=At(u,x);if(!y)throw new Error(`Invalid declaration: \`${u.trim()}\``);i&&(y.src=[i,g,m],y.dst=[i,g,m]),a.nodes.push(y)}}let k=s.pop()??null;k===null&&a&&e.push(a),a=k,u="",f=null}else if(v===Ct)c+=")",u+="(";else if(v===Qt){if(c[c.length-1]!==")")throw new Error("Missing opening (");c=c.slice(0,-1),u+=")"}else{if(u.length===0&&(v===Oe||v===ne||v===Ye))continue;u===""&&(g=m),u+=String.fromCharCode(v)}}}if(u.charCodeAt(0)===xt){let m=_e(u);i&&(m.src=[i,g,t.length],m.dst=[i,g,t.length]),e.push(m)}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(e):e}function _e(t,r=[]){let i=t,e="";for(let o=5;o<t.length;o++){let s=t.charCodeAt(o);if(s===Oe||s===Ct){i=t.slice(0,o),e=t.slice(o);break}}return F(i.trim(),e.trim(),r)}function At(t,r=t.indexOf(":")){if(r===-1)return null;let i=t.indexOf("!important",r+1);return l(t.slice(0,r).trim(),t.slice(r+1,i===-1?t.length:i).trim(),i!==-1)}function me(t){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(t),i=r.length,e=-1,o,s="",a=r.charCodeAt(0);if(i===1&&a===45)return"\\"+r;for(;++e<i;){if(o=r.charCodeAt(e),o===0){s+="\uFFFD";continue}if(o>=1&&o<=31||o===127||e===0&&o>=48&&o<=57||e===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(e);continue}s+="\\"+r.charAt(e)}return s}function ve(t){return t.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 er=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"]]]);function Xt(t,r){return(er.get(r)??[]).some(i=>t===i||t.startsWith(`${i}-`))}var Qe=class{constructor(r=new Map,i=new Set([])){this.values=r;this.keyframes=i}prefix=null;add(r,i,e=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(e&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:e,src:o})}keysInNamespaces(r){let i=[];for(let e of r){let o=`${e}-`;for(let s of this.values.keys())s.startsWith(o)&&s.indexOf("--",2)===-1&&(Xt(s,e)||i.push(s.slice(o.length)))}return i}get(r){for(let i of r){let e=this.values.get(i);if(e)return e.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 e=er.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 e)if(o.startsWith(s))continue e;this.values.delete(o)}}#e(r,i){for(let e of i){let o=r!==null?`${e}-${r}`:e;if(!this.values.has(o))if(r!==null&&r.includes(".")){if(o=`${e}-${r.replaceAll(".","_")}`,!this.values.has(o))continue}else continue;if(!Xt(o,e))return o}return null}#t(r){let i=this.values.get(r);if(!i)return null;let e=null;return i.options&2&&(e=i.value),`var(${me(this.prefixKey(r))}${e?`, ${e}`:""})`}markUsedVariable(r){let i=ve(this.#r(r)),e=this.values.get(i);if(!e)return!1;let o=e.options&16;return e.options|=16,!o}resolve(r,i,e=0){let o=this.#e(r,i);if(!o)return null;let s=this.values.get(o);return(e|s.options)&1?s.value:this.#t(o)}resolveValue(r,i){let e=this.#e(r,i);return e?this.values.get(e).value:null}resolveWith(r,i,e=[]){let o=this.#e(r,i);if(!o)return null;let s={};for(let f of e){let u=`${o}${f}`,c=this.values.get(u);c&&(c.options&1?s[f]=c.value:s[f]=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,e=`${r}-`;for(let[o,s]of this.values)o===r?i.set(null,s.value):o.startsWith(`${e}-`)?i.set(o.slice(r.length),s.value):o.startsWith(e)&&i.set(o.slice(e.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 e=super.get(i);return e===void 0&&(e=this.factory(i,this),this.set(i,e)),e}};function $t(t){return{kind:"word",value:t}}function ji(t,r){return{kind:"function",value:t,nodes:r}}function Li(t){return{kind:"separator",value:t}}function ee(t,r,i=null){for(let e=0;e<t.length;e++){let o=t[e],s=!1,a=0,f=r(o,{parent:i,replaceWith(u){s||(s=!0,Array.isArray(u)?u.length===0?(t.splice(e,1),a=0):u.length===1?(t[e]=u[0],a=1):(t.splice(e,1,...u),a=u.length):t[e]=u)}})??0;if(s){f===0?e--:e+=a-1;continue}if(f===2)return 2;if(f!==1&&o.kind==="function"&&ee(o.nodes,r,o)===2)return 2}}function J(t){let r="";for(let i of t)switch(i.kind){case"word":case"separator":{r+=i.value;break}case"function":r+=i.value+"("+J(i.nodes)+")"}return r}var tr=92,Ii=41,rr=58,ir=44,Fi=34,or=61,nr=62,lr=60,ar=10,Mi=40,Bi=39,sr=47,ur=32,cr=9;function W(t){t=t.replaceAll(`\r
1
+ "use strict";(()=>{var Yt="0.0.0-insiders.7013ca3";var Pe=92,We=47,qe=42,Oi=34,_i=39,zi=58,He=59,ne=10,Ge=13,Oe=32,Ye=9,Jt=123,yt=125,Ct=40,Qt=41,Ki=91,Di=93,Zt=45,xt=64,Ui=33;function Se(t,r){let i=r?.from?{file:r.from,code:t}:null;t[0]==="\uFEFF"&&(t=" "+t.slice(1));let e=[],o=[],s=[],a=null,f=null,u="",c="",g=0,p;for(let m=0;m<t.length;m++){let v=t.charCodeAt(m);if(!(v===Ge&&(p=t.charCodeAt(m+1),p===ne)))if(v===Pe)u===""&&(g=m),u+=t.slice(m,m+2),m+=1;else if(v===We&&t.charCodeAt(m+1)===qe){let k=m;for(let y=m+2;y<t.length;y++)if(p=t.charCodeAt(y),p===Pe)y+=1;else if(p===qe&&t.charCodeAt(y+1)===We){m=y+1;break}let x=t.slice(k,m+1);if(x.charCodeAt(2)===Ui){let y=Je(x.slice(2,-2));o.push(y),i&&(y.src=[i,k,m+1],y.dst=[i,k,m+1])}}else if(v===_i||v===Oi){let k=m;for(let x=m+1;x<t.length;x++)if(p=t.charCodeAt(x),p===Pe)x+=1;else if(p===v){m=x;break}else{if(p===He&&(t.charCodeAt(x+1)===ne||t.charCodeAt(x+1)===Ge&&t.charCodeAt(x+2)===ne))throw new Error(`Unterminated string: ${t.slice(k,x+1)+String.fromCharCode(v)}`);if(p===ne||p===Ge&&t.charCodeAt(x+1)===ne)throw new Error(`Unterminated string: ${t.slice(k,x)+String.fromCharCode(v)}`)}u+=t.slice(k,m+1)}else{if((v===Oe||v===ne||v===Ye)&&(p=t.charCodeAt(m+1))&&(p===Oe||p===ne||p===Ye||p===Ge&&(p=t.charCodeAt(m+2))&&p==ne))continue;if(v===ne){if(u.length===0)continue;p=u.charCodeAt(u.length-1),p!==Oe&&p!==ne&&p!==Ye&&(u+=" ")}else if(v===Zt&&t.charCodeAt(m+1)===Zt&&u.length===0){let k="",x=m,y=-1;for(let b=m+2;b<t.length;b++)if(p=t.charCodeAt(b),p===Pe)b+=1;else if(p===We&&t.charCodeAt(b+1)===qe){for(let V=b+2;V<t.length;V++)if(p=t.charCodeAt(V),p===Pe)V+=1;else if(p===qe&&t.charCodeAt(V+1)===We){b=V+1;break}}else if(y===-1&&p===zi)y=u.length+b-x;else if(p===He&&k.length===0){u+=t.slice(x,b),m=b;break}else if(p===Ct)k+=")";else if(p===Ki)k+="]";else if(p===Jt)k+="}";else if((p===yt||t.length-1===b)&&k.length===0){m=b-1,u+=t.slice(x,b);break}else(p===Qt||p===Di||p===yt)&&k.length>0&&t[b]===k[k.length-1]&&(k=k.slice(0,-1));let N=At(u,y);if(!N)throw new Error("Invalid custom property, expected a value");i&&(N.src=[i,x,m],N.dst=[i,x,m]),a?a.nodes.push(N):e.push(N),u=""}else if(v===He&&u.charCodeAt(0)===xt)f=_e(u),i&&(f.src=[i,g,m],f.dst=[i,g,m]),a?a.nodes.push(f):e.push(f),u="",f=null;else if(v===He&&c[c.length-1]!==")"){let k=At(u);if(!k)throw u.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${u.trim()}\``);i&&(k.src=[i,g,m],k.dst=[i,g,m]),a?a.nodes.push(k):e.push(k),u=""}else if(v===Jt&&c[c.length-1]!==")")c+="}",f=G(u.trim()),i&&(f.src=[i,g,m],f.dst=[i,g,m]),a&&a.nodes.push(f),s.push(a),a=f,u="",f=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)f=_e(u),i&&(f.src=[i,g,m],f.dst=[i,g,m]),a?a.nodes.push(f):e.push(f),u="",f=null;else{let x=u.indexOf(":");if(a){let y=At(u,x);if(!y)throw new Error(`Invalid declaration: \`${u.trim()}\``);i&&(y.src=[i,g,m],y.dst=[i,g,m]),a.nodes.push(y)}}let k=s.pop()??null;k===null&&a&&e.push(a),a=k,u="",f=null}else if(v===Ct)c+=")",u+="(";else if(v===Qt){if(c[c.length-1]!==")")throw new Error("Missing opening (");c=c.slice(0,-1),u+=")"}else{if(u.length===0&&(v===Oe||v===ne||v===Ye))continue;u===""&&(g=m),u+=String.fromCharCode(v)}}}if(u.charCodeAt(0)===xt){let m=_e(u);i&&(m.src=[i,g,t.length],m.dst=[i,g,t.length]),e.push(m)}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(e):e}function _e(t,r=[]){let i=t,e="";for(let o=5;o<t.length;o++){let s=t.charCodeAt(o);if(s===Oe||s===Ct){i=t.slice(0,o),e=t.slice(o);break}}return F(i.trim(),e.trim(),r)}function At(t,r=t.indexOf(":")){if(r===-1)return null;let i=t.indexOf("!important",r+1);return l(t.slice(0,r).trim(),t.slice(r+1,i===-1?t.length:i).trim(),i!==-1)}function me(t){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(t),i=r.length,e=-1,o,s="",a=r.charCodeAt(0);if(i===1&&a===45)return"\\"+r;for(;++e<i;){if(o=r.charCodeAt(e),o===0){s+="\uFFFD";continue}if(o>=1&&o<=31||o===127||e===0&&o>=48&&o<=57||e===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(e);continue}s+="\\"+r.charAt(e)}return s}function ve(t){return t.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 er=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"]]]);function Xt(t,r){return(er.get(r)??[]).some(i=>t===i||t.startsWith(`${i}-`))}var Qe=class{constructor(r=new Map,i=new Set([])){this.values=r;this.keyframes=i}prefix=null;add(r,i,e=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(e&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:e,src:o})}keysInNamespaces(r){let i=[];for(let e of r){let o=`${e}-`;for(let s of this.values.keys())s.startsWith(o)&&s.indexOf("--",2)===-1&&(Xt(s,e)||i.push(s.slice(o.length)))}return i}get(r){for(let i of r){let e=this.values.get(i);if(e)return e.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 e=er.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 e)if(o.startsWith(s))continue e;this.values.delete(o)}}#e(r,i){for(let e of i){let o=r!==null?`${e}-${r}`:e;if(!this.values.has(o))if(r!==null&&r.includes(".")){if(o=`${e}-${r.replaceAll(".","_")}`,!this.values.has(o))continue}else continue;if(!Xt(o,e))return o}return null}#t(r){let i=this.values.get(r);if(!i)return null;let e=null;return i.options&2&&(e=i.value),`var(${me(this.prefixKey(r))}${e?`, ${e}`:""})`}markUsedVariable(r){let i=ve(this.#r(r)),e=this.values.get(i);if(!e)return!1;let o=e.options&16;return e.options|=16,!o}resolve(r,i,e=0){let o=this.#e(r,i);if(!o)return null;let s=this.values.get(o);return(e|s.options)&1?s.value:this.#t(o)}resolveValue(r,i){let e=this.#e(r,i);return e?this.values.get(e).value:null}resolveWith(r,i,e=[]){let o=this.#e(r,i);if(!o)return null;let s={};for(let f of e){let u=`${o}${f}`,c=this.values.get(u);c&&(c.options&1?s[f]=c.value:s[f]=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,e=`${r}-`;for(let[o,s]of this.values)o===r?i.set(null,s.value):o.startsWith(`${e}-`)?i.set(o.slice(r.length),s.value):o.startsWith(e)&&i.set(o.slice(e.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 e=super.get(i);return e===void 0&&(e=this.factory(i,this),this.set(i,e)),e}};function $t(t){return{kind:"word",value:t}}function ji(t,r){return{kind:"function",value:t,nodes:r}}function Li(t){return{kind:"separator",value:t}}function ee(t,r,i=null){for(let e=0;e<t.length;e++){let o=t[e],s=!1,a=0,f=r(o,{parent:i,replaceWith(u){s||(s=!0,Array.isArray(u)?u.length===0?(t.splice(e,1),a=0):u.length===1?(t[e]=u[0],a=1):(t.splice(e,1,...u),a=u.length):t[e]=u)}})??0;if(s){f===0?e--:e+=a-1;continue}if(f===2)return 2;if(f!==1&&o.kind==="function"&&ee(o.nodes,r,o)===2)return 2}}function J(t){let r="";for(let i of t)switch(i.kind){case"word":case"separator":{r+=i.value;break}case"function":r+=i.value+"("+J(i.nodes)+")"}return r}var tr=92,Ii=41,rr=58,ir=44,Fi=34,or=61,nr=62,lr=60,ar=10,Mi=40,Bi=39,sr=47,ur=32,cr=9;function W(t){t=t.replaceAll(`\r
2
2
  `,`
3
3
  `);let r=[],i=[],e=null,o="",s;for(let a=0;a<t.length;a++){let f=t.charCodeAt(a);switch(f){case tr:{o+=t[a]+t[a+1],a++;break}case rr:case ir:case or:case nr:case lr:case ar:case sr:case ur:case cr:{if(o.length>0){let p=$t(o);e?e.nodes.push(p):r.push(p),o=""}let u=a,c=a+1;for(;c<t.length&&(s=t.charCodeAt(c),!(s!==rr&&s!==ir&&s!==or&&s!==nr&&s!==lr&&s!==ar&&s!==sr&&s!==ur&&s!==cr));c++);a=c-1;let g=Li(t.slice(u,c));e?e.nodes.push(g):r.push(g);break}case Bi:case Fi:{let u=a;for(let c=a+1;c<t.length;c++)if(s=t.charCodeAt(c),s===tr)c+=1;else if(s===f){a=c;break}o+=t.slice(u,a+1);break}case Mi:{let u=ji(o,[]);o="",e?e.nodes.push(u):r.push(u),i.push(u),e=u;break}case Ii:{let u=i.pop();if(o.length>0){let c=$t(o);u.nodes.push(c),o=""}i.length>0?e=i[i.length-1]:e=null;break}default:o+=String.fromCharCode(f)}}return o.length>0&&r.push($t(o)),r}function Ze(t){let r=[];return ee(W(t),i=>{if(!(i.kind!=="function"||i.value!=="var"))return ee(i.nodes,e=>{e.kind!=="word"||e.value[0]!=="-"||e.value[1]!=="-"||r.push(e.value)}),1}),r}var qi=64;function M(t,r=[]){return{kind:"rule",selector:t,nodes:r}}function F(t,r="",i=[]){return{kind:"at-rule",name:t,params:r,nodes:i}}function G(t,r=[]){return t.charCodeAt(0)===qi?_e(t,r):M(t,r)}function l(t,r,i=!1){return{kind:"declaration",property:t,value:r,important:i}}function Je(t){return{kind:"comment",value:t}}function ue(t,r){return{kind:"context",context:t,nodes:r}}function j(t){return{kind:"at-root",nodes:t}}function U(t,r,i=[],e={}){for(let o=0;o<t.length;o++){let s=t[o],a=i[i.length-1]??null;if(s.kind==="context"){if(U(s.nodes,r,i,{...e,...s.context})===2)return 2;continue}i.push(s);let f=!1,u=0,c=r(s,{parent:a,context:e,path:i,replaceWith(g){f||(f=!0,Array.isArray(g)?g.length===0?(t.splice(o,1),u=0):g.length===1?(t[o]=g[0],u=1):(t.splice(o,1,...g),u=g.length):(t[o]=g,u=1))}})??0;if(i.pop(),f){c===0?o--:o+=u-1;continue}if(c===2)return 2;if(c!==1&&"nodes"in s){i.push(s);let g=U(s.nodes,r,i,e);if(i.pop(),g===2)return 2}}}function Xe(t,r,i=[],e={}){for(let o=0;o<t.length;o++){let s=t[o],a=i[i.length-1]??null;if(s.kind==="rule"||s.kind==="at-rule")i.push(s),Xe(s.nodes,r,i,e),i.pop();else if(s.kind==="context"){Xe(s.nodes,r,i,{...e,...s.context});continue}i.push(s),r(s,{parent:a,context:e,path:i,replaceWith(f){Array.isArray(f)?f.length===0?t.splice(o,1):f.length===1?t[o]=f[0]:t.splice(o,1,...f):t[o]=f,o+=f.length-1}}),i.pop()}}function be(t,r,i=3){let e=[],o=new Set,s=new B(()=>new Set),a=new B(()=>new Set),f=new Set,u=new Set,c=[],g=[],p=new B(()=>new Set);function m(k,x,y={},N=0){if(k.kind==="declaration"){if(k.property==="--tw-sort"||k.value===void 0||k.value===null)return;if(y.theme&&k.property[0]==="-"&&k.property[1]==="-"){if(k.value==="initial"){k.value=void 0;return}y.keyframes||s.get(x).add(k)}if(k.value.includes("var("))if(y.theme&&k.property[0]==="-"&&k.property[1]==="-")for(let b of Ze(k.value))p.get(b).add(k.property);else r.trackUsedVariables(k.value);if(k.property==="animation")for(let b of fr(k.value))u.add(b);i&2&&k.value.includes("color-mix(")&&a.get(x).add(k),x.push(k)}else if(k.kind==="rule")if(k.selector==="&")for(let b of k.nodes){let V=[];m(b,V,y,N+1),V.length>0&&x.push(...V)}else{let b={...k,nodes:[]};for(let V of k.nodes)m(V,b.nodes,y,N+1);b.nodes.length>0&&x.push(b)}else if(k.kind==="at-rule"&&k.name==="@property"&&N===0){if(o.has(k.params))return;if(i&1){let V=k.params,R=null,D=!1;for(let L of k.nodes)L.kind==="declaration"&&(L.property==="initial-value"?R=L.value:L.property==="inherits"&&(D=L.value==="true"));let _=l(V,R??"initial");_.src=k.src,D?c.push(_):g.push(_)}o.add(k.params);let b={...k,nodes:[]};for(let V of k.nodes)m(V,b.nodes,y,N+1);x.push(b)}else if(k.kind==="at-rule"){k.name==="@keyframes"&&(y={...y,keyframes:!0});let b={...k,nodes:[]};for(let V of k.nodes)m(V,b.nodes,y,N+1);k.name==="@keyframes"&&y.theme&&f.add(b),(b.nodes.length>0||b.name==="@layer"||b.name==="@charset"||b.name==="@custom-media"||b.name==="@namespace"||b.name==="@import")&&x.push(b)}else if(k.kind==="at-root")for(let b of k.nodes){let V=[];m(b,V,y,0);for(let R of V)e.push(R)}else if(k.kind==="context"){if(k.context.reference)return;for(let b of k.nodes)m(b,x,{...y,...k.context},N)}else k.kind==="comment"&&x.push(k)}let v=[];for(let k of t)m(k,v,{},0);e:for(let[k,x]of s)for(let y of x){if(dr(y.property,r.theme,p)){if(y.property.startsWith(r.theme.prefixKey("--animate-")))for(let V of fr(y.value))u.add(V);continue}let b=k.indexOf(y);if(k.splice(b,1),k.length===0){let V=Hi(v,R=>R.kind==="rule"&&R.nodes===k);if(!V||V.length===0)continue e;V.unshift({kind:"at-root",nodes:v});do{let R=V.pop();if(!R)break;let D=V[V.length-1];if(!D||D.kind!=="at-root"&&D.kind!=="at-rule")break;let _=D.nodes.indexOf(R);if(_===-1)break;D.nodes.splice(_,1)}while(!0);continue e}}for(let k of f)if(!u.has(k.params)){let x=e.indexOf(k);e.splice(x,1)}if(v=v.concat(e),i&2)for(let[k,x]of a)for(let y of x){let N=k.indexOf(y);if(N===-1||y.value==null)continue;let b=W(y.value),V=!1;if(ee(b,(_,{replaceWith:L})=>{if(_.kind!=="function"||_.value!=="color-mix")return;let O=!1,H=!1;if(ee(_.nodes,(I,{replaceWith:q})=>{if(I.kind=="word"&&I.value.toLowerCase()==="currentcolor"){H=!0,V=!0;return}let X=I,oe=null,n=new Set;do{if(X.kind!=="function"||X.value!=="var")return;let d=X.nodes[0];if(!d||d.kind!=="word")return;let h=d.value;if(n.has(h)){O=!0;return}if(n.add(h),V=!0,oe=r.theme.resolveValue(null,[d.value]),!oe){O=!0;return}if(oe.toLowerCase()==="currentcolor"){H=!0;return}oe.startsWith("var(")?X=W(oe)[0]:X=null}while(X);q({kind:"word",value:oe})}),O||H){let I=_.nodes.findIndex(X=>X.kind==="separator"&&X.value.trim().includes(","));if(I===-1)return;let q=_.nodes.length>I?_.nodes[I+1]:null;if(!q)return;L(q)}else if(V){let I=_.nodes[2];I.kind==="word"&&(I.value==="oklab"||I.value==="oklch"||I.value==="lab"||I.value==="lch")&&(I.value="srgb")}}),!V)continue;let R={...y,value:J(b)},D=G("@supports (color: color-mix(in lab, red, red))",[y]);D.src=y.src,k.splice(N,1,R,D)}if(i&1){let k=[];if(c.length>0){let x=G(":root, :host",c);x.src=c[0].src,k.push(x)}if(g.length>0){let x=G("*, ::before, ::after, ::backdrop",g);x.src=g[0].src,k.push(x)}if(k.length>0){let x=v.findIndex(b=>!(b.kind==="comment"||b.kind==="at-rule"&&(b.name==="@charset"||b.name==="@import"))),y=F("@layer","properties",[]);y.src=k[0].src,v.splice(x<0?v.length:x,0,y);let N=G("@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)]);N.src=k[0].src,N.nodes[0].src=k[0].src,v.push(N)}}return v}function le(t,r){let i=0,e={file:null,code:""};function o(a,f=0){let u="",c=" ".repeat(f);if(a.kind==="declaration"){if(u+=`${c}${a.property}: ${a.value}${a.important?" !important":""};
4
4
  `,r){i+=c.length;let g=i;i+=a.property.length,i+=2,i+=a.value?.length??0,a.important&&(i+=11);let p=i;i+=2,a.dst=[e,g,p]}}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.6fb98d2",
3
+ "version": "0.0.0-insiders.7013ca3",
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.3",
28
28
  "listhen": "^1.9.0",
29
- "tailwindcss": "0.0.0-insiders.6fb98d2"
29
+ "tailwindcss": "0.0.0-insiders.7013ca3"
30
30
  },
31
31
  "scripts": {
32
32
  "lint": "tsc --noEmit",