effcss 1.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/LICENSE +251 -0
- package/README.md +152 -0
- package/dist/build/define-provider-with-configs.min.js +1 -0
- package/dist/build/define-provider.min.js +1 -0
- package/dist/configs/basic.js +1 -0
- package/dist/configs/ext.js +1 -0
- package/dist/css/dict.js +1 -0
- package/dist/css/functions.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/allConfigs.d.ts +1 -0
- package/dist/types/build/defineProvider.d.ts +1 -0
- package/dist/types/build/defineProviderWithConfigs.d.ts +1 -0
- package/dist/types/defineProvider.d.ts +1 -0
- package/dist/types/defineProviderWithConfigs.d.ts +1 -0
- package/dist/types/src/_provider/constants.d.ts +5 -0
- package/dist/types/src/_provider/manage.d.ts +35 -0
- package/dist/types/src/_provider/process.d.ts +102 -0
- package/dist/types/src/configs/basic/Agent.d.ts +3 -0
- package/dist/types/src/configs/basic/AgentColor.d.ts +3 -0
- package/dist/types/src/configs/basic/Animation.d.ts +3 -0
- package/dist/types/src/configs/basic/Background.d.ts +3 -0
- package/dist/types/src/configs/basic/Border.d.ts +3 -0
- package/dist/types/src/configs/basic/BorderExt.d.ts +3 -0
- package/dist/types/src/configs/basic/Box.d.ts +3 -0
- package/dist/types/src/configs/basic/Color.d.ts +3 -0
- package/dist/types/src/configs/basic/Column.d.ts +3 -0
- package/dist/types/src/configs/basic/FlexContainer.d.ts +3 -0
- package/dist/types/src/configs/basic/FlexItem.d.ts +3 -0
- package/dist/types/src/configs/basic/Font.d.ts +3 -0
- package/dist/types/src/configs/basic/GridContainer.d.ts +3 -0
- package/dist/types/src/configs/basic/GridItem.d.ts +3 -0
- package/dist/types/src/configs/basic/Indent.d.ts +3 -0
- package/dist/types/src/configs/basic/Inset.d.ts +3 -0
- package/dist/types/src/configs/basic/Mask.d.ts +3 -0
- package/dist/types/src/configs/basic/Object.d.ts +3 -0
- package/dist/types/src/configs/basic/Outline.d.ts +3 -0
- package/dist/types/src/configs/basic/Scroll.d.ts +3 -0
- package/dist/types/src/configs/basic/ScrollExt.d.ts +3 -0
- package/dist/types/src/configs/basic/Size.d.ts +3 -0
- package/dist/types/src/configs/basic/SizeExt.d.ts +3 -0
- package/dist/types/src/configs/basic/Text.d.ts +3 -0
- package/dist/types/src/configs/basic/Transform.d.ts +3 -0
- package/dist/types/src/configs/basic/Transition.d.ts +3 -0
- package/dist/types/src/configs/basic/User.d.ts +3 -0
- package/dist/types/src/configs/basic/View.d.ts +3 -0
- package/dist/types/src/configs/basic.d.ts +112 -0
- package/dist/types/src/configs/ext/Keyframes.d.ts +6 -0
- package/dist/types/src/configs/ext/Reset.d.ts +3 -0
- package/dist/types/src/configs/ext.d.ts +8 -0
- package/dist/types/src/css/dict.d.ts +4 -0
- package/dist/types/src/css/functions.d.ts +443 -0
- package/dist/types/src/index.d.ts +11 -0
- package/dist/types/src/types.d.ts +358 -0
- package/dist/types/src/utils.d.ts +88 -0
- package/dist/types/tests/Processor.test.d.ts +1 -0
- package/dist/utils.js +1 -0
- package/package.json +67 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
|
203
|
+
## Some of TensorFlow's code is derived from Caffe, which is subject to the following copyright notice:
|
|
204
|
+
|
|
205
|
+
COPYRIGHT
|
|
206
|
+
|
|
207
|
+
All contributions by the University of California:
|
|
208
|
+
|
|
209
|
+
Copyright (c) 2014, The Regents of the University of California (Regents)
|
|
210
|
+
All rights reserved.
|
|
211
|
+
|
|
212
|
+
All other contributions:
|
|
213
|
+
|
|
214
|
+
Copyright (c) 2014, the respective contributors
|
|
215
|
+
All rights reserved.
|
|
216
|
+
|
|
217
|
+
Caffe uses a shared copyright model: each contributor holds copyright over
|
|
218
|
+
their contributions to Caffe. The project versioning records all such
|
|
219
|
+
contribution and copyright details. If a contributor wants to further mark
|
|
220
|
+
their specific copyright on a particular contribution, they should indicate
|
|
221
|
+
their copyright solely in the commit message of the change when it is
|
|
222
|
+
committed.
|
|
223
|
+
|
|
224
|
+
LICENSE
|
|
225
|
+
|
|
226
|
+
Redistribution and use in source and binary forms, with or without
|
|
227
|
+
modification, are permitted provided that the following conditions are met:
|
|
228
|
+
|
|
229
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
230
|
+
list of conditions and the following disclaimer.
|
|
231
|
+
|
|
232
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
233
|
+
this list of conditions and the following disclaimer in the documentation
|
|
234
|
+
and/or other materials provided with the distribution.
|
|
235
|
+
|
|
236
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
237
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
238
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
239
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
240
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
241
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
242
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
243
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
244
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
245
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
246
|
+
|
|
247
|
+
CONTRIBUTION AGREEMENT
|
|
248
|
+
|
|
249
|
+
By contributing to the BVLC/caffe repository through pull-request, comment,
|
|
250
|
+
or otherwise, the contributor releases their content to the
|
|
251
|
+
license and copyright terms herein.
|
package/README.md
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Effcss
|
|
2
|
+
|
|
3
|
+
Effcss is a next generation CSS-in-JS library based only on the browser APIs.
|
|
4
|
+
|
|
5
|
+
## Some features
|
|
6
|
+
|
|
7
|
+
- zero-dependency
|
|
8
|
+
- framework agnostic
|
|
9
|
+
- customizable
|
|
10
|
+
- runtime stylesheets generation
|
|
11
|
+
- built-in BEM support
|
|
12
|
+
- concise style description format
|
|
13
|
+
- support switching style modes (dark mode, light mode, etc.)
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
Install it from npm:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
npm i effcss
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Usage example
|
|
24
|
+
|
|
25
|
+
See simple usage example in `demo` folder
|
|
26
|
+
|
|
27
|
+
## Concepts
|
|
28
|
+
|
|
29
|
+
Effcss consists of two parts - **style provider** and **style config**.
|
|
30
|
+
|
|
31
|
+
**Style provider** is the static part that defines special web component (by default, `<style-provider>`). It should be connected in separate script-tag inside html head or manually defined in page scripts.
|
|
32
|
+
|
|
33
|
+
**Style config** is the dynamic part that configures the behavior of the web component and defines the initial styles of the page. **Styles config** consists of 3 fields:
|
|
34
|
+
- styles - initial style objects;
|
|
35
|
+
- ext - initial expanded rules for style objects;
|
|
36
|
+
- params - custom global values for interpolation. Params contains style modes, the mandatory mode is `root`;
|
|
37
|
+
|
|
38
|
+
This **style config** can be defined in at least two ways:
|
|
39
|
+
- it can be passed to the `<style-provider>` definition function;
|
|
40
|
+
- it can be specified in a separate script tag text content in the JSON format;
|
|
41
|
+
|
|
42
|
+
The second option is more flexible as it allows you to collect the config both on the server side and on the client side.
|
|
43
|
+
|
|
44
|
+
After the first render, styles can be added/changed via the `StyleDispatcher` class or directly via `<style-provider>` methods:
|
|
45
|
+
|
|
46
|
+
```jsx
|
|
47
|
+
import { defineStyleProvider } from "effcss/utils";
|
|
48
|
+
|
|
49
|
+
const styleDispatcher = new StyleDispatcher(document);
|
|
50
|
+
|
|
51
|
+
const root = createRoot(document.getElementById('root'));
|
|
52
|
+
root.render(<App styleDispatcher={styleDispatcher}/>);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Customization
|
|
56
|
+
|
|
57
|
+
You can add your own style configs. While you can write arbitrary rules and selectors, the recommended way is to use the **BEM methodology**. Block key for each style config is its key inside `styles` provider settings. A style config is an object like this:
|
|
58
|
+
|
|
59
|
+
```js
|
|
60
|
+
// in style config it is in 'block' field,
|
|
61
|
+
// so in BEM selector block will be 'block'
|
|
62
|
+
export default {
|
|
63
|
+
// vars
|
|
64
|
+
_: {
|
|
65
|
+
// it will create variable, add key in `k._ar`, add value in `v._.ar`
|
|
66
|
+
// by default variable doesnt inherits and has syntax '"*"'
|
|
67
|
+
ar: {
|
|
68
|
+
// initial value
|
|
69
|
+
ini: 0.5
|
|
70
|
+
},
|
|
71
|
+
back: {
|
|
72
|
+
// creates `oklch()` components variables: l, c, h, a,
|
|
73
|
+
// so there will be 5 vars: --eff-block-backl, --eff-block-backc, ...
|
|
74
|
+
type: 'c'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
// local keys for interpolation
|
|
78
|
+
k: {
|
|
79
|
+
ct: 'container-type'
|
|
80
|
+
},
|
|
81
|
+
// local values for interpolation
|
|
82
|
+
v: {
|
|
83
|
+
h: {
|
|
84
|
+
s: 25,
|
|
85
|
+
m: 50,
|
|
86
|
+
l: 75
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
// rules config
|
|
90
|
+
c: {
|
|
91
|
+
// block root selector - [data-block] {...}
|
|
92
|
+
_: {
|
|
93
|
+
// keys which starts with '$' will be replaced by interpolation;
|
|
94
|
+
// there is no 'bgc' in local keys so it will be used from global dictionary;
|
|
95
|
+
// result will be `background-color: transparent;`
|
|
96
|
+
// you can find global dictionary in `effcss/css/dict`
|
|
97
|
+
$bgc: 'transparent',
|
|
98
|
+
// variable names starts with '$_'
|
|
99
|
+
// result will be `--eff-block-ar: 1;`
|
|
100
|
+
$_ar: 1,
|
|
101
|
+
// special dict keys and with '_'
|
|
102
|
+
// nested selectors except starting with '@' will be prefixed by '&'
|
|
103
|
+
// result will be `[data-`block`] {&:hover {...}}`
|
|
104
|
+
$h_: {
|
|
105
|
+
border: '2px solid black'
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
// block element selector - [data-`block`-e] {...}
|
|
109
|
+
__e: {
|
|
110
|
+
// values which contains "{" will be replaced by interpolation;
|
|
111
|
+
// there is no 'uni' in local values so it will be used from global dictionary;
|
|
112
|
+
// result will be `width: inherit;`
|
|
113
|
+
// you can find global dictionary in `effcss/css/dict`
|
|
114
|
+
width: '{uni.inh}',
|
|
115
|
+
// CSS properties must be written with dashes!
|
|
116
|
+
// interpolation from '_.ar' will get CSS variable value
|
|
117
|
+
// result will be `aspect-ratio: var(--eff-block-ar);`
|
|
118
|
+
'aspect-ratio': '{_.ar}'
|
|
119
|
+
},
|
|
120
|
+
// block boolean modifier - [data-block~="sm"] {...}
|
|
121
|
+
_sm_: {
|
|
122
|
+
...
|
|
123
|
+
},
|
|
124
|
+
// element boolean modifier - [data-block-e~="lg"] {...}
|
|
125
|
+
__e_lg_: {
|
|
126
|
+
...
|
|
127
|
+
},
|
|
128
|
+
// multiple block modifiers
|
|
129
|
+
// result will be `[data-block~="sz-s"] {...};[data-`block`~="sz-m"] {...};`
|
|
130
|
+
_sz: {
|
|
131
|
+
s: {
|
|
132
|
+
$w: '20px'
|
|
133
|
+
},
|
|
134
|
+
m: {
|
|
135
|
+
$w: '40px'
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
// multiple block modifiers from transformed value
|
|
139
|
+
// transformer string always starts with '&'
|
|
140
|
+
// h[s,m] means to get `h` value, filter it with keys [s,m]
|
|
141
|
+
// in the right side {0} - is entry key, {1} - is entry value,
|
|
142
|
+
// other {..} - interpolation keys/values
|
|
143
|
+
// transformed entry splitted by '|', if there is no '|', only value will be evaluated
|
|
144
|
+
// result will be `[data-block~="csz-sh"] {height:25px;}...`
|
|
145
|
+
_csz: '&h[s,m]=>{0}h|{h}:{1}px'
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Docs
|
|
151
|
+
|
|
152
|
+
Coming soon
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"function"==typeof SuppressedError&&SuppressedError;const s=(...s)=>s.join("-"),t=(...s)=>s.join(" "),e=(...s)=>s.join(","),r=s=>`(${s})`,i=(s,t)=>((s,t)=>Object.fromEntries(Object.entries(s).map((s=>t(s)))))(s,(s=>[s[0],t(s[1])])),c=s=>t("@keyframes",s),a=s=>"scale3d"+r(s),o=s=>"scaleX"+r(s),l=s=>"scale"+r(s),n=(s,t,i)=>"translate3d"+r(e(s,t,i)),p=s=>"translateZ"+r(s),_=s=>"rotateX"+r(s),b=s=>"rotateY"+r(s),m=s=>s+":active",f=s=>s+":focus",$=s=>":where"+r(s),h=s=>s&&i(s,(s=>100*Number(s)+"%")),d=s=>s&&i(s,(s=>s+"rem")),u=s=>s&&i(s,(s=>s+"ms")),v=s=>s&&i(s,(s=>s+"px")),g=s=>s&&i(s,(s=>s+"deg")),x=s=>s&&i(s,(s=>s+"vw")),w=s=>s&&i(s,(s=>s+"vh")),y=s=>s&&i(s,(s=>s+"vmin")),z=s=>s&&i(s,(s=>s+"vmax")),S=s=>s&&i(s,(s=>s+"cqb")),j=s=>s&&i(s,(s=>s+"cqi")),k=s=>s&&i(s,(s=>s+"cqmin")),O=s=>s&&i(s,(s=>s+"cqmax")),q=s=>s&&i(s,(s=>"span "+s)),E="x",A="y",N="horizontal",V="vertical",R="text",W="font",I="column",P="max",C="min",K="content",T=K+"s",X="items",B="self",L="inline",U="block",Y="size",Z="radius",D="direction",G="outline",H="style",J="end",M="start",F="center",Q="word",ss="line",ts="break",es="wrap",rs="nowarp",is="template",cs="rule",as="object",os="top",ls="left",ns="bottom",ps="right",_s="width",bs="color",ms="overflow",fs="align",$s="type",hs="transform",ds="all",us="height",vs="normal",gs="opacity",xs="visibility",ws="scale",ys="box",zs="border",Ss="position",js="none",ks="auto",Os="fill",qs="stroke",Es="reverse",As="space",Ns="fixed",Vs="origin",Rs="alpha",Ws="luminance",Is="clip",Ps="zoom",Cs="scroll",Ks="padding",Ts="margin",Xs="both",Bs="mode",Ls="repeat",Us="light",Ys="linear",Zs="hidden",Ds=s(zs,ns),Gs=s(zs,ls),Hs=s(zs,ps),Js=s(zs,os),Ms=s(zs,U),Fs=s(zs,L),Qs=s(Ms,M),st=s(Ms,J),tt=s(Fs,M),et=s(Fs,J),rt=s(zs,_s),it=s(Ds,_s),ct=s(Gs,_s),at=s(Hs,_s),ot=s(Js,_s),lt=s(Ms,_s),nt=s(Fs,_s),pt=s(Qs,_s),_t=s(st,_s),bt=s(tt,_s),mt=s(et,_s),ft=s(zs,Z),$t=s(zs,ns,ls,Z),ht=s(zs,ns,ps,Z),dt=s(zs,os,ls,Z),ut=s(zs,os,ps,Z),vt=s(zs,M,J,Z),gt=s(zs,M,M,Z),xt=s(zs,J,J,Z),wt=s(zs,J,M,Z),yt=s(zs,bs),zt=s(Gs,bs),St=s(Hs,bs),jt=s(Js,bs),kt=s(Ds,bs),Ot=s(Ms,bs),qt=s(Fs,bs),Et=s(Qs,bs),At=s(st,bs),Nt=s(tt,bs),Vt=s(et,bs),Rt=s(zs,H),Wt=s(Gs,H),It=s(Hs,H),Pt=s(Js,H),Ct=s(Ds,H),Kt=s(Ms,H),Tt=s(Fs,H),Xt=s(Qs,H),Bt=s(st,H),Lt=s(tt,H),Ut=s(et,H),Yt=s(G,bs),Zt=s(G,_s),Dt=s(G,H),Gt=s(G,"offset"),Ht=s(ms,E),Jt=s(ms,A),Mt=s(as,"fit"),Ft=s(as,Ss),Qt=s(ws,"down"),se=s(ys,"shadow"),te=s(Ks,ys),ee=s(zs,ys),re=s(K,ys),ie=s(Os,ys),ce=s(qs,ys),ae=s("view",ys),oe=s("no",Is),le=s(Ls,E),ne=s(Ls,A),pe=s("no",Ls),_e=s(Ks,ls),be=s(Ks,os),me=s(Ks,ps),fe=s(Ks,ns),$e=s(Ts,ls),he=s(Ts,os),de=s(Ts,ps),ue=s(Ts,ns),ve="grid",ge="row",xe="justify",we="flex",ye=s(L,we),ze=s(we,"basis"),Se=s(we,"grow"),je=s(we,"shrink"),ke=s(we,D),Oe=s(we,es),qe=s(xe,K),Ee=s(xe,X),Ae=s(fs,X),Ne=s(fs,K),Ve=s(fs,B),Re=s(ve,is,ge+"s"),We=s(ve,is,I+"s"),Ie=s(ge,"gap"),Pe=s(I,"gap"),Ce=s(xe,B),Ke=s(ve,ge,J),Te=s(ve,ge,M),Xe=s(ve,I,J),Be=s(ve,I,M),Le=s(I,"count"),Ue=s(I,Os),Ye=s(I,cs,bs),Ze=s(I,cs,H),De=s(I,cs,_s),Ge=s(I,"span"),He=s(I,_s),Je=s(ge,Es),Me=s(I,Es),Fe=s(es,Es),Qe=s(we,J),sr=s(we,M),tr=s(As,"between"),er=s(As,"around"),rr=s(As,"evenly"),ir=s(L,ve),cr="mask",ar=s(cr,Is),or=s(cr,"composite"),lr=s(cr,Bs),nr=s(cr,Vs),pr=s(cr,Ss),_r=s(cr,Ls),br=s(cr,Y),mr=s(cr,$s),fr="timing-function",$r="delay",hr="duration",dr="animation",ur=s(dr,"name"),vr=s(dr,fr),gr=s(dr,D),xr=s(dr,"iteration-count"),wr=s(dr,hr),yr=s(dr,$r),zr=dr+"-play-state",Sr=s(dr,Os,Bs),jr="transition",kr=jr+"-behavior",Or=jr+"-property",qr=s(jr,fr),Er=s(jr,hr),Ar=s(jr,$r),Nr="alternate",Vr=s(Nr,Es),Rr="-out",Wr="ease",Ir=Wr+"-in",Pr=Ir+Rr,Cr=Wr+Rr,Kr="step",Tr=s(Kr,M),Xr=s(Kr,J),Br="translate",Lr="rotate",Ur="perspective",Yr=s(Ur,Vs),Zr=t(ls,os),Dr=t(ps,os),Gr=t(ls,ns),Hr=t(ps,ns),Jr="inset",Mr=s(hs,ys),Fr=s(hs,Vs),Qr=s(hs,H),si=s(Jr,U),ti=s(Jr,U,J),ei=s(Jr,U,M),ri=s(Jr,L),ii=s(Jr,L,J),ci=s(Jr,L,M),ai=s("fit",K),oi=s(C,K),li=s(P,K),ni=s(ys,"sizing"),pi=s(P,_s),_i=s(C,_s),bi=s(P,us),mi=s(C,us),fi=s(U,Y),$i=s(P,fi),hi=s(C,fi),di=s(L,Y),ui=s(P,di),vi=s(C,di),gi="snap",xi=s(Cs,"behavior"),wi=s(Cs,Ts),yi=s(Cs,Ts,os),zi=s(Cs,Ts,ns),Si=s(Cs,Ts,ls),ji=s(Cs,Ts,ps),ki=s(Cs,Ts,U),Oi=s(Cs,Ts,U,J),qi=s(Cs,Ts,U,M),Ei=s(Cs,Ts,L),Ai=s(Cs,Ts,L,J),Ni=s(Cs,Ts,L,M),Vi=s(Cs,Ks),Ri=s(Cs,Ks,os),Wi=s(Cs,Ks,ns),Ii=s(Cs,Ks,ls),Pi=s(Cs,Ks,ps),Ci=s(Cs,Ks,U),Ki=s(Cs,Ks,U,J),Ti=s(Cs,Ks,U,M),Xi=s(Cs,Ks,L),Bi=s(Cs,Ks,L,J),Li=s(Cs,Ks,L,M),Ui=s(Cs,gi,fs),Yi=s(Cs,gi,"stop"),Zi=s(Cs,gi,$s),Di="mandatory",Gi=t(E,Di),Hi=t(A,Di),Ji=t(U,Di),Mi=t(L,Di),Fi=t(Xs,Di),Qi="proximity",sc=t(E,Qi),tc=t(A,Qi),ec=t(U,Qi),rc=t(L,Qi),ic=t(Xs,Qi),cc=s(R,"decoration"),ac=s(cc,bs),oc=s(R,hs),lc=s(R,fs),nc=s(R,ms),pc=s(R,"orientation"),_c=s(Q,ts),bc=s(W,Y),mc=W+"-weight",fc=W+"-family",$c=s(W,H),hc=s("writing",Bs),dc=s(ss,us),uc=s(ss,ts),vc=ss+"-through",gc="over"+ss,xc="under"+ss,wc="pre",yc=s(wc,ss),zc=s(wc,es),Sc=ts+"-spaces",jc=s(ts,ds),kc=s(ts,Q),Oc=N+"-tb",qc=V+"-lr",Ec=V+"-rl",Ac="keep-"+ds,Nc="pointer",Vc="pan",Rc=s(Vc,E),Wc=s(Vc,ls),Ic=s(Vc,ps),Pc=s(Vc,A),Cc=s(Vc,"up"),Kc=s(Vc,"down"),Tc=s("pinch",Ps),Xc=s(V,R),Bc="grab",Lc=Bc+"bing",Uc="resize",Yc="col-"+Uc,Zc="row-"+Uc,Dc="n-"+Uc,Gc="e-"+Uc,Hc="s-"+Uc,Jc="w-"+Uc,Mc="ne-"+Uc,Fc="ew-"+Uc,Qc="nw-"+Uc,sa="se-"+Uc,ta="sw-"+Uc,ea="ns-"+Uc,ra="nesw-"+Uc,ia="nwse-"+Uc,ca=s(Ps,"in"),aa=s(Ps,"out"),oa=s(Nc,"events"),la=s(Cs,Ss),na=s("caret",bs),pa=s("accent",bs),_a="filter",ba="backdrop-"+_a,ma="background",fa=s(ma,bs),$a=s(ma,Is),ha=s(ma,Vs),da=s(ma,Ss),ua=s(ma,Ss,E),va=s(ma,Ss,A),ga=s(ma,Ls),xa=s(ma,Y),wa=s(ma,"blend",Bs),ya=s(ma,"attachment"),za="gradient",Sa=s(Ys,za);s("radial",za),s("conic",za);const ja=s(K,xs);s(qs,_s),s(Os,cs);const ka=s(bs,"dodge"),Oa=s(bs,"burn"),qa=s("hard",Us),Ea=s("soft",Us);s(bs,"mix");const Aa="revert",Na={uni:{ini:"initial",inh:"inherit",u:"unset",r:Aa,rl:s(Aa,"layer"),a:ks,no:js},ali:{s:M,e:J,c:F,st:"stretch",sb:tr,sa:er,se:rr,b:"baseline",fs:sr,fe:Qe,no:js},dis:{g:ve,ig:ir,f:we,if:ye},fd:{r:ge,rr:Je,c:I,cr:Me},fw:{w:es,nw:rs,wr:Fe},rep:{rx:le,ry:ne,r:Ls,s:As,ro:"round",nr:pe},ttf:{l:Ys,e:Wr,ei:Ir,eo:Cr,eio:Pr,ss:Tr,se:Xr},ws:{n:vs,nw:rs,p:wc,pl:yc,pw:zc,bs:Sc},wb:{n:vs,ba:jc,ka:Ac,bw:kc},wm:{htb:Oc,vlr:qc,vrl:Ec},hyp:{no:js,m:"manual",a:ks},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:vc,o:gc,u:xc},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:ls,c:F,j:xe,r:ps,s:M,e:J},tp:{all:ds,col:e(bs,fa,yt,ac),icon:e(Os,qs),filter:e(_a,ba),ind:e(Ks,Ts),sz:e(_s,pi,_i,us,bi,mi),esz:e(hi,fi,$i,vi,di,ui),o:gs,b:zs,f:we,g:ve,pos:e(Ss,ls,os,ns,ps),tf:e(hs,Br,ws,Lr,"skew",Ur)},lb:{a:ks,any:"anywhere",n:vs,l:"loose",s:"strict"},ov:{h:Zs,s:Cs,a:ks,c:Is,e:"ellipsis"},v:{h:Zs,v:"visible",c:"collapse",a:ks},wc:{a:ks,sp:la,c:T,tf:hs,o:gs,i:Jr,tfi:hs+","+Jr},afm:{no:js,f:"forwards",b:"backwards",both:Xs},adir:{r:Es,a:Nr,ar:Vr},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:vs},app:{n:js,a:ks},pe:{a:ks,no:js,all:ds,f:Os,s:qs},cur:{h:"help",a:ks,p:Nc,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:R,vt:Xc,cp:"copy",m:"move",g:Bc,gng:Lc,cr:Yc,rr:Zc,nr:Dc,er:Gc,sr:Hc,wr:Jc,ner:Mc,ewr:Fc,nwr:Qc,ser:sa,swr:ta,nsr:ea,neswr:ra,nwser:ia,zi:ca,zo:aa},res:{n:js,v:V,h:N,b:Xs},toa:{a:ks,no:js,px:Rc,pl:Wc,pr:Ic,py:Pc,pu:Cc,pd:Kc,pz:Tc,m:"manipulation"},us:{n:js,t:R,all:ds,a:ks},sb:{a:ks,s:"smooth"},sss:{n:vs,a:"always"},sst:{n:js,x:E,y:A,b:U,i:L,both:Xs,xm:Gi,ym:Hi,bm:Ji,im:Mi,bothm:Fi,xp:sc,yp:tc,bp:ec,ip:rc,bothp:ic},fst:{i:"italic",n:vs,o:"oblique"},pos:{r:"relative",a:"absolute",f:Ns,s:"static"},posv:{b:ns,t:os,c:F,l:ls,r:ps,lt:Zr,rt:Dr,lb:Gr,rb:Hr},csz:{cv:"cover",cn:"contain",a:ks,f:Os,sd:Qt},cf:{a:ks,b:"balance"},cs:{no:js,all:ds},box:{c:re,p:te,b:ee,f:ie,s:ce,v:ae,nc:oe,t:R},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:Rs,l:Ws},mm:{a:Rs,l:Ws,m:"match-source"},bgbm:{n:vs,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Us+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:bs,lum:"luminosity",cd:ka,cb:Oa,hl:qa,sl:Ea},bga:{s:Cs,f:Ns,l:"local"},ls:{no:js,dt:"dotted",i:Jr,h:Zs,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:oi,max:li,fit:ai,no:0,a:ks}},Va={a:dr,an:ur,adur:wr,adel:yr,aps:zr,afm:Sr,adir:gr,aic:xr,atf:vr,tdur:Er,tdel:Ar,tb:kr,tp:Or,ttf:qr,bor:zs,bw:rt,br:ft,bs:Rt,bls:Wt,brs:It,bts:Pt,bbs:Ct,bbls:Kt,bis:Tt,bbss:Xt,bbes:Bt,biss:Lt,bies:Ut,brw:at,blw:ct,btw:ot,bbw:it,btlr:dt,btrr:ut,bbrr:ht,bblr:$t,biw:nt,bblw:lt,bbew:_t,bbsw:pt,bisw:bt,biew:mt,besr:wt,beer:xt,bssr:gt,bser:vt,bc:yt,blc:zt,brc:St,btc:jt,bbc:kt,bblc:Ot,bic:qt,bbsc:Et,bbec:At,bisc:Nt,biec:Vt,bgc:fa,c:bs,acc:pa,ctc:na,st:qs,fi:Os,flt:_a,bf:ba,g:ve,f:we,dis:"display",jc:qe,ji:Ee,ai:Ae,ac:Ne,gtr:Re,gtc:We,rg:Ie,cg:Pe,as:Ve,js:Ce,gre:Ke,grs:Te,gce:Xe,gcs:Be,fd:ke,fw:Oe,fs:je,fg:Se,fb:ze,ord:"order",m:Ts,ml:$e,mr:de,mt:he,mb:ue,p:Ks,pl:_e,pr:me,pt:be,pb:fe,oc:Yt,ow:Zt,os:Dt,oo:Gt,l:ls,r:ps,t:os,b:ns,ins:Jr,ib:si,ibe:ti,ibs:ei,ii:ri,iie:ii,iis:ci,wc:"will-change",app:"appearance",pe:oa,cur:"cursor",toa:"touch-action",us:"user-select",res:Uc,sb:xi,ssa:Ui,sss:Yi,sst:Zi,sm:wi,sml:Si,smr:ji,smt:yi,smb:zi,sp:Vi,spl:Ii,spr:Pi,spt:Ri,spb:Wi,smbl:ki,smbe:Oi,smbs:qi,smi:Ei,smie:Ai,smis:Ni,spbl:Ci,spbe:Ki,spbs:Ti,spi:Xi,spie:Bi,spis:Li,ar:"aspect-ratio",w:_s,maxw:pi,minw:_i,h:us,minh:mi,maxh:bi,bl:fi,maxb:$i,minb:hi,i:di,mini:vi,maxi:ui,per:Ur,pero:Yr,rot:Lr,sc:ws,tf:hs,tfb:Mr,tfo:Fr,tfs:Qr,tr:Br,z:Ps,lts:"letter-spacing",lh:dc,lb:uc,fst:$c,ff:fc,fwg:mc,fsz:bc,tt:oc,td:cc,ta:lc,to:nc,ws:"white-space",tor:pc,wb:_c,wm:hc,hyp:"hyphens",bsz:ni,bsh:se,pos:Ss,cf:Ue,crs:Ze,crc:Ye,crw:De,cs:Ge,cw:He,cc:Le,bgcl:$a,bgp:da,bgpx:ua,bgpy:va,bgbm:wa,bgo:ha,bgr:ga,bga:ya,bgsz:xa,mcl:ar,mcm:or,mm:lr,mo:nr,mp:pr,mre:_r,msz:br,mtp:mr,obf:Mt,obp:Ft,cnt:K,ov:ms,ovx:Ht,ovy:Jt,v:xs,cv:ja,o:gs,zi:"z-index",zm:Ps,lg:Sa,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Ra={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Object.assign({lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((s,t)=>(s[t]=t,s)),{}),rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2}},Na)},Wa=s=>`{${s}}`,Ia=Object.assign.bind(Object),Pa=(s,t)=>`${s}:${t};`,Ca=(s,t)=>["@property",s,Wa(Pa("syntax",t.syn||'"*"')+Pa("inherits",t.inh||!1)+(t.ini?Pa("initial-value",t.ini):""))].join(" "),Ka=s=>`var(${s})`,Ta=({l:s,c:t,h:e,a:r=1})=>`oklch(${s} ${t} ${e} / ${r})`,Xa=["l","c","h","a"];class Ba{constructor(s){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Ra,this._compKeys={},this._compValues={},this._analyzeParams=s=>{var t,e;if(s)for(const t in s)this._params[t]=Ia(this._params[t]||{},s[t]);const{time:r,rem:i,coef:c,szu:a,sz:o,sp:l,rad:n,th:p,fr:_,bp:b,fsz:m,lsp:f,tr:$,sk:E,rot:A,fg:N,fs:V,fb:R,fo:W,ra:I,ro:P,co:C,ca:K,ins:T,cqu:X,cqb:B,cqi:L,cqmin:U,cqmax:Y,vu:Z,vw:D,vh:G,vmin:H,vmax:J}=this._params.root,M=h(_);this._params.root=Ia(this._params.root,{cqb:S(B||X),cqi:j(L||X),cqmin:k(U||X),cqmax:O(Y||X),vw:x(D||Z),vh:w(G||Z),vmin:y(H||Z),vmax:z(J||Z),fo:W||c,fg:N||c,fs:V||c,fb:R||M,ra:I||q(c),ro:P||c,ca:K||q(c),co:C||c,ins:T||M,sz:Ia(d(o)||{},a),sp:Ia(d(l)||{},a),rad:d(n),th:d(p),bp:d(b),fsz:d(m),lsp:d(f),tr:d($),sk:g(E),rot:g(A),perc:M,time:u(r),rem:v(i)});const F=function(s,t){var e={};for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&t.indexOf(r)<0&&(e[r]=s[r]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(s);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(s,r[i])&&(e[r[i]]=s[r[i]])}return e}(this._params,["root"]),Q=Object.entries(F),ss={_mode:{root:{}}},ts={};Q.forEach((([s,t])=>{ss._mode[s]||(ss._mode[s]={}),Object.entries(t).forEach((([t,e])=>{Object.entries(e).forEach((([e,r])=>{const i=this._prepareVarName(t,e);ss._mode[s][i]=r,ss._mode.root[i]||(ss._mode.root[i]=r,ts[t]||(ts[t]={}),ts[t][e]=`var(${i})`)}))}))})),this._compValues=ts,this._compKeys=Object.entries(this._compValues.bp||{}).reduce(((s,[t,e])=>(s[t+"_"]=`@media (min-width:${e})`,s[t.toUpperCase()+"_"]=`@media (max-width:${e})`,s)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ss),{$r_:Object.assign(Object.assign({},ss._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ss._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ss._mode.dark}}:{}),(null===(e=ss._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:ss._mode.light}}:{})})},this._prepareVarName=(...s)=>["-",this._prefix,...s].join("-"),this.compile=(s,t)=>{const{_:e,k:r={},v:i={},c:c}=t,a=this._prepareSelector.bind(this),o=this._parseSelector.bind(this);let l=Ia({},c),n=Ia({},r),p=Ia({_:{}},i),_="";if(e)for(let t in e){const r=e[t];if("c"===r.typ){const e={};Xa.forEach((i=>{const c=t+i,a=this._prepareVarName(s,c);e[i]=a,n["_"+c]=e[i],_+=Ca(a,r)})),p._[t]=Ta({l:Ka(e.l),c:Ka(e.c),h:Ka(e.h),a:Ka(e.a)}),r.all&&(l["_"+t+"l"]=`&lig=>${this._prepareVarName(s,t+"l")}:{1}`,l["_"+t+"c"]=`&chr=>${this._prepareVarName(s,t+"c")}:{1}`,l["_"+t+"h"]=`&hue=>${this._prepareVarName(s,t+"h")}:{1}`,l["_"+t+"a"]=`&alp=>${this._prepareVarName(s,t+"a")}:{1}`)}else{const e=this._prepareVarName(s,t);n["_"+t]=e,p._[t]=Ka(e),_+=Ca(e,r)}}const b=s=>n[s]||this._compKeys[s]||Va[s],m=s=>p[s]||this._compValues[s]||this._params.root[s],f=s=>s.replaceAll(/\{(.+?)\}/g,((s,t)=>{const[e,r]=t.split(".");if(r){const s=m(e);return(null==s?void 0:s[r])||(null==s?void 0:s.def)}return b(e)})),$=s=>{const t=s.split("?");let e;for(let s in t){const r=t[s],[i,c]=r.split("=>"),[a,o,l]=i.match(/(\w+)(\[[\w,]+\])?/),n=m(o);if(!n)continue;e=n;let p=Object.entries(e);const _=null==l?void 0:l.slice(1,-1).split(",");if(_){const s=new Set(_);p=p.filter((([t,e])=>s.has(t)))}if(c){let[s,t]=c.split("|");void 0===t&&(t=s,s=""),p=p.map((([e,r])=>[s.replace("{0}",e)||e,f(t.replaceAll("{1}",r))]))}(_||c)&&(e=Object.fromEntries(p));break}return e};function h(t,e,r){var i,c,l;let n=""+t;if((null===(i=null==t?void 0:t.startsWith)||void 0===i?void 0:i.call(t,"$"))&&(n=b(t.slice(1)),!n))return"";if(Array.isArray(e))return h(n,Object.assign({},...e.map((s=>"string"==typeof s?$(s):s))),r);if(null==e)return"";if("object"==typeof e){const t=!r||n.startsWith("&")||n.startsWith("@")?"":"&";if(n.startsWith("_")){const{e:r,m:i,mv:c}=o(n);return i&&"string"!=typeof c?Object.entries(e).reduce(((e,[c,o])=>{let l;return l="object"==typeof o?Object.entries(o).reduce(((s,t)=>s+h(...t,n)),""):o+";",e+t+a({b:s,e:r,m:i,mv:c})+Wa(l)}),""):t+a({b:s,e:r,m:i,mv:c})+Wa(Object.entries(e).reduce(((s,t)=>s+h(...t,n)),""))}return t+n+Wa(Object.entries(e).reduce(((s,t)=>s+h(...t,n)),""))}{let s=""+e;return(null===(c=null==s?void 0:s.startsWith)||void 0===c?void 0:c.call(s,"&"))?h(n,$(s.slice(1)),r):(null===(l=null==s?void 0:s.includes)||void 0===l?void 0:l.call(s,"{"))?h(n,f(s),r):Pa(n,e)}}return _+Object.entries(l).reduce(((s,t)=>s+h(...t)),"")};const{mode:t,prefix:e,params:r}=s;this._mode=t||"a",this._prefix=e||"eff","c"===this._mode?this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`.${s}${(t?"__"+t:"")+(e?"_"+e:"")+(e&&r?"_"+r:"")+(i?":"+i:"")}`:this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`[data-${s}${t?"-"+t:""}${e?'~="'+e+(r?"-"+r:"")+(i?":"+i:"")+'"':""}]`,this._analyzeParams(r)}_parseSelector(s){let t,e,r,i;return s.startsWith("__")?[t,e,r]=s.slice(2).split("_"):[t,e,r]=s.split("_"),r&&([r,i]=r.split(":")),{e:t,m:e,mv:r,s:i}}expandSelector(s,t){const{e:e,m:r,mv:i,s:c}=this._parseSelector(t),a=c&&this._getStateSelector(c);return[this._prepareSelector({b:s,e:e,m:r,mv:i}),this._prepareSelector({b:s,e:e,m:r,mv:i,s:c})+"{"+a]}_getStateSelector(s){const t=s+"_",e=this._compKeys[t]||Va[t];if(e)return(e.startsWith("&")||e.startsWith("@")?"":"&")+e}}class La{constructor(s){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],s)for(let t in s)this.pack(t,s[t])}get(s){return this._stylesheets[s]}getAll(){return this._stylesheets}add(s,t){if(!this._stylesheets[s])return this._stylesheets[s]=t,this._styleSheetsArray.push(t),this.cacheRules(s,t),!0}remove(s){const t=this.get(s);if(!t)return;const e=this._styleSheetsArray.findIndex((s=>s===t));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[s],delete this._rules[s],delete this._expandedSelectors[s]),!0}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},!0}pack(s,t){const e=new CSSStyleSheet;if(e.replaceSync(t),e.cssRules.length)return this.add(s,e),e;console.log(`StyleSheet '${s}' is empty`)}cacheRules(s,t){[...t.cssRules].forEach((t=>{const e=t.cssText.split(" {")[0];e&&(this._rules[s]||(this._rules[s]={}),this._rules[s][e]=t)})),this._expandedSelectors[s]=new Set}getExpandedSelectors(s){return this._expandedSelectors[s]}expandRule(s,t,e){const r=this._rules[s];if(!r)return void console.log(`No stylesheet found with key '${s}'`);const i=r[t];if(!i)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${s}'`);const[c,a]=i.cssText.split("{");if(i.parentStyleSheet){const t=e+"{"+a+"}",c=i.parentStyleSheet.insertRule(t,i.parentStyleSheet.cssRules.length),o=i.parentStyleSheet.cssRules[c],l=e.split("{")[0];return r[l]=o,this._expandedSelectors[s].add(l),!0}}apply(s){s.adoptedStyleSheets=this._styleSheetsArray}}const Ua="style-provider";const Ya=((...s)=>h(Object.fromEntries(s.map((s=>[s,s])))))(0,.5,.15,.45,.3,.7,.2,.4,.8,.6,.55,1,-1),Za=((...s)=>g(Object.fromEntries(s.map((s=>[s,s])))))(-20,-15,-5,10,90),Da="In",Ga="Out",Ha="Down",Ja="Up",Ma="Left",Fa="Right",Qa="zoom",so=Qa+Da,to=Qa+Ga,eo="pulse",ro="bounce",io=ro+Da,co=ro+Ga,ao="fade",oo=ao+Da,lo=oo+Ha,no=oo+Ja,po=oo+Ma,_o=oo+Fa,bo=ao+Ga,mo=bo+Ha,fo=bo+Ja,$o=bo+Ma,ho=bo+Fa,uo="flip",vo=uo+Da+"x",go=uo+Da+"y",xo=uo+Ga+"x",wo=uo+Ga+"y",yo="slide",zo=yo+Da,So=zo+Ha,jo=zo+Ja,ko=zo+Fa,Oo=zo+Ma,qo=yo+Ga,Eo=qo+Ha,Ao=qo+Ja,No=qo+Fa,Vo=qo+Ma,Ro="heartBeat",Wo="perspective"+r("25rem");var Io,Po={k:{0:"0%",20:"20%",30:"30%",40:"40%",50:"50%",60:"60%",80:"80%"},c:Object.assign({[c(so)]:{$0:{$o:0,$tf:a(e(.25,.25,.25))},$50:{$o:1}},[c(to)]:{$0:{$o:1},$50:{$o:0,$tf:a(e(.25,.25,.25))},to:{$o:0}},[c(eo)]:{$0:{$tf:o(1)},$50:{$tf:a(e(1.05,1.05,1.05))},to:{$tf:o(1)}},[c(Ro)]:{$0:{$tf:l(1)},[Ya[15]]:{$tf:l(1.25)},$30:{$tf:l(1)},[Ya[45]]:{$tf:l(1.25)},[Ya[70]]:{$tf:l(0)}},[c(io)]:{[e(Ya[0],Ya[20],Ya[40],Ya[60],Ya[80],"to")]:{$atf:"cubic-bezier(.215,.61,.355,1)"},$0:{$o:0,$tf:a(e(.25,.25,.25))},[Ya[20]]:{$tf:a(e(1.1,1.1,1.1))},$40:{$tf:a(e(.9,.9,.9))},$60:{$o:1,$tf:a(e(1.05,1.05,1.05))},$80:{$tf:a(e(.95,.95,.95))},to:{$o:1,$tf:o(1)}},[c(co)]:{[Ya[20]]:{$tf:a(e(.9,.9,.9))},[e(Ya[50],Ya[55])]:{$o:1,$tf:a(e(1.1,1.1,1.1))},to:{$o:0,$tf:a(e(.3,.3,.3))}},[c(oo)]:{$0:{$o:0},to:{$o:1}},[c(lo)]:{$0:{$o:0,$tf:n(0,Ya[100],0)},to:{$o:1,$tf:p(0)}},[c(po)]:{$0:{$o:0,$tf:n(Ya[-100],0,0)},to:{$o:1,$tf:p(0)}},[c(_o)]:{$0:{$o:0,$tf:n(Ya[-100],0,0)},to:{$o:1,$tf:p(0)}},[c(no)]:{$0:{$o:0,$tf:n(0,Ya[100],0)},to:{$o:1,$tf:p(0)}},[c(bo)]:{$0:{$o:1},to:{$o:0}},[c(mo)]:{$0:{$o:1},to:{$o:0,$tf:n(0,Ya[-100],0)}},[c($o)]:{$0:{$o:1},to:{$o:0,$tf:n(Ya[-100],0,0)}},[c(ho)]:{$0:{$o:1},to:{$o:0,$tf:n(Ya[100],0,0)}},[c(fo)]:{$0:{$o:1},to:{$o:0,$tf:n(0,Ya[-100],0)}},[c(vo)]:{$0:{$atf:"{ttf.ei}",$o:0,$tf:t(Wo,_(Za[90]))},$40:{$atf:"{ttf.ei}",$tf:t(Wo,_(Za[-20]))},$60:{$o:1,$tf:t(Wo,_(Za[10]))},$80:{$tf:t(Wo,_(Za[-5]))},to:{$tf:Wo}},[c(go)]:{$0:{$atf:"{ttf.ei}",$o:0,$tf:t(Wo,b(Za[90]))},$40:{$atf:"{ttf.ei}",$tf:t(Wo,b(Za[-20]))},$60:{$o:1,$tf:t(Wo,b(Za[10]))},$80:{$tf:t(Wo,b(Za[-5]))},to:{$tf:Wo}},[c(xo)]:{$0:{$tf:Wo},$30:{$o:1,$tf:t(Wo,_(Za[-20]))},to:{$o:0,$tf:t(Wo,_(Za[90]))}},[c(wo)]:{$0:{$tf:Wo},$30:{$o:1,$tf:t(Wo,b(Za[-15]))},to:{$o:0,$tf:t(Wo,b(Za[90]))}},[c(So)]:{$0:{$tf:n(0,Ya[-100],0),$v:"{v.v}"},to:{$tf:p(0)}},[c(Oo)]:{$0:{$tf:n(Ya[-100],0,0),$v:"{v.v}"},to:{$tf:p(0)}},[c(ko)]:{$0:{$tf:n(Ya[100],0,0),$v:"{v.v}"},to:{$tf:p(0)}},[c(jo)]:{$0:{$tf:n(0,Ya[100],0),$v:"{v.v}"},to:{$tf:p(0)}},[c(Eo)]:{$0:{$tf:p(0)},to:{$tf:n(0,Ya[100],0),$v:"{v.h}"}},[c(Vo)]:{$0:{$tf:p(0)},to:{$tf:n(Ya[-100],0,0),$v:"{v.h}"}},[c(No)]:{$0:{$tf:p(0)},to:{$tf:n(Ya[100],0,0),$v:"{v.h}"}},[c(Ao)]:{$0:{$tf:p(0)},to:{$tf:n(0,Ya[-100],0),$v:"{v.h}"}}},(Io=[so,to,eo,Ro,io,co,oo,lo,po,_o,no,bo,mo,$o,ho,fo,vo,go,xo,wo,So,Oo,ko,jo,Eo,Vo,No,Ao],{$an:Io.reduce(((s,t)=>(s[t]=t,s)),{})}))},Co={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[$(e("a",(s=>s+":link")("a"),(s=>s+":visited")("a"),(s=>s+":hover")("a")))]:{$td:"{uni.no}"},[$("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[$("menu,ol,ul")]:{$ls:"{ls.no}"},[$("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[$(e(f("input"),m("input"),f("button"),m("button")))]:{$o:"none"}}},Ko=Object.freeze({__proto__:null,kf:Po,reset:Co});const To="{_.sz}",Xo=`calc(-1 * ${To})`,Bo=`calc(0.5 * ${To})`,Lo=`calc(-0.5 * ${To})`,Uo="{_.c}";var Yo={_:{sz:{},c:{typ:"c",wrap:!0}},c:{_:{$pos:"{pos.r}",$_cl:"{lig.def}",$_ch:"{hue.def}",$_cc:"{chr.def}",$_ca:1,$_sz:"{sp.m}"},_ssz:"&sp=>{_sz}:{1}",_shp:{r:{$bsh:t(To,0,Bo,Lo,Uo)},l:{$bsh:t(Xo,0,Bo,Lo,Uo)},t:{$bsh:t(0,Xo,Bo,Lo,Uo)},b:{$bsh:t(0,To,Bo,Lo,Uo)},x:{$bsh:e(t(To,0,Bo,Lo,Uo),t(Xo,0,Bo,Lo,Uo))},y:{$bsh:e(t(0,Xo,Bo,Lo,Uo),t(0,To,Bo,Lo,Uo))},f:{$bsh:t(0,0,To,Bo,Uo)},tr:{$bsh:t(To,Xo,To,Lo,Uo)},tl:{$bsh:t(Xo,Xo,To,Lo,Uo)},br:{$bsh:t(To,To,To,Lo,Uo)},bl:{$bsh:t(Xo,To,To,Lo,Uo)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const Zo=["sz","perc"],Do=["cqw","cqmin","cqmax"],Go=["vw","vmin","vmax"],Ho=["cqh","cqmin","cqmax"],Jo=["vh","vmin","vmax"];var Mo={c:{_w:[...Zo.map((s=>`&${s}=>{w}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...Zo.map((s=>`&${s}=>{maxw}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...Zo.map((s=>`&${s}=>{minw}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...Zo.map((s=>`&${s}=>{h}:{1}`)),...Ho.map((s=>`&${s}=>{h}:{1}`)),...Jo.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...Zo.map((s=>`&${s}=>{maxh}:{1}`)),...Ho.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...Jo.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...Zo.map((s=>`&${s}=>{minh}:{1}`)),...Ho.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...Jo.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const Fo=["sz","perc"],Qo=["cqb","cqmin","cqmax"],sl=["vw","vh","vmin","vmax"],tl=["cqi","cqmin","cqmax"];var el,rl={c:{_b:[...Fo.map((s=>`&${s}=>{b}:{1}`)),...Qo.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...Fo.map((s=>`&${s}=>{maxb}:{1}`)),...Qo.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...Fo.map((s=>`&${s}=>{minb}:{1}`)),...Qo.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...Fo.map((s=>`&${s}=>{i}:{1}`)),...tl.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...Fo.map((s=>`&${s}=>{maxi}:{1}`)),...tl.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...Fo.map((s=>`&${s}=>{mini}:{1}`)),...tl.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},il={_:{scx:{ini:"0"},scy:{ini:"0"},skx:{ini:"0"},sky:{ini:"0"},x:{ini:"0"},y:{ini:"0"},z:{ini:"0"}},c:{_:{$sc:"{_scx} {_scy}",$tf:"skew({_skx},{_sky})",$tr:"{_x} {_y} {_z}"},_x:"&tr=>{_x}:{1}",_y:"&tr=>{_y}:{1}",_z:"&tr=>{_z}:{1}",_skx:"&sk=>{_skx}:{1}",_sky:"&sk=>{_sky}:{1}",_scx:"&sc=>{_scx}:{1}",_scy:"&sc=>{_scy}:{1}",_sc:"&sc=>{sc}:{1}",_rx:"&rot=>{rot}:X {1}",_ry:"&rot=>{rot}:Y {1}",_rz:"&rot=>{rot}:Z {1}",_zm:"&zm=>{zm}:{1}",_per:"&per=>{per}:{1}",_pero:"&posv=>{pero}:{1}",_b:"&box[c,b,f,s,v]=>{tfb}:{1}",_o:"&pos=>{tfo}:{1}",_s:{p:"{tfs}:preserve-3",f:"{tfs}:flat"}}},cl=Object.freeze({__proto__:null,a:{c:{_dur:"&time=>{adur}:{1}",_del:"&time=>{adel}:{1}",_ps:"&aps=>{aps}:{1}",_fm:"&afm=>{afm}:{1}",_dir:"&adir=>{adir}:{1}",_ic:"&ic=>{aic}:{1}",_tf:"&ttf=>{atf}:{1}"}},ac:{_:{cr:{typ:"c",all:!0},ac:{typ:"c",all:!0}},c:{_:{$_crc:"{chr.xs}",$_crh:"{hue.def}",$_crl:"{lig.c}",$_cra:1,$_acc:"{chr.def}",$_acl:"{lig.c}",$_ach:"{hue.def}",$_aca:1},_ac_:{$_acc:"{_.ac}"},_cc_:{$_ctc:"{_.cr}"}}},ag:{c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},b:{_:{c:{typ:"c",all:!0}},c:{_:{$bw:0,$br:0,$bs:"{ls.s}",$bc:"{_.c}"},_w:"&th=>{bw}:{1}",_xw:"&th=>{blw}:{1};{brw}:{1}",_yw:"&th=>{btw}:{1};{bbw}:{1}",_rw:"&th=>{brw}:{1}",_lw:"&th=>{blw}:{1}",_tw:"&th=>{btw}:{1}",_bw:"&th=>{bbw}:{1}",_r:"&rad=>{br}:{1}",_lr:"&rad=>{btlr}:{1};{bblr}:{1}",_rr:"&rad=>{btrr}:{1};{bbrr}:{1}",_tr:"&rad=>{btlr}:{1};{btrr}:{1}",_br:"&rad=>{bblr}:{1};{bbrr}:{1}",_tlr:"&rad=>{btlr}:{1}",_trr:"&rad=>{btrr}:{1}",_blr:"&rad=>{bblr}:{1}",_brr:"&rad=>{bbrr}:{1}",_s:"&lst=>{bs}:{1}"}},be:{c:{_iw:"&th=>{biw}:{1}",_blw:"&th=>{bblw}:{1}",_bew:"&th=>{bbew}:{1}",_bsw:"&th=>{bbsw}:{1}",_iew:"&th=>{biew}:{1}",_isw:"&th=>{bisw}:{1}",_bsr:"&rad=>{bser}:{1};{bssr}:{1}",_isr:"&rad=>{besr}:{1};{bssr}:{1}",_ber:"&rad=>{besr}:{1};{beer}:{1}",_ier:"&rad=>{bser}:{1};{beer}:{1}",_esr:"&rad=>{besr}:{1}",_ssr:"&rad=>{bssr}:{1}",_ser:"&rad=>{bser}:{1}",_eer:"&rad=>{beer}:{1}"}},bg:{c:{_bm:"&bgbm=>{bgbm}:{1}",_a:"&bga=>{bga}:{1}",_cl:"&box[c,p,b,t]=>{bgcl}:{1}",_o:"&box[c,p,b]=>{bgo}:{1}",_p:"&posv=>{bgp}:{1}",_px:"&posv[r,l,c]=>{bgpx}:{1}",_py:"&posv[t,b,c]=>{bgpy}:{1}",_r:"&rep=>{bgr}:{1}",_sz:"&csz[cv,cn,a]=>{bgsz}:{1}"}},bx:Yo,c:{_:{c:{typ:"c",all:!0},b:{typ:"c",all:!0},s:{typ:"c",all:!0},f:{typ:"c",all:!0}},c:{_:{$_cc:"{chr.xs}",$_ch:"{hue.def}",$_cl:"{lig.c}",$_ca:1,$_bc:"{chr.xs}",$_bl:"{lig.n}",$_bh:"{hue.def}",$_ba:1,$_fc:"{chr.xs}",$_fh:"{hue.def}",$_fl:"{lig.c}",$_fa:1,$_sc:"{chr.xs}",$_sl:"{lig.n}",$_sh:"{hue.def}",$_sa:1},_b_:{$bgc:"{_.b}"},_c_:{$c:"{_.c}"},_f_:{$fi:"{_.f}"},_s_:{$st:"{_.s}"}}},col:{_:{c:{typ:"c",wrap:!0}},c:{_:{$_cc:"{c.def}",$_ch:"{h.def}",$_cl:"{l.def}",$crc:"{_.c}"},_cf:"&cf=>{cf}:{1}",_cg:"&sp=>{cg}:{1}",_crs:"&lst=>{crs}:{1}",_crw:"&th=>{crw}:{1}",_cs:"&cs=>{cs}:{1}",_cw:"&sz=>{cw}:{1}",_cc:"&sp=>{cc}:{1}"}},f:{c:{_ls:"&ls=>{ls}:{1}",_lh:"&lh=>{lh}:{1}",_lb:"&lb=>{lb}:{1}",_st:"&fst=>{fst}:{1}",_w:"&fwg=>{fwg}:{1}",_f:"&ff=>{ff}:{1}",_sz:"&fsz=>{fsz}:{1}"}},fc:{c:{_:{$dis:"{dis.f}"},_dis:"&dis[if,f]=>{dis}:{1}",_dir:"&fd=>{fd}:{1}",_w:"&fw=>{fw}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se,fs,fe]=>{jc}:{1}",_ai:"&ali[c,st,b,fs,fe]=>{ai}:{1}",_ac:"&ali[c,st,sb,sa,se,fs,fe]=>{ac}:{1}"}},fi:{c:{_as:"&ali[s,e,c,st,fs,fe]=>{as}:{1}",_fg:"&fg=>{fg}:{1}",_fs:"&fs=>{fs}:{1}",_fb:"&fb=>{fb}:{1}",_o:"&fo=>{ord}:{1}"}},gc:{c:{_:{$dis:"{dis.g}"},_dis:"&dis[g,ig]=>{dis}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se]=>{jc}:{1}",_ji:"&ali[s,e,c,st]=>{ji}:{1}",_ai:"&ali[s,e,c,st,b]=>{ai}:{1}",_ac:"&ali[sb,se,sa,c,st]=>{ac}:{1}",_gtr:">r=>{gtr}:{1}?coef=>{gtr}:repeat({1},1fr)",_gtc:">c=>{gtc}:{1}?coef=>{gtc}:repeat({1},1fr)",_rg:"&sp=>{rg}:{1}",_cg:"&sp=>{cg}:{1}"}},gi:{c:{_as:"&ali[s,e,c,st]=>{as}:{1}",_js:"&ali[s,e,c,st]=>{js}:{1}",_ra:"&ra=>{gre}:{1}",_ca:"&ca=>{gce}:{1}",_ro:"&ro=>{grs}:{1}",_co:"&co=>{gcs}:{1}"}},i:{c:{_t:"&ins=>{t}:{1}",_b:"&ins=>{b}:{1}",_l:"&ins=>{l}:{1}",_r:"&ins=>{r}:{1}",_x:"&ins=>{r}:{1};{l}:{1}",_y:"&ins=>{t}:{1};{b}:{1}",_ib:"&ins=>{ib}:{1}",_ibe:"&ins=>{ibe}:{1}",_ibs:"&ins=>{ibs}:{1}",_ii:"&ins=>{ii}:{1}",_iie:"&ins=>{iie}:{1}",_iis:"&ins=>{iis}:{1}"}},ind:{c:{_m:"&sp=>{m}:{1}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{mb}:{1}",_p:"&sp=>{p}:{1}",_px:"&sp=>{pl}:{1};{pr}:{1}",_py:"&sp=>{pt}:{1};{pb}:{1}",_pt:"&sp=>{pt}:{1}",_pl:"&sp=>{pl}:{1}",_pr:"&sp=>{pr}:{1}",_pb:"&sp=>{pb}:{1}"}},mk:{c:{_clip:"&box[c,p,b,f,s,v]=>{mcl}:{1}",_comp:"&mcm=>{mcm}:{1}",_m:"&mm=>{mm}:{1}",_o:"&box[c,p,b,f,s,v]=>{mo}:{1}",_p:"&posv=>{mp}:{1}",_r:"&rep=>{mre}:{1}",_sz:"&csz[cv,cn,a]=>{msz}:{1}",_t:"&mtp=>{mtp}:{1}"}},o:{_:{oc:{typ:"c",all:!0}},c:{_:{$oc:"{_.oc}",$ow:0,$os:"{ls.s}"},_oo:"&sp=>{oo}:{1}",_os:"&lst=>{os}:{1}",_ow:"&th=>{ow}:{1}"}},obj:{c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},sc:{_:{st:{}},c:{_:{">*":{$sst:"{_.st}"}},_b:"&sb=>{sb}:{1}",_sa:"&ali[s,e,c,no]=>{ssa}:{1}",_ss:"&sss=>{sss}:{1}",_st:"&sst=>{st}:{1}",_m:"&sp=>{sm}:{1}",_mx:"&sp=>{sml}:{1};{smr}:{1}",_my:"&sp=>{smt}:{1};{smb}:{1}",_mt:"&sp=>{smt}:{1}",_ml:"&sp=>{sml}:{1}",_mr:"&sp=>{smr}:{1}",_mb:"&sp=>{smb}:{1}",_p:"&sp=>{sp}:{1}",_px:"&sp=>{spl}:{1};{spr}:{1}",_py:"&sp=>{spt}:{1};{spb}:{1}",_pt:"&sp=>{spt}:{1}",_pl:"&sp=>{spl}:{1}",_pr:"&sp=>{spr}:{1}",_pb:"&sp=>{spb}:{1}"}},sce:{c:{_mbl:"&sp=>{smbl}:{1}",_mbe:"&sp=>{smbe}:{1}",_mbs:"&sp=>{smbs}:{1}",_mi:"&sp=>{smi}:{1}",_mie:"&sp=>{smie}:{1}",_mis:"&sp=>{smis}:{1}",_pbl:"&sp=>{spbl}:{1}",_pbe:"&sp=>{spbe}:{1}",_pbs:"&sp=>{spbs}:{1}",_pi:"&sp=>{spi}:{1}",_pie:"&sp=>{spie}:{1}",_pis:"&sp=>{spis}:{1}"}},sz:Mo,sze:rl,t:{c:{_:{$tdur:"{time.s}",$tdel:"{time.no}"},_tdur:"&time=>{tdur}:{1}",_tdel:"&time=>{tdel}:{1}",_tb:"&tb=>{tb}:{1}",_tp:"&tp=>{tp}:{1}",_ttf:"&ttf=>{ttf}:{1}"}},tf:il,tx:{c:{_tt:"&tt=>{tt}:{1}",_td:"&td=>{td}:{1}",_ta:"&ta=>{ta}:{1}",_to:"&ov[c,e]=>{to}:{1}",_ws:"&ws=>{ws}:{1}",_wb:"&wb=>{wb}:{1}",_wm:"&wm=>{wm}:{1}",_hyp:"&hyp=>{hyp}:{1}",_tor:"&tor=>{tor}:{1}"}},u:{c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},v:{c:{_pos:"&pos=>{pos}:{1}",_ov:"&ov=>{ov}:{1}",_ovx:"&ov=>{ovx}:{1}",_ovy:"&ov=>{ovy}:{1}",_v:"&v[v,h,c]=>{v}:{1}",_o:"&o=>{o}:{1}",_zi:"&zi=>{zi}:{1}",_cv:"&v[v,h,a]=>{v}:{1}"}}});el={config:{styles:Object.assign(Object.assign({},cl),Ko)}},customElements.define((null==el?void 0:el.name)||Ua,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var s;const t=null===(s=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===s?void 0:s.textContent;return t?JSON.parse(t):(null==el?void 0:el.config)||{}}}connectedCallback(){const s=this.getSettings(),{params:t,styles:e,ext:r}=s;this.processor=new Ba({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new La({init:`${Ua} {display: contents;}`+this.processor.baseStyles}),this.processStyles(e,r),this.manager.apply(document)}compileStyleSheet(s,t){var e,r;const i=null===(e=this.processor)||void 0===e?void 0:e.compile(s,t);if(i)return null===(r=this.manager)||void 0===r?void 0:r.pack(s,i)}expandStyleSheet(s,t){var e;const r=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(s);if(this.processor&&r){const e=new Set(t).difference(r),i=e.size;return i&&this.processor&&e.keys().forEach((t=>{var e;const[r,i]=this.processor.expandSelector(s,t);null===(e=this.manager)||void 0===e||e.expandRule(s,r,i)})),i}}processStyles(s,t){if(s)for(let t in s){const e=s[t];this.compileStyleSheet(t,e)}if(t)for(let s in t){const e=t[s];this.expandStyleSheet(s,e)}}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join("-"),t=(...e)=>e.join(" "),s=(...e)=>e.join(","),r=(e,t)=>((e,t)=>Object.fromEntries(Object.entries(e).map((e=>t(e)))))(e,(e=>[e[0],t(e[1])])),i=e=>e&&r(e,(e=>e+"rem")),o=e=>e&&r(e,(e=>e+"ms")),l=e=>e&&r(e,(e=>e+"px")),a=e=>e&&r(e,(e=>e+"deg")),n=e=>e&&r(e,(e=>e+"vw")),c=e=>e&&r(e,(e=>e+"vh")),p=e=>e&&r(e,(e=>e+"vmin")),m=e=>e&&r(e,(e=>e+"vmax")),h=e=>e&&r(e,(e=>e+"cqb")),d=e=>e&&r(e,(e=>e+"cqi")),b=e=>e&&r(e,(e=>e+"cqmin")),f=e=>e&&r(e,(e=>e+"cqmax")),u=e=>e&&r(e,(e=>"span "+e)),_="x",g="y",y="horizontal",v="vertical",x="text",w="font",S="column",j="max",$="min",z="content",O=z+"s",k="items",E="self",q="inline",A="block",N="size",V="radius",R="direction",W="outline",I="style",P="end",C="start",K="center",T="word",B="line",G="break",H="wrap",J="nowarp",L="template",M="rule",U="object",D="top",F="left",Q="bottom",X="right",Y="width",Z="color",ee="overflow",te="align",se="type",re="transform",ie="all",oe="height",le="normal",ae="opacity",ne="visibility",ce="scale",pe="box",me="border",he="position",de="none",be="auto",fe="fill",ue="stroke",_e="reverse",ge="space",ye="fixed",ve="origin",xe="alpha",we="luminance",Se="clip",je="zoom",$e="scroll",ze="padding",Oe="margin",ke="both",Ee="mode",qe="repeat",Ae="light",Ne="linear",Ve="hidden",Re=e(me,Q),We=e(me,F),Ie=e(me,X),Pe=e(me,D),Ce=e(me,A),Ke=e(me,q),Te=e(Ce,C),Be=e(Ce,P),Ge=e(Ke,C),He=e(Ke,P),Je=e(me,Y),Le=e(Re,Y),Me=e(We,Y),Ue=e(Ie,Y),De=e(Pe,Y),Fe=e(Ce,Y),Qe=e(Ke,Y),Xe=e(Te,Y),Ye=e(Be,Y),Ze=e(Ge,Y),et=e(He,Y),tt=e(me,V),st=e(me,Q,F,V),rt=e(me,Q,X,V),it=e(me,D,F,V),ot=e(me,D,X,V),lt=e(me,C,P,V),at=e(me,C,C,V),nt=e(me,P,P,V),ct=e(me,P,C,V),pt=e(me,Z),mt=e(We,Z),ht=e(Ie,Z),dt=e(Pe,Z),bt=e(Re,Z),ft=e(Ce,Z),ut=e(Ke,Z),_t=e(Te,Z),gt=e(Be,Z),yt=e(Ge,Z),vt=e(He,Z),xt=e(me,I),wt=e(We,I),St=e(Ie,I),jt=e(Pe,I),$t=e(Re,I),zt=e(Ce,I),Ot=e(Ke,I),kt=e(Te,I),Et=e(Be,I),qt=e(Ge,I),At=e(He,I),Nt=e(W,Z),Vt=e(W,Y),Rt=e(W,I),Wt=e(W,"offset"),It=e(ee,_),Pt=e(ee,g),Ct=e(U,"fit"),Kt=e(U,he),Tt=e(ce,"down"),Bt=e(pe,"shadow"),Gt=e(ze,pe),Ht=e(me,pe),Jt=e(z,pe),Lt=e(fe,pe),Mt=e(ue,pe),Ut=e("view",pe),Dt=e("no",Se),Ft=e(qe,_),Qt=e(qe,g),Xt=e("no",qe),Yt=e(ze,F),Zt=e(ze,D),es=e(ze,X),ts=e(ze,Q),ss=e(Oe,F),rs=e(Oe,D),is=e(Oe,X),os=e(Oe,Q),ls="grid",as="row",ns="justify",cs="flex",ps=e(q,cs),ms=e(cs,"basis"),hs=e(cs,"grow"),ds=e(cs,"shrink"),bs=e(cs,R),fs=e(cs,H),us=e(ns,z),_s=e(ns,k),gs=e(te,k),ys=e(te,z),vs=e(te,E),xs=e(ls,L,as+"s"),ws=e(ls,L,S+"s"),Ss=e(as,"gap"),js=e(S,"gap"),$s=e(ns,E),zs=e(ls,as,P),Os=e(ls,as,C),ks=e(ls,S,P),Es=e(ls,S,C),qs=e(S,"count"),As=e(S,fe),Ns=e(S,M,Z),Vs=e(S,M,I),Rs=e(S,M,Y),Ws=e(S,"span"),Is=e(S,Y),Ps=e(as,_e),Cs=e(S,_e),Ks=e(H,_e),Ts=e(cs,P),Bs=e(cs,C),Gs=e(ge,"between"),Hs=e(ge,"around"),Js=e(ge,"evenly"),Ls=e(q,ls),Ms="mask",Us=e(Ms,Se),Ds=e(Ms,"composite"),Fs=e(Ms,Ee),Qs=e(Ms,ve),Xs=e(Ms,he),Ys=e(Ms,qe),Zs=e(Ms,N),er=e(Ms,se),tr="timing-function",sr="delay",rr="duration",ir="animation",or=e(ir,"name"),lr=e(ir,tr),ar=e(ir,R),nr=e(ir,"iteration-count"),cr=e(ir,rr),pr=e(ir,sr),mr=ir+"-play-state",hr=e(ir,fe,Ee),dr="transition",br=dr+"-behavior",fr=dr+"-property",ur=e(dr,tr),_r=e(dr,rr),gr=e(dr,sr),yr="alternate",vr=e(yr,_e),xr="-out",wr="ease",Sr=wr+"-in",jr=Sr+xr,$r=wr+xr,zr="step",Or=e(zr,C),kr=e(zr,P),Er="translate",qr="rotate",Ar="perspective",Nr=e(Ar,ve),Vr=t(F,D),Rr=t(X,D),Wr=t(F,Q),Ir=t(X,Q),Pr="inset",Cr=e(re,pe),Kr=e(re,ve),Tr=e(re,I),Br=e(Pr,A),Gr=e(Pr,A,P),Hr=e(Pr,A,C),Jr=e(Pr,q),Lr=e(Pr,q,P),Mr=e(Pr,q,C),Ur=e("fit",z),Dr=e($,z),Fr=e(j,z),Qr=e(pe,"sizing"),Xr=e(j,Y),Yr=e($,Y),Zr=e(j,oe),ei=e($,oe),ti=e(A,N),si=e(j,ti),ri=e($,ti),ii=e(q,N),oi=e(j,ii),li=e($,ii),ai="snap",ni=e($e,"behavior"),ci=e($e,Oe),pi=e($e,Oe,D),mi=e($e,Oe,Q),hi=e($e,Oe,F),di=e($e,Oe,X),bi=e($e,Oe,A),fi=e($e,Oe,A,P),ui=e($e,Oe,A,C),_i=e($e,Oe,q),gi=e($e,Oe,q,P),yi=e($e,Oe,q,C),vi=e($e,ze),xi=e($e,ze,D),wi=e($e,ze,Q),Si=e($e,ze,F),ji=e($e,ze,X),$i=e($e,ze,A),zi=e($e,ze,A,P),Oi=e($e,ze,A,C),ki=e($e,ze,q),Ei=e($e,ze,q,P),qi=e($e,ze,q,C),Ai=e($e,ai,te),Ni=e($e,ai,"stop"),Vi=e($e,ai,se),Ri="mandatory",Wi=t(_,Ri),Ii=t(g,Ri),Pi=t(A,Ri),Ci=t(q,Ri),Ki=t(ke,Ri),Ti="proximity",Bi=t(_,Ti),Gi=t(g,Ti),Hi=t(A,Ti),Ji=t(q,Ti),Li=t(ke,Ti),Mi=e(x,"decoration"),Ui=e(Mi,Z),Di=e(x,re),Fi=e(x,te),Qi=e(x,ee),Xi=e(x,"orientation"),Yi=e(T,G),Zi=e(w,N),eo=w+"-weight",to=w+"-family",so=e(w,I),ro=e("writing",Ee),io=e(B,oe),oo=e(B,G),lo=B+"-through",ao="over"+B,no="under"+B,co="pre",po=e(co,B),mo=e(co,H),ho=G+"-spaces",bo=e(G,ie),fo=e(G,T),uo=y+"-tb",_o=v+"-lr",go=v+"-rl",yo="keep-"+ie,vo="pointer",xo="pan",wo=e(xo,_),So=e(xo,F),jo=e(xo,X),$o=e(xo,g),zo=e(xo,"up"),Oo=e(xo,"down"),ko=e("pinch",je),Eo=e(v,x),qo="grab",Ao=qo+"bing",No="resize",Vo="col-"+No,Ro="row-"+No,Wo="n-"+No,Io="e-"+No,Po="s-"+No,Co="w-"+No,Ko="ne-"+No,To="ew-"+No,Bo="nw-"+No,Go="se-"+No,Ho="sw-"+No,Jo="ns-"+No,Lo="nesw-"+No,Mo="nwse-"+No,Uo=e(je,"in"),Do=e(je,"out"),Fo=e(vo,"events"),Qo=e($e,he),Xo=e("caret",Z),Yo=e("accent",Z),Zo="filter",el="backdrop-"+Zo,tl="background",sl=e(tl,Z),rl=e(tl,Se),il=e(tl,ve),ol=e(tl,he),ll=e(tl,he,_),al=e(tl,he,g),nl=e(tl,qe),cl=e(tl,N),pl=e(tl,"blend",Ee),ml=e(tl,"attachment"),hl="gradient",dl=e(Ne,hl);e("radial",hl),e("conic",hl);const bl=e(z,ne);e(ue,Y),e(fe,M);const fl=e(Z,"dodge"),ul=e(Z,"burn"),_l=e("hard",Ae),gl=e("soft",Ae);e(Z,"mix");const yl="revert",vl={uni:{ini:"initial",inh:"inherit",u:"unset",r:yl,rl:e(yl,"layer"),a:be,no:de},ali:{s:C,e:P,c:K,st:"stretch",sb:Gs,sa:Hs,se:Js,b:"baseline",fs:Bs,fe:Ts,no:de},dis:{g:ls,ig:Ls,f:cs,if:ps},fd:{r:as,rr:Ps,c:S,cr:Cs},fw:{w:H,nw:J,wr:Ks},rep:{rx:Ft,ry:Qt,r:qe,s:ge,ro:"round",nr:Xt},ttf:{l:Ne,e:wr,ei:Sr,eo:$r,eio:jr,ss:Or,se:kr},ws:{n:le,nw:J,p:co,pl:po,pw:mo,bs:ho},wb:{n:le,ba:bo,ka:yo,bw:fo},wm:{htb:uo,vlr:_o,vrl:go},hyp:{no:de,m:"manual",a:be},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:lo,o:ao,u:no},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:F,c:K,j:ns,r:X,s:C,e:P},tp:{all:ie,col:s(Z,sl,pt,Ui),icon:s(fe,ue),filter:s(Zo,el),ind:s(ze,Oe),sz:s(Y,Xr,Yr,oe,Zr,ei),esz:s(ri,ti,si,li,ii,oi),o:ae,b:me,f:cs,g:ls,pos:s(he,F,D,Q,X),tf:s(re,Er,ce,qr,"skew",Ar)},lb:{a:be,any:"anywhere",n:le,l:"loose",s:"strict"},ov:{h:Ve,s:$e,a:be,c:Se,e:"ellipsis"},v:{h:Ve,v:"visible",c:"collapse",a:be},wc:{a:be,sp:Qo,c:O,tf:re,o:ae,i:Pr,tfi:re+","+Pr},afm:{no:de,f:"forwards",b:"backwards",both:ke},adir:{r:_e,a:yr,ar:vr},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:le},app:{n:de,a:be},pe:{a:be,no:de,all:ie,f:fe,s:ue},cur:{h:"help",a:be,p:vo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:x,vt:Eo,cp:"copy",m:"move",g:qo,gng:Ao,cr:Vo,rr:Ro,nr:Wo,er:Io,sr:Po,wr:Co,ner:Ko,ewr:To,nwr:Bo,ser:Go,swr:Ho,nsr:Jo,neswr:Lo,nwser:Mo,zi:Uo,zo:Do},res:{n:de,v:v,h:y,b:ke},toa:{a:be,no:de,px:wo,pl:So,pr:jo,py:$o,pu:zo,pd:Oo,pz:ko,m:"manipulation"},us:{n:de,t:x,all:ie,a:be},sb:{a:be,s:"smooth"},sss:{n:le,a:"always"},sst:{n:de,x:_,y:g,b:A,i:q,both:ke,xm:Wi,ym:Ii,bm:Pi,im:Ci,bothm:Ki,xp:Bi,yp:Gi,bp:Hi,ip:Ji,bothp:Li},fst:{i:"italic",n:le,o:"oblique"},pos:{r:"relative",a:"absolute",f:ye,s:"static"},posv:{b:Q,t:D,c:K,l:F,r:X,lt:Vr,rt:Rr,lb:Wr,rb:Ir},csz:{cv:"cover",cn:"contain",a:be,f:fe,sd:Tt},cf:{a:be,b:"balance"},cs:{no:de,all:ie},box:{c:Jt,p:Gt,b:Ht,f:Lt,s:Mt,v:Ut,nc:Dt,t:x},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:xe,l:we},mm:{a:xe,l:we,m:"match-source"},bgbm:{n:le,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Ae+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:Z,lum:"luminosity",cd:fl,cb:ul,hl:_l,sl:gl},bga:{s:$e,f:ye,l:"local"},ls:{no:de,dt:"dotted",i:Pr,h:Ve,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:Dr,max:Fr,fit:Ur,no:0,a:be}},xl={a:ir,an:or,adur:cr,adel:pr,aps:mr,afm:hr,adir:ar,aic:nr,atf:lr,tdur:_r,tdel:gr,tb:br,tp:fr,ttf:ur,bor:me,bw:Je,br:tt,bs:xt,bls:wt,brs:St,bts:jt,bbs:$t,bbls:zt,bis:Ot,bbss:kt,bbes:Et,biss:qt,bies:At,brw:Ue,blw:Me,btw:De,bbw:Le,btlr:it,btrr:ot,bbrr:rt,bblr:st,biw:Qe,bblw:Fe,bbew:Ye,bbsw:Xe,bisw:Ze,biew:et,besr:ct,beer:nt,bssr:at,bser:lt,bc:pt,blc:mt,brc:ht,btc:dt,bbc:bt,bblc:ft,bic:ut,bbsc:_t,bbec:gt,bisc:yt,biec:vt,bgc:sl,c:Z,acc:Yo,ctc:Xo,st:ue,fi:fe,flt:Zo,bf:el,g:ls,f:cs,dis:"display",jc:us,ji:_s,ai:gs,ac:ys,gtr:xs,gtc:ws,rg:Ss,cg:js,as:vs,js:$s,gre:zs,grs:Os,gce:ks,gcs:Es,fd:bs,fw:fs,fs:ds,fg:hs,fb:ms,ord:"order",m:Oe,ml:ss,mr:is,mt:rs,mb:os,p:ze,pl:Yt,pr:es,pt:Zt,pb:ts,oc:Nt,ow:Vt,os:Rt,oo:Wt,l:F,r:X,t:D,b:Q,ins:Pr,ib:Br,ibe:Gr,ibs:Hr,ii:Jr,iie:Lr,iis:Mr,wc:"will-change",app:"appearance",pe:Fo,cur:"cursor",toa:"touch-action",us:"user-select",res:No,sb:ni,ssa:Ai,sss:Ni,sst:Vi,sm:ci,sml:hi,smr:di,smt:pi,smb:mi,sp:vi,spl:Si,spr:ji,spt:xi,spb:wi,smbl:bi,smbe:fi,smbs:ui,smi:_i,smie:gi,smis:yi,spbl:$i,spbe:zi,spbs:Oi,spi:ki,spie:Ei,spis:qi,ar:"aspect-ratio",w:Y,maxw:Xr,minw:Yr,h:oe,minh:ei,maxh:Zr,bl:ti,maxb:si,minb:ri,i:ii,mini:li,maxi:oi,per:Ar,pero:Nr,rot:qr,sc:ce,tf:re,tfb:Cr,tfo:Kr,tfs:Tr,tr:Er,z:je,lts:"letter-spacing",lh:io,lb:oo,fst:so,ff:to,fwg:eo,fsz:Zi,tt:Di,td:Mi,ta:Fi,to:Qi,ws:"white-space",tor:Xi,wb:Yi,wm:ro,hyp:"hyphens",bsz:Qr,bsh:Bt,pos:he,cf:As,crs:Vs,crc:Ns,crw:Rs,cs:Ws,cw:Is,cc:qs,bgcl:rl,bgp:ol,bgpx:ll,bgpy:al,bgbm:pl,bgo:il,bgr:nl,bga:ml,bgsz:cl,mcl:Us,mcm:Ds,mm:Fs,mo:Qs,mp:Xs,mre:Ys,msz:Zs,mtp:er,obf:Ct,obp:Kt,cnt:z,ov:ee,ovx:It,ovy:Pt,v:ne,cv:bl,o:ae,zi:"z-index",zm:je,lg:dl,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},wl={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Object.assign({lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2}},vl)},Sl=e=>`{${e}}`,jl=Object.assign.bind(Object),$l=(e,t)=>`${e}:${t};`,zl=(e,t)=>["@property",e,Sl($l("syntax",t.syn||'"*"')+$l("inherits",t.inh||!1)+(t.ini?$l("initial-value",t.ini):""))].join(" "),Ol=e=>`var(${e})`,kl=({l:e,c:t,h:s,a:r=1})=>`oklch(${e} ${t} ${s} / ${r})`,El=["l","c","h","a"];class ql{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=wl,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,s;if(e)for(const t in e)this._params[t]=jl(this._params[t]||{},e[t]);const{time:_,rem:g,coef:y,szu:v,sz:x,sp:w,rad:S,th:j,fr:$,bp:z,fsz:O,lsp:k,tr:E,sk:q,rot:A,fg:N,fs:V,fb:R,fo:W,ra:I,ro:P,co:C,ca:K,ins:T,cqu:B,cqb:G,cqi:H,cqmin:J,cqmax:L,vu:M,vw:U,vh:D,vmin:F,vmax:Q}=this._params.root,X=(e=>e&&r(e,(e=>100*Number(e)+"%")))($);this._params.root=jl(this._params.root,{cqb:h(G||B),cqi:d(H||B),cqmin:b(J||B),cqmax:f(L||B),vw:n(U||M),vh:c(D||M),vmin:p(F||M),vmax:m(Q||M),fo:W||y,fg:N||y,fs:V||y,fb:R||X,ra:I||u(y),ro:P||y,ca:K||u(y),co:C||y,ins:T||X,sz:jl(i(x)||{},v),sp:jl(i(w)||{},v),rad:i(S),th:i(j),bp:i(z),fsz:i(O),lsp:i(k),tr:i(E),sk:a(q),rot:a(A),perc:X,time:o(_),rem:l(g)});const Y=function(e,t){var s={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(s[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(s[r[i]]=e[r[i]])}return s}(this._params,["root"]),Z=Object.entries(Y),ee={_mode:{root:{}}},te={};Z.forEach((([e,t])=>{ee._mode[e]||(ee._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,r])=>{const i=this._prepareVarName(t,s);ee._mode[e][i]=r,ee._mode.root[i]||(ee._mode.root[i]=r,te[t]||(te[t]={}),te[t][s]=`var(${i})`)}))}))})),this._compValues=te,this._compKeys=Object.entries(this._compValues.bp||{}).reduce(((e,[t,s])=>(e[t+"_"]=`@media (min-width:${s})`,e[t.toUpperCase()+"_"]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ee),{$r_:Object.assign(Object.assign({},ee._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ee._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ee._mode.dark}}:{}),(null===(s=ee._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:ee._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this.compile=(e,t)=>{const{_:s,k:r={},v:i={},c:o}=t,l=this._prepareSelector.bind(this),a=this._parseSelector.bind(this);let n=jl({},o),c=jl({},r),p=jl({_:{}},i),m="";if(s)for(let t in s){const r=s[t];if("c"===r.typ){const s={};El.forEach((i=>{const o=t+i,l=this._prepareVarName(e,o);s[i]=l,c["_"+o]=s[i],m+=zl(l,r)})),p._[t]=kl({l:Ol(s.l),c:Ol(s.c),h:Ol(s.h),a:Ol(s.a)}),r.all&&(n["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,n["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,n["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,n["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const s=this._prepareVarName(e,t);c["_"+t]=s,p._[t]=Ol(s),m+=zl(s,r)}}const h=e=>c[e]||this._compKeys[e]||xl[e],d=e=>p[e]||this._compValues[e]||this._params.root[e],b=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,r]=t.split(".");if(r){const e=d(s);return(null==e?void 0:e[r])||(null==e?void 0:e.def)}return h(s)})),f=e=>{const t=e.split("?");let s;for(let e in t){const r=t[e],[i,o]=r.split("=>"),[l,a,n]=i.match(/(\w+)(\[[\w,]+\])?/),c=d(a);if(!c)continue;s=c;let p=Object.entries(s);const m=null==n?void 0:n.slice(1,-1).split(",");if(m){const e=new Set(m);p=p.filter((([t,s])=>e.has(t)))}if(o){let[e,t]=o.split("|");void 0===t&&(t=e,e=""),p=p.map((([s,r])=>[e.replace("{0}",s)||s,b(t.replaceAll("{1}",r))]))}(m||o)&&(s=Object.fromEntries(p));break}return s};function u(t,s,r){var i,o,n;let c=""+t;if((null===(i=null==t?void 0:t.startsWith)||void 0===i?void 0:i.call(t,"$"))&&(c=h(t.slice(1)),!c))return"";if(Array.isArray(s))return u(c,Object.assign({},...s.map((e=>"string"==typeof e?f(e):e))),r);if(null==s)return"";if("object"==typeof s){const t=!r||c.startsWith("&")||c.startsWith("@")?"":"&";if(c.startsWith("_")){const{e:r,m:i,mv:o}=a(c);return i&&"string"!=typeof o?Object.entries(s).reduce(((s,[o,a])=>{let n;return n="object"==typeof a?Object.entries(a).reduce(((e,t)=>e+u(...t,c)),""):a+";",s+t+l({b:e,e:r,m:i,mv:o})+Sl(n)}),""):t+l({b:e,e:r,m:i,mv:o})+Sl(Object.entries(s).reduce(((e,t)=>e+u(...t,c)),""))}return t+c+Sl(Object.entries(s).reduce(((e,t)=>e+u(...t,c)),""))}{let e=""+s;return(null===(o=null==e?void 0:e.startsWith)||void 0===o?void 0:o.call(e,"&"))?u(c,f(e.slice(1)),r):(null===(n=null==e?void 0:e.includes)||void 0===n?void 0:n.call(e,"{"))?u(c,b(e),r):$l(c,s)}}return m+Object.entries(n).reduce(((e,t)=>e+u(...t)),"")};const{mode:t,prefix:s,params:_}=e;this._mode=t||"a",this._prefix=s||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:r,s:i})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&r?"_"+r:"")+(i?":"+i:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:r,s:i})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(r?"-"+r:"")+(i?":"+i:"")+'"':""}]`,this._analyzeParams(_)}_parseSelector(e){let t,s,r,i;return e.startsWith("__")?[t,s,r]=e.slice(2).split("_"):[t,s,r]=e.split("_"),r&&([r,i]=r.split(":")),{e:t,m:s,mv:r,s:i}}expandSelector(e,t){const{e:s,m:r,mv:i,s:o}=this._parseSelector(t),l=o&&this._getStateSelector(o);return[this._prepareSelector({b:e,e:s,m:r,mv:i}),this._prepareSelector({b:e,e:s,m:r,mv:i,s:o})+"{"+l]}_getStateSelector(e){const t=e+"_",s=this._compKeys[t]||xl[t];if(s)return(s.startsWith("&")||s.startsWith("@")?"":"&")+s}}class Al{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],e)for(let t in e)this.pack(t,e[t])}get(e){return this._stylesheets[e]}getAll(){return this._stylesheets}add(e,t){if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),!0}remove(e){const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),!0}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},!0}pack(e,t){const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s),s;console.log(`StyleSheet '${e}' is empty`)}cacheRules(e,t){[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set}getExpandedSelectors(e){return this._expandedSelectors[e]}expandRule(e,t,s){const r=this._rules[e];if(!r)return void console.log(`No stylesheet found with key '${e}'`);const i=r[t];if(!i)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[o,l]=i.cssText.split("{");if(i.parentStyleSheet){const t=s+"{"+l+"}",o=i.parentStyleSheet.insertRule(t,i.parentStyleSheet.cssRules.length),a=i.parentStyleSheet.cssRules[o],n=s.split("{")[0];return r[n]=a,this._expandedSelectors[e].add(n),!0}}apply(e){e.adoptedStyleSheets=this._styleSheetsArray}}const Nl="style-provider";customElements.define(Nl,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var e;const t=null===(e=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===e?void 0:e.textContent;return t?JSON.parse(t):{}}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:r}=e;this.processor=new ql({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Al({init:`${Nl} {display: contents;}`+this.processor.baseStyles}),this.processStyles(s,r),this.manager.apply(document)}compileStyleSheet(e,t){var s,r;const i=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(i)return null===(r=this.manager)||void 0===r?void 0:r.pack(e,i)}expandStyleSheet(e,t){var s;const r=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&r){const s=new Set(t).difference(r),i=s.size;return i&&this.processor&&s.keys().forEach((t=>{var s;const[r,i]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,r,i)})),i}}processStyles(e,t){if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{space as s,comma as _}from"../css/functions.js";var c={c:{_:{$dis:"{dis.f}"},_dis:"&dis[if,f]=>{dis}:{1}",_dir:"&fd=>{fd}:{1}",_w:"&fw=>{fw}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se,fs,fe]=>{jc}:{1}",_ai:"&ali[c,st,b,fs,fe]=>{ai}:{1}",_ac:"&ali[c,st,sb,sa,se,fs,fe]=>{ac}:{1}"}},a={c:{_as:"&ali[s,e,c,st,fs,fe]=>{as}:{1}",_fg:"&fg=>{fg}:{1}",_fs:"&fs=>{fs}:{1}",_fb:"&fb=>{fb}:{1}",_o:"&fo=>{ord}:{1}"}},p={c:{_:{$dis:"{dis.g}"},_dis:"&dis[g,ig]=>{dis}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se]=>{jc}:{1}",_ji:"&ali[s,e,c,st]=>{ji}:{1}",_ai:"&ali[s,e,c,st,b]=>{ai}:{1}",_ac:"&ali[sb,se,sa,c,st]=>{ac}:{1}",_gtr:">r=>{gtr}:{1}?coef=>{gtr}:repeat({1},1fr)",_gtc:">c=>{gtc}:{1}?coef=>{gtc}:repeat({1},1fr)",_rg:"&sp=>{rg}:{1}",_cg:"&sp=>{cg}:{1}"}},b={c:{_as:"&ali[s,e,c,st]=>{as}:{1}",_js:"&ali[s,e,c,st]=>{js}:{1}",_ra:"&ra=>{gre}:{1}",_ca:"&ca=>{gce}:{1}",_ro:"&ro=>{grs}:{1}",_co:"&co=>{gcs}:{1}"}},r={c:{_tt:"&tt=>{tt}:{1}",_td:"&td=>{td}:{1}",_ta:"&ta=>{ta}:{1}",_to:"&ov[c,e]=>{to}:{1}",_ws:"&ws=>{ws}:{1}",_wb:"&wb=>{wb}:{1}",_wm:"&wm=>{wm}:{1}",_hyp:"&hyp=>{hyp}:{1}",_tor:"&tor=>{tor}:{1}"}},t={c:{_ls:"&ls=>{ls}:{1}",_lh:"&lh=>{lh}:{1}",_lb:"&lb=>{lb}:{1}",_st:"&fst=>{fst}:{1}",_w:"&fwg=>{fwg}:{1}",_f:"&ff=>{ff}:{1}",_sz:"&fsz=>{fsz}:{1}"}},m={_:{c:{typ:"c",wrap:!0}},c:{_:{$_cc:"{c.def}",$_ch:"{h.def}",$_cl:"{l.def}",$crc:"{_.c}"},_cf:"&cf=>{cf}:{1}",_cg:"&sp=>{cg}:{1}",_crs:"&lst=>{crs}:{1}",_crw:"&th=>{crw}:{1}",_cs:"&cs=>{cs}:{1}",_cw:"&sz=>{cw}:{1}",_cc:"&sp=>{cc}:{1}"}},i={c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},$={c:{_pos:"&pos=>{pos}:{1}",_ov:"&ov=>{ov}:{1}",_ovx:"&ov=>{ovx}:{1}",_ovy:"&ov=>{ovy}:{1}",_v:"&v[v,h,c]=>{v}:{1}",_o:"&o=>{o}:{1}",_zi:"&zi=>{zi}:{1}",_cv:"&v[v,h,a]=>{v}:{1}"}},e={c:{_clip:"&box[c,p,b,f,s,v]=>{mcl}:{1}",_comp:"&mcm=>{mcm}:{1}",_m:"&mm=>{mm}:{1}",_o:"&box[c,p,b,f,s,v]=>{mo}:{1}",_p:"&posv=>{mp}:{1}",_r:"&rep=>{mre}:{1}",_sz:"&csz[cv,cn,a]=>{msz}:{1}",_t:"&mtp=>{mtp}:{1}"}},l={c:{_bm:"&bgbm=>{bgbm}:{1}",_a:"&bga=>{bga}:{1}",_cl:"&box[c,p,b,t]=>{bgcl}:{1}",_o:"&box[c,p,b]=>{bgo}:{1}",_p:"&posv=>{bgp}:{1}",_px:"&posv[r,l,c]=>{bgpx}:{1}",_py:"&posv[t,b,c]=>{bgpy}:{1}",_r:"&rep=>{bgr}:{1}",_sz:"&csz[cv,cn,a]=>{bgsz}:{1}"}};const f="{_.sz}",o=`calc(-1 * ${f})`,h=`calc(0.5 * ${f})`,w=`calc(-0.5 * ${f})`,d="{_.c}";var x={_:{sz:{},c:{typ:"c",wrap:!0}},c:{_:{$pos:"{pos.r}",$_cl:"{lig.def}",$_ch:"{hue.def}",$_cc:"{chr.def}",$_ca:1,$_sz:"{sp.m}"},_ssz:"&sp=>{_sz}:{1}",_shp:{r:{$bsh:s(f,0,h,w,d)},l:{$bsh:s(o,0,h,w,d)},t:{$bsh:s(0,o,h,w,d)},b:{$bsh:s(0,f,h,w,d)},x:{$bsh:_(s(f,0,h,w,d),s(o,0,h,w,d))},y:{$bsh:_(s(0,o,h,w,d),s(0,f,h,w,d))},f:{$bsh:s(0,0,f,h,d)},tr:{$bsh:s(f,o,f,w,d)},tl:{$bsh:s(o,o,f,w,d)},br:{$bsh:s(f,f,f,w,d)},bl:{$bsh:s(o,f,f,w,d)}},_bsz:"&box[c,b]=>{bsz}:{1}"}},n={c:{_t:"&ins=>{t}:{1}",_b:"&ins=>{b}:{1}",_l:"&ins=>{l}:{1}",_r:"&ins=>{r}:{1}",_x:"&ins=>{r}:{1};{l}:{1}",_y:"&ins=>{t}:{1};{b}:{1}",_ib:"&ins=>{ib}:{1}",_ibe:"&ins=>{ibe}:{1}",_ibs:"&ins=>{ibs}:{1}",_ii:"&ins=>{ii}:{1}",_iie:"&ins=>{iie}:{1}",_iis:"&ins=>{iis}:{1}"}};const g=["sz","perc"],v=["cqw","cqmin","cqmax"],y=["vw","vmin","vmax"],z=["cqh","cqmin","cqmax"],u=["vh","vmin","vmax"];var k={c:{_w:[...g.map((s=>`&${s}=>{w}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...g.map((s=>`&${s}=>{maxw}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...g.map((s=>`&${s}=>{minw}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...g.map((s=>`&${s}=>{h}:{1}`)),...z.map((s=>`&${s}=>{h}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...g.map((s=>`&${s}=>{maxh}:{1}`)),...z.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...g.map((s=>`&${s}=>{minh}:{1}`)),...z.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const q=["sz","perc"],j=["cqb","cqmin","cqmax"],X=["vw","vh","vmin","vmax"],Y=["cqi","cqmin","cqmax"];var Z={c:{_b:[...q.map((s=>`&${s}=>{b}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...q.map((s=>`&${s}=>{maxb}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...q.map((s=>`&${s}=>{minb}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...q.map((s=>`&${s}=>{i}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...q.map((s=>`&${s}=>{maxi}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...q.map((s=>`&${s}=>{mini}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},A={c:{_dur:"&time=>{adur}:{1}",_del:"&time=>{adel}:{1}",_ps:"&aps=>{aps}:{1}",_fm:"&afm=>{afm}:{1}",_dir:"&adir=>{adir}:{1}",_ic:"&ic=>{aic}:{1}",_tf:"&ttf=>{atf}:{1}"}},B={c:{_:{$tdur:"{time.s}",$tdel:"{time.no}"},_tdur:"&time=>{tdur}:{1}",_tdel:"&time=>{tdel}:{1}",_tb:"&tb=>{tb}:{1}",_tp:"&tp=>{tp}:{1}",_ttf:"&ttf=>{ttf}:{1}"}},C={c:{_m:"&sp=>{m}:{1}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{mb}:{1}",_p:"&sp=>{p}:{1}",_px:"&sp=>{pl}:{1};{pr}:{1}",_py:"&sp=>{pt}:{1};{pb}:{1}",_pt:"&sp=>{pt}:{1}",_pl:"&sp=>{pl}:{1}",_pr:"&sp=>{pr}:{1}",_pb:"&sp=>{pb}:{1}"}},D={_:{scx:{ini:"0"},scy:{ini:"0"},skx:{ini:"0"},sky:{ini:"0"},x:{ini:"0"},y:{ini:"0"},z:{ini:"0"}},c:{_:{$sc:"{_scx} {_scy}",$tf:"skew({_skx},{_sky})",$tr:"{_x} {_y} {_z}"},_x:"&tr=>{_x}:{1}",_y:"&tr=>{_y}:{1}",_z:"&tr=>{_z}:{1}",_skx:"&sk=>{_skx}:{1}",_sky:"&sk=>{_sky}:{1}",_scx:"&sc=>{_scx}:{1}",_scy:"&sc=>{_scy}:{1}",_sc:"&sc=>{sc}:{1}",_rx:"&rot=>{rot}:X {1}",_ry:"&rot=>{rot}:Y {1}",_rz:"&rot=>{rot}:Z {1}",_zm:"&zm=>{zm}:{1}",_per:"&per=>{per}:{1}",_pero:"&posv=>{pero}:{1}",_b:"&box[c,b,f,s,v]=>{tfb}:{1}",_o:"&pos=>{tfo}:{1}",_s:{p:"{tfs}:preserve-3",f:"{tfs}:flat"}}},E={c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},F={c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},G={_:{st:{}},c:{_:{">*":{$sst:"{_.st}"}},_b:"&sb=>{sb}:{1}",_sa:"&ali[s,e,c,no]=>{ssa}:{1}",_ss:"&sss=>{sss}:{1}",_st:"&sst=>{st}:{1}",_m:"&sp=>{sm}:{1}",_mx:"&sp=>{sml}:{1};{smr}:{1}",_my:"&sp=>{smt}:{1};{smb}:{1}",_mt:"&sp=>{smt}:{1}",_ml:"&sp=>{sml}:{1}",_mr:"&sp=>{smr}:{1}",_mb:"&sp=>{smb}:{1}",_p:"&sp=>{sp}:{1}",_px:"&sp=>{spl}:{1};{spr}:{1}",_py:"&sp=>{spt}:{1};{spb}:{1}",_pt:"&sp=>{spt}:{1}",_pl:"&sp=>{spl}:{1}",_pr:"&sp=>{spr}:{1}",_pb:"&sp=>{spb}:{1}"}},H={c:{_mbl:"&sp=>{smbl}:{1}",_mbe:"&sp=>{smbe}:{1}",_mbs:"&sp=>{smbs}:{1}",_mi:"&sp=>{smi}:{1}",_mie:"&sp=>{smie}:{1}",_mis:"&sp=>{smis}:{1}",_pbl:"&sp=>{spbl}:{1}",_pbe:"&sp=>{spbe}:{1}",_pbs:"&sp=>{spbs}:{1}",_pi:"&sp=>{spi}:{1}",_pie:"&sp=>{spie}:{1}",_pis:"&sp=>{spis}:{1}"}},I={_:{c:{typ:"c",all:!0}},c:{_:{$bw:0,$br:0,$bs:"{ls.s}",$bc:"{_.c}"},_w:"&th=>{bw}:{1}",_xw:"&th=>{blw}:{1};{brw}:{1}",_yw:"&th=>{btw}:{1};{bbw}:{1}",_rw:"&th=>{brw}:{1}",_lw:"&th=>{blw}:{1}",_tw:"&th=>{btw}:{1}",_bw:"&th=>{bbw}:{1}",_r:"&rad=>{br}:{1}",_lr:"&rad=>{btlr}:{1};{bblr}:{1}",_rr:"&rad=>{btrr}:{1};{bbrr}:{1}",_tr:"&rad=>{btlr}:{1};{btrr}:{1}",_br:"&rad=>{bblr}:{1};{bbrr}:{1}",_tlr:"&rad=>{btlr}:{1}",_trr:"&rad=>{btrr}:{1}",_blr:"&rad=>{bblr}:{1}",_brr:"&rad=>{bbrr}:{1}",_s:"&lst=>{bs}:{1}"}},J={c:{_iw:"&th=>{biw}:{1}",_blw:"&th=>{bblw}:{1}",_bew:"&th=>{bbew}:{1}",_bsw:"&th=>{bbsw}:{1}",_iew:"&th=>{biew}:{1}",_isw:"&th=>{bisw}:{1}",_bsr:"&rad=>{bser}:{1};{bssr}:{1}",_isr:"&rad=>{besr}:{1};{bssr}:{1}",_ber:"&rad=>{besr}:{1};{beer}:{1}",_ier:"&rad=>{bser}:{1};{beer}:{1}",_esr:"&rad=>{besr}:{1}",_ssr:"&rad=>{bssr}:{1}",_ser:"&rad=>{bser}:{1}",_eer:"&rad=>{beer}:{1}"}},K={_:{oc:{typ:"c",all:!0}},c:{_:{$oc:"{_.oc}",$ow:0,$os:"{ls.s}"},_oo:"&sp=>{oo}:{1}",_os:"&lst=>{os}:{1}",_ow:"&th=>{ow}:{1}"}},L={_:{c:{typ:"c",all:!0},b:{typ:"c",all:!0},s:{typ:"c",all:!0},f:{typ:"c",all:!0}},c:{_:{$_cc:"{chr.xs}",$_ch:"{hue.def}",$_cl:"{lig.c}",$_ca:1,$_bc:"{chr.xs}",$_bl:"{lig.n}",$_bh:"{hue.def}",$_ba:1,$_fc:"{chr.xs}",$_fh:"{hue.def}",$_fl:"{lig.c}",$_fa:1,$_sc:"{chr.xs}",$_sl:"{lig.n}",$_sh:"{hue.def}",$_sa:1},_b_:{$bgc:"{_.b}"},_c_:{$c:"{_.c}"},_f_:{$fi:"{_.f}"},_s_:{$st:"{_.s}"}}},M={_:{cr:{typ:"c",all:!0},ac:{typ:"c",all:!0}},c:{_:{$_crc:"{chr.xs}",$_crh:"{hue.def}",$_crl:"{lig.c}",$_cra:1,$_acc:"{chr.def}",$_acl:"{lig.c}",$_ach:"{hue.def}",$_aca:1},_ac_:{$_acc:"{_.ac}"},_cc_:{$_ctc:"{_.cr}"}}};export{A as a,M as ac,F as ag,I as b,J as be,l as bg,x as bx,L as c,m as col,t as f,c as fc,a as fi,p as gc,b as gi,n as i,C as ind,e as mk,K as o,i as obj,G as sc,H as sce,k as sz,Z as sze,B as t,D as tf,r as tx,E as u,$ as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{argsToPercent as $,argsToDeg as t,atKeyframes as o,scale3d as f,comma as n,scaleX as e,scale as i,translate3d as a,translateZ as s,space as v,rotateX as u,rotateY as b,perspective as r,pseudoWhere as c,pseudoHover as h,pseudoVisited as l,pseudoLink as p,pseudoActive as d,pseudoFocus as m}from"../css/functions.js";const x=$(0,.5,.15,.45,.3,.7,.2,.4,.8,.6,.55,1,-1),z=t(-20,-15,-5,10,90),g="In",k="Out",j="Down",y="Up",O="Left",w="Right",B="zoom",D=B+g,I=B+k,L="pulse",R="bounce",U=R+g,_=R+k,q="fade",A=q+g,C=A+j,E=A+y,F=A+O,G=A+w,H=q+k,J=H+j,K=H+y,M=H+O,N=H+w,P="flip",Q=P+g+"x",S=P+g+"y",T=P+k+"x",V=P+k+"y",W="slide",X=W+g,Y=X+j,Z=X+y,$$=X+w,t$=X+O,o$=W+k,f$=o$+j,n$=o$+y,e$=o$+w,i$=o$+O,a$="heartBeat",s$=r("25rem");var v$,u$={k:{0:"0%",20:"20%",30:"30%",40:"40%",50:"50%",60:"60%",80:"80%"},c:Object.assign({[o(D)]:{$0:{$o:0,$tf:f(n(.25,.25,.25))},$50:{$o:1}},[o(I)]:{$0:{$o:1},$50:{$o:0,$tf:f(n(.25,.25,.25))},to:{$o:0}},[o(L)]:{$0:{$tf:e(1)},$50:{$tf:f(n(1.05,1.05,1.05))},to:{$tf:e(1)}},[o(a$)]:{$0:{$tf:i(1)},[x[15]]:{$tf:i(1.25)},$30:{$tf:i(1)},[x[45]]:{$tf:i(1.25)},[x[70]]:{$tf:i(0)}},[o(U)]:{[n(x[0],x[20],x[40],x[60],x[80],"to")]:{$atf:"cubic-bezier(.215,.61,.355,1)"},$0:{$o:0,$tf:f(n(.25,.25,.25))},[x[20]]:{$tf:f(n(1.1,1.1,1.1))},$40:{$tf:f(n(.9,.9,.9))},$60:{$o:1,$tf:f(n(1.05,1.05,1.05))},$80:{$tf:f(n(.95,.95,.95))},to:{$o:1,$tf:e(1)}},[o(_)]:{[x[20]]:{$tf:f(n(.9,.9,.9))},[n(x[50],x[55])]:{$o:1,$tf:f(n(1.1,1.1,1.1))},to:{$o:0,$tf:f(n(.3,.3,.3))}},[o(A)]:{$0:{$o:0},to:{$o:1}},[o(C)]:{$0:{$o:0,$tf:a(0,x[100],0)},to:{$o:1,$tf:s(0)}},[o(F)]:{$0:{$o:0,$tf:a(x[-100],0,0)},to:{$o:1,$tf:s(0)}},[o(G)]:{$0:{$o:0,$tf:a(x[-100],0,0)},to:{$o:1,$tf:s(0)}},[o(E)]:{$0:{$o:0,$tf:a(0,x[100],0)},to:{$o:1,$tf:s(0)}},[o(H)]:{$0:{$o:1},to:{$o:0}},[o(J)]:{$0:{$o:1},to:{$o:0,$tf:a(0,x[-100],0)}},[o(M)]:{$0:{$o:1},to:{$o:0,$tf:a(x[-100],0,0)}},[o(N)]:{$0:{$o:1},to:{$o:0,$tf:a(x[100],0,0)}},[o(K)]:{$0:{$o:1},to:{$o:0,$tf:a(0,x[-100],0)}},[o(Q)]:{$0:{$atf:"{ttf.ei}",$o:0,$tf:v(s$,u(z[90]))},$40:{$atf:"{ttf.ei}",$tf:v(s$,u(z[-20]))},$60:{$o:1,$tf:v(s$,u(z[10]))},$80:{$tf:v(s$,u(z[-5]))},to:{$tf:s$}},[o(S)]:{$0:{$atf:"{ttf.ei}",$o:0,$tf:v(s$,b(z[90]))},$40:{$atf:"{ttf.ei}",$tf:v(s$,b(z[-20]))},$60:{$o:1,$tf:v(s$,b(z[10]))},$80:{$tf:v(s$,b(z[-5]))},to:{$tf:s$}},[o(T)]:{$0:{$tf:s$},$30:{$o:1,$tf:v(s$,u(z[-20]))},to:{$o:0,$tf:v(s$,u(z[90]))}},[o(V)]:{$0:{$tf:s$},$30:{$o:1,$tf:v(s$,b(z[-15]))},to:{$o:0,$tf:v(s$,b(z[90]))}},[o(Y)]:{$0:{$tf:a(0,x[-100],0),$v:"{v.v}"},to:{$tf:s(0)}},[o(t$)]:{$0:{$tf:a(x[-100],0,0),$v:"{v.v}"},to:{$tf:s(0)}},[o($$)]:{$0:{$tf:a(x[100],0,0),$v:"{v.v}"},to:{$tf:s(0)}},[o(Z)]:{$0:{$tf:a(0,x[100],0),$v:"{v.v}"},to:{$tf:s(0)}},[o(f$)]:{$0:{$tf:s(0)},to:{$tf:a(0,x[100],0),$v:"{v.h}"}},[o(i$)]:{$0:{$tf:s(0)},to:{$tf:a(x[-100],0,0),$v:"{v.h}"}},[o(e$)]:{$0:{$tf:s(0)},to:{$tf:a(x[100],0,0),$v:"{v.h}"}},[o(n$)]:{$0:{$tf:s(0)},to:{$tf:a(0,x[-100],0),$v:"{v.h}"}}},(v$=[D,I,L,a$,U,_,A,C,F,G,E,H,J,M,N,K,Q,S,T,V,Y,t$,$$,Z,f$,i$,e$,n$],{$an:v$.reduce((($,t)=>($[t]=t,$)),{})}))},b$={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[c(n("a",p("a"),l("a"),h("a")))]:{$td:"{uni.no}"},[c("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[c("menu,ol,ul")]:{$ls:"{ls.no}"},[c("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[c(n(m("input"),d("input"),m("button"),d("button")))]:{$o:"none"}}};export{u$ as kf,b$ as reset};
|
package/dist/css/dict.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dash as s,space as e,comma as t}from"./functions.js";const r="x",i="y",a="horizontal",o="vertical",n="text",b="font",l="column",c="max",p="min",m="content",d=m+"s",f="items",w="self",h="inline",g="block",u="size",v="radius",y="direction",x="outline",_="style",z="end",k="start",j="center",q="word",A="line",B="break",C="wrap",D="nowarp",E="template",F="rule",G="object",H="top",I="left",J="bottom",K="right",L="width",M="color",N="overflow",O="align",P="type",Q="transform",R="all",S="height",T="normal",U="opacity",V="visibility",W="scale",X="box",Y="border",Z="position",$="none",ss="auto",es="fill",ts="stroke",rs="reverse",is="space",as="fixed",os="origin",ns="alpha",bs="luminance",ls="clip",cs="zoom",ps="scroll",ms="padding",ds="margin",fs="both",ws="mode",hs="repeat",gs="light",us="linear",vs="hidden",ys=s(Y,J),xs=s(Y,I),_s=s(Y,K),zs=s(Y,H),ks=s(Y,g),js=s(Y,h),qs=s(ks,k),As=s(ks,z),Bs=s(js,k),Cs=s(js,z),Ds=s(Y,L),Es=s(ys,L),Fs=s(xs,L),Gs=s(_s,L),Hs=s(zs,L),Is=s(ks,L),Js=s(js,L),Ks=s(qs,L),Ls=s(As,L),Ms=s(Bs,L),Ns=s(Cs,L),Os=s(Y,v),Ps=s(Y,J,I,v),Qs=s(Y,J,K,v),Rs=s(Y,H,I,v),Ss=s(Y,H,K,v),Ts=s(Y,k,z,v),Us=s(Y,k,k,v),Vs=s(Y,z,z,v),Ws=s(Y,z,k,v),Xs=s(Y,M),Ys=s(xs,M),Zs=s(_s,M),$s=s(zs,M),se=s(ys,M),ee=s(ks,M),te=s(js,M),re=s(qs,M),ie=s(As,M),ae=s(Bs,M),oe=s(Cs,M),ne=s(Y,_),be=s(xs,_),le=s(_s,_),ce=s(zs,_),pe=s(ys,_),me=s(ks,_),de=s(js,_),fe=s(qs,_),we=s(As,_),he=s(Bs,_),ge=s(Cs,_),ue=s(x,M),ve=s(x,L),ye=s(x,_),xe=s(x,"offset"),_e=s(N,r),ze=s(N,i),ke=s(G,"fit"),je=s(G,Z),qe=s(W,"down"),Ae=s(X,"shadow"),Be=s(ms,X),Ce=s(Y,X),De=s(m,X),Ee=s(es,X),Fe=s(ts,X),Ge=s("view",X),He=s("no",ls),Ie=s(hs,r),Je=s(hs,i),Ke=s("no",hs),Le=s(ms,I),Me=s(ms,H),Ne=s(ms,K),Oe=s(ms,J),Pe=s(ds,I),Qe=s(ds,H),Re=s(ds,K),Se=s(ds,J),Te="grid",Ue="row",Ve="justify",We="flex",Xe=s(h,We),Ye=s(We,"basis"),Ze=s(We,"grow"),$e=s(We,"shrink"),st=s(We,y),et=s(We,C),tt=s(Ve,m),rt=s(Ve,f),it=s(O,f),at=s(O,m),ot=s(O,w),nt=s(Te,E,Ue+"s"),bt=s(Te,E,l+"s"),lt=s(Ue,"gap"),ct=s(l,"gap"),pt=s(Ve,w),mt=s(Te,Ue,z),dt=s(Te,Ue,k),ft=s(Te,l,z),wt=s(Te,l,k),ht=s(l,"count"),gt=s(l,es),ut=s(l,F,M),vt=s(l,F,_),yt=s(l,F,L),xt=s(l,"span"),_t=s(l,L),zt=s(Ue,rs),kt=s(l,rs),jt=s(C,rs),qt=s(We,z),At=s(We,k),Bt=s(is,"between"),Ct=s(is,"around"),Dt=s(is,"evenly"),Et=s(h,Te),Ft="mask",Gt=s(Ft,ls),Ht=s(Ft,"composite"),It=s(Ft,ws),Jt=s(Ft,os),Kt=s(Ft,Z),Lt=s(Ft,hs),Mt=s(Ft,u),Nt=s(Ft,P),Ot="timing-function",Pt="delay",Qt="duration",Rt="animation",St=s(Rt,"name"),Tt=s(Rt,Ot),Ut=s(Rt,y),Vt=s(Rt,"iteration-count"),Wt=s(Rt,Qt),Xt=s(Rt,Pt),Yt=Rt+"-play-state",Zt=s(Rt,es,ws),$t="transition",sr=$t+"-behavior",er=$t+"-property",tr=s($t,Ot),rr=s($t,Qt),ir=s($t,Pt),ar="alternate",or=s(ar,rs),nr="-out",br="ease",lr=br+"-in",cr=lr+nr,pr=br+nr,mr="step",dr=s(mr,k),fr=s(mr,z),wr="translate",hr="rotate",gr="perspective",ur=s(gr,os),vr=e(I,H),yr=e(K,H),xr=e(I,J),_r=e(K,J),zr="inset",kr=s(Q,X),jr=s(Q,os),qr=s(Q,_),Ar=s(zr,g),Br=s(zr,g,z),Cr=s(zr,g,k),Dr=s(zr,h),Er=s(zr,h,z),Fr=s(zr,h,k),Gr=s("fit",m),Hr=s(p,m),Ir=s(c,m),Jr=s(X,"sizing"),Kr=s(c,L),Lr=s(p,L),Mr=s(c,S),Nr=s(p,S),Or=s(g,u),Pr=s(c,Or),Qr=s(p,Or),Rr=s(h,u),Sr=s(c,Rr),Tr=s(p,Rr),Ur="snap",Vr=s(ps,"behavior"),Wr=s(ps,ds),Xr=s(ps,ds,H),Yr=s(ps,ds,J),Zr=s(ps,ds,I),$r=s(ps,ds,K),si=s(ps,ds,g),ei=s(ps,ds,g,z),ti=s(ps,ds,g,k),ri=s(ps,ds,h),ii=s(ps,ds,h,z),ai=s(ps,ds,h,k),oi=s(ps,ms),ni=s(ps,ms,H),bi=s(ps,ms,J),li=s(ps,ms,I),ci=s(ps,ms,K),pi=s(ps,ms,g),mi=s(ps,ms,g,z),di=s(ps,ms,g,k),fi=s(ps,ms,h),wi=s(ps,ms,h,z),hi=s(ps,ms,h,k),gi=s(ps,Ur,O),ui=s(ps,Ur,"stop"),vi=s(ps,Ur,P),yi="mandatory",xi=e(r,yi),_i=e(i,yi),zi=e(g,yi),ki=e(h,yi),ji=e(fs,yi),qi="proximity",Ai=e(r,qi),Bi=e(i,qi),Ci=e(g,qi),Di=e(h,qi),Ei=e(fs,qi),Fi=s(n,"decoration"),Gi=s(Fi,M),Hi=s(n,Q),Ii=s(n,O),Ji=s(n,N),Ki=s(n,"orientation"),Li=s(q,B),Mi=s(b,u),Ni=b+"-weight",Oi=b+"-family",Pi=s(b,_),Qi=s("writing",ws),Ri=s(A,S),Si=s(A,B),Ti=A+"-through",Ui="over"+A,Vi="under"+A,Wi="pre",Xi=s(Wi,A),Yi=s(Wi,C),Zi=B+"-spaces",$i=s(B,R),sa=s(B,q),ea=a+"-tb",ta=o+"-lr",ra=o+"-rl",ia="keep-"+R,aa="pointer",oa="pan",na=s(oa,r),ba=s(oa,I),la=s(oa,K),ca=s(oa,i),pa=s(oa,"up"),ma=s(oa,"down"),da=s("pinch",cs),fa=s(o,n),wa="grab",ha=wa+"bing",ga="resize",ua="col-"+ga,va="row-"+ga,ya="n-"+ga,xa="e-"+ga,_a="s-"+ga,za="w-"+ga,ka="ne-"+ga,ja="ew-"+ga,qa="nw-"+ga,Aa="se-"+ga,Ba="sw-"+ga,Ca="ns-"+ga,Da="nesw-"+ga,Ea="nwse-"+ga,Fa=s(cs,"in"),Ga=s(cs,"out"),Ha=s(aa,"events"),Ia=s(ps,Z),Ja=s("caret",M),Ka=s("accent",M),La="filter",Ma="backdrop-"+La,Na="background",Oa=s(Na,M),Pa=s(Na,ls),Qa=s(Na,os),Ra=s(Na,Z),Sa=s(Na,Z,r),Ta=s(Na,Z,i),Ua=s(Na,hs),Va=s(Na,u),Wa=s(Na,"blend",ws),Xa=s(Na,"attachment"),Ya="gradient",Za=s(us,Ya);s("radial",Ya),s("conic",Ya);const $a=s(m,V);s(ts,L),s(es,F);const so=s(M,"dodge"),eo=s(M,"burn"),to=s("hard",gs),ro=s("soft",gs);s(M,"mix");const io="revert",ao={uni:{ini:"initial",inh:"inherit",u:"unset",r:io,rl:s(io,"layer"),a:ss,no:$},ali:{s:k,e:z,c:j,st:"stretch",sb:Bt,sa:Ct,se:Dt,b:"baseline",fs:At,fe:qt,no:$},dis:{g:Te,ig:Et,f:We,if:Xe},fd:{r:Ue,rr:zt,c:l,cr:kt},fw:{w:C,nw:D,wr:jt},rep:{rx:Ie,ry:Je,r:hs,s:is,ro:"round",nr:Ke},ttf:{l:us,e:br,ei:lr,eo:pr,eio:cr,ss:dr,se:fr},ws:{n:T,nw:D,p:Wi,pl:Xi,pw:Yi,bs:Zi},wb:{n:T,ba:$i,ka:ia,bw:sa},wm:{htb:ea,vlr:ta,vrl:ra},hyp:{no:$,m:"manual",a:ss},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:Ti,o:Ui,u:Vi},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:I,c:j,j:Ve,r:K,s:k,e:z},tp:{all:R,col:t(M,Oa,Xs,Gi),icon:t(es,ts),filter:t(La,Ma),ind:t(ms,ds),sz:t(L,Kr,Lr,S,Mr,Nr),esz:t(Qr,Or,Pr,Tr,Rr,Sr),o:U,b:Y,f:We,g:Te,pos:t(Z,I,H,J,K),tf:t(Q,wr,W,hr,"skew",gr)},lb:{a:ss,any:"anywhere",n:T,l:"loose",s:"strict"},ov:{h:vs,s:ps,a:ss,c:ls,e:"ellipsis"},v:{h:vs,v:"visible",c:"collapse",a:ss},wc:{a:ss,sp:Ia,c:d,tf:Q,o:U,i:zr,tfi:Q+","+zr},afm:{no:$,f:"forwards",b:"backwards",both:fs},adir:{r:rs,a:ar,ar:or},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:T},app:{n:$,a:ss},pe:{a:ss,no:$,all:R,f:es,s:ts},cur:{h:"help",a:ss,p:aa,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:n,vt:fa,cp:"copy",m:"move",g:wa,gng:ha,cr:ua,rr:va,nr:ya,er:xa,sr:_a,wr:za,ner:ka,ewr:ja,nwr:qa,ser:Aa,swr:Ba,nsr:Ca,neswr:Da,nwser:Ea,zi:Fa,zo:Ga},res:{n:$,v:o,h:a,b:fs},toa:{a:ss,no:$,px:na,pl:ba,pr:la,py:ca,pu:pa,pd:ma,pz:da,m:"manipulation"},us:{n:$,t:n,all:R,a:ss},sb:{a:ss,s:"smooth"},sss:{n:T,a:"always"},sst:{n:$,x:r,y:i,b:g,i:h,both:fs,xm:xi,ym:_i,bm:zi,im:ki,bothm:ji,xp:Ai,yp:Bi,bp:Ci,ip:Di,bothp:Ei},fst:{i:"italic",n:T,o:"oblique"},pos:{r:"relative",a:"absolute",f:as,s:"static"},posv:{b:J,t:H,c:j,l:I,r:K,lt:vr,rt:yr,lb:xr,rb:_r},csz:{cv:"cover",cn:"contain",a:ss,f:es,sd:qe},cf:{a:ss,b:"balance"},cs:{no:$,all:R},box:{c:De,p:Be,b:Ce,f:Ee,s:Fe,v:Ge,nc:He,t:n},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:ns,l:bs},mm:{a:ns,l:bs,m:"match-source"},bgbm:{n:T,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:gs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:M,lum:"luminosity",cd:so,cb:eo,hl:to,sl:ro},bga:{s:ps,f:as,l:"local"},ls:{no:$,dt:"dotted",i:zr,h:vs,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:Hr,max:Ir,fit:Gr,no:0,a:ss}},oo={a:Rt,an:St,adur:Wt,adel:Xt,aps:Yt,afm:Zt,adir:Ut,aic:Vt,atf:Tt,tdur:rr,tdel:ir,tb:sr,tp:er,ttf:tr,bor:Y,bw:Ds,br:Os,bs:ne,bls:be,brs:le,bts:ce,bbs:pe,bbls:me,bis:de,bbss:fe,bbes:we,biss:he,bies:ge,brw:Gs,blw:Fs,btw:Hs,bbw:Es,btlr:Rs,btrr:Ss,bbrr:Qs,bblr:Ps,biw:Js,bblw:Is,bbew:Ls,bbsw:Ks,bisw:Ms,biew:Ns,besr:Ws,beer:Vs,bssr:Us,bser:Ts,bc:Xs,blc:Ys,brc:Zs,btc:$s,bbc:se,bblc:ee,bic:te,bbsc:re,bbec:ie,bisc:ae,biec:oe,bgc:Oa,c:M,acc:Ka,ctc:Ja,st:ts,fi:es,flt:La,bf:Ma,g:Te,f:We,dis:"display",jc:tt,ji:rt,ai:it,ac:at,gtr:nt,gtc:bt,rg:lt,cg:ct,as:ot,js:pt,gre:mt,grs:dt,gce:ft,gcs:wt,fd:st,fw:et,fs:$e,fg:Ze,fb:Ye,ord:"order",m:ds,ml:Pe,mr:Re,mt:Qe,mb:Se,p:ms,pl:Le,pr:Ne,pt:Me,pb:Oe,oc:ue,ow:ve,os:ye,oo:xe,l:I,r:K,t:H,b:J,ins:zr,ib:Ar,ibe:Br,ibs:Cr,ii:Dr,iie:Er,iis:Fr,wc:"will-change",app:"appearance",pe:Ha,cur:"cursor",toa:"touch-action",us:"user-select",res:ga,sb:Vr,ssa:gi,sss:ui,sst:vi,sm:Wr,sml:Zr,smr:$r,smt:Xr,smb:Yr,sp:oi,spl:li,spr:ci,spt:ni,spb:bi,smbl:si,smbe:ei,smbs:ti,smi:ri,smie:ii,smis:ai,spbl:pi,spbe:mi,spbs:di,spi:fi,spie:wi,spis:hi,ar:"aspect-ratio",w:L,maxw:Kr,minw:Lr,h:S,minh:Nr,maxh:Mr,bl:Or,maxb:Pr,minb:Qr,i:Rr,mini:Tr,maxi:Sr,per:gr,pero:ur,rot:hr,sc:W,tf:Q,tfb:kr,tfo:jr,tfs:qr,tr:wr,z:cs,lts:"letter-spacing",lh:Ri,lb:Si,fst:Pi,ff:Oi,fwg:Ni,fsz:Mi,tt:Hi,td:Fi,ta:Ii,to:Ji,ws:"white-space",tor:Ki,wb:Li,wm:Qi,hyp:"hyphens",bsz:Jr,bsh:Ae,pos:Z,cf:gt,crs:vt,crc:ut,crw:yt,cs:xt,cw:_t,cc:ht,bgcl:Pa,bgp:Ra,bgpx:Sa,bgpy:Ta,bgbm:Wa,bgo:Qa,bgr:Ua,bga:Xa,bgsz:Va,mcl:Gt,mcm:Ht,mm:It,mo:Jt,mp:Kt,mre:Lt,msz:Mt,mtp:Nt,obf:ke,obp:je,cnt:m,ov:N,ovx:_e,ovy:ze,v:V,cv:$a,o:U,zi:"z-index",zm:cs,lg:Za,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"};export{oo as keys,ao as values};
|