tailwindcss 0.0.0-insiders.91f5c19 → 0.0.0-insiders.9213f16
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.
- package/dist/lib.js +1 -1
- package/dist/lib.mjs +1 -1
- package/package.json +2 -2
package/dist/lib.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ul=Object.defineProperty;var Kl=(e,r)=>{for(var n in r)Ul(e,n,{get:r[n],enumerable:!0})};var cr={};Kl(cr,{Features:()=>Fe,Polyfills:()=>mt,__unstable__loadDesignSystem:()=>xu,compile:()=>yu,compileAst:()=>Ll,default:()=>Tt});var pn="0.0.0-insiders.
|
|
1
|
+
"use strict";var Ul=Object.defineProperty;var Kl=(e,r)=>{for(var n in r)Ul(e,n,{get:r[n],enumerable:!0})};var cr={};Kl(cr,{Features:()=>Fe,Polyfills:()=>mt,__unstable__loadDesignSystem:()=>xu,compile:()=>yu,compileAst:()=>Ll,default:()=>Tt});var pn="0.0.0-insiders.9213f16";function Ml(e){return{kind:"combinator",value:e}}function pr(e){return{kind:"complex",nodes:e}}function dn(e){return{kind:"compound",nodes:e}}function Fl(e,r){return{kind:"function",value:e,nodes:r}}function jl(e){return{kind:"list",nodes:e}}function Ce(e){return{kind:"selector",value:e}}function mn(e){return{kind:"value",value:e}}function at(e){return e.kind==="selector"&&e.value.charCodeAt(0)===kr}var Wl=new Set([":before",":after",":first-line",":first-letter"]);function Vt(e){return e.kind!=="selector"&&e.kind!=="function"?!1:e.value.startsWith("::")||Wl.has(e.value.toLowerCase())}function $t(e){if(e.kind!=="selector")return!1;switch(e.value.charCodeAt(0)){case kr:case Cn:case xn:case An:case hr:case vr:return!1;default:return!0}}function ae(e,r=!1){let n="";for(let t of e)switch(t.kind){case"selector":case"value":{n+=t.value;break}case"combinator":{r||t.value===" "?n+=t.value:n+=` ${t.value} `;break}case"function":{n+=`${t.value}(${ae(t.nodes,r)})`;break}case"complex":case"compound":{n+=ae(t.nodes,r);break}case"list":{n+=t.nodes.map(i=>ae([i],r)).join(r?",":", ");break}}return n}var gn=92,Bl=93,hn=41,hr=58,vn=44,Hl=34,xn=46,kn=62,dr=10,An=35,vr=91,bn=40,wn=43,Yl=39,mr=32,gr=9,yn=126,Cn=38,kr=42;function fe(e){e=e.replaceAll(`\r
|
|
2
2
|
`,`
|
|
3
3
|
`);let r=[],n=r,t=!1,i=[],o=null,l="",a;function c(d=n){return d.length===1?d[0]:t?pr(d):dn(d)}function f(d){let m=n[n.length-1];m?.kind==="compound"?m.nodes.push(d):m&&m.kind!=="list"&&m.kind!=="combinator"?n[n.length-1]=dn([m,d]):n.push(d)}for(let d=0;d<e.length;d++){let m=e.charCodeAt(d);switch(m){case vn:{for(l.length>0&&(f(Ce(l)),l="");d+1<e.length&&(a=e.charCodeAt(d+1),!(a!==dr&&a!==mr&&a!==gr));d++);if(o)o.nodes.push(c()),n=[],t=!1;else{let p=n.splice(0),h=c(p),b=jl([h]);n.push(b),o=b,n=[],t=!1}break}case kn:case dr:case mr:case wn:case gr:case yn:{l.length>0&&(f(Ce(l)),l="");let p=d,h=d+1;for(;h<e.length&&(a=e.charCodeAt(h),!(a!==kn&&a!==dr&&a!==mr&&a!==wn&&a!==gr&&a!==yn));h++);d=h-1;let b=e.slice(p,h).trim();if(b===""&&(n.length===0||h>=e.length||e.charCodeAt(h)===vn))break;n.push(Ml(b===""?" ":b)),t=!0;break}case bn:{let p=Fl(l,[]);if(l="",p.value!==":not"&&p.value!==":where"&&p.value!==":has"&&p.value!==":is"&&p.value!==":-moz-any"&&p.value!==":-webkit-any"){let h=d+1,b=0;for(let x=d+1;x<e.length;x++){if(a=e.charCodeAt(x),a===bn){b++;continue}if(a===hn){if(b===0){d=x;break}b--}}let k=d,w=e.slice(h,k);if(p.value===":nth-child"||p.value===":nth-last-child"){let x=w.indexOf("of ");if(x!==-1){p.nodes.push(mn(w.slice(0,x+3)),...fe(w.slice(x+3))),l="",d=k,f(p);break}}p.nodes.push(mn(w)),l="",d=k,f(p);break}f(p),i.push({target:n,currentList:o,containsCombinator:t}),n=p.nodes,t=!1,o=null;break}case hn:{l.length>0&&(f(Ce(l)),l=""),o?o.nodes.push(c()):t&&n.splice(0,n.length,pr(n.splice(0)));let p=i.pop();n=p?.target??r,o=p?.currentList??null,t=p?.containsCombinator??!1;break}case xn:case hr:case An:{if(m===hr&&l===":"){l+=e[d];break}l.length>0&&f(Ce(l)),l=e[d];break}case vr:{l.length>0&&(f(Ce(l)),l="");let p=d,h=0;for(let b=d+1;b<e.length;b++){if(a=e.charCodeAt(b),a===vr){h++;continue}if(a===Bl){if(h===0){d=b;break}h--}}f(Ce(e.slice(p,d+1)));break}case Yl:case Hl:{let p=d;for(let h=d+1;h<e.length;h++)if(a=e.charCodeAt(h),a===gn)h+=1;else if(a===m){d=h;break}l+=e.slice(p,d+1);break}case Cn:case kr:{l.length>0&&(f(Ce(l)),l=""),f(Ce(e[d]));break}case gn:{l+=e[d]+e[d+1],d+=1;break}default:l+=e[d]}}return l.length>0&&f(Ce(l)),o?o.nodes.push(c()):t&&n.splice(0,n.length,pr(n.splice(0))),r}function Rt(e){let r=[0];for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&r.push(i+1);function n(i){let o=0,l=r.length;for(;l>0;){let c=(l|0)>>1,f=o+c;r[f]<=i?(o=f+1,l=l-c-1):l=c}o-=1;let a=i-r[o];return{line:o+1,column:a}}function t({line:i,column:o}){i-=1,i=Math.min(Math.max(i,0),r.length-1);let l=r[i],a=r[i+1]??l;return Math.min(Math.max(l+o,0),a)}return{find:n,findOffset:t}}var Ke=92,Ot=47,Pt=42,Ar=34,Cr=39,Gl=58,It=59,pe=10,Ue=13,De=32,Le=9,ql=12,Sn=123,wr=125,st=40,Sr=41,Zl=91,Ql=93,Ve=45,Dt=64,En=33,Jl=60,Xl=62,eo=35,to=95,Vn=48,$n=57,Rn=65,ro=90,no=70,On=97,io=102,lo=122,oo=108,ao=114,so=117,uo=128,yr=32,be=class e extends Error{loc;constructor(r,n){if(n){let t=n[0],i=Rt(t.code).find(n[1]);r=`${t.file}:${i.line}:${i.column+1}: ${r}`}super(r),this.name="CssSyntaxError",this.loc=n,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function ze(e,r){let n=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],i=[],o=[],l=null,a=null,c="",f="",d=0,m;for(let p=0;p<e.length;p++){let h=e.charCodeAt(p);if(!(h===Ue&&(m=e.charCodeAt(p+1),m===pe)))if(h===Ke)c===""&&(d=p),c+=e.slice(p,p+2),p+=1;else if(h===Ot&&e.charCodeAt(p+1)===Pt){let b=p;for(let w=p+2;w<e.length;w++)if(m=e.charCodeAt(w),m===Pt&&e.charCodeAt(w+1)===Ot){p=w+1;break}let k=e.slice(b,p+1);if(k.charCodeAt(2)===En){let w=Ut(k.slice(2,-2));i.push(w),n&&(w.src=[n,b,p+1],w.dst=[n,b,p+1])}}else if(h===Cr||h===Ar){let b=Tn(e,p,h,n);c+=e.slice(p,b+1),p=b}else{if((h===De||h===pe||h===Le)&&(m=e.charCodeAt(p+1))&&(m===De||m===pe||m===Le||m===Ue&&(m=e.charCodeAt(p+2))&&m==pe))continue;if(h===pe){if(c.length===0)continue;m=c.charCodeAt(c.length-1),m!==De&&m!==pe&&m!==Le&&(c+=" ")}else if(l===null&&c.length===0&&(h===Ve&&e.charCodeAt(p+1)===Ve&&e.charCodeAt(p+2)===Xl||h===Jl&&e.charCodeAt(p+1)===En&&e.charCodeAt(p+2)===Ve&&e.charCodeAt(p+3)===Ve))p+=h===Ve?2:3;else if(h===Ve&&e.charCodeAt(p+1)===Ve&&c.length===0){let b="",k=p,w=-1,x=0,C=-1;for(let E=p+2;E<e.length;E++){if(m=e.charCodeAt(E),m===Ke)E+=1;else if(m===Cr||m===Ar)E=Tn(e,E,m,n);else if(m===Ot&&e.charCodeAt(E+1)===Pt){for(let $=E+2;$<e.length;$++)if(m=e.charCodeAt($),m===Pt&&e.charCodeAt($+1)===Ot){E=$+1;break}continue}else if(w===-1&&m===Gl)w=c.length+E-k;else if(m===It&&b.length===0){c+=e.slice(k,E),p=E;break}else if(m===st&&(C=Nn(e,E))!==-1)E=C;else if(m===st)b+=")";else if(m===Zl)b+="]";else if(m===Sn)b+="}";else if(m===wr&&b.length===0){p=E-1,c+=e.slice(k,E);break}else(m===Sr||m===Ql||m===wr)&&b.length>0&&e[E]===b[b.length-1]&&(b=b.slice(0,-1));m!==De&&m!==Le&&m!==pe&&m!==Ue&&(x=E+1-k)}c.length===0&&(c=e.slice(k),p=e.length);let y=_t(c,w,x);if(!y)throw new be("Invalid custom property, expected a value",n?[n,k,p]:null);n&&(y.src=[n,k,p],y.dst=[n,k,p]),l?l.nodes.push(y):t.push(y),c=""}else if(h===It&&c.charCodeAt(0)===Dt)a=ut(c),n&&(a.src=[n,d,p],a.dst=[n,d,p]),l?l.nodes.push(a):t.push(a),c="",a=null;else if(h===It&&f[f.length-1]!==")"){let b=_t(c);if(!b){if(c.length===0)continue;throw new be(`Invalid declaration: \`${c.trim()}\``,n?[n,d,p]:null)}n&&(b.src=[n,d,p],b.dst=[n,d,p]),l?l.nodes.push(b):t.push(b),c=""}else if(h===Sn&&f[f.length-1]!==")")f+="}",a=J(c.trim()),n&&(a.src=[n,d,p],a.dst=[n,d,p]),l&&l.nodes.push(a),o.push(l),l=a,c="",a=null;else if(h===wr&&f[f.length-1]!==")"){if(f==="")throw new be("Missing opening {",n?[n,p,p]:null);if(f=f.slice(0,-1),c.length>0)if(c.charCodeAt(0)===Dt)a=ut(c),n&&(a.src=[n,d,p],a.dst=[n,d,p]),l?l.nodes.push(a):t.push(a),c="",a=null;else{let k=c.indexOf(":");if(l){let w=_t(c,k);if(!w)throw new be(`Invalid declaration: \`${c.trim()}\``,n?[n,d,p]:null);n&&(w.src=[n,d,p],w.dst=[n,d,p]),l.nodes.push(w)}}let b=o.pop()??null;b===null&&l&&t.push(l),l=b,c="",a=null}else if(h===st){let b=Nn(e,p);b!==-1?(c+=e.slice(p,b+1),p=b):(f+=")",c+="(")}else if(h===Sr){if(f[f.length-1]!==")")throw new be("Missing opening (",n?[n,p,p]:null);f=f.slice(0,-1),c+=")"}else{if(c.length===0&&(h===De||h===pe||h===Le))continue;c===""&&(d=p),c+=String.fromCharCode(h)}}}if(c.charCodeAt(0)===Dt){let p=ut(c);n&&(p.src=[n,d,e.length],p.dst=[n,d,e.length]),t.push(p)}else if(c.length>0&&f.length===0){let p=_t(c);p&&(n&&(p.src=[n,d,e.length],p.dst=[n,d,e.length]),l?l.nodes.push(p):t.push(p))}if(f.length>0&&l){if(l.kind==="rule")throw new be(`Missing closing } at ${l.selector}`,l.src?[l.src[0],l.src[1],l.src[1]]:null);if(l.kind==="at-rule")throw new be(`Missing closing } at ${l.name} ${l.params}`,l.src?[l.src[0],l.src[1],l.src[1]]:null)}return i.length>0?i.concat(t):t}function ut(e,r=[]){let n=e,t="";for(let i=5;i<e.length;i++){let o=e.charCodeAt(i);if(o===De||o===Le||o===st){n=e.slice(0,i),t=e.slice(i);break}}return G(n.trim(),t.trim(),r)}function _t(e,r=e.indexOf(":"),n=e.length){if(r===-1)return null;let t=e.slice(0,r).trim(),i=xr(e.slice(r+1,n)),o=i.length-10;return i.endsWith("!important")&&!Lt(i,o)?u(t,xr(i.slice(0,o)),!0):u(t,xr(e.slice(r+1)),!1)}function xr(e){e=e.trimStart();let r=e.trimEnd();return r.length<e.length&&Lt(e,r.length)?e.slice(0,r.length+1):r}function Lt(e,r){let n=0;for(;e.charCodeAt(r-1-n)===Ke;)n+=1;return n%2===1}function Nn(e,r){if(r<3||(e.charCodeAt(r-3)|yr)!==so||(e.charCodeAt(r-2)|yr)!==ao||(e.charCodeAt(r-1)|yr)!==oo)return-1;let n=e.charCodeAt(r-4);if(n>=On&&n<=lo||n>=Rn&&n<=ro||n>=Vn&&n<=$n||n===Ve||n===to||n>=uo||n===Ke||n===eo||n===Dt||Lt(e,r-4)||co(e,r-4))return-1;for(let t=r+1;t<e.length;t++){let i=e.charCodeAt(t);if(i===Ke)t+=1;else{if(i===Sr)return t;if(i===st||i===Cr||i===Ar)return-1}}return-1}function co(e,r){let n=e.charCodeAt(r);if(n===pe)e.charCodeAt(r-1)===Ue&&(r-=1);else if(n!==De&&n!==Le&&n!==ql&&n!==Ue)return!1;for(let t=r-1;t>=0&&t>=r-7;t--){if(n=e.charCodeAt(t),n===Ke)return t<r-1&&!Lt(e,t);if(!(n>=Vn&&n<=$n||n>=On&&n<=io||n>=Rn&&n<=no))return!1}return!1}function Tn(e,r,n,t=null){let i;for(let o=r+1;o<e.length;o++)if(i=e.charCodeAt(o),i===Ke)o+=1;else{if(i===n)return o;if(i===It&&(e.charCodeAt(o+1)===pe||e.charCodeAt(o+1)===Ue&&e.charCodeAt(o+2)===pe))throw new be(`Unterminated string: ${e.slice(r,o+1)+String.fromCharCode(n)}`,t?[t,r,o+1]:null);if(i===pe||i===Ue&&e.charCodeAt(o+1)===pe)throw new be(`Unterminated string: ${e.slice(r,o)+String.fromCharCode(n)}`,t?[t,r,o+1]:null)}return r}function $e(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,t=-1,i,o="",l=r.charCodeAt(0);if(n===1&&l===45)return"\\"+r;for(;++t<n;){if(i=r.charCodeAt(t),i===0){o+="\uFFFD";continue}if(i>=1&&i<=31||i===127||t===0&&i>=48&&i<=57||t===1&&i>=48&&i<=57&&l===45){o+="\\"+i.toString(16)+" ";continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){o+=r.charAt(t);continue}o+="\\"+r.charAt(t)}return o}function Se(e){return e.replace(/\\(?:([\dA-Fa-f]{1,6})[\t\n\f\r ]?|([\S\s]))/g,(r,n,t)=>{if(!n)return t;let i=Number.parseInt(n,16);return i===0||i>1114111||i>=55296&&i<=57343?"\uFFFD":String.fromCodePoint(i)})}var _n=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 Pn(e,r){return(_n.get(r)??[]).some(n=>e===n||e.startsWith(`${n}-`))}var Kt=class{constructor(r=new Map,n=new Set([])){this.values=r;this.keyframes=n}values;keyframes;prefix=null;get size(){return this.values.size}add(r,n,t=0,i){if(r.endsWith("-*")){if(n!=="initial")throw new Error(`Invalid theme value \`${n}\` for namespace \`${r}\``);r==="--*"?this.values.clear():this.clearNamespace(r.slice(0,-2),0)}if(t&4){let o=this.values.get(r);if(o&&!(o.options&4))return}n==="initial"?this.values.delete(r):this.values.set(r,{value:n,options:t,src:i})}keysInNamespaces(r){let n=[];for(let t of r){let i=`${t}-`;for(let o of this.values.keys())o.startsWith(i)&&o.indexOf("--",2)===-1&&(Pn(o,t)||n.push(o.slice(i.length)))}return n}get(r){for(let n of r){let t=this.values.get(n);if(t)return t.value}return null}hasDefault(r){return(this.getOptions(r)&4)===4}getOptions(r){return r=Se(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,n){let t=_n.get(r)??[];e:for(let i of this.values.keys())if(i.startsWith(r)){if(n!==0&&(this.getOptions(i)&n)!==n)continue;for(let o of t)if(i.startsWith(o))continue e;this.values.delete(i)}}#e(r,n){for(let t of n){let i=r!==null?`${t}-${r}`:t;if(!this.values.has(i))if(r!==null&&r.includes(".")){if(i=`${t}-${r.replaceAll(".","_")}`,!this.values.has(i))continue}else continue;if(!Pn(i,t))return i}return null}#t(r){let n=this.values.get(r);if(!n)return null;let t=null;return n.options&2&&(t=n.value),`var(${$e(this.prefixKey(r))}${t?`, ${t}`:""})`}markUsedVariable(r){let n=Se(this.#r(r)),t=this.values.get(n);if(!t)return!1;let i=t.options&16;return t.options|=16,!i}resolve(r,n,t=0){let i=this.#e(r,n);if(!i)return null;let o=this.values.get(i);return(t|o.options)&1?o.value:this.#t(i)}resolveValue(r,n){let t=this.#e(r,n);return t?this.values.get(t).value:null}resolveWith(r,n,t=[]){let i=this.#e(r,n);if(!i)return null;let o={};for(let a of t){let c=`${i}${a}`,f=this.values.get(c);f&&(f.options&1?o[a]=f.value:o[a]=this.#t(c))}let l=this.values.get(i);return l.options&1?[l.value,o]:[this.#t(i),o]}namespace(r){let n=new Map,t=`${r}-`;for(let[i,o]of this.values)i===r?n.set(null,o.value):i.startsWith(`${t}-`)?n.set(i.slice(r.length),o.value):i.startsWith(t)&&n.set(i.slice(t.length),o.value);return n}addKeyframes(r){this.keyframes.add(r)}getKeyframes(){return Array.from(this.keyframes)}};var z=class extends Map{constructor(n){super();this.factory=n}factory;get(n){let t=super.get(n);return t===void 0&&(t=this.factory(n,this),this.set(n,t)),t}};var zt=new Uint8Array(256);function F(e,r){let n=0,t=[],i=0,o=e.length,l=r.charCodeAt(0);for(let a=0;a<o;a++){let c=e.charCodeAt(a);if(n===0&&c===l){t.push(e.slice(i,a)),i=a+1;continue}switch(c){case 92:a+=1;break;case 39:case 34:for(;++a<o;){let f=e.charCodeAt(a);if(f===92){a+=1;continue}if(f===c)break}break;case 40:zt[n]=41,n++;break;case 91:zt[n]=93,n++;break;case 123:zt[n]=125,n++;break;case 93:case 125:case 41:n>0&&c===zt[n-1]&&n--;break}}return t.push(e.slice(i)),t}function re(e){return{kind:"word",value:e}}function fo(e,r){return{kind:"function",value:e,nodes:r}}function po(e){return{kind:"separator",value:e}}function B(e){let r="";for(let n of e)switch(n.kind){case"word":case"separator":{r+=n.value;break}case"function":r+=n.value+"("+B(n.nodes)+")"}return r}var In=92,mo=41,Dn=58,Ln=44,go=34,Un=61,Kn=62,zn=60,Mn=10,ho=40,vo=39,ko=47,Fn=32,jn=9;function H(e){e=e.replaceAll(`\r
|
|
4
4
|
`,`
|
package/dist/lib.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as F,b as yt,c as Jr,d as X,e as tt,f as K,g as er,h as te,i as Ce,j as en}from"./chunk-OFWLFL4C.mjs";import{a as Xr}from"./chunk-DCG7AFIE.mjs";import{a as Ue,b as Ke,c as Qr}from"./chunk-3IIMCCN4.mjs";var tn="0.0.0-insiders.
|
|
1
|
+
import{a as F,b as yt,c as Jr,d as X,e as tt,f as K,g as er,h as te,i as Ce,j as en}from"./chunk-OFWLFL4C.mjs";import{a as Xr}from"./chunk-DCG7AFIE.mjs";import{a as Ue,b as Ke,c as Qr}from"./chunk-3IIMCCN4.mjs";var tn="0.0.0-insiders.9213f16";function gl(e){return{kind:"combinator",value:e}}function tr(e){return{kind:"complex",nodes:e}}function rn(e){return{kind:"compound",nodes:e}}function hl(e,n){return{kind:"function",value:e,nodes:n}}function vl(e){return{kind:"list",nodes:e}}function xe(e){return{kind:"selector",value:e}}function nn(e){return{kind:"value",value:e}}function rt(e){return e.kind==="selector"&&e.value.charCodeAt(0)===ar}var wl=new Set([":before",":after",":first-line",":first-letter"]);function xt(e){return e.kind!=="selector"&&e.kind!=="function"?!1:e.value.startsWith("::")||wl.has(e.value.toLowerCase())}function At(e){if(e.kind!=="selector")return!1;switch(e.value.charCodeAt(0)){case ar:case mn:case dn:case pn:case lr:case or:return!1;default:return!0}}function ae(e,n=!1){let r="";for(let t of e)switch(t.kind){case"selector":case"value":{r+=t.value;break}case"combinator":{n||t.value===" "?r+=t.value:r+=` ${t.value} `;break}case"function":{r+=`${t.value}(${ae(t.nodes,n)})`;break}case"complex":case"compound":{r+=ae(t.nodes,n);break}case"list":{r+=t.nodes.map(i=>ae([i],n)).join(n?",":", ");break}}return r}var ln=92,kl=93,on=41,lr=58,an=44,bl=34,dn=46,sn=62,rr=10,pn=35,or=91,un=40,fn=43,yl=39,nr=32,ir=9,cn=126,mn=38,ar=42;function fe(e){e=e.replaceAll(`\r
|
|
2
2
|
`,`
|
|
3
3
|
`);let n=[],r=n,t=!1,i=[],o=null,l="",s;function f(p=r){return p.length===1?p[0]:t?tr(p):rn(p)}function c(p){let m=r[r.length-1];m?.kind==="compound"?m.nodes.push(p):m&&m.kind!=="list"&&m.kind!=="combinator"?r[r.length-1]=rn([m,p]):r.push(p)}for(let p=0;p<e.length;p++){let m=e.charCodeAt(p);switch(m){case an:{for(l.length>0&&(c(xe(l)),l="");p+1<e.length&&(s=e.charCodeAt(p+1),!(s!==rr&&s!==nr&&s!==ir));p++);if(o)o.nodes.push(f()),r=[],t=!1;else{let d=r.splice(0),h=f(d),k=vl([h]);r.push(k),o=k,r=[],t=!1}break}case sn:case rr:case nr:case fn:case ir:case cn:{l.length>0&&(c(xe(l)),l="");let d=p,h=p+1;for(;h<e.length&&(s=e.charCodeAt(h),!(s!==sn&&s!==rr&&s!==nr&&s!==fn&&s!==ir&&s!==cn));h++);p=h-1;let k=e.slice(d,h).trim();if(k===""&&(r.length===0||h>=e.length||e.charCodeAt(h)===an))break;r.push(gl(k===""?" ":k)),t=!0;break}case un:{let d=hl(l,[]);if(l="",d.value!==":not"&&d.value!==":where"&&d.value!==":has"&&d.value!==":is"&&d.value!==":-moz-any"&&d.value!==":-webkit-any"){let h=p+1,k=0;for(let x=p+1;x<e.length;x++){if(s=e.charCodeAt(x),s===un){k++;continue}if(s===on){if(k===0){p=x;break}k--}}let w=p,b=e.slice(h,w);if(d.value===":nth-child"||d.value===":nth-last-child"){let x=b.indexOf("of ");if(x!==-1){d.nodes.push(nn(b.slice(0,x+3)),...fe(b.slice(x+3))),l="",p=w,c(d);break}}d.nodes.push(nn(b)),l="",p=w,c(d);break}c(d),i.push({target:r,currentList:o,containsCombinator:t}),r=d.nodes,t=!1,o=null;break}case on:{l.length>0&&(c(xe(l)),l=""),o?o.nodes.push(f()):t&&r.splice(0,r.length,tr(r.splice(0)));let d=i.pop();r=d?.target??n,o=d?.currentList??null,t=d?.containsCombinator??!1;break}case dn:case lr:case pn:{if(m===lr&&l===":"){l+=e[p];break}l.length>0&&c(xe(l)),l=e[p];break}case or:{l.length>0&&(c(xe(l)),l="");let d=p,h=0;for(let k=p+1;k<e.length;k++){if(s=e.charCodeAt(k),s===or){h++;continue}if(s===kl){if(h===0){p=k;break}h--}}c(xe(e.slice(d,p+1)));break}case yl:case bl:{let d=p;for(let h=p+1;h<e.length;h++)if(s=e.charCodeAt(h),s===ln)h+=1;else if(s===m){p=h;break}l+=e.slice(d,p+1);break}case mn:case ar:{l.length>0&&(c(xe(l)),l=""),c(xe(e[p]));break}case ln:{l+=e[p]+e[p+1],p+=1;break}default:l+=e[p]}}return l.length>0&&c(xe(l)),o?o.nodes.push(f()):t&&r.splice(0,r.length,tr(r.splice(0))),n}function Ct(e){let n=[0];for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&n.push(i+1);function r(i){let o=0,l=n.length;for(;l>0;){let f=(l|0)>>1,c=o+f;n[c]<=i?(o=c+1,l=l-f-1):l=f}o-=1;let s=i-n[o];return{line:o+1,column:s}}function t({line:i,column:o}){i-=1,i=Math.min(Math.max(i,0),n.length-1);let l=n[i],s=n[i+1]??l;return Math.min(Math.max(l+o,0),s)}return{find:r,findOffset:t}}var Pe=92,St=47,Nt=42,dr=34,pr=39,xl=58,Vt=59,ce=10,Re=13,Te=32,$e=9,Al=12,gn=123,ur=125,nt=40,mr=41,Cl=91,Sl=93,Se=45,Tt=64,hn=33,Nl=60,El=62,Vl=35,Tl=95,kn=48,bn=57,yn=65,$l=90,Rl=70,xn=97,Pl=102,Ol=122,_l=108,Il=114,Dl=117,Ll=128,fr=32,we=class e extends Error{loc;constructor(n,r){if(r){let t=r[0],i=Ct(t.code).find(r[1]);n=`${t.file}:${i.line}:${i.column+1}: ${n}`}super(n),this.name="CssSyntaxError",this.loc=r,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function Oe(e,n){let r=n?.from?{file:n.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],i=[],o=[],l=null,s=null,f="",c="",p=0,m;for(let d=0;d<e.length;d++){let h=e.charCodeAt(d);if(!(h===Re&&(m=e.charCodeAt(d+1),m===ce)))if(h===Pe)f===""&&(p=d),f+=e.slice(d,d+2),d+=1;else if(h===St&&e.charCodeAt(d+1)===Nt){let k=d;for(let b=d+2;b<e.length;b++)if(m=e.charCodeAt(b),m===Nt&&e.charCodeAt(b+1)===St){d=b+1;break}let w=e.slice(k,d+1);if(w.charCodeAt(2)===hn){let b=Rt(w.slice(2,-2));i.push(b),r&&(b.src=[r,k,d+1],b.dst=[r,k,d+1])}}else if(h===pr||h===dr){let k=wn(e,d,h,r);f+=e.slice(d,k+1),d=k}else{if((h===Te||h===ce||h===$e)&&(m=e.charCodeAt(d+1))&&(m===Te||m===ce||m===$e||m===Re&&(m=e.charCodeAt(d+2))&&m==ce))continue;if(h===ce){if(f.length===0)continue;m=f.charCodeAt(f.length-1),m!==Te&&m!==ce&&m!==$e&&(f+=" ")}else if(l===null&&f.length===0&&(h===Se&&e.charCodeAt(d+1)===Se&&e.charCodeAt(d+2)===El||h===Nl&&e.charCodeAt(d+1)===hn&&e.charCodeAt(d+2)===Se&&e.charCodeAt(d+3)===Se))d+=h===Se?2:3;else if(h===Se&&e.charCodeAt(d+1)===Se&&f.length===0){let k="",w=d,b=-1,x=0,C=-1;for(let N=d+2;N<e.length;N++){if(m=e.charCodeAt(N),m===Pe)N+=1;else if(m===pr||m===dr)N=wn(e,N,m,r);else if(m===St&&e.charCodeAt(N+1)===Nt){for(let $=N+2;$<e.length;$++)if(m=e.charCodeAt($),m===Nt&&e.charCodeAt($+1)===St){N=$+1;break}continue}else if(b===-1&&m===xl)b=f.length+N-w;else if(m===Vt&&k.length===0){f+=e.slice(w,N),d=N;break}else if(m===nt&&(C=vn(e,N))!==-1)N=C;else if(m===nt)k+=")";else if(m===Cl)k+="]";else if(m===gn)k+="}";else if(m===ur&&k.length===0){d=N-1,f+=e.slice(w,N);break}else(m===mr||m===Sl||m===ur)&&k.length>0&&e[N]===k[k.length-1]&&(k=k.slice(0,-1));m!==Te&&m!==$e&&m!==ce&&m!==Re&&(x=N+1-w)}f.length===0&&(f=e.slice(w),d=e.length);let y=Et(f,b,x);if(!y)throw new we("Invalid custom property, expected a value",r?[r,w,d]:null);r&&(y.src=[r,w,d],y.dst=[r,w,d]),l?l.nodes.push(y):t.push(y),f=""}else if(h===Vt&&f.charCodeAt(0)===Tt)s=it(f),r&&(s.src=[r,p,d],s.dst=[r,p,d]),l?l.nodes.push(s):t.push(s),f="",s=null;else if(h===Vt&&c[c.length-1]!==")"){let k=Et(f);if(!k){if(f.length===0)continue;throw new we(`Invalid declaration: \`${f.trim()}\``,r?[r,p,d]:null)}r&&(k.src=[r,p,d],k.dst=[r,p,d]),l?l.nodes.push(k):t.push(k),f=""}else if(h===gn&&c[c.length-1]!==")")c+="}",s=J(f.trim()),r&&(s.src=[r,p,d],s.dst=[r,p,d]),l&&l.nodes.push(s),o.push(l),l=s,f="",s=null;else if(h===ur&&c[c.length-1]!==")"){if(c==="")throw new we("Missing opening {",r?[r,d,d]:null);if(c=c.slice(0,-1),f.length>0)if(f.charCodeAt(0)===Tt)s=it(f),r&&(s.src=[r,p,d],s.dst=[r,p,d]),l?l.nodes.push(s):t.push(s),f="",s=null;else{let w=f.indexOf(":");if(l){let b=Et(f,w);if(!b)throw new we(`Invalid declaration: \`${f.trim()}\``,r?[r,p,d]:null);r&&(b.src=[r,p,d],b.dst=[r,p,d]),l.nodes.push(b)}}let k=o.pop()??null;k===null&&l&&t.push(l),l=k,f="",s=null}else if(h===nt){let k=vn(e,d);k!==-1?(f+=e.slice(d,k+1),d=k):(c+=")",f+="(")}else if(h===mr){if(c[c.length-1]!==")")throw new we("Missing opening (",r?[r,d,d]:null);c=c.slice(0,-1),f+=")"}else{if(f.length===0&&(h===Te||h===ce||h===$e))continue;f===""&&(p=d),f+=String.fromCharCode(h)}}}if(f.charCodeAt(0)===Tt){let d=it(f);r&&(d.src=[r,p,e.length],d.dst=[r,p,e.length]),t.push(d)}else if(f.length>0&&c.length===0){let d=Et(f);d&&(r&&(d.src=[r,p,e.length],d.dst=[r,p,e.length]),l?l.nodes.push(d):t.push(d))}if(c.length>0&&l){if(l.kind==="rule")throw new we(`Missing closing } at ${l.selector}`,l.src?[l.src[0],l.src[1],l.src[1]]:null);if(l.kind==="at-rule")throw new we(`Missing closing } at ${l.name} ${l.params}`,l.src?[l.src[0],l.src[1],l.src[1]]:null)}return i.length>0?i.concat(t):t}function it(e,n=[]){let r=e,t="";for(let i=5;i<e.length;i++){let o=e.charCodeAt(i);if(o===Te||o===$e||o===nt){r=e.slice(0,i),t=e.slice(i);break}}return G(r.trim(),t.trim(),n)}function Et(e,n=e.indexOf(":"),r=e.length){if(n===-1)return null;let t=e.slice(0,n).trim(),i=cr(e.slice(n+1,r)),o=i.length-10;return i.endsWith("!important")&&!$t(i,o)?u(t,cr(i.slice(0,o)),!0):u(t,cr(e.slice(n+1)),!1)}function cr(e){e=e.trimStart();let n=e.trimEnd();return n.length<e.length&&$t(e,n.length)?e.slice(0,n.length+1):n}function $t(e,n){let r=0;for(;e.charCodeAt(n-1-r)===Pe;)r+=1;return r%2===1}function vn(e,n){if(n<3||(e.charCodeAt(n-3)|fr)!==Dl||(e.charCodeAt(n-2)|fr)!==Il||(e.charCodeAt(n-1)|fr)!==_l)return-1;let r=e.charCodeAt(n-4);if(r>=xn&&r<=Ol||r>=yn&&r<=$l||r>=kn&&r<=bn||r===Se||r===Tl||r>=Ll||r===Pe||r===Vl||r===Tt||$t(e,n-4)||Ul(e,n-4))return-1;for(let t=n+1;t<e.length;t++){let i=e.charCodeAt(t);if(i===Pe)t+=1;else{if(i===mr)return t;if(i===nt||i===pr||i===dr)return-1}}return-1}function Ul(e,n){let r=e.charCodeAt(n);if(r===ce)e.charCodeAt(n-1)===Re&&(n-=1);else if(r!==Te&&r!==$e&&r!==Al&&r!==Re)return!1;for(let t=n-1;t>=0&&t>=n-7;t--){if(r=e.charCodeAt(t),r===Pe)return t<n-1&&!$t(e,t);if(!(r>=kn&&r<=bn||r>=xn&&r<=Pl||r>=yn&&r<=Rl))return!1}return!1}function wn(e,n,r,t=null){let i;for(let o=n+1;o<e.length;o++)if(i=e.charCodeAt(o),i===Pe)o+=1;else{if(i===r)return o;if(i===Vt&&(e.charCodeAt(o+1)===ce||e.charCodeAt(o+1)===Re&&e.charCodeAt(o+2)===ce))throw new we(`Unterminated string: ${e.slice(n,o+1)+String.fromCharCode(r)}`,t?[t,n,o+1]:null);if(i===ce||i===Re&&e.charCodeAt(o+1)===ce)throw new we(`Unterminated string: ${e.slice(n,o)+String.fromCharCode(r)}`,t?[t,n,o+1]:null)}return n}var M=class extends Map{constructor(r){super();this.factory=r}factory;get(r){let t=super.get(r);return t===void 0&&(t=this.factory(r,this),this.set(r,t)),t}};function re(e){return{kind:"word",value:e}}function Kl(e,n){return{kind:"function",value:e,nodes:n}}function Ml(e){return{kind:"separator",value:e}}function B(e){let n="";for(let r of e)switch(r.kind){case"word":case"separator":{n+=r.value;break}case"function":n+=r.value+"("+B(r.nodes)+")"}return n}var An=92,zl=41,Cn=58,Sn=44,jl=34,Nn=61,En=62,Vn=60,Tn=10,Fl=40,Wl=39,Bl=47,$n=32,Rn=9;function Y(e){e=e.replaceAll(`\r
|
|
4
4
|
`,`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-insiders.
|
|
3
|
+
"version": "0.0.0-insiders.9213f16",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"lightningcss": "1.33.0",
|
|
79
79
|
"magic-string": "^1.1.0",
|
|
80
80
|
"source-map-js": "^1.2.1",
|
|
81
|
-
"@tailwindcss/oxide": "0.0.0-insiders.
|
|
81
|
+
"@tailwindcss/oxide": "0.0.0-insiders.9213f16"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"lint": "tsc --noEmit",
|