Comparing version 0.15.6 to 0.15.7
@@ -1,2 +0,2 @@ | ||
import { PropertiesFallback, PropertiesHyphenFallback, AtRule } from 'csstype'; | ||
import { PropertiesFallback, PropertiesHyphenFallback, AtRule, SimplePseudos } from 'csstype'; | ||
@@ -31,2 +31,6 @@ interface CSSCustomProperties { | ||
} | ||
interface Instance { | ||
readonly tw: TW; | ||
readonly setup: (options?: Configuration) => void; | ||
} | ||
declare type MaybeThunk<T> = T | ((context: Context) => T); | ||
@@ -39,2 +43,12 @@ interface Preflight { | ||
} | ||
interface SheetConfig<T = unknown> { | ||
/** | ||
* Sets a cryptographic nonce (number used once) on the enclosing `<style>` tag when generating a page on demand. | ||
* | ||
* Useful for enforcing a [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP). | ||
*/ | ||
nonce?: string; | ||
/** Target to insert rules into. */ | ||
target?: T; | ||
} | ||
interface Sheet<T = unknown> { | ||
@@ -153,2 +167,13 @@ readonly target: T; | ||
declare type Token = string | TokenGrouping | InlineDirective | Token[] | Falsy | TypescriptCompat; | ||
/** | ||
* Pseudo class | ||
* watch out for ':root' - that could use '*' instead | ||
*/ | ||
declare type CSSSimplePseudos = { | ||
[K in SimplePseudos as `&${string & K}`]?: CSSRulesThunk | MaybeArray<CSSRules>; | ||
}; | ||
interface CSSPseudos extends CSSSimplePseudos { | ||
'&:nth-child(2n)'?: CSSRules; | ||
'&:nth-child(odd)'?: CSSRules; | ||
} | ||
declare type CSSAtMedia = Record<string, MaybeArray<CSSRules>>; | ||
@@ -312,4 +337,36 @@ declare type CSSAtSupports = Record<string, MaybeArray<CSSRules>>; | ||
/** | ||
* Returns an optimized and cached function for use with `tw`. | ||
* | ||
* `tw` caches rules based on the function identity. This helper caches | ||
* the function based on the data. | ||
* | ||
* @param factory to use when the directive is invoked | ||
* @param data to use | ||
*/ | ||
declare const directive: <Data, T>(factory: (data: Data, context: Context) => MaybeThunk<T>, data: Data) => Directive<T>; | ||
declare const create: (config?: Configuration | undefined) => Instance; | ||
declare const mode: (report: (message: string) => void) => Mode; | ||
declare const warn: Mode; | ||
declare const strict: Mode; | ||
declare const silent: Mode; | ||
declare const noprefix: Prefixer; | ||
declare const autoprefix: Prefixer; | ||
/** | ||
* Creates an sheet which inserts style rules through the CSS Object Model. | ||
*/ | ||
declare const cssomSheet: ({ nonce, target, }?: SheetConfig<CSSStyleSheet>) => Sheet<CSSStyleSheet>; | ||
/** | ||
* An sheet placeholder which performs no operations. Useful for avoiding errors in a non-browser environment. | ||
*/ | ||
declare const voidSheet: () => Sheet<null>; | ||
declare const theme: ThemeHelper; | ||
declare const cyrb32: Hasher; | ||
/** | ||
@@ -383,3 +440,3 @@ * [[include:src/css/README.md]] | ||
export { Animation, CSSFactory, Screen, animation, apply, css, keyframes, screen, setup, theme, tw }; | ||
export { Animation, Apply, CSSAtKeyframes, CSSAtMedia, CSSAtSupports, CSSCustomProperties, CSSFactory, CSSProperties, CSSPseudos, CSSRuleValue, CSSRules, CSSRulesThunk, CSSSimplePseudos, Configuration, Context, DarkMode, Directive, DirectiveHandler, Falsy, FontFace, Hasher, InlineDirective, Instance, MaybeArray, MaybeThunk, Mode, Plugin, Plugins, Prefixer, Preflight, ReportInfo, Rule, Screen, Sheet, SheetConfig, SheetInit, SheetInitCallback, TW, TWCallable, Theme, ThemeColor, ThemeColorObject, ThemeConfiguration, ThemeContainer, ThemeFontSize, ThemeHelper, ThemeOutline, ThemeResolver, ThemeScreen, ThemeScreenValue, ThemeSection, ThemeSectionRecord, ThemeSectionResolver, ThemeSectionResolverContext, ThemeSectionType, Token, TokenGrouping, TypescriptCompat, Unwrap, animation, apply, autoprefix, create, css, cssomSheet, directive, cyrb32 as hash, keyframes, mode, noprefix, screen, setup, silent, strict, theme, tw, voidSheet, warn }; | ||
//# sourceMappingURL=css.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import{apply as b,hash as w,directive as C}from"../twind.js";var y=(e,t)=>!!~e.indexOf(t),g=(e,t="-")=>e.join(t);var x=(e,t=1)=>e.slice(t);var T=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),S=(e,t)=>{for(;typeof e=="function";)e=e(t);return e};var A=(e,t)=>!y("@:&",e[0])&&(y("rg",(typeof t)[5])||Array.isArray(t)),a=(e,t,r)=>t?Object.keys(t).reduce((n,s)=>{let i=S(t[s],r);return A(s,i)?n[T(s)]=i:n[s]=s[0]=="@"&&y("figa",s[1])?(n[s]||[]).concat(i):a(n[s]||{},i,r),n},e):e,B=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),r="";return t>=48&&t<=57&&(r="\\"+t.toString(16)+" ",e=x(e)),r+e.replace(/[!./:#]/g,"\\$&")}),R=e=>(Array.isArray(e)||(e=[e]),"@media "+g(e.map(t=>(typeof t=="string"&&(t={min:t}),t.raw||g(Object.keys(t).map(r=>`(${r}-width:${t[r]})`)," and "))),","));import{tw as v,apply as k,setup as M,theme as F}from"../twind.js";var D=(e,t)=>{let r=(n,s)=>Array.isArray(s)?s.reduce(r,n):a(n,S(s,t),t);return e.reduce(r,{})},K=/\s*(?:([\w-%@]+)\s*:?\s*([^{;]+?)\s*(?:;|$|})|([^;}{]*?)\s*{)|(})/gi,V=/\/\*[\s\S]*?\*\/|\s+|\n/gm,d=(e,t)=>e.reduceRight((r,n)=>({[n]:r}),t),l=(e,t,r)=>{r&&e.push(d(t,r))},j=(e,t,r)=>{let n=e[0],s=[];for(let i=0;i<t.length;){let o=S(t[i],r);o&&typeof o=="object"?(s.push(n,o),n=e[++i]):n+=(o||"")+e[++i]}return s.push(n),s},P=(e,t)=>{let r=[],n=[],s,i;for(let o=0;o<e.length;o++){let u=e[o];if(typeof u=="string"){for(;i=K.exec(u.replace(V," "));)if(!!i[0]){if(i[4]&&(s=l(n,r,s),r.pop()),i[3])s=l(n,r,s),r.push(i[3]);else if(!i[4]){s||(s={});let c=i[2]&&/\S/.test(i[2])?i[2]:e[++o];c&&(i[1]=="@apply"?a(s,S(b(c),t),t):s[i[1]]=c)}}}else s=l(n,r,s),n.push(d(r,u))}return l(n,r,s),n},p=(e,t)=>D(Array.isArray(e[0])&&Array.isArray(e[0].raw)?P(j(e[0],e.slice(1),t),t):e,t),m=(...e)=>C(p,e),z=(e,t)=>{let r=p(e,t),n=w(JSON.stringify(r));return t.tw(()=>({[`@keyframes ${n}`]:r})),n},f=(...e)=>C(z,e),h=(e,t)=>t===void 0?(...r)=>h(e,f(...r)):m({...e&&typeof e=="object"?e:{animation:e},animationName:typeof t=="function"?t:f(t)}),I=({size:e,rules:t},r)=>{let n=R(r.theme("screens",e));return t===void 0?n:{[n]:typeof t=="function"?S(t,r):p([t],r)}},$=(e,t)=>C(I,{size:e,rules:t});export{h as animation,k as apply,m as css,f as keyframes,$ as screen,M as setup,F as theme,v as tw}; | ||
import{apply as b,hash as v,directive as y}from"../twind.js";var C=(e,t)=>!!~e.indexOf(t),g=(e,t="-")=>e.join(t);var h=(e,t=1)=>e.slice(t);var T=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),S=(e,t)=>{for(;typeof e=="function";)e=e(t);return e};var A=(e,t)=>!C("@:&",e[0])&&(C("rg",(typeof t)[5])||Array.isArray(t)),a=(e,t,r)=>t?Object.keys(t).reduce((n,s)=>{let i=S(t[s],r);return A(s,i)?n[T(s)]=i:n[s]=s[0]=="@"&&C("figa",s[1])?(n[s]||[]).concat(i):a(n[s]||{},i,r),n},e):e,z=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),r="";return t>=48&&t<=57&&(r="\\"+t.toString(16)+" ",e=h(e)),r+e.replace(/[!./:#]/g,"\\$&")}),R=e=>(Array.isArray(e)||(e=[e]),"@media "+g(e.map(t=>(typeof t=="string"&&(t={min:t}),t.raw||g(Object.keys(t).map(r=>`(${r}-width:${t[r]})`)," and "))),","));export*from"../twind.js";var w=(e,t)=>{let r=(n,s)=>Array.isArray(s)?s.reduce(r,n):a(n,S(s,t),t);return e.reduce(r,{})},k=/\s*(?:([\w-%@]+)\s*:?\s*([^{;]+?)\s*(?:;|$|})|([^;}{]*?)\s*{)|(})/gi,M=/\/\*[\s\S]*?\*\/|\s+|\n/gm,d=(e,t)=>e.reduceRight((r,n)=>({[n]:r}),t),l=(e,t,r)=>{r&&e.push(d(t,r))},F=(e,t,r)=>{let n=e[0],s=[];for(let i=0;i<t.length;){let o=S(t[i],r);o&&typeof o=="object"?(s.push(n,o),n=e[++i]):n+=(o||"")+e[++i]}return s.push(n),s},D=(e,t)=>{let r=[],n=[],s,i;for(let o=0;o<e.length;o++){let u=e[o];if(typeof u=="string"){for(;i=k.exec(u.replace(M," "));)if(!!i[0]){if(i[4]&&(s=l(n,r,s),r.pop()),i[3])s=l(n,r,s),r.push(i[3]);else if(!i[4]){s||(s={});let c=i[2]&&/\S/.test(i[2])?i[2]:e[++o];c&&(i[1]=="@apply"?a(s,S(b(c),t),t):s[i[1]]=c)}}}else s=l(n,r,s),n.push(d(r,u))}return l(n,r,s),n},p=(e,t)=>w(Array.isArray(e[0])&&Array.isArray(e[0].raw)?D(F(e[0],e.slice(1),t),t):e,t),m=(...e)=>y(p,e),K=(e,t)=>{let r=p(e,t),n=v(JSON.stringify(r));return t.tw(()=>({[`@keyframes ${n}`]:r})),n},f=(...e)=>y(K,e),x=(e,t)=>t===void 0?(...r)=>x(e,f(...r)):m({...e&&typeof e=="object"?e:{animation:e},animationName:typeof t=="function"?t:f(t)}),V=({size:e,rules:t},r)=>{let n=R(r.theme("screens",e));return t===void 0?n:{[n]:typeof t=="function"?S(t,r):p([t],r)}},j=(e,t)=>y(V,{size:e,rules:t});export{x as animation,m as css,f as keyframes,j as screen}; | ||
//# sourceMappingURL=css.js.map |
@@ -1,1 +0,1 @@ | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('../twind.umd.js')):typeof define==='function'&&define.amd?define(['exports','../twind.umd'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.twindCss={},g.twind));}(this,(function(exports, twind_umd_js){'use strict';var y=Object.assign;var C=(e,t)=>!!~e.indexOf(t),R=(e,t="-")=>e.join(t);var A=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),S=(e,t)=>{for(;typeof e=="function";)e=e(t);return e};var b=(e,t)=>!C("@:&",e[0])&&(C("rg",(typeof t)[5])||Array.isArray(t)),a=(e,t,r)=>t?Object.keys(t).reduce((n,s)=>{let i=S(t[s],r);return b(s,i)?n[A(s)]=i:n[s]=s[0]=="@"&&C("figa",s[1])?(n[s]||[]).concat(i):a(n[s]||{},i,r),n},e):e,d=e=>(Array.isArray(e)||(e=[e]),"@media "+R(e.map(t=>(typeof t=="string"&&(t={min:t}),t.raw||R(Object.keys(t).map(r=>`(${r}-width:${t[r]})`)," and "))),","));var K=(e,t)=>{let r=(n,s)=>Array.isArray(s)?s.reduce(r,n):a(n,S(s,t),t);return e.reduce(r,{})},V=/\s*(?:([\w-%@]+)\s*:?\s*([^{;]+?)\s*(?:;|$|})|([^;}{]*?)\s*{)|(})/gi,j=/\/\*[\s\S]*?\*\/|\s+|\n/gm,m=(e,t)=>e.reduceRight((r,n)=>({[n]:r}),t),l=(e,t,r)=>{r&&e.push(m(t,r));},P=(e,t,r)=>{let n=e[0],s=[];for(let i=0;i<t.length;){let o=S(t[i],r);o&&typeof o=="object"?(s.push(n,o),n=e[++i]):n+=(o||"")+e[++i];}return s.push(n),s},z=(e,t)=>{let r=[],n=[],s,i;for(let o=0;o<e.length;o++){let u=e[o];if(typeof u=="string"){for(;i=V.exec(u.replace(j," "));)if(!!i[0]){if(i[4]&&(s=l(n,r,s),r.pop()),i[3])s=l(n,r,s),r.push(i[3]);else if(!i[4]){s||(s={});let c=i[2]&&/\S/.test(i[2])?i[2]:e[++o];c&&(i[1]=="@apply"?a(s,S(twind_umd_js.apply(c),t),t):s[i[1]]=c);}}}else s=l(n,r,s),n.push(m(r,u));}return l(n,r,s),n},f=(e,t)=>K(Array.isArray(e[0])&&Array.isArray(e[0].raw)?z(P(e[0],e.slice(1),t),t):e,t),h=(...e)=>twind_umd_js.directive(f,e),I=(e,t)=>{let r=f(e,t),n=twind_umd_js.hash(JSON.stringify(r));return t.tw(()=>({[`@keyframes ${n}`]:r})),n},g=(...e)=>twind_umd_js.directive(I,e),x=(e,t)=>t===void 0?(...r)=>x(e,g(...r)):h(y(y({},e&&typeof e=="object"?e:{animation:e}),{animationName:typeof t=="function"?t:g(t)})),$=({size:e,rules:t},r)=>{let n=d(r.theme("screens",e));return t===void 0?n:{[n]:typeof t=="function"?S(t,r):f([t],r)}},O=(e,t)=>twind_umd_js.directive($,{size:e,rules:t});Object.defineProperty(exports,'apply',{enumerable:true,get:function(){return twind_umd_js.apply;}});Object.defineProperty(exports,'setup',{enumerable:true,get:function(){return twind_umd_js.setup;}});Object.defineProperty(exports,'theme',{enumerable:true,get:function(){return twind_umd_js.theme;}});Object.defineProperty(exports,'tw',{enumerable:true,get:function(){return twind_umd_js.tw;}});exports.animation=x;exports.css=h;exports.keyframes=g;exports.screen=O;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=css.umd.js.map | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports,require('../twind.umd.js')):typeof define==='function'&&define.amd?define(['exports','../twind.umd'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.twindCss={},g.twind));}(this,(function(exports, twind_umd_js){'use strict';var C=Object.assign;var y=(e,t)=>!!~e.indexOf(t),R=(e,t="-")=>e.join(t);var A=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),S=(e,t)=>{for(;typeof e=="function";)e=e(t);return e};var b=(e,t)=>!y("@:&",e[0])&&(y("rg",(typeof t)[5])||Array.isArray(t)),a=(e,t,r)=>t?Object.keys(t).reduce((n,s)=>{let i=S(t[s],r);return b(s,i)?n[A(s)]=i:n[s]=s[0]=="@"&&y("figa",s[1])?(n[s]||[]).concat(i):a(n[s]||{},i,r),n},e):e,d=e=>(Array.isArray(e)||(e=[e]),"@media "+R(e.map(t=>(typeof t=="string"&&(t={min:t}),t.raw||R(Object.keys(t).map(r=>`(${r}-width:${t[r]})`)," and "))),","));var k=(e,t)=>{let r=(n,s)=>Array.isArray(s)?s.reduce(r,n):a(n,S(s,t),t);return e.reduce(r,{})},M=/\s*(?:([\w-%@]+)\s*:?\s*([^{;]+?)\s*(?:;|$|})|([^;}{]*?)\s*{)|(})/gi,F=/\/\*[\s\S]*?\*\/|\s+|\n/gm,m=(e,t)=>e.reduceRight((r,n)=>({[n]:r}),t),l=(e,t,r)=>{r&&e.push(m(t,r));},D=(e,t,r)=>{let n=e[0],s=[];for(let i=0;i<t.length;){let o=S(t[i],r);o&&typeof o=="object"?(s.push(n,o),n=e[++i]):n+=(o||"")+e[++i];}return s.push(n),s},K=(e,t)=>{let r=[],n=[],s,i;for(let o=0;o<e.length;o++){let u=e[o];if(typeof u=="string"){for(;i=M.exec(u.replace(F," "));)if(!!i[0]){if(i[4]&&(s=l(n,r,s),r.pop()),i[3])s=l(n,r,s),r.push(i[3]);else if(!i[4]){s||(s={});let c=i[2]&&/\S/.test(i[2])?i[2]:e[++o];c&&(i[1]=="@apply"?a(s,S(twind_umd_js.apply(c),t),t):s[i[1]]=c);}}}else s=l(n,r,s),n.push(m(r,u));}return l(n,r,s),n},f=(e,t)=>k(Array.isArray(e[0])&&Array.isArray(e[0].raw)?K(D(e[0],e.slice(1),t),t):e,t),x=(...e)=>twind_umd_js.directive(f,e),V=(e,t)=>{let r=f(e,t),n=twind_umd_js.hash(JSON.stringify(r));return t.tw(()=>({[`@keyframes ${n}`]:r})),n},g=(...e)=>twind_umd_js.directive(V,e),h=(e,t)=>t===void 0?(...r)=>h(e,g(...r)):x(C(C({},e&&typeof e=="object"?e:{animation:e}),{animationName:typeof t=="function"?t:g(t)})),j=({size:e,rules:t},r)=>{let n=d(r.theme("screens",e));return t===void 0?n:{[n]:typeof t=="function"?S(t,r):f([t],r)}},P=(e,t)=>twind_umd_js.directive(j,{size:e,rules:t});Object.keys(twind_umd_js).forEach(function(k){if(k!=='default')Object.defineProperty(exports,k,{enumerable:true,get:function(){return twind_umd_js[k];}});});exports.animation=h;exports.css=x;exports.keyframes=g;exports.screen=P;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=css.umd.js.map |
{ | ||
"name": "twind", | ||
"version": "0.15.6", | ||
"version": "0.15.7", | ||
"description": "compiles tailwind like shorthand syntax into css at runtime", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
import { PropertiesFallback, PropertiesHyphenFallback, AtRule } from 'csstype'; | ||
import { PropertiesFallback, PropertiesHyphenFallback, AtRule, SimplePseudos } from 'csstype'; | ||
@@ -31,2 +31,23 @@ interface CSSCustomProperties { | ||
} | ||
interface Instance { | ||
readonly tw: TW; | ||
readonly setup: (options?: Configuration) => void; | ||
} | ||
declare type MaybeThunk<T> = T | ((context: Context) => T); | ||
interface Preflight { | ||
(preflight: CSSRules, context: Context): MaybeThunk<CSSRules | undefined | void>; | ||
} | ||
interface ThemeConfiguration extends Partial<Theme> { | ||
extend?: Partial<Theme>; | ||
} | ||
interface SheetConfig<T = unknown> { | ||
/** | ||
* Sets a cryptographic nonce (number used once) on the enclosing `<style>` tag when generating a page on demand. | ||
* | ||
* Useful for enforcing a [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP). | ||
*/ | ||
nonce?: string; | ||
/** Target to insert rules into. */ | ||
target?: T; | ||
} | ||
interface Sheet<T = unknown> { | ||
@@ -44,2 +65,68 @@ readonly target: T; | ||
} | ||
declare type Prefixer = (property: string, value: string, important?: boolean) => string; | ||
declare type Hasher = (value: string) => string; | ||
declare type DarkMode = 'media' | 'class' | false; | ||
interface Configuration { | ||
/** | ||
* Determines the dark mode strategy (default: `"media"`). | ||
*/ | ||
darkMode?: DarkMode; | ||
theme?: ThemeConfiguration; | ||
plugins?: Plugins; | ||
/** | ||
* ```js | ||
* { | ||
* ':new-variant': '& .selector', | ||
* } | ||
* ``` | ||
*/ | ||
variants?: Record<string, string>; | ||
/** | ||
* Sets a cryptographic nonce (number used once) on the enclosing `<style>` tag when generating a page on demand. | ||
* | ||
* Useful for enforcing a [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP). | ||
*/ | ||
nonce?: string; | ||
/** Style insertion methodology to be used. */ | ||
sheet?: Sheet; | ||
/** Called right before the first rule is injected. */ | ||
preflight?: Preflight | boolean | CSSRules; | ||
/** Auto-prefixer method for CSS property–value pairs. */ | ||
prefix?: Prefixer | boolean; | ||
hash?: Hasher | boolean; | ||
mode?: Mode | 'strict' | 'warn' | 'silent'; | ||
} | ||
declare type ReportInfo = { | ||
id: 'LATE_SETUP_CALL'; | ||
} | { | ||
id: 'UNKNOWN_DIRECTIVE'; | ||
rule: string; | ||
} | { | ||
id: 'UNKNOWN_THEME_VALUE'; | ||
key: string | undefined; | ||
} | { | ||
id: 'INJECT_CSS_ERROR'; | ||
error: Error; | ||
css: string; | ||
}; | ||
interface Mode { | ||
/** Called for unknown theme values */ | ||
unknown: <Section extends keyof Theme>(section: Section, key: string[] | undefined, optional: boolean, context: Context) => ThemeSectionType<Theme[Section]> | undefined | void; | ||
/** | ||
* Notify error (missing plugin, duplicate directives? ) | ||
* | ||
* Why id? | ||
* - can generate an url with more info | ||
* - reduce bundle size by omitting large error messages | ||
*/ | ||
report(info: ReportInfo, context: Context): void; | ||
} | ||
declare type Plugin = string | CSSRules | DirectiveHandler; | ||
declare type Plugins = Record<string, Plugin | undefined>; | ||
interface DirectiveHandler { | ||
/** | ||
* Creates CSSRules based on `parameters` | ||
*/ | ||
(parameters: string[], context: Context, id: string): InlineDirective | CSSRules | string | Falsy; | ||
} | ||
interface Rule { | ||
@@ -67,2 +154,8 @@ /** | ||
} | ||
interface Directive<T> { | ||
/** Can be used as a inline directive */ | ||
(context: Context): T; | ||
/** Can be used as a plugin */ | ||
(params: string[], context: Context): T; | ||
} | ||
interface InlineDirective { | ||
@@ -75,2 +168,13 @@ (context: Context): CSSRules | string | Falsy | TypescriptCompat; | ||
declare type Token = string | TokenGrouping | InlineDirective | Token[] | Falsy | TypescriptCompat; | ||
/** | ||
* Pseudo class | ||
* watch out for ':root' - that could use '*' instead | ||
*/ | ||
declare type CSSSimplePseudos = { | ||
[K in SimplePseudos as `&${string & K}`]?: CSSRulesThunk | MaybeArray<CSSRules>; | ||
}; | ||
interface CSSPseudos extends CSSSimplePseudos { | ||
'&:nth-child(2n)'?: CSSRules; | ||
'&:nth-child(odd)'?: CSSRules; | ||
} | ||
declare type CSSAtMedia = Record<string, MaybeArray<CSSRules>>; | ||
@@ -120,2 +224,9 @@ declare type CSSAtSupports = Record<string, MaybeArray<CSSRules>>; | ||
} | ||
interface ThemeHelper { | ||
<Section extends keyof Theme>(section: Section): (context: Context) => Record<string, ThemeSectionType<Theme[Section]>>; | ||
<Section extends keyof Theme>(keypath: `${Section}.${string}`): (context: Context) => ThemeSectionType<Theme[Section]> | undefined; | ||
<Section extends keyof Theme>(keypath: `${Section}.${string}`, defaultValue: NonNullable<ThemeSectionType<Theme[Section]>>): (context: Context) => NonNullable<ThemeSectionType<Theme[Section]>>; | ||
<Section extends keyof Theme>(section: Section, key: string | string[]): (context: Context) => ThemeSectionType<Theme[Section]> | undefined; | ||
<Section extends keyof Theme>(section: Section, key: string | string[], defaultValue: NonNullable<ThemeSectionType<Theme[Section]>>): (context: Context) => NonNullable<ThemeSectionType<Theme[Section]>>; | ||
} | ||
declare type Unwrap<T> = T extends string[] ? string : T extends Record<string, infer R> ? R : T; | ||
@@ -219,3 +330,46 @@ declare type ThemeSectionType<T> = T extends ThemeSection<infer R> ? Unwrap<R> : Exclude<T, ThemeSectionResolver<T>>; | ||
interface Apply { | ||
(strings: TemplateStringsArray, ...interpolations: Token[]): Directive<CSSRules>; | ||
(...tokens: Token[]): Directive<CSSRules>; | ||
} | ||
declare const apply: Apply; | ||
declare const tw: TW; | ||
declare const setup: (options?: Configuration | undefined) => void; | ||
/** | ||
* Returns an optimized and cached function for use with `tw`. | ||
* | ||
* `tw` caches rules based on the function identity. This helper caches | ||
* the function based on the data. | ||
* | ||
* @param factory to use when the directive is invoked | ||
* @param data to use | ||
*/ | ||
declare const directive: <Data, T>(factory: (data: Data, context: Context) => MaybeThunk<T>, data: Data) => Directive<T>; | ||
declare const create: (config?: Configuration | undefined) => Instance; | ||
declare const mode: (report: (message: string) => void) => Mode; | ||
declare const warn: Mode; | ||
declare const strict: Mode; | ||
declare const silent: Mode; | ||
declare const noprefix: Prefixer; | ||
declare const autoprefix: Prefixer; | ||
/** | ||
* Creates an sheet which inserts style rules through the CSS Object Model. | ||
*/ | ||
declare const cssomSheet: ({ nonce, target, }?: SheetConfig<CSSStyleSheet>) => Sheet<CSSStyleSheet>; | ||
/** | ||
* An sheet placeholder which performs no operations. Useful for avoiding errors in a non-browser environment. | ||
*/ | ||
declare const voidSheet: () => Sheet<null>; | ||
declare const theme: ThemeHelper; | ||
declare const cyrb32: Hasher; | ||
/** | ||
* [[include:src/sheets/README.md]] | ||
@@ -228,2 +382,6 @@ * | ||
/** | ||
* Creates an sheet which inserts style rules through the Document Object Model. | ||
*/ | ||
declare const domSheet: ({ nonce, target, }?: SheetConfig<HTMLStyleElement>) => Sheet<HTMLStyleElement>; | ||
/** | ||
* Allows to reset and snaphot the current state of an sheet and | ||
@@ -310,3 +468,3 @@ * in extension the internal mutable state (caches, ...) of `tw`. | ||
export { AsyncVirtualSheet, Storage, StyleTagProperties, StyleTagSheet, VirtualSheet, asyncVirtualSheet, getStyleTag, getStyleTagProperties, shim, virtualSheet }; | ||
export { Apply, AsyncVirtualSheet, CSSAtKeyframes, CSSAtMedia, CSSAtSupports, CSSCustomProperties, CSSProperties, CSSPseudos, CSSRuleValue, CSSRules, CSSRulesThunk, CSSSimplePseudos, Configuration, Context, DarkMode, Directive, DirectiveHandler, Falsy, FontFace, HasTarget, Hasher, InlineDirective, Instance, MaybeArray, MaybeThunk, Mode, Plugin, Plugins, Prefixer, Preflight, ReportInfo, Rule, Sheet, SheetConfig, SheetInit, SheetInitCallback, ShimOptions, Storage, StyleTagProperties, StyleTagSheet, TW, TWCallable, Theme, ThemeColor, ThemeColorObject, ThemeConfiguration, ThemeContainer, ThemeFontSize, ThemeHelper, ThemeOutline, ThemeResolver, ThemeScreen, ThemeScreenValue, ThemeSection, ThemeSectionRecord, ThemeSectionResolver, ThemeSectionResolverContext, ThemeSectionType, Token, TokenGrouping, TypescriptCompat, Unwrap, VirtualSheet, apply, asyncVirtualSheet, autoprefix, create, cssomSheet, directive, domSheet, getStyleTag, getStyleTagProperties, cyrb32 as hash, mode, noprefix, setup, shim, silent, strict, theme, tw, virtualSheet, voidSheet, warn }; | ||
//# sourceMappingURL=server.d.ts.map |
// src/server/index.ts | ||
import {executionAsyncId, createHook} from "node:async_hooks"; | ||
import {virtualSheet} from "../sheets/sheets.js"; | ||
import {virtualSheet as virtualSheet2, getStyleTag, getStyleTagProperties} from "../sheets/sheets.js"; | ||
import {shim} from "../shim/server/server.js"; | ||
export * from "../shim/server/server.js"; | ||
var asyncVirtualSheet = () => { | ||
@@ -54,8 +53,4 @@ const sheet = virtualSheet(); | ||
export { | ||
asyncVirtualSheet, | ||
getStyleTag, | ||
getStyleTagProperties, | ||
shim, | ||
virtualSheet2 as virtualSheet | ||
asyncVirtualSheet | ||
}; | ||
//# sourceMappingURL=server.js.map |
@@ -1,2 +0,2 @@ | ||
import { PropertiesFallback, PropertiesHyphenFallback, AtRule } from 'csstype'; | ||
import { PropertiesFallback, PropertiesHyphenFallback, AtRule, SimplePseudos } from 'csstype'; | ||
@@ -31,2 +31,23 @@ interface CSSCustomProperties { | ||
} | ||
interface Instance { | ||
readonly tw: TW; | ||
readonly setup: (options?: Configuration) => void; | ||
} | ||
declare type MaybeThunk<T> = T | ((context: Context) => T); | ||
interface Preflight { | ||
(preflight: CSSRules, context: Context): MaybeThunk<CSSRules | undefined | void>; | ||
} | ||
interface ThemeConfiguration extends Partial<Theme> { | ||
extend?: Partial<Theme>; | ||
} | ||
interface SheetConfig<T = unknown> { | ||
/** | ||
* Sets a cryptographic nonce (number used once) on the enclosing `<style>` tag when generating a page on demand. | ||
* | ||
* Useful for enforcing a [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP). | ||
*/ | ||
nonce?: string; | ||
/** Target to insert rules into. */ | ||
target?: T; | ||
} | ||
interface Sheet<T = unknown> { | ||
@@ -44,2 +65,68 @@ readonly target: T; | ||
} | ||
declare type Prefixer = (property: string, value: string, important?: boolean) => string; | ||
declare type Hasher = (value: string) => string; | ||
declare type DarkMode = 'media' | 'class' | false; | ||
interface Configuration { | ||
/** | ||
* Determines the dark mode strategy (default: `"media"`). | ||
*/ | ||
darkMode?: DarkMode; | ||
theme?: ThemeConfiguration; | ||
plugins?: Plugins; | ||
/** | ||
* ```js | ||
* { | ||
* ':new-variant': '& .selector', | ||
* } | ||
* ``` | ||
*/ | ||
variants?: Record<string, string>; | ||
/** | ||
* Sets a cryptographic nonce (number used once) on the enclosing `<style>` tag when generating a page on demand. | ||
* | ||
* Useful for enforcing a [Content Security Policy (CSP)](https://developer.mozilla.org/docs/Web/HTTP/CSP). | ||
*/ | ||
nonce?: string; | ||
/** Style insertion methodology to be used. */ | ||
sheet?: Sheet; | ||
/** Called right before the first rule is injected. */ | ||
preflight?: Preflight | boolean | CSSRules; | ||
/** Auto-prefixer method for CSS property–value pairs. */ | ||
prefix?: Prefixer | boolean; | ||
hash?: Hasher | boolean; | ||
mode?: Mode | 'strict' | 'warn' | 'silent'; | ||
} | ||
declare type ReportInfo = { | ||
id: 'LATE_SETUP_CALL'; | ||
} | { | ||
id: 'UNKNOWN_DIRECTIVE'; | ||
rule: string; | ||
} | { | ||
id: 'UNKNOWN_THEME_VALUE'; | ||
key: string | undefined; | ||
} | { | ||
id: 'INJECT_CSS_ERROR'; | ||
error: Error; | ||
css: string; | ||
}; | ||
interface Mode { | ||
/** Called for unknown theme values */ | ||
unknown: <Section extends keyof Theme>(section: Section, key: string[] | undefined, optional: boolean, context: Context) => ThemeSectionType<Theme[Section]> | undefined | void; | ||
/** | ||
* Notify error (missing plugin, duplicate directives? ) | ||
* | ||
* Why id? | ||
* - can generate an url with more info | ||
* - reduce bundle size by omitting large error messages | ||
*/ | ||
report(info: ReportInfo, context: Context): void; | ||
} | ||
declare type Plugin = string | CSSRules | DirectiveHandler; | ||
declare type Plugins = Record<string, Plugin | undefined>; | ||
interface DirectiveHandler { | ||
/** | ||
* Creates CSSRules based on `parameters` | ||
*/ | ||
(parameters: string[], context: Context, id: string): InlineDirective | CSSRules | string | Falsy; | ||
} | ||
interface Rule { | ||
@@ -67,2 +154,8 @@ /** | ||
} | ||
interface Directive<T> { | ||
/** Can be used as a inline directive */ | ||
(context: Context): T; | ||
/** Can be used as a plugin */ | ||
(params: string[], context: Context): T; | ||
} | ||
interface InlineDirective { | ||
@@ -75,2 +168,13 @@ (context: Context): CSSRules | string | Falsy | TypescriptCompat; | ||
declare type Token = string | TokenGrouping | InlineDirective | Token[] | Falsy | TypescriptCompat; | ||
/** | ||
* Pseudo class | ||
* watch out for ':root' - that could use '*' instead | ||
*/ | ||
declare type CSSSimplePseudos = { | ||
[K in SimplePseudos as `&${string & K}`]?: CSSRulesThunk | MaybeArray<CSSRules>; | ||
}; | ||
interface CSSPseudos extends CSSSimplePseudos { | ||
'&:nth-child(2n)'?: CSSRules; | ||
'&:nth-child(odd)'?: CSSRules; | ||
} | ||
declare type CSSAtMedia = Record<string, MaybeArray<CSSRules>>; | ||
@@ -120,2 +224,9 @@ declare type CSSAtSupports = Record<string, MaybeArray<CSSRules>>; | ||
} | ||
interface ThemeHelper { | ||
<Section extends keyof Theme>(section: Section): (context: Context) => Record<string, ThemeSectionType<Theme[Section]>>; | ||
<Section extends keyof Theme>(keypath: `${Section}.${string}`): (context: Context) => ThemeSectionType<Theme[Section]> | undefined; | ||
<Section extends keyof Theme>(keypath: `${Section}.${string}`, defaultValue: NonNullable<ThemeSectionType<Theme[Section]>>): (context: Context) => NonNullable<ThemeSectionType<Theme[Section]>>; | ||
<Section extends keyof Theme>(section: Section, key: string | string[]): (context: Context) => ThemeSectionType<Theme[Section]> | undefined; | ||
<Section extends keyof Theme>(section: Section, key: string | string[], defaultValue: NonNullable<ThemeSectionType<Theme[Section]>>): (context: Context) => NonNullable<ThemeSectionType<Theme[Section]>>; | ||
} | ||
declare type Unwrap<T> = T extends string[] ? string : T extends Record<string, infer R> ? R : T; | ||
@@ -219,3 +330,46 @@ declare type ThemeSectionType<T> = T extends ThemeSection<infer R> ? Unwrap<R> : Exclude<T, ThemeSectionResolver<T>>; | ||
interface Apply { | ||
(strings: TemplateStringsArray, ...interpolations: Token[]): Directive<CSSRules>; | ||
(...tokens: Token[]): Directive<CSSRules>; | ||
} | ||
declare const apply: Apply; | ||
declare const tw: TW; | ||
declare const setup: (options?: Configuration | undefined) => void; | ||
/** | ||
* Returns an optimized and cached function for use with `tw`. | ||
* | ||
* `tw` caches rules based on the function identity. This helper caches | ||
* the function based on the data. | ||
* | ||
* @param factory to use when the directive is invoked | ||
* @param data to use | ||
*/ | ||
declare const directive: <Data, T>(factory: (data: Data, context: Context) => MaybeThunk<T>, data: Data) => Directive<T>; | ||
declare const create: (config?: Configuration | undefined) => Instance; | ||
declare const mode: (report: (message: string) => void) => Mode; | ||
declare const warn: Mode; | ||
declare const strict: Mode; | ||
declare const silent: Mode; | ||
declare const noprefix: Prefixer; | ||
declare const autoprefix: Prefixer; | ||
/** | ||
* Creates an sheet which inserts style rules through the CSS Object Model. | ||
*/ | ||
declare const cssomSheet: ({ nonce, target, }?: SheetConfig<CSSStyleSheet>) => Sheet<CSSStyleSheet>; | ||
/** | ||
* An sheet placeholder which performs no operations. Useful for avoiding errors in a non-browser environment. | ||
*/ | ||
declare const voidSheet: () => Sheet<null>; | ||
declare const theme: ThemeHelper; | ||
declare const cyrb32: Hasher; | ||
/** | ||
* [[include:src/sheets/README.md]] | ||
@@ -228,2 +382,6 @@ * | ||
/** | ||
* Creates an sheet which inserts style rules through the Document Object Model. | ||
*/ | ||
declare const domSheet: ({ nonce, target, }?: SheetConfig<HTMLStyleElement>) => Sheet<HTMLStyleElement>; | ||
/** | ||
* Allows to reset and snaphot the current state of an sheet and | ||
@@ -301,3 +459,3 @@ * in extension the internal mutable state (caches, ...) of `tw`. | ||
export { ShimOptions, getStyleTag, getStyleTagProperties, shim, virtualSheet }; | ||
export { Apply, CSSAtKeyframes, CSSAtMedia, CSSAtSupports, CSSCustomProperties, CSSProperties, CSSPseudos, CSSRuleValue, CSSRules, CSSRulesThunk, CSSSimplePseudos, Configuration, Context, DarkMode, Directive, DirectiveHandler, Falsy, FontFace, HasTarget, Hasher, InlineDirective, Instance, MaybeArray, MaybeThunk, Mode, Plugin, Plugins, Prefixer, Preflight, ReportInfo, Rule, Sheet, SheetConfig, SheetInit, SheetInitCallback, ShimOptions, Storage, StyleTagProperties, StyleTagSheet, TW, TWCallable, Theme, ThemeColor, ThemeColorObject, ThemeConfiguration, ThemeContainer, ThemeFontSize, ThemeHelper, ThemeOutline, ThemeResolver, ThemeScreen, ThemeScreenValue, ThemeSection, ThemeSectionRecord, ThemeSectionResolver, ThemeSectionResolverContext, ThemeSectionType, Token, TokenGrouping, TypescriptCompat, Unwrap, VirtualSheet, apply, autoprefix, create, cssomSheet, directive, domSheet, getStyleTag, getStyleTagProperties, cyrb32 as hash, mode, noprefix, setup, shim, silent, strict, theme, tw, virtualSheet, voidSheet, warn }; | ||
//# sourceMappingURL=server.d.ts.map |
// src/shim/server/index.ts | ||
import * as htmlparser2 from "htmlparser2"; | ||
import {tw as defaultTW} from "../../twind.js"; | ||
import {virtualSheet, getStyleTag, getStyleTagProperties} from "../../sheets/sheets.js"; | ||
export * from "../../twind.js"; | ||
export * from "../../sheets/sheets.js"; | ||
var {Tokenizer} = htmlparser2.default || htmlparser2; | ||
@@ -52,7 +53,4 @@ var noop = () => void 0; | ||
export { | ||
getStyleTag, | ||
getStyleTagProperties, | ||
shim, | ||
virtualSheet | ||
shim | ||
}; | ||
//# sourceMappingURL=server.js.map |
var b=(e,t)=>!!~e.indexOf(t),g=(e,t="-")=>e.join(t),X=(e,t)=>g(e.filter(Boolean),t),d=(e,t=1)=>e.slice(t),Ue=e=>e,de=()=>{},Le=e=>e[0].toUpperCase()+d(e),we=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),O=(e,t)=>{for(;typeof e=="function";)e=e(t);return e},ue=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},Ce=(e,t)=>!b("@:&",e[0])&&(b("rg",(typeof t)[5])||Array.isArray(t)),q=(e,t,n)=>t?Object.keys(t).reduce((r,i)=>{let o=O(t[i],n);return Ce(i,o)?r[we(i)]=o:r[i]=i[0]=="@"&&b("figa",i[1])?(r[i]||[]).concat(o):q(r[i]||{},o,n),r},e):e,ge=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=d(e)),n+e.replace(/[!./:#]/g,"\\$&")}),j=e=>(Array.isArray(e)||(e=[e]),"@media "+g(e.map(t=>(typeof t=="string"&&(t={min:t}),t.raw||g(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),Z=e=>{let t=9;for(let n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return"tw-"+((t^t>>>9)>>>0).toString(36)},Ve=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let i=n+r>>1;e[i]<=t?r=i+1:n=i}return n};var I,K,U=(e="")=>(I.push(e),""),Te=e=>{I.length=Math.max(I.lastIndexOf("")+~~e,0)},wt=e=>e&&e[0]!==":",Ct=e=>e[0]===":",Be=(e,t,n)=>{K.push({v:I.filter(Ct),d:e,n:t,i:n,$:""})},Ge=e=>{let t=e[0]==="-";t&&(e=d(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=g(I.filter(wt));return Be(e==="&"?r:(r&&r+"-")+e,t,n),""},ee=(e,t)=>{let n,r="";for(let i=0;i<e.length;)switch(n=e[i++]){case":":r=r&&U(":"+(e[i]===n?e[i++]:"")+r);break;case"(":r=r&&U(r),U();break;case")":case" ":case" ":case` | ||
`:case"\r":r=r&&Ge(r),Te(n!==")");break;default:r+=n}r&&(t?U(":"+r):r.slice(-1)==="-"?U(r.slice(0,-1)):Ge(r))},Ye=e=>{U(),fe(e),Te()},Tt=(e,t)=>{if(t){U();let n=b("tbu",(typeof t)[1]);ee(e,n),n&&Ye(t),Te()}},fe=e=>{switch(typeof e){case"string":ee(e);break;case"function":Be(e);break;case"object":Array.isArray(e)?e.forEach(Ye):e&&Object.keys(e).forEach(t=>{Tt(t,e[t])})}},Ke=new WeakMap,vt=e=>{let t=Ke.get(e);if(!t){let n=NaN,r="";t=e.map((i,o)=>{if(n!==n&&b(":-(",(e[o+1]||"")[0])&&(n=o),o>=n)return f=>{o===n&&(r=""),r+=i,typeof f=="string"?r+=f:f&&(ee(r),r="",fe(f)),o===e.length-1&&ee(r)};let a=K=[];ee(i);let c=[...I];return K=[],f=>{K.push(...a),I=[...c],f&&fe(f)}}),Ke.set(e,t)}return t},te=e=>(I=[],K=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?vt(e[0]).forEach((t,n)=>t(e[n+1])):fe(e),K);var ve,Rt=(e,t)=>(typeof t=="function"&&(ve=!1),t),kt=e=>{ve=!0;let t=JSON.stringify(e,Rt);return ve&&t},Je=new WeakMap,ne=(e,t)=>{let n=kt(t),r;if(n){var i=Je.get(e);i||Je.set(e,i=new Map),r=i.get(n)}return r||(r=Object.defineProperty((o,a)=>(a=Array.isArray(o)?a:o,O(e(t,a),a)),"toJSON",{value:()=>n||t}),i&&(i.set(n,r),ue(i,1e4))),r};var $t=(e,{css:t})=>t(te(e)),Re=(...e)=>ne($t,e);var Qe=e=>(t,n,r,i)=>{if(t){let o=n&&e(n);if(o&&o.length>0)return o.reduce((a,c)=>(a[X([r,c,i])]=t,a),{})}},Xe=Qe(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),re=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},pe=Qe(re);var s,L,x,oe=e=>(t,n,r)=>({[e]:r+((s=g(t))&&"-"+s)}),h=(e,t)=>(n,r,i)=>({[e||i]:g(n,t)}),v=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),M=(e,t)=>(n,r)=>e(n,r,t),H=oe("display"),ie=oe("position"),J=oe("textTransform"),Q=oe("textDecoration"),me=oe("fontStyle"),_=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),he=(e,{theme:t},n)=>({[n]:t("inset",e)}),se=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",d(e))}),ke=(e,t)=>Math.round(parseInt(e,16)*t),be=(e,t,n)=>e&&e[0]==="#"?`rgba(${ke(e.substr(1,s=(e.length-1)/3),x=[17,1,.062272][s-1])},${ke(e.substr(1+s,s),x)},${ke(e.substr(1+2*s,s),x)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,xe=(e,t,n)=>n&&(s=be(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},qe=e=>(x=be(e,"","0"))===s?"transparent":x,Ze=(e,{theme:t},n,r,i,o)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(x=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[x]:"1"}:{[x]:"0",[X([i,s[0],o])]:(L=t(r,d(e)))&&`calc(${L} * var(${x}))`,[X([i,s[1],o])]:L&&[L,`calc(${L} * calc(1 - var(${x})))`]}:void 0,et=(e,t)=>({[e]:(b("wun",(t[0]||"")[3])?"space-":"")+t[0]}),$e=e=>t=>b(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:et(e,t),tt=e=>t=>{switch(t[0]){case"auto":return{[`grid-${e}`]:"auto"};case"span":return{[`grid-${e}`]:t[1]==="full"?"1 / -1":`span ${t[1]} / span ${t[1]}`};case"start":case"end":return{[`grid-${e}-${t[0]}`]:t[1]}}},nt=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return h("borderStyle")(e);case"collapse":case"separate":return h("borderCollapse")(e);case"opacity":return se(e,t,n)}return(s=t(n+"Width",e,""))?{borderWidth:s}:xe("borderColor",n,t(n+"Color",e))},Ae=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Pe=(e,t,n)=>(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,Ae()]},rt=e=>(t,n,r)=>r[1]?pe(n.theme(e,t),r[1],e):v(e)(t,n,r),V=rt("padding"),B=rt("margin"),ot=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Le(s)}`]:t(s,d(e))},it={group:(e,{tag:t},n)=>t(g([n,...e])),hidden:M(H,"none"),inline:H,block:H,contents:H,flow:H,table:(e,t,n)=>b(["auto","fixed"],e[0])?{tableLayout:e[0]}:H(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:g(e[0]==="col"?["column",...d(e)]:e)};case"nowrap":case"wrap":return{flexWrap:g(e)};case"grow":case"shrink":return{[`flex-${e[0]}`]:e[1]||"1"}}return(s=t.theme("flex",e,""))?{flex:s}:H(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:g(d(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:g(e[1]==="col"?["column",...d(e,2)]:d(e)," ")}}return H(e,t,n)},auto:e=>b(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${g(d(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:ie,fixed:ie,absolute:ie,relative:ie,sticky:ie,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":`${e[0]}-box`}),appearance:h(),cursor:h(),float:h(),clear:h(),top:he,right:he,bottom:he,left:he,inset:(e,{theme:t})=>(s=re(e[0]))?pe(t("inset",d(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:Q,"line-through":Q,"no-underline":M(Q,"none"),"text-underline":M(Q,"underline"),"text-no-underline":M(Q,"none"),"text-line-through":M(Q,"line-through"),uppercase:J,lowercase:J,capitalize:J,"normal-case":M(J,"none"),"text-normal-case":M(J,"none"),italic:me,"not-italic":M(me,"normal"),"font-italic":M(me,"italic"),"font-not-italic":M(me,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:v("fontWeight")(e,t,n),items:e=>({alignItems:b(["start","end"],e[0])?`flex-${e[0]}`:g(e)}),"justify-self":h(),"justify-items":h(),justify:$e("justifyContent"),content:$e("alignContent"),self:$e("alignSelf"),place:e=>et("place-"+e[0],d(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:tt("column"),row:tt("row"),duration:v("transitionDuration"),delay:v("transitionDelay"),tracking:v("letterSpacing"),leading:v("lineHeight"),z:v("zIndex"),opacity:v(),ease:v("transitionTimingFunction"),p:V,py:V,px:V,pt:V,pr:V,pb:V,pl:V,m:B,my:B,mx:B,mt:B,mr:B,mb:B,ml:B,w:v("width"),h:v("height"),min:ot,max:ot,fill:v(),order:v(),origin:h("transformOrigin"," "),select:h("userSelect"),"pointer-events":h(),align:h("verticalAlign"),whitespace:h("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:_("ordinal"),"slashed-zero":_("slashed-zero"),"lining-nums":_("numeric-figure"),"oldstyle-nums":_("numeric-figure"),"proportional-nums":_("numeric-spacing"),"tabular-nums":_("numeric-spacing"),"diagonal-fractions":_("numeric-fraction"),"stacked-fractions":_("numeric-fraction"),overflow:(e,t,n)=>b(["ellipsis","clip"],e[0])?h("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:h()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:Ae(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Ae()]},scale:Pe,translate:Pe,skew:Pe,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",d(e))}:v("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:v("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return{wordBreak:"normal",overflowWrap:"normal"};case"words":return{overflowWrap:"break-word"};case"all":return{wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return{textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return J([],s,e[0]);case"opacity":return se(e,t,n)}let r=t("fontSize",e,"");return r?typeof r=="string"?{fontSize:r}:{fontSize:r[0],...typeof r[1]=="string"?{lineHeight:r[1]}:r[1]}:xe("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return h("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return h("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&h("backgroundRepeat")(e);case"auto":case"cover":case"contain":return h("backgroundSize")(e);case"repeat":return b("xy",e[1])?h("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return se(e,t,n,"background");case"clip":return{backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=re(e[2])))return{backgroundImage:`linear-gradient(to ${g(s," ")},var(--tw-gradient-stops))`}}return(s=t("backgroundImage",e,""))?{backgroundImage:s}:xe("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${qe(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${qe(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>re(e[0])?pe(t.theme("borderWidth",d(e)),e[0],"border","width"):nt(e,t,n),divide:(e,t,n)=>(s=Ze(e,t,n,"divideWidth","border","width")||nt(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=Ze(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?se(e,t,n):xe("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(x=t("animation",e)){let r=x.split(" ");return(s=t("keyframes",r[0],L={}))!==L?(x=n(r[0]))&&{animation:x+" "+g(d(r)," "),["@keyframes "+x]:s}:{animation:x}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return se(e,t,n);case"offset":return(s=t("ringOffsetWidth",d(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",d(e))}}return(s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":be(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":be(t("ringColor",e),"ring-opacity")}},object:e=>b(["contain","cover","fill","none","scale"],e[0])?h("objectFit")(e):h("objectPosition"," ")(e),list:e=>h(b(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>Xe(t.theme("borderRadius",d(e),""),e[0],"border","radius")||v("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:i}=t("container"),o=a=>(s=i&&(typeof i=="string"?i:i[a]||i.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,c)=>((x=n[c])&&typeof x=="string"&&(a[j(x)]={"&":{"max-width":x,...o(c)}}),a),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...o("xs")})}};var st=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}});var at={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"};var lt="__twind",ct=e=>{let t=self[lt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=lt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t};var Ee=({nonce:e,target:t=ct(e).sheet}={})=>{let n=t.cssRules.length;return{target:t,insert:(r,i)=>t.insertRule(r,n+i)}},Fe=()=>({target:null,insert:de});var ye=e=>({unknown(t,n=[],r,i){r||this.report({id:"UNKNOWN_THEME_VALUE",key:g([t,...n],".")},i)},report({id:t,...n}){let r=`[${t}] ${JSON.stringify(n)}`,i=(new Error(r).stack||r).split("at ");for(let o;(o=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(o););return e(i.join("at "))}}),Se=ye(e=>console.warn(e)),Me=ye(e=>{throw new Error(e)}),ze=ye(de);import{cssPropertyAlias as At,cssPropertyPrefixFlags as Pt,cssValuePrefixFlags as Et}from"style-vendorizer";var E=(e,t,n)=>`${e}:${t}${n?" !important":""}`,De=(e,t,n)=>{let r="",i=At(e);i&&(r+=`${E(i,t,n)};`);let o=Pt(e);return o&1&&(r+=`-webkit-${E(e,t,n)};`),o&2&&(r+=`-moz-${E(e,t,n)};`),o&4&&(r+=`-ms-${E(e,t,n)};`),o=Et(e,t),o&1&&(r+=`${E(e,`-webkit-${t}`,n)};`),o&2&&(r+=`${E(e,`-moz-${t}`,n)};`),o&4&&(r+=`${E(e,`-ms-${t}`,n)};`),r+=E(e,t,n),r};var ae=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},N=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},W=(e,t="",n=1,r=0,i=1)=>{let o={};for(;r<=e;r+=i)o[r]=r/n+t;return o},R=e=>t=>t(e),Ft=(e,{theme:t})=>t(...e),Mt=(...e)=>ne(Ft,e),zt={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:{px:"1px",0:"0px",...W(4,"rem",4,.5,.5),...W(12,"rem",4,5),14:"3.5rem",...W(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},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"},backgroundColor:R("colors"),backgroundImage:{none:"none"},backgroundOpacity:R("opacity"),borderColor:e=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:R("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"},borderWidth:{DEFAULT:"1px",...N(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:R("borderColor"),divideOpacity:R("borderOpacity"),divideWidth:R("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:R("spacing"),gradientColorStops:R("colors"),height:e=>({auto:"auto",...e("spacing"),...ae(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("spacing"),...ae(2,4),full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"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",...W(10,"rem",4,3)},margin:e=>({auto:"auto",...e("spacing")}),maxHeight:e=>({...e("spacing"),full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>({none:"none",0:"0rem",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",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:{...W(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0",...W(12,"",1,1)},outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:R("spacing"),placeholderColor:R("colors"),placeholderOpacity:R("opacity"),ringColor:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:R("colors"),ringOffsetWidth:N(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",...N(8,"px")},rotate:{...N(2,"deg"),...N(12,"deg",3),...N(180,"deg",45)},scale:{0:"0",50:".5",75:".75",...W(110,"",100,90,5),125:"1.25",150:"1.5"},skew:{...N(2,"deg"),...N(12,"deg",3)},space:R("spacing"),stroke:{current:"currentColor"},strokeWidth:W(2),textColor:R("colors"),textOpacity:R("opacity"),transitionDuration:e=>({DEFAULT:"150ms",...e("durations")}),transitionDelay:R("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,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:e=>({...e("spacing"),...ae(2,4),full:"100%"}),width:e=>({auto:"auto",...e("spacing"),...ae(2,6),...ae(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...W(50,"",1,0,10)}},dt=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let i=e[r];r==="DEFAULT"&&(t[g(n)]=i,t[g(n,".")]=i);let o=[...n,r];t[g(o)]=i,t[g(o,".")]=i,i&&typeof i=="object"&&dt(i,t,o)},t),t),Dt={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},ut=e=>{let t=new Map,n={...zt,...e},r=(o,a)=>{let c=o&&o[a],f=typeof c=="function"?c(i,Dt):c;return f&&a==="colors"?dt(f):f},i=(o,a,c)=>{let f=o.split(".");o=f[0],f.length>1&&(c=a,a=g(d(f),"."));let C=t.get(o);if(C||t.set(o,C={...r(n,o),...r(n.extend,o)}),a!=null){let z=C[(Array.isArray(a)?g(a):a)||"DEFAULT"];return z==null?c:Array.isArray(z)&&!b(["fontSize","outline"],o)?g(z,","):z}return C};return i};var gt=(e,t)=>(n,r)=>{if(typeof n.d=="function")return n.d(t);let i=n.d.split("-");if(!r&&i[0]==="tw"&&n.$===n.d)return n.$;for(let o=i.length;o;o--){let a=g(i.slice(0,o)),c=e[a];if(c)return typeof c=="function"?c(d(i,o),t,a):typeof c=="string"?t[r?"css":"tw"](c):c}};var le,Oe=/^:(group(?:(?!-focus).+?)*)-(.+)$/,ft=(e,t,{theme:n,tag:r})=>{let i=(o,a)=>(le=n("screens",d(a),""))?{[j(le)]:o}:a===":dark"&&e==="class"?{[".dark &"]:o}:(le=Oe.exec(a))?{[`.${ge(r(le[1]))}:${le[2]} &`]:o}:{[t[d(a)]||"&"+a]:o};return(o,a)=>a.v.reduceRight(i,o)};var A,We=e=>(((A=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+A[1]/(A[2]?15:1)/10:0)&31)<<22,pt=e=>{A=0;for(let t=e.length;t--;)A+=b("-:,",e[t]);return A},je=e=>(pt(e)&15)<<18,Ot=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Wt=e=>1<<(~(A=Ot.indexOf(e.replace(Oe,":$2").slice(3,8)))?A:17),mt=(e,t)=>(n,r)=>n|((A=e("screens",d(r),""))?1<<27|We(j(A)):r===":dark"?1<<30:(A=t[r]||r)[0]==="@"?je(A):Wt(r)),ht=e=>e[0]==="-"?0:pt(e)+((A=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!A[1]||-!!A[2]:0)+1;var Ie=(e,t)=>t+"{"+e+"}",He;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css"})(He||(He={}));var bt=(e,t,n)=>{let{theme:r,tag:i}=n,o=(T,S)=>"--"+i(S),a=T=>`${T}`.replace(/--(tw-[\w-]+)\b/g,o),c=(T,S,k)=>(T=a(T),Array.isArray(S)?g(S.filter(Boolean).map(y=>e(T,a(y),k)),";"):e(T,a(S),k)),f,C=(T,S,k,y,F)=>{if(Array.isArray(y)){y.forEach(p=>p&&C(T,S,k,p,F));return}let D="",G=0,Y=0;y["@apply"]&&(y=q(O(Re(y["@apply"]),n),{...y,"@apply":void 0},n)),Object.keys(y).forEach(p=>{let $=O(y[p],n);if(Ce(p,$)){if($!==""&&p.length>1){let w=we(p);Y+=1,G=Math.max(G,ht(w)),D=(D&&D+";")+c(w,$,F)}}else if($)if(p==":global"&&(p="@global"),p[0]==="@")if(p[1]=="g")C([],"",0,$,F);else if(p[1]==="f")C([],p,0,$,F);else if(p[1]==="k"){let w=f.length;C([],"",0,$,F);let l=f.splice(w,f.length-w);f.push({r:Ie(g(l.map(u=>u.r),""),p),p:l.reduce((u,m)=>u+m.p,0)})}else p[1]=="i"?(Array.isArray($)?$:[$]).forEach(w=>w&&f.push({p:0,r:`${p} ${w};`})):(p[2]=="c"&&(p=j(n.theme("screens",d(p,8).trim()))),C([...T,p],S,k|We(p)|je(p),$,F));else C(T,S?S.replace(/([^,])+/g,w=>p.replace(/([^,])+/g,l=>b(l,"&")?l.replace(/&/g,w):(w&&w+" ")+l)):p,k,$,F)}),Y&&f.push({r:T.reduceRight(Ie,Ie(D,S)),p:k*(1<<8)+((Math.max(0,15-Y)&15)<<4|(G||15)&15)})},z=mt(r,t);return(T,S,k,y=0)=>(y<<=28,f=[],C([],S?"."+ge(S):"",k?k.v.reduceRight(z,y):y,T,k&&k.i),f)};var xt=(e,t,n,r)=>{let i;n((a=[])=>i=a);let o;return n((a=new Set)=>o=a),({r:a,p:c})=>{if(!o.has(a)){o.add(a);let f=Ve(i,c);try{e.insert(a,f),i.splice(f,0,c)}catch(C){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:C},r)}}}};var _e=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,jt=e=>(typeof e=="string"?{t:Me,a:Se,i:ze}[e[1]]:e)||Se,It=(e,t)=>e+(t[1]===":"?d(t,2)+":":d(t))+":",yt=(e,t=e.d)=>typeof t=="function"?"":e.v.reduce(It,"")+(e.n?"-":"")+t+(e.i?"!":""),Ht={_:{value:"",writable:!0}},St=(e={})=>{let t=ut(e.theme),n=jt(e.mode),r=_e(e.hash,!1,!1,Z),i={v:[]},o=0,a=[],c={tw:(...l)=>$(l),theme:(l,u,m)=>{u!=null&&!u.length&&(u="DEFAULT");let P=t(l,u,m)||n.unknown(l,u==null||Array.isArray(u)?u:u.split("."),m!=null,c);return i.n&&P&&typeof P=="string"?`calc(${P} * -1)`:P},tag:l=>r?r(l):l,css:l=>{o++;let u=a.length;try{(typeof l=="string"?te([l]):l).forEach(p);let m=Object.create(null,Ht);for(let P=u;P<a.length;P++){let ce=a[P];if(ce)switch(typeof ce){case"object":q(m,ce,c);break;case"string":m._+=(m._&&" ")+ce}}return m}finally{a.length=u,o--}}},f=gt({...it,...e.plugins},c),C=l=>{let u=i;i=l;try{return O(f(l),c)}finally{i=u}},z={...at,...e.variants},T=ft(e.darkMode||"media",z,c),S=bt(_e(e.prefix,De,E),z,c),k=e.sheet||(typeof window=="undefined"?Fe():Ee(e)),{init:y=l=>l()}=k,F=xt(k,n,y,c),D;y((l=new Map)=>D=l);let G=new WeakMap,Y=(l,u)=>typeof u=="function"?JSON.stringify(u(c),Y):u,p=l=>{!o&&i.v.length&&(l={...l,v:[...i.v,...l.v],$:""}),l.$||(l.$=yt(l,G.get(l.d)));let u=o?null:D.get(l.$);if(u==null){let m=C(l);if(l.$||(l.$=Z(JSON.stringify(m,Y)),G.set(l.d,l.$),l.$=yt(l,l.$)),m&&typeof m=="object")if(m=T(m,l),o)a.push(m);else{let P=typeof l.d=="function"?typeof m._=="string"?1:3:2;u=r||typeof l.d=="function"?(r||Z)(P+l.$):l.$,S(m,u,l,P).forEach(F),m._&&(u+=" "+m._)}else typeof m=="string"?u=m:(u=l.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:u},c)),o&&typeof l.d!="function"&&a.push(u);o||(D.set(l.$,u),ue(D,3e4))}return u},$=l=>te(l).map(p).filter(Boolean).join(" "),w=_e(e.preflight,Ue,!1);if(w){let l=st(t),u=S(typeof w=="function"?O(w(l,c),c)||l:{...l,...w});y((m=(u.forEach(F),!0))=>m)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},c),process:$}};var Ne=e=>{let t=o=>(n(),t(o)),n=o=>{({process:t,init:n}=St(o))};e&&n(e);let r;return{tw:Object.defineProperties((...o)=>t(o),{theme:{get:(o=>()=>(r||t([a=>(r=a,"")]),r[o]))("theme")}}),setup:o=>n(o)}};var{tw:_t,setup:Nt}=Ne();export{Re as apply,De as autoprefix,Ne as create,Ee as cssomSheet,ne as directive,Z as hash,ye as mode,E as noprefix,Nt as setup,ze as silent,Me as strict,Mt as theme,_t as tw,Fe as voidSheet,Se as warn}; | ||
`:case"\r":r=r&&Ge(r),Te(n!==")");break;default:r+=n}r&&(t?U(":"+r):r.slice(-1)==="-"?U(r.slice(0,-1)):Ge(r))},Ye=e=>{U(),fe(e),Te()},Tt=(e,t)=>{if(t){U();let n=b("tbu",(typeof t)[1]);ee(e,n),n&&Ye(t),Te()}},fe=e=>{switch(typeof e){case"string":ee(e);break;case"function":Be(e);break;case"object":Array.isArray(e)?e.forEach(Ye):e&&Object.keys(e).forEach(t=>{Tt(t,e[t])})}},Ke=new WeakMap,vt=e=>{let t=Ke.get(e);if(!t){let n=NaN,r="";t=e.map((i,o)=>{if(n!==n&&b(":-(",(e[o+1]||"")[0])&&(n=o),o>=n)return f=>{o===n&&(r=""),r+=i,typeof f=="string"?r+=f:f&&(ee(r),r="",fe(f)),o===e.length-1&&ee(r)};let a=K=[];ee(i);let c=[...I];return K=[],f=>{K.push(...a),I=[...c],f&&fe(f)}}),Ke.set(e,t)}return t},te=e=>(I=[],K=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?vt(e[0]).forEach((t,n)=>t(e[n+1])):fe(e),K);var ve,Rt=(e,t)=>(typeof t=="function"&&(ve=!1),t),kt=e=>{ve=!0;let t=JSON.stringify(e,Rt);return ve&&t},Je=new WeakMap,ne=(e,t)=>{let n=kt(t),r;if(n){var i=Je.get(e);i||Je.set(e,i=new Map),r=i.get(n)}return r||(r=Object.defineProperty((o,a)=>(a=Array.isArray(o)?a:o,O(e(t,a),a)),"toJSON",{value:()=>n||t}),i&&(i.set(n,r),ue(i,1e4))),r};var $t=(e,{css:t})=>t(te(e)),Re=(...e)=>ne($t,e);var Qe=e=>(t,n,r,i)=>{if(t){let o=n&&e(n);if(o&&o.length>0)return o.reduce((a,c)=>(a[X([r,c,i])]=t,a),{})}},Xe=Qe(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),re=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},pe=Qe(re);var s,L,x,oe=e=>(t,n,r)=>({[e]:r+((s=g(t))&&"-"+s)}),h=(e,t)=>(n,r,i)=>({[e||i]:g(n,t)}),v=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),M=(e,t)=>(n,r)=>e(n,r,t),H=oe("display"),ie=oe("position"),J=oe("textTransform"),Q=oe("textDecoration"),me=oe("fontStyle"),_=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),he=(e,{theme:t},n)=>({[n]:t("inset",e)}),se=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",d(e))}),ke=(e,t)=>Math.round(parseInt(e,16)*t),be=(e,t,n)=>e&&e[0]==="#"?`rgba(${ke(e.substr(1,s=(e.length-1)/3),x=[17,1,.062272][s-1])},${ke(e.substr(1+s,s),x)},${ke(e.substr(1+2*s,s),x)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,xe=(e,t,n)=>n&&(s=be(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},qe=e=>(x=be(e,"","0"))===s?"transparent":x,Ze=(e,{theme:t},n,r,i,o)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(x=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[x]:"1"}:{[x]:"0",[X([i,s[0],o])]:(L=t(r,d(e)))&&`calc(${L} * var(${x}))`,[X([i,s[1],o])]:L&&[L,`calc(${L} * calc(1 - var(${x})))`]}:void 0,et=(e,t)=>({[e]:t[0]&&(b("wun",(t[0]||"")[3])?"space-":"")+t[0]}),$e=e=>t=>b(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:et(e,t),tt=e=>t=>{switch(t[0]){case"auto":return{[`grid-${e}`]:"auto"};case"span":return{[`grid-${e}`]:t[1]==="full"?"1 / -1":t[1]&&`span ${t[1]} / span ${t[1]}`};case"start":case"end":return{[`grid-${e}-${t[0]}`]:t[1]}}},nt=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return h("borderStyle")(e);case"collapse":case"separate":return h("borderCollapse")(e);case"opacity":return se(e,t,n)}return(s=t(n+"Width",e,""))?{borderWidth:s}:xe("borderColor",n,t(n+"Color",e))},Ae=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Pe=(e,t,n)=>e[0]&&(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,Ae()]},rt=e=>(t,n,r)=>r[1]?pe(n.theme(e,t),r[1],e):v(e)(t,n,r),V=rt("padding"),B=rt("margin"),ot=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Le(s)}`]:t(s,d(e))},it={group:(e,{tag:t},n)=>t(g([n,...e])),hidden:M(H,"none"),inline:H,block:H,contents:H,flow:H,table:(e,t,n)=>b(["auto","fixed"],e[0])?{tableLayout:e[0]}:H(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:g(e[0]==="col"?["column",...d(e)]:e)};case"nowrap":case"wrap":return{flexWrap:g(e)};case"grow":case"shrink":return{[`flex-${e[0]}`]:e[1]||"1"}}return(s=t.theme("flex",e,""))?{flex:s}:H(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:g(d(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:g(e[1]==="col"?["column",...d(e,2)]:d(e)," ")}}return H(e,t,n)},auto:e=>b(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${g(d(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:ie,fixed:ie,absolute:ie,relative:ie,sticky:ie,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":e[0]&&`${e[0]}-box`}),appearance:h(),cursor:h(),float:h(),clear:h(),top:he,right:he,bottom:he,left:he,inset:(e,{theme:t})=>(s=re(e[0]))?pe(t("inset",d(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:Q,"line-through":Q,"no-underline":M(Q,"none"),"text-underline":M(Q,"underline"),"text-no-underline":M(Q,"none"),"text-line-through":M(Q,"line-through"),uppercase:J,lowercase:J,capitalize:J,"normal-case":M(J,"none"),"text-normal-case":M(J,"none"),italic:me,"not-italic":M(me,"normal"),"font-italic":M(me,"italic"),"font-not-italic":M(me,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:v("fontWeight")(e,t,n),items:e=>({alignItems:b(["start","end"],e[0])?`flex-${e[0]}`:g(e)}),"justify-self":h(),"justify-items":h(),justify:$e("justifyContent"),content:$e("alignContent"),self:$e("alignSelf"),place:e=>et("place-"+e[0],d(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:tt("column"),row:tt("row"),duration:v("transitionDuration"),delay:v("transitionDelay"),tracking:v("letterSpacing"),leading:v("lineHeight"),z:v("zIndex"),opacity:v(),ease:v("transitionTimingFunction"),p:V,py:V,px:V,pt:V,pr:V,pb:V,pl:V,m:B,my:B,mx:B,mt:B,mr:B,mb:B,ml:B,w:v("width"),h:v("height"),min:ot,max:ot,fill:v(),order:v(),origin:h("transformOrigin"," "),select:h("userSelect"),"pointer-events":h(),align:h("verticalAlign"),whitespace:h("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:_("ordinal"),"slashed-zero":_("slashed-zero"),"lining-nums":_("numeric-figure"),"oldstyle-nums":_("numeric-figure"),"proportional-nums":_("numeric-spacing"),"tabular-nums":_("numeric-spacing"),"diagonal-fractions":_("numeric-fraction"),"stacked-fractions":_("numeric-fraction"),overflow:(e,t,n)=>b(["ellipsis","clip"],e[0])?h("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:h()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:Ae(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Ae()]},scale:Pe,translate:Pe,skew:Pe,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",d(e))}:v("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:v("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return{wordBreak:"normal",overflowWrap:"normal"};case"words":return{overflowWrap:"break-word"};case"all":return{wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return{textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return J([],s,e[0]);case"opacity":return se(e,t,n)}let r=t("fontSize",e,"");return r?typeof r=="string"?{fontSize:r}:{fontSize:r[0],...typeof r[1]=="string"?{lineHeight:r[1]}:r[1]}:xe("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return h("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return h("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&h("backgroundRepeat")(e);case"auto":case"cover":case"contain":return h("backgroundSize")(e);case"repeat":return b("xy",e[1])?h("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return se(e,t,n,"background");case"clip":return{backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=re(e[2])))return{backgroundImage:`linear-gradient(to ${g(s," ")},var(--tw-gradient-stops))`}}return(s=t("backgroundImage",e,""))?{backgroundImage:s}:xe("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${qe(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${qe(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>re(e[0])?pe(t.theme("borderWidth",d(e)),e[0],"border","width"):nt(e,t,n),divide:(e,t,n)=>(s=Ze(e,t,n,"divideWidth","border","width")||nt(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=Ze(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?se(e,t,n):xe("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(x=t("animation",e)){let r=x.split(" ");return(s=t("keyframes",r[0],L={}))!==L?(x=n(r[0]))&&{animation:x+" "+g(d(r)," "),["@keyframes "+x]:s}:{animation:x}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return se(e,t,n);case"offset":return(s=t("ringOffsetWidth",d(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",d(e))}}return(s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":be(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":be(t("ringColor",e),"ring-opacity")}},object:e=>b(["contain","cover","fill","none","scale"],e[0])?h("objectFit")(e):h("objectPosition"," ")(e),list:e=>h(b(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>Xe(t.theme("borderRadius",d(e),""),e[0],"border","radius")||v("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:i}=t("container"),o=a=>(s=i&&(typeof i=="string"?i:i[a]||i.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,c)=>((x=n[c])&&typeof x=="string"&&(a[j(x)]={"&":{"max-width":x,...o(c)}}),a),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...o("xs")})}};var st=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}});var at={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"};var lt="__twind",ct=e=>{let t=self[lt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=lt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t};var Ee=({nonce:e,target:t=ct(e).sheet}={})=>{let n=t.cssRules.length;return{target:t,insert:(r,i)=>t.insertRule(r,n+i)}},Fe=()=>({target:null,insert:de});var ye=e=>({unknown(t,n=[],r,i){r||this.report({id:"UNKNOWN_THEME_VALUE",key:g([t,...n],".")},i)},report({id:t,...n}){let r=`[${t}] ${JSON.stringify(n)}`,i=(new Error(r).stack||r).split("at ");for(let o;(o=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(o););return e(i.join("at "))}}),Se=ye(e=>console.warn(e)),Me=ye(e=>{throw new Error(e)}),ze=ye(de);import{cssPropertyAlias as At,cssPropertyPrefixFlags as Pt,cssValuePrefixFlags as Et}from"style-vendorizer";var E=(e,t,n)=>`${e}:${t}${n?" !important":""}`,De=(e,t,n)=>{let r="",i=At(e);i&&(r+=`${E(i,t,n)};`);let o=Pt(e);return o&1&&(r+=`-webkit-${E(e,t,n)};`),o&2&&(r+=`-moz-${E(e,t,n)};`),o&4&&(r+=`-ms-${E(e,t,n)};`),o=Et(e,t),o&1&&(r+=`${E(e,`-webkit-${t}`,n)};`),o&2&&(r+=`${E(e,`-moz-${t}`,n)};`),o&4&&(r+=`${E(e,`-ms-${t}`,n)};`),r+=E(e,t,n),r};var ae=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},N=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},W=(e,t="",n=1,r=0,i=1)=>{let o={};for(;r<=e;r+=i)o[r]=r/n+t;return o},R=e=>t=>t(e),Ft=(e,{theme:t})=>t(...e),Mt=(...e)=>ne(Ft,e),zt={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:{px:"1px",0:"0px",...W(4,"rem",4,.5,.5),...W(12,"rem",4,5),14:"3.5rem",...W(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},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"},backgroundColor:R("colors"),backgroundImage:{none:"none"},backgroundOpacity:R("opacity"),borderColor:e=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:R("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"},borderWidth:{DEFAULT:"1px",...N(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:R("borderColor"),divideOpacity:R("borderOpacity"),divideWidth:R("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:R("spacing"),gradientColorStops:R("colors"),height:e=>({auto:"auto",...e("spacing"),...ae(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("spacing"),...ae(2,4),full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"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",...W(10,"rem",4,3)},margin:e=>({auto:"auto",...e("spacing")}),maxHeight:e=>({...e("spacing"),full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>({none:"none",0:"0rem",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",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:{...W(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0",...W(12,"",1,1)},outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:R("spacing"),placeholderColor:R("colors"),placeholderOpacity:R("opacity"),ringColor:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:R("colors"),ringOffsetWidth:N(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",...N(8,"px")},rotate:{...N(2,"deg"),...N(12,"deg",3),...N(180,"deg",45)},scale:{0:"0",50:".5",75:".75",...W(110,"",100,90,5),125:"1.25",150:"1.5"},skew:{...N(2,"deg"),...N(12,"deg",3)},space:R("spacing"),stroke:{current:"currentColor"},strokeWidth:W(2),textColor:R("colors"),textOpacity:R("opacity"),transitionDuration:e=>({DEFAULT:"150ms",...e("durations")}),transitionDelay:R("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,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:e=>({...e("spacing"),...ae(2,4),full:"100%"}),width:e=>({auto:"auto",...e("spacing"),...ae(2,6),...ae(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...W(50,"",1,0,10)}},dt=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let i=e[r];r==="DEFAULT"&&(t[g(n)]=i,t[g(n,".")]=i);let o=[...n,r];t[g(o)]=i,t[g(o,".")]=i,i&&typeof i=="object"&&dt(i,t,o)},t),t),Dt={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},ut=e=>{let t=new Map,n={...zt,...e},r=(o,a)=>{let c=o&&o[a],f=typeof c=="function"?c(i,Dt):c;return f&&a==="colors"?dt(f):f},i=(o,a,c)=>{let f=o.split(".");o=f[0],f.length>1&&(c=a,a=g(d(f),"."));let C=t.get(o);if(C||t.set(o,C={...r(n,o),...r(n.extend,o)}),a!=null){let z=C[(Array.isArray(a)?g(a):a)||"DEFAULT"];return z==null?c:Array.isArray(z)&&!b(["fontSize","outline"],o)?g(z,","):z}return C};return i};var gt=(e,t)=>(n,r)=>{if(typeof n.d=="function")return n.d(t);let i=n.d.split("-");if(!r&&i[0]==="tw"&&n.$===n.d)return n.$;for(let o=i.length;o;o--){let a=g(i.slice(0,o)),c=e[a];if(c)return typeof c=="function"?c(d(i,o),t,a):typeof c=="string"?t[r?"css":"tw"](c):c}};var le,Oe=/^:(group(?:(?!-focus).+?)*)-(.+)$/,ft=(e,t,{theme:n,tag:r})=>{let i=(o,a)=>(le=n("screens",d(a),""))?{[j(le)]:o}:a===":dark"&&e==="class"?{[".dark &"]:o}:(le=Oe.exec(a))?{[`.${ge(r(le[1]))}:${le[2]} &`]:o}:{[t[d(a)]||"&"+a]:o};return(o,a)=>a.v.reduceRight(i,o)};var A,We=e=>(((A=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+A[1]/(A[2]?15:1)/10:0)&31)<<22,pt=e=>{A=0;for(let t=e.length;t--;)A+=b("-:,",e[t]);return A},je=e=>(pt(e)&15)<<18,Ot=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Wt=e=>1<<(~(A=Ot.indexOf(e.replace(Oe,":$2").slice(3,8)))?A:17),mt=(e,t)=>(n,r)=>n|((A=e("screens",d(r),""))?1<<27|We(j(A)):r===":dark"?1<<30:(A=t[r]||r)[0]==="@"?je(A):Wt(r)),ht=e=>e[0]==="-"?0:pt(e)+((A=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!A[1]||-!!A[2]:0)+1;var Ie=(e,t)=>t+"{"+e+"}",He;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css"})(He||(He={}));var bt=(e,t,n)=>{let{theme:r,tag:i}=n,o=(T,S)=>"--"+i(S),a=T=>`${T}`.replace(/--(tw-[\w-]+)\b/g,o),c=(T,S,k)=>(T=a(T),Array.isArray(S)?g(S.filter(Boolean).map(y=>e(T,a(y),k)),";"):e(T,a(S),k)),f,C=(T,S,k,y,F)=>{if(Array.isArray(y)){y.forEach(p=>p&&C(T,S,k,p,F));return}let D="",G=0,Y=0;y["@apply"]&&(y=q(O(Re(y["@apply"]),n),{...y,"@apply":void 0},n)),Object.keys(y).forEach(p=>{let $=O(y[p],n);if(Ce(p,$)){if($!==""&&p.length>1){let w=we(p);Y+=1,G=Math.max(G,ht(w)),D=(D&&D+";")+c(w,$,F)}}else if($)if(p==":global"&&(p="@global"),p[0]==="@")if(p[1]=="g")C([],"",0,$,F);else if(p[1]==="f")C([],p,0,$,F);else if(p[1]==="k"){let w=f.length;C([],"",0,$,F);let l=f.splice(w,f.length-w);f.push({r:Ie(g(l.map(u=>u.r),""),p),p:l.reduce((u,m)=>u+m.p,0)})}else p[1]=="i"?(Array.isArray($)?$:[$]).forEach(w=>w&&f.push({p:0,r:`${p} ${w};`})):(p[2]=="c"&&(p=j(n.theme("screens",d(p,8).trim()))),C([...T,p],S,k|We(p)|je(p),$,F));else C(T,S?S.replace(/([^,])+/g,w=>p.replace(/([^,])+/g,l=>b(l,"&")?l.replace(/&/g,w):(w&&w+" ")+l)):p,k,$,F)}),Y&&f.push({r:T.reduceRight(Ie,Ie(D,S)),p:k*(1<<8)+((Math.max(0,15-Y)&15)<<4|(G||15)&15)})},z=mt(r,t);return(T,S,k,y=0)=>(y<<=28,f=[],C([],S?"."+ge(S):"",k?k.v.reduceRight(z,y):y,T,k&&k.i),f)};var xt=(e,t,n,r)=>{let i;n((a=[])=>i=a);let o;return n((a=new Set)=>o=a),({r:a,p:c})=>{if(!o.has(a)){o.add(a);let f=Ve(i,c);try{e.insert(a,f),i.splice(f,0,c)}catch(C){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:C},r)}}}};var _e=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,jt=e=>(typeof e=="string"?{t:Me,a:Se,i:ze}[e[1]]:e)||Se,It=(e,t)=>e+(t[1]===":"?d(t,2)+":":d(t))+":",yt=(e,t=e.d)=>typeof t=="function"?"":e.v.reduce(It,"")+(e.n?"-":"")+t+(e.i?"!":""),Ht={_:{value:"",writable:!0}},St=(e={})=>{let t=ut(e.theme),n=jt(e.mode),r=_e(e.hash,!1,!1,Z),i={v:[]},o=0,a=[],c={tw:(...l)=>$(l),theme:(l,u,m)=>{u!=null&&!u.length&&(u="DEFAULT");let P=t(l,u,m)||n.unknown(l,u==null||Array.isArray(u)?u:u.split("."),m!=null,c);return i.n&&P&&typeof P=="string"?`calc(${P} * -1)`:P},tag:l=>r?r(l):l,css:l=>{o++;let u=a.length;try{(typeof l=="string"?te([l]):l).forEach(p);let m=Object.create(null,Ht);for(let P=u;P<a.length;P++){let ce=a[P];if(ce)switch(typeof ce){case"object":q(m,ce,c);break;case"string":m._+=(m._&&" ")+ce}}return m}finally{a.length=u,o--}}},f=gt({...it,...e.plugins},c),C=l=>{let u=i;i=l;try{return O(f(l),c)}finally{i=u}},z={...at,...e.variants},T=ft(e.darkMode||"media",z,c),S=bt(_e(e.prefix,De,E),z,c),k=e.sheet||(typeof window=="undefined"?Fe():Ee(e)),{init:y=l=>l()}=k,F=xt(k,n,y,c),D;y((l=new Map)=>D=l);let G=new WeakMap,Y=(l,u)=>typeof u=="function"?JSON.stringify(u(c),Y):u,p=l=>{!o&&i.v.length&&(l={...l,v:[...i.v,...l.v],$:""}),l.$||(l.$=yt(l,G.get(l.d)));let u=o?null:D.get(l.$);if(u==null){let m=C(l);if(l.$||(l.$=Z(JSON.stringify(m,Y)),G.set(l.d,l.$),l.$=yt(l,l.$)),m&&typeof m=="object")if(m=T(m,l),o)a.push(m);else{let P=typeof l.d=="function"?typeof m._=="string"?1:3:2;u=r||typeof l.d=="function"?(r||Z)(P+l.$):l.$,S(m,u,l,P).forEach(F),m._&&(u+=" "+m._)}else typeof m=="string"?u=m:(u=l.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:u},c)),o&&typeof l.d!="function"&&a.push(u);o||(D.set(l.$,u),ue(D,3e4))}return u},$=l=>te(l).map(p).filter(Boolean).join(" "),w=_e(e.preflight,Ue,!1);if(w){let l=st(t),u=S(typeof w=="function"?O(w(l,c),c)||l:{...l,...w});y((m=(u.forEach(F),!0))=>m)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},c),process:$}};var Ne=e=>{let t=o=>(n(),t(o)),n=o=>{({process:t,init:n}=St(o))};e&&n(e);let r;return{tw:Object.defineProperties((...o)=>t(o),{theme:{get:(o=>()=>(r||t([a=>(r=a,"")]),r[o]))("theme")}}),setup:o=>n(o)}};var{tw:_t,setup:Nt}=Ne();export{Re as apply,De as autoprefix,Ne as create,Ee as cssomSheet,ne as directive,Z as hash,ye as mode,E as noprefix,Nt as setup,ze as silent,Me as strict,Mt as theme,_t as tw,Fe as voidSheet,Se as warn}; | ||
//# sourceMappingURL=twind.js.map |
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.twind={}));}(this,(function(exports){'use strict';var $t=Object.prototype.hasOwnProperty;var Le=Object.getOwnPropertySymbols,At=Object.prototype.propertyIsEnumerable;var a=Object.assign;var Ve=(e,t)=>{var n={};for(var r in e)$t.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Le)for(var r of Le(e))t.indexOf(r)<0&&At.call(e,r)&&(n[r]=e[r]);return n};var x=(e,t)=>!!~e.indexOf(t),f=(e,t="-")=>e.join(t),q=(e,t)=>f(e.filter(Boolean),t),g=(e,t=1)=>e.slice(t),Be=e=>e,ge=()=>{},Ge=e=>e[0].toUpperCase()+g(e),Ce=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),W=(e,t)=>{for(;typeof e=="function";)e=e(t);return e},ue=(e,t)=>{e.size>t&&e.delete(e.keys().next().value);},Te=(e,t)=>!x("@:&",e[0])&&(x("rg",(typeof t)[5])||Array.isArray(t)),Z=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=W(t[o],n);return Te(o,i)?r[Ce(o)]=i:r[o]=o[0]=="@"&&x("figa",o[1])?(r[o]||[]).concat(i):Z(r[o]||{},i,n),r},e):e,fe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=g(e)),n+e.replace(/[!./:#]/g,"\\$&")}),I=e=>(Array.isArray(e)||(e=[e]),"@media "+f(e.map(t=>(typeof t=="string"&&(t={min:t}),t.raw||f(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),ee=e=>{let t=9;for(let n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return "tw-"+((t^t>>>9)>>>0).toString(36)},Ye=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let o=n+r>>1;e[o]<=t?r=o+1:n=o;}return n};var H,J,L=(e="")=>(H.push(e),""),ve=e=>{H.length=Math.max(H.lastIndexOf("")+~~e,0);},Pt=e=>e&&e[0]!==":",Et=e=>e[0]===":",Ke=(e,t,n)=>{J.push({v:H.filter(Et),d:e,n:t,i:n,$:""});},Je=e=>{let t=e[0]==="-";t&&(e=g(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=f(H.filter(Pt));return Ke(e==="&"?r:(r&&r+"-")+e,t,n),""},te=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&L(":"+(e[o]===n?e[o++]:"")+r);break;case"(":r=r&&L(r),L();break;case")":case" ":case" ":case` | ||
`:case"\r":r=r&&Je(r),ve(n!==")");break;default:r+=n;}r&&(t?L(":"+r):r.slice(-1)==="-"?L(r.slice(0,-1)):Je(r));},Qe=e=>{L(),pe(e),ve();},Ft=(e,t)=>{if(t){L();let n=x("tbu",(typeof t)[1]);te(e,n),n&&Qe(t),ve();}},pe=e=>{switch(typeof e){case"string":te(e);break;case"function":Ke(e);break;case"object":Array.isArray(e)?e.forEach(Qe):e&&Object.keys(e).forEach(t=>{Ft(t,e[t]);});}},Xe=new WeakMap,Mt=e=>{let t=Xe.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!==n&&x(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return p=>{i===n&&(r=""),r+=o,typeof p=="string"?r+=p:p&&(te(r),r="",pe(p)),i===e.length-1&&te(r);};let l=J=[];te(o);let d=[...H];return J=[],p=>{J.push(...l),H=[...d],p&&pe(p);}}),Xe.set(e,t);}return t},ne=e=>(H=[],J=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Mt(e[0]).forEach((t,n)=>t(e[n+1])):pe(e),J);var Re,zt=(e,t)=>(typeof t=="function"&&(Re=!1),t),Dt=e=>{Re=!0;let t=JSON.stringify(e,zt);return Re&&t},qe=new WeakMap,re=(e,t)=>{let n=Dt(t),r;if(n){var o=qe.get(e);o||qe.set(e,o=new Map),r=o.get(n);}return r||(r=Object.defineProperty((i,l)=>(l=Array.isArray(i)?l:i,W(e(t,l),l)),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),ue(o,1e4))),r};var Ot=(e,{css:t})=>t(ne(e)),ke=(...e)=>re(Ot,e);var Ze=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((l,d)=>(l[q([r,d,o])]=t,l),{})}},et=Ze(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),ie=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},me=Ze(ie);var s,V,y,oe=e=>(t,n,r)=>({[e]:r+((s=f(t))&&"-"+s)}),b=(e,t)=>(n,r,o)=>({[e||o]:f(n,t)}),R=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),z=(e,t)=>(n,r)=>e(n,r,t),_=oe("display"),se=oe("position"),Q=oe("textTransform"),X=oe("textDecoration"),he=oe("fontStyle"),N=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),be=(e,{theme:t},n)=>({[n]:t("inset",e)}),ae=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",g(e))}),$e=(e,t)=>Math.round(parseInt(e,16)*t),xe=(e,t,n)=>e&&e[0]==="#"?`rgba(${$e(e.substr(1,s=(e.length-1)/3),y=[17,1,.062272][s-1])},${$e(e.substr(1+s,s),y)},${$e(e.substr(1+2*s,s),y)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,ye=(e,t,n)=>n&&(s=xe(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},tt=e=>(y=xe(e,"","0"))===s?"transparent":y,nt=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(y=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[y]:"1"}:{[y]:"0",[q([o,s[0],i])]:(V=t(r,g(e)))&&`calc(${V} * var(${y}))`,[q([o,s[1],i])]:V&&[V,`calc(${V} * calc(1 - var(${y})))`]}:void 0,rt=(e,t)=>({[e]:(x("wun",(t[0]||"")[3])?"space-":"")+t[0]}),Ae=e=>t=>x(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:rt(e,t),it=e=>t=>{switch(t[0]){case"auto":return {[`grid-${e}`]:"auto"};case"span":return {[`grid-${e}`]:t[1]==="full"?"1 / -1":`span ${t[1]} / span ${t[1]}`};case"start":case"end":return {[`grid-${e}-${t[0]}`]:t[1]}}},ot=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return b("borderStyle")(e);case"collapse":case"separate":return b("borderCollapse")(e);case"opacity":return ae(e,t,n)}return (s=t(n+"Width",e,""))?{borderWidth:s}:ye("borderColor",n,t(n+"Color",e))},Pe=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Ee=(e,t,n)=>(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,Pe()]},st=e=>(t,n,r)=>r[1]?me(n.theme(e,t),r[1],e):R(e)(t,n,r),B=st("padding"),G=st("margin"),at=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Ge(s)}`]:t(s,g(e))},lt={group:(e,{tag:t},n)=>t(f([n,...e])),hidden:z(_,"none"),inline:_,block:_,contents:_,flow:_,table:(e,t,n)=>x(["auto","fixed"],e[0])?{tableLayout:e[0]}:_(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return {flexDirection:f(e[0]==="col"?["column",...g(e)]:e)};case"nowrap":case"wrap":return {flexWrap:f(e)};case"grow":case"shrink":return {[`flex-${e[0]}`]:e[1]||"1"}}return (s=t.theme("flex",e,""))?{flex:s}:_(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:f(g(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:f(e[1]==="col"?["column",...g(e,2)]:g(e)," ")}}return _(e,t,n)},auto:e=>x(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${f(g(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:se,fixed:se,absolute:se,relative:se,sticky:se,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":`${e[0]}-box`}),appearance:b(),cursor:b(),float:b(),clear:b(),top:be,right:be,bottom:be,left:be,inset:(e,{theme:t})=>(s=ie(e[0]))?me(t("inset",g(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:X,"line-through":X,"no-underline":z(X,"none"),"text-underline":z(X,"underline"),"text-no-underline":z(X,"none"),"text-line-through":z(X,"line-through"),uppercase:Q,lowercase:Q,capitalize:Q,"normal-case":z(Q,"none"),"text-normal-case":z(Q,"none"),italic:he,"not-italic":z(he,"normal"),"font-italic":z(he,"italic"),"font-not-italic":z(he,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:R("fontWeight")(e,t,n),items:e=>({alignItems:x(["start","end"],e[0])?`flex-${e[0]}`:f(e)}),"justify-self":b(),"justify-items":b(),justify:Ae("justifyContent"),content:Ae("alignContent"),self:Ae("alignSelf"),place:e=>rt("place-"+e[0],g(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:it("column"),row:it("row"),duration:R("transitionDuration"),delay:R("transitionDelay"),tracking:R("letterSpacing"),leading:R("lineHeight"),z:R("zIndex"),opacity:R(),ease:R("transitionTimingFunction"),p:B,py:B,px:B,pt:B,pr:B,pb:B,pl:B,m:G,my:G,mx:G,mt:G,mr:G,mb:G,ml:G,w:R("width"),h:R("height"),min:at,max:at,fill:R(),order:R(),origin:b("transformOrigin"," "),select:b("userSelect"),"pointer-events":b(),align:b("verticalAlign"),whitespace:b("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:N("ordinal"),"slashed-zero":N("slashed-zero"),"lining-nums":N("numeric-figure"),"oldstyle-nums":N("numeric-figure"),"proportional-nums":N("numeric-spacing"),"tabular-nums":N("numeric-spacing"),"diagonal-fractions":N("numeric-fraction"),"stacked-fractions":N("numeric-fraction"),overflow:(e,t,n)=>x(["ellipsis","clip"],e[0])?b("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:b()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:Pe(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Pe()]},scale:Ee,translate:Ee,skew:Ee,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",g(e))}:R("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:R("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return {wordBreak:"normal",overflowWrap:"normal"};case"words":return {overflowWrap:"break-word"};case"all":return {wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return {textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return Q([],s,e[0]);case"opacity":return ae(e,t,n)}let r=t("fontSize",e,"");return r?typeof r=="string"?{fontSize:r}:a({fontSize:r[0]},typeof r[1]=="string"?{lineHeight:r[1]}:r[1]):ye("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return b("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return b("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&b("backgroundRepeat")(e);case"auto":case"cover":case"contain":return b("backgroundSize")(e);case"repeat":return x("xy",e[1])?b("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return ae(e,t,n,"background");case"clip":return {backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=ie(e[2])))return {backgroundImage:`linear-gradient(to ${f(s," ")},var(--tw-gradient-stops))`}}return (s=t("backgroundImage",e,""))?{backgroundImage:s}:ye("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${tt(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${tt(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>ie(e[0])?me(t.theme("borderWidth",g(e)),e[0],"border","width"):ot(e,t,n),divide:(e,t,n)=>(s=nt(e,t,n,"divideWidth","border","width")||ot(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=nt(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?ae(e,t,n):ye("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(y=t("animation",e)){let r=y.split(" ");return (s=t("keyframes",r[0],V={}))!==V?(y=n(r[0]))&&{animation:y+" "+f(g(r)," "),["@keyframes "+y]:s}:{animation:y}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return {"--tw-ring-inset":"inset"};case"opacity":return ae(e,t,n);case"offset":return (s=t("ringOffsetWidth",g(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",g(e))}}return (s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":xe(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":xe(t("ringColor",e),"ring-opacity")}},object:e=>x(["contain","cover","fill","none","scale"],e[0])?b("objectFit")(e):b("objectPosition"," ")(e),list:e=>b(x(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>et(t.theme("borderRadius",g(e),""),e[0],"border","radius")||R("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:o}=t("container"),i=l=>(s=o&&(typeof o=="string"?o:o[l]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((l,d)=>((y=n[d])&&typeof y=="string"&&(l[I(y)]={"&":a({"max-width":y},i(d))}),l),a(a({width:"100%"},r?{marginRight:"auto",marginLeft:"auto"}:{}),i("xs")))}};var ct=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}});var dt={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"};var gt="__twind",ut=e=>{let t=self[gt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=gt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t};var Fe=({nonce:e,target:t=ut(e).sheet}={})=>{let n=t.cssRules.length;return {target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Me=()=>({target:null,insert:ge});var we=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:f([t,...n],".")},o);},report(r){var{id:t}=r,n=Ve(r,["id"]);let o=`[${t}] ${JSON.stringify(n)}`,i=(new Error(o).stack||o).split("at ");for(let l;(l=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(l););return e(i.join("at "))}}),Se=we(e=>console.warn(e)),ze=we(e=>{throw new Error(e)}),De=we(ge);var Wt=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function ft(e){return Wt.get(e)}function pt(e){var t=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|(?:mask(?:$|-[ispro]|-cl)))|(tab-|column(?!-s)|text-align-l)|(ap)|(u|hy))/i.exec(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}function mt(e,t){var n=/^(?:(pos)|(background-i)|((?:max-|min-)?(?:block-s|inl|he|widt))|(dis))/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^image-/i.test(t)?1:0:n[3]?t[3]==="-"?2:0:/^(inline-)?grid$/i.test(t)?4:0:0}var F=(e,t,n)=>`${e}:${t}${n?" !important":""}`,Oe=(e,t,n)=>{let r="",o=ft(e);o&&(r+=`${F(o,t,n)};`);let i=pt(e);return i&1&&(r+=`-webkit-${F(e,t,n)};`),i&2&&(r+=`-moz-${F(e,t,n)};`),i&4&&(r+=`-ms-${F(e,t,n)};`),i=mt(e,t),i&1&&(r+=`${F(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${F(e,`-moz-${t}`,n)};`),i&4&&(r+=`${F(e,`-ms-${t}`,n)};`),r+=F(e,t,n),r};var le=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},U=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},j=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},k=e=>t=>t(e),jt=(e,{theme:t})=>t(...e),It=(...e)=>re(jt,e),Ht={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:a(a(a(a(a({px:"1px",0:"0px"},j(4,"rem",4,.5,.5)),j(12,"rem",4,5)),{14:"3.5rem"}),j(64,"rem",4,16,4)),{72:"18rem",80:"20rem",96:"24rem"}),durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},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"},backgroundColor:k("colors"),backgroundImage:{none:"none"},backgroundOpacity:k("opacity"),borderColor:e=>a(a({},e("colors")),{DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:k("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"},borderWidth:a({DEFAULT:"1px"},U(8,"px")),boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:k("borderColor"),divideOpacity:k("borderOpacity"),divideWidth:k("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:k("spacing"),gradientColorStops:k("colors"),height:e=>a(a(a({auto:"auto"},e("spacing")),le(2,6)),{full:"100%",screen:"100vh"}),inset:e=>a(a(a({auto:"auto"},e("spacing")),le(2,4)),{full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"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:a({none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},j(10,"rem",4,3)),margin:e=>a({auto:"auto"},e("spacing")),maxHeight:e=>a(a({},e("spacing")),{full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>a({none:"none",0:"0rem",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",prose:"65ch"},t(e("screens"))),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:a(a({},j(100,"",100,0,10)),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:a({first:"-9999",last:"9999",none:"0"},j(12,"",1,1)),outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:k("spacing"),placeholderColor:k("colors"),placeholderOpacity:k("opacity"),ringColor:e=>a({DEFAULT:e("colors.blue.500","#3b82f6")},e("colors")),ringOffsetColor:k("colors"),ringOffsetWidth:U(8,"px"),ringOpacity:e=>a({DEFAULT:"0.5"},e("opacity")),ringWidth:a({DEFAULT:"3px"},U(8,"px")),rotate:a(a(a({},U(2,"deg")),U(12,"deg",3)),U(180,"deg",45)),scale:a(a({0:"0",50:".5",75:".75"},j(110,"",100,90,5)),{125:"1.25",150:"1.5"}),skew:a(a({},U(2,"deg")),U(12,"deg",3)),space:k("spacing"),stroke:{current:"currentColor"},strokeWidth:j(2),textColor:k("colors"),textOpacity:k("opacity"),transitionDuration:e=>a({DEFAULT:"150ms"},e("durations")),transitionDelay:k("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,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:e=>a(a(a({},e("spacing")),le(2,4)),{full:"100%"}),width:e=>a(a(a(a({auto:"auto"},e("spacing")),le(2,6)),le(12,12)),{screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:a({auto:"auto"},j(50,"",1,0,10))},ht=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[f(n)]=o,t[f(n,".")]=o);let i=[...n,r];t[f(i)]=o,t[f(i,".")]=o,o&&typeof o=="object"&&ht(o,t,i);},t),t),_t={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},bt=e=>{let t=new Map,n=a(a({},Ht),e),r=(i,l)=>{let d=i&&i[l],p=typeof d=="function"?d(o,_t):d;return p&&l==="colors"?ht(p):p},o=(i,l,d)=>{let p=i.split(".");i=p[0],p.length>1&&(d=l,l=f(g(p),"."));let T=t.get(i);if(T||t.set(i,T=a(a({},r(n,i)),r(n.extend,i))),l!=null){let D=T[(Array.isArray(l)?f(l):l)||"DEFAULT"];return D==null?d:Array.isArray(D)&&!x(["fontSize","outline"],i)?f(D,","):D}return T};return o};var xt=(e,t)=>(n,r)=>{if(typeof n.d=="function")return n.d(t);let o=n.d.split("-");if(!r&&o[0]==="tw"&&n.$===n.d)return n.$;for(let i=o.length;i;i--){let l=f(o.slice(0,i)),d=e[l];if(d)return typeof d=="function"?d(g(o,i),t,l):typeof d=="string"?t[r?"css":"tw"](d):d}};var ce,We=/^:(group(?:(?!-focus).+?)*)-(.+)$/,yt=(e,t,{theme:n,tag:r})=>{let o=(i,l)=>(ce=n("screens",g(l),""))?{[I(ce)]:i}:l===":dark"&&e==="class"?{[".dark &"]:i}:(ce=We.exec(l))?{[`.${fe(r(ce[1]))}:${ce[2]} &`]:i}:{[t[g(l)]||"&"+l]:i};return (i,l)=>l.v.reduceRight(o,i)};var P,je=e=>(((P=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+P[1]/(P[2]?15:1)/10:0)&31)<<22,wt=e=>{P=0;for(let t=e.length;t--;)P+=x("-:,",e[t]);return P},Ie=e=>(wt(e)&15)<<18,Nt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Ut=e=>1<<(~(P=Nt.indexOf(e.replace(We,":$2").slice(3,8)))?P:17),St=(e,t)=>(n,r)=>n|((P=e("screens",g(r),""))?1<<27|je(I(P)):r===":dark"?1<<30:(P=t[r]||r)[0]==="@"?Ie(P):Ut(r)),Ct=e=>e[0]==="-"?0:wt(e)+((P=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!P[1]||-!!P[2]:0)+1;var He=(e,t)=>t+"{"+e+"}",_e;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css";})(_e||(_e={}));var Tt=(e,t,n)=>{let{theme:r,tag:o}=n,i=(v,S)=>"--"+o(S),l=v=>`${v}`.replace(/--(tw-[\w-]+)\b/g,i),d=(v,S,$)=>(v=l(v),Array.isArray(S)?f(S.filter(Boolean).map(w=>e(v,l(w),$)),";"):e(v,l(S),$)),p,T=(v,S,$,w,M)=>{if(Array.isArray(w)){w.forEach(m=>m&&T(v,S,$,m,M));return}let O="",Y=0,K=0;w["@apply"]&&(w=Z(W(ke(w["@apply"]),n),a(a({},w),{"@apply":void 0}),n)),Object.keys(w).forEach(m=>{let A=W(w[m],n);if(Te(m,A)){if(A!==""&&m.length>1){let C=Ce(m);K+=1,Y=Math.max(Y,Ct(C)),O=(O&&O+";")+d(C,A,M);}}else if(A)if(m==":global"&&(m="@global"),m[0]==="@")if(m[1]=="g")T([],"",0,A,M);else if(m[1]==="f")T([],m,0,A,M);else if(m[1]==="k"){let C=p.length;T([],"",0,A,M);let c=p.splice(C,p.length-C);p.push({r:He(f(c.map(u=>u.r),""),m),p:c.reduce((u,h)=>u+h.p,0)});}else m[1]=="i"?(Array.isArray(A)?A:[A]).forEach(C=>C&&p.push({p:0,r:`${m} ${C};`})):(m[2]=="c"&&(m=I(n.theme("screens",g(m,8).trim()))),T([...v,m],S,$|je(m)|Ie(m),A,M));else T(v,S?S.replace(/([^,])+/g,C=>m.replace(/([^,])+/g,c=>x(c,"&")?c.replace(/&/g,C):(C&&C+" ")+c)):m,$,A,M);}),K&&p.push({r:v.reduceRight(He,He(O,S)),p:$*(1<<8)+((Math.max(0,15-K)&15)<<4|(Y||15)&15)});},D=St(r,t);return (v,S,$,w=0)=>(w<<=28,p=[],T([],S?"."+fe(S):"",$?$.v.reduceRight(D,w):w,v,$&&$.i),p)};var vt=(e,t,n,r)=>{let o;n((l=[])=>o=l);let i;return n((l=new Set)=>i=l),({r:l,p:d})=>{if(!i.has(l)){i.add(l);let p=Ye(o,d);try{e.insert(l,p),o.splice(p,0,d);}catch(T){/:-[mwo]/.test(l)||t.report({id:"INJECT_CSS_ERROR",css:l,error:T},r);}}}};var Ne=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Lt=e=>(typeof e=="string"?{t:ze,a:Se,i:De}[e[1]]:e)||Se,Vt=(e,t)=>e+(t[1]===":"?g(t,2)+":":g(t))+":",Rt=(e,t=e.d)=>typeof t=="function"?"":e.v.reduce(Vt,"")+(e.n?"-":"")+t+(e.i?"!":""),Bt={_:{value:"",writable:!0}},kt=(e={})=>{let t=bt(e.theme),n=Lt(e.mode),r=Ne(e.hash,!1,!1,ee),o={v:[]},i=0,l=[],d={tw:(...c)=>A(c),theme:(c,u,h)=>{u!=null&&!u.length&&(u="DEFAULT");let E=t(c,u,h)||n.unknown(c,u==null||Array.isArray(u)?u:u.split("."),h!=null,d);return o.n&&E&&typeof E=="string"?`calc(${E} * -1)`:E},tag:c=>r?r(c):c,css:c=>{i++;let u=l.length;try{(typeof c=="string"?ne([c]):c).forEach(m);let h=Object.create(null,Bt);for(let E=u;E<l.length;E++){let de=l[E];if(de)switch(typeof de){case"object":Z(h,de,d);break;case"string":h._+=(h._&&" ")+de;}}return h}finally{l.length=u,i--;}}},p=xt(a(a({},lt),e.plugins),d),T=c=>{let u=o;o=c;try{return W(p(c),d)}finally{o=u;}},D=a(a({},dt),e.variants),v=yt(e.darkMode||"media",D,d),S=Tt(Ne(e.prefix,Oe,F),D,d),$=e.sheet||(typeof window=="undefined"?Me():Fe(e)),{init:w=c=>c()}=$,M=vt($,n,w,d),O;w((c=new Map)=>O=c);let Y=new WeakMap,K=(c,u)=>typeof u=="function"?JSON.stringify(u(d),K):u,m=c=>{!i&&o.v.length&&(c=a(a({},c),{v:[...o.v,...c.v],$:""})),c.$||(c.$=Rt(c,Y.get(c.d)));let u=i?null:O.get(c.$);if(u==null){let h=T(c);if(c.$||(c.$=ee(JSON.stringify(h,K)),Y.set(c.d,c.$),c.$=Rt(c,c.$)),h&&typeof h=="object")if(h=v(h,c),i)l.push(h);else {let E=typeof c.d=="function"?typeof h._=="string"?1:3:2;u=r||typeof c.d=="function"?(r||ee)(E+c.$):c.$,S(h,u,c,E).forEach(M),h._&&(u+=" "+h._);}else typeof h=="string"?u=h:(u=c.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:u},d)),i&&typeof c.d!="function"&&l.push(u);i||(O.set(c.$,u),ue(O,3e4));}return u},A=c=>ne(c).map(m).filter(Boolean).join(" "),C=Ne(e.preflight,Be,!1);if(C){let c=ct(t),u=S(typeof C=="function"?W(C(c,d),d)||c:a(a({},c),C));w((h=(u.forEach(M),!0))=>h);}return {init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:A}};var Ue=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=kt(i));};e&&n(e);let r;return {tw:Object.defineProperties((...i)=>t(i),{theme:{get:(i=>()=>(r||t([l=>(r=l,"")]),r[i]))("theme")}}),setup:i=>n(i)}};var {tw:Gt,setup:Yt}=Ue();exports.apply=ke;exports.autoprefix=Oe;exports.create=Ue;exports.cssomSheet=Fe;exports.directive=re;exports.hash=ee;exports.mode=we;exports.noprefix=F;exports.setup=Yt;exports.silent=De;exports.strict=ze;exports.theme=It;exports.tw=Gt;exports.voidSheet=Me;exports.warn=Se;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=twind.umd.js.map | ||
`:case"\r":r=r&&Je(r),ve(n!==")");break;default:r+=n;}r&&(t?L(":"+r):r.slice(-1)==="-"?L(r.slice(0,-1)):Je(r));},Qe=e=>{L(),pe(e),ve();},Ft=(e,t)=>{if(t){L();let n=x("tbu",(typeof t)[1]);te(e,n),n&&Qe(t),ve();}},pe=e=>{switch(typeof e){case"string":te(e);break;case"function":Ke(e);break;case"object":Array.isArray(e)?e.forEach(Qe):e&&Object.keys(e).forEach(t=>{Ft(t,e[t]);});}},Xe=new WeakMap,Mt=e=>{let t=Xe.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!==n&&x(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return p=>{i===n&&(r=""),r+=o,typeof p=="string"?r+=p:p&&(te(r),r="",pe(p)),i===e.length-1&&te(r);};let l=J=[];te(o);let d=[...H];return J=[],p=>{J.push(...l),H=[...d],p&&pe(p);}}),Xe.set(e,t);}return t},ne=e=>(H=[],J=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Mt(e[0]).forEach((t,n)=>t(e[n+1])):pe(e),J);var Re,zt=(e,t)=>(typeof t=="function"&&(Re=!1),t),Dt=e=>{Re=!0;let t=JSON.stringify(e,zt);return Re&&t},qe=new WeakMap,re=(e,t)=>{let n=Dt(t),r;if(n){var o=qe.get(e);o||qe.set(e,o=new Map),r=o.get(n);}return r||(r=Object.defineProperty((i,l)=>(l=Array.isArray(i)?l:i,W(e(t,l),l)),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),ue(o,1e4))),r};var Ot=(e,{css:t})=>t(ne(e)),ke=(...e)=>re(Ot,e);var Ze=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((l,d)=>(l[q([r,d,o])]=t,l),{})}},et=Ze(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),ie=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},me=Ze(ie);var s,V,y,oe=e=>(t,n,r)=>({[e]:r+((s=f(t))&&"-"+s)}),b=(e,t)=>(n,r,o)=>({[e||o]:f(n,t)}),R=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),z=(e,t)=>(n,r)=>e(n,r,t),_=oe("display"),se=oe("position"),Q=oe("textTransform"),X=oe("textDecoration"),he=oe("fontStyle"),N=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),be=(e,{theme:t},n)=>({[n]:t("inset",e)}),ae=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",g(e))}),$e=(e,t)=>Math.round(parseInt(e,16)*t),xe=(e,t,n)=>e&&e[0]==="#"?`rgba(${$e(e.substr(1,s=(e.length-1)/3),y=[17,1,.062272][s-1])},${$e(e.substr(1+s,s),y)},${$e(e.substr(1+2*s,s),y)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,ye=(e,t,n)=>n&&(s=xe(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},tt=e=>(y=xe(e,"","0"))===s?"transparent":y,nt=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(y=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[y]:"1"}:{[y]:"0",[q([o,s[0],i])]:(V=t(r,g(e)))&&`calc(${V} * var(${y}))`,[q([o,s[1],i])]:V&&[V,`calc(${V} * calc(1 - var(${y})))`]}:void 0,rt=(e,t)=>({[e]:t[0]&&(x("wun",(t[0]||"")[3])?"space-":"")+t[0]}),Ae=e=>t=>x(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:rt(e,t),it=e=>t=>{switch(t[0]){case"auto":return {[`grid-${e}`]:"auto"};case"span":return {[`grid-${e}`]:t[1]==="full"?"1 / -1":t[1]&&`span ${t[1]} / span ${t[1]}`};case"start":case"end":return {[`grid-${e}-${t[0]}`]:t[1]}}},ot=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return b("borderStyle")(e);case"collapse":case"separate":return b("borderCollapse")(e);case"opacity":return ae(e,t,n)}return (s=t(n+"Width",e,""))?{borderWidth:s}:ye("borderColor",n,t(n+"Color",e))},Pe=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Ee=(e,t,n)=>e[0]&&(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,Pe()]},st=e=>(t,n,r)=>r[1]?me(n.theme(e,t),r[1],e):R(e)(t,n,r),B=st("padding"),G=st("margin"),at=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Ge(s)}`]:t(s,g(e))},lt={group:(e,{tag:t},n)=>t(f([n,...e])),hidden:z(_,"none"),inline:_,block:_,contents:_,flow:_,table:(e,t,n)=>x(["auto","fixed"],e[0])?{tableLayout:e[0]}:_(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return {flexDirection:f(e[0]==="col"?["column",...g(e)]:e)};case"nowrap":case"wrap":return {flexWrap:f(e)};case"grow":case"shrink":return {[`flex-${e[0]}`]:e[1]||"1"}}return (s=t.theme("flex",e,""))?{flex:s}:_(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:f(g(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:f(e[1]==="col"?["column",...g(e,2)]:g(e)," ")}}return _(e,t,n)},auto:e=>x(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${f(g(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:se,fixed:se,absolute:se,relative:se,sticky:se,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":e[0]&&`${e[0]}-box`}),appearance:b(),cursor:b(),float:b(),clear:b(),top:be,right:be,bottom:be,left:be,inset:(e,{theme:t})=>(s=ie(e[0]))?me(t("inset",g(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:X,"line-through":X,"no-underline":z(X,"none"),"text-underline":z(X,"underline"),"text-no-underline":z(X,"none"),"text-line-through":z(X,"line-through"),uppercase:Q,lowercase:Q,capitalize:Q,"normal-case":z(Q,"none"),"text-normal-case":z(Q,"none"),italic:he,"not-italic":z(he,"normal"),"font-italic":z(he,"italic"),"font-not-italic":z(he,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:R("fontWeight")(e,t,n),items:e=>({alignItems:x(["start","end"],e[0])?`flex-${e[0]}`:f(e)}),"justify-self":b(),"justify-items":b(),justify:Ae("justifyContent"),content:Ae("alignContent"),self:Ae("alignSelf"),place:e=>rt("place-"+e[0],g(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:it("column"),row:it("row"),duration:R("transitionDuration"),delay:R("transitionDelay"),tracking:R("letterSpacing"),leading:R("lineHeight"),z:R("zIndex"),opacity:R(),ease:R("transitionTimingFunction"),p:B,py:B,px:B,pt:B,pr:B,pb:B,pl:B,m:G,my:G,mx:G,mt:G,mr:G,mb:G,ml:G,w:R("width"),h:R("height"),min:at,max:at,fill:R(),order:R(),origin:b("transformOrigin"," "),select:b("userSelect"),"pointer-events":b(),align:b("verticalAlign"),whitespace:b("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:N("ordinal"),"slashed-zero":N("slashed-zero"),"lining-nums":N("numeric-figure"),"oldstyle-nums":N("numeric-figure"),"proportional-nums":N("numeric-spacing"),"tabular-nums":N("numeric-spacing"),"diagonal-fractions":N("numeric-fraction"),"stacked-fractions":N("numeric-fraction"),overflow:(e,t,n)=>x(["ellipsis","clip"],e[0])?b("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:b()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:Pe(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Pe()]},scale:Ee,translate:Ee,skew:Ee,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",g(e))}:R("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:R("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return {wordBreak:"normal",overflowWrap:"normal"};case"words":return {overflowWrap:"break-word"};case"all":return {wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return {textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return Q([],s,e[0]);case"opacity":return ae(e,t,n)}let r=t("fontSize",e,"");return r?typeof r=="string"?{fontSize:r}:a({fontSize:r[0]},typeof r[1]=="string"?{lineHeight:r[1]}:r[1]):ye("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return b("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return b("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&b("backgroundRepeat")(e);case"auto":case"cover":case"contain":return b("backgroundSize")(e);case"repeat":return x("xy",e[1])?b("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return ae(e,t,n,"background");case"clip":return {backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=ie(e[2])))return {backgroundImage:`linear-gradient(to ${f(s," ")},var(--tw-gradient-stops))`}}return (s=t("backgroundImage",e,""))?{backgroundImage:s}:ye("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${tt(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${tt(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>ie(e[0])?me(t.theme("borderWidth",g(e)),e[0],"border","width"):ot(e,t,n),divide:(e,t,n)=>(s=nt(e,t,n,"divideWidth","border","width")||ot(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=nt(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?ae(e,t,n):ye("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(y=t("animation",e)){let r=y.split(" ");return (s=t("keyframes",r[0],V={}))!==V?(y=n(r[0]))&&{animation:y+" "+f(g(r)," "),["@keyframes "+y]:s}:{animation:y}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return {"--tw-ring-inset":"inset"};case"opacity":return ae(e,t,n);case"offset":return (s=t("ringOffsetWidth",g(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",g(e))}}return (s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":xe(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":xe(t("ringColor",e),"ring-opacity")}},object:e=>x(["contain","cover","fill","none","scale"],e[0])?b("objectFit")(e):b("objectPosition"," ")(e),list:e=>b(x(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>et(t.theme("borderRadius",g(e),""),e[0],"border","radius")||R("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:o}=t("container"),i=l=>(s=o&&(typeof o=="string"?o:o[l]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((l,d)=>((y=n[d])&&typeof y=="string"&&(l[I(y)]={"&":a({"max-width":y},i(d))}),l),a(a({width:"100%"},r?{marginRight:"auto",marginLeft:"auto"}:{}),i("xs")))}};var ct=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}});var dt={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"};var gt="__twind",ut=e=>{let t=self[gt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=gt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t};var Fe=({nonce:e,target:t=ut(e).sheet}={})=>{let n=t.cssRules.length;return {target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Me=()=>({target:null,insert:ge});var we=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:f([t,...n],".")},o);},report(r){var{id:t}=r,n=Ve(r,["id"]);let o=`[${t}] ${JSON.stringify(n)}`,i=(new Error(o).stack||o).split("at ");for(let l;(l=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(l););return e(i.join("at "))}}),Se=we(e=>console.warn(e)),ze=we(e=>{throw new Error(e)}),De=we(ge);var Wt=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function ft(e){return Wt.get(e)}function pt(e){var t=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|(?:mask(?:$|-[ispro]|-cl)))|(tab-|column(?!-s)|text-align-l)|(ap)|(u|hy))/i.exec(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}function mt(e,t){var n=/^(?:(pos)|(background-i)|((?:max-|min-)?(?:block-s|inl|he|widt))|(dis))/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^image-/i.test(t)?1:0:n[3]?t[3]==="-"?2:0:/^(inline-)?grid$/i.test(t)?4:0:0}var F=(e,t,n)=>`${e}:${t}${n?" !important":""}`,Oe=(e,t,n)=>{let r="",o=ft(e);o&&(r+=`${F(o,t,n)};`);let i=pt(e);return i&1&&(r+=`-webkit-${F(e,t,n)};`),i&2&&(r+=`-moz-${F(e,t,n)};`),i&4&&(r+=`-ms-${F(e,t,n)};`),i=mt(e,t),i&1&&(r+=`${F(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${F(e,`-moz-${t}`,n)};`),i&4&&(r+=`${F(e,`-ms-${t}`,n)};`),r+=F(e,t,n),r};var le=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},U=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},j=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},k=e=>t=>t(e),jt=(e,{theme:t})=>t(...e),It=(...e)=>re(jt,e),Ht={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:a(a(a(a(a({px:"1px",0:"0px"},j(4,"rem",4,.5,.5)),j(12,"rem",4,5)),{14:"3.5rem"}),j(64,"rem",4,16,4)),{72:"18rem",80:"20rem",96:"24rem"}),durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},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"},backgroundColor:k("colors"),backgroundImage:{none:"none"},backgroundOpacity:k("opacity"),borderColor:e=>a(a({},e("colors")),{DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:k("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"},borderWidth:a({DEFAULT:"1px"},U(8,"px")),boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:k("borderColor"),divideOpacity:k("borderOpacity"),divideWidth:k("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:k("spacing"),gradientColorStops:k("colors"),height:e=>a(a(a({auto:"auto"},e("spacing")),le(2,6)),{full:"100%",screen:"100vh"}),inset:e=>a(a(a({auto:"auto"},e("spacing")),le(2,4)),{full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"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:a({none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},j(10,"rem",4,3)),margin:e=>a({auto:"auto"},e("spacing")),maxHeight:e=>a(a({},e("spacing")),{full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>a({none:"none",0:"0rem",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",prose:"65ch"},t(e("screens"))),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:a(a({},j(100,"",100,0,10)),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:a({first:"-9999",last:"9999",none:"0"},j(12,"",1,1)),outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:k("spacing"),placeholderColor:k("colors"),placeholderOpacity:k("opacity"),ringColor:e=>a({DEFAULT:e("colors.blue.500","#3b82f6")},e("colors")),ringOffsetColor:k("colors"),ringOffsetWidth:U(8,"px"),ringOpacity:e=>a({DEFAULT:"0.5"},e("opacity")),ringWidth:a({DEFAULT:"3px"},U(8,"px")),rotate:a(a(a({},U(2,"deg")),U(12,"deg",3)),U(180,"deg",45)),scale:a(a({0:"0",50:".5",75:".75"},j(110,"",100,90,5)),{125:"1.25",150:"1.5"}),skew:a(a({},U(2,"deg")),U(12,"deg",3)),space:k("spacing"),stroke:{current:"currentColor"},strokeWidth:j(2),textColor:k("colors"),textOpacity:k("opacity"),transitionDuration:e=>a({DEFAULT:"150ms"},e("durations")),transitionDelay:k("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,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:e=>a(a(a({},e("spacing")),le(2,4)),{full:"100%"}),width:e=>a(a(a(a({auto:"auto"},e("spacing")),le(2,6)),le(12,12)),{screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:a({auto:"auto"},j(50,"",1,0,10))},ht=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[f(n)]=o,t[f(n,".")]=o);let i=[...n,r];t[f(i)]=o,t[f(i,".")]=o,o&&typeof o=="object"&&ht(o,t,i);},t),t),_t={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>typeof e[t]=="string").reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},bt=e=>{let t=new Map,n=a(a({},Ht),e),r=(i,l)=>{let d=i&&i[l],p=typeof d=="function"?d(o,_t):d;return p&&l==="colors"?ht(p):p},o=(i,l,d)=>{let p=i.split(".");i=p[0],p.length>1&&(d=l,l=f(g(p),"."));let T=t.get(i);if(T||t.set(i,T=a(a({},r(n,i)),r(n.extend,i))),l!=null){let D=T[(Array.isArray(l)?f(l):l)||"DEFAULT"];return D==null?d:Array.isArray(D)&&!x(["fontSize","outline"],i)?f(D,","):D}return T};return o};var xt=(e,t)=>(n,r)=>{if(typeof n.d=="function")return n.d(t);let o=n.d.split("-");if(!r&&o[0]==="tw"&&n.$===n.d)return n.$;for(let i=o.length;i;i--){let l=f(o.slice(0,i)),d=e[l];if(d)return typeof d=="function"?d(g(o,i),t,l):typeof d=="string"?t[r?"css":"tw"](d):d}};var ce,We=/^:(group(?:(?!-focus).+?)*)-(.+)$/,yt=(e,t,{theme:n,tag:r})=>{let o=(i,l)=>(ce=n("screens",g(l),""))?{[I(ce)]:i}:l===":dark"&&e==="class"?{[".dark &"]:i}:(ce=We.exec(l))?{[`.${fe(r(ce[1]))}:${ce[2]} &`]:i}:{[t[g(l)]||"&"+l]:i};return (i,l)=>l.v.reduceRight(o,i)};var P,je=e=>(((P=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+P[1]/(P[2]?15:1)/10:0)&31)<<22,wt=e=>{P=0;for(let t=e.length;t--;)P+=x("-:,",e[t]);return P},Ie=e=>(wt(e)&15)<<18,Nt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Ut=e=>1<<(~(P=Nt.indexOf(e.replace(We,":$2").slice(3,8)))?P:17),St=(e,t)=>(n,r)=>n|((P=e("screens",g(r),""))?1<<27|je(I(P)):r===":dark"?1<<30:(P=t[r]||r)[0]==="@"?Ie(P):Ut(r)),Ct=e=>e[0]==="-"?0:wt(e)+((P=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!P[1]||-!!P[2]:0)+1;var He=(e,t)=>t+"{"+e+"}",_e;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css";})(_e||(_e={}));var Tt=(e,t,n)=>{let{theme:r,tag:o}=n,i=(v,S)=>"--"+o(S),l=v=>`${v}`.replace(/--(tw-[\w-]+)\b/g,i),d=(v,S,$)=>(v=l(v),Array.isArray(S)?f(S.filter(Boolean).map(w=>e(v,l(w),$)),";"):e(v,l(S),$)),p,T=(v,S,$,w,M)=>{if(Array.isArray(w)){w.forEach(m=>m&&T(v,S,$,m,M));return}let O="",Y=0,K=0;w["@apply"]&&(w=Z(W(ke(w["@apply"]),n),a(a({},w),{"@apply":void 0}),n)),Object.keys(w).forEach(m=>{let A=W(w[m],n);if(Te(m,A)){if(A!==""&&m.length>1){let C=Ce(m);K+=1,Y=Math.max(Y,Ct(C)),O=(O&&O+";")+d(C,A,M);}}else if(A)if(m==":global"&&(m="@global"),m[0]==="@")if(m[1]=="g")T([],"",0,A,M);else if(m[1]==="f")T([],m,0,A,M);else if(m[1]==="k"){let C=p.length;T([],"",0,A,M);let c=p.splice(C,p.length-C);p.push({r:He(f(c.map(u=>u.r),""),m),p:c.reduce((u,h)=>u+h.p,0)});}else m[1]=="i"?(Array.isArray(A)?A:[A]).forEach(C=>C&&p.push({p:0,r:`${m} ${C};`})):(m[2]=="c"&&(m=I(n.theme("screens",g(m,8).trim()))),T([...v,m],S,$|je(m)|Ie(m),A,M));else T(v,S?S.replace(/([^,])+/g,C=>m.replace(/([^,])+/g,c=>x(c,"&")?c.replace(/&/g,C):(C&&C+" ")+c)):m,$,A,M);}),K&&p.push({r:v.reduceRight(He,He(O,S)),p:$*(1<<8)+((Math.max(0,15-K)&15)<<4|(Y||15)&15)});},D=St(r,t);return (v,S,$,w=0)=>(w<<=28,p=[],T([],S?"."+fe(S):"",$?$.v.reduceRight(D,w):w,v,$&&$.i),p)};var vt=(e,t,n,r)=>{let o;n((l=[])=>o=l);let i;return n((l=new Set)=>i=l),({r:l,p:d})=>{if(!i.has(l)){i.add(l);let p=Ye(o,d);try{e.insert(l,p),o.splice(p,0,d);}catch(T){/:-[mwo]/.test(l)||t.report({id:"INJECT_CSS_ERROR",css:l,error:T},r);}}}};var Ne=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Lt=e=>(typeof e=="string"?{t:ze,a:Se,i:De}[e[1]]:e)||Se,Vt=(e,t)=>e+(t[1]===":"?g(t,2)+":":g(t))+":",Rt=(e,t=e.d)=>typeof t=="function"?"":e.v.reduce(Vt,"")+(e.n?"-":"")+t+(e.i?"!":""),Bt={_:{value:"",writable:!0}},kt=(e={})=>{let t=bt(e.theme),n=Lt(e.mode),r=Ne(e.hash,!1,!1,ee),o={v:[]},i=0,l=[],d={tw:(...c)=>A(c),theme:(c,u,h)=>{u!=null&&!u.length&&(u="DEFAULT");let E=t(c,u,h)||n.unknown(c,u==null||Array.isArray(u)?u:u.split("."),h!=null,d);return o.n&&E&&typeof E=="string"?`calc(${E} * -1)`:E},tag:c=>r?r(c):c,css:c=>{i++;let u=l.length;try{(typeof c=="string"?ne([c]):c).forEach(m);let h=Object.create(null,Bt);for(let E=u;E<l.length;E++){let de=l[E];if(de)switch(typeof de){case"object":Z(h,de,d);break;case"string":h._+=(h._&&" ")+de;}}return h}finally{l.length=u,i--;}}},p=xt(a(a({},lt),e.plugins),d),T=c=>{let u=o;o=c;try{return W(p(c),d)}finally{o=u;}},D=a(a({},dt),e.variants),v=yt(e.darkMode||"media",D,d),S=Tt(Ne(e.prefix,Oe,F),D,d),$=e.sheet||(typeof window=="undefined"?Me():Fe(e)),{init:w=c=>c()}=$,M=vt($,n,w,d),O;w((c=new Map)=>O=c);let Y=new WeakMap,K=(c,u)=>typeof u=="function"?JSON.stringify(u(d),K):u,m=c=>{!i&&o.v.length&&(c=a(a({},c),{v:[...o.v,...c.v],$:""})),c.$||(c.$=Rt(c,Y.get(c.d)));let u=i?null:O.get(c.$);if(u==null){let h=T(c);if(c.$||(c.$=ee(JSON.stringify(h,K)),Y.set(c.d,c.$),c.$=Rt(c,c.$)),h&&typeof h=="object")if(h=v(h,c),i)l.push(h);else {let E=typeof c.d=="function"?typeof h._=="string"?1:3:2;u=r||typeof c.d=="function"?(r||ee)(E+c.$):c.$,S(h,u,c,E).forEach(M),h._&&(u+=" "+h._);}else typeof h=="string"?u=h:(u=c.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:u},d)),i&&typeof c.d!="function"&&l.push(u);i||(O.set(c.$,u),ue(O,3e4));}return u},A=c=>ne(c).map(m).filter(Boolean).join(" "),C=Ne(e.preflight,Be,!1);if(C){let c=ct(t),u=S(typeof C=="function"?W(C(c,d),d)||c:a(a({},c),C));w((h=(u.forEach(M),!0))=>h);}return {init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:A}};var Ue=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=kt(i));};e&&n(e);let r;return {tw:Object.defineProperties((...i)=>t(i),{theme:{get:(i=>()=>(r||t([l=>(r=l,"")]),r[i]))("theme")}}),setup:i=>n(i)}};var {tw:Gt,setup:Yt}=Ue();exports.apply=ke;exports.autoprefix=Oe;exports.create=Ue;exports.cssomSheet=Fe;exports.directive=re;exports.hash=ee;exports.mode=we;exports.noprefix=F;exports.setup=Yt;exports.silent=De;exports.strict=ze;exports.theme=It;exports.tw=Gt;exports.voidSheet=Me;exports.warn=Se;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=twind.umd.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
815274
5473