@jasonshimmy/custom-elements-runtime 2.8.1 → 3.0.0
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 +159 -46
- package/dist/css-utils-Cg4o1MqY.js +643 -0
- package/dist/css-utils-Cg4o1MqY.js.map +1 -0
- package/dist/css-utils-RqkyBWft.cjs +576 -0
- package/dist/css-utils-RqkyBWft.cjs.map +1 -0
- package/dist/custom-elements-runtime.cjs.js +3 -3
- package/dist/custom-elements-runtime.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.dom-jit-css.cjs.js +7 -0
- package/dist/custom-elements-runtime.dom-jit-css.cjs.js.map +1 -0
- package/dist/custom-elements-runtime.dom-jit-css.es.js +136 -0
- package/dist/custom-elements-runtime.dom-jit-css.es.js.map +1 -0
- package/dist/custom-elements-runtime.es.js +70 -67
- 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 +62 -46
- package/dist/custom-elements-runtime.event-bus.es.js.map +1 -1
- package/dist/custom-elements-runtime.jit-css.cjs.js +2 -0
- package/dist/custom-elements-runtime.jit-css.cjs.js.map +1 -0
- package/dist/custom-elements-runtime.jit-css.es.js +38 -0
- package/dist/custom-elements-runtime.jit-css.es.js.map +1 -0
- 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 +448 -434
- 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.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.ssr.es.js +33 -18
- 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 +21 -16
- 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.cjs.js.map +1 -1
- package/dist/custom-elements-runtime.transitions.es.js +279 -7
- package/dist/custom-elements-runtime.transitions.es.js.map +1 -1
- package/dist/custom-elements-runtime.vite-plugin.cjs.js +2 -0
- package/dist/custom-elements-runtime.vite-plugin.cjs.js.map +1 -0
- package/dist/custom-elements-runtime.vite-plugin.es.js +73 -0
- package/dist/custom-elements-runtime.vite-plugin.es.js.map +1 -0
- package/dist/dom-jit-css.d.ts +66 -0
- package/dist/event-bus.d.ts +3 -1
- package/dist/{namespace-helpers-DhLBqt-7.js → helpers-CweFZFWU.js} +265 -287
- package/dist/helpers-CweFZFWU.js.map +1 -0
- package/dist/helpers-DeWjSmOl.cjs +5 -0
- package/dist/helpers-DeWjSmOl.cjs.map +1 -0
- package/dist/hooks-BrrLKSub.cjs +3 -0
- package/dist/hooks-BrrLKSub.cjs.map +1 -0
- package/dist/hooks-DyShDHKo.js +403 -0
- package/dist/hooks-DyShDHKo.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/jit-css.d.ts +30 -0
- package/dist/namespace-helpers-CnpZ5__p.js +45 -0
- package/dist/namespace-helpers-CnpZ5__p.js.map +1 -0
- package/dist/namespace-helpers-CyIDtI97.cjs +2 -0
- package/dist/namespace-helpers-CyIDtI97.cjs.map +1 -0
- package/dist/router/types.d.ts +4 -2
- package/dist/runtime/css-utils.d.ts +33 -0
- package/dist/runtime/discovery-state.d.ts +3 -0
- package/dist/runtime/hooks.d.ts +78 -0
- package/dist/runtime/jit-hooks.d.ts +28 -0
- package/dist/runtime/render-bridge.d.ts +37 -0
- package/dist/runtime/scheduler.d.ts +3 -4
- package/dist/runtime/secure-expression-evaluator.d.ts +0 -1
- package/dist/runtime/style.d.ts +84 -26
- package/dist/runtime/template-compiler/lru-cache.d.ts +0 -3
- package/dist/runtime/vdom-helpers.d.ts +0 -1
- package/dist/ssr.d.ts +42 -0
- package/dist/{transitions-DMJXs_tY.js → style-BmyOIMcU.js} +904 -1344
- package/dist/style-BmyOIMcU.js.map +1 -0
- package/dist/style-D40DsIqJ.cjs +55 -0
- package/dist/style-D40DsIqJ.cjs.map +1 -0
- package/dist/style.css +1 -1
- package/dist/template-compiler-B5uN1EQw.js +3731 -0
- package/dist/template-compiler-B5uN1EQw.js.map +1 -0
- package/dist/template-compiler-Cx623BSB.cjs +23 -0
- package/dist/template-compiler-Cx623BSB.cjs.map +1 -0
- package/dist/variables.css +1 -1
- package/dist/vite-plugin.d.ts +52 -0
- package/package.json +55 -6
- package/dist/namespace-helpers-Ctd_h7j2.cjs +0 -5
- package/dist/namespace-helpers-Ctd_h7j2.cjs.map +0 -1
- package/dist/namespace-helpers-DhLBqt-7.js.map +0 -1
- package/dist/template-compiler-CVBKYu3j.js +0 -3991
- package/dist/template-compiler-CVBKYu3j.js.map +0 -1
- package/dist/template-compiler-G8h2OJbA.cjs +0 -23
- package/dist/template-compiler-G8h2OJbA.cjs.map +0 -1
- package/dist/transitions-DMJXs_tY.js.map +0 -1
- package/dist/transitions-f4KfN29T.cjs +0 -330
- package/dist/transitions-f4KfN29T.cjs.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { d as Se, e as ae, f as De, h as G, _ as Ne, m as Ue } from "./css-utils-Cg4o1MqY.js";
|
|
2
|
+
import { extendedColors as Ce } from "./custom-elements-runtime.colors.es.js";
|
|
3
|
+
const Be = {
|
|
3
4
|
base: {
|
|
4
5
|
fontSize: "1rem",
|
|
5
6
|
lineHeight: "1.75",
|
|
@@ -96,105 +97,105 @@ const Ee = {
|
|
|
96
97
|
table: "2.2222222em"
|
|
97
98
|
}
|
|
98
99
|
};
|
|
99
|
-
function
|
|
100
|
-
const
|
|
101
|
-
if (!
|
|
102
|
-
const c =
|
|
103
|
-
return
|
|
104
|
-
`${
|
|
105
|
-
),
|
|
106
|
-
`${
|
|
107
|
-
),
|
|
108
|
-
`${
|
|
109
|
-
),
|
|
110
|
-
`${
|
|
111
|
-
),
|
|
112
|
-
`${
|
|
113
|
-
),
|
|
114
|
-
`${
|
|
115
|
-
),
|
|
116
|
-
`${
|
|
117
|
-
),
|
|
118
|
-
`${
|
|
119
|
-
),
|
|
120
|
-
`${
|
|
121
|
-
),
|
|
122
|
-
`${
|
|
123
|
-
),
|
|
124
|
-
`${
|
|
125
|
-
),
|
|
126
|
-
`${
|
|
127
|
-
),
|
|
128
|
-
`${
|
|
129
|
-
),
|
|
130
|
-
`${
|
|
131
|
-
),
|
|
132
|
-
`${
|
|
133
|
-
),
|
|
134
|
-
`${
|
|
135
|
-
),
|
|
136
|
-
`${
|
|
137
|
-
),
|
|
138
|
-
`${
|
|
139
|
-
),
|
|
140
|
-
`${
|
|
141
|
-
),
|
|
142
|
-
`${
|
|
143
|
-
),
|
|
144
|
-
`${
|
|
145
|
-
),
|
|
146
|
-
`${
|
|
147
|
-
),
|
|
148
|
-
`${
|
|
149
|
-
),
|
|
150
|
-
`${
|
|
151
|
-
),
|
|
152
|
-
`${
|
|
153
|
-
),
|
|
154
|
-
`${
|
|
155
|
-
),
|
|
156
|
-
`${
|
|
157
|
-
),
|
|
158
|
-
`${
|
|
159
|
-
),
|
|
160
|
-
`${
|
|
161
|
-
),
|
|
162
|
-
`${
|
|
163
|
-
),
|
|
164
|
-
`${
|
|
165
|
-
),
|
|
166
|
-
`${
|
|
167
|
-
),
|
|
168
|
-
`${
|
|
169
|
-
),
|
|
170
|
-
`${
|
|
171
|
-
),
|
|
172
|
-
`${
|
|
173
|
-
),
|
|
174
|
-
`${
|
|
175
|
-
),
|
|
176
|
-
`${
|
|
177
|
-
),
|
|
178
|
-
`${
|
|
179
|
-
),
|
|
180
|
-
`${
|
|
181
|
-
),
|
|
182
|
-
`${
|
|
183
|
-
),
|
|
184
|
-
`${
|
|
185
|
-
),
|
|
186
|
-
`${
|
|
187
|
-
),
|
|
188
|
-
`${
|
|
189
|
-
),
|
|
190
|
-
`${
|
|
191
|
-
),
|
|
192
|
-
`${
|
|
193
|
-
),
|
|
194
|
-
`${
|
|
195
|
-
),
|
|
100
|
+
function Te(e) {
|
|
101
|
+
const r = e.match(/^prose(?:-(sm|lg|xl|2xl))?$/);
|
|
102
|
+
if (!r) return null;
|
|
103
|
+
const c = r[1] || "base", a = Be[c], t = `.${e}`, s = [];
|
|
104
|
+
return s.push(
|
|
105
|
+
`${t}{--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:${a.fontSize};line-height:${a.lineHeight};max-width:65ch;}`
|
|
106
|
+
), s.push(
|
|
107
|
+
`${t} p:not(.not-prose):not(.not-prose *){margin:${a.p} 0;}`
|
|
108
|
+
), s.push(
|
|
109
|
+
`${t} .lead:not(.not-prose):not(.not-prose *),${t} [class~="lead"]:not(.not-prose):not(.not-prose *){font-size:1.25em;line-height:1.6;margin-top:${a.lead};margin-bottom:${a.lead};color:var(--cer-prose-lead);}`
|
|
110
|
+
), s.push(
|
|
111
|
+
`${t} h1:not(.not-prose):not(.not-prose *),${t} h2:not(.not-prose):not(.not-prose *),${t} h3:not(.not-prose):not(.not-prose *),${t} h4:not(.not-prose):not(.not-prose *),${t} h5:not(.not-prose):not(.not-prose *),${t} h6:not(.not-prose):not(.not-prose *){color:var(--cer-prose-headings);font-weight:700;line-height:1.25;}`
|
|
112
|
+
), s.push(
|
|
113
|
+
`${t} h1:not(.not-prose):not(.not-prose *){font-size:${a.h1};margin-top:0;margin-bottom:0.8888889em;line-height:1.1111111;}`
|
|
114
|
+
), s.push(
|
|
115
|
+
`${t} h2:not(.not-prose):not(.not-prose *){font-size:${a.h2};margin-top:2em;margin-bottom:1em;line-height:1.3333333;}`
|
|
116
|
+
), s.push(
|
|
117
|
+
`${t} h3:not(.not-prose):not(.not-prose *){font-size:${a.h3};margin-top:1.6em;margin-bottom:0.6em;line-height:1.6;}`
|
|
118
|
+
), s.push(
|
|
119
|
+
`${t} h4:not(.not-prose):not(.not-prose *){font-size:${a.h4};margin-top:1.5em;margin-bottom:0.5em;line-height:1.5;}`
|
|
120
|
+
), s.push(
|
|
121
|
+
`${t} h5:not(.not-prose):not(.not-prose *){margin-top:1.5em;margin-bottom:0.5em;}`
|
|
122
|
+
), s.push(
|
|
123
|
+
`${t} h6:not(.not-prose):not(.not-prose *){margin-top:1.5em;margin-bottom:0.5em;}`
|
|
124
|
+
), s.push(
|
|
125
|
+
`${t} 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;}`
|
|
126
|
+
), s.push(
|
|
127
|
+
`${t} a:not(.not-prose):not(.not-prose *):hover,${t} a:not(.not-prose):not(.not-prose *):focus{color:var(--cer-prose-links-hover);}`
|
|
128
|
+
), s.push(
|
|
129
|
+
`${t} strong:not(.not-prose):not(.not-prose *){color:var(--cer-prose-bold);font-weight:600;}`
|
|
130
|
+
), s.push(
|
|
131
|
+
`${t} em:not(.not-prose):not(.not-prose *){font-style:italic;}`
|
|
132
|
+
), s.push(
|
|
133
|
+
`${t} ol:not(.not-prose):not(.not-prose *){list-style-type:decimal;margin-top:${a.ol};margin-bottom:${a.ol};padding-left:1.625em;}`
|
|
134
|
+
), s.push(
|
|
135
|
+
`${t} ol:not(.not-prose):not(.not-prose *)[type="A"]{list-style-type:upper-alpha;}`
|
|
136
|
+
), s.push(
|
|
137
|
+
`${t} ol:not(.not-prose):not(.not-prose *)[type="a"]{list-style-type:lower-alpha;}`
|
|
138
|
+
), s.push(
|
|
139
|
+
`${t} ol:not(.not-prose):not(.not-prose *)[type="I"]{list-style-type:upper-roman;}`
|
|
140
|
+
), s.push(
|
|
141
|
+
`${t} ol:not(.not-prose):not(.not-prose *)[type="i"]{list-style-type:lower-roman;}`
|
|
142
|
+
), s.push(
|
|
143
|
+
`${t} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *){position:relative;padding-left:${a.li};}`
|
|
144
|
+
), s.push(
|
|
145
|
+
`${t} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)::marker{color:var(--cer-prose-counters);font-weight:400;}`
|
|
146
|
+
), s.push(
|
|
147
|
+
`${t} ul:not(.not-prose):not(.not-prose *){list-style-type:disc;margin-top:${a.ul};margin-bottom:${a.ul};padding-left:1.625em;}`
|
|
148
|
+
), s.push(
|
|
149
|
+
`${t} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *){position:relative;padding-left:${a.li};}`
|
|
150
|
+
), s.push(
|
|
151
|
+
`${t} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)::marker{color:var(--cer-prose-bullets);}`
|
|
152
|
+
), s.push(
|
|
153
|
+
`${t} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:first-child,${t} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:first-child{margin-top:${a.ol};}`
|
|
154
|
+
), s.push(
|
|
155
|
+
`${t} ol:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:last-child,${t} ul:not(.not-prose):not(.not-prose *)>li:not(.not-prose):not(.not-prose *)>*:last-child{margin-bottom:${a.ol};}`
|
|
156
|
+
), s.push(
|
|
157
|
+
`${t} ul:not(.not-prose):not(.not-prose *) ul:not(.not-prose):not(.not-prose *),${t} ul:not(.not-prose):not(.not-prose *) ol:not(.not-prose):not(.not-prose *),${t} ol:not(.not-prose):not(.not-prose *) ul:not(.not-prose):not(.not-prose *),${t} ol:not(.not-prose):not(.not-prose *) ol:not(.not-prose):not(.not-prose *){margin-top:0.75em;margin-bottom:0.75em;}`
|
|
158
|
+
), s.push(
|
|
159
|
+
`${t} li:not(.not-prose):not(.not-prose *)>p:not(.not-prose):not(.not-prose *){margin-top:${a.ol};margin-bottom:${a.ol};}`
|
|
160
|
+
), s.push(
|
|
161
|
+
`${t} 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:${a.code};font-weight:600;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}`
|
|
162
|
+
), s.push(
|
|
163
|
+
`${t} 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:${a.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;}`
|
|
164
|
+
), s.push(
|
|
165
|
+
`${t} 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;}`
|
|
166
|
+
), s.push(
|
|
167
|
+
`${t} 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:${a.blockquote};margin-bottom:${a.blockquote};padding-left:1em;}`
|
|
168
|
+
), s.push(
|
|
169
|
+
`${t} blockquote:not(.not-prose):not(.not-prose *) p:not(.not-prose):not(.not-prose *):first-of-type::before{content:open-quote;}`
|
|
170
|
+
), s.push(
|
|
171
|
+
`${t} blockquote:not(.not-prose):not(.not-prose *) p:not(.not-prose):not(.not-prose *):last-of-type::after{content:close-quote;}`
|
|
172
|
+
), s.push(
|
|
173
|
+
`${t} hr:not(.not-prose):not(.not-prose *){border-color:var(--cer-prose-hr);border-top-width:1px;margin-top:${a.hr};margin-bottom:${a.hr};}`
|
|
174
|
+
), s.push(
|
|
175
|
+
`${t} figure:not(.not-prose):not(.not-prose *){margin-top:${a.figure};margin-bottom:${a.figure};}`
|
|
176
|
+
), s.push(
|
|
177
|
+
`${t} figure:not(.not-prose):not(.not-prose *)>*{margin-top:0;margin-bottom:0;}`
|
|
178
|
+
), s.push(
|
|
179
|
+
`${t} 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;}`
|
|
180
|
+
), s.push(
|
|
181
|
+
`${t} img:not(.not-prose):not(.not-prose *),${t} video:not(.not-prose):not(.not-prose *),${t} picture:not(.not-prose):not(.not-prose *){margin-top:${a.figure};margin-bottom:${a.figure};max-width:100%;height:auto;}`
|
|
182
|
+
), s.push(
|
|
183
|
+
`${t} figure:not(.not-prose):not(.not-prose *)>img:not(.not-prose):not(.not-prose *),${t} figure:not(.not-prose):not(.not-prose *)>video:not(.not-prose):not(.not-prose *),${t} figure:not(.not-prose):not(.not-prose *)>picture:not(.not-prose):not(.not-prose *){margin-top:0;margin-bottom:0;}`
|
|
184
|
+
), s.push(
|
|
185
|
+
`${t} table:not(.not-prose):not(.not-prose *){width:100%;table-layout:auto;text-align:left;margin-top:${a.table};margin-bottom:${a.table};font-size:0.875em;line-height:1.7142857;}`
|
|
186
|
+
), s.push(
|
|
187
|
+
`${t} thead:not(.not-prose):not(.not-prose *){border-bottom-width:1px;border-bottom-color:var(--cer-prose-table-border);}`
|
|
188
|
+
), s.push(
|
|
189
|
+
`${t} 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;}`
|
|
190
|
+
), s.push(
|
|
191
|
+
`${t} 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);}`
|
|
192
|
+
), s.push(
|
|
193
|
+
`${t} tbody:not(.not-prose):not(.not-prose *) tr:not(.not-prose):not(.not-prose *):last-child{border-bottom-width:0;}`
|
|
194
|
+
), s.push(
|
|
195
|
+
`${t} tbody:not(.not-prose):not(.not-prose *) td:not(.not-prose):not(.not-prose *){vertical-align:baseline;padding:0.5714286em;}`
|
|
196
|
+
), s.join("");
|
|
196
197
|
}
|
|
197
|
-
const
|
|
198
|
+
const He = {
|
|
198
199
|
headings: "h1,h2,h3,h4,h5,h6,th",
|
|
199
200
|
h1: "h1",
|
|
200
201
|
h2: "h2",
|
|
@@ -230,344 +231,50 @@ const We = {
|
|
|
230
231
|
hr: "hr",
|
|
231
232
|
lead: '[class~="lead"]'
|
|
232
233
|
};
|
|
233
|
-
function
|
|
234
|
-
const
|
|
235
|
-
if (!
|
|
236
|
-
const [,
|
|
234
|
+
function Je(e, r, c, a, t, s, h, k) {
|
|
235
|
+
const i = e.match(/^prose-([a-z0-9]+):(.+)$/);
|
|
236
|
+
if (!i) return null;
|
|
237
|
+
const [, d, u] = i, l = He[d];
|
|
237
238
|
if (!l) return null;
|
|
238
|
-
const
|
|
239
|
-
if (!
|
|
240
|
-
const n =
|
|
241
|
-
return l.split(",").map((
|
|
242
|
-
const
|
|
243
|
-
return `${`.${n} ${
|
|
239
|
+
const f = r[u] ?? c(u) ?? a(u) ?? t(u) ?? s(u) ?? h(u) ?? k(u);
|
|
240
|
+
if (!f) return null;
|
|
241
|
+
const n = Se(e);
|
|
242
|
+
return l.split(",").map((y) => {
|
|
243
|
+
const b = y.trim();
|
|
244
|
+
return `${`.${n} ${b}:not(.not-prose):not(.not-prose *)`}{${f}}`;
|
|
244
245
|
}).join("");
|
|
245
246
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
* }
|
|
258
|
-
* </style>
|
|
259
|
-
*
|
|
260
|
-
* Note: Only :root is used here (not :host) so document-level
|
|
261
|
-
* overrides will inherit into Shadow DOM and take precedence.
|
|
262
|
-
*/
|
|
263
|
-
|
|
264
|
-
:root {
|
|
265
|
-
/* Font families (match runtime defaults in src/lib/runtime/style.ts) */
|
|
266
|
-
--cer-font-sans:
|
|
267
|
-
ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
268
|
-
'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
|
|
269
|
-
--cer-font-serif: ui-serif, Georgia, 'Times New Roman', Times, serif;
|
|
270
|
-
--cer-font-mono:
|
|
271
|
-
ui-monospace, 'SFMono-Regular', Menlo, Monaco, 'Roboto Mono', 'Courier New',
|
|
272
|
-
monospace;
|
|
273
|
-
|
|
274
|
-
/* Default outline style */
|
|
275
|
-
--cer-outline-style: solid;
|
|
276
|
-
|
|
277
|
-
/* Colors */
|
|
278
|
-
--cer-color-transparent: transparent;
|
|
279
|
-
--cer-color-current: currentColor;
|
|
280
|
-
--cer-color-black: #000000;
|
|
281
|
-
--cer-color-white: #ffffff;
|
|
282
|
-
--cer-color-inherit: inherit;
|
|
283
|
-
|
|
284
|
-
/* neutral */
|
|
285
|
-
--cer-color-neutral-50: #fafafa;
|
|
286
|
-
--cer-color-neutral-100: #f4f4f5;
|
|
287
|
-
--cer-color-neutral-200: #e4e4e7;
|
|
288
|
-
--cer-color-neutral-300: #d4d4d8;
|
|
289
|
-
--cer-color-neutral-400: #9f9fa9;
|
|
290
|
-
--cer-color-neutral-500: #71717b;
|
|
291
|
-
--cer-color-neutral-600: #52525c;
|
|
292
|
-
--cer-color-neutral-700: #3f3f46;
|
|
293
|
-
--cer-color-neutral-800: #27272a;
|
|
294
|
-
--cer-color-neutral-900: #18181b;
|
|
295
|
-
--cer-color-neutral-950: #09090b;
|
|
296
|
-
|
|
297
|
-
/* primary */
|
|
298
|
-
--cer-color-primary-50: #eff6ff;
|
|
299
|
-
--cer-color-primary-100: #dbeafe;
|
|
300
|
-
--cer-color-primary-200: #bfdbfe;
|
|
301
|
-
--cer-color-primary-300: #93c5fd;
|
|
302
|
-
--cer-color-primary-400: #60a5fa;
|
|
303
|
-
--cer-color-primary-500: #3b82f6;
|
|
304
|
-
--cer-color-primary-600: #2563eb;
|
|
305
|
-
--cer-color-primary-700: #1d4ed8;
|
|
306
|
-
--cer-color-primary-800: #1e40af;
|
|
307
|
-
--cer-color-primary-900: #1e3a8a;
|
|
308
|
-
--cer-color-primary-950: #172554;
|
|
309
|
-
|
|
310
|
-
/* secondary */
|
|
311
|
-
--cer-color-secondary-50: #eef2ff;
|
|
312
|
-
--cer-color-secondary-100: #e0e7ff;
|
|
313
|
-
--cer-color-secondary-200: #c7d2fe;
|
|
314
|
-
--cer-color-secondary-300: #a5b4fc;
|
|
315
|
-
--cer-color-secondary-400: #818cf8;
|
|
316
|
-
--cer-color-secondary-500: #6366f1;
|
|
317
|
-
--cer-color-secondary-600: #4f46e5;
|
|
318
|
-
--cer-color-secondary-700: #4338ca;
|
|
319
|
-
--cer-color-secondary-800: #3730a3;
|
|
320
|
-
--cer-color-secondary-900: #312e81;
|
|
321
|
-
--cer-color-secondary-950: #1e1b4b;
|
|
322
|
-
|
|
323
|
-
/* success */
|
|
324
|
-
--cer-color-success-50: #f0fdf4;
|
|
325
|
-
--cer-color-success-100: #dcfce7;
|
|
326
|
-
--cer-color-success-200: #bbf7d0;
|
|
327
|
-
--cer-color-success-300: #86efac;
|
|
328
|
-
--cer-color-success-400: #4ade80;
|
|
329
|
-
--cer-color-success-500: #22c55e;
|
|
330
|
-
--cer-color-success-600: #16a34a;
|
|
331
|
-
--cer-color-success-700: #15803d;
|
|
332
|
-
--cer-color-success-800: #166534;
|
|
333
|
-
--cer-color-success-900: #14532d;
|
|
334
|
-
--cer-color-success-950: #052e16;
|
|
335
|
-
|
|
336
|
-
/* info */
|
|
337
|
-
--cer-color-info-50: #f0f9ff;
|
|
338
|
-
--cer-color-info-100: #e0f2fe;
|
|
339
|
-
--cer-color-info-200: #bae6fd;
|
|
340
|
-
--cer-color-info-300: #7dd3fc;
|
|
341
|
-
--cer-color-info-400: #38bdf8;
|
|
342
|
-
--cer-color-info-500: #0ea5e9;
|
|
343
|
-
--cer-color-info-600: #0284c7;
|
|
344
|
-
--cer-color-info-700: #0369a1;
|
|
345
|
-
--cer-color-info-800: #075985;
|
|
346
|
-
--cer-color-info-900: #0c4a6e;
|
|
347
|
-
--cer-color-info-950: #082f49;
|
|
348
|
-
|
|
349
|
-
/* warning */
|
|
350
|
-
--cer-color-warning-50: #fffbeb;
|
|
351
|
-
--cer-color-warning-100: #fef3c7;
|
|
352
|
-
--cer-color-warning-200: #fde68a;
|
|
353
|
-
--cer-color-warning-300: #fcd34d;
|
|
354
|
-
--cer-color-warning-400: #fbbf24;
|
|
355
|
-
--cer-color-warning-500: #f59e0b;
|
|
356
|
-
--cer-color-warning-600: #d97706;
|
|
357
|
-
--cer-color-warning-700: #b45309;
|
|
358
|
-
--cer-color-warning-800: #92400e;
|
|
359
|
-
--cer-color-warning-900: #78350f;
|
|
360
|
-
--cer-color-warning-950: #451a03;
|
|
361
|
-
|
|
362
|
-
/* error */
|
|
363
|
-
--cer-color-error-50: #fef2f2;
|
|
364
|
-
--cer-color-error-100: #fee2e2;
|
|
365
|
-
--cer-color-error-200: #fecaca;
|
|
366
|
-
--cer-color-error-300: #fca5a5;
|
|
367
|
-
--cer-color-error-400: #f87171;
|
|
368
|
-
--cer-color-error-500: #ef4444;
|
|
369
|
-
--cer-color-error-600: #dc2626;
|
|
370
|
-
--cer-color-error-700: #b91c1c;
|
|
371
|
-
--cer-color-error-800: #991b1b;
|
|
372
|
-
--cer-color-error-900: #7f1d1d;
|
|
373
|
-
--cer-color-error-950: #450a0a;
|
|
374
|
-
}
|
|
375
|
-
`;
|
|
376
|
-
function _e(e, ...t) {
|
|
377
|
-
let c = "";
|
|
378
|
-
for (let o = 0; o < e.length; o++)
|
|
379
|
-
c += e[o], o < t.length && (c += t[o]);
|
|
380
|
-
return c;
|
|
381
|
-
}
|
|
382
|
-
function ye(e) {
|
|
383
|
-
return e.replace(/\/\*[\s\S]*?\*\//g, "").replace(/\s+/g, " ").replace(/\s*([{}:;,>~])\s*/g, "$1").replace(/;}/g, "}").trim();
|
|
384
|
-
}
|
|
385
|
-
let re = null;
|
|
386
|
-
function Je() {
|
|
387
|
-
return re || (typeof CSSStyleSheet > "u" ? re = {
|
|
388
|
-
cssRules: [],
|
|
389
|
-
replaceSync: () => {
|
|
390
|
-
},
|
|
391
|
-
toString: () => ye(ke)
|
|
392
|
-
} : (re = new CSSStyleSheet(), re.replaceSync(ye(ke)))), re;
|
|
393
|
-
}
|
|
394
|
-
let Q = null;
|
|
395
|
-
const $e = /* @__PURE__ */ new Set();
|
|
396
|
-
let de = "";
|
|
397
|
-
function Pe() {
|
|
398
|
-
if ($e.size === 0) return null;
|
|
399
|
-
Q || (typeof CSSStyleSheet > "u" ? Q = {
|
|
400
|
-
cssRules: [],
|
|
401
|
-
replaceSync: () => {
|
|
402
|
-
},
|
|
403
|
-
toString: () => de
|
|
404
|
-
} : (Q = new CSSStyleSheet(), Q.toString = () => de));
|
|
405
|
-
let e = "";
|
|
406
|
-
for (const t of $e) {
|
|
407
|
-
const c = Ae(t);
|
|
408
|
-
c && (e += c);
|
|
247
|
+
let B = null;
|
|
248
|
+
const de = /* @__PURE__ */ new Set();
|
|
249
|
+
let we = "", je = "";
|
|
250
|
+
function Ae() {
|
|
251
|
+
const e = Array.from(de).sort().join(",");
|
|
252
|
+
if (e === je) return;
|
|
253
|
+
je = e;
|
|
254
|
+
let r = "";
|
|
255
|
+
for (const c of de) {
|
|
256
|
+
const a = Te(c);
|
|
257
|
+
a && (r += a);
|
|
409
258
|
}
|
|
410
|
-
if (
|
|
259
|
+
if (we = Ue(r), B && typeof B.replaceSync == "function" && r)
|
|
411
260
|
try {
|
|
412
|
-
|
|
261
|
+
B.replaceSync(we);
|
|
413
262
|
} catch {
|
|
414
263
|
}
|
|
415
|
-
return Q;
|
|
416
264
|
}
|
|
417
|
-
function
|
|
418
|
-
|
|
419
|
-
|
|
265
|
+
function Xe() {
|
|
266
|
+
return de.size === 0 ? null : (B || (typeof CSSStyleSheet > "u" ? B = {
|
|
267
|
+
cssRules: [],
|
|
268
|
+
replaceSync: () => {
|
|
269
|
+
},
|
|
270
|
+
toString: () => we
|
|
271
|
+
} : (B = new CSSStyleSheet(), B.toString = () => we), je = ""), Ae(), B);
|
|
420
272
|
}
|
|
421
|
-
function
|
|
422
|
-
|
|
273
|
+
function Qe(e) {
|
|
274
|
+
const r = !de.has(e);
|
|
275
|
+
de.add(e), r && B && Ae();
|
|
423
276
|
}
|
|
424
|
-
const
|
|
425
|
-
${Me}
|
|
426
|
-
:host,
|
|
427
|
-
*,
|
|
428
|
-
::before,
|
|
429
|
-
::after {
|
|
430
|
-
all: isolate;
|
|
431
|
-
box-sizing: border-box;
|
|
432
|
-
border: 0 solid currentColor;
|
|
433
|
-
margin: 0;
|
|
434
|
-
padding: 0;
|
|
435
|
-
font: inherit;
|
|
436
|
-
vertical-align: baseline;
|
|
437
|
-
background: transparent;
|
|
438
|
-
color: inherit;
|
|
439
|
-
-webkit-tap-highlight-color: transparent;
|
|
440
|
-
/* Transform composition variables (reset per-element for composability) */
|
|
441
|
-
--cer-translate-x: 0px;
|
|
442
|
-
--cer-translate-y: 0px;
|
|
443
|
-
--cer-rotate: 0deg;
|
|
444
|
-
--cer-skew-x: 0deg;
|
|
445
|
-
--cer-skew-y: 0deg;
|
|
446
|
-
--cer-scale-x: 1;
|
|
447
|
-
--cer-scale-y: 1;
|
|
448
|
-
/* Ring variables */
|
|
449
|
-
--cer-ring-color: rgb(59 130 246 / 0.5);
|
|
450
|
-
/* Filter composition variables (empty = no-op in filter chain) */
|
|
451
|
-
--cer-blur: ;
|
|
452
|
-
--cer-brightness: ;
|
|
453
|
-
--cer-contrast: ;
|
|
454
|
-
--cer-grayscale: ;
|
|
455
|
-
--cer-hue-rotate: ;
|
|
456
|
-
--cer-invert: ;
|
|
457
|
-
--cer-saturate: ;
|
|
458
|
-
--cer-sepia: ;
|
|
459
|
-
--cer-drop-shadow: ;
|
|
460
|
-
--cer-backdrop-blur: ;
|
|
461
|
-
--cer-backdrop-brightness: ;
|
|
462
|
-
--cer-backdrop-contrast: ;
|
|
463
|
-
--cer-backdrop-grayscale: ;
|
|
464
|
-
--cer-backdrop-hue-rotate: ;
|
|
465
|
-
--cer-backdrop-invert: ;
|
|
466
|
-
--cer-backdrop-saturate: ;
|
|
467
|
-
--cer-backdrop-sepia: ;
|
|
468
|
-
}
|
|
469
|
-
:host {
|
|
470
|
-
display: contents;
|
|
471
|
-
font: 16px/1.5 var(--cer-font-sans, ui-sans-serif, system-ui, sans-serif);
|
|
472
|
-
/* Default CE line-height variable so leading-* can reliably override */
|
|
473
|
-
--cer-line-height: 1.5;
|
|
474
|
-
-webkit-text-size-adjust: 100%;
|
|
475
|
-
text-size-adjust: 100%;
|
|
476
|
-
-webkit-font-smoothing: antialiased;
|
|
477
|
-
-moz-osx-font-smoothing: grayscale;
|
|
478
|
-
/* Default gradient variables to avoid undefined var() usage in generated utilities */
|
|
479
|
-
--cer-gradient-from-position: 0%;
|
|
480
|
-
--cer-gradient-to-position: 100%;
|
|
481
|
-
--cer-gradient-via-position: 50%;
|
|
482
|
-
--cer-gradient-from: rgba(255, 255, 255, 0);
|
|
483
|
-
--cer-gradient-to: rgba(255, 255, 255, 0);
|
|
484
|
-
--cer-gradient-stops: var(--cer-gradient-from), var(--cer-gradient-to);
|
|
485
|
-
/* Default outline style variable */
|
|
486
|
-
--cer-outline-style: solid;
|
|
487
|
-
}
|
|
488
|
-
button,
|
|
489
|
-
input,
|
|
490
|
-
select,
|
|
491
|
-
textarea {
|
|
492
|
-
background: transparent;
|
|
493
|
-
outline: none;
|
|
494
|
-
}
|
|
495
|
-
textarea {
|
|
496
|
-
resize: vertical;
|
|
497
|
-
}
|
|
498
|
-
progress {
|
|
499
|
-
vertical-align: baseline;
|
|
500
|
-
}
|
|
501
|
-
button,
|
|
502
|
-
textarea {
|
|
503
|
-
overflow: visible;
|
|
504
|
-
}
|
|
505
|
-
img,
|
|
506
|
-
svg,
|
|
507
|
-
video,
|
|
508
|
-
canvas,
|
|
509
|
-
audio,
|
|
510
|
-
iframe,
|
|
511
|
-
embed,
|
|
512
|
-
object {
|
|
513
|
-
display: block;
|
|
514
|
-
max-width: 100%;
|
|
515
|
-
height: auto;
|
|
516
|
-
}
|
|
517
|
-
svg {
|
|
518
|
-
fill: currentColor;
|
|
519
|
-
stroke: none;
|
|
520
|
-
}
|
|
521
|
-
a {
|
|
522
|
-
text-decoration: inherit;
|
|
523
|
-
cursor: pointer;
|
|
524
|
-
}
|
|
525
|
-
button,
|
|
526
|
-
[type='button'],
|
|
527
|
-
[type='reset'],
|
|
528
|
-
[type='submit'] {
|
|
529
|
-
cursor: pointer;
|
|
530
|
-
appearance: button;
|
|
531
|
-
background: none;
|
|
532
|
-
-webkit-user-select: none;
|
|
533
|
-
user-select: none;
|
|
534
|
-
}
|
|
535
|
-
::-webkit-input-placeholder,
|
|
536
|
-
::placeholder {
|
|
537
|
-
color: inherit;
|
|
538
|
-
opacity: 0.5;
|
|
539
|
-
}
|
|
540
|
-
*:focus-visible {
|
|
541
|
-
outline: 2px solid var(--cer-color-primary-500, #3b82f6);
|
|
542
|
-
outline-offset: 2px;
|
|
543
|
-
}
|
|
544
|
-
ol,
|
|
545
|
-
ul {
|
|
546
|
-
list-style: none;
|
|
547
|
-
}
|
|
548
|
-
table {
|
|
549
|
-
border-collapse: collapse;
|
|
550
|
-
}
|
|
551
|
-
sub,
|
|
552
|
-
sup {
|
|
553
|
-
font-size: 0.75em;
|
|
554
|
-
line-height: 0;
|
|
555
|
-
position: relative;
|
|
556
|
-
}
|
|
557
|
-
sub {
|
|
558
|
-
bottom: -0.25em;
|
|
559
|
-
}
|
|
560
|
-
sup {
|
|
561
|
-
top: -0.5em;
|
|
562
|
-
}
|
|
563
|
-
[disabled],
|
|
564
|
-
[aria-disabled='true'] {
|
|
565
|
-
cursor: not-allowed;
|
|
566
|
-
}
|
|
567
|
-
[hidden] {
|
|
568
|
-
display: none;
|
|
569
|
-
}
|
|
570
|
-
`, De = {
|
|
277
|
+
const Ke = {
|
|
571
278
|
// Existing semantic colors
|
|
572
279
|
neutral: {
|
|
573
280
|
50: "#fafafa",
|
|
@@ -665,17 +372,63 @@ const ke = _e`
|
|
|
665
372
|
black: { DEFAULT: "#000000" },
|
|
666
373
|
transparent: { DEFAULT: "transparent" },
|
|
667
374
|
current: { DEFAULT: "currentColor" }
|
|
668
|
-
},
|
|
669
|
-
Object.entries(
|
|
375
|
+
}, qe = Object.fromEntries(
|
|
376
|
+
Object.entries(Ke).map(([e, r]) => [
|
|
670
377
|
e,
|
|
671
378
|
Object.fromEntries(
|
|
672
|
-
Object.entries(
|
|
379
|
+
Object.entries(r).map(([c, a]) => [
|
|
673
380
|
c,
|
|
674
|
-
`var(--cer-color-${e}${c === "DEFAULT" ? "" : `-${c}`}, ${
|
|
381
|
+
`var(--cer-color-${e}${c === "DEFAULT" ? "" : `-${c}`}, ${a})`
|
|
675
382
|
])
|
|
676
383
|
)
|
|
677
384
|
])
|
|
678
|
-
)
|
|
385
|
+
);
|
|
386
|
+
let re = { ...qe };
|
|
387
|
+
function Fe(e) {
|
|
388
|
+
if (re = { ...qe }, e.extendedColors) {
|
|
389
|
+
const r = Array.isArray(e.extendedColors) ? e.extendedColors : Object.keys(Ce);
|
|
390
|
+
for (const c of r) {
|
|
391
|
+
const a = Ce[c];
|
|
392
|
+
!a || re[c] || (re[c] = Object.fromEntries(
|
|
393
|
+
Object.entries(a).map(([t, s]) => [
|
|
394
|
+
t,
|
|
395
|
+
`var(--cer-color-${c}-${t}, ${s})`
|
|
396
|
+
])
|
|
397
|
+
));
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
if (e.customColors)
|
|
401
|
+
for (const [r, c] of Object.entries(e.customColors))
|
|
402
|
+
re[r] = c;
|
|
403
|
+
}
|
|
404
|
+
let H = {}, Oe = !1;
|
|
405
|
+
function Le() {
|
|
406
|
+
Oe || (Ne(Ge, cr, Xe), Oe = !0);
|
|
407
|
+
}
|
|
408
|
+
let ve = !1, ze = /* @__PURE__ */ new WeakSet();
|
|
409
|
+
function pr() {
|
|
410
|
+
return ve;
|
|
411
|
+
}
|
|
412
|
+
function Ge(e) {
|
|
413
|
+
return ve || ze.has(e);
|
|
414
|
+
}
|
|
415
|
+
function ur(e, r) {
|
|
416
|
+
if (ze.add(e), r) {
|
|
417
|
+
const c = { ...H, ...r };
|
|
418
|
+
JSON.stringify(c) !== JSON.stringify(H) && (H = c, Fe(H), U.clear());
|
|
419
|
+
}
|
|
420
|
+
Le();
|
|
421
|
+
}
|
|
422
|
+
function gr(e) {
|
|
423
|
+
ve = !0, e && (H = { ...H, ...e }), Fe(H), Le(), U.clear();
|
|
424
|
+
}
|
|
425
|
+
function mr() {
|
|
426
|
+
ve = !1, ze = /* @__PURE__ */ new WeakSet();
|
|
427
|
+
}
|
|
428
|
+
function fr() {
|
|
429
|
+
return { ...H };
|
|
430
|
+
}
|
|
431
|
+
const Ye = {
|
|
679
432
|
"3xs": 64,
|
|
680
433
|
"2xs": 72,
|
|
681
434
|
xs: 80,
|
|
@@ -689,7 +442,7 @@ const ke = _e`
|
|
|
689
442
|
"5xl": 256,
|
|
690
443
|
"6xl": 288,
|
|
691
444
|
"7xl": 320
|
|
692
|
-
},
|
|
445
|
+
}, ye = {
|
|
693
446
|
m: ["margin"],
|
|
694
447
|
mx: ["margin-inline"],
|
|
695
448
|
my: ["margin-block"],
|
|
@@ -721,8 +474,19 @@ const ke = _e`
|
|
|
721
474
|
"gap-x": ["column-gap"],
|
|
722
475
|
"gap-y": ["row-gap"],
|
|
723
476
|
// size-* sets both width and height simultaneously (Tailwind v3+)
|
|
724
|
-
size: ["width", "height"]
|
|
725
|
-
|
|
477
|
+
size: ["width", "height"],
|
|
478
|
+
// Logical (flow-relative) properties — RTL / vertical writing mode support
|
|
479
|
+
ms: ["margin-inline-start"],
|
|
480
|
+
me: ["margin-inline-end"],
|
|
481
|
+
ps: ["padding-inline-start"],
|
|
482
|
+
pe: ["padding-inline-end"],
|
|
483
|
+
bs: ["margin-block-start"],
|
|
484
|
+
be: ["margin-block-end"],
|
|
485
|
+
start: ["inset-inline-start"],
|
|
486
|
+
end: ["inset-inline-end"],
|
|
487
|
+
"inset-s": ["inset-inline-start"],
|
|
488
|
+
"inset-e": ["inset-inline-end"]
|
|
489
|
+
}, Ze = () => {
|
|
726
490
|
const e = {};
|
|
727
491
|
e["@container"] = "container-type:inline-size;", [
|
|
728
492
|
"block",
|
|
@@ -851,8 +615,8 @@ const ke = _e`
|
|
|
851
615
|
["text-7xl", "4.5rem", "1"],
|
|
852
616
|
["text-8xl", "6rem", "1"],
|
|
853
617
|
["text-9xl", "8rem", "1"]
|
|
854
|
-
].forEach(([n,
|
|
855
|
-
e[n] = `font-size:${
|
|
618
|
+
].forEach(([n, g, y]) => {
|
|
619
|
+
e[n] = `font-size:${g};line-height:var(--cer-line-height,${y});`;
|
|
856
620
|
}), [
|
|
857
621
|
["tracking-tighter", "-0.05em"],
|
|
858
622
|
["tracking-tight", "-0.025em"],
|
|
@@ -860,8 +624,8 @@ const ke = _e`
|
|
|
860
624
|
["tracking-wide", "0.025em"],
|
|
861
625
|
["tracking-wider", "0.05em"],
|
|
862
626
|
["tracking-widest", "0.1em"]
|
|
863
|
-
].forEach(([n,
|
|
864
|
-
e[n] = `letter-spacing:${
|
|
627
|
+
].forEach(([n, g]) => {
|
|
628
|
+
e[n] = `letter-spacing:${g};`;
|
|
865
629
|
}), [
|
|
866
630
|
["leading-3", "0.75rem"],
|
|
867
631
|
["leading-4", "1rem"],
|
|
@@ -877,13 +641,13 @@ const ke = _e`
|
|
|
877
641
|
["leading-normal", "1.5"],
|
|
878
642
|
["leading-relaxed", "1.625"],
|
|
879
643
|
["leading-loose", "2"]
|
|
880
|
-
].forEach(([n,
|
|
881
|
-
e[n] = `line-height:${
|
|
644
|
+
].forEach(([n, g]) => {
|
|
645
|
+
e[n] = `line-height:${g};--cer-line-height:${g};line-height:var(--cer-line-height,${g});`;
|
|
882
646
|
});
|
|
883
|
-
const
|
|
884
|
-
for (const n of
|
|
885
|
-
const
|
|
886
|
-
e[`outline-${n}`] = `outline-style:var(--cer-outline-style);outline-width:${
|
|
647
|
+
const s = [0, 1, 2, 4, 6, 8];
|
|
648
|
+
for (const n of s) {
|
|
649
|
+
const g = `${n}px`;
|
|
650
|
+
e[`outline-${n}`] = `outline-style:var(--cer-outline-style);outline-width:${g};`, e[`outline-offset-${n}`] = `outline-offset:${g};`, e[`border-${n}`] = `border-width:${g};`, e[`border-t-${n}`] = `border-top-width:${g};`, e[`border-r-${n}`] = `border-right-width:${g};`, e[`border-b-${n}`] = `border-bottom-width:${g};`, e[`border-l-${n}`] = `border-left-width:${g};`, e[`border-x-${n}`] = `border-left-width:${g};border-right-width:${g};`, e[`border-y-${n}`] = `border-top-width:${g};border-bottom-width:${g};`;
|
|
887
651
|
}
|
|
888
652
|
Object.assign(e, {
|
|
889
653
|
"font-sans": "font-family:var(--cer-font-sans, ui-sans-serif,system-ui,sans-serif);",
|
|
@@ -909,7 +673,7 @@ const ke = _e`
|
|
|
909
673
|
"border-double": "border-style:double;",
|
|
910
674
|
"border-none": "border-style:none;"
|
|
911
675
|
});
|
|
912
|
-
const
|
|
676
|
+
const h = {
|
|
913
677
|
none: 0,
|
|
914
678
|
xs: 2,
|
|
915
679
|
sm: 4,
|
|
@@ -921,9 +685,9 @@ const ke = _e`
|
|
|
921
685
|
"4xl": 32,
|
|
922
686
|
full: 9999
|
|
923
687
|
};
|
|
924
|
-
for (const [n,
|
|
925
|
-
const
|
|
926
|
-
e[`rounded-${n}`] = `border-radius:${
|
|
688
|
+
for (const [n, g] of Object.entries(h)) {
|
|
689
|
+
const y = g === 9999 ? "9999px" : `${g / 16}rem`;
|
|
690
|
+
e[`rounded-${n}`] = `border-radius:${y};`, e[`rounded-t-${n}`] = `border-top-left-radius:${y};border-top-right-radius:${y};`, e[`rounded-r-${n}`] = `border-top-right-radius:${y};border-bottom-right-radius:${y};`, e[`rounded-b-${n}`] = `border-bottom-left-radius:${y};border-bottom-right-radius:${y};`, e[`rounded-l-${n}`] = `border-top-left-radius:${y};border-bottom-left-radius:${y};`, e[`rounded-tl-${n}`] = `border-top-left-radius:${y};`, e[`rounded-tr-${n}`] = `border-top-right-radius:${y};`, e[`rounded-br-${n}`] = `border-bottom-right-radius:${y};`, e[`rounded-bl-${n}`] = `border-bottom-left-radius:${y};`;
|
|
927
691
|
}
|
|
928
692
|
Object.assign(e, {
|
|
929
693
|
"shadow-none": "--cer-shadow-color:rgb(0 0 0 / 0);box-shadow:0 0 var(--cer-shadow-color, #0000);",
|
|
@@ -1082,7 +846,7 @@ const ke = _e`
|
|
|
1082
846
|
"divide-double": "border-style:double;",
|
|
1083
847
|
"divide-none": "border-style:none;"
|
|
1084
848
|
});
|
|
1085
|
-
const
|
|
849
|
+
const k = [
|
|
1086
850
|
"auto",
|
|
1087
851
|
"default",
|
|
1088
852
|
"pointer",
|
|
@@ -1094,7 +858,7 @@ const ke = _e`
|
|
|
1094
858
|
"grab",
|
|
1095
859
|
"grabbing"
|
|
1096
860
|
];
|
|
1097
|
-
for (const n of
|
|
861
|
+
for (const n of k) e[`cursor-${n}`] = `cursor:${n};`;
|
|
1098
862
|
for (const n of [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50])
|
|
1099
863
|
e[`z-${n}`] = `z-index:${n};`;
|
|
1100
864
|
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, {
|
|
@@ -1131,8 +895,8 @@ const ke = _e`
|
|
|
1131
895
|
"mx-auto": "margin-inline:auto;",
|
|
1132
896
|
"my-auto": "margin-block:auto;"
|
|
1133
897
|
});
|
|
1134
|
-
for (const [n,
|
|
1135
|
-
e[`max-w-${n}`] = `max-width:calc(${G} * ${
|
|
898
|
+
for (const [n, g] of Object.entries(Ye))
|
|
899
|
+
e[`max-w-${n}`] = `max-width:calc(${G} * ${g});`, e[`min-w-${n}`] = `min-width:calc(${G} * ${g});`, e[`w-${n}`] = `width:calc(${G} * ${g});`, e[`max-h-${n}`] = `max-height:calc(${G} * ${g});`, e[`min-h-${n}`] = `min-height:calc(${G} * ${g});`, e[`h-${n}`] = `height:calc(${G} * ${g});`;
|
|
1136
900
|
Object.assign(e, {
|
|
1137
901
|
transition: "transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;",
|
|
1138
902
|
"transition-none": "transition-property:none;",
|
|
@@ -1164,146 +928,146 @@ const ke = _e`
|
|
|
1164
928
|
"delay-700": "transition-delay:700ms;",
|
|
1165
929
|
"delay-1000": "transition-delay:1000ms;"
|
|
1166
930
|
});
|
|
1167
|
-
const
|
|
931
|
+
const i = "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))", d = (n) => `--cer-translate-x:${n};transform:${i};`, u = (n) => `--cer-translate-y:${n};transform:${i};`;
|
|
1168
932
|
Object.assign(e, {
|
|
1169
933
|
// Scale (uniform)
|
|
1170
|
-
"scale-0": `--cer-scale-x:0;--cer-scale-y:0;transform:${
|
|
1171
|
-
"scale-50": `--cer-scale-x:.5;--cer-scale-y:.5;transform:${
|
|
1172
|
-
"scale-75": `--cer-scale-x:.75;--cer-scale-y:.75;transform:${
|
|
1173
|
-
"scale-90": `--cer-scale-x:.9;--cer-scale-y:.9;transform:${
|
|
1174
|
-
"scale-95": `--cer-scale-x:.95;--cer-scale-y:.95;transform:${
|
|
1175
|
-
"scale-100": `--cer-scale-x:1;--cer-scale-y:1;transform:${
|
|
1176
|
-
"scale-105": `--cer-scale-x:1.05;--cer-scale-y:1.05;transform:${
|
|
1177
|
-
"scale-110": `--cer-scale-x:1.1;--cer-scale-y:1.1;transform:${
|
|
1178
|
-
"scale-125": `--cer-scale-x:1.25;--cer-scale-y:1.25;transform:${
|
|
1179
|
-
"scale-150": `--cer-scale-x:1.5;--cer-scale-y:1.5;transform:${
|
|
934
|
+
"scale-0": `--cer-scale-x:0;--cer-scale-y:0;transform:${i};`,
|
|
935
|
+
"scale-50": `--cer-scale-x:.5;--cer-scale-y:.5;transform:${i};`,
|
|
936
|
+
"scale-75": `--cer-scale-x:.75;--cer-scale-y:.75;transform:${i};`,
|
|
937
|
+
"scale-90": `--cer-scale-x:.9;--cer-scale-y:.9;transform:${i};`,
|
|
938
|
+
"scale-95": `--cer-scale-x:.95;--cer-scale-y:.95;transform:${i};`,
|
|
939
|
+
"scale-100": `--cer-scale-x:1;--cer-scale-y:1;transform:${i};`,
|
|
940
|
+
"scale-105": `--cer-scale-x:1.05;--cer-scale-y:1.05;transform:${i};`,
|
|
941
|
+
"scale-110": `--cer-scale-x:1.1;--cer-scale-y:1.1;transform:${i};`,
|
|
942
|
+
"scale-125": `--cer-scale-x:1.25;--cer-scale-y:1.25;transform:${i};`,
|
|
943
|
+
"scale-150": `--cer-scale-x:1.5;--cer-scale-y:1.5;transform:${i};`,
|
|
1180
944
|
// Scale X axis only
|
|
1181
|
-
"scale-x-0": `--cer-scale-x:0;transform:${
|
|
1182
|
-
"scale-x-50": `--cer-scale-x:.5;transform:${
|
|
1183
|
-
"scale-x-75": `--cer-scale-x:.75;transform:${
|
|
1184
|
-
"scale-x-90": `--cer-scale-x:.9;transform:${
|
|
1185
|
-
"scale-x-95": `--cer-scale-x:.95;transform:${
|
|
1186
|
-
"scale-x-100": `--cer-scale-x:1;transform:${
|
|
1187
|
-
"scale-x-105": `--cer-scale-x:1.05;transform:${
|
|
1188
|
-
"scale-x-110": `--cer-scale-x:1.1;transform:${
|
|
1189
|
-
"scale-x-125": `--cer-scale-x:1.25;transform:${
|
|
1190
|
-
"scale-x-150": `--cer-scale-x:1.5;transform:${
|
|
945
|
+
"scale-x-0": `--cer-scale-x:0;transform:${i};`,
|
|
946
|
+
"scale-x-50": `--cer-scale-x:.5;transform:${i};`,
|
|
947
|
+
"scale-x-75": `--cer-scale-x:.75;transform:${i};`,
|
|
948
|
+
"scale-x-90": `--cer-scale-x:.9;transform:${i};`,
|
|
949
|
+
"scale-x-95": `--cer-scale-x:.95;transform:${i};`,
|
|
950
|
+
"scale-x-100": `--cer-scale-x:1;transform:${i};`,
|
|
951
|
+
"scale-x-105": `--cer-scale-x:1.05;transform:${i};`,
|
|
952
|
+
"scale-x-110": `--cer-scale-x:1.1;transform:${i};`,
|
|
953
|
+
"scale-x-125": `--cer-scale-x:1.25;transform:${i};`,
|
|
954
|
+
"scale-x-150": `--cer-scale-x:1.5;transform:${i};`,
|
|
1191
955
|
// Scale Y axis only
|
|
1192
|
-
"scale-y-0": `--cer-scale-y:0;transform:${
|
|
1193
|
-
"scale-y-50": `--cer-scale-y:.5;transform:${
|
|
1194
|
-
"scale-y-75": `--cer-scale-y:.75;transform:${
|
|
1195
|
-
"scale-y-90": `--cer-scale-y:.9;transform:${
|
|
1196
|
-
"scale-y-95": `--cer-scale-y:.95;transform:${
|
|
1197
|
-
"scale-y-100": `--cer-scale-y:1;transform:${
|
|
1198
|
-
"scale-y-105": `--cer-scale-y:1.05;transform:${
|
|
1199
|
-
"scale-y-110": `--cer-scale-y:1.1;transform:${
|
|
1200
|
-
"scale-y-125": `--cer-scale-y:1.25;transform:${
|
|
1201
|
-
"scale-y-150": `--cer-scale-y:1.5;transform:${
|
|
956
|
+
"scale-y-0": `--cer-scale-y:0;transform:${i};`,
|
|
957
|
+
"scale-y-50": `--cer-scale-y:.5;transform:${i};`,
|
|
958
|
+
"scale-y-75": `--cer-scale-y:.75;transform:${i};`,
|
|
959
|
+
"scale-y-90": `--cer-scale-y:.9;transform:${i};`,
|
|
960
|
+
"scale-y-95": `--cer-scale-y:.95;transform:${i};`,
|
|
961
|
+
"scale-y-100": `--cer-scale-y:1;transform:${i};`,
|
|
962
|
+
"scale-y-105": `--cer-scale-y:1.05;transform:${i};`,
|
|
963
|
+
"scale-y-110": `--cer-scale-y:1.1;transform:${i};`,
|
|
964
|
+
"scale-y-125": `--cer-scale-y:1.25;transform:${i};`,
|
|
965
|
+
"scale-y-150": `--cer-scale-y:1.5;transform:${i};`,
|
|
1202
966
|
// Rotate
|
|
1203
|
-
"rotate-0": `--cer-rotate:0deg;transform:${
|
|
1204
|
-
"rotate-1": `--cer-rotate:1deg;transform:${
|
|
1205
|
-
"rotate-2": `--cer-rotate:2deg;transform:${
|
|
1206
|
-
"rotate-3": `--cer-rotate:3deg;transform:${
|
|
1207
|
-
"rotate-6": `--cer-rotate:6deg;transform:${
|
|
1208
|
-
"rotate-12": `--cer-rotate:12deg;transform:${
|
|
1209
|
-
"rotate-45": `--cer-rotate:45deg;transform:${
|
|
1210
|
-
"rotate-90": `--cer-rotate:90deg;transform:${
|
|
1211
|
-
"rotate-180": `--cer-rotate:180deg;transform:${
|
|
1212
|
-
"-rotate-1": `--cer-rotate:-1deg;transform:${
|
|
1213
|
-
"-rotate-2": `--cer-rotate:-2deg;transform:${
|
|
1214
|
-
"-rotate-3": `--cer-rotate:-3deg;transform:${
|
|
1215
|
-
"-rotate-6": `--cer-rotate:-6deg;transform:${
|
|
1216
|
-
"-rotate-12": `--cer-rotate:-12deg;transform:${
|
|
1217
|
-
"-rotate-45": `--cer-rotate:-45deg;transform:${
|
|
1218
|
-
"-rotate-90": `--cer-rotate:-90deg;transform:${
|
|
1219
|
-
"-rotate-180": `--cer-rotate:-180deg;transform:${
|
|
967
|
+
"rotate-0": `--cer-rotate:0deg;transform:${i};`,
|
|
968
|
+
"rotate-1": `--cer-rotate:1deg;transform:${i};`,
|
|
969
|
+
"rotate-2": `--cer-rotate:2deg;transform:${i};`,
|
|
970
|
+
"rotate-3": `--cer-rotate:3deg;transform:${i};`,
|
|
971
|
+
"rotate-6": `--cer-rotate:6deg;transform:${i};`,
|
|
972
|
+
"rotate-12": `--cer-rotate:12deg;transform:${i};`,
|
|
973
|
+
"rotate-45": `--cer-rotate:45deg;transform:${i};`,
|
|
974
|
+
"rotate-90": `--cer-rotate:90deg;transform:${i};`,
|
|
975
|
+
"rotate-180": `--cer-rotate:180deg;transform:${i};`,
|
|
976
|
+
"-rotate-1": `--cer-rotate:-1deg;transform:${i};`,
|
|
977
|
+
"-rotate-2": `--cer-rotate:-2deg;transform:${i};`,
|
|
978
|
+
"-rotate-3": `--cer-rotate:-3deg;transform:${i};`,
|
|
979
|
+
"-rotate-6": `--cer-rotate:-6deg;transform:${i};`,
|
|
980
|
+
"-rotate-12": `--cer-rotate:-12deg;transform:${i};`,
|
|
981
|
+
"-rotate-45": `--cer-rotate:-45deg;transform:${i};`,
|
|
982
|
+
"-rotate-90": `--cer-rotate:-90deg;transform:${i};`,
|
|
983
|
+
"-rotate-180": `--cer-rotate:-180deg;transform:${i};`,
|
|
1220
984
|
// Translate X
|
|
1221
|
-
"translate-x-0":
|
|
1222
|
-
"translate-x-px":
|
|
1223
|
-
"translate-x-0.5":
|
|
1224
|
-
"translate-x-1":
|
|
1225
|
-
"translate-x-1.5":
|
|
1226
|
-
"translate-x-2":
|
|
1227
|
-
"translate-x-2.5":
|
|
1228
|
-
"translate-x-3":
|
|
1229
|
-
"translate-x-4":
|
|
1230
|
-
"translate-x-5":
|
|
1231
|
-
"translate-x-6":
|
|
1232
|
-
"translate-x-8":
|
|
1233
|
-
"translate-x-10":
|
|
1234
|
-
"translate-x-12":
|
|
1235
|
-
"translate-x-16":
|
|
1236
|
-
"translate-x-20":
|
|
1237
|
-
"translate-x-24":
|
|
1238
|
-
"translate-x-32":
|
|
1239
|
-
"translate-x-1/2":
|
|
1240
|
-
"translate-x-1/3":
|
|
1241
|
-
"translate-x-2/3":
|
|
1242
|
-
"translate-x-1/4":
|
|
1243
|
-
"translate-x-3/4":
|
|
1244
|
-
"translate-x-full":
|
|
1245
|
-
"-translate-x-px":
|
|
1246
|
-
"-translate-x-0.5":
|
|
1247
|
-
"-translate-x-1":
|
|
1248
|
-
"-translate-x-1.5":
|
|
1249
|
-
"-translate-x-2":
|
|
1250
|
-
"-translate-x-2.5":
|
|
1251
|
-
"-translate-x-3":
|
|
1252
|
-
"-translate-x-4":
|
|
1253
|
-
"-translate-x-1/2":
|
|
1254
|
-
"-translate-x-full":
|
|
985
|
+
"translate-x-0": d("0px"),
|
|
986
|
+
"translate-x-px": d("1px"),
|
|
987
|
+
"translate-x-0.5": d("0.125rem"),
|
|
988
|
+
"translate-x-1": d("0.25rem"),
|
|
989
|
+
"translate-x-1.5": d("0.375rem"),
|
|
990
|
+
"translate-x-2": d("0.5rem"),
|
|
991
|
+
"translate-x-2.5": d("0.625rem"),
|
|
992
|
+
"translate-x-3": d("0.75rem"),
|
|
993
|
+
"translate-x-4": d("1rem"),
|
|
994
|
+
"translate-x-5": d("1.25rem"),
|
|
995
|
+
"translate-x-6": d("1.5rem"),
|
|
996
|
+
"translate-x-8": d("2rem"),
|
|
997
|
+
"translate-x-10": d("2.5rem"),
|
|
998
|
+
"translate-x-12": d("3rem"),
|
|
999
|
+
"translate-x-16": d("4rem"),
|
|
1000
|
+
"translate-x-20": d("5rem"),
|
|
1001
|
+
"translate-x-24": d("6rem"),
|
|
1002
|
+
"translate-x-32": d("8rem"),
|
|
1003
|
+
"translate-x-1/2": d("50%"),
|
|
1004
|
+
"translate-x-1/3": d("33.333333%"),
|
|
1005
|
+
"translate-x-2/3": d("66.666667%"),
|
|
1006
|
+
"translate-x-1/4": d("25%"),
|
|
1007
|
+
"translate-x-3/4": d("75%"),
|
|
1008
|
+
"translate-x-full": d("100%"),
|
|
1009
|
+
"-translate-x-px": d("-1px"),
|
|
1010
|
+
"-translate-x-0.5": d("-0.125rem"),
|
|
1011
|
+
"-translate-x-1": d("-0.25rem"),
|
|
1012
|
+
"-translate-x-1.5": d("-0.375rem"),
|
|
1013
|
+
"-translate-x-2": d("-0.5rem"),
|
|
1014
|
+
"-translate-x-2.5": d("-0.625rem"),
|
|
1015
|
+
"-translate-x-3": d("-0.75rem"),
|
|
1016
|
+
"-translate-x-4": d("-1rem"),
|
|
1017
|
+
"-translate-x-1/2": d("-50%"),
|
|
1018
|
+
"-translate-x-full": d("-100%"),
|
|
1255
1019
|
// Translate Y
|
|
1256
|
-
"translate-y-0":
|
|
1257
|
-
"translate-y-px":
|
|
1258
|
-
"translate-y-0.5":
|
|
1259
|
-
"translate-y-1":
|
|
1260
|
-
"translate-y-1.5":
|
|
1261
|
-
"translate-y-2":
|
|
1262
|
-
"translate-y-2.5":
|
|
1263
|
-
"translate-y-3":
|
|
1264
|
-
"translate-y-4":
|
|
1265
|
-
"translate-y-5":
|
|
1266
|
-
"translate-y-6":
|
|
1267
|
-
"translate-y-8":
|
|
1268
|
-
"translate-y-10":
|
|
1269
|
-
"translate-y-12":
|
|
1270
|
-
"translate-y-16":
|
|
1271
|
-
"translate-y-20":
|
|
1272
|
-
"translate-y-24":
|
|
1273
|
-
"translate-y-32":
|
|
1274
|
-
"translate-y-1/2":
|
|
1275
|
-
"translate-y-full":
|
|
1276
|
-
"-translate-y-px":
|
|
1277
|
-
"-translate-y-0.5":
|
|
1278
|
-
"-translate-y-1":
|
|
1279
|
-
"-translate-y-2":
|
|
1280
|
-
"-translate-y-4":
|
|
1281
|
-
"-translate-y-1/2":
|
|
1282
|
-
"-translate-y-full":
|
|
1020
|
+
"translate-y-0": u("0px"),
|
|
1021
|
+
"translate-y-px": u("1px"),
|
|
1022
|
+
"translate-y-0.5": u("0.125rem"),
|
|
1023
|
+
"translate-y-1": u("0.25rem"),
|
|
1024
|
+
"translate-y-1.5": u("0.375rem"),
|
|
1025
|
+
"translate-y-2": u("0.5rem"),
|
|
1026
|
+
"translate-y-2.5": u("0.625rem"),
|
|
1027
|
+
"translate-y-3": u("0.75rem"),
|
|
1028
|
+
"translate-y-4": u("1rem"),
|
|
1029
|
+
"translate-y-5": u("1.25rem"),
|
|
1030
|
+
"translate-y-6": u("1.5rem"),
|
|
1031
|
+
"translate-y-8": u("2rem"),
|
|
1032
|
+
"translate-y-10": u("2.5rem"),
|
|
1033
|
+
"translate-y-12": u("3rem"),
|
|
1034
|
+
"translate-y-16": u("4rem"),
|
|
1035
|
+
"translate-y-20": u("5rem"),
|
|
1036
|
+
"translate-y-24": u("6rem"),
|
|
1037
|
+
"translate-y-32": u("8rem"),
|
|
1038
|
+
"translate-y-1/2": u("50%"),
|
|
1039
|
+
"translate-y-full": u("100%"),
|
|
1040
|
+
"-translate-y-px": u("-1px"),
|
|
1041
|
+
"-translate-y-0.5": u("-0.125rem"),
|
|
1042
|
+
"-translate-y-1": u("-0.25rem"),
|
|
1043
|
+
"-translate-y-2": u("-0.5rem"),
|
|
1044
|
+
"-translate-y-4": u("-1rem"),
|
|
1045
|
+
"-translate-y-1/2": u("-50%"),
|
|
1046
|
+
"-translate-y-full": u("-100%"),
|
|
1283
1047
|
// Skew X
|
|
1284
|
-
"skew-x-0": `--cer-skew-x:0deg;transform:${
|
|
1285
|
-
"skew-x-1": `--cer-skew-x:1deg;transform:${
|
|
1286
|
-
"skew-x-2": `--cer-skew-x:2deg;transform:${
|
|
1287
|
-
"skew-x-3": `--cer-skew-x:3deg;transform:${
|
|
1288
|
-
"skew-x-6": `--cer-skew-x:6deg;transform:${
|
|
1289
|
-
"skew-x-12": `--cer-skew-x:12deg;transform:${
|
|
1290
|
-
"-skew-x-1": `--cer-skew-x:-1deg;transform:${
|
|
1291
|
-
"-skew-x-2": `--cer-skew-x:-2deg;transform:${
|
|
1292
|
-
"-skew-x-3": `--cer-skew-x:-3deg;transform:${
|
|
1293
|
-
"-skew-x-6": `--cer-skew-x:-6deg;transform:${
|
|
1294
|
-
"-skew-x-12": `--cer-skew-x:-12deg;transform:${
|
|
1048
|
+
"skew-x-0": `--cer-skew-x:0deg;transform:${i};`,
|
|
1049
|
+
"skew-x-1": `--cer-skew-x:1deg;transform:${i};`,
|
|
1050
|
+
"skew-x-2": `--cer-skew-x:2deg;transform:${i};`,
|
|
1051
|
+
"skew-x-3": `--cer-skew-x:3deg;transform:${i};`,
|
|
1052
|
+
"skew-x-6": `--cer-skew-x:6deg;transform:${i};`,
|
|
1053
|
+
"skew-x-12": `--cer-skew-x:12deg;transform:${i};`,
|
|
1054
|
+
"-skew-x-1": `--cer-skew-x:-1deg;transform:${i};`,
|
|
1055
|
+
"-skew-x-2": `--cer-skew-x:-2deg;transform:${i};`,
|
|
1056
|
+
"-skew-x-3": `--cer-skew-x:-3deg;transform:${i};`,
|
|
1057
|
+
"-skew-x-6": `--cer-skew-x:-6deg;transform:${i};`,
|
|
1058
|
+
"-skew-x-12": `--cer-skew-x:-12deg;transform:${i};`,
|
|
1295
1059
|
// Skew Y
|
|
1296
|
-
"skew-y-0": `--cer-skew-y:0deg;transform:${
|
|
1297
|
-
"skew-y-1": `--cer-skew-y:1deg;transform:${
|
|
1298
|
-
"skew-y-2": `--cer-skew-y:2deg;transform:${
|
|
1299
|
-
"skew-y-3": `--cer-skew-y:3deg;transform:${
|
|
1300
|
-
"skew-y-6": `--cer-skew-y:6deg;transform:${
|
|
1301
|
-
"skew-y-12": `--cer-skew-y:12deg;transform:${
|
|
1302
|
-
"-skew-y-1": `--cer-skew-y:-1deg;transform:${
|
|
1303
|
-
"-skew-y-2": `--cer-skew-y:-2deg;transform:${
|
|
1304
|
-
"-skew-y-3": `--cer-skew-y:-3deg;transform:${
|
|
1305
|
-
"-skew-y-6": `--cer-skew-y:-6deg;transform:${
|
|
1306
|
-
"-skew-y-12": `--cer-skew-y:-12deg;transform:${
|
|
1060
|
+
"skew-y-0": `--cer-skew-y:0deg;transform:${i};`,
|
|
1061
|
+
"skew-y-1": `--cer-skew-y:1deg;transform:${i};`,
|
|
1062
|
+
"skew-y-2": `--cer-skew-y:2deg;transform:${i};`,
|
|
1063
|
+
"skew-y-3": `--cer-skew-y:3deg;transform:${i};`,
|
|
1064
|
+
"skew-y-6": `--cer-skew-y:6deg;transform:${i};`,
|
|
1065
|
+
"skew-y-12": `--cer-skew-y:12deg;transform:${i};`,
|
|
1066
|
+
"-skew-y-1": `--cer-skew-y:-1deg;transform:${i};`,
|
|
1067
|
+
"-skew-y-2": `--cer-skew-y:-2deg;transform:${i};`,
|
|
1068
|
+
"-skew-y-3": `--cer-skew-y:-3deg;transform:${i};`,
|
|
1069
|
+
"-skew-y-6": `--cer-skew-y:-6deg;transform:${i};`,
|
|
1070
|
+
"-skew-y-12": `--cer-skew-y:-12deg;transform:${i};`
|
|
1307
1071
|
}), Object.assign(e, {
|
|
1308
1072
|
ring: "box-shadow:0 0 0 3px var(--cer-ring-color,rgb(59 130 246/0.5));",
|
|
1309
1073
|
"ring-0": "box-shadow:0 0 0 0px var(--cer-ring-color,rgb(59 130 246/0.5));",
|
|
@@ -1318,7 +1082,7 @@ const ke = _e`
|
|
|
1318
1082
|
"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));",
|
|
1319
1083
|
"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));"
|
|
1320
1084
|
});
|
|
1321
|
-
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)",
|
|
1085
|
+
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)", f = "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)";
|
|
1322
1086
|
Object.assign(e, {
|
|
1323
1087
|
// Blur
|
|
1324
1088
|
"blur-none": `--cer-blur:;filter:${l};`,
|
|
@@ -1385,14 +1149,14 @@ const ke = _e`
|
|
|
1385
1149
|
"drop-shadow-2xl": `--cer-drop-shadow:drop-shadow(0 25px 25px rgb(0 0 0/.15));filter:${l};`,
|
|
1386
1150
|
"drop-shadow-none": `--cer-drop-shadow:drop-shadow(0 0 #0000);filter:${l};`,
|
|
1387
1151
|
// Backdrop blur
|
|
1388
|
-
"backdrop-blur-none": `--cer-backdrop-blur:;backdrop-filter:${
|
|
1389
|
-
"backdrop-blur-sm": `--cer-backdrop-blur:blur(4px);backdrop-filter:${
|
|
1390
|
-
"backdrop-blur": `--cer-backdrop-blur:blur(8px);backdrop-filter:${
|
|
1391
|
-
"backdrop-blur-md": `--cer-backdrop-blur:blur(12px);backdrop-filter:${
|
|
1392
|
-
"backdrop-blur-lg": `--cer-backdrop-blur:blur(16px);backdrop-filter:${
|
|
1393
|
-
"backdrop-blur-xl": `--cer-backdrop-blur:blur(24px);backdrop-filter:${
|
|
1394
|
-
"backdrop-blur-2xl": `--cer-backdrop-blur:blur(40px);backdrop-filter:${
|
|
1395
|
-
"backdrop-blur-3xl": `--cer-backdrop-blur:blur(64px);backdrop-filter:${
|
|
1152
|
+
"backdrop-blur-none": `--cer-backdrop-blur:;backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1153
|
+
"backdrop-blur-sm": `--cer-backdrop-blur:blur(4px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1154
|
+
"backdrop-blur": `--cer-backdrop-blur:blur(8px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1155
|
+
"backdrop-blur-md": `--cer-backdrop-blur:blur(12px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1156
|
+
"backdrop-blur-lg": `--cer-backdrop-blur:blur(16px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1157
|
+
"backdrop-blur-xl": `--cer-backdrop-blur:blur(24px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1158
|
+
"backdrop-blur-2xl": `--cer-backdrop-blur:blur(40px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`,
|
|
1159
|
+
"backdrop-blur-3xl": `--cer-backdrop-blur:blur(64px);backdrop-filter:${f};-webkit-backdrop-filter:${f};`
|
|
1396
1160
|
}), Object.assign(e, {
|
|
1397
1161
|
"aspect-auto": "aspect-ratio:auto;",
|
|
1398
1162
|
"aspect-square": "aspect-ratio:1 / 1;",
|
|
@@ -1528,68 +1292,162 @@ const ke = _e`
|
|
|
1528
1292
|
--cer-prose-invert-links:var(--cer-color-info-300);
|
|
1529
1293
|
--cer-prose-invert-links-hover:var(--cer-color-info-100);
|
|
1530
1294
|
`.replace(/\s+/g, "")
|
|
1295
|
+
}), e["flow-root"] = "display:flow-root;", e["text-start"] = "text-align:start;", e["text-end"] = "text-align:end;", e["grid-cols-subgrid"] = "grid-template-columns:subgrid;", e["grid-rows-subgrid"] = "grid-template-rows:subgrid;", Object.assign(e, {
|
|
1296
|
+
"text-shadow-xs": "--cer-text-shadow-color:rgb(0 0 0 / 0.05);text-shadow:0 1px 1px var(--cer-text-shadow-color, rgb(0 0 0 / 0.05));",
|
|
1297
|
+
"text-shadow-sm": "--cer-text-shadow-color:rgb(0 0 0 / 0.15);text-shadow:0 1px 2px var(--cer-text-shadow-color, rgb(0 0 0 / 0.15));",
|
|
1298
|
+
"text-shadow": "--cer-text-shadow-color:rgb(0 0 0 / 0.3);text-shadow:0 1px 3px var(--cer-text-shadow-color, rgb(0 0 0 / 0.3));",
|
|
1299
|
+
"text-shadow-md": "--cer-text-shadow-color:rgb(0 0 0 / 0.3);text-shadow:0 2px 4px var(--cer-text-shadow-color, rgb(0 0 0 / 0.3));",
|
|
1300
|
+
"text-shadow-lg": "--cer-text-shadow-color:rgb(0 0 0 / 0.3);text-shadow:0 4px 8px var(--cer-text-shadow-color, rgb(0 0 0 / 0.3));",
|
|
1301
|
+
"text-shadow-xl": "--cer-text-shadow-color:rgb(0 0 0 / 0.3);text-shadow:0 6px 16px var(--cer-text-shadow-color, rgb(0 0 0 / 0.3));",
|
|
1302
|
+
"text-shadow-2xl": "--cer-text-shadow-color:rgb(0 0 0 / 0.3);text-shadow:0 8px 24px var(--cer-text-shadow-color, rgb(0 0 0 / 0.3));",
|
|
1303
|
+
"text-shadow-none": "text-shadow:none;"
|
|
1304
|
+
}), Object.assign(e, {
|
|
1305
|
+
"mask-none": "mask-image:none;",
|
|
1306
|
+
"mask-linear-to-t": "mask-image:linear-gradient(to top,black,transparent);",
|
|
1307
|
+
"mask-linear-to-tr": "mask-image:linear-gradient(to top right,black,transparent);",
|
|
1308
|
+
"mask-linear-to-r": "mask-image:linear-gradient(to right,black,transparent);",
|
|
1309
|
+
"mask-linear-to-br": "mask-image:linear-gradient(to bottom right,black,transparent);",
|
|
1310
|
+
"mask-linear-to-b": "mask-image:linear-gradient(to bottom,black,transparent);",
|
|
1311
|
+
"mask-linear-to-bl": "mask-image:linear-gradient(to bottom left,black,transparent);",
|
|
1312
|
+
"mask-linear-to-l": "mask-image:linear-gradient(to left,black,transparent);",
|
|
1313
|
+
"mask-linear-to-tl": "mask-image:linear-gradient(to top left,black,transparent);",
|
|
1314
|
+
"mask-radial": "mask-image:radial-gradient(ellipse at center,black,transparent);",
|
|
1315
|
+
"mask-radial-from-center": "mask-image:radial-gradient(ellipse at center,black 0%,transparent 100%);",
|
|
1316
|
+
"mask-size-contain": "mask-size:contain;",
|
|
1317
|
+
"mask-size-cover": "mask-size:cover;",
|
|
1318
|
+
"mask-no-repeat": "mask-repeat:no-repeat;",
|
|
1319
|
+
"mask-repeat": "mask-repeat:repeat;",
|
|
1320
|
+
"mask-alpha": "mask-mode:alpha;",
|
|
1321
|
+
"mask-luminance": "mask-mode:luminance;"
|
|
1322
|
+
}), e["field-sizing-content"] = "field-sizing:content;", e["field-sizing-fixed"] = "field-sizing:fixed;", Object.assign(e, {
|
|
1323
|
+
"scheme-light": "color-scheme:light;",
|
|
1324
|
+
"scheme-dark": "color-scheme:dark;",
|
|
1325
|
+
"scheme-both": "color-scheme:light dark;",
|
|
1326
|
+
"scheme-only-light": "color-scheme:only light;",
|
|
1327
|
+
"scheme-only-dark": "color-scheme:only dark;",
|
|
1328
|
+
"scheme-normal": "color-scheme:normal;"
|
|
1329
|
+
}), Object.assign(e, {
|
|
1330
|
+
"font-stretch-ultra-condensed": "font-stretch:ultra-condensed;",
|
|
1331
|
+
"font-stretch-extra-condensed": "font-stretch:extra-condensed;",
|
|
1332
|
+
"font-stretch-condensed": "font-stretch:condensed;",
|
|
1333
|
+
"font-stretch-semi-condensed": "font-stretch:semi-condensed;",
|
|
1334
|
+
"font-stretch-normal": "font-stretch:normal;",
|
|
1335
|
+
"font-stretch-semi-expanded": "font-stretch:semi-expanded;",
|
|
1336
|
+
"font-stretch-expanded": "font-stretch:expanded;",
|
|
1337
|
+
"font-stretch-extra-expanded": "font-stretch:extra-expanded;",
|
|
1338
|
+
"font-stretch-ultra-expanded": "font-stretch:ultra-expanded;"
|
|
1339
|
+
}), Object.assign(e, {
|
|
1340
|
+
"cursor-zoom-in": "cursor:zoom-in;",
|
|
1341
|
+
"cursor-zoom-out": "cursor:zoom-out;",
|
|
1342
|
+
"cursor-cell": "cursor:cell;",
|
|
1343
|
+
"cursor-crosshair": "cursor:crosshair;",
|
|
1344
|
+
"cursor-copy": "cursor:copy;",
|
|
1345
|
+
"cursor-alias": "cursor:alias;",
|
|
1346
|
+
"cursor-context-menu": "cursor:context-menu;",
|
|
1347
|
+
"cursor-vertical-text": "cursor:vertical-text;",
|
|
1348
|
+
"cursor-no-drop": "cursor:no-drop;",
|
|
1349
|
+
"cursor-progress": "cursor:progress;",
|
|
1350
|
+
"cursor-col-resize": "cursor:col-resize;",
|
|
1351
|
+
"cursor-row-resize": "cursor:row-resize;",
|
|
1352
|
+
"cursor-ew-resize": "cursor:ew-resize;",
|
|
1353
|
+
"cursor-ns-resize": "cursor:ns-resize;",
|
|
1354
|
+
"cursor-nesw-resize": "cursor:nesw-resize;",
|
|
1355
|
+
"cursor-nwse-resize": "cursor:nwse-resize;",
|
|
1356
|
+
"cursor-all-scroll": "cursor:all-scroll;"
|
|
1357
|
+
}), Object.assign(e, {
|
|
1358
|
+
// border-inline-start / border-inline-end widths
|
|
1359
|
+
"border-s": "border-inline-start-width:1px;",
|
|
1360
|
+
"border-e": "border-inline-end-width:1px;",
|
|
1361
|
+
"border-s-0": "border-inline-start-width:0px;",
|
|
1362
|
+
"border-e-0": "border-inline-end-width:0px;",
|
|
1363
|
+
"border-s-2": "border-inline-start-width:2px;",
|
|
1364
|
+
"border-e-2": "border-inline-end-width:2px;",
|
|
1365
|
+
"border-s-4": "border-inline-start-width:4px;",
|
|
1366
|
+
"border-e-4": "border-inline-end-width:4px;",
|
|
1367
|
+
"border-s-8": "border-inline-start-width:8px;",
|
|
1368
|
+
"border-e-8": "border-inline-end-width:8px;"
|
|
1369
|
+
}), Object.assign(e, {
|
|
1370
|
+
"rounded-s-none": "border-start-start-radius:0;border-end-start-radius:0;",
|
|
1371
|
+
"rounded-e-none": "border-start-end-radius:0;border-end-end-radius:0;",
|
|
1372
|
+
"rounded-s-sm": "border-start-start-radius:0.125rem;border-end-start-radius:0.125rem;",
|
|
1373
|
+
"rounded-e-sm": "border-start-end-radius:0.125rem;border-end-end-radius:0.125rem;",
|
|
1374
|
+
"rounded-s": "border-start-start-radius:0.25rem;border-end-start-radius:0.25rem;",
|
|
1375
|
+
"rounded-e": "border-start-end-radius:0.25rem;border-end-end-radius:0.25rem;",
|
|
1376
|
+
"rounded-s-md": "border-start-start-radius:0.375rem;border-end-start-radius:0.375rem;",
|
|
1377
|
+
"rounded-e-md": "border-start-end-radius:0.375rem;border-end-end-radius:0.375rem;",
|
|
1378
|
+
"rounded-s-lg": "border-start-start-radius:0.5rem;border-end-start-radius:0.5rem;",
|
|
1379
|
+
"rounded-e-lg": "border-start-end-radius:0.5rem;border-end-end-radius:0.5rem;",
|
|
1380
|
+
"rounded-s-xl": "border-start-start-radius:0.75rem;border-end-start-radius:0.75rem;",
|
|
1381
|
+
"rounded-e-xl": "border-start-end-radius:0.75rem;border-end-end-radius:0.75rem;",
|
|
1382
|
+
"rounded-s-2xl": "border-start-start-radius:1rem;border-end-start-radius:1rem;",
|
|
1383
|
+
"rounded-e-2xl": "border-start-end-radius:1rem;border-end-end-radius:1rem;",
|
|
1384
|
+
"rounded-s-3xl": "border-start-start-radius:1.5rem;border-end-start-radius:1.5rem;",
|
|
1385
|
+
"rounded-e-3xl": "border-start-end-radius:1.5rem;border-end-end-radius:1.5rem;",
|
|
1386
|
+
"rounded-s-full": "border-start-start-radius:9999px;border-end-start-radius:9999px;",
|
|
1387
|
+
"rounded-e-full": "border-start-end-radius:9999px;border-end-end-radius:9999px;"
|
|
1531
1388
|
}), e;
|
|
1532
|
-
},
|
|
1533
|
-
function
|
|
1534
|
-
return /^prose(?:-(sm|lg|xl|2xl))?$/.test(e) ? (
|
|
1389
|
+
}, me = Ze();
|
|
1390
|
+
function er(e) {
|
|
1391
|
+
return /^prose(?:-(sm|lg|xl|2xl))?$/.test(e) ? (Qe(e), "") : null;
|
|
1535
1392
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return /^prose-([a-z0-9]+):(.+)$/.test(e) ?
|
|
1393
|
+
function We(e) {
|
|
1394
|
+
return /^prose-([a-z0-9]+):(.+)$/.test(e) ? Je(
|
|
1538
1395
|
e,
|
|
1396
|
+
me,
|
|
1539
1397
|
fe,
|
|
1540
|
-
ge,
|
|
1541
1398
|
he,
|
|
1542
|
-
|
|
1543
|
-
me,
|
|
1399
|
+
$e,
|
|
1544
1400
|
be,
|
|
1545
|
-
|
|
1401
|
+
xe,
|
|
1402
|
+
le
|
|
1546
1403
|
) : null;
|
|
1547
1404
|
}
|
|
1548
|
-
function
|
|
1405
|
+
function I(e, r) {
|
|
1549
1406
|
let c = 0;
|
|
1550
|
-
for (let
|
|
1551
|
-
const
|
|
1552
|
-
if (
|
|
1553
|
-
else if ((
|
|
1554
|
-
else if (c === 0 && (
|
|
1555
|
-
return e.slice(0,
|
|
1407
|
+
for (let a = 0; a < e.length; a++) {
|
|
1408
|
+
const t = e[a];
|
|
1409
|
+
if (t === "[" || t === "(") c++;
|
|
1410
|
+
else if ((t === "]" || t === ")") && c > 0) c--;
|
|
1411
|
+
else if (c === 0 && (t === ">" || t === "+" || t === "~" || t === " "))
|
|
1412
|
+
return e.slice(0, a) + r + e.slice(a);
|
|
1556
1413
|
}
|
|
1557
|
-
return e +
|
|
1414
|
+
return e + r;
|
|
1558
1415
|
}
|
|
1559
|
-
const
|
|
1560
|
-
before: (e,
|
|
1561
|
-
after: (e,
|
|
1562
|
-
hover: (e,
|
|
1563
|
-
focus: (e,
|
|
1564
|
-
active: (e,
|
|
1565
|
-
disabled: (e,
|
|
1566
|
-
visited: (e,
|
|
1567
|
-
checked: (e,
|
|
1568
|
-
first: (e,
|
|
1569
|
-
last: (e,
|
|
1570
|
-
odd: (e,
|
|
1571
|
-
even: (e,
|
|
1572
|
-
"focus-within": (e,
|
|
1573
|
-
"focus-visible": (e,
|
|
1574
|
-
"group-hover": (e,
|
|
1575
|
-
"group-focus": (e,
|
|
1576
|
-
"group-active": (e,
|
|
1577
|
-
"group-disabled": (e,
|
|
1578
|
-
"peer-hover": (e,
|
|
1579
|
-
"peer-focus": (e,
|
|
1580
|
-
"peer-checked": (e,
|
|
1581
|
-
"peer-disabled": (e,
|
|
1582
|
-
"dark-class": (e,
|
|
1583
|
-
rtl: (e,
|
|
1584
|
-
ltr: (e,
|
|
1416
|
+
const _e = {
|
|
1417
|
+
before: (e, r) => `${e}::before{${r}}`,
|
|
1418
|
+
after: (e, r) => `${e}::after{${r}}`,
|
|
1419
|
+
hover: (e, r) => `${I(e, ":hover")}{${r}}`,
|
|
1420
|
+
focus: (e, r) => `${I(e, ":focus")}{${r}}`,
|
|
1421
|
+
active: (e, r) => `${I(e, ":active")}{${r}}`,
|
|
1422
|
+
disabled: (e, r) => `${I(e, ":disabled")}{${r}}`,
|
|
1423
|
+
visited: (e, r) => `${I(e, ":visited")}{${r}}`,
|
|
1424
|
+
checked: (e, r) => `${I(e, ":checked")}{${r}}`,
|
|
1425
|
+
first: (e, r) => `${I(e, ":first-child")}{${r}}`,
|
|
1426
|
+
last: (e, r) => `${I(e, ":last-child")}{${r}}`,
|
|
1427
|
+
odd: (e, r) => `${I(e, ":nth-child(odd)")}{${r}}`,
|
|
1428
|
+
even: (e, r) => `${I(e, ":nth-child(even)")}{${r}}`,
|
|
1429
|
+
"focus-within": (e, r) => `${I(e, ":focus-within")}{${r}}`,
|
|
1430
|
+
"focus-visible": (e, r) => `${I(e, ":focus-visible")}{${r}}`,
|
|
1431
|
+
"group-hover": (e, r) => `.group:hover ${e}{${r}}`,
|
|
1432
|
+
"group-focus": (e, r) => `.group:focus ${e}{${r}}`,
|
|
1433
|
+
"group-active": (e, r) => `.group:active ${e}{${r}}`,
|
|
1434
|
+
"group-disabled": (e, r) => `.group:disabled ${e}{${r}}`,
|
|
1435
|
+
"peer-hover": (e, r) => `.peer:hover ~ ${e}{${r}}`,
|
|
1436
|
+
"peer-focus": (e, r) => `.peer:focus ~ ${e}{${r}}`,
|
|
1437
|
+
"peer-checked": (e, r) => `.peer:checked ~ ${e}{${r}}`,
|
|
1438
|
+
"peer-disabled": (e, r) => `.peer:disabled ~ ${e}{${r}}`,
|
|
1439
|
+
"dark-class": (e, r) => `:host(.dark) ${e}{${r}}`,
|
|
1440
|
+
rtl: (e, r) => `[dir=rtl] ${e}{${r}}`,
|
|
1441
|
+
ltr: (e, r) => `[dir=ltr] ${e}{${r}}`,
|
|
1585
1442
|
// Pseudo-element variants
|
|
1586
|
-
placeholder: (e,
|
|
1587
|
-
file: (e,
|
|
1588
|
-
marker: (e,
|
|
1589
|
-
selection: (e,
|
|
1443
|
+
placeholder: (e, r) => `${e}::placeholder{${r}}`,
|
|
1444
|
+
file: (e, r) => `${e}::file-selector-button{${r}}`,
|
|
1445
|
+
marker: (e, r) => `${e}::marker{${r}}`,
|
|
1446
|
+
selection: (e, r) => `${e}::selection{${r}}`,
|
|
1590
1447
|
// State variants
|
|
1591
|
-
open: (e,
|
|
1592
|
-
|
|
1448
|
+
open: (e, r) => `${I(e, "[open]")}{${r}}`,
|
|
1449
|
+
inert: (e, r) => `${I(e, "[inert]")}{${r}}`
|
|
1450
|
+
}, ce = {
|
|
1593
1451
|
sm: "(min-width:640px)",
|
|
1594
1452
|
md: "(min-width:768px)",
|
|
1595
1453
|
lg: "(min-width:1024px)",
|
|
@@ -1600,7 +1458,7 @@ const je = {
|
|
|
1600
1458
|
"motion-safe": "(prefers-reduced-motion: no-preference)",
|
|
1601
1459
|
print: "print",
|
|
1602
1460
|
"forced-colors": "(forced-colors: active)"
|
|
1603
|
-
},
|
|
1461
|
+
}, Ve = {
|
|
1604
1462
|
xs: "(min-width:20rem)",
|
|
1605
1463
|
sm: "(min-width:24rem)",
|
|
1606
1464
|
md: "(min-width:28rem)",
|
|
@@ -1612,7 +1470,7 @@ const je = {
|
|
|
1612
1470
|
"5xl": "(min-width:64rem)",
|
|
1613
1471
|
"6xl": "(min-width:72rem)",
|
|
1614
1472
|
"7xl": "(min-width:80rem)"
|
|
1615
|
-
},
|
|
1473
|
+
}, ie = [
|
|
1616
1474
|
"sm",
|
|
1617
1475
|
"md",
|
|
1618
1476
|
"lg",
|
|
@@ -1622,7 +1480,7 @@ const je = {
|
|
|
1622
1480
|
"motion-safe",
|
|
1623
1481
|
"print",
|
|
1624
1482
|
"forced-colors"
|
|
1625
|
-
],
|
|
1483
|
+
], ue = [
|
|
1626
1484
|
"xs",
|
|
1627
1485
|
"sm",
|
|
1628
1486
|
"md",
|
|
@@ -1635,48 +1493,48 @@ const je = {
|
|
|
1635
1493
|
"6xl",
|
|
1636
1494
|
"7xl"
|
|
1637
1495
|
];
|
|
1638
|
-
function
|
|
1639
|
-
const
|
|
1640
|
-
if (
|
|
1641
|
-
const
|
|
1642
|
-
if (!
|
|
1643
|
-
if (
|
|
1644
|
-
const [
|
|
1645
|
-
if (Number.isNaN(
|
|
1496
|
+
function fe(e) {
|
|
1497
|
+
const r = e.startsWith("-"), c = r ? e.slice(1) : e, a = c.lastIndexOf("-");
|
|
1498
|
+
if (a === -1) return null;
|
|
1499
|
+
const t = c.slice(0, a), s = c.slice(a + 1);
|
|
1500
|
+
if (!ye[t]) return null;
|
|
1501
|
+
if (s.includes("/")) {
|
|
1502
|
+
const [i, d] = s.split("/").map((l) => parseFloat(l));
|
|
1503
|
+
if (Number.isNaN(i) || Number.isNaN(d) || d === 0)
|
|
1646
1504
|
return null;
|
|
1647
|
-
const
|
|
1648
|
-
return
|
|
1505
|
+
const u = i / d * 100;
|
|
1506
|
+
return ye[t].map((l) => `${l}:${u}%;`).join("");
|
|
1649
1507
|
}
|
|
1650
|
-
const
|
|
1651
|
-
if (Number.isNaN(
|
|
1652
|
-
const
|
|
1653
|
-
return
|
|
1508
|
+
const h = parseFloat(s);
|
|
1509
|
+
if (Number.isNaN(h)) return null;
|
|
1510
|
+
const k = r ? "-" : "";
|
|
1511
|
+
return ye[t].map((i) => `${i}:calc(${k}${G} * ${h});`).join("");
|
|
1654
1512
|
}
|
|
1655
1513
|
function he(e) {
|
|
1656
|
-
const
|
|
1657
|
-
if (!
|
|
1658
|
-
const [,
|
|
1659
|
-
if (
|
|
1660
|
-
return
|
|
1661
|
-
if (
|
|
1662
|
-
const [
|
|
1663
|
-
if (Number.isNaN(
|
|
1514
|
+
const r = e.startsWith("-"), a = (r ? e.slice(1) : e).match(/^space-(x|y)-(.+)$/);
|
|
1515
|
+
if (!a) return null;
|
|
1516
|
+
const [, t, s] = a, h = t === "x";
|
|
1517
|
+
if (s === "reverse")
|
|
1518
|
+
return h ? "--cer-space-x-reverse:1;" : "--cer-space-y-reverse:1;";
|
|
1519
|
+
if (s.includes("/")) {
|
|
1520
|
+
const [u, l] = s.split("/").map((g) => parseFloat(g));
|
|
1521
|
+
if (Number.isNaN(u) || Number.isNaN(l) || l === 0)
|
|
1664
1522
|
return null;
|
|
1665
|
-
const
|
|
1666
|
-
return
|
|
1523
|
+
const f = u / l * 100, n = r ? "-" : "";
|
|
1524
|
+
return h ? `--cer-space-x-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-inline-start:calc(${n}${f}% * calc(1 - var(--cer-space-x-reverse)));margin-inline-end:calc(${n}${f}% * var(--cer-space-x-reverse));}` : `--cer-space-y-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-top:calc(${n}${f}% * calc(1 - var(--cer-space-y-reverse)));margin-bottom:calc(${n}${f}% * var(--cer-space-y-reverse));}`;
|
|
1667
1525
|
}
|
|
1668
|
-
const
|
|
1669
|
-
if (Number.isNaN(
|
|
1670
|
-
const
|
|
1671
|
-
return
|
|
1526
|
+
const k = parseFloat(s);
|
|
1527
|
+
if (Number.isNaN(k)) return null;
|
|
1528
|
+
const d = `calc(${r ? "-" : ""}${G} * ${k})`;
|
|
1529
|
+
return h ? `--cer-space-x-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-inline-start:calc(${d} * calc(1 - var(--cer-space-x-reverse)));margin-inline-end:calc(${d} * var(--cer-space-x-reverse));}` : `--cer-space-y-reverse:0;& > :not([hidden]) ~ :not([hidden]){margin-top:calc(${d} * calc(1 - var(--cer-space-y-reverse)));margin-bottom:calc(${d} * var(--cer-space-y-reverse));}`;
|
|
1672
1530
|
}
|
|
1673
|
-
function
|
|
1674
|
-
let
|
|
1675
|
-
|
|
1676
|
-
const c = parseInt(
|
|
1531
|
+
function ge(e) {
|
|
1532
|
+
let r = e.replace("#", "");
|
|
1533
|
+
r.length === 3 && (r = r.split("").map((a) => a + a).join(""));
|
|
1534
|
+
const c = parseInt(r, 16);
|
|
1677
1535
|
return `${c >> 16 & 255} ${c >> 8 & 255} ${c & 255}`;
|
|
1678
1536
|
}
|
|
1679
|
-
const
|
|
1537
|
+
const rr = /^(text-shadow|bg|text|border|decoration|shadow|outline|caret|accent|fill|stroke|ring|divide)-([a-z]+)-?(\d{2,3}|DEFAULT)?$/, tr = {
|
|
1680
1538
|
bg: "background-color",
|
|
1681
1539
|
decoration: "text-decoration-color",
|
|
1682
1540
|
text: "color",
|
|
@@ -1687,112 +1545,113 @@ const Ve = /^(bg|text|border|decoration|shadow|outline|caret|accent|fill|stroke|
|
|
|
1687
1545
|
fill: "fill",
|
|
1688
1546
|
stroke: "stroke"
|
|
1689
1547
|
};
|
|
1690
|
-
function
|
|
1691
|
-
const
|
|
1692
|
-
if (!
|
|
1693
|
-
const [, c,
|
|
1694
|
-
if (!
|
|
1695
|
-
if (c === "shadow") return `--cer-shadow-color:${
|
|
1696
|
-
if (c === "ring") return `--cer-ring-color:${
|
|
1697
|
-
if (c === "divide") return `border-color:${
|
|
1698
|
-
|
|
1699
|
-
|
|
1548
|
+
function or(e) {
|
|
1549
|
+
const r = rr.exec(e);
|
|
1550
|
+
if (!r) return null;
|
|
1551
|
+
const [, c, a, t = "DEFAULT"] = r, s = re[a]?.[t];
|
|
1552
|
+
if (!s) return null;
|
|
1553
|
+
if (c === "shadow") return `--cer-shadow-color:${s};`;
|
|
1554
|
+
if (c === "ring") return `--cer-ring-color:${s};`;
|
|
1555
|
+
if (c === "divide") return `border-color:${s};`;
|
|
1556
|
+
if (c === "text-shadow") return `--cer-text-shadow-color:${s};`;
|
|
1557
|
+
const h = tr[c];
|
|
1558
|
+
return h ? `${h}:${s};` : null;
|
|
1700
1559
|
}
|
|
1701
|
-
function
|
|
1702
|
-
const
|
|
1703
|
-
if (
|
|
1704
|
-
const c = e.slice(0,
|
|
1705
|
-
return isNaN(
|
|
1560
|
+
function nr(e) {
|
|
1561
|
+
const r = e.indexOf("/");
|
|
1562
|
+
if (r === -1) return { base: e };
|
|
1563
|
+
const c = e.slice(0, r), a = e.slice(r + 1), t = parseInt(a, 10);
|
|
1564
|
+
return isNaN(t) || t < 0 || t > 100 ? { base: c } : { base: c, opacity: t / 100 };
|
|
1706
1565
|
}
|
|
1707
|
-
function
|
|
1708
|
-
const { base:
|
|
1709
|
-
if (
|
|
1566
|
+
function be(e) {
|
|
1567
|
+
const { base: r, opacity: c } = nr(e), a = or(r);
|
|
1568
|
+
if (a) {
|
|
1710
1569
|
if (c !== void 0) {
|
|
1711
|
-
if (
|
|
1712
|
-
const
|
|
1713
|
-
if (
|
|
1714
|
-
const
|
|
1715
|
-
if (
|
|
1716
|
-
const
|
|
1570
|
+
if (a.includes("var(")) {
|
|
1571
|
+
const h = /var\([^)]*\)/.exec(a);
|
|
1572
|
+
if (h) {
|
|
1573
|
+
const k = h[0], i = c * 100, d = `color-mix(in srgb, ${k} ${i}%, rgba(0 0 0 / 0) ${100 - i}%)`, u = /#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(k), l = /^([a-z-]+):/.exec(a), f = l ? l[1] : "background-color";
|
|
1574
|
+
if (u) {
|
|
1575
|
+
const g = `rgb(${ge(u[0])} / ${c})`, y = k.replace(
|
|
1717
1576
|
/#([0-9a-f]{6}|[0-9a-f]{3})/i,
|
|
1718
|
-
|
|
1577
|
+
g
|
|
1719
1578
|
);
|
|
1720
|
-
return `${
|
|
1579
|
+
return `${f}:${y};__CE_COLOR_MIX_SPLIT__${f}:${d};`;
|
|
1721
1580
|
}
|
|
1722
|
-
return `${
|
|
1581
|
+
return `${f}:${d};`;
|
|
1723
1582
|
}
|
|
1724
1583
|
}
|
|
1725
|
-
const
|
|
1726
|
-
if (
|
|
1727
|
-
const
|
|
1728
|
-
return
|
|
1584
|
+
const s = /#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(a);
|
|
1585
|
+
if (s) {
|
|
1586
|
+
const h = ge(s[0]);
|
|
1587
|
+
return a.replace(
|
|
1729
1588
|
/#([0-9a-f]{6}|[0-9a-f]{3})/i,
|
|
1730
|
-
`rgb(${
|
|
1589
|
+
`rgb(${h} / ${c})`
|
|
1731
1590
|
);
|
|
1732
1591
|
}
|
|
1733
1592
|
}
|
|
1734
|
-
return
|
|
1593
|
+
return a;
|
|
1735
1594
|
}
|
|
1736
|
-
const
|
|
1737
|
-
if (
|
|
1738
|
-
if (
|
|
1739
|
-
const
|
|
1740
|
-
if (
|
|
1741
|
-
const
|
|
1742
|
-
if (
|
|
1743
|
-
const
|
|
1595
|
+
const t = le(r);
|
|
1596
|
+
if (t && c !== void 0) {
|
|
1597
|
+
if (t.includes("var(")) {
|
|
1598
|
+
const h = /var\([^)]*\)/.exec(t);
|
|
1599
|
+
if (h) {
|
|
1600
|
+
const k = h[0], i = c * 100, d = `color-mix(in srgb, ${k} ${i}%, rgba(0 0 0 / 0) ${100 - i}%)`, u = /#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(k), l = /^([a-z-]+):/.exec(t), f = l ? l[1] : null;
|
|
1601
|
+
if (u && f) {
|
|
1602
|
+
const g = `rgb(${ge(u[0])} / ${c})`, y = k.replace(
|
|
1744
1603
|
/#([0-9a-f]{6}|[0-9a-f]{3})/i,
|
|
1745
|
-
|
|
1604
|
+
g
|
|
1746
1605
|
);
|
|
1747
|
-
return `${
|
|
1606
|
+
return `${f}:${y};__CE_COLOR_MIX_SPLIT__${f}:${d};`;
|
|
1748
1607
|
}
|
|
1749
|
-
return
|
|
1608
|
+
return t.replace(k, d);
|
|
1750
1609
|
}
|
|
1751
1610
|
}
|
|
1752
|
-
const
|
|
1753
|
-
if (
|
|
1754
|
-
const
|
|
1755
|
-
return
|
|
1611
|
+
const s = /#([0-9a-f]{6}|[0-9a-f]{3})/i.exec(t);
|
|
1612
|
+
if (s) {
|
|
1613
|
+
const h = ge(s[0]);
|
|
1614
|
+
return t.replace(
|
|
1756
1615
|
/#([0-9a-f]{6}|[0-9a-f]{3})/i,
|
|
1757
|
-
`rgb(${
|
|
1616
|
+
`rgb(${h} / ${c})`
|
|
1758
1617
|
);
|
|
1759
1618
|
}
|
|
1760
1619
|
}
|
|
1761
|
-
return
|
|
1620
|
+
return t;
|
|
1762
1621
|
}
|
|
1763
|
-
function
|
|
1764
|
-
const
|
|
1765
|
-
if (!
|
|
1766
|
-
const [, c,
|
|
1767
|
-
if (!
|
|
1622
|
+
function xe(e) {
|
|
1623
|
+
const r = /^(from|to|via)-([a-z]+)-?(\d{2,3}|DEFAULT)?$/.exec(e);
|
|
1624
|
+
if (!r) return null;
|
|
1625
|
+
const [, c, a, t = "DEFAULT"] = r, s = re[a]?.[t];
|
|
1626
|
+
if (!s) return null;
|
|
1768
1627
|
switch (c) {
|
|
1769
1628
|
case "from":
|
|
1770
|
-
return `--cer-gradient-from:${
|
|
1629
|
+
return `--cer-gradient-from:${s} 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);`;
|
|
1771
1630
|
case "to":
|
|
1772
|
-
return `--cer-gradient-to:${
|
|
1631
|
+
return `--cer-gradient-to:${s} var(--cer-gradient-to-position);`;
|
|
1773
1632
|
case "via":
|
|
1774
|
-
return `--cer-gradient-to:rgb(255 255 255 / 0) var(--cer-gradient-to-position);--cer-gradient-stops:var(--cer-gradient-from), ${
|
|
1633
|
+
return `--cer-gradient-to:rgb(255 255 255 / 0) var(--cer-gradient-to-position);--cer-gradient-stops:var(--cer-gradient-from), ${s} var(--cer-gradient-via-position), var(--cer-gradient-to);`;
|
|
1775
1634
|
default:
|
|
1776
1635
|
return null;
|
|
1777
1636
|
}
|
|
1778
1637
|
}
|
|
1779
|
-
function
|
|
1780
|
-
const
|
|
1781
|
-
if (!
|
|
1782
|
-
const c = parseInt(
|
|
1638
|
+
function $e(e) {
|
|
1639
|
+
const r = /^opacity-(\d{1,3})$/.exec(e);
|
|
1640
|
+
if (!r) return null;
|
|
1641
|
+
const c = parseInt(r[1], 10);
|
|
1783
1642
|
return c < 0 || c > 100 ? null : `opacity:${c / 100};`;
|
|
1784
1643
|
}
|
|
1785
|
-
function
|
|
1644
|
+
function le(e) {
|
|
1786
1645
|
if (e.startsWith("[") && e.endsWith("]") && !e.includes("-[")) {
|
|
1787
|
-
const
|
|
1788
|
-
if (
|
|
1789
|
-
const
|
|
1790
|
-
let
|
|
1791
|
-
return /^[a-zA-Z][a-zA-Z0-9-]*$/.test(
|
|
1646
|
+
const h = e.slice(1, -1).trim(), k = h.indexOf(":");
|
|
1647
|
+
if (k === -1) return null;
|
|
1648
|
+
const i = h.slice(0, k).trim();
|
|
1649
|
+
let d = h.slice(k + 1).trim();
|
|
1650
|
+
return /^[a-zA-Z][a-zA-Z0-9-]*$/.test(i) ? (d = d.replace(/_/g, " "), d = d.replace(/url\('\s*([^']*?)\s*'\)/g, 'url("$1")'), d = d.replace(/^'([^']*)'$/g, '"$1"'), `${i}:${d};`) : null;
|
|
1792
1651
|
}
|
|
1793
|
-
const
|
|
1794
|
-
if (
|
|
1795
|
-
const c = e.slice(0,
|
|
1652
|
+
const r = e.indexOf("-[");
|
|
1653
|
+
if (r <= 0 || !e.endsWith("]")) return null;
|
|
1654
|
+
const c = e.slice(0, r), a = e.slice(r + 2, -1).replace(/_/g, " "), t = {
|
|
1796
1655
|
bg: "background-color",
|
|
1797
1656
|
shadow: "box-shadow",
|
|
1798
1657
|
p: "padding",
|
|
@@ -1833,83 +1692,98 @@ function se(e) {
|
|
|
1833
1692
|
opacity: "opacity"
|
|
1834
1693
|
};
|
|
1835
1694
|
if (c === "text")
|
|
1836
|
-
return /^\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex)$/.test(
|
|
1837
|
-
if (c === "rotate") return `transform:rotate(${
|
|
1838
|
-
if (c === "scale") return `transform:scale(${
|
|
1839
|
-
if (c === "translate-x") return `transform:translateX(${
|
|
1840
|
-
if (c === "translate-y") return `transform:translateY(${
|
|
1841
|
-
const
|
|
1842
|
-
return
|
|
1695
|
+
return /^\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex)$/.test(a) ? `font-size:${a};` : `color:${a};`;
|
|
1696
|
+
if (c === "rotate") return `transform:rotate(${a});`;
|
|
1697
|
+
if (c === "scale") return `transform:scale(${a});`;
|
|
1698
|
+
if (c === "translate-x") return `transform:translateX(${a});`;
|
|
1699
|
+
if (c === "translate-y") return `transform:translateY(${a});`;
|
|
1700
|
+
const s = t[c] ?? c.replace(/_/g, "-");
|
|
1701
|
+
return s && a ? `${s}:${a};` : null;
|
|
1843
1702
|
}
|
|
1844
|
-
function
|
|
1703
|
+
function Ee(e) {
|
|
1845
1704
|
if (e.startsWith("[") && e.endsWith("]")) {
|
|
1846
1705
|
const c = e.slice(1, -1);
|
|
1847
1706
|
return c.includes("&") ? c : e;
|
|
1848
1707
|
}
|
|
1849
|
-
const
|
|
1850
|
-
if (
|
|
1851
|
-
const c = e.slice(
|
|
1708
|
+
const r = e.indexOf("-[");
|
|
1709
|
+
if (r > 0 && e.endsWith("]")) {
|
|
1710
|
+
const c = e.slice(r + 2, -1).replace(/_/g, "-");
|
|
1852
1711
|
return c.includes("&") ? c : e.replace(/_/g, "-");
|
|
1853
1712
|
}
|
|
1854
1713
|
return null;
|
|
1855
1714
|
}
|
|
1856
|
-
function
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
const i = t.charAt(r), g = t.charCodeAt(r);
|
|
1863
|
-
g === 0 ? o += "�" : /* If the character is in the range [\1-\1f] (U+0001 to U+001F) or is U+007F */ g >= 1 && g <= 31 || g === 127 || // If the character is the first character and is in the range [0-9] (U+0030 to U+0039)
|
|
1864
|
-
r === 0 && g >= 48 && g <= 57 || // If the character is the second character and is in the range [0-9] (U+0030 to U+0039) and the first character is a "-" (U+002D)
|
|
1865
|
-
r === 1 && g >= 48 && g <= 57 && t.charCodeAt(0) === 45 ? o += "\\" + g.toString(16) + " " : /* If the character is the first character and is a "-" (U+002D), and there is no second character */ r === 0 && c === 1 && g === 45 ? o += "\\" + i : /* If the character is not handled by one of the above rules and is one of the following */ g >= 128 || g === 45 || // -
|
|
1866
|
-
g === 95 || // _
|
|
1867
|
-
g >= 48 && g <= 57 || // 0-9
|
|
1868
|
-
g >= 65 && g <= 90 || // A-Z
|
|
1869
|
-
g >= 97 && g <= 122 ? o += i : o += "\\" + i, r++;
|
|
1715
|
+
function sr(e) {
|
|
1716
|
+
const r = [];
|
|
1717
|
+
let c;
|
|
1718
|
+
for (Pe.lastIndex = 0; c = Pe.exec(e); ) {
|
|
1719
|
+
const a = c[2].split(/\s+/).filter(Boolean);
|
|
1720
|
+
a.length && r.push(...a);
|
|
1870
1721
|
}
|
|
1871
|
-
return
|
|
1872
|
-
}
|
|
1873
|
-
function ne(e) {
|
|
1874
|
-
return "." + ve(e);
|
|
1722
|
+
return r;
|
|
1875
1723
|
}
|
|
1876
|
-
|
|
1877
|
-
|
|
1724
|
+
const Pe = /class\s*=\s*(['"])([\s\S]*?)\1/g, ar = {
|
|
1725
|
+
sm: 640,
|
|
1726
|
+
md: 768,
|
|
1727
|
+
lg: 1024,
|
|
1728
|
+
xl: 1280,
|
|
1729
|
+
"2xl": 1536
|
|
1730
|
+
}, ir = {
|
|
1731
|
+
xs: 320,
|
|
1732
|
+
sm: 384,
|
|
1733
|
+
md: 448,
|
|
1734
|
+
lg: 512,
|
|
1735
|
+
xl: 576,
|
|
1736
|
+
"2xl": 672,
|
|
1737
|
+
"3xl": 768,
|
|
1738
|
+
"4xl": 896,
|
|
1739
|
+
"5xl": 1024,
|
|
1740
|
+
"6xl": 1152,
|
|
1741
|
+
"7xl": 1280
|
|
1742
|
+
};
|
|
1743
|
+
function Re(e) {
|
|
1744
|
+
for (const [r, c] of Object.entries(ar))
|
|
1745
|
+
if (e.includes(`@media ${ce[r]}`)) return c;
|
|
1746
|
+
return -1;
|
|
1878
1747
|
}
|
|
1879
|
-
function
|
|
1880
|
-
const
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
const r =
|
|
1884
|
-
|
|
1748
|
+
function Me(e) {
|
|
1749
|
+
for (const [r, c] of Object.entries(ir))
|
|
1750
|
+
if (e.includes(`@container ${Ve[r]}`)) return c;
|
|
1751
|
+
if (e.includes("@container (min-width:")) {
|
|
1752
|
+
const r = /@container \(min-width:(\d+(?:\.\d+)?)(px|rem|em)/.exec(
|
|
1753
|
+
e
|
|
1754
|
+
);
|
|
1755
|
+
if (r) {
|
|
1756
|
+
const c = parseFloat(r[1]), a = r[2];
|
|
1757
|
+
return a === "rem" || a === "em" ? c * 16 : c;
|
|
1758
|
+
}
|
|
1885
1759
|
}
|
|
1886
|
-
return
|
|
1760
|
+
return -1;
|
|
1887
1761
|
}
|
|
1888
|
-
const
|
|
1889
|
-
function
|
|
1890
|
-
const
|
|
1891
|
-
if (
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
const
|
|
1896
|
-
const
|
|
1897
|
-
if (
|
|
1898
|
-
const
|
|
1899
|
-
return
|
|
1900
|
-
},
|
|
1901
|
-
const
|
|
1902
|
-
(
|
|
1903
|
-
),
|
|
1904
|
-
return
|
|
1905
|
-
},
|
|
1906
|
-
const
|
|
1907
|
-
let
|
|
1908
|
-
for (let
|
|
1909
|
-
const
|
|
1910
|
-
|
|
1762
|
+
const U = /* @__PURE__ */ new Map(), Ie = 1e3;
|
|
1763
|
+
function cr(e) {
|
|
1764
|
+
const r = sr(e);
|
|
1765
|
+
if (!r.length) return "";
|
|
1766
|
+
const c = new Set(r), a = Array.from(c).sort().join("\0"), t = U.get(a);
|
|
1767
|
+
if (t !== void 0)
|
|
1768
|
+
return U.delete(a), U.set(a, t), t;
|
|
1769
|
+
const s = [[], [], [], [], []], h = {}, k = (b, x = !1) => {
|
|
1770
|
+
const S = x ? `dark|${b}` : b;
|
|
1771
|
+
if (S in h) return h[S];
|
|
1772
|
+
const j = l(b, x);
|
|
1773
|
+
return h[S] = j, j;
|
|
1774
|
+
}, i = (b) => {
|
|
1775
|
+
const x = b.some((W) => ie.includes(W)), S = b.some(
|
|
1776
|
+
(W) => W.startsWith("@") && (ue.includes(W.slice(1)) || W.match(/^@\[.+\]$/))
|
|
1777
|
+
), j = b.includes("dark");
|
|
1778
|
+
return b.length ? !x && !j && !S ? 1 : j && (x || S) ? 4 : j ? 3 : 2 : 0;
|
|
1779
|
+
}, d = (b) => {
|
|
1780
|
+
const x = [];
|
|
1781
|
+
let S = "", j = 0;
|
|
1782
|
+
for (let W = 0; W < b.length; W++) {
|
|
1783
|
+
const z = b[W];
|
|
1784
|
+
z === "[" || z === "(" ? j++ : (z === "]" || z === ")") && j--, z === ":" && j === 0 ? (x.push(S), S = "") : S += z;
|
|
1911
1785
|
}
|
|
1912
|
-
return
|
|
1786
|
+
return S && x.push(S), x;
|
|
1913
1787
|
}, u = {
|
|
1914
1788
|
hover: ":hover",
|
|
1915
1789
|
focus: ":focus",
|
|
@@ -1923,204 +1797,206 @@ function Qe(e) {
|
|
|
1923
1797
|
even: ":nth-child(even)",
|
|
1924
1798
|
"focus-within": ":focus-within",
|
|
1925
1799
|
"focus-visible": ":focus-visible"
|
|
1926
|
-
},
|
|
1927
|
-
const
|
|
1928
|
-
let
|
|
1929
|
-
for (const
|
|
1930
|
-
let p =
|
|
1931
|
-
if (p.startsWith("!") && (
|
|
1932
|
-
|
|
1800
|
+
}, l = (b, x = !1) => {
|
|
1801
|
+
const S = d(b);
|
|
1802
|
+
let j = "", W = !1;
|
|
1803
|
+
for (const o of S) {
|
|
1804
|
+
let p = o;
|
|
1805
|
+
if (p.startsWith("!") && (W = !0, p = p.slice(1)), p.endsWith("!") && (W = !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") && (me[p] || fe(p) || he(p) || $e(p) || be(p) || xe(p) || le(p))) {
|
|
1806
|
+
j = o;
|
|
1933
1807
|
break;
|
|
1934
1808
|
}
|
|
1935
1809
|
}
|
|
1936
|
-
if (!
|
|
1937
|
-
const
|
|
1938
|
-
if (!
|
|
1939
|
-
const
|
|
1940
|
-
let T =
|
|
1941
|
-
|
|
1942
|
-
const
|
|
1943
|
-
let m =
|
|
1944
|
-
const
|
|
1945
|
-
for (const
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
`.peer:${
|
|
1949
|
-
),
|
|
1950
|
-
T = T.filter((
|
|
1951
|
-
const
|
|
1952
|
-
let
|
|
1953
|
-
const
|
|
1954
|
-
for (const
|
|
1955
|
-
if (
|
|
1810
|
+
if (!j) return null;
|
|
1811
|
+
const z = j.replace(/^!/, "").replace(/!$/, ""), q = me[z] ?? fe(z) ?? he(z) ?? $e(z) ?? be(z) ?? xe(z) ?? le(z);
|
|
1812
|
+
if (!q) return null;
|
|
1813
|
+
const te = S.indexOf(j);
|
|
1814
|
+
let T = te >= 0 ? S.slice(0, te) : [];
|
|
1815
|
+
x && (T = T.filter((o) => o !== "dark"));
|
|
1816
|
+
const ke = ae(b), Y = W ? q.replace(/;/g, " !important;") : q, w = "__SUBJECT__";
|
|
1817
|
+
let m = w;
|
|
1818
|
+
const F = [];
|
|
1819
|
+
for (const o of T)
|
|
1820
|
+
o.startsWith("group-") ? (m = `.group:${o.slice(6)} ${m}`, F.push(o)) : o.startsWith("peer-") && (m = m.replace(
|
|
1821
|
+
w,
|
|
1822
|
+
`.peer:${o.slice(5)}~${w}`
|
|
1823
|
+
), F.push(o));
|
|
1824
|
+
T = T.filter((o) => !F.includes(o));
|
|
1825
|
+
const R = [], J = [];
|
|
1826
|
+
let A = null, X = !1;
|
|
1827
|
+
const Q = [];
|
|
1828
|
+
for (const o of T) {
|
|
1829
|
+
if (o === "dark" || ie.includes(o) || o.startsWith("@") && (ue.includes(o.slice(1)) || o.match(/^@\[.+\]$/)))
|
|
1956
1830
|
continue;
|
|
1957
|
-
if (
|
|
1958
|
-
const
|
|
1959
|
-
|
|
1831
|
+
if (o.startsWith("data-[") && o.endsWith("]")) {
|
|
1832
|
+
const $ = o.slice(6, -1), P = $.includes("=") ? "[data-" + $.replace(/^([^=]+)=(.+)$/, '$1="$2"') + "]" : "[data-" + $ + "]";
|
|
1833
|
+
R.push(P);
|
|
1960
1834
|
continue;
|
|
1961
1835
|
}
|
|
1962
|
-
if (
|
|
1963
|
-
const
|
|
1964
|
-
|
|
1836
|
+
if (o.startsWith("has-[") && o.endsWith("]")) {
|
|
1837
|
+
const $ = o.slice(5, -1).replace(/_/g, " ");
|
|
1838
|
+
R.push(`:has(${$})`);
|
|
1965
1839
|
continue;
|
|
1966
1840
|
}
|
|
1967
|
-
if (
|
|
1968
|
-
const
|
|
1969
|
-
|
|
1841
|
+
if (o.startsWith("not-[") && o.endsWith("]")) {
|
|
1842
|
+
const $ = o.slice(5, -1).replace(/_/g, " ");
|
|
1843
|
+
R.push(`:not(${$})`);
|
|
1970
1844
|
continue;
|
|
1971
1845
|
}
|
|
1972
|
-
if (
|
|
1973
|
-
m = ":is(" +
|
|
1846
|
+
if (o.startsWith("in-[") && o.endsWith("]")) {
|
|
1847
|
+
m = ":is(" + o.slice(4, -1).replace(/_/g, " ") + ") " + m;
|
|
1974
1848
|
continue;
|
|
1975
1849
|
}
|
|
1976
|
-
if (
|
|
1977
|
-
|
|
1850
|
+
if (o === "starting") {
|
|
1851
|
+
X = !0;
|
|
1978
1852
|
continue;
|
|
1979
1853
|
}
|
|
1980
|
-
if (
|
|
1981
|
-
|
|
1854
|
+
if (o.startsWith("supports-[") && o.endsWith("]")) {
|
|
1855
|
+
Q.push(o);
|
|
1982
1856
|
continue;
|
|
1983
1857
|
}
|
|
1984
|
-
const p =
|
|
1858
|
+
const p = Ee(o);
|
|
1985
1859
|
if (p) {
|
|
1986
|
-
|
|
1860
|
+
A = p;
|
|
1987
1861
|
continue;
|
|
1988
1862
|
}
|
|
1989
|
-
const
|
|
1990
|
-
if (
|
|
1991
|
-
|
|
1863
|
+
const C = u[o];
|
|
1864
|
+
if (C) {
|
|
1865
|
+
A ? J.push(C) : R.push(C);
|
|
1992
1866
|
continue;
|
|
1993
1867
|
}
|
|
1994
|
-
const
|
|
1995
|
-
typeof
|
|
1868
|
+
const O = _e[o];
|
|
1869
|
+
typeof O == "function" && (m = O(m, Y).split("{")[0]);
|
|
1996
1870
|
}
|
|
1997
|
-
const
|
|
1998
|
-
function
|
|
1999
|
-
if (!p) return
|
|
2000
|
-
let
|
|
2001
|
-
if (
|
|
2002
|
-
let
|
|
2003
|
-
for (;
|
|
2004
|
-
for (;
|
|
2005
|
-
const
|
|
2006
|
-
if (
|
|
2007
|
-
return
|
|
1871
|
+
const oe = R.join(""), L = J.join("");
|
|
1872
|
+
function ne(o, p) {
|
|
1873
|
+
if (!p) return o;
|
|
1874
|
+
let C = 0, O = 0;
|
|
1875
|
+
if (o.length && (o[0] === ">" || o[0] === "+" || o[0] === "~" || o[0] === " ")) {
|
|
1876
|
+
let $ = 1;
|
|
1877
|
+
for (; $ < o.length && o[$] === " "; ) $++;
|
|
1878
|
+
for (; $ < o.length; $++) {
|
|
1879
|
+
const P = o[$];
|
|
1880
|
+
if (P === "[" ? C++ : P === "]" && C > 0 ? C-- : P === "(" ? O++ : P === ")" && O > 0 && O--, C === 0 && O === 0 && (o[$] === ">" || o[$] === "+" || o[$] === "~" || o[$] === " "))
|
|
1881
|
+
return o.slice(0, $) + p + o.slice($);
|
|
2008
1882
|
}
|
|
2009
|
-
return
|
|
1883
|
+
return o + p;
|
|
2010
1884
|
}
|
|
2011
|
-
for (let
|
|
2012
|
-
const
|
|
2013
|
-
if (
|
|
2014
|
-
return
|
|
1885
|
+
for (let $ = 0; $ < o.length; $++) {
|
|
1886
|
+
const P = o[$];
|
|
1887
|
+
if (P === "[" ? C++ : P === "]" && C > 0 ? C-- : P === "(" ? O++ : P === ")" && O > 0 && O--, C === 0 && O === 0 && (P === ">" || P === "+" || P === "~" || P === " "))
|
|
1888
|
+
return o.slice(0, $) + p + o.slice($);
|
|
2015
1889
|
}
|
|
2016
|
-
return
|
|
1890
|
+
return o + p;
|
|
2017
1891
|
}
|
|
2018
|
-
if (
|
|
2019
|
-
if (
|
|
2020
|
-
const
|
|
2021
|
-
if (
|
|
1892
|
+
if (A)
|
|
1893
|
+
if (A.includes("&")) {
|
|
1894
|
+
const o = A.indexOf("&"), p = A.slice(0, o), C = A.slice(o + 1), O = w + oe;
|
|
1895
|
+
if (R.length === 0)
|
|
2022
1896
|
m = m.replace(
|
|
2023
|
-
|
|
2024
|
-
p +
|
|
1897
|
+
w,
|
|
1898
|
+
p + O + L + C
|
|
2025
1899
|
);
|
|
2026
1900
|
else {
|
|
2027
|
-
const
|
|
1901
|
+
const $ = ne(C, L);
|
|
2028
1902
|
m = m.replace(
|
|
2029
|
-
|
|
2030
|
-
p +
|
|
1903
|
+
w,
|
|
1904
|
+
p + O + $
|
|
2031
1905
|
);
|
|
2032
1906
|
}
|
|
2033
1907
|
} else
|
|
2034
1908
|
m = m.replace(
|
|
2035
|
-
|
|
2036
|
-
`${
|
|
2037
|
-
),
|
|
1909
|
+
w,
|
|
1910
|
+
`${A}${w + oe}`
|
|
1911
|
+
), L && (m = m.replace(w, `${w}${L}`));
|
|
2038
1912
|
else
|
|
2039
1913
|
m = m.replace(
|
|
2040
|
-
|
|
2041
|
-
|
|
1914
|
+
w,
|
|
1915
|
+
w + oe + L
|
|
2042
1916
|
);
|
|
2043
|
-
m = m.replace(new RegExp(
|
|
2044
|
-
const
|
|
2045
|
-
(
|
|
2046
|
-
),
|
|
2047
|
-
(
|
|
2048
|
-
),
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
1917
|
+
m = m.replace(new RegExp(w, "g"), ke);
|
|
1918
|
+
const ee = "__CE_COLOR_MIX_SPLIT__", pe = Y.includes(ee) ? Y.split(ee).map((o) => `${m}{${o}}`) : [`${m}{${Y}}`], V = T.filter(
|
|
1919
|
+
(o) => ie.includes(o)
|
|
1920
|
+
), D = T.filter(
|
|
1921
|
+
(o) => o.startsWith("@") && (ue.includes(o.slice(1)) || o.match(/^@\[.+\]$/))
|
|
1922
|
+
), Z = V.length ? V[V.length - 1] : null, v = D.length ? D[D.length - 1] : null, se = T.includes("dark"), K = H.disableVariants ?? [];
|
|
1923
|
+
if (K.length > 0 && (K.includes("dark") && se || K.includes("responsive") && V.length > 0 || K.includes("container") && D.length > 0 || K.includes("motion") && T.some((o) => o === "motion-reduce" || o === "motion-safe") || K.includes("print") && T.includes("print")))
|
|
1924
|
+
return null;
|
|
1925
|
+
let N = "", E = "";
|
|
1926
|
+
if (se && Z ? N = `@media (prefers-color-scheme: dark) and ${ce[Z]}` : se ? N = "@media (prefers-color-scheme: dark)" : Z && (N = `@media ${ce[Z]}`), v)
|
|
1927
|
+
if (v.startsWith("@[") && v.endsWith("]")) {
|
|
1928
|
+
const o = v.slice(2, -1);
|
|
1929
|
+
if (!/^-?\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex|cm|mm|in|pt|pc)$/.test(o))
|
|
2054
1930
|
return null;
|
|
2055
|
-
|
|
1931
|
+
E = `@container (min-width:${o})`;
|
|
2056
1932
|
} else {
|
|
2057
|
-
const
|
|
2058
|
-
|
|
1933
|
+
const o = v.slice(1);
|
|
1934
|
+
E = `@container ${Ve[o] || `(min-width:${o})`}`;
|
|
2059
1935
|
}
|
|
2060
|
-
let
|
|
2061
|
-
if (
|
|
2062
|
-
const p =
|
|
2063
|
-
|
|
1936
|
+
let M = "";
|
|
1937
|
+
if (Q.length > 0) {
|
|
1938
|
+
const p = Q[Q.length - 1].slice(10, -1).replace(/_/g, " ");
|
|
1939
|
+
M = `@supports ${p.startsWith("not(") || p.startsWith("selector(") || p.startsWith("(") ? p : `(${p})`}`;
|
|
2064
1940
|
}
|
|
2065
|
-
const
|
|
2066
|
-
let p =
|
|
2067
|
-
return
|
|
1941
|
+
const _ = (o) => {
|
|
1942
|
+
let p = o;
|
|
1943
|
+
return X && (p = `@starting-style{${p}}`), M && (p = `${M}{${p}}`), N && E ? `${N}${E}{${p}}` : N ? `${N}{${p}}` : E ? `${E}{${p}}` : p;
|
|
2068
1944
|
};
|
|
2069
|
-
return
|
|
1945
|
+
return pe.map(_).join("");
|
|
2070
1946
|
};
|
|
2071
|
-
for (const
|
|
2072
|
-
const
|
|
2073
|
-
if (
|
|
2074
|
-
if (
|
|
2075
|
-
|
|
1947
|
+
for (const b of c) {
|
|
1948
|
+
const x = d(b), S = x.slice(0, -1), j = x[x.length - 1];
|
|
1949
|
+
if (er(j) !== null) {
|
|
1950
|
+
if (S.length === 0)
|
|
1951
|
+
s[0].push(`${ae(b)}{}`);
|
|
2076
1952
|
else {
|
|
2077
|
-
const
|
|
2078
|
-
if (!
|
|
2079
|
-
const m =
|
|
2080
|
-
let
|
|
2081
|
-
new RegExp(
|
|
1953
|
+
const w = Te(j);
|
|
1954
|
+
if (!w) continue;
|
|
1955
|
+
const m = ae(b), F = ae(j);
|
|
1956
|
+
let R = w.replace(
|
|
1957
|
+
new RegExp(De(F), "g"),
|
|
2082
1958
|
m
|
|
2083
1959
|
);
|
|
2084
|
-
const
|
|
2085
|
-
(
|
|
1960
|
+
const J = S.filter(
|
|
1961
|
+
(X) => ie.includes(X)
|
|
2086
1962
|
);
|
|
2087
|
-
if (
|
|
2088
|
-
const
|
|
2089
|
-
|
|
1963
|
+
if (J.length > 0) {
|
|
1964
|
+
const X = J[J.length - 1];
|
|
1965
|
+
R = `${`@media ${ce[X]}`}{${R}}`;
|
|
2090
1966
|
}
|
|
2091
|
-
|
|
2092
|
-
const
|
|
2093
|
-
|
|
1967
|
+
S.includes("dark") && (R = `@media (prefers-color-scheme: dark){${R}}`);
|
|
1968
|
+
const A = i(S);
|
|
1969
|
+
s[A].push(R);
|
|
2094
1970
|
}
|
|
2095
1971
|
continue;
|
|
2096
1972
|
}
|
|
2097
|
-
let
|
|
2098
|
-
for (let
|
|
2099
|
-
const m =
|
|
2100
|
-
if (
|
|
2101
|
-
|
|
1973
|
+
let z = -1;
|
|
1974
|
+
for (let w = x.length - 1; w >= 0; w--) {
|
|
1975
|
+
const m = x.slice(w).join(":");
|
|
1976
|
+
if (We(m)) {
|
|
1977
|
+
z = w;
|
|
2102
1978
|
break;
|
|
2103
1979
|
}
|
|
2104
1980
|
}
|
|
2105
|
-
if (
|
|
2106
|
-
const
|
|
2107
|
-
if (!
|
|
1981
|
+
if (z >= 0) {
|
|
1982
|
+
const w = x.slice(z).join(":"), m = x.slice(0, z), F = We(w);
|
|
1983
|
+
if (!F) continue;
|
|
2108
1984
|
if (m.length === 0) {
|
|
2109
|
-
|
|
1985
|
+
s[0].push(F);
|
|
2110
1986
|
continue;
|
|
2111
1987
|
}
|
|
2112
|
-
const
|
|
1988
|
+
const R = Se(b), J = Se(w), A = F.replace(
|
|
2113
1989
|
new RegExp(
|
|
2114
|
-
`\\.${
|
|
1990
|
+
`\\.${J.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}`,
|
|
2115
1991
|
"g"
|
|
2116
1992
|
),
|
|
2117
|
-
`.${
|
|
2118
|
-
),
|
|
2119
|
-
if (
|
|
2120
|
-
|
|
1993
|
+
`.${R}`
|
|
1994
|
+
), X = /(.+?)\s+(.+?)\{([^}]+)\}/g, Q = [...A.matchAll(X)];
|
|
1995
|
+
if (Q.length === 0) {
|
|
1996
|
+
s[0].push(F);
|
|
2121
1997
|
continue;
|
|
2122
1998
|
}
|
|
2123
|
-
const
|
|
1999
|
+
const oe = i(m), L = {
|
|
2124
2000
|
hover: ":hover",
|
|
2125
2001
|
focus: ":focus",
|
|
2126
2002
|
active: ":active",
|
|
@@ -2133,42 +2009,42 @@ function Qe(e) {
|
|
|
2133
2009
|
even: ":nth-child(even)",
|
|
2134
2010
|
"focus-within": ":focus-within",
|
|
2135
2011
|
"focus-visible": ":focus-visible"
|
|
2136
|
-
},
|
|
2137
|
-
let
|
|
2138
|
-
for (const
|
|
2139
|
-
|
|
2140
|
-
for (const
|
|
2141
|
-
const [,
|
|
2142
|
-
let
|
|
2143
|
-
for (const
|
|
2144
|
-
if (
|
|
2145
|
-
const
|
|
2146
|
-
|
|
2147
|
-
} else if (
|
|
2148
|
-
const
|
|
2149
|
-
|
|
2012
|
+
}, ne = [], ee = [], pe = [], V = [], D = [];
|
|
2013
|
+
let Z = !1;
|
|
2014
|
+
for (const v of m)
|
|
2015
|
+
v.startsWith("group-") || v.startsWith("peer-") ? ne.push(v) : v === "dark" || v === "dark-class" ? Z = !0 : ie.includes(v) ? V.push(v) : v.startsWith("@") && (ue.includes(v.slice(1)) || v.match(/^@\[.+\]$/)) ? D.push(v) : v.startsWith("[") && v.endsWith("]") ? pe.push(v) : (L[v] || _e[v]) && ee.push(v);
|
|
2016
|
+
for (const v of Q) {
|
|
2017
|
+
const [, se, K, N] = v;
|
|
2018
|
+
let E = `${se} ${K}`;
|
|
2019
|
+
for (const _ of ne)
|
|
2020
|
+
if (_.startsWith("group-")) {
|
|
2021
|
+
const o = _.slice(6);
|
|
2022
|
+
E = `.group${L[o] || `:${o}`} ${E}`;
|
|
2023
|
+
} else if (_.startsWith("peer-")) {
|
|
2024
|
+
const o = _.slice(5);
|
|
2025
|
+
E = `.peer${L[o] || `:${o}`}~${E}`;
|
|
2150
2026
|
}
|
|
2151
|
-
if (
|
|
2152
|
-
const
|
|
2153
|
-
|
|
2027
|
+
if (ee.length > 0) {
|
|
2028
|
+
const _ = ee.map((o) => L[o] || `:${o}`).join("");
|
|
2029
|
+
E = `${E}${_}`;
|
|
2154
2030
|
}
|
|
2155
|
-
for (const
|
|
2156
|
-
const
|
|
2157
|
-
if (
|
|
2158
|
-
const
|
|
2159
|
-
|
|
2031
|
+
for (const _ of pe) {
|
|
2032
|
+
const o = Ee(_);
|
|
2033
|
+
if (o && o.includes("&")) {
|
|
2034
|
+
const p = o.indexOf("&"), C = o.slice(0, p), O = o.slice(p + 1);
|
|
2035
|
+
E = `${C}${E}${O}`;
|
|
2160
2036
|
}
|
|
2161
2037
|
}
|
|
2162
|
-
let
|
|
2163
|
-
if (
|
|
2164
|
-
const
|
|
2165
|
-
if (
|
|
2166
|
-
const
|
|
2038
|
+
let M = `${E}{${N}}`;
|
|
2039
|
+
if (Z && (M = `@media (prefers-color-scheme: dark){${M}}`), D.length > 0) {
|
|
2040
|
+
const _ = D[D.length - 1];
|
|
2041
|
+
if (_.startsWith("@[") && _.endsWith("]")) {
|
|
2042
|
+
const o = _.slice(2, -1);
|
|
2167
2043
|
/^-?\d*\.?\d+(px|rem|em|%|vh|vw|ch|ex|cm|mm|in|pt|pc)$/.test(
|
|
2168
|
-
|
|
2169
|
-
) && (
|
|
2044
|
+
o
|
|
2045
|
+
) && (M = `@container (min-width:${o}){${M}}`);
|
|
2170
2046
|
} else {
|
|
2171
|
-
const
|
|
2047
|
+
const o = _.slice(1), C = {
|
|
2172
2048
|
xs: "20rem",
|
|
2173
2049
|
sm: "24rem",
|
|
2174
2050
|
md: "28rem",
|
|
@@ -2180,385 +2056,69 @@ function Qe(e) {
|
|
|
2180
2056
|
"5xl": "64rem",
|
|
2181
2057
|
"6xl": "72rem",
|
|
2182
2058
|
"7xl": "80rem"
|
|
2183
|
-
}[
|
|
2184
|
-
if (
|
|
2185
|
-
const
|
|
2186
|
-
|
|
2059
|
+
}[o];
|
|
2060
|
+
if (C) {
|
|
2061
|
+
const O = b.match(/@([^/]+)\//)?.[1] || "";
|
|
2062
|
+
M = O ? `@container ${O} (min-width: ${C}){${M}}` : `@container (min-width: ${C}){${M}}`;
|
|
2187
2063
|
}
|
|
2188
2064
|
}
|
|
2189
2065
|
}
|
|
2190
|
-
if (
|
|
2191
|
-
const
|
|
2192
|
-
|
|
2066
|
+
if (V.length > 0) {
|
|
2067
|
+
const _ = V[V.length - 1];
|
|
2068
|
+
M = `${`@media ${ce[_]}`}{${M}}`;
|
|
2193
2069
|
}
|
|
2194
|
-
|
|
2070
|
+
s[oe].push(M);
|
|
2195
2071
|
}
|
|
2196
2072
|
continue;
|
|
2197
2073
|
}
|
|
2198
|
-
const
|
|
2199
|
-
const m =
|
|
2200
|
-
return
|
|
2074
|
+
const q = x.find((w) => {
|
|
2075
|
+
const m = w.replace(/^!/, "").replace(/!$/, "");
|
|
2076
|
+
return me[m] || fe(m) || he(m) || $e(m) || be(m) || xe(m) || le(m);
|
|
2201
2077
|
});
|
|
2202
|
-
if (!
|
|
2203
|
-
const
|
|
2204
|
-
|
|
2078
|
+
if (!q) continue;
|
|
2079
|
+
const te = x.indexOf(q), T = te >= 0 ? x.slice(0, te) : [], ke = i(T), Y = k(b);
|
|
2080
|
+
Y && s[ke].push(Y);
|
|
2205
2081
|
}
|
|
2206
|
-
const
|
|
2207
|
-
for (const
|
|
2208
|
-
if (
|
|
2209
|
-
if (
|
|
2210
|
-
const
|
|
2211
|
-
|
|
2082
|
+
const f = /^(from|via|to)-[a-z]+-?\d{2,3}?$/, n = s.flat().join("");
|
|
2083
|
+
for (const b of c)
|
|
2084
|
+
if (f.test(b)) {
|
|
2085
|
+
if (n.includes(ae(b))) continue;
|
|
2086
|
+
const x = k(b);
|
|
2087
|
+
x && s[0].push(x);
|
|
2212
2088
|
}
|
|
2213
|
-
const
|
|
2214
|
-
const
|
|
2215
|
-
|
|
2216
|
-
sm: 640,
|
|
2217
|
-
md: 768,
|
|
2218
|
-
lg: 1024,
|
|
2219
|
-
xl: 1280,
|
|
2220
|
-
"2xl": 1536
|
|
2221
|
-
};
|
|
2222
|
-
for (const [x, m] of Object.entries(W))
|
|
2223
|
-
if (z.includes(`@media ${te[x]}`)) return m;
|
|
2224
|
-
return -1;
|
|
2225
|
-
}, j = (z) => {
|
|
2226
|
-
const W = {
|
|
2227
|
-
xs: 320,
|
|
2228
|
-
// 20rem
|
|
2229
|
-
sm: 384,
|
|
2230
|
-
// 24rem
|
|
2231
|
-
md: 448,
|
|
2232
|
-
// 28rem
|
|
2233
|
-
lg: 512,
|
|
2234
|
-
// 32rem
|
|
2235
|
-
xl: 576,
|
|
2236
|
-
// 36rem
|
|
2237
|
-
"2xl": 672,
|
|
2238
|
-
// 42rem
|
|
2239
|
-
"3xl": 768,
|
|
2240
|
-
// 48rem
|
|
2241
|
-
"4xl": 896,
|
|
2242
|
-
// 56rem
|
|
2243
|
-
"5xl": 1024,
|
|
2244
|
-
// 64rem
|
|
2245
|
-
"6xl": 1152,
|
|
2246
|
-
// 72rem
|
|
2247
|
-
"7xl": 1280
|
|
2248
|
-
// 80rem
|
|
2249
|
-
};
|
|
2250
|
-
for (const [x, m] of Object.entries(W))
|
|
2251
|
-
if (z.includes(`@container ${Ce[x]}`)) return m;
|
|
2252
|
-
if (z.includes("@container (min-width:")) {
|
|
2253
|
-
const x = /@container \(min-width:(\d+(?:\.\d+)?)(px|rem|em)/.exec(z);
|
|
2254
|
-
if (x) {
|
|
2255
|
-
const m = parseFloat(x[1]), C = x[2];
|
|
2256
|
-
return C === "rem" || C === "em" ? m * 16 : m;
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2259
|
-
return -1;
|
|
2260
|
-
}, k = y(f), _ = y($), P = j(f), T = j($);
|
|
2261
|
-
return k >= 0 && _ >= 0 && k !== _ ? k - _ : P >= 0 && T >= 0 && P !== T ? P - T : 0;
|
|
2089
|
+
const g = (b) => b.sort((x, S) => {
|
|
2090
|
+
const j = Re(x), W = Re(S), z = Me(x), q = Me(S);
|
|
2091
|
+
return j >= 0 && W >= 0 && j !== W ? j - W : z >= 0 && q >= 0 && z !== q ? z - q : 0;
|
|
2262
2092
|
});
|
|
2263
|
-
|
|
2264
|
-
const
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
const ie = {
|
|
2271
|
-
/** Simple fade in/out */
|
|
2272
|
-
fade: {
|
|
2273
|
-
enterFrom: "opacity-0",
|
|
2274
|
-
enterActive: "transition-opacity duration-300 ease-out",
|
|
2275
|
-
enterTo: "opacity-100",
|
|
2276
|
-
leaveFrom: "opacity-100",
|
|
2277
|
-
leaveActive: "transition-opacity duration-200 ease-in",
|
|
2278
|
-
leaveTo: "opacity-0"
|
|
2279
|
-
},
|
|
2280
|
-
/** Slide in from right */
|
|
2281
|
-
"slide-right": {
|
|
2282
|
-
enterFrom: "translate-x-[100%] opacity-0",
|
|
2283
|
-
enterActive: "transition-all duration-300 ease-out",
|
|
2284
|
-
enterTo: "translate-x-[0%] opacity-100",
|
|
2285
|
-
leaveFrom: "translate-x-[0%] opacity-100",
|
|
2286
|
-
leaveActive: "transition-all duration-200 ease-in",
|
|
2287
|
-
leaveTo: "translate-x-[100%] opacity-0"
|
|
2288
|
-
},
|
|
2289
|
-
/** Slide in from left */
|
|
2290
|
-
"slide-left": {
|
|
2291
|
-
enterFrom: "translate-x-[-100%] opacity-0",
|
|
2292
|
-
enterActive: "transition-all duration-300 ease-out",
|
|
2293
|
-
enterTo: "translate-x-[0%] opacity-100",
|
|
2294
|
-
leaveFrom: "translate-x-[0%] opacity-100",
|
|
2295
|
-
leaveActive: "transition-all duration-200 ease-in",
|
|
2296
|
-
leaveTo: "translate-x-[-100%] opacity-0"
|
|
2297
|
-
},
|
|
2298
|
-
/** Slide up from bottom */
|
|
2299
|
-
"slide-up": {
|
|
2300
|
-
enterFrom: "translate-y-[100%] opacity-0",
|
|
2301
|
-
enterActive: "transition-all duration-300 ease-out",
|
|
2302
|
-
enterTo: "translate-y-[0%] opacity-100",
|
|
2303
|
-
leaveFrom: "translate-y-[0%] opacity-100",
|
|
2304
|
-
leaveActive: "transition-all duration-200 ease-in",
|
|
2305
|
-
leaveTo: "translate-y-[100%] opacity-0"
|
|
2306
|
-
},
|
|
2307
|
-
/** Slide down from top */
|
|
2308
|
-
"slide-down": {
|
|
2309
|
-
enterFrom: "translate-y-[-100%] opacity-0",
|
|
2310
|
-
enterActive: "transition-all duration-300 ease-out",
|
|
2311
|
-
enterTo: "translate-y-[0%] opacity-100",
|
|
2312
|
-
leaveFrom: "translate-y-[0%] opacity-100",
|
|
2313
|
-
leaveActive: "transition-all duration-200 ease-in",
|
|
2314
|
-
leaveTo: "translate-y-[-100%] opacity-0"
|
|
2315
|
-
},
|
|
2316
|
-
/** Scale up from center */
|
|
2317
|
-
scale: {
|
|
2318
|
-
enterFrom: "scale-95 opacity-0",
|
|
2319
|
-
enterActive: "transition-all duration-200 ease-out",
|
|
2320
|
-
enterTo: "scale-100 opacity-100",
|
|
2321
|
-
leaveFrom: "scale-100 opacity-100",
|
|
2322
|
-
leaveActive: "transition-all duration-150 ease-in",
|
|
2323
|
-
leaveTo: "scale-95 opacity-0"
|
|
2324
|
-
},
|
|
2325
|
-
/** Scale down to center */
|
|
2326
|
-
"scale-down": {
|
|
2327
|
-
enterFrom: "scale-105 opacity-0",
|
|
2328
|
-
enterActive: "transition-all duration-200 ease-out",
|
|
2329
|
-
enterTo: "scale-100 opacity-100",
|
|
2330
|
-
leaveFrom: "scale-100 opacity-100",
|
|
2331
|
-
leaveActive: "transition-all duration-150 ease-in",
|
|
2332
|
-
leaveTo: "scale-105 opacity-0"
|
|
2333
|
-
},
|
|
2334
|
-
/** Bounce effect */
|
|
2335
|
-
bounce: {
|
|
2336
|
-
enterFrom: "scale-0 opacity-0",
|
|
2337
|
-
enterActive: "transition-all duration-500 ease-out",
|
|
2338
|
-
enterTo: "scale-100 opacity-100",
|
|
2339
|
-
leaveFrom: "scale-100 opacity-100",
|
|
2340
|
-
leaveActive: "transition-all duration-200 ease-in",
|
|
2341
|
-
leaveTo: "scale-0 opacity-0"
|
|
2342
|
-
},
|
|
2343
|
-
/** Zoom and fade */
|
|
2344
|
-
zoom: {
|
|
2345
|
-
enterFrom: "scale-0 opacity-0",
|
|
2346
|
-
enterActive: "transition-all duration-300 ease-out",
|
|
2347
|
-
enterTo: "scale-100 opacity-100",
|
|
2348
|
-
leaveFrom: "scale-100 opacity-100",
|
|
2349
|
-
leaveActive: "transition-all duration-200 ease-in",
|
|
2350
|
-
leaveTo: "scale-0 opacity-0"
|
|
2351
|
-
},
|
|
2352
|
-
/** Flip in */
|
|
2353
|
-
flip: {
|
|
2354
|
-
enterFrom: "rotate-[90deg] opacity-0",
|
|
2355
|
-
enterActive: "transition-all duration-400 ease-out",
|
|
2356
|
-
enterTo: "rotate-[0deg] opacity-100",
|
|
2357
|
-
leaveFrom: "rotate-[0deg] opacity-100",
|
|
2358
|
-
leaveActive: "transition-all duration-300 ease-in",
|
|
2359
|
-
leaveTo: "rotate-[90deg] opacity-0"
|
|
2360
|
-
}
|
|
2361
|
-
};
|
|
2362
|
-
function rr(e, t) {
|
|
2363
|
-
const {
|
|
2364
|
-
preset: c,
|
|
2365
|
-
show: o,
|
|
2366
|
-
mode: r = "default",
|
|
2367
|
-
duration: i,
|
|
2368
|
-
appear: g = !1,
|
|
2369
|
-
css: w = !0,
|
|
2370
|
-
name: s,
|
|
2371
|
-
enterFrom: u,
|
|
2372
|
-
enterActive: h,
|
|
2373
|
-
enterTo: l,
|
|
2374
|
-
leaveFrom: b,
|
|
2375
|
-
leaveActive: n,
|
|
2376
|
-
leaveTo: d,
|
|
2377
|
-
onBeforeEnter: f,
|
|
2378
|
-
onEnter: $,
|
|
2379
|
-
onAfterEnter: y,
|
|
2380
|
-
onEnterCancelled: j,
|
|
2381
|
-
onBeforeLeave: k,
|
|
2382
|
-
onLeave: _,
|
|
2383
|
-
onAfterLeave: P,
|
|
2384
|
-
onLeaveCancelled: T
|
|
2385
|
-
} = e;
|
|
2386
|
-
let z;
|
|
2387
|
-
c && ie[c] ? (z = { ...ie[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 = {
|
|
2388
|
-
enterFrom: u,
|
|
2389
|
-
enterActive: h,
|
|
2390
|
-
enterTo: l,
|
|
2391
|
-
leaveFrom: b,
|
|
2392
|
-
leaveActive: n,
|
|
2393
|
-
leaveTo: d
|
|
2394
|
-
};
|
|
2395
|
-
const W = o && typeof t == "function" ? t() : t, x = s || (c ? `transition-${c}` : "transition"), m = Fe(
|
|
2396
|
-
o ? W : [],
|
|
2397
|
-
x
|
|
2398
|
-
);
|
|
2399
|
-
return m._transition = {
|
|
2400
|
-
name: x,
|
|
2401
|
-
classes: z,
|
|
2402
|
-
mode: r,
|
|
2403
|
-
duration: i,
|
|
2404
|
-
appear: g,
|
|
2405
|
-
css: w,
|
|
2406
|
-
state: o ? "visible" : "hidden",
|
|
2407
|
-
hooks: {
|
|
2408
|
-
onBeforeEnter: f,
|
|
2409
|
-
onEnter: $,
|
|
2410
|
-
onAfterEnter: y,
|
|
2411
|
-
onEnterCancelled: j,
|
|
2412
|
-
onBeforeLeave: k,
|
|
2413
|
-
onLeave: _,
|
|
2414
|
-
onAfterLeave: P,
|
|
2415
|
-
onLeaveCancelled: T
|
|
2416
|
-
}
|
|
2417
|
-
}, m;
|
|
2418
|
-
}
|
|
2419
|
-
function tr(e, t) {
|
|
2420
|
-
const {
|
|
2421
|
-
tag: c = "div",
|
|
2422
|
-
moveClass: o = "transition-transform duration-300",
|
|
2423
|
-
preset: r,
|
|
2424
|
-
show: i = !0,
|
|
2425
|
-
mode: g = "default",
|
|
2426
|
-
duration: w,
|
|
2427
|
-
appear: s = !1,
|
|
2428
|
-
css: u = !0,
|
|
2429
|
-
name: h,
|
|
2430
|
-
class: l,
|
|
2431
|
-
style: b,
|
|
2432
|
-
enterFrom: n,
|
|
2433
|
-
enterActive: d,
|
|
2434
|
-
enterTo: f,
|
|
2435
|
-
leaveFrom: $,
|
|
2436
|
-
leaveActive: y,
|
|
2437
|
-
leaveTo: j,
|
|
2438
|
-
onBeforeEnter: k,
|
|
2439
|
-
onEnter: _,
|
|
2440
|
-
onAfterEnter: P,
|
|
2441
|
-
onEnterCancelled: T,
|
|
2442
|
-
onBeforeLeave: z,
|
|
2443
|
-
onLeave: W,
|
|
2444
|
-
onAfterLeave: x,
|
|
2445
|
-
onLeaveCancelled: m
|
|
2446
|
-
} = e;
|
|
2447
|
-
let C;
|
|
2448
|
-
r && ie[r] ? (C = { ...ie[r] }, n && (C.enterFrom = n), d && (C.enterActive = d), f && (C.enterTo = f), $ && (C.leaveFrom = $), y && (C.leaveActive = y), j && (C.leaveTo = j)) : C = {
|
|
2449
|
-
enterFrom: n,
|
|
2450
|
-
enterActive: d,
|
|
2451
|
-
enterTo: f,
|
|
2452
|
-
leaveFrom: $,
|
|
2453
|
-
leaveActive: y,
|
|
2454
|
-
leaveTo: j
|
|
2455
|
-
};
|
|
2456
|
-
const E = h || (r ? `transition-group-${r}` : "transition-group"), L = [];
|
|
2457
|
-
for (const F of i ? t : [])
|
|
2458
|
-
if (F && typeof F == "object" && F.tag === "#anchor") {
|
|
2459
|
-
const I = Array.isArray(F.children) ? F.children : [];
|
|
2460
|
-
for (const N of I)
|
|
2461
|
-
if (N && typeof N == "object") {
|
|
2462
|
-
const V = {
|
|
2463
|
-
...N,
|
|
2464
|
-
key: F.key || N.key,
|
|
2465
|
-
props: {
|
|
2466
|
-
...N.props,
|
|
2467
|
-
_anchorKey: F.key
|
|
2468
|
-
// Preserve original anchor key
|
|
2469
|
-
}
|
|
2470
|
-
};
|
|
2471
|
-
L.push(V);
|
|
2472
|
-
} else
|
|
2473
|
-
L.push(N);
|
|
2474
|
-
} else
|
|
2475
|
-
L.push(F);
|
|
2476
|
-
const R = (() => {
|
|
2477
|
-
if (b)
|
|
2478
|
-
return typeof b == "string" ? b : Object.entries(b).map(([F, I]) => `${F}: ${I}`).join("; ");
|
|
2479
|
-
})();
|
|
2480
|
-
return {
|
|
2481
|
-
tag: c,
|
|
2482
|
-
children: L,
|
|
2483
|
-
key: E,
|
|
2484
|
-
props: {
|
|
2485
|
-
attrs: {
|
|
2486
|
-
...l ? { class: l } : {},
|
|
2487
|
-
...R ? { style: R } : {}
|
|
2488
|
-
},
|
|
2489
|
-
_transitionGroup: {
|
|
2490
|
-
name: E,
|
|
2491
|
-
classes: C,
|
|
2492
|
-
moveClass: o,
|
|
2493
|
-
mode: g,
|
|
2494
|
-
duration: w,
|
|
2495
|
-
appear: s,
|
|
2496
|
-
css: u,
|
|
2497
|
-
hooks: {
|
|
2498
|
-
onBeforeEnter: k,
|
|
2499
|
-
onEnter: _,
|
|
2500
|
-
onAfterEnter: P,
|
|
2501
|
-
onEnterCancelled: T,
|
|
2502
|
-
onBeforeLeave: z,
|
|
2503
|
-
onLeave: W,
|
|
2504
|
-
onAfterLeave: x,
|
|
2505
|
-
onLeaveCancelled: m
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
}
|
|
2509
|
-
};
|
|
2510
|
-
}
|
|
2511
|
-
function or(e) {
|
|
2512
|
-
return { ...e };
|
|
2513
|
-
}
|
|
2514
|
-
let Z = null;
|
|
2515
|
-
function Ge() {
|
|
2516
|
-
if (!Z) {
|
|
2517
|
-
if (typeof CSSStyleSheet > "u")
|
|
2518
|
-
return Z = {
|
|
2519
|
-
cssRules: [],
|
|
2520
|
-
replaceSync: () => {
|
|
2521
|
-
},
|
|
2522
|
-
toString: () => ""
|
|
2523
|
-
}, Z;
|
|
2524
|
-
const e = [];
|
|
2525
|
-
Object.values(ie).forEach((o) => {
|
|
2526
|
-
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);
|
|
2527
|
-
});
|
|
2528
|
-
const t = `<div class="${e.join(" ")}"></div>`, c = Qe(t);
|
|
2529
|
-
try {
|
|
2530
|
-
Z = new CSSStyleSheet(), Z.replaceSync(c);
|
|
2531
|
-
} catch {
|
|
2532
|
-
Z = {
|
|
2533
|
-
cssRules: [],
|
|
2534
|
-
replaceSync: () => {
|
|
2535
|
-
},
|
|
2536
|
-
toString: () => c || ""
|
|
2537
|
-
};
|
|
2093
|
+
s[2] = g(s[2]), s[4] = g(s[4]);
|
|
2094
|
+
const y = s.flat().join("");
|
|
2095
|
+
if (U.size >= Ie) {
|
|
2096
|
+
let b = Math.floor(Ie / 2);
|
|
2097
|
+
for (const x of U.keys()) {
|
|
2098
|
+
if (b-- === 0) break;
|
|
2099
|
+
U.delete(x);
|
|
2538
2100
|
}
|
|
2539
2101
|
}
|
|
2540
|
-
return
|
|
2541
|
-
}
|
|
2542
|
-
function Ye() {
|
|
2543
|
-
if (!(typeof window > "u" || typeof CSSStyleSheet > "u"))
|
|
2544
|
-
try {
|
|
2545
|
-
Ge();
|
|
2546
|
-
} catch {
|
|
2547
|
-
}
|
|
2102
|
+
return U.set(a, y), y;
|
|
2548
2103
|
}
|
|
2549
|
-
Ye();
|
|
2550
2104
|
export {
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2105
|
+
Ve as a,
|
|
2106
|
+
sr as b,
|
|
2107
|
+
qe as c,
|
|
2108
|
+
mr as d,
|
|
2109
|
+
gr as e,
|
|
2110
|
+
Ge as f,
|
|
2111
|
+
fr as g,
|
|
2112
|
+
or as h,
|
|
2113
|
+
pr as i,
|
|
2114
|
+
cr as j,
|
|
2115
|
+
be as k,
|
|
2116
|
+
xe as l,
|
|
2117
|
+
ce as m,
|
|
2118
|
+
fe as n,
|
|
2119
|
+
le as p,
|
|
2120
|
+
ur as r,
|
|
2121
|
+
_e as s,
|
|
2122
|
+
me as u
|
|
2563
2123
|
};
|
|
2564
|
-
//# sourceMappingURL=
|
|
2124
|
+
//# sourceMappingURL=style-BmyOIMcU.js.map
|