Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

twind

Package Overview
Dependencies
Maintainers
2
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twind - npm Package Compare versions

Comparing version 0.14.2 to 0.14.3

7

css/css.d.ts

@@ -13,9 +13,12 @@ import { PropertiesFallback, PropertiesHyphenFallback } from 'csstype';

interface TW {
interface TWCallable {
(strings: TemplateStringsArray, ...interpolations: Token[]): string;
(...tokens: Token[]): string;
}
interface TW extends TWCallable {
theme: ThemeResolver;
}
interface Context {
/** Allow composition */
readonly tw: TW;
readonly tw: TWCallable;
/** Access to theme values */

@@ -22,0 +25,0 @@ readonly theme: ThemeResolver;

@@ -13,9 +13,12 @@ import { PropertiesFallback, PropertiesHyphenFallback } from 'csstype';

interface TW {
interface TWCallable {
(strings: TemplateStringsArray, ...interpolations: Token[]): string;
(...tokens: Token[]): string;
}
interface TW extends TWCallable {
theme: ThemeResolver;
}
interface Context {
/** Allow composition */
readonly tw: TW;
readonly tw: TWCallable;
/** Access to theme values */

@@ -22,0 +25,0 @@ readonly theme: ThemeResolver;

{
"name": "twind",
"version": "0.14.2",
"version": "0.14.3",
"description": "compiles tailwind like shorthand syntax into css at runtime",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,3 +0,1 @@

# Twind
> the smallest, fastest, most feature complete Tailwind-in-JS solution in existence

@@ -9,3 +7,3 @@

[![Package Size](https://flat.badgen.net/badgesize/brotli/https:/unpkg.com/twind/twind.js?icon=jsdelivr&label&color=blue&cache=10800)](https://unpkg.com/twind/twind.js 'brotli package size (without dependencies)')
[![Typescript](https://flat.badgen.net/badge/icon/included?icon=typescript&label)](https://unpkg.com/browse/twind/twind.d.ts)
[![Documentation](https://flat.badgen.net/badge/icon/Documentation?icon=awesome&label)](https://twind.dev/docs)
[![Github](https://flat.badgen.net/badge/icon/tw-in-js%2Ftwind?icon=github&label)](https://github.com/tw-in-js/twind)

@@ -16,64 +14,39 @@ [![Discord](https://flat.badgen.net/badge/icon/discord?icon=discord&label)](https://discord.com/invite/2aP5NkszvD)

<details><summary>Quick Links (click to expand)</summary>
- [Documentation](#documentation)
- [Quickstart](#quickstart)
- [Advantages](#advantages)
- [Rationale](#rationale)
- [Why Twind?](#why-twind)
- [Advantages](#advantages)
- [Documentation](https://github.com/tw-in-js/twind/tree/main/docs#readme)
- Getting Started
- [Installation](https://github.com/tw-in-js/twind/tree/main/docs/installation.md) - how to install `twind` or apply `twind/shim`
- [Setup](https://github.com/tw-in-js/twind/tree/main/docs/setup.md) - how to use `setup`
- [Theming](https://github.com/tw-in-js/twind/tree/main/docs/setup.md#theme) - how to apply your theme
- [Examples](https://github.com/tw-in-js/twind/tree/main/docs/examples.md) - how to integrate with different frameworks
- [Shim](https://github.com/tw-in-js/twind/tree/main/docs/shim.md) - how to use tailwind classes without `tw`
- Usage
- [`tw` Function](https://github.com/tw-in-js/twind/tree/main/docs/tw.md) - how to use `tw`
- [Grouping](https://github.com/tw-in-js/twind/tree/main/docs/grouping.md) - how to optimize rules size
- [Tailwind Extensions](https://github.com/tw-in-js/twind/tree/main/docs/tailwind-extensions.md) - which additional features are available
- [CSS-in-JS](https://github.com/tw-in-js/twind/tree/main/docs/css-in-js.md) - how to apply custom css
- [Components](https://github.com/tw-in-js/twind/tree/main/docs/components.md) - how to define component styles
- [Plugins](https://github.com/tw-in-js/twind/tree/main/docs/plugins.md) - how to extend twind
- [Testing](https://github.com/tw-in-js/twind/tree/main/docs/sheets.md) - how to verify the generated class names
- [Static Extraction (SSR)](https://github.com/tw-in-js/twind/tree/main/docs/ssr.md) - how to extract the generated css on the server
- Modules
- twind - [tw](https://github.com/tw-in-js/twind/tree/main/docs/tw.md) and [setup](https://github.com/tw-in-js/twind/tree/main/docs/setup.md)
- [twind/colors](https://github.com/tw-in-js/twind/tree/main/docs/setup.md#colors) - the Tailwind v2 [extended color palette](https://tailwindcss.com/docs/customizing-colors#color-palette-reference)
- [twind/css](https://github.com/tw-in-js/twind/tree/main/docs/css-in-js.md) - how to apply custom css
- [twind/observe](https://github.com/tw-in-js/twind/tree/main/docs/observe.md) - the base for [twind/shim](https://github.com/tw-in-js/twind/tree/main/docs/installation.md#twindshim) which can be used standalone
- [twind/server](https://github.com/tw-in-js/twind/tree/main/docs/ssr.md) - how to extract the generated css on the server
- [twind/sheets](https://github.com/tw-in-js/twind/tree/main/docs/sheets.md) - several additional sheet implementations that can be used with [setup({ sheet })](https://github.com/tw-in-js/twind/tree/main/docs/setup.md#sheet).
- [twind/shim](https://github.com/tw-in-js/twind/tree/main/docs/shim.md##client-side-dynamic-extraction) - allows to copy-paste tailwind examples
- [twind/shim/server](https://github.com/tw-in-js/twind/tree/main/docs/shim.md#server-side-static-extraction) - generate CSS from static HTML
- Supporting Materials
- [Tailwind Documentation](https://tailwindcss.com)
- [Browser Support](https://github.com/tw-in-js/twind/tree/main/docs/browser-support.md)
- [Contributing](https://github.com/tw-in-js/twind/tree/main/docs/contributing.md)
- [Architecture](https://github.com/tw-in-js/twind/tree/main/docs/architecture.md)
- [Benchmarks](#benchmarks) - how does twind compare to other libraries
- [Inspiration](#inspiration) - who inspired us
- [Changelog](https://github.com/tw-in-js/twind/releases) - what is new
- [Release Notes](https://twind.dev/docs/handbook/release-notes.html) & [Changelog](https://github.com/tw-in-js/twind/releases) - what is new
</details>
---
If you are here then the likelihood is that you using Tailwind or a CSS-in-JS solution such as styled-components, emotion or goober in order to style your web applications. These packages have proven overwhelmingly popular and revolutionized web development as we know it.
If you are here then the likelihood is that you are using Tailwind or a CSS-in-JS solution such as styled-components, Emotion or goober in order to style your web applications. These packages have proven overwhelmingly popular and revolutionized web development as we know it.
The purpose of this project is unify these two approaches; embracing the flexibility of CSS-in-JS whilst conforming to the carefully considered constraints of the Tailwind API.
The purpose of this project is to unify these two approaches; embracing the flexibility of CSS-in-JS whilst conforming to the carefully considered constraints of the Tailwind API.
We hope to create a place for likeminded people to discuss issues, share ideas and collaborate.
## [Documentation](https://twind.dev/docs)
Frequently viewed docs:
- [Installation](https://twind.dev/docs/handbook/getting-started/installation.html) - how to install `twind`
- [Styling with Twind](https://twind.dev/docs/handbook/getting-started/styling-with-twind.html) - how to style with Twind
- [Shim](https://twind.dev/docs/handbook/getting-started/using-the-shim.html) - seamless integration with existing Tailwind HTML
- [Grouping](https://twind.dev/docs/handbook/getting-started/thinking-in-groups.html) - how to optimize rules size
- [Theming](https://twind.dev/docs/handbook/getting-started/customize-the-theme.html) - how to apply your theme
- [CSS-in-JS](https://twind.dev/docs/handbook/getting-started/css-in-js.html) - how to apply custom CSS
- [Setup](https://twind.dev/docs/handbook/advanced/setup.html) - how to use `setup`
- [Components](https://twind.dev/docs/handbook/advanced/defining-components.html) - how to define component styles
- [Tailwind Extensions](https://twind.dev/docs/handbook/getting-started/tailwind-extensions.html) - which additional features are available
- [Static Extraction (SSR)](https://twind.dev/docs/handbook/advanced/extract.html) - how to extract the generated CSS on the server
- [Recipes](https://twind.dev/docs/handbook/recipes.html) - how to use with framework X
- [Modules](https://twind.dev/docs/handbook/getting-started/modules.html) - which modules are available
## Quickstart
If you would like to get started with twind right away then copy paste this code into your favorite sandbox.
If you would like to get started with Twind right away then copy paste this code into your favorite sandbox:

@@ -90,5 +63,5 @@ ```js

Alternatively try the [live and interactive demo](https://esm.codes/#aW1wb3J0IHsgdHcgfSBmcm9tICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZCcKCmRvY3VtZW50LmJvZHkuaW5uZXJIVE1MID0gYAogIDxtYWluIGNsYXNzPSIke3R3YGgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXJgfSI+CiAgICA8aDEgY2xhc3M9IiR7dHdgZm9udC1ib2xkIHRleHQoY2VudGVyIDV4bCB3aGl0ZSBzbTpncmF5LTgwMCBtZDpwaW5rLTcwMClgfSI+VGhpcyBpcyBUd2luZCE8L2gxPgogIDwvbWFpbj4KYA==) and take a look at the [installation guide](https://github.com/tw-in-js/twind/blob/main/docs/installation.md).
Alternatively try the 🚀 [live and interactive demo](https://esm.codes/#aW1wb3J0IHsgdHcgfSBmcm9tICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZCcKCmRvY3VtZW50LmJvZHkuaW5uZXJIVE1MID0gYAogIDxtYWluIGNsYXNzPSIke3R3YGgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXJgfSI+CiAgICA8aDEgY2xhc3M9IiR7dHdgZm9udC1ib2xkIHRleHQoY2VudGVyIDV4bCB3aGl0ZSBzbTpncmF5LTgwMCBtZDpwaW5rLTcwMClgfSI+VGhpcyBpcyBUd2luZCE8L2gxPgogIDwvbWFpbj4KYA==) and take a look at the [installation guide](https://twind.dev/docs/handbook/getting-started/installation.html).
For seamless integration with existing Tailwind HTML you can use [twind/shim](https://github.com/tw-in-js/twind/blob/main/docs/installation.md#twindshim):
For seamless integration with existing Tailwind HTML you can use [twind/shim](https://twind.dev/docs/handbook/getting-started/using-the-shim.html):

@@ -103,29 +76,13 @@ ```html

Try `twind/shim` in the [live and interactive shim demo](https://esm.codes/#aW1wb3J0ICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZC9zaGltJwoKZG9jdW1lbnQuYm9keS5pbm5lckhUTUwgPSBgCiAgPG1haW4gY2xhc3M9Imgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXIiPgogICAgPGgxIGNsYXNzPSJmb250LWJvbGQgdGV4dChjZW50ZXIgNXhsIHdoaXRlIHNtOmdyYXktODAwIG1kOnBpbmstNzAwKSI+CiAgICAgIFRoaXMgaXMgVHdpbmQhCiAgICA8L2gxPgogIDwvbWFpbj4KYA==)
Try `twind/shim` in the 🚀 [live and interactive shim demo](https://esm.codes/#aW1wb3J0ICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZC9zaGltJwoKZG9jdW1lbnQuYm9keS5pbm5lckhUTUwgPSBgCiAgPG1haW4gY2xhc3M9Imgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXIiPgogICAgPGgxIGNsYXNzPSJmb250LWJvbGQgdGV4dChjZW50ZXIgNXhsIHdoaXRlIHNtOmdyYXktODAwIG1kOnBpbmstNzAwKSI+CiAgICAgIFRoaXMgaXMgVHdpbmQhCiAgICA8L2gxPgogIDwvbWFpbj4KYA==)
> 📚 For more detailed instruction on usage please [read the documentation](https://github.com/tw-in-js/twind/tree/main/docs#readme) and check out [this extended demo](https://esm.codes/#aW1wb3J0IHsgdHcsIHNldHVwIH0gZnJvbSAnaHR0cHM6Ly9jZG4uc2t5cGFjay5kZXYvdHdpbmQnCgpzZXR1cCh7CiAgdGhlbWU6IHsKICAgIC8vIEV4YW1wbGUgb2YgZXh0ZW5kaW5nIHRoZSBkZWZhdWx0IHRoZW1lCiAgICBleHRlbmQ6IHsKICAgICAgY29sb3JzOiB7IGhvdHBpbms6ICcjRkYwMEZGJyB9LAogICAgICByb3RhdGU6IHsgNTogJzVkZWcnIH0KICAgIH0KICB9Cn0pCgpjb25zdCBhcHAgPSAoKSA9PiBgCiAgICA8ZGl2IGNsYXNzPScke3N0eWxlLmNvbnRhaW5lcn0nPgogICAgICA8aDEgY2xhc3M9JyR7CiAgICAgICAgLy8gRXhhbXBsZSBvZiBhbiBpbmxpbmUgc3R5bGUKICAgICAgICB0d2AKICAgICAgICAgIHRleHQod2hpdGUgNHhsKQogICAgICAgICAgZm9udChib2xkIHNhbnMpCiAgICAgICAgICB0cmFuc2l0aW9uLXRyYW5zZm9ybQogICAgICAgICAgaG92ZXI6KAogICAgICAgICAgICByb3RhdGUtNQogICAgICAgICAgICBzY2FsZS0xNTAKICAgICAgICAgICAgY3Vyc29yLXBvaW50ZXIKICAgICAgICAgICkKICAgICAgICBgCiAgICAgIH0nPkhlbGxvIFdvcmxkPC9oMT4KICAgIDwvZGl2PgogIGA7CiAgCiAgCmNvbnN0IHN0eWxlID0gewogIC8vIEV4YW1wbGUgb2YgYWJzdHJhY3RlZCBzdHlsZQogIGNvbnRhaW5lcjogdHdgCiAgICBoLWZ1bGwKICAgIGJnLWhvdHBpbmsKICAgIGZsZXgKICAgIGl0ZW1zLWNlbnRlcgogICAganVzdGlmeS1jZW50ZXIKICBgCn0KCmRvY3VtZW50LmJvZHkuaW5uZXJIVE1MID0gYXBwKCk=)
> 📚 For more detailed instruction on usage please [read the documentation](https://twind.dev/docs/handbook/getting-started.html) and check out [this extended demo](https://esm.codes/#aW1wb3J0IHsgdHcsIHNldHVwIH0gZnJvbSAnaHR0cHM6Ly9jZG4uc2t5cGFjay5kZXYvdHdpbmQnCgpzZXR1cCh7CiAgdGhlbWU6IHsKICAgIC8vIEV4YW1wbGUgb2YgZXh0ZW5kaW5nIHRoZSBkZWZhdWx0IHRoZW1lCiAgICBleHRlbmQ6IHsKICAgICAgY29sb3JzOiB7IGhvdHBpbms6ICcjRkYwMEZGJyB9LAogICAgICByb3RhdGU6IHsgNTogJzVkZWcnIH0KICAgIH0KICB9Cn0pCgpjb25zdCBhcHAgPSAoKSA9PiBgCiAgICA8ZGl2IGNsYXNzPScke3N0eWxlLmNvbnRhaW5lcn0nPgogICAgICA8aDEgY2xhc3M9JyR7CiAgICAgICAgLy8gRXhhbXBsZSBvZiBhbiBpbmxpbmUgc3R5bGUKICAgICAgICB0d2AKICAgICAgICAgIHRleHQod2hpdGUgNHhsKQogICAgICAgICAgZm9udChib2xkIHNhbnMpCiAgICAgICAgICB0cmFuc2l0aW9uLXRyYW5zZm9ybQogICAgICAgICAgaG92ZXI6KAogICAgICAgICAgICByb3RhdGUtNQogICAgICAgICAgICBzY2FsZS0xNTAKICAgICAgICAgICAgY3Vyc29yLXBvaW50ZXIKICAgICAgICAgICkKICAgICAgICBgCiAgICAgIH0nPkhlbGxvIFdvcmxkPC9oMT4KICAgIDwvZGl2PgogIGA7CiAgCiAgCmNvbnN0IHN0eWxlID0gewogIC8vIEV4YW1wbGUgb2YgYWJzdHJhY3RlZCBzdHlsZQogIGNvbnRhaW5lcjogdHdgCiAgICBoLWZ1bGwKICAgIGJnLWhvdHBpbmsKICAgIGZsZXgKICAgIGl0ZW1zLWNlbnRlcgogICAganVzdGlmeS1jZW50ZXIKICBgCn0KCmRvY3VtZW50LmJvZHkuaW5uZXJIVE1MID0gYXBwKCk=)
## Rationale
## Advantages
This project was started by the authors of two similar libraries – [oceanwind](https://github.com/lukejacksonn/oceanwind) and [beamwind](https://github.com/kenoxa/beamwind) – who chose to collaborate rather than compete with each other in this space.
> 💡 You can click on each summary to show additional details.
> Combining efforts has saved us time and resulted in a much more complete and production ready offering.
Furthermore we were able to agree on and coin some standards for certain aspects of the implementation based on our collective learnings; things like parsing input, [grouping syntax](https://github.com/tw-in-js/twind/blob/main/docs/grouping.md), prescedence calculation and [plugin API](https://github.com/tw-in-js/twind/blob/main/docs/plugins.md).
## Why twind?
A lot of developers ask _"Why not just use Tailwind?"_ and our answer is always that you should use Tailwind, it is an absolutely incredible API with amazing documentation!
> I've wanted to do a CSS-in-JS flavor of Tailwind for over 2 years because of all the neat benefits you get there so it's cool to see projects like this! – [@adamwathan](https://twitter.com/adamwathan/status/1320370489408225282)
However, if like us you are already building your app in JS using a framework like react, preact, vue or svelte, rather than just static HTML, then compiling Tailwind shorthand just in time (like twind does) rather than ahead of time like with Tailwind and PostCSS, comes with a lot of advantages.
### Advantages
> _Hint_ You can click on each summary to show additional details.
<details><summary>⚡️ No build step</summary>
In fact, there is no dependency on Tailwind or PostCSS at all. This makes it possible to use twind without a development server. The various ways how to start using twind are described in the [installation guide](https://github.com/tw-in-js/twind/blob/main/docs/installation.md).
In fact, there is no dependency on Tailwind or PostCSS at all. This makes it possible to use Twind without a development server. The various ways how to start using twind are described in the [installation guide](https://twind.dev/docs/handbook/getting-started/installation.html).

@@ -144,3 +101,3 @@ ```js

> [live and interactive demo](https://esm.codes/#aW1wb3J0IHsgdHcgfSBmcm9tICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZCcKCmRvY3VtZW50LmJvZHkuaW5uZXJIVE1MID0gYAogIDxtYWluIGNsYXNzPSIke3R3YGgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXJgfSI+CiAgICA8aDEgY2xhc3M9IiR7dHdgZm9udC1ib2xkIHRleHQoY2VudGVyIDV4bCB3aGl0ZSBzbTpncmF5LTgwMCBtZDpwaW5rLTcwMClgfSI+CiAgICAgIFRoaXMgaXMgVHdpbmQhCiAgICA8L2gxPgogIDwvbWFpbj4KYA==)
> 🚀 [live and interactive demo](https://esm.codes/#aW1wb3J0IHsgdHcgfSBmcm9tICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZCcKCmRvY3VtZW50LmJvZHkuaW5uZXJIVE1MID0gYAogIDxtYWluIGNsYXNzPSIke3R3YGgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXJgfSI+CiAgICA8aDEgY2xhc3M9IiR7dHdgZm9udC1ib2xkIHRleHQoY2VudGVyIDV4bCB3aGl0ZSBzbTpncmF5LTgwMCBtZDpwaW5rLTcwMClgfSI+CiAgICAgIFRoaXMgaXMgVHdpbmQhCiAgICA8L2gxPgogIDwvbWFpbj4KYA==)

@@ -151,3 +108,3 @@ </details>

It might not always be desirable to generate rules by invoking the compiler directly via function call. In this case you may use the [shim module](https://github.com/tw-in-js/twind/blob/main/docs/installation.md#twindshim) which finds and replaces class names within HTML, generating styles appropriately. This feature can be used together with your favorite framework without any additional setup. This is especially useful during development too; for example when editing classes in the inspector.
It might not always be desirable to generate rules by invoking the compiler directly via function call. In this case you may use the [shim module](https://twind.dev/docs/handbook/getting-started/using-the-shim.html) which finds and replaces class names within HTML, generating styles appropriately. This feature can be used together with your favorite framework without any additional setup. This is especially useful during development too; for example when editing classes in the inspector.

@@ -162,3 +119,3 @@ ```html

> [live and interactive shim demo](https://esm.codes/#aW1wb3J0ICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZC9zaGltJwoKZG9jdW1lbnQuYm9keS5pbm5lckhUTUwgPSBgCiAgPG1haW4gY2xhc3M9Imgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXIiPgogICAgPGgxIGNsYXNzPSJmb250LWJvbGQgdGV4dChjZW50ZXIgNXhsIHdoaXRlIHNtOmdyYXktODAwIG1kOnBpbmstNzAwKSI+CiAgICAgIFRoaXMgaXMgVHdpbmQhCiAgICA8L2gxPgogIDwvbWFpbj4KYA==)
> 🚀 [live and interactive shim demo](https://esm.codes/#aW1wb3J0ICdodHRwczovL2Nkbi5za3lwYWNrLmRldi90d2luZC9zaGltJwoKZG9jdW1lbnQuYm9keS5pbm5lckhUTUwgPSBgCiAgPG1haW4gY2xhc3M9Imgtc2NyZWVuIGJnLXB1cnBsZS00MDAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXIiPgogICAgPGgxIGNsYXNzPSJmb250LWJvbGQgdGV4dChjZW50ZXIgNXhsIHdoaXRlIHNtOmdyYXktODAwIG1kOnBpbmstNzAwKSI+CiAgICAgIFRoaXMgaXMgVHdpbmQhCiAgICA8L2gxPgogIDwvbWFpbj4KYA==)

@@ -169,3 +126,3 @@ </details>

By shipping the compiler (rather than the resultant output) there is a known and fixed cost associated with styling. No matter how many styles you write or how many variants you use, all that your users will ever have to download is approximately 12Kb of code (which is less than styled-components or your average purged Tailwind build).
By shipping the compiler (rather than the resultant output) there is a known and fixed cost associated with styling. No matter how many styles you write or how many variants you use, all that your users will ever have to download is approximately 12KB of code (which is less than styled-components or your average purged Tailwind build).

@@ -176,7 +133,7 @@ </details>

> The following list is just an excerpt. Please take a look at the [Tailwind Extensions](https://github.com/tw-in-js/twind/tree/main/docs/tailwind-extensions.md) documentation page.
> 💡 The following list is just an excerpt. Please take a look at the [Tailwind Extensions](https://twind.dev/docs/handbook/getting-started/tailwind-extensions.html) documentation page.
- Custom syntax for grouping directives and variants
Having control over the interpreter affords us the possibility of defining terse syntax for [grouping responsive and pseudo variants](https://github.com/tw-in-js/twind/blob/main/docs/grouping.md) as well as directives with common prefixes. This massively reduces repetition and improves comprehension.
Having control over the interpreter affords us the possibility of defining terse syntax for [grouping responsive and pseudo variants](https://twind.dev/docs/handbook/getting-started/thinking-in-groups.html) as well as directives with common prefixes. This massively reduces repetition and improves comprehension.

@@ -201,3 +158,3 @@ ```js

- Most pseudo classes can be uses as variant or `group-*` variant
- Most pseudo classes can be used as variant or `group-*` variant

@@ -225,3 +182,3 @@ Unknown variants (not listed in [core variants](https://github.com/tw-in-js/twind/blob/main/src/twind/variants.ts)) are assumed to be [pseudo classes](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes).

Please see [Installation - Dark Mode](https://github.com/tw-in-js/twind/tree/main/docs//setup.md#dark-mode) for details.
Please see [Installation - Dark Mode](https://twind.dev/docs/handbook/advanced/setup.html#dark-mode) for details.

@@ -234,3 +191,3 @@ </details>

> It is possible to [customize or disable the preflight](https://github.com/tw-in-js/twind/blob/main/docs/setup.md#preflight).
> 💡 It is possible to [customize or disable the preflight](https://twind.dev/docs/handbook/advanced/setup.html#preflight).

@@ -243,3 +200,3 @@ </details>

> For further details please read the [theme section](https://github.com/tw-in-js/twind/blob/main/docs/setup.md#theme) within the [installation guide](https://github.com/tw-in-js/twind/blob/main/docs/setup.md).
> 💡 For further details please read the [theme guide](https://twind.dev/docs/handbook/getting-started/customize-the-theme.html).

@@ -250,5 +207,5 @@ </details>

The compiler [accepts functions](https://github.com/tw-in-js/twind/blob/main/docs/tw.md#inline-plugins) that can return arbritary CSS-in-JS objects. A convenient a escape hatch for all those one off rules which aren't supported by tailwind. The `&` keyword allows you to write complex rules (like pseudo elements `&::before` and `&::after`) that are beyond the scope of inline styles without having to add another dependency.
The compiler [accepts functions](https://twind.dev/docs/modules/twind.html#inline-plugins) that can return arbitrary CSS-in-JS objects. A convenient escape hatch for all those one-off rules which aren't supported by Tailwind. The `&` keyword allows you to write complex rules (like pseudo elements `&::before` and `&::after`) that are beyond the scope of inline styles without having to add another dependency.
> We provide a [css helper](https://github.com/tw-in-js/twind/tree/main/docs/css-in-js.md) as a convenience for this case.
> 💡 We provide a [css helper](https://twind.dev/docs/handbook/getting-started/css-in-js.html) as a convenience for this case.

@@ -259,3 +216,3 @@ </details>

Input is not limited to strings like with HTML classes. The [Twind function](https://github.com/tw-in-js/twind/tree/main/docs/tw.md) accept arrays, objects, template literals, functions, almost everything! The interpreter spec is inspired by and very similar to [clsx](https://github.com/lukeed/clsx) and offers a much more developer friendly API that handles null values gracefully.
Input is not limited to strings like with HTML classes. The [`tw` function](https://twind.dev/docs/handbook/getting-started/styling-with-twind.html#the-tw-function) accept arrays, objects, template literals, functions, almost everything! The interpreter spec is inspired by and is very similar to [clsx](https://github.com/lukeed/clsx) and offers a much more developer friendly API that handles null values gracefully.

@@ -266,3 +223,3 @@ </details>

Using template literals as input ([the recommended method](https://github.com/tw-in-js/twind/blob/main/docs/tw.md#template-literal-recommended)) or even [object syntax](https://github.com/tw-in-js/twind/blob/main/docs/tw.md#objects) allows you to break rules over multiple lines, drastically improving readability and maintainability of complex rules.
Using template literals as input ([the recommended method](https://twind.dev/docs/modules/twind.html#tw-function)) or even object syntax allows you to break rules over multiple lines, drastically improving readability and maintainability of complex rules.

@@ -273,3 +230,3 @@ </details>

By default no hashing is enabled to aid debugging during development. However it is possible to configure Twind to [hash class names](https://github.com/tw-in-js/twind/blob/main/docs/setup.md#hash) before injecting them into the DOM. This may be useful in production as it can reduce the down the wire size of server side rendered pages pages and eliminates any chance of class name conflicts with third party styles.
By default no hashing is enabled to aid debugging during development. However it is possible to configure Twind to [hash class names](https://twind.dev/docs/handbook/advanced/setup.html#hash) before injecting them into the DOM. This may be useful in production as it can reduce the down-the-wire size of server-side rendered pages and eliminates any chance of class name conflicts with third party styles.

@@ -280,3 +237,3 @@ </details>

Given the limited grammar that the compiler has to support there is a much higher chance of finding a rule and its variant in the cache, because of this along with some other specialist optimizations we are able to compile and inject CSS [faster than all the popular](#benchmarks) CSS-in-JS solutions.
Given the limited grammar that the compiler has to support there is a much higher chance of finding a rule and its variant in the cache. Because of this along with some other specialist optimizations we are able to compile and inject CSS [faster than all the popular](#benchmarks) CSS-in-JS solutions.

@@ -287,3 +244,3 @@ </details>

Extending the grammar is trivial and can be achieved by providing functions _inline_ or by generalizing inline rules and defining them during setup under [the _plugins_ key](https://github.com/tw-in-js/twind/blob/main/docs/plugins.md).
Extending the grammar is trivial and can be achieved by providing functions _inline_ or by generalizing inline rules and defining them during setup under [the _plugins_ key](https://twind.dev/docs/handbook/advanced/plugins.html).

@@ -294,43 +251,62 @@ </details>

The compiler itself is not reliant on the DOM at all which makes it an ideal candidate for static extraction which essentially removes all runtime overhead. This is possible during [SSR](https://github.com/tw-in-js/twind/tree/main/docs/ssr.md) or build time prepass.
The compiler itself is not reliant on the DOM at all which makes it an ideal candidate for static extraction which essentially removes all runtime overhead. This is possible during [SSR](https://twind.dev/docs/handbook/advanced/ssr.md) or build time prepass.
</details>
## Example
## Rationale
The following snippet demonstrates typical usage of both the `tw` and `setup` functions:
This project was started by the authors of two similar libraries – [oceanwind](https://github.com/lukejacksonn/oceanwind) and [beamwind](https://github.com/kenoxa/beamwind) – who chose to collaborate rather than compete with each other in this space.
```js
import { tw, setup } from 'https://cdn.skypack.dev/twind'
> Combining efforts has saved us time and resulted in a much more complete and production ready offering.
setup({
theme: {
extend: {
colors: { hotpink: '#FF00FF' },
rotate: { 5: '5deg' },
},
},
})
Furthermore we were able to agree on and coin some standards for certain aspects of the implementation based on our collective learnings; things like parsing input, [grouping syntax](https://twind.dev/docs/handbook/getting-started/thinking-in-groups.html), precedence calculation and [plugin API](https://twind.dev/docs/handbook/advanced/plugins.html).
document.body.innerHTML = `
<div class='${tw`
h-full
flex items-center justify-center
bg(hotpink sm:purple-500 md:green-500)
`}'>
<h1 class='${tw`
text(white 4xl)
font(bold sans)
transition-transform
hover:(rotate-5 scale-150 cursor-pointer)
`}'>Hello World</h1>
</div>
`
```
## Why twind?
Try this example in the [live and interactive demo](https://esm.codes/#aW1wb3J0IHsgdHcsIHNldHVwIH0gZnJvbSAnaHR0cHM6Ly9jZG4uc2t5cGFjay5kZXYvdHdpbmQnCgpzZXR1cCh7CiAgcHJlZmxpZ2h0OiB0cnVlLCAvLyBJbmNsdWRlIFRhaWx3aW5kIGJhc2UgcmVzZXQKICB0aGVtZTogewogICAgZXh0ZW5kOiB7CiAgICAgIGNvbG9yczogeyBob3RwaW5rOiAnI0ZGMDBGRicgfSwKICAgICAgcm90YXRlOiB7IDU6ICc1ZGVnJyB9LAogICAgfSwKICB9LAp9KQoKZG9jdW1lbnQuYm9keS5pbm5lckhUTUwgPSBgCiAgPGRpdiBjbGFzcz0nJHt0d2AKICAgIGgtZnVsbAogICAgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1jZW50ZXIKICAgIGJnKGhvdHBpbmsgc206cHVycGxlLTUwMCBtZDpncmVlbi01MDApCiAgYH0nPgogICAgPGgxIGNsYXNzPScke3R3YAogICAgICB0ZXh0KHdoaXRlIDR4bCkKICAgICAgZm9udChib2xkIHNhbnMpCiAgICAgIHRyYW5zaXRpb24tdHJhbnNmb3JtCiAgICAgIGhvdmVyOihyb3RhdGUtNSBzY2FsZS0xNTAgY3Vyc29yLXBvaW50ZXIpCiAgICBgfSc+SGVsbG8gV29ybGQ8L2gxPgogIDwvZGl2PgpgCg==).
A lot of developers ask _"Why not just use Tailwind?"_ and our answer is always that you should use Tailwind, it is an absolutely incredible API with amazing documentation!
> I've wanted to do a CSS-in-JS flavor of Tailwind for over 2 years because of all the neat benefits you get there so it's cool to see projects like this! – [@adamwathan](https://twitter.com/adamwathan/status/1320370489408225282)
However, if like us you are already building your app in JS using a framework like React, Preact, Vue or Svelte, rather than just static HTML, then compiling Tailwind shorthands just in time (like twind does) rather than ahead of time like with Tailwind and PostCSS, comes with a lot of advantages.
### Challenges
The core problems we are trying to solve here are as follows:
1. Parsing Input: taking input and normalizing it to create a comprehendable set of Tailwind rules
2. Compiling Rules: taking a set of Tailwind rules and translating them into appropriate CSS rules
3. Injecting Styles: taking CSS rules and generating classes that get append to a stylesheet in the DOM
4. Merging Themes: combining themes which configure and constrain the compiler
5. Custom Plugins: taking functions and using them to extend the capabilities of the compiler
This has to happen in a performant way at runtime, whilst adhering to Tailwind V2 as a language specification. All grammars that exist in Tailwind should be covered by this implementation.
### Opportunities
Simply recreating a tailwind like experience at runtime might seem like a futile exercise but we'd like to believe it opens up the doors to some exciting new possibilities. There is always going to be a tradeoff between compiling at ahead of time and compiling _just in time_, however we are confident the upsides here are significant enough to persue a runtime implementation and the results have been promising so far.
> Note it is still possible to remove all runtime overhead via a prepass either at serve or built time
The flexible nature of a runtime first approach affords us possibilities like:
- Dynamic Theming: generating new themes on the fly without the need to rebuilding anything
- Unlimited Variants: enabling every variant combination by default because unused rules are never generated
- Enhanced Syntax: taking advantage of macros within template literals to create more terse rules
- Error Handling: warning the developer about unknown directives and theme values
- Hashing Classes: reducing the overall output size and eliminating conflicts via deterministic hashing
- [Inline Plugins](https://twind.dev/docs/handbook/advanced/plugins.html#inline-plugins): extending the capabilities of the compiler with simple functions at runtime
Another big advantage we see of shipping the interpreter compiler itself (rather than pre-compiled output) is that the effective size of the CSS for your whole app is deterministic and fixed. The weight of the compiler itself along with your theme file is all that users will ever download, no matter how many styles you use.
Currently the compiler weighs around 12KB which is smaller than styled-components and the average tailwind output.
### Motivation
It goes without saying that the primary inspiration here comes from Tailwind. It is a revolutionary take on styling the web which has proven popular by designers and developers alike. All the core plugins here, abide by the rules painstakingly thought out, implemented and popularized by Adam Wathan et al. making us forever in his debt.
We hope one day we will get the chance to collaborate with Tailwind Labs to create an official implementation!
## Benchmarks
The implementation is tested for speed alongside several popular CSS-in-JS solutions that export general css functions. For those that only support a _styled component_ approach an equivalent test has been setup. Currently Twind is the fastest in both scenarios in part due to optimal caching of static parts from template literals.
The implementation is tested for speed alongside several popular CSS-in-JS solutions that export general CSS functions. For those that only support a _styled component_ approach an equivalent test has been setup. Currently Twind is the fastest in both scenarios in part due to optimal caching of static parts from template literals.

@@ -360,5 +336,5 @@ ### CSS Function w/ template literal

It would be untrue to suggest that the design here is totally original, other than the founders initial attempts at implementing such a module ([oceanwind](https://github.com/lukejacksonn/oceanwind) and [beamwind](https://github.com/kenoxa/beamwind)) we are truly standing on the shoulders of giants.
It would be untrue to suggest that the design here is totally original. Other than the founders' initial attempts at implementing such a module ([oceanwind](https://github.com/lukejacksonn/oceanwind) and [beamwind](https://github.com/kenoxa/beamwind)) we are truly standing on the shoulders of giants.
- [tailwind](https://tailwindcss.com/): created a wonderfully thought out API on which the compiler's grammar was defined.
- [Tailwind](https://tailwindcss.com/): created a wonderfully thought out API on which the compiler's grammar was defined.
- [styled-components](https://styled-components.com/): implemented and popularized the advantages of doing CSS-in-JS.

@@ -369,4 +345,4 @@ - [htm](https://github.com/developit/htm): a JSX compiler that proved there is merit in doing runtime compilation of DSLs like JSX.

- [clsx](https://github.com/lukeed/clsx): a tiny utility for constructing class name strings conditionally.
- [style-vendorizer](https://github.com/kripod/style-vendorizer): essentials CSS prefixing helpers in less than 1KB of JavaScript.
- [csstype](https://github.com/frenic/csstype): providing autocompletion and type checking for CSS properties and values.
- [style-vendorizer](https://github.com/kripod/style-vendorizer): essential CSS prefixing helpers in less than 1KB of JavaScript.
- [CSSType](https://github.com/frenic/csstype): providing autocompletion and type checking for CSS properties and values.

@@ -373,0 +349,0 @@ ## License

@@ -14,9 +14,12 @@ import { PropertiesFallback, PropertiesHyphenFallback } from 'csstype';

interface TW {
interface TWCallable {
(strings: TemplateStringsArray, ...interpolations: Token[]): string;
(...tokens: Token[]): string;
}
interface TW extends TWCallable {
theme: ThemeResolver;
}
interface Context {
/** Allow composition */
readonly tw: TW;
readonly tw: TWCallable;
/** Access to theme values */

@@ -23,0 +26,0 @@ readonly theme: ThemeResolver;

@@ -14,9 +14,12 @@ import { PropertiesFallback, PropertiesHyphenFallback } from 'csstype';

interface TW {
interface TWCallable {
(strings: TemplateStringsArray, ...interpolations: Token[]): string;
(...tokens: Token[]): string;
}
interface TW extends TWCallable {
theme: ThemeResolver;
}
interface Context {
/** Allow composition */
readonly tw: TW;
readonly tw: TWCallable;
/** Access to theme values */

@@ -23,0 +26,0 @@ readonly theme: ThemeResolver;

@@ -13,3 +13,3 @@ import { PropertiesFallback, PropertiesHyphenFallback } from 'csstype';

interface TW {
interface TWCallable {
(strings: TemplateStringsArray, ...interpolations: Token[]): string;

@@ -20,3 +20,3 @@ (...tokens: Token[]): string;

/** Allow composition */
readonly tw: TW;
readonly tw: TWCallable;
/** Access to theme values */

@@ -23,0 +23,0 @@ readonly theme: ThemeResolver;

@@ -13,9 +13,12 @@ import { PropertiesFallback, PropertiesHyphenFallback, SimplePseudos } from 'csstype';

interface TW {
interface TWCallable {
(strings: TemplateStringsArray, ...interpolations: Token[]): string;
(...tokens: Token[]): string;
}
interface TW extends TWCallable {
theme: ThemeResolver;
}
interface Context {
/** Allow composition */
readonly tw: TW;
readonly tw: TWCallable;
/** Access to theme values */

@@ -357,3 +360,3 @@ readonly theme: ThemeResolver;

export { Apply, CSSAtKeyframes, CSSAtMedia, CSSAtSupports, CSSCustomProperties, CSSProperties, CSSPseudos, CSSRules, CSSRulesThunk, CSSSimplePseudos, Configuration, Context, DarkMode, Directive, DirectiveHandler, Falsy, Hasher, InlineDirective, Instance, MaybeArray, MaybeThunk, Mode, Plugin, Plugins, Prefixer, Preflight, ReportInfo, Rule, Sheet, SheetConfig, SheetInit, SheetInitCallback, TW, Theme, ThemeColor, ThemeColorObject, ThemeConfiguration, ThemeContainer, ThemeFontSize, ThemeHelper, ThemeOutline, ThemeResolver, ThemeScreen, ThemeScreenValue, ThemeSection, ThemeSectionRecord, ThemeSectionResolver, ThemeSectionResolverContext, ThemeSectionType, Token, TokenGrouping, TypescriptCompat, Unwrap, apply, autoprefix, create, cssomSheet, directive, cyrb32 as hash, mode, noprefix, setup, silent, strict, theme, tw, voidSheet, warn };
export { Apply, CSSAtKeyframes, CSSAtMedia, CSSAtSupports, CSSCustomProperties, CSSProperties, CSSPseudos, CSSRules, CSSRulesThunk, CSSSimplePseudos, Configuration, Context, DarkMode, Directive, DirectiveHandler, Falsy, Hasher, InlineDirective, Instance, MaybeArray, MaybeThunk, Mode, Plugin, Plugins, Prefixer, Preflight, ReportInfo, Rule, 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, apply, autoprefix, create, cssomSheet, directive, cyrb32 as hash, mode, noprefix, setup, silent, strict, theme, tw, voidSheet, warn };
//# sourceMappingURL=twind.d.ts.map

@@ -1,3 +0,3 @@

var b=e=>typeof e=="string",U=e=>e!=null&&typeof e=="object",S=e=>typeof e=="function",h=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),te=(e,t)=>u(e.filter(Boolean),t),g=(e,t=1)=>e.slice(t),_e=e=>e,ue=()=>{},Ue=e=>e[0].toUpperCase()+g(e),Ce=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),K=(e,t)=>{for(;S(e);)e=e(t);return e},ge=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},Te=(e,t,n)=>t?Object.keys(t).reduce((r,s)=>{let i=K(t[s],n),l=/^[A-Z0-9-]+$/i.test(s)?Ce(s):s;return r[l]=U(i)&&!Array.isArray(i)?Te(r[l]||{},i,n):i,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,"\\$&")}),Q=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(b(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),ne=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)},Le=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let s=n+r>>1;e[s]<=t?r=s+1:n=s}return n},I,X,L=(e="")=>(I.push(e),""),ve=e=>{I.length=Math.max(I.lastIndexOf("")+~~e,0)},wt=e=>e&&e[0]!==":",yt=e=>e[0]===":",Ve=(e,t,n)=>{X.push({v:I.filter(yt),d:e,n:t,i:n,$:""})},Be=e=>{let t=e[0]==="-";t&&(e=g(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(I.filter(wt));return Ve(e==="&"?r:(r&&r+"-")+e,t,n),""},re=(e,t)=>{let n,r="";for(let s=0;s<e.length;)switch(n=e[s++]){case":":r=r&&L(":"+r);break;case"(":r=r&&L(r),L();break;case")":case" ":case" ":case`
`:case"\r":r=r&&Be(r),ve(n!==")");break;default:r+=n}r&&(t?L(":"+r):r.slice(-1)==="-"?L(r.slice(0,-1)):Be(r))},Ge=e=>{L(),pe(e),ve()},St=(e,t)=>{if(t){L();let n=h("tbu",(typeof t)[1]);re(e,n),n&&Ge(t),ve()}},pe=e=>{switch(typeof e){case"string":re(e);break;case"function":Ve(e);break;case"object":Array.isArray(e)?e.forEach(Ge):e&&Object.keys(e).forEach(t=>{St(t,e[t])})}},Ye=new WeakMap,Ct=e=>{let t=Ye.get(e);if(!t){let n=NaN,r="";t=e.map((s,i)=>{if(n!=n&&h(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return f=>{i===n&&(r=""),r+=s,b(f)?r+=f:f&&(re(r),r="",pe(f)),i===e.length-1&&re(r)};let l=X=[];re(s);let c=[...I];return X=[],f=>{X.push(...l),I=[...c],f&&pe(f)}}),Ye.set(e,t)}return t},ie=e=>(I=[],X=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Ct(e[0]).forEach((t,n)=>t(e[n+1])):pe(e),X),Tt=(e,t)=>{if(S(t))throw 0;return t},vt=e=>{try{return JSON.stringify(e,Tt)}catch{}},Je=new WeakMap,oe=(e,t)=>{let n=vt(t),r;if(n){var s=Je.get(e);s||Je.set(e,s=new Map),r=s.get(n)}return r||(r=Object.defineProperty((i,l)=>e(t,Array.isArray(i)?l:i),"toJSON",{value:()=>n||t}),s&&(s.set(n,r),ge(s,1e4))),r},Rt=(e,{css:t})=>t(ie(e)),kt=(...e)=>oe(Rt,e);var Ke=e=>(t,n,r,s)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((l,c)=>(l[te([r,c,s])]=t,l),{})}},Qe=Ke(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]),se=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=Ke(se),o,V,x,ae=e=>(t,n,r)=>({[e]:r+((o=u(t))&&"-"+o)}),m=(e,t)=>(n,r,s)=>({[e||s]:u(n,t)}),C=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),D=(e,t)=>(n,r)=>e(n,r,t),H=ae("display"),le=ae("position"),q=ae("textTransform"),Z=ae("textDecoration"),he=ae("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)}),ce=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",g(e))}),Re=(e,t)=>Math.round(parseInt(e,16)*t),xe=(e,t,n)=>e&&e[0]==="#"?`rgba(${Re(e.substr(1,o=(e.length-1)/3),x=[17,1,.062272][o-1])},${Re(e.substr(1+o,o),x)},${Re(e.substr(1+2*o,o),x)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,we=(e,t,n)=>n&&(o=xe(n,t+"-opacity"))&&o!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,o]}:{[e]:n},Xe=e=>(x=xe(e,"","0"))===o?"transparent":x,qe=(e,{theme:t},n,r,s,i)=>(o={x:["right","left"],y:["bottom","top"]}[e[0]])&&(x=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[x]:"1"}:{[x]:"0",[te([s,o[0],i])]:(V=t(r,g(e)))&&`calc(${V} * var(${x}))`,[te([s,o[1],i])]:V&&[V,`calc(${V} * calc(1 - var(${x})))`]}:void 0,Ze=(e,t)=>({[e]:(h("wun",(t[0]||"")[3])?"space-":"")+t[0]}),ke=e=>t=>h(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:Ze(e,t),et=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]}}},tt=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return m("borderStyle")(e);case"collapse":case"separate":return m("borderCollapse")(e);case"opacity":return ce(e,t,n)}return(o=t(n+"Width",e,""))?{borderWidth:o}:we("borderColor",n,t(n+"Color",e))},$e=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))",Ae=(e,t,n)=>(o=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&o,[`--tw-${n}-y`]:e[0]!=="x"&&o,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${o})`,$e()]},nt=e=>(t,n,r)=>r[1]?me(n.theme(e,t),r[1],e):C(e)(t,n,r),B=nt("padding"),G=nt("margin"),rt=(e,{theme:t},n)=>(o={w:"width",h:"height"}[e[0]])&&{[o=`${n}${Ue(o)}`]:t(o,g(e))},it={group:(e,{tag:t})=>t("group"),hidden:D(H,"none"),inline:H,block:H,contents:H,flow:H,table:(e,t,n)=>h(["auto","fixed"],e[0])?{tableLayout:e[0]}:H(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:u(e[0]==="col"?["column",...g(e)]:e)};case"nowrap":case"wrap":return{flexWrap:u(e)};case"grow":case"shrink":return{[`flex-${e[0]}`]:e[1]||"1"}}return(o=t.theme("flex",e,""))?{flex:o}: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))`:u(g(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...g(e,2)]:g(e)," ")}}return H(e,t,n)},auto:e=>h(["cols","rows"],e[0])&&(o=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(${u(g(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:o},static:le,fixed:le,absolute:le,relative:le,sticky:le,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:m(),cursor:m(),float:m(),clear:m(),top:be,right:be,bottom:be,left:be,inset:(e,{theme:t})=>(o=se(e[0]))?me(t("inset",g(e)),e[0]):(o=t("inset",e))&&{top:o,right:o,bottom:o,left:o},underline:Z,"line-through":Z,"no-underline":D(Z,"none"),"text-underline":D(Z,"underline"),"text-no-underline":D(Z,"none"),"text-line-through":D(Z,"line-through"),uppercase:q,lowercase:q,capitalize:q,"normal-case":D(q,"none"),"text-normal-case":D(q,"none"),italic:he,"not-italic":D(he,"normal"),"font-italic":D(he,"italic"),"font-not-italic":D(he,"normal"),font:(e,t,n)=>(o=t.theme("fontFamily",e,""))?{fontFamily:o}:C("fontWeight")(e,t,n),items:e=>({alignItems:h(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":m(),"justify-items":m(),justify:ke("justifyContent"),content:ke("alignContent"),self:ke("alignSelf"),place:e=>Ze("place-"+e[0],g(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:et("column"),row:et("row"),duration:C("transitionDuration"),delay:C("transitionDelay"),tracking:C("letterSpacing"),leading:C("lineHeight"),z:C("zIndex"),opacity:C(),ease:C("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:C("width"),h:C("height"),min:rt,max:rt,fill:C(),order:C(),origin:m("transformOrigin"," "),select:m("userSelect"),"pointer-events":m(),align:m("verticalAlign"),whitespace:m("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)=>h(["ellipsis","clip"],e[0])?m("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:m()(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:$e(e[0]==="gpu")},rotate:(e,{theme:t})=>(o=t("rotate",e))&&{"--tw-rotate":o,transform:[`rotate(${o})`,$e()]},scale:Ae,translate:Ae,skew:Ae,gap:(e,t,n)=>(o={x:"column",y:"row"}[e[0]])?{[o+"Gap"]:t.theme("gap",g(e))}:C("gap")(e,t,n),stroke:(e,t,n)=>(o=t.theme("stroke",e,""))?{stroke:o}:C("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(o=t("outline",e))&&{outline:o[0],outlineOffset:o[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([],o,e[0]);case"opacity":return ce(e,t,n)}let r=t("fontSize",e,"");return r?b(r)?{fontSize:r}:{fontSize:r[0],...b(r[1])?{lineHeight:r[1]}:r[1]}:we("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return m("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return m("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&m("backgroundRepeat")(e);case"auto":case"cover":case"contain":return m("backgroundSize")(e);case"repeat":return h("xy",e[1])?m("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return ce(e,t,n,"background");case"clip":return{backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(o=se(e[2])))return{backgroundImage:`linear-gradient(to ${u(o," ")},var(--tw-gradient-stops))`}}return(o=t("backgroundImage",e,""))?{backgroundImage:o}:we("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(o=t("gradientColorStops",e))&&{"--tw-gradient-from":o,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${Xe(o)})`},via:(e,{theme:t})=>(o=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${o},var(--tw-gradient-to,${Xe(o)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>se(e[0])?me(t.theme("borderWidth",g(e)),e[0],"border","width"):tt(e,t,n),divide:(e,t,n)=>(o=qe(e,t,n,"divideWidth","border","width")||tt(e,t,n))&&{"&>:not([hidden])~:not([hidden])":o},space:(e,t,n)=>(o=qe(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":o},placeholder:(e,{theme:t},n)=>(o=e[0]==="opacity"?ce(e,t,n):we("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":o},shadow:(e,{theme:t})=>(o=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":o==="none"?"0 0 transparent":o,boxShadow:[o,"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(o=t("keyframes",r[0],V={}))!==V?(x=n(r[0]))&&{animation:x+" "+u(g(r)," "),["@keyframes "+x]:o}:{animation:x}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return ce(e,t,n);case"offset":return(o=t("ringOffsetWidth",g(e),""))?{"--tw-ring-offset-width":o}:{"--tw-ring-offset-color":t("ringOffsetColor",g(e))}}return(o=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(${o} + 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=>h(["contain","cover","fill","none","scale"],e[0])?m("objectFit")(e):m("objectPosition"," ")(e),list:e=>m(h(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>Qe(t.theme("borderRadius",g(e),""),e[0],"border","radius")||C("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:s}=t("container"),i=l=>(o=s&&(b(s)?s:s[l]||s.DEFAULT))?{paddingRight:o,paddingLeft:o}:{};return Object.keys(n).reduce((l,c)=>((x=n[c])&&b(x)&&(l[Q(x)]={"&":{"max-width":x,...i(c)}}),l),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...i("xs")})}},ot=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"}}),st={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:"&&"},at="__twind",lt=e=>{let t=self[at];return t||(t=document.head.appendChild(document.createElement("style")),t.id=at,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Pe=({nonce:e,target:t=lt(e).sheet}={})=>{let n=t.cssRules.length;return{target:t,insert:(r,s)=>t.insertRule(r,n+s)}},Ee=()=>({target:null,insert:ue}),ye=e=>({unknown(t,n=[],r,s){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},s)},report({id:t,...n}){let r=`[${t}] ${JSON.stringify(n)}`,s=(new Error(r).stack||r).split("at ");for(let i;(i=s.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(i););return e(s.join("at "))}}),Se=ye(e=>console.warn(e)),Fe=ye(e=>{throw new Error(e)}),ze=ye(ue);import{cssPropertyAlias as $t,cssPropertyPrefixFlags as At,cssValuePrefixFlags as Pt}from"style-vendorizer";var z=(e,t,n)=>`${e}:${t}${n?" !important":""}`,De=(e,t,n)=>{let r="",s=$t(e);s&&(r+=`${z(s,t,n)};`);let i=At(e);return i&1&&(r+=`-webkit-${z(e,t,n)};`),i&2&&(r+=`-moz-${z(e,t,n)};`),i&4&&(r+=`-ms-${z(e,t,n)};`),i=Pt(e,t),i&1&&(r+=`${z(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${z(e,`-moz-${t}`,n)};`),i&4&&(r+=`${z(e,`-ms-${t}`,n)};`),r+=z(e,t,n),r},de=(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},_=(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,s=1)=>{let i={};for(;r<=e;r+=s)i[r]=r/n+t;return i},T=e=>t=>t(e),Et=(e,{theme:t})=>t(...e),Ft=(...e)=>oe(Et,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:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("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",..._(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:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("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:T("spacing"),gradientColorStops:T("colors"),height:e=>({auto:"auto",...e("spacing"),...de(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("spacing"),...de(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:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:T("colors"),ringOffsetWidth:_(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",..._(8,"px")},rotate:{..._(2,"deg"),..._(12,"deg",3),..._(180,"deg",45)},scale:{0:"0",50:".5",75:".75",...W(110,"",100,90,5),125:"1.25",150:"1.5"},skew:{..._(2,"deg"),..._(12,"deg",3)},space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:W(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>({DEFAULT:"150ms",...e("durations")}),transitionDelay:T("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"),...de(2,4),full:"100%"}),width:e=>({auto:"auto",...e("spacing"),...de(2,6),...de(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...W(50,"",1,0,10)}},ct=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let s=e[r];r==="DEFAULT"&&(t[u(n)]=s,t[u(n,".")]=s);let i=[...n,r];t[u(i)]=s,t[u(i,".")]=s,U(s)&&ct(s,t,i)},t),t),Dt={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>b(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},dt=e=>{let t=new Map,n={...zt,...e},r=(i,l)=>{let c=i&&i[l],f=S(c)?c(s,Dt):c;return f&&l==="colors"?ct(f):f},s=(i,l,c)=>{let f=i.split(".");i=f[0],f.length>1&&(c=l,l=u(g(f),"."));let k=t.get(i);if(k||t.set(i,k={...r(n,i),...r(n.extend,i)}),l!=null){let M=k[(Array.isArray(l)?u(l):l)||"DEFAULT"];return M==null?c:Array.isArray(M)&&!h(["fontSize","outline"],i)?u(M,","):M}return k};return s},ut=(e,t)=>(n,r)=>{if(S(n.d))return n.d(t);let s=n.d.split("-");if(!r&&s[0]==="tw"&&n.$===n.d)return n.$;for(let i=s.length;i;i--){let l=u(s.slice(0,i)),c=e[l];if(c)return S(c)?c(g(s,i),t,l):b(c)?t[r?"css":"tw"](c):c}},gt=(e,t,{theme:n,tag:r})=>{let s=(i,l)=>{let c=n("screens",g(l),"");return c?{[Q(c)]:i}:l===":dark"&&e==="class"?{[".dark &"]:i}:l.slice(1,7)==="group-"?{[`.${fe(r("group"))}:${g(l,7)} &`]:i}:{[t[g(l)]||"&"+l]:i}};return(i,l)=>l.v.reduceRight(s,i)},R,Me=e=>(((R=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+R[1]/(R[2]?15:1)/10:0)&31)<<22,ft=e=>{R=0;for(let t=e.length;t--;)R+=h("-:,",e[t]);return R},je=e=>(ft(e)&15)<<18,Mt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],jt=e=>1<<(~(R=Mt.indexOf(e.replace(/^:group-/,":").slice(3,8)))?R:17),pt=(e,t)=>(n,r)=>n|((R=e("screens",g(r),""))?1<<27|Me(Q(R)):r===":dark"?1<<30:(R=t[r]||r)[0]==="@"?je(R):jt(r)),mt=e=>e[0]==="-"?0:ft(e)+((R=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!R[1]||-!!R[2]:0)+1,Oe=(e,t)=>t+"{"+e+"}",We;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css"})(We||(We={}));var ht=(e,t,n)=>{let{theme:r,tag:s}=n,i=(v,w)=>"--"+s(w),l=v=>`${v}`.replace(/--(tw-[\w-]+)\b/g,i),c=(v,w,$)=>(v=l(v),Array.isArray(w)?u(w.filter(Boolean).map(P=>e(v,l(P),$)),";"):e(v,l(w),$)),f,k=(v,w,$,P,j)=>{let O="",Y=0,J=0;Object.keys(P).forEach(y=>{let E=K(P[y],n);if(h("rg",(typeof E)[5])&&E!==""||Array.isArray(E)){let A=Ce(y);J+=1,Y=Math.max(Y,mt(A)),O=(O&&O+";")+c(A,E,j)}else if(E)if(y[0]==="@")if(y[1]==="f")k([],y,0,E,j);else if(y[1]==="k"){let A=f.length;k([],"",0,E,j);let a=f.splice(A,f.length-A);f.push({r:Oe(u(a.map(d=>d.r),""),y),p:a.reduce((d,p)=>d+p.p,0)})}else k([...v,y],w,$|Me(y)|je(y),E,j);else k(v,w?w.replace(/([^,])+/g,A=>y.replace(/([^,])+/g,a=>h(a,"&")?a.replace(/&/g,A):(A&&A+" ")+a)):y,w&&h(y,"&")?$:0,E,j)}),J&&f.push({r:v.reduceRight(Oe,Oe(O,w)),p:$*(1<<8)+((Math.max(0,15-J)&15)<<4|(Y||15)&15)})},M=pt(r,t);return(v,w,$,P=0)=>(P<<=28,f=[],k([],w?"."+fe(w):"",$?$.v.reduceRight(M,P):P,v,$&&$.i),f)},bt=(e,t,n,r)=>{let s;n((l=[])=>s=l);let i;return n((l=new Set)=>i=l),({r:l,p:c})=>{if(!i.has(l)){i.add(l);let f=Le(s,c);try{e.insert(l,f),s.splice(f,0,c)}catch(k){/:-[mwo]/.test(l)||t.report({id:"INJECT_CSS_ERROR",css:l,error:k},r)}}}},Ie=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Ot=e=>(b(e)?{t:Fe,a:Se,i:ze}[e[1]]:e)||Se,He=(e,t=e.d)=>{if(S(t))return"";let n=u(e.v,"");return(n&&g(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Wt={_:{value:"",writable:!0}},xt=(e={})=>{let t=dt(e.theme),n=Ot(e.mode),r=Ie(e.hash,!1,!1,ne),s={v:[]},i=0,l=[],c={tw:(...a)=>E(a),theme:(a,d,p)=>{d!=null&&!d.length&&(d="DEFAULT");let F=t(a,d,p)||n.unknown(a,d==null||Array.isArray(d)?d:d.split("."),p!=null,c);return s.n&&F&&b(F)?`calc(${F} * -1)`:F},tag:a=>r?r(a):a,css:a=>{i++;let d=l.length;try{(b(a)?ie([a]):a).forEach(y);let p=Object.create(null,Wt);for(let F=d;F<l.length;F++){let ee=l[F];U(ee)?Te(p,ee,c):ee&&b(ee)&&(p._+=(p._&&" ")+ee)}return p}finally{l.length=d,i--}}},f=ut({...it,...e.plugins},c),k=a=>{let d=s;s=a;try{return K(f(a),c)}finally{s=d}},M={...st,...e.variants},v=gt(e.darkMode||"media",M,c),w=ht(Ie(e.prefix,De,z),M,c),$=e.sheet||(typeof window=="undefined"?Ee():Pe(e)),{init:P=a=>a()}=$,j=bt($,n,P,c),O;P((a=new Map)=>O=a);let Y=new WeakMap,J=(a,d)=>S(d)?JSON.stringify(d(c),J):d,y=a=>{s.v.length&&(a={...a,v:[...s.v,...a.v],$:""}),a.$||(a.$=He(a)||He(a,Y.get(a.d)));let d=i?null:O.get(a.$);if(d==null){let p=k(a);if(a.$||(a.$=ne(JSON.stringify(p,J)),Y.set(a.d,a.$),a.$=He(a,a.$)),U(p)){p[":global"]&&(p[":global"]=w(p[":global"]).forEach(j));let F=S(a.d)?b(p._)?1:3:2;d=r||S(a.d)?(r||ne)(F+a.$):a.$,p=v(p,a),i?l.push(p):(w(p,d,a,F).forEach(j),p._&&(d+=" "+p._))}else b(p)?d=p:(d=a.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:d},c)),i&&!S(a.d)&&l.push(d);i||(O.set(a.$,d),ge(O,3e4))}return d},E=a=>ie(a).map(y).filter(Boolean).join(" "),A=Ie(e.preflight,_e,!1);if(A){let a=ot(t),d=w(S(A)?K(A(a,c),c)||a:{...a,...A});P((p=(d.forEach(j),!0))=>p)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},c),process:E}},Ne=e=>{let t=r=>(n(),t(r)),n=r=>{({process:t,init:n}=xt(r))};return e&&n(e),{tw:(...r)=>t(r),setup:r=>n(r)}},{tw:It,setup:Ht}=Ne();export{kt as apply,De as autoprefix,Ne as create,Pe as cssomSheet,oe as directive,ne as hash,ye as mode,z as noprefix,Ht as setup,ze as silent,Fe as strict,Ft as theme,It as tw,Ee as voidSheet,Se as warn};
var b=e=>typeof e=="string",U=e=>e!=null&&typeof e=="object",S=e=>typeof e=="function",h=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),te=(e,t)=>u(e.filter(Boolean),t),g=(e,t=1)=>e.slice(t),_e=e=>e,ue=()=>{},Ue=e=>e[0].toUpperCase()+g(e),Ce=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),J=(e,t)=>{for(;S(e);)e=e(t);return e},ge=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},Te=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=J(t[o],n),a=/^[A-Z0-9-]+$/i.test(o)?Ce(o):o;return r[a]=U(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,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,"\\$&")}),Q=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(b(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),ne=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)},Le=(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},I,X,L=(e="")=>(I.push(e),""),ve=e=>{I.length=Math.max(I.lastIndexOf("")+~~e,0)},wt=e=>e&&e[0]!==":",yt=e=>e[0]===":",Ve=(e,t,n)=>{X.push({v:I.filter(yt),d:e,n:t,i:n,$:""})},Be=e=>{let t=e[0]==="-";t&&(e=g(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(I.filter(wt));return Ve(e==="&"?r:(r&&r+"-")+e,t,n),""},re=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&L(":"+r);break;case"(":r=r&&L(r),L();break;case")":case" ":case" ":case`
`:case"\r":r=r&&Be(r),ve(n!==")");break;default:r+=n}r&&(t?L(":"+r):r.slice(-1)==="-"?L(r.slice(0,-1)):Be(r))},Ge=e=>{L(),pe(e),ve()},St=(e,t)=>{if(t){L();let n=h("tbu",(typeof t)[1]);re(e,n),n&&Ge(t),ve()}},pe=e=>{switch(typeof e){case"string":re(e);break;case"function":Ve(e);break;case"object":Array.isArray(e)?e.forEach(Ge):e&&Object.keys(e).forEach(t=>{St(t,e[t])})}},Ke=new WeakMap,Ct=e=>{let t=Ke.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!=n&&h(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return f=>{i===n&&(r=""),r+=o,b(f)?r+=f:f&&(re(r),r="",pe(f)),i===e.length-1&&re(r)};let a=X=[];re(o);let c=[...I];return X=[],f=>{X.push(...a),I=[...c],f&&pe(f)}}),Ke.set(e,t)}return t},ie=e=>(I=[],X=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Ct(e[0]).forEach((t,n)=>t(e[n+1])):pe(e),X),Tt=(e,t)=>{if(S(t))throw 0;return t},vt=e=>{try{return JSON.stringify(e,Tt)}catch{}},Ye=new WeakMap,oe=(e,t)=>{let n=vt(t),r;if(n){var o=Ye.get(e);o||Ye.set(e,o=new Map),r=o.get(n)}return r||(r=Object.defineProperty((i,a)=>e(t,Array.isArray(i)?a:i),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),ge(o,1e4))),r},Rt=(e,{css:t})=>t(ie(e)),kt=(...e)=>oe(Rt,e);var Je=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,c)=>(a[te([r,c,o])]=t,a),{})}},Qe=Je(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]),se=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=Je(se),s,V,x,ae=e=>(t,n,r)=>({[e]:r+((s=u(t))&&"-"+s)}),m=(e,t)=>(n,r,o)=>({[e||o]:u(n,t)}),C=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),D=(e,t)=>(n,r)=>e(n,r,t),H=ae("display"),le=ae("position"),q=ae("textTransform"),Z=ae("textDecoration"),he=ae("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)}),ce=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",g(e))}),Re=(e,t)=>Math.round(parseInt(e,16)*t),xe=(e,t,n)=>e&&e[0]==="#"?`rgba(${Re(e.substr(1,s=(e.length-1)/3),x=[17,1,.062272][s-1])},${Re(e.substr(1+s,s),x)},${Re(e.substr(1+2*s,s),x)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,we=(e,t,n)=>n&&(s=xe(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},Xe=e=>(x=xe(e,"","0"))===s?"transparent":x,qe=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(x=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[x]:"1"}:{[x]:"0",[te([o,s[0],i])]:(V=t(r,g(e)))&&`calc(${V} * var(${x}))`,[te([o,s[1],i])]:V&&[V,`calc(${V} * calc(1 - var(${x})))`]}:void 0,Ze=(e,t)=>({[e]:(h("wun",(t[0]||"")[3])?"space-":"")+t[0]}),ke=e=>t=>h(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:Ze(e,t),et=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]}}},tt=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return m("borderStyle")(e);case"collapse":case"separate":return m("borderCollapse")(e);case"opacity":return ce(e,t,n)}return(s=t(n+"Width",e,""))?{borderWidth:s}:we("borderColor",n,t(n+"Color",e))},$e=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})`,$e()]},nt=e=>(t,n,r)=>r[1]?me(n.theme(e,t),r[1],e):C(e)(t,n,r),B=nt("padding"),G=nt("margin"),rt=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Ue(s)}`]:t(s,g(e))},it={group:(e,{tag:t})=>t("group"),hidden:D(H,"none"),inline:H,block:H,contents:H,flow:H,table:(e,t,n)=>h(["auto","fixed"],e[0])?{tableLayout:e[0]}:H(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:u(e[0]==="col"?["column",...g(e)]:e)};case"nowrap":case"wrap":return{flexWrap:u(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))`:u(g(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...g(e,2)]:g(e)," ")}}return H(e,t,n)},auto:e=>h(["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(${u(g(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:le,fixed:le,absolute:le,relative:le,sticky:le,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:m(),cursor:m(),float:m(),clear:m(),top:be,right:be,bottom:be,left:be,inset:(e,{theme:t})=>(s=se(e[0]))?me(t("inset",g(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:Z,"line-through":Z,"no-underline":D(Z,"none"),"text-underline":D(Z,"underline"),"text-no-underline":D(Z,"none"),"text-line-through":D(Z,"line-through"),uppercase:q,lowercase:q,capitalize:q,"normal-case":D(q,"none"),"text-normal-case":D(q,"none"),italic:he,"not-italic":D(he,"normal"),"font-italic":D(he,"italic"),"font-not-italic":D(he,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:C("fontWeight")(e,t,n),items:e=>({alignItems:h(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":m(),"justify-items":m(),justify:ke("justifyContent"),content:ke("alignContent"),self:ke("alignSelf"),place:e=>Ze("place-"+e[0],g(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:et("column"),row:et("row"),duration:C("transitionDuration"),delay:C("transitionDelay"),tracking:C("letterSpacing"),leading:C("lineHeight"),z:C("zIndex"),opacity:C(),ease:C("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:C("width"),h:C("height"),min:rt,max:rt,fill:C(),order:C(),origin:m("transformOrigin"," "),select:m("userSelect"),"pointer-events":m(),align:m("verticalAlign"),whitespace:m("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)=>h(["ellipsis","clip"],e[0])?m("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:m()(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:$e(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,$e()]},scale:Pe,translate:Pe,skew:Pe,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",g(e))}:C("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:C("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 ce(e,t,n)}let r=t("fontSize",e,"");return r?b(r)?{fontSize:r}:{fontSize:r[0],...b(r[1])?{lineHeight:r[1]}:r[1]}:we("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return m("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return m("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&m("backgroundRepeat")(e);case"auto":case"cover":case"contain":return m("backgroundSize")(e);case"repeat":return h("xy",e[1])?m("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return ce(e,t,n,"background");case"clip":return{backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=se(e[2])))return{backgroundImage:`linear-gradient(to ${u(s," ")},var(--tw-gradient-stops))`}}return(s=t("backgroundImage",e,""))?{backgroundImage:s}:we("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,${Xe(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${Xe(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>se(e[0])?me(t.theme("borderWidth",g(e)),e[0],"border","width"):tt(e,t,n),divide:(e,t,n)=>(s=qe(e,t,n,"divideWidth","border","width")||tt(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=qe(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?ce(e,t,n):we("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],V={}))!==V?(x=n(r[0]))&&{animation:x+" "+u(g(r)," "),["@keyframes "+x]:s}:{animation:x}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return ce(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=>h(["contain","cover","fill","none","scale"],e[0])?m("objectFit")(e):m("objectPosition"," ")(e),list:e=>m(h(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>Qe(t.theme("borderRadius",g(e),""),e[0],"border","radius")||C("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=a=>(s=o&&(b(o)?o:o[a]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,c)=>((x=n[c])&&b(x)&&(a[Q(x)]={"&":{"max-width":x,...i(c)}}),a),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...i("xs")})}},ot=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"}}),st={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:"&&"},at="__twind",lt=e=>{let t=self[at];return t||(t=document.head.appendChild(document.createElement("style")),t.id=at,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Ae=({nonce:e,target:t=lt(e).sheet}={})=>{let n=t.cssRules.length;return{target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Ee=()=>({target:null,insert:ue}),ye=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},o)},report({id:t,...n}){let r=`[${t}] ${JSON.stringify(n)}`,o=(new Error(r).stack||r).split("at ");for(let i;(i=o.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(i););return e(o.join("at "))}}),Se=ye(e=>console.warn(e)),Fe=ye(e=>{throw new Error(e)}),ze=ye(ue);import{cssPropertyAlias as $t,cssPropertyPrefixFlags as Pt,cssValuePrefixFlags as At}from"style-vendorizer";var z=(e,t,n)=>`${e}:${t}${n?" !important":""}`,De=(e,t,n)=>{let r="",o=$t(e);o&&(r+=`${z(o,t,n)};`);let i=Pt(e);return i&1&&(r+=`-webkit-${z(e,t,n)};`),i&2&&(r+=`-moz-${z(e,t,n)};`),i&4&&(r+=`-ms-${z(e,t,n)};`),i=At(e,t),i&1&&(r+=`${z(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${z(e,`-moz-${t}`,n)};`),i&4&&(r+=`${z(e,`-ms-${t}`,n)};`),r+=z(e,t,n),r},de=(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},_=(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,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},T=e=>t=>t(e),Et=(e,{theme:t})=>t(...e),Ft=(...e)=>oe(Et,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:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("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",..._(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:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("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:T("spacing"),gradientColorStops:T("colors"),height:e=>({auto:"auto",...e("spacing"),...de(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("spacing"),...de(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:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:T("colors"),ringOffsetWidth:_(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",..._(8,"px")},rotate:{..._(2,"deg"),..._(12,"deg",3),..._(180,"deg",45)},scale:{0:"0",50:".5",75:".75",...W(110,"",100,90,5),125:"1.25",150:"1.5"},skew:{..._(2,"deg"),..._(12,"deg",3)},space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:W(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>({DEFAULT:"150ms",...e("durations")}),transitionDelay:T("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"),...de(2,4),full:"100%"}),width:e=>({auto:"auto",...e("spacing"),...de(2,6),...de(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...W(50,"",1,0,10)}},ct=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[u(n)]=o,t[u(n,".")]=o);let i=[...n,r];t[u(i)]=o,t[u(i,".")]=o,U(o)&&ct(o,t,i)},t),t),Dt={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>b(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},dt=e=>{let t=new Map,n={...zt,...e},r=(i,a)=>{let c=i&&i[a],f=S(c)?c(o,Dt):c;return f&&a==="colors"?ct(f):f},o=(i,a,c)=>{let f=i.split(".");i=f[0],f.length>1&&(c=a,a=u(g(f),"."));let k=t.get(i);if(k||t.set(i,k={...r(n,i),...r(n.extend,i)}),a!=null){let j=k[(Array.isArray(a)?u(a):a)||"DEFAULT"];return j==null?c:Array.isArray(j)&&!h(["fontSize","outline"],i)?u(j,","):j}return k};return o},ut=(e,t)=>(n,r)=>{if(S(n.d))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 a=u(o.slice(0,i)),c=e[a];if(c)return S(c)?c(g(o,i),t,a):b(c)?t[r?"css":"tw"](c):c}},gt=(e,t,{theme:n,tag:r})=>{let o=(i,a)=>{let c=n("screens",g(a),"");return c?{[Q(c)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:a.slice(1,7)==="group-"?{[`.${fe(r("group"))}:${g(a,7)} &`]:i}:{[t[g(a)]||"&"+a]:i}};return(i,a)=>a.v.reduceRight(o,i)},R,je=e=>(((R=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+R[1]/(R[2]?15:1)/10:0)&31)<<22,ft=e=>{R=0;for(let t=e.length;t--;)R+=h("-:,",e[t]);return R},Me=e=>(ft(e)&15)<<18,jt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Mt=e=>1<<(~(R=jt.indexOf(e.replace(/^:group-/,":").slice(3,8)))?R:17),pt=(e,t)=>(n,r)=>n|((R=e("screens",g(r),""))?1<<27|je(Q(R)):r===":dark"?1<<30:(R=t[r]||r)[0]==="@"?Me(R):Mt(r)),mt=e=>e[0]==="-"?0:ft(e)+((R=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!R[1]||-!!R[2]:0)+1,Oe=(e,t)=>t+"{"+e+"}",We;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css"})(We||(We={}));var ht=(e,t,n)=>{let{theme:r,tag:o}=n,i=(v,w)=>"--"+o(w),a=v=>`${v}`.replace(/--(tw-[\w-]+)\b/g,i),c=(v,w,$)=>(v=a(v),Array.isArray(w)?u(w.filter(Boolean).map(A=>e(v,a(A),$)),";"):e(v,a(w),$)),f,k=(v,w,$,A,M)=>{let O="",K=0,Y=0;Object.keys(A).forEach(y=>{let E=J(A[y],n);if(h("rg",(typeof E)[5])&&E!==""||Array.isArray(E)){let P=Ce(y);Y+=1,K=Math.max(K,mt(P)),O=(O&&O+";")+c(P,E,M)}else if(E)if(y[0]==="@")if(y[1]==="f")k([],y,0,E,M);else if(y[1]==="k"){let P=f.length;k([],"",0,E,M);let l=f.splice(P,f.length-P);f.push({r:Oe(u(l.map(d=>d.r),""),y),p:l.reduce((d,p)=>d+p.p,0)})}else k([...v,y],w,$|je(y)|Me(y),E,M);else k(v,w?w.replace(/([^,])+/g,P=>y.replace(/([^,])+/g,l=>h(l,"&")?l.replace(/&/g,P):(P&&P+" ")+l)):y,w&&h(y,"&")?$:0,E,M)}),Y&&f.push({r:v.reduceRight(Oe,Oe(O,w)),p:$*(1<<8)+((Math.max(0,15-Y)&15)<<4|(K||15)&15)})},j=pt(r,t);return(v,w,$,A=0)=>(A<<=28,f=[],k([],w?"."+fe(w):"",$?$.v.reduceRight(j,A):A,v,$&&$.i),f)},bt=(e,t,n,r)=>{let o;n((a=[])=>o=a);let i;return n((a=new Set)=>i=a),({r:a,p:c})=>{if(!i.has(a)){i.add(a);let f=Le(o,c);try{e.insert(a,f),o.splice(f,0,c)}catch(k){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:k},r)}}}},Ie=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Ot=e=>(b(e)?{t:Fe,a:Se,i:ze}[e[1]]:e)||Se,He=(e,t=e.d)=>{if(S(t))return"";let n=u(e.v,"");return(n&&g(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Wt={_:{value:"",writable:!0}},xt=(e={})=>{let t=dt(e.theme),n=Ot(e.mode),r=Ie(e.hash,!1,!1,ne),o={v:[]},i=0,a=[],c={tw:(...l)=>E(l),theme:(l,d,p)=>{d!=null&&!d.length&&(d="DEFAULT");let F=t(l,d,p)||n.unknown(l,d==null||Array.isArray(d)?d:d.split("."),p!=null,c);return o.n&&F&&b(F)?`calc(${F} * -1)`:F},tag:l=>r?r(l):l,css:l=>{i++;let d=a.length;try{(b(l)?ie([l]):l).forEach(y);let p=Object.create(null,Wt);for(let F=d;F<a.length;F++){let ee=a[F];U(ee)?Te(p,ee,c):ee&&b(ee)&&(p._+=(p._&&" ")+ee)}return p}finally{a.length=d,i--}}},f=ut({...it,...e.plugins},c),k=l=>{let d=o;o=l;try{return J(f(l),c)}finally{o=d}},j={...st,...e.variants},v=gt(e.darkMode||"media",j,c),w=ht(Ie(e.prefix,De,z),j,c),$=e.sheet||(typeof window=="undefined"?Ee():Ae(e)),{init:A=l=>l()}=$,M=bt($,n,A,c),O;A((l=new Map)=>O=l);let K=new WeakMap,Y=(l,d)=>S(d)?JSON.stringify(d(c),Y):d,y=l=>{o.v.length&&(l={...l,v:[...o.v,...l.v],$:""}),l.$||(l.$=He(l)||He(l,K.get(l.d)));let d=i?null:O.get(l.$);if(d==null){let p=k(l);if(l.$||(l.$=ne(JSON.stringify(p,Y)),K.set(l.d,l.$),l.$=He(l,l.$)),U(p)){p[":global"]&&(p[":global"]=w(p[":global"]).forEach(M));let F=S(l.d)?b(p._)?1:3:2;d=r||S(l.d)?(r||ne)(F+l.$):l.$,p=v(p,l),i?a.push(p):(w(p,d,l,F).forEach(M),p._&&(d+=" "+p._))}else b(p)?d=p:(d=l.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:d},c)),i&&!S(l.d)&&a.push(d);i||(O.set(l.$,d),ge(O,3e4))}return d},E=l=>ie(l).map(y).filter(Boolean).join(" "),P=Ie(e.preflight,_e,!1);if(P){let l=ot(t),d=w(S(P)?J(P(l,c),c)||l:{...l,...P});A((p=(d.forEach(M),!0))=>p)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},c),process:E}},Ne=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=xt(i))};e&&n(e);let r,o=i=>()=>(r||t([a=>(r=a,"")]),r[i]);return{tw:Object.defineProperties((...i)=>t(i),{theme:{get:o("theme")}}),setup:i=>n(i)}},{tw:It,setup:Ht}=Ne();export{kt as apply,De as autoprefix,Ne as create,Ae as cssomSheet,oe as directive,ne as hash,ye as mode,z as noprefix,Ht as setup,ze as silent,Fe as strict,Ft as theme,It as tw,Ee as voidSheet,Se as warn};
//# sourceMappingURL=twind.js.map

@@ -1,2 +0,2 @@

(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 Rt=Object.prototype.hasOwnProperty,Ue=Object.getOwnPropertySymbols,kt=Object.prototype.propertyIsEnumerable,l=Object.assign,Le=(e,t)=>{var n={};for(var r in e)Rt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ue)for(var r of Ue(e))t.indexOf(r)<0&&kt.call(e,r)&&(n[r]=e[r]);return n},x=e=>typeof e=="string",L=e=>e!=null&&typeof e=="object",v=e=>typeof e=="function",b=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),ne=(e,t)=>u(e.filter(Boolean),t),f=(e,t=1)=>e.slice(t),Ve=e=>e,ue=()=>{},Be=e=>e[0].toUpperCase()+f(e),Ce=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),Q=(e,t)=>{for(;v(e);)e=e(t);return e},fe=(e,t)=>{e.size>t&&e.delete(e.keys().next().value);},Te=(e,t,n)=>t?Object.keys(t).reduce((r,s)=>{let i=Q(t[s],n),a=/^[A-Z0-9-]+$/i.test(s)?Ce(s):s;return r[a]=L(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,r},e):e,pe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=f(e)),n+e.replace(/[!./:#]/g,"\\$&")}),X=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(x(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),re=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)},Ge=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let s=n+r>>1;e[s]<=t?r=s+1:n=s;}return n},H,q,V=(e="")=>(H.push(e),""),Re=e=>{H.length=Math.max(H.lastIndexOf("")+~~e,0);},$t=e=>e&&e[0]!==":",Pt=e=>e[0]===":",Ye=(e,t,n)=>{q.push({v:H.filter(Pt),d:e,n:t,i:n,$:""});},Je=e=>{let t=e[0]==="-";t&&(e=f(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(H.filter($t));return Ye(e==="&"?r:(r&&r+"-")+e,t,n),""},ie=(e,t)=>{let n,r="";for(let s=0;s<e.length;)switch(n=e[s++]){case":":r=r&&V(":"+r);break;case"(":r=r&&V(r),V();break;case")":case" ":case" ":case`
`:case"\r":r=r&&Je(r),Re(n!==")");break;default:r+=n;}r&&(t?V(":"+r):r.slice(-1)==="-"?V(r.slice(0,-1)):Je(r));},Ke=e=>{V(),me(e),Re();},At=(e,t)=>{if(t){V();let n=b("tbu",(typeof t)[1]);ie(e,n),n&&Ke(t),Re();}},me=e=>{switch(typeof e){case"string":ie(e);break;case"function":Ye(e);break;case"object":Array.isArray(e)?e.forEach(Ke):e&&Object.keys(e).forEach(t=>{At(t,e[t]);});}},Qe=new WeakMap,Ft=e=>{let t=Qe.get(e);if(!t){let n=NaN,r="";t=e.map((s,i)=>{if(n!=n&&b(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return p=>{i===n&&(r=""),r+=s,x(p)?r+=p:p&&(ie(r),r="",me(p)),i===e.length-1&&ie(r);};let a=q=[];ie(s);let d=[...H];return q=[],p=>{q.push(...a),H=[...d],p&&me(p);}}),Qe.set(e,t);}return t},oe=e=>(H=[],q=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Ft(e[0]).forEach((t,n)=>t(e[n+1])):me(e),q),Et=(e,t)=>{if(v(t))throw 0;return t},zt=e=>{try{return JSON.stringify(e,Et)}catch(t){}},Xe=new WeakMap,se=(e,t)=>{let n=zt(t),r;if(n){var s=Xe.get(e);s||Xe.set(e,s=new Map),r=s.get(n);}return r||(r=Object.defineProperty((i,a)=>e(t,Array.isArray(i)?a:i),"toJSON",{value:()=>n||t}),s&&(s.set(n,r),fe(s,1e4))),r},Dt=(e,{css:t})=>t(oe(e)),jt=(...e)=>se(Dt,e);var qe=e=>(t,n,r,s)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,d)=>(a[ne([r,d,s])]=t,a),{})}},Ze=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]),ae=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},he=qe(ae),o,B,w,le=e=>(t,n,r)=>({[e]:r+((o=u(t))&&"-"+o)}),h=(e,t)=>(n,r,s)=>({[e||s]:u(n,t)}),C=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),j=(e,t)=>(n,r)=>e(n,r,t),N=le("display"),ce=le("position"),Z=le("textTransform"),ee=le("textDecoration"),be=le("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,/*!*/ /*!*/)"}),xe=(e,{theme:t},n)=>({[n]:t("inset",e)}),de=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",f(e))}),ke=(e,t)=>Math.round(parseInt(e,16)*t),we=(e,t,n)=>e&&e[0]==="#"?`rgba(${ke(e.substr(1,o=(e.length-1)/3),w=[17,1,.062272][o-1])},${ke(e.substr(1+o,o),w)},${ke(e.substr(1+2*o,o),w)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,ye=(e,t,n)=>n&&(o=we(n,t+"-opacity"))&&o!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,o]}:{[e]:n},et=e=>(w=we(e,"","0"))===o?"transparent":w,tt=(e,{theme:t},n,r,s,i)=>(o={x:["right","left"],y:["bottom","top"]}[e[0]])&&(w=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[w]:"1"}:{[w]:"0",[ne([s,o[0],i])]:(B=t(r,f(e)))&&`calc(${B} * var(${w}))`,[ne([s,o[1],i])]:B&&[B,`calc(${B} * calc(1 - var(${w})))`]}:void 0,nt=(e,t)=>({[e]:(b("wun",(t[0]||"")[3])?"space-":"")+t[0]}),$e=e=>t=>b(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:nt(e,t),rt=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]}}},it=(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 de(e,t,n)}return (o=t(n+"Width",e,""))?{borderWidth:o}: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))",Ae=(e,t,n)=>(o=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&o,[`--tw-${n}-y`]:e[0]!=="x"&&o,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${o})`,Pe()]},ot=e=>(t,n,r)=>r[1]?he(n.theme(e,t),r[1],e):C(e)(t,n,r),G=ot("padding"),Y=ot("margin"),st=(e,{theme:t},n)=>(o={w:"width",h:"height"}[e[0]])&&{[o=`${n}${Be(o)}`]:t(o,f(e))},at={group:(e,{tag:t})=>t("group"),hidden:j(N,"none"),inline:N,block:N,contents:N,flow:N,table:(e,t,n)=>b(["auto","fixed"],e[0])?{tableLayout:e[0]}:N(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return {flexDirection:u(e[0]==="col"?["column",...f(e)]:e)};case"nowrap":case"wrap":return {flexWrap:u(e)};case"grow":case"shrink":return {[`flex-${e[0]}`]:e[1]||"1"}}return (o=t.theme("flex",e,""))?{flex:o}:N(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))`:u(f(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...f(e,2)]:f(e)," ")}}return N(e,t,n)},auto:e=>b(["cols","rows"],e[0])&&(o=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(${u(f(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:o},static:ce,fixed:ce,absolute:ce,relative:ce,sticky:ce,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:xe,right:xe,bottom:xe,left:xe,inset:(e,{theme:t})=>(o=ae(e[0]))?he(t("inset",f(e)),e[0]):(o=t("inset",e))&&{top:o,right:o,bottom:o,left:o},underline:ee,"line-through":ee,"no-underline":j(ee,"none"),"text-underline":j(ee,"underline"),"text-no-underline":j(ee,"none"),"text-line-through":j(ee,"line-through"),uppercase:Z,lowercase:Z,capitalize:Z,"normal-case":j(Z,"none"),"text-normal-case":j(Z,"none"),italic:be,"not-italic":j(be,"normal"),"font-italic":j(be,"italic"),"font-not-italic":j(be,"normal"),font:(e,t,n)=>(o=t.theme("fontFamily",e,""))?{fontFamily:o}:C("fontWeight")(e,t,n),items:e=>({alignItems:b(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":h(),"justify-items":h(),justify:$e("justifyContent"),content:$e("alignContent"),self:$e("alignSelf"),place:e=>nt("place-"+e[0],f(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:rt("column"),row:rt("row"),duration:C("transitionDuration"),delay:C("transitionDelay"),tracking:C("letterSpacing"),leading:C("lineHeight"),z:C("zIndex"),opacity:C(),ease:C("transitionTimingFunction"),p:G,py:G,px:G,pt:G,pr:G,pb:G,pl:G,m:Y,my:Y,mx:Y,mt:Y,mr:Y,mb:Y,ml:Y,w:C("width"),h:C("height"),min:st,max:st,fill:C(),order:C(),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:Pe(e[0]==="gpu")},rotate:(e,{theme:t})=>(o=t("rotate",e))&&{"--tw-rotate":o,transform:[`rotate(${o})`,Pe()]},scale:Ae,translate:Ae,skew:Ae,gap:(e,t,n)=>(o={x:"column",y:"row"}[e[0]])?{[o+"Gap"]:t.theme("gap",f(e))}:C("gap")(e,t,n),stroke:(e,t,n)=>(o=t.theme("stroke",e,""))?{stroke:o}:C("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(o=t("outline",e))&&{outline:o[0],outlineOffset:o[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 Z([],o,e[0]);case"opacity":return de(e,t,n)}let r=t("fontSize",e,"");return r?x(r)?{fontSize:r}:l({fontSize:r[0]},x(r[1])?{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 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 de(e,t,n,"background");case"clip":return {backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(o=ae(e[2])))return {backgroundImage:`linear-gradient(to ${u(o," ")},var(--tw-gradient-stops))`}}return (o=t("backgroundImage",e,""))?{backgroundImage:o}:ye("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(o=t("gradientColorStops",e))&&{"--tw-gradient-from":o,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${et(o)})`},via:(e,{theme:t})=>(o=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${o},var(--tw-gradient-to,${et(o)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>ae(e[0])?he(t.theme("borderWidth",f(e)),e[0],"border","width"):it(e,t,n),divide:(e,t,n)=>(o=tt(e,t,n,"divideWidth","border","width")||it(e,t,n))&&{"&>:not([hidden])~:not([hidden])":o},space:(e,t,n)=>(o=tt(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":o},placeholder:(e,{theme:t},n)=>(o=e[0]==="opacity"?de(e,t,n):ye("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":o},shadow:(e,{theme:t})=>(o=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":o==="none"?"0 0 transparent":o,boxShadow:[o,"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(w=t("animation",e)){let r=w.split(" ");return (o=t("keyframes",r[0],B={}))!==B?(w=n(r[0]))&&{animation:w+" "+u(f(r)," "),["@keyframes "+w]:o}:{animation:w}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return {"--tw-ring-inset":"inset"};case"opacity":return de(e,t,n);case"offset":return (o=t("ringOffsetWidth",f(e),""))?{"--tw-ring-offset-width":o}:{"--tw-ring-offset-color":t("ringOffsetColor",f(e))}}return (o=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(${o} + 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":we(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":we(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)=>Ze(t.theme("borderRadius",f(e),""),e[0],"border","radius")||C("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:s}=t("container"),i=a=>(o=s&&(x(s)?s:s[a]||s.DEFAULT))?{paddingRight:o,paddingLeft:o}:{};return Object.keys(n).reduce((a,d)=>((w=n[d])&&x(w)&&(a[X(w)]={"&":l({"max-width":w},i(d))}),a),l(l({width:"100%"},r?{marginRight:"auto",marginLeft:"auto"}:{}),i("xs")))}},lt=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"}}),ct={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:"&&"},dt="__twind",gt=e=>{let t=self[dt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=dt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Fe=({nonce:e,target:t=gt(e).sheet}={})=>{let n=t.cssRules.length;return {target:t,insert:(r,s)=>t.insertRule(r,n+s)}},Ee=()=>({target:null,insert:ue}),Se=e=>({unknown(t,n=[],r,s){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},s);},report(r){var{id:t}=r,n=Le(r,["id"]);let s=`[${t}] ${JSON.stringify(n)}`,i=(new Error(s).stack||s).split("at ");for(let a;(a=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(a););return e(i.join("at "))}}),ve=Se(e=>console.warn(e)),ze=Se(e=>{throw new Error(e)}),De=Se(ue),Mt=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 ut(e){return Mt.get(e)}function ft(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 pt(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 D=(e,t,n)=>`${e}:${t}${n?" !important":""}`,je=(e,t,n)=>{let r="",s=ut(e);s&&(r+=`${D(s,t,n)};`);let i=ft(e);return i&1&&(r+=`-webkit-${D(e,t,n)};`),i&2&&(r+=`-moz-${D(e,t,n)};`),i&4&&(r+=`-ms-${D(e,t,n)};`),i=pt(e,t),i&1&&(r+=`${D(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${D(e,`-moz-${t}`,n)};`),i&4&&(r+=`${D(e,`-ms-${t}`,n)};`),r+=D(e,t,n),r},ge=(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},I=(e,t="",n=1,r=0,s=1)=>{let i={};for(;r<=e;r+=s)i[r]=r/n+t;return i},T=e=>t=>t(e),Ot=(e,{theme:t})=>t(...e),Wt=(...e)=>se(Ot,e),It={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:l(l(l(l(l({px:"1px",0:"0px"},I(4,"rem",4,.5,.5)),I(12,"rem",4,5)),{14:"3.5rem"}),I(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:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>l(l({},e("colors")),{DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("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:l({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:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("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:T("spacing"),gradientColorStops:T("colors"),height:e=>l(l(l({auto:"auto"},e("spacing")),ge(2,6)),{full:"100%",screen:"100vh"}),inset:e=>l(l(l({auto:"auto"},e("spacing")),ge(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:l({none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},I(10,"rem",4,3)),margin:e=>l({auto:"auto"},e("spacing")),maxHeight:e=>l(l({},e("spacing")),{full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>l({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:l(l({},I(100,"",100,0,10)),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:l({first:"-9999",last:"9999",none:"0"},I(12,"",1,1)),outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>l({DEFAULT:e("colors.blue.500","#3b82f6")},e("colors")),ringOffsetColor:T("colors"),ringOffsetWidth:U(8,"px"),ringOpacity:e=>l({DEFAULT:"0.5"},e("opacity")),ringWidth:l({DEFAULT:"3px"},U(8,"px")),rotate:l(l(l({},U(2,"deg")),U(12,"deg",3)),U(180,"deg",45)),scale:l(l({0:"0",50:".5",75:".75"},I(110,"",100,90,5)),{125:"1.25",150:"1.5"}),skew:l(l({},U(2,"deg")),U(12,"deg",3)),space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:I(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>l({DEFAULT:"150ms"},e("durations")),transitionDelay:T("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=>l(l(l({},e("spacing")),ge(2,4)),{full:"100%"}),width:e=>l(l(l(l({auto:"auto"},e("spacing")),ge(2,6)),ge(12,12)),{screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:l({auto:"auto"},I(50,"",1,0,10))},mt=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let s=e[r];r==="DEFAULT"&&(t[u(n)]=s,t[u(n,".")]=s);let i=[...n,r];t[u(i)]=s,t[u(i,".")]=s,L(s)&&mt(s,t,i);},t),t),Ht={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>x(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},ht=e=>{let t=new Map,n=l(l({},It),e),r=(i,a)=>{let d=i&&i[a],p=v(d)?d(s,Ht):d;return p&&a==="colors"?mt(p):p},s=(i,a,d)=>{let p=i.split(".");i=p[0],p.length>1&&(d=a,a=u(f(p),"."));let $=t.get(i);if($||t.set(i,$=l(l({},r(n,i)),r(n.extend,i))),a!=null){let M=$[(Array.isArray(a)?u(a):a)||"DEFAULT"];return M==null?d:Array.isArray(M)&&!b(["fontSize","outline"],i)?u(M,","):M}return $};return s},bt=(e,t)=>(n,r)=>{if(v(n.d))return n.d(t);let s=n.d.split("-");if(!r&&s[0]==="tw"&&n.$===n.d)return n.$;for(let i=s.length;i;i--){let a=u(s.slice(0,i)),d=e[a];if(d)return v(d)?d(f(s,i),t,a):x(d)?t[r?"css":"tw"](d):d}},xt=(e,t,{theme:n,tag:r})=>{let s=(i,a)=>{let d=n("screens",f(a),"");return d?{[X(d)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:a.slice(1,7)==="group-"?{[`.${pe(r("group"))}:${f(a,7)} &`]:i}:{[t[f(a)]||"&"+a]:i}};return (i,a)=>a.v.reduceRight(s,i)},k,Me=e=>(((k=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+k[1]/(k[2]?15:1)/10:0)&31)<<22,wt=e=>{k=0;for(let t=e.length;t--;)k+=b("-:,",e[t]);return k},Oe=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"],_t=e=>1<<(~(k=Nt.indexOf(e.replace(/^:group-/,":").slice(3,8)))?k:17),yt=(e,t)=>(n,r)=>n|((k=e("screens",f(r),""))?1<<27|Me(X(k)):r===":dark"?1<<30:(k=t[r]||r)[0]==="@"?Oe(k):_t(r)),St=e=>e[0]==="-"?0:wt(e)+((k=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!k[1]||-!!k[2]:0)+1,We=(e,t)=>t+"{"+e+"}",Ie;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css";})(Ie||(Ie={}));var vt=(e,t,n)=>{let{theme:r,tag:s}=n,i=(R,y)=>"--"+s(y),a=R=>`${R}`.replace(/--(tw-[\w-]+)\b/g,i),d=(R,y,P)=>(R=a(R),Array.isArray(y)?u(y.filter(Boolean).map(F=>e(R,a(F),P)),";"):e(R,a(y),P)),p,$=(R,y,P,F,O)=>{let W="",J=0,K=0;Object.keys(F).forEach(S=>{let E=Q(F[S],n);if(b("rg",(typeof E)[5])&&E!==""||Array.isArray(E)){let A=Ce(S);K+=1,J=Math.max(J,St(A)),W=(W&&W+";")+d(A,E,O);}else if(E)if(S[0]==="@")if(S[1]==="f")$([],S,0,E,O);else if(S[1]==="k"){let A=p.length;$([],"",0,E,O);let c=p.splice(A,p.length-A);p.push({r:We(u(c.map(g=>g.r),""),S),p:c.reduce((g,m)=>g+m.p,0)});}else $([...R,S],y,P|Me(S)|Oe(S),E,O);else $(R,y?y.replace(/([^,])+/g,A=>S.replace(/([^,])+/g,c=>b(c,"&")?c.replace(/&/g,A):(A&&A+" ")+c)):S,y&&b(S,"&")?P:0,E,O);}),K&&p.push({r:R.reduceRight(We,We(W,y)),p:P*(1<<8)+((Math.max(0,15-K)&15)<<4|(J||15)&15)});},M=yt(r,t);return (R,y,P,F=0)=>(F<<=28,p=[],$([],y?"."+pe(y):"",P?P.v.reduceRight(M,F):F,R,P&&P.i),p)},Ct=(e,t,n,r)=>{let s;n((a=[])=>s=a);let i;return n((a=new Set)=>i=a),({r:a,p:d})=>{if(!i.has(a)){i.add(a);let p=Ge(s,d);try{e.insert(a,p),s.splice(p,0,d);}catch($){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:$},r);}}}},He=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Ut=e=>(x(e)?{t:ze,a:ve,i:De}[e[1]]:e)||ve,Ne=(e,t=e.d)=>{if(v(t))return "";let n=u(e.v,"");return (n&&f(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Lt={_:{value:"",writable:!0}},Tt=(e={})=>{let t=ht(e.theme),n=Ut(e.mode),r=He(e.hash,!1,!1,re),s={v:[]},i=0,a=[],d={tw:(...c)=>E(c),theme:(c,g,m)=>{g!=null&&!g.length&&(g="DEFAULT");let z=t(c,g,m)||n.unknown(c,g==null||Array.isArray(g)?g:g.split("."),m!=null,d);return s.n&&z&&x(z)?`calc(${z} * -1)`:z},tag:c=>r?r(c):c,css:c=>{i++;let g=a.length;try{(x(c)?oe([c]):c).forEach(S);let m=Object.create(null,Lt);for(let z=g;z<a.length;z++){let te=a[z];L(te)?Te(m,te,d):te&&x(te)&&(m._+=(m._&&" ")+te);}return m}finally{a.length=g,i--;}}},p=bt(l(l({},at),e.plugins),d),$=c=>{let g=s;s=c;try{return Q(p(c),d)}finally{s=g;}},M=l(l({},ct),e.variants),R=xt(e.darkMode||"media",M,d),y=vt(He(e.prefix,je,D),M,d),P=e.sheet||(typeof window=="undefined"?Ee():Fe(e)),{init:F=c=>c()}=P,O=Ct(P,n,F,d),W;F((c=new Map)=>W=c);let J=new WeakMap,K=(c,g)=>v(g)?JSON.stringify(g(d),K):g,S=c=>{s.v.length&&(c=l(l({},c),{v:[...s.v,...c.v],$:""})),c.$||(c.$=Ne(c)||Ne(c,J.get(c.d)));let g=i?null:W.get(c.$);if(g==null){let m=$(c);if(c.$||(c.$=re(JSON.stringify(m,K)),J.set(c.d,c.$),c.$=Ne(c,c.$)),L(m)){m[":global"]&&(m[":global"]=y(m[":global"]).forEach(O));let z=v(c.d)?x(m._)?1:3:2;g=r||v(c.d)?(r||re)(z+c.$):c.$,m=R(m,c),i?a.push(m):(y(m,g,c,z).forEach(O),m._&&(g+=" "+m._));}else x(m)?g=m:(g=c.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:g},d)),i&&!v(c.d)&&a.push(g);i||(W.set(c.$,g),fe(W,3e4));}return g},E=c=>oe(c).map(S).filter(Boolean).join(" "),A=He(e.preflight,Ve,!1);if(A){let c=lt(t),g=y(v(A)?Q(A(c,d),d)||c:l(l({},c),A));F((m=(g.forEach(O),!0))=>m);}return {init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:E}},_e=e=>{let t=r=>(n(),t(r)),n=r=>{({process:t,init:n}=Tt(r));};return e&&n(e),{tw:(...r)=>t(r),setup:r=>n(r)}},{tw:Vt,setup:Bt}=_e();exports.apply=jt;exports.autoprefix=je;exports.create=_e;exports.cssomSheet=Fe;exports.directive=se;exports.hash=re;exports.mode=Se;exports.noprefix=D;exports.setup=Bt;exports.silent=De;exports.strict=ze;exports.theme=Wt;exports.tw=Vt;exports.voidSheet=Ee;exports.warn=ve;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=twind.umd.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 Rt=Object.prototype.hasOwnProperty,Ue=Object.getOwnPropertySymbols,kt=Object.prototype.propertyIsEnumerable,l=Object.assign,Le=(e,t)=>{var n={};for(var r in e)Rt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ue)for(var r of Ue(e))t.indexOf(r)<0&&kt.call(e,r)&&(n[r]=e[r]);return n},x=e=>typeof e=="string",L=e=>e!=null&&typeof e=="object",C=e=>typeof e=="function",b=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),ne=(e,t)=>u(e.filter(Boolean),t),f=(e,t=1)=>e.slice(t),Ve=e=>e,ue=()=>{},Be=e=>e[0].toUpperCase()+f(e),ve=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),Q=(e,t)=>{for(;C(e);)e=e(t);return e},fe=(e,t)=>{e.size>t&&e.delete(e.keys().next().value);},Te=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=Q(t[o],n),a=/^[A-Z0-9-]+$/i.test(o)?ve(o):o;return r[a]=L(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,r},e):e,pe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=f(e)),n+e.replace(/[!./:#]/g,"\\$&")}),X=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(x(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),re=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)},Ge=(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},H,q,V=(e="")=>(H.push(e),""),Re=e=>{H.length=Math.max(H.lastIndexOf("")+~~e,0);},$t=e=>e&&e[0]!==":",Pt=e=>e[0]===":",Ke=(e,t,n)=>{q.push({v:H.filter(Pt),d:e,n:t,i:n,$:""});},Ye=e=>{let t=e[0]==="-";t&&(e=f(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(H.filter($t));return Ke(e==="&"?r:(r&&r+"-")+e,t,n),""},ie=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&V(":"+r);break;case"(":r=r&&V(r),V();break;case")":case" ":case" ":case`
`:case"\r":r=r&&Ye(r),Re(n!==")");break;default:r+=n;}r&&(t?V(":"+r):r.slice(-1)==="-"?V(r.slice(0,-1)):Ye(r));},Je=e=>{V(),me(e),Re();},At=(e,t)=>{if(t){V();let n=b("tbu",(typeof t)[1]);ie(e,n),n&&Je(t),Re();}},me=e=>{switch(typeof e){case"string":ie(e);break;case"function":Ke(e);break;case"object":Array.isArray(e)?e.forEach(Je):e&&Object.keys(e).forEach(t=>{At(t,e[t]);});}},Qe=new WeakMap,Ft=e=>{let t=Qe.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!=n&&b(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return p=>{i===n&&(r=""),r+=o,x(p)?r+=p:p&&(ie(r),r="",me(p)),i===e.length-1&&ie(r);};let a=q=[];ie(o);let d=[...H];return q=[],p=>{q.push(...a),H=[...d],p&&me(p);}}),Qe.set(e,t);}return t},oe=e=>(H=[],q=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Ft(e[0]).forEach((t,n)=>t(e[n+1])):me(e),q),Et=(e,t)=>{if(C(t))throw 0;return t},zt=e=>{try{return JSON.stringify(e,Et)}catch(t){}},Xe=new WeakMap,se=(e,t)=>{let n=zt(t),r;if(n){var o=Xe.get(e);o||Xe.set(e,o=new Map),r=o.get(n);}return r||(r=Object.defineProperty((i,a)=>e(t,Array.isArray(i)?a:i),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),fe(o,1e4))),r},Dt=(e,{css:t})=>t(oe(e)),jt=(...e)=>se(Dt,e);var qe=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,d)=>(a[ne([r,d,o])]=t,a),{})}},Ze=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]),ae=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},he=qe(ae),s,B,w,le=e=>(t,n,r)=>({[e]:r+((s=u(t))&&"-"+s)}),h=(e,t)=>(n,r,o)=>({[e||o]:u(n,t)}),v=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),j=(e,t)=>(n,r)=>e(n,r,t),N=le("display"),ce=le("position"),Z=le("textTransform"),ee=le("textDecoration"),be=le("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,/*!*/ /*!*/)"}),xe=(e,{theme:t},n)=>({[n]:t("inset",e)}),de=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",f(e))}),ke=(e,t)=>Math.round(parseInt(e,16)*t),we=(e,t,n)=>e&&e[0]==="#"?`rgba(${ke(e.substr(1,s=(e.length-1)/3),w=[17,1,.062272][s-1])},${ke(e.substr(1+s,s),w)},${ke(e.substr(1+2*s,s),w)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,ye=(e,t,n)=>n&&(s=we(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},et=e=>(w=we(e,"","0"))===s?"transparent":w,tt=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(w=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[w]:"1"}:{[w]:"0",[ne([o,s[0],i])]:(B=t(r,f(e)))&&`calc(${B} * var(${w}))`,[ne([o,s[1],i])]:B&&[B,`calc(${B} * calc(1 - var(${w})))`]}:void 0,nt=(e,t)=>({[e]:(b("wun",(t[0]||"")[3])?"space-":"")+t[0]}),$e=e=>t=>b(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:nt(e,t),rt=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]}}},it=(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 de(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))",Ae=(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()]},ot=e=>(t,n,r)=>r[1]?he(n.theme(e,t),r[1],e):v(e)(t,n,r),G=ot("padding"),K=ot("margin"),st=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Be(s)}`]:t(s,f(e))},at={group:(e,{tag:t})=>t("group"),hidden:j(N,"none"),inline:N,block:N,contents:N,flow:N,table:(e,t,n)=>b(["auto","fixed"],e[0])?{tableLayout:e[0]}:N(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return {flexDirection:u(e[0]==="col"?["column",...f(e)]:e)};case"nowrap":case"wrap":return {flexWrap:u(e)};case"grow":case"shrink":return {[`flex-${e[0]}`]:e[1]||"1"}}return (s=t.theme("flex",e,""))?{flex:s}:N(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))`:u(f(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...f(e,2)]:f(e)," ")}}return N(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(${u(f(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:ce,fixed:ce,absolute:ce,relative:ce,sticky:ce,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:xe,right:xe,bottom:xe,left:xe,inset:(e,{theme:t})=>(s=ae(e[0]))?he(t("inset",f(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:ee,"line-through":ee,"no-underline":j(ee,"none"),"text-underline":j(ee,"underline"),"text-no-underline":j(ee,"none"),"text-line-through":j(ee,"line-through"),uppercase:Z,lowercase:Z,capitalize:Z,"normal-case":j(Z,"none"),"text-normal-case":j(Z,"none"),italic:be,"not-italic":j(be,"normal"),"font-italic":j(be,"italic"),"font-not-italic":j(be,"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]}`:u(e)}),"justify-self":h(),"justify-items":h(),justify:$e("justifyContent"),content:$e("alignContent"),self:$e("alignSelf"),place:e=>nt("place-"+e[0],f(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:rt("column"),row:rt("row"),duration:v("transitionDuration"),delay:v("transitionDelay"),tracking:v("letterSpacing"),leading:v("lineHeight"),z:v("zIndex"),opacity:v(),ease:v("transitionTimingFunction"),p:G,py:G,px:G,pt:G,pr:G,pb:G,pl:G,m:K,my:K,mx:K,mt:K,mr:K,mb:K,ml:K,w:v("width"),h:v("height"),min:st,max:st,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:Pe(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Pe()]},scale:Ae,translate:Ae,skew:Ae,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",f(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 Z([],s,e[0]);case"opacity":return de(e,t,n)}let r=t("fontSize",e,"");return r?x(r)?{fontSize:r}:l({fontSize:r[0]},x(r[1])?{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 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 de(e,t,n,"background");case"clip":return {backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=ae(e[2])))return {backgroundImage:`linear-gradient(to ${u(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,${et(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${et(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>ae(e[0])?he(t.theme("borderWidth",f(e)),e[0],"border","width"):it(e,t,n),divide:(e,t,n)=>(s=tt(e,t,n,"divideWidth","border","width")||it(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=tt(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?de(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(w=t("animation",e)){let r=w.split(" ");return (s=t("keyframes",r[0],B={}))!==B?(w=n(r[0]))&&{animation:w+" "+u(f(r)," "),["@keyframes "+w]:s}:{animation:w}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return {"--tw-ring-inset":"inset"};case"opacity":return de(e,t,n);case"offset":return (s=t("ringOffsetWidth",f(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",f(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":we(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":we(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)=>Ze(t.theme("borderRadius",f(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:o}=t("container"),i=a=>(s=o&&(x(o)?o:o[a]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,d)=>((w=n[d])&&x(w)&&(a[X(w)]={"&":l({"max-width":w},i(d))}),a),l(l({width:"100%"},r?{marginRight:"auto",marginLeft:"auto"}:{}),i("xs")))}},lt=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"}}),ct={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:"&&"},dt="__twind",gt=e=>{let t=self[dt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=dt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Fe=({nonce:e,target:t=gt(e).sheet}={})=>{let n=t.cssRules.length;return {target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Ee=()=>({target:null,insert:ue}),Se=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},o);},report(r){var{id:t}=r,n=Le(r,["id"]);let o=`[${t}] ${JSON.stringify(n)}`,i=(new Error(o).stack||o).split("at ");for(let a;(a=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(a););return e(i.join("at "))}}),Ce=Se(e=>console.warn(e)),ze=Se(e=>{throw new Error(e)}),De=Se(ue),Mt=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 ut(e){return Mt.get(e)}function ft(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 pt(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 D=(e,t,n)=>`${e}:${t}${n?" !important":""}`,je=(e,t,n)=>{let r="",o=ut(e);o&&(r+=`${D(o,t,n)};`);let i=ft(e);return i&1&&(r+=`-webkit-${D(e,t,n)};`),i&2&&(r+=`-moz-${D(e,t,n)};`),i&4&&(r+=`-ms-${D(e,t,n)};`),i=pt(e,t),i&1&&(r+=`${D(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${D(e,`-moz-${t}`,n)};`),i&4&&(r+=`${D(e,`-ms-${t}`,n)};`),r+=D(e,t,n),r},ge=(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},I=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},T=e=>t=>t(e),Ot=(e,{theme:t})=>t(...e),Wt=(...e)=>se(Ot,e),It={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:l(l(l(l(l({px:"1px",0:"0px"},I(4,"rem",4,.5,.5)),I(12,"rem",4,5)),{14:"3.5rem"}),I(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:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>l(l({},e("colors")),{DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("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:l({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:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("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:T("spacing"),gradientColorStops:T("colors"),height:e=>l(l(l({auto:"auto"},e("spacing")),ge(2,6)),{full:"100%",screen:"100vh"}),inset:e=>l(l(l({auto:"auto"},e("spacing")),ge(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:l({none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},I(10,"rem",4,3)),margin:e=>l({auto:"auto"},e("spacing")),maxHeight:e=>l(l({},e("spacing")),{full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>l({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:l(l({},I(100,"",100,0,10)),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:l({first:"-9999",last:"9999",none:"0"},I(12,"",1,1)),outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>l({DEFAULT:e("colors.blue.500","#3b82f6")},e("colors")),ringOffsetColor:T("colors"),ringOffsetWidth:U(8,"px"),ringOpacity:e=>l({DEFAULT:"0.5"},e("opacity")),ringWidth:l({DEFAULT:"3px"},U(8,"px")),rotate:l(l(l({},U(2,"deg")),U(12,"deg",3)),U(180,"deg",45)),scale:l(l({0:"0",50:".5",75:".75"},I(110,"",100,90,5)),{125:"1.25",150:"1.5"}),skew:l(l({},U(2,"deg")),U(12,"deg",3)),space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:I(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>l({DEFAULT:"150ms"},e("durations")),transitionDelay:T("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=>l(l(l({},e("spacing")),ge(2,4)),{full:"100%"}),width:e=>l(l(l(l({auto:"auto"},e("spacing")),ge(2,6)),ge(12,12)),{screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:l({auto:"auto"},I(50,"",1,0,10))},mt=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[u(n)]=o,t[u(n,".")]=o);let i=[...n,r];t[u(i)]=o,t[u(i,".")]=o,L(o)&&mt(o,t,i);},t),t),Ht={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>x(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},ht=e=>{let t=new Map,n=l(l({},It),e),r=(i,a)=>{let d=i&&i[a],p=C(d)?d(o,Ht):d;return p&&a==="colors"?mt(p):p},o=(i,a,d)=>{let p=i.split(".");i=p[0],p.length>1&&(d=a,a=u(f(p),"."));let $=t.get(i);if($||t.set(i,$=l(l({},r(n,i)),r(n.extend,i))),a!=null){let M=$[(Array.isArray(a)?u(a):a)||"DEFAULT"];return M==null?d:Array.isArray(M)&&!b(["fontSize","outline"],i)?u(M,","):M}return $};return o},bt=(e,t)=>(n,r)=>{if(C(n.d))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 a=u(o.slice(0,i)),d=e[a];if(d)return C(d)?d(f(o,i),t,a):x(d)?t[r?"css":"tw"](d):d}},xt=(e,t,{theme:n,tag:r})=>{let o=(i,a)=>{let d=n("screens",f(a),"");return d?{[X(d)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:a.slice(1,7)==="group-"?{[`.${pe(r("group"))}:${f(a,7)} &`]:i}:{[t[f(a)]||"&"+a]:i}};return (i,a)=>a.v.reduceRight(o,i)},k,Me=e=>(((k=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+k[1]/(k[2]?15:1)/10:0)&31)<<22,wt=e=>{k=0;for(let t=e.length;t--;)k+=b("-:,",e[t]);return k},Oe=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"],_t=e=>1<<(~(k=Nt.indexOf(e.replace(/^:group-/,":").slice(3,8)))?k:17),yt=(e,t)=>(n,r)=>n|((k=e("screens",f(r),""))?1<<27|Me(X(k)):r===":dark"?1<<30:(k=t[r]||r)[0]==="@"?Oe(k):_t(r)),St=e=>e[0]==="-"?0:wt(e)+((k=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!k[1]||-!!k[2]:0)+1,We=(e,t)=>t+"{"+e+"}",Ie;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css";})(Ie||(Ie={}));var Ct=(e,t,n)=>{let{theme:r,tag:o}=n,i=(R,y)=>"--"+o(y),a=R=>`${R}`.replace(/--(tw-[\w-]+)\b/g,i),d=(R,y,P)=>(R=a(R),Array.isArray(y)?u(y.filter(Boolean).map(F=>e(R,a(F),P)),";"):e(R,a(y),P)),p,$=(R,y,P,F,O)=>{let W="",Y=0,J=0;Object.keys(F).forEach(S=>{let E=Q(F[S],n);if(b("rg",(typeof E)[5])&&E!==""||Array.isArray(E)){let A=ve(S);J+=1,Y=Math.max(Y,St(A)),W=(W&&W+";")+d(A,E,O);}else if(E)if(S[0]==="@")if(S[1]==="f")$([],S,0,E,O);else if(S[1]==="k"){let A=p.length;$([],"",0,E,O);let c=p.splice(A,p.length-A);p.push({r:We(u(c.map(g=>g.r),""),S),p:c.reduce((g,m)=>g+m.p,0)});}else $([...R,S],y,P|Me(S)|Oe(S),E,O);else $(R,y?y.replace(/([^,])+/g,A=>S.replace(/([^,])+/g,c=>b(c,"&")?c.replace(/&/g,A):(A&&A+" ")+c)):S,y&&b(S,"&")?P:0,E,O);}),J&&p.push({r:R.reduceRight(We,We(W,y)),p:P*(1<<8)+((Math.max(0,15-J)&15)<<4|(Y||15)&15)});},M=yt(r,t);return (R,y,P,F=0)=>(F<<=28,p=[],$([],y?"."+pe(y):"",P?P.v.reduceRight(M,F):F,R,P&&P.i),p)},vt=(e,t,n,r)=>{let o;n((a=[])=>o=a);let i;return n((a=new Set)=>i=a),({r:a,p:d})=>{if(!i.has(a)){i.add(a);let p=Ge(o,d);try{e.insert(a,p),o.splice(p,0,d);}catch($){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:$},r);}}}},He=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Ut=e=>(x(e)?{t:ze,a:Ce,i:De}[e[1]]:e)||Ce,Ne=(e,t=e.d)=>{if(C(t))return "";let n=u(e.v,"");return (n&&f(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Lt={_:{value:"",writable:!0}},Tt=(e={})=>{let t=ht(e.theme),n=Ut(e.mode),r=He(e.hash,!1,!1,re),o={v:[]},i=0,a=[],d={tw:(...c)=>E(c),theme:(c,g,m)=>{g!=null&&!g.length&&(g="DEFAULT");let z=t(c,g,m)||n.unknown(c,g==null||Array.isArray(g)?g:g.split("."),m!=null,d);return o.n&&z&&x(z)?`calc(${z} * -1)`:z},tag:c=>r?r(c):c,css:c=>{i++;let g=a.length;try{(x(c)?oe([c]):c).forEach(S);let m=Object.create(null,Lt);for(let z=g;z<a.length;z++){let te=a[z];L(te)?Te(m,te,d):te&&x(te)&&(m._+=(m._&&" ")+te);}return m}finally{a.length=g,i--;}}},p=bt(l(l({},at),e.plugins),d),$=c=>{let g=o;o=c;try{return Q(p(c),d)}finally{o=g;}},M=l(l({},ct),e.variants),R=xt(e.darkMode||"media",M,d),y=Ct(He(e.prefix,je,D),M,d),P=e.sheet||(typeof window=="undefined"?Ee():Fe(e)),{init:F=c=>c()}=P,O=vt(P,n,F,d),W;F((c=new Map)=>W=c);let Y=new WeakMap,J=(c,g)=>C(g)?JSON.stringify(g(d),J):g,S=c=>{o.v.length&&(c=l(l({},c),{v:[...o.v,...c.v],$:""})),c.$||(c.$=Ne(c)||Ne(c,Y.get(c.d)));let g=i?null:W.get(c.$);if(g==null){let m=$(c);if(c.$||(c.$=re(JSON.stringify(m,J)),Y.set(c.d,c.$),c.$=Ne(c,c.$)),L(m)){m[":global"]&&(m[":global"]=y(m[":global"]).forEach(O));let z=C(c.d)?x(m._)?1:3:2;g=r||C(c.d)?(r||re)(z+c.$):c.$,m=R(m,c),i?a.push(m):(y(m,g,c,z).forEach(O),m._&&(g+=" "+m._));}else x(m)?g=m:(g=c.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:g},d)),i&&!C(c.d)&&a.push(g);i||(W.set(c.$,g),fe(W,3e4));}return g},E=c=>oe(c).map(S).filter(Boolean).join(" "),A=He(e.preflight,Ve,!1);if(A){let c=lt(t),g=y(C(A)?Q(A(c,d),d)||c:l(l({},c),A));F((m=(g.forEach(O),!0))=>m);}return {init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:E}},_e=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=Tt(i));};e&&n(e);let r,o=i=>()=>(r||t([a=>(r=a,"")]),r[i]);return {tw:Object.defineProperties((...i)=>t(i),{theme:{get:o("theme")}}),setup:i=>n(i)}},{tw:Vt,setup:Bt}=_e();exports.apply=jt;exports.autoprefix=je;exports.create=_e;exports.cssomSheet=Fe;exports.directive=se;exports.hash=re;exports.mode=Se;exports.noprefix=D;exports.setup=Bt;exports.silent=De;exports.strict=ze;exports.theme=Wt;exports.tw=Vt;exports.voidSheet=Ee;exports.warn=Ce;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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc