@jasonshimmy/custom-elements-runtime 2.5.1 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -40
- package/dist/css/colors.d.ts +14 -0
- package/dist/custom-elements-runtime.cjs.js +6 -18
- package/dist/custom-elements-runtime.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.colors.cjs.js +2 -0
- package/dist/custom-elements-runtime.colors.cjs.js.map +1 -0
- package/dist/custom-elements-runtime.colors.es.js +279 -0
- package/dist/custom-elements-runtime.colors.es.js.map +1 -0
- package/dist/custom-elements-runtime.directive-enhancements.es.js +1 -1
- package/dist/custom-elements-runtime.es.js +246 -3648
- package/dist/custom-elements-runtime.es.js.map +1 -1
- package/dist/custom-elements-runtime.event-bus.cjs.js +1 -1
- package/dist/custom-elements-runtime.event-bus.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.event-bus.es.js +28 -25
- package/dist/custom-elements-runtime.event-bus.es.js.map +1 -1
- package/dist/custom-elements-runtime.router.cjs.js +20 -20
- package/dist/custom-elements-runtime.router.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.router.es.js +790 -464
- package/dist/custom-elements-runtime.router.es.js.map +1 -1
- package/dist/custom-elements-runtime.ssr.cjs.js +1 -1
- package/dist/custom-elements-runtime.ssr.es.js +12 -8
- package/dist/custom-elements-runtime.ssr.es.js.map +1 -1
- package/dist/custom-elements-runtime.store.cjs.js +1 -1
- package/dist/custom-elements-runtime.store.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.store.es.js +5 -5
- package/dist/custom-elements-runtime.store.es.js.map +1 -1
- package/dist/custom-elements-runtime.transitions.cjs.js +1 -1
- package/dist/custom-elements-runtime.transitions.es.js +1 -1
- package/dist/event-bus.d.ts +17 -4
- package/dist/index.d.ts +13 -3
- package/dist/keep-alive.d.ts +50 -0
- package/dist/{logger-BuUYv7C_.js → logger-BvkEbVM4.js} +15 -11
- package/dist/logger-BvkEbVM4.js.map +1 -0
- package/dist/logger-CSALKaYm.cjs +2 -0
- package/dist/logger-CSALKaYm.cjs.map +1 -0
- package/dist/namespace-helpers-4qeKVqQw.cjs +5 -0
- package/dist/namespace-helpers-4qeKVqQw.cjs.map +1 -0
- package/dist/namespace-helpers-DcD_6_K1.js +989 -0
- package/dist/namespace-helpers-DcD_6_K1.js.map +1 -0
- package/dist/router/active-proxy.d.ts +5 -0
- package/dist/router/component-loader.d.ts +11 -0
- package/dist/router/instance.d.ts +11 -0
- package/dist/router/matcher.d.ts +14 -0
- package/dist/router/path-utils.d.ts +48 -0
- package/dist/router/types.d.ts +134 -0
- package/dist/router.d.ts +6 -147
- package/dist/runtime/builtin-components.d.ts +78 -0
- package/dist/runtime/component/element-class.d.ts +4 -0
- package/dist/runtime/component/factory.d.ts +39 -0
- package/dist/runtime/component/registry.d.ts +16 -0
- package/dist/runtime/component.d.ts +3 -50
- package/dist/runtime/discovery-state.d.ts +30 -0
- package/dist/runtime/hooks.d.ts +115 -0
- package/dist/runtime/logger.d.ts +19 -1
- package/dist/runtime/monitoring/health-monitor.d.ts +56 -0
- package/dist/runtime/reactive.d.ts +39 -7
- package/dist/runtime/render.d.ts +20 -4
- package/dist/runtime/scheduler.d.ts +115 -2
- package/dist/runtime/template-compiler/impl.d.ts +14 -0
- package/dist/runtime/template-compiler/lru-cache.d.ts +20 -0
- package/dist/runtime/template-compiler/props-parser.d.ts +15 -0
- package/dist/runtime/template-compiler/vnode-utils.d.ts +5 -0
- package/dist/runtime/template-compiler.d.ts +5 -28
- package/dist/runtime/types.d.ts +10 -0
- package/dist/runtime/vdom-directives.d.ts +71 -0
- package/dist/runtime/vdom-helpers.d.ts +126 -0
- package/dist/runtime/vdom-patch.d.ts +67 -0
- package/dist/runtime/vdom.d.ts +16 -140
- package/dist/ssr.d.ts +2 -1
- package/dist/teleport.d.ts +68 -0
- package/dist/template-compiler-CA4YRaBu.cjs +23 -0
- package/dist/template-compiler-CA4YRaBu.cjs.map +1 -0
- package/dist/template-compiler-CJFwjLCP.js +3981 -0
- package/dist/template-compiler-CJFwjLCP.js.map +1 -0
- package/dist/transitions-DPZiuXb9.cjs +330 -0
- package/dist/transitions-DPZiuXb9.cjs.map +1 -0
- package/dist/{transitions-CZ21fzhh.js → transitions-Di5wW9yc.js} +1059 -618
- package/dist/transitions-Di5wW9yc.js.map +1 -0
- package/dist/transitions.d.ts +1 -1
- package/package.json +20 -12
- package/dist/logger-BuUYv7C_.js.map +0 -1
- package/dist/logger-DiXdWaF-.cjs +0 -2
- package/dist/logger-DiXdWaF-.cjs.map +0 -1
- package/dist/namespace-helpers-BsKQl3aH.cjs +0 -5
- package/dist/namespace-helpers-BsKQl3aH.cjs.map +0 -1
- package/dist/namespace-helpers-Dw1mgQab.js +0 -692
- package/dist/namespace-helpers-Dw1mgQab.js.map +0 -1
- package/dist/transitions-CZ21fzhh.js.map +0 -1
- package/dist/transitions-RXe2brRm.cjs +0 -302
- package/dist/transitions-RXe2brRm.cjs.map +0 -1
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
"use strict";const Me=require("./custom-elements-runtime.directives.cjs.js"),Pe={base:{fontSize:"1rem",lineHeight:"1.75",p:"1.25em",lead:"1.25em",h1:"2.25em",h2:"1.5em",h3:"1.25em",h4:"1em",blockquote:"1.6em",figure:"2em",code:"0.875em",pre:"0.875em",ol:"1.25em",ul:"1.25em",li:"0.5em",hr:"3em",table:"2em"},sm:{fontSize:"0.875rem",lineHeight:"1.7142857",p:"1.1428571em",lead:"1.1428571em",h1:"2.1428571em",h2:"1.4285714em",h3:"1.2857143em",h4:"1em",blockquote:"1.4285714em",figure:"1.7142857em",code:"0.8571429em",pre:"0.8571429em",ol:"1.1428571em",ul:"1.1428571em",li:"0.4285714em",hr:"2.5714286em",table:"1.7142857em"},lg:{fontSize:"1.125rem",lineHeight:"1.7777778",p:"1.3333333em",lead:"1.3333333em",h1:"2.6666667em",h2:"1.7777778em",h3:"1.5555556em",h4:"1.1111111em",blockquote:"1.7777778em",figure:"2.2222222em",code:"0.8888889em",pre:"0.8888889em",ol:"1.3333333em",ul:"1.3333333em",li:"0.5555556em",hr:"3.3333333em",table:"2.2222222em"},xl:{fontSize:"1.25rem",lineHeight:"1.8",p:"1.4em",lead:"1.4em",h1:"2.8em",h2:"1.8em",h3:"1.6em",h4:"1.2em",blockquote:"1.8em",figure:"2.4em",code:"0.9em",pre:"0.9em",ol:"1.4em",ul:"1.4em",li:"0.6em",hr:"3.6em",table:"2.4em"},"2xl":{fontSize:"1.5rem",lineHeight:"1.6666667",p:"1.3333333em",lead:"1.3333333em",h1:"2.6666667em",h2:"1.7777778em",h3:"1.5555556em",h4:"1.2222222em",blockquote:"1.7777778em",figure:"2.2222222em",code:"0.8333333em",pre:"0.8333333em",ol:"1.3333333em",ul:"1.3333333em",li:"0.5555556em",hr:"3.1111111em",table:"2.2222222em"}};function Te(e){const t=e.match(/^prose(?:-(sm|lg|xl|2xl))?$/);if(!t)return null;const c=t[1]||"base",o=Pe[c],r=`.${e}`,i=[];return i.push(`${r}{--cer-prose-body:var(--cer-color-neutral-900);--cer-prose-headings:var(--cer-color-neutral-900);--cer-prose-lead:var(--cer-color-neutral-700);--cer-prose-links:var(--cer-color-neutral-700);--cer-prose-links-hover:var(--cer-color-neutral-500);--cer-prose-bold:var(--cer-color-neutral-900);--cer-prose-quotes:var(--cer-color-neutral-700);--cer-prose-quote-border:var(--cer-color-neutral-200);--cer-prose-code:var(--cer-color-neutral-800);--cer-prose-code-bg:var(--cer-color-neutral-100);--cer-prose-pre-code:var(--cer-color-neutral-800);--cer-prose-pre-bg:var(--cer-color-neutral-100);--cer-prose-pre-border:var(--cer-color-neutral-200);--cer-prose-hr:var(--cer-color-neutral-200);--cer-prose-caps:var(--cer-color-neutral-600);--cer-prose-list-marker:var(--cer-color-neutral-600);--cer-prose-list-marker-strong:var(--cer-color-neutral-700);--cer-prose-counters:var(--cer-color-neutral-600);--cer-prose-bullets:var(--cer-color-neutral-400);--cer-prose-img-caption:var(--cer-color-neutral-600);--cer-prose-table-border:var(--cer-color-neutral-200);--cer-prose-table-head:var(--cer-color-neutral-700);color:var(--cer-prose-body);font-size:${o.fontSize};line-height:${o.lineHeight};max-width:65ch;}`),i.push(`${r} p:not(.not-prose):not(.not-prose *){margin:${o.p} 0;}`),i.push(`${r} .lead:not(.not-prose):not(.not-prose *),${r} [class~="lead"]:not(.not-prose):not(.not-prose *){font-size:1.25em;line-height:1.6;margin-top:${o.lead};margin-bottom:${o.lead};color:var(--cer-prose-lead);}`),i.push(`${r} h1:not(.not-prose):not(.not-prose *),${r} h2:not(.not-prose):not(.not-prose *),${r} h3:not(.not-prose):not(.not-prose *),${r} h4:not(.not-prose):not(.not-prose *),${r} h5:not(.not-prose):not(.not-prose *),${r} h6:not(.not-prose):not(.not-prose *){color:var(--cer-prose-headings);font-weight:700;line-height:1.25;}`),i.push(`${r} h1:not(.not-prose):not(.not-prose *){font-size:${o.h1};margin-top:0;margin-bottom:0.8888889em;line-height:1.1111111;}`),i.push(`${r} h2:not(.not-prose):not(.not-prose *){font-size:${o.h2};margin-top:2em;margin-bottom:1em;line-height:1.3333333;}`),i.push(`${r} h3:not(.not-prose):not(.not-prose *){font-size:${o.h3};margin-top:1.6em;margin-bottom:0.6em;line-height:1.6;}`),i.push(`${r} h4:not(.not-prose):not(.not-prose *){font-size:${o.h4};margin-top:1.5em;margin-bottom:0.5em;line-height:1.5;}`),i.push(`${r} h5:not(.not-prose):not(.not-prose *){margin-top:1.5em;margin-bottom:0.5em;}`),i.push(`${r} h6:not(.not-prose):not(.not-prose *){margin-top:1.5em;margin-bottom:0.5em;}`),i.push(`${r} a:not(.not-prose):not(.not-prose *){color:var(--cer-prose-links);text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.15em;font-weight:500;}`),i.push(`${r} a:not(.not-prose):not(.not-prose *):hover,${r} a:not(.not-prose):not(.not-prose *):focus{color:var(--cer-prose-links-hover);}`),i.push(`${r} strong:not(.not-prose):not(.not-prose *){color:var(--cer-prose-bold);font-weight:600;}`),i.push(`${r} em:not(.not-prose):not(.not-prose *){font-style:italic;}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *){list-style-type:decimal;margin-top:${o.ol};margin-bottom:${o.ol};padding-left:1.625em;}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)[type="A"]{list-style-type:upper-alpha;}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)[type="a"]{list-style-type:lower-alpha;}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)[type="I"]{list-style-type:upper-roman;}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)[type="i"]{list-style-type:lower-roman;}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *){position:relative;padding-left:${o.li};}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)::marker{color:var(--cer-prose-counters);font-weight:400;}`),i.push(`${r} ul:not(.not-prose):not(.not-prose *){list-style-type:disc;margin-top:${o.ul};margin-bottom:${o.ul};padding-left:1.625em;}`),i.push(`${r} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *){position:relative;padding-left:${o.li};}`),i.push(`${r} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)::marker{color:var(--cer-prose-bullets);}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:first-child,${r} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:first-child{margin-top:${o.ol};}`),i.push(`${r} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:last-child,${r} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:last-child{margin-bottom:${o.ol};}`),i.push(`${r} ul:not(.not-prose):not(.not-prose *) ul:not(.not-prose):not(.not-prose *),${r} ul:not(.not-prose):not(.not-prose *) ol:not(.not-prose):not(.not-prose *),${r} ol:not(.not-prose):not(.not-prose *) ul:not(.not-prose):not(.not-prose *),${r} ol:not(.not-prose):not(.not-prose *) ol:not(.not-prose):not(.not-prose *){margin-top:0.75em;margin-bottom:0.75em;}`),i.push(`${r} li:not(.not-prose):not(.not-prose *)>p:not(.not-prose):not(.not-prose *){margin-top:${o.ol};margin-bottom:${o.ol};}`),i.push(`${r} code:not(.not-prose):not(.not-prose *){color:var(--cer-prose-code);background-color:var(--cer-prose-code-bg);border-radius:0.25rem;padding:0.125rem 0.25rem;font-size:${o.code};font-weight:600;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}`),i.push(`${r} pre:not(.not-prose):not(.not-prose *){color:var(--cer-prose-pre-code);background-color:var(--cer-prose-pre-bg);border:1px solid var(--cer-prose-pre-border);overflow-x:auto;font-size:${o.pre};line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:0.375rem;padding:0.8571429em 1.1428571em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;white-space:pre;overflow-wrap:normal;}`),i.push(`${r} pre:not(.not-prose):not(.not-prose *) code:not(.not-prose):not(.not-prose *){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;line-height:inherit;}`),i.push(`${r} blockquote:not(.not-prose):not(.not-prose *){font-weight:500;font-style:italic;color:var(--cer-prose-quotes);border-left-width:0.25rem;border-left-color:var(--cer-prose-quote-border);quotes:"\\201C""\\201D""\\2018""\\2019";margin-top:${o.blockquote};margin-bottom:${o.blockquote};padding-left:1em;}`),i.push(`${r} blockquote:not(.not-prose):not(.not-prose *) p:not(.not-prose):not(.not-prose *):first-of-type::before{content:open-quote;}`),i.push(`${r} blockquote:not(.not-prose):not(.not-prose *) p:not(.not-prose):not(.not-prose *):last-of-type::after{content:close-quote;}`),i.push(`${r} hr:not(.not-prose):not(.not-prose *){border-color:var(--cer-prose-hr);border-top-width:1px;margin-top:${o.hr};margin-bottom:${o.hr};}`),i.push(`${r} figure:not(.not-prose):not(.not-prose *){margin-top:${o.figure};margin-bottom:${o.figure};}`),i.push(`${r} figure:not(.not-prose):not(.not-prose *)>*{margin-top:0;margin-bottom:0;}`),i.push(`${r} figcaption:not(.not-prose):not(.not-prose *){color:var(--cer-prose-img-caption);font-size:0.875em;line-height:1.4285714;margin-top:0.75em;}`),i.push(`${r} img:not(.not-prose):not(.not-prose *),${r} video:not(.not-prose):not(.not-prose *),${r} picture:not(.not-prose):not(.not-prose *){margin-top:${o.figure};margin-bottom:${o.figure};max-width:100%;height:auto;}`),i.push(`${r} figure:not(.not-prose):not(.not-prose *)>img:not(.not-prose):not(.not-prose *),${r} figure:not(.not-prose):not(.not-prose *)>video:not(.not-prose):not(.not-prose *),${r} figure:not(.not-prose):not(.not-prose *)>picture:not(.not-prose):not(.not-prose *){margin-top:0;margin-bottom:0;}`),i.push(`${r} table:not(.not-prose):not(.not-prose *){width:100%;table-layout:auto;text-align:left;margin-top:${o.table};margin-bottom:${o.table};font-size:0.875em;line-height:1.7142857;}`),i.push(`${r} thead:not(.not-prose):not(.not-prose *){border-bottom-width:1px;border-bottom-color:var(--cer-prose-table-border);}`),i.push(`${r} thead:not(.not-prose):not(.not-prose *) th:not(.not-prose):not(.not-prose *){color:var(--cer-prose-table-head);font-weight:600;vertical-align:bottom;padding-right:0.5714286em;padding-bottom:0.5714286em;padding-left:0.5714286em;}`),i.push(`${r} tbody:not(.not-prose):not(.not-prose *) tr:not(.not-prose):not(.not-prose *){border-bottom-width:1px;border-bottom-color:var(--cer-prose-table-border);}`),i.push(`${r} tbody:not(.not-prose):not(.not-prose *) tr:not(.not-prose):not(.not-prose *):last-child{border-bottom-width:0;}`),i.push(`${r} tbody:not(.not-prose):not(.not-prose *) td:not(.not-prose):not(.not-prose *){vertical-align:baseline;padding:0.5714286em;}`),i.join("")}const _e={headings:"h1,h2,h3,h4,h5,h6,th",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",a:"a",blockquote:"blockquote",figure:"figure",figcaption:"figcaption",strong:"strong",em:"em",kbd:"kbd",code:"code",pre:"pre",ol:"ol",ul:"ul",li:"li",dl:"dl",dt:"dt",dd:"dd",table:"table",thead:"thead",tbody:"tbody",tr:"tr",th:"th",td:"td",img:"img",picture:"picture",video:"video",hr:"hr",lead:'[class~="lead"]'};function Le(e,t,c,o,r,i,g,w){const s=e.match(/^prose-([a-z0-9]+):(.+)$/);if(!s)return null;const[,u,h]=s,l=_e[u];if(!l)return null;const b=t[h]??c(h)??o(h)??r(h)??i(h)??g(h)??w(h);if(!b)return null;const n=we(e);return l.split(",").map(f=>{const $=f.trim();return`${`.${n} ${$}:not(.not-prose):not(.not-prose *)`}{${b}}`}).join("")}const De=`/*
|
|
2
|
+
* Custom Elements Variables CSS
|
|
3
|
+
* Default fallback values
|
|
4
|
+
*
|
|
5
|
+
* Define your overrides in the document's :root to have them
|
|
6
|
+
* inherited into all Shadow DOM components:
|
|
7
|
+
*
|
|
8
|
+
* <style>
|
|
9
|
+
* :root {
|
|
10
|
+
* --cer-color-primary-500: #8b5cf6;
|
|
11
|
+
* --cer-font-sans: 'Inter', sans-serif;
|
|
12
|
+
* }
|
|
13
|
+
* </style>
|
|
14
|
+
*
|
|
15
|
+
* Note: Only :root is used here (not :host) so document-level
|
|
16
|
+
* overrides will inherit into Shadow DOM and take precedence.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
:root {
|
|
20
|
+
/* Font families (match runtime defaults in src/lib/runtime/style.ts) */
|
|
21
|
+
--cer-font-sans:
|
|
22
|
+
ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
23
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
|
|
24
|
+
--cer-font-serif: ui-serif, Georgia, 'Times New Roman', Times, serif;
|
|
25
|
+
--cer-font-mono:
|
|
26
|
+
ui-monospace, 'SFMono-Regular', Menlo, Monaco, 'Roboto Mono', 'Courier New',
|
|
27
|
+
monospace;
|
|
28
|
+
|
|
29
|
+
/* Default outline style */
|
|
30
|
+
--cer-outline-style: solid;
|
|
31
|
+
|
|
32
|
+
/* Colors */
|
|
33
|
+
--cer-color-transparent: transparent;
|
|
34
|
+
--cer-color-current: currentColor;
|
|
35
|
+
--cer-color-black: #000000;
|
|
36
|
+
--cer-color-white: #ffffff;
|
|
37
|
+
--cer-color-inherit: inherit;
|
|
38
|
+
|
|
39
|
+
/* neutral */
|
|
40
|
+
--cer-color-neutral-50: #fafafa;
|
|
41
|
+
--cer-color-neutral-100: #f4f4f5;
|
|
42
|
+
--cer-color-neutral-200: #e4e4e7;
|
|
43
|
+
--cer-color-neutral-300: #d4d4d8;
|
|
44
|
+
--cer-color-neutral-400: #9f9fa9;
|
|
45
|
+
--cer-color-neutral-500: #71717b;
|
|
46
|
+
--cer-color-neutral-600: #52525c;
|
|
47
|
+
--cer-color-neutral-700: #3f3f46;
|
|
48
|
+
--cer-color-neutral-800: #27272a;
|
|
49
|
+
--cer-color-neutral-900: #18181b;
|
|
50
|
+
--cer-color-neutral-950: #09090b;
|
|
51
|
+
|
|
52
|
+
/* primary */
|
|
53
|
+
--cer-color-primary-50: #eff6ff;
|
|
54
|
+
--cer-color-primary-100: #dbeafe;
|
|
55
|
+
--cer-color-primary-200: #bfdbfe;
|
|
56
|
+
--cer-color-primary-300: #93c5fd;
|
|
57
|
+
--cer-color-primary-400: #60a5fa;
|
|
58
|
+
--cer-color-primary-500: #3b82f6;
|
|
59
|
+
--cer-color-primary-600: #2563eb;
|
|
60
|
+
--cer-color-primary-700: #1d4ed8;
|
|
61
|
+
--cer-color-primary-800: #1e40af;
|
|
62
|
+
--cer-color-primary-900: #1e3a8a;
|
|
63
|
+
--cer-color-primary-950: #172554;
|
|
64
|
+
|
|
65
|
+
/* secondary */
|
|
66
|
+
--cer-color-secondary-50: #eef2ff;
|
|
67
|
+
--cer-color-secondary-100: #e0e7ff;
|
|
68
|
+
--cer-color-secondary-200: #c7d2fe;
|
|
69
|
+
--cer-color-secondary-300: #a5b4fc;
|
|
70
|
+
--cer-color-secondary-400: #818cf8;
|
|
71
|
+
--cer-color-secondary-500: #6366f1;
|
|
72
|
+
--cer-color-secondary-600: #4f46e5;
|
|
73
|
+
--cer-color-secondary-700: #4338ca;
|
|
74
|
+
--cer-color-secondary-800: #3730a3;
|
|
75
|
+
--cer-color-secondary-900: #312e81;
|
|
76
|
+
--cer-color-secondary-950: #1e1b4b;
|
|
77
|
+
|
|
78
|
+
/* success */
|
|
79
|
+
--cer-color-success-50: #f0fdf4;
|
|
80
|
+
--cer-color-success-100: #dcfce7;
|
|
81
|
+
--cer-color-success-200: #bbf7d0;
|
|
82
|
+
--cer-color-success-300: #86efac;
|
|
83
|
+
--cer-color-success-400: #4ade80;
|
|
84
|
+
--cer-color-success-500: #22c55e;
|
|
85
|
+
--cer-color-success-600: #16a34a;
|
|
86
|
+
--cer-color-success-700: #15803d;
|
|
87
|
+
--cer-color-success-800: #166534;
|
|
88
|
+
--cer-color-success-900: #14532d;
|
|
89
|
+
--cer-color-success-950: #052e16;
|
|
90
|
+
|
|
91
|
+
/* info */
|
|
92
|
+
--cer-color-info-50: #f0f9ff;
|
|
93
|
+
--cer-color-info-100: #e0f2fe;
|
|
94
|
+
--cer-color-info-200: #bae6fd;
|
|
95
|
+
--cer-color-info-300: #7dd3fc;
|
|
96
|
+
--cer-color-info-400: #38bdf8;
|
|
97
|
+
--cer-color-info-500: #0ea5e9;
|
|
98
|
+
--cer-color-info-600: #0284c7;
|
|
99
|
+
--cer-color-info-700: #0369a1;
|
|
100
|
+
--cer-color-info-800: #075985;
|
|
101
|
+
--cer-color-info-900: #0c4a6e;
|
|
102
|
+
--cer-color-info-950: #082f49;
|
|
103
|
+
|
|
104
|
+
/* warning */
|
|
105
|
+
--cer-color-warning-50: #fffbeb;
|
|
106
|
+
--cer-color-warning-100: #fef3c7;
|
|
107
|
+
--cer-color-warning-200: #fde68a;
|
|
108
|
+
--cer-color-warning-300: #fcd34d;
|
|
109
|
+
--cer-color-warning-400: #fbbf24;
|
|
110
|
+
--cer-color-warning-500: #f59e0b;
|
|
111
|
+
--cer-color-warning-600: #d97706;
|
|
112
|
+
--cer-color-warning-700: #b45309;
|
|
113
|
+
--cer-color-warning-800: #92400e;
|
|
114
|
+
--cer-color-warning-900: #78350f;
|
|
115
|
+
--cer-color-warning-950: #451a03;
|
|
116
|
+
|
|
117
|
+
/* error */
|
|
118
|
+
--cer-color-error-50: #fef2f2;
|
|
119
|
+
--cer-color-error-100: #fee2e2;
|
|
120
|
+
--cer-color-error-200: #fecaca;
|
|
121
|
+
--cer-color-error-300: #fca5a5;
|
|
122
|
+
--cer-color-error-400: #f87171;
|
|
123
|
+
--cer-color-error-500: #ef4444;
|
|
124
|
+
--cer-color-error-600: #dc2626;
|
|
125
|
+
--cer-color-error-700: #b91c1c;
|
|
126
|
+
--cer-color-error-800: #991b1b;
|
|
127
|
+
--cer-color-error-900: #7f1d1d;
|
|
128
|
+
--cer-color-error-950: #450a0a;
|
|
129
|
+
}
|
|
130
|
+
`;function Ae(e,...t){let c="";for(let o=0;o<e.length;o++)c+=e[o],o<t.length&&(c+=t[o]);return c}function $e(e){return e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([{}:;,>+~])\s*/g,"$1").replace(/;}/g,"}").trim()}let te=null;function qe(){return te||(typeof CSSStyleSheet>"u"?te={cssRules:[],replaceSync:()=>{},toString:()=>$e(ke)}:(te=new CSSStyleSheet,te.replaceSync($e(ke)))),te}let Q=null;const ve=new Set;let de="";function Fe(){if(ve.size===0)return null;Q||(typeof CSSStyleSheet>"u"?Q={cssRules:[],replaceSync:()=>{},toString:()=>de}:(Q=new CSSStyleSheet,Q.toString=()=>de));let e="";for(const t of ve){const c=Te(t);c&&(e+=c)}if(de=$e(e),typeof Q.replaceSync=="function"&&e)try{Q.replaceSync(de)}catch{}return Q}function Ie(e){const t=!ve.has(e);ve.add(e),t&&Q&&Fe()}function Ne(e){return e.replace(/url\s*\(\s*['"]?javascript:[^)]*\)/gi,"").replace(/<script[\s\S]*?>[\s\S]*?<\/script>/gi,"").replace(/expression\s*\([^)]*\)/gi,"")}const ke=Ae`
|
|
131
|
+
${De}
|
|
132
|
+
:host,
|
|
133
|
+
*,
|
|
134
|
+
::before,
|
|
135
|
+
::after {
|
|
136
|
+
all: isolate;
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
border: 0 solid currentColor;
|
|
139
|
+
margin: 0;
|
|
140
|
+
padding: 0;
|
|
141
|
+
font: inherit;
|
|
142
|
+
vertical-align: baseline;
|
|
143
|
+
background: transparent;
|
|
144
|
+
color: inherit;
|
|
145
|
+
-webkit-tap-highlight-color: transparent;
|
|
146
|
+
/* Transform composition variables (reset per-element for composability) */
|
|
147
|
+
--cer-translate-x: 0px;
|
|
148
|
+
--cer-translate-y: 0px;
|
|
149
|
+
--cer-rotate: 0deg;
|
|
150
|
+
--cer-skew-x: 0deg;
|
|
151
|
+
--cer-skew-y: 0deg;
|
|
152
|
+
--cer-scale-x: 1;
|
|
153
|
+
--cer-scale-y: 1;
|
|
154
|
+
/* Ring variables */
|
|
155
|
+
--cer-ring-color: rgb(59 130 246 / 0.5);
|
|
156
|
+
/* Filter composition variables (empty = no-op in filter chain) */
|
|
157
|
+
--cer-blur: ;
|
|
158
|
+
--cer-brightness: ;
|
|
159
|
+
--cer-contrast: ;
|
|
160
|
+
--cer-grayscale: ;
|
|
161
|
+
--cer-hue-rotate: ;
|
|
162
|
+
--cer-invert: ;
|
|
163
|
+
--cer-saturate: ;
|
|
164
|
+
--cer-sepia: ;
|
|
165
|
+
--cer-drop-shadow: ;
|
|
166
|
+
--cer-backdrop-blur: ;
|
|
167
|
+
--cer-backdrop-brightness: ;
|
|
168
|
+
--cer-backdrop-contrast: ;
|
|
169
|
+
--cer-backdrop-grayscale: ;
|
|
170
|
+
--cer-backdrop-hue-rotate: ;
|
|
171
|
+
--cer-backdrop-invert: ;
|
|
172
|
+
--cer-backdrop-saturate: ;
|
|
173
|
+
--cer-backdrop-sepia: ;
|
|
174
|
+
}
|
|
175
|
+
:host {
|
|
176
|
+
display: contents;
|
|
177
|
+
font: 16px/1.5 var(--cer-font-sans, ui-sans-serif, system-ui, sans-serif);
|
|
178
|
+
/* Default CE line-height variable so leading-* can reliably override */
|
|
179
|
+
--cer-line-height: 1.5;
|
|
180
|
+
-webkit-text-size-adjust: 100%;
|
|
181
|
+
text-size-adjust: 100%;
|
|
182
|
+
-webkit-font-smoothing: antialiased;
|
|
183
|
+
-moz-osx-font-smoothing: grayscale;
|
|
184
|
+
/* Default gradient variables to avoid undefined var() usage in generated utilities */
|
|
185
|
+
--cer-gradient-from-position: 0%;
|
|
186
|
+
--cer-gradient-to-position: 100%;
|
|
187
|
+
--cer-gradient-via-position: 50%;
|
|
188
|
+
--cer-gradient-from: rgba(255, 255, 255, 0);
|
|
189
|
+
--cer-gradient-to: rgba(255, 255, 255, 0);
|
|
190
|
+
--cer-gradient-stops: var(--cer-gradient-from), var(--cer-gradient-to);
|
|
191
|
+
/* Default outline style variable */
|
|
192
|
+
--cer-outline-style: solid;
|
|
193
|
+
}
|
|
194
|
+
button,
|
|
195
|
+
input,
|
|
196
|
+
select,
|
|
197
|
+
textarea {
|
|
198
|
+
background: transparent;
|
|
199
|
+
outline: none;
|
|
200
|
+
}
|
|
201
|
+
textarea {
|
|
202
|
+
resize: vertical;
|
|
203
|
+
}
|
|
204
|
+
progress {
|
|
205
|
+
vertical-align: baseline;
|
|
206
|
+
}
|
|
207
|
+
button,
|
|
208
|
+
textarea {
|
|
209
|
+
overflow: visible;
|
|
210
|
+
}
|
|
211
|
+
img,
|
|
212
|
+
svg,
|
|
213
|
+
video,
|
|
214
|
+
canvas,
|
|
215
|
+
audio,
|
|
216
|
+
iframe,
|
|
217
|
+
embed,
|
|
218
|
+
object {
|
|
219
|
+
display: block;
|
|
220
|
+
max-width: 100%;
|
|
221
|
+
height: auto;
|
|
222
|
+
}
|
|
223
|
+
svg {
|
|
224
|
+
fill: currentColor;
|
|
225
|
+
stroke: none;
|
|
226
|
+
}
|
|
227
|
+
a {
|
|
228
|
+
text-decoration: inherit;
|
|
229
|
+
cursor: pointer;
|
|
230
|
+
}
|
|
231
|
+
button,
|
|
232
|
+
[type='button'],
|
|
233
|
+
[type='reset'],
|
|
234
|
+
[type='submit'] {
|
|
235
|
+
cursor: pointer;
|
|
236
|
+
appearance: button;
|
|
237
|
+
background: none;
|
|
238
|
+
-webkit-user-select: none;
|
|
239
|
+
user-select: none;
|
|
240
|
+
}
|
|
241
|
+
::-webkit-input-placeholder,
|
|
242
|
+
::placeholder {
|
|
243
|
+
color: inherit;
|
|
244
|
+
opacity: 0.5;
|
|
245
|
+
}
|
|
246
|
+
*:focus-visible {
|
|
247
|
+
outline: 2px solid var(--cer-color-primary-500, #3b82f6);
|
|
248
|
+
outline-offset: 2px;
|
|
249
|
+
}
|
|
250
|
+
ol,
|
|
251
|
+
ul {
|
|
252
|
+
list-style: none;
|
|
253
|
+
}
|
|
254
|
+
table {
|
|
255
|
+
border-collapse: collapse;
|
|
256
|
+
}
|
|
257
|
+
sub,
|
|
258
|
+
sup {
|
|
259
|
+
font-size: 0.75em;
|
|
260
|
+
line-height: 0;
|
|
261
|
+
position: relative;
|
|
262
|
+
}
|
|
263
|
+
sub {
|
|
264
|
+
bottom: -0.25em;
|
|
265
|
+
}
|
|
266
|
+
sup {
|
|
267
|
+
top: -0.5em;
|
|
268
|
+
}
|
|
269
|
+
[disabled],
|
|
270
|
+
[aria-disabled='true'] {
|
|
271
|
+
cursor: not-allowed;
|
|
272
|
+
}
|
|
273
|
+
[hidden] {
|
|
274
|
+
display: none;
|
|
275
|
+
}
|
|
276
|
+
`,Ve={neutral:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#9f9fa9",500:"#71717b",600:"#52525c",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},primary:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},secondary:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},success:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},info:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},warning:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},error:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},white:{DEFAULT:"#ffffff"},black:{DEFAULT:"#000000"},transparent:{DEFAULT:"transparent"},current:{DEFAULT:"currentColor"}},Ee=Object.fromEntries(Object.entries(Ve).map(([e,t])=>[e,Object.fromEntries(Object.entries(t).map(([c,o])=>[c,`var(--cer-color-${e}${c==="DEFAULT"?"":`-${c}`}, ${o})`]))])),G="0.25rem",Be={"3xs":64,"2xs":72,xs:80,sm:96,md:112,lg:128,xl:144,"2xl":168,"3xl":192,"4xl":224,"5xl":256,"6xl":288,"7xl":320},ye={m:["margin"],mx:["margin-inline"],my:["margin-block"],mt:["margin-top"],mr:["margin-right"],mb:["margin-bottom"],ml:["margin-left"],p:["padding"],px:["padding-inline"],py:["padding-block"],pt:["padding-top"],pr:["padding-right"],pb:["padding-bottom"],pl:["padding-left"],inset:["inset"],"inset-x":["inset-inline"],"inset-y":["inset-block"],h:["height"],w:["width"],"min-h":["min-height"],"min-w":["min-width"],"max-h":["max-height"],"max-w":["max-width"],top:["top"],bottom:["bottom"],left:["left"],right:["right"],gap:["gap"],"gap-x":["column-gap"],"gap-y":["row-gap"],size:["width","height"]},Ue=()=>{const e={};e["@container"]="container-type:inline-size;",["block","inline","inline-block","flex","inline-flex","grid","inline-grid","table","table-cell","table-row","hidden"].forEach(n=>{e[n]=n==="hidden"?"display:none;":`display:${n};`}),["absolute","relative","fixed","sticky","static"].forEach(n=>{e[n]=`position:${n};`}),Object.assign(e,{"items-center":"align-items:center;","items-start":"align-items:flex-start;","items-end":"align-items:flex-end;","items-baseline":"align-items:baseline;","items-stretch":"align-items:stretch;","justify-center":"justify-content:center;","justify-start":"justify-content:flex-start;","justify-between":"justify-content:space-between;","justify-around":"justify-content:space-around;","justify-evenly":"justify-content:space-evenly;","justify-end":"justify-content:flex-end;","flex-wrap":"flex-wrap:wrap;","flex-nowrap":"flex-wrap:nowrap;","flex-wrap-reverse":"flex-wrap:wrap-reverse;","content-center":"align-content:center;","content-start":"align-content:flex-start;","content-end":"align-content:flex-end;","content-between":"align-content:space-between;","content-around":"align-content:space-around;","content-evenly":"align-content:space-evenly;","content-stretch":"align-content:stretch;","self-auto":"align-self:auto;","self-start":"align-self:flex-start;","self-end":"align-self:flex-end;","self-center":"align-self:center;","self-stretch":"align-self:stretch;","flex-col":"flex-direction:column;","flex-row":"flex-direction:row;","flex-col-reverse":"flex-direction:column-reverse;","flex-row-reverse":"flex-direction:row-reverse;","flex-1":"flex:1 1 0%;","flex-auto":"flex:1 1 auto;","flex-initial":"flex:0 1 auto;","flex-none":"flex:0 0 auto;",grow:"flex-grow:1;",shrink:"flex-shrink:1;","grow-0":"flex-grow:0;","shrink-0":"flex-shrink:0;"});for(let n=1;n<=12;n++)e[`grid-cols-${n}`]=`grid-template-columns:repeat(${n},minmax(0,1fr));`,e[`grid-rows-${n}`]=`grid-template-rows:repeat(${n},minmax(0,1fr));`,e[`col-span-${n}`]=`grid-column:span ${n} / span ${n};`,e[`row-span-${n}`]=`grid-row:span ${n} / span ${n};`,e[`col-start-${n}`]=`grid-column-start:${n};`,e[`col-end-${n}`]=`grid-column-end:${n};`,e[`row-start-${n}`]=`grid-row-start:${n};`,e[`row-end-${n}`]=`grid-row-end:${n};`;Object.assign(e,{"grid-cols-none":"grid-template-columns:none;","grid-rows-none":"grid-template-rows:none;","col-span-full":"grid-column:1 / -1;","row-span-full":"grid-row:1 / -1;","auto-cols-auto":"grid-auto-columns:auto;","auto-cols-min":"grid-auto-columns:min-content;","auto-cols-max":"grid-auto-columns:max-content;","auto-cols-fr":"grid-auto-columns:1fr;","auto-rows-auto":"grid-auto-rows:auto;","auto-rows-min":"grid-auto-rows:min-content;","auto-rows-max":"grid-auto-rows:max-content;","auto-rows-fr":"grid-auto-rows:1fr;","grid-flow-row":"grid-auto-flow:row;","grid-flow-col":"grid-auto-flow:column;","grid-flow-row-dense":"grid-auto-flow:row dense;","grid-flow-col-dense":"grid-auto-flow:column dense;"}),Object.assign(e,{"text-left":"text-align:left;","text-center":"text-align:center;","text-right":"text-align:right;","text-justify":"text-align:justify;","font-thin":"font-weight:100;","font-extralight":"font-weight:200;","font-light":"font-weight:300;","font-normal":"font-weight:400;","font-medium":"font-weight:500;","font-semibold":"font-weight:600;","font-bold":"font-weight:700;","font-extrabold":"font-weight:800;","font-black":"font-weight:900;",italic:"font-style:italic;","not-italic":"font-style:normal;",uppercase:"text-transform:uppercase;",lowercase:"text-transform:lowercase;",capitalize:"text-transform:capitalize;","normal-case":"text-transform:none;",underline:"text-decoration-line:underline;",overline:"text-decoration-line:overline;","line-through":"text-decoration-line:line-through;","no-underline":"text-decoration-line:none;",truncate:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;","whitespace-normal":"white-space:normal;","whitespace-nowrap":"white-space:nowrap;","whitespace-pre":"white-space:pre;","whitespace-pre-line":"white-space:pre-line;","whitespace-pre-wrap":"white-space:pre-wrap;","break-normal":"overflow-wrap:normal;word-break:normal;","break-words":"overflow-wrap:break-word;","break-all":"word-break:break-all;","text-wrap":"text-wrap:wrap;","text-nowrap":"text-wrap:nowrap;","text-balance":"text-wrap:balance;","text-pretty":"text-wrap:pretty;"}),[["text-xs","0.75rem","1"],["text-sm","0.875rem","1.25"],["text-base","1rem","1.5"],["text-lg","1.125rem","1.75"],["text-xl","1.25rem","1.75"],["text-2xl","1.5rem","2"],["text-3xl","1.875rem","2.25"],["text-4xl","2.25rem","2.5"],["text-5xl","3rem","1"],["text-6xl","3.75rem","1"],["text-7xl","4.5rem","1"],["text-8xl","6rem","1"],["text-9xl","8rem","1"]].forEach(([n,d,f])=>{e[n]=`font-size:${d};line-height:var(--cer-line-height,${f});`}),[["tracking-tighter","-0.05em"],["tracking-tight","-0.025em"],["tracking-normal","0em"],["tracking-wide","0.025em"],["tracking-wider","0.05em"],["tracking-widest","0.1em"]].forEach(([n,d])=>{e[n]=`letter-spacing:${d};`}),[["leading-3","0.75rem"],["leading-4","1rem"],["leading-5","1.25rem"],["leading-6","1.5rem"],["leading-7","1.75rem"],["leading-8","2rem"],["leading-9","2.25rem"],["leading-10","2.5rem"],["leading-none","1"],["leading-tight","1.25"],["leading-snug","1.375"],["leading-normal","1.5"],["leading-relaxed","1.625"],["leading-loose","2"]].forEach(([n,d])=>{e[n]=`line-height:${d};--cer-line-height:${d};line-height:var(--cer-line-height,${d});`});const i=[0,1,2,4,6,8];for(const n of i){const d=`${n}px`;e[`outline-${n}`]=`outline-style:var(--cer-outline-style);outline-width:${d};`,e[`outline-offset-${n}`]=`outline-offset:${d};`,e[`border-${n}`]=`border-width:${d};`,e[`border-t-${n}`]=`border-top-width:${d};`,e[`border-r-${n}`]=`border-right-width:${d};`,e[`border-b-${n}`]=`border-bottom-width:${d};`,e[`border-l-${n}`]=`border-left-width:${d};`,e[`border-x-${n}`]=`border-left-width:${d};border-right-width:${d};`,e[`border-y-${n}`]=`border-top-width:${d};border-bottom-width:${d};`}Object.assign(e,{"font-sans":"font-family:var(--cer-font-sans, ui-sans-serif,system-ui,sans-serif);","font-serif":"font-family:var(--cer-font-serif, ui-serif,Georgia,serif);","font-mono":"font-family:var(--cer-font-mono, ui-monospace,SFMono-Regular,monospace);",outline:"outline-style:var(--cer-outline-style);outline-width:1px;","outline-solid":"--cer-outline-style:solid;outline-style:solid;","outline-dashed":"--cer-outline-style:dashed;outline-style:dashed;","outline-dotted":"--cer-outline-style:dotted;outline-style:dotted;","outline-double":"--cer-outline-style:double;outline-style:double;","outline-none":"--cer-outline-style:none;outline-style:none;","outline-hidden":"--cer-outline-style:none;outline:2px solid transparent;outline-offset:2px;",border:"border-width:1px;","border-t":"border-top-width:1px;","border-r":"border-right-width:1px;","border-b":"border-bottom-width:1px;","border-l":"border-left-width:1px;","border-x":"border-left-width:1px;border-right-width:1px;","border-y":"border-top-width:1px;border-bottom-width:1px;","border-solid":"border-style:solid;","border-dashed":"border-style:dashed;","border-dotted":"border-style:dotted;","border-double":"border-style:double;","border-none":"border-style:none;"});const g={none:0,xs:2,sm:4,md:6,lg:8,xl:12,"2xl":16,"3xl":24,"4xl":32,full:9999};for(const[n,d]of Object.entries(g)){const f=d===9999?"9999px":`${d/16}rem`;e[`rounded-${n}`]=`border-radius:${f};`,e[`rounded-t-${n}`]=`border-top-left-radius:${f};border-top-right-radius:${f};`,e[`rounded-r-${n}`]=`border-top-right-radius:${f};border-bottom-right-radius:${f};`,e[`rounded-b-${n}`]=`border-bottom-left-radius:${f};border-bottom-right-radius:${f};`,e[`rounded-l-${n}`]=`border-top-left-radius:${f};border-bottom-left-radius:${f};`,e[`rounded-tl-${n}`]=`border-top-left-radius:${f};`,e[`rounded-tr-${n}`]=`border-top-right-radius:${f};`,e[`rounded-br-${n}`]=`border-bottom-right-radius:${f};`,e[`rounded-bl-${n}`]=`border-bottom-left-radius:${f};`}Object.assign(e,{"shadow-none":"--cer-shadow-color:rgb(0 0 0 / 0);box-shadow:0 0 var(--cer-shadow-color, #0000);","shadow-xs":"--cer-shadow-color:rgb(0 0 0 / 0.05);box-shadow:0 1px 2px 0 var(--cer-shadow-color, rgb(0 0 0 / 0.05));","shadow-sm":"--cer-shadow-color:rgb(0 0 0 / 0.1);box-shadow:0 1px 3px 0 var(--cer-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--cer-shadow-color, rgb(0 0 0 / 0.1));",shadow:"--cer-shadow-color:rgb(0 0 0 / 0.1);box-shadow:0 1px 3px 0 var(--cer-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--cer-shadow-color, rgb(0 0 0 / 0.1));","shadow-md":"--cer-shadow-color:rgb(0 0 0 / 0.1);box-shadow:0 4px 6px -1px var(--cer-shadow-color, rgb(0 0 0 / 0.1)),0 2px 4px -2px var(--cer-shadow-color, rgb(0 0 0 / 0.1));","shadow-lg":"--cer-shadow-color:rgb(0 0 0 / 0.1);box-shadow:0 10px 15px -3px var(--cer-shadow-color, rgb(0 0 0 / 0.1)),0 4px 6px -4px var(--cer-shadow-color, rgb(0 0 0 / 0.1));","shadow-xl":"--cer-shadow-color:rgb(0 0 0 / 0.1);box-shadow:0 20px 25px -5px var(--cer-shadow-color, rgb(0 0 0 / 0.1)),0 8px 10px -6px var(--cer-shadow-color, rgb(0 0 0 / 0.1));","shadow-2xl":"--cer-shadow-color:rgb(0 0 0 / 0.25);box-shadow:0 25px 50px -12px var(--cer-shadow-color, rgb(0 0 0 / 0.25));","shadow-inner":"box-shadow:inset 0 2px 4px 0 rgb(0 0 0 / 0.05);"}),Object.assign(e,{rounded:"border-radius:0.25rem;"}),Object.assign(e,{"overflow-auto":"overflow:auto;","overflow-hidden":"overflow:hidden;","overflow-visible":"overflow:visible;","overflow-scroll":"overflow:scroll;","overflow-x-auto":"overflow-x:auto;","overflow-x-hidden":"overflow-x:hidden;","overflow-x-visible":"overflow-x:visible;","overflow-x-scroll":"overflow-x:scroll;","overflow-y-auto":"overflow-y:auto;","overflow-y-hidden":"overflow-y:hidden;","overflow-y-visible":"overflow-y:visible;","overflow-y-scroll":"overflow-y:scroll;"}),Object.assign(e,{"bg-cover":"background-size:cover;","bg-contain":"background-size:contain;","bg-auto":"background-size:auto;","bg-center":"background-position:center;","bg-top":"background-position:top;","bg-bottom":"background-position:bottom;","bg-left":"background-position:left;","bg-right":"background-position:right;","bg-left-top":"background-position:left top;","bg-left-bottom":"background-position:left bottom;","bg-right-top":"background-position:right top;","bg-right-bottom":"background-position:right bottom;","bg-no-repeat":"background-repeat:no-repeat;","bg-repeat":"background-repeat:repeat;","bg-repeat-x":"background-repeat:repeat-x;","bg-repeat-y":"background-repeat:repeat-y;","bg-repeat-round":"background-repeat:round;","bg-repeat-space":"background-repeat:space;","bg-fixed":"background-attachment:fixed;","bg-local":"background-attachment:local;","bg-scroll":"background-attachment:scroll;","bg-origin-border":"background-origin:border-box;","bg-origin-padding":"background-origin:padding-box;","bg-origin-content":"background-origin:content-box;","bg-clip-border":"background-clip:border-box;","bg-clip-padding":"background-clip:padding-box;","bg-clip-content":"background-clip:content-box;","bg-clip-text":"background-clip:text;-webkit-background-clip:text;"}),Object.assign(e,{"decoration-solid":"text-decoration-style:solid;","decoration-dashed":"text-decoration-style:dashed;","decoration-dotted":"text-decoration-style:dotted;","decoration-double":"text-decoration-style:double;","decoration-wavy":"text-decoration-style:wavy;","decoration-from-font":"text-decoration-thickness:from-font;","decoration-auto":"text-decoration-thickness:auto;","decoration-1":"text-decoration-thickness:1px;","decoration-2":"text-decoration-thickness:2px;","decoration-4":"text-decoration-thickness:4px;","decoration-8":"text-decoration-thickness:8px;","underline-offset-auto":"text-underline-offset:auto;","underline-offset-1":"text-underline-offset:1px;","underline-offset-2":"text-underline-offset:2px;","underline-offset-4":"text-underline-offset:4px;","underline-offset-8":"text-underline-offset:8px;"}),Object.assign(e,{"list-none":"list-style-type:none;","list-disc":"list-style-type:disc;","list-decimal":"list-style-type:decimal;","list-inside":"list-style-position:inside;","list-outside":"list-style-position:outside;"}),Object.assign(e,{"content-none":"content:none;","content-normal":"content:normal;","content-empty":"content:'';"}),Object.assign(e,{"scroll-smooth":"scroll-behavior:smooth;","scroll-auto":"scroll-behavior:auto;","scroll-m-0":"scroll-margin:0;","scroll-p-0":"scroll-padding:0;","snap-none":"scroll-snap-type:none;","snap-x":"scroll-snap-type:x var(--cer-scroll-snap-strictness,mandatory);","snap-y":"scroll-snap-type:y var(--cer-scroll-snap-strictness,mandatory);","snap-both":"scroll-snap-type:both var(--cer-scroll-snap-strictness,mandatory);","snap-mandatory":"--cer-scroll-snap-strictness:mandatory;","snap-proximity":"--cer-scroll-snap-strictness:proximity;","snap-start":"scroll-snap-align:start;","snap-end":"scroll-snap-align:end;","snap-center":"scroll-snap-align:center;","snap-align-none":"scroll-snap-align:none;","snap-normal":"scroll-snap-stop:normal;","snap-always":"scroll-snap-stop:always;"}),Object.assign(e,{"will-change-auto":"will-change:auto;","will-change-scroll":"will-change:scroll-position;","will-change-contents":"will-change:contents;","will-change-transform":"will-change:transform;","will-change-opacity":"will-change:opacity;"}),Object.assign(e,{"touch-auto":"touch-action:auto;","touch-none":"touch-action:none;","touch-pan-x":"touch-action:pan-x;","touch-pan-left":"touch-action:pan-left;","touch-pan-right":"touch-action:pan-right;","touch-pan-y":"touch-action:pan-y;","touch-pan-up":"touch-action:pan-up;","touch-pan-down":"touch-action:pan-down;","touch-pinch-zoom":"touch-action:pinch-zoom;","touch-manipulation":"touch-action:manipulation;"}),Object.assign(e,{"columns-auto":"columns:auto;","columns-1":"columns:1;","columns-2":"columns:2;","columns-3":"columns:3;","columns-4":"columns:4;","columns-5":"columns:5;","columns-6":"columns:6;","columns-7":"columns:7;","columns-8":"columns:8;","columns-9":"columns:9;","columns-10":"columns:10;","columns-11":"columns:11;","columns-12":"columns:12;","columns-3xs":`columns:${.25*64}rem;`,"columns-2xs":`columns:${.25*80}rem;`,"columns-xs":`columns:${.25*96}rem;`,"columns-sm":`columns:${.25*112}rem;`,"columns-md":`columns:${.25*128}rem;`,"columns-lg":`columns:${.25*160}rem;`,"columns-xl":`columns:${.25*192}rem;`,"columns-2xl":`columns:${.25*224}rem;`,"columns-3xl":`columns:${.25*256}rem;`,"columns-4xl":`columns:${.25*280}rem;`,"columns-5xl":`columns:${.25*320}rem;`}),Object.assign(e,{"divide-x":"border-left-width:1px;","divide-x-0":"border-left-width:0px;","divide-x-2":"border-left-width:2px;","divide-x-4":"border-left-width:4px;","divide-x-8":"border-left-width:8px;","divide-y":"border-top-width:1px;","divide-y-0":"border-top-width:0px;","divide-y-2":"border-top-width:2px;","divide-y-4":"border-top-width:4px;","divide-y-8":"border-top-width:8px;","divide-solid":"border-style:solid;","divide-dashed":"border-style:dashed;","divide-dotted":"border-style:dotted;","divide-double":"border-style:double;","divide-none":"border-style:none;"});const w=["auto","default","pointer","wait","text","move","help","not-allowed","grab","grabbing"];for(const n of w)e[`cursor-${n}`]=`cursor:${n};`;for(const n of[0,1,2,3,4,5,6,7,8,9,10,20,30,40,50])e[`z-${n}`]=`z-index:${n};`;e["z-auto"]="z-index:auto;",e["-z-10"]="z-index:-10;",e["-z-20"]="z-index:-20;",e["-z-30"]="z-index:-30;",e["-z-40"]="z-index:-40;",e["-z-50"]="z-index:-50;",Object.assign(e,{"sr-only":"position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;","not-sr-only":"position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;","pointer-events-none":"pointer-events:none;","pointer-events-auto":"pointer-events:auto;",visible:"visibility:visible;",invisible:"visibility:hidden;"}),Object.assign(e,{"w-full":"width:100%;","w-screen":"width:100dvw;","h-full":"height:100%;","h-screen":"height:100dvh;","max-w-full":"max-width:100%;","max-h-full":"max-height:100%;","max-w-screen":"max-width:100dvw;","max-h-screen":"max-height:100dvh;","min-w-0":"min-width:0;","min-h-0":"min-height:0;","min-w-full":"min-width:100%;","min-h-full":"min-height:100%;","min-w-screen":"min-width:100dvw;","min-h-screen":"min-height:100dvh;","w-auto":"width:auto;","h-auto":"height:auto;","w-fit":"width:fit-content;","h-fit":"height:fit-content;","w-min":"width:min-content;","h-min":"height:min-content;","w-max":"width:max-content;","h-max":"height:max-content;","m-auto":"margin:auto;","mx-auto":"margin-inline:auto;","my-auto":"margin-block:auto;"});for(const[n,d]of Object.entries(Be))e[`max-w-${n}`]=`max-width:calc(${G} * ${d});`,e[`min-w-${n}`]=`min-width:calc(${G} * ${d});`,e[`w-${n}`]=`width:calc(${G} * ${d});`,e[`max-h-${n}`]=`max-height:calc(${G} * ${d});`,e[`min-h-${n}`]=`min-height:calc(${G} * ${d});`,e[`h-${n}`]=`height:calc(${G} * ${d});`;Object.assign(e,{transition:"transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;","transition-none":"transition-property:none;","transition-all":"transition-property:all;","transition-colors":"transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;","transition-shadow":"transition-property:box-shadow;","transition-opacity":"transition-property:opacity;","transition-transform":"transition-property:transform;","ease-linear":"transition-timing-function:linear;","ease-in":"transition-timing-function:ease-in;","ease-out":"transition-timing-function:ease-out;","ease-in-out":"transition-timing-function:ease-in-out;","duration-75":"transition-duration:75ms;","duration-100":"transition-duration:100ms;","duration-150":"transition-duration:150ms;","duration-200":"transition-duration:200ms;","duration-300":"transition-duration:300ms;","duration-500":"transition-duration:500ms;","duration-700":"transition-duration:700ms;","duration-1000":"transition-duration:1000ms;"}),Object.assign(e,{"delay-0":"transition-delay:0ms;","delay-75":"transition-delay:75ms;","delay-100":"transition-delay:100ms;","delay-150":"transition-delay:150ms;","delay-200":"transition-delay:200ms;","delay-300":"transition-delay:300ms;","delay-500":"transition-delay:500ms;","delay-700":"transition-delay:700ms;","delay-1000":"transition-delay:1000ms;"});const s="translateX(var(--cer-translate-x)) translateY(var(--cer-translate-y)) rotate(var(--cer-rotate)) skewX(var(--cer-skew-x)) skewY(var(--cer-skew-y)) scaleX(var(--cer-scale-x)) scaleY(var(--cer-scale-y))",u=n=>`--cer-translate-x:${n};transform:${s};`,h=n=>`--cer-translate-y:${n};transform:${s};`;Object.assign(e,{"scale-0":`--cer-scale-x:0;--cer-scale-y:0;transform:${s};`,"scale-50":`--cer-scale-x:.5;--cer-scale-y:.5;transform:${s};`,"scale-75":`--cer-scale-x:.75;--cer-scale-y:.75;transform:${s};`,"scale-90":`--cer-scale-x:.9;--cer-scale-y:.9;transform:${s};`,"scale-95":`--cer-scale-x:.95;--cer-scale-y:.95;transform:${s};`,"scale-100":`--cer-scale-x:1;--cer-scale-y:1;transform:${s};`,"scale-105":`--cer-scale-x:1.05;--cer-scale-y:1.05;transform:${s};`,"scale-110":`--cer-scale-x:1.1;--cer-scale-y:1.1;transform:${s};`,"scale-125":`--cer-scale-x:1.25;--cer-scale-y:1.25;transform:${s};`,"scale-150":`--cer-scale-x:1.5;--cer-scale-y:1.5;transform:${s};`,"scale-x-0":`--cer-scale-x:0;transform:${s};`,"scale-x-50":`--cer-scale-x:.5;transform:${s};`,"scale-x-75":`--cer-scale-x:.75;transform:${s};`,"scale-x-90":`--cer-scale-x:.9;transform:${s};`,"scale-x-95":`--cer-scale-x:.95;transform:${s};`,"scale-x-100":`--cer-scale-x:1;transform:${s};`,"scale-x-105":`--cer-scale-x:1.05;transform:${s};`,"scale-x-110":`--cer-scale-x:1.1;transform:${s};`,"scale-x-125":`--cer-scale-x:1.25;transform:${s};`,"scale-x-150":`--cer-scale-x:1.5;transform:${s};`,"scale-y-0":`--cer-scale-y:0;transform:${s};`,"scale-y-50":`--cer-scale-y:.5;transform:${s};`,"scale-y-75":`--cer-scale-y:.75;transform:${s};`,"scale-y-90":`--cer-scale-y:.9;transform:${s};`,"scale-y-95":`--cer-scale-y:.95;transform:${s};`,"scale-y-100":`--cer-scale-y:1;transform:${s};`,"scale-y-105":`--cer-scale-y:1.05;transform:${s};`,"scale-y-110":`--cer-scale-y:1.1;transform:${s};`,"scale-y-125":`--cer-scale-y:1.25;transform:${s};`,"scale-y-150":`--cer-scale-y:1.5;transform:${s};`,"rotate-0":`--cer-rotate:0deg;transform:${s};`,"rotate-1":`--cer-rotate:1deg;transform:${s};`,"rotate-2":`--cer-rotate:2deg;transform:${s};`,"rotate-3":`--cer-rotate:3deg;transform:${s};`,"rotate-6":`--cer-rotate:6deg;transform:${s};`,"rotate-12":`--cer-rotate:12deg;transform:${s};`,"rotate-45":`--cer-rotate:45deg;transform:${s};`,"rotate-90":`--cer-rotate:90deg;transform:${s};`,"rotate-180":`--cer-rotate:180deg;transform:${s};`,"-rotate-1":`--cer-rotate:-1deg;transform:${s};`,"-rotate-2":`--cer-rotate:-2deg;transform:${s};`,"-rotate-3":`--cer-rotate:-3deg;transform:${s};`,"-rotate-6":`--cer-rotate:-6deg;transform:${s};`,"-rotate-12":`--cer-rotate:-12deg;transform:${s};`,"-rotate-45":`--cer-rotate:-45deg;transform:${s};`,"-rotate-90":`--cer-rotate:-90deg;transform:${s};`,"-rotate-180":`--cer-rotate:-180deg;transform:${s};`,"translate-x-0":u("0px"),"translate-x-px":u("1px"),"translate-x-0.5":u("0.125rem"),"translate-x-1":u("0.25rem"),"translate-x-1.5":u("0.375rem"),"translate-x-2":u("0.5rem"),"translate-x-2.5":u("0.625rem"),"translate-x-3":u("0.75rem"),"translate-x-4":u("1rem"),"translate-x-5":u("1.25rem"),"translate-x-6":u("1.5rem"),"translate-x-8":u("2rem"),"translate-x-10":u("2.5rem"),"translate-x-12":u("3rem"),"translate-x-16":u("4rem"),"translate-x-20":u("5rem"),"translate-x-24":u("6rem"),"translate-x-32":u("8rem"),"translate-x-1/2":u("50%"),"translate-x-1/3":u("33.333333%"),"translate-x-2/3":u("66.666667%"),"translate-x-1/4":u("25%"),"translate-x-3/4":u("75%"),"translate-x-full":u("100%"),"-translate-x-px":u("-1px"),"-translate-x-0.5":u("-0.125rem"),"-translate-x-1":u("-0.25rem"),"-translate-x-1.5":u("-0.375rem"),"-translate-x-2":u("-0.5rem"),"-translate-x-2.5":u("-0.625rem"),"-translate-x-3":u("-0.75rem"),"-translate-x-4":u("-1rem"),"-translate-x-1/2":u("-50%"),"-translate-x-full":u("-100%"),"translate-y-0":h("0px"),"translate-y-px":h("1px"),"translate-y-0.5":h("0.125rem"),"translate-y-1":h("0.25rem"),"translate-y-1.5":h("0.375rem"),"translate-y-2":h("0.5rem"),"translate-y-2.5":h("0.625rem"),"translate-y-3":h("0.75rem"),"translate-y-4":h("1rem"),"translate-y-5":h("1.25rem"),"translate-y-6":h("1.5rem"),"translate-y-8":h("2rem"),"translate-y-10":h("2.5rem"),"translate-y-12":h("3rem"),"translate-y-16":h("4rem"),"translate-y-20":h("5rem"),"translate-y-24":h("6rem"),"translate-y-32":h("8rem"),"translate-y-1/2":h("50%"),"translate-y-full":h("100%"),"-translate-y-px":h("-1px"),"-translate-y-0.5":h("-0.125rem"),"-translate-y-1":h("-0.25rem"),"-translate-y-2":h("-0.5rem"),"-translate-y-4":h("-1rem"),"-translate-y-1/2":h("-50%"),"-translate-y-full":h("-100%"),"skew-x-0":`--cer-skew-x:0deg;transform:${s};`,"skew-x-1":`--cer-skew-x:1deg;transform:${s};`,"skew-x-2":`--cer-skew-x:2deg;transform:${s};`,"skew-x-3":`--cer-skew-x:3deg;transform:${s};`,"skew-x-6":`--cer-skew-x:6deg;transform:${s};`,"skew-x-12":`--cer-skew-x:12deg;transform:${s};`,"-skew-x-1":`--cer-skew-x:-1deg;transform:${s};`,"-skew-x-2":`--cer-skew-x:-2deg;transform:${s};`,"-skew-x-3":`--cer-skew-x:-3deg;transform:${s};`,"-skew-x-6":`--cer-skew-x:-6deg;transform:${s};`,"-skew-x-12":`--cer-skew-x:-12deg;transform:${s};`,"skew-y-0":`--cer-skew-y:0deg;transform:${s};`,"skew-y-1":`--cer-skew-y:1deg;transform:${s};`,"skew-y-2":`--cer-skew-y:2deg;transform:${s};`,"skew-y-3":`--cer-skew-y:3deg;transform:${s};`,"skew-y-6":`--cer-skew-y:6deg;transform:${s};`,"skew-y-12":`--cer-skew-y:12deg;transform:${s};`,"-skew-y-1":`--cer-skew-y:-1deg;transform:${s};`,"-skew-y-2":`--cer-skew-y:-2deg;transform:${s};`,"-skew-y-3":`--cer-skew-y:-3deg;transform:${s};`,"-skew-y-6":`--cer-skew-y:-6deg;transform:${s};`,"-skew-y-12":`--cer-skew-y:-12deg;transform:${s};`}),Object.assign(e,{ring:"box-shadow:0 0 0 3px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-0":"box-shadow:0 0 0 0px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-1":"box-shadow:0 0 0 1px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-2":"box-shadow:0 0 0 2px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-4":"box-shadow:0 0 0 4px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-8":"box-shadow:0 0 0 8px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-inset":"box-shadow:inset 0 0 0 3px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-offset-0":"--cer-ring-offset-width:0px;box-shadow:0 0 0 0px var(--cer-ring-offset-color,#fff),0 0 0 3px var(--cer-ring-color,rgb(59 130 246/0.5));","ring-offset-1":"--cer-ring-offset-width:1px;box-shadow:0 0 0 1px var(--cer-ring-offset-color,#fff),0 0 0 calc(3px + 1px) var(--cer-ring-color,rgb(59 130 246/0.5));","ring-offset-2":"--cer-ring-offset-width:2px;box-shadow:0 0 0 2px var(--cer-ring-offset-color,#fff),0 0 0 calc(3px + 2px) var(--cer-ring-color,rgb(59 130 246/0.5));","ring-offset-4":"--cer-ring-offset-width:4px;box-shadow:0 0 0 4px var(--cer-ring-offset-color,#fff),0 0 0 calc(3px + 4px) var(--cer-ring-color,rgb(59 130 246/0.5));","ring-offset-8":"--cer-ring-offset-width:8px;box-shadow:0 0 0 8px var(--cer-ring-offset-color,#fff),0 0 0 calc(3px + 8px) var(--cer-ring-color,rgb(59 130 246/0.5));"});const l="var(--cer-blur) var(--cer-brightness) var(--cer-contrast) var(--cer-grayscale) var(--cer-hue-rotate) var(--cer-invert) var(--cer-saturate) var(--cer-sepia) var(--cer-drop-shadow)",b="var(--cer-backdrop-blur) var(--cer-backdrop-brightness) var(--cer-backdrop-contrast) var(--cer-backdrop-grayscale) var(--cer-backdrop-hue-rotate) var(--cer-backdrop-invert) var(--cer-backdrop-saturate) var(--cer-backdrop-sepia)";Object.assign(e,{"blur-none":`--cer-blur:;filter:${l};`,"blur-sm":`--cer-blur:blur(4px);filter:${l};`,blur:`--cer-blur:blur(8px);filter:${l};`,"blur-md":`--cer-blur:blur(12px);filter:${l};`,"blur-lg":`--cer-blur:blur(16px);filter:${l};`,"blur-xl":`--cer-blur:blur(24px);filter:${l};`,"blur-2xl":`--cer-blur:blur(40px);filter:${l};`,"blur-3xl":`--cer-blur:blur(64px);filter:${l};`,"brightness-0":`--cer-brightness:brightness(0);filter:${l};`,"brightness-50":`--cer-brightness:brightness(.5);filter:${l};`,"brightness-75":`--cer-brightness:brightness(.75);filter:${l};`,"brightness-90":`--cer-brightness:brightness(.9);filter:${l};`,"brightness-95":`--cer-brightness:brightness(.95);filter:${l};`,"brightness-100":`--cer-brightness:brightness(1);filter:${l};`,"brightness-105":`--cer-brightness:brightness(1.05);filter:${l};`,"brightness-110":`--cer-brightness:brightness(1.1);filter:${l};`,"brightness-125":`--cer-brightness:brightness(1.25);filter:${l};`,"brightness-150":`--cer-brightness:brightness(1.5);filter:${l};`,"brightness-200":`--cer-brightness:brightness(2);filter:${l};`,"contrast-0":`--cer-contrast:contrast(0);filter:${l};`,"contrast-50":`--cer-contrast:contrast(.5);filter:${l};`,"contrast-75":`--cer-contrast:contrast(.75);filter:${l};`,"contrast-100":`--cer-contrast:contrast(1);filter:${l};`,"contrast-125":`--cer-contrast:contrast(1.25);filter:${l};`,"contrast-150":`--cer-contrast:contrast(1.5);filter:${l};`,"contrast-200":`--cer-contrast:contrast(2);filter:${l};`,grayscale:`--cer-grayscale:grayscale(100%);filter:${l};`,"grayscale-0":`--cer-grayscale:grayscale(0);filter:${l};`,"hue-rotate-0":`--cer-hue-rotate:hue-rotate(0deg);filter:${l};`,"hue-rotate-15":`--cer-hue-rotate:hue-rotate(15deg);filter:${l};`,"hue-rotate-30":`--cer-hue-rotate:hue-rotate(30deg);filter:${l};`,"hue-rotate-60":`--cer-hue-rotate:hue-rotate(60deg);filter:${l};`,"hue-rotate-90":`--cer-hue-rotate:hue-rotate(90deg);filter:${l};`,"hue-rotate-180":`--cer-hue-rotate:hue-rotate(180deg);filter:${l};`,"-hue-rotate-180":`--cer-hue-rotate:hue-rotate(-180deg);filter:${l};`,"-hue-rotate-90":`--cer-hue-rotate:hue-rotate(-90deg);filter:${l};`,"-hue-rotate-60":`--cer-hue-rotate:hue-rotate(-60deg);filter:${l};`,"-hue-rotate-30":`--cer-hue-rotate:hue-rotate(-30deg);filter:${l};`,"-hue-rotate-15":`--cer-hue-rotate:hue-rotate(-15deg);filter:${l};`,invert:`--cer-invert:invert(100%);filter:${l};`,"invert-0":`--cer-invert:invert(0);filter:${l};`,"saturate-0":`--cer-saturate:saturate(0);filter:${l};`,"saturate-50":`--cer-saturate:saturate(.5);filter:${l};`,"saturate-100":`--cer-saturate:saturate(1);filter:${l};`,"saturate-150":`--cer-saturate:saturate(1.5);filter:${l};`,"saturate-200":`--cer-saturate:saturate(2);filter:${l};`,sepia:`--cer-sepia:sepia(100%);filter:${l};`,"sepia-0":`--cer-sepia:sepia(0);filter:${l};`,"drop-shadow-sm":`--cer-drop-shadow:drop-shadow(0 1px 1px rgb(0 0 0/.05));filter:${l};`,"drop-shadow":`--cer-drop-shadow:drop-shadow(0 1px 2px rgb(0 0 0/.1)) drop-shadow(0 1px 1px rgb(0 0 0/.06));filter:${l};`,"drop-shadow-md":`--cer-drop-shadow:drop-shadow(0 4px 3px rgb(0 0 0/.07)) drop-shadow(0 2px 2px rgb(0 0 0/.06));filter:${l};`,"drop-shadow-lg":`--cer-drop-shadow:drop-shadow(0 10px 8px rgb(0 0 0/.04)) drop-shadow(0 4px 3px rgb(0 0 0/.1));filter:${l};`,"drop-shadow-xl":`--cer-drop-shadow:drop-shadow(0 20px 13px rgb(0 0 0/.03)) drop-shadow(0 8px 5px rgb(0 0 0/.08));filter:${l};`,"drop-shadow-2xl":`--cer-drop-shadow:drop-shadow(0 25px 25px rgb(0 0 0/.15));filter:${l};`,"drop-shadow-none":`--cer-drop-shadow:drop-shadow(0 0 #0000);filter:${l};`,"backdrop-blur-none":`--cer-backdrop-blur:;backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur-sm":`--cer-backdrop-blur:blur(4px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur":`--cer-backdrop-blur:blur(8px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur-md":`--cer-backdrop-blur:blur(12px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur-lg":`--cer-backdrop-blur:blur(16px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur-xl":`--cer-backdrop-blur:blur(24px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur-2xl":`--cer-backdrop-blur:blur(40px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`,"backdrop-blur-3xl":`--cer-backdrop-blur:blur(64px);backdrop-filter:${b};-webkit-backdrop-filter:${b};`}),Object.assign(e,{"aspect-auto":"aspect-ratio:auto;","aspect-square":"aspect-ratio:1 / 1;","aspect-video":"aspect-ratio:16 / 9;"}),Object.assign(e,{"object-contain":"object-fit:contain;","object-cover":"object-fit:cover;","object-fill":"object-fit:fill;","object-none":"object-fit:none;","object-scale-down":"object-fit:scale-down;","object-bottom":"object-position:bottom;","object-center":"object-position:center;","object-left":"object-position:left;","object-left-bottom":"object-position:left bottom;","object-left-top":"object-position:left top;","object-right":"object-position:right;","object-right-bottom":"object-position:right bottom;","object-right-top":"object-position:right top;","object-top":"object-position:top;"});for(let n=1;n<=6;n++)e[`line-clamp-${n}`]=`display:-webkit-box;-webkit-line-clamp:${n};-webkit-box-orient:vertical;overflow:hidden;`;e["line-clamp-none"]="overflow:visible;display:block;-webkit-box-orient:horizontal;-webkit-line-clamp:none;";for(let n=1;n<=12;n++)e[`order-${n}`]=`order:${n};`;e["order-first"]="order:-9999;",e["order-last"]="order:9999;",e["order-none"]="order:0;";for(let n=0;n<=12;n++)n<=1||(e[`grow-${n}`]=`flex-grow:${n};`,e[`shrink-${n}`]=`flex-shrink:${n};`);return Object.assign(e,{"bg-linear-to-t":"background-image:linear-gradient(to top, var(--cer-gradient-stops));","bg-linear-to-tr":"background-image:linear-gradient(to top right, var(--cer-gradient-stops));","bg-linear-to-r":"background-image:linear-gradient(to right, var(--cer-gradient-stops));","bg-linear-to-br":"background-image:linear-gradient(to bottom right, var(--cer-gradient-stops));","bg-linear-to-b":"background-image:linear-gradient(to bottom, var(--cer-gradient-stops));","bg-linear-to-bl":"background-image:linear-gradient(to bottom left, var(--cer-gradient-stops));","bg-linear-to-l":"background-image:linear-gradient(to left, var(--cer-gradient-stops));","bg-linear-to-tl":"background-image:linear-gradient(to top left, var(--cer-gradient-stops));","bg-radial":"background-image:radial-gradient(ellipse at center, var(--cer-gradient-stops));","bg-radial-at-t":"background-image:radial-gradient(ellipse at top, var(--cer-gradient-stops));","bg-radial-at-tr":"background-image:radial-gradient(ellipse at top right, var(--cer-gradient-stops));","bg-radial-at-r":"background-image:radial-gradient(ellipse at right, var(--cer-gradient-stops));","bg-radial-at-br":"background-image:radial-gradient(ellipse at bottom right, var(--cer-gradient-stops));","bg-radial-at-b":"background-image:radial-gradient(ellipse at bottom, var(--cer-gradient-stops));","bg-radial-at-bl":"background-image:radial-gradient(ellipse at bottom left, var(--cer-gradient-stops));","bg-radial-at-l":"background-image:radial-gradient(ellipse at left, var(--cer-gradient-stops));","bg-radial-at-tl":"background-image:radial-gradient(ellipse at top left, var(--cer-gradient-stops));","bg-radial-circle":"background-image:radial-gradient(circle at center, var(--cer-gradient-stops));","bg-radial-circle-at-t":"background-image:radial-gradient(circle at top, var(--cer-gradient-stops));","bg-radial-circle-at-tr":"background-image:radial-gradient(circle at top right, var(--cer-gradient-stops));","bg-radial-circle-at-r":"background-image:radial-gradient(circle at right, var(--cer-gradient-stops));","bg-radial-circle-at-br":"background-image:radial-gradient(circle at bottom right, var(--cer-gradient-stops));","bg-radial-circle-at-b":"background-image:radial-gradient(circle at bottom, var(--cer-gradient-stops));","bg-radial-circle-at-bl":"background-image:radial-gradient(circle at bottom left, var(--cer-gradient-stops));","bg-radial-circle-at-l":"background-image:radial-gradient(circle at left, var(--cer-gradient-stops));","bg-radial-circle-at-tl":"background-image:radial-gradient(circle at top left, var(--cer-gradient-stops));","bg-conic":"background-image:conic-gradient(from 0deg at center, var(--cer-gradient-stops));","bg-conic-at-t":"background-image:conic-gradient(from 0deg at top, var(--cer-gradient-stops));","bg-conic-at-tr":"background-image:conic-gradient(from 0deg at top right, var(--cer-gradient-stops));","bg-conic-at-r":"background-image:conic-gradient(from 0deg at right, var(--cer-gradient-stops));","bg-conic-at-br":"background-image:conic-gradient(from 0deg at bottom right, var(--cer-gradient-stops));","bg-conic-at-b":"background-image:conic-gradient(from 0deg at bottom, var(--cer-gradient-stops));","bg-conic-at-bl":"background-image:conic-gradient(from 0deg at bottom left, var(--cer-gradient-stops));","bg-conic-at-l":"background-image:conic-gradient(from 0deg at left, var(--cer-gradient-stops));","bg-conic-at-tl":"background-image:conic-gradient(from 0deg at top left, var(--cer-gradient-stops));"}),Object.assign(e,{"prose-invert":`
|
|
277
|
+
--cer-prose-body:var(--cer-color-neutral-200);
|
|
278
|
+
--cer-prose-headings:var(--cer-color-neutral-50);
|
|
279
|
+
--cer-prose-lead:var(--cer-color-neutral-300);
|
|
280
|
+
--cer-prose-bold:var(--cer-color-neutral-50);
|
|
281
|
+
--cer-prose-quotes:var(--cer-color-neutral-300);
|
|
282
|
+
--cer-prose-quote-border:var(--cer-color-neutral-700);
|
|
283
|
+
--cer-prose-code:var(--cer-color-neutral-200);
|
|
284
|
+
--cer-prose-code-bg:var(--cer-color-neutral-900);
|
|
285
|
+
--cer-prose-pre-code:var(--cer-color-neutral-200);
|
|
286
|
+
--cer-prose-pre-bg:var(--cer-color-neutral-900);
|
|
287
|
+
--cer-prose-pre-border:var(--cer-color-neutral-800);
|
|
288
|
+
--cer-prose-hr:var(--cer-color-neutral-700);
|
|
289
|
+
--cer-prose-caps:var(--cer-color-neutral-400);
|
|
290
|
+
--cer-prose-list-marker:var(--cer-color-neutral-400);
|
|
291
|
+
--cer-prose-list-marker-strong:var(--cer-color-neutral-300);
|
|
292
|
+
--cer-prose-counters:var(--cer-color-neutral-300);
|
|
293
|
+
--cer-prose-bullets:var(--cer-color-neutral-300);
|
|
294
|
+
--cer-prose-img-caption:var(--cer-color-neutral-400);
|
|
295
|
+
--cer-prose-table-border:var(--cer-color-neutral-700);
|
|
296
|
+
--cer-prose-table-head:var(--cer-color-neutral-200);
|
|
297
|
+
--cer-prose-links:var(--cer-prose-invert-links,var(--cer-color-neutral-300));
|
|
298
|
+
--cer-prose-links-hover:var(--cer-prose-invert-links-hover,var(--cer-color-neutral-100));
|
|
299
|
+
`.replace(/\s+/g,""),"prose-primary":`
|
|
300
|
+
--cer-prose-links:var(--cer-color-primary-700);
|
|
301
|
+
--cer-prose-links-hover:var(--cer-color-primary-500);
|
|
302
|
+
--cer-prose-invert-links:var(--cer-color-primary-300);
|
|
303
|
+
--cer-prose-invert-links-hover:var(--cer-color-primary-100);
|
|
304
|
+
`.replace(/\s+/g,""),"prose-secondary":`
|
|
305
|
+
--cer-prose-links:var(--cer-color-secondary-700);
|
|
306
|
+
--cer-prose-links-hover:var(--cer-color-secondary-500);
|
|
307
|
+
--cer-prose-invert-links:var(--cer-color-secondary-300);
|
|
308
|
+
--cer-prose-invert-links-hover:var(--cer-color-secondary-100);
|
|
309
|
+
`.replace(/\s+/g,""),"prose-success":`
|
|
310
|
+
--cer-prose-links:var(--cer-color-success-700);
|
|
311
|
+
--cer-prose-links-hover:var(--cer-color-success-500);
|
|
312
|
+
--cer-prose-invert-links:var(--cer-color-success-300);
|
|
313
|
+
--cer-prose-invert-links-hover:var(--cer-color-success-100);
|
|
314
|
+
`.replace(/\s+/g,""),"prose-warning":`
|
|
315
|
+
--cer-prose-links:var(--cer-color-warning-700);
|
|
316
|
+
--cer-prose-links-hover:var(--cer-color-warning-500);
|
|
317
|
+
--cer-prose-invert-links:var(--cer-color-warning-300);
|
|
318
|
+
--cer-prose-invert-links-hover:var(--cer-color-warning-100);
|
|
319
|
+
`.replace(/\s+/g,""),"prose-error":`
|
|
320
|
+
--cer-prose-links:var(--cer-color-error-700);
|
|
321
|
+
--cer-prose-links-hover:var(--cer-color-error-500);
|
|
322
|
+
--cer-prose-invert-links:var(--cer-color-error-300);
|
|
323
|
+
--cer-prose-invert-links-hover:var(--cer-color-error-100);
|
|
324
|
+
`.replace(/\s+/g,""),"prose-info":`
|
|
325
|
+
--cer-prose-links:var(--cer-color-info-700);
|
|
326
|
+
--cer-prose-links-hover:var(--cer-color-info-500);
|
|
327
|
+
--cer-prose-invert-links:var(--cer-color-info-300);
|
|
328
|
+
--cer-prose-invert-links-hover:var(--cer-color-info-100);
|
|
329
|
+
`.replace(/\s+/g,"")}),e},fe=Ue();function He(e){return/^prose(?:-(sm|lg|xl|2xl))?$/.test(e)?(Ie(e),""):null}function Se(e){return/^prose-([a-z0-9]+):(.+)$/.test(e)?Le(e,fe,ge,he,xe,me,be,ie):null}function q(e,t){let c=0;for(let o=0;o<e.length;o++){const r=e[o];if(r==="["||r==="(")c++;else if((r==="]"||r===")")&&c>0)c--;else if(c===0&&(r===">"||r==="+"||r==="~"||r===" "))return e.slice(0,o)+t+e.slice(o)}return e+t}const je={before:(e,t)=>`${e}::before{${t}}`,after:(e,t)=>`${e}::after{${t}}`,hover:(e,t)=>`${q(e,":hover")}{${t}}`,focus:(e,t)=>`${q(e,":focus")}{${t}}`,active:(e,t)=>`${q(e,":active")}{${t}}`,disabled:(e,t)=>`${q(e,":disabled")}{${t}}`,visited:(e,t)=>`${q(e,":visited")}{${t}}`,checked:(e,t)=>`${q(e,":checked")}{${t}}`,first:(e,t)=>`${q(e,":first-child")}{${t}}`,last:(e,t)=>`${q(e,":last-child")}{${t}}`,odd:(e,t)=>`${q(e,":nth-child(odd)")}{${t}}`,even:(e,t)=>`${q(e,":nth-child(even)")}{${t}}`,"focus-within":(e,t)=>`${q(e,":focus-within")}{${t}}`,"focus-visible":(e,t)=>`${q(e,":focus-visible")}{${t}}`,"group-hover":(e,t)=>`.group:hover ${e}{${t}}`,"group-focus":(e,t)=>`.group:focus ${e}{${t}}`,"group-active":(e,t)=>`.group:active ${e}{${t}}`,"group-disabled":(e,t)=>`.group:disabled ${e}{${t}}`,"peer-hover":(e,t)=>`.peer:hover ~ ${e}{${t}}`,"peer-focus":(e,t)=>`.peer:focus ~ ${e}{${t}}`,"peer-checked":(e,t)=>`.peer:checked ~ ${e}{${t}}`,"peer-disabled":(e,t)=>`.peer:disabled ~ ${e}{${t}}`,"dark-class":(e,t)=>`:host(.dark) ${e}{${t}}`,rtl:(e,t)=>`[dir=rtl] ${e}{${t}}`,ltr:(e,t)=>`[dir=ltr] ${e}{${t}}`,placeholder:(e,t)=>`${e}::placeholder{${t}}`,file:(e,t)=>`${e}::file-selector-button{${t}}`,marker:(e,t)=>`${e}::marker{${t}}`,selection:(e,t)=>`${e}::selection{${t}}`,open:(e,t)=>`${q(e,"[open]")}{${t}}`},oe={sm:"(min-width:640px)",md:"(min-width:768px)",lg:"(min-width:1024px)",xl:"(min-width:1280px)","2xl":"(min-width:1536px)",dark:"(prefers-color-scheme: dark)","motion-reduce":"(prefers-reduced-motion: reduce)","motion-safe":"(prefers-reduced-motion: no-preference)",print:"print","forced-colors":"(forced-colors: active)"},Ce={xs:"(min-width:20rem)",sm:"(min-width:24rem)",md:"(min-width:28rem)",lg:"(min-width:32rem)",xl:"(min-width:36rem)","2xl":"(min-width:42rem)","3xl":"(min-width:48rem)","4xl":"(min-width:56rem)","5xl":"(min-width:64rem)","6xl":"(min-width:72rem)","7xl":"(min-width:80rem)"},ne=["sm","md","lg","xl","2xl","motion-reduce","motion-safe","print","forced-colors"],pe=["xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl"];function ge(e){const t=e.startsWith("-"),c=t?e.slice(1):e,o=c.lastIndexOf("-");if(o===-1)return null;const r=c.slice(0,o),i=c.slice(o+1);if(!ye[r])return null;if(i.includes("/")){const[s,u]=i.split("/").map(l=>parseFloat(l));if(Number.isNaN(s)||Number.isNaN(u)||u===0)return null;const h=s/u*100;return ye[r].map(l=>`${l}:${h}%;`).join("")}const g=parseFloat(i);if(Number.isNaN(g))return null;const w=t?"-":"";return ye[r].map(s=>`${s}:calc(${w}${G} * ${g});`).join("")}function he(e){const t=e.startsWith("-"),o=(t?e.slice(1):e).match(/^space-(x|y)-(.+)$/);if(!o)return null;const[,r,i]=o,g=r==="x";if(i==="reverse")return g?"--cer-space-x-reverse:1;":"--cer-space-y-reverse:1;";if(i.includes("/")){const[h,l]=i.split("/").map(d=>parseFloat(d));if(Number.isNaN(h)||Number.isNaN(l)||l===0)return null;const b=h/l*100,n=t?"-":"";return g?`--cer-space-x-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-inline-start:calc(${n}${b}% * calc(1 - var(--cer-space-x-reverse)));margin-inline-end:calc(${n}${b}% * var(--cer-space-x-reverse));}`:`--cer-space-y-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-top:calc(${n}${b}% * calc(1 - var(--cer-space-y-reverse)));margin-bottom:calc(${n}${b}% * var(--cer-space-y-reverse));}`}const w=parseFloat(i);if(Number.isNaN(w))return null;const u=`calc(${t?"-":""}${G} * ${w})`;return g?`--cer-space-x-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-inline-start:calc(${u} * calc(1 - var(--cer-space-x-reverse)));margin-inline-end:calc(${u} * var(--cer-space-x-reverse));}`:`--cer-space-y-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-top:calc(${u} * calc(1 - var(--cer-space-y-reverse)));margin-bottom:calc(${u} * var(--cer-space-y-reverse));}`}function ue(e){let t=e.replace("#","");t.length===3&&(t=t.split("").map(o=>o+o).join(""));const c=parseInt(t,16);return`${c>>16&255} ${c>>8&255} ${c&255}`}const Ke=/^(bg|text|border|decoration|shadow|outline|caret|accent|fill|stroke|ring|divide)-([a-z]+)-?(\d{2,3}|DEFAULT)?$/,Xe={bg:"background-color",decoration:"text-decoration-color",text:"color",border:"border-color",outline:"outline-color",caret:"caret-color",accent:"accent-color",fill:"fill",stroke:"stroke"};function Qe(e){const t=Ke.exec(e);if(!t)return null;const[,c,o,r="DEFAULT"]=t,i=Ee[o]?.[r];if(!i)return null;if(c==="shadow")return`--cer-shadow-color:${i};`;if(c==="ring")return`--cer-ring-color:${i};`;if(c==="divide")return`border-color:${i};`;const g=Xe[c];return g?`${g}:${i};`:null}function Ge(e){const t=e.indexOf("/");if(t===-1)return{base:e};const c=e.slice(0,t),o=e.slice(t+1),r=parseInt(o,10);return isNaN(r)||r<0||r>100?{base:c}:{base:c,opacity:r/100}}function me(e){const{base:t,opacity:c}=Ge(e),o=Qe(t);if(o){if(c!==void 0){if(o.includes("var(")){const g=/var\([^)]*\)/.exec(o);if(g){const w=g[0],s=c*100,u=`color-mix(in srgb, ${w} ${s}%, rgba(0 0 0 / 0) ${100-s}%)`,h=/#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(w),l=/^([a-z-]+):/.exec(o),b=l?l[1]:"background-color";if(h){const d=`rgb(${ue(h[0])} / ${c})`,f=w.replace(/#([0-9a-f]{6}|[0-9a-f]{3})/i,d);return`${b}:${f};__CE_COLOR_MIX_SPLIT__${b}:${u};`}return`${b}:${u};`}}const i=/#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(o);if(i){const g=ue(i[0]);return o.replace(/#([0-9a-f]{6}|[0-9a-f]{3})/i,`rgb(${g} / ${c})`)}}return o}const r=ie(t);if(r&&c!==void 0){if(r.includes("var(")){const g=/var\([^)]*\)/.exec(r);if(g){const w=g[0],s=c*100,u=`color-mix(in srgb, ${w} ${s}%, rgba(0 0 0 / 0) ${100-s}%)`,h=/#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(w),l=/^([a-z-]+):/.exec(r),b=l?l[1]:null;if(h&&b){const d=`rgb(${ue(h[0])} / ${c})`,f=w.replace(/#([0-9a-f]{6}|[0-9a-f]{3})/i,d);return`${b}:${f};__CE_COLOR_MIX_SPLIT__${b}:${u};`}return r.replace(w,u)}}const i=/#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(r);if(i){const g=ue(i[0]);return r.replace(/#([0-9a-f]{6}|[0-9a-f]{3})/i,`rgb(${g} / ${c})`)}}return r}function be(e){const t=/^(from|to|via)-([a-z]+)-?(\d{2,3}|DEFAULT)?$/.exec(e);if(!t)return null;const[,c,o,r="DEFAULT"]=t,i=Ee[o]?.[r];if(!i)return null;switch(c){case"from":return`--cer-gradient-from:${i} var(--cer-gradient-from-position);--cer-gradient-to:rgb(255 255 255 / 0) var(--cer-gradient-to-position);--cer-gradient-stops:var(--cer-gradient-from), var(--cer-gradient-to);`;case"to":return`--cer-gradient-to:${i} var(--cer-gradient-to-position);`;case"via":return`--cer-gradient-to:rgb(255 255 255 / 0) var(--cer-gradient-to-position);--cer-gradient-stops:var(--cer-gradient-from), ${i} var(--cer-gradient-via-position), var(--cer-gradient-to);`;default:return null}}function xe(e){const t=/^opacity-(\d{1,3})$/.exec(e);if(!t)return null;const c=parseInt(t[1],10);return c<0||c>100?null:`opacity:${c/100};`}function ie(e){if(e.startsWith("[")&&e.endsWith("]")&&!e.includes("-[")){const g=e.slice(1,-1).trim(),w=g.indexOf(":");if(w===-1)return null;const s=g.slice(0,w).trim();let u=g.slice(w+1).trim();return/^[a-zA-Z][a-zA-Z0-9-]*$/.test(s)?(u=u.replace(/_/g," "),u=u.replace(/url\('\s*([^']*?)\s*'\)/g,'url("$1")'),u=u.replace(/^'([^']*)'$/g,'"$1"'),`${s}:${u};`):null}const t=e.indexOf("-[");if(t<=0||!e.endsWith("]"))return null;const c=e.slice(0,t),o=e.slice(t+2,-1).replace(/_/g," "),r={bg:"background-color",shadow:"box-shadow",p:"padding",px:"padding-inline",py:"padding-block",m:"margin",mx:"margin-inline",my:"margin-block",w:"width",h:"height","min-w":"min-width","max-w":"max-width","min-h":"min-height","max-h":"max-height","border-t":"border-top-width","border-b":"border-bottom-width","border-l":"border-left-width","border-r":"border-right-width","border-x":"border-inline-width","border-y":"border-block-width","grid-cols":"grid-template-columns","grid-rows":"grid-template-rows",transition:"transition-property",ease:"transition-timing-function",delay:"transition-delay",duration:"transition-duration",list:"list-style",break:"word-break",flex:"flex-direction",items:"align-items",justify:"justify-content",content:"content",self:"align-self",basis:"flex-basis",tracking:"letter-spacing",leading:"line-height",z:"z-index",opacity:"opacity"};if(c==="text")return/^\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex)$/.test(o)?`font-size:${o};`:`color:${o};`;if(c==="rotate")return`transform:rotate(${o});`;if(c==="scale")return`transform:scale(${o});`;if(c==="translate-x")return`transform:translateX(${o});`;if(c==="translate-y")return`transform:translateY(${o});`;const i=r[c]??c.replace(/_/g,"-");return i&&o?`${i}:${o};`:null}function ze(e){if(e.startsWith("[")&&e.endsWith("]")){const c=e.slice(1,-1);return c.includes("&")?c:e}const t=e.indexOf("-[");if(t>0&&e.endsWith("]")){const c=e.slice(t+2,-1).replace(/_/g,"-");return c.includes("&")?c:e.replace(/_/g,"-")}return null}function we(e){if(typeof CSS<"u"&&CSS.escape)return CSS.escape(e);const t=String(e),c=t.length;let o="",r=0;for(;r<c;){const i=t.charAt(r),g=t.charCodeAt(r);g===0?o+="�":g>=1&&g<=31||g===127||r===0&&g>=48&&g<=57||r===1&&g>=48&&g<=57&&t.charCodeAt(0)===45?o+="\\"+g.toString(16)+" ":r===0&&c===1&&g===45?o+="\\"+i:g>=128||g===45||g===95||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122?o+=i:o+="\\"+i,r++}return o}function ae(e){return"."+we(e)}function Ye(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ze(e){const t=/class\s*=\s*(['"])([\s\S]*?)\1/g,c=[];let o;for(;o=t.exec(e);){const r=o[2].split(/\s+/).filter(Boolean);r.length&&c.push(...r)}return c}const se=new Map,Oe=1e3;function We(e){const t=se.get(e);if(t)return t.css;const c=Ze(e);if(!c.length)return"";const o=new Set(c),r=[[],[],[],[]],i={},g=(d,f=!1)=>{const $=f?`dark|${d}`:d;if($ in i)return i[$];const y=h(d,f);return i[$]=y,y},w=d=>{const f=d.some(j=>ne.includes(j)),$=d.some(j=>j.startsWith("@")&&(pe.includes(j.slice(1))||j.match(/^@\[.+\]$/))),y=d.includes("dark");return d.length?!f&&!y&&!$?1:y&&(f||$)?3:2:0},s=d=>{const f=[];let $="",y=0;for(let j=0;j<d.length;j++){const k=d[j];k==="["||k==="("?y++:(k==="]"||k===")")&&y--,k===":"&&y===0?(f.push($),$=""):$+=k}return $&&f.push($),f},u={hover:":hover",focus:":focus",active:":active",visited:":visited",disabled:":disabled",checked:":checked",first:":first-child",last:":last-child",odd:":nth-child(odd)",even:":nth-child(even)","focus-within":":focus-within","focus-visible":":focus-visible"},h=(d,f=!1)=>{const $=s(d);let y="",j=!1;for(const a of $){let p=a;if(p.startsWith("!")&&(j=!0,p=p.slice(1)),p.endsWith("!")&&(j=!0,p=p.slice(0,-1)),!(p.startsWith("data-[")&&p.endsWith("]")||p.startsWith("has-[")&&p.endsWith("]")||p.startsWith("not-[")&&p.endsWith("]")||p.startsWith("in-[")&&p.endsWith("]")||p.startsWith("supports-[")&&p.endsWith("]")||p==="starting")&&(fe[p]||ge(p)||he(p)||xe(p)||me(p)||be(p)||ie(p))){y=a;break}}if(!y)return null;const k=y.replace(/^!/,"").replace(/!$/,""),P=fe[k]??ge(k)??he(k)??xe(k)??me(k)??be(k)??ie(k);if(!P)return null;const _=$.indexOf(y);let A=_>=0?$.slice(0,_):[];f&&(A=A.filter(a=>a!=="dark"));const z=ae(d),W=j?P.replace(/;/g," !important;"):P,x="__SUBJECT__";let m=x;const C=[];for(const a of A)a.startsWith("group-")?(m=`.group:${a.slice(6)} ${m}`,C.push(a)):a.startsWith("peer-")&&(m=m.replace(x,`.peer:${a.slice(5)}~${x}`),C.push(a));A=A.filter(a=>!C.includes(a));const E=[],L=[];let R=null,F=!1;const I=[];for(const a of A){if(a==="dark"||ne.includes(a)||a.startsWith("@")&&(pe.includes(a.slice(1))||a.match(/^@\[.+\]$/)))continue;if(a.startsWith("data-[")&&a.endsWith("]")){const v=a.slice(6,-1),M=v.includes("=")?"[data-"+v.replace(/^([^=]+)=(.+)$/,'$1="$2"')+"]":"[data-"+v+"]";E.push(M);continue}if(a.startsWith("has-[")&&a.endsWith("]")){const v=a.slice(5,-1).replace(/_/g," ");E.push(`:has(${v})`);continue}if(a.startsWith("not-[")&&a.endsWith("]")){const v=a.slice(5,-1).replace(/_/g," ");E.push(`:not(${v})`);continue}if(a.startsWith("in-[")&&a.endsWith("]")){m=":is("+a.slice(4,-1).replace(/_/g," ")+") "+m;continue}if(a==="starting"){F=!0;continue}if(a.startsWith("supports-[")&&a.endsWith("]")){I.push(a);continue}const p=ze(a);if(p){R=p;continue}const O=u[a];if(O){R?L.push(O):E.push(O);continue}const T=je[a];typeof T=="function"&&(m=T(m,W).split("{")[0])}const N=E.join(""),V=L.join("");function re(a,p){if(!p)return a;let O=0,T=0;if(a.length&&(a[0]===">"||a[0]==="+"||a[0]==="~"||a[0]===" ")){let v=1;for(;v<a.length&&a[v]===" ";)v++;for(;v<a.length;v++){const M=a[v];if(M==="["?O++:M==="]"&&O>0?O--:M==="("?T++:M===")"&&T>0&&T--,O===0&&T===0&&(a[v]===">"||a[v]==="+"||a[v]==="~"||a[v]===" "))return a.slice(0,v)+p+a.slice(v)}return a+p}for(let v=0;v<a.length;v++){const M=a[v];if(M==="["?O++:M==="]"&&O>0?O--:M==="("?T++:M===")"&&T>0&&T--,O===0&&T===0&&(M===">"||M==="+"||M==="~"||M===" "))return a.slice(0,v)+p+a.slice(v)}return a+p}if(R)if(R.includes("&")){const a=R.indexOf("&"),p=R.slice(0,a),O=R.slice(a+1),T=x+N;if(E.length===0)m=m.replace(x,p+T+V+O);else{const v=re(O,V);m=m.replace(x,p+T+v)}}else m=m.replace(x,`${R}${x+N}`),V&&(m=m.replace(x,`${x}${V}`));else m=m.replace(x,x+N+V);m=m.replace(new RegExp(x,"g"),z);const J="__CE_COLOR_MIX_SPLIT__",ce=W.includes(J)?W.split(J).map(a=>`${m}{${a}}`):[`${m}{${W}}`],H=A.filter(a=>ne.includes(a)),K=A.filter(a=>a.startsWith("@")&&(pe.includes(a.slice(1))||a.match(/^@\[.+\]$/))),Y=H.length?H[H.length-1]:null,S=K.length?K[K.length-1]:null,le=A.includes("dark");let U="",X="";if(le&&Y?U=`@media (prefers-color-scheme: dark) and ${oe[Y]}`:le?U="@media (prefers-color-scheme: dark)":Y&&(U=`@media ${oe[Y]}`),S)if(S.startsWith("@[")&&S.endsWith("]")){const a=S.slice(2,-1);if(!/^-?\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex|cm|mm|in|pt|pc)$/.test(a))return null;X=`@container (min-width:${a})`}else{const a=S.slice(1);X=`@container ${Ce[a]||`(min-width:${a})`}`}let D="";if(I.length>0){const p=I[I.length-1].slice(10,-1).replace(/_/g," ");D=`@supports ${p.startsWith("not(")||p.startsWith("selector(")||p.startsWith("(")?p:`(${p})`}`}const B=a=>{let p=a;return F&&(p=`@starting-style{${p}}`),D&&(p=`${D}{${p}}`),U&&X?`${U}${X}{${p}}`:U?`${U}{${p}}`:X?`${X}{${p}}`:p};return ce.map(B).join("")};for(const d of o){const f=s(d),$=f.slice(0,-1),y=f[f.length-1];if(He(y)!==null){if($.length===0)r[0].push(`${ae(d)}{}`);else{const x=Te(y);if(!x)continue;const m=ae(d),C=ae(y);let E=x.replace(new RegExp(Ye(C),"g"),m);const L=$.filter(F=>ne.includes(F));if(L.length>0){const F=L[L.length-1];E=`${`@media ${oe[F]}`}{${E}}`}$.includes("dark")&&(E=`@media (prefers-color-scheme: dark){${E}}`);const R=w($);r[R].push(E)}continue}let k=-1;for(let x=f.length-1;x>=0;x--){const m=f.slice(x).join(":");if(Se(m)){k=x;break}}if(k>=0){const x=f.slice(k).join(":"),m=f.slice(0,k),C=Se(x);if(!C)continue;if(m.length===0){r[0].push(C);continue}const E=we(d),L=we(x),R=C.replace(new RegExp(`\\.${L.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`,"g"),`.${E}`),F=/(.+?)\s+(.+?)\{([^}]+)\}/g,I=[...R.matchAll(F)];if(I.length===0){r[0].push(C);continue}const N=w(m),V={hover:":hover",focus:":focus",active:":active",visited:":visited",disabled:":disabled",checked:":checked",first:":first-child",last:":last-child",odd:":nth-child(odd)",even:":nth-child(even)","focus-within":":focus-within","focus-visible":":focus-visible"},re=[],J=[],ce=[],H=[],K=[];let Y=!1;for(const S of m)S.startsWith("group-")||S.startsWith("peer-")?re.push(S):S==="dark"||S==="dark-class"?Y=!0:ne.includes(S)?H.push(S):S.startsWith("@")&&(pe.includes(S.slice(1))||S.match(/^@\[.+\]$/))?K.push(S):S.startsWith("[")&&S.endsWith("]")?ce.push(S):(V[S]||je[S])&&J.push(S);for(const S of I){const[,le,U,X]=S;let D=`${le} ${U}`;for(const a of re)if(a.startsWith("group-")){const p=a.slice(6);D=`.group${V[p]||`:${p}`} ${D}`}else if(a.startsWith("peer-")){const p=a.slice(5);D=`.peer${V[p]||`:${p}`}~${D}`}if(J.length>0){const a=J.map(p=>V[p]||`:${p}`).join("");D=`${D}${a}`}for(const a of ce){const p=ze(a);if(p&&p.includes("&")){const O=p.indexOf("&"),T=p.slice(0,O),v=p.slice(O+1);D=`${T}${D}${v}`}}let B=`${D}{${X}}`;if(Y&&(B=`@media (prefers-color-scheme: dark){${B}}`),K.length>0){const a=K[K.length-1];if(a.startsWith("@[")&&a.endsWith("]")){const p=a.slice(2,-1);/^-?\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex|cm|mm|in|pt|pc)$/.test(p)&&(B=`@container (min-width:${p}){${B}}`)}else{const p=a.slice(1),T={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"}[p];if(T){const v=d.match(/@([^/]+)\//)?.[1]||"";B=v?`@container ${v} (min-width: ${T}){${B}}`:`@container (min-width: ${T}){${B}}`}}}if(H.length>0){const a=H[H.length-1];B=`${`@media ${oe[a]}`}{${B}}`}r[N].push(B)}continue}const P=f.find(x=>{const m=x.replace(/^!/,"").replace(/!$/,"");return fe[m]||ge(m)||he(m)||xe(m)||me(m)||be(m)||ie(m)});if(!P)continue;const _=f.indexOf(P),A=_>=0?f.slice(0,_):[],z=w(A),W=g(d);W&&r[z].push(W)}const l=/^(from|via|to)-[a-z]+-?\d{2,3}?$/;for(const d of o)if(l.test(d)){if(r.flat().join("").includes(ae(d)))continue;const $=g(d);$&&r[0].push($)}const b=d=>d.sort((f,$)=>{const y=z=>{const W={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};for(const[x,m]of Object.entries(W))if(z.includes(`@media ${oe[x]}`))return m;return-1},j=z=>{const W={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768,"4xl":896,"5xl":1024,"6xl":1152,"7xl":1280};for(const[x,m]of Object.entries(W))if(z.includes(`@container ${Ce[x]}`))return m;if(z.includes("@container (min-width:")){const x=/@container \(min-width:(\d+(?:\.\d+)?)(px|rem|em)/.exec(z);if(x){const m=parseFloat(x[1]),C=x[2];return C==="rem"||C==="em"?m*16:m}}return-1},k=y(f),P=y($),_=j(f),A=j($);return k>=0&&P>=0&&k!==P?k-P:_>=0&&A>=0&&_!==A?_-A:0});r[2]=b(r[2]),r[3]=b(r[3]);const n=r.flat().join("");return se.size>=Oe&&Array.from(se.keys()).slice(0,Math.floor(Oe/2)).forEach(f=>se.delete(f)),se.set(e,{css:n,timestamp:Date.now()}),n}const ee={fade:{enterFrom:"opacity-0",enterActive:"transition-opacity duration-300 ease-out",enterTo:"opacity-100",leaveFrom:"opacity-100",leaveActive:"transition-opacity duration-200 ease-in",leaveTo:"opacity-0"},"slide-right":{enterFrom:"translate-x-[100%] opacity-0",enterActive:"transition-all duration-300 ease-out",enterTo:"translate-x-[0%] opacity-100",leaveFrom:"translate-x-[0%] opacity-100",leaveActive:"transition-all duration-200 ease-in",leaveTo:"translate-x-[100%] opacity-0"},"slide-left":{enterFrom:"translate-x-[-100%] opacity-0",enterActive:"transition-all duration-300 ease-out",enterTo:"translate-x-[0%] opacity-100",leaveFrom:"translate-x-[0%] opacity-100",leaveActive:"transition-all duration-200 ease-in",leaveTo:"translate-x-[-100%] opacity-0"},"slide-up":{enterFrom:"translate-y-[100%] opacity-0",enterActive:"transition-all duration-300 ease-out",enterTo:"translate-y-[0%] opacity-100",leaveFrom:"translate-y-[0%] opacity-100",leaveActive:"transition-all duration-200 ease-in",leaveTo:"translate-y-[100%] opacity-0"},"slide-down":{enterFrom:"translate-y-[-100%] opacity-0",enterActive:"transition-all duration-300 ease-out",enterTo:"translate-y-[0%] opacity-100",leaveFrom:"translate-y-[0%] opacity-100",leaveActive:"transition-all duration-200 ease-in",leaveTo:"translate-y-[-100%] opacity-0"},scale:{enterFrom:"scale-95 opacity-0",enterActive:"transition-all duration-200 ease-out",enterTo:"scale-100 opacity-100",leaveFrom:"scale-100 opacity-100",leaveActive:"transition-all duration-150 ease-in",leaveTo:"scale-95 opacity-0"},"scale-down":{enterFrom:"scale-105 opacity-0",enterActive:"transition-all duration-200 ease-out",enterTo:"scale-100 opacity-100",leaveFrom:"scale-100 opacity-100",leaveActive:"transition-all duration-150 ease-in",leaveTo:"scale-105 opacity-0"},bounce:{enterFrom:"scale-0 opacity-0",enterActive:"transition-all duration-500 ease-out",enterTo:"scale-100 opacity-100",leaveFrom:"scale-100 opacity-100",leaveActive:"transition-all duration-200 ease-in",leaveTo:"scale-0 opacity-0"},zoom:{enterFrom:"scale-0 opacity-0",enterActive:"transition-all duration-300 ease-out",enterTo:"scale-100 opacity-100",leaveFrom:"scale-100 opacity-100",leaveActive:"transition-all duration-200 ease-in",leaveTo:"scale-0 opacity-0"},flip:{enterFrom:"rotate-[90deg] opacity-0",enterActive:"transition-all duration-400 ease-out",enterTo:"rotate-[0deg] opacity-100",leaveFrom:"rotate-[0deg] opacity-100",leaveActive:"transition-all duration-300 ease-in",leaveTo:"rotate-[90deg] opacity-0"}};function Je(e,t){const{preset:c,show:o,mode:r="default",duration:i,appear:g=!1,css:w=!0,name:s,enterFrom:u,enterActive:h,enterTo:l,leaveFrom:b,leaveActive:n,leaveTo:d,onBeforeEnter:f,onEnter:$,onAfterEnter:y,onEnterCancelled:j,onBeforeLeave:k,onLeave:P,onAfterLeave:_,onLeaveCancelled:A}=e;let z;c&&ee[c]?(z={...ee[c]},u&&(z.enterFrom=u),h&&(z.enterActive=h),l&&(z.enterTo=l),b&&(z.leaveFrom=b),n&&(z.leaveActive=n),d&&(z.leaveTo=d)):z={enterFrom:u,enterActive:h,enterTo:l,leaveFrom:b,leaveActive:n,leaveTo:d};const W=s||(c?`transition-${c}`:"transition"),x=Me.anchorBlock(o?t:[],W);return x._transition={name:W,classes:z,mode:r,duration:i,appear:g,css:w,state:o?"visible":"hidden",hooks:{onBeforeEnter:f,onEnter:$,onAfterEnter:y,onEnterCancelled:j,onBeforeLeave:k,onLeave:P,onAfterLeave:_,onLeaveCancelled:A}},x}function er(e,t){const{tag:c="div",moveClass:o="transition-transform duration-300",preset:r,show:i=!0,mode:g="default",duration:w,appear:s=!1,css:u=!0,name:h,class:l,style:b,enterFrom:n,enterActive:d,enterTo:f,leaveFrom:$,leaveActive:y,leaveTo:j,onBeforeEnter:k,onEnter:P,onAfterEnter:_,onEnterCancelled:A,onBeforeLeave:z,onLeave:W,onAfterLeave:x,onLeaveCancelled:m}=e;let C;r&&ee[r]?(C={...ee[r]},n&&(C.enterFrom=n),d&&(C.enterActive=d),f&&(C.enterTo=f),$&&(C.leaveFrom=$),y&&(C.leaveActive=y),j&&(C.leaveTo=j)):C={enterFrom:n,enterActive:d,enterTo:f,leaveFrom:$,leaveActive:y,leaveTo:j};const E=h||(r?`transition-group-${r}`:"transition-group"),L=[];for(const F of i?t:[])if(F&&typeof F=="object"&&F.tag==="#anchor"){const I=Array.isArray(F.children)?F.children:[];for(const N of I)if(N&&typeof N=="object"){const V={...N,key:F.key||N.key,props:{...N.props,_anchorKey:F.key}};L.push(V)}else L.push(N)}else L.push(F);const R=(()=>{if(b)return typeof b=="string"?b:Object.entries(b).map(([F,I])=>`${F}: ${I}`).join("; ")})();return{tag:c,children:L,key:E,props:{attrs:{...l?{class:l}:{},...R?{style:R}:{}},_transitionGroup:{name:E,classes:C,moveClass:o,mode:g,duration:w,appear:s,css:u,hooks:{onBeforeEnter:k,onEnter:P,onAfterEnter:_,onEnterCancelled:A,onBeforeLeave:z,onLeave:W,onAfterLeave:x,onLeaveCancelled:m}}}}}function rr(e){return{...e}}let Z=null;function Re(){if(!Z){if(typeof CSSStyleSheet>"u")return Z={cssRules:[],replaceSync:()=>{},toString:()=>""},Z;const e=[];Object.values(ee).forEach(o=>{o.enterFrom&&e.push(o.enterFrom),o.enterActive&&e.push(o.enterActive),o.enterTo&&e.push(o.enterTo),o.leaveFrom&&e.push(o.leaveFrom),o.leaveActive&&e.push(o.leaveActive),o.leaveTo&&e.push(o.leaveTo)});const t=`<div class="${e.join(" ")}"></div>`,c=We(t);try{Z=new CSSStyleSheet,Z.replaceSync(c)}catch{Z={cssRules:[],replaceSync:()=>{},toString:()=>c||""}}}return Z}function tr(){if(!(typeof window>"u"||typeof CSSStyleSheet>"u"))try{Re()}catch{}}tr();exports.Transition=Je;exports.TransitionGroup=er;exports.baseReset=ke;exports.createTransitionPreset=rr;exports.css=Ae;exports.getBaseResetSheet=qe;exports.getProseSheet=Fe;exports.getTransitionStyleSheet=Re;exports.jitCSS=We;exports.minifyCSS=$e;exports.sanitizeCSS=Ne;exports.transitionPresets=ee;
|
|
330
|
+
//# sourceMappingURL=transitions-DPZiuXb9.cjs.map
|