@mcp-use/cli 4.0.0-beta.1 → 4.0.0-beta.3
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/api-5C5J73XS.js +23 -0
- package/dist/bin.js +37 -0
- package/dist/build-BL3SCD2Q.js +23 -0
- package/dist/chunk-4Q7KWFEW.js +65 -0
- package/dist/chunk-4WKUTVLA.js +1 -0
- package/dist/chunk-7G4TXPP4.js +1 -0
- package/dist/chunk-7LRTFWC6.js +205 -0
- package/dist/chunk-AMCCKJH2.js +1 -0
- package/dist/chunk-HU2QUJ7M.js +1 -0
- package/dist/chunk-JAFV3QGS.js +1 -0
- package/dist/chunk-LHNHT6HO.js +8 -0
- package/dist/chunk-N6R74JIF.js +33 -0
- package/dist/chunk-N7BU45K6.js +1 -0
- package/dist/chunk-N7GIB7UG.js +2 -0
- package/dist/chunk-V2YAB5J5.js +20 -0
- package/dist/chunk-YAUVPOKC.js +618 -0
- package/dist/chunk-ZELLSKD2.js +1 -0
- package/dist/chunk-ZWRDP37E.js +1 -0
- package/dist/commands/build.js +5 -0
- package/dist/commands/client.js +1 -0
- package/dist/commands/deploy.js +1 -0
- package/dist/commands/deployments.js +6 -0
- package/dist/commands/dev.js +2 -0
- package/dist/commands/identity.js +2 -0
- package/dist/commands/organizations.js +2 -0
- package/dist/commands/screenshot.js +5 -0
- package/dist/commands/servers.js +2 -0
- package/dist/commands/skills.js +1 -0
- package/dist/commands/start.js +4 -0
- package/dist/dist-ATUXZA3G.js +1 -0
- package/dist/dist-DSLOT2HN.js +139 -0
- package/dist/false-AWHO5BNV.js +1 -0
- package/dist/jiti-IZ2GHWFT.js +1 -0
- package/dist/lexer-DQCqS3nf-TWOGUR6Y.js +3 -0
- package/dist/main-25QSIQDF.js +1 -0
- package/dist/next-server-shims.js +1 -0
- package/dist/node-7FETFLWX.js +1 -0
- package/dist/node-bridge-P3XTCFXS.js +1 -0
- package/dist/postcss-YNTG32JE.js +33 -0
- package/dist/postcss-import-VHSC6LGV.js +5 -0
- package/package.json +33 -7
- package/types/index.d.ts +1 -0
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -10
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import{a as Ld}from"./chunk-HU2QUJ7M.js";import{y as ho}from"./chunk-YAUVPOKC.js";import{a as fo}from"./chunk-V2YAB5J5.js";import{a as lo,b as co,d as uo}from"./chunk-7G4TXPP4.js";import{a as de,b as U,c as cn}from"./chunk-ZWRDP37E.js";var un=U((ny,po)=>{"use strict";var Ud=e=>{let t=!1,r;return()=>(t||(r=e(),t=!0,e=void 0),r)};po.exports=Ud});var yo=U((oy,wo)=>{"use strict";var{nextTick:mo}=de("process"),go=e=>{let t=e.length-1;for(;t>=0;){let r=e.charCodeAt(t);if(r===47||r===92)break;t--}return t<0?"":e.slice(0,t)},rr=(e,t,r)=>{if(e.length===1){e[0](t,r),e.length=0;return}let n;for(let i of e)try{i(t,r)}catch(s){n||(n=s)}if(e.length=0,n)throw n},dn=class{constructor(t,r,n){this._provider=t,this._syncProvider=r,this._providerContext=n,this._activeAsyncOperations=new Map,this.provide=this._provider?(i,s,o)=>{if(typeof s=="function"&&(o=s,s=void 0),typeof i!="string"&&!Buffer.isBuffer(i)&&!(i instanceof URL)&&typeof i!="number"){o(new TypeError("path must be a string, Buffer, URL or number"));return}if(s)return this._provider.call(this._providerContext,i,s,o);let l=this._activeAsyncOperations.get(i);if(l){l.push(o);return}this._activeAsyncOperations.set(i,l=[o]),t(i,(a,c)=>{this._activeAsyncOperations.delete(i),rr(l,a,c)})}:null,this.provideSync=this._syncProvider?(i,s)=>this._syncProvider.call(this._providerContext,i,s):null}purge(){}purgeParent(){}},Je=0,xt=1,vo=2,fn=class{constructor(t,r,n,i){this._duration=t,this._provider=r,this._syncProvider=n,this._providerContext=i,this._activeAsyncOperations=new Map,this._data=new Map,this._levels=[];for(let s=0;s<10;s++)this._levels.push(new Set);for(let s=5e3;s<t;s+=500)this._levels.push(new Set);this._currentLevel=0,this._tickInterval=Math.floor(t/this._levels.length),this._mode=Je,this._timeout=void 0,this._nextDecay=void 0,this.provide=r?this.provide.bind(this):null,this.provideSync=n?this.provideSync.bind(this):null}provide(t,r,n){if(typeof r=="function"&&(n=r,r=void 0),typeof t!="string"&&!Buffer.isBuffer(t)&&!(t instanceof URL)&&typeof t!="number"){n(new TypeError("path must be a string, Buffer, URL or number"));return}let i=typeof t!="string"?t.toString():t;if(r)return this._provider.call(this._providerContext,t,r,n);this._mode===xt&&this._enterAsyncMode();let s=this._data.get(i);if(s!==void 0)return s.err?mo(n,s.err):mo(n,null,s.result);let o=this._activeAsyncOperations.get(i);if(o!==void 0){o.push(n);return}this._activeAsyncOperations.set(i,o=[n]),this._provider.call(this._providerContext,t,(l,a)=>{this._activeAsyncOperations.delete(i),this._storeResult(i,l,a),this._enterAsyncMode(),rr(o,l,a)})}provideSync(t,r){if(typeof t!="string"&&!Buffer.isBuffer(t)&&!(t instanceof URL)&&typeof t!="number")throw new TypeError("path must be a string");let n=typeof t!="string"?t.toString():t;if(r)return this._syncProvider.call(this._providerContext,t,r);this._mode===xt&&this._runDecays();let i=this._data.get(n);if(i!==void 0){if(i.err)throw i.err;return i.result}let s=this._activeAsyncOperations.get(n);this._activeAsyncOperations.delete(n);let o;try{o=this._syncProvider.call(this._providerContext,t)}catch(l){throw this._storeResult(n,l,void 0),this._enterSyncModeWhenIdle(),s&&rr(s,l,void 0),l}return this._storeResult(n,null,o),this._enterSyncModeWhenIdle(),s&&rr(s,null,o),o}purge(t){if(t)if(typeof t=="string"||Buffer.isBuffer(t)||t instanceof URL||typeof t=="number"){let r=typeof t!="string"?t.toString():t;for(let[n,i]of this._data)n.startsWith(r)&&(this._data.delete(n),i.level.delete(n));this._data.size===0&&this._enterIdleMode()}else{for(let[r,n]of this._data)for(let i of t){let s=typeof i!="string"?i.toString():i;if(r.startsWith(s)){this._data.delete(r),n.level.delete(r);break}}this._data.size===0&&this._enterIdleMode()}else if(this._mode!==Je){this._data.clear();for(let r of this._levels)r.clear();this._enterIdleMode()}}purgeParent(t){if(!t)this.purge();else if(typeof t=="string"||Buffer.isBuffer(t)||t instanceof URL||typeof t=="number"){let r=typeof t!="string"?t.toString():t;this.purge(go(r))}else{let r=new Set;for(let n of t){let i=typeof n!="string"?n.toString():n;r.add(go(i))}this.purge(r)}}_storeResult(t,r,n){if(this._data.has(t))return;let i=this._levels[this._currentLevel];this._data.set(t,{err:r,result:n,level:i}),i.add(t)}_decayLevel(){let t=(this._currentLevel+1)%this._levels.length,r=this._levels[t];this._currentLevel=t;for(let n of r)this._data.delete(n);r.clear(),this._data.size===0?this._enterIdleMode():this._nextDecay+=this._tickInterval}_runDecays(){for(;this._nextDecay<=Date.now()&&this._mode!==Je;)this._decayLevel()}_enterAsyncMode(){let t=0;switch(this._mode){case vo:return;case Je:this._nextDecay=Date.now()+this._tickInterval,t=this._tickInterval;break;case xt:if(this._runDecays(),this._mode===Je)return;t=Math.max(0,this._nextDecay-Date.now());break}this._mode=vo;let r=setTimeout(()=>{this._mode=xt,this._runDecays()},t);r.unref&&r.unref(),this._timeout=r}_enterSyncModeWhenIdle(){this._mode===Je&&(this._mode=xt,this._nextDecay=Date.now()+this._tickInterval)}_enterIdleMode(){this._mode=Je,this._nextDecay=void 0,this._timeout&&clearTimeout(this._timeout)}},Ge=(e,t,r,n)=>e>0?new fn(e,t,r,n):new dn(t,r,n);wo.exports=class{constructor(t,r){this.fileSystem=t,this._lstatBackend=Ge(r,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);let n=this._lstatBackend.provide;this.lstat=n;let i=this._lstatBackend.provideSync;this.lstatSync=i,this._statBackend=Ge(r,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);let s=this._statBackend.provide;this.stat=s;let o=this._statBackend.provideSync;this.statSync=o,this._readdirBackend=Ge(r,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);let l=this._readdirBackend.provide;this.readdir=l;let a=this._readdirBackend.provideSync;this.readdirSync=a,this._readFileBackend=Ge(r,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);let c=this._readFileBackend.provide;this.readFile=c;let d=this._readFileBackend.provideSync;this.readFileSync=d,this._readJsonBackend=Ge(r,this.fileSystem.readJson||this.readFile&&((S,$)=>{this.readFile(S,(x,T)=>{if(x)return $(x);if(!T||T.length===0)return $(new Error("No file content"));let E;try{E=JSON.parse(T.toString("utf8"))}catch(j){return $(j)}$(null,E)})}),this.fileSystem.readJsonSync||this.readFileSync&&(S=>{let $=this.readFileSync(S);return JSON.parse($.toString("utf8"))}),this.fileSystem);let u=this._readJsonBackend.provide;this.readJson=u;let h=this._readJsonBackend.provideSync;this.readJsonSync=h,this._readlinkBackend=Ge(r,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);let m=this._readlinkBackend.provide;this.readlink=m;let g=this._readlinkBackend.provideSync;this.readlinkSync=g,this._realpathBackend=Ge(r,this.fileSystem.realpath,this.fileSystem.realpathSync,this.fileSystem);let y=this._realpathBackend.provide;this.realpath=y;let k=this._realpathBackend.provideSync;this.realpathSync=k}purge(t){this._statBackend.purge(t),this._lstatBackend.purge(t),this._readdirBackend.purgeParent(t),this._readFileBackend.purge(t),this._readlinkBackend.purge(t),this._readJsonBackend.purge(t),this._realpathBackend.purge(t)}}});var bo=U((sy,ko)=>{"use strict";var De=de("constants"),Wd=process.cwd,nr=null,Hd=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return nr||(nr=Wd.call(process)),nr};try{process.cwd()}catch{}typeof process.chdir=="function"&&(hn=process.chdir,process.chdir=function(e){nr=null,hn.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,hn));var hn;ko.exports=Vd;function Vd(e){De.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||r(e),e.chown=s(e.chown),e.fchown=s(e.fchown),e.lchown=s(e.lchown),e.chmod=n(e.chmod),e.fchmod=n(e.fchmod),e.lchmod=n(e.lchmod),e.chownSync=o(e.chownSync),e.fchownSync=o(e.fchownSync),e.lchownSync=o(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=l(e.stat),e.fstat=l(e.fstat),e.lstat=l(e.lstat),e.statSync=a(e.statSync),e.fstatSync=a(e.fstatSync),e.lstatSync=a(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(d,u,h){h&&process.nextTick(h)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(d,u,h,m){m&&process.nextTick(m)},e.lchownSync=function(){}),Hd==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:(function(d){function u(h,m,g){var y=Date.now(),k=0;d(h,m,function S($){if($&&($.code==="EACCES"||$.code==="EPERM"||$.code==="EBUSY")&&Date.now()-y<6e4){setTimeout(function(){e.stat(m,function(x,T){x&&x.code==="ENOENT"?d(h,m,S):g($)})},k),k<100&&(k+=10);return}g&&g($)})}return Object.setPrototypeOf&&Object.setPrototypeOf(u,d),u})(e.rename)),e.read=typeof e.read!="function"?e.read:(function(d){function u(h,m,g,y,k,S){var $;if(S&&typeof S=="function"){var x=0;$=function(T,E,j){if(T&&T.code==="EAGAIN"&&x<10)return x++,d.call(e,h,m,g,y,k,$);S.apply(this,arguments)}}return d.call(e,h,m,g,y,k,$)}return Object.setPrototypeOf&&Object.setPrototypeOf(u,d),u})(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:(function(d){return function(u,h,m,g,y){for(var k=0;;)try{return d.call(e,u,h,m,g,y)}catch(S){if(S.code==="EAGAIN"&&k<10){k++;continue}throw S}}})(e.readSync);function t(d){d.lchmod=function(u,h,m){d.open(u,De.O_WRONLY|De.O_SYMLINK,h,function(g,y){if(g){m&&m(g);return}d.fchmod(y,h,function(k){d.close(y,function(S){m&&m(k||S)})})})},d.lchmodSync=function(u,h){var m=d.openSync(u,De.O_WRONLY|De.O_SYMLINK,h),g=!0,y;try{y=d.fchmodSync(m,h),g=!1}finally{if(g)try{d.closeSync(m)}catch{}else d.closeSync(m)}return y}}function r(d){De.hasOwnProperty("O_SYMLINK")&&d.futimes?(d.lutimes=function(u,h,m,g){d.open(u,De.O_SYMLINK,function(y,k){if(y){g&&g(y);return}d.futimes(k,h,m,function(S){d.close(k,function($){g&&g(S||$)})})})},d.lutimesSync=function(u,h,m){var g=d.openSync(u,De.O_SYMLINK),y,k=!0;try{y=d.futimesSync(g,h,m),k=!1}finally{if(k)try{d.closeSync(g)}catch{}else d.closeSync(g)}return y}):d.futimes&&(d.lutimes=function(u,h,m,g){g&&process.nextTick(g)},d.lutimesSync=function(){})}function n(d){return d&&function(u,h,m){return d.call(e,u,h,function(g){c(g)&&(g=null),m&&m.apply(this,arguments)})}}function i(d){return d&&function(u,h){try{return d.call(e,u,h)}catch(m){if(!c(m))throw m}}}function s(d){return d&&function(u,h,m,g){return d.call(e,u,h,m,function(y){c(y)&&(y=null),g&&g.apply(this,arguments)})}}function o(d){return d&&function(u,h,m){try{return d.call(e,u,h,m)}catch(g){if(!c(g))throw g}}}function l(d){return d&&function(u,h,m){typeof h=="function"&&(m=h,h=null);function g(y,k){k&&(k.uid<0&&(k.uid+=4294967296),k.gid<0&&(k.gid+=4294967296)),m&&m.apply(this,arguments)}return h?d.call(e,u,h,g):d.call(e,u,g)}}function a(d){return d&&function(u,h){var m=h?d.call(e,u,h):d.call(e,u);return m&&(m.uid<0&&(m.uid+=4294967296),m.gid<0&&(m.gid+=4294967296)),m}}function c(d){if(!d||d.code==="ENOSYS")return!0;var u=!process.getuid||process.getuid()!==0;return!!(u&&(d.code==="EINVAL"||d.code==="EPERM"))}}});var So=U((ay,$o)=>{"use strict";var xo=de("stream").Stream;$o.exports=Bd;function Bd(e){return{ReadStream:t,WriteStream:r};function t(n,i){if(!(this instanceof t))return new t(n,i);xo.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var o=Object.keys(i),l=0,a=o.length;l<a;l++){var c=o[l];this[c]=i[c]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}e.open(this.path,this.flags,this.mode,function(d,u){if(d){s.emit("error",d),s.readable=!1;return}s.fd=u,s.emit("open",u),s._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);xo.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),o=0,l=s.length;o<l;o++){var a=s[o];this[a]=i[a]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var _o=U((ly,Ao)=>{"use strict";Ao.exports=qd;var Kd=Object.getPrototypeOf||function(e){return e.__proto__};function qd(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:Kd(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}});var jo=U((cy,gn)=>{"use strict";var te=de("fs"),Jd=bo(),Gd=So(),Yd=_o(),ir=de("util"),oe,sr;typeof Symbol=="function"&&typeof Symbol.for=="function"?(oe=Symbol.for("graceful-fs.queue"),sr=Symbol.for("graceful-fs.previous")):(oe="___graceful-fs.queue",sr="___graceful-fs.previous");function Zd(){}function Ro(e,t){Object.defineProperty(e,oe,{get:function(){return t}})}var Ye=Zd;ir.debuglog?Ye=ir.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Ye=function(){var e=ir.format.apply(ir,arguments);e="GFS4: "+e.split(/\n/).join(`
|
|
2
|
+
GFS4: `),console.error(e)});te[oe]||(Eo=global[oe]||[],Ro(te,Eo),te.close=(function(e){function t(r,n){return e.call(te,r,function(i){i||Co(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(t,sr,{value:e}),t})(te.close),te.closeSync=(function(e){function t(r){e.apply(te,arguments),Co()}return Object.defineProperty(t,sr,{value:e}),t})(te.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Ye(te[oe]),de("assert").equal(te[oe].length,0)}));var Eo;global[oe]||Ro(global,te[oe]);gn.exports=pn(Yd(te));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!te.__patched&&(gn.exports=pn(te),te.__patched=!0);function pn(e){Jd(e),e.gracefulify=pn,e.createReadStream=E,e.createWriteStream=j;var t=e.readFile;e.readFile=r;function r(P,N,M){return typeof N=="function"&&(M=N,N=null),G(P,N,M);function G(Y,p,v,w){return t(Y,p,function(A){A&&(A.code==="EMFILE"||A.code==="ENFILE")?dt([G,[Y,p,v],A,w||Date.now(),Date.now()]):typeof v=="function"&&v.apply(this,arguments)})}}var n=e.writeFile;e.writeFile=i;function i(P,N,M,G){return typeof M=="function"&&(G=M,M=null),Y(P,N,M,G);function Y(p,v,w,A,b){return n(p,v,w,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?dt([Y,[p,v,w,A],_,b||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}var s=e.appendFile;s&&(e.appendFile=o);function o(P,N,M,G){return typeof M=="function"&&(G=M,M=null),Y(P,N,M,G);function Y(p,v,w,A,b){return s(p,v,w,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?dt([Y,[p,v,w,A],_,b||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}var l=e.copyFile;l&&(e.copyFile=a);function a(P,N,M,G){return typeof M=="function"&&(G=M,M=0),Y(P,N,M,G);function Y(p,v,w,A,b){return l(p,v,w,function(_){_&&(_.code==="EMFILE"||_.code==="ENFILE")?dt([Y,[p,v,w,A],_,b||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}var c=e.readdir;e.readdir=u;var d=/^v[0-5]\./;function u(P,N,M){typeof N=="function"&&(M=N,N=null);var G=d.test(process.version)?function(v,w,A,b){return c(v,Y(v,w,A,b))}:function(v,w,A,b){return c(v,w,Y(v,w,A,b))};return G(P,N,M);function Y(p,v,w,A){return function(b,_){b&&(b.code==="EMFILE"||b.code==="ENFILE")?dt([G,[p,v,w],b,A||Date.now(),Date.now()]):(_&&_.sort&&_.sort(),typeof w=="function"&&w.call(this,b,_))}}}if(process.version.substr(0,4)==="v0.8"){var h=Gd(e);S=h.ReadStream,x=h.WriteStream}var m=e.ReadStream;m&&(S.prototype=Object.create(m.prototype),S.prototype.open=$);var g=e.WriteStream;g&&(x.prototype=Object.create(g.prototype),x.prototype.open=T),Object.defineProperty(e,"ReadStream",{get:function(){return S},set:function(P){S=P},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return x},set:function(P){x=P},enumerable:!0,configurable:!0});var y=S;Object.defineProperty(e,"FileReadStream",{get:function(){return y},set:function(P){y=P},enumerable:!0,configurable:!0});var k=x;Object.defineProperty(e,"FileWriteStream",{get:function(){return k},set:function(P){k=P},enumerable:!0,configurable:!0});function S(P,N){return this instanceof S?(m.apply(this,arguments),this):S.apply(Object.create(S.prototype),arguments)}function $(){var P=this;z(P.path,P.flags,P.mode,function(N,M){N?(P.autoClose&&P.destroy(),P.emit("error",N)):(P.fd=M,P.emit("open",M),P.read())})}function x(P,N){return this instanceof x?(g.apply(this,arguments),this):x.apply(Object.create(x.prototype),arguments)}function T(){var P=this;z(P.path,P.flags,P.mode,function(N,M){N?(P.destroy(),P.emit("error",N)):(P.fd=M,P.emit("open",M))})}function E(P,N){return new e.ReadStream(P,N)}function j(P,N){return new e.WriteStream(P,N)}var L=e.open;e.open=z;function z(P,N,M,G){return typeof M=="function"&&(G=M,M=null),Y(P,N,M,G);function Y(p,v,w,A,b){return L(p,v,w,function(_,I){_&&(_.code==="EMFILE"||_.code==="ENFILE")?dt([Y,[p,v,w,A],_,b||Date.now(),Date.now()]):typeof A=="function"&&A.apply(this,arguments)})}}return e}function dt(e){Ye("ENQUEUE",e[0].name,e[1]),te[oe].push(e),mn()}var or;function Co(){for(var e=Date.now(),t=0;t<te[oe].length;++t)te[oe][t].length>2&&(te[oe][t][3]=e,te[oe][t][4]=e);mn()}function mn(){if(clearTimeout(or),or=void 0,te[oe].length!==0){var e=te[oe].shift(),t=e[0],r=e[1],n=e[2],i=e[3],s=e[4];if(i===void 0)Ye("RETRY",t.name,r),t.apply(null,r);else if(Date.now()-i>=6e4){Ye("TIMEOUT",t.name,r);var o=r.pop();typeof o=="function"&&o.call(null,n)}else{var l=Date.now()-s,a=Math.max(s-i,1),c=Math.min(a*1.2,100);l>=c?(Ye("RETRY",t.name,r),t.apply(null,r.concat([i]))):te[oe].push(e)}or===void 0&&(or=setTimeout(mn,0))}}});var Se=U((uy,To)=>{"use strict";To.exports=function(t,r,n){if(t.length===0)return n();let i=0,s=()=>{let o;return r(t[i++],(l,a)=>{if(l||a!==void 0||i>=t.length)return n(l,a,i);if(o===!1)for(;s(););o=!0},i),o||(o=!1),o};for(;s(););}});var Ze=U((dy,ar)=>{"use strict";var Qd=Se();function Po(e){if(e==="/")return null;let t=e.lastIndexOf("/"),r=e.lastIndexOf("\\"),n=t<0?r:r<0?t:t<r?r:t;return n<0?null:e.slice(0,n||1)}function Xd(e,t,r,n,i,s){(function o(){if(n&&n.directory===t)return s(null,n);Qd(r,(l,a)=>{let c=e.join(t,l);function d(u,h){if(u)return i.log?i.log(`${c} (directory description file): ${u}`):u.message=`${c} (directory description file): ${u}`,a(u);a(null,{content:h,directory:t,path:c})}e.fileSystem.readJson?e.fileSystem.readJson(c,(u,h)=>{if(u)return typeof u.code<"u"?(i.missingDependencies&&i.missingDependencies.add(c),a()):(i.fileDependencies&&i.fileDependencies.add(c),d(u));i.fileDependencies&&i.fileDependencies.add(c),d(null,h)}):e.fileSystem.readFile(c,(u,h)=>{if(u)return i.missingDependencies&&i.missingDependencies.add(c),a();i.fileDependencies&&i.fileDependencies.add(c);let m;if(h)try{m=JSON.parse(h.toString())}catch(g){return d(g)}else return d(new Error("No content in file"));d(null,m)})},(l,a)=>{if(l)return s(l);if(a)return s(null,a);let c=Po(t);return c?(t=c,o()):s()})})()}function ef(e,t){if(e){if(Array.isArray(t)){let r=e;for(let n=0;n<t.length;n++){if(r===null||typeof r!="object"){r=null;break}r=r[t[n]]}return r}return e[t]}}ar.exports.cdUp=Po;ar.exports.getField=ef;ar.exports.loadDescriptionFile=Xd});var Fo=U((fy,Oo)=>{"use strict";Oo.exports=function(t,r){if(typeof r.__innerRequest=="string"&&r.__innerRequest_request===r.request&&r.__innerRequest_relativePath===r.relativePath)return r.__innerRequest;let n;return r.request?(n=r.request,/^\.\.?(?:\/|$)/.test(n)&&r.relativePath&&(n=t.join(r.relativePath,n))):n=r.relativePath,r.__innerRequest_request=r.request,r.__innerRequest_relativePath=r.relativePath,r.__innerRequest=n}});var Do=U((py,zo)=>{"use strict";var tf=Ze(),rf=Fo();zo.exports=class{constructor(t,r,n){this.source=t,this.field=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("AliasFieldPlugin",(n,i,s)=>{if(!n.descriptionFileData)return s();let o=rf(t,n);if(!o)return s();let l=tf.getField(n.descriptionFileData,this.field);if(l===null||typeof l!="object")return i.log&&i.log(`Field '${this.field}' doesn't contain a valid alias configuration`),s();let a=Object.prototype.hasOwnProperty.call(l,o)?l[o]:o.startsWith("./")?l[o.slice(2)]:void 0;if(a===o||a===void 0)return s();if(a===!1){let d={...n,path:!1};return typeof i.yield=="function"?(i.yield(d),s(null,null)):s(null,d)}let c={...n,path:n.descriptionFileRoot,request:a,fullySpecified:!1};t.doResolve(r,c,`aliased from description file ${n.descriptionFilePath} with mapping '${o}' to '${a}'`,i,(d,u)=>{if(d)return s(d);if(u===void 0)return s(null,null);s(null,u)})})}}});var Ne=U((my,me)=>{"use strict";var lr=de("path"),vn=35,Qe=47,nf=92,No=65,Mo=90,Io=97,Lo=122,$t=46,Uo=58,ft=lr.posix.normalize,wn=lr.win32.normalize,q=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5}),of=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,sf=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,Xe=e=>{switch(e.length){case 0:return q.Empty;case 1:{switch(e.charCodeAt(0)){case $t:return q.Relative;case Qe:return q.AbsolutePosix;case vn:return q.Internal}return q.Normal}case 2:{let n=e.charCodeAt(0);switch(n){case $t:{switch(e.charCodeAt(1)){case $t:case Qe:return q.Relative}return q.Normal}case Qe:return q.AbsolutePosix;case vn:return q.Internal}return e.charCodeAt(1)===Uo&&(n>=No&&n<=Mo||n>=Io&&n<=Lo)?q.AbsoluteWin:q.Normal}}let t=e.charCodeAt(0);switch(t){case $t:{switch(e.charCodeAt(1)){case Qe:return q.Relative;case $t:return e.charCodeAt(2)===Qe?q.Relative:q.Normal}return q.Normal}case Qe:return q.AbsolutePosix;case vn:return q.Internal}if(e.charCodeAt(1)===Uo){let n=e.charCodeAt(2);if((n===nf||n===Qe)&&(t>=No&&t<=Mo||t>=Io&&t<=Lo))return q.AbsoluteWin}return q.Normal},yn=e=>{switch(Xe(e)){case q.Empty:return e;case q.AbsoluteWin:return wn(e);case q.Relative:{let t=ft(e);return Xe(t)===q.Relative?t:`./${t}`}}return ft(e)},Vo=(e,t)=>{if(!t)return yn(e);let r=Xe(t);switch(r){case q.AbsolutePosix:return ft(t);case q.AbsoluteWin:return wn(t)}switch(Xe(e)){case q.Normal:case q.Relative:case q.AbsolutePosix:return ft(`${e}/${t}`);case q.AbsoluteWin:return wn(`${e}\\${t}`)}switch(r){case q.Empty:return e;case q.Relative:{let n=ft(e);return Xe(n)===q.Relative?n:`./${n}`}}return ft(e)},Bo=e=>{switch(Xe(e)){case q.AbsoluteWin:return lr.win32.dirname(e)}return lr.posix.dirname(e)},Wo=new Map,af=(e,t)=>{let r,n=Wo.get(e);if(n===void 0)Wo.set(e,n=new Map);else if(r=n.get(t),r!==void 0)return r;return r=Vo(e,t),n.set(t,r),r},Ho=new Map,lf=e=>{let t=Ho.get(e);if(t!==void 0)return t;let r=Bo(e);return Ho.set(e,r),r},cf=(e,t)=>{let r=e.endsWith("/")||e.endsWith("\\")?e:yn(`${e}/`);return t.startsWith(r)};me.exports.PathType=q;me.exports.cachedDirname=lf;me.exports.cachedJoin=af;me.exports.deprecatedInvalidSegmentRegEx=of;me.exports.dirname=Bo;me.exports.getType=Xe;me.exports.invalidSegmentRegEx=sf;me.exports.isSubPath=cf;me.exports.join=Vo;me.exports.normalize=yn});var kn=U((gy,Jo)=>{"use strict";var Ko=Se(),{PathType:qo,getType:uf}=Ne();function df(e,t,r,n,i,s){let o=n.request||n.path;if(!o)return s();let l=c=>{let d=uf(c);return d===qo.AbsolutePosix||d===qo.AbsoluteWin?e.join(c,"_").slice(0,-1):null},a=(c,d)=>{let u=l(d);return u?c.startsWith(u):!1};Ko(t,(c,d)=>{let u=!1,h=o===c.name||!c.onlyModule&&(n.request?o.startsWith(`${c.name}/`):a(o,c.name)),m=c.name.split("*"),g=!c.onlyModule&&m.length===2;if(h||g){let y=(S,$)=>{if(S===!1){let j={...n,path:!1};return typeof i.yield=="function"?(i.yield(j),$(null,null)):$(null,j)}let x,[T,E]=m;if(g&&o.startsWith(T)&&o.endsWith(E)){let j=o.slice(T.length,o.length-E.length);x=S.toString().replace("*",j)}if(h&&o!==S&&!o.startsWith(`${S}/`)){let j=o.slice(c.name.length);x=S+j}if(x!==void 0){u=!0;let j={...n,request:x,fullySpecified:!1};return e.doResolve(r,j,`aliased with mapping '${c.name}': '${S}' to '${x}'`,i,(L,z)=>L?$(L):z?$(null,z):$())}return $()},k=(S,$)=>S?d(S):$?d(null,$):u?d(null,null):d();return Array.isArray(c.alias)?Ko(c.alias,y,k):y(c.alias,k)}return d()},s)}Jo.exports.aliasResolveHandler=df});var Yo=U((wy,Go)=>{"use strict";var{aliasResolveHandler:ff}=kn();Go.exports=class{constructor(t,r,n){this.source=t,this.options=Array.isArray(r)?r:[r],this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("AliasPlugin",(n,i,s)=>{ff(t,this.options,r,n,i,s)})}}});var Qo=U((ky,Zo)=>{"use strict";Zo.exports=class{constructor(t,r,n){this.source=t,this.appending=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("AppendPlugin",(n,i,s)=>{let o={...n,path:n.path+this.appending,relativePath:n.relativePath&&n.relativePath+this.appending};t.doResolve(r,o,this.appending,i,s)})}}});var es=U((xy,Xo)=>{"use strict";Xo.exports=class{constructor(t,r,n,i,s){this.source=t,this.test=r,this.message=n,this.allowAlternatives=i,this.target=s}apply(t){let r=t.ensureHook(this.target),{test:n,message:i,allowAlternatives:s}=this,o=Object.keys(n);t.getHook(this.source).tapAsync("ConditionalPlugin",(l,a,c)=>{for(let d of o)if(l[d]!==n[d])return c();t.doResolve(r,l,i,a,s?c:(d,u)=>{if(d)return c(d);if(u===void 0)return c(null,null);c(null,u)})})}}});var ns=U((Sy,rs)=>{"use strict";var ts=Ze();rs.exports=class{constructor(t,r,n,i){this.source=t,this.filenames=r,this.pathIsFile=n,this.target=i}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("DescriptionFilePlugin",(n,i,s)=>{let{path:o}=n;if(!o)return s();let l=this.pathIsFile?ts.cdUp(o):o;if(!l)return s();ts.loadDescriptionFile(t,l,this.filenames,n.descriptionFilePath?{path:n.descriptionFilePath,content:n.descriptionFileData,directory:n.descriptionFileRoot}:void 0,i,(a,c)=>{if(a)return s(a);if(!c)return i.log&&i.log(`No description file found in ${l} or above`),s();let d=`.${o.slice(c.directory.length).replace(/\\/g,"/")}`,u={...n,descriptionFilePath:c.path,descriptionFileData:c.content,descriptionFileRoot:c.directory,relativePath:d};t.doResolve(r,u,`using description file: ${c.path} (relative path: ${d})`,i,(h,m)=>{if(h)return s(h);if(m===void 0)return s(null,null);s(null,m)})})})}}});var os=U((_y,is)=>{"use strict";is.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("DirectoryExistsPlugin",(n,i,s)=>{let o=t.fileSystem,l=n.path;if(!l)return s();o.stat(l,(a,c)=>{if(a||!c)return i.missingDependencies&&i.missingDependencies.add(l),i.log&&i.log(`${l} doesn't exist`),s();if(!c.isDirectory())return i.missingDependencies&&i.missingDependencies.add(l),i.log&&i.log(`${l} is not a directory`),s();i.fileDependencies&&i.fileDependencies.add(l),t.doResolve(r,n,`existing directory ${l}`,i,s)})})}}});var St=U((Ey,as)=>{"use strict";var hf=un(),pf=hf(()=>de("url")),mf=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/,ss=/\0(.)/g,gf=/file:/i;function vf(e){if(!e)return null;if(gf.test(e)&&(e=pf().fileURLToPath(e)),e.indexOf("\0")!==-1){let i=mf.exec(e);return i?[i[1].replace(ss,"$1"),i[2]?i[2].replace(ss,"$1"):"",i[3]||""]:null}let r=e.indexOf("?"),n=e.indexOf("#",1);return n<0?r<0?[e,"",""]:[e.slice(0,r),e.slice(r),""]:r<0||n<r?[e.slice(0,n),"",e.slice(n)]:[e.slice(0,r),e.slice(r,n),e.slice(n)]}as.exports.parseIdentifier=vf});var Sn=U((Cy,$n)=>{"use strict";var{parseIdentifier:us}=St(),et=47,bn=46,wf=35,yf=/\*/g;function ls(e,t){let r=e.indexOf("*"),n=t.indexOf("*"),i=r===-1?e.length:r+1,s=n===-1?t.length:n+1;return i>s?-1:s>i||r===-1?1:n===-1||e.length>t.length?-1:t.length>e.length?1:0}function kf(e,t){if(Object.prototype.hasOwnProperty.call(t,e)&&!e.includes("*")&&!e.endsWith("/"))return[t[e],"",!1,!1,e];let r="",n,i=Object.getOwnPropertyNames(t);for(let a=0;a<i.length;a++){let c=i[a],d=c.indexOf("*");if(d!==-1&&e.startsWith(c.slice(0,d))){let u=c.slice(d+1);e.length>=c.length&&e.endsWith(u)&&ls(r,c)===1&&c.lastIndexOf("*")===d&&(r=c,n=e.slice(d,e.length-u.length))}else c[c.length-1]==="/"&&e.startsWith(c)&&ls(r,c)===1&&(r=c,n=e.slice(c.length))}if(r==="")return null;let s=t[r],o=r.endsWith("/"),l=r.includes("*");return[s,n,o,l,r]}function xn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function ds(e,t){let r=[[e,Object.keys(e),0]];e:for(;r.length>0;){let[n,i,s]=r[r.length-1];for(let o=s;o<i.length;o++){let l=i[o];if(l==="default"){let a=n[l];if(xn(a)){let c=a;r[r.length-1][2]=o+1,r.push([c,Object.keys(c),0]);continue e}return a}if(t.has(l)){let a=n[l];if(xn(a)){let c=a;r[r.length-1][2]=o+1,r.push([c,Object.keys(c),0]);continue e}return a}}r.pop()}return null}function cs(e,t,r,n,i){if(e===void 0)return i(n,!1),n;if(r)return i(n,!0),n+e;i(n,!1);let s=n;return t&&(s=s.replace(yf,e.replace(/\$/g,"$$"))),s}function fs(e,t,r,n,i,s){if(n===null)return[];if(typeof n=="string")return[cs(e,t,r,n,s)];let o=[];for(let l of n){if(typeof l=="string"){o.push(cs(e,t,r,l,s));continue}let a=ds(l,i);if(!a)continue;let c=fs(e,t,r,a,i,s);for(let d of c)o.push(d)}return o}function hs(e,t,r,n){return function(s,o){s=r(s);let l=kf(t(s),e);if(l===null)return[[],null];let[a,c,d,u,h]=l,m=null;if(xn(a)){if(m=ds(a,o),m===null)return[[],null]}else m=a;return[fs(c,u,d,m,o,n),h]}}function bf(e){if(e.charCodeAt(0)!==bn)throw new Error('Request should be relative path and start with "."');if(e.length===1)return"";if(e.charCodeAt(1)!==et)throw new Error('Request should be relative path and start with "./"');if(e.charCodeAt(e.length-1)===et)throw new Error("Only requesting file allowed");return e.slice(2)}function xf(e){if(typeof e=="string"||Array.isArray(e))return{".":e};let t=Object.keys(e);for(let r=0;r<t.length;r++){let n=t[r];if(n.charCodeAt(0)!==bn){if(r===0){for(;r<t.length;){let i=t[r].charCodeAt(0);if(i===bn||i===et)throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(n)})`);r++}return{".":e}}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(n)})`)}if(n.length!==1&&n.charCodeAt(1)!==et)throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(n)})`)}return e}function $f(e,t){let r=us(e);if(!r)return;let[n]=r;if(n.charCodeAt(n.length-1)===et!==t)throw new Error(t?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}$n.exports.processExportsField=function(t){return hs(xf(t),r=>r.length===0?".":`./${r}`,bf,$f)};function Sf(e){if(e.charCodeAt(0)!==wf)throw new Error('Request should start with "#"');if(e.length===1)throw new Error("Request should have at least 2 characters");if(e.charCodeAt(e.length-1)===et)throw new Error("Only requesting file allowed");return e.slice(1)}function Af(e,t){let r=us(e);if(!r)return;let[n]=r;if(n.charCodeAt(n.length-1)===et!==t)throw new Error(t?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}$n.exports.processImportsField=function(t){return hs(t,r=>`#${r}`,Sf,Af)}});var ms=U((jy,ps)=>{"use strict";var _f=Ze(),Ef=Se(),{processExportsField:Cf}=Sn(),{parseIdentifier:Rf}=St(),{deprecatedInvalidSegmentRegEx:jf,invalidSegmentRegEx:Tf}=Ne();ps.exports=class{constructor(t,r,n,i){this.source=t,this.target=i,this.conditionNames=r,this.fieldName=n,this.fieldProcessorCache=new WeakMap}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ExportsFieldPlugin",(n,i,s)=>{if(!n.descriptionFilePath||n.relativePath!=="."||n.request===void 0)return s();let o=n.query||n.fragment?(n.request==="."?"./":n.request)+n.query+n.fragment:n.request,l=_f.getField(n.descriptionFileData,this.fieldName);if(!l)return s();if(n.directory)return s(new Error(`Resolving to directories is not possible with the exports field (request was ${o}/)`));let a,c;try{let d=this.fieldProcessorCache.get(n.descriptionFileData);d===void 0&&(d=Cf(l),this.fieldProcessorCache.set(n.descriptionFileData,d)),[a,c]=d(o,this.conditionNames)}catch(d){return i.log&&i.log(`Exports field in ${n.descriptionFilePath} can't be processed: ${d}`),s(d)}if(a.length===0){let d=[...this.conditionNames],u=d.length===1?`the condition "${d[0]}"`:`the conditions ${JSON.stringify(d)}`;return s(new Error(`"${o}" is not exported under ${u} from package ${n.descriptionFileRoot} (see exports field in ${n.descriptionFilePath})`))}Ef(a,(d,u,h)=>{let m=Rf(d);if(!m)return u();let[g,y,k]=m;if(g.length===0||!g.startsWith("./"))return a.length===h?u(new Error(`Invalid "exports" target "${d}" defined for "${c}" in the package config ${n.descriptionFilePath}, targets must start with "./"`)):u();if(Tf.exec(g.slice(2))!==null&&jf.test(g.slice(2)))return a.length===h?u(new Error(`Invalid "exports" target "${d}" defined for "${c}" in the package config ${n.descriptionFilePath}, targets must start with "./"`)):u();let S={...n,request:void 0,path:t.join(n.descriptionFileRoot,g),relativePath:g,query:y,fragment:k};t.doResolve(r,S,`using exports field: ${d}`,i,($,x)=>{if($)return u($);if(x===void 0)return u(null,null);u(null,x)})},(d,u)=>s(d,u||null))})}}});var vs=U((Py,gs)=>{"use strict";var Pf=Se();gs.exports=class{constructor(t,r,n){this.source=t,this.options=r,this.target=n}apply(t){let r=t.ensureHook(this.target),{extension:n,alias:i}=this.options;t.getHook(this.source).tapAsync("ExtensionAliasPlugin",(s,o,l)=>{let a=s.request;if(!a||!a.endsWith(n))return l();let c=typeof i=="string",d=(h,m,g)=>{let y=`${a.slice(0,-n.length)}${h}`;return t.doResolve(r,{...s,request:y,fullySpecified:!0},`aliased from extension alias with mapping '${n}' to '${h}'`,o,(k,S)=>{if(!c&&g)return g!==this.options.alias.length?(o.log&&o.log(`Failed to alias from extension alias with mapping '${n}' to '${h}' for '${y}': ${k}`),m(null,S)):m(k,S);m(k,S)})},u=(h,m)=>h?l(h):m?l(null,m):l(null,null);c?d(i,u):i.length>1?Pf(i,d,u):d(i[0],u)})}}});var ys=U((Fy,ws)=>{"use strict";ws.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target),n=t.fileSystem;t.getHook(this.source).tapAsync("FileExistsPlugin",(i,s,o)=>{let l=i.path;if(!l)return o();n.stat(l,(a,c)=>{if(a||!c)return s.missingDependencies&&s.missingDependencies.add(l),s.log&&s.log(`${l} doesn't exist`),o();if(!c.isFile())return s.missingDependencies&&s.missingDependencies.add(l),s.log&&s.log(`${l} is not a file`),o();s.fileDependencies&&s.fileDependencies.add(l),t.doResolve(r,i,`existing file: ${l}`,s,o)})})}}});var bs=U((Dy,ks)=>{"use strict";var Of=Ze(),Ff=Se(),{processImportsField:zf}=Sn(),{parseIdentifier:Df}=St(),{deprecatedInvalidSegmentRegEx:Nf,invalidSegmentRegEx:Mf}=Ne(),If=46;ks.exports=class{constructor(t,r,n,i,s){this.source=t,this.targetFile=i,this.targetPackage=s,this.conditionNames=r,this.fieldName=n,this.fieldProcessorCache=new WeakMap}apply(t){let r=t.ensureHook(this.targetFile),n=t.ensureHook(this.targetPackage);t.getHook(this.source).tapAsync("ImportsFieldPlugin",(i,s,o)=>{if(!i.descriptionFilePath||i.request===void 0)return o();let l=i.request+i.query+i.fragment,a=Of.getField(i.descriptionFileData,this.fieldName);if(!a)return o();if(i.directory)return o(new Error(`Resolving to directories is not possible with the imports field (request was ${l}/)`));let c,d;try{let u=this.fieldProcessorCache.get(i.descriptionFileData);u===void 0&&(u=zf(a),this.fieldProcessorCache.set(i.descriptionFileData,u)),[c,d]=u(l,this.conditionNames)}catch(u){return s.log&&s.log(`Imports field in ${i.descriptionFilePath} can't be processed: ${u}`),o(u)}if(c.length===0)return o(new Error(`Package import ${l} is not imported from package ${i.descriptionFileRoot} (see imports field in ${i.descriptionFilePath})`));Ff(c,(u,h,m)=>{let g=Df(u);if(!g)return h();let[y,k,S]=g;switch(y.charCodeAt(0)){case If:{if(Mf.exec(y.slice(2))!==null&&Nf.test(y.slice(2))!==null)return c.length===m?h(new Error(`Invalid "imports" target "${u}" defined for "${d}" in the package config ${i.descriptionFilePath}, targets must start with "./"`)):h();let $={...i,request:void 0,path:t.join(i.descriptionFileRoot,y),relativePath:y,query:k,fragment:S};t.doResolve(r,$,`using imports field: ${u}`,s,(x,T)=>{if(x)return h(x);if(T===void 0)return h(null,null);h(null,T)});break}default:{let $={...i,request:y,relativePath:y,fullySpecified:!0,query:k,fragment:S};t.doResolve(n,$,`using imports field: ${u}`,s,(x,T)=>{if(x)return h(x);if(T===void 0)return h(null,null);h(null,T)})}}},(u,h)=>o(u,h||null))})}}});var $s=U((My,xs)=>{"use strict";xs.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("JoinRequestPartPlugin",(n,i,s)=>{let o=n.request||"",l=o.indexOf("/",3);l>=0&&o.charCodeAt(2)===64&&(l=o.indexOf("/",l+1));let a,c,d;l<0?(a=o,c=".",d=!1):(a=o.slice(0,l),c=`.${o.slice(l)}`,d=n.fullySpecified);let u={...n,path:t.join(n.path,a),relativePath:n.relativePath&&t.join(n.relativePath,a),request:c,fullySpecified:d};t.doResolve(r,u,null,i,s)})}}});var As=U((Ly,Ss)=>{"use strict";Ss.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("JoinRequestPlugin",(n,i,s)=>{let o=n.path,l=n.request,a={...n,path:t.join(o,l),relativePath:n.relativePath&&t.join(n.relativePath,l),request:void 0};t.doResolve(r,a,null,i,s)})}}});var Cs=U((Wy,Es)=>{"use strict";var Lf=de("path"),Uf=Ze(),_s=Symbol("alreadyTriedMainField");Es.exports=class{constructor(t,r,n){this.source=t,this.options=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("MainFieldPlugin",(n,i,s)=>{if(n.path!==n.descriptionFileRoot||n[_s]===n.descriptionFilePath||!n.descriptionFilePath)return s();let o=Lf.basename(n.descriptionFilePath),l=Uf.getField(n.descriptionFileData,this.options.name);if(!l||typeof l!="string"||l==="."||l==="./")return s();this.options.forceRelative&&!/^\.\.?\//.test(l)&&(l=`./${l}`);let a={...n,request:l,module:!1,directory:l.endsWith("/"),[_s]:n.descriptionFilePath};return t.doResolve(r,a,`use ${l} from ${this.options.name} in ${o}`,i,s)})}}});var cr=U((Hy,An)=>{"use strict";An.exports=function(t){if(t==="/")return{paths:["/"],segments:[""]};let r=t.split(/(.*?[\\/]+)/),n=[t],i=[r[r.length-1]],s=r[r.length-1];t=t.slice(0,Math.max(0,t.length-s.length-1));for(let o=r.length-2;o>2;o-=2)n.push(t),s=r[o],t=t.slice(0,Math.max(0,t.length-s.length))||"/",i.push(s.slice(0,-1));return[,s]=r,i.push(s),n.push(s),{paths:n,segments:i}};An.exports.basename=function(t){let r=t.lastIndexOf("/"),n=t.lastIndexOf("\\"),i=r<0?n:n<0?r:r<n?n:r;return i<0?null:t.slice(i+1)}});var _n=U((Vy,Rs)=>{"use strict";var Wf=Se(),Hf=cr();function Vf(e,t,r,n,i,s){let o=e.fileSystem,l=Hf(n.path).paths.map(a=>t.map(c=>e.join(a,c))).reduce((a,c)=>(a.push(...c),a),[]);Wf(l,(a,c)=>{o.stat(a,(d,u)=>{if(!d&&u&&u.isDirectory()){let h={...n,path:a,request:`./${n.request}`,module:!1},m=`looking for modules in ${a}`;return e.doResolve(r,h,m,i,c)}return i.log&&i.log(`${a} doesn't exist or is not a directory`),i.missingDependencies&&i.missingDependencies.add(a),c()})},s)}Rs.exports={modulesResolveHandler:Vf}});var Ts=U((Ky,js)=>{"use strict";var{modulesResolveHandler:Bf}=_n();js.exports=class{constructor(t,r,n){this.source=t,this.directories=[...r],this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",(n,i,s)=>{Bf(t,this.directories,r,n,i,s)})}}});var Os=U((Jy,Ps)=>{"use strict";Ps.exports=class{constructor(t,r,n){this.source=t,this.path=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ModulesInRootPlugin",(n,i,s)=>{let o={...n,path:this.path,request:`./${n.request}`,module:!1};t.doResolve(r,o,`looking for modules in ${this.path}`,i,s)})}}});var zs=U((Yy,Fs)=>{"use strict";Fs.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("NextPlugin",(n,i,s)=>{t.doResolve(r,n,null,i,s)})}}});var Ns=U((Qy,Ds)=>{"use strict";Ds.exports=class{constructor(t,r,n){this.source=t,this.requestOptions=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("ParsePlugin",(n,i,s)=>{let o=t.parse(n.request),l={...n,...o,...this.requestOptions};if(n.query&&!o.query&&(l.query=n.query),n.fragment&&!o.fragment&&(l.fragment=n.fragment),o&&i.log&&(o.module&&i.log("Parsed request is a module"),o.directory&&i.log("Parsed request is a directory")),l.request&&!l.query&&l.fragment){let a=l.fragment.endsWith("/"),c={...l,directory:a,request:l.request+(l.directory?"/":"")+(a?l.fragment.slice(0,-1):l.fragment),fragment:""};t.doResolve(r,c,null,i,(d,u)=>{if(d)return s(d);if(u)return s(null,u);t.doResolve(r,l,null,i,s)});return}t.doResolve(r,l,null,i,s)})}}});var Is=U((ek,Ms)=>{"use strict";Ms.exports=class{constructor(t,r,n,i){this.source=t,this.pnpApi=r,this.target=n,this.alternateTarget=i}apply(t){let r=t.ensureHook(this.target),n=t.ensureHook(this.alternateTarget);t.getHook(this.source).tapAsync("PnpPlugin",(i,s,o)=>{let l=i.request;if(!l)return o();let a=`${i.path}/`,c=/^(@[^/]+\/)?[^/]+/.exec(l);if(!c)return o();let[d]=c,u=`.${l.slice(d.length)}`,h,m;try{if(h=this.pnpApi.resolveToUnqualified(d,a,{considerBuiltins:!1}),h===null){t.doResolve(n,i,"issuer is not managed by a pnpapi",s,(y,k)=>y?o(y):k?o(null,k):o(null,null));return}s.fileDependencies&&(m=this.pnpApi.resolveToUnqualified("pnpapi",a,{considerBuiltins:!1}))}catch(y){if(y.code==="MODULE_NOT_FOUND"&&y.pnpCode==="UNDECLARED_DEPENDENCY"){if(s.log){s.log("request is not managed by the pnpapi");for(let k of y.message.split(`
|
|
3
|
+
`).filter(Boolean))s.log(` ${k}`)}return o()}return o(y)}if(h===d)return o();m&&s.fileDependencies&&s.fileDependencies.add(m);let g={...i,path:h,request:u,ignoreSymlinks:!0,fullySpecified:i.fullySpecified&&u!=="."};t.doResolve(r,g,`resolved by pnp to ${h}`,s,(y,k)=>y?o(y):k?o(null,k):o(null,null))})}}});var ge=U((tk,Hs)=>{"use strict";var Kf=de("util"),qf=Kf.deprecate(()=>{},"Hook.context is deprecated and will be removed");function Ls(...e){return this.call=this._createCall("sync"),this.call(...e)}function Us(...e){return this.callAsync=this._createCall("async"),this.callAsync(...e)}function Ws(...e){return this.promise=this._createCall("promise"),this.promise(...e)}var ur=class{constructor(t=[],r=void 0){this._args=t,this.name=r,this.taps=[],this.interceptors=[],this._call=Ls,this.call=Ls,this._callAsync=Us,this.callAsync=Us,this._promise=Ws,this.promise=Ws,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(t){throw new Error("Abstract: should be overridden")}_createCall(t){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:t})}_tap(t,r,n){if(typeof r=="string")r={name:r.trim()};else if(typeof r!="object"||r===null)throw new Error("Invalid tap options");if(typeof r.name!="string"||r.name==="")throw new Error("Missing name for tap");typeof r.context<"u"&&qf(),r=Object.assign({type:t,fn:n},r),r=this._runRegisterInterceptors(r),this._insert(r)}tap(t,r){this._tap("sync",t,r)}tapAsync(t,r){this._tap("async",t,r)}tapPromise(t,r){this._tap("promise",t,r)}_runRegisterInterceptors(t){for(let r of this.interceptors)if(r.register){let n=r.register(t);n!==void 0&&(t=n)}return t}withOptions(t){let r=n=>Object.assign({},t,typeof n=="string"?{name:n}:n);return{name:this.name,tap:(n,i)=>this.tap(r(n),i),tapAsync:(n,i)=>this.tapAsync(r(n),i),tapPromise:(n,i)=>this.tapPromise(r(n),i),intercept:n=>this.intercept(n),isUsed:()=>this.isUsed(),withOptions:n=>this.withOptions(r(n))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(t){if(this._resetCompilation(),this.interceptors.push(Object.assign({},t)),t.register)for(let r=0;r<this.taps.length;r++)this.taps[r]=t.register(this.taps[r])}_resetCompilation(){this.call=this._call,this.callAsync=this._callAsync,this.promise=this._promise}_insert(t){this._resetCompilation();let r;typeof t.before=="string"?r=new Set([t.before]):Array.isArray(t.before)&&(r=new Set(t.before));let n=0;typeof t.stage=="number"&&(n=t.stage);let i=this.taps.length;for(;i>0;){i--;let s=this.taps[i];this.taps[i+1]=s;let o=s.stage||0;if(r){if(r.has(s.name)){r.delete(s.name);continue}if(r.size>0)continue}if(!(o>n)){i++;break}}this.taps[i]=t}};Object.setPrototypeOf(ur.prototype,null);Hs.exports=ur});var ve=U((rk,Vs)=>{"use strict";var En=class{constructor(t){this.config=t,this.options=void 0,this._args=void 0}create(t){this.init(t);let r;switch(this.options.type){case"sync":r=new Function(this.args(),`"use strict";
|
|
4
|
+
${this.header()}${this.contentWithInterceptors({onError:n=>`throw ${n};
|
|
5
|
+
`,onResult:n=>`return ${n};
|
|
6
|
+
`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0})}`);break;case"async":r=new Function(this.args({after:"_callback"}),`"use strict";
|
|
7
|
+
${this.header()}${this.contentWithInterceptors({onError:n=>`_callback(${n});
|
|
8
|
+
`,onResult:n=>`_callback(null, ${n});
|
|
9
|
+
`,onDone:()=>`_callback();
|
|
10
|
+
`})}`);break;case"promise":{let n=!1,i=this.contentWithInterceptors({onError:o=>(n=!0,`_error(${o});
|
|
11
|
+
`),onResult:o=>`_resolve(${o});
|
|
12
|
+
`,onDone:()=>`_resolve();
|
|
13
|
+
`}),s="";s+=`"use strict";
|
|
14
|
+
`,s+=this.header(),s+=`return new Promise((function(_resolve, _reject) {
|
|
15
|
+
`,n&&(s+=`var _sync = true;
|
|
16
|
+
`,s+=`function _error(_err) {
|
|
17
|
+
`,s+=`if(_sync)
|
|
18
|
+
`,s+=`_resolve(Promise.resolve().then((function() { throw _err; })));
|
|
19
|
+
`,s+=`else
|
|
20
|
+
`,s+=`_reject(_err);
|
|
21
|
+
`,s+=`};
|
|
22
|
+
`),s+=i,n&&(s+=`_sync = false;
|
|
23
|
+
`),s+=`}));
|
|
24
|
+
`,r=new Function(this.args(),s);break}}return this.deinit(),r}setup(t,r){t._x=r.taps.map(n=>n.fn)}init(t){this.options=t,this._args=[...t.args]}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(t){if(this.options.interceptors.length>0){let{onError:r,onResult:n,onDone:i}=t,s="";for(let o=0;o<this.options.interceptors.length;o++){let l=this.options.interceptors[o];l.call&&(s+=`${this.getInterceptor(o)}.call(${this.args({before:l.context?"_context":void 0})});
|
|
25
|
+
`)}return s+=this.content(Object.assign(t,{onError:r&&(o=>{let l="";for(let a=0;a<this.options.interceptors.length;a++)this.options.interceptors[a].error&&(l+=`${this.getInterceptor(a)}.error(${o});
|
|
26
|
+
`);return l+=r(o),l}),onResult:n&&(o=>{let l="";for(let a=0;a<this.options.interceptors.length;a++)this.options.interceptors[a].result&&(l+=`${this.getInterceptor(a)}.result(${o});
|
|
27
|
+
`);return l+=n(o),l}),onDone:i&&(()=>{let o="";for(let l=0;l<this.options.interceptors.length;l++)this.options.interceptors[l].done&&(o+=`${this.getInterceptor(l)}.done();
|
|
28
|
+
`);return o+=i(),o})})),s}return this.content(t)}header(){let t="";return t+=this.needContext()?`var _context = {};
|
|
29
|
+
`:`var _context;
|
|
30
|
+
`,t+=`var _x = this._x;
|
|
31
|
+
`,this.options.interceptors.length>0&&(t+=`var _taps = this.taps;
|
|
32
|
+
`,t+=`var _interceptors = this.interceptors;
|
|
33
|
+
`),t}needContext(){for(let t of this.options.taps)if(t.context)return!0;return!1}callTap(t,{onError:r,onResult:n,onDone:i,rethrowIfPossible:s}){let o="",l=!1;for(let c=0;c<this.options.interceptors.length;c++){let d=this.options.interceptors[c];d.tap&&(l||(o+=`var _tap${t} = ${this.getTap(t)};
|
|
34
|
+
`,l=!0),o+=`${this.getInterceptor(c)}.tap(${d.context?"_context, ":""}_tap${t});
|
|
35
|
+
`)}o+=`var _fn${t} = ${this.getTapFn(t)};
|
|
36
|
+
`;let a=this.options.taps[t];switch(a.type){case"sync":s||(o+=`var _hasError${t} = false;
|
|
37
|
+
`,o+=`try {
|
|
38
|
+
`),n?o+=`var _result${t} = _fn${t}(${this.args({before:a.context?"_context":void 0})});
|
|
39
|
+
`:o+=`_fn${t}(${this.args({before:a.context?"_context":void 0})});
|
|
40
|
+
`,s||(o+=`} catch(_err) {
|
|
41
|
+
`,o+=`_hasError${t} = true;
|
|
42
|
+
`,o+=r("_err"),o+=`}
|
|
43
|
+
`,o+=`if(!_hasError${t}) {
|
|
44
|
+
`),n&&(o+=n(`_result${t}`)),i&&(o+=i()),s||(o+=`}
|
|
45
|
+
`);break;case"async":{let c="";c+=n?`(function(_err${t}, _result${t}) {
|
|
46
|
+
`:`(function(_err${t}) {
|
|
47
|
+
`,c+=`if(_err${t}) {
|
|
48
|
+
`,c+=r(`_err${t}`),c+=`} else {
|
|
49
|
+
`,n&&(c+=n(`_result${t}`)),i&&(c+=i()),c+=`}
|
|
50
|
+
`,c+="})",o+=`_fn${t}(${this.args({before:a.context?"_context":void 0,after:c})});
|
|
51
|
+
`;break}case"promise":o+=`var _hasResult${t} = false;
|
|
52
|
+
`,o+=`var _promise${t} = _fn${t}(${this.args({before:a.context?"_context":void 0})});
|
|
53
|
+
`,o+=`if (!_promise${t} || !_promise${t}.then)
|
|
54
|
+
`,o+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${t} + ')');
|
|
55
|
+
`,o+=`_promise${t}.then((function(_result${t}) {
|
|
56
|
+
`,o+=`_hasResult${t} = true;
|
|
57
|
+
`,n&&(o+=n(`_result${t}`)),i&&(o+=i()),o+=`}), function(_err${t}) {
|
|
58
|
+
`,o+=`if(_hasResult${t}) throw _err${t};
|
|
59
|
+
`,o+=r(`!_err${t} ? new Error('Tap function (tapPromise) rejects "' + _err${t} + '" value') : _err${t}`),o+=`});
|
|
60
|
+
`;break}return o}callTapsSeries({onError:t,onResult:r,resultReturns:n,onDone:i,doneReturns:s,rethrowIfPossible:o}){if(this.options.taps.length===0)return i();let l=this.options.taps.findIndex(h=>h.type!=="sync"),a=n||s,c="",d=i,u=0;for(let h=this.options.taps.length-1;h>=0;h--){let m=h;d!==i&&(this.options.taps[m].type!=="sync"||u++>20)&&(u=0,c+=`function _next${m}() {
|
|
61
|
+
`,c+=d(),c+=`}
|
|
62
|
+
`,d=()=>`${a?"return ":""}_next${m}();
|
|
63
|
+
`);let y=d,k=$=>$?"":i(),S=this.callTap(m,{onError:$=>t(m,$,y,k),onResult:r&&($=>r(m,$,y,k)),onDone:!r&&y,rethrowIfPossible:o&&(l<0||m<l)});d=()=>S}return c+=d(),c}callTapsLooping({onError:t,onDone:r,rethrowIfPossible:n}){if(this.options.taps.length===0)return r();let i=this.options.taps.every(o=>o.type==="sync"),s="";i||(s+=`var _looper = (function() {
|
|
64
|
+
`,s+=`var _loopAsync = false;
|
|
65
|
+
`),s+=`var _loop;
|
|
66
|
+
`,s+=`do {
|
|
67
|
+
`,s+=`_loop = false;
|
|
68
|
+
`;for(let o=0;o<this.options.interceptors.length;o++){let l=this.options.interceptors[o];l.loop&&(s+=`${this.getInterceptor(o)}.loop(${this.args({before:l.context?"_context":void 0})});
|
|
69
|
+
`)}return s+=this.callTapsSeries({onError:t,onResult:(o,l,a,c)=>{let d="";return d+=`if(${l} !== undefined) {
|
|
70
|
+
`,d+=`_loop = true;
|
|
71
|
+
`,i||(d+=`if(_loopAsync) _looper();
|
|
72
|
+
`),d+=c(!0),d+=`} else {
|
|
73
|
+
`,d+=a(),d+=`}
|
|
74
|
+
`,d},onDone:r&&(()=>{let o="";return o+=`if(!_loop) {
|
|
75
|
+
`,o+=r(),o+=`}
|
|
76
|
+
`,o}),rethrowIfPossible:n&&i}),s+=`} while(_loop);
|
|
77
|
+
`,i||(s+=`_loopAsync = true;
|
|
78
|
+
`,s+=`});
|
|
79
|
+
`,s+=`_looper();
|
|
80
|
+
`),s}callTapsParallel({onError:t,onResult:r,onDone:n,rethrowIfPossible:i,onTap:s=(o,l)=>l()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:t,onResult:r,onDone:n,rethrowIfPossible:i});let o="";o+=`do {
|
|
81
|
+
`,o+=`var _counter = ${this.options.taps.length};
|
|
82
|
+
`,n&&(o+=`var _done = (function() {
|
|
83
|
+
`,o+=n(),o+=`});
|
|
84
|
+
`);for(let l=0;l<this.options.taps.length;l++){let a=()=>n?`if(--_counter === 0) _done();
|
|
85
|
+
`:"--_counter;",c=d=>d||!n?`_counter = 0;
|
|
86
|
+
`:`_counter = 0;
|
|
87
|
+
_done();
|
|
88
|
+
`;o+=`if(_counter <= 0) break;
|
|
89
|
+
`,o+=s(l,()=>this.callTap(l,{onError:d=>{let u="";return u+=`if(_counter > 0) {
|
|
90
|
+
`,u+=t(l,d,a,c),u+=`}
|
|
91
|
+
`,u},onResult:r&&(d=>{let u="";return u+=`if(_counter > 0) {
|
|
92
|
+
`,u+=r(l,d,a,c),u+=`}
|
|
93
|
+
`,u}),onDone:!r&&(()=>a()),rethrowIfPossible:i}),a,c)}return o+=`} while(false);
|
|
94
|
+
`,o}args({before:t,after:r}={}){let n=this._args;return t&&(n=[t,...n]),r&&(n=[...n,r]),n.length===0?"":n.join(", ")}getTapFn(t){return`_x[${t}]`}getTap(t){return`_taps[${t}]`}getInterceptor(t){return`_interceptors[${t}]`}};Vs.exports=En});var qs=U((nk,Ks)=>{"use strict";var Jf=ge(),Gf=ve(),Cn=class extends Gf{content({onError:t,onResult:r,onDone:n}){let i="";return i+=`var _results = new Array(${this.options.taps.length});
|
|
95
|
+
`,i+=`var _checkDone = function() {
|
|
96
|
+
`,i+=`for(var i = 0; i < _results.length; i++) {
|
|
97
|
+
`,i+=`var item = _results[i];
|
|
98
|
+
`,i+=`if(item === undefined) return false;
|
|
99
|
+
`,i+=`if(item.result !== undefined) {
|
|
100
|
+
`,i+=r("item.result"),i+=`return true;
|
|
101
|
+
`,i+=`}
|
|
102
|
+
`,i+=`if(item.error) {
|
|
103
|
+
`,i+=t("item.error"),i+=`return true;
|
|
104
|
+
`,i+=`}
|
|
105
|
+
`,i+=`}
|
|
106
|
+
`,i+=`return false;
|
|
107
|
+
`,i+=`}
|
|
108
|
+
`,i+=this.callTapsParallel({onError:(s,o,l,a)=>{let c="";return c+=`if(${s} < _results.length && ((_results.length = ${s+1}), (_results[${s}] = { error: ${o} }), _checkDone())) {
|
|
109
|
+
`,c+=a(!0),c+=`} else {
|
|
110
|
+
`,c+=l(),c+=`}
|
|
111
|
+
`,c},onResult:(s,o,l,a)=>{let c="";return c+=`if(${s} < _results.length && (${o} !== undefined && (_results.length = ${s+1}), (_results[${s}] = { result: ${o} }), _checkDone())) {
|
|
112
|
+
`,c+=a(!0),c+=`} else {
|
|
113
|
+
`,c+=l(),c+=`}
|
|
114
|
+
`,c},onTap:(s,o,l,a)=>{let c="";return s>0&&(c+=`if(${s} >= _results.length) {
|
|
115
|
+
`,c+=l(),c+=`} else {
|
|
116
|
+
`),c+=o(),s>0&&(c+=`}
|
|
117
|
+
`),c},onDone:n}),i}},Bs=new Cn;function Yf(e){return Bs.setup(this,e),Bs.create(e)}function Rn(e=[],t=void 0){let r=new Jf(e,t);return r.constructor=Rn,r.compile=Yf,r._call=void 0,r.call=void 0,r}Rn.prototype=null;Ks.exports=Rn});var Ys=U((ik,Gs)=>{"use strict";var Zf=ge(),Qf=ve(),jn=class extends Qf{content({onError:t,onDone:r}){return this.callTapsParallel({onError:(n,i,s,o)=>t(i)+o(!0),onDone:r})}},Js=new jn;function Xf(e){return Js.setup(this,e),Js.create(e)}function Tn(e=[],t=void 0){let r=new Zf(e,t);return r.constructor=Tn,r.compile=Xf,r._call=void 0,r.call=void 0,r}Tn.prototype=null;Gs.exports=Tn});var Xs=U((ok,Qs)=>{"use strict";var eh=ge(),th=ve(),Pn=class extends th{content({onError:t,onResult:r,resultReturns:n,onDone:i}){return this.callTapsSeries({onError:(s,o,l,a)=>t(o)+a(!0),onResult:(s,o,l)=>`if(${o} !== undefined) {
|
|
118
|
+
${r(o)}
|
|
119
|
+
} else {
|
|
120
|
+
${l()}}
|
|
121
|
+
`,resultReturns:n,onDone:i})}},Zs=new Pn;function rh(e){return Zs.setup(this,e),Zs.create(e)}function On(e=[],t=void 0){let r=new eh(e,t);return r.constructor=On,r.compile=rh,r._call=void 0,r.call=void 0,r}On.prototype=null;Qs.exports=On});var ra=U((sk,ta)=>{"use strict";var nh=ge(),ih=ve(),Fn=class extends ih{content({onError:t,onDone:r}){return this.callTapsSeries({onError:(n,i,s,o)=>t(i)+o(!0),onDone:r})}},ea=new Fn;function oh(e){return ea.setup(this,e),ea.create(e)}function zn(e=[],t=void 0){let r=new nh(e,t);return r.constructor=zn,r.compile=oh,r._call=void 0,r.call=void 0,r}zn.prototype=null;ta.exports=zn});var oa=U((ak,ia)=>{"use strict";var sh=ge(),ah=ve(),Dn=class extends ah{content({onError:t,onDone:r}){return this.callTapsLooping({onError:(n,i,s,o)=>t(i)+o(!0),onDone:r})}},na=new Dn;function lh(e){return na.setup(this,e),na.create(e)}function Nn(e=[],t=void 0){let r=new sh(e,t);return r.constructor=Nn,r.compile=lh,r._call=void 0,r.call=void 0,r}Nn.prototype=null;ia.exports=Nn});var la=U((lk,aa)=>{"use strict";var ch=ge(),uh=ve(),Mn=class extends uh{content({onError:t,onResult:r,_onDone:n}){return this.callTapsSeries({onError:(i,s,o,l)=>t(s)+l(!0),onResult:(i,s,o)=>{let l="";return l+=`if(${s} !== undefined) {
|
|
122
|
+
`,l+=`${this._args[0]} = ${s};
|
|
123
|
+
`,l+=`}
|
|
124
|
+
`,l+=o(),l},onDone:()=>r(this._args[0])})}},sa=new Mn;function dh(e){return sa.setup(this,e),sa.create(e)}function In(e=[],t=void 0){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");let r=new ch(e,t);return r.constructor=In,r.compile=dh,r._call=void 0,r.call=void 0,r}In.prototype=null;aa.exports=In});var ua=U((ck,ca)=>{"use strict";var Ln=de("util"),fh=(e,t)=>t,ht=class{constructor(t,r=void 0){this._map=new Map,this.name=r,this._factory=t,this._interceptors=[]}get(t){return this._map.get(t)}for(t){let r=this.get(t);if(r!==void 0)return r;let n=this._factory(t),i=this._interceptors;for(let s=0;s<i.length;s++)n=i[s].factory(t,n);return this._map.set(t,n),n}intercept(t){this._interceptors.push(Object.assign({factory:fh},t))}};ht.prototype.tap=Ln.deprecate(function(t,r,n){return this.for(t).tap(r,n)},"HookMap#tap(key,\u2026) is deprecated. Use HookMap#for(key).tap(\u2026) instead.");ht.prototype.tapAsync=Ln.deprecate(function(t,r,n){return this.for(t).tapAsync(r,n)},"HookMap#tapAsync(key,\u2026) is deprecated. Use HookMap#for(key).tapAsync(\u2026) instead.");ht.prototype.tapPromise=Ln.deprecate(function(t,r,n){return this.for(t).tapPromise(r,n)},"HookMap#tapPromise(key,\u2026) is deprecated. Use HookMap#for(key).tapPromise(\u2026) instead.");ca.exports=ht});var fa=U((uk,da)=>{"use strict";var Un=class e{constructor(t,r=void 0){this.hooks=t,this.name=r}tap(t,r){for(let n of this.hooks)n.tap(t,r)}tapAsync(t,r){for(let n of this.hooks)n.tapAsync(t,r)}tapPromise(t,r){for(let n of this.hooks)n.tapPromise(t,r)}isUsed(){for(let t of this.hooks)if(t.isUsed())return!0;return!1}intercept(t){for(let r of this.hooks)r.intercept(t)}withOptions(t){return new e(this.hooks.map(r=>r.withOptions(t)),this.name)}};da.exports=Un});var ma=U((dk,pa)=>{"use strict";var hh=ge(),ph=ve(),Wn=class extends ph{content({onError:t,onResult:r,resultReturns:n,onDone:i,rethrowIfPossible:s}){return this.callTapsSeries({onError:(o,l)=>t(l),onResult:(o,l,a)=>`if(${l} !== undefined) {
|
|
125
|
+
${r(l)};
|
|
126
|
+
} else {
|
|
127
|
+
${a()}}
|
|
128
|
+
`,resultReturns:n,onDone:i,rethrowIfPossible:s})}},ha=new Wn,mh=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")},gh=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};function vh(e){return ha.setup(this,e),ha.create(e)}function Hn(e=[],t=void 0){let r=new hh(e,t);return r.constructor=Hn,r.tapAsync=mh,r.tapPromise=gh,r.compile=vh,r}Hn.prototype=null;pa.exports=Hn});var wa=U((fk,va)=>{"use strict";var wh=ge(),yh=ve(),Vn=class extends yh{content({onError:t,onDone:r,rethrowIfPossible:n}){return this.callTapsSeries({onError:(i,s)=>t(s),onDone:r,rethrowIfPossible:n})}},ga=new Vn,kh=()=>{throw new Error("tapAsync is not supported on a SyncHook")},bh=()=>{throw new Error("tapPromise is not supported on a SyncHook")};function xh(e){return ga.setup(this,e),ga.create(e)}function Bn(e=[],t=void 0){let r=new wh(e,t);return r.constructor=Bn,r.tapAsync=kh,r.tapPromise=bh,r.compile=xh,r}Bn.prototype=null;va.exports=Bn});var ba=U((hk,ka)=>{"use strict";var $h=ge(),Sh=ve(),Kn=class extends Sh{content({onError:t,onDone:r,rethrowIfPossible:n}){return this.callTapsLooping({onError:(i,s)=>t(s),onDone:r,rethrowIfPossible:n})}},ya=new Kn,Ah=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")},_h=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};function Eh(e){return ya.setup(this,e),ya.create(e)}function qn(e=[],t=void 0){let r=new $h(e,t);return r.constructor=qn,r.tapAsync=Ah,r.tapPromise=_h,r.compile=Eh,r}qn.prototype=null;ka.exports=qn});var Sa=U((pk,$a)=>{"use strict";var Ch=ge(),Rh=ve(),Jn=class extends Rh{content({onError:t,onResult:r,resultReturns:n,rethrowIfPossible:i}){return this.callTapsSeries({onError:(s,o)=>t(o),onResult:(s,o,l)=>{let a="";return a+=`if(${o} !== undefined) {
|
|
129
|
+
`,a+=`${this._args[0]} = ${o};
|
|
130
|
+
`,a+=`}
|
|
131
|
+
`,a+=l(),a},onDone:()=>r(this._args[0]),doneReturns:n,rethrowIfPossible:i})}},xa=new Jn,jh=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")},Th=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};function Ph(e){return xa.setup(this,e),xa.create(e)}function Gn(e=[],t=void 0){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");let r=new Ch(e,t);return r.constructor=Gn,r.tapAsync=jh,r.tapPromise=Th,r.compile=Ph,r}Gn.prototype=null;$a.exports=Gn});var Aa=U((mk,fe)=>{"use strict";fe.exports.AsyncParallelBailHook=qs();fe.exports.AsyncParallelHook=Ys();fe.exports.AsyncSeriesBailHook=Xs();fe.exports.AsyncSeriesHook=ra();fe.exports.AsyncSeriesLoopHook=oa();fe.exports.AsyncSeriesWaterfallHook=la();fe.exports.HookMap=ua();fe.exports.MultiHook=fa();fe.exports.SyncBailHook=ma();fe.exports.SyncHook=wa();fe.exports.SyncLoopHook=ba();fe.exports.SyncWaterfallHook=Sa();fe.exports.__esModule=!0});var Ea=U((gk,_a)=>{"use strict";_a.exports=function(t,r){let n=!1,i;return t.log&&(r?i=s=>{n||(t.log(r),n=!0),t.log(` ${s}`)}:i=t.log),{log:i,yield:t.yield,fileDependencies:t.fileDependencies,contextDependencies:t.contextDependencies,missingDependencies:t.missingDependencies,stack:t.stack}}});var Fa=U((vk,Oa)=>{"use strict";var{AsyncSeriesBailHook:Ca,AsyncSeriesHook:Oh,SyncHook:Ra}=Aa(),Fh=Ea(),{parseIdentifier:zh}=St(),{PathType:ja,cachedJoin:Dh,getType:Ta,normalize:Nh}=Ne();function Pa(e){return e.replace(/-([a-z])/g,t=>t.slice(1).toUpperCase())}var Yn=class e{static createStackEntry(t,r){return`${t.name}: (${r.path}) ${r.request||""}${r.query||""}${r.fragment||""}${r.directory?" directory":""}${r.module?" module":""}`}constructor(t,r){this.fileSystem=t,this.options=r,this.hooks={resolveStep:new Ra(["hook","request"],"resolveStep"),noResolve:new Ra(["request","error"],"noResolve"),resolve:new Ca(["request","resolveContext"],"resolve"),result:new Oh(["result","resolveContext"],"result")}}ensureHook(t){if(typeof t!="string")return t;if(t=Pa(t),t.startsWith("before"))return this.ensureHook(t[6].toLowerCase()+t.slice(7)).withOptions({stage:-10});if(t.startsWith("after"))return this.ensureHook(t[5].toLowerCase()+t.slice(6)).withOptions({stage:10});let r=this.hooks[t];return r||(this.hooks[t]=new Ca(["request","resolveContext"],t),this.hooks[t])}getHook(t){if(typeof t!="string")return t;if(t=Pa(t),t.startsWith("before"))return this.getHook(t[6].toLowerCase()+t.slice(7)).withOptions({stage:-10});if(t.startsWith("after"))return this.getHook(t[5].toLowerCase()+t.slice(6)).withOptions({stage:10});let r=this.hooks[t];if(!r)throw new Error(`Hook ${t} doesn't exist`);return r}resolveSync(t,r,n){let i,s,o=!1;if(this.resolve(t,r,n,{},(l,a)=>{i=l,s=a,o=!0}),!o)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(i)throw i;if(s===void 0)throw new Error("No result");return s}resolve(t,r,n,i,s){if(!t||typeof t!="object")return s(new Error("context argument is not an object"));if(typeof r!="string")return s(new Error("path argument is not a string"));if(typeof n!="string")return s(new Error("request argument is not a string"));if(!i)return s(new Error("resolveContext argument is not set"));let o={context:t,path:r,request:n},l,a=!1,c;if(typeof i.yield=="function"){let m=i.yield;l=g=>{m(g),a=!0},c=g=>{g&&l(g),s(null)}}let d=`resolve '${n}' in '${r}'`,u=m=>s(null,m.path===!1?!1:`${m.path.replace(/#/g,"\0#")}${m.query?m.query.replace(/#/g,"\0#"):""}${m.fragment||""}`,m),h=m=>{let g=new Error(`Can't ${d}`);return g.details=m.join(`
|
|
132
|
+
`),this.hooks.noResolve.call(o,g),s(g)};if(i.log){let m=i.log,g=[];return this.doResolve(this.hooks.resolve,o,d,{log:y=>{m(y),g.push(y)},yield:l,fileDependencies:i.fileDependencies,contextDependencies:i.contextDependencies,missingDependencies:i.missingDependencies,stack:i.stack},(y,k)=>y?s(y):a||k&&l?c(k):k?u(k):h(g))}return this.doResolve(this.hooks.resolve,o,d,{log:void 0,yield:l,fileDependencies:i.fileDependencies,contextDependencies:i.contextDependencies,missingDependencies:i.missingDependencies,stack:i.stack},(m,g)=>{if(m)return s(m);if(a||g&&l)return c(g);if(g)return u(g);let y=[];return this.doResolve(this.hooks.resolve,o,d,{log:k=>y.push(k),yield:l,stack:i.stack},(k,S)=>k?s(k):a||S&&l?c(S):h(y))})}doResolve(t,r,n,i,s){let o=e.createStackEntry(t,r),l;if(i.stack){if(l=new Set(i.stack),i.stack.has(o)){let a=new Error(`Recursion in resolving
|
|
133
|
+
Stack:
|
|
134
|
+
${[...l].join(`
|
|
135
|
+
`)}`);return a.recursion=!0,i.log&&i.log("abort resolving because of recursion"),s(a)}l.add(o)}else l=new Set,l.add(o);if(this.hooks.resolveStep.call(t,r),t.isUsed()){let a=Fh({log:i.log,yield:i.yield,fileDependencies:i.fileDependencies,contextDependencies:i.contextDependencies,missingDependencies:i.missingDependencies,stack:l},n);return t.callAsync(r,a,(c,d)=>{if(c)return s(c);if(d)return s(null,d);s()})}s()}parse(t){let r={request:"",query:"",fragment:"",module:!1,directory:!1,file:!1,internal:!1},n=zh(t);return n&&([r.request,r.query,r.fragment]=n,r.request.length>0&&(r.internal=this.isPrivate(t),r.module=this.isModule(r.request),r.directory=this.isDirectory(r.request),r.directory&&(r.request=r.request.slice(0,-1)))),r}isModule(t){return Ta(t)===ja.Normal}isPrivate(t){return Ta(t)===ja.Internal}isDirectory(t){return t.endsWith("/")}join(t,r){return Dh(t,r)}normalize(t){return Nh(t)}};Oa.exports=Yn});var Da=U((yk,za)=>{"use strict";var Mh=(e,t)=>{if(!e.startsWith(t))return!1;if(e.length===t.length)return!0;let r=e.charCodeAt(t.length);return r===47||r===92};za.exports=class{constructor(t,r){this.source=t,this.restrictions=r}apply(t){t.getHook(this.source).tapAsync("RestrictionsPlugin",(r,n,i)=>{if(typeof r.path=="string"){let{path:s}=r;for(let o of this.restrictions)if(typeof o=="string"){if(!Mh(s,o))return n.log&&n.log(`${s} is not inside of the restriction ${o}`),i(null,null)}else if(!o.test(s))return n.log&&n.log(`${s} doesn't match the restriction ${o}`),i(null,null)}i()})}}});var Ma=U((bk,Na)=>{"use strict";Na.exports=class{constructor(t){this.source=t}apply(t){this.source.tapAsync("ResultPlugin",(r,n,i)=>{let s={...r};n.log&&n.log(`reporting result ${s.path}`),t.hooks.result.callAsync(s,n,o=>{if(o)return i(o);typeof n.yield=="function"?(n.yield(s),i(null,null)):i(null,s)})})}}});var La=U((xk,Ia)=>{"use strict";var Ih=Se(),Zn=class{constructor(t,r,n){this.roots=[...r],this.source=t,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("RootsPlugin",(n,i,s)=>{let o=n.request;if(!o||!o.startsWith("/"))return s();Ih(this.roots,(l,a)=>{let c=t.join(l,o.slice(1)),d={...n,path:c,relativePath:n.relativePath&&c};t.doResolve(r,d,`root path ${l}`,i,a)},s)})}};Ia.exports=Zn});var Ha=U((Sk,Wa)=>{"use strict";var Ua=Ze(),Lh=47;Wa.exports=class{constructor(t,r,n){this.source=t,this.target=n,this.fieldName=r}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("SelfReferencePlugin",(n,i,s)=>{if(!n.descriptionFilePath)return s();let o=n.request;if(!o||!Ua.getField(n.descriptionFileData,this.fieldName))return s();let a=Ua.getField(n.descriptionFileData,"name");if(typeof a!="string")return s();if(o.startsWith(a)&&(o.length===a.length||o.charCodeAt(a.length)===Lh)){let c=`.${o.slice(a.length)}`,d={...n,request:c,path:n.descriptionFileRoot,relativePath:"."};t.doResolve(r,d,"self reference",i,s)}else return s()})}}});var Ka=U((_k,Ba)=>{"use strict";var Uh=Se(),Wh=cr(),{PathType:Va,getType:Hh}=Ne();Ba.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target),n=t.fileSystem;t.getHook(this.source).tapAsync("SymlinkPlugin",(i,s,o)=>{if(i.ignoreSymlinks)return o();let l=Wh(i.path),a=l.segments,{paths:c}=l,d=!1,u=-1;Uh(c,(h,m)=>{u++,s.fileDependencies&&s.fileDependencies.add(h),n.readlink(h,(g,y)=>{if(!g&&y){a[u]=y,d=!0;let k=Hh(y.toString());if(k===Va.AbsoluteWin||k===Va.AbsolutePosix)return m(null,u)}m()})},(h,m)=>{if(!d)return o();let y=(typeof m=="number"?a.slice(0,m+1):[...a]).reduceRight((S,$)=>t.join(S,$)),k={...i,path:y};t.doResolve(r,k,`resolved symlink to ${y}`,s,o)})})}}});var Ja=U((Ek,qa)=>{"use strict";function Vh(e){this.fs=e,this.lstat=void 0,this.lstatSync=void 0;let{lstatSync:t}=e;t&&(this.lstat=((i,s,o)=>{let l;try{l=o?t.call(e,i,s):t.call(e,i)}catch(a){return(o||s)(a)}(o||s)(null,l)}),this.lstatSync=((i,s)=>t.call(e,i,s))),this.stat=((i,s,o)=>{let l;try{l=o?e.statSync(i,s):e.statSync(i)}catch(a){return(o||s)(a)}(o||s)(null,l)}),this.statSync=((i,s)=>e.statSync(i,s)),this.readdir=((i,s,o)=>{let l;try{l=o?e.readdirSync(i,s):e.readdirSync(i)}catch(a){return(o||s)(a,[])}(o||s)(null,l)}),this.readdirSync=((i,s)=>e.readdirSync(i,s)),this.readFile=((i,s,o)=>{let l;try{l=o?e.readFileSync(i,s):e.readFileSync(i)}catch(a){return(o||s)(a)}(o||s)(null,l)}),this.readFileSync=((i,s)=>e.readFileSync(i,s)),this.readlink=((i,s,o)=>{let l;try{l=o?e.readlinkSync(i,s):e.readlinkSync(i)}catch(a){return(o||s)(a)}(o||s)(null,l)}),this.readlinkSync=((i,s)=>e.readlinkSync(i,s)),this.readJson=void 0,this.readJsonSync=void 0;let{readJsonSync:r}=e;r&&(this.readJson=((i,s)=>{let o;try{o=r.call(e,i)}catch(l){return s(l)}s(null,o)}),this.readJsonSync=(i=>r.call(e,i))),this.realpath=void 0,this.realpathSync=void 0;let{realpathSync:n}=e;n&&(this.realpath=((i,s,o)=>{let l;try{l=o?n.call(e,i,s):n.call(e,i)}catch(a){return(o||s)(a)}(o||s)(null,l)}),this.realpathSync=((i,s)=>n.call(e,i,s)))}qa.exports=Vh});var Ya=U((Rk,Ga)=>{"use strict";Ga.exports=class{constructor(t,r,n){this.source=t,this.message=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("TryNextPlugin",(n,i,s)=>{t.doResolve(r,n,this.message,i,s)})}}});var Qa=U((jk,Za)=>{"use strict";async function Bh(e,t){let{readJson:r}=e;if(r)return new Promise((i,s)=>{r(t,(o,l)=>{if(o)return s(o);i(l)})});let n=await new Promise((i,s)=>{e.readFile(t,(o,l)=>{if(o)return s(o);i(l)})});return JSON.parse(n.toString())}Za.exports.readJson=Bh});var ei=U((Ok,rl)=>{"use strict";var{aliasResolveHandler:Kh}=kn(),{modulesResolveHandler:qh}=_n(),{readJson:Jh}=Qa(),{PathType:Tk,cachedDirname:At,cachedJoin:Me,isSubPath:Gh,normalize:Yh}=Ne(),Qn="tsconfig.json";function Xa(e){let t=e.indexOf("*");return t===-1?e.length:e.slice(0,Math.max(0,t)).length}function Zh(e){return[...e].sort((t,r)=>Xa(r)-Xa(t))}function el(e,t){return e=e||{},t=t||{},{...e,...t,compilerOptions:{...e.compilerOptions,...t.compilerOptions}}}function Xn(e,t){return e.replace(/\$\{configDir\}/g,t)}function tl(e,t,r){let n=r?Me(e,r):e,i=Zh(Object.keys(t)),s=[],o=[];for(let l of i){let c=t[l].map(d=>{let u=Xn(d,e);return Me(n,u)});c.length>0&&(l==="*"?o.push(...c.map(d=>/[/\\]\*$/.test(d)?d.replace(/[/\\]\*$/,""):"").filter(Boolean)):s.push({name:l,alias:c}))}return n&&!o.includes(n)&&o.push(n),{alias:s,modules:o}}function Qh(e,t){return t?Me(e,t):e}rl.exports=class{constructor(t){typeof t=="object"&&t!==null?(this.configFile=t.configFile||Qn,Array.isArray(t.references)?this.references=t.references.map(r=>({path:r})):t.references==="auto"?this.references="auto":this.references=[]):(this.configFile=t===!0?Qn:t,this.references=[])}apply(t){let r=t.ensureHook("internal-resolve"),n=t.ensureHook("module");t.getHook("raw-resolve").tapAsync("TsconfigPathsPlugin",async(i,s,o)=>{try{let l=await this._getTsconfigPathsMap(t,i,s);if(!l)return o();let a=this._selectPathsDataForContext(i.path,l);if(!a)return o();Kh(t,a.alias,r,i,s,o)}catch(l){o(l)}}),t.getHook("raw-module").tapAsync("TsconfigPathsPlugin",async(i,s,o)=>{try{let l=await this._getTsconfigPathsMap(t,i,s);if(!l)return o();let a=this._selectPathsDataForContext(i.path,l);if(!a)return o();qh(t,a.modules,n,i,s,o)}catch(l){o(l)}})}async _getTsconfigPathsMap(t,r,n){if(typeof r.tsconfigPathsMap>"u")try{let i=Me(r.path||process.cwd(),this.configFile),s=await this._loadTsconfigPathsMap(t.fileSystem,i);r.tsconfigPathsMap=s}catch(i){throw r.tsconfigPathsMap=null,i}if(!r.tsconfigPathsMap)return null;for(let i of r.tsconfigPathsMap.fileDependencies)n.fileDependencies&&n.fileDependencies.add(i);return r.tsconfigPathsMap}async _loadTsconfigPathsMap(t,r){let n=new Set,i=await this._loadTsconfig(t,r,n),s=i.compilerOptions||{},o=At(r),l=tl(o,s.paths||{},s.baseUrl),a={},c=null;return this.references==="auto"?c=i.references:Array.isArray(this.references)&&(c=this.references),Array.isArray(c)&&await this._loadTsconfigReferences(t,o,c,n,a),{main:l,mainContext:o,refs:a,fileDependencies:n}}_selectPathsDataForContext(t,r){let{main:n,mainContext:i,refs:s}=r;if(!t)return n;let o={[i]:n,...s},l=null,a=0;for(let[c,d]of Object.entries(o)){if(c===t)return d;Gh(c,t)&&c.length>a&&(l=d,a=c.length)}return l||null}async _loadTsconfigFromExtends(t,r,n,i){let s=At(r);n=Xn(n,s),typeof n=="string"&&!n.includes(".json")&&(n+=".json");let o=Me(s,n);!await new Promise(d=>{t.readFile(o,u=>{d(!u)})})&&n.includes("/")&&(o=Me(s,Yh(`node_modules/${n}`)));let a=await this._loadTsconfig(t,o,i),c=a.compilerOptions||{baseUrl:void 0};if(c.baseUrl){let d=At(n);c.baseUrl=Qh(d,c.baseUrl)}return delete a.references,a}async _loadTsconfigReferences(t,r,n,i,s){for(let o of n){let l=Xn(o.path,r),a=Me(Me(r,l),Qn);try{let c=await this._loadTsconfig(t,a,i);if(c.compilerOptions&&c.compilerOptions.paths){let d=At(a);s[d]=tl(d,c.compilerOptions.paths||{},c.compilerOptions.baseUrl)}this.references==="auto"&&Array.isArray(c.references)&&await this._loadTsconfigReferences(t,At(a),c.references,i,s)}catch{continue}}}async _loadTsconfig(t,r,n){let i=await Jh(t,r);n.add(r);let s=i,o=i.extends;if(o){let l;if(Array.isArray(o)){l={};for(let a of o){let c=await this._loadTsconfigFromExtends(t,r,a,n);l=el(l,c)}}else l=await this._loadTsconfigFromExtends(t,r,o,n);s=el(l,i)}return s}}});var il=U((zk,nl)=>{"use strict";function Xh(e,t,r){return JSON.stringify({type:e,context:r?t.context:"",path:t.path,query:t.query,fragment:t.fragment,request:t.request})}nl.exports=class{constructor(t,r,n,i,s){this.source=t,this.filterPredicate=r,this.withContext=i,this.cache=n,this.target=s}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("UnsafeCachePlugin",(n,i,s)=>{if(!this.filterPredicate(n))return s();let o=typeof i.yield=="function",l=Xh(o?"yield":"default",n,this.withContext),a=this.cache[l];if(a){if(o){let h=i.yield;if(Array.isArray(a))for(let m of a)h(m);else h(a);return s(null,null)}return s(null,a)}let c,d,u=[];o&&(c=i.yield,d=h=>{u.push(h)}),t.doResolve(r,n,null,d?{...i,yield:d}:i,(h,m)=>{if(h)return s(h);if(o){m&&u.push(m);for(let g of u)c(g);return this.cache[l]=u,s(null,null)}if(m)return s(null,this.cache[l]=m);s()})})}}});var sl=U((Nk,ol)=>{"use strict";ol.exports=class{constructor(t,r,n){this.source=t,this.filename=r,this.target=n}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("UseFilePlugin",(n,i,s)=>{let o=t.join(n.path,this.filename),l={...n,path:o,relativePath:n.relativePath&&t.join(n.relativePath,this.filename)};t.doResolve(r,l,`using path: ${o}`,i,s)})}}});var pl=U((Mk,hl)=>{"use strict";var{versions:ep}=de("process"),al=Do(),ti=Yo(),tp=Qo(),pt=es(),_t=ns(),ll=os(),rp=ms(),np=vs(),ip=ys(),op=bs(),sp=$s(),dr=As(),ap=Cs(),ri=Ts(),lp=Os(),we=zs(),cl=Ns(),cp=Is(),up=Fa(),dp=Da(),fp=Ma(),hp=La(),pp=Ha(),mp=Ka(),gp=Ja(),vp=Ya(),wp=ei(),yp=il(),ul=sl(),{PathType:dl,getType:kp}=Ne();function bp(e){if(e===void 0&&ep.pnp){let t=de("module").findPnpApi;if(t)return{resolveToUnqualified(r,n,i){let s=t(n);return s?s.resolveToUnqualified(r,n,i):null}}}return e||null}function fl(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null?Object.keys(e).map(t=>{let r={name:t,onlyModule:!1,alias:e[t]};return/\$$/.test(t)&&(r.onlyModule=!0,r.name=t.slice(0,-1)),r}):e||[]}function xp(e,t){let r=[],n=new Set(e);for(let i of n)if(t(i)){let s=r.length>0?r[r.length-1]:void 0;Array.isArray(s)?s.push(i):r.push([i])}else r.push(i);return r}function $p(e){let t=new Set(e.mainFields||["main"]),r=[];for(let n of t)typeof n=="string"?r.push({name:[n],forceRelative:!0}):Array.isArray(n)?r.push({name:n,forceRelative:!0}):r.push({name:Array.isArray(n.name)?n.name:[n.name],forceRelative:n.forceRelative});return{alias:fl(e.alias),fallback:fl(e.fallback),aliasFields:new Set(e.aliasFields),cachePredicate:e.cachePredicate||function(){return!0},cacheWithContext:typeof e.cacheWithContext<"u"?e.cacheWithContext:!0,exportsFields:new Set(e.exportsFields||["exports"]),importsFields:new Set(e.importsFields||["imports"]),conditionNames:new Set(e.conditionNames),descriptionFiles:[...new Set(e.descriptionFiles||["package.json"])],enforceExtension:e.enforceExtension===void 0?!!(e.extensions&&e.extensions.includes("")):e.enforceExtension,extensions:new Set(e.extensions||[".js",".json",".node"]),extensionAlias:e.extensionAlias?Object.keys(e.extensionAlias).map(n=>({extension:n,alias:e.extensionAlias[n]})):[],fileSystem:e.useSyncFileSystemCalls?new gp(e.fileSystem):e.fileSystem,unsafeCache:e.unsafeCache&&typeof e.unsafeCache!="object"?{}:e.unsafeCache||!1,symlinks:typeof e.symlinks<"u"?e.symlinks:!0,resolver:e.resolver,modules:xp(Array.isArray(e.modules)?e.modules:e.modules?[e.modules]:["node_modules"],n=>{let i=kp(n);return i===dl.Normal||i===dl.Relative}),mainFields:r,mainFiles:new Set(e.mainFiles||["index"]),plugins:e.plugins||[],pnpApi:bp(e.pnpApi),roots:new Set(e.roots||void 0),fullySpecified:e.fullySpecified||!1,resolveToContext:e.resolveToContext||!1,preferRelative:e.preferRelative||!1,preferAbsolute:e.preferAbsolute||!1,restrictions:new Set(e.restrictions),tsconfig:typeof e.tsconfig>"u"?!1:e.tsconfig}}hl.exports.createResolver=function(t){let r=$p(t),{alias:n,fallback:i,aliasFields:s,cachePredicate:o,cacheWithContext:l,conditionNames:a,descriptionFiles:c,enforceExtension:d,exportsFields:u,extensionAlias:h,importsFields:m,extensions:g,fileSystem:y,fullySpecified:k,mainFields:S,mainFiles:$,modules:x,plugins:T,pnpApi:E,resolveToContext:j,preferRelative:L,preferAbsolute:z,symlinks:P,unsafeCache:N,resolver:M,restrictions:G,roots:Y,tsconfig:p}=r,v=[...T],w=M||new up(y,r);w.ensureHook("resolve"),w.ensureHook("internalResolve"),w.ensureHook("newInternalResolve"),w.ensureHook("parsedResolve"),w.ensureHook("describedResolve"),w.ensureHook("rawResolve"),w.ensureHook("normalResolve"),w.ensureHook("internal"),w.ensureHook("rawModule"),w.ensureHook("alternateRawModule"),w.ensureHook("module"),w.ensureHook("resolveAsModule"),w.ensureHook("undescribedResolveInPackage"),w.ensureHook("resolveInPackage"),w.ensureHook("resolveInExistingDirectory"),w.ensureHook("relative"),w.ensureHook("describedRelative"),w.ensureHook("directory"),w.ensureHook("undescribedExistingDirectory"),w.ensureHook("existingDirectory"),w.ensureHook("undescribedRawFile"),w.ensureHook("rawFile"),w.ensureHook("file"),w.ensureHook("finalFile"),w.ensureHook("existingFile"),w.ensureHook("resolved"),w.hooks.newInteralResolve=w.hooks.newInternalResolve;for(let{source:b,resolveOptions:_}of[{source:"resolve",resolveOptions:{fullySpecified:k}},{source:"internal-resolve",resolveOptions:{fullySpecified:!1}}])N?(v.push(new yp(b,o,N,l,`new-${b}`)),v.push(new cl(`new-${b}`,_,"parsed-resolve"))):v.push(new cl(b,_,"parsed-resolve"));v.push(new _t("parsed-resolve",c,!1,"described-resolve")),v.push(new we("after-parsed-resolve","described-resolve")),v.push(new we("described-resolve","raw-resolve")),i.length>0&&v.push(new ti("described-resolve",i,"internal-resolve")),n.length>0&&v.push(new ti("raw-resolve",n,"internal-resolve")),p&&v.push(new wp(p));for(let b of s)v.push(new al("raw-resolve",b,"internal-resolve"));for(let b of h)v.push(new np("raw-resolve",b,"normal-resolve"));v.push(new we("raw-resolve","normal-resolve")),L&&v.push(new dr("after-normal-resolve","relative")),v.push(new pt("after-normal-resolve",{module:!0},"resolve as module",!1,"raw-module")),v.push(new pt("after-normal-resolve",{internal:!0},"resolve as internal import",!1,"internal")),z&&v.push(new dr("after-normal-resolve","relative")),Y.size>0&&v.push(new hp("after-normal-resolve",Y,"relative")),!L&&!z&&v.push(new dr("after-normal-resolve","relative"));for(let b of m)v.push(new op("internal",a,b,"relative","internal-resolve"));for(let b of u)v.push(new pp("raw-module",b,"resolve-as-module"));for(let b of x)Array.isArray(b)?b.includes("node_modules")&&E?(v.push(new ri("raw-module",b.filter(_=>_!=="node_modules"),"module")),v.push(new cp("raw-module",E,"undescribed-resolve-in-package","alternate-raw-module")),v.push(new ri("alternate-raw-module",["node_modules"],"module"))):v.push(new ri("raw-module",b,"module")):v.push(new lp("raw-module",b,"module"));v.push(new sp("module","resolve-as-module")),j||v.push(new pt("resolve-as-module",{directory:!1,request:"."},"single file module",!0,"undescribed-raw-file")),v.push(new ll("resolve-as-module","undescribed-resolve-in-package")),v.push(new _t("undescribed-resolve-in-package",c,!1,"resolve-in-package")),v.push(new we("after-undescribed-resolve-in-package","resolve-in-package"));for(let b of u)v.push(new rp("resolve-in-package",a,b,"relative"));if(v.push(new we("resolve-in-package","resolve-in-existing-directory")),v.push(new dr("resolve-in-existing-directory","relative")),v.push(new _t("relative",c,!0,"described-relative")),v.push(new we("after-relative","described-relative")),j?v.push(new we("described-relative","directory")):(v.push(new pt("described-relative",{directory:!1},null,!0,"raw-file")),v.push(new pt("described-relative",{fullySpecified:!1},"as directory",!0,"directory"))),v.push(new ll("directory","undescribed-existing-directory")),j)v.push(new we("undescribed-existing-directory","resolved"));else{v.push(new _t("undescribed-existing-directory",c,!1,"existing-directory"));for(let b of $)v.push(new ul("undescribed-existing-directory",b,"undescribed-raw-file"));for(let b of S)v.push(new ap("existing-directory",b,"resolve-in-existing-directory"));for(let b of $)v.push(new ul("existing-directory",b,"undescribed-raw-file"));v.push(new _t("undescribed-raw-file",c,!0,"raw-file")),v.push(new we("after-undescribed-raw-file","raw-file")),v.push(new pt("raw-file",{fullySpecified:!0},null,!1,"file")),d||v.push(new vp("raw-file","no extension","file"));for(let b of g)v.push(new tp("raw-file",b,"file"));n.length>0&&v.push(new ti("file",n,"internal-resolve"));for(let b of s)v.push(new al("file",b,"internal-resolve"));v.push(new we("file","final-file")),v.push(new ip("final-file","existing-file")),P&&v.push(new mp("existing-file","existing-file")),v.push(new we("existing-file","resolved"))}let{resolved:A}=w.hooks;G.size>0&&v.push(new dp(A,G)),v.push(new fp(A));for(let b of v)typeof b=="function"?b.call(w,w):b&&b.apply(w);return w}});var gl=U((Lk,ml)=>{"use strict";var{basename:Sp}=cr();ml.exports=class{constructor(t,r){this.source=t,this.target=r}apply(t){let r=t.ensureHook(this.target);t.getHook(this.source).tapAsync("CloneBasenamePlugin",(n,i,s)=>{let o=n.path,l=Sp(o),a=t.join(o,l),c={...n,path:a,relativePath:n.relativePath&&t.join(n.relativePath,l)};t.doResolve(r,c,`using path: ${a}`,i,s)})}}});var wl=U((Wk,vl)=>{"use strict";vl.exports=class{constructor(t){this.source=t}apply(t){let{source:r}=this;t.getHook(this.source).tapAsync("LogInfoPlugin",(n,i,s)=>{if(!i.log)return s();let{log:o}=i,l=`[${r}] `;n.path&&o(`${l}Resolving in directory: ${n.path}`),n.request&&o(`${l}Resolving request: ${n.request}`),n.module&&o(`${l}Request is an module request.`),n.directory&&o(`${l}Request is a directory request.`),n.query&&o(`${l}Resolving request query: ${n.query}`),n.fragment&&o(`${l}Resolving request fragment: ${n.fragment}`),n.descriptionFilePath&&o(`${l}Has description data from ${n.descriptionFilePath}`),n.relativePath&&o(`${l}Relative path from description file is: ${n.relativePath}`),s()})}}});var xl=U((Hk,bl)=>{"use strict";var mt=un(),kl=mt(()=>yo()),fr=mt(()=>{let e=jo(),t=kl();return new t(e,4e3)}),hr=mt(()=>({environments:["node+es3+es5+process+native"]})),Et=mt(()=>pl()),Ap=mt(()=>Et().createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:fr()})),_p=(e,t,r,n,i)=>{typeof e=="string"&&(i=n,n=r,r=t,t=e,e=hr()),typeof i!="function"&&(i=n),Ap().resolve(e,t,r,n,i)},Ep=mt(()=>Et().createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:!0,fileSystem:fr()})),Cp=(e,t,r)=>(typeof e=="string"&&(r=t,t=e,e=hr()),Ep().resolveSync(e,t,r));function Rp(e){let t=Et().createResolver({fileSystem:fr(),...e});return function(n,i,s,o,l){typeof n=="string"&&(l=o,o=s,s=i,i=n,n=hr()),typeof l!="function"&&(l=o),t.resolve(n,i,s,o,l)}}function jp(e){let t=Et().createResolver({useSyncFileSystemCalls:!0,fileSystem:fr(),...e});return function(n,i,s){return typeof n=="string"&&(s=i,i=n,n=hr()),t.resolveSync(n,i,s)}}var yl=(e,t)=>{let r=Object.getOwnPropertyDescriptors(t);return Object.defineProperties(e,r),Object.freeze(e)};bl.exports=yl(_p,{get sync(){return Cp},create:yl(Rp,{get sync(){return jp}}),get ResolverFactory(){return Et()},get CachedInputFileSystem(){return kl()},get CloneBasenamePlugin(){return gl()},get LogInfoPlugin(){return wl()},get TsconfigPathsPlugin(){return ei()},get forEachBail(){return Se()}})});var xd=U((n2,bd)=>{"use strict";var Xi=Object.defineProperty,sw=Object.getOwnPropertyDescriptor,aw=Object.getOwnPropertyNames,lw=Object.prototype.hasOwnProperty,cw=(e,t)=>{for(var r in t)Xi(e,r,{get:t[r],enumerable:!0})},uw=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of aw(t))!lw.call(e,i)&&i!==r&&Xi(e,i,{get:()=>t[i],enumerable:!(n=sw(t,i))||n.enumerable});return e},dw=e=>uw(Xi({},"__esModule",{value:!0}),e),kd={};cw(kd,{clearRequireCache:()=>fw});bd.exports=dw(kd);function fw(e){for(let t of e)delete de.cache[t]}});var at=cn(xl(),1);import*as sn from"module";import{pathToFileURL as Bv}from"url";import Gi from"fs";import ad from"fs/promises";import rn from"path";import{pathToFileURL as Du}from"url";var pr={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};var Tp=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor","canvas","canvastext","linktext","visitedtext","activetext","buttonface","buttontext","buttonborder","field","fieldtext","highlight","highlighttext","selecteditem","selecteditemtext","mark","marktext","graytext","accentcolor","accentcolortext"]),Pp=/^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix)\(/i;function Op(e){return e.charCodeAt(0)===35||Pp.test(e)||Tp.has(e.toLowerCase())}var ni=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function vr(e){return e.indexOf("(")!==-1&&ni.some(t=>e.includes(`${t}(`))}function Al(e){if(!ni.some(s=>e.includes(s)))return e;let t="",r=[],n=null,i=null;for(let s=0;s<e.length;s++){let o=e.charCodeAt(s);if(o>=48&&o<=57||n!==null&&(o===37||o>=97&&o<=122||o>=65&&o<=90)?n=s:(i=n,n=null),o===40){t+=e[s];let l=s;for(let c=s-1;c>=0;c--){let d=e.charCodeAt(c);if(d>=48&&d<=57)l=c;else if(d>=97&&d<=122)l=c;else break}let a=e.slice(l,s);if(ni.includes(a)){r.unshift(!0);continue}else if(r[0]&&a===""){r.unshift(!0);continue}r.unshift(!1);continue}else if(o===41)t+=e[s],r.shift();else if(o===44&&r[0]){t+=", ";continue}else{if(o===32&&r[0]&&t.charCodeAt(t.length-1)===32)continue;if((o===43||o===42||o===47||o===45)&&r[0]){let l=t.trimEnd(),a=l.charCodeAt(l.length-1),c=l.charCodeAt(l.length-2),d=e.charCodeAt(s+1);if((a===101||a===69)&&c>=48&&c<=57){t+=e[s];continue}else if(a===43||a===42||a===47||a===45){t+=e[s];continue}else if(a===40||a===44){t+=e[s];continue}else e.charCodeAt(s-1)===32?t+=`${e[s]} `:a>=48&&a<=57||d>=48&&d<=57||a===41||d===40||d===43||d===42||d===47||d===45||i!==null&&i===s-1?t+=` ${e[s]} `:t+=e[s]}else t+=e[s]}}return t}var mr=new Uint8Array(256);function H(e,t){let r=0,n=[],i=0,s=e.length,o=t.charCodeAt(0);for(let l=0;l<s;l++){let a=e.charCodeAt(l);if(r===0&&a===o){n.push(e.slice(i,l)),i=l+1;continue}switch(a){case 92:l+=1;break;case 39:case 34:for(;++l<s;){let c=e.charCodeAt(l);if(c===92){l+=1;continue}if(c===a)break}break;case 40:mr[r]=41,r++;break;case 91:mr[r]=93,r++;break;case 123:mr[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===mr[r-1]&&r--;break}}return n.push(e.slice(i)),n}var Fp={color:Op,length:gt,percentage:ii,ratio:qp,number:El,integer:F,url:_l,position:Yp,"bg-size":Zp,"line-width":Dp,image:Ip,"family-name":Up,"generic-name":Lp,"absolute-size":Wp,"relative-size":Hp,angle:e0,vector:r0};function ee(e,t){if(e.startsWith("var("))return null;for(let r of t)if(Fp[r]?.(e))return r;return null}var zp=/^url\(.*\)$/;function _l(e){return zp.test(e)}function Dp(e){return H(e," ").every(t=>gt(t)||El(t)||t==="thin"||t==="medium"||t==="thick")}var Np=/^(?:element|image|cross-fade|image-set)\(/,Mp=/^(repeating-)?(conic|linear|radial)-gradient\(/;function Ip(e){let t=0;for(let r of H(e,","))if(!r.startsWith("var(")){if(_l(r)){t+=1;continue}if(Mp.test(r)){t+=1;continue}if(Np.test(r)){t+=1;continue}return!1}return t>0}function Lp(e){return e==="serif"||e==="sans-serif"||e==="monospace"||e==="cursive"||e==="fantasy"||e==="system-ui"||e==="ui-serif"||e==="ui-sans-serif"||e==="ui-monospace"||e==="ui-rounded"||e==="math"||e==="emoji"||e==="fangsong"}function Up(e){let t=0;for(let r of H(e,",")){let n=r.charCodeAt(0);if(n>=48&&n<=57)return!1;r.startsWith("var(")||(t+=1)}return t>0}function Wp(e){return e==="xx-small"||e==="x-small"||e==="small"||e==="medium"||e==="large"||e==="x-large"||e==="xx-large"||e==="xxx-large"}function Hp(e){return e==="larger"||e==="smaller"}var Re=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Vp=new RegExp(`^${Re.source}$`);function El(e){return Vp.test(e)||vr(e)}var Bp=new RegExp(`^${Re.source}%$`);function ii(e){return Bp.test(e)||vr(e)}var Kp=new RegExp(`^${Re.source}s*/s*${Re.source}$`);function qp(e){return Kp.test(e)||vr(e)}var Jp=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],Gp=new RegExp(`^${Re.source}(${Jp.join("|")})$`);function gt(e){return Gp.test(e)||vr(e)}function Yp(e){let t=0;for(let r of H(e," ")){if(r==="center"||r==="top"||r==="right"||r==="bottom"||r==="left"){t+=1;continue}if(!r.startsWith("var(")){if(gt(r)||ii(r)){t+=1;continue}return!1}}return t>0}function Zp(e){let t=0;for(let r of H(e,",")){if(r==="cover"||r==="contain"){t+=1;continue}let n=H(r," ");if(n.length!==1&&n.length!==2)return!1;if(n.every(i=>i==="auto"||gt(i)||ii(i))){t+=1;continue}}return t>0}var Qp=["deg","rad","grad","turn"],Xp=new RegExp(`^${Re.source}(${Qp.join("|")})$`);function e0(e){return Xp.test(e)}var t0=new RegExp(`^${Re.source} +${Re.source} +${Re.source}$`);function r0(e){return t0.test(e)}function F(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function oi(e){let t=Number(e);return Number.isInteger(t)&&t>0&&String(t)===String(e)}function se(e){return Cl(e,.25)}function wr(e){return Cl(e,.25)}function Cl(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function tt(e){return{__BARE_VALUE__:e}}var ye=tt(e=>{if(F(e.value))return e.value}),ce=tt(e=>{if(F(e.value))return`${e.value}%`}),Ie=tt(e=>{if(F(e.value))return`${e.value}px`}),$l=tt(e=>{if(F(e.value))return`${e.value}ms`}),gr=tt(e=>{if(F(e.value))return`${e.value}deg`}),n0=tt(e=>{if(e.fraction===null)return;let[t,r]=H(e.fraction,"/");if(!(!F(t)||!F(r)))return e.fraction}),Sl=tt(e=>{if(F(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Rl={accentColor:({theme:e})=>e("colors"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...n0},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...ce}),backdropContrast:({theme:e})=>({...e("contrast"),...ce}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...ce}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...gr}),backdropInvert:({theme:e})=>({...e("invert"),...ce}),backdropOpacity:({theme:e})=>({...e("opacity"),...ce}),backdropSaturate:({theme:e})=>({...e("saturate"),...ce}),backdropSepia:({theme:e})=>({...e("sepia"),...ce}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Ie},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...ce},caretColor:({theme:e})=>e("colors"),colors:()=>({...pr}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...ye},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...ce},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Ie}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...ye},flexShrink:{0:"0",DEFAULT:"1",...ye},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...ce},grayscale:{0:"0",DEFAULT:"100%",...ce},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...ye},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...ye},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...ye},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...ye},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Sl},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Sl},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...gr},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...ce},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...ye},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...ce},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...ye},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ie},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ie},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ie},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ie},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...gr},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...ce},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...ce},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...ce},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...gr},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...ye},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ie},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ie},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...$l},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...$l},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...ye}};var i0="4.2.0";function jc(e){let t=[0];for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&t.push(i+1);function r(i){let s=0,o=t.length;for(;o>0;){let a=(o|0)>>1,c=s+a;t[c]<=i?(s=c+1,o=o-a-1):o=a}s-=1;let l=i-t[s];return{line:s+1,column:l}}function n({line:i,column:s}){i-=1,i=Math.min(Math.max(i,0),t.length-1);let o=t[i],l=t[i+1]??o;return Math.min(Math.max(o+s,0),l)}return{find:r,findOffset:n}}var Rt=92,yr=47,kr=42,jl=34,Tl=39,o0=58,_r=59,ke=10,Cr=13,jt=32,Tt=9,Pl=123,si=125,ui=40,Ol=41,s0=91,a0=93,Fl=45,ai=64,l0=33,Te=class Tc extends Error{loc;constructor(t,r){if(r){let n=r[0],i=jc(n.code).find(r[1]);t=`${n.file}:${i.line}:${i.column+1}: ${t}`}super(t),this.name="CssSyntaxError",this.loc=r,Error.captureStackTrace&&Error.captureStackTrace(this,Tc)}};function ki(e,t){let r=t?.from?{file:t.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let n=[],i=[],s=[],o=null,l=null,a="",c="",d=0,u;for(let h=0;h<e.length;h++){let m=e.charCodeAt(h);if(!(m===Cr&&(u=e.charCodeAt(h+1),u===ke)))if(m===Rt)a===""&&(d=h),a+=e.slice(h,h+2),h+=1;else if(m===yr&&e.charCodeAt(h+1)===kr){let g=h;for(let k=h+2;k<e.length;k++)if(u=e.charCodeAt(k),u===Rt)k+=1;else if(u===kr&&e.charCodeAt(k+1)===yr){h=k+1;break}let y=e.slice(g,h+1);if(y.charCodeAt(2)===l0){let k=Fc(y.slice(2,-2));i.push(k),r&&(k.src=[r,g,h+1],k.dst=[r,g,h+1])}}else if(m===Tl||m===jl){let g=zl(e,h,m,r);a+=e.slice(h,g+1),h=g}else{if((m===jt||m===ke||m===Tt)&&(u=e.charCodeAt(h+1))&&(u===jt||u===ke||u===Tt||u===Cr&&(u=e.charCodeAt(h+2))&&u==ke))continue;if(m===ke){if(a.length===0)continue;u=a.charCodeAt(a.length-1),u!==jt&&u!==ke&&u!==Tt&&(a+=" ")}else if(m===Fl&&e.charCodeAt(h+1)===Fl&&a.length===0){let g="",y=h,k=-1;for(let $=h+2;$<e.length;$++)if(u=e.charCodeAt($),u===Rt)$+=1;else if(u===Tl||u===jl)$=zl(e,$,u,r);else if(u===yr&&e.charCodeAt($+1)===kr){for(let x=$+2;x<e.length;x++)if(u=e.charCodeAt(x),u===Rt)x+=1;else if(u===kr&&e.charCodeAt(x+1)===yr){$=x+1;break}}else if(k===-1&&u===o0)k=a.length+$-y;else if(u===_r&&g.length===0){a+=e.slice(y,$),h=$;break}else if(u===ui)g+=")";else if(u===s0)g+="]";else if(u===Pl)g+="}";else if((u===si||e.length-1===$)&&g.length===0){h=$-1,a+=e.slice(y,$);break}else(u===Ol||u===a0||u===si)&&g.length>0&&e[$]===g[g.length-1]&&(g=g.slice(0,-1));let S=li(a,k);if(!S)throw new Te("Invalid custom property, expected a value",r?[r,y,h]:null);r&&(S.src=[r,y,h],S.dst=[r,y,h]),o?o.nodes.push(S):n.push(S),a=""}else if(m===_r&&a.charCodeAt(0)===ai)l=Er(a),r&&(l.src=[r,d,h],l.dst=[r,d,h]),o?o.nodes.push(l):n.push(l),a="",l=null;else if(m===_r&&c[c.length-1]!==")"){let g=li(a);if(!g){if(a.length===0)continue;throw new Te(`Invalid declaration: \`${a.trim()}\``,r?[r,d,h]:null)}r&&(g.src=[r,d,h],g.dst=[r,d,h]),o?o.nodes.push(g):n.push(g),a=""}else if(m===Pl&&c[c.length-1]!==")")c+="}",l=ne(a.trim()),r&&(l.src=[r,d,h],l.dst=[r,d,h]),o&&o.nodes.push(l),s.push(o),o=l,a="",l=null;else if(m===si&&c[c.length-1]!==")"){if(c==="")throw new Te("Missing opening {",r?[r,h,h]:null);if(c=c.slice(0,-1),a.length>0)if(a.charCodeAt(0)===ai)l=Er(a),r&&(l.src=[r,d,h],l.dst=[r,d,h]),o?o.nodes.push(l):n.push(l),a="",l=null;else{let y=a.indexOf(":");if(o){let k=li(a,y);if(!k)throw new Te(`Invalid declaration: \`${a.trim()}\``,r?[r,d,h]:null);r&&(k.src=[r,d,h],k.dst=[r,d,h]),o.nodes.push(k)}}let g=s.pop()??null;g===null&&o&&n.push(o),o=g,a="",l=null}else if(m===ui)c+=")",a+="(";else if(m===Ol){if(c[c.length-1]!==")")throw new Te("Missing opening (",r?[r,h,h]:null);c=c.slice(0,-1),a+=")"}else{if(a.length===0&&(m===jt||m===ke||m===Tt))continue;a===""&&(d=h),a+=String.fromCharCode(m)}}}if(a.charCodeAt(0)===ai){let h=Er(a);r&&(h.src=[r,d,e.length],h.dst=[r,d,e.length]),n.push(h)}if(c.length>0&&o){if(o.kind==="rule")throw new Te(`Missing closing } at ${o.selector}`,o.src?[o.src[0],o.src[1],o.src[1]]:null);if(o.kind==="at-rule")throw new Te(`Missing closing } at ${o.name} ${o.params}`,o.src?[o.src[0],o.src[1],o.src[1]]:null)}return i.length>0?i.concat(n):n}function Er(e,t=[]){let r=e,n="";for(let i=5;i<e.length;i++){let s=e.charCodeAt(i);if(s===jt||s===Tt||s===ui){r=e.slice(0,i),n=e.slice(i);break}}return J(r.trim(),n.trim(),t)}function li(e,t=e.indexOf(":")){if(t===-1)return null;let r=e.indexOf("!important",t+1);return f(e.slice(0,t).trim(),e.slice(t+1,r===-1?e.length:r).trim(),r!==-1)}function zl(e,t,r,n=null){let i;for(let s=t+1;s<e.length;s++)if(i=e.charCodeAt(s),i===Rt)s+=1;else{if(i===r)return s;if(i===_r&&(e.charCodeAt(s+1)===ke||e.charCodeAt(s+1)===Cr&&e.charCodeAt(s+2)===ke))throw new Te(`Unterminated string: ${e.slice(t,s+1)+String.fromCharCode(r)}`,n?[n,t,s+1]:null);if(i===ke||i===Cr&&e.charCodeAt(s+1)===ke)throw new Te(`Unterminated string: ${e.slice(t,s)+String.fromCharCode(r)}`,n?[n,t,s+1]:null)}return t}function Nr(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),r=t.length,n=-1,i,s="",o=t.charCodeAt(0);if(r===1&&o===45)return"\\"+t;for(;++n<r;){if(i=t.charCodeAt(n),i===0){s+="\uFFFD";continue}if(i>=1&&i<=31||i===127||n===0&&i>=48&&i<=57||n===1&&i>=48&&i<=57&&o===45){s+="\\"+i.toString(16)+" ";continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){s+=t.charAt(n);continue}s+="\\"+t.charAt(n)}return s}function zt(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,t=>t.length>2?String.fromCodePoint(Number.parseInt(t.slice(1).trim(),16)):t[1])}var Pc=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 Dl(e,t){return(Pc.get(t)??[]).some(r=>e===r||e.startsWith(`${r}-`))}var c0=class{constructor(e=new Map,t=new Set([])){this.values=e,this.keyframes=t}prefix=null;get size(){return this.values.size}add(e,t,r=0,n){if(e.endsWith("-*")){if(t!=="initial")throw new Error(`Invalid theme value \`${t}\` for namespace \`${e}\``);e==="--*"?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(r&4){let i=this.values.get(e);if(i&&!(i.options&4))return}t==="initial"?this.values.delete(e):this.values.set(e,{value:t,options:r,src:n})}keysInNamespaces(e){let t=[];for(let r of e){let n=`${r}-`;for(let i of this.values.keys())i.startsWith(n)&&i.indexOf("--",2)===-1&&(Dl(i,r)||t.push(i.slice(n.length)))}return t}get(e){for(let t of e){let r=this.values.get(t);if(r)return r.value}return null}hasDefault(e){return(this.getOptions(e)&4)===4}getOptions(e){return e=zt(this.#r(e)),this.values.get(e)?.options??0}entries(){return this.prefix?Array.from(this.values,e=>(e[0]=this.prefixKey(e[0]),e)):this.values.entries()}prefixKey(e){return this.prefix?`--${this.prefix}-${e.slice(2)}`:e}#r(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,t){let r=Pc.get(e)??[];e:for(let n of this.values.keys())if(n.startsWith(e)){if(t!==0&&(this.getOptions(n)&t)!==t)continue;for(let i of r)if(n.startsWith(i))continue e;this.values.delete(n)}}#t(e,t){for(let r of t){let n=e!==null?`${r}-${e}`:r;if(!this.values.has(n))if(e!==null&&e.includes(".")){if(n=`${r}-${e.replaceAll(".","_")}`,!this.values.has(n))continue}else continue;if(!Dl(n,r))return n}return null}#e(e){let t=this.values.get(e);if(!t)return null;let r=null;return t.options&2&&(r=t.value),`var(${Nr(this.prefixKey(e))}${r?`, ${r}`:""})`}markUsedVariable(e){let t=zt(this.#r(e)),r=this.values.get(t);if(!r)return!1;let n=r.options&16;return r.options|=16,!n}resolve(e,t,r=0){let n=this.#t(e,t);if(!n)return null;let i=this.values.get(n);return(r|i.options)&1?i.value:this.#e(n)}resolveValue(e,t){let r=this.#t(e,t);return r?this.values.get(r).value:null}resolveWith(e,t,r=[]){let n=this.#t(e,t);if(!n)return null;let i={};for(let o of r){let l=`${n}${o}`,a=this.values.get(l);a&&(a.options&1?i[o]=a.value:i[o]=this.#e(l))}let s=this.values.get(n);return s.options&1?[s.value,i]:[this.#e(n),i]}namespace(e){let t=new Map,r=`${e}-`;for(let[n,i]of this.values)n===e?t.set(null,i.value):n.startsWith(`${r}-`)?t.set(n.slice(e.length),i.value):n.startsWith(r)&&t.set(n.slice(r.length),i.value);return t}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},V=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return t===void 0&&(t=this.factory(e,this),this.set(e,t)),t}};function be(e){return{kind:"word",value:e}}function u0(e,t){return{kind:"function",value:e,nodes:t}}function d0(e){return{kind:"separator",value:e}}function X(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+X(r.nodes)+")"}return t}var Nl=92,f0=41,Ml=58,Il=44,h0=34,Ll=61,Ul=62,Wl=60,Hl=10,p0=40,m0=39,g0=47,Vl=32,Bl=9;function Q(e){e=e.replaceAll(`\r
|
|
136
|
+
`,`
|
|
137
|
+
`);let t=[],r=[],n=null,i="",s;for(let o=0;o<e.length;o++){let l=e.charCodeAt(o);switch(l){case Nl:{i+=e[o]+e[o+1],o++;break}case g0:{if(i.length>0){let c=be(i);n?n.nodes.push(c):t.push(c),i=""}let a=be(e[o]);n?n.nodes.push(a):t.push(a);break}case Ml:case Il:case Ll:case Ul:case Wl:case Hl:case Vl:case Bl:{if(i.length>0){let u=be(i);n?n.nodes.push(u):t.push(u),i=""}let a=o,c=o+1;for(;c<e.length&&(s=e.charCodeAt(c),!(s!==Ml&&s!==Il&&s!==Ll&&s!==Ul&&s!==Wl&&s!==Hl&&s!==Vl&&s!==Bl));c++);o=c-1;let d=d0(e.slice(a,c));n?n.nodes.push(d):t.push(d);break}case m0:case h0:{let a=o;for(let c=o+1;c<e.length;c++)if(s=e.charCodeAt(c),s===Nl)c+=1;else if(s===l){o=c;break}i+=e.slice(a,o+1);break}case p0:{let a=u0(i,[]);i="",n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case f0:{let a=r.pop();if(i.length>0){let c=be(i);a?.nodes.push(c),i=""}r.length>0?n=r[r.length-1]:n=null;break}default:i+=String.fromCharCode(l)}}return i.length>0&&t.push(be(i)),t}var di=(e=>(e[e.Continue=0]="Continue",e[e.Skip=1]="Skip",e[e.Stop=2]="Stop",e[e.Replace=3]="Replace",e[e.ReplaceSkip=4]="ReplaceSkip",e[e.ReplaceStop=5]="ReplaceStop",e))(di||{}),D={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function W(e,t){typeof t=="function"?Kl(e,t):Kl(e,t.enter,t.exit)}function Kl(e,t=()=>D.Continue,r=()=>D.Continue){let n={value:[e,0,null],prev:null},i={parent:null,depth:0,path(){let s=[],o=n;for(;o;){let l=o.value[2];l&&s.push(l),o=o.prev}return s.reverse(),s}};for(;n!==null;){let s=n.value,o=s[0],l=s[1],a=s[2];if(l>=o.length){n=n.prev,i.depth-=1;continue}if(i.parent=a,l>=0){let h=o[l],m=t(h,i)??D.Continue;switch(m.kind){case 0:{h.nodes&&h.nodes.length>0&&(i.depth+=1,n={value:[h.nodes,0,h],prev:n}),s[1]=~l;continue}case 2:return;case 1:{s[1]=~l;continue}case 3:{o.splice(l,1,...m.nodes);continue}case 5:{o.splice(l,1,...m.nodes);return}case 4:{o.splice(l,1,...m.nodes),s[1]+=m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${di[m.kind]??`Unknown(${m.kind})`}\` in enter.`)}}let c=~l,d=o[c],u=r(d,i)??D.Continue;switch(u.kind){case 0:s[1]=c+1;continue;case 2:return;case 3:{o.splice(c,1,...u.nodes),s[1]=c+u.nodes.length;continue}case 5:{o.splice(c,1,...u.nodes);return}case 4:{o.splice(c,1,...u.nodes),s[1]=c+u.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${di[u.kind]??`Unknown(${u.kind})`}\` in exit.`)}}}function Oc(e){let t=[];return W(Q(e),r=>{if(!(r.kind!=="function"||r.value!=="var"))return W(r.nodes,n=>{n.kind!=="word"||n.value[0]!=="-"||n.value[1]!=="-"||t.push(n.value)}),D.Skip}),t}var v0=64;function Z(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function J(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function ne(e,t=[]){return e.charCodeAt(0)===v0?Er(e,t):Z(e,t)}function f(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function Fc(e){return{kind:"comment",value:e}}function nt(e,t){return{kind:"context",context:e,nodes:t}}function K(e){return{kind:"at-root",nodes:e}}function he(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(he),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(he),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(he),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(he),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function bi(e){return{depth:e.depth,get context(){let t={};for(let r of e.path())r.kind==="context"&&Object.assign(t,r.context);return Object.defineProperty(this,"context",{value:t}),t},get parent(){let t=this.path().pop()??null;return Object.defineProperty(this,"parent",{value:t}),t},path(){return e.path().filter(t=>t.kind!=="context")}}}function Pt(e,t,r=3){let n=[],i=new Set,s=new V(()=>new Set),o=new V(()=>new Set),l=new Set,a=new Set,c=[],d=[],u=new V(()=>new Set);function h(g,y,k={},S=0){if(g.kind==="declaration"){if(g.property==="--tw-sort"||g.value===void 0||g.value===null)return;if(k.theme&&g.property[0]==="-"&&g.property[1]==="-"){if(g.value==="initial"){g.value=void 0;return}k.keyframes||s.get(y).add(g)}if(g.value.includes("var("))if(k.theme&&g.property[0]==="-"&&g.property[1]==="-")for(let $ of Oc(g.value))u.get($).add(g.property);else t.trackUsedVariables(g.value);if(g.property==="animation")for(let $ of ql(g.value))a.add($);r&2&&g.value.includes("color-mix(")&&!k.supportsColorMix&&!k.keyframes&&o.get(y).add(g),y.push(g)}else if(g.kind==="rule"){let $=[];for(let E of g.nodes)h(E,$,k,S+1);let x={},T=new Set;for(let E of $){if(E.kind!=="declaration")continue;let j=`${E.property}:${E.value}:${E.important}`;x[j]??=[],x[j].push(E)}for(let E in x)for(let j=0;j<x[E].length-1;++j)T.add(x[E][j]);if(T.size>0&&($=$.filter(E=>!T.has(E))),$.length===0)return;g.selector==="&"?y.push(...$):y.push({...g,nodes:$})}else if(g.kind==="at-rule"&&g.name==="@property"&&S===0){if(i.has(g.params))return;if(r&1){let x=g.params,T=null,E=!1;for(let L of g.nodes)L.kind==="declaration"&&(L.property==="initial-value"?T=L.value:L.property==="inherits"&&(E=L.value==="true"));let j=f(x,T??"initial");j.src=g.src,E?c.push(j):d.push(j)}i.add(g.params);let $={...g,nodes:[]};for(let x of g.nodes)h(x,$.nodes,k,S+1);y.push($)}else if(g.kind==="at-rule"){g.name==="@keyframes"?k={...k,keyframes:!0}:g.name==="@supports"&&g.params.includes("color-mix(")&&(k={...k,supportsColorMix:!0});let $={...g,nodes:[]};for(let x of g.nodes)h(x,$.nodes,k,S+1);g.name==="@keyframes"&&k.theme&&l.add($),($.nodes.length>0||$.name==="@layer"||$.name==="@charset"||$.name==="@custom-media"||$.name==="@namespace"||$.name==="@import")&&y.push($)}else if(g.kind==="at-root")for(let $ of g.nodes){let x=[];h($,x,k,0);for(let T of x)n.push(T)}else if(g.kind==="context"){if(g.context.reference)return;for(let $ of g.nodes)h($,y,{...k,...g.context},S)}else g.kind==="comment"&&y.push(g)}let m=[];for(let g of e)h(g,m,{},0);e:for(let[g,y]of s)for(let k of y){if(zc(k.property,t.theme,u)){if(k.property.startsWith(t.theme.prefixKey("--animate-")))for(let $ of ql(k.value))a.add($);continue}let S=g.indexOf(k);if(g.splice(S,1),g.length===0){let $=w0(m,x=>x.kind==="rule"&&x.nodes===g);if(!$||$.length===0)continue e;$.unshift({kind:"at-root",nodes:m});do{let x=$.pop();if(!x)break;let T=$[$.length-1];if(!T||T.kind!=="at-root"&&T.kind!=="at-rule")break;let E=T.nodes.indexOf(x);if(E===-1)break;T.nodes.splice(E,1)}while(!0);continue e}}for(let g of l)if(!a.has(g.params)){let y=n.indexOf(g);n.splice(y,1)}if(m=m.concat(n),r&2)for(let[g,y]of o)for(let k of y){let S=g.indexOf(k);if(S===-1||k.value==null)continue;let $=Q(k.value),x=!1;if(W($,j=>{if(j.kind!=="function"||j.value!=="color-mix")return;let L=!1,z=!1;if(W(j.nodes,P=>{if(P.kind=="word"&&P.value.toLowerCase()==="currentcolor"){z=!0,x=!0;return}let N=P,M=null,G=new Set;do{if(N.kind!=="function"||N.value!=="var")return;let Y=N.nodes[0];if(!Y||Y.kind!=="word")return;let p=Y.value;if(G.has(p)){L=!0;return}if(G.add(p),x=!0,M=t.theme.resolveValue(null,[Y.value]),!M){L=!0;return}if(M.toLowerCase()==="currentcolor"){z=!0;return}M.startsWith("var(")?N=Q(M)[0]:N=null}while(N);return D.Replace({kind:"word",value:M})}),L||z){let P=j.nodes.findIndex(M=>M.kind==="separator"&&M.value.trim().includes(","));if(P===-1)return;let N=j.nodes.length>P?j.nodes[P+1]:null;return N?D.Replace(N):void 0}else if(x){let P=j.nodes[2];P.kind==="word"&&(P.value==="oklab"||P.value==="oklch"||P.value==="lab"||P.value==="lch")&&(P.value="srgb")}}),!x)continue;let T={...k,value:X($)},E=ne("@supports (color: color-mix(in lab, red, red))",[k]);E.src=k.src,g.splice(S,1,T,E)}if(r&1){let g=[];if(c.length>0){let y=ne(":root, :host",c);y.src=c[0].src,g.push(y)}if(d.length>0){let y=ne("*, ::before, ::after, ::backdrop",d);y.src=d[0].src,g.push(y)}if(g.length>0){let y=m.findIndex($=>!($.kind==="comment"||$.kind==="at-rule"&&($.name==="@charset"||$.name==="@import"))),k=J("@layer","properties",[]);k.src=g[0].src,m.splice(y<0?m.length:y,0,k);let S=ne("@layer properties",[J("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",g)]);S.src=g[0].src,S.nodes[0].src=g[0].src,m.push(S)}}return m}function _e(e,t){let r=0,n={file:null,code:""};function i(o,l=0){let a="",c=" ".repeat(l);if(o.kind==="declaration"){if(a+=`${c}${o.property}: ${o.value}${o.important?" !important":""};
|
|
138
|
+
`,t){r+=c.length;let d=r;r+=o.property.length,r+=2,r+=o.value?.length??0,o.important&&(r+=11);let u=r;r+=2,o.dst=[n,d,u]}}else if(o.kind==="rule"){if(a+=`${c}${o.selector} {
|
|
139
|
+
`,t){r+=c.length;let d=r;r+=o.selector.length,r+=1;let u=r;o.dst=[n,d,u],r+=2}for(let d of o.nodes)a+=i(d,l+1);a+=`${c}}
|
|
140
|
+
`,t&&(r+=c.length,r+=2)}else if(o.kind==="at-rule"){if(o.nodes.length===0){let d=`${c}${o.name} ${o.params};
|
|
141
|
+
`;if(t){r+=c.length;let u=r;r+=o.name.length,r+=1,r+=o.params.length;let h=r;r+=2,o.dst=[n,u,h]}return d}if(a+=`${c}${o.name}${o.params?` ${o.params} `:" "}{
|
|
142
|
+
`,t){r+=c.length;let d=r;r+=o.name.length,o.params&&(r+=1,r+=o.params.length),r+=1;let u=r;o.dst=[n,d,u],r+=2}for(let d of o.nodes)a+=i(d,l+1);a+=`${c}}
|
|
143
|
+
`,t&&(r+=c.length,r+=2)}else if(o.kind==="comment"){if(a+=`${c}/*${o.value}*/
|
|
144
|
+
`,t){r+=c.length;let d=r;r+=2+o.value.length+2;let u=r;o.dst=[n,d,u],r+=1}}else if(o.kind==="context"||o.kind==="at-root")return"";return a}let s="";for(let o of e)s+=i(o,0);return n.code=s,s}function w0(e,t){let r=[];return W(e,(n,i)=>{if(t(n))return r=i.path(),r.push(n),D.Stop}),r}function zc(e,t,r,n=new Set){if(n.has(e)||(n.add(e),t.getOptions(e)&24))return!0;{let i=r.get(e)??[];for(let s of i)if(zc(s,t,r,n))return!0}return!1}function ql(e){return e.split(/[\s,]+/)}function it(e){if(e.indexOf("(")===-1)return yt(e);let t=Q(e);return fi(t),e=X(t),e=Al(e),e}function yt(e,t=!1){let r="";for(let n=0;n<e.length;n++){let i=e[n];i==="\\"&&e[n+1]==="_"?(r+="_",n+=1):i==="_"&&!t?r+=" ":r+=i}return r}function fi(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=yt(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=yt(t.value);for(let r=0;r<t.nodes.length;r++){if(r==0&&t.nodes[r].kind==="word"){t.nodes[r].value=yt(t.nodes[r].value,!0);continue}fi([t.nodes[r]])}break}t.value=yt(t.value),fi(t.nodes);break}case"separator":case"word":{t.value=yt(t.value);break}default:y0(t)}}function y0(e){throw new Error(`Unexpected value: ${e}`)}var ci=new Uint8Array(256);function Ue(e){let t=0,r=e.length;for(let n=0;n<r;n++){let i=e.charCodeAt(n);switch(i){case 92:n+=1;break;case 39:case 34:for(;++n<r;){let s=e.charCodeAt(n);if(s===92){n+=1;continue}if(s===i)break}break;case 40:ci[t]=41,t++;break;case 91:ci[t]=93,t++;break;case 123:break;case 93:case 125:case 41:if(t===0)return!1;t>0&&i===ci[t-1]&&t--;break;case 59:if(t===0)return!1;break}}return!0}var k0=58,Jl=45,Gl=97,Yl=122,xi=/^[a-zA-Z0-9_.%-]+$/;function b0(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(Ot),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(Ot),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(Ot),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function Ot(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":return{kind:e.kind,root:e.root,variant:Ot(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function*x0(e,t){let r=H(e,":");if(t.theme.prefix){if(r.length===1||r[0]!==t.theme.prefix)return null;r.shift()}let n=r.pop(),i=[];for(let u=r.length-1;u>=0;--u){let h=t.parseVariant(r[u]);if(h===null)return;i.push(h)}let s=!1;n[n.length-1]==="!"?(s=!0,n=n.slice(0,-1)):n[0]==="!"&&(s=!0,n=n.slice(1)),t.utilities.has(n,"static")&&!n.includes("[")&&(yield{kind:"static",root:n,variants:i,important:s,raw:e});let[o,l=null,a]=H(n,"/");if(a)return;let c=l===null?null:hi(l);if(l!==null&&c===null)return;if(o[0]==="["){if(o[o.length-1]!=="]")return;let u=o.charCodeAt(1);if(u!==Jl&&!(u>=Gl&&u<=Yl))return;o=o.slice(1,-1);let h=o.indexOf(":");if(h===-1||h===0||h===o.length-1)return;let m=o.slice(0,h),g=it(o.slice(h+1));if(!Ue(g))return;yield{kind:"arbitrary",property:m,value:g,modifier:c,variants:i,important:s,raw:e};return}let d;if(o[o.length-1]==="]"){let u=o.indexOf("-[");if(u===-1)return;let h=o.slice(0,u);if(!t.utilities.has(h,"functional"))return;let m=o.slice(u+1);d=[[h,m]]}else if(o[o.length-1]===")"){let u=o.indexOf("-(");if(u===-1)return;let h=o.slice(0,u);if(!t.utilities.has(h,"functional"))return;let m=o.slice(u+2,-1),g=H(m,":"),y=null;if(g.length===2&&(y=g[0],m=g[1]),m[0]!=="-"||m[1]!=="-"||!Ue(m))return;d=[[h,y===null?`[var(${m})]`:`[${y}:var(${m})]`]]}else d=Dc(o,u=>t.utilities.has(u,"functional"));for(let[u,h]of d){let m={kind:"functional",root:u,modifier:c,value:null,variants:i,important:s,raw:e};if(h===null){yield m;continue}{let g=h.indexOf("[");if(g!==-1){if(h[h.length-1]!=="]")return;let y=it(h.slice(g+1,-1));if(!Ue(y))continue;let k=null;for(let S=0;S<y.length;S++){let $=y.charCodeAt(S);if($===k0){k=y.slice(0,S),y=y.slice(S+1);break}if(!($===Jl||$>=Gl&&$<=Yl))break}if(y.length===0||y.trim().length===0||k==="")continue;m.value={kind:"arbitrary",dataType:k||null,value:y}}else{let y=l===null||m.modifier?.kind==="arbitrary"?null:`${h}/${l}`;if(!xi.test(h))continue;m.value={kind:"named",value:h,fraction:y}}}yield m}}function hi(e){if(e[0]==="["&&e[e.length-1]==="]"){let t=it(e.slice(1,-1));return!Ue(t)||t.length===0||t.trim().length===0?null:{kind:"arbitrary",value:t}}return e[0]==="("&&e[e.length-1]===")"?(e=e.slice(1,-1),e[0]!=="-"||e[1]!=="-"||!Ue(e)?null:(e=`var(${e})`,{kind:"arbitrary",value:it(e)})):xi.test(e)?{kind:"named",value:e}:null}function $0(e,t){if(e[0]==="["&&e[e.length-1]==="]"){if(e[1]==="@"&&e.includes("&"))return null;let r=it(e.slice(1,-1));if(!Ue(r)||r.length===0||r.trim().length===0)return null;let n=r[0]===">"||r[0]==="+"||r[0]==="~";return!n&&r[0]!=="@"&&!r.includes("&")&&(r=`&:is(${r})`),{kind:"arbitrary",selector:r,relative:n}}{let[r,n=null,i]=H(e,"/");if(i)return null;let s=Dc(r,o=>t.variants.has(o));for(let[o,l]of s)switch(t.variants.kind(o)){case"static":return l!==null||n!==null?null:{kind:"static",root:o};case"functional":{let a=n===null?null:hi(n);if(n!==null&&a===null)return null;if(l===null)return{kind:"functional",root:o,modifier:a,value:null};if(l[l.length-1]==="]"){if(l[0]!=="[")continue;let c=it(l.slice(1,-1));return!Ue(c)||c.length===0||c.trim().length===0?null:{kind:"functional",root:o,modifier:a,value:{kind:"arbitrary",value:c}}}if(l[l.length-1]===")"){if(l[0]!=="(")continue;let c=it(l.slice(1,-1));return!Ue(c)||c.length===0||c.trim().length===0||c[0]!=="-"||c[1]!=="-"?null:{kind:"functional",root:o,modifier:a,value:{kind:"arbitrary",value:`var(${c})`}}}if(!xi.test(l))continue;return{kind:"functional",root:o,modifier:a,value:{kind:"named",value:l}}}case"compound":{if(l===null)return null;n&&(o==="not"||o==="has"||o==="in")&&(l=`${l}/${n}`,n=null);let a=t.parseVariant(l);if(a===null||!t.variants.compoundsWith(o,a))return null;let c=n===null?null:hi(n);return n!==null&&c===null?null:{kind:"compound",root:o,modifier:c,variant:a}}}}return null}function*Dc(e,t){t(e)&&(yield[e,null]);let r=e.lastIndexOf("-");for(;r>0;){let n=e.slice(0,r);if(t(n)){let i=[n,e.slice(r+1)];if(i[1]===""||i[0]==="@"&&t("@")&&e[r]==="-")break;yield i}r=e.lastIndexOf("-",r-1)}e[0]==="@"&&t("@")&&(yield["@",e.slice(1)])}function S0(e,t){let r=[];for(let i of t.variants)r.unshift($i(i));e.theme.prefix&&r.unshift(e.theme.prefix);let n="";if(t.kind==="static"&&(n+=t.root),t.kind==="functional"&&(n+=t.root,t.value))if(t.value.kind==="arbitrary"){if(t.value!==null){let i=Si(t.value.value),s=i?t.value.value.slice(4,-1):t.value.value,[o,l]=i?["(",")"]:["[","]"];t.value.dataType?n+=`-${o}${t.value.dataType}:${ot(s)}${l}`:n+=`-${o}${ot(s)}${l}`}}else t.value.kind==="named"&&(n+=`-${t.value.value}`);return t.kind==="arbitrary"&&(n+=`[${t.property}:${ot(t.value)}]`),(t.kind==="arbitrary"||t.kind==="functional")&&(n+=Rr(t.modifier)),t.important&&(n+="!"),r.push(n),r.join(":")}function Rr(e){if(e===null)return"";let t=Si(e.value),r=t?e.value.slice(4,-1):e.value,[n,i]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${n}${ot(r)}${i}`:e.kind==="named"?`/${e.value}`:""}function $i(e){if(e.kind==="static")return e.root;if(e.kind==="arbitrary")return`[${ot(E0(e.selector))}]`;let t="";if(e.kind==="functional"){t+=e.root;let r=e.root!=="@";if(e.value)if(e.value.kind==="arbitrary"){let n=Si(e.value.value),i=n?e.value.value.slice(4,-1):e.value.value,[s,o]=n?["(",")"]:["[","]"];t+=`${r?"-":""}${s}${ot(i)}${o}`}else e.value.kind==="named"&&(t+=`${r?"-":""}${e.value.value}`)}return e.kind==="compound"&&(t+=e.root,t+="-",t+=$i(e.variant)),(e.kind==="functional"||e.kind==="compound")&&(t+=Rr(e.modifier)),t}var A0=new V(e=>{let t=Q(e),r=new Set;return W(t,(n,i)=>{let s=i.parent===null?t:i.parent.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let o=s.indexOf(n)??-1;if(o===-1)return;let l=s[o-1];if(l?.kind!=="separator"||l.value!==" ")return;let a=s[o+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(l),r.add(a)}else n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(s[0]===n||s[s.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&W(t,n=>{if(r.has(n))return r.delete(n),D.ReplaceSkip([])}),pi(t),X(t)});function ot(e){return A0.get(e)}var _0=new V(e=>{let t=Q(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?X(t[2].nodes):e});function E0(e){return _0.get(e)}function pi(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=Ct(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=Ct(t.value);for(let r=0;r<t.nodes.length;r++)pi([t.nodes[r]]);break}t.value=Ct(t.value),pi(t.nodes);break}case"separator":t.value=Ct(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=Ct(t.value));break}default:R0(t)}}var C0=new V(e=>{let t=Q(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Si(e){return C0.get(e)}function R0(e){throw new Error(`Unexpected value: ${e}`)}function Ct(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}function jr(e,t,r){if(e===t)return 0;let n=e.indexOf("("),i=t.indexOf("("),s=n===-1?e.replace(/[\d.]+/g,""):e.slice(0,n),o=i===-1?t.replace(/[\d.]+/g,""):t.slice(0,i),l=(s===o?0:s<o?-1:1)||(r==="asc"?parseInt(e)-parseInt(t):parseInt(t)-parseInt(e));return Number.isNaN(l)?e<t?-1:1:l}var j0=new Set(["inset","inherit","initial","revert","unset"]),Zl=/^-?(\d+|\.\d+)(.*?)$/g;function Tr(e,t){return H(e,",").map(r=>{r=r.trim();let n=H(r," ").filter(a=>a.trim()!==""),i=null,s=null,o=null;for(let a of n)j0.has(a)||(Zl.test(a)?(s===null?s=a:o===null&&(o=a),Zl.lastIndex=0):i===null&&(i=a));if(s===null||o===null)return r;let l=t(i??"currentcolor");return i!==null?r.replace(i,l):`${r} ${l}`}).join(", ")}var Pr=["0","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],T0=class{utilities=new V(()=>[]);completions=new Map;static(e,t){this.utilities.get(e).push({kind:"static",compileFn:t})}functional(e,t,r){this.utilities.get(e).push({kind:"functional",compileFn:t,options:r})}has(e,t){return this.utilities.has(e)&&this.utilities.get(e).some(r=>r.kind===t)}get(e){return this.utilities.has(e)?this.utilities.get(e):[]}getCompletions(e){return this.has(e,"static")?this.completions.get(e)?.()??[{supportsNegative:!1,values:[],modifiers:[]}]:this.completions.get(e)?.()??[]}suggest(e,t){let r=this.completions.get(e);r?this.completions.set(e,()=>[...r?.(),...t?.()]):this.completions.set(e,t)}keys(e){let t=[];for(let[r,n]of this.utilities.entries())for(let i of n)if(i.kind===e){t.push(r);break}return t}};function C(e,t,r){return J("@property",e,[f("syntax",r?`"${r}"`:'"*"'),f("inherits","false"),...t?[f("initial-value",t)]:[]])}function le(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}function Nc(e,t){let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),`oklab(from ${e} l a b / ${t})`}function re(e,t,r){if(!t)return e;if(t.kind==="arbitrary")return le(e,t.value);let n=r.resolve(t.value,["--opacity"]);return n?le(e,n):wr(t.value)?le(e,`${t.value}%`):null}function ae(e,t,r){let n=null;switch(e.value.value){case"inherit":{n="inherit";break}case"transparent":{n="transparent";break}case"current":{n="currentcolor";break}default:{n=t.resolve(e.value.value,r);break}}return n?re(n,e.modifier,t):null}var Mc=/(\d+)_(\d+)/g;function P0(e){let t=new T0;function r(p,v){function*w(b){for(let _ of e.keysInNamespaces(b))yield _.replace(Mc,(I,R,O)=>`${R}.${O}`)}let A=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"];t.suggest(p,()=>{let b=[];for(let _ of v()){if(typeof _=="string"){b.push({values:[_],modifiers:[]});continue}let I=[..._.values??[],...w(_.valueThemeKeys??[])],R=[..._.modifiers??[],...w(_.modifierThemeKeys??[])];_.supportsFractions&&I.push(...A),_.hasDefaultValue&&I.unshift(null),b.push({supportsNegative:_.supportsNegative,values:I,modifiers:R})}return b})}function n(p,v){t.static(p,()=>v.map(w=>typeof w=="function"?w():f(w[0],w[1])))}function i(p,v){function w({negative:A}){return b=>{let _=null,I=null;if(b.value)if(b.value.kind==="arbitrary"){if(b.modifier)return;_=b.value.value,I=b.value.dataType}else{if(_=e.resolve(b.value.fraction??b.value.value,v.themeKeys??[]),_===null&&v.supportsFractions&&b.value.fraction){let[R,O]=H(b.value.fraction,"/");if(!F(R)||!F(O))return;_=`calc(${R} / ${O} * 100%)`}if(_===null&&A&&v.handleNegativeBareValue){if(_=v.handleNegativeBareValue(b.value),!_?.includes("/")&&b.modifier)return;if(_!==null)return v.handle(_,null)}if(_===null&&v.handleBareValue&&(_=v.handleBareValue(b.value),!_?.includes("/")&&b.modifier))return;if(_===null&&!A&&v.staticValues&&!b.modifier){let R=v.staticValues[b.value.value];if(R)return R.map(he)}}else{if(b.modifier)return;_=v.defaultValue!==void 0?v.defaultValue:e.resolve(null,v.themeKeys??[])}if(_!==null)return v.handle(A?`calc(${_} * -1)`:_,I)}}if(v.supportsNegative&&t.functional(`-${p}`,w({negative:!0})),t.functional(p,w({negative:!1})),r(p,()=>[{supportsNegative:v.supportsNegative,valueThemeKeys:v.themeKeys??[],hasDefaultValue:v.defaultValue!==void 0&&v.defaultValue!==null,supportsFractions:v.supportsFractions}]),v.staticValues&&Object.keys(v.staticValues).length>0){let A=Object.keys(v.staticValues);r(p,()=>[{values:A}])}}function s(p,v){t.functional(p,w=>{if(!w.value)return;let A=null;if(w.value.kind==="arbitrary"?(A=w.value.value,A=re(A,w.modifier,e)):A=ae(w,e,v.themeKeys),A!==null)return v.handle(A)}),r(p,()=>[{values:["current","inherit","transparent"],valueThemeKeys:v.themeKeys,modifiers:Array.from({length:21},(w,A)=>`${A*5}`)}])}function o(p,v,w,{supportsNegative:A=!1,supportsFractions:b=!1,staticValues:_}={}){A&&t.static(`-${p}-px`,()=>w("-1px")),t.static(`${p}-px`,()=>w("1px")),i(p,{themeKeys:v,supportsFractions:b,supportsNegative:A,defaultValue:null,handleBareValue:({value:I})=>{let R=e.resolve(null,["--spacing"]);return!R||!se(I)?null:`calc(${R} * ${I})`},handleNegativeBareValue:({value:I})=>{let R=e.resolve(null,["--spacing"]);return!R||!se(I)?null:`calc(${R} * -${I})`},handle:w,staticValues:_}),r(p,()=>[{values:e.get(["--spacing"])?Pr:[],supportsNegative:A,supportsFractions:b,valueThemeKeys:v}])}n("sr-only",[["position","absolute"],["width","1px"],["height","1px"],["padding","0"],["margin","-1px"],["overflow","hidden"],["clip-path","inset(50%)"],["white-space","nowrap"],["border-width","0"]]),n("not-sr-only",[["position","static"],["width","auto"],["height","auto"],["padding","0"],["margin","0"],["overflow","visible"],["clip-path","none"],["white-space","normal"]]),n("pointer-events-none",[["pointer-events","none"]]),n("pointer-events-auto",[["pointer-events","auto"]]),n("visible",[["visibility","visible"]]),n("invisible",[["visibility","hidden"]]),n("collapse",[["visibility","collapse"]]),n("static",[["position","static"]]),n("fixed",[["position","fixed"]]),n("absolute",[["position","absolute"]]),n("relative",[["position","relative"]]),n("sticky",[["position","sticky"]]);for(let[p,v]of[["inset","inset"],["inset-x","inset-inline"],["inset-y","inset-block"],["inset-s","inset-inline-start"],["inset-e","inset-inline-end"],["inset-bs","inset-block-start"],["inset-be","inset-block-end"],["top","top"],["right","right"],["bottom","bottom"],["left","left"]])n(`${p}-auto`,[[v,"auto"]]),n(`${p}-full`,[[v,"100%"]]),n(`-${p}-full`,[[v,"-100%"]]),o(p,["--inset","--spacing"],w=>[f(v,w)],{supportsNegative:!0,supportsFractions:!0});n("isolate",[["isolation","isolate"]]),n("isolation-auto",[["isolation","auto"]]),i("z",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--z-index"],handle:p=>[f("z-index",p)],staticValues:{auto:[f("z-index","auto")]}}),r("z",()=>[{supportsNegative:!0,values:["0","10","20","30","40","50"],valueThemeKeys:["--z-index"]}]),i("order",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--order"],handle:p=>[f("order",p)],staticValues:{first:[f("order","-9999")],last:[f("order","9999")]}}),r("order",()=>[{supportsNegative:!0,values:Array.from({length:12},(p,v)=>`${v+1}`),valueThemeKeys:["--order"]}]),i("col",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--grid-column"],handle:p=>[f("grid-column",p)],staticValues:{auto:[f("grid-column","auto")]}}),i("col-span",{handleBareValue:({value:p})=>F(p)?p:null,handle:p=>[f("grid-column",`span ${p} / span ${p}`)],staticValues:{full:[f("grid-column","1 / -1")]}}),i("col-start",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--grid-column-start"],handle:p=>[f("grid-column-start",p)],staticValues:{auto:[f("grid-column-start","auto")]}}),i("col-end",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--grid-column-end"],handle:p=>[f("grid-column-end",p)],staticValues:{auto:[f("grid-column-end","auto")]}}),r("col-span",()=>[{values:Array.from({length:12},(p,v)=>`${v+1}`),valueThemeKeys:[]}]),r("col-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(p,v)=>`${v+1}`),valueThemeKeys:["--grid-column-start"]}]),r("col-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(p,v)=>`${v+1}`),valueThemeKeys:["--grid-column-end"]}]),i("row",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--grid-row"],handle:p=>[f("grid-row",p)],staticValues:{auto:[f("grid-row","auto")]}}),i("row-span",{themeKeys:[],handleBareValue:({value:p})=>F(p)?p:null,handle:p=>[f("grid-row",`span ${p} / span ${p}`)],staticValues:{full:[f("grid-row","1 / -1")]}}),i("row-start",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--grid-row-start"],handle:p=>[f("grid-row-start",p)],staticValues:{auto:[f("grid-row-start","auto")]}}),i("row-end",{supportsNegative:!0,handleBareValue:({value:p})=>F(p)?p:null,themeKeys:["--grid-row-end"],handle:p=>[f("grid-row-end",p)],staticValues:{auto:[f("grid-row-end","auto")]}}),r("row-span",()=>[{values:Array.from({length:12},(p,v)=>`${v+1}`),valueThemeKeys:[]}]),r("row-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(p,v)=>`${v+1}`),valueThemeKeys:["--grid-row-start"]}]),r("row-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(p,v)=>`${v+1}`),valueThemeKeys:["--grid-row-end"]}]),n("float-start",[["float","inline-start"]]),n("float-end",[["float","inline-end"]]),n("float-right",[["float","right"]]),n("float-left",[["float","left"]]),n("float-none",[["float","none"]]),n("clear-start",[["clear","inline-start"]]),n("clear-end",[["clear","inline-end"]]),n("clear-right",[["clear","right"]]),n("clear-left",[["clear","left"]]),n("clear-both",[["clear","both"]]),n("clear-none",[["clear","none"]]);for(let[p,v]of[["m","margin"],["mx","margin-inline"],["my","margin-block"],["ms","margin-inline-start"],["me","margin-inline-end"],["mbs","margin-block-start"],["mbe","margin-block-end"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]])n(`${p}-auto`,[[v,"auto"]]),o(p,["--margin","--spacing"],w=>[f(v,w)],{supportsNegative:!0});n("box-border",[["box-sizing","border-box"]]),n("box-content",[["box-sizing","content-box"]]),i("line-clamp",{themeKeys:["--line-clamp"],handleBareValue:({value:p})=>F(p)?p:null,handle:p=>[f("overflow","hidden"),f("display","-webkit-box"),f("-webkit-box-orient","vertical"),f("-webkit-line-clamp",p)],staticValues:{none:[f("overflow","visible"),f("display","block"),f("-webkit-box-orient","horizontal"),f("-webkit-line-clamp","unset")]}}),r("line-clamp",()=>[{values:["1","2","3","4","5","6"],valueThemeKeys:["--line-clamp"]}]),n("block",[["display","block"]]),n("inline-block",[["display","inline-block"]]),n("inline",[["display","inline"]]),n("hidden",[["display","none"]]),n("inline-flex",[["display","inline-flex"]]),n("table",[["display","table"]]),n("inline-table",[["display","inline-table"]]),n("table-caption",[["display","table-caption"]]),n("table-cell",[["display","table-cell"]]),n("table-column",[["display","table-column"]]),n("table-column-group",[["display","table-column-group"]]),n("table-footer-group",[["display","table-footer-group"]]),n("table-header-group",[["display","table-header-group"]]),n("table-row-group",[["display","table-row-group"]]),n("table-row",[["display","table-row"]]),n("flow-root",[["display","flow-root"]]),n("flex",[["display","flex"]]),n("grid",[["display","grid"]]),n("inline-grid",[["display","inline-grid"]]),n("contents",[["display","contents"]]),n("list-item",[["display","list-item"]]),n("field-sizing-content",[["field-sizing","content"]]),n("field-sizing-fixed",[["field-sizing","fixed"]]),i("aspect",{themeKeys:["--aspect"],handleBareValue:({fraction:p})=>{if(p===null)return null;let[v,w]=H(p,"/");return!se(v)||!se(w)?null:p},handle:p=>[f("aspect-ratio",p)],staticValues:{auto:[f("aspect-ratio","auto")],square:[f("aspect-ratio","1 / 1")]}});for(let[p,v]of[["full","100%"],["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"],["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"],["min","min-content"],["max","max-content"],["fit","fit-content"]])n(`size-${p}`,[["--tw-sort","size"],["width",v],["height",v]]),n(`w-${p}`,[["width",v]]),n(`h-${p}`,[["height",v]]),n(`min-w-${p}`,[["min-width",v]]),n(`min-h-${p}`,[["min-height",v]]),n(`max-w-${p}`,[["max-width",v]]),n(`max-h-${p}`,[["max-height",v]]);n("size-auto",[["--tw-sort","size"],["width","auto"],["height","auto"]]),n("w-auto",[["width","auto"]]),n("h-auto",[["height","auto"]]),n("min-w-auto",[["min-width","auto"]]),n("min-h-auto",[["min-height","auto"]]),n("h-lh",[["height","1lh"]]),n("min-h-lh",[["min-height","1lh"]]),n("max-h-lh",[["max-height","1lh"]]),n("w-screen",[["width","100vw"]]),n("min-w-screen",[["min-width","100vw"]]),n("max-w-screen",[["max-width","100vw"]]),n("h-screen",[["height","100vh"]]),n("min-h-screen",[["min-height","100vh"]]),n("max-h-screen",[["max-height","100vh"]]),n("max-w-none",[["max-width","none"]]),n("max-h-none",[["max-height","none"]]),o("size",["--size","--spacing"],p=>[f("--tw-sort","size"),f("width",p),f("height",p)],{supportsFractions:!0});for(let[p,v,w]of[["w",["--width","--spacing","--container"],"width"],["min-w",["--min-width","--spacing","--container"],"min-width"],["max-w",["--max-width","--spacing","--container"],"max-width"],["h",["--height","--spacing"],"height"],["min-h",["--min-height","--height","--spacing"],"min-height"],["max-h",["--max-height","--height","--spacing"],"max-height"]])o(p,v,A=>[f(w,A)],{supportsFractions:!0});for(let[p,v]of[["full","100%"],["min","min-content"],["max","max-content"],["fit","fit-content"]])n(`inline-${p}`,[["inline-size",v]]),n(`block-${p}`,[["block-size",v]]),n(`min-inline-${p}`,[["min-inline-size",v]]),n(`min-block-${p}`,[["min-block-size",v]]),n(`max-inline-${p}`,[["max-inline-size",v]]),n(`max-block-${p}`,[["max-block-size",v]]);for(let[p,v]of[["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"]])n(`inline-${p}`,[["inline-size",v]]),n(`min-inline-${p}`,[["min-inline-size",v]]),n(`max-inline-${p}`,[["max-inline-size",v]]);for(let[p,v]of[["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"]])n(`block-${p}`,[["block-size",v]]),n(`min-block-${p}`,[["min-block-size",v]]),n(`max-block-${p}`,[["max-block-size",v]]);n("inline-auto",[["inline-size","auto"]]),n("block-auto",[["block-size","auto"]]),n("min-inline-auto",[["min-inline-size","auto"]]),n("min-block-auto",[["min-block-size","auto"]]),n("block-lh",[["block-size","1lh"]]),n("min-block-lh",[["min-block-size","1lh"]]),n("max-block-lh",[["max-block-size","1lh"]]),n("inline-screen",[["inline-size","100vw"]]),n("min-inline-screen",[["min-inline-size","100vw"]]),n("max-inline-screen",[["max-inline-size","100vw"]]),n("block-screen",[["block-size","100vh"]]),n("min-block-screen",[["min-block-size","100vh"]]),n("max-block-screen",[["max-block-size","100vh"]]),n("max-inline-none",[["max-inline-size","none"]]),n("max-block-none",[["max-block-size","none"]]);for(let[p,v,w]of[["inline",["--spacing","--container"],"inline-size"],["min-inline",["--spacing","--container"],"min-inline-size"],["max-inline",["--spacing","--container"],"max-inline-size"],["block",["--spacing"],"block-size"],["min-block",["--spacing"],"min-block-size"],["max-block",["--spacing"],"max-block-size"]])o(p,v,A=>[f(w,A)],{supportsFractions:!0});t.static("container",()=>{let p=[...e.namespace("--breakpoint").values()];p.sort((w,A)=>jr(w,A,"asc"));let v=[f("--tw-sort","--tw-container-component"),f("width","100%")];for(let w of p)v.push(J("@media",`(width >= ${w})`,[f("max-width",w)]));return v}),n("flex-auto",[["flex","auto"]]),n("flex-initial",[["flex","0 auto"]]),n("flex-none",[["flex","none"]]),t.functional("flex",p=>{if(p.value){if(p.value.kind==="arbitrary")return p.modifier?void 0:[f("flex",p.value.value)];if(p.value.fraction){let[v,w]=H(p.value.fraction,"/");return!F(v)||!F(w)?void 0:[f("flex",`calc(${p.value.fraction} * 100%)`)]}if(F(p.value.value))return p.modifier?void 0:[f("flex",p.value.value)]}}),r("flex",()=>[{supportsFractions:!0},{values:Array.from({length:12},(p,v)=>`${v+1}`)}]),i("shrink",{defaultValue:"1",handleBareValue:({value:p})=>F(p)?p:null,handle:p=>[f("flex-shrink",p)]}),i("grow",{defaultValue:"1",handleBareValue:({value:p})=>F(p)?p:null,handle:p=>[f("flex-grow",p)]}),r("shrink",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),r("grow",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),n("basis-auto",[["flex-basis","auto"]]),n("basis-full",[["flex-basis","100%"]]),o("basis",["--flex-basis","--spacing","--container"],p=>[f("flex-basis",p)],{supportsFractions:!0}),n("table-auto",[["table-layout","auto"]]),n("table-fixed",[["table-layout","fixed"]]),n("caption-top",[["caption-side","top"]]),n("caption-bottom",[["caption-side","bottom"]]),n("border-collapse",[["border-collapse","collapse"]]),n("border-separate",[["border-collapse","separate"]]);let l=()=>K([C("--tw-border-spacing-x","0","<length>"),C("--tw-border-spacing-y","0","<length>")]);o("border-spacing",["--border-spacing","--spacing"],p=>[l(),f("--tw-border-spacing-x",p),f("--tw-border-spacing-y",p),f("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),o("border-spacing-x",["--border-spacing","--spacing"],p=>[l(),f("--tw-border-spacing-x",p),f("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),o("border-spacing-y",["--border-spacing","--spacing"],p=>[l(),f("--tw-border-spacing-y",p),f("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),i("origin",{themeKeys:["--transform-origin"],handle:p=>[f("transform-origin",p)],staticValues:{center:[f("transform-origin","center")],top:[f("transform-origin","top")],"top-right":[f("transform-origin","100% 0")],right:[f("transform-origin","100%")],"bottom-right":[f("transform-origin","100% 100%")],bottom:[f("transform-origin","bottom")],"bottom-left":[f("transform-origin","0 100%")],left:[f("transform-origin","0")],"top-left":[f("transform-origin","0 0")]}}),i("perspective-origin",{themeKeys:["--perspective-origin"],handle:p=>[f("perspective-origin",p)],staticValues:{center:[f("perspective-origin","center")],top:[f("perspective-origin","top")],"top-right":[f("perspective-origin","100% 0")],right:[f("perspective-origin","100%")],"bottom-right":[f("perspective-origin","100% 100%")],bottom:[f("perspective-origin","bottom")],"bottom-left":[f("perspective-origin","0 100%")],left:[f("perspective-origin","0")],"top-left":[f("perspective-origin","0 0")]}}),i("perspective",{themeKeys:["--perspective"],handle:p=>[f("perspective",p)],staticValues:{none:[f("perspective","none")]}});let a=()=>K([C("--tw-translate-x","0"),C("--tw-translate-y","0"),C("--tw-translate-z","0")]);n("translate-none",[["translate","none"]]),n("-translate-full",[a,["--tw-translate-x","-100%"],["--tw-translate-y","-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),n("translate-full",[a,["--tw-translate-x","100%"],["--tw-translate-y","100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),o("translate",["--translate","--spacing"],p=>[a(),f("--tw-translate-x",p),f("--tw-translate-y",p),f("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});for(let p of["x","y"])n(`-translate-${p}-full`,[a,[`--tw-translate-${p}`,"-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),n(`translate-${p}-full`,[a,[`--tw-translate-${p}`,"100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),o(`translate-${p}`,["--translate","--spacing"],v=>[a(),f(`--tw-translate-${p}`,v),f("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});o("translate-z",["--translate","--spacing"],p=>[a(),f("--tw-translate-z",p),f("translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")],{supportsNegative:!0}),n("translate-3d",[a,["translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]);let c=()=>K([C("--tw-scale-x","1"),C("--tw-scale-y","1"),C("--tw-scale-z","1")]);n("scale-none",[["scale","none"]]);function d({negative:p}){return v=>{if(!v.value||v.modifier)return;let w;return v.value.kind==="arbitrary"?(w=v.value.value,w=p?`calc(${w} * -1)`:w,[f("scale",w)]):(w=e.resolve(v.value.value,["--scale"]),!w&&F(v.value.value)&&(w=`${v.value.value}%`),w?(w=p?`calc(${w} * -1)`:w,[c(),f("--tw-scale-x",w),f("--tw-scale-y",w),f("--tw-scale-z",w),f("scale","var(--tw-scale-x) var(--tw-scale-y)")]):void 0)}}t.functional("-scale",d({negative:!0})),t.functional("scale",d({negative:!1})),r("scale",()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);for(let p of["x","y","z"])i(`scale-${p}`,{supportsNegative:!0,themeKeys:["--scale"],handleBareValue:({value:v})=>F(v)?`${v}%`:null,handle:v=>[c(),f(`--tw-scale-${p}`,v),f("scale",`var(--tw-scale-x) var(--tw-scale-y)${p==="z"?" var(--tw-scale-z)":""}`)]}),r(`scale-${p}`,()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);n("scale-3d",[c,["scale","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]),n("rotate-none",[["rotate","none"]]);function u({negative:p}){return v=>{if(!v.value||v.modifier)return;let w;if(v.value.kind==="arbitrary"){w=v.value.value;let A=v.value.dataType??ee(w,["angle","vector"]);if(A==="vector")return[f("rotate",`${w} var(--tw-rotate)`)];if(A!=="angle")return[f("rotate",p?`calc(${w} * -1)`:w)]}else if(w=e.resolve(v.value.value,["--rotate"]),!w&&F(v.value.value)&&(w=`${v.value.value}deg`),!w)return;return[f("rotate",p?`calc(${w} * -1)`:w)]}}t.functional("-rotate",u({negative:!0})),t.functional("rotate",u({negative:!1})),r("rotate",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);{let p=["var(--tw-rotate-x,)","var(--tw-rotate-y,)","var(--tw-rotate-z,)","var(--tw-skew-x,)","var(--tw-skew-y,)"].join(" "),v=()=>K([C("--tw-rotate-x"),C("--tw-rotate-y"),C("--tw-rotate-z"),C("--tw-skew-x"),C("--tw-skew-y")]);for(let w of["x","y","z"])i(`rotate-${w}`,{supportsNegative:!0,themeKeys:["--rotate"],handleBareValue:({value:A})=>F(A)?`${A}deg`:null,handle:A=>[v(),f(`--tw-rotate-${w}`,`rotate${w.toUpperCase()}(${A})`),f("transform",p)]}),r(`rotate-${w}`,()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);i("skew",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:w})=>F(w)?`${w}deg`:null,handle:w=>[v(),f("--tw-skew-x",`skewX(${w})`),f("--tw-skew-y",`skewY(${w})`),f("transform",p)]}),i("skew-x",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:w})=>F(w)?`${w}deg`:null,handle:w=>[v(),f("--tw-skew-x",`skewX(${w})`),f("transform",p)]}),i("skew-y",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:w})=>F(w)?`${w}deg`:null,handle:w=>[v(),f("--tw-skew-y",`skewY(${w})`),f("transform",p)]}),r("skew",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),r("skew-x",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),r("skew-y",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),t.functional("transform",w=>{if(w.modifier)return;let A=null;if(w.value?w.value.kind==="arbitrary"&&(A=w.value.value):A=p,A!==null)return[v(),f("transform",A)]}),r("transform",()=>[{hasDefaultValue:!0}]),n("transform-cpu",[["transform",p]]),n("transform-gpu",[["transform",`translateZ(0) ${p}`]]),n("transform-none",[["transform","none"]])}n("transform-flat",[["transform-style","flat"]]),n("transform-3d",[["transform-style","preserve-3d"]]),n("transform-content",[["transform-box","content-box"]]),n("transform-border",[["transform-box","border-box"]]),n("transform-fill",[["transform-box","fill-box"]]),n("transform-stroke",[["transform-box","stroke-box"]]),n("transform-view",[["transform-box","view-box"]]),n("backface-visible",[["backface-visibility","visible"]]),n("backface-hidden",[["backface-visibility","hidden"]]);for(let p of["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"])n(`cursor-${p}`,[["cursor",p]]);i("cursor",{themeKeys:["--cursor"],handle:p=>[f("cursor",p)]});for(let p of["auto","none","manipulation"])n(`touch-${p}`,[["touch-action",p]]);let h=()=>K([C("--tw-pan-x"),C("--tw-pan-y"),C("--tw-pinch-zoom")]);for(let p of["x","left","right"])n(`touch-pan-${p}`,[h,["--tw-pan-x",`pan-${p}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let p of["y","up","down"])n(`touch-pan-${p}`,[h,["--tw-pan-y",`pan-${p}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);n("touch-pinch-zoom",[h,["--tw-pinch-zoom","pinch-zoom"],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let p of["none","text","all","auto"])n(`select-${p}`,[["-webkit-user-select",p],["user-select",p]]);n("resize-none",[["resize","none"]]),n("resize-x",[["resize","horizontal"]]),n("resize-y",[["resize","vertical"]]),n("resize",[["resize","both"]]),n("snap-none",[["scroll-snap-type","none"]]);let m=()=>K([C("--tw-scroll-snap-strictness","proximity","*")]);for(let p of["x","y","both"])n(`snap-${p}`,[m,["scroll-snap-type",`${p} var(--tw-scroll-snap-strictness)`]]);n("snap-mandatory",[m,["--tw-scroll-snap-strictness","mandatory"]]),n("snap-proximity",[m,["--tw-scroll-snap-strictness","proximity"]]),n("snap-align-none",[["scroll-snap-align","none"]]),n("snap-start",[["scroll-snap-align","start"]]),n("snap-end",[["scroll-snap-align","end"]]),n("snap-center",[["scroll-snap-align","center"]]),n("snap-normal",[["scroll-snap-stop","normal"]]),n("snap-always",[["scroll-snap-stop","always"]]);for(let[p,v]of[["scroll-m","scroll-margin"],["scroll-mx","scroll-margin-inline"],["scroll-my","scroll-margin-block"],["scroll-ms","scroll-margin-inline-start"],["scroll-me","scroll-margin-inline-end"],["scroll-mbs","scroll-margin-block-start"],["scroll-mbe","scroll-margin-block-end"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]])o(p,["--scroll-margin","--spacing"],w=>[f(v,w)],{supportsNegative:!0});for(let[p,v]of[["scroll-p","scroll-padding"],["scroll-px","scroll-padding-inline"],["scroll-py","scroll-padding-block"],["scroll-ps","scroll-padding-inline-start"],["scroll-pe","scroll-padding-inline-end"],["scroll-pbs","scroll-padding-block-start"],["scroll-pbe","scroll-padding-block-end"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]])o(p,["--scroll-padding","--spacing"],w=>[f(v,w)]);n("list-inside",[["list-style-position","inside"]]),n("list-outside",[["list-style-position","outside"]]),i("list",{themeKeys:["--list-style-type"],handle:p=>[f("list-style-type",p)],staticValues:{none:[f("list-style-type","none")],disc:[f("list-style-type","disc")],decimal:[f("list-style-type","decimal")]}}),i("list-image",{themeKeys:["--list-style-image"],handle:p=>[f("list-style-image",p)],staticValues:{none:[f("list-style-image","none")]}}),n("appearance-none",[["appearance","none"]]),n("appearance-auto",[["appearance","auto"]]),n("scheme-normal",[["color-scheme","normal"]]),n("scheme-dark",[["color-scheme","dark"]]),n("scheme-light",[["color-scheme","light"]]),n("scheme-light-dark",[["color-scheme","light dark"]]),n("scheme-only-dark",[["color-scheme","only dark"]]),n("scheme-only-light",[["color-scheme","only light"]]),i("columns",{themeKeys:["--columns","--container"],handleBareValue:({value:p})=>F(p)?p:null,handle:p=>[f("columns",p)],staticValues:{auto:[f("columns","auto")]}}),r("columns",()=>[{values:Array.from({length:12},(p,v)=>`${v+1}`),valueThemeKeys:["--columns","--container"]}]);for(let p of["auto","avoid","all","avoid-page","page","left","right","column"])n(`break-before-${p}`,[["break-before",p]]);for(let p of["auto","avoid","avoid-page","avoid-column"])n(`break-inside-${p}`,[["break-inside",p]]);for(let p of["auto","avoid","all","avoid-page","page","left","right","column"])n(`break-after-${p}`,[["break-after",p]]);n("grid-flow-row",[["grid-auto-flow","row"]]),n("grid-flow-col",[["grid-auto-flow","column"]]),n("grid-flow-dense",[["grid-auto-flow","dense"]]),n("grid-flow-row-dense",[["grid-auto-flow","row dense"]]),n("grid-flow-col-dense",[["grid-auto-flow","column dense"]]),i("auto-cols",{themeKeys:["--grid-auto-columns"],handle:p=>[f("grid-auto-columns",p)],staticValues:{auto:[f("grid-auto-columns","auto")],min:[f("grid-auto-columns","min-content")],max:[f("grid-auto-columns","max-content")],fr:[f("grid-auto-columns","minmax(0, 1fr)")]}}),i("auto-rows",{themeKeys:["--grid-auto-rows"],handle:p=>[f("grid-auto-rows",p)],staticValues:{auto:[f("grid-auto-rows","auto")],min:[f("grid-auto-rows","min-content")],max:[f("grid-auto-rows","max-content")],fr:[f("grid-auto-rows","minmax(0, 1fr)")]}}),i("grid-cols",{themeKeys:["--grid-template-columns"],handleBareValue:({value:p})=>oi(p)?`repeat(${p}, minmax(0, 1fr))`:null,handle:p=>[f("grid-template-columns",p)],staticValues:{none:[f("grid-template-columns","none")],subgrid:[f("grid-template-columns","subgrid")]}}),i("grid-rows",{themeKeys:["--grid-template-rows"],handleBareValue:({value:p})=>oi(p)?`repeat(${p}, minmax(0, 1fr))`:null,handle:p=>[f("grid-template-rows",p)],staticValues:{none:[f("grid-template-rows","none")],subgrid:[f("grid-template-rows","subgrid")]}}),r("grid-cols",()=>[{values:Array.from({length:12},(p,v)=>`${v+1}`),valueThemeKeys:["--grid-template-columns"]}]),r("grid-rows",()=>[{values:Array.from({length:12},(p,v)=>`${v+1}`),valueThemeKeys:["--grid-template-rows"]}]),n("flex-row",[["flex-direction","row"]]),n("flex-row-reverse",[["flex-direction","row-reverse"]]),n("flex-col",[["flex-direction","column"]]),n("flex-col-reverse",[["flex-direction","column-reverse"]]),n("flex-wrap",[["flex-wrap","wrap"]]),n("flex-nowrap",[["flex-wrap","nowrap"]]),n("flex-wrap-reverse",[["flex-wrap","wrap-reverse"]]),n("place-content-center",[["place-content","center"]]),n("place-content-start",[["place-content","start"]]),n("place-content-end",[["place-content","end"]]),n("place-content-center-safe",[["place-content","safe center"]]),n("place-content-end-safe",[["place-content","safe end"]]),n("place-content-between",[["place-content","space-between"]]),n("place-content-around",[["place-content","space-around"]]),n("place-content-evenly",[["place-content","space-evenly"]]),n("place-content-baseline",[["place-content","baseline"]]),n("place-content-stretch",[["place-content","stretch"]]),n("place-items-center",[["place-items","center"]]),n("place-items-start",[["place-items","start"]]),n("place-items-end",[["place-items","end"]]),n("place-items-center-safe",[["place-items","safe center"]]),n("place-items-end-safe",[["place-items","safe end"]]),n("place-items-baseline",[["place-items","baseline"]]),n("place-items-stretch",[["place-items","stretch"]]),n("content-normal",[["align-content","normal"]]),n("content-center",[["align-content","center"]]),n("content-start",[["align-content","flex-start"]]),n("content-end",[["align-content","flex-end"]]),n("content-center-safe",[["align-content","safe center"]]),n("content-end-safe",[["align-content","safe flex-end"]]),n("content-between",[["align-content","space-between"]]),n("content-around",[["align-content","space-around"]]),n("content-evenly",[["align-content","space-evenly"]]),n("content-baseline",[["align-content","baseline"]]),n("content-stretch",[["align-content","stretch"]]),n("items-center",[["align-items","center"]]),n("items-start",[["align-items","flex-start"]]),n("items-end",[["align-items","flex-end"]]),n("items-center-safe",[["align-items","safe center"]]),n("items-end-safe",[["align-items","safe flex-end"]]),n("items-baseline",[["align-items","baseline"]]),n("items-baseline-last",[["align-items","last baseline"]]),n("items-stretch",[["align-items","stretch"]]),n("justify-normal",[["justify-content","normal"]]),n("justify-center",[["justify-content","center"]]),n("justify-start",[["justify-content","flex-start"]]),n("justify-end",[["justify-content","flex-end"]]),n("justify-center-safe",[["justify-content","safe center"]]),n("justify-end-safe",[["justify-content","safe flex-end"]]),n("justify-between",[["justify-content","space-between"]]),n("justify-around",[["justify-content","space-around"]]),n("justify-evenly",[["justify-content","space-evenly"]]),n("justify-baseline",[["justify-content","baseline"]]),n("justify-stretch",[["justify-content","stretch"]]),n("justify-items-normal",[["justify-items","normal"]]),n("justify-items-center",[["justify-items","center"]]),n("justify-items-start",[["justify-items","start"]]),n("justify-items-end",[["justify-items","end"]]),n("justify-items-center-safe",[["justify-items","safe center"]]),n("justify-items-end-safe",[["justify-items","safe end"]]),n("justify-items-stretch",[["justify-items","stretch"]]),o("gap",["--gap","--spacing"],p=>[f("gap",p)]),o("gap-x",["--gap","--spacing"],p=>[f("column-gap",p)]),o("gap-y",["--gap","--spacing"],p=>[f("row-gap",p)]),o("space-x",["--space","--spacing"],p=>[K([C("--tw-space-x-reverse","0")]),Z(":where(& > :not(:last-child))",[f("--tw-sort","row-gap"),f("--tw-space-x-reverse","0"),f("margin-inline-start",`calc(${p} * var(--tw-space-x-reverse))`),f("margin-inline-end",`calc(${p} * calc(1 - var(--tw-space-x-reverse)))`)])],{supportsNegative:!0}),o("space-y",["--space","--spacing"],p=>[K([C("--tw-space-y-reverse","0")]),Z(":where(& > :not(:last-child))",[f("--tw-sort","column-gap"),f("--tw-space-y-reverse","0"),f("margin-block-start",`calc(${p} * var(--tw-space-y-reverse))`),f("margin-block-end",`calc(${p} * calc(1 - var(--tw-space-y-reverse)))`)])],{supportsNegative:!0}),n("space-x-reverse",[()=>K([C("--tw-space-x-reverse","0")]),()=>Z(":where(& > :not(:last-child))",[f("--tw-sort","row-gap"),f("--tw-space-x-reverse","1")])]),n("space-y-reverse",[()=>K([C("--tw-space-y-reverse","0")]),()=>Z(":where(& > :not(:last-child))",[f("--tw-sort","column-gap"),f("--tw-space-y-reverse","1")])]),n("accent-auto",[["accent-color","auto"]]),s("accent",{themeKeys:["--accent-color","--color"],handle:p=>[f("accent-color",p)]}),s("caret",{themeKeys:["--caret-color","--color"],handle:p=>[f("caret-color",p)]}),s("divide",{themeKeys:["--divide-color","--border-color","--color"],handle:p=>[Z(":where(& > :not(:last-child))",[f("--tw-sort","divide-color"),f("border-color",p)])]}),n("place-self-auto",[["place-self","auto"]]),n("place-self-start",[["place-self","start"]]),n("place-self-end",[["place-self","end"]]),n("place-self-center",[["place-self","center"]]),n("place-self-end-safe",[["place-self","safe end"]]),n("place-self-center-safe",[["place-self","safe center"]]),n("place-self-stretch",[["place-self","stretch"]]),n("self-auto",[["align-self","auto"]]),n("self-start",[["align-self","flex-start"]]),n("self-end",[["align-self","flex-end"]]),n("self-center",[["align-self","center"]]),n("self-end-safe",[["align-self","safe flex-end"]]),n("self-center-safe",[["align-self","safe center"]]),n("self-stretch",[["align-self","stretch"]]),n("self-baseline",[["align-self","baseline"]]),n("self-baseline-last",[["align-self","last baseline"]]),n("justify-self-auto",[["justify-self","auto"]]),n("justify-self-start",[["justify-self","flex-start"]]),n("justify-self-end",[["justify-self","flex-end"]]),n("justify-self-center",[["justify-self","center"]]),n("justify-self-end-safe",[["justify-self","safe flex-end"]]),n("justify-self-center-safe",[["justify-self","safe center"]]),n("justify-self-stretch",[["justify-self","stretch"]]);for(let p of["auto","hidden","clip","visible","scroll"])n(`overflow-${p}`,[["overflow",p]]),n(`overflow-x-${p}`,[["overflow-x",p]]),n(`overflow-y-${p}`,[["overflow-y",p]]);for(let p of["auto","contain","none"])n(`overscroll-${p}`,[["overscroll-behavior",p]]),n(`overscroll-x-${p}`,[["overscroll-behavior-x",p]]),n(`overscroll-y-${p}`,[["overscroll-behavior-y",p]]);n("scroll-auto",[["scroll-behavior","auto"]]),n("scroll-smooth",[["scroll-behavior","smooth"]]),n("truncate",[["overflow","hidden"],["text-overflow","ellipsis"],["white-space","nowrap"]]),n("text-ellipsis",[["text-overflow","ellipsis"]]),n("text-clip",[["text-overflow","clip"]]),n("hyphens-none",[["-webkit-hyphens","none"],["hyphens","none"]]),n("hyphens-manual",[["-webkit-hyphens","manual"],["hyphens","manual"]]),n("hyphens-auto",[["-webkit-hyphens","auto"],["hyphens","auto"]]),n("whitespace-normal",[["white-space","normal"]]),n("whitespace-nowrap",[["white-space","nowrap"]]),n("whitespace-pre",[["white-space","pre"]]),n("whitespace-pre-line",[["white-space","pre-line"]]),n("whitespace-pre-wrap",[["white-space","pre-wrap"]]),n("whitespace-break-spaces",[["white-space","break-spaces"]]),n("text-wrap",[["text-wrap","wrap"]]),n("text-nowrap",[["text-wrap","nowrap"]]),n("text-balance",[["text-wrap","balance"]]),n("text-pretty",[["text-wrap","pretty"]]),n("break-normal",[["overflow-wrap","normal"],["word-break","normal"]]),n("break-all",[["word-break","break-all"]]),n("break-keep",[["word-break","keep-all"]]),n("wrap-anywhere",[["overflow-wrap","anywhere"]]),n("wrap-break-word",[["overflow-wrap","break-word"]]),n("wrap-normal",[["overflow-wrap","normal"]]);for(let[p,v]of[["rounded",["border-radius"]],["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]],["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]])i(p,{themeKeys:["--radius"],handle:w=>v.map(A=>f(A,w)),staticValues:{none:v.map(w=>f(w,"0")),full:v.map(w=>f(w,"calc(infinity * 1px)"))}});n("border-solid",[["--tw-border-style","solid"],["border-style","solid"]]),n("border-dashed",[["--tw-border-style","dashed"],["border-style","dashed"]]),n("border-dotted",[["--tw-border-style","dotted"],["border-style","dotted"]]),n("border-double",[["--tw-border-style","double"],["border-style","double"]]),n("border-hidden",[["--tw-border-style","hidden"],["border-style","hidden"]]),n("border-none",[["--tw-border-style","none"],["border-style","none"]]);{let p=function(w,A){t.functional(w,b=>{if(!b.value){if(b.modifier)return;let _=e.get(["--default-border-width"])??"1px",I=A.width(_);return I?[v(),...I]:void 0}if(b.value.kind==="arbitrary"){let _=b.value.value;switch(b.value.dataType??ee(_,["color","line-width","length"])){case"line-width":case"length":{if(b.modifier)return;let I=A.width(_);return I?[v(),...I]:void 0}default:return _=re(_,b.modifier,e),_===null?void 0:A.color(_)}}{let _=ae(b,e,["--border-color","--color"]);if(_)return A.color(_)}{if(b.modifier)return;let _=e.resolve(b.value.value,["--border-width"]);if(_){let I=A.width(_);return I?[v(),...I]:void 0}if(F(b.value.value)){let I=A.width(`${b.value.value}px`);return I?[v(),...I]:void 0}}}),r(w,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--border-color","--color"],modifiers:Array.from({length:21},(b,_)=>`${_*5}`),hasDefaultValue:!0},{values:["0","2","4","8"],valueThemeKeys:["--border-width"]}])};var g=p;let v=()=>K([C("--tw-border-style","solid")]);p("border",{width:w=>[f("border-style","var(--tw-border-style)"),f("border-width",w)],color:w=>[f("border-color",w)]}),p("border-x",{width:w=>[f("border-inline-style","var(--tw-border-style)"),f("border-inline-width",w)],color:w=>[f("border-inline-color",w)]}),p("border-y",{width:w=>[f("border-block-style","var(--tw-border-style)"),f("border-block-width",w)],color:w=>[f("border-block-color",w)]}),p("border-s",{width:w=>[f("border-inline-start-style","var(--tw-border-style)"),f("border-inline-start-width",w)],color:w=>[f("border-inline-start-color",w)]}),p("border-e",{width:w=>[f("border-inline-end-style","var(--tw-border-style)"),f("border-inline-end-width",w)],color:w=>[f("border-inline-end-color",w)]}),p("border-bs",{width:w=>[f("border-block-start-style","var(--tw-border-style)"),f("border-block-start-width",w)],color:w=>[f("border-block-start-color",w)]}),p("border-be",{width:w=>[f("border-block-end-style","var(--tw-border-style)"),f("border-block-end-width",w)],color:w=>[f("border-block-end-color",w)]}),p("border-t",{width:w=>[f("border-top-style","var(--tw-border-style)"),f("border-top-width",w)],color:w=>[f("border-top-color",w)]}),p("border-r",{width:w=>[f("border-right-style","var(--tw-border-style)"),f("border-right-width",w)],color:w=>[f("border-right-color",w)]}),p("border-b",{width:w=>[f("border-bottom-style","var(--tw-border-style)"),f("border-bottom-width",w)],color:w=>[f("border-bottom-color",w)]}),p("border-l",{width:w=>[f("border-left-style","var(--tw-border-style)"),f("border-left-width",w)],color:w=>[f("border-left-color",w)]}),i("divide-x",{defaultValue:e.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:w})=>F(w)?`${w}px`:null,handle:w=>[K([C("--tw-divide-x-reverse","0")]),Z(":where(& > :not(:last-child))",[f("--tw-sort","divide-x-width"),v(),f("--tw-divide-x-reverse","0"),f("border-inline-style","var(--tw-border-style)"),f("border-inline-start-width",`calc(${w} * var(--tw-divide-x-reverse))`),f("border-inline-end-width",`calc(${w} * calc(1 - var(--tw-divide-x-reverse)))`)])]}),i("divide-y",{defaultValue:e.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:w})=>F(w)?`${w}px`:null,handle:w=>[K([C("--tw-divide-y-reverse","0")]),Z(":where(& > :not(:last-child))",[f("--tw-sort","divide-y-width"),v(),f("--tw-divide-y-reverse","0"),f("border-bottom-style","var(--tw-border-style)"),f("border-top-style","var(--tw-border-style)"),f("border-top-width",`calc(${w} * var(--tw-divide-y-reverse))`),f("border-bottom-width",`calc(${w} * calc(1 - var(--tw-divide-y-reverse)))`)])]}),r("divide-x",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),r("divide-y",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),n("divide-x-reverse",[()=>K([C("--tw-divide-x-reverse","0")]),()=>Z(":where(& > :not(:last-child))",[f("--tw-divide-x-reverse","1")])]),n("divide-y-reverse",[()=>K([C("--tw-divide-y-reverse","0")]),()=>Z(":where(& > :not(:last-child))",[f("--tw-divide-y-reverse","1")])]);for(let w of["solid","dashed","dotted","double","none"])n(`divide-${w}`,[()=>Z(":where(& > :not(:last-child))",[f("--tw-sort","divide-style"),f("--tw-border-style",w),f("border-style",w)])])}n("bg-auto",[["background-size","auto"]]),n("bg-cover",[["background-size","cover"]]),n("bg-contain",[["background-size","contain"]]),i("bg-size",{handle(p){if(p)return[f("background-size",p)]}}),n("bg-fixed",[["background-attachment","fixed"]]),n("bg-local",[["background-attachment","local"]]),n("bg-scroll",[["background-attachment","scroll"]]),n("bg-top",[["background-position","top"]]),n("bg-top-left",[["background-position","left top"]]),n("bg-top-right",[["background-position","right top"]]),n("bg-bottom",[["background-position","bottom"]]),n("bg-bottom-left",[["background-position","left bottom"]]),n("bg-bottom-right",[["background-position","right bottom"]]),n("bg-left",[["background-position","left"]]),n("bg-right",[["background-position","right"]]),n("bg-center",[["background-position","center"]]),i("bg-position",{handle(p){if(p)return[f("background-position",p)]}}),n("bg-repeat",[["background-repeat","repeat"]]),n("bg-no-repeat",[["background-repeat","no-repeat"]]),n("bg-repeat-x",[["background-repeat","repeat-x"]]),n("bg-repeat-y",[["background-repeat","repeat-y"]]),n("bg-repeat-round",[["background-repeat","round"]]),n("bg-repeat-space",[["background-repeat","space"]]),n("bg-none",[["background-image","none"]]);{let p=function(_){let I="in oklab";if(_?.kind==="named")switch(_.value){case"longer":case"shorter":case"increasing":case"decreasing":I=`in oklch ${_.value} hue`;break;default:I=`in ${_.value}`}else _?.kind==="arbitrary"&&(I=_.value);return I},v=function({negative:_}){return I=>{if(!I.value)return;if(I.value.kind==="arbitrary"){if(I.modifier)return;let B=I.value.value;switch(I.value.dataType??ee(B,["angle"])){case"angle":return B=_?`calc(${B} * -1)`:`${B}`,[f("--tw-gradient-position",B),f("background-image",`linear-gradient(var(--tw-gradient-stops,${B}))`)];default:return _?void 0:[f("--tw-gradient-position",B),f("background-image",`linear-gradient(var(--tw-gradient-stops,${B}))`)]}}let R=I.value.value;if(!_&&b.has(R))R=b.get(R);else if(F(R))R=_?`calc(${R}deg * -1)`:`${R}deg`;else return;let O=p(I.modifier);return[f("--tw-gradient-position",`${R}`),ne("@supports (background-image: linear-gradient(in lab, red, red))",[f("--tw-gradient-position",`${R} ${O}`)]),f("background-image","linear-gradient(var(--tw-gradient-stops))")]}},w=function({negative:_}){return I=>{if(I.value?.kind==="arbitrary"){if(I.modifier)return;let B=I.value.value;return[f("--tw-gradient-position",B),f("background-image",`conic-gradient(var(--tw-gradient-stops,${B}))`)]}let R=p(I.modifier);if(!I.value)return[f("--tw-gradient-position",R),f("background-image","conic-gradient(var(--tw-gradient-stops))")];let O=I.value.value;if(F(O))return O=_?`calc(${O}deg * -1)`:`${O}deg`,[f("--tw-gradient-position",`from ${O} ${R}`),f("background-image","conic-gradient(var(--tw-gradient-stops))")]}};var y=p,k=v,S=w;let A=["oklab","oklch","srgb","hsl","longer","shorter","increasing","decreasing"],b=new Map([["to-t","to top"],["to-tr","to top right"],["to-r","to right"],["to-br","to bottom right"],["to-b","to bottom"],["to-bl","to bottom left"],["to-l","to left"],["to-tl","to top left"]]);t.functional("-bg-linear",v({negative:!0})),t.functional("bg-linear",v({negative:!1})),r("bg-linear",()=>[{values:[...b.keys()],modifiers:A},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:A}]),t.functional("-bg-conic",w({negative:!0})),t.functional("bg-conic",w({negative:!1})),r("bg-conic",()=>[{hasDefaultValue:!0,modifiers:A},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:A}]),t.functional("bg-radial",_=>{if(!_.value){let I=p(_.modifier);return[f("--tw-gradient-position",I),f("background-image","radial-gradient(var(--tw-gradient-stops))")]}if(_.value.kind==="arbitrary"){if(_.modifier)return;let I=_.value.value;return[f("--tw-gradient-position",I),f("background-image",`radial-gradient(var(--tw-gradient-stops,${I}))`)]}}),r("bg-radial",()=>[{hasDefaultValue:!0,modifiers:A}])}t.functional("bg",p=>{if(p.value){if(p.value.kind==="arbitrary"){let v=p.value.value;switch(p.value.dataType??ee(v,["image","color","percentage","position","bg-size","length","url"])){case"percentage":case"position":return p.modifier?void 0:[f("background-position",v)];case"bg-size":case"length":case"size":return p.modifier?void 0:[f("background-size",v)];case"image":case"url":return p.modifier?void 0:[f("background-image",v)];default:return v=re(v,p.modifier,e),v===null?void 0:[f("background-color",v)]}}{let v=ae(p,e,["--background-color","--color"]);if(v)return[f("background-color",v)]}{if(p.modifier)return;let v=e.resolve(p.value.value,["--background-image"]);if(v)return[f("background-image",v)]}}}),r("bg",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)},{values:[],valueThemeKeys:["--background-image"]}]);let $=()=>K([C("--tw-gradient-position"),C("--tw-gradient-from","#0000","<color>"),C("--tw-gradient-via","#0000","<color>"),C("--tw-gradient-to","#0000","<color>"),C("--tw-gradient-stops"),C("--tw-gradient-via-stops"),C("--tw-gradient-from-position","0%","<length-percentage>"),C("--tw-gradient-via-position","50%","<length-percentage>"),C("--tw-gradient-to-position","100%","<length-percentage>")]);function x(p,v){t.functional(p,w=>{if(w.value){if(w.value.kind==="arbitrary"){let A=w.value.value;switch(w.value.dataType??ee(A,["color","length","percentage"])){case"length":case"percentage":return w.modifier?void 0:v.position(A);default:return A=re(A,w.modifier,e),A===null?void 0:v.color(A)}}{let A=ae(w,e,["--background-color","--color"]);if(A)return v.color(A)}{if(w.modifier)return;let A=e.resolve(w.value.value,["--gradient-color-stop-positions"]);if(A)return v.position(A);if(w.value.value[w.value.value.length-1]==="%"&&F(w.value.value.slice(0,-1)))return v.position(w.value.value)}}}),r(p,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(w,A)=>`${A*5}`)},{values:Array.from({length:21},(w,A)=>`${A*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}])}x("from",{color:p=>[$(),f("--tw-sort","--tw-gradient-from"),f("--tw-gradient-from",p),f("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:p=>[$(),f("--tw-gradient-from-position",p)]}),n("via-none",[["--tw-gradient-via-stops","initial"]]),x("via",{color:p=>[$(),f("--tw-sort","--tw-gradient-via"),f("--tw-gradient-via",p),f("--tw-gradient-via-stops","var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"),f("--tw-gradient-stops","var(--tw-gradient-via-stops)")],position:p=>[$(),f("--tw-gradient-via-position",p)]}),x("to",{color:p=>[$(),f("--tw-sort","--tw-gradient-to"),f("--tw-gradient-to",p),f("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:p=>[$(),f("--tw-gradient-to-position",p)]}),n("mask-none",[["mask-image","none"]]),t.functional("mask",p=>{if(!p.value||p.modifier||p.value.kind!=="arbitrary")return;let v=p.value.value;switch(p.value.dataType??ee(v,["image","percentage","position","bg-size","length","url"])){case"percentage":case"position":return p.modifier?void 0:[f("mask-position",v)];case"bg-size":case"length":case"size":return[f("mask-size",v)];case"image":case"url":default:return[f("mask-image",v)]}}),n("mask-add",[["mask-composite","add"]]),n("mask-subtract",[["mask-composite","subtract"]]),n("mask-intersect",[["mask-composite","intersect"]]),n("mask-exclude",[["mask-composite","exclude"]]),n("mask-alpha",[["mask-mode","alpha"]]),n("mask-luminance",[["mask-mode","luminance"]]),n("mask-match",[["mask-mode","match-source"]]),n("mask-type-alpha",[["mask-type","alpha"]]),n("mask-type-luminance",[["mask-type","luminance"]]),n("mask-auto",[["mask-size","auto"]]),n("mask-cover",[["mask-size","cover"]]),n("mask-contain",[["mask-size","contain"]]),i("mask-size",{handle(p){if(p)return[f("mask-size",p)]}}),n("mask-top",[["mask-position","top"]]),n("mask-top-left",[["mask-position","left top"]]),n("mask-top-right",[["mask-position","right top"]]),n("mask-bottom",[["mask-position","bottom"]]),n("mask-bottom-left",[["mask-position","left bottom"]]),n("mask-bottom-right",[["mask-position","right bottom"]]),n("mask-left",[["mask-position","left"]]),n("mask-right",[["mask-position","right"]]),n("mask-center",[["mask-position","center"]]),i("mask-position",{handle(p){if(p)return[f("mask-position",p)]}}),n("mask-repeat",[["mask-repeat","repeat"]]),n("mask-no-repeat",[["mask-repeat","no-repeat"]]),n("mask-repeat-x",[["mask-repeat","repeat-x"]]),n("mask-repeat-y",[["mask-repeat","repeat-y"]]),n("mask-repeat-round",[["mask-repeat","round"]]),n("mask-repeat-space",[["mask-repeat","space"]]),n("mask-clip-border",[["mask-clip","border-box"]]),n("mask-clip-padding",[["mask-clip","padding-box"]]),n("mask-clip-content",[["mask-clip","content-box"]]),n("mask-clip-fill",[["mask-clip","fill-box"]]),n("mask-clip-stroke",[["mask-clip","stroke-box"]]),n("mask-clip-view",[["mask-clip","view-box"]]),n("mask-no-clip",[["mask-clip","no-clip"]]),n("mask-origin-border",[["mask-origin","border-box"]]),n("mask-origin-padding",[["mask-origin","padding-box"]]),n("mask-origin-content",[["mask-origin","content-box"]]),n("mask-origin-fill",[["mask-origin","fill-box"]]),n("mask-origin-stroke",[["mask-origin","stroke-box"]]),n("mask-origin-view",[["mask-origin","view-box"]]);let T=()=>K([C("--tw-mask-linear","linear-gradient(#fff, #fff)"),C("--tw-mask-radial","linear-gradient(#fff, #fff)"),C("--tw-mask-conic","linear-gradient(#fff, #fff)")]);function E(p,v){t.functional(p,w=>{if(w.value){if(w.value.kind==="arbitrary"){let A=w.value.value;switch(w.value.dataType??ee(A,["length","percentage","color"])){case"color":return A=re(A,w.modifier,e),A===null?void 0:v.color(A);case"percentage":return w.modifier||!F(A.slice(0,-1))?void 0:v.position(A);default:return w.modifier?void 0:v.position(A)}}{let A=ae(w,e,["--background-color","--color"]);if(A)return v.color(A)}{if(w.modifier)return;let A=ee(w.value.value,["number","percentage"]);if(!A)return;switch(A){case"number":{let b=e.resolve(null,["--spacing"]);return!b||!se(w.value.value)?void 0:v.position(`calc(${b} * ${w.value.value})`)}case"percentage":return F(w.value.value.slice(0,-1))?v.position(w.value.value):void 0;default:return}}}}),r(p,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(w,A)=>`${A*5}`)},{values:Array.from({length:21},(w,A)=>`${A*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}]),r(p,()=>[{values:Array.from({length:21},(w,A)=>`${A*5}%`)},{values:e.get(["--spacing"])?Pr:[]},{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(w,A)=>`${A*5}`)}])}let j=()=>K([C("--tw-mask-left","linear-gradient(#fff, #fff)"),C("--tw-mask-right","linear-gradient(#fff, #fff)"),C("--tw-mask-bottom","linear-gradient(#fff, #fff)"),C("--tw-mask-top","linear-gradient(#fff, #fff)")]);function L(p,v,w){E(p,{color(A){let b=[T(),j(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let _ of["top","right","bottom","left"])w[_]&&(b.push(f(`--tw-mask-${_}`,`linear-gradient(to ${_}, var(--tw-mask-${_}-from-color) var(--tw-mask-${_}-from-position), var(--tw-mask-${_}-to-color) var(--tw-mask-${_}-to-position))`)),b.push(K([C(`--tw-mask-${_}-from-position`,"0%"),C(`--tw-mask-${_}-to-position`,"100%"),C(`--tw-mask-${_}-from-color`,"black"),C(`--tw-mask-${_}-to-color`,"transparent")])),b.push(f(`--tw-mask-${_}-${v}-color`,A)));return b},position(A){let b=[T(),j(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let _ of["top","right","bottom","left"])w[_]&&(b.push(f(`--tw-mask-${_}`,`linear-gradient(to ${_}, var(--tw-mask-${_}-from-color) var(--tw-mask-${_}-from-position), var(--tw-mask-${_}-to-color) var(--tw-mask-${_}-to-position))`)),b.push(K([C(`--tw-mask-${_}-from-position`,"0%"),C(`--tw-mask-${_}-to-position`,"100%"),C(`--tw-mask-${_}-from-color`,"black"),C(`--tw-mask-${_}-to-color`,"transparent")])),b.push(f(`--tw-mask-${_}-${v}-position`,A)));return b}})}L("mask-x-from","from",{top:!1,right:!0,bottom:!1,left:!0}),L("mask-x-to","to",{top:!1,right:!0,bottom:!1,left:!0}),L("mask-y-from","from",{top:!0,right:!1,bottom:!0,left:!1}),L("mask-y-to","to",{top:!0,right:!1,bottom:!0,left:!1}),L("mask-t-from","from",{top:!0,right:!1,bottom:!1,left:!1}),L("mask-t-to","to",{top:!0,right:!1,bottom:!1,left:!1}),L("mask-r-from","from",{top:!1,right:!0,bottom:!1,left:!1}),L("mask-r-to","to",{top:!1,right:!0,bottom:!1,left:!1}),L("mask-b-from","from",{top:!1,right:!1,bottom:!0,left:!1}),L("mask-b-to","to",{top:!1,right:!1,bottom:!0,left:!1}),L("mask-l-from","from",{top:!1,right:!1,bottom:!1,left:!0}),L("mask-l-to","to",{top:!1,right:!1,bottom:!1,left:!0});let z=()=>K([C("--tw-mask-linear-position","0deg"),C("--tw-mask-linear-from-position","0%"),C("--tw-mask-linear-to-position","100%"),C("--tw-mask-linear-from-color","black"),C("--tw-mask-linear-to-color","transparent")]);i("mask-linear",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue(p){return F(p.value)?`calc(1deg * ${p.value})`:null},handleNegativeBareValue(p){return F(p.value)?`calc(1deg * -${p.value})`:null},handle:p=>[T(),z(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))"),f("--tw-mask-linear-position",p)]}),r("mask-linear",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}]),E("mask-linear-from",{color:p=>[T(),z(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),f("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),f("--tw-mask-linear-from-color",p)],position:p=>[T(),z(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),f("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),f("--tw-mask-linear-from-position",p)]}),E("mask-linear-to",{color:p=>[T(),z(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),f("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),f("--tw-mask-linear-to-color",p)],position:p=>[T(),z(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),f("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),f("--tw-mask-linear-to-position",p)]});let P=()=>K([C("--tw-mask-radial-from-position","0%"),C("--tw-mask-radial-to-position","100%"),C("--tw-mask-radial-from-color","black"),C("--tw-mask-radial-to-color","transparent"),C("--tw-mask-radial-shape","ellipse"),C("--tw-mask-radial-size","farthest-corner"),C("--tw-mask-radial-position","center")]);n("mask-circle",[["--tw-mask-radial-shape","circle"]]),n("mask-ellipse",[["--tw-mask-radial-shape","ellipse"]]),n("mask-radial-closest-side",[["--tw-mask-radial-size","closest-side"]]),n("mask-radial-farthest-side",[["--tw-mask-radial-size","farthest-side"]]),n("mask-radial-closest-corner",[["--tw-mask-radial-size","closest-corner"]]),n("mask-radial-farthest-corner",[["--tw-mask-radial-size","farthest-corner"]]),n("mask-radial-at-top",[["--tw-mask-radial-position","top"]]),n("mask-radial-at-top-left",[["--tw-mask-radial-position","top left"]]),n("mask-radial-at-top-right",[["--tw-mask-radial-position","top right"]]),n("mask-radial-at-bottom",[["--tw-mask-radial-position","bottom"]]),n("mask-radial-at-bottom-left",[["--tw-mask-radial-position","bottom left"]]),n("mask-radial-at-bottom-right",[["--tw-mask-radial-position","bottom right"]]),n("mask-radial-at-left",[["--tw-mask-radial-position","left"]]),n("mask-radial-at-right",[["--tw-mask-radial-position","right"]]),n("mask-radial-at-center",[["--tw-mask-radial-position","center"]]),i("mask-radial-at",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:p=>[f("--tw-mask-radial-position",p)]}),i("mask-radial",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:p=>[T(),P(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))"),f("--tw-mask-radial-size",p)]}),E("mask-radial-from",{color:p=>[T(),P(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),f("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),f("--tw-mask-radial-from-color",p)],position:p=>[T(),P(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),f("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),f("--tw-mask-radial-from-position",p)]}),E("mask-radial-to",{color:p=>[T(),P(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),f("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),f("--tw-mask-radial-to-color",p)],position:p=>[T(),P(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),f("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),f("--tw-mask-radial-to-position",p)]});let N=()=>K([C("--tw-mask-conic-position","0deg"),C("--tw-mask-conic-from-position","0%"),C("--tw-mask-conic-to-position","100%"),C("--tw-mask-conic-from-color","black"),C("--tw-mask-conic-to-color","transparent")]);i("mask-conic",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue(p){return F(p.value)?`calc(1deg * ${p.value})`:null},handleNegativeBareValue(p){return F(p.value)?`calc(1deg * -${p.value})`:null},handle:p=>[T(),N(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))"),f("--tw-mask-conic-position",p)]}),r("mask-conic",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}]),E("mask-conic-from",{color:p=>[T(),N(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),f("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),f("--tw-mask-conic-from-color",p)],position:p=>[T(),N(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),f("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),f("--tw-mask-conic-from-position",p)]}),E("mask-conic-to",{color:p=>[T(),N(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),f("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),f("--tw-mask-conic-to-color",p)],position:p=>[T(),N(),f("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),f("mask-composite","intersect"),f("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),f("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),f("--tw-mask-conic-to-position",p)]}),n("box-decoration-slice",[["-webkit-box-decoration-break","slice"],["box-decoration-break","slice"]]),n("box-decoration-clone",[["-webkit-box-decoration-break","clone"],["box-decoration-break","clone"]]),n("bg-clip-text",[["background-clip","text"]]),n("bg-clip-border",[["background-clip","border-box"]]),n("bg-clip-padding",[["background-clip","padding-box"]]),n("bg-clip-content",[["background-clip","content-box"]]),n("bg-origin-border",[["background-origin","border-box"]]),n("bg-origin-padding",[["background-origin","padding-box"]]),n("bg-origin-content",[["background-origin","content-box"]]);for(let p of["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])n(`bg-blend-${p}`,[["background-blend-mode",p]]),n(`mix-blend-${p}`,[["mix-blend-mode",p]]);n("mix-blend-plus-darker",[["mix-blend-mode","plus-darker"]]),n("mix-blend-plus-lighter",[["mix-blend-mode","plus-lighter"]]),n("fill-none",[["fill","none"]]),t.functional("fill",p=>{if(!p.value)return;if(p.value.kind==="arbitrary"){let w=re(p.value.value,p.modifier,e);return w===null?void 0:[f("fill",w)]}let v=ae(p,e,["--fill","--color"]);if(v)return[f("fill",v)]}),r("fill",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--fill","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)}]),n("stroke-none",[["stroke","none"]]),t.functional("stroke",p=>{if(p.value){if(p.value.kind==="arbitrary"){let v=p.value.value;switch(p.value.dataType??ee(v,["color","number","length","percentage"])){case"number":case"length":case"percentage":return p.modifier?void 0:[f("stroke-width",v)];default:return v=re(p.value.value,p.modifier,e),v===null?void 0:[f("stroke",v)]}}{let v=ae(p,e,["--stroke","--color"]);if(v)return[f("stroke",v)]}{let v=e.resolve(p.value.value,["--stroke-width"]);if(v)return[f("stroke-width",v)];if(F(p.value.value))return[f("stroke-width",p.value.value)]}}}),r("stroke",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--stroke","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)},{values:["0","1","2","3"],valueThemeKeys:["--stroke-width"]}]),n("object-contain",[["object-fit","contain"]]),n("object-cover",[["object-fit","cover"]]),n("object-fill",[["object-fit","fill"]]),n("object-none",[["object-fit","none"]]),n("object-scale-down",[["object-fit","scale-down"]]),i("object",{themeKeys:["--object-position"],handle:p=>[f("object-position",p)],staticValues:{top:[f("object-position","top")],"top-left":[f("object-position","left top")],"top-right":[f("object-position","right top")],bottom:[f("object-position","bottom")],"bottom-left":[f("object-position","left bottom")],"bottom-right":[f("object-position","right bottom")],left:[f("object-position","left")],right:[f("object-position","right")],center:[f("object-position","center")]}});for(let[p,v]of[["p","padding"],["px","padding-inline"],["py","padding-block"],["ps","padding-inline-start"],["pe","padding-inline-end"],["pbs","padding-block-start"],["pbe","padding-block-end"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"]])o(p,["--padding","--spacing"],w=>[f(v,w)]);n("text-left",[["text-align","left"]]),n("text-center",[["text-align","center"]]),n("text-right",[["text-align","right"]]),n("text-justify",[["text-align","justify"]]),n("text-start",[["text-align","start"]]),n("text-end",[["text-align","end"]]),o("indent",["--text-indent","--spacing"],p=>[f("text-indent",p)],{supportsNegative:!0}),n("align-baseline",[["vertical-align","baseline"]]),n("align-top",[["vertical-align","top"]]),n("align-middle",[["vertical-align","middle"]]),n("align-bottom",[["vertical-align","bottom"]]),n("align-text-top",[["vertical-align","text-top"]]),n("align-text-bottom",[["vertical-align","text-bottom"]]),n("align-sub",[["vertical-align","sub"]]),n("align-super",[["vertical-align","super"]]),i("align",{themeKeys:[],handle:p=>[f("vertical-align",p)]}),t.functional("font",p=>{if(!(!p.value||p.modifier)){if(p.value.kind==="arbitrary"){let v=p.value.value;switch(p.value.dataType??ee(v,["number","generic-name","family-name"])){case"generic-name":case"family-name":return[f("font-family",v)];default:return[K([C("--tw-font-weight")]),f("--tw-font-weight",v),f("font-weight",v)]}}{let v=e.resolveWith(p.value.value,["--font"],["--font-feature-settings","--font-variation-settings"]);if(v){let[w,A={}]=v;return[f("font-family",w),f("font-feature-settings",A["--font-feature-settings"]),f("font-variation-settings",A["--font-variation-settings"])]}}{let v=e.resolve(p.value.value,["--font-weight"]);if(v)return[K([C("--tw-font-weight")]),f("--tw-font-weight",v),f("font-weight",v)]}}}),r("font",()=>[{values:[],valueThemeKeys:["--font"]},{values:[],valueThemeKeys:["--font-weight"]}]),i("font-features",{themeKeys:[],handle:p=>[f("font-feature-settings",p)]}),n("uppercase",[["text-transform","uppercase"]]),n("lowercase",[["text-transform","lowercase"]]),n("capitalize",[["text-transform","capitalize"]]),n("normal-case",[["text-transform","none"]]),n("italic",[["font-style","italic"]]),n("not-italic",[["font-style","normal"]]),n("underline",[["text-decoration-line","underline"]]),n("overline",[["text-decoration-line","overline"]]),n("line-through",[["text-decoration-line","line-through"]]),n("no-underline",[["text-decoration-line","none"]]),n("font-stretch-normal",[["font-stretch","normal"]]),n("font-stretch-ultra-condensed",[["font-stretch","ultra-condensed"]]),n("font-stretch-extra-condensed",[["font-stretch","extra-condensed"]]),n("font-stretch-condensed",[["font-stretch","condensed"]]),n("font-stretch-semi-condensed",[["font-stretch","semi-condensed"]]),n("font-stretch-semi-expanded",[["font-stretch","semi-expanded"]]),n("font-stretch-expanded",[["font-stretch","expanded"]]),n("font-stretch-extra-expanded",[["font-stretch","extra-expanded"]]),n("font-stretch-ultra-expanded",[["font-stretch","ultra-expanded"]]),i("font-stretch",{handleBareValue:({value:p})=>{if(!p.endsWith("%"))return null;let v=Number(p.slice(0,-1));return!F(v)||Number.isNaN(v)||v<50||v>200?null:p},handle:p=>[f("font-stretch",p)]}),r("font-stretch",()=>[{values:["50%","75%","90%","95%","100%","105%","110%","125%","150%","200%"]}]),s("placeholder",{themeKeys:["--background-color","--color"],handle:p=>[Z("&::placeholder",[f("--tw-sort","placeholder-color"),f("color",p)])]}),n("decoration-solid",[["text-decoration-style","solid"]]),n("decoration-double",[["text-decoration-style","double"]]),n("decoration-dotted",[["text-decoration-style","dotted"]]),n("decoration-dashed",[["text-decoration-style","dashed"]]),n("decoration-wavy",[["text-decoration-style","wavy"]]),n("decoration-auto",[["text-decoration-thickness","auto"]]),n("decoration-from-font",[["text-decoration-thickness","from-font"]]),t.functional("decoration",p=>{if(p.value){if(p.value.kind==="arbitrary"){let v=p.value.value;switch(p.value.dataType??ee(v,["color","length","percentage"])){case"length":case"percentage":return p.modifier?void 0:[f("text-decoration-thickness",v)];default:return v=re(v,p.modifier,e),v===null?void 0:[f("text-decoration-color",v)]}}{let v=e.resolve(p.value.value,["--text-decoration-thickness"]);if(v)return p.modifier?void 0:[f("text-decoration-thickness",v)];if(F(p.value.value))return p.modifier?void 0:[f("text-decoration-thickness",`${p.value.value}px`)]}{let v=ae(p,e,["--text-decoration-color","--color"]);if(v)return[f("text-decoration-color",v)]}}}),r("decoration",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-decoration-color","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)},{values:["0","1","2"],valueThemeKeys:["--text-decoration-thickness"]}]),i("animate",{themeKeys:["--animate"],handle:p=>[f("animation",p)],staticValues:{none:[f("animation","none")]}});{let p=["var(--tw-blur,)","var(--tw-brightness,)","var(--tw-contrast,)","var(--tw-grayscale,)","var(--tw-hue-rotate,)","var(--tw-invert,)","var(--tw-saturate,)","var(--tw-sepia,)","var(--tw-drop-shadow,)"].join(" "),v=["var(--tw-backdrop-blur,)","var(--tw-backdrop-brightness,)","var(--tw-backdrop-contrast,)","var(--tw-backdrop-grayscale,)","var(--tw-backdrop-hue-rotate,)","var(--tw-backdrop-invert,)","var(--tw-backdrop-opacity,)","var(--tw-backdrop-saturate,)","var(--tw-backdrop-sepia,)"].join(" "),w=()=>K([C("--tw-blur"),C("--tw-brightness"),C("--tw-contrast"),C("--tw-grayscale"),C("--tw-hue-rotate"),C("--tw-invert"),C("--tw-opacity"),C("--tw-saturate"),C("--tw-sepia"),C("--tw-drop-shadow"),C("--tw-drop-shadow-color"),C("--tw-drop-shadow-alpha","100%","<percentage>"),C("--tw-drop-shadow-size")]),A=()=>K([C("--tw-backdrop-blur"),C("--tw-backdrop-brightness"),C("--tw-backdrop-contrast"),C("--tw-backdrop-grayscale"),C("--tw-backdrop-hue-rotate"),C("--tw-backdrop-invert"),C("--tw-backdrop-opacity"),C("--tw-backdrop-saturate"),C("--tw-backdrop-sepia")]);t.functional("filter",b=>{if(!b.modifier){if(b.value===null)return[w(),f("filter",p)];if(b.value.kind==="arbitrary")return[f("filter",b.value.value)];switch(b.value.value){case"none":return[f("filter","none")]}}}),t.functional("backdrop-filter",b=>{if(!b.modifier){if(b.value===null)return[A(),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)];if(b.value.kind==="arbitrary")return[f("-webkit-backdrop-filter",b.value.value),f("backdrop-filter",b.value.value)];switch(b.value.value){case"none":return[f("-webkit-backdrop-filter","none"),f("backdrop-filter","none")]}}}),i("blur",{themeKeys:["--blur"],handle:b=>[w(),f("--tw-blur",`blur(${b})`),f("filter",p)],staticValues:{none:[w(),f("--tw-blur"," "),f("filter",p)]}}),i("backdrop-blur",{themeKeys:["--backdrop-blur","--blur"],handle:b=>[A(),f("--tw-backdrop-blur",`blur(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)],staticValues:{none:[A(),f("--tw-backdrop-blur"," "),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}}),i("brightness",{themeKeys:["--brightness"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,handle:b=>[w(),f("--tw-brightness",`brightness(${b})`),f("filter",p)]}),i("backdrop-brightness",{themeKeys:["--backdrop-brightness","--brightness"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,handle:b=>[A(),f("--tw-backdrop-brightness",`brightness(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--brightness"]}]),r("backdrop-brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--backdrop-brightness","--brightness"]}]),i("contrast",{themeKeys:["--contrast"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,handle:b=>[w(),f("--tw-contrast",`contrast(${b})`),f("filter",p)]}),i("backdrop-contrast",{themeKeys:["--backdrop-contrast","--contrast"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,handle:b=>[A(),f("--tw-backdrop-contrast",`contrast(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--contrast"]}]),r("backdrop-contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--backdrop-contrast","--contrast"]}]),i("grayscale",{themeKeys:["--grayscale"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[w(),f("--tw-grayscale",`grayscale(${b})`),f("filter",p)]}),i("backdrop-grayscale",{themeKeys:["--backdrop-grayscale","--grayscale"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[A(),f("--tw-backdrop-grayscale",`grayscale(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--grayscale"],hasDefaultValue:!0}]),r("backdrop-grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-grayscale","--grayscale"],hasDefaultValue:!0}]),i("hue-rotate",{supportsNegative:!0,themeKeys:["--hue-rotate"],handleBareValue:({value:b})=>F(b)?`${b}deg`:null,handle:b=>[w(),f("--tw-hue-rotate",`hue-rotate(${b})`),f("filter",p)]}),i("backdrop-hue-rotate",{supportsNegative:!0,themeKeys:["--backdrop-hue-rotate","--hue-rotate"],handleBareValue:({value:b})=>F(b)?`${b}deg`:null,handle:b=>[A(),f("--tw-backdrop-hue-rotate",`hue-rotate(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--hue-rotate"]}]),r("backdrop-hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--backdrop-hue-rotate","--hue-rotate"]}]),i("invert",{themeKeys:["--invert"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[w(),f("--tw-invert",`invert(${b})`),f("filter",p)]}),i("backdrop-invert",{themeKeys:["--backdrop-invert","--invert"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[A(),f("--tw-backdrop-invert",`invert(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--invert"],hasDefaultValue:!0}]),r("backdrop-invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-invert","--invert"],hasDefaultValue:!0}]),i("saturate",{themeKeys:["--saturate"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,handle:b=>[w(),f("--tw-saturate",`saturate(${b})`),f("filter",p)]}),i("backdrop-saturate",{themeKeys:["--backdrop-saturate","--saturate"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,handle:b=>[A(),f("--tw-backdrop-saturate",`saturate(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--saturate"]}]),r("backdrop-saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--backdrop-saturate","--saturate"]}]),i("sepia",{themeKeys:["--sepia"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[w(),f("--tw-sepia",`sepia(${b})`),f("filter",p)]}),i("backdrop-sepia",{themeKeys:["--backdrop-sepia","--sepia"],handleBareValue:({value:b})=>F(b)?`${b}%`:null,defaultValue:"100%",handle:b=>[A(),f("--tw-backdrop-sepia",`sepia(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--sepia"],hasDefaultValue:!0}]),r("backdrop-sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--backdrop-sepia","--sepia"],hasDefaultValue:!0}]),n("drop-shadow-none",[w,["--tw-drop-shadow"," "],["filter",p]]),t.functional("drop-shadow",b=>{let _;if(b.modifier&&(b.modifier.kind==="arbitrary"?_=b.modifier.value:F(b.modifier.value)&&(_=`${b.modifier.value}%`)),!b.value){let I=e.get(["--drop-shadow"]),R=e.resolve(null,["--drop-shadow"]);return I===null||R===null?void 0:[w(),f("--tw-drop-shadow-alpha",_),...br("--tw-drop-shadow-size",I,_,O=>`var(--tw-drop-shadow-color, ${O})`),f("--tw-drop-shadow",H(R,",").map(O=>`drop-shadow(${O})`).join(" ")),f("filter",p)]}if(b.value.kind==="arbitrary"){let I=b.value.value;switch(b.value.dataType??ee(I,["color"])){case"color":return I=re(I,b.modifier,e),I===null?void 0:[w(),f("--tw-drop-shadow-color",le(I,"var(--tw-drop-shadow-alpha)")),f("--tw-drop-shadow","var(--tw-drop-shadow-size)")];default:return b.modifier&&!_?void 0:[w(),f("--tw-drop-shadow-alpha",_),...br("--tw-drop-shadow-size",I,_,R=>`var(--tw-drop-shadow-color, ${R})`),f("--tw-drop-shadow","var(--tw-drop-shadow-size)"),f("filter",p)]}}{let I=e.get([`--drop-shadow-${b.value.value}`]),R=e.resolve(b.value.value,["--drop-shadow"]);if(I&&R)return b.modifier&&!_?void 0:_?[w(),f("--tw-drop-shadow-alpha",_),...br("--tw-drop-shadow-size",I,_,O=>`var(--tw-drop-shadow-color, ${O})`),f("--tw-drop-shadow","var(--tw-drop-shadow-size)"),f("filter",p)]:[w(),f("--tw-drop-shadow-alpha",_),...br("--tw-drop-shadow-size",I,_,O=>`var(--tw-drop-shadow-color, ${O})`),f("--tw-drop-shadow",H(R,",").map(O=>`drop-shadow(${O})`).join(" ")),f("filter",p)]}{let I=ae(b,e,["--drop-shadow-color","--color"]);if(I)return I==="inherit"?[w(),f("--tw-drop-shadow-color","inherit"),f("--tw-drop-shadow","var(--tw-drop-shadow-size)")]:[w(),f("--tw-drop-shadow-color",le(I,"var(--tw-drop-shadow-alpha)")),f("--tw-drop-shadow","var(--tw-drop-shadow-size)")]}}),r("drop-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--drop-shadow-color","--color"],modifiers:Array.from({length:21},(b,_)=>`${_*5}`)},{valueThemeKeys:["--drop-shadow"]}]),i("backdrop-opacity",{themeKeys:["--backdrop-opacity","--opacity"],handleBareValue:({value:b})=>wr(b)?`${b}%`:null,handle:b=>[A(),f("--tw-backdrop-opacity",`opacity(${b})`),f("-webkit-backdrop-filter",v),f("backdrop-filter",v)]}),r("backdrop-opacity",()=>[{values:Array.from({length:21},(b,_)=>`${_*5}`),valueThemeKeys:["--backdrop-opacity","--opacity"]}])}{let p=`var(--tw-ease, ${e.resolve(null,["--default-transition-timing-function"])??"ease"})`,v=`var(--tw-duration, ${e.resolve(null,["--default-transition-duration"])??"0s"})`;i("transition",{defaultValue:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events",themeKeys:["--transition-property"],handle:w=>[f("transition-property",w),f("transition-timing-function",p),f("transition-duration",v)],staticValues:{none:[f("transition-property","none")],all:[f("transition-property","all"),f("transition-timing-function",p),f("transition-duration",v)],colors:[f("transition-property","color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"),f("transition-timing-function",p),f("transition-duration",v)],opacity:[f("transition-property","opacity"),f("transition-timing-function",p),f("transition-duration",v)],shadow:[f("transition-property","box-shadow"),f("transition-timing-function",p),f("transition-duration",v)],transform:[f("transition-property","transform, translate, scale, rotate"),f("transition-timing-function",p),f("transition-duration",v)]}}),n("transition-discrete",[["transition-behavior","allow-discrete"]]),n("transition-normal",[["transition-behavior","normal"]]),i("delay",{handleBareValue:({value:w})=>F(w)?`${w}ms`:null,themeKeys:["--transition-delay"],handle:w=>[f("transition-delay",w)]});{let w=()=>K([C("--tw-duration")]);n("duration-initial",[w,["--tw-duration","initial"]]),t.functional("duration",A=>{if(A.modifier||!A.value)return;let b=null;if(A.value.kind==="arbitrary"?b=A.value.value:(b=e.resolve(A.value.fraction??A.value.value,["--transition-duration"]),b===null&&F(A.value.value)&&(b=`${A.value.value}ms`)),b!==null)return[w(),f("--tw-duration",b),f("transition-duration",b)]})}r("delay",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-delay"]}]),r("duration",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-duration"]}])}{let p=()=>K([C("--tw-ease")]);i("ease",{themeKeys:["--ease"],handle:v=>[p(),f("--tw-ease",v),f("transition-timing-function",v)],staticValues:{initial:[p(),f("--tw-ease","initial")],linear:[p(),f("--tw-ease","linear"),f("transition-timing-function","linear")]}})}n("will-change-auto",[["will-change","auto"]]),n("will-change-scroll",[["will-change","scroll-position"]]),n("will-change-contents",[["will-change","contents"]]),n("will-change-transform",[["will-change","transform"]]),i("will-change",{themeKeys:[],handle:p=>[f("will-change",p)]}),n("content-none",[["--tw-content","none"],["content","none"]]),i("content",{themeKeys:["--content"],handle:p=>[K([C("--tw-content",'""')]),f("--tw-content",p),f("content","var(--tw-content)")]});{let p="var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)",v=()=>K([C("--tw-contain-size"),C("--tw-contain-layout"),C("--tw-contain-paint"),C("--tw-contain-style")]);n("contain-none",[["contain","none"]]),n("contain-content",[["contain","content"]]),n("contain-strict",[["contain","strict"]]),n("contain-size",[v,["--tw-contain-size","size"],["contain",p]]),n("contain-inline-size",[v,["--tw-contain-size","inline-size"],["contain",p]]),n("contain-layout",[v,["--tw-contain-layout","layout"],["contain",p]]),n("contain-paint",[v,["--tw-contain-paint","paint"],["contain",p]]),n("contain-style",[v,["--tw-contain-style","style"],["contain",p]]),i("contain",{themeKeys:[],handle:w=>[f("contain",w)]})}n("forced-color-adjust-none",[["forced-color-adjust","none"]]),n("forced-color-adjust-auto",[["forced-color-adjust","auto"]]),o("leading",["--leading","--spacing"],p=>[K([C("--tw-leading")]),f("--tw-leading",p),f("line-height",p)],{staticValues:{none:[K([C("--tw-leading")]),f("--tw-leading","1"),f("line-height","1")]}}),i("tracking",{supportsNegative:!0,themeKeys:["--tracking"],handle:p=>[K([C("--tw-tracking")]),f("--tw-tracking",p),f("letter-spacing",p)]}),n("antialiased",[["-webkit-font-smoothing","antialiased"],["-moz-osx-font-smoothing","grayscale"]]),n("subpixel-antialiased",[["-webkit-font-smoothing","auto"],["-moz-osx-font-smoothing","auto"]]);{let p="var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)",v=()=>K([C("--tw-ordinal"),C("--tw-slashed-zero"),C("--tw-numeric-figure"),C("--tw-numeric-spacing"),C("--tw-numeric-fraction")]);n("normal-nums",[["font-variant-numeric","normal"]]),n("ordinal",[v,["--tw-ordinal","ordinal"],["font-variant-numeric",p]]),n("slashed-zero",[v,["--tw-slashed-zero","slashed-zero"],["font-variant-numeric",p]]),n("lining-nums",[v,["--tw-numeric-figure","lining-nums"],["font-variant-numeric",p]]),n("oldstyle-nums",[v,["--tw-numeric-figure","oldstyle-nums"],["font-variant-numeric",p]]),n("proportional-nums",[v,["--tw-numeric-spacing","proportional-nums"],["font-variant-numeric",p]]),n("tabular-nums",[v,["--tw-numeric-spacing","tabular-nums"],["font-variant-numeric",p]]),n("diagonal-fractions",[v,["--tw-numeric-fraction","diagonal-fractions"],["font-variant-numeric",p]]),n("stacked-fractions",[v,["--tw-numeric-fraction","stacked-fractions"],["font-variant-numeric",p]])}{let p=()=>K([C("--tw-outline-style","solid")]);t.static("outline-hidden",()=>[f("--tw-outline-style","none"),f("outline-style","none"),J("@media","(forced-colors: active)",[f("outline","2px solid transparent"),f("outline-offset","2px")])]),n("outline-none",[["--tw-outline-style","none"],["outline-style","none"]]),n("outline-solid",[["--tw-outline-style","solid"],["outline-style","solid"]]),n("outline-dashed",[["--tw-outline-style","dashed"],["outline-style","dashed"]]),n("outline-dotted",[["--tw-outline-style","dotted"],["outline-style","dotted"]]),n("outline-double",[["--tw-outline-style","double"],["outline-style","double"]]),t.functional("outline",v=>{if(v.value===null){if(v.modifier)return;let w=e.get(["--default-outline-width"])??"1px";return[p(),f("outline-style","var(--tw-outline-style)"),f("outline-width",w)]}if(v.value.kind==="arbitrary"){let w=v.value.value;switch(v.value.dataType??ee(w,["color","length","number","percentage"])){case"length":case"number":case"percentage":return v.modifier?void 0:[p(),f("outline-style","var(--tw-outline-style)"),f("outline-width",w)];default:return w=re(w,v.modifier,e),w===null?void 0:[f("outline-color",w)]}}{let w=ae(v,e,["--outline-color","--color"]);if(w)return[f("outline-color",w)]}{if(v.modifier)return;let w=e.resolve(v.value.value,["--outline-width"]);if(w)return[p(),f("outline-style","var(--tw-outline-style)"),f("outline-width",w)];if(F(v.value.value))return[p(),f("outline-style","var(--tw-outline-style)"),f("outline-width",`${v.value.value}px`)]}}),r("outline",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--outline-color","--color"],modifiers:Array.from({length:21},(v,w)=>`${w*5}`),hasDefaultValue:!0},{values:["0","1","2","4","8"],valueThemeKeys:["--outline-width"]}]),i("outline-offset",{supportsNegative:!0,themeKeys:["--outline-offset"],handleBareValue:({value:v})=>F(v)?`${v}px`:null,handle:v=>[f("outline-offset",v)]}),r("outline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--outline-offset"]}])}i("opacity",{themeKeys:["--opacity"],handleBareValue:({value:p})=>wr(p)?`${p}%`:null,handle:p=>[f("opacity",p)]}),r("opacity",()=>[{values:Array.from({length:21},(p,v)=>`${v*5}`),valueThemeKeys:["--opacity"]}]),i("underline-offset",{supportsNegative:!0,themeKeys:["--text-underline-offset"],handleBareValue:({value:p})=>F(p)?`${p}px`:null,handle:p=>[f("text-underline-offset",p)],staticValues:{auto:[f("text-underline-offset","auto")]}}),r("underline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--text-underline-offset"]}]),t.functional("text",p=>{if(p.value){if(p.value.kind==="arbitrary"){let v=p.value.value;switch(p.value.dataType??ee(v,["color","length","percentage","absolute-size","relative-size"])){case"size":case"length":case"percentage":case"absolute-size":case"relative-size":{if(p.modifier){let w=p.modifier.kind==="arbitrary"?p.modifier.value:e.resolve(p.modifier.value,["--leading"]);if(!w&&se(p.modifier.value)){let A=e.resolve(null,["--spacing"]);if(!A)return null;w=`calc(${A} * ${p.modifier.value})`}return!w&&p.modifier.value==="none"&&(w="1"),w?[f("font-size",v),f("line-height",w)]:null}return[f("font-size",v)]}default:return v=re(v,p.modifier,e),v===null?void 0:[f("color",v)]}}{let v=ae(p,e,["--text-color","--color"]);if(v)return[f("color",v)]}{let v=e.resolveWith(p.value.value,["--text"],["--line-height","--letter-spacing","--font-weight"]);if(v){let[w,A={}]=Array.isArray(v)?v:[v];if(p.modifier){let b=p.modifier.kind==="arbitrary"?p.modifier.value:e.resolve(p.modifier.value,["--leading"]);if(!b&&se(p.modifier.value)){let I=e.resolve(null,["--spacing"]);if(!I)return null;b=`calc(${I} * ${p.modifier.value})`}if(!b&&p.modifier.value==="none"&&(b="1"),!b)return null;let _=[f("font-size",w)];return b&&_.push(f("line-height",b)),_}return typeof A=="string"?[f("font-size",w),f("line-height",A)]:[f("font-size",w),f("line-height",A["--line-height"]?`var(--tw-leading, ${A["--line-height"]})`:void 0),f("letter-spacing",A["--letter-spacing"]?`var(--tw-tracking, ${A["--letter-spacing"]})`:void 0),f("font-weight",A["--font-weight"]?`var(--tw-font-weight, ${A["--font-weight"]})`:void 0)]}}}}),r("text",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-color","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)},{values:[],valueThemeKeys:["--text"],modifiers:[],modifierThemeKeys:["--leading"]}]);let M=()=>K([C("--tw-text-shadow-color"),C("--tw-text-shadow-alpha","100%","<percentage>")]);n("text-shadow-initial",[M,["--tw-text-shadow-color","initial"]]),t.functional("text-shadow",p=>{let v;if(p.modifier&&(p.modifier.kind==="arbitrary"?v=p.modifier.value:F(p.modifier.value)&&(v=`${p.modifier.value}%`)),!p.value){let w=e.get(["--text-shadow"]);return w===null?void 0:[M(),f("--tw-text-shadow-alpha",v),...je("text-shadow",w,v,A=>`var(--tw-text-shadow-color, ${A})`)]}if(p.value.kind==="arbitrary"){let w=p.value.value;switch(p.value.dataType??ee(w,["color"])){case"color":return w=re(w,p.modifier,e),w===null?void 0:[M(),f("--tw-text-shadow-color",le(w,"var(--tw-text-shadow-alpha)"))];default:return[M(),f("--tw-text-shadow-alpha",v),...je("text-shadow",w,v,A=>`var(--tw-text-shadow-color, ${A})`)]}}switch(p.value.value){case"none":return p.modifier?void 0:[M(),f("text-shadow","none")];case"inherit":return p.modifier?void 0:[M(),f("--tw-text-shadow-color","inherit")]}{let w=e.get([`--text-shadow-${p.value.value}`]);if(w)return[M(),f("--tw-text-shadow-alpha",v),...je("text-shadow",w,v,A=>`var(--tw-text-shadow-color, ${A})`)]}{let w=ae(p,e,["--text-shadow-color","--color"]);if(w)return[M(),f("--tw-text-shadow-color",le(w,"var(--tw-text-shadow-alpha)"))]}}),r("text-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-shadow-color","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)},{values:["none"]},{valueThemeKeys:["--text-shadow"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`),hasDefaultValue:e.get(["--text-shadow"])!==null}]);{let p=function(R){return`var(--tw-ring-inset,) 0 0 0 calc(${R} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${_})`},v=function(R){return`inset 0 0 0 ${R} var(--tw-inset-ring-color, currentcolor)`};var G=p,Y=v;let w=["var(--tw-inset-shadow)","var(--tw-inset-ring-shadow)","var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow)"].join(", "),A="0 0 #0000",b=()=>K([C("--tw-shadow",A),C("--tw-shadow-color"),C("--tw-shadow-alpha","100%","<percentage>"),C("--tw-inset-shadow",A),C("--tw-inset-shadow-color"),C("--tw-inset-shadow-alpha","100%","<percentage>"),C("--tw-ring-color"),C("--tw-ring-shadow",A),C("--tw-inset-ring-color"),C("--tw-inset-ring-shadow",A),C("--tw-ring-inset"),C("--tw-ring-offset-width","0px","<length>"),C("--tw-ring-offset-color","#fff"),C("--tw-ring-offset-shadow",A)]);n("shadow-initial",[b,["--tw-shadow-color","initial"]]),t.functional("shadow",R=>{let O;if(R.modifier&&(R.modifier.kind==="arbitrary"?O=R.modifier.value:F(R.modifier.value)&&(O=`${R.modifier.value}%`)),!R.value){let B=e.get(["--shadow"]);return B===null?void 0:[b(),f("--tw-shadow-alpha",O),...je("--tw-shadow",B,O,pe=>`var(--tw-shadow-color, ${pe})`),f("box-shadow",w)]}if(R.value.kind==="arbitrary"){let B=R.value.value;switch(R.value.dataType??ee(B,["color"])){case"color":return B=re(B,R.modifier,e),B===null?void 0:[b(),f("--tw-shadow-color",le(B,"var(--tw-shadow-alpha)"))];default:return[b(),f("--tw-shadow-alpha",O),...je("--tw-shadow",B,O,pe=>`var(--tw-shadow-color, ${pe})`),f("box-shadow",w)]}}switch(R.value.value){case"none":return R.modifier?void 0:[b(),f("--tw-shadow",A),f("box-shadow",w)];case"inherit":return R.modifier?void 0:[b(),f("--tw-shadow-color","inherit")]}{let B=e.get([`--shadow-${R.value.value}`]);if(B)return[b(),f("--tw-shadow-alpha",O),...je("--tw-shadow",B,O,pe=>`var(--tw-shadow-color, ${pe})`),f("box-shadow",w)]}{let B=ae(R,e,["--box-shadow-color","--color"]);if(B)return[b(),f("--tw-shadow-color",le(B,"var(--tw-shadow-alpha)"))]}}),r("shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(R,O)=>`${O*5}`)},{values:["none"]},{valueThemeKeys:["--shadow"],modifiers:Array.from({length:21},(R,O)=>`${O*5}`),hasDefaultValue:e.get(["--shadow"])!==null}]),n("inset-shadow-initial",[b,["--tw-inset-shadow-color","initial"]]),t.functional("inset-shadow",R=>{let O;if(R.modifier&&(R.modifier.kind==="arbitrary"?O=R.modifier.value:F(R.modifier.value)&&(O=`${R.modifier.value}%`)),!R.value){let B=e.get(["--inset-shadow"]);return B===null?void 0:[b(),f("--tw-inset-shadow-alpha",O),...je("--tw-inset-shadow",B,O,pe=>`var(--tw-inset-shadow-color, ${pe})`),f("box-shadow",w)]}if(R.value.kind==="arbitrary"){let B=R.value.value;switch(R.value.dataType??ee(B,["color"])){case"color":return B=re(B,R.modifier,e),B===null?void 0:[b(),f("--tw-inset-shadow-color",le(B,"var(--tw-inset-shadow-alpha)"))];default:return[b(),f("--tw-inset-shadow-alpha",O),...je("--tw-inset-shadow",B,O,pe=>`var(--tw-inset-shadow-color, ${pe})`,"inset"),f("box-shadow",w)]}}switch(R.value.value){case"none":return R.modifier?void 0:[b(),f("--tw-inset-shadow",A),f("box-shadow",w)];case"inherit":return R.modifier?void 0:[b(),f("--tw-inset-shadow-color","inherit")]}{let B=e.get([`--inset-shadow-${R.value.value}`]);if(B)return[b(),f("--tw-inset-shadow-alpha",O),...je("--tw-inset-shadow",B,O,pe=>`var(--tw-inset-shadow-color, ${pe})`),f("box-shadow",w)]}{let B=ae(R,e,["--box-shadow-color","--color"]);if(B)return[b(),f("--tw-inset-shadow-color",le(B,"var(--tw-inset-shadow-alpha)"))]}}),r("inset-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},(R,O)=>`${O*5}`)},{values:["none"]},{valueThemeKeys:["--inset-shadow"],modifiers:Array.from({length:21},(R,O)=>`${O*5}`),hasDefaultValue:e.get(["--inset-shadow"])!==null}]),n("ring-inset",[b,["--tw-ring-inset","inset"]]);let _=e.get(["--default-ring-color"])??"currentcolor";t.functional("ring",R=>{if(!R.value){if(R.modifier)return;let O=e.get(["--default-ring-width"])??"1px";return[b(),f("--tw-ring-shadow",p(O)),f("box-shadow",w)]}if(R.value.kind==="arbitrary"){let O=R.value.value;switch(R.value.dataType??ee(O,["color","length"])){case"length":return R.modifier?void 0:[b(),f("--tw-ring-shadow",p(O)),f("box-shadow",w)];default:return O=re(O,R.modifier,e),O===null?void 0:[f("--tw-ring-color",O)]}}{let O=ae(R,e,["--ring-color","--color"]);if(O)return[f("--tw-ring-color",O)]}{if(R.modifier)return;let O=e.resolve(R.value.value,["--ring-width"]);if(O===null&&F(R.value.value)&&(O=`${R.value.value}px`),O)return[b(),f("--tw-ring-shadow",p(O)),f("box-shadow",w)]}}),r("ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(R,O)=>`${O*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]),t.functional("inset-ring",R=>{if(!R.value)return R.modifier?void 0:[b(),f("--tw-inset-ring-shadow",v("1px")),f("box-shadow",w)];if(R.value.kind==="arbitrary"){let O=R.value.value;switch(R.value.dataType??ee(O,["color","length"])){case"length":return R.modifier?void 0:[b(),f("--tw-inset-ring-shadow",v(O)),f("box-shadow",w)];default:return O=re(O,R.modifier,e),O===null?void 0:[f("--tw-inset-ring-color",O)]}}{let O=ae(R,e,["--ring-color","--color"]);if(O)return[f("--tw-inset-ring-color",O)]}{if(R.modifier)return;let O=e.resolve(R.value.value,["--ring-width"]);if(O===null&&F(R.value.value)&&(O=`${R.value.value}px`),O)return[b(),f("--tw-inset-ring-shadow",v(O)),f("box-shadow",w)]}}),r("inset-ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},(R,O)=>`${O*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]);let I="var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)";t.functional("ring-offset",R=>{if(R.value){if(R.value.kind==="arbitrary"){let O=R.value.value;switch(R.value.dataType??ee(O,["color","length"])){case"length":return R.modifier?void 0:[f("--tw-ring-offset-width",O),f("--tw-ring-offset-shadow",I)];default:return O=re(O,R.modifier,e),O===null?void 0:[f("--tw-ring-offset-color",O)]}}{let O=e.resolve(R.value.value,["--ring-offset-width"]);if(O)return R.modifier?void 0:[f("--tw-ring-offset-width",O),f("--tw-ring-offset-shadow",I)];if(F(R.value.value))return R.modifier?void 0:[f("--tw-ring-offset-width",`${R.value.value}px`),f("--tw-ring-offset-shadow",I)]}{let O=ae(R,e,["--ring-offset-color","--color"]);if(O)return[f("--tw-ring-offset-color",O)]}}})}return r("ring-offset",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-offset-color","--color"],modifiers:Array.from({length:21},(p,v)=>`${v*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-offset-width"]}]),t.functional("@container",p=>{let v=null;if(p.value===null?v="inline-size":p.value.kind==="arbitrary"?v=p.value.value:p.value.kind==="named"&&p.value.value==="normal"&&(v="normal"),v!==null)return p.modifier?[f("container-type",v),f("container-name",p.modifier.value)]:[f("container-type",v)]}),r("@container",()=>[{values:["normal"],valueThemeKeys:[],hasDefaultValue:!0}]),t}var mi=["number","integer","ratio","percentage"];function O0(e){let t=zt(e.params);return V0(t)?r=>{let n={"--value":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set},"--modifier":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set}};W(e.nodes,i=>{if(i.kind!=="declaration"||!i.value||!i.value.includes("--value(")&&!i.value.includes("--modifier("))return;let s=Q(i.value);W(s,o=>{if(o.kind!=="function")return;if(o.value==="--spacing"&&!(n["--modifier"].usedSpacingNumber&&n["--value"].usedSpacingNumber))return W(o.nodes,a=>{if(a.kind!=="function"||a.value!=="--value"&&a.value!=="--modifier")return;let c=a.value;for(let d of a.nodes)if(d.kind==="word"){if(d.value==="integer")n[c].usedSpacingInteger||=!0;else if(d.value==="number"&&(n[c].usedSpacingNumber||=!0,n["--modifier"].usedSpacingNumber&&n["--value"].usedSpacingNumber))return D.Stop}}),D.Continue;if(o.value!=="--value"&&o.value!=="--modifier")return;let l=H(X(o.nodes),",");for(let[a,c]of l.entries())c=c.replace(/\\\*/g,"*"),c=c.replace(/--(.*?)\s--(.*?)/g,"--$1-*--$2"),c=c.replace(/\s+/g,""),c=c.replace(/(-\*){2,}/g,"-*"),c[0]==="-"&&c[1]==="-"&&!c.includes("-*")&&(c+="-*"),l[a]=c;o.nodes=Q(l.join(","));for(let a of o.nodes)if(a.kind==="word"&&(a.value[0]==='"'||a.value[0]==="'")&&a.value[0]===a.value[a.value.length-1]){let c=a.value.slice(1,-1);n[o.value].literals.add(c)}else if(a.kind==="word"&&a.value[0]==="-"&&a.value[1]==="-"){let c=a.value.replace(/-\*.*$/g,"");n[o.value].themeKeys.add(c)}else if(a.kind==="word"&&!(a.value[0]==="["&&a.value[a.value.length-1]==="]")&&!mi.includes(a.value)){console.warn(`Unsupported bare value data type: "${a.value}".
|
|
145
|
+
Only valid data types are: ${mi.map(y=>`"${y}"`).join(", ")}.
|
|
146
|
+
`);let c=a.value,d=structuredClone(o),u="\xB6";W(d.nodes,y=>{if(y.kind==="word"&&y.value===c)return D.ReplaceSkip({kind:"word",value:u})});let h="^".repeat(X([a]).length),m=X([d]).indexOf(u),g=["```css",X([o])," ".repeat(m)+h,"```"].join(`
|
|
147
|
+
`);console.warn(g)}}),i.value=X(s)}),r.utilities.functional(t.slice(0,-2),i=>{let s=he(e),o=i.value,l=i.modifier;if(o===null)return;let a=!1,c=!1,d=!1,u=!1,h=new Map,m=!1;if(W([s],(g,y)=>{let k=y.parent;if(k?.kind!=="rule"&&k?.kind!=="at-rule"||g.kind!=="declaration"||!g.value)return;let S=!1,$=Q(g.value);if(W($,x=>{if(x.kind==="function"){if(x.value==="--value"){a=!0;let T=Ql(o,x,r);return T?(c=!0,T.ratio?m=!0:h.set(g,k),D.ReplaceSkip(T.nodes)):(a||=!1,S=!0,D.Stop)}else if(x.value==="--modifier"){if(l===null)return S=!0,D.Stop;d=!0;let T=Ql(l,x,r);return T?(u=!0,D.ReplaceSkip(T.nodes)):(d||=!1,S=!0,D.Stop)}}}),S)return D.ReplaceSkip([]);g.value=X($)}),a&&!c||d&&!u||m&&u||l&&!m&&!u)return null;if(m)for(let[g,y]of h){let k=y.nodes.indexOf(g);k!==-1&&y.nodes.splice(k,1)}return s.nodes}),r.utilities.suggest(t.slice(0,-2),()=>{let i=[],s=[];for(let[o,{literals:l,usedSpacingNumber:a,usedSpacingInteger:c,themeKeys:d}]of[[i,n["--value"]],[s,n["--modifier"]]]){for(let u of l)o.push(u);if(a)o.push(...Pr);else if(c)for(let u of Pr)F(u)&&o.push(u);for(let u of r.theme.keysInNamespaces(d))o.push(u.replace(Mc,(h,m,g)=>`${m}.${g}`))}return[{values:i,modifiers:s}]})}:H0(t)?r=>{r.utilities.static(t,()=>e.nodes.map(he))}:null}function Ql(e,t,r){for(let n of t.nodes){if(e.kind==="named"&&n.kind==="word"&&(n.value[0]==="'"||n.value[0]==='"')&&n.value[n.value.length-1]===n.value[0]&&n.value.slice(1,-1)===e.value)return{nodes:Q(e.value)};if(e.kind==="named"&&n.kind==="word"&&n.value[0]==="-"&&n.value[1]==="-"){let i=n.value;if(i.endsWith("-*")){i=i.slice(0,-2);let s=r.theme.resolve(e.value,[i]);if(s)return{nodes:Q(s)}}else{let s=i.split("-*");if(s.length<=1)continue;let o=[s.shift()],l=r.theme.resolveWith(e.value,o,s);if(l){let[,a={}]=l;{let c=a[s.pop()];if(c)return{nodes:Q(c)}}}}}else if(e.kind==="named"&&n.kind==="word"){if(!mi.includes(n.value))continue;let i=n.value==="ratio"&&"fraction"in e?e.fraction:e.value;if(!i)continue;let s=ee(i,[n.value]);if(s===null)continue;if(s==="ratio"){let[o,l]=H(i,"/").map(Number);if(!F(o)||!F(l))continue}else if(s==="number"&&!se(i)||s==="percentage"&&!F(i.slice(0,-1)))continue;if(s==="ratio"){let[o,l]=H(i,"/");return{nodes:Q(`${o.trim()} / ${l.trim()}`),ratio:!0}}return{nodes:Q(i),ratio:!1}}else if(e.kind==="arbitrary"&&n.kind==="word"&&n.value[0]==="["&&n.value[n.value.length-1]==="]"){let i=n.value.slice(1,-1);if(i==="*")return{nodes:Q(e.value)};if("dataType"in e&&e.dataType&&e.dataType!==i)continue;if("dataType"in e&&e.dataType)return{nodes:Q(e.value)};if(ee(e.value,[i])!==null)return{nodes:Q(e.value)}}}}function je(e,t,r,n,i=""){let s=!1,o=Tr(t,a=>r==null?n(a):a.startsWith("current")?n(le(a,r)):((a.startsWith("var(")||r.startsWith("var("))&&(s=!0),n(Nc(a,r))));function l(a){return i?H(a,",").map(c=>i.trim()+" "+c.trim()).join(", "):a}return s?[f(e,l(Tr(t,n))),ne("@supports (color: lab(from red l a b))",[f(e,l(o))])]:[f(e,l(o))]}function br(e,t,r,n,i=""){let s=!1,o=H(t,",").map(l=>Tr(l,a=>r==null?n(a):a.startsWith("current")?n(le(a,r)):((a.startsWith("var(")||r.startsWith("var("))&&(s=!0),n(Nc(a,r))))).map(l=>`drop-shadow(${l})`).join(" ");return s?[f(e,i+H(t,",").map(l=>`drop-shadow(${Tr(l,n)})`).join(" ")),ne("@supports (color: lab(from red l a b))",[f(e,i+o)])]:[f(e,i+o)]}var Ic=/^-?[a-z][a-zA-Z0-9_-]*/,F0=37,z0=47,D0=46,N0=97,M0=122,I0=65,L0=90,xr=48,$r=57,U0=95,W0=45;function H0(e){let t=Ic.exec(e);if(t===null)return!1;let r=t[0],n=e.slice(r.length);if(n.length===0&&r.endsWith("-"))return!1;if(n.length===0)return!0;let i=!1;for(let s=0;s<n.length;s++){let o=n.charCodeAt(s);switch(o){case F0:{if(s!==n.length-1)return!1;let l=(n[s-1]||r[r.length-1]||"").charCodeAt(0);if(l<xr||l>$r)return!1;break}case z0:{if(s===n.length-1||i)return!1;i=!0;break}case D0:{let l=(n[s-1]||r[r.length-1]||"").charCodeAt(0);if(l<xr||l>$r)return!1;let a=(n[s+1]||"").charCodeAt(0);if(a<xr||a>$r)return!1;break}case U0:case W0:continue;default:{if(o>=N0&&o<=M0||o>=I0&&o<=L0||o>=xr&&o<=$r)continue;return!1}}}return!0}function V0(e){if(!e.endsWith("-*"))return!1;e=e.slice(0,-2);let t=Ic.exec(e);if(t===null)return!1;let r=t[0],n=e.slice(r.length);return n.length===0&&r.endsWith("-")?!1:n.length===0}var gi={"--alpha":B0,"--spacing":K0,"--theme":q0,theme:J0};function B0(e,t,r,...n){let[i,s]=H(r,"/").map(o=>o.trim());if(!i||!s)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${i||"var(--my-color)"} / ${s||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${i||"var(--my-color)"} / ${s||"50%"})\``);return le(i,s)}function K0(e,t,r,...n){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.length+1}.`);let i=e.theme.resolve(null,["--spacing"]);if(!i)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${i} * ${r})`}function q0(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let i=!1;r.endsWith(" inline")&&(i=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(i=!0);let s=e.resolveThemeValue(r,i);if(!s){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return s;let o=n.join(", ");if(o==="initial")return s;if(s==="initial")return o;if(s.startsWith("var(")||s.startsWith("theme(")||s.startsWith("--theme(")){let l=Q(s);return Y0(l,o),X(l)}return s}function J0(e,t,r,...n){r=G0(r);let i=e.resolveThemeValue(r);if(!i&&n.length>0)return n.join(", ");if(!i)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return i}var Xl=new RegExp(Object.keys(gi).map(e=>`${e}\\(`).join("|"));function Ai(e,t){let r=0;return W(e,n=>{if(n.kind==="declaration"&&n.value&&Xl.test(n.value)){r|=8,n.value=ec(n.value,n,t);return}n.kind==="at-rule"&&(n.name==="@media"||n.name==="@custom-media"||n.name==="@container"||n.name==="@supports")&&Xl.test(n.params)&&(r|=8,n.params=ec(n.params,n,t))}),r}function ec(e,t,r){let n=Q(e);return W(n,i=>{if(i.kind==="function"&&i.value in gi){let s=H(X(i.nodes).trim(),",").map(l=>l.trim()),o=gi[i.value](r,t,...s);return D.Replace(Q(o))}}),X(n)}function G0(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let i=e[n],s=e[n+1];i==="\\"&&(s===r||s==="\\")?(t+=s,n++):t+=i}return t}function Y0(e,t){W(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}function Lc(e,t){let r=e.length,n=t.length,i=r<n?r:n;for(let s=0;s<i;s++){let o=e.charCodeAt(s),l=t.charCodeAt(s);if(o>=48&&o<=57&&l>=48&&l<=57){let a=s,c=s+1,d=s,u=s+1;for(o=e.charCodeAt(c);o>=48&&o<=57;)o=e.charCodeAt(++c);for(l=t.charCodeAt(u);l>=48&&l<=57;)l=t.charCodeAt(++u);let h=e.slice(a,c),m=t.slice(d,u),g=Number(h)-Number(m);if(g)return g;if(h<m)return-1;if(h>m)return 1;continue}if(o!==l)return o-l}return e.length-t.length}function Z0(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,n=e.length-1;for(;vt(e.charCodeAt(t));)t++;{for(r=t;t<n;t++){let d=e.charCodeAt(t);if(d===92){t++;continue}if(!(d>=65&&d<=90)&&!(d>=97&&d<=122)&&!(d>=48&&d<=57)&&!(d===45||d===95))break}if(r===t)return null}let i=e.slice(r,t);for(;vt(e.charCodeAt(t));)t++;if(t===n)return{attribute:i,operator:null,quote:null,value:null,sensitivity:null};let s=null,o=e.charCodeAt(t);if(o===61)s="=",t++;else if((o===126||o===124||o===94||o===36||o===42)&&e.charCodeAt(t+1)===61)s=e[t]+"=",t+=2;else return null;for(;vt(e.charCodeAt(t));)t++;if(t===n)return null;let l="",a=null;if(o=e.charCodeAt(t),o===39||o===34){a=e[t],t++,r=t;for(let d=t;d<n;d++){let u=e.charCodeAt(d);u===o?t=d+1:u===92&&d++}l=e.slice(r,t-1)}else{for(r=t;t<n&&!vt(e.charCodeAt(t));)t++;l=e.slice(r,t)}for(;vt(e.charCodeAt(t));)t++;if(t===n)return{attribute:i,operator:s,quote:a,value:l,sensitivity:null};let c=null;switch(e.charCodeAt(t)){case 105:case 73:{c="i",t++;break}case 115:case 83:{c="s",t++;break}default:return null}for(;vt(e.charCodeAt(t));)t++;return t!==n?null:{attribute:i,operator:s,quote:a,value:l,sensitivity:c}}function vt(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}function wt(e,t=null){return Array.isArray(e)&&e.length===2&&typeof e[1]=="object"&&typeof e[1]!==null?t?e[1][t]??null:e[0]:Array.isArray(e)&&t===null?e.join(", "):typeof e=="string"&&t===null?e:null}function Q0(e,{theme:t},r){for(let n of r){let i=Or([n]);i&&e.theme.clearNamespace(`--${i}`,4)}for(let[n,i]of X0(t)){if(typeof i!="string"&&typeof i!="number")continue;if(typeof i=="string"&&(i=i.replace(/<alpha-value>/g,"1")),n[0]==="opacity"&&(typeof i=="number"||typeof i=="string")){let o=typeof i=="string"?parseFloat(i):i;o>=0&&o<=1&&(i=o*100+"%")}let s=Or(n);s&&e.theme.add(`--${s}`,""+i,7)}if(Object.hasOwn(t,"fontFamily")){let n=5;{let i=wt(t.fontFamily.sans);i&&e.theme.hasDefault("--font-sans")&&(e.theme.add("--default-font-family",i,n),e.theme.add("--default-font-feature-settings",wt(t.fontFamily.sans,"fontFeatureSettings")??"normal",n),e.theme.add("--default-font-variation-settings",wt(t.fontFamily.sans,"fontVariationSettings")??"normal",n))}{let i=wt(t.fontFamily.mono);i&&e.theme.hasDefault("--font-mono")&&(e.theme.add("--default-mono-font-family",i,n),e.theme.add("--default-mono-font-feature-settings",wt(t.fontFamily.mono,"fontFeatureSettings")??"normal",n),e.theme.add("--default-mono-font-variation-settings",wt(t.fontFamily.mono,"fontVariationSettings")??"normal",n))}}return t}function X0(e){let t=[];return Uc(e,[],(r,n)=>{if(nm(r))return t.push([n,r]),1;if(im(r)){t.push([n,r[0]]);for(let i of Reflect.ownKeys(r[1]))t.push([[...n,`-${i}`],r[1][i]]);return 1}if(Array.isArray(r)&&r.every(i=>typeof i=="string"))return n[0]==="fontSize"?(t.push([n,r[0]]),r.length>=2&&t.push([[...n,"-line-height"],r[1]])):t.push([n,r.join(", ")]),1}),t}var em={borderWidth:"border-width",outlineWidth:"outline-width",ringColor:"ring-color",ringWidth:"ring-width",transitionDuration:"transition-duration",transitionTimingFunction:"transition-timing-function"},tm={animation:"animate",aspectRatio:"aspect",borderRadius:"radius",boxShadow:"shadow",colors:"color",containers:"container",fontFamily:"font",fontSize:"text",letterSpacing:"tracking",lineHeight:"leading",maxWidth:"container",screens:"breakpoint",transitionTimingFunction:"ease"},rm=/^[a-zA-Z0-9-_%/\.]+$/;function Or(e){let t=em[e[0]];if(t&&e[1]==="DEFAULT")return`default-${t}`;if(e[0]==="container")return null;for(let n of e)if(!rm.test(n))return null;let r=tm[e[0]];return r&&(e=e.slice(),e[0]=r),e.map((n,i,s)=>n==="1"&&i!==s.length-1?"":n).map((n,i)=>(n=n.replaceAll(".","_"),(i===0||n.startsWith("-")||n==="lineHeight")&&(n=n.replace(/([a-z])([A-Z])/g,(s,o,l)=>`${o}-${l.toLowerCase()}`)),n)).filter((n,i)=>n!=="DEFAULT"||i!==e.length-1).join("-")}function nm(e){return typeof e=="number"||typeof e=="string"}function im(e){if(!Array.isArray(e)||e.length!==2||typeof e[0]!="string"&&typeof e[0]!="number"||e[1]===void 0||e[1]===null||typeof e[1]!="object")return!1;for(let t of Reflect.ownKeys(e[1]))if(typeof t!="string"||typeof e[1][t]!="string"&&typeof e[1][t]!="number")return!1;return!0}function Uc(e,t=[],r){for(let n of Reflect.ownKeys(e)){let i=e[n];if(i==null)continue;let s=[...t,n],o=r(i,s)??0;if(o!==1&&(o===2||!(!Array.isArray(i)&&typeof i!="object")&&Uc(i,s,r)===2))return 2}}var om=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,Dt=new V(e=>{let t=om.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=Number(r);if(Number.isNaN(n))return null;let i=t.groups?.unit;return i===void 0?[n,null]:[n,i]});function vi(e,t=null){let r=!1,n=Q(e);return W(n,{exit(i){if(i.kind==="word"&&i.value!=="0"){let s=sm(i.value,t);return s===null||s===i.value?void 0:(r=!0,D.ReplaceSkip(be(s)))}else if(i.kind==="function"&&(i.value==="calc"||i.value==="")){if(i.nodes.length!==5)return;let s=Dt.get(i.nodes[0].value),o=i.nodes[2].value,l=Dt.get(i.nodes[4].value);if(o==="*"&&(s?.[0]===0&&s?.[1]===null||l?.[0]===0&&l?.[1]===null))return r=!0,D.ReplaceSkip(be("0"));if(s===null||l===null)return;switch(o){case"*":{if(s[1]===l[1]||s[1]===null&&l[1]!==null||s[1]!==null&&l[1]===null)return r=!0,D.ReplaceSkip(be(`${s[0]*l[0]}${s[1]??""}`));break}case"+":{if(s[1]===l[1])return r=!0,D.ReplaceSkip(be(`${s[0]+l[0]}${s[1]??""}`));break}case"-":{if(s[1]===l[1])return r=!0,D.ReplaceSkip(be(`${s[0]-l[0]}${s[1]??""}`));break}case"/":{if(l[0]!==0&&(s[1]===null&&l[1]===null||s[1]!==null&&l[1]===null))return r=!0,D.ReplaceSkip(be(`${s[0]/l[0]}${s[1]??""}`));break}}}}}),r?X(n):e}function sm(e,t=null){let r=Dt.get(e);if(r===null)return null;let[n,i]=r;if(i===null)return`${n}`;if(n===0&>(e))return"0";switch(i.toLowerCase()){case"in":return`${n*96}px`;case"cm":return`${n*96/2.54}px`;case"mm":return`${n*96/2.54/10}px`;case"q":return`${n*96/2.54/10/4}px`;case"pc":return`${n*96/6}px`;case"pt":return`${n*96/72}px`;case"rem":return t!==null?`${n*t}px`:null;case"grad":return`${n*.9}deg`;case"rad":return`${n*180/Math.PI}deg`;case"turn":return`${n*360}deg`;case"ms":return`${n/1e3}s`;case"khz":return`${n*1e3}hz`;default:return`${n}${i}`}}function tc(e,t="top",r="right",n="bottom",i="left"){return Wc(`${e}-${t}`,`${e}-${r}`,`${e}-${n}`,`${e}-${i}`)}function Wc(e="top",t="right",r="bottom",n="left"){return{1:[[e,0],[t,0],[r,0],[n,0]],2:[[e,0],[t,1],[r,0],[n,1]],3:[[e,0],[t,1],[r,2],[n,1]],4:[[e,0],[t,1],[r,2],[n,3]]}}function rt(e,t){return{1:[[e,0],[t,0]],2:[[e,0],[t,1]]}}var rc={inset:Wc(),margin:tc("margin"),padding:tc("padding"),gap:rt("row-gap","column-gap")},nc={"inset-block":rt("top","bottom"),"inset-inline":rt("left","right"),"margin-block":rt("margin-top","margin-bottom"),"margin-inline":rt("margin-left","margin-right"),"padding-block":rt("padding-top","padding-bottom"),"padding-inline":rt("padding-left","padding-right")},ic={"border-block":["border-bottom","border-top"],"border-block-color":["border-bottom-color","border-top-color"],"border-block-style":["border-bottom-style","border-top-style"],"border-block-width":["border-bottom-width","border-top-width"],"border-inline":["border-left","border-right"],"border-inline-color":["border-left-color","border-right-color"],"border-inline-style":["border-left-style","border-right-style"],"border-inline-width":["border-left-width","border-right-width"]};function am(e,t){if(t&2){if(e.property in nc){let r=H(e.value," ");return nc[e.property][r.length]?.map(([n,i])=>f(n,r[i],e.important))}if(e.property in ic)return ic[e.property]?.map(r=>f(r,e.value,e.important))}if(e.property in rc){let r=H(e.value," ");return rc[e.property][r.length]?.map(([n,i])=>f(n,r[i],e.important))}return null}function lm(e){return{kind:"combinator",value:e}}function cm(e,t){return{kind:"function",value:e,nodes:t}}function Le(e){return{kind:"selector",value:e}}function um(e){return{kind:"separator",value:e}}function dm(e){return{kind:"value",value:e}}function We(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+We(r.nodes)+")"}return t}var oc=92,fm=93,sc=41,hm=58,ac=44,pm=34,mm=46,lc=62,cc=10,gm=35,uc=91,dc=40,fc=43,vm=39,hc=32,pc=9,mc=126,wm=38,ym=42;function Nt(e){e=e.replaceAll(`\r
|
|
148
|
+
`,`
|
|
149
|
+
`);let t=[],r=[],n=null,i="",s;for(let o=0;o<e.length;o++){let l=e.charCodeAt(o);switch(l){case ac:case lc:case cc:case hc:case fc:case pc:case mc:{if(i.length>0){let h=Le(i);n?n.nodes.push(h):t.push(h),i=""}let a=o,c=o+1;for(;c<e.length&&(s=e.charCodeAt(c),!(s!==ac&&s!==lc&&s!==cc&&s!==hc&&s!==fc&&s!==pc&&s!==mc));c++);o=c-1;let d=e.slice(a,c),u=d.trim()===","?um(d):lm(d);n?n.nodes.push(u):t.push(u);break}case dc:{let a=cm(i,[]);if(i="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let c=o+1,d=0;for(let h=o+1;h<e.length;h++){if(s=e.charCodeAt(h),s===dc){d++;continue}if(s===sc){if(d===0){o=h;break}d--}}let u=o;a.nodes.push(dm(e.slice(c,u))),i="",o=u,n?n.nodes.push(a):t.push(a);break}n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case sc:{let a=r.pop();if(i.length>0){let c=Le(i);a.nodes.push(c),i=""}r.length>0?n=r[r.length-1]:n=null;break}case mm:case hm:case gm:{if(i.length>0){let a=Le(i);n?n.nodes.push(a):t.push(a)}i=e[o];break}case uc:{if(i.length>0){let d=Le(i);n?n.nodes.push(d):t.push(d)}i="";let a=o,c=0;for(let d=o+1;d<e.length;d++){if(s=e.charCodeAt(d),s===uc){c++;continue}if(s===fm){if(c===0){o=d;break}c--}}i+=e.slice(a,o+1);break}case vm:case pm:{let a=o;for(let c=o+1;c<e.length;c++)if(s=e.charCodeAt(c),s===oc)c+=1;else if(s===l){o=c;break}i+=e.slice(a,o+1);break}case wm:case ym:{if(i.length>0){let a=Le(i);n?n.nodes.push(a):t.push(a),i=""}n?n.nodes.push(Le(e[o])):t.push(Le(e[o]));break}case oc:{i+=e[o]+e[o+1],o+=1;break}default:i+=e[o]}}return i.length>0&&t.push(Le(i)),t}function Ae(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function Fr(e){let t=[];for(let r of H(e,".")){if(!r.includes("[")){t.push(r);continue}let n=0;for(;;){let i=r.indexOf("[",n),s=r.indexOf("]",i);if(i===-1||s===-1)break;i>n&&t.push(r.slice(n,i)),t.push(r.slice(i+1,s)),n=s+1}n<=r.length-1&&t.push(r.slice(n))}return t}function _i(e,t){let r=e;return r.storage[Hc]??=km(),r.storage[Vc]??=xm(r),r.storage[Bc]??=_m(),r.storage[Kc]??=Cm(),r.storage[qc]??=jm(),r.storage[Ei]??=zm(r),r.storage[zr]??=Mm(r,t),r.storage[Ee]??=Ym(r),r.storage[Ci]??=Qm(),r.storage[Dr]??=Xm(r),r.storage[Ri]??=eg(r),r.storage[Ir]??=tg(r),r.storage[Yc]??=rg(r),r}var Hc=Symbol();function km(){return new V(e=>new V(t=>({rem:e,features:t})))}function bm(e,t){let r=0;return t?.collapse&&(r|=1),t?.logicalToPhysical&&(r|=2),_i(e,t).storage[Hc].get(t?.rem??null).get(r)}var Vc=Symbol();function xm(e){return new V(t=>new V(r=>({features:r,designSystem:e,signatureOptions:t})))}function $m(e,t,r){let n=0;return r?.collapse&&(n|=1),_i(e).storage[Vc].get(t).get(n)}function Sm(e,t,r){let n=bm(e,r),i=$m(e,n,r),s=_i(e),o=new Set,l=s.storage[Bc].get(i);for(let a of t)o.add(l.get(a));return o.size<=1||!(i.features&1)?Array.from(o):Am(i,Array.from(o))}function Am(e,t){if(t.length<=1)return t;let r=e.designSystem,n=new V(l=>new V(a=>new Set)),i=e.designSystem.theme.prefix?`${e.designSystem.theme.prefix}:`:"";for(let l of t){let a=H(l,":"),c=a.pop(),d=c.endsWith("!");d&&(c=c.slice(0,-1));let u=a.length>0?`${a.join(":")}:`:"",h=d?"!":"";n.get(u).get(h).add(`${i}${c}`)}let s=new Set;for(let[l,a]of n.entries())for(let[c,d]of a.entries())for(let u of o(Array.from(d)))i&&u.startsWith(i)&&(u=u.slice(i.length)),s.add(`${l}${u}${c}`);return Array.from(s);function o(l){let a=e.signatureOptions,c=r.storage[Dr].get(a),d=r.storage[Ci].get(a),u=l.map(S=>c.get(S));if(u.some(S=>S.has("line-height"))){let S=r.theme.keysInNamespaces(["--text"]);if(S.length>0){let $=new Set,x=new Set;for(let E of u)if(E.has("line-height"))for(let j of E.get("line-height")){if(x.has(j))continue;x.add(j);let L=r.storage[zr]?.get(j)??null;if(L!==null)if(se(L)){$.add(L);for(let z of S)c.get(`text-${z}/${L}`)}else{$.add(j);for(let z of S)c.get(`text-${z}/[${j}]`)}}let T=new Set;for(let E of u)if(E.has("font-size")){for(let j of E.get("font-size"))if(!T.has(j)){T.add(j);for(let L of $)se(L)?c.get(`text-[${j}]/${L}`):c.get(`text-[${j}]/[${L}]`)}}}}let h=u.map(S=>{let $=null;for(let x of S.keys()){let T=new Set;for(let E of d.get(x).values())for(let j of E)T.add(j);if($===null?$=T:$=vc($,T),$.size===0)return $}return $}),m=new V(S=>new Set([S]));for(let S=0;S<h.length;S++){let $=h[S];for(let x=S+1;x<h.length;x++){let T=h[x];for(let E of $)if(T.has(E)){m.get(S).add(x),m.get(x).add(S);break}}}if(m.size===0)return l;let g=new V(S=>S.split(",").map(Number));for(let S of m.values()){let $=Array.from(S).sort((x,T)=>x-T);g.get($.join(","))}let y=new Set(l),k=new Set;for(let S of g.values())for(let $ of ig(S)){if($.some(E=>k.has(l[E])))continue;let x=$.flatMap(E=>h[E]).reduce(vc),T=r.storage[Ee].get(a).get($.map(E=>l[E]).sort((E,j)=>E.localeCompare(j)).join(" "));for(let E of x)if(r.storage[Ee].get(a).get(E)===T){for(let j of $)k.add(l[j]);y.add(E);break}}for(let S of k)y.delete(S);return Array.from(y)}}var Bc=Symbol();function _m(){return new V(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",n=t.storage[Kc].get(e),i=t.storage[qc].get(e);return new V((s,o)=>{for(let l of t.parseCandidate(s)){let a=l.variants.slice().reverse().flatMap(u=>n.get(u)),c=l.important;if(c||a.length>0){let u=o.get(t.printCandidate({...l,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(u=u.slice(r.length)),a.length>0&&(u=`${a.map(h=>t.printVariant(h)).join(":")}:${u}`),c&&(u+="!"),t.theme.prefix!==null&&a.length>0&&(u=`${r}${u}`),u}let d=i.get(s);if(d!==s)return d}return s})})}var Em=[Fm,qm,Jm,Vm],Kc=Symbol();function Cm(){return new V(e=>new V(t=>{let r=[t];for(let n of Em)for(let i of r.splice(0)){let s=n(Ot(i),e);if(Array.isArray(s)){r.push(...s);continue}else r.push(s)}return r}))}var Rm=[Pm,Om,Im,Um,Hm,Bm,Km,Gm],qc=Symbol();function jm(){return new V(e=>{let t=e.designSystem;return new V(r=>{for(let n of t.parseCandidate(r)){let i=b0(n);for(let o of Rm)i=o(i,e);let s=t.printCandidate(i);if(r!==s)return s}return r})})}var Tm=["t","tr","r","br","b","bl","l","tl"];function Pm(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Tm.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function Om(e,t){let r=t.designSystem.storage[Ei];if(e.kind==="arbitrary"){let[n,i]=r(e.value,e.modifier===null?1:0);n!==e.value&&(e.value=n,i!==null&&(e.modifier=i))}else if(e.kind==="functional"&&e.value?.kind==="arbitrary"){let[n,i]=r(e.value.value,e.modifier===null?1:0);n!==e.value.value&&(e.value.value=n,i!==null&&(e.modifier=i))}return e}function Fm(e,t){let r=t.designSystem.storage[Ei],n=Mr(e);for(let[i]of n)if(i.kind==="arbitrary"){let[s]=r(i.selector,2);s!==i.selector&&(i.selector=s)}else if(i.kind==="functional"&&i.value?.kind==="arbitrary"){let[s]=r(i.value.value,2);s!==i.value.value&&(i.value.value=s)}return e}var Ei=Symbol();function zm(e){return t(e);function t(r){function n(l,a=0){let c=Q(l);if(a&2)return[Sr(c,o),null];let d=0,u=0;if(W(c,m=>{m.kind==="function"&&m.value==="theme"&&(d+=1,W(m.nodes,g=>g.kind==="separator"&&g.value.includes(",")?D.Stop:g.kind==="word"&&g.value==="/"?(u+=1,D.Stop):D.Skip))}),d===0)return[l,null];if(u===0)return[Sr(c,s),null];if(u>1)return[Sr(c,o),null];let h=null;return[Sr(c,(m,g)=>{let y=H(m,"/").map(k=>k.trim());if(y.length>2)return null;if(c.length===1&&y.length===2&&a&1){let[k,S]=y;if(/^\d+%$/.test(S))h={kind:"named",value:S.slice(0,-1)};else if(/^0?\.\d+$/.test(S)){let $=Number(S)*100;h={kind:Number.isInteger($)?"named":"arbitrary",value:$.toString()}}else h={kind:"arbitrary",value:S};m=k}return s(m,g)||o(m,g)}),h]}function i(l,a=!0){let c=`--${Or(Fr(l))}`;return r.theme.get([c])?a&&r.theme.prefix?`--${r.theme.prefix}-${c.slice(2)}`:c:null}function s(l,a){let c=i(l);if(c)return a?`var(${c}, ${a})`:`var(${c})`;let d=Fr(l);if(d[0]==="spacing"&&r.theme.get(["--spacing"])){let u=d[1];return se(u)?`--spacing(${u})`:null}return null}function o(l,a){let c=H(l,"/").map(h=>h.trim());l=c.shift();let d=i(l,!1);if(!d)return null;let u=c.length>0?`/${c.join("/")}`:"";return a?`--theme(${d}${u}, ${a})`:`--theme(${d}${u})`}return n}}function Sr(e,t){return W(e,(r,n)=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let i=r.nodes[0];if(i.kind!=="word")return;let s=i.value,o=1;for(let c=o;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)s+=X([r.nodes[c]]),o=c+1;s=Dm(s);let l=r.nodes.slice(o+1),a=l.length>0?t(s,X(l)):t(s);if(a===null)return;if(n.parent){let c=n.parent.nodes.indexOf(r)-1;for(;c!==-1;){let d=n.parent.nodes[c];if(d.kind==="separator"&&d.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(d.value.trim())&&(a=`(${a})`);break}}return D.Replace(Q(a))}}),X(e)}function Dm(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let i=e[n],s=e[n+1];i==="\\"&&(s===r||s==="\\")?(t+=s,n++):t+=i}return t}function*Mr(e){function*t(r,n=null){yield[r,n],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function Pe(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Nm(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var zr=Symbol();function Mm(e,t){let r=e.resolveThemeValue("--spacing");if(r===void 0)return null;r=vi(r,t?.rem??null);let n=Dt.get(r);if(!n)return null;let[i,s]=n;return new V(o=>{if(i===0)return null;let l=Dt.get(vi(o,t?.rem??null));if(!l)return null;let[a,c]=l;return c!==s?null:a/i})}function Im(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,n=r.storage[Ri].get(t.signatureOptions),i=r.storage[Ee].get(t.signatureOptions),s=r.printCandidate(e),o=i.get(s);if(typeof o!="string")return e;for(let a of l(o,e)){let c=r.printCandidate(a);if(i.get(c)===o&&Lm(r,e,a))return a}return e;function*l(a,c){let d=n.get(a);if(!(d.length>1)){if(d.length===0&&c.modifier){let u={...c,modifier:null},h=i.get(r.printCandidate(u));if(typeof h=="string")for(let m of l(h,u))yield Object.assign({},m,{modifier:c.modifier})}if(d.length===1)for(let u of Pe(r,d[0]))yield u;else if(d.length===0){let u=c.kind==="arbitrary"?c.value:c.value?.value??null;if(u===null)return;if(t.signatureOptions.rem!==null&&c.kind==="functional"&&c.value?.kind==="arbitrary"){let g=r.storage[zr]?.get(u)??null;g!==null&&se(g)&&(yield Object.assign({},c,{value:{kind:"named",value:g,fraction:null}}))}let h=r.storage[zr]?.get(u)??null,m="";h!==null&&h<0&&(m="-",h=Math.abs(h));for(let g of Array.from(r.utilities.keys("functional")).sort((y,k)=>+(y[0]==="-")-+(k[0]==="-"))){m&&(g=`${m}${g}`);for(let y of Pe(r,`${g}-${u}`))yield y;if(c.modifier)for(let y of Pe(r,`${g}-${u}${c.modifier}`))yield y;if(h!==null){for(let y of Pe(r,`${g}-${h}`))yield y;if(c.modifier)for(let y of Pe(r,`${g}-${h}${Rr(c.modifier)}`))yield y}for(let y of Pe(r,`${g}-[${u}]`))yield y;if(c.modifier)for(let y of Pe(r,`${g}-[${u}]${Rr(c.modifier)}`))yield y}}}}}function Lm(e,t,r){let n=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?n=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(n=t.value),n===null)return!0;let i=e.candidatesToCss([e.printCandidate(r)]).join(`
|
|
150
|
+
`),s=!0;return W(Q(n),o=>{if(o.kind==="function"&&o.value==="var"){let l=o.nodes[0].value;if(!new RegExp(`var\\(${l}[,)]\\s*`,"g").test(i)||i.includes(`${l}:`))return s=!1,D.Stop}}),s}function Um(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,n=r.storage[Ri].get(t.signatureOptions),i=r.storage[Ee].get(t.signatureOptions),s=r.printCandidate(e),o=i.get(s);if(typeof o!="string")return e;for(let a of l(o,e)){let c=r.printCandidate(a);if(i.get(c)===o)return a}return e;function*l(a,c){let d=n.get(a);if(!(d.length>1)){if(d.length===0&&c.modifier){let u={...c,modifier:null},h=i.get(r.printCandidate(u));if(typeof h=="string")for(let m of l(h,u))yield Object.assign({},m,{modifier:c.modifier})}if(d.length===1)for(let u of Pe(r,d[0]))yield u}}}var Wm=new Map([["order-none","order-0"],["break-words","wrap-break-word"]]);function Hm(e,t){let r=t.designSystem,n=r.storage[Ee].get(t.signatureOptions),i=Nm(r,e),s=Wm.get(i)??null;if(s===null)return e;let o=n.get(i);if(typeof o!="string")return e;let l=n.get(s);if(typeof l!="string"||o!==l)return e;let[a]=Pe(r,s);return a}function Vm(e,t){let r=t.designSystem,n=r.storage[Ir],i=r.storage[Yc],s=Mr(e);for(let[o]of s){if(o.kind==="compound")continue;let l=r.printVariant(o),a=n.get(l);if(typeof a!="string")continue;let c=i.get(a);if(c.length!==1)continue;let d=c[0],u=r.parseVariant(d);u!==null&&Ae(o,u)}return e}function Bm(e,t){let r=t.designSystem,n=r.storage[Ee].get(t.signatureOptions);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let i=r.printCandidate({...e,value:{...e.value,dataType:null}});n.get(r.printCandidate(e))===n.get(i)&&(e.value.dataType=null)}return e}function Km(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,n=r.storage[Ee].get(t.signatureOptions),i=n.get(r.printCandidate(e));if(i===null)return e;for(let s of Jc(e))if(n.get(r.printCandidate({...e,value:s}))===i)return e.value=s,e;return e}function qm(e){let t=Mr(e);for(let[r]of t)if(r.kind==="functional"&&r.root==="data"&&r.value?.kind==="arbitrary"&&!r.value.value.includes("="))r.value={kind:"named",value:r.value.value};else if(r.kind==="functional"&&r.root==="aria"&&r.value?.kind==="arbitrary"&&(r.value.value.endsWith("=true")||r.value.value.endsWith('="true"')||r.value.value.endsWith("='true'"))){let[n,i]=H(r.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.length-1]==="*")continue;r.value={kind:"named",value:r.value.value.slice(0,r.value.value.indexOf("="))}}else r.kind==="functional"&&r.root==="supports"&&r.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(r.value.value)&&(r.value={kind:"named",value:r.value.value});return e}function*Jc(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&se(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[s,o]=t.split("/");F(s)&&F(o)&&(yield{kind:"named",value:s,fraction:`${s}/${o}`})}let n=new Set;for(let s of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))n.add(s[0].trim());let i=Array.from(n).sort((s,o)=>s.length-o.length);for(let s of i)yield*Jc(e,s,r)}function gc(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function Ar(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Jm(e,t){let r=[e],n=t.designSystem,i=n.storage[Ir],s=Mr(e);for(let[o,l]of s)if(o.kind==="compound"&&(o.root==="has"||o.root==="not"||o.root==="in")&&o.modifier!==null&&"modifier"in o.variant&&(o.variant.modifier=o.modifier,o.modifier=null),o.kind==="arbitrary"){if(o.relative)continue;let a=Nt(o.selector.trim());if(!gc(a))continue;if(l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&a[2].value==="*"){Ae(o,n.parseVariant("*"));continue}if(l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="*"){Ae(o,n.parseVariant("**"));continue}if(l===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),Ae(o,n.parseVariant(`in-[${We(a)}]`));continue}if(l===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let h=i.get(n.printVariant(o)),m=Q(We(a)),g=!1;if(W(m,y=>{if(y.kind==="word"&&y.value==="not")return g=!0,D.Replace([])}),m=Q(X(m)),W(m,y=>{y.kind==="separator"&&y.value!==" "&&y.value.trim()===""&&(y.value=" ")}),g){let y=n.parseVariant(`not-[${X(m)}]`);if(y===null)continue;let k=i.get(n.printVariant(y));if(h===k){Ae(o,y);continue}}}let c=null;l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&(Ar(a[2])||a[2].value[0]===":")&&(a=[a[2]],c=n.parseVariant("*")),l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&(Ar(a[2])||a[2].value[0]===":")&&(a=[a[2]],c=n.parseVariant("**"));let d=a.filter(h=>!(h.kind==="selector"&&h.value.trim()==="&"));if(d.length!==1)continue;let u=d[0];if(u.kind==="function"&&u.value===":is"){if(!gc(u.nodes)||u.nodes.length!==1||!Ar(u.nodes[0]))continue;u=u.nodes[0]}if(u.kind==="function"&&u.value[0]===":"||u.kind==="selector"&&u.value[0]===":"){let h=u,m=!1;if(h.kind==="function"&&h.value===":not"){if(m=!0,h.nodes.length!==1||h.nodes[0].kind!=="selector"&&h.nodes[0].kind!=="function"||h.nodes[0].value[0]!==":")continue;h=h.nodes[0]}let g=(k=>{if(k===":nth-child"&&h.kind==="function"&&h.nodes.length===1&&h.nodes[0].kind==="value"&&h.nodes[0].value==="odd")return m?(m=!1,"even"):"odd";if(k===":nth-child"&&h.kind==="function"&&h.nodes.length===1&&h.nodes[0].kind==="value"&&h.nodes[0].value==="even")return m?(m=!1,"odd"):"even";for(let[S,$]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(k===S&&h.kind==="function"&&h.nodes.length===1)return h.nodes.length===1&&h.nodes[0].kind==="value"&&F(h.nodes[0].value)?`${$}-${h.nodes[0].value}`:`${$}-[${We(h.nodes)}]`;if(m){let S=i.get(n.printVariant(o)),$=i.get(`not-[${k}]`);if(S===$)return`[&${k}]`}return null})(h.value);if(g===null){if(c)return Ae(o,{kind:"arbitrary",selector:u.value,relative:!1}),[c,o];continue}m&&(g=`not-${g}`);let y=n.parseVariant(g);if(y===null)continue;Ae(o,y)}else if(Ar(u)){let h=Z0(u.value);if(h===null)continue;if(h.attribute.startsWith("data-")){let m=h.attribute.slice(5);Ae(o,{kind:"functional",root:"data",modifier:null,value:h.value===null?{kind:"named",value:m}:{kind:"arbitrary",value:`${m}${h.operator}${h.quote??""}${h.value}${h.quote??""}${h.sensitivity?` ${h.sensitivity}`:""}`}})}else if(h.attribute.startsWith("aria-")){let m=h.attribute.slice(5);Ae(o,{kind:"functional",root:"aria",modifier:null,value:h.value===null?{kind:"arbitrary",value:m}:h.operator==="="&&h.value==="true"&&h.sensitivity===null?{kind:"named",value:m}:{kind:"arbitrary",value:`${h.attribute}${h.operator}${h.quote??""}${h.value}${h.quote??""}${h.sensitivity?` ${h.sensitivity}`:""}`}})}else Ae(o,{kind:"arbitrary",selector:u.value,relative:!1})}if(c)return[c,o]}return r}function Gm(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,n=r.storage[Ee].get(t.signatureOptions),i=n.get(r.printCandidate(e)),s=e.modifier;if(i===n.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let o={kind:"named",value:s.value.endsWith("%")?s.value.includes(".")?`${Number(s.value.slice(0,-1))}`:s.value.slice(0,-1):s.value,fraction:null};if(i===n.get(r.printCandidate({...e,modifier:o})))return e.modifier=o,e}{let o={kind:"named",value:`${parseFloat(s.value)*100}`,fraction:null};if(i===n.get(r.printCandidate({...e,modifier:o})))return e.modifier=o,e}return e}var Ee=Symbol();function Ym(e){return new V(t=>new V(r=>{try{r=e.theme.prefix&&!r.startsWith(e.theme.prefix)?`${e.theme.prefix}:${r}`:r;let n=[Z(".x",[J("@apply",r)])];return ng(e,()=>{for(let i of e.parseCandidate(r))e.compileAstNodes(i,1);It(n,e)}),Gc(e,n,t),_e(n)}catch{return Symbol()}}))}function Gc(e,t,r){let{rem:n}=r;return W(t,{enter(i,s){if(i.kind==="declaration"){if(i.value===void 0||i.property==="--tw-sort")return D.Replace([]);if(i.property.startsWith("--tw-")&&(s.parent?.nodes??[]).some(o=>o.kind==="declaration"&&i.value===o.value&&i.important===o.important&&!o.property.startsWith("--tw-")))return D.Replace([]);if(r.features&1){let o=am(i,r.features);if(o)return D.Replace(o)}i.value.includes("var(")&&(i.value=Zm(i.value,e)),i.value=vi(i.value,n),i.value=ot(i.value)}else{if(i.kind==="context"||i.kind==="at-root")return D.Replace(i.nodes);if(i.kind==="comment")return D.Replace([]);if(i.kind==="at-rule"&&i.name==="@property")return D.Replace([])}},exit(i){if(i.kind==="rule"||i.kind==="at-rule"){if(i.nodes.length>1){let s=new Set;for(let o=i.nodes.length-1;o>=0;o--){let l=i.nodes[o];l.kind==="declaration"&&l.value!==void 0&&(s.has(l.property)&&i.nodes.splice(o,1),s.add(l.property))}}i.nodes.sort((s,o)=>s.kind!=="declaration"||o.kind!=="declaration"?0:s.property.localeCompare(o.property))}}}),t}function Zm(e,t){let r=!1,n=Q(e),i=new Set;return W(n,s=>{if(s.kind!=="function"||s.value!=="var"||s.nodes.length!==1&&s.nodes.length<3)return;let o=s.nodes[0].value;t.theme.prefix&&o.startsWith(`--${t.theme.prefix}-`)&&(o=o.slice(`--${t.theme.prefix}-`.length));let l=t.resolveThemeValue(o);if(!i.has(o)&&(i.add(o),l!==void 0&&(s.nodes.length===1&&(r=!0,s.nodes.push(...Q(`,${l}`))),s.nodes.length>=3))){let a=X(s.nodes),c=`${s.nodes[0].value},${l}`;if(a===c)return r=!0,D.Replace(Q(l))}}),r?X(n):e}var Ci=Symbol();function Qm(){return new V(e=>new V(t=>new V(r=>new Set)))}var Dr=Symbol();function Xm(e){return new V(t=>new V(r=>{let n=new V(s=>new Set);e.theme.prefix&&!r.startsWith(e.theme.prefix)&&(r=`${e.theme.prefix}:${r}`);let i=e.parseCandidate(r);return i.length===0||W(Gc(e,e.compileAstNodes(i[0]).map(s=>he(s.node)),t),s=>{s.kind==="declaration"&&(n.get(s.property).add(s.value),e.storage[Ci].get(t).get(s.property).get(s.value).add(r))}),n}))}var Ri=Symbol();function eg(e){return new V(t=>{let r=e.storage[Ee].get(t),n=new V(()=>[]);for(let[i,s]of e.getClassList()){let o=r.get(i);if(typeof o=="string"){if(i[0]==="-"&&i.endsWith("-0")){let l=r.get(i.slice(1));if(typeof l=="string"&&o===l)continue}n.get(o).push(i),e.storage[Dr].get(t).get(i);for(let l of s.modifiers){if(se(l))continue;let a=`${i}/${l}`,c=r.get(a);typeof c=="string"&&(n.get(c).push(a),e.storage[Dr].get(t).get(a))}}}return n})}var Ir=Symbol();function tg(e){return new V(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[Z(".x",[J("@apply",`${t}:flex`)])];return It(r,e),W(r,n=>{if(n.kind==="at-rule"&&n.params.includes(" "))n.params=n.params.replaceAll(" ","");else if(n.kind==="rule"){let i=Nt(n.selector),s=!1;W(i,o=>{if(o.kind==="separator"&&o.value!==" ")o.value=o.value.trim(),s=!0;else if(o.kind==="function"&&o.value===":is"){if(o.nodes.length===1)return s=!0,D.Replace(o.nodes);if(o.nodes.length===2&&o.nodes[0].kind==="selector"&&o.nodes[0].value==="*"&&o.nodes[1].kind==="selector"&&o.nodes[1].value[0]===":")return s=!0,D.Replace(o.nodes[1])}else o.kind==="function"&&o.value[0]===":"&&o.nodes[0]?.kind==="selector"&&o.nodes[0]?.value[0]===":"&&(s=!0,o.nodes.unshift({kind:"selector",value:"*"}))}),s&&(n.selector=We(i))}}),_e(r)}catch{return Symbol()}})}var Yc=Symbol();function rg(e){let t=e.storage[Ir],r=new V(()=>[]);for(let[n,i]of e.variants.entries())if(i.kind==="static"){let s=t.get(n);if(typeof s!="string")continue;r.get(s).push(n)}return r}function ng(e,t){let r=e.theme.values.get,n=new Set;e.theme.values.get=i=>{let s=r.call(e.theme.values,i);return s===void 0||s.options&1&&(n.add(s),s.options&=-2),s};try{return t()}finally{e.theme.values.get=r;for(let i of n)i.options|=1}}function*ig(e){let t=e.length,r=1n<<BigInt(t);for(let n=t;n>=2;n--){let i=(1n<<BigInt(n))-1n;for(;i<r;){let s=[];for(let a=0;a<t;a++)i>>BigInt(a)&1n&&s.push(e[a]);yield s;let o=i&-i,l=i+o;i=((l^i)>>2n)/o|l}}}function vc(e,t){if(typeof e.intersection=="function")return e.intersection(t);if(e.size===0||t.size===0)return new Set;let r=new Set(e);for(let n of t)r.has(n)||r.delete(n);return r}var og=/^\d+\/\d+$/;function sg(e){let t=new V(n=>({name:n,utility:n,fraction:!1,modifiers:[]}));for(let n of e.utilities.keys("static")){if(e.utilities.getCompletions(n).length===0)continue;let i=t.get(n);i.fraction=!1,i.modifiers=[]}for(let n of e.utilities.keys("functional")){let i=e.utilities.getCompletions(n);for(let s of i)for(let o of s.values){let l=o!==null&&og.test(o),a=o===null?n:`${n}-${o}`,c=t.get(a);if(c.utility=n,c.fraction||=l,c.modifiers.push(...s.modifiers),s.supportsNegative){let d=t.get(`-${a}`);d.utility=`-${n}`,d.fraction||=l,d.modifiers.push(...s.modifiers)}c.modifiers=Array.from(new Set(c.modifiers))}}if(t.size===0)return[];let r=Array.from(t.values());return r.sort((n,i)=>Lc(n.name,i.name)),ag(r)}function ag(e){let t=[],r=null,n=new Map,i=new V(()=>[]);for(let o of e){let{utility:l,fraction:a}=o;r||(r={utility:l,items:[]},n.set(l,r)),l!==r.utility&&(t.push(r),r={utility:l,items:[]},n.set(l,r)),a?i.get(l).push(o):r.items.push(o)}r&&t[t.length-1]!==r&&t.push(r);for(let[o,l]of i){let a=n.get(o);a&&a.items.push(...l)}let s=[];for(let o of t)for(let l of o.items)s.push([l.name,{modifiers:l.modifiers}]);return s}function lg(e){let t=[];for(let[n,i]of e.variants.entries()){let s=function({value:a,modifier:c}={}){let d=n;a&&(d+=o?`-${a}`:a),c&&(d+=`/${c}`);let u=e.parseVariant(d);if(!u)return[];let h=Z(".__placeholder__",[]);if(Ur(h,u,e.variants)===null)return[];let m=[];return W(h.nodes,{exit(g,y){if(g.kind!=="rule"&&g.kind!=="at-rule"||g.nodes.length>0)return;let k=y.path();k.push(g),k.sort((x,T)=>{let E=x.kind==="at-rule",j=T.kind==="at-rule";return E&&!j?-1:!E&&j?1:0});let S=k.flatMap(x=>x.kind==="rule"?x.selector==="&"?[]:[x.selector]:x.kind==="at-rule"?[`${x.name} ${x.params}`]:[]),$="";for(let x=S.length-1;x>=0;x--)$=$===""?S[x]:`${S[x]} { ${$} }`;m.push($)}}),m};var r=s;if(i.kind==="arbitrary")continue;let o=n!=="@",l=e.variants.getCompletions(n);switch(i.kind){case"static":{t.push({name:n,values:l,isArbitrary:!1,hasDash:o,selectors:s});break}case"functional":{t.push({name:n,values:l,isArbitrary:!0,hasDash:o,selectors:s});break}case"compound":{t.push({name:n,values:l,isArbitrary:!0,hasDash:o,selectors:s});break}}}return t}function cg(e,t){let{astNodes:r,nodeSorting:n}=Lr(Array.from(t),e),i=new Map(t.map(o=>[o,null])),s=0n;for(let o of r){let l=n.get(o)?.candidate;l&&i.set(l,i.get(l)??s++)}return t.map(o=>[o,i.get(o)??null])}var Zc=/^@?[a-z0-9][a-zA-Z0-9_-]*(?<![_-])$/,ug=class{compareFns=new Map;variants=new Map;completions=new Map;groupOrder=null;lastOrder=0;static(e,t,{compounds:r,order:n}={}){this.set(e,{kind:"static",applyFn:t,compoundsWith:0,compounds:r??2,order:n})}fromAst(e,t,r){let n=[],i=!1;W(t,s=>{s.kind==="rule"?n.push(s.selector):s.kind==="at-rule"&&s.name==="@variant"?i=!0:s.kind==="at-rule"&&s.name!=="@slot"&&n.push(`${s.name} ${s.params}`)}),this.static(e,s=>{let o=t.map(he);i&&ji(o,r),Qc(o,s.nodes),s.nodes=o},{compounds:Mt(n)})}functional(e,t,{compounds:r,order:n}={}){this.set(e,{kind:"functional",applyFn:t,compoundsWith:0,compounds:r??2,order:n})}compound(e,t,r,{compounds:n,order:i}={}){this.set(e,{kind:"compound",applyFn:r,compoundsWith:t,compounds:n??2,order:i})}group(e,t){this.groupOrder=this.nextOrder(),t&&this.compareFns.set(this.groupOrder,t),e(),this.groupOrder=null}has(e){return this.variants.has(e)}get(e){return this.variants.get(e)}kind(e){return this.variants.get(e)?.kind}compoundsWith(e,t){let r=this.variants.get(e),n=typeof t=="string"?this.variants.get(t):t.kind==="arbitrary"?{compounds:Mt([t.selector])}:this.variants.get(t.root);return!(!r||!n||r.kind!=="compound"||n.compounds===0||r.compoundsWith===0||(r.compoundsWith&n.compounds)===0)}suggest(e,t){this.completions.set(e,t)}getCompletions(e){return this.completions.get(e)?.()??[]}compare(e,t){if(e===t)return 0;if(e===null)return-1;if(t===null)return 1;if(e.kind==="arbitrary"&&t.kind==="arbitrary")return e.selector<t.selector?-1:1;if(e.kind==="arbitrary")return 1;if(t.kind==="arbitrary")return-1;let r=this.variants.get(e.root).order,n=this.variants.get(t.root).order,i=r-n;if(i!==0)return i;if(e.kind==="compound"&&t.kind==="compound"){let a=this.compare(e.variant,t.variant);return a!==0?a:e.modifier&&t.modifier?e.modifier.value<t.modifier.value?-1:1:e.modifier?1:t.modifier?-1:0}let s=this.compareFns.get(r);if(s!==void 0)return s(e,t);if(e.root!==t.root)return e.root<t.root?-1:1;let o=e.value,l=t.value;return o===null?-1:l===null||o.kind==="arbitrary"&&l.kind!=="arbitrary"?1:o.kind!=="arbitrary"&&l.kind==="arbitrary"||o.value<l.value?-1:1}keys(){return this.variants.keys()}entries(){return this.variants.entries()}set(e,{kind:t,applyFn:r,compounds:n,compoundsWith:i,order:s}){let o=this.variants.get(e);o?Object.assign(o,{kind:t,applyFn:r,compounds:n}):(s===void 0&&(this.lastOrder=this.nextOrder(),s=this.lastOrder),this.variants.set(e,{kind:t,applyFn:r,order:s,compoundsWith:i,compounds:n}))}nextOrder(){return this.groupOrder??this.lastOrder+1}};function Mt(e){let t=0;for(let r of e){if(r[0]==="@"){if(!r.startsWith("@media")&&!r.startsWith("@supports")&&!r.startsWith("@container"))return 0;t|=1;continue}if(r.includes("::"))return 0;t|=2}return t}function dg(e){let t=new ug;function r(c,d,{compounds:u}={}){u=u??Mt(d),t.static(c,h=>{h.nodes=d.map(m=>ne(m,h.nodes))},{compounds:u})}r("*",[":is(& > *)"],{compounds:0}),r("**",[":is(& *)"],{compounds:0});function n(c,d){return d.map(u=>{u=u.trim();let h=H(u," ");return h[0]==="not"?h.slice(1).join(" "):c==="@container"?h[0][0]==="("?`not ${u}`:h[1]==="not"?`${h[0]} ${h.slice(2).join(" ")}`:`${h[0]} not ${h.slice(1).join(" ")}`:`not ${u}`})}let i=["@media","@supports","@container"];function s(c){for(let d of i){if(d!==c.name)continue;let u=H(c.params,",");return u.length>1?null:(u=n(c.name,u),J(c.name,u.join(", ")))}return null}function o(c){return c.includes("::")?null:`&:not(${H(c,",").map(d=>(d=d.replaceAll("&","*"),d)).join(", ")})`}t.compound("not",3,(c,d)=>{if(d.variant.kind==="arbitrary"&&d.variant.relative||d.modifier)return null;let u=!1;if(W([c],(h,m)=>{if(h.kind!=="rule"&&h.kind!=="at-rule"||h.nodes.length>0)return D.Continue;let g=[],y=[],k=m.path();k.push(h);for(let $ of k)$.kind==="at-rule"?g.push($):$.kind==="rule"&&y.push($);if(g.length>1||y.length>1)return D.Stop;let S=[];for(let $ of y){let x=o($.selector);if(!x)return u=!1,D.Stop;S.push(Z(x,[]))}for(let $ of g){let x=s($);if(!x)return u=!1,D.Stop;S.push(x)}return Object.assign(c,Z("&",S)),u=!0,D.Skip}),c.kind==="rule"&&c.selector==="&"&&c.nodes.length===1&&Object.assign(c,c.nodes[0]),!u)return null}),t.suggest("not",()=>Array.from(t.keys()).filter(c=>t.compoundsWith("not",c))),t.compound("group",2,(c,d)=>{if(d.variant.kind==="arbitrary"&&d.variant.relative)return null;let u=d.modifier?`:where(.${e.prefix?`${e.prefix}\\:`:""}group\\/${d.modifier.value})`:`:where(.${e.prefix?`${e.prefix}\\:`:""}group)`,h=!1;if(W([c],(m,g)=>{if(m.kind!=="rule")return D.Continue;for(let k of g.path())if(k.kind==="rule")return h=!1,D.Stop;let y=m.selector.replaceAll("&",u);H(y,",").length>1&&(y=`:is(${y})`),m.selector=`&:is(${y} *)`,h=!0}),!h)return null}),t.suggest("group",()=>Array.from(t.keys()).filter(c=>t.compoundsWith("group",c))),t.compound("peer",2,(c,d)=>{if(d.variant.kind==="arbitrary"&&d.variant.relative)return null;let u=d.modifier?`:where(.${e.prefix?`${e.prefix}\\:`:""}peer\\/${d.modifier.value})`:`:where(.${e.prefix?`${e.prefix}\\:`:""}peer)`,h=!1;if(W([c],(m,g)=>{if(m.kind!=="rule")return D.Continue;for(let k of g.path())if(k.kind==="rule")return h=!1,D.Stop;let y=m.selector.replaceAll("&",u);H(y,",").length>1&&(y=`:is(${y})`),m.selector=`&:is(${y} ~ *)`,h=!0}),!h)return null}),t.suggest("peer",()=>Array.from(t.keys()).filter(c=>t.compoundsWith("peer",c))),r("first-letter",["&::first-letter"]),r("first-line",["&::first-line"]),r("marker",["& *::marker","&::marker","& *::-webkit-details-marker","&::-webkit-details-marker"]),r("selection",["& *::selection","&::selection"]),r("file",["&::file-selector-button"]),r("placeholder",["&::placeholder"]),r("backdrop",["&::backdrop"]),r("details-content",["&::details-content"]);{let c=function(){return K([J("@property","--tw-content",[f("syntax",'"*"'),f("initial-value",'""'),f("inherits","false")])])};var l=c;t.static("before",d=>{d.nodes=[Z("&::before",[c(),f("content","var(--tw-content)"),...d.nodes])]},{compounds:0}),t.static("after",d=>{d.nodes=[Z("&::after",[c(),f("content","var(--tw-content)"),...d.nodes])]},{compounds:0})}r("first",["&:first-child"]),r("last",["&:last-child"]),r("only",["&:only-child"]),r("odd",["&:nth-child(odd)"]),r("even",["&:nth-child(even)"]),r("first-of-type",["&:first-of-type"]),r("last-of-type",["&:last-of-type"]),r("only-of-type",["&:only-of-type"]),r("visited",["&:visited"]),r("target",["&:target"]),r("open",["&:is([open], :popover-open, :open)"]),r("default",["&:default"]),r("checked",["&:checked"]),r("indeterminate",["&:indeterminate"]),r("placeholder-shown",["&:placeholder-shown"]),r("autofill",["&:autofill"]),r("optional",["&:optional"]),r("required",["&:required"]),r("valid",["&:valid"]),r("invalid",["&:invalid"]),r("user-valid",["&:user-valid"]),r("user-invalid",["&:user-invalid"]),r("in-range",["&:in-range"]),r("out-of-range",["&:out-of-range"]),r("read-only",["&:read-only"]),r("empty",["&:empty"]),r("focus-within",["&:focus-within"]),t.static("hover",c=>{c.nodes=[Z("&:hover",[J("@media","(hover: hover)",c.nodes)])]}),r("focus",["&:focus"]),r("focus-visible",["&:focus-visible"]),r("active",["&:active"]),r("enabled",["&:enabled"]),r("disabled",["&:disabled"]),r("inert",["&:is([inert], [inert] *)"]),t.compound("in",2,(c,d)=>{if(d.modifier)return null;let u=!1;if(W([c],(h,m)=>{if(h.kind!=="rule")return D.Continue;for(let g of m.path())if(g.kind==="rule")return u=!1,D.Stop;h.selector=`:where(${h.selector.replaceAll("&","*")}) &`,u=!0}),!u)return null}),t.suggest("in",()=>Array.from(t.keys()).filter(c=>t.compoundsWith("in",c))),t.compound("has",2,(c,d)=>{if(d.modifier)return null;let u=!1;if(W([c],(h,m)=>{if(h.kind!=="rule")return D.Continue;for(let g of m.path())if(g.kind==="rule")return u=!1,D.Stop;h.selector=`&:has(${h.selector.replaceAll("&","*")})`,u=!0}),!u)return null}),t.suggest("has",()=>Array.from(t.keys()).filter(c=>t.compoundsWith("has",c))),t.functional("aria",(c,d)=>{if(!d.value||d.modifier)return null;d.value.kind==="arbitrary"?c.nodes=[Z(`&[aria-${wc(d.value.value)}]`,c.nodes)]:c.nodes=[Z(`&[aria-${d.value.value}="true"]`,c.nodes)]}),t.suggest("aria",()=>["busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected"]),t.functional("data",(c,d)=>{if(!d.value||d.modifier)return null;c.nodes=[Z(`&[data-${wc(d.value.value)}]`,c.nodes)]}),t.functional("nth",(c,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!F(d.value.value))return null;c.nodes=[Z(`&:nth-child(${d.value.value})`,c.nodes)]}),t.functional("nth-last",(c,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!F(d.value.value))return null;c.nodes=[Z(`&:nth-last-child(${d.value.value})`,c.nodes)]}),t.functional("nth-of-type",(c,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!F(d.value.value))return null;c.nodes=[Z(`&:nth-of-type(${d.value.value})`,c.nodes)]}),t.functional("nth-last-of-type",(c,d)=>{if(!d.value||d.modifier||d.value.kind==="named"&&!F(d.value.value))return null;c.nodes=[Z(`&:nth-last-of-type(${d.value.value})`,c.nodes)]}),t.functional("supports",(c,d)=>{if(!d.value||d.modifier)return null;let u=d.value.value;if(u===null)return null;if(/^[\w-]*\s*\(/.test(u)){let h=u.replace(/\b(and|or|not)\b/g," $1 ");c.nodes=[J("@supports",h,c.nodes)];return}u.includes(":")||(u=`${u}: var(--tw)`),(u[0]!=="("||u[u.length-1]!==")")&&(u=`(${u})`),c.nodes=[J("@supports",u,c.nodes)]},{compounds:1}),r("motion-safe",["@media (prefers-reduced-motion: no-preference)"]),r("motion-reduce",["@media (prefers-reduced-motion: reduce)"]),r("contrast-more",["@media (prefers-contrast: more)"]),r("contrast-less",["@media (prefers-contrast: less)"]);{let c=function(d,u,h,m){if(d===u)return 0;let g=m.get(d);if(g===null)return h==="asc"?-1:1;let y=m.get(u);return y===null?h==="asc"?1:-1:jr(g,y,h)};var a=c;{let d=e.namespace("--breakpoint"),u=new V(h=>{switch(h.kind){case"static":return e.resolveValue(h.root,["--breakpoint"])??null;case"functional":{if(!h.value||h.modifier)return null;let m=null;return h.value.kind==="arbitrary"?m=h.value.value:h.value.kind==="named"&&(m=e.resolveValue(h.value.value,["--breakpoint"])),!m||m.includes("var(")?null:m}case"arbitrary":case"compound":return null}});t.group(()=>{t.functional("max",(h,m)=>{if(m.modifier)return null;let g=u.get(m);if(g===null)return null;h.nodes=[J("@media",`(width < ${g})`,h.nodes)]},{compounds:1})},(h,m)=>c(h,m,"desc",u)),t.suggest("max",()=>Array.from(d.keys()).filter(h=>h!==null)),t.group(()=>{for(let[h,m]of e.namespace("--breakpoint"))h!==null&&t.static(h,g=>{g.nodes=[J("@media",`(width >= ${m})`,g.nodes)]},{compounds:1});t.functional("min",(h,m)=>{if(m.modifier)return null;let g=u.get(m);if(g===null)return null;h.nodes=[J("@media",`(width >= ${g})`,h.nodes)]},{compounds:1})},(h,m)=>c(h,m,"asc",u)),t.suggest("min",()=>Array.from(d.keys()).filter(h=>h!==null))}{let d=e.namespace("--container"),u=new V(h=>{switch(h.kind){case"functional":{if(h.value===null)return null;let m=null;return h.value.kind==="arbitrary"?m=h.value.value:h.value.kind==="named"&&(m=e.resolveValue(h.value.value,["--container"])),!m||m.includes("var(")?null:m}case"static":case"arbitrary":case"compound":return null}});t.group(()=>{t.functional("@max",(h,m)=>{let g=u.get(m);if(g===null)return null;h.nodes=[J("@container",m.modifier?`${m.modifier.value} (width < ${g})`:`(width < ${g})`,h.nodes)]},{compounds:1})},(h,m)=>c(h,m,"desc",u)),t.suggest("@max",()=>Array.from(d.keys()).filter(h=>h!==null)),t.group(()=>{t.functional("@",(h,m)=>{let g=u.get(m);if(g===null)return null;h.nodes=[J("@container",m.modifier?`${m.modifier.value} (width >= ${g})`:`(width >= ${g})`,h.nodes)]},{compounds:1}),t.functional("@min",(h,m)=>{let g=u.get(m);if(g===null)return null;h.nodes=[J("@container",m.modifier?`${m.modifier.value} (width >= ${g})`:`(width >= ${g})`,h.nodes)]},{compounds:1})},(h,m)=>c(h,m,"asc",u)),t.suggest("@min",()=>Array.from(d.keys()).filter(h=>h!==null)),t.suggest("@",()=>Array.from(d.keys()).filter(h=>h!==null))}}return r("portrait",["@media (orientation: portrait)"]),r("landscape",["@media (orientation: landscape)"]),r("ltr",['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']),r("rtl",['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']),r("dark",["@media (prefers-color-scheme: dark)"]),r("starting",["@starting-style"]),r("print",["@media print"]),r("forced-colors",["@media (forced-colors: active)"]),r("inverted-colors",["@media (inverted-colors: inverted)"]),r("pointer-none",["@media (pointer: none)"]),r("pointer-coarse",["@media (pointer: coarse)"]),r("pointer-fine",["@media (pointer: fine)"]),r("any-pointer-none",["@media (any-pointer: none)"]),r("any-pointer-coarse",["@media (any-pointer: coarse)"]),r("any-pointer-fine",["@media (any-pointer: fine)"]),r("noscript",["@media (scripting: none)"]),t}function wc(e){if(e.includes("=")){let[t,...r]=H(e,"="),n=r.join("=").trim();if(n[0]==="'"||n[0]==='"')return e;if(n.length>1){let i=n[n.length-1];if(n[n.length-2]===" "&&(i==="i"||i==="I"||i==="s"||i==="S"))return`${t}="${n.slice(0,-2)}" ${i}`}return`${t}="${n}"`}return e}function Qc(e,t){W(e,r=>{if(r.kind==="at-rule"&&r.name==="@slot")return D.ReplaceSkip(t);if(r.kind==="at-rule"&&(r.name==="@keyframes"||r.name==="@property"))return Object.assign(r,K([J(r.name,r.params,r.nodes)])),D.Skip})}function ji(e,t){let r=0;return W(e,n=>{if(n.kind!=="at-rule"||n.name!=="@variant")return;let i=Z("&",n.nodes),s=n.params,o=t.parseVariant(s);if(o===null)throw new Error(`Cannot use \`@variant\` with unknown variant: ${s}`);if(Ur(i,o,t.variants)===null)throw new Error(`Cannot use \`@variant\` with variant: ${s}`);return r|=32,D.Replace(i)}),r}function fg(e,t){let r=P0(e),n=dg(e),i=new V(u=>$0(u,d)),s=new V(u=>Array.from(x0(u,d))),o=new V(u=>new V(h=>{let m=hg(h,d,u);try{Ai(m.map(({node:g})=>g),d),ji(m.map(({node:g})=>g),d)}catch{return[]}return m})),l=new V(u=>{for(let h of Oc(u))e.markUsedVariable(h)});function a(u){let h=[];for(let m of u){let g=!0,{astNodes:y}=Lr([m],d,{onInvalidCandidate(){g=!1}});t&&W(y,k=>(k.src??=t,D.Continue)),y=Pt(y,d,0),h.push(g?y:[])}return h}function c(u){return a(u).map(h=>h.length>0?_e(h):null)}let d={theme:e,utilities:r,variants:n,invalidCandidates:new Set,important:!1,candidatesToCss:c,candidatesToAst:a,getClassOrder(u){return cg(this,u)},getClassList(){return sg(this)},getVariants(){return lg(this)},parseCandidate(u){return s.get(u)},parseVariant(u){return i.get(u)},compileAstNodes(u,h=1){return o.get(h).get(u)},printCandidate(u){return S0(d,u)},printVariant(u){return $i(u)},getVariantOrder(){let u=Array.from(i.values());u.sort((y,k)=>this.variants.compare(y,k));let h=new Map,m,g=0;for(let y of u)y!==null&&(m!==void 0&&this.variants.compare(m,y)!==0&&g++,h.set(y,g),m=y);return h},resolveThemeValue(u,h=!0){let m=u.lastIndexOf("/"),g=null;m!==-1&&(g=u.slice(m+1).trim(),u=u.slice(0,m).trim());let y=e.resolve(null,[u],h?1:0)??void 0;return g&&y?le(y,g):y},trackUsedVariables(u){l.get(u)},canonicalizeCandidates(u,h){return Sm(this,u,h)},storage:{}};return d}var yc=["container-type","pointer-events","visibility","position","inset","inset-inline","inset-block","inset-inline-start","inset-inline-end","inset-block-start","inset-block-end","top","right","bottom","left","isolation","z-index","order","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","float","clear","--tw-container-component","margin","margin-inline","margin-block","margin-inline-start","margin-inline-end","margin-block-start","margin-block-end","margin-top","margin-right","margin-bottom","margin-left","box-sizing","display","field-sizing","aspect-ratio","height","max-height","min-height","width","max-width","min-width","flex","flex-shrink","flex-grow","flex-basis","table-layout","caption-side","border-collapse","border-spacing","transform-origin","translate","--tw-translate-x","--tw-translate-y","--tw-translate-z","scale","--tw-scale-x","--tw-scale-y","--tw-scale-z","rotate","--tw-rotate-x","--tw-rotate-y","--tw-rotate-z","--tw-skew-x","--tw-skew-y","transform","animation","cursor","touch-action","--tw-pan-x","--tw-pan-y","--tw-pinch-zoom","resize","scroll-snap-type","--tw-scroll-snap-strictness","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-margin-inline","scroll-margin-block","scroll-margin-inline-start","scroll-margin-inline-end","scroll-margin-block-start","scroll-margin-block-end","scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left","scroll-padding","scroll-padding-inline","scroll-padding-block","scroll-padding-inline-start","scroll-padding-inline-end","scroll-padding-block-start","scroll-padding-block-end","scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left","list-style-position","list-style-type","list-style-image","appearance","columns","break-before","break-inside","break-after","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-template-columns","grid-template-rows","flex-direction","flex-wrap","place-content","place-items","align-content","align-items","justify-content","justify-items","gap","column-gap","row-gap","--tw-space-x-reverse","--tw-space-y-reverse","divide-x-width","divide-y-width","--tw-divide-y-reverse","divide-style","divide-color","place-self","align-self","justify-self","overflow","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-behavior","border-radius","border-start-radius","border-end-radius","border-top-radius","border-right-radius","border-bottom-radius","border-left-radius","border-start-start-radius","border-start-end-radius","border-end-end-radius","border-end-start-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-width","border-inline-width","border-block-width","border-inline-start-width","border-inline-end-width","border-block-start-width","border-block-end-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-style","border-inline-style","border-block-style","border-inline-start-style","border-inline-end-style","border-block-start-style","border-block-end-style","border-top-style","border-right-style","border-bottom-style","border-left-style","border-color","border-inline-color","border-block-color","border-inline-start-color","border-inline-end-color","border-block-start-color","border-block-end-color","border-top-color","border-right-color","border-bottom-color","border-left-color","background-color","background-image","--tw-gradient-position","--tw-gradient-stops","--tw-gradient-via-stops","--tw-gradient-from","--tw-gradient-from-position","--tw-gradient-via","--tw-gradient-via-position","--tw-gradient-to","--tw-gradient-to-position","mask-image","--tw-mask-top","--tw-mask-top-from-color","--tw-mask-top-from-position","--tw-mask-top-to-color","--tw-mask-top-to-position","--tw-mask-right","--tw-mask-right-from-color","--tw-mask-right-from-position","--tw-mask-right-to-color","--tw-mask-right-to-position","--tw-mask-bottom","--tw-mask-bottom-from-color","--tw-mask-bottom-from-position","--tw-mask-bottom-to-color","--tw-mask-bottom-to-position","--tw-mask-left","--tw-mask-left-from-color","--tw-mask-left-from-position","--tw-mask-left-to-color","--tw-mask-left-to-position","--tw-mask-linear","--tw-mask-linear-position","--tw-mask-linear-from-color","--tw-mask-linear-from-position","--tw-mask-linear-to-color","--tw-mask-linear-to-position","--tw-mask-radial","--tw-mask-radial-shape","--tw-mask-radial-size","--tw-mask-radial-position","--tw-mask-radial-from-color","--tw-mask-radial-from-position","--tw-mask-radial-to-color","--tw-mask-radial-to-position","--tw-mask-conic","--tw-mask-conic-position","--tw-mask-conic-from-color","--tw-mask-conic-from-position","--tw-mask-conic-to-color","--tw-mask-conic-to-position","box-decoration-break","background-size","background-attachment","background-clip","background-position","background-repeat","background-origin","mask-composite","mask-mode","mask-type","mask-size","mask-clip","mask-position","mask-repeat","mask-origin","fill","stroke","stroke-width","object-fit","object-position","padding","padding-inline","padding-block","padding-inline-start","padding-inline-end","padding-block-start","padding-block-end","padding-top","padding-right","padding-bottom","padding-left","text-align","text-indent","vertical-align","font-family","font-feature-settings","font-size","line-height","font-weight","letter-spacing","text-wrap","overflow-wrap","word-break","text-overflow","hyphens","white-space","color","text-transform","font-style","font-stretch","font-variant-numeric","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","-webkit-font-smoothing","placeholder-color","caret-color","accent-color","color-scheme","opacity","background-blend-mode","mix-blend-mode","box-shadow","--tw-shadow","--tw-shadow-color","--tw-ring-shadow","--tw-ring-color","--tw-inset-shadow","--tw-inset-shadow-color","--tw-inset-ring-shadow","--tw-inset-ring-color","--tw-ring-offset-width","--tw-ring-offset-color","outline","outline-width","outline-offset","outline-color","--tw-blur","--tw-brightness","--tw-contrast","--tw-drop-shadow","--tw-grayscale","--tw-hue-rotate","--tw-invert","--tw-saturate","--tw-sepia","filter","--tw-backdrop-blur","--tw-backdrop-brightness","--tw-backdrop-contrast","--tw-backdrop-grayscale","--tw-backdrop-hue-rotate","--tw-backdrop-invert","--tw-backdrop-opacity","--tw-backdrop-saturate","--tw-backdrop-sepia","backdrop-filter","transition-property","transition-behavior","transition-delay","transition-duration","transition-timing-function","will-change","contain","content","forced-color-adjust"];function Lr(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let i=new Map,s=[],o=new Map;for(let c of e){if(t.invalidCandidates.has(c)){r?.(c);continue}let d=t.parseCandidate(c);if(d.length===0){r?.(c);continue}o.set(c,d)}let l=0;(n??!0)&&(l|=1);let a=t.getVariantOrder();for(let[c,d]of o){let u=!1;for(let h of d){let m=t.compileAstNodes(h,l);if(m.length!==0){u=!0;for(let{node:g,propertySort:y}of m){let k=0n;for(let S of h.variants)k|=1n<<BigInt(a.get(S));i.set(g,{properties:y,variants:k,candidate:c}),s.push(g)}}}u||r?.(c)}return s.sort((c,d)=>{let u=i.get(c),h=i.get(d);if(u.variants-h.variants!==0n)return Number(u.variants-h.variants);let m=0;for(;m<u.properties.order.length&&m<h.properties.order.length&&u.properties.order[m]===h.properties.order[m];)m+=1;return(u.properties.order[m]??1/0)-(h.properties.order[m]??1/0)||h.properties.count-u.properties.count||Lc(u.candidate,h.candidate)}),{astNodes:s,nodeSorting:i}}function hg(e,t,r){let n=pg(e,t);if(n.length===0)return[];let i=t.important&&!!(r&1),s=[],o=`.${Nr(e.raw)}`;for(let l of n){let a=mg(l);(e.important||i)&&Xc(l);let c={kind:"rule",selector:o,nodes:l};for(let d of e.variants)if(Ur(c,d,t.variants)===null)return[];s.push({node:c,propertySort:a})}return s}function Ur(e,t,r,n=0){if(t.kind==="arbitrary"){if(t.relative&&n===0)return null;e.nodes=[ne(t.selector,e.nodes)];return}let{applyFn:i}=r.get(t.root);if(t.kind==="compound"){let s=J("@slot");if(Ur(s,t.variant,r,n+1)===null||t.root==="not"&&s.nodes.length>1)return null;for(let o of s.nodes)if(o.kind!=="rule"&&o.kind!=="at-rule"||i(o,t)===null)return null;W(s.nodes,o=>{if((o.kind==="rule"||o.kind==="at-rule")&&o.nodes.length<=0)return o.nodes=e.nodes,D.Skip}),e.nodes=s.nodes;return}if(i(e,t)===null)return null}function kc(e){let t=e.options?.types??[];return t.length>1&&t.includes("any")}function pg(e,t){if(e.kind==="arbitrary"){let o=e.value;return e.modifier&&(o=re(o,e.modifier,t.theme)),o===null?[]:[[f(e.property,o)]]}let r=t.utilities.get(e.root)??[],n=[],i=r.filter(o=>!kc(o));for(let o of i){if(o.kind!==e.kind)continue;let l=o.compileFn(e);if(l!==void 0){if(l===null)return n;n.push(l)}}if(n.length>0)return n;let s=r.filter(o=>kc(o));for(let o of s){if(o.kind!==e.kind)continue;let l=o.compileFn(e);if(l!==void 0){if(l===null)return n;n.push(l)}}return n}function Xc(e){for(let t of e)t.kind!=="at-root"&&(t.kind==="declaration"?t.important=!0:(t.kind==="rule"||t.kind==="at-rule")&&Xc(t.nodes))}function mg(e){let t=new Set,r=0,n=e.slice(),i=!1;for(;n.length>0;){let s=n.shift();if(s.kind==="declaration"){if(s.value===void 0||(r++,i))continue;if(s.property==="--tw-sort"){let l=yc.indexOf(s.value??"");if(l!==-1){t.add(l),i=!0;continue}}let o=yc.indexOf(s.property);o!==-1&&t.add(o)}else if(s.kind==="rule"||s.kind==="at-rule")for(let o of s.nodes)n.push(o)}return{order:Array.from(t).sort((s,o)=>s-o),count:r}}function It(e,t){let r=0,n=ne("&",e),i=new Set,s=new V(()=>new Set),o=new V(()=>new Set);W([n],(u,h)=>{if(u.kind==="at-rule"){if(u.name==="@keyframes")return W(u.nodes,m=>{if(m.kind==="at-rule"&&m.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),D.Skip;if(u.name==="@utility"){let m=u.params.replace(/-\*$/,"");o.get(m).add(u),W(u.nodes,g=>{if(!(g.kind!=="at-rule"||g.name!=="@apply")){i.add(u);for(let y of bc(g,t))s.get(u).add(y)}});return}if(u.name==="@apply"){if(h.parent===null)return;r|=1,i.add(h.parent);for(let m of bc(u,t))for(let g of h.path())i.has(g)&&s.get(g).add(m)}}});let l=new Set,a=[],c=new Set;function d(u,h=[]){if(!l.has(u)){if(c.has(u)){let m=h[(h.indexOf(u)+1)%h.length];throw u.kind==="at-rule"&&u.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&W(u.nodes,g=>{if(g.kind!=="at-rule"||g.name!=="@apply")return;let y=g.params.split(/\s+/g);for(let k of y)for(let S of t.parseCandidate(k))switch(S.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===S.root)throw new Error(`You cannot \`@apply\` the \`${k}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
|
|
151
|
+
|
|
152
|
+
${_e([u])}
|
|
153
|
+
Relies on:
|
|
154
|
+
|
|
155
|
+
${_e([m])}`)}c.add(u);for(let m of s.get(u))for(let g of o.get(m))h.push(u),d(g,h),h.pop();l.add(u),c.delete(u),a.push(u)}}for(let u of i)d(u);for(let u of a)"nodes"in u&&W(u.nodes,h=>{if(h.kind!=="at-rule"||h.name!=="@apply")return;let m=h.params.split(/(\s+)/g),g={},y=0;for(let[k,S]of m.entries())k%2===0&&(g[S]=y),y+=S.length;{let k=Object.keys(g),S=Lr(k,t,{respectImportant:!1,onInvalidCandidate:E=>{if(t.theme.prefix&&!E.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${E}\`. Did you mean \`${t.theme.prefix}:${E}\`?`);if(t.invalidCandidates.has(E))throw new Error(`Cannot apply utility class \`${E}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let j=H(E,":");if(j.length>1){let L=j.pop();if(t.candidatesToCss([L])[0]){let z=t.candidatesToCss(j.map(N=>`${N}:[--tw-variant-check:1]`)),P=j.filter((N,M)=>z[M]===null);if(P.length>0){if(P.length===1)throw new Error(`Cannot apply utility class \`${E}\` because the ${P.map(N=>`\`${N}\``)} variant does not exist.`);{let N=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${E}\` because the ${N.format(P.map(M=>`\`${M}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${E}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${E}\``)}}),$=h.src,x=S.astNodes.map(E=>{let j=S.nodeSorting.get(E)?.candidate,L=j?g[j]:void 0;if(E=he(E),!$||!j||L===void 0)return W([E],P=>{P.src=$}),E;let z=[$[0],$[1],$[2]];return z[1]+=7+L,z[2]=z[1]+j.length,W([E],P=>{P.src=z}),E}),T=[];for(let E of x)if(E.kind==="rule")for(let j of E.nodes)T.push(j);else T.push(E);return D.Replace(T)}});return r}function*bc(e,t){for(let r of e.params.split(/\s+/g))for(let n of t.parseCandidate(r))switch(n.kind){case"arbitrary":break;case"static":case"functional":yield n.root;break;default:}}async function eu(e,t,r,n=0,i=!1){let s=0,o=[];return W(e,l=>{if(l.kind==="at-rule"&&(l.name==="@import"||l.name==="@reference")){let a=gg(Q(l.params));if(a===null)return;l.name==="@reference"&&(a.media="reference"),s|=2;let{uri:c,layer:d,media:u,supports:h}=a;if(c.startsWith("data:")||c.startsWith("http://")||c.startsWith("https://"))return;let m=nt({},[]);return o.push((async()=>{if(n>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${c}\` in \`${t}\`)`);let g=await r(c,t),y=ki(g.content,{from:i?g.path:void 0});await eu(y,g.base,r,n+1,i),m.nodes=vg(l,[nt({base:g.base},y)],d,u,h)})()),D.ReplaceSkip(m)}}),o.length>0&&await Promise.all(o),s}function gg(e){let t,r=null,n=null,i=null;for(let s=0;s<e.length;s++){let o=e[s];if(o.kind!=="separator"){if(o.kind==="word"&&!t){if(!o.value||o.value[0]!=='"'&&o.value[0]!=="'")return null;t=o.value.slice(1,-1);continue}if(o.kind==="function"&&o.value.toLowerCase()==="url"||!t)return null;if((o.kind==="word"||o.kind==="function")&&o.value.toLowerCase()==="layer"){if(r)return null;if(i)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in o?r=X(o.nodes):r="";continue}if(o.kind==="function"&&o.value.toLowerCase()==="supports"){if(i)return null;i=X(o.nodes);continue}n=X(e.slice(s));break}}return t?{uri:t,layer:r,media:n,supports:i}:null}function vg(e,t,r,n,i){let s=t;if(r!==null){let o=J("@layer",r,s);o.src=e.src,s=[o]}if(n!==null){let o=J("@media",n,s);o.src=e.src,s=[o]}if(i!==null){let o=J("@supports",i[0]==="("?i:`(${i})`,s);o.src=e.src,s=[o]}return s}function Ft(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function Ti(e,t,r,n=[]){for(let i of t)if(i!=null)for(let s of Reflect.ownKeys(i)){n.push(s);let o=r(e[s],i[s],n);o!==void 0?e[s]=o:!Ft(e[s])||!Ft(i[s])?e[s]=i[s]:e[s]=Ti({},[e[s],i[s]],r,n),n.pop()}return e}function tu(e,t,r){return function(n,i){let s=n.lastIndexOf("/"),o=null;s!==-1&&(o=n.slice(s+1).trim(),n=n.slice(0,s).trim());let l=(()=>{let a=Fr(n),[c,d]=wg(e.theme,a),u=r(xc(t()??{},a)??null);if(typeof u=="string"&&(u=u.replace("<alpha-value>","1")),typeof c!="object")return typeof d!="object"&&d&4?u??c:c;if(u!==null&&typeof u=="object"&&!Array.isArray(u)){let h=Ti({},[u],(m,g)=>g);if(c===null&&Object.hasOwn(u,"__CSS_VALUES__")){let m={};for(let g in u.__CSS_VALUES__)m[g]=u[g],delete h[g];c=m}for(let m in c)m!=="__CSS_VALUES__"&&(u?.__CSS_VALUES__?.[m]&4&&xc(h,m.split("-"))!==void 0||(h[zt(m)]=c[m]));return h}if(Array.isArray(c)&&Array.isArray(d)&&Array.isArray(u)){let h=c[0],m=c[1];d[0]&4&&(h=u[0]??h);for(let g of Object.keys(m))d[1][g]&4&&(m[g]=u[1][g]??m[g]);return[h,m]}return c??u})();return o&&typeof l=="string"&&(l=le(l,o)),l??i}}function wg(e,t){if(t.length===1&&t[0].startsWith("--"))return[e.get([t[0]]),e.getOptions(t[0])];let r=Or(t),n=new Map,i=new V(()=>new Map),s=e.namespace(`--${r}`);if(s.size===0)return[null,0];let o=new Map;for(let[d,u]of s){if(!d||!d.includes("--")){n.set(d,u),o.set(d,e.getOptions(d?`--${r}-${d}`:`--${r}`));continue}let h=d.indexOf("--"),m=d.slice(0,h),g=d.slice(h+2);g=g.replace(/-([a-z])/g,(y,k)=>k.toUpperCase()),i.get(m===""?null:m).set(g,[u,e.getOptions(`--${r}${d}`)])}let l=e.getOptions(`--${r}`);for(let[d,u]of i){let h=n.get(d);if(typeof h!="string")continue;let m={},g={};for(let[y,[k,S]]of u)m[y]=k,g[y]=S;n.set(d,[h,m]),o.set(d,[l,g])}let a={},c={};for(let[d,u]of n)$c(a,[d??"DEFAULT"],u);for(let[d,u]of o)$c(c,[d??"DEFAULT"],u);return t[t.length-1]==="DEFAULT"?[a?.DEFAULT??null,c.DEFAULT??0]:"DEFAULT"in a&&Object.keys(a).length===1?[a.DEFAULT,c.DEFAULT??0]:(a.__CSS_VALUES__=c,[a,c])}function xc(e,t){for(let r=0;r<t.length;++r){let n=t[r];if(e?.[n]===void 0){if(t[r+1]===void 0)return;t[r+1]=`${n}-${t[r+1]}`;continue}if(typeof e=="string")return;e=e[n]}return e}function $c(e,t,r){for(let n of t.slice(0,-1))e[n]===void 0&&(e[n]={}),e=e[n];e[t[t.length-1]]=r}var Sc=/^[a-z@][a-zA-Z0-9/%._-]*$/;function Ac({designSystem:e,ast:t,resolvedConfig:r,featuresRef:n,referenceMode:i,src:s}){let o={addBase(l){if(i)return;let a=Oe(l);n.current|=Ai(a,e);let c=J("@layer","base",a);W([c],d=>{d.src=s}),t.push(c)},addVariant(l,a){if(!Zc.test(l))throw new Error(`\`addVariant('${l}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(typeof a=="string"){if(a.includes(":merge("))return}else if(Array.isArray(a)){if(a.some(d=>d.includes(":merge(")))return}else if(typeof a=="object"){let d=function(u,h){return Object.entries(u).some(([m,g])=>m.includes(h)||typeof g=="object"&&d(g,h))};var c=d;if(d(a,":merge("))return}typeof a=="string"||Array.isArray(a)?e.variants.static(l,d=>{d.nodes=_c(a,d.nodes)},{compounds:Mt(typeof a=="string"?[a]:a)}):typeof a=="object"&&e.variants.fromAst(l,Oe(a),e)},matchVariant(l,a,c){function d(h,m,g){let y=a(h,{modifier:m?.value??null});return _c(y,g)}try{let h=a("a",{modifier:null});if(typeof h=="string"&&h.includes(":merge(")||Array.isArray(h)&&h.some(m=>m.includes(":merge(")))return}catch{}let u=Object.keys(c?.values??{});e.variants.group(()=>{e.variants.functional(l,(h,m)=>{if(!m.value){if(c?.values&&"DEFAULT"in c.values){h.nodes=d(c.values.DEFAULT,m.modifier,h.nodes);return}return null}if(m.value.kind==="arbitrary")h.nodes=d(m.value.value,m.modifier,h.nodes);else if(m.value.kind==="named"&&c?.values){let g=c.values[m.value.value];if(typeof g!="string")return null;h.nodes=d(g,m.modifier,h.nodes)}else return null})},(h,m)=>{if(h.kind!=="functional"||m.kind!=="functional")return 0;let g=h.value?h.value.value:"DEFAULT",y=m.value?m.value.value:"DEFAULT",k=c?.values?.[g]??g,S=c?.values?.[y]??y;if(c&&typeof c.sort=="function")return c.sort({value:k,modifier:h.modifier?.value??null},{value:S,modifier:m.modifier?.value??null});let $=u.indexOf(g),x=u.indexOf(y);return $=$===-1?u.length:$,x=x===-1?u.length:x,$!==x?$-x:k<S?-1:1}),e.variants.suggest(l,()=>Object.keys(c?.values??{}).filter(h=>h!=="DEFAULT"))},addUtilities(l){l=Array.isArray(l)?l:[l];let a=l.flatMap(d=>Object.entries(d));a=a.flatMap(([d,u])=>H(d,",").map(h=>[h.trim(),u]));let c=new V(()=>[]);for(let[d,u]of a){if(d.startsWith("@keyframes ")){if(!i){let g=ne(d,Oe(u));W([g],y=>{y.src=s}),t.push(g)}continue}let h=Nt(d),m=!1;if(W(h,g=>{if(g.kind==="selector"&&g.value[0]==="."&&Sc.test(g.value.slice(1))){let y=g.value;g.value="&";let k=We(h),S=y.slice(1),$=k==="&"?Oe(u):[ne(k,Oe(u))];c.get(S).push(...$),m=!0,g.value=y;return}if(g.kind==="function"&&g.value===":not")return D.Skip}),!m)throw new Error(`\`addUtilities({ '${d}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[d,u]of c)e.theme.prefix&&W(u,h=>{if(h.kind==="rule"){let m=Nt(h.selector);W(m,g=>{g.kind==="selector"&&g.value[0]==="."&&(g.value=`.${e.theme.prefix}\\:${g.value.slice(1)}`)}),h.selector=We(m)}}),e.utilities.static(d,h=>{let m=u.map(he);return Ec(m,d,h.raw),n.current|=It(m,e),m})},matchUtilities(l,a){let c=a?.type?Array.isArray(a?.type)?a.type:[a.type]:["any"];for(let[u,h]of Object.entries(l)){let m=function({negative:g}){return y=>{if(y.value?.kind==="arbitrary"&&c.length>0&&!c.includes("any")&&(y.value.dataType&&!c.includes(y.value.dataType)||!y.value.dataType&&!ee(y.value.value,c)))return;let k=c.includes("color"),S=null,$=!1;{let E=a?.values??{};k&&(E=Object.assign({inherit:"inherit",transparent:"transparent",current:"currentcolor"},E)),y.value?y.value.kind==="arbitrary"?S=y.value.value:y.value.fraction&&E[y.value.fraction]?(S=E[y.value.fraction],$=!0):E[y.value.value]?S=E[y.value.value]:E.__BARE_VALUE__&&(S=E.__BARE_VALUE__(y.value)??null,$=(y.value.fraction!==null&&S?.includes("/"))??!1):S=E.DEFAULT??null}if(S===null)return;let x;{let E=a?.modifiers??null;y.modifier?E==="any"||y.modifier.kind==="arbitrary"?x=y.modifier.value:E?.[y.modifier.value]?x=E[y.modifier.value]:k&&!Number.isNaN(Number(y.modifier.value))?x=`${y.modifier.value}%`:x=null:x=null}if(y.modifier&&x===null&&!$)return y.value?.kind==="arbitrary"?null:void 0;k&&x!==null&&(S=le(S,x)),g&&(S=`calc(${S} * -1)`);let T=Oe(h(S,{modifier:x}));return Ec(T,u,y.raw),n.current|=It(T,e),T}};var d=m;if(!Sc.test(u))throw new Error(`\`matchUtilities({ '${u}' : \u2026 })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);a?.supportsNegativeValues&&e.utilities.functional(`-${u}`,m({negative:!0}),{types:c}),e.utilities.functional(u,m({negative:!1}),{types:c}),e.utilities.suggest(u,()=>{let g=a?.values??{},y=new Set(Object.keys(g));y.delete("__BARE_VALUE__"),y.delete("__CSS_VALUES__"),y.has("DEFAULT")&&(y.delete("DEFAULT"),y.add(null));let k=a?.modifiers??{},S=k==="any"?[]:Object.keys(k);return[{supportsNegative:a?.supportsNegativeValues??!1,values:Array.from(y),modifiers:S}]})}},addComponents(l,a){this.addUtilities(l,a)},matchComponents(l,a){this.matchUtilities(l,a)},theme:tu(e,()=>r.theme??{},l=>l),prefix(l){return l},config(l,a){let c=r;if(!l)return c;let d=Fr(l);for(let u=0;u<d.length;++u){let h=d[u];if(c[h]===void 0)return a;c=c[h]}return c??a}};return o.addComponents=o.addComponents.bind(o),o.matchComponents=o.matchComponents.bind(o),o}function Oe(e){let t=[];e=Array.isArray(e)?e:[e];let r=e.flatMap(n=>Object.entries(n));for(let[n,i]of r)if(i!=null&&i!==!1)if(typeof i!="object"){if(!n.startsWith("--")){if(i==="@slot"){t.push(ne(n,[J("@slot")]));continue}n=n.replace(/([A-Z])/g,"-$1").toLowerCase()}t.push(f(n,String(i)))}else if(Array.isArray(i))for(let s of i)typeof s=="string"?t.push(f(n,s)):t.push(ne(n,Oe(s)));else t.push(ne(n,Oe(i)));return t}function _c(e,t){return(typeof e=="string"?[e]:e).flatMap(r=>{if(r.trim().endsWith("}")){let n=r.replace("}","{@slot}}"),i=ki(n);return Qc(i,t),i}else return ne(r,t)})}function Ec(e,t,r){W(e,n=>{if(n.kind==="rule"){let i=Nt(n.selector);W(i,s=>{s.kind==="selector"&&s.value===`.${t}`&&(s.value=`.${Nr(r)}`)}),n.selector=We(i)}})}function yg(e,t){for(let r of kg(t))e.theme.addKeyframes(r)}function kg(e){let t=[];if("keyframes"in e.theme)for(let[r,n]of Object.entries(e.theme.keyframes))t.push(J("@keyframes",r,Oe(n)));return t}function bg(e){return{theme:{...Rl,colors:({theme:t})=>t("color",{}),extend:{fontSize:({theme:t})=>({...t("text",{})}),boxShadow:({theme:t})=>({...t("shadow",{})}),animation:({theme:t})=>({...t("animate",{})}),aspectRatio:({theme:t})=>({...t("aspect",{})}),borderRadius:({theme:t})=>({...t("radius",{})}),screens:({theme:t})=>({...t("breakpoint",{})}),letterSpacing:({theme:t})=>({...t("tracking",{})}),lineHeight:({theme:t})=>({...t("leading",{})}),transitionDuration:{DEFAULT:e.get(["--default-transition-duration"])??null},transitionTimingFunction:{DEFAULT:e.get(["--default-transition-timing-function"])??null},maxWidth:({theme:t})=>({...t("container",{})})}}}}var xg={blocklist:[],future:{},experimental:{},prefix:"",important:!1,darkMode:null,theme:{},plugins:[],content:{files:[]}};function Cc(e,t){let r={design:e,configs:[],plugins:[],content:{files:[]},theme:{},extend:{},result:structuredClone(xg)};for(let i of t)wi(r,i);for(let i of r.configs)"darkMode"in i&&i.darkMode!==void 0&&(r.result.darkMode=i.darkMode??null),"prefix"in i&&i.prefix!==void 0&&(r.result.prefix=i.prefix??""),"blocklist"in i&&i.blocklist!==void 0&&(r.result.blocklist=i.blocklist??[]),"important"in i&&i.important!==void 0&&(r.result.important=i.important??!1);let n=Sg(r);return{resolvedConfig:{...r.result,content:r.content,theme:r.theme,plugins:r.plugins},replacedThemeKeys:n}}function $g(e,t){if(Array.isArray(e)&&Ft(e[0]))return e.concat(t);if(Array.isArray(t)&&Ft(t[0])&&Ft(e))return[e,...t];if(Array.isArray(t))return t}function wi(e,{config:t,base:r,path:n,reference:i,src:s}){let o=[];for(let c of t.plugins??[])"__isOptionsFunction"in c?o.push({...c(),reference:i,src:s}):"handler"in c?o.push({...c,reference:i,src:s}):o.push({handler:c,reference:i,src:s});if(Array.isArray(t.presets)&&t.presets.length===0)throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");for(let c of t.presets??[])wi(e,{path:n,base:r,config:c,reference:i,src:s});for(let c of o)e.plugins.push(c),c.config&&wi(e,{path:n,base:r,config:c.config,reference:!!c.reference,src:c.src??s});let l=t.content??[],a=Array.isArray(l)?l:l.files;for(let c of a)e.content.files.push(typeof c=="object"?c:{base:r,pattern:c});e.configs.push(t)}function Sg(e){let t=new Set,r=tu(e.design,()=>e.theme,i),n=Object.assign(r,{theme:r,colors:pr});function i(s){return typeof s=="function"?s(n)??null:s??null}for(let s of e.configs){let o=s.theme??{},l=o.extend??{};for(let a in o)a!=="extend"&&t.add(a);Object.assign(e.theme,o);for(let a in l)e.extend[a]??=[],e.extend[a].push(l[a])}delete e.theme.extend;for(let s in e.extend){let o=[e.theme[s],...e.extend[s]];e.theme[s]=()=>{let l=o.map(i);return Ti({},l,$g)}}for(let s in e.theme)e.theme[s]=i(e.theme[s]);if(e.theme.screens&&typeof e.theme.screens=="object")for(let s of Object.keys(e.theme.screens)){let o=e.theme.screens[s];o&&typeof o=="object"&&("raw"in o||"max"in o||"min"in o&&(e.theme.screens[s]=o.min))}return t}function Ag(e,t){let r=e.theme.container||{};if(typeof r!="object"||r===null)return;let n=_g(r,t);n.length!==0&&t.utilities.static("container",()=>n.map(he))}function _g({center:e,padding:t,screens:r},n){let i=[],s=null;if(e&&i.push(f("margin-inline","auto")),(typeof t=="string"||typeof t=="object"&&t!==null&&"DEFAULT"in t)&&i.push(f("padding-inline",typeof t=="string"?t:t.DEFAULT)),typeof r=="object"&&r!==null){s=new Map;let o=Array.from(n.theme.namespace("--breakpoint").entries());if(o.sort((l,a)=>jr(l[1],a[1],"asc")),o.length>0){let[l]=o[0];i.push(J("@media",`(width >= --theme(--breakpoint-${l}))`,[f("max-width","none")]))}for(let[l,a]of Object.entries(r)){if(typeof a=="object")if("min"in a)a=a.min;else continue;s.set(l,J("@media",`(width >= ${a})`,[f("max-width",a)]))}}if(typeof t=="object"&&t!==null){let o=Object.entries(t).filter(([l])=>l!=="DEFAULT").map(([l,a])=>[l,n.theme.resolveValue(l,["--breakpoint"]),a]).filter(Boolean);o.sort((l,a)=>jr(l[1],a[1],"asc"));for(let[l,,a]of o)if(s&&s.has(l))s.get(l).nodes.push(f("padding-inline",a));else{if(s)continue;i.push(J("@media",`(width >= theme(--breakpoint-${l}))`,[f("padding-inline",a)]))}}if(s)for(let[,o]of s)i.push(o);return i}function Eg({addVariant:e,config:t}){let r=t("darkMode",null),[n,i=".dark"]=Array.isArray(r)?r:[r];if(n==="variant"){let s;if(Array.isArray(i)||typeof i=="function"?s=i:typeof i=="string"&&(s=[i]),Array.isArray(s))for(let o of s)o===".dark"?(n=!1,console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')):o.includes("&")||(n=!1,console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));i=s}n===null||(n==="selector"?e("dark",`&:where(${i}, ${i} *)`):n==="media"?e("dark","@media (prefers-color-scheme: dark)"):n==="variant"?e("dark",i):n==="class"&&e("dark",`&:is(${i} *)`))}function Cg(e){for(let[r,n]of[["t","top"],["tr","top right"],["r","right"],["br","bottom right"],["b","bottom"],["bl","bottom left"],["l","left"],["tl","top left"]])e.utilities.suggest(`bg-gradient-to-${r}`,()=>[]),e.utilities.static(`bg-gradient-to-${r}`,()=>[f("--tw-gradient-position",`to ${n} in oklab`),f("background-image","linear-gradient(var(--tw-gradient-stops))")]);e.utilities.suggest("bg-left-top",()=>[]),e.utilities.static("bg-left-top",()=>[f("background-position","left top")]),e.utilities.suggest("bg-right-top",()=>[]),e.utilities.static("bg-right-top",()=>[f("background-position","right top")]),e.utilities.suggest("bg-left-bottom",()=>[]),e.utilities.static("bg-left-bottom",()=>[f("background-position","left bottom")]),e.utilities.suggest("bg-right-bottom",()=>[]),e.utilities.static("bg-right-bottom",()=>[f("background-position","right bottom")]),e.utilities.suggest("object-left-top",()=>[]),e.utilities.static("object-left-top",()=>[f("object-position","left top")]),e.utilities.suggest("object-right-top",()=>[]),e.utilities.static("object-right-top",()=>[f("object-position","right top")]),e.utilities.suggest("object-left-bottom",()=>[]),e.utilities.static("object-left-bottom",()=>[f("object-position","left bottom")]),e.utilities.suggest("object-right-bottom",()=>[]),e.utilities.static("object-right-bottom",()=>[f("object-position","right bottom")]),e.utilities.suggest("max-w-screen",()=>[]),e.utilities.functional("max-w-screen",r=>{if(!r.value||r.value.kind==="arbitrary")return;let n=e.theme.resolve(r.value.value,["--breakpoint"]);if(n)return[f("max-width",n)]}),e.utilities.suggest("overflow-ellipsis",()=>[]),e.utilities.static("overflow-ellipsis",()=>[f("text-overflow","ellipsis")]),e.utilities.suggest("decoration-slice",()=>[]),e.utilities.static("decoration-slice",()=>[f("-webkit-box-decoration-break","slice"),f("box-decoration-break","slice")]),e.utilities.suggest("decoration-clone",()=>[]),e.utilities.static("decoration-clone",()=>[f("-webkit-box-decoration-break","clone"),f("box-decoration-break","clone")]),e.utilities.suggest("flex-shrink",()=>[]),e.utilities.functional("flex-shrink",r=>{if(!r.modifier){if(!r.value)return[f("flex-shrink","1")];if(r.value.kind==="arbitrary")return[f("flex-shrink",r.value.value)];if(F(r.value.value))return[f("flex-shrink",r.value.value)]}}),e.utilities.suggest("flex-grow",()=>[]),e.utilities.functional("flex-grow",r=>{if(!r.modifier){if(!r.value)return[f("flex-grow","1")];if(r.value.kind==="arbitrary")return[f("flex-grow",r.value.value)];if(F(r.value.value))return[f("flex-grow",r.value.value)]}}),e.utilities.suggest("order-none",()=>[]),e.utilities.static("order-none",()=>[f("order","0")]),e.utilities.suggest("break-words",()=>[]),e.utilities.static("break-words",()=>[f("overflow-wrap","break-word")]);for(let[r,n]of[["start","inset-inline-start"],["end","inset-inline-end"]]){let i=function({negative:s}){return o=>{if(!o.value){if(o.modifier)return;let a=e.theme.resolve(null,["--inset","--spacing"]);return a===null?void 0:[f(n,s?`calc(${a} * -1)`:a)]}if(o.value.kind==="arbitrary"){if(o.modifier)return;let a=o.value.value;return[f(n,s?`calc(${a} * -1)`:a)]}let l=e.theme.resolve(o.value.fraction??o.value.value,["--inset","--spacing"]);if(l===null&&o.value.fraction){let[a,c]=H(o.value.fraction,"/");if(!F(a)||!F(c))return;l=`calc(${o.value.fraction} * 100%)`}if(l===null&&s){let a=e.theme.resolve(null,["--spacing"]);if(a&&se(o.value.value)&&(l=`calc(${a} * -${o.value.value})`,l!==null))return[f(n,l)]}if(l===null){let a=e.theme.resolve(null,["--spacing"]);a&&se(o.value.value)&&(l=`calc(${a} * ${o.value.value})`)}if(l!==null)return[f(n,s?`calc(${l} * -1)`:l)]}};var t=i;e.utilities.static(`${r}-auto`,()=>[f(n,"auto")]),e.utilities.static(`${r}-full`,()=>[f(n,"100%")]),e.utilities.static(`-${r}-full`,()=>[f(n,"-100%")]),e.utilities.static(`${r}-px`,()=>[f(n,"1px")]),e.utilities.static(`-${r}-px`,()=>[f(n,"-1px")]),e.utilities.functional(`-${r}`,i({negative:!0})),e.utilities.functional(r,i({negative:!1}))}}function Rg(e,t){let r=e.theme.screens||{},n=t.variants.get("min")?.order??0,i=[];for(let[o,l]of Object.entries(r)){let a=function(m){t.variants.static(o,g=>{g.nodes=[J("@media",h,g.nodes)]},{order:m})};var s=a;let c=t.variants.get(o),d=t.theme.resolveValue(o,["--breakpoint"]);if(c&&d&&!t.theme.hasDefault(`--breakpoint-${o}`))continue;let u=!0;typeof l=="string"&&(u=!1);let h=jg(l);u?i.push(a):a(n)}if(i.length!==0){for(let[,o]of t.variants.variants)o.order>n&&(o.order+=i.length);t.variants.compareFns=new Map(Array.from(t.variants.compareFns).map(([o,l])=>(o>n&&(o+=i.length),[o,l])));for(let[o,l]of i.entries())l(n+o+1)}}function jg(e){return(Array.isArray(e)?e:[e]).map(t=>typeof t=="string"?{min:t}:t&&typeof t=="object"?t:null).map(t=>{if(t===null)return null;if("raw"in t)return t.raw;let r="";return t.max!==void 0&&(r+=`${t.max} >= `),r+="width",t.min!==void 0&&(r+=` >= ${t.min}`),`(${r})`}).filter(Boolean).join(", ")}function Tg(e,t){let r=e.theme.aria||{},n=e.theme.supports||{},i=e.theme.data||{};if(Object.keys(r).length>0){let s=t.variants.get("aria"),o=s?.applyFn,l=s?.compounds;t.variants.functional("aria",(a,c)=>{let d=c.value;return d&&d.kind==="named"&&d.value in r?o?.(a,{...c,value:{kind:"arbitrary",value:r[d.value]}}):o?.(a,c)},{compounds:l})}if(Object.keys(n).length>0){let s=t.variants.get("supports"),o=s?.applyFn,l=s?.compounds;t.variants.functional("supports",(a,c)=>{let d=c.value;return d&&d.kind==="named"&&d.value in n?o?.(a,{...c,value:{kind:"arbitrary",value:n[d.value]}}):o?.(a,c)},{compounds:l})}if(Object.keys(i).length>0){let s=t.variants.get("data"),o=s?.applyFn,l=s?.compounds;t.variants.functional("data",(a,c)=>{let d=c.value;return d&&d.kind==="named"&&d.value in i?o?.(a,{...c,value:{kind:"arbitrary",value:i[d.value]}}):o?.(a,c)},{compounds:l})}}var Pg=/^[a-z]+$/;async function Og({designSystem:e,base:t,ast:r,loadModule:n,sources:i}){let s=0,o=[],l=[];W(r,(u,h)=>{if(u.kind!=="at-rule")return;let m=bi(h);if(u.name==="@plugin"){if(m.parent!==null)throw new Error("`@plugin` cannot be nested.");let g=u.params.slice(1,-1);if(g.length===0)throw new Error("`@plugin` must have a path.");let y={};for(let k of u.nodes??[]){if(k.kind!=="declaration")throw new Error(`Unexpected \`@plugin\` option:
|
|
156
|
+
|
|
157
|
+
${_e([k])}
|
|
158
|
+
|
|
159
|
+
\`@plugin\` options must be a flat list of declarations.`);if(k.value===void 0)continue;let S=k.value,$=H(S,",").map(x=>{if(x=x.trim(),x==="null")return null;if(x==="true")return!0;if(x==="false")return!1;if(Number.isNaN(Number(x))){if(x[0]==='"'&&x[x.length-1]==='"'||x[0]==="'"&&x[x.length-1]==="'")return x.slice(1,-1);if(x[0]==="{"&&x[x.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${_e([k]).trim()}\` is not supported.
|
|
160
|
+
|
|
161
|
+
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(x);return x});y[k.property]=$.length===1?$[0]:$}return o.push([{id:g,base:m.context.base,reference:!!m.context.reference,src:u.src},Object.keys(y).length>0?y:null]),s|=4,D.Replace([])}if(u.name==="@config"){if(u.nodes.length>0)throw new Error("`@config` cannot have a body.");if(m.parent!==null)throw new Error("`@config` cannot be nested.");return l.push({id:u.params.slice(1,-1),base:m.context.base,reference:!!m.context.reference,src:u.src}),s|=4,D.Replace([])}}),Cg(e);let a=e.resolveThemeValue;if(e.resolveThemeValue=function(u,h){return u.startsWith("--")?a(u,h):(s|=Rc({designSystem:e,base:t,ast:r,sources:i,configs:[],pluginDetails:[]}),e.resolveThemeValue(u,h))},!o.length&&!l.length)return 0;let[c,d]=await Promise.all([Promise.all(l.map(async({id:u,base:h,reference:m,src:g})=>{let y=await n(u,h,"config");return{path:u,base:y.base,config:y.module,reference:m,src:g}})),Promise.all(o.map(async([{id:u,base:h,reference:m,src:g},y])=>{let k=await n(u,h,"plugin");return{path:u,base:k.base,plugin:k.module,options:y,reference:m,src:g}}))]);return s|=Rc({designSystem:e,base:t,ast:r,sources:i,configs:c,pluginDetails:d}),s}function Rc({designSystem:e,base:t,ast:r,sources:n,configs:i,pluginDetails:s}){let o=0,l=[...s.map(g=>{if(!g.options)return{config:{plugins:[g.plugin]},base:g.base,reference:g.reference,src:g.src};if("__isOptionsFunction"in g.plugin)return{config:{plugins:[g.plugin(g.options)]},base:g.base,reference:g.reference,src:g.src};throw new Error(`The plugin "${g.path}" does not accept options`)}),...i],{resolvedConfig:a}=Cc(e,[{config:bg(e.theme),base:t,reference:!0,src:void 0},...l,{config:{plugins:[Eg]},base:t,reference:!0,src:void 0}]),{resolvedConfig:c,replacedThemeKeys:d}=Cc(e,l),u={designSystem:e,ast:r,resolvedConfig:a,featuresRef:{set current(g){o|=g}}},h=Ac({...u,referenceMode:!1,src:void 0}),m=e.resolveThemeValue;e.resolveThemeValue=function(g,y){if(g[0]==="-"&&g[1]==="-")return m(g,y);let k=h.theme(g,void 0);if(Array.isArray(k)&&k.length===2)return k[0];if(Array.isArray(k))return k.join(", ");if(typeof k=="object"&&k!==null&&"DEFAULT"in k)return k.DEFAULT;if(typeof k=="string")return k};for(let{handler:g,reference:y,src:k}of a.plugins){let S=Ac({...u,referenceMode:y??!1,src:k});g(S)}if(Q0(e,c,d),yg(e,c),Tg(c,e),Rg(c,e),Ag(c,e),!e.theme.prefix&&a.prefix){if(a.prefix.endsWith("-")&&(a.prefix=a.prefix.slice(0,-1),console.warn(`The prefix "${a.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!Pg.test(a.prefix))throw new Error(`The prefix "${a.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);e.theme.prefix=a.prefix}if(!e.important&&a.important===!0&&(e.important=!0),typeof a.important=="string"){let g=a.important;W(r,(y,k)=>{if(y.kind!=="at-rule"||y.name!=="@tailwind"||y.params!=="utilities")return;let S=bi(k);return S.parent?.kind==="rule"&&S.parent.selector===g?D.Stop:D.ReplaceStop(Z(g,[y]))})}for(let g of a.blocklist)e.invalidCandidates.add(g);for(let g of a.content.files){if("raw"in g)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
|
|
162
|
+
|
|
163
|
+
${JSON.stringify(g,null,2)}
|
|
164
|
+
|
|
165
|
+
This feature is not currently supported.`);let y=!1;g.pattern[0]=="!"&&(y=!0,g.pattern=g.pattern.slice(1)),n.push({...g,negated:y})}return o}function Fg({ast:e}){let t=new V(i=>jc(i.code)),r=new V(i=>({url:i.file,content:i.code,ignore:!1})),n={file:null,sources:[],mappings:[]};W(e,i=>{if(!i.src||!i.dst)return;let s=r.get(i.src[0]);if(!s.content)return;let o=t.get(i.src[0]),l=t.get(i.dst[0]),a=s.content.slice(i.src[1],i.src[2]),c=0;for(let h of a.split(`
|
|
166
|
+
`)){if(h.trim()!==""){let m=o.find(i.src[1]+c),g=l.find(i.dst[1]);n.mappings.push({name:null,originalPosition:{source:s,...m},generatedPosition:g})}c+=h.length,c+=1}let d=o.find(i.src[2]),u=l.find(i.dst[2]);n.mappings.push({name:null,originalPosition:{source:s,...d},generatedPosition:u})});for(let i of t.keys())n.sources.push(r.get(i));return n.mappings.sort((i,s)=>i.generatedPosition.line-s.generatedPosition.line||i.generatedPosition.column-s.generatedPosition.column||(i.originalPosition?.line??0)-(s.originalPosition?.line??0)||(i.originalPosition?.column??0)-(s.originalPosition?.column??0)),n}var ru=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function yi(e){let t=e.indexOf("{");if(t===-1)return[e];let r=[],n=e.slice(0,t),i=e.slice(t),s=0,o=i.lastIndexOf("}");for(let u=0;u<i.length;u++){let h=i[u];if(h==="{")s++;else if(h==="}"&&(s--,s===0)){o=u;break}}if(o===-1)throw new Error(`The pattern \`${e}\` is not balanced.`);let l=i.slice(1,o),a=i.slice(o+1),c;zg(l)?c=Dg(l):c=H(l,","),c=c.flatMap(u=>yi(u));let d=yi(a);for(let u of d)for(let h of c)r.push(n+h+u);return r}function zg(e){return ru.test(e)}function Dg(e){let t=e.match(ru);if(!t)return[e];let[,r,n,i]=t,s=i?parseInt(i,10):void 0,o=[];if(/^-?\d+$/.test(r)&&/^-?\d+$/.test(n)){let l=parseInt(r,10),a=parseInt(n,10);if(s===void 0&&(s=l<=a?1:-1),s===0)throw new Error("Step cannot be zero in sequence expansion.");let c=l<a;c&&s<0&&(s=-s),!c&&s>0&&(s=-s);for(let d=l;c?d<=a:d>=a;d+=s)o.push(d.toString())}return o}function Ng(e,t){let r=new Set,n=new Set,i=[];function s(o,l=[]){if(e.has(o)&&!r.has(o)){n.has(o)&&t.onCircularDependency?.(l,o),n.add(o);for(let a of e.get(o)??[])l.push(o),s(a,l),l.pop();r.add(o),n.delete(o),i.push(o)}}for(let o of e.keys())s(o);return i}var Mg=/^[a-z]+$/,Pi=(e=>(e[e.None=0]="None",e[e.AtProperty=1]="AtProperty",e[e.ColorMix=2]="ColorMix",e[e.All=3]="All",e))(Pi||{});function Ig(){throw new Error("No `loadModule` function provided to `compile`")}function Lg(){throw new Error("No `loadStylesheet` function provided to `compile`")}function Ug(e){let t=0,r=null;for(let n of H(e," "))n==="reference"?t|=2:n==="inline"?t|=1:n==="default"?t|=4:n==="static"?t|=8:n.startsWith("prefix(")&&n.endsWith(")")&&(r=n.slice(7,-1));return[t,r]}var Ce=(e=>(e[e.None=0]="None",e[e.AtApply=1]="AtApply",e[e.AtImport=2]="AtImport",e[e.JsPluginCompat=4]="JsPluginCompat",e[e.ThemeFunction=8]="ThemeFunction",e[e.Utilities=16]="Utilities",e[e.Variants=32]="Variants",e[e.AtTheme=64]="AtTheme",e))(Ce||{});async function Wg(e,{base:t="",from:r,loadModule:n=Ig,loadStylesheet:i=Lg}={}){let s=0;e=[nt({base:t},e)],s|=await eu(e,t,i,0,r!==void 0);let o=null,l=new c0,a=new Map,c=new Map,d=[],u=null,h=null,m=[],g=[],y=[],k=[],S=null;W(e,(x,T)=>{if(x.kind!=="at-rule")return;let E=bi(T);if(x.name==="@tailwind"&&(x.params==="utilities"||x.params.startsWith("utilities"))){if(h!==null)return D.Replace([]);if(E.context.reference)return D.Replace([]);let j=H(x.params," ");for(let L of j)if(L.startsWith("source(")){let z=L.slice(7,-1);if(z==="none"){S=z;continue}if(z[0]==='"'&&z[z.length-1]!=='"'||z[0]==="'"&&z[z.length-1]!=="'"||z[0]!=="'"&&z[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");S={base:E.context.sourceBase??E.context.base,pattern:z.slice(1,-1)}}h=x,s|=16}if(x.name==="@utility"){if(E.parent!==null)throw new Error("`@utility` cannot be nested.");if(x.nodes.length===0)throw new Error(`\`@utility ${x.params}\` is empty. Utilities should include at least one property.`);let j=O0(x);if(j===null){if(!x.params.endsWith("-*")){if(x.params.endsWith("*"))throw new Error(`\`@utility ${x.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(x.params.includes("*"))throw new Error(`\`@utility ${x.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${x.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}d.push(j)}if(x.name==="@source"){if(x.nodes.length>0)throw new Error("`@source` cannot have a body.");if(E.parent!==null)throw new Error("`@source` cannot be nested.");let j=!1,L=!1,z=x.params;if(z[0]==="n"&&z.startsWith("not ")&&(j=!0,z=z.slice(4)),z[0]==="i"&&z.startsWith("inline(")&&(L=!0,z=z.slice(7,-1).trim()),z[0]==='"'&&z[z.length-1]!=='"'||z[0]==="'"&&z[z.length-1]!=="'"||z[0]!=="'"&&z[0]!=='"')throw new Error("`@source` paths must be quoted.");let P=z.slice(1,-1);if(L){let N=j?k:y,M=H(P," ");for(let G of M)for(let Y of yi(G))N.push(Y)}else g.push({base:E.context.base,pattern:P,negated:j});return D.ReplaceSkip([])}if(x.name==="@variant"&&(E.parent===null?x.nodes.length===0?x.name="@custom-variant":(W(x.nodes,j=>{if(j.kind==="at-rule"&&j.name==="@slot")return x.name="@custom-variant",D.Stop}),x.name==="@variant"&&m.push(x)):m.push(x)),x.name==="@custom-variant"){if(E.parent!==null)throw new Error("`@custom-variant` cannot be nested.");let[j,L]=H(x.params," ");if(!Zc.test(j))throw new Error(`\`@custom-variant ${j}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(x.nodes.length>0&&L)throw new Error(`\`@custom-variant ${j}\` cannot have both a selector and a body.`);if(x.nodes.length===0){if(!L)throw new Error(`\`@custom-variant ${j}\` has no selector or body.`);let z=H(L.slice(1,-1),",");if(z.length===0||z.some(M=>M.trim()===""))throw new Error(`\`@custom-variant ${j} (${z.join(",")})\` selector is invalid.`);let P=[],N=[];for(let M of z)M=M.trim(),M[0]==="@"?P.push(M):N.push(M);a.set(j,M=>{M.variants.static(j,G=>{let Y=[];N.length>0&&Y.push(Z(N.join(", "),G.nodes));for(let p of P)Y.push(ne(p,G.nodes));G.nodes=Y},{compounds:Mt([...N,...P])})}),c.set(j,new Set)}else{let z=new Set;W(x.nodes,P=>{P.kind==="at-rule"&&P.name==="@variant"&&z.add(P.params)}),a.set(j,P=>{P.variants.fromAst(j,x.nodes,P)}),c.set(j,z)}return D.ReplaceSkip([])}if(x.name==="@media"){let j=H(x.params," "),L=[];for(let z of j)if(z.startsWith("source(")){let P=z.slice(7,-1);W(x.nodes,N=>{if(N.kind==="at-rule"&&N.name==="@tailwind"&&N.params==="utilities")return N.params+=` source(${P})`,D.ReplaceStop([nt({sourceBase:E.context.base},[N])])})}else if(z.startsWith("theme(")){let P=z.slice(6,-1),N=P.includes("reference");W(x.nodes,M=>{if(M.kind!=="context"){if(M.kind!=="at-rule"){if(N)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return D.Continue}if(M.name==="@theme")return M.params+=" "+P,D.Skip}})}else if(z.startsWith("prefix(")){let P=z.slice(7,-1);W(x.nodes,N=>{if(N.kind==="at-rule"&&N.name==="@theme")return N.params+=` prefix(${P})`,D.Skip})}else z==="important"?o=!0:z==="reference"?x.nodes=[nt({reference:!0},x.nodes)]:L.push(z);if(L.length>0)x.params=L.join(" ");else if(j.length>0)return D.Replace(x.nodes);return D.Continue}if(x.name==="@theme"){let[j,L]=Ug(x.params);if(s|=64,E.context.reference&&(j|=2),L){if(!Mg.test(L))throw new Error(`The prefix "${L}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);l.prefix=L}return W(x.nodes,z=>{if(z.kind==="at-rule"&&z.name==="@keyframes")return l.addKeyframes(z),D.Skip;if(z.kind==="comment")return;if(z.kind==="declaration"&&z.property.startsWith("--")){l.add(zt(z.property),z.value??"",j,z.src);return}let P=_e([J(x.name,x.params,[z])]).split(`
|
|
167
|
+
`).map((N,M,G)=>`${M===0||M>=G.length-2?" ":">"} ${N}`).join(`
|
|
168
|
+
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
|
|
169
|
+
|
|
170
|
+
${P}`)}),u?D.ReplaceSkip([]):(u=Z(":root, :host",[]),u.src=x.src,D.ReplaceSkip(u))}});let $=fg(l,h?.src);if(o&&($.important=o),k.length>0)for(let x of k)$.invalidCandidates.add(x);s|=await Og({designSystem:$,base:t,ast:e,loadModule:n,sources:g});for(let x of a.keys())$.variants.static(x,()=>{});for(let x of Ng(c,{onCircularDependency(T,E){let j=_e(T.map((L,z)=>J("@custom-variant",L,[J("@variant",T[z+1]??E,[])]))).replaceAll(";"," { \u2026 }").replace(`@custom-variant ${E} {`,`@custom-variant ${E} { /* \u2190 */`);throw new Error(`Circular dependency detected in custom variants:
|
|
171
|
+
|
|
172
|
+
${j}`)}}))a.get(x)?.($);for(let x of d)x($);if(u){let x=[];for(let[E,j]of $.theme.entries()){if(j.options&2)continue;let L=f(Nr(E),j.value);L.src=j.src,x.push(L)}let T=$.theme.getKeyframes();for(let E of T)e.push(nt({theme:!0},[K([E])]));u.nodes=[nt({theme:!0},x)]}if(s|=ji(e,$),s|=Ai(e,$),s|=It(e,$),h){let x=h;x.kind="context",x.context={}}return W(e,x=>{if(x.kind==="at-rule")return x.name==="@utility"?D.Replace([]):D.Skip}),{designSystem:$,ast:e,sources:g,root:S,utilitiesNode:h,features:s,inlineCandidates:y}}async function Oi(e,t={}){let{designSystem:r,ast:n,sources:i,root:s,utilitiesNode:o,features:l,inlineCandidates:a}=await Wg(e,t);n.unshift(Fc(`! tailwindcss v${i0} | MIT License | https://tailwindcss.com `));function c(g){r.invalidCandidates.add(g)}let d=new Set,u=null,h=0,m=!1;for(let g of a)r.invalidCandidates.has(g)||(d.add(g),m=!0);return{sources:i,root:s,features:l,build(g){if(l===0)return e;if(!o)return u??=Pt(n,r,t.polyfills),u;let y=m,k=!1;m=!1;let S=d.size;for(let x of g)if(!r.invalidCandidates.has(x))if(x[0]==="-"&&x[1]==="-"){let T=r.theme.markUsedVariable(x);y||=T,k||=T}else d.add(x),y||=d.size!==S;if(!y)return u??=Pt(n,r,t.polyfills),u;let $=Lr(d,r,{onInvalidCandidate:c}).astNodes;return t.from&&W($,x=>{x.src??=o.src}),!k&&h===$.length?(u??=Pt(n,r,t.polyfills),u):(h=$.length,o.nodes=$,u=Pt(n,r,t.polyfills),u)}}}async function Fi(e,t={}){let r=ki(e,{from:t.from}),n=await Oi(r,t),i=r,s=e;return{...n,build(o){let l=n.build(o);return l===i||(s=_e(l,!!t.from),i=l),s},buildSourceMap(){return Fg({ast:i})}}}import Wi from"fs/promises";import Xt from"path";import*as Hi from"path";var au=44,Vg=59,nu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lu=new Uint8Array(64),cu=new Uint8Array(128);for(let e=0;e<nu.length;e++){let t=nu.charCodeAt(e);lu[e]=t,cu[t]=e}function Lt(e,t){let r=0,n=0,i=0;do{let o=e.next();i=cu[o],r|=(i&31)<<n,n+=5}while(i&32);let s=r&1;return r>>>=1,s&&(r=-2147483648|-r),t+r}function Ut(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),e.write(lu[i])}while(n>0);return t}function iu(e,t){return e.pos>=t?!1:e.peek()!==au}var ou=1024*16,su=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Bg=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ou)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===ou&&(this.out+=su.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+su.decode(e.subarray(0,r)):t}},Kg=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:r}=this,n=t.indexOf(e,r);return n===-1?t.length:n}};function uu(e){let{length:t}=e,r=new Kg(e),n=[],i=0,s=0,o=0,l=0,a=0;do{let c=r.indexOf(";"),d=[],u=!0,h=0;for(i=0;r.pos<c;){let m;i=Lt(r,i),i<h&&(u=!1),h=i,iu(r,c)?(s=Lt(r,s),o=Lt(r,o),l=Lt(r,l),iu(r,c)?(a=Lt(r,a),m=[i,s,o,l,a]):m=[i,s,o,l]):m=[i],d.push(m),r.pos++}u||qg(d),n.push(d),r.pos=c+1}while(r.pos<=t);return n}function qg(e){e.sort(Jg)}function Jg(e,t){return e[0]-t[0]}function Wt(e){let t=new Bg,r=0,n=0,i=0,s=0;for(let o=0;o<e.length;o++){let l=e[o];if(o>0&&t.write(Vg),l.length===0)continue;let a=0;for(let c=0;c<l.length;c++){let d=l[c];c>0&&t.write(au),a=Ut(t,d[0],a),d.length!==1&&(r=Ut(t,d[1],r),n=Ut(t,d[2],n),i=Ut(t,d[3],i),d.length!==4&&(s=Ut(t,d[4],s)))}}return t.flush()}var Gg=/^[\w+.-]+:\/\//,Yg=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,Zg=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function Qg(e){return Gg.test(e)}function Xg(e){return e.startsWith("//")}function hu(e){return e.startsWith("/")}function ev(e){return e.startsWith("file:")}function du(e){return/^[.?#]/.test(e)}function Wr(e){let t=Yg.exec(e);return pu(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function tv(e){let t=Zg.exec(e),r=t[2];return pu("file:","",t[1]||"","",hu(r)?r:"/"+r,t[3]||"",t[4]||"")}function pu(e,t,r,n,i,s,o){return{scheme:e,user:t,host:r,port:n,path:i,query:s,hash:o,type:7}}function fu(e){if(Xg(e)){let r=Wr("http:"+e);return r.scheme="",r.type=6,r}if(hu(e)){let r=Wr("http://foo.com"+e);return r.scheme="",r.host="",r.type=5,r}if(ev(e))return tv(e);if(Qg(e))return Wr(e);let t=Wr("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function rv(e){if(e.endsWith("/.."))return e;let t=e.lastIndexOf("/");return e.slice(0,t+1)}function nv(e,t){mu(t,t.type),e.path==="/"?e.path=t.path:e.path=rv(t.path)+e.path}function mu(e,t){let r=t<=4,n=e.path.split("/"),i=1,s=0,o=!1;for(let a=1;a<n.length;a++){let c=n[a];if(!c){o=!0;continue}if(o=!1,c!=="."){if(c===".."){s?(o=!0,s--,i--):r&&(n[i++]=c);continue}n[i++]=c,s++}}let l="";for(let a=1;a<i;a++)l+="/"+n[a];(!l||o&&!l.endsWith("/.."))&&(l+="/"),e.path=l}function gu(e,t){if(!e&&!t)return"";let r=fu(e),n=r.type;if(t&&n!==7){let s=fu(t),o=s.type;switch(n){case 1:r.hash=s.hash;case 2:r.query=s.query;case 3:case 4:nv(r,s);case 5:r.user=s.user,r.host=s.host,r.port=s.port;case 6:r.scheme=s.scheme}o>n&&(n=o)}mu(r,n);let i=r.query+r.hash;switch(n){case 2:case 3:return i;case 4:{let s=r.path.slice(1);return s?du(t||e)&&!du(s)?"./"+s+i:s+i:i||"."}case 5:return r.path+i;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+i}}function iv(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}function ov(e,t){let r=iv(e),n=t?t+"/":"";return i=>gu(n+(i||""),r)}var He=0;function sv(e,t){let r=vu(e,0);if(r===e.length)return e;t||(e=e.slice());for(let n=r;n<e.length;n=vu(e,n+1))e[n]=lv(e[n],t);return e}function vu(e,t){for(let r=t;r<e.length;r++)if(!av(e[r]))return r;return e.length}function av(e){for(let t=1;t<e.length;t++)if(e[t][He]<e[t-1][He])return!1;return!0}function lv(e,t){return t||(e=e.slice()),e.sort(cv)}function cv(e,t){return e[He]-t[He]}var Hr=!1;function uv(e,t,r,n){for(;r<=n;){let i=r+(n-r>>1),s=e[i][He]-t;if(s===0)return Hr=!0,i;s<0?r=i+1:n=i-1}return Hr=!1,r-1}function dv(e,t,r){for(let n=r+1;n<e.length&&e[n][He]===t;r=n++);return r}function fv(e,t,r){for(let n=r-1;n>=0&&e[n][He]===t;r=n--);return r}function hv(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function pv(e,t,r,n){let{lastKey:i,lastNeedle:s,lastIndex:o}=r,l=0,a=e.length-1;if(n===i){if(t===s)return Hr=o!==-1&&e[o][He]===t,o;t>=s?l=o===-1?0:o:a=o}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=uv(e,t,l,a)}function mv(e){return typeof e=="string"?JSON.parse(e):e}var wu=-1,gv=1,Vr=class{constructor(e,t){let r=typeof e=="string";if(!r&&e._decodedMemo)return e;let n=mv(e),{version:i,file:s,names:o,sourceRoot:l,sources:a,sourcesContent:c}=n;this.version=i,this.file=s,this.names=o||[],this.sourceRoot=l,this.sources=a,this.sourcesContent=c,this.ignoreList=n.ignoreList||n.x_google_ignoreList||void 0;let d=ov(t,l);this.resolvedSources=a.map(d);let{mappings:u}=n;if(typeof u=="string")this._encoded=u,this._decoded=void 0;else if(Array.isArray(u))this._encoded=void 0,this._decoded=sv(u,r);else throw n.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(n)}`);this._decodedMemo=hv(),this._bySources=void 0,this._bySourceMemos=void 0}};function Br(e){var t;return(t=e)._decoded||(t._decoded=uu(e._encoded))}function yu(e,t,r){let n=Br(e);if(t>=n.length)return null;let i=n[t],s=vv(i,e._decodedMemo,t,r,gv);return s===-1?null:i[s]}function vv(e,t,r,n,i){let s=pv(e,n,t,r);return Hr?s=(i===wu?dv:fv)(e,n,s):i===wu&&s++,s===-1||s===e.length?-1:s}var zi=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function bu(e,t){return e._indexes[t]}function Ht(e,t){let r=bu(e,t);if(r!==void 0)return r;let{array:n,_indexes:i}=e,s=n.push(t);return i[t]=s-1}function wv(e,t){let r=bu(e,t);if(r===void 0)return;let{array:n,_indexes:i}=e;for(let s=r+1;s<n.length;s++){let o=n[s];n[s-1]=o,i[o]--}i[t]=void 0,n.pop()}var yv=0,kv=1,bv=2,xv=3,$v=4,xu=-1,$u=class{constructor({file:e,sourceRoot:t}={}){this._names=new zi,this._sources=new zi,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new zi}};var Su=(e,t,r,n,i,s,o,l)=>Sv(!0,e,t,r,n,i,s,o,l);function Au(e,t,r){let{_sources:n,_sourcesContent:i}=e,s=Ht(n,t);i[s]=r}function _u(e,t,r=!0){let{_sources:n,_sourcesContent:i,_ignoreList:s}=e,o=Ht(n,t);o===i.length&&(i[o]=null),r?Ht(s,o):wv(s,o)}function Di(e){let{_mappings:t,_sources:r,_sourcesContent:n,_names:i,_ignoreList:s}=e;return Ev(t),{version:3,file:e.file||void 0,names:i.array,sourceRoot:e.sourceRoot||void 0,sources:r.array,sourcesContent:n,mappings:t,ignoreList:s.array}}function Eu(e){let t=Di(e);return Object.assign({},t,{mappings:Wt(t.mappings)})}function Sv(e,t,r,n,i,s,o,l,a){let{_mappings:c,_sources:d,_sourcesContent:u,_names:h}=t,m=Av(c,r),g=_v(m,n);if(!i)return e&&Cv(m,g)?void 0:ku(m,g,[n]);let y=Ht(d,i),k=l?Ht(h,l):xu;if(y===u.length&&(u[y]=a??null),!(e&&Rv(m,g,y,s,o,k)))return ku(m,g,l?[n,y,s,o,k]:[n,y,s,o])}function Av(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}function _v(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){let i=e[n];if(t>=i[yv])break}return r}function ku(e,t,r){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=r}function Ev(e){let{length:t}=e,r=t;for(let n=r-1;n>=0&&!(e[n].length>0);r=n,n--);r<t&&(e.length=r)}function Cv(e,t){return t===0?!0:e[t-1].length===1}function Rv(e,t,r,n,i,s){if(t===0)return!1;let o=e[t-1];return o.length===1?!1:r===o[kv]&&n===o[bv]&&i===o[xv]&&s===(o.length===5?o[$v]:xu)}var Cu=Ru("",-1,-1,"",null,!1),jv=[];function Ru(e,t,r,n,i,s){return{source:e,line:t,column:r,name:n,content:i,ignore:s}}function ju(e,t,r,n,i){return{map:e,sources:t,source:r,content:n,ignore:i}}function Tu(e,t){return ju(e,t,"",null,!1)}function Tv(e,t,r){return ju(null,jv,e,t,r)}function Pv(e){let t=new $u({file:e.map.file}),{sources:r,map:n}=e,i=n.names,s=Br(n);for(let o=0;o<s.length;o++){let l=s[o];for(let a=0;a<l.length;a++){let c=l[a],d=c[0],u=Cu;if(c.length!==1){let $=r[c[1]];if(u=Pu($,c[2],c[3],c.length===5?i[c[4]]:""),u==null)continue}let{column:h,line:m,name:g,content:y,source:k,ignore:S}=u;Su(t,o,d,k,m,h,g),k&&y!=null&&Au(t,k,y),S&&_u(t,k,!0)}}return t}function Pu(e,t,r,n){if(!e.map)return Ru(e.source,t,r,n,e.content,e.ignore);let i=yu(e.map,t,r);return i==null?null:i.length===1?Cu:Pu(e.sources[i[1]],i[2],i[3],i.length===5?e.map.names[i[4]]:n)}function Ov(e){return Array.isArray(e)?e:[e]}function Fv(e,t){let r=Ov(e).map(s=>new Vr(s,"")),n=r.pop();for(let s=0;s<r.length;s++)if(r[s].sources.length>1)throw new Error(`Transformation map ${s} must have exactly one source file.
|
|
173
|
+
Did you specify these with the most recent transformation maps first?`);let i=Ou(n,t,"",0);for(let s=r.length-1;s>=0;s--)i=Tu(r[s],[i]);return i}function Ou(e,t,r,n){let{resolvedSources:i,sourcesContent:s,ignoreList:o}=e,l=n+1,a=i.map((c,d)=>{let u={importer:r,depth:l,source:c||"",content:void 0,ignore:void 0},h=t(u.source,u),{source:m,content:g,ignore:y}=u;if(h)return Ou(new Vr(h,m),t,m,l);let k=g!==void 0?g:s?s[d]:null,S=y!==void 0?y:o?o.includes(d):!1;return Tv(m,k,S)});return Tu(e,a)}var zv=class{constructor(e,t){let r=t.decodedMappings?Di(e):Eu(e);this.version=r.version,this.file=r.file,this.mappings=r.mappings,this.names=r.names,this.ignoreList=r.ignoreList,this.sourceRoot=r.sourceRoot,this.sources=r.sources,t.excludeContent||(this.sourcesContent=r.sourcesContent)}toString(){return JSON.stringify(this)}};function Fu(e,t,r){let n=typeof r=="object"?r:{excludeContent:!!r,decodedMappings:!1},i=Fv(e,t);return new zv(Pv(i),n)}import{Features as qt,transform as nw}from"lightningcss";var Kr=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},qr=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),i=this.original.slice(r);this.original=n;let s=new e(t,this.end,i);return s.outro=this.outro,this.outro="",this.end=t,this.edited?(s.edit("",!1),this.content=""):this.content=n,s.next=this.next,s.next&&(s.next.previous=s),s.previous=this,this.next=s,s}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function Dv(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Nv=Dv(),Ni=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Wt(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Nv(this.toString())}};function Mv(e){let t=e.split(`
|
|
174
|
+
`),r=t.filter(s=>/^\t+/.test(s)),n=t.filter(s=>/^ {2,}/.test(s));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((s,o)=>{let l=/^ +/.exec(o)[0].length;return Math.min(l,s)},1/0);return new Array(i+1).join(" ")}function Iv(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var Lv=Object.prototype.toString;function Uv(e){return Lv.call(e)==="[object Object]"}function zu(e){let t=e.split(`
|
|
175
|
+
`),r=[];for(let n=0,i=0;n<t.length;n++)r.push(i),i+=t[n].length+1;return function(i){let s=0,o=r.length;for(;s<o;){let c=s+o>>1;i<r[c]?o=c:s=c+1}let l=s-1,a=i-r[l];return{line:l,column:a}}}var Wv=/\w/,Mi=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,i){if(r.length){let s=r.length-1,o=r.indexOf(`
|
|
176
|
+
`,0),l=-1;for(;o>=0&&s>o;){let c=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&c.push(i),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=o,o=r.indexOf(`
|
|
177
|
+
`,o+1)}let a=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&a.push(i),this.rawSegments.push(a),this.advance(r.slice(l+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,i,s){let o=r.start,l=!0,a=!1;for(;o<r.end;){if(n[o]===`
|
|
178
|
+
`)i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=!0,a=!1;else{if(this.hires||l||s.has(o)){let c=[this.generatedCodeColumn,t,i.line,i.column];this.hires==="boundary"?Wv.test(n[o])?a||(this.rawSegments.push(c),a=!0):(this.rawSegments.push(c),a=!1):this.rawSegments.push(c)}i.column+=1,this.generatedCodeColumn+=1,l=!1}o+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
179
|
+
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},Vt=`
|
|
180
|
+
`,kt={insertLeft:!1,insertRight:!1,storeName:!1},Jr=class e{constructor(t,r={}){let n=new qr(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Kr},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let i=r.next,s=i&&i.clone();s&&(n.next=s,s.previous=n,n=s),r=i}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Kr(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),i=new Mi(t.hires),s=zu(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(o=>{let l=s(o.start);o.intro.length&&i.advance(o.intro),o.edited?i.addEdit(r,o.content,l,o.storeName?n.indexOf(o.original):-1):i.addUneditedChunk(r,o,this.original,l,this.sourcemapLocations),o.outro.length&&i.advance(o.outro)}),this.outro&&i.advance(this.outro),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Iv(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Ni(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Mv(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(Uv(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let u=d[0];u<d[1];u+=1)i[u]=!0});let s=r.indentStart!==!1,o=c=>s?`${t}${c}`:(s=!0,c);this.intro=this.intro.replace(n,o);let l=0,a=this.firstChunk;for(;a;){let c=a.end;if(a.edited)i[l]||(a.content=a.content.replace(n,o),a.content.length&&(s=a.content[a.content.length-1]===`
|
|
181
|
+
`));else for(l=a.start;l<c;){if(!i[l]){let d=this.original[l];d===`
|
|
182
|
+
`?s=!0:d!=="\r"&&s&&(s=!1,l===a.start||(this._splitChunk(a,l),a=a.next),a.prependRight(t))}l+=1}l=a.end,a=a.next}return this.outro=this.outro.replace(n,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return kt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),kt.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return kt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),kt.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let i=this.byStart[t],s=this.byEnd[r],o=i.previous,l=s.next,a=this.byStart[n];if(!a&&s===this.lastChunk)return this;let c=a?a.previous:this.lastChunk;return o&&(o.next=l),l&&(l.previous=o),c&&(c.next=i),a&&(a.previous=s),i.previous||(this.firstChunk=s.next),s.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=c,s.next=a||null,c||(this.firstChunk=i),a||(this.lastChunk=s),this}overwrite(t,r,n,i){return i=i||{},this.update(t,r,n,{...i,overwrite:!i.contentOnly})}update(t,r,n,i){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),i===!0&&(kt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),kt.storeName=!0),i={storeName:!0});let s=i!==void 0?i.storeName:!1,o=i!==void 0?i.overwrite:!1;if(s){let c=this.original.slice(t,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let l=this.byStart[t],a=this.byEnd[r];if(l){let c=l;for(;c!==a;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}l.edit(n,s,!o)}else{let c=new qr(t,r,"").edit(n,s);a.next=c,c.previous=a}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Vt);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Vt),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Vt),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Vt),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Vt),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let s=i;for(;i;){i.intro&&(s!==i||i.start===t)&&(n+=i.intro);let o=i.start<r&&i.end>=r;if(o&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let l=s===i?t-i.start:0,a=o?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(l,a),i.outro&&(!o||i.end===r)&&(n+=i.outro),o)break;i=i.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=r,i=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);if(r=i?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(t,r){if(t.edited&&t.content.length){let i=zu(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let i=n.end,s=n.trimEnd(r);if(n.end!==i&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),s)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let i=n.end,s=n.trimStart(r);if(n.end!==i&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),s)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(s,o){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(l,a)=>a==="$"?"$":a==="&"?s[0]:+a<s.length?s[+a]:`$${a}`):r(...s,s.index,o,s.groups)}function i(s,o){let l,a=[];for(;l=s.exec(o);)a.push(l);return a}if(t.global)i(t,this.original).forEach(o=>{if(o.index!=null){let l=n(o,this.original);l!==o[0]&&this.overwrite(o.index,o.index+o[0].length,l)}});else{let s=this.original.match(t);if(s&&s.index!=null){let o=n(s,this.original);o!==s[0]&&this.overwrite(s.index,s.index+s[0].length,o)}}return this}_replaceString(t,r){let{original:n}=this,i=n.indexOf(t);return i!==-1&&(typeof r=="function"&&(r=r(t,i,n)),t!==r&&this.overwrite(i,i+t.length,r)),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,i=t.length;for(let s=n.indexOf(t);s!==-1;s=n.indexOf(t,s+i)){let o=n.slice(s,s+i),l=r;typeof r=="function"&&(l=r(o,s,n)),o!==l&&this.overwrite(s,s+i,l)}return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var wd=cn(Ld(),1),Hv=Object.defineProperty,Vv=(e,t)=>{for(var r in t)Hv(e,r,{get:t[r],enumerable:!0})},Ji={};Vv(Ji,{DEBUG:()=>sd});var sd=Kv(process.env.DEBUG);function Kv(e){if(typeof e=="boolean")return e;if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(r=>r.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}var qv=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],Jv=[".js",".cjs",".mjs"],Gv=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],Yv=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function Zv(e,t){for(let r of t){let n=`${e}${r}`;if((await Wi.stat(n).catch(()=>null))?.isFile())return n}for(let r of t){let n=`${e}/index${r}`;if(await Wi.access(n).then(()=>!0,()=>!1))return n}return null}async function ld(e,t,r,n){let i=Jv.includes(n)?Gv:Yv,s=await Zv(Xt.resolve(r,t),i);if(s===null||e.has(s))return;e.add(s),r=Xt.dirname(s),n=Xt.extname(s);let o=await Wi.readFile(s,"utf-8"),l=[];for(let a of qv)for(let c of o.matchAll(a))c[1].startsWith(".")&&l.push(ld(e,c[1],r,n));await Promise.all(l)}async function Qv(e){let t=new Set;return await ld(t,e,Xt.dirname(e),Xt.extname(e)),Array.from(t)}function Bt(e){return{kind:"word",value:e}}function Xv(e,t){return{kind:"function",value:e,nodes:t}}function e1(e){return{kind:"separator",value:e}}function an(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+an(r.nodes)+")"}return t}var Nu=92,t1=41,Mu=58,Iu=44,r1=34,Lu=61,Uu=62,Wu=60,Hu=10,n1=40,i1=39,o1=47,Vu=32,Bu=9;function ln(e){e=e.replaceAll(`\r
|
|
183
|
+
`,`
|
|
184
|
+
`);let t=[],r=[],n=null,i="",s;for(let o=0;o<e.length;o++){let l=e.charCodeAt(o);switch(l){case Nu:{i+=e[o]+e[o+1],o++;break}case o1:{if(i.length>0){let c=Bt(i);n?n.nodes.push(c):t.push(c),i=""}let a=Bt(e[o]);n?n.nodes.push(a):t.push(a);break}case Mu:case Iu:case Lu:case Uu:case Wu:case Hu:case Vu:case Bu:{if(i.length>0){let u=Bt(i);n?n.nodes.push(u):t.push(u),i=""}let a=o,c=o+1;for(;c<e.length&&(s=e.charCodeAt(c),!(s!==Mu&&s!==Iu&&s!==Lu&&s!==Uu&&s!==Wu&&s!==Hu&&s!==Vu&&s!==Bu));c++);o=c-1;let d=e1(e.slice(a,c));n?n.nodes.push(d):t.push(d);break}case i1:case r1:{let a=o;for(let c=o+1;c<e.length;c++)if(s=e.charCodeAt(c),s===Nu)c+=1;else if(s===l){o=c;break}i+=e.slice(a,o+1);break}case n1:{let a=Xv(i,[]);i="",n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case t1:{let a=r.pop();if(i.length>0){let c=Bt(i);a?.nodes.push(c),i=""}r.length>0?n=r[r.length-1]:n=null;break}default:i+=String.fromCharCode(l)}}return i.length>0&&t.push(Bt(i)),t}var lt=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return t===void 0&&(t=this.factory(e,this),this.set(e,t)),t}},zb=new Uint8Array(256),Gr=new Uint8Array(256);function cd(e,t){let r=0,n=[],i=0,s=e.length,o=t.charCodeAt(0);for(let l=0;l<s;l++){let a=e.charCodeAt(l);if(r===0&&a===o){n.push(e.slice(i,l)),i=l+1;continue}switch(a){case 92:l+=1;break;case 39:case 34:for(;++l<s;){let c=e.charCodeAt(l);if(c===92){l+=1;continue}if(c===a)break}break;case 40:Gr[r]=41,r++;break;case 91:Gr[r]=93,r++;break;case 123:Gr[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===Gr[r-1]&&r--;break}}return n.push(e.slice(i)),n}var Vi=(e=>(e[e.Continue=0]="Continue",e[e.Skip=1]="Skip",e[e.Stop=2]="Stop",e[e.Replace=3]="Replace",e[e.ReplaceSkip=4]="ReplaceSkip",e[e.ReplaceStop=5]="ReplaceStop",e))(Vi||{}),Gt={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function nn(e,t){typeof t=="function"?Ku(e,t):Ku(e,t.enter,t.exit)}function Ku(e,t=()=>Gt.Continue,r=()=>Gt.Continue){let n={value:[e,0,null],prev:null},i={parent:null,depth:0,path(){let s=[],o=n;for(;o;){let l=o.value[2];l&&s.push(l),o=o.prev}return s.reverse(),s}};for(;n!==null;){let s=n.value,o=s[0],l=s[1],a=s[2];if(l>=o.length){n=n.prev,i.depth-=1;continue}if(i.parent=a,l>=0){let h=o[l],m=t(h,i)??Gt.Continue;switch(m.kind){case 0:{h.nodes&&h.nodes.length>0&&(i.depth+=1,n={value:[h.nodes,0,h],prev:n}),s[1]=~l;continue}case 2:return;case 1:{s[1]=~l;continue}case 3:{o.splice(l,1,...m.nodes);continue}case 5:{o.splice(l,1,...m.nodes);return}case 4:{o.splice(l,1,...m.nodes),s[1]+=m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Vi[m.kind]??`Unknown(${m.kind})`}\` in enter.`)}}let c=~l,d=o[c],u=r(d,i)??Gt.Continue;switch(u.kind){case 0:s[1]=c+1;continue;case 2:return;case 3:{o.splice(c,1,...u.nodes),s[1]=c+u.nodes.length;continue}case 5:{o.splice(c,1,...u.nodes);return}case 4:{o.splice(c,1,...u.nodes),s[1]=c+u.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Vi[u.kind]??`Unknown(${u.kind})`}\` in exit.`)}}}var Db=new lt(e=>{let t=ln(e),r=new Set;return nn(t,(n,i)=>{let s=i.parent===null?t:i.parent.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let o=s.indexOf(n)??-1;if(o===-1)return;let l=s[o-1];if(l?.kind!=="separator"||l.value!==" ")return;let a=s[o+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(l),r.add(a)}else n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(s[0]===n||s[s.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&nn(t,n=>{if(r.has(n))return r.delete(n),Gt.ReplaceSkip([])}),Bi(t),an(t)}),Nb=new lt(e=>{let t=ln(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?an(t[2].nodes):e});function Bi(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=Kt(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=Kt(t.value);for(let r=0;r<t.nodes.length;r++)Bi([t.nodes[r]]);break}t.value=Kt(t.value),Bi(t.nodes);break}case"separator":t.value=Kt(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=Kt(t.value));break}default:s1(t)}}var Mb=new lt(e=>{let t=ln(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function s1(e){throw new Error(`Unexpected value: ${e}`)}function Kt(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Ib=process.env.FEATURES_ENV!=="stable",ze=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Lb=new RegExp(`^${ze.source}$`),Ub=new RegExp(`^${ze.source}%$`),Wb=new RegExp(`^${ze.source}s*/s*${ze.source}$`),a1=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],Hb=new RegExp(`^${ze.source}(${a1.join("|")})$`),l1=["deg","rad","grad","turn"],Vb=new RegExp(`^${ze.source}(${l1.join("|")})$`),Bb=new RegExp(`^${ze.source} +${ze.source} +${ze.source}$`);function Be(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function c1(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var u1={"--alpha":d1,"--spacing":f1,"--theme":h1,theme:p1};function d1(e,t,r,...n){let[i,s]=cd(r,"/").map(o=>o.trim());if(!i||!s)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${i||"var(--my-color)"} / ${s||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${i||"var(--my-color)"} / ${s||"50%"})\``);return c1(i,s)}function f1(e,t,r,...n){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.length+1}.`);let i=e.theme.resolve(null,["--spacing"]);if(!i)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${i} * ${r})`}function h1(e,t,r,...n){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let i=!1;r.endsWith(" inline")&&(i=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(i=!0);let s=e.resolveThemeValue(r,i);if(!s){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return s;let o=n.join(", ");if(o==="initial")return s;if(s==="initial")return o;if(s.startsWith("var(")||s.startsWith("theme(")||s.startsWith("--theme(")){let l=ln(s);return g1(l,o),an(l)}return s}function p1(e,t,r,...n){r=m1(r);let i=e.resolveThemeValue(r);if(!i&&n.length>0)return n.join(", ");if(!i)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return i}var Kb=new RegExp(Object.keys(u1).map(e=>`${e}\\(`).join("|"));function m1(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let i=e[n],s=e[n+1];i==="\\"&&(s===r||s==="\\")?(t+=s,n++):t+=i}return t}function g1(e,t){nn(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}var v1=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,qb=new lt(e=>{let t=v1.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=Number(r);if(Number.isNaN(n))return null;let i=t.groups?.unit;return i===void 0?[n,null]:[n,i]});function qu(e,t="top",r="right",n="bottom",i="left"){return ud(`${e}-${t}`,`${e}-${r}`,`${e}-${n}`,`${e}-${i}`)}function ud(e="top",t="right",r="bottom",n="left"){return{1:[[e,0],[t,0],[r,0],[n,0]],2:[[e,0],[t,1],[r,0],[n,1]],3:[[e,0],[t,1],[r,2],[n,1]],4:[[e,0],[t,1],[r,2],[n,3]]}}function st(e,t){return{1:[[e,0],[t,0]],2:[[e,0],[t,1]]}}var Jb={inset:ud(),margin:qu("margin"),padding:qu("padding"),gap:st("row-gap","column-gap")},Gb={"inset-block":st("top","bottom"),"inset-inline":st("left","right"),"margin-block":st("margin-top","margin-bottom"),"margin-inline":st("margin-left","margin-right"),"padding-block":st("padding-top","padding-bottom"),"padding-inline":st("padding-left","padding-right")};function w1(e){let t=[0];for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&t.push(i+1);function r(i){let s=0,o=t.length;for(;o>0;){let a=(o|0)>>1,c=s+a;t[c]<=i?(s=c+1,o=o-a-1):o=a}s-=1;let l=i-t[s];return{line:s+1,column:l}}function n({line:i,column:s}){i-=1,i=Math.min(Math.max(i,0),t.length-1);let o=t[i],l=t[i+1]??o;return Math.min(Math.max(o+s,0),l)}return{find:r,findOffset:n}}var Yt=92,Yr=47,Zr=42,Ju=34,Gu=39,y1=58,en=59,$e=10,on=13,Zt=32,Qt=9,Yu=123,Ii=125,Ki=40,Zu=41,k1=91,b1=93,Qu=45,Li=64,x1=33,Fe=class dd extends Error{loc;constructor(t,r){if(r){let n=r[0],i=w1(n.code).find(r[1]);t=`${n.file}:${i.line}:${i.column+1}: ${t}`}super(t),this.name="CssSyntaxError",this.loc=r,Error.captureStackTrace&&Error.captureStackTrace(this,dd)}};function $1(e,t){let r=t?.from?{file:t.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let n=[],i=[],s=[],o=null,l=null,a="",c="",d=0,u;for(let h=0;h<e.length;h++){let m=e.charCodeAt(h);if(!(m===on&&(u=e.charCodeAt(h+1),u===$e)))if(m===Yt)a===""&&(d=h),a+=e.slice(h,h+2),h+=1;else if(m===Yr&&e.charCodeAt(h+1)===Zr){let g=h;for(let k=h+2;k<e.length;k++)if(u=e.charCodeAt(k),u===Yt)k+=1;else if(u===Zr&&e.charCodeAt(k+1)===Yr){h=k+1;break}let y=e.slice(g,h+1);if(y.charCodeAt(2)===x1){let k=T1(y.slice(2,-2));i.push(k),r&&(k.src=[r,g,h+1],k.dst=[r,g,h+1])}}else if(m===Gu||m===Ju){let g=Xu(e,h,m,r);a+=e.slice(h,g+1),h=g}else{if((m===Zt||m===$e||m===Qt)&&(u=e.charCodeAt(h+1))&&(u===Zt||u===$e||u===Qt||u===on&&(u=e.charCodeAt(h+2))&&u==$e))continue;if(m===$e){if(a.length===0)continue;u=a.charCodeAt(a.length-1),u!==Zt&&u!==$e&&u!==Qt&&(a+=" ")}else if(m===Qu&&e.charCodeAt(h+1)===Qu&&a.length===0){let g="",y=h,k=-1;for(let $=h+2;$<e.length;$++)if(u=e.charCodeAt($),u===Yt)$+=1;else if(u===Gu||u===Ju)$=Xu(e,$,u,r);else if(u===Yr&&e.charCodeAt($+1)===Zr){for(let x=$+2;x<e.length;x++)if(u=e.charCodeAt(x),u===Yt)x+=1;else if(u===Zr&&e.charCodeAt(x+1)===Yr){$=x+1;break}}else if(k===-1&&u===y1)k=a.length+$-y;else if(u===en&&g.length===0){a+=e.slice(y,$),h=$;break}else if(u===Ki)g+=")";else if(u===k1)g+="]";else if(u===Yu)g+="}";else if((u===Ii||e.length-1===$)&&g.length===0){h=$-1,a+=e.slice(y,$);break}else(u===Zu||u===b1||u===Ii)&&g.length>0&&e[$]===g[g.length-1]&&(g=g.slice(0,-1));let S=Ui(a,k);if(!S)throw new Fe("Invalid custom property, expected a value",r?[r,y,h]:null);r&&(S.src=[r,y,h],S.dst=[r,y,h]),o?o.nodes.push(S):n.push(S),a=""}else if(m===en&&a.charCodeAt(0)===Li)l=tn(a),r&&(l.src=[r,d,h],l.dst=[r,d,h]),o?o.nodes.push(l):n.push(l),a="",l=null;else if(m===en&&c[c.length-1]!==")"){let g=Ui(a);if(!g){if(a.length===0)continue;throw new Fe(`Invalid declaration: \`${a.trim()}\``,r?[r,d,h]:null)}r&&(g.src=[r,d,h],g.dst=[r,d,h]),o?o.nodes.push(g):n.push(g),a=""}else if(m===Yu&&c[c.length-1]!==")")c+="}",l=R1(a.trim()),r&&(l.src=[r,d,h],l.dst=[r,d,h]),o&&o.nodes.push(l),s.push(o),o=l,a="",l=null;else if(m===Ii&&c[c.length-1]!==")"){if(c==="")throw new Fe("Missing opening {",r?[r,h,h]:null);if(c=c.slice(0,-1),a.length>0)if(a.charCodeAt(0)===Li)l=tn(a),r&&(l.src=[r,d,h],l.dst=[r,d,h]),o?o.nodes.push(l):n.push(l),a="",l=null;else{let y=a.indexOf(":");if(o){let k=Ui(a,y);if(!k)throw new Fe(`Invalid declaration: \`${a.trim()}\``,r?[r,d,h]:null);r&&(k.src=[r,d,h],k.dst=[r,d,h]),o.nodes.push(k)}}let g=s.pop()??null;g===null&&o&&n.push(o),o=g,a="",l=null}else if(m===Ki)c+=")",a+="(";else if(m===Zu){if(c[c.length-1]!==")")throw new Fe("Missing opening (",r?[r,h,h]:null);c=c.slice(0,-1),a+=")"}else{if(a.length===0&&(m===Zt||m===$e||m===Qt))continue;a===""&&(d=h),a+=String.fromCharCode(m)}}}if(a.charCodeAt(0)===Li){let h=tn(a);r&&(h.src=[r,d,e.length],h.dst=[r,d,e.length]),n.push(h)}if(c.length>0&&o){if(o.kind==="rule")throw new Fe(`Missing closing } at ${o.selector}`,o.src?[o.src[0],o.src[1],o.src[1]]:null);if(o.kind==="at-rule")throw new Fe(`Missing closing } at ${o.name} ${o.params}`,o.src?[o.src[0],o.src[1],o.src[1]]:null)}return i.length>0?i.concat(n):n}function tn(e,t=[]){let r=e,n="";for(let i=5;i<e.length;i++){let s=e.charCodeAt(i);if(s===Zt||s===Qt||s===Ki){r=e.slice(0,i),n=e.slice(i);break}}return C1(r.trim(),n.trim(),t)}function Ui(e,t=e.indexOf(":")){if(t===-1)return null;let r=e.indexOf("!important",t+1);return j1(e.slice(0,t).trim(),e.slice(t+1,r===-1?e.length:r).trim(),r!==-1)}function Xu(e,t,r,n=null){let i;for(let s=t+1;s<e.length;s++)if(i=e.charCodeAt(s),i===Yt)s+=1;else{if(i===r)return s;if(i===en&&(e.charCodeAt(s+1)===$e||e.charCodeAt(s+1)===on&&e.charCodeAt(s+2)===$e))throw new Fe(`Unterminated string: ${e.slice(t,s+1)+String.fromCharCode(r)}`,n?[n,t,s+1]:null);if(i===$e||i===on&&e.charCodeAt(s+1)===$e)throw new Fe(`Unterminated string: ${e.slice(t,s)+String.fromCharCode(r)}`,n?[n,t,s+1]:null)}return t}var S1={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function ct(e){return{__BARE_VALUE__:e}}var xe=ct(e=>{if(Be(e.value))return e.value}),ue=ct(e=>{if(Be(e.value))return`${e.value}%`}),Ve=ct(e=>{if(Be(e.value))return`${e.value}px`}),ed=ct(e=>{if(Be(e.value))return`${e.value}ms`}),Qr=ct(e=>{if(Be(e.value))return`${e.value}deg`}),A1=ct(e=>{if(e.fraction===null)return;let[t,r]=cd(e.fraction,"/");if(!(!Be(t)||!Be(r)))return e.fraction}),td=ct(e=>{if(Be(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Yb={accentColor:({theme:e})=>e("colors"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...A1},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...ue}),backdropContrast:({theme:e})=>({...e("contrast"),...ue}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...ue}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Qr}),backdropInvert:({theme:e})=>({...e("invert"),...ue}),backdropOpacity:({theme:e})=>({...e("opacity"),...ue}),backdropSaturate:({theme:e})=>({...e("saturate"),...ue}),backdropSepia:({theme:e})=>({...e("sepia"),...ue}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Ve},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...ue},caretColor:({theme:e})=>e("colors"),colors:()=>({...S1}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...xe},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...ue},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Ve}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...xe},flexShrink:{0:"0",DEFAULT:"1",...xe},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...ue},grayscale:{0:"0",DEFAULT:"100%",...ue},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...xe},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...xe},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...xe},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...xe},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...td},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...td},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...Qr},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...ue},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...xe},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...ue},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...xe},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ve},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ve},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ve},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ve},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Qr},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...ue},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...ue},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...ue},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Qr},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...xe},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ve},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Ve},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...ed},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...ed},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...xe}},_1=64;function E1(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function C1(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function R1(e,t=[]){return e.charCodeAt(0)===_1?tn(e,t):E1(e,t)}function j1(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function T1(e){return{kind:"comment",value:e}}function P1(e,t){let r=0,n={file:null,code:""};function i(o,l=0){let a="",c=" ".repeat(l);if(o.kind==="declaration"){if(a+=`${c}${o.property}: ${o.value}${o.important?" !important":""};
|
|
185
|
+
`,t){r+=c.length;let d=r;r+=o.property.length,r+=2,r+=o.value?.length??0,o.important&&(r+=11);let u=r;r+=2,o.dst=[n,d,u]}}else if(o.kind==="rule"){if(a+=`${c}${o.selector} {
|
|
186
|
+
`,t){r+=c.length;let d=r;r+=o.selector.length,r+=1;let u=r;o.dst=[n,d,u],r+=2}for(let d of o.nodes)a+=i(d,l+1);a+=`${c}}
|
|
187
|
+
`,t&&(r+=c.length,r+=2)}else if(o.kind==="at-rule"){if(o.nodes.length===0){let d=`${c}${o.name} ${o.params};
|
|
188
|
+
`;if(t){r+=c.length;let u=r;r+=o.name.length,r+=1,r+=o.params.length;let h=r;r+=2,o.dst=[n,u,h]}return d}if(a+=`${c}${o.name}${o.params?` ${o.params} `:" "}{
|
|
189
|
+
`,t){r+=c.length;let d=r;r+=o.name.length,o.params&&(r+=1,r+=o.params.length),r+=1;let u=r;o.dst=[n,d,u],r+=2}for(let d of o.nodes)a+=i(d,l+1);a+=`${c}}
|
|
190
|
+
`,t&&(r+=c.length,r+=2)}else if(o.kind==="comment"){if(a+=`${c}/*${o.value}*/
|
|
191
|
+
`,t){r+=c.length;let d=r;r+=2+o.value.length+2;let u=r;o.dst=[n,d,u],r+=1}}else if(o.kind==="context"||o.kind==="at-root")return"";return a}let s="";for(let o of e)s+=i(o,0);return n.code=s,s}function O1(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&e[3]==="\\"){var i=e[2];(i==="?"||i===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),n="//")}var s=e.split(/[/\\]+/);return t!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}function er(e){let t=O1(e);return e.startsWith("\\\\")&&t.startsWith("/")&&!t.startsWith("//")?`/${t}`:t}var Yi=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,fd=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,F1=/(?:gradient|element|cross-fade|image)\(/,z1=/^\s*data:/i,D1=/^([a-z]+:)?\/\//,N1=/^[A-Z_][.\w-]*\(/i,M1=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,I1=/(?<!\\)"/g,L1=/(?: |\\t|\\n|\\f|\\r)+/g,U1=e=>z1.test(e),W1=e=>D1.test(e);async function H1({css:e,base:t,root:r}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let n=$1(e),i=[];function s(o){if(o[0]==="/")return o;let l=Hi.posix.join(er(t),o),a=Hi.posix.relative(er(r),l);return a.startsWith(".")||(a="./"+a),a}return nn(n,o=>{if(o.kind!=="declaration"||!o.value)return;let l=Yi.test(o.value),a=fd.test(o.value);if(l||a){let c=a?V1:hd;i.push(c(o.value,s).then(d=>{o.value=d}))}}),i.length&&await Promise.all(i),P1(n)}function hd(e,t){return md(e,Yi,async r=>{let[n,i]=r;return await pd(i.trim(),n,t)})}async function V1(e,t){return await md(e,fd,async r=>{let[,n]=r;return await K1(n,async({url:i})=>Yi.test(i)?await hd(i,t):F1.test(i)?i:await pd(i,i,t))})}async function pd(e,t,r,n="url"){let i="",s=e[0];if((s==='"'||s==="'")&&(i=s,e=e.slice(1,-1)),B1(e))return t;let o=await r(e);return i===""&&o!==encodeURI(o)&&(i='"'),i==="'"&&o.includes("'")&&(i='"'),i==='"'&&o.includes('"')&&(o=o.replace(I1,'\\"')),`${n}(${i}${o}${i})`}function B1(e,t){return W1(e)||U1(e)||!e[0].match(/[\.a-zA-Z0-9_]/)||N1.test(e)}function K1(e,t){return Promise.all(q1(e).map(async({url:r,descriptor:n})=>({url:await t({url:r,descriptor:n}),descriptor:n}))).then(J1)}function q1(e){let t=e.trim().replace(L1," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(M1);return Array.from(t,({groups:r})=>({url:r?.url?.trim()??"",descriptor:r?.descriptor?.trim()??""})).filter(({url:r})=>!!r)}function J1(e){return e.map(({url:t,descriptor:r})=>t+(r?` ${r}`:"")).join(", ")}async function md(e,t,r){let n,i=e,s="";for(;n=t.exec(i);)s+=i.slice(0,n.index),s+=await r(n),i=i.slice(n.index+n[0].length);return s+=i,s}function G1({base:e,from:t,polyfills:r,onDependency:n,shouldRewriteUrls:i,customCssResolver:s,customJsResolver:o}){return{base:e,polyfills:r,from:t,async loadModule(l,a){return Z1(l,a,n,o)},async loadStylesheet(l,a){let c=await Q1(l,a,n,s);return i&&(c.content=await H1({css:c.content,root:e,base:c.base})),c}}}async function Y1(e){if(e.root&&e.root!=="none"){let t=/[*{]/,r=[];for(let n of e.root.pattern.split("/")){if(t.test(n))break;r.push(n)}if(!await ad.stat(rn.resolve(e.root.base,r.join("/"))).then(n=>n.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist or is not a directory.`)}}async function gd(e,t){let r=await Fi(e,G1(t));return await Y1(r),r}async function Z1(e,t,r,n){if(e[0]!=="."){let l=await id(e,t,n);if(!l)throw new Error(`Could not resolve '${e}' from '${t}'`);let a=await nd(Du(l).href);return{path:l,base:rn.dirname(l),module:a.default??a}}let i=await id(e,t,n);if(!i)throw new Error(`Could not resolve '${e}' from '${t}'`);let[s,o]=await Promise.all([nd(Du(i).href+"?id="+Date.now()),Qv(i)]);for(let l of o)r(l);return{path:i,base:rn.dirname(i),module:s.default??s}}async function Q1(e,t,r,n){let i=await ew(e,t,n);if(!i)throw new Error(`Could not resolve '${e}' from '${t}'`);r(i);let s=await ad.readFile(i,"utf-8");return{path:i,base:rn.dirname(i),content:s}}var rd=null;async function nd(e){if(typeof globalThis.__tw_load=="function"){let t=await globalThis.__tw_load(e);if(t)return t}try{return await import(e)}catch{return rd??=fo(import.meta.url,{moduleCache:!1,fsCache:!1}),await rd.import(e)}}var Zi=["node_modules",...process.env.NODE_PATH?[process.env.NODE_PATH]:[]],X1=at.default.ResolverFactory.createResolver({fileSystem:new at.default.CachedInputFileSystem(Gi,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:Zi});async function ew(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let n=globalThis.__tw_resolve(e,t);if(n)return Promise.resolve(n)}if(r){let n=await r(e,t);if(n)return n}return qi(X1,e,t)}var tw=at.default.ResolverFactory.createResolver({fileSystem:new at.default.CachedInputFileSystem(Gi,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:Zi}),rw=at.default.ResolverFactory.createResolver({fileSystem:new at.default.CachedInputFileSystem(Gi,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:Zi});async function id(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let n=globalThis.__tw_resolve(e,t);if(n)return Promise.resolve(n)}if(r){let n=await r(e,t);if(n)return n}return qi(tw,e,t).catch(()=>qi(rw,e,t))}function qi(e,t,r){return new Promise((n,i)=>e.resolve({},r,t,{},(s,o)=>{if(s)return i(s);n(o)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var Qi=class{constructor(e=t=>{process.stderr.write(`${t}
|
|
192
|
+
`)}){this.defaultFlush=e}#r=new lt(()=>({value:0}));#t=new lt(()=>({value:0n}));#e=[];hit(e){this.#r.get(e).value++}start(e){let t=this.#e.map(n=>n.label).join("//"),r=`${t}${t.length===0?"":"//"}${e}`;this.#r.get(r).value++,this.#t.get(r),this.#e.push({id:r,label:e,namespace:t,value:process.hrtime.bigint()})}end(e){let t=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==e)throw new Error(`Mismatched timer label: \`${e}\`, expected \`${this.#e[this.#e.length-1].label}\``);let r=this.#e.pop(),n=t-r.value;this.#t.get(r.id).value+=n}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(e=this.defaultFlush){let t=[],r=!1;for(let s=this.#e.length-1;s>=0;s--)this.end(this.#e[s].label);for(let[s,{value:o}]of this.#r.entries()){if(this.#t.has(s))continue;t.length===0&&(r=!0,t.push("Hits:"));let l=s.split("//").length;t.push(`${" ".repeat(l)}${s} ${Xr(od(`\xD7 ${o}`))}`)}this.#t.size>0&&r&&t.push(`
|
|
193
|
+
Timers:`);let n=-1/0,i=new Map;for(let[s,{value:o}]of this.#t){let l=`${(Number(o)/1e6).toFixed(2)}ms`;i.set(s,l),n=Math.max(n,l.length)}for(let s of this.#t.keys()){let o=s.split("//").length;t.push(`${Xr(`[${i.get(s).padStart(n," ")}]`)}${" ".repeat(o-1)}${o===1?" ":Xr(" \u21B3 ")}${s.split("//").pop()} ${this.#r.get(s).value===1?"":Xr(od(`\xD7 ${this.#r.get(s).value}`))}`.trimEnd())}e(`
|
|
194
|
+
${t.join(`
|
|
195
|
+
`)}
|
|
196
|
+
`),this.reset()}[Symbol.dispose](){sd&&this.report()}};function Xr(e){return`\x1B[2m${e}\x1B[22m`}function od(e){return`\x1B[34m${e}\x1B[39m`}function vd(e,{file:t="input.css",minify:r=!1,map:n}={}){function i(a,c){return nw({filename:t,code:a,minify:r,sourceMap:typeof c<"u",inputSourceMap:c,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:qt.Nesting|qt.MediaQueries,exclude:qt.LogicalProperties|qt.DirSelector|qt.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0})}let s=i(Buffer.from(e),n);if(n=s.map?.toString(),s.warnings=s.warnings.filter(a=>!/'(deep|slotted|global)' is not recognized as a valid pseudo-/.test(a.message)),s.warnings.length>0){let a=e.split(`
|
|
197
|
+
`),c=[`Found ${s.warnings.length} ${s.warnings.length===1?"warning":"warnings"} while optimizing generated CSS:`];for(let[d,u]of s.warnings.entries()){c.push(""),s.warnings.length>1&&c.push(`Issue #${d+1}:`);let h=2,m=Math.max(0,u.loc.line-h-1),g=Math.min(a.length,u.loc.line+h),y=a.slice(m,g).map((k,S)=>m+S+1===u.loc.line?`${Jt("\u2502")} ${k}`:Jt(`\u2502 ${k}`));y.splice(u.loc.line-m,0,`${Jt("\u2506")}${" ".repeat(u.loc.column-1)} ${iw(`${Jt("^--")} ${u.message}`)}`,`${Jt("\u2506")}`),c.push(...y)}c.push(""),console.warn(c.join(`
|
|
198
|
+
`))}s=i(s.code,n),n=s.map?.toString();let o=s.code.toString(),l=new Jr(o);if(l.replaceAll("@media not (","@media not all and ("),n!==void 0&&l.hasChanged()){let a=l.generateMap({source:"original",hires:"boundary"}).toString();n=Fu([a,n],()=>null).toString()}return o=l.toString(),{code:o,map:n}}function Jt(e){return`\x1B[2m${e}\x1B[22m`}function iw(e){return`\x1B[33m${e}\x1B[39m`}function ow(e){let t=new wd.SourceMapGenerator,r=1,n=new lt(i=>({url:i?.url??`<unknown ${r++}>`,content:i?.content??"<none>"}));for(let i of e.mappings){let s=n.get(i.originalPosition?.source??null);t.addMapping({generated:i.generatedPosition,original:i.originalPosition,source:s.url,name:i.name}),t.setSourceContent(s.url,s.content)}return t.toString()}function yd(e){let t=typeof e=="string"?e:ow(e);function r(n){return`/*# sourceMappingURL=${n} */
|
|
199
|
+
`}return{raw:t,get inline(){let n=Buffer.from(t,"utf-8").toString("base64");return r(`data:application/json;base64,${n}`)},comment:r}}if(!process.versions.bun){let e=sn.createRequire(import.meta.url);sn.register?.(Bv(e.resolve("@tailwindcss/node/esm-cache-loader")))}var Rd=cn(xd(),1);import{Scanner as hw}from"@tailwindcss/oxide";import{realpathSync as pw}from"fs";import eo from"fs/promises";import ut from"path";var $d=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Sd=e=>{throw TypeError(e)},Ad=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&Sd("Object expected");var n,i;r&&(n=t[$d("asyncDispose")]),n===void 0&&(n=t[$d("dispose")],r&&(i=n)),typeof n!="function"&&Sd("Object not disposable"),i&&(n=function(){try{i.call(this)}catch(s){return Promise.reject(s)}}),e.push([r,n,t])}else r&&e.push([r]);return t},_d=(e,t,r)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(o,l,a,c){return c=Error(a),c.name="SuppressedError",c.error=o,c.suppressed=l,c},i=o=>t=r?new n(o,t,"An error was suppressed during disposal"):(r=!0,o),s=o=>{for(;o=e.pop();)try{var l=o[1]&&o[1].call(o[2]);if(o[0])return Promise.resolve(l).then(s,a=>(i(a),s()))}catch(a){i(a)}if(r)throw t};return s()},ie=Ji.DEBUG,to=/[?&](?:worker|sharedworker|raw|url)\b/,ro=/\?commonjs-proxy/,no=/[?&]index\=\d+\.css$/;function d2(e={}){let t=[],r=null,n=new gw(a=>new Map),i=!1,s=!0,o=!0;function l(a,c){let d,u;if(a){let m=function(k,S){let $=k.createResolver(S),x;return async(T,E,j,L)=>T.name==="client"||T.name==="ssr"?$(E,j,L,T.name==="ssr"):(x??=ho(k,S),x(T,E,j,L))};var h=m;let g=m(a.config,{...a.config.resolve,extensions:[".css"],mainFields:["style"],conditions:["style","development|production"],tryIndex:!1,preferRelative:!0}),y=m(a.config,a.config.resolve);d=(k,S)=>g(a,k,S,!0),u=(k,S)=>y(a,k,S,!0)}else{let m=r.createResolver({...r.resolve,extensions:[".css"],mainFields:["style"],conditions:["style","development|production"],tryIndex:!1,preferRelative:!0}),g=r.createResolver(r.resolve);d=(y,k)=>m(y,k,!0,i),u=(y,k)=>g(y,k,!0,i)}return new vw(c,r.root,r?.css.devSourcemap??!1,d,u)}return[{name:"@tailwindcss/vite:scan",enforce:"pre",configureServer(a){t.push(a)},async configResolved(a){r=a,i=r.build.ssr!==!1&&r.build.ssr!==void 0,e.optimize!==void 0&&(s=e.optimize!==!1),o=s&&r.build.cssMinify!==!1,typeof e.optimize=="object"&&(o=e.optimize.minify!==!1)}},{name:"@tailwindcss/vite:generate:serve",apply:"serve",enforce:"pre",transform:{filter:{id:{exclude:[/\/\.vite\//,to,ro],include:[/\.css(?:\?.*)?$/,/&lang\.css/,no]}},async handler(a,c){var d=[];try{if(!Ed(c))return;let m=Ad(d,new Qi);ie&&m.start("[@tailwindcss/vite] Generate CSS (serve)");let g=n.get(this.environment?.name??"default"),y=g.get(c);y||(y??=l(this.environment??null,c),g.set(c,y));let k=await y.generate(a,S=>this.addWatchFile(S),m);return k?(ie&&m.end("[@tailwindcss/vite] Generate CSS (serve)"),k):(g.delete(c),a)}catch(m){var u=m,h=!0}finally{_d(d,u,h)}}},hotUpdate({file:a,modules:c,timestamp:d,server:u}){{if(!c.every(h=>h.type==="asset"||h.id===void 0))return;for(let h of new Set([this.environment.name,"client"])){let m=n.get(h);if(m.size===0||!ww(a,c,m))continue;let g=new Set;for(let y of c)this.environment.moduleGraph.invalidateModule(y,g,d,!0);return h===this.environment.name?this.environment.hot.send({type:"full-reload"}):u.hot.send?u.hot.send({type:"full-reload"}):u.ws.send&&u.ws.send({type:"full-reload"}),[]}}}},{name:"@tailwindcss/vite:generate:build",apply:"build",enforce:"pre",transform:{filter:{id:{exclude:[/\/\.vite\//,to,ro],include:[/\.css(?:\?.*)?$/,/&lang\.css/,no]}},async handler(a,c){var d=[];try{if(!Ed(c))return;let m=Ad(d,new Qi);ie&&m.start("[@tailwindcss/vite] Generate CSS (build)");let g=n.get(this.environment?.name??"default"),y=g.get(c);y||(y??=l(this.environment??null,c),g.set(c,y));let k=await y.generate(a,S=>this.addWatchFile(S),m);return k?(ie&&m.end("[@tailwindcss/vite] Generate CSS (build)"),s&&(ie&&m.start("[@tailwindcss/vite] Optimize CSS"),k=vd(k.code,{minify:o,map:k.map}),ie&&m.end("[@tailwindcss/vite] Optimize CSS")),k):(g.delete(c),a)}catch(m){var u=m,h=!0}finally{_d(d,u,h)}}}}]}function mw(e){let[t]=e.split("?",2);return ut.extname(t).slice(1)}function Ed(e){return e.includes("/.vite/")||to.test(e)||ro.test(e)?!1:mw(e)==="css"||e.includes("&lang.css")||e.match(no)}function Cd(e){return ut.resolve(e.replace(/\?.*$/,""))}var gw=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return t===void 0&&(t=this.factory(e,this),this.set(e,t)),t}},vw=class{constructor(e,t,r,n,i){this.id=e,this.base=t,this.enableSourceMaps=r,this.customCssResolver=n,this.customJsResolver=i}compiler;scanner;candidates=new Set;buildDependencies=new Map;get scannedFiles(){return this.scanner?.files??[]}async generate(e,t,r){let n=Cd(this.id);function i(c){c!==n&&(/[\#\?].*\.svg$/.test(c)||t(c))}let s=this.requiresBuild(),o=ut.dirname(ut.resolve(n));if(!this.compiler||!this.scanner||await s){(0,Rd.clearRequireCache)(Array.from(this.buildDependencies.keys())),this.buildDependencies.clear(),this.addBuildDependency(Cd(n)),ie&&r.start("Setup compiler");let c=[];this.compiler=await gd(e,{from:this.enableSourceMaps?this.id:void 0,base:o,shouldRewriteUrls:!0,onDependency:u=>{i(u),c.push(this.addBuildDependency(u))},customCssResolver:this.customCssResolver,customJsResolver:this.customJsResolver}),await Promise.all(c),ie&&r.end("Setup compiler"),ie&&r.start("Setup scanner");let d=(this.compiler.root==="none"?[]:this.compiler.root===null?[{base:this.base,pattern:"**/*",negated:!1}]:[{...this.compiler.root,negated:!1}]).concat(this.compiler.sources);this.scanner=new hw({sources:d}),ie&&r.end("Setup scanner")}else for(let c of this.buildDependencies.keys())i(c);if(!(this.compiler.features&(Ce.AtApply|Ce.JsPluginCompat|Ce.ThemeFunction|Ce.Utilities)))return!1;if(this.compiler.features&Ce.Utilities){ie&&r.start("Scan for candidates");for(let c of this.scanner.scan())this.candidates.add(c);ie&&r.end("Scan for candidates")}if(this.compiler.features&Ce.Utilities){ie&&r.start("Register dependency messages");for(let c of this.scanner.files)i(c);for(let c of this.scanner.globs){if(c.pattern[0]==="!")continue;let d=ut.relative(this.base,c.base);d[0]!=="."&&(d="./"+d),d=er(d),i(ut.posix.join(d,c.pattern));let u=this.compiler.root;if(u!=="none"&&u!==null){let h=er(ut.resolve(u.base,u.pattern));if(!await eo.stat(h).then(m=>m.isDirectory(),()=>!1))throw new Error(`The path given to \`source(\u2026)\` must be a directory but got \`source(${h})\` instead.`)}}ie&&r.end("Register dependency messages")}ie&&r.start("Build CSS");let l=this.compiler.build([...this.candidates]);ie&&r.end("Build CSS"),ie&&r.start("Build Source Map");let a=this.enableSourceMaps?yd(this.compiler.buildSourceMap()).raw:void 0;return ie&&r.end("Build Source Map"),{code:l,map:a}}async addBuildDependency(e){let t=null;try{t=(await eo.stat(e)).mtimeMs}catch{}this.buildDependencies.set(e,t)}async requiresBuild(){for(let[e,t]of this.buildDependencies){if(t===null)return!0;try{if((await eo.stat(e)).mtimeMs>t)return!0}catch{return!0}}return!1}};function ww(e,t,r){let n=new Set,i=[...t],s={file:e,get realpath(){try{let o=pw(e);return Object.defineProperty(s,"realpath",{value:o}),o}catch{return null}}};for(;i.length>0;){let o=i.shift();if(!n.has(o)){if(n.add(o),o.id){let l=r.get(o.id);if(l&&(l.scannedFiles.includes(s.file)||s.realpath&&l.scannedFiles.includes(s.realpath)))return!0}for(let l of o.importers)i.push(l)}}return!1}import{readFileSync as xw}from"fs";import{dirname as $w,join as Sw}from"path";import{fileURLToPath as Aw}from"url";function bt(e,t){return new RegExp(`^${kw(e)}$`,t)}var yw=/[-/\\^$*+?.()|[\]{}]/g;function kw(e){return e.replace(yw,"\\$&")}function Ke(e){return Array.isArray(e)?e.map(t=>jd(t)):jd(e)}function jd(e){return typeof e=="string"?`${e}{?*,}`:bw(e)}function bw(e){return new RegExp(e.source.replace(/(?<!\\)\$/g,"(?:\\?.*)?$"),e.flags)}import{viteReactRefreshWrapperPlugin as Td}from"rolldown/experimental";var io="/@react-refresh",oo=`import { injectIntoGlobalHook } from "__BASE__${io.slice(1)}";
|
|
200
|
+
injectIntoGlobalHook(window);
|
|
201
|
+
window.$RefreshReg$ = () => {};
|
|
202
|
+
window.$RefreshSig$ = () => (type) => type;`,Pd=e=>oo.replace("__BASE__",e);function _w({name:e,isEnabled:t}){return{name:"vite:react-virtual-preamble",resolveId:{order:"pre",filter:{id:bt(e)},handler(r){if(r===e)return"\0"+r}},load:{filter:{id:bt("\0"+e)},handler(r){if(r==="\0"+e)return t()?oo.replace("__BASE__","/"):""}}}}var Ew=e=>({rollupOptions:{onwarn(t,r){t.code==="MODULE_LEVEL_DIRECTIVE"&&(t.message.includes("use client")||t.message.includes("use server"))||t.code==="SOURCEMAP_ERROR"&&t.message.includes("resolve original location")&&t.pos===0||(e.build?.rollupOptions?.onwarn?e.build.rollupOptions.onwarn(t,r):r(t))}}}),Cw=/forwardRef|memo|(?:const|let|var|function)\s+(?:[A-Z]|use[A-Z0-9])|(?:[A-Z]|use[A-Z0-9])[^\s:=(){}[\],;]*\s*(?:\(|[:=]\s*(?:function|\())/,Rw=(e={})=>({preset:()=>({plugins:[["babel-plugin-react-compiler",e]]}),rolldown:{filter:{code:e.compilationMode==="annotation"?/['"]use memo['"]/:Cw},applyToEnvironmentHook:t=>t.config.consumer==="client",optimizeDeps:{include:e.target==="17"||e.target==="18"?["react-compiler-runtime"]:["react/compiler-runtime"]}}}),jw=Sw($w(Aw(import.meta.url)),"refresh-runtime.js"),Tw=/\.[tj]sx?$/,Pw=/\/node_modules\//;function Fd(e={}){let t=e.include??Tw,r=e.exclude??Pw,n=e.jsxImportSource??"react",i=`${n}/jsx-runtime`,s=`${n}/jsx-dev-runtime`,o=!1,l=!0,a=!0,c,d=!1,u={name:"vite:react-babel",enforce:"pre",config(k,{command:S}){return e.jsxRuntime==="classic"?{oxc:{jsx:{runtime:"classic",refresh:S==="serve"},jsxRefreshInclude:Ke(t),jsxRefreshExclude:Ke(r)}}:{oxc:{jsx:{runtime:"automatic",importSource:e.jsxImportSource,refresh:S==="serve"},jsxRefreshInclude:Ke(t),jsxRefreshExclude:Ke(r)},optimizeDeps:{rolldownOptions:{transform:{jsx:{runtime:"automatic"}}}}}},configResolved(k){o=!0,c=k.base,k.experimental.bundledDev&&(d=!0),l=k.isProduction,a=l||k.command==="build"||k.server.hmr===!1},options(k){if(!o)return k.transform??={},k.transform.jsx={runtime:e.jsxRuntime,importSource:e.jsxImportSource},k}},h={name:"vite:react:refresh-wrapper",apply:"serve",async applyToEnvironment(k){return k.config.consumer!=="client"||a?!1:Td({cwd:process.cwd(),include:Ke(t),exclude:Ke(r),jsxImportSource:n,reactRefreshHost:e.reactRefreshHost??""})}},m={name:"vite:react:config-post",enforce:"post",config(k){if(k.server?.hmr===!1)return{oxc:{jsx:{refresh:!1}}}}},g={name:"vite:react-refresh-fbm",enforce:"pre",transformIndexHtml:{handler(){if(!a&&d)return[{tag:"script",attrs:{type:"module"},children:Pd("/")}]},order:"pre"}},y=["react","react-dom",s,i];return[u,h,m,g,{name:"vite:react-refresh",enforce:"pre",config:k=>({build:Ew(k),optimizeDeps:{include:y}}),resolveId:{filter:{id:bt(io)},handler(k){if(k==="/@react-refresh")return k}},load:{filter:{id:bt(io)},handler(k){if(k==="/@react-refresh")return xw(jw,"utf-8").replace(/__README_URL__/g,"https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react")}},transformIndexHtml(){if(!a&&!d)return[{tag:"script",attrs:{type:"module"},children:Pd(c)}]}},_w({name:"@vitejs/plugin-react/preamble",isEnabled:()=>!a&&!d})]}Fd.preambleCode=oo;function Od(e){return Fd.call(this,e)}Object.assign(Od,{default:Od,reactCompilerPreset:Rw});import{existsSync as zd}from"fs";import{isAbsolute as Ow,join as Fw,resolve as zw}from"path";var Dd=["src/index.ts","src/index.tsx","src/server.ts","src/server.tsx","index.ts","index.tsx","server.ts","server.tsx"];function V2(e,t){if(t!==void 0){let r=Ow(t)?t:zw(e,t);if(!zd(r))throw new Error(`Entry not found: ${r} (from --entry "${t}")`);return r}for(let r of Dd){let n=Fw(e,r);if(zd(n))return n}throw new Error(`No server entry found in ${e}. Looked for: ${Dd.join(", ")}. Create one of these (default-exporting your MCPServer instance) or pass --entry <path>.`)}import{existsSync as Dw}from"fs";import{join as Nw}from"path";import{fileURLToPath as Mw}from"url";var Iw=["vite.config.ts","vite.config.js","vite.config.mts","vite.config.cjs"];function G2(e){for(let t of Iw){let r=Nw(e,t);if(Dw(r))return r}return!1}function Y2(){return Mw(import.meta.resolve("tailwindcss/index.css"))}import{writeFile as Lw}from"fs/promises";import{extname as Uw,join as Ww,relative as Hw,sep as Vw}from"path";var Bw="mcp-env.d.ts";function Kw(e,t){let r=Hw(e,t).split(Vw).join("/"),n=Uw(r),i=n===".mts"?".mjs":n===".cts"?".cjs":n===".ts"||n===".tsx"?".js":n;return n!==i&&(r=`${r.slice(0,-n.length)}${i}`),r.startsWith(".")?r:`./${r}`}function qw(e,t){let r=Kw(e,t);return["// mcp-use generated env declaration",'declare module "*.css";',"",'declare module "mcp-use/react" {'," interface Register {",` tools: typeof import(${JSON.stringify(r)});`," }","}","","export {};",""].join(`
|
|
203
|
+
`)}async function ex(e,t){let r=Ww(e,Bw);try{return await Lw(r,qw(e,t),{encoding:"utf8",flag:"wx"}),!0}catch(n){if(n!==null&&typeof n=="object"&&"code"in n&&n.code==="EEXIST")return!1;throw n}}import{join as qe}from"path";var Jw=".mcp-use",Gw="manifest.json";function nx(e){let t=qe(e,Jw),r=qe(t,"build");return{projectRoot:e,workspace:t,build:r,generated:qe(t,"generated"),cache:qe(t,"cache"),state:qe(t,"state"),cloud:qe(t,"cloud"),buildManifest:qe(r,Gw),tunnel:qe(t,"state","tunnel.json")}}import{existsSync as Nd,readdirSync as Yw}from"fs";import{isAbsolute as Zw,join as Qw,resolve as Xw}from"path";var ey="views",tr="virtual:mcp-use/views/",so=`\0${tr}`;function Md(e,t){let r=t??ey;return Zw(r)?r:Xw(e,r)}function lx(e,t){let r=Md(e,t);if(!Nd(r))return[];let n=[];for(let i of Yw(r,{withFileTypes:!0})){if(!i.isDirectory())continue;let s=Qw(r,i.name,"view.tsx");Nd(s)&&n.push({name:i.name,entryPath:s})}return n.sort((i,s)=>i.name.localeCompare(s.name)),n}function ty(e){return`${tr}${e}`}function ry(e){return`/@id/__x00__${tr}${e}`}function cx(e,t,r){let n=Md(t,r);return e===n||e.startsWith(`${n}/`)}function ux(e){let t={};for(let r of e)t[r.name]={kind:"external",entry:ry(r.name),css:[],scripts:["/@vite/client"]};return t}async function dx(e,t,r){let{createServer:n}=await import("./node-7FETFLWX.js");return n({root:e,configFile:r,envDir:!1,logLevel:"warn",cacheDir:t,resolve:{tsconfigPaths:!0,alias:lo(e)},plugins:[uo(e)],server:{middlewareMode:!0,hmr:!1},ssr:{...co(e)}})}var ao="virtual:mcp-use/tailwind.css",Id=`\0${ao}`;function px(e){return{name:"mcp-use-views",applyToEnvironment(t){return t.name==="client"},resolveId(t){if(t===ao)return Id;if(t.startsWith(tr))return`\0${t}`},load(t){if(t===Id)return['@import "tailwindcss";',"@custom-variant dark (&:where(.dark, .dark *, [data-theme=dark], [data-theme=dark] *));"].join(`
|
|
204
|
+
`);if(!t.startsWith(so))return;let r=t.slice(so.length),n=e.getViews().find(s=>s.name===r);if(n===void 0)return;let i=[];return e.dev?.reactRefresh===!0&&i.push('import "@vitejs/plugin-react/preamble";'),i.push(`import ${JSON.stringify(ao)};`),i.push('import { bootstrapView } from "mcp-use/react";',`import * as viewModule from ${JSON.stringify(n.entryPath)};`,"bootstrapView(viewModule);"),e.dev!==void 0&&i.push("if (import.meta.hot) {"," import.meta.hot.accept();","}"),i.push(""),i.join(`
|
|
205
|
+
`)}}}export{d2 as a,Fd as b,V2 as c,G2 as d,Y2 as e,ex as f,nx as g,lx as h,ty as i,cx as j,ux as k,dx as l,px as m};
|