csscompress 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.standard.yml +2 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +51 -0
- data/LICENSE.txt +21 -0
- data/README.md +38 -0
- data/Rakefile +14 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/csscompress.gemspec +37 -0
- data/lib/csscompress/csscompress.rb +16 -0
- data/lib/csscompress/sprockets.rb +17 -0
- data/lib/csscompress/version.rb +5 -0
- data/lib/csscompress.rb +3 -0
- data/lib/csso/LICENSE +20 -0
- data/lib/csso/csso.js +16 -0
- data/package-lock.json +37 -0
- data/package.json +10 -0
- data/sig/csscompress.rbs +4 -0
- metadata +81 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3bcac7ab2c8ad822c0c33debe3ef4e0b233ec7a7300d9046fe11f3cdc8eefb44
|
4
|
+
data.tar.gz: 9d2d3d98d68f723f94b6fcd494d26e20097004285a665ac077291825fa5dc0c8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f335b8f5bccaaa77d4d921629f6797f8b1c2ee2dec6ac77b1c7b3f69d34e7d6d3bec3120832130e2eaace7cb56fdefd1d52c8fc738983584a928f2b20e6a003b
|
7
|
+
data.tar.gz: 88901742e9386db78af87f4f1c89fc06a7b986167057f0c9883246b8814fea758c458f46919274f626be362ef5dda57cd71b2ff959059ea314a8096cbc3389cd
|
data/.standard.yml
ADDED
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6
|
+
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
8
|
+
|
9
|
+
## Our Standards
|
10
|
+
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
12
|
+
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
18
|
+
|
19
|
+
Examples of unacceptable behavior include:
|
20
|
+
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or
|
22
|
+
advances of any kind
|
23
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
24
|
+
* Public or private harassment
|
25
|
+
* Publishing others' private information, such as a physical or email
|
26
|
+
address, without their explicit permission
|
27
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
28
|
+
professional setting
|
29
|
+
|
30
|
+
## Enforcement Responsibilities
|
31
|
+
|
32
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
33
|
+
|
34
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
35
|
+
|
36
|
+
## Scope
|
37
|
+
|
38
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
39
|
+
|
40
|
+
## Enforcement
|
41
|
+
|
42
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at christiedom@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
|
43
|
+
|
44
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
45
|
+
|
46
|
+
## Enforcement Guidelines
|
47
|
+
|
48
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
49
|
+
|
50
|
+
### 1. Correction
|
51
|
+
|
52
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
53
|
+
|
54
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
55
|
+
|
56
|
+
### 2. Warning
|
57
|
+
|
58
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
59
|
+
|
60
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
61
|
+
|
62
|
+
### 3. Temporary Ban
|
63
|
+
|
64
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
65
|
+
|
66
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
67
|
+
|
68
|
+
### 4. Permanent Ban
|
69
|
+
|
70
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
71
|
+
|
72
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
73
|
+
|
74
|
+
## Attribution
|
75
|
+
|
76
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
|
77
|
+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
78
|
+
|
79
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
80
|
+
|
81
|
+
[homepage]: https://www.contributor-covenant.org
|
82
|
+
|
83
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
84
|
+
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
csscompress (0.1.0)
|
5
|
+
execjs (~> 2.8)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
ast (2.4.2)
|
11
|
+
execjs (2.8.1)
|
12
|
+
minitest (5.15.0)
|
13
|
+
parallel (1.21.0)
|
14
|
+
parser (3.1.0.0)
|
15
|
+
ast (~> 2.4.1)
|
16
|
+
rainbow (3.1.1)
|
17
|
+
rake (13.0.6)
|
18
|
+
regexp_parser (2.2.0)
|
19
|
+
rexml (3.2.5)
|
20
|
+
rubocop (1.24.1)
|
21
|
+
parallel (~> 1.10)
|
22
|
+
parser (>= 3.0.0.0)
|
23
|
+
rainbow (>= 2.2.2, < 4.0)
|
24
|
+
regexp_parser (>= 1.8, < 3.0)
|
25
|
+
rexml
|
26
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
27
|
+
ruby-progressbar (~> 1.7)
|
28
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
29
|
+
rubocop-ast (1.15.1)
|
30
|
+
parser (>= 3.0.1.1)
|
31
|
+
rubocop-performance (1.13.1)
|
32
|
+
rubocop (>= 1.7.0, < 2.0)
|
33
|
+
rubocop-ast (>= 0.4.0)
|
34
|
+
ruby-progressbar (1.11.0)
|
35
|
+
standard (1.6.0)
|
36
|
+
rubocop (= 1.24.1)
|
37
|
+
rubocop-performance (= 1.13.1)
|
38
|
+
unicode-display_width (2.1.0)
|
39
|
+
|
40
|
+
PLATFORMS
|
41
|
+
arm64-darwin-20
|
42
|
+
x86_64-linux
|
43
|
+
|
44
|
+
DEPENDENCIES
|
45
|
+
csscompress!
|
46
|
+
minitest (~> 5.0)
|
47
|
+
rake (~> 13.0)
|
48
|
+
standard (~> 1.3)
|
49
|
+
|
50
|
+
BUNDLED WITH
|
51
|
+
2.3.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022 Dom Christie
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Csscompress
|
2
|
+
|
3
|
+
Minify modern CSS with Ruby. Csscompress currently uses [CSSO](https://github.com/css/csso) via [ExecJS](https://github.com/rails/execjs).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'csscompress'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle install
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install csscompress
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
```rb
|
24
|
+
require "csscompress"
|
25
|
+
minified_css_string = Csscompress.minify("/path/to/css/file")
|
26
|
+
```
|
27
|
+
|
28
|
+
## Contributing
|
29
|
+
|
30
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/domchristie/csscompress. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/domchristie/csscompress/blob/main/CODE_OF_CONDUCT.md).
|
31
|
+
|
32
|
+
## License
|
33
|
+
|
34
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
35
|
+
|
36
|
+
## Code of Conduct
|
37
|
+
|
38
|
+
Everyone interacting in the Csscompress project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/domchristie/csscompress/blob/main/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "bundler/gem_tasks"
|
4
|
+
require "rake/testtask"
|
5
|
+
|
6
|
+
Rake::TestTask.new(:test) do |t|
|
7
|
+
t.libs << "test"
|
8
|
+
t.libs << "lib"
|
9
|
+
t.test_files = FileList["test/**/test_*.rb"]
|
10
|
+
end
|
11
|
+
|
12
|
+
require "standard/rake"
|
13
|
+
|
14
|
+
task default: %i[test standard]
|
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "csscompress"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require "irb"
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/csscompress.gemspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/csscompress/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "csscompress"
|
7
|
+
spec.version = Csscompress::VERSION
|
8
|
+
spec.authors = ["Dom Christie"]
|
9
|
+
spec.email = ["christiedom@gmail.com"]
|
10
|
+
|
11
|
+
spec.summary = "CSS minification with Ruby"
|
12
|
+
spec.description = "CSS minification with Ruby using ExecJS and Node.js' CSSO. Integrates with Sprockets when present."
|
13
|
+
spec.homepage = "https://github.com/domchristie/csscompress"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.required_ruby_version = ">= 2.6.0"
|
16
|
+
|
17
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
|
20
|
+
|
21
|
+
# Specify which files should be added to the gem when it is released.
|
22
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
24
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
+
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
26
|
+
end
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
# Uncomment to register a new dependency of your gem
|
33
|
+
spec.add_dependency "execjs", "~> 2.8"
|
34
|
+
|
35
|
+
# For more information and examples about making a new gem, check out our
|
36
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
37
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require "execjs"
|
2
|
+
|
3
|
+
MINIFIER_PATH = File.expand_path("../../csso/csso.js", __FILE__)
|
4
|
+
MINIFIER_FUNCTION = "csso.minify"
|
5
|
+
|
6
|
+
module Csscompress
|
7
|
+
class Error < StandardError; end
|
8
|
+
|
9
|
+
def self.minify(filename)
|
10
|
+
context.call(MINIFIER_FUNCTION, File.read(filename))["css"]
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.context
|
14
|
+
@context ||= ExecJS.compile File.read(MINIFIER_PATH)
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
compressor = ->(input) {
|
2
|
+
Tempfile.create([input[:name], ".css"]) do |file|
|
3
|
+
file << input[:data]
|
4
|
+
file.close
|
5
|
+
{data: Csscompress.minify(file.path)}
|
6
|
+
end
|
7
|
+
}
|
8
|
+
|
9
|
+
begin
|
10
|
+
require "sprockets"
|
11
|
+
rescue LoadError
|
12
|
+
# Sprockets not available
|
13
|
+
end
|
14
|
+
|
15
|
+
if defined?(Sprockets)
|
16
|
+
Sprockets.register_compressor "text/css", :csscompress, compressor
|
17
|
+
end
|
data/lib/csscompress.rb
ADDED
data/lib/csso/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (C) 2015-2021 by Roman Dvornov
|
2
|
+
Copyright (C) 2011-2015 by Sergey Kryzhanovsky
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in
|
12
|
+
all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20
|
+
THE SOFTWARE.
|
data/lib/csso/csso.js
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
var csso=(()=>{var Xs=Object.create;var Dt=Object.defineProperty;var Zs=Object.getOwnPropertyDescriptor;var Js=Object.getOwnPropertyNames;var el=Object.getPrototypeOf,tl=Object.prototype.hasOwnProperty;var Gi=e=>Dt(e,"__esModule",{value:!0});var Be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),y=(e,t)=>{Gi(e);for(var r in t)Dt(e,r,{get:t[r],enumerable:!0})},rl=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Js(t))!tl.call(e,n)&&n!=="default"&&Dt(e,n,{get:()=>t[n],enumerable:!(r=Zs(t,n))||r.enumerable});return e},nl=e=>rl(Gi(Dt(e!=null?Xs(el(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var lo=Be(Pr=>{var so="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Pr.encode=function(e){if(0<=e&&e<so.length)return so[e];throw new TypeError("Must be between 0 and 63: "+e)};Pr.decode=function(e){var t=65,r=90,n=97,i=122,o=48,a=57,l=43,c=47,s=26,u=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+s:o<=e&&e<=a?e-o+u:e==l?62:e==c?63:-1}});var fo=Be(zr=>{var co=lo(),Ir=5,uo=1<<Ir,po=uo-1,ho=uo;function bl(e){return e<0?(-e<<1)+1:(e<<1)+0}function yl(e){var t=(e&1)==1,r=e>>1;return t?-r:r}zr.encode=function(t){var r="",n,i=bl(t);do n=i&po,i>>>=Ir,i>0&&(n|=ho),r+=co.encode(n);while(i>0);return r};zr.decode=function(t,r,n){var i=t.length,o=0,a=0,l,c;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=co.decode(t.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));l=!!(c&ho),c&=po,o=o+(c<<a),a+=Ir}while(l);n.value=yl(o),n.rest=r}});var Wt=Be(X=>{function xl(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}X.getArg=xl;var mo=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,kl=/^data:.+\,.+$/;function ct(e){var t=e.match(mo);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}X.urlParse=ct;function Ve(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}X.urlGenerate=Ve;var wl=32;function vl(e){var t=[];return function(r){for(var n=0;n<t.length;n++)if(t[n].input===r){var i=t[0];return t[0]=t[n],t[n]=i,t[0].result}var o=e(r);return t.unshift({input:r,result:o}),t.length>wl&&t.pop(),o}}var Or=vl(function(t){var r=t,n=ct(t);if(n){if(!n.path)return t;r=n.path}for(var i=X.isAbsolute(r),o=[],a=0,l=0;;)if(a=l,l=r.indexOf("/",a),l===-1){o.push(r.slice(a));break}else for(o.push(r.slice(a,l));l<r.length&&r[l]==="/";)l++;for(var c,s=0,l=o.length-1;l>=0;l--)c=o[l],c==="."?o.splice(l,1):c===".."?s++:s>0&&(c===""?(o.splice(l+1,s),s=0):(o.splice(l,2),s--));return r=o.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Ve(n)):r});X.normalize=Or;function go(e,t){e===""&&(e="."),t===""&&(t=".");var r=ct(t),n=ct(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Ve(r);if(r||t.match(kl))return t;if(n&&!n.host&&!n.path)return n.host=t,Ve(n);var i=t.charAt(0)==="/"?t:Or(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,Ve(n)):i}X.join=go;X.isAbsolute=function(e){return e.charAt(0)==="/"||mo.test(e)};function Sl(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}X.relative=Sl;var bo=function(){var e=Object.create(null);return!("__proto__"in e)}();function yo(e){return e}function Cl(e){return xo(e)?"$"+e:e}X.toSetString=bo?yo:Cl;function Al(e){return xo(e)?e.slice(1):e}X.fromSetString=bo?yo:Al;function xo(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function El(e,t,r){var n=we(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:we(e.name,t.name)}X.compareByOriginalPositions=El;function Tl(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:we(e.name,t.name)}X.compareByOriginalPositionsNoSource=Tl;function Ll(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=we(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:we(e.name,t.name)}X.compareByGeneratedPositionsDeflated=Ll;function jl(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=we(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:we(e.name,t.name)}X.compareByGeneratedPositionsDeflatedNoLine=jl;function we(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function Pl(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=we(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:we(e.name,t.name)}X.compareByGeneratedPositionsInflated=Pl;function Il(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}X.parseSourceMapInput=Il;function zl(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=ct(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=go(Ve(n),t)}return Or(t)}X.computeSourceURL=zl});var wo=Be(ko=>{var Dr=Wt(),Nr=Object.prototype.hasOwnProperty,Ne=typeof Map!="undefined";function ve(){this._array=[],this._set=Ne?new Map:Object.create(null)}ve.fromArray=function(t,r){for(var n=new ve,i=0,o=t.length;i<o;i++)n.add(t[i],r);return n};ve.prototype.size=function(){return Ne?this._set.size:Object.getOwnPropertyNames(this._set).length};ve.prototype.add=function(t,r){var n=Ne?t:Dr.toSetString(t),i=Ne?this.has(t):Nr.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(t),i||(Ne?this._set.set(t,o):this._set[n]=o)};ve.prototype.has=function(t){if(Ne)return this._set.has(t);var r=Dr.toSetString(t);return Nr.call(this._set,r)};ve.prototype.indexOf=function(t){if(Ne){var r=this._set.get(t);if(r>=0)return r}else{var n=Dr.toSetString(t);if(Nr.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};ve.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};ve.prototype.toArray=function(){return this._array.slice()};ko.ArraySet=ve});var Co=Be(So=>{var vo=Wt();function Ol(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return n>r||n==r&&o>=i||vo.compareByGeneratedPositionsInflated(e,t)<=0}function Yt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Yt.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Yt.prototype.add=function(t){Ol(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Yt.prototype.toArray=function(){return this._sorted||(this._array.sort(vo.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};So.MappingList=Yt});var Eo=Be(Ao=>{var ut=fo(),Y=Wt(),Vt=wo().ArraySet,Dl=Co().MappingList;function se(e){e||(e={}),this._file=Y.getArg(e,"file",null),this._sourceRoot=Y.getArg(e,"sourceRoot",null),this._skipValidation=Y.getArg(e,"skipValidation",!1),this._sources=new Vt,this._names=new Vt,this._mappings=new Dl,this._sourcesContents=null}se.prototype._version=3;se.fromSourceMap=function(t){var r=t.sourceRoot,n=new se({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=Y.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),t.sources.forEach(function(i){var o=i;r!==null&&(o=Y.relative(r,i)),n._sources.has(o)||n._sources.add(o);var a=t.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n};se.prototype.addMapping=function(t){var r=Y.getArg(t,"generated"),n=Y.getArg(t,"original",null),i=Y.getArg(t,"source",null),o=Y.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};se.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=Y.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Y.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Y.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};se.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var o=this._sourceRoot;o!=null&&(i=Y.relative(o,i));var a=new Vt,l=new Vt;this._mappings.unsortedForEach(function(c){if(c.source===i&&c.originalLine!=null){var s=t.originalPositionFor({line:c.originalLine,column:c.originalColumn});s.source!=null&&(c.source=s.source,n!=null&&(c.source=Y.join(n,c.source)),o!=null&&(c.source=Y.relative(o,c.source)),c.originalLine=s.line,c.originalColumn=s.column,s.name!=null&&(c.name=s.name))}var u=c.source;u!=null&&!a.has(u)&&a.add(u);var p=c.name;p!=null&&!l.has(p)&&l.add(p)},this),this._sources=a,this._names=l,t.sources.forEach(function(c){var s=t.sourceContentFor(c);s!=null&&(n!=null&&(c=Y.join(n,c)),o!=null&&(c=Y.relative(o,c)),this.setSourceContent(c,s))},this)};se.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};se.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,o=0,a=0,l="",c,s,u,p,h=this._mappings.toArray(),d=0,b=h.length;d<b;d++){if(s=h[d],c="",s.generatedLine!==r)for(t=0;s.generatedLine!==r;)c+=";",r++;else if(d>0){if(!Y.compareByGeneratedPositionsInflated(s,h[d-1]))continue;c+=","}c+=ut.encode(s.generatedColumn-t),t=s.generatedColumn,s.source!=null&&(p=this._sources.indexOf(s.source),c+=ut.encode(p-a),a=p,c+=ut.encode(s.originalLine-1-i),i=s.originalLine-1,c+=ut.encode(s.originalColumn-n),n=s.originalColumn,s.name!=null&&(u=this._names.indexOf(s.name),c+=ut.encode(u-o),o=u)),l+=c}return l};se.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Y.relative(r,n));var i=Y.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};se.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};se.prototype.toString=function(){return JSON.stringify(this.toJSON())};Ao.SourceMapGenerator=se});var wm={};y(wm,{minify:()=>xm,minifyBlock:()=>km,syntax:()=>kr,utils:()=>Yi,version:()=>Ki});var Ki="4.2.0";var kr={};y(kr,{compress:()=>Wi,find:()=>um,findAll:()=>hm,findLast:()=>pm,fromPlainObject:()=>fm,generate:()=>lm,lexer:()=>om,parse:()=>sm,specificity:()=>br,toPlainObject:()=>dm,tokenize:()=>am,walk:()=>cm});var _e={};y(_e,{AtKeyword:()=>D,BadString:()=>ze,BadUrl:()=>K,CDC:()=>W,CDO:()=>he,Colon:()=>N,Comma:()=>Q,Comment:()=>P,Delim:()=>g,Dimension:()=>k,EOF:()=>rt,Function:()=>x,Hash:()=>A,Ident:()=>f,LeftCurlyBracket:()=>B,LeftParenthesis:()=>j,LeftSquareBracket:()=>H,Number:()=>m,Percentage:()=>L,RightCurlyBracket:()=>G,RightParenthesis:()=>S,RightSquareBracket:()=>$,Semicolon:()=>q,String:()=>V,Url:()=>_,WhiteSpace:()=>v});var rt=0,f=1,x=2,D=3,A=4,V=5,ze=6,_=7,K=8,g=9,m=10,L=11,k=12,v=13,he=14,W=15,N=16,q=17,Q=18,H=19,$=20,j=21,S=22,B=23,G=24,P=25;var il=0;function U(e){return e>=48&&e<=57}function ie(e){return U(e)||e>=65&&e<=70||e>=97&&e<=102}function Nt(e){return e>=65&&e<=90}function ol(e){return e>=97&&e<=122}function al(e){return Nt(e)||ol(e)}function sl(e){return e>=128}function Rt(e){return al(e)||sl(e)||e===95}function nt(e){return Rt(e)||U(e)||e===45}function ll(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function it(e){return e===10||e===13||e===12}function fe(e){return it(e)||e===32||e===9}function re(e,t){return!(e!==92||it(t)||t===il)}function Ue(e,t,r){return e===45?Rt(t)||t===45||re(t,r):Rt(e)?!0:e===92?re(e,t):!1}function Mt(e,t,r){return e===43||e===45?U(t)?2:t===46&&U(r)?3:0:e===46?U(t)?2:0:U(e)?1:0}function Ft(e){return e===65279||e===65534?1:0}var wr=new Array(128),cl=128,ot=130,vr=131,Bt=132,Sr=133;for(let e=0;e<wr.length;e++)wr[e]=fe(e)&&ot||U(e)&&vr||Rt(e)&&Bt||ll(e)&&Sr||e||cl;function _t(e){return e<128?wr[e]:Bt}function qe(e,t){return t<e.length?e.charCodeAt(t):0}function Ut(e,t,r){return r===13&&qe(e,t+1)===10?2:1}function xe(e,t,r){let n=e.charCodeAt(t);return Nt(n)&&(n=n|32),n===r}function ke(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let o=n.charCodeAt(i-t),a=e.charCodeAt(i);if(Nt(a)&&(a=a|32),a!==o)return!1}return!0}function Qi(e,t){for(;t>=0&&fe(e.charCodeAt(t));t--);return t+1}function at(e,t){for(;t<e.length&&fe(e.charCodeAt(t));t++);return t}function Cr(e,t){for(;t<e.length&&U(e.charCodeAt(t));t++);return t}function de(e,t){if(t+=2,ie(qe(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&ie(qe(e,t));t++);let r=qe(e,t);fe(r)&&(t+=Ut(e,t,r))}return t}function st(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!nt(r)){if(re(r,qe(e,t+1))){t=de(e,t)-1;continue}break}}return t}function Oe(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),U(r)&&(t=Cr(e,t+1),r=e.charCodeAt(t)),r===46&&U(e.charCodeAt(t+1))&&(t+=2,t=Cr(e,t)),xe(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),U(r)&&(t=Cr(e,t+1+n+1))}return t}function qt(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}re(r,qe(e,t+1))&&(t=de(e,t))}return t}function lt(e){if(e.length===1&&!ie(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var He=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];var ul=16*1024;function We(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,ul)):e}var $i=10,pl=12,Xi=13;function Zi(e){let t=e.source,r=t.length,n=t.length>0?Ft(t.charCodeAt(0)):0,i=We(e.lines,r),o=We(e.columns,r),a=e.startLine,l=e.startColumn;for(let c=n;c<r;c++){let s=t.charCodeAt(c);i[c]=a,o[c]=l++,(s===$i||s===Xi||s===pl)&&(s===Xi&&c+1<r&&t.charCodeAt(c+1)===$i&&(c++,i[c]=a,o[c]=l),a++,l=1)}i[r]=a,o[r]=l,e.lines=i,e.columns=o,e.computed=!0}var Ar=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(t,r=0,n=1,i=1){this.source=t,this.startOffset=r,this.startLine=n,this.startColumn=i,this.computed=!1}getLocation(t,r){return this.computed||Zi(this),{source:r,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,r,n){return this.computed||Zi(this),{source:n,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}}};var ae=16777215,Ee=24,hl=new Map([[x,S],[j,S],[H,$],[B,G]]),Ht=class{constructor(t,r){this.setSource(t,r)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",r=()=>{}){t=String(t||"");let n=t.length,i=We(this.offsetAndType,t.length+1),o=We(this.balance,t.length+1),a=0,l=0,c=0,s=-1;for(this.offsetAndType=null,this.balance=null,r(t,(u,p,h)=>{switch(u){default:o[a]=n;break;case l:{let d=c&ae;for(c=o[d],l=c>>Ee,o[a]=d,o[d++]=a;d<a;d++)o[d]===n&&(o[d]=a);break}case j:case x:case H:case B:o[a]=c,l=hl.get(u),c=l<<Ee|a;break}i[a++]=u<<Ee|h,s===-1&&(s=p)}),i[a]=rt<<Ee|n,o[a]=n,o[n]=n;c!==0;){let u=c&ae;c=o[u],o[u]=n}this.source=t,this.firstCharOffset=s===-1?0:s,this.tokenCount=a,this.offsetAndType=i,this.balance=o,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>Ee:rt}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&ae:this.source.length}lookupValue(t,r){return t+=this.tokenIndex,t<this.tokenCount?ke(this.source,this.offsetAndType[t-1]&ae,this.offsetAndType[t]&ae,r):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&ae:this.offsetAndType[this.tokenCount]&ae:this.firstCharOffset}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,r){return r?this.lookupType(r)===g&&this.source.charCodeAt(this.lookupOffset(r))===t:this.tokenType===g&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let r=this.tokenIndex+t;r<this.tokenCount?(this.tokenIndex=r,this.tokenStart=this.offsetAndType[r-1]&ae,r=this.offsetAndType[r],this.tokenType=r>>Ee,this.tokenEnd=r&ae):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>Ee,this.tokenEnd=t&ae):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=rt,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===v||this.tokenType===P;)this.next()}skipUntilBalanced(t,r){let n=t,i,o;e:for(;n<this.tokenCount;n++){if(i=this.balance[n],i<t)break e;switch(o=n>0?this.offsetAndType[n-1]&ae:this.firstCharOffset,r(this.source.charCodeAt(o))){case 1:break e;case 2:n++;break e;default:this.balance[i]===n&&(n=i)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r<this.tokenCount;r++){let i=n,o=this.offsetAndType[r],a=o&ae,l=o>>Ee;n=a,t(l,i,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,i,o)=>{t[o]={idx:o,type:He[r],chunk:this.source.substring(n,i),balance:this.balance[o]}}),t}};function Te(e,t){function r(p){return p<l?e.charCodeAt(p):0}function n(){if(s=Oe(e,s),Ue(r(s),r(s+1),r(s+2))){u=k,s=st(e,s);return}if(r(s)===37){u=L,s++;return}u=m}function i(){let p=s;if(s=st(e,s),ke(e,p,s,"url")&&r(s)===40){if(s=at(e,s+1),r(s)===34||r(s)===39){u=x,s=p+4;return}a();return}if(r(s)===40){u=x,s++;return}u=f}function o(p){for(p||(p=r(s++)),u=V;s<e.length;s++){let h=e.charCodeAt(s);switch(_t(h)){case p:s++;return;case ot:if(it(h)){s+=Ut(e,s,h),u=ze;return}break;case 92:if(s===e.length-1)break;let d=r(s+1);it(d)?s+=Ut(e,s+1,d):re(h,d)&&(s=de(e,s)-1);break}}}function a(){for(u=_,s=at(e,s);s<e.length;s++){let p=e.charCodeAt(s);switch(_t(p)){case 41:s++;return;case ot:if(s=at(e,s),r(s)===41||s>=e.length){s<e.length&&s++;return}s=qt(e,s),u=K;return;case 34:case 39:case 40:case Sr:s=qt(e,s),u=K;return;case 92:if(re(p,r(s+1))){s=de(e,s)-1;break}s=qt(e,s),u=K;return}}}e=String(e||"");let l=e.length,c=Ft(r(0)),s=c,u;for(;s<l;){let p=e.charCodeAt(s);switch(_t(p)){case ot:u=v,s=at(e,s+1);break;case 34:o();break;case 35:nt(r(s+1))||re(r(s+1),r(s+2))?(u=A,s=st(e,s+1)):(u=g,s++);break;case 39:o();break;case 40:u=j,s++;break;case 41:u=S,s++;break;case 43:Mt(p,r(s+1),r(s+2))?n():(u=g,s++);break;case 44:u=Q,s++;break;case 45:Mt(p,r(s+1),r(s+2))?n():r(s+1)===45&&r(s+2)===62?(u=W,s=s+3):Ue(p,r(s+1),r(s+2))?i():(u=g,s++);break;case 46:Mt(p,r(s+1),r(s+2))?n():(u=g,s++);break;case 47:r(s+1)===42?(u=P,s=e.indexOf("*/",s+2),s=s===-1?e.length:s+2):(u=g,s++);break;case 58:u=N,s++;break;case 59:u=q,s++;break;case 60:r(s+1)===33&&r(s+2)===45&&r(s+3)===45?(u=he,s=s+4):(u=g,s++);break;case 64:Ue(r(s+1),r(s+2),r(s+3))?(u=D,s=st(e,s+1)):(u=g,s++);break;case 91:u=H,s++;break;case 92:re(p,r(s+1))?i():(u=g,s++);break;case 93:u=$,s++;break;case 123:u=B,s++;break;case 125:u=G,s++;break;case vr:n();break;case Bt:i();break;default:u=g,s++}t(u,c,c=s)}}var Ye=null,w=class{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return w.createItem(t)}allocateCursor(t,r){let n;return Ye!==null?(n=Ye,Ye=Ye.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=Ye,Ye=t}updateCursors(t,r,n,i){let{cursor:o}=this;for(;o!==null;)o.prev===t&&(o.prev=r),o.next===n&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let r=null;this.head=null;for(let n of t){let i=w.createItem(n);r!==null?r.next=i:this.head=i,i.prev=r,r=i}return this.tail=r,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}forEachRight(t,r=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let i=n.prev;n.prev=i.prev,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),o=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),o=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,o=t.call(n,o,a.data,a,this);return this.releaseCursor(),o}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new w;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new w;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}nextUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(null,t);for(;i.next!==null;){let o=i.next;if(i.next=o.next,r.call(n,o.data,o,this))break}this.releaseCursor()}prevUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(t,null);for(;i.prev!==null;){let o=i.prev;if(i.prev=o.prev,r.call(n,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new w;for(let r of this)t.appendData(r);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(w.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(w.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,r){return this.insert(w.createItem(t),r)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(w.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(w.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}};function De(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
2
|
+
`)}})}var Er=100,Ji=60,eo=" ";function to({source:e,line:t,column:r},n){function i(u,p){return o.slice(u,p).map((h,d)=>String(u+d+1).padStart(c)+" |"+h).join(`
|
3
|
+
`)}let o=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-n)-1,l=Math.min(t+n,o.length+1),c=Math.max(4,String(l).length)+1,s=0;r+=(eo.length-1)*(o[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Er&&(s=r-Ji+3,r=Ji-2);for(let u=a;u<=l;u++)u>=0&&u<o.length&&(o[u]=o[u].replace(/\t/g,eo),o[u]=(s>0&&o[u].length>s?"\u2026":"")+o[u].substr(s,Er-2)+(o[u].length>s+Er-1?"\u2026":""));return[i(a,t),new Array(r+c+2).join("-")+"^",i(t,l)].filter(Boolean).join(`
|
4
|
+
`)}function Tr(e,t,r,n,i){return Object.assign(De("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(a){return to({source:t,line:n,column:i},isNaN(a)?0:a)},get formattedMessage(){return`Parse error: ${e}
|
5
|
+
`+to({source:t,line:n,column:i},2)}})}function ro(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case P:this.next();continue;case v:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var no=()=>{},fl=33,dl=35,Lr=59,io=123,oo=0;function ml(e){return function(){return this[e]()}}function jr(e){let t=Object.create(null);for(let r in e){let n=e[r];n.parse&&(t[r]=n.parse)}return t}function gl(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:jr(e.atrule),pseudo:jr(e.pseudo),node:jr(e.node)};for(let r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=ml(e.parseContext[r]);break}return{config:t,...t,...t.node}}function ao(e){let t="",r="<unknown>",n=!1,i=no,o=!1,a=new Ar,l=Object.assign(new Ht,gl(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:ro,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===io?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===io||s===Lr?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===fl||s===Lr?1:0},consumeUntilSemicolonIncluded(s){return s===Lr?2:0},createList(){return new w},createSingleNodeList(s){return new w().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,u){let p=this.tokenIndex;try{return s.call(this)}catch(h){if(o)throw h;let d=u.call(this,p);return o=!0,i(h,d),o=!1,d}},lookupNonWSType(s){let u;do if(u=this.lookupType(s++),u!==v)return u;while(u!==oo);return oo},charCodeAt(s){return s>=0&&s<t.length?t.charCodeAt(s):0},substring(s,u){return t.substring(s,u)},substrToCursor(s){return this.source.substring(s,this.tokenStart)},cmpChar(s,u){return xe(t,s,u)},cmpStr(s,u,p){return ke(t,s,u,p)},consume(s){let u=this.tokenStart;return this.eat(s),this.substrToCursor(u)},consumeFunctionName(){let s=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(x),s},consumeNumber(s){let u=t.substring(this.tokenStart,Oe(t,this.tokenStart));return this.eat(s),u},eat(s){if(this.tokenType!==s){let u=He[s].slice(0,-6).replace(/-/g," ").replace(/^./,d=>d.toUpperCase()),p=`${/[[\](){}]/.test(u)?`"${u}"`:u} is expected`,h=this.tokenStart;switch(s){case f:this.tokenType===x||this.tokenType===_?(h=this.tokenEnd-1,p="Identifier is expected but function found"):p="Identifier is expected";break;case A:this.isDelim(dl)&&(this.next(),h++,p="Name is expected");break;case L:this.tokenType===m&&(h=this.tokenEnd,p="Percent sign is expected");break}this.error(p,h)}this.next()},eatIdent(s){(this.tokenType!==f||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,u){return n?a.getLocationRange(s,u,r):null},getLocationFromList(s){if(n){let u=this.getFirstListNode(s),p=this.getLastListNode(s);return a.getLocationRange(u!==null?u.loc.start.offset-a.startOffset:this.tokenStart,p!==null?p.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(s,u){let p=typeof u!="undefined"&&u<t.length?a.getLocation(u):this.eof?a.getLocation(Qi(t,t.length-1)):a.getLocation(this.tokenStart);throw new Tr(s||"Unexpected input",t,p.offset,p.line,p.column)}});return Object.assign(function(s,u){t=s,u=u||{},l.setSource(t,Te),a.setSource(t,u.offset,u.line,u.column),r=u.filename||"<unknown>",n=Boolean(u.positions),i=typeof u.onParseError=="function"?u.onParseError:no,o=!1,l.parseAtrulePrelude="parseAtrulePrelude"in u?Boolean(u.parseAtrulePrelude):!0,l.parseRulePrelude="parseRulePrelude"in u?Boolean(u.parseRulePrelude):!0,l.parseValue="parseValue"in u?Boolean(u.parseValue):!0,l.parseCustomProperty="parseCustomProperty"in u?Boolean(u.parseCustomProperty):!1;let{context:p="default",onComment:h}=u;if(!(p in l.context))throw new Error("Unknown context `"+p+"`");typeof h=="function"&&l.forEachToken((b,T,O)=>{if(b===P){let C=l.getLocation(T,O),z=ke(t,O-2,O,"*/")?t.slice(T+2,O-2):t.slice(T+2,O);h(z,C)}});let d=l.context[p].call(l,u);return l.eof||l.error(),d},{SyntaxError:Tr,config:l.config})}var To=nl(Eo()),Lo=new Set(["Atrule","Selector","Declaration"]);function jo(e){let t=new To.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,l=0,c=!1,s=e.node;e.node=function(h){if(h.loc&&h.loc.start&&Lo.has(h.type)){let d=h.loc.start.line,b=h.loc.start.column-1;(n.line!==d||n.column!==b)&&(n.line=d,n.column=b,r.line=a,r.column=l,c&&(c=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(o)),c=!0,t.addMapping({source:h.loc.source,original:n,generated:r}))}s.call(this,h),c&&Lo.has(h.type)&&(i.line=a,i.column=l)};let u=e.emit;e.emit=function(h,d,b){for(let T=0;T<h.length;T++)h.charCodeAt(T)===10?(a++,l=0):l++;u(h,d,b)};let p=e.result;return e.result=function(){return c&&t.addMapping(o),{css:p(),map:t}},e}var Gt={};y(Gt,{safe:()=>zo,spec:()=>Fl});var Nl=43,Rl=45,Rr=(e,t)=>{if(e===g&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},Po=[[f,f],[f,x],[f,_],[f,K],[f,"-"],[f,m],[f,L],[f,k],[f,W],[f,j],[D,f],[D,x],[D,_],[D,K],[D,"-"],[D,m],[D,L],[D,k],[D,W],[A,f],[A,x],[A,_],[A,K],[A,"-"],[A,m],[A,L],[A,k],[A,W],[k,f],[k,x],[k,_],[k,K],[k,"-"],[k,m],[k,L],[k,k],[k,W],["#",f],["#",x],["#",_],["#",K],["#","-"],["#",m],["#",L],["#",k],["#",W],["-",f],["-",x],["-",_],["-",K],["-","-"],["-",m],["-",L],["-",k],["-",W],[m,f],[m,x],[m,_],[m,K],[m,m],[m,L],[m,k],[m,"%"],[m,W],["@",f],["@",x],["@",_],["@",K],["@","-"],["@",W],[".",m],[".",L],[".",k],["+",m],["+",L],["+",k],["/","*"]],Ml=Po.concat([[f,A],[k,A],[A,A],[D,j],[D,V],[D,N],[L,L],[L,k],[L,x],[L,"-"],[S,f],[S,x],[S,L],[S,k],[S,A],[S,"-"]]);function Io(e){let t=new Set(e.map(([r,n])=>Rr(r)<<16|Rr(n)));return function(r,n,i){let o=Rr(n,i),a=i.charCodeAt(0);return(a===Rl&&n!==f&&n!==x&&n!==W||a===Nl?t.has(r<<16|a<<8):t.has(r<<16|o))&&this.emit(" ",v,!0),o}}var Fl=Io(Po),zo=Io(Ml);var Bl=92;function _l(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function Ul(e){Te(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function Oo(e){let t=new Map;for(let r in e.node)t.set(r,e.node[r].generate);return function(r,n){let i="",o=0,a={node(c){if(t.has(c.type))t.get(c.type).call(l,c);else throw new Error("Unknown node type: "+c.type)},tokenBefore:zo,token(c,s){o=this.tokenBefore(o,c,s),this.emit(s,c,!1),c===g&&s.charCodeAt(0)===Bl&&this.emit(`
|
6
|
+
`,v,!0)},emit(c){i+=c},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=jo(a)),n.mode in Gt&&(a.tokenBefore=Gt[n.mode]));let l={node:c=>a.node(c),children:_l,token:(c,s)=>a.token(c,s),tokenize:Ul};return a.node(r),a.result()}}function Do(e){return{fromPlainObject:function(t){return e(t,{enter:function(r){r.children&&!(r.children instanceof w)&&(r.children=new w().fromArray(r.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(r){r.children&&r.children instanceof w&&(r.children=r.children.toArray())}}),t}}}var{hasOwnProperty:Mr}=Object.prototype,pt=function(){};function No(e){return typeof e=="function"?e:pt}function Ro(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function ql(e,t){let r=t.structure,n=[];for(let i in r){if(Mr.call(r,i)===!1)continue;let o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(let l of o)l===null?a.nullable=!0:typeof l=="string"?a.type="node":Array.isArray(l)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function Hl(e){let t={};for(let r in e.node)if(Mr.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=ql(r,n)}return t}function Mo(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,l,c){let s;i&&(s=a[n],a[n]=o);for(let u of r){let p=o[u.name];if(!u.nullable||p){if(u.type==="list"){if(t?p.reduceRight(c,!1):p.reduce(c,!1))return!0}else if(l(p))return!0}}i&&(a[n]=s)}}function Fo({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function Bo(e){let t=Hl(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(let s in t)Mr.call(t,s)&&t[s]!==null&&(r[s]=Mo(t[s],!1),n[s]=Mo(t[s],!0));let a=Fo(r),l=Fo(n),c=function(s,u){function p(C,z,Ae){let F=h.call(O,C,z,Ae);return F===i?!0:F===o?!1:!!(b.hasOwnProperty(C.type)&&b[C.type](C,O,p,T)||d.call(O,C,z,Ae)===i)}let h=pt,d=pt,b=r,T=(C,z,Ae,F)=>C||p(z,Ae,F),O={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")h=u;else if(u&&(h=No(u.enter),d=No(u.leave),u.reverse&&(b=n),u.visit)){if(a.hasOwnProperty(u.visit))b=u.reverse?l[u.visit]:a[u.visit];else if(!t.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");h=Ro(h,u.visit),d=Ro(d,u.visit)}if(h===pt&&d===pt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");p(s)};return c.break=i,c.skip=o,c.find=function(s,u){let p=null;return c(s,function(h,d,b){if(u.call(this,h,d,b))return p=h,i}),p},c.findLast=function(s,u){let p=null;return c(s,{reverse:!0,enter:function(h,d,b){if(u.call(this,h,d,b))return p=h,i}}),p},c.findAll=function(s,u){let p=[];return c(s,function(h,d,b){u.call(this,h,d,b)&&p.push(h)}),p},c}function Wl(e){return e}function Yl(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Vl(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function Gl(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(a=>Fr(a,t,r,n)).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function Fr(e,t,r,n){let i;switch(e.type){case"Group":i=Gl(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Fr(e.term,t,r,n)+t(Yl(e),e);case"Type":i="<"+e.name+(e.opts?t(Vl(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Ge(e,t){let r=Wl,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=Boolean(t.forceBraces),i=Boolean(t.compact),typeof t.decorate=="function"&&(r=t.decorate)),Fr(e,r,n,i)}var _o={offset:0,line:1,column:1};function Kl(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,l=0,c=0,s="",u,p;for(let h=0;h<r.length;h++){let d=r[h].value;h===n&&(l=d.length,a=s.length),o!==null&&r[h].node===o&&(h<=n?c++:c=0),s+=d}return n===r.length||c>1?(u=Kt(o||t,"end")||ht(_o,s),p=ht(u)):(u=Kt(o,"start")||ht(Kt(t,"start")||_o,s.slice(0,a)),p=Kt(o,"end")||ht(u,s.substr(a,l))),{css:s,mismatchOffset:a,mismatchLength:l,start:u,end:p}}function Kt(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?ht(r):r:null}function ht({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let o=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=o.length-1,i.column=o.length===1?i.column+n.length:o.pop().length+1}return i}var Ke=function(e,t){let r=De("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},Uo=function(e,t,r,n){let i=De("SyntaxMatchError",e),{css:o,mismatchOffset:a,mismatchLength:l,start:c,end:s}=Kl(n,r);return i.rawMessage=e,i.syntax=t?Ge(t):"<generic>",i.css=o,i.mismatchOffset=a,i.mismatchLength=l,i.message=e+`
|
7
|
+
syntax: `+i.syntax+`
|
8
|
+
value: `+(o||"<empty string>")+`
|
9
|
+
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,c),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:c,end:s},i};var Qt=new Map,Qe=new Map,$t=45,J=Ql,me=$l;function Xt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===$t&&e.charCodeAt(t+1)===$t}function qo(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===$t&&e.charCodeAt(t+1)!==$t){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function Ql(e){if(Qt.has(e))return Qt.get(e);let t=e.toLowerCase(),r=Qt.get(t);if(r===void 0){let n=Xt(t,0),i=n?"":qo(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return Qt.set(e,r),r}function $l(e){if(Qe.has(e))return Qe.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=Xt(t,r.length);if(!n&&(t=t.toLowerCase(),Qe.has(t))){let l=Qe.get(t);return Qe.set(e,l),l}let i=n?"":qo(t,r.length),o=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(o.length),name:t.substr(r.length),hack:r,vendor:i,prefix:o,custom:n});return Qe.set(e,a),a}var ft=43,ge=45,Br=110,$e=!0,Xl=!1;function _r(e,t){return e!==null&&e.type===g&&e.value.charCodeAt(0)===t}function dt(e,t,r){for(;e!==null&&(e.type===v||e.type===P);)e=r(++t);return t}function Le(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===ft||i===ge){if(r)return 0;t++}for(;t<e.value.length;t++)if(!U(e.value.charCodeAt(t)))return 0;return n+1}function Ur(e,t,r){let n=!1,i=dt(e,t,r);if(e=r(i),e===null)return t;if(e.type!==m)if(_r(e,ft)||_r(e,ge)){if(n=!0,i=dt(r(++i),i,r),e=r(i),e===null||e.type!==m)return 0}else return t;if(!n){let o=e.value.charCodeAt(0);if(o!==ft&&o!==ge)return 0}return Le(e,n?0:1,n,i)}function qr(e,t){let r=0;if(!e)return 0;if(e.type===m)return Le(e,0,Xl,r);if(e.type===f&&e.value.charCodeAt(0)===ge){if(!xe(e.value,1,Br))return 0;switch(e.value.length){case 2:return Ur(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==ge?0:(r=dt(t(++r),r,t),e=t(r),Le(e,0,$e,r));default:return e.value.charCodeAt(2)!==ge?0:Le(e,3,$e,r)}}else if(e.type===f||_r(e,ft)&&t(r+1).type===f){if(e.type!==f&&(e=t(++r)),e===null||!xe(e.value,0,Br))return 0;switch(e.value.length){case 1:return Ur(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==ge?0:(r=dt(t(++r),r,t),e=t(r),Le(e,0,$e,r));default:return e.value.charCodeAt(1)!==ge?0:Le(e,2,$e,r)}}else if(e.type===k){let n=e.value.charCodeAt(0),i=n===ft||n===ge?1:0,o=i;for(;o<e.value.length&&U(e.value.charCodeAt(o));o++);return o===i||!xe(e.value,o,Br)?0:o+1===e.value.length?Ur(t(++r),r,t):e.value.charCodeAt(o+1)!==ge?0:o+2===e.value.length?(r=dt(t(++r),r,t),e=t(r),Le(e,0,$e,r)):Le(e,o+2,$e,r)}return 0}var Zl=43,Ho=45,Wo=63,Jl=117;function Hr(e,t){return e!==null&&e.type===g&&e.value.charCodeAt(0)===t}function ec(e,t){return e.value.charCodeAt(0)===t}function mt(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let o=e.value.charCodeAt(i);if(o===Ho&&r&&n!==0)return mt(e,t+n+1,!1),6;if(!ie(o)||++n>6)return 0}return n}function Zt(e,t,r){if(!e)return 0;for(;Hr(r(t),Wo);){if(++e>6)return 0;t++}return t}function Wr(e,t){let r=0;if(e===null||e.type!==f||!xe(e.value,0,Jl)||(e=t(++r),e===null))return 0;if(Hr(e,Zl))return e=t(++r),e===null?0:e.type===f?Zt(mt(e,0,!0),++r,t):Hr(e,Wo)?Zt(1,++r,t):0;if(e.type===m){let n=mt(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===k||e.type===m?!ec(e,Ho)||!mt(e,1,!1)?0:r+1:Zt(n,r,t))}return e.type===k?Zt(mt(e,1,!0),++r,t):0}var tc=["unset","initial","inherit"],rc=["calc(","-moz-calc(","-webkit-calc("],Yr=new Map([[x,S],[j,S],[H,$],[B,G]]),nc=["px","mm","cm","in","pt","pc","q","em","ex","ch","rem","vh","vw","vmin","vmax","vm"],ic=["deg","grad","rad","turn"],oc=["s","ms"],ac=["hz","khz"],sc=["dpi","dpcm","dppx","x"],lc=["fr"],cc=["db"],uc=["st"];function ue(e,t){return t<e.length?e.charCodeAt(t):0}function Vr(e,t){return ke(e,0,e.length,t)}function Yo(e,t){for(let r=0;r<t.length;r++)if(Vr(e,t[r]))return!0;return!1}function Vo(e,t){return t!==e.length-2?!1:ue(e,t)===92&&U(ue(e,t+1))}function Jt(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min||e.max!==null&&n>e.max)return!0}return!1}function Go(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case G:case S:case $:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case x:case j:case H:case B:n.push(r),r=Yr.get(e.type);break}i++}while(e=t(i));return i}function le(e){return function(t,r,n){return t===null?0:t.type===x&&Yo(t.value,rc)?Go(t,r):e(t,r,n)}}function R(e){return function(t){return t===null||t.type!==e?0:1}}function pc(e){return e=e+"(",function(t,r){return t!==null&&Vr(t.value,e)?Go(t,r):0}}function hc(e){if(e===null||e.type!==f)return 0;let t=e.value.toLowerCase();return Yo(t,tc)||Vr(t,"default")?0:1}function fc(e){return e===null||e.type!==f||ue(e.value,0)!==45||ue(e.value,1)!==45?0:1}function dc(e){if(e===null||e.type!==A)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!ie(ue(e.value,r)))return 0;return 1}function mc(e){return e===null||e.type!==A||!Ue(ue(e.value,1),ue(e.value,2),ue(e.value,3))?0:1}function gc(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case ze:case K:break e;case G:case S:case $:if(e.type!==r)break e;r=n.pop();break;case q:if(r===0)break e;break;case g:if(r===0&&e.value==="!")break e;break;case x:case j:case H:case B:n.push(r),r=Yr.get(e.type);break}i++}while(e=t(i));return i}function bc(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case ze:case K:break e;case G:case S:case $:if(e.type!==r)break e;r=n.pop();break;case x:case j:case H:case B:n.push(r),r=Yr.get(e.type);break}i++}while(e=t(i));return i}function Se(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==k)return 0;let i=Oe(t.value,0);if(e!==null){let o=t.value.indexOf("\\",i),a=o===-1||!Vo(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return Jt(n,t.value,i)?0:1}}function yc(e,t,r){return e===null||e.type!==L||Jt(r,e.value,e.value.length-1)?0:1}function Ko(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===m&&Number(t.value)===0?1:e(t,r,n)}}function xc(e,t,r){if(e===null)return 0;let n=Oe(e.value,0);return!(n===e.value.length)&&!Vo(e.value,n)||Jt(r,e.value,n)?0:1}function kc(e,t,r){if(e===null||e.type!==m)return 0;let n=ue(e.value,0)===43||ue(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!U(ue(e.value,n)))return 0;return Jt(r,e.value,n)?0:1}var er={"ident-token":R(f),"function-token":R(x),"at-keyword-token":R(D),"hash-token":R(A),"string-token":R(V),"bad-string-token":R(ze),"url-token":R(_),"bad-url-token":R(K),"delim-token":R(g),"number-token":R(m),"percentage-token":R(L),"dimension-token":R(k),"whitespace-token":R(v),"CDO-token":R(he),"CDC-token":R(W),"colon-token":R(N),"semicolon-token":R(q),"comma-token":R(Q),"[-token":R(H),"]-token":R($),"(-token":R(j),")-token":R(S),"{-token":R(B),"}-token":R(G),string:R(V),ident:R(f),"custom-ident":hc,"custom-property-name":fc,"hex-color":dc,"id-selector":mc,"an-plus-b":qr,urange:Wr,"declaration-value":gc,"any-value":bc,dimension:le(Se(null)),angle:le(Se(ic)),decibel:le(Se(cc)),frequency:le(Se(ac)),flex:le(Se(lc)),length:le(Ko(Se(nc))),resolution:le(Se(sc)),semitones:le(Se(uc)),time:le(Se(oc)),percentage:le(yc),zero:Ko(),number:le(xc),integer:le(kc),"-ms-legacy-expression":pc("expression")};function Gr(e,t,r){return Object.assign(De("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
10
|
+
`+t+`
|
11
|
+
--`+new Array((r||t.length)+1).join("-")+"^"})}var wc=9,vc=10,Sc=12,Cc=13,Ac=32,Kr=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}findWsEnd(t){for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r!==Cc&&r!==vc&&r!==Sc&&r!==Ac&&r!==wc)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new Gr(t,this.str,this.pos)}};var Ec=9,Tc=10,Lc=12,jc=13,Pc=32,Qo=33,$o=35,Xo=38,tr=39,Zo=40,Ic=41,Jo=42,ea=43,Qr=44,ta=45,$r=60,ra=62,na=63,zc=64,rr=91,Xr=93,nr=123,ia=124,oa=125,aa=8734,Zr=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),sa={" ":1,"&&":2,"||":3,"|":4};function ir(e){return e.substringToPos(e.findWsEnd(e.pos))}function or(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r>=128||Zr[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function ar(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r<48||r>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Oc(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function la(e){let t=null,r=null;return e.eat(nr),t=ar(e),e.charCode()===Qr?(e.pos++,e.charCode()!==oa&&(r=ar(e))):r=t,e.eat(oa),{min:Number(t),max:r?Number(r):0}}function Dc(e){let t=null,r=!1;switch(e.charCode()){case Jo:e.pos++,t={min:0,max:0};break;case ea:e.pos++,t={min:1,max:0};break;case na:e.pos++,t={min:0,max:1};break;case $o:e.pos++,r=!0,e.charCode()===nr?t=la(e):t={min:1,max:0};break;case nr:t=la(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function gt(e,t){let r=Dc(e);return r!==null?(r.term=t,r):t}function Jr(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function Nc(e){let t;return e.eat($r),e.eat(tr),t=or(e),e.eat(tr),e.eat(ra),gt(e,{type:"Property",name:t})}function Rc(e){let t=null,r=null,n=1;return e.eat(rr),e.charCode()===ta&&(e.peek(),n=-1),n==-1&&e.charCode()===aa?e.peek():t=n*Number(ar(e)),ir(e),e.eat(Qr),ir(e),e.charCode()===aa?e.peek():(n=1,e.charCode()===ta&&(e.peek(),n=-1),r=n*Number(ar(e))),e.eat(Xr),t===null&&r===null?null:{type:"Range",min:t,max:r}}function Mc(e){let t,r=null;return e.eat($r),t=or(e),e.charCode()===Zo&&e.nextCharCode()===Ic&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===rr&&(ir(e),r=Rc(e)),e.eat(ra),gt(e,{type:"Type",name:t,opts:r})}function Fc(e){let t=or(e);return e.charCode()===Zo?(e.pos++,{type:"Function",name:t}):gt(e,{type:"Keyword",name:t})}function Bc(e,t){function r(i,o){return{type:"Group",terms:i,combinator:o,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,o)=>sa[i]-sa[o]);t.length>0;){n=t.shift();let i=0,o=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function ca(e){let t=[],r={},n,i=null,o=e.pos;for(;n=Uc(e);)n.type!=="Spaces"&&(n.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=o,e.error("Unexpected combinator")),r[n.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(n),i=n,o=e.pos);return i!==null&&i.type==="Combinator"&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:Bc(t,r)||" ",disallowEmpty:!1,explicit:!1}}function _c(e){let t;return e.eat(rr),t=ca(e),e.eat(Xr),t.explicit=!0,e.charCode()===Qo&&(e.pos++,t.disallowEmpty=!0),t}function Uc(e){let t=e.charCode();if(t<128&&Zr[t]===1)return Fc(e);switch(t){case Xr:break;case rr:return gt(e,_c(e));case $r:return e.nextCharCode()===tr?Nc(e):Mc(e);case ia:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===ia?2:1))};case Xo:return e.pos++,e.eat(Xo),{type:"Combinator",value:"&&"};case Qr:return e.pos++,{type:"Comma"};case tr:return gt(e,{type:"String",value:Oc(e)});case Pc:case Ec:case Tc:case jc:case Lc:return{type:"Spaces",value:ir(e)};case zc:return t=e.nextCharCode(),t<128&&Zr[t]===1?(e.pos++,{type:"AtKeyword",name:or(e)}):Jr(e);case Jo:case ea:case na:case $o:case Qo:break;case nr:if(t=e.nextCharCode(),t<48||t>57)return Jr(e);break;default:return Jr(e)}}function bt(e){let t=new Kr(e),r=ca(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var yt=function(){};function ua(e){return typeof e=="function"?e:yt}function en(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(r,a)}let i=yt,o=yt;if(typeof t=="function"?i=t:t&&(i=ua(t.enter),o=ua(t.leave)),i===yt&&o===yt)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}var Hc={decorator:function(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,o){t.push({type:i,value:n,node:o?null:r})},result(){return t}}}};function Wc(e){let t=[];return Te(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function pa(e,t){return typeof e=="string"?Wc(e):t.generate(e,Hc)}var E={type:"Match"},I={type:"Mismatch"},sr={type:"DisallowEmpty"},Yc=40,Vc=41;function ee(e,t,r){return t===E&&r===I||e===E&&t===E&&r===E?e:(e.type==="If"&&e.else===I&&t===E&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function ha(e){return e.length>2&&e.charCodeAt(e.length-2)===Yc&&e.charCodeAt(e.length-1)===Vc}function fa(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&ha(e.name)}function tn(e,t,r){switch(e){case" ":{let n=E;for(let i=t.length-1;i>=0;i--){let o=t[i];n=ee(o,n,I)}return n}case"|":{let n=I,i=null;for(let o=t.length-1;o>=0;o--){let a=t[o];if(fa(a)&&(i===null&&o>0&&fa(t[o-1])&&(i=Object.create(null),n=ee({type:"Enum",map:i},E,n)),i!==null)){let l=(ha(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(l in i)){i[l]=a;continue}}i=null,n=ee(a,E,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=I;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=tn(e,t.filter(function(l){return l!==o}),!1):a=E,n=ee(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?E:I;for(let i=t.length-1;i>=0;i--){let o=t[i],a;t.length>1?a=tn(e,t.filter(function(l){return l!==o}),!0):a=E,n=ee(o,a,n)}return n}}}function Gc(e){let t=E,r=rn(e.term);if(e.max===0)r=ee(r,sr,I),t=ee(r,null,I),t.then=ee(E,E,t),e.comma&&(t.then.else=ee({type:"Comma",syntax:e},t,I));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==E&&(t=ee({type:"Comma",syntax:e},t,I)),t=ee(r,ee(E,E,t),I);if(e.min===0)t=ee(E,E,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==E&&(t=ee({type:"Comma",syntax:e},t,I)),t=ee(r,t,I);return t}function rn(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=tn(e.combinator,e.terms.map(rn),!1);return e.disallowEmpty&&(t=ee(t,sr,I)),t}case"Multiplier":return Gc(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function xt(e,t){return typeof e=="string"&&(e=bt(e)),{type:"MatchGraph",match:rn(e),syntax:t||null,source:e}}var{hasOwnProperty:da}=Object.prototype,Kc=0,Qc=1,nn=2,ma=3,ga="Match",$c="Mismatch",Xc="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",ba=15e3,Zc=0;function Jc(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function on(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function eu(e){return e.type!==g?!1:e.value!=="?"}function ya(e){return e===null?!0:e.type===Q||e.type===x||e.type===j||e.type===H||e.type===B||eu(e)}function xa(e){return e===null?!0:e.type===S||e.type===$||e.type===G||e.type===g}function tu(e,t,r){function n(){do z++,C=z<e.length?e[z]:null;while(C!==null&&(C.type===v||C.type===P))}function i(ce){let ye=z+ce;return ye<e.length?e[ye]:null}function o(ce,ye){return{nextState:ce,matchStack:F,syntaxStack:p,thenStack:h,tokenIndex:z,prev:ye}}function a(ce){h={nextState:ce,matchStack:F,syntaxStack:p,prev:h}}function l(ce){d=o(ce,d)}function c(){F={type:Qc,syntax:t.syntax,token:C,prev:F},n(),b=null,z>Ae&&(Ae=z)}function s(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},F={type:nn,syntax:t.syntax,token:F.token,prev:F}}function u(){F.type===nn?F=F.prev:F={type:ma,syntax:p.syntax,token:F.token,prev:F},p=p.prev}let p=null,h=null,d=null,b=null,T=0,O=null,C=null,z=-1,Ae=0,F={type:Kc,syntax:null,token:null,prev:null};for(n();O===null&&++T<ba;)switch(t.type){case"Match":if(h===null){if(C!==null&&(z!==e.length-1||C.value!=="\\0"&&C.value!=="\\9")){t=I;break}O=ga;break}if(t=h.nextState,t===sr)if(h.matchStack===F){t=I;break}else t=E;for(;h.syntaxStack!==p;)u();h=h.prev;break;case"Mismatch":if(b!==null&&b!==!1)(d===null||z>d.tokenIndex)&&(d=b,b=!1);else if(d===null){O=$c;break}t=d.nextState,h=d.thenStack,p=d.syntaxStack,F=d.matchStack,z=d.tokenIndex,C=z<e.length?e[z]:null,d=d.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==I&&l(t.else),t.then!==E&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let Z=t.syntax.terms;if(t.index===Z.length){if(t.mask===0||t.syntax.all){t=I;break}t=E;break}if(t.mask===(1<<Z.length)-1){t=E;break}for(;t.index<Z.length;t.index++){let te=1<<t.index;if((t.mask&te)==0){l(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|te}),t=Z[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(C!==null){let Z=C.value.toLowerCase();if(Z.indexOf("\\")!==-1&&(Z=Z.replace(/\\[09].*$/,"")),da.call(t.map,Z)){t=t.map[Z];break}}t=I;break;case"Generic":{let Z=p!==null?p.opts:null,te=z+Math.floor(t.fn(C,i,Z));if(!isNaN(te)&&te>z){for(;z<te;)c();t=E}else t=I;break}case"Type":case"Property":{let Z=t.type==="Type"?"types":"properties",te=da.call(r,Z)?r[Z][t.name]:null;if(!te||!te.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(b!==!1&&C!==null&&t.type==="Type"&&(t.name==="custom-ident"&&C.type===f||t.name==="length"&&C.value==="0")){b===null&&(b=o(t,d)),t=I;break}s(),t=te.match;break}case"Keyword":{let Z=t.name;if(C!==null){let te=C.value;if(te.indexOf("\\")!==-1&&(te=te.replace(/\\[09].*$/,"")),on(te,Z)){c(),t=E;break}}t=I;break}case"AtKeyword":case"Function":if(C!==null&&on(C.value,t.name)){c(),t=E;break}t=I;break;case"Token":if(C!==null&&C.value===t.value){c(),t=E;break}t=I;break;case"Comma":C!==null&&C.type===Q?ya(F.token)?t=I:(c(),t=xa(C)?I:E):t=ya(F.token)||xa(C)?E:I;break;case"String":let ce="",ye=z;for(;ye<e.length&&ce.length<t.value.length;ye++)ce+=e[ye].value;if(on(ce,t.value)){for(;z<ye;)c();t=E}else t=I;break;default:throw new Error("Unknown node type: "+t.type)}switch(Zc+=T,O){case null:console.warn("[csstree-match] BREAK after "+ba+" iterations"),O=Xc,F=null;break;case ga:for(;p!==null;)u();break;default:F=null}return{tokens:e,reason:O,iterations:T,match:F,longestMatch:Ae}}function an(e,t,r){let n=tu(e,t,r||{});if(n.match===null)return n;let i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=Jc(i).prev;i!==null;){switch(i.type){case nn:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case ma:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var ln={};y(ln,{getTrace:()=>ka,isKeyword:()=>iu,isProperty:()=>nu,isType:()=>ru});function ka(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function ru(e,t){return sn(this,e,r=>r.type==="Type"&&r.name===t)}function nu(e,t){return sn(this,e,r=>r.type==="Property"&&r.name===t)}function iu(e){return sn(this,e,t=>t.type==="Keyword")}function sn(e,t,r){let n=ka.call(e,t);return n===null?!1:n.some(r)}function wa(e){return"node"in e?e.node:wa(e.match[0])}function va(e){return"node"in e?e.node:va(e.match[e.match.length-1])}function cn(e,t,r,n,i){function o(l){if(l.syntax!==null&&l.syntax.type===n&&l.syntax.name===i){let c=wa(l),s=va(l);e.syntax.walk(t,function(u,p,h){if(u===c){let d=new w;do{if(d.appendData(p.data),p.data===s)break;p=p.next}while(p!==null);a.push({parent:h,nodes:d})}})}Array.isArray(l.match)&&l.match.forEach(o)}let a=[];return r.matched!==null&&o(r.matched),a}var{hasOwnProperty:kt}=Object.prototype;function un(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Sa(e){return Boolean(e)&&un(e.offset)&&un(e.line)&&un(e.column)}function ou(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(let o in n){let a=!0;if(kt.call(n,o)!==!1){if(o==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!Sa(n.loc.start))o+=".start";else if(!Sa(n.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(let l=0;!a&&l<t[o].length;l++){let c=t[o][l];switch(c){case String:a=typeof n[o]=="string";break;case Boolean:a=typeof n[o]=="boolean";break;case null:a=n[o]===null;break;default:typeof c=="string"?a=n[o]&&n[o].type===c:Array.isArray(c)&&(a=n[o]instanceof w)}}}else i(n,"Unknown field `"+o+"` for "+e+" node type");a||i(n,"Bad value for `"+e+"."+o+"`")}}for(let o in t)kt.call(t,o)&&kt.call(n,o)===!1&&i(n,"Field `"+e+"."+o+"` is missed")}}function au(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let o in r){if(kt.call(r,o)===!1)continue;let a=[],l=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];for(let c=0;c<l.length;c++){let s=l[c];if(s===String||s===Boolean)a.push(s.name);else if(s===null)a.push("null");else if(typeof s=="string")a.push("<"+s+">");else if(Array.isArray(s))a.push("List");else throw new Error("Wrong value `"+s+"` in `"+e+"."+o+"` structure definition")}i[o]=a.join(" | ")}return{docs:i,check:ou(e,n)}}function Ca(e){let t={};if(e.node){for(let r in e.node)if(kt.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=au(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var su=xt("inherit | initial | unset"),lu=xt("inherit | initial | unset | <-ms-legacy-expression>");function pn(e,t,r){let n={};for(let i in e)e[i].syntax&&(n[i]=r?e[i].syntax:Ge(e[i].syntax,{compact:t}));return n}function cu(e,t,r){let n={};for(let[i,o]of Object.entries(e))n[i]={prelude:o.prelude&&(r?o.prelude.syntax:Ge(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&pn(o.descriptors,t,r)};return n}function uu(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function pe(e,t,r){return{matched:e,iterations:r,error:t,...ln}}function wt(e,t,r,n){let i=pa(r,e.syntax),o;return uu(i)?pe(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=an(i,e.valueCommonSyntax,e)),(!n||!o.match)&&(o=an(i,t.match,e),!o.match)?pe(null,new Uo(o.reason,t.syntax,r,o),o.iterations):pe(o.match,null,o.iterations))}var vt=class{constructor(t,r,n){if(this.valueCommonSyntax=su,this.syntax=r,this.generic=!1,this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||Ca(t),t){if(t.types)for(let i in t.types)this.addType_(i,t.types[i]);if(t.generic){this.generic=!0;for(let i in er)this.addType_(i,er[i])}if(t.atrules)for(let i in t.atrules)this.addAtrule_(i,t.atrules[i]);if(t.properties)for(let i in t.properties)this.addProperty_(i,t.properties[i])}}checkStructure(t){function r(o,a){i.push({node:o,message:a})}let n=this.structure,i=[];return this.syntax.walk(t,function(o){n.hasOwnProperty(o.type)?n[o.type].check(o,r):r(o,"Unknown node type `"+o.type+"`")}),i.length?i:!1}createDescriptor(t,r,n,i=null){let o={type:r,name:n},a={type:r,name:n,parent:i,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null};return typeof t=="function"?a.match=xt(t,o):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:bt(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:xt(a.syntax,o)}),a.match}})),a}addAtrule_(t,r){!r||(this.atrules[t]={type:"Atrule",name:t,prelude:r.prelude?this.createDescriptor(r.prelude,"AtrulePrelude",t):null,descriptors:r.descriptors?Object.keys(r.descriptors).reduce((n,i)=>(n[i]=this.createDescriptor(r.descriptors[i],"AtruleDescriptor",i,t),n),Object.create(null)):null})}addProperty_(t,r){!r||(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){!r||(this.types[t]=this.createDescriptor(r,"Type",t),r===er["-ms-legacy-expression"]&&(this.valueCommonSyntax=lu))}checkAtruleName(t){if(!this.getAtrule(t))return new Ke("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t);if(!i.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!r)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t),o=J(r);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[o.name]&&!i.descriptors[o.basename])return new Ke("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new Ke("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);return n?pe(null,n):r?wt(this,this.getAtrule(t).prelude,r,!1):pe(null,null)}matchAtruleDescriptor(t,r,n){let i=this.checkAtruleDescriptorName(t,r);if(i)return pe(null,i);let o=this.getAtrule(t),a=J(r);return wt(this,o.descriptors[a.name]||o.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?pe(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(me(t).custom)return pe(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?pe(null,n):wt(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?wt(this,n,r,!1):pe(null,new Ke("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?pe(null,new Ke("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),wt(this,t,r,!1))}findValueFragments(t,r,n,i){return cn(this,r,this.matchProperty(t,r),n,i)}findDeclarationValueFragments(t,r,n){return cn(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let i=[];return this.syntax.walk(t,{visit:"Declaration",enter:o=>{i.push.apply(i,this.findDeclarationValueFragments(o,r,n))}}),i}getAtrule(t,r=!0){let n=J(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=me(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(i,o,a,l){if(a.has(o))return a.get(o);a.set(o,!1),l.syntax!==null&&en(l.syntax,function(c){if(c.type!=="Type"&&c.type!=="Property")return;let s=c.type==="Type"?i.types:i.properties,u=c.type==="Type"?r:n;(!hasOwnProperty.call(s,c.name)||t(i,c.name,u,s[c.name]))&&a.set(o,!0)},this)}let r=new Map,n=new Map;for(let i in this.types)t(this,i,r,this.types[i]);for(let i in this.properties)t(this,i,n,this.properties[i]);return r=[...r.keys()].filter(i=>r.get(i)),n=[...n.keys()].filter(i=>n.get(i)),r.length||n.length?{types:r,properties:n}:null}dump(t,r){return{generic:this.generic,types:pn(this.types,!r,t),properties:pn(this.properties,!r,t),atrules:cu(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}};var{hasOwnProperty:Xe}=Object.prototype,pu={generic:!0,types:fn,atrules:{prelude:Ta,descriptors:Ta},properties:fn,parseContext:hu,scope:Aa,atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function lr(e){return e&&e.constructor===Object}function hn(e){return lr(e)?{...e}:e}function hu(e,t){return Object.assign(e,t)}function Aa(e,t){for(let r in t)Xe.call(t,r)&&(lr(e[r])?Aa(e[r],hn(t[r])):e[r]=hn(t[r]));return e}function Ea(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function fn(e,t){if(typeof t=="string")return Ea(e,t);let r={...e};for(let n in t)Xe.call(t,n)&&(r[n]=Ea(Xe.call(e,n)?e[n]:void 0,t[n]));return r}function Ta(e,t){let r=fn(e,t);return!lr(r)||Object.keys(r).length?r:null}function St(e,t,r){for(let n in r)if(Xe.call(r,n)!==!1){if(r[n]===!0)n in t&&Xe.call(t,n)&&(e[n]=hn(t[n]));else if(r[n]){if(typeof r[n]=="function"){let i=r[n];e[n]=i({},e[n]),e[n]=i(e[n]||{},t[n])}else if(lr(r[n])){let i={};for(let o in e[n])i[o]=St({},e[n][o],r[n]);for(let o in t[n])i[o]=St(i[o]||{},t[n][o],r[n]);e[n]=i}else if(Array.isArray(r[n])){let i={},o=r[n].reduce(function(a,l){return a[l]=!0,a},{});for(let[a,l]of Object.entries(e[n]||{}))i[a]={},l&&St(i[a],l,o);for(let a in t[n])Xe.call(t[n],a)&&(i[a]||(i[a]={}),t[n]&&t[n][a]&&St(i[a],t[n][a],o));e[n]=i}}}return e}var cr=(e,t)=>St(e,t,pu);function La(e){let t=ao(e),r=Bo(e),n=Oo(e),{fromPlainObject:i,toPlainObject:o}=Do(r),a={lexer:null,createLexer:l=>new vt(l,a,a.lexer.structure),tokenize:Te,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:o,fork(l){let c=cr({},e);return La(typeof l=="function"?l(c,Object.assign):cr(c,l))}};return a.lexer=new vt({generic:!0,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var dn=e=>La(cr({},e));var ja={generic:!0,types:{"absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","counter()":"counter( <counter-name> , <counter-style>? )","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fit-content()":"fit-content( [<length>|<percentage>] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length>|<percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length>|<percentage>|min-content|max-content|auto] , [<length>|<percentage>|<flex>|min-content|max-content|auto] )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( [<length>|<percentage>] )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","border-radius":"<length-percentage>{1,2}",bottom:"<length>|auto",counter:"<counter()>|<counters()>","counter-name":"<custom-ident>","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#","name-repeat":"repeat( [<positive-integer>|auto-fill] , <line-names>+ )",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",ratio:"<integer> / <integer>",right:"<length>|auto","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto","track-group":"'(' [<string>* <track-minmax> <string>*]+ ')' ['[' <positive-integer> ']']?|<track-minmax>","track-list-v0":"[<string>* <track-group> <string>*]+|none","track-minmax":"minmax( <track-breadth> , <track-breadth> )|auto|<track-breadth>|fit-content",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221E]>","positive-integer":"<integer [0,\u221E]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<box>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end","caret-color":"auto|<color>",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[size||layout||style||paint]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221E]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [<media-query-list>]?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}}}};var Me={};y(Me,{AnPlusB:()=>gn,Atrule:()=>bn,AtrulePrelude:()=>yn,AttributeSelector:()=>kn,Block:()=>wn,Brackets:()=>vn,CDC:()=>Sn,CDO:()=>Cn,ClassSelector:()=>An,Combinator:()=>En,Comment:()=>Tn,Declaration:()=>Ln,DeclarationList:()=>jn,Dimension:()=>Pn,Function:()=>In,Hash:()=>zn,IdSelector:()=>Dn,Identifier:()=>On,MediaFeature:()=>Nn,MediaQuery:()=>Rn,MediaQueryList:()=>Mn,Nth:()=>Fn,Number:()=>Bn,Operator:()=>_n,Parentheses:()=>Un,Percentage:()=>qn,PseudoClassSelector:()=>Hn,PseudoElementSelector:()=>Wn,Ratio:()=>Yn,Raw:()=>Vn,Rule:()=>Gn,Selector:()=>Kn,SelectorList:()=>Qn,String:()=>Zn,StyleSheet:()=>Jn,TypeSelector:()=>ti,UnicodeRange:()=>ni,Url:()=>si,Value:()=>li,WhiteSpace:()=>ci});var gn={};y(gn,{generate:()=>bu,name:()=>du,parse:()=>gu,structure:()=>mu});var be=43,oe=45,ur=110,Re=!0,fu=!1;function pr(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===be||n===oe)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)U(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ze(e){return pr.call(this,0,e)}function je(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case ur:r="N is expected";break;case oe:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function mn(){let e=0,t=0,r=this.tokenType;for(;r===v||r===P;)r=this.lookupType(++e);if(r!==m)if(this.isDelim(be,e)||this.isDelim(oe,e)){t=this.isDelim(be,e)?be:oe;do r=this.lookupType(++e);while(r===v||r===P);r!==m&&(this.skip(e),Ze.call(this,Re))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==be&&r!==oe&&this.error("Number sign is expected")),Ze.call(this,t!==0),t===oe?"-"+this.consume(m):this.consume(m)}var du="AnPlusB",mu={a:[String,null],b:[String,null]};function gu(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===m)Ze.call(this,fu),r=this.consume(m);else if(this.tokenType===f&&this.cmpChar(this.tokenStart,oe))switch(t="-1",je.call(this,1,ur),this.tokenEnd-this.tokenStart){case 2:this.next(),r=mn.call(this);break;case 3:je.call(this,2,oe),this.next(),this.skipSC(),Ze.call(this,Re),r="-"+this.consume(m);break;default:je.call(this,2,oe),pr.call(this,3,Re),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===f||this.isDelim(be)&&this.lookupType(1)===f){let n=0;switch(t="1",this.isDelim(be)&&(n=1,this.next()),je.call(this,0,ur),this.tokenEnd-this.tokenStart){case 1:this.next(),r=mn.call(this);break;case 2:je.call(this,1,oe),this.next(),this.skipSC(),Ze.call(this,Re),r="-"+this.consume(m);break;default:je.call(this,1,oe),pr.call(this,2,Re),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===k){let n=this.charCodeAt(this.tokenStart),i=n===be||n===oe,o=this.tokenStart+i;for(;o<this.tokenEnd&&U(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),je.call(this,o-this.tokenStart,ur),t=this.substring(e,o),o+1===this.tokenEnd?(this.next(),r=mn.call(this)):(je.call(this,o-this.tokenStart+1,oe),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ze.call(this,Re),r="-"+this.consume(m)):(pr.call(this,o-this.tokenStart+2,Re),this.next(),r=this.substrToCursor(o+1)))}else this.error();return t!==null&&t.charCodeAt(0)===be&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===be&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function bu(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var bn={};y(bn,{generate:()=>Su,name:()=>xu,parse:()=>vu,structure:()=>wu,walkContext:()=>ku});function Pa(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function yu(){for(let e=1,t;t=this.lookupType(e);e++){if(t===G)return!0;if(t===B||t===D)return!1}return!1}var xu="Atrule",ku="atrule",wu={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function vu(){let e=this.tokenStart,t,r,n=null,i=null;switch(this.eat(D),t=this.substrToCursor(e+1),r=t.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==B&&this.tokenType!==q&&(this.parseAtrulePrelude?n=this.parseWithFallback(this.AtrulePrelude.bind(this,t),Pa):n=Pa.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case q:this.next();break;case B:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?i=this.atrule[r].block.call(this):i=this.Block(yu.call(this));break}return{type:"Atrule",loc:this.getLocation(e,this.tokenStart),name:t,prelude:n,block:i}}function Su(e){this.token(D,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(q,";")}var yn={};y(yn,{generate:()=>Lu,name:()=>Cu,parse:()=>Tu,structure:()=>Eu,walkContext:()=>Au});var Cu="AtrulePrelude",Au="atrulePrelude",Eu={children:[[]]};function Tu(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==B&&this.tokenType!==q&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function Lu(e){this.children(e)}var kn={};y(kn,{generate:()=>Mu,name:()=>Du,parse:()=>Ru,structure:()=>Nu});var ju=36,Ia=42,hr=61,Pu=94,xn=124,Iu=126;function zu(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Ia)?(t=!0,this.next()):this.isDelim(xn)||this.eat(f),this.isDelim(xn)?this.charCodeAt(this.tokenStart+1)!==hr?(this.next(),this.eat(f)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Ou(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==hr&&t!==Iu&&t!==Pu&&t!==ju&&t!==Ia&&t!==xn&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==hr&&(this.isDelim(hr)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var Du="AttributeSelector",Nu={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Ru(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(H),this.skipSC(),t=zu.call(this),this.skipSC(),this.tokenType!==$&&(this.tokenType!==f&&(r=Ou.call(this),this.skipSC(),n=this.tokenType===V?this.String():this.Identifier(),this.skipSC()),this.tokenType===f&&(i=this.consume(f),this.skipSC())),this.eat($),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function Mu(e){this.token(g,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(f,e.flags),this.token(g,"]")}var wn={};y(wn,{generate:()=>Wu,name:()=>_u,parse:()=>Hu,structure:()=>qu,walkContext:()=>Uu});function za(e){return this.Raw(e,null,!0)}function Fu(){return this.parseWithFallback(this.Rule,za)}function Oa(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function Bu(){if(this.tokenType===q)return Oa.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Oa);return this.tokenType===q&&this.next(),e}var _u="Block",Uu="block",qu={children:[["Atrule","Rule","Declaration"]]};function Hu(e){let t=e?Bu:Fu,r=this.tokenStart,n=this.createList();this.eat(B);e:for(;!this.eof;)switch(this.tokenType){case G:break e;case v:case P:this.next();break;case D:n.push(this.parseWithFallback(this.Atrule,za));break;default:n.push(t.call(this))}return this.eof||this.eat(G),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function Wu(e){this.token(B,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(q,";")}),this.token(G,"}")}var vn={};y(vn,{generate:()=>Ku,name:()=>Yu,parse:()=>Gu,structure:()=>Vu});var Yu="Brackets",Vu={children:[[]]};function Gu(e,t){let r=this.tokenStart,n=null;return this.eat(H),n=e.call(this,t),this.eof||this.eat($),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function Ku(e){this.token(g,"["),this.children(e),this.token(g,"]")}var Sn={};y(Sn,{generate:()=>Zu,name:()=>Qu,parse:()=>Xu,structure:()=>$u});var Qu="CDC",$u=[];function Xu(){let e=this.tokenStart;return this.eat(W),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Zu(){this.token(W,"-->")}var Cn={};y(Cn,{generate:()=>rp,name:()=>Ju,parse:()=>tp,structure:()=>ep});var Ju="CDO",ep=[];function tp(){let e=this.tokenStart;return this.eat(he),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function rp(){this.token(he,"<!--")}var An={};y(An,{generate:()=>sp,name:()=>ip,parse:()=>ap,structure:()=>op});var np=46,ip="ClassSelector",op={name:String};function ap(){return this.eatDelim(np),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(f)}}function sp(e){this.token(g,"."),this.token(f,e.name)}var En={};y(En,{generate:()=>dp,name:()=>pp,parse:()=>fp,structure:()=>hp});var lp=43,Da=47,cp=62,up=126,pp="Combinator",hp={name:String};function fp(){let e=this.tokenStart,t;switch(this.tokenType){case v:t=" ";break;case g:switch(this.charCodeAt(this.tokenStart)){case cp:case lp:case up:this.next();break;case Da:this.next(),this.eatIdent("deep"),this.eatDelim(Da);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function dp(e){this.tokenize(e.name)}var Tn={};y(Tn,{generate:()=>kp,name:()=>bp,parse:()=>xp,structure:()=>yp});var mp=42,gp=47,bp="Comment",yp={value:String};function xp(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(P),t-e+2>=2&&this.charCodeAt(t-2)===mp&&this.charCodeAt(t-1)===gp&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function kp(e){this.token(P,"/*"+e.value+"*/")}var Ln={};y(Ln,{generate:()=>Op,name:()=>jp,parse:()=>zp,structure:()=>Ip,walkContext:()=>Pp});var Na=33,wp=35,vp=36,Sp=38,Cp=42,Ap=43,Ra=47;function Ep(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function Tp(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function Lp(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==q&&this.isDelim(Na)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var jp="Declaration",Pp="declaration",Ip={important:[Boolean,String],property:String,value:["Value","Raw"]};function zp(){let e=this.tokenStart,t=this.tokenIndex,r=Dp.call(this),n=Xt(r),i=n?this.parseCustomProperty:this.parseValue,o=n?Tp:Ep,a=!1,l;this.skipSC(),this.eat(N);let c=this.tokenIndex;if(n||this.skipSC(),i?l=this.parseWithFallback(Lp,o):l=o.call(this,this.tokenIndex),n&&l.type==="Value"&&l.children.isEmpty){for(let s=c-this.tokenIndex;s<=0;s++)if(this.lookupType(s)===v){l.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Na)&&(a=Np.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==q&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:l}}function Op(e){this.token(f,e.property),this.token(N,":"),this.node(e.value),e.important&&(this.token(g,"!"),this.token(f,e.important===!0?"important":e.important))}function Dp(){let e=this.tokenStart;if(this.tokenType===g)switch(this.charCodeAt(this.tokenStart)){case Cp:case vp:case Ap:case wp:case Sp:this.next();break;case Ra:this.next(),this.isDelim(Ra)&&this.next();break}return this.tokenType===A?this.eat(A):this.eat(f),this.substrToCursor(e)}function Np(){this.eat(g),this.skipSC();let e=this.consume(f);return e==="important"?!0:e}var jn={};y(jn,{generate:()=>_p,name:()=>Mp,parse:()=>Bp,structure:()=>Fp});function Rp(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var Mp="DeclarationList",Fp={children:[["Declaration"]]};function Bp(){let e=this.createList();e:for(;!this.eof;)switch(this.tokenType){case v:case P:case q:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,Rp))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function _p(e){this.children(e,t=>{t.type==="Declaration"&&this.token(q,";")})}var Pn={};y(Pn,{generate:()=>Wp,name:()=>Up,parse:()=>Hp,structure:()=>qp});var Up="Dimension",qp={value:String,unit:String};function Hp(){let e=this.tokenStart,t=this.consumeNumber(k);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Wp(e){this.token(k,e.value+e.unit)}var In={};y(In,{generate:()=>Qp,name:()=>Yp,parse:()=>Kp,structure:()=>Gp,walkContext:()=>Vp});var Yp="Function",Vp="function",Gp={name:String,children:[[]]};function Kp(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(S),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function Qp(e){this.token(x,e.name+"("),this.children(e),this.token(S,")")}var zn={};y(zn,{generate:()=>eh,name:()=>Xp,parse:()=>Jp,structure:()=>Zp,xxx:()=>$p});var $p="XXX",Xp="Hash",Zp={value:String};function Jp(){let e=this.tokenStart;return this.eat(A),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function eh(e){this.token(A,"#"+e.value)}var On={};y(On,{generate:()=>ih,name:()=>th,parse:()=>nh,structure:()=>rh});var th="Identifier",rh={name:String};function nh(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(f)}}function ih(e){this.token(f,e.name)}var Dn={};y(Dn,{generate:()=>lh,name:()=>oh,parse:()=>sh,structure:()=>ah});var oh="IdSelector",ah={name:String};function sh(){let e=this.tokenStart;return this.eat(A),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function lh(e){this.token(g,"#"+e.name)}var Nn={};y(Nn,{generate:()=>hh,name:()=>ch,parse:()=>ph,structure:()=>uh});var ch="MediaFeature",uh={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function ph(){let e=this.tokenStart,t,r=null;if(this.eat(j),this.skipSC(),t=this.consume(f),this.skipSC(),this.tokenType!==S){switch(this.eat(N),this.skipSC(),this.tokenType){case m:this.lookupNonWSType(1)===g?r=this.Ratio():r=this.Number();break;case k:r=this.Dimension();break;case f:r=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(S),{type:"MediaFeature",loc:this.getLocation(e,this.tokenStart),name:t,value:r}}function hh(e){this.token(j,"("),this.token(f,e.name),e.value!==null&&(this.token(N,":"),this.node(e.value)),this.token(S,")")}var Rn={};y(Rn,{generate:()=>gh,name:()=>fh,parse:()=>mh,structure:()=>dh});var fh="MediaQuery",dh={children:[["Identifier","MediaFeature","WhiteSpace"]]};function mh(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case P:case v:this.next();continue;case f:t=this.Identifier();break;case j:t=this.MediaFeature();break;default:break e}e.push(t)}return t===null&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function gh(e){this.children(e)}var Mn={};y(Mn,{generate:()=>kh,name:()=>bh,parse:()=>xh,structure:()=>yh});var bh="MediaQueryList",yh={children:[["MediaQuery"]]};function xh(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Q);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function kh(e){this.children(e,()=>this.token(Q,","))}var Fn={};y(Fn,{generate:()=>Ch,name:()=>wh,parse:()=>Sh,structure:()=>vh});var wh="Nth",vh={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Sh(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function Ch(e){this.node(e.nth),e.selector!==null&&(this.token(f,"of"),this.node(e.selector))}var Bn={};y(Bn,{generate:()=>Lh,name:()=>Ah,parse:()=>Th,structure:()=>Eh});var Ah="Number",Eh={value:String};function Th(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(m)}}function Lh(e){this.token(m,e.value)}var _n={};y(_n,{generate:()=>zh,name:()=>jh,parse:()=>Ih,structure:()=>Ph});var jh="Operator",Ph={value:String};function Ih(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function zh(e){this.tokenize(e.value)}var Un={};y(Un,{generate:()=>Rh,name:()=>Oh,parse:()=>Nh,structure:()=>Dh});var Oh="Parentheses",Dh={children:[[]]};function Nh(e,t){let r=this.tokenStart,n=null;return this.eat(j),n=e.call(this,t),this.eof||this.eat(S),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function Rh(e){this.token(j,"("),this.children(e),this.token(S,")")}var qn={};y(qn,{generate:()=>_h,name:()=>Mh,parse:()=>Bh,structure:()=>Fh});var Mh="Percentage",Fh={value:String};function Bh(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(L)}}function _h(e){this.token(L,e.value+"%")}var Hn={};y(Hn,{generate:()=>Yh,name:()=>Uh,parse:()=>Wh,structure:()=>Hh,walkContext:()=>qh});var Uh="PseudoClassSelector",qh="function",Hh={name:String,children:[["Raw"],null]};function Wh(){let e=this.tokenStart,t=null,r,n;return this.eat(N),this.tokenType===x?(r=this.consumeFunctionName(),n=r.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(S)):r=this.consume(f),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function Yh(e){this.token(N,":"),e.children===null?this.token(f,e.name):(this.token(x,e.name+"("),this.children(e),this.token(S,")"))}var Wn={};y(Wn,{generate:()=>$h,name:()=>Vh,parse:()=>Qh,structure:()=>Kh,walkContext:()=>Gh});var Vh="PseudoElementSelector",Gh="function",Kh={name:String,children:[["Raw"],null]};function Qh(){let e=this.tokenStart,t=null,r,n;return this.eat(N),this.eat(N),this.tokenType===x?(r=this.consumeFunctionName(),n=r.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(S)):r=this.consume(f),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function $h(e){this.token(N,":"),this.token(N,":"),e.children===null?this.token(f,e.name):(this.token(x,e.name+"("),this.children(e),this.token(S,")"))}var Yn={};y(Yn,{generate:()=>rf,name:()=>Jh,parse:()=>tf,structure:()=>ef});var Xh=47,Zh=46;function Ma(){this.skipSC();let e=this.consume(m);for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);!U(r)&&r!==Zh&&this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return Number(e)===0&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}var Jh="Ratio",ef={left:String,right:String};function tf(){let e=this.tokenStart,t=Ma.call(this),r;return this.skipSC(),this.eatDelim(Xh),r=Ma.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function rf(e){this.token(m,e.left),this.token(g,"/"),this.token(m,e.right)}var Vn={};y(Vn,{generate:()=>lf,name:()=>of,parse:()=>sf,structure:()=>af});function nf(){return this.tokenIndex>0&&this.lookupType(-1)===v?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var of="Raw",af={value:String};function sf(e,t,r){let n=this.getTokenStart(e),i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r&&this.tokenStart>n?i=nf.call(this):i=this.tokenStart,{type:"Raw",loc:this.getLocation(n,i),value:this.substring(n,i)}}function lf(e){this.tokenize(e.value)}var Gn={};y(Gn,{generate:()=>df,name:()=>uf,parse:()=>ff,structure:()=>hf,walkContext:()=>pf});function Fa(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function cf(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==B&&this.error(),e}var uf="Rule",pf="rule",hf={prelude:["SelectorList","Raw"],block:["Block"]};function ff(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(cf,Fa):r=Fa.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function df(e){this.node(e.prelude),this.node(e.block)}var Kn={};y(Kn,{generate:()=>yf,name:()=>mf,parse:()=>bf,structure:()=>gf});var mf="Selector",gf={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function bf(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function yf(e){this.children(e)}var Qn={};y(Qn,{generate:()=>Sf,name:()=>xf,parse:()=>vf,structure:()=>wf,walkContext:()=>kf});var xf="SelectorList",kf="selector",wf={children:[["Selector","Raw"]]};function vf(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Q){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Sf(e){this.children(e,()=>this.token(Q,","))}var Zn={};y(Zn,{generate:()=>Tf,name:()=>Cf,parse:()=>Ef,structure:()=>Af});var At={};y(At,{decode:()=>Ct,encode:()=>Xn});var $n=92,Ba=34,_a=39;function Ct(e){let t=e.length,r=e.charCodeAt(0),n=r===Ba||r===_a?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="";for(let a=n;a<=i;a++){let l=e.charCodeAt(a);if(l===$n){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(l=e.charCodeAt(++a),re($n,l)){let c=a-1,s=de(e,c);a=s-1,o+=lt(e.substring(c+1,s))}else l===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function Xn(e,t){let r=t?"'":'"',n=t?_a:Ba,i="",o=!1;for(let a=0;a<e.length;a++){let l=e.charCodeAt(a);if(l===0){i+="\uFFFD";continue}if(l<=31||l===127){i+="\\"+l.toString(16),o=!0;continue}l===n||l===$n?(i+="\\"+e.charAt(a),o=!1):(o&&(ie(l)||fe(l))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var Cf="String",Af={value:String};function Ef(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Ct(this.consume(V))}}function Tf(e){this.token(V,Xn(e.value))}var Jn={};y(Jn,{generate:()=>Of,name:()=>jf,parse:()=>zf,structure:()=>If,walkContext:()=>Pf});var Lf=33;function Ua(e){return this.Raw(e,null,!1)}var jf="StyleSheet",Pf="stylesheet",If={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function zf(){let e=this.tokenStart,t=this.createList(),r;e:for(;!this.eof;){switch(this.tokenType){case v:this.next();continue;case P:if(this.charCodeAt(this.tokenStart+2)!==Lf){this.next();continue}r=this.Comment();break;case he:r=this.CDO();break;case W:r=this.CDC();break;case D:r=this.parseWithFallback(this.Atrule,Ua);break;default:r=this.parseWithFallback(this.Rule,Ua)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function Of(e){this.children(e)}var ti={};y(ti,{generate:()=>Ff,name:()=>Nf,parse:()=>Mf,structure:()=>Rf});var Df=42,qa=124;function ei(){this.tokenType!==f&&this.isDelim(Df)===!1&&this.error("Identifier or asterisk is expected"),this.next()}var Nf="TypeSelector",Rf={name:String};function Mf(){let e=this.tokenStart;return this.isDelim(qa)?(this.next(),ei.call(this)):(ei.call(this),this.isDelim(qa)&&(this.next(),ei.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Ff(e){this.tokenize(e.name)}var ni={};y(ni,{generate:()=>Wf,name:()=>Uf,parse:()=>Hf,structure:()=>qf});var Ha=43,Wa=45,ri=63;function Et(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===Wa&&t&&r!==0)return Et.call(this,e+r+1,!1),-1;ie(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function fr(e){let t=0;for(;this.isDelim(ri);)++t>e&&this.error("Too many question marks"),this.next()}function Bf(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Ha?"Plus sign":"Hyphen minus")+" is expected")}function _f(){let e=0;switch(this.tokenType){case m:if(e=Et.call(this,1,!0),this.isDelim(ri)){fr.call(this,6-e);break}if(this.tokenType===k||this.tokenType===m){Bf.call(this,Wa),Et.call(this,1,!1);break}break;case k:e=Et.call(this,1,!0),e>0&&fr.call(this,6-e);break;default:if(this.eatDelim(Ha),this.tokenType===f){e=Et.call(this,0,!0),e>0&&fr.call(this,6-e);break}if(this.isDelim(ri)){this.next(),fr.call(this,5);break}this.error("Hex digit or question mark is expected")}}var Uf="UnicodeRange",qf={value:String};function Hf(){let e=this.tokenStart;return this.eatIdent("u"),_f.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Wf(e){this.tokenize(e.value)}var si={};y(si,{generate:()=>Zf,name:()=>Qf,parse:()=>Xf,structure:()=>$f});var dr={};y(dr,{decode:()=>oi,encode:()=>ai});var Yf=32,ii=92,Vf=34,Gf=39,Kf=40,Ya=41;function oi(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===Ya?t-2:t-1,i="";for(;r<n&&fe(e.charCodeAt(r));)r++;for(;r<n&&fe(e.charCodeAt(n));)n--;for(let o=r;o<=n;o++){let a=e.charCodeAt(o);if(a===ii){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),re(ii,a)){let l=o-1,c=de(e,l);o=c-1,i+=lt(e.substring(l+1,c))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function ai(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="\uFFFD";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===Yf||i===ii||i===Vf||i===Gf||i===Kf||i===Ya?(t+="\\"+e.charAt(n),r=!1):(r&&ie(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var Qf="Url",$f={value:String};function Xf(){let e=this.tokenStart,t;switch(this.tokenType){case _:t=oi(this.consume(_));break;case x:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(x),this.skipSC(),t=Ct(this.consume(V)),this.skipSC(),this.eof||this.eat(S);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function Zf(e){this.token(_,ai(e.value))}var li={};y(li,{generate:()=>rd,name:()=>Jf,parse:()=>td,structure:()=>ed});var Jf="Value",ed={children:[[]]};function td(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function rd(e){this.children(e)}var ci={};y(ci,{generate:()=>sd,name:()=>id,parse:()=>ad,structure:()=>od});var nd=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),id="WhiteSpace",od={value:String};function ad(){return this.eat(v),nd}function sd(e){this.token(v,e.value)}var Va={generic:!0,...ja,node:Me};var ui={};y(ui,{AtrulePrelude:()=>Ka,Selector:()=>$a,Value:()=>es});var ld=35,cd=42,Ga=43,ud=45,pd=47,hd=117;function Tt(e){switch(this.tokenType){case A:return this.Hash();case Q:return this.Operator();case j:return this.Parentheses(this.readSequence,e.recognizer);case H:return this.Brackets(this.readSequence,e.recognizer);case V:return this.String();case k:return this.Dimension();case L:return this.Percentage();case m:return this.Number();case x:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case _:return this.Url();case f:return this.cmpChar(this.tokenStart,hd)&&this.cmpChar(this.tokenStart+1,Ga)?this.UnicodeRange():this.Identifier();case g:{let t=this.charCodeAt(this.tokenStart);if(t===pd||t===cd||t===Ga||t===ud)return this.Operator();t===ld&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var Ka={getNode:Tt};var fd=35,dd=42,md=43,gd=47,Qa=46,bd=62,yd=124,xd=126;function kd(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function wd(){switch(this.tokenType){case H:return this.AttributeSelector();case A:return this.IdSelector();case N:return this.lookupType(1)===N?this.PseudoElementSelector():this.PseudoClassSelector();case f:return this.TypeSelector();case m:case L:return this.Percentage();case k:this.charCodeAt(this.tokenStart)===Qa&&this.error("Identifier is expected",this.tokenStart+1);break;case g:{switch(this.charCodeAt(this.tokenStart)){case md:case bd:case xd:case gd:return this.Combinator();case Qa:return this.ClassSelector();case dd:case yd:return this.TypeSelector();case fd:return this.IdSelector()}break}}}var $a={onWhiteSpace:kd,getNode:wd};function Xa(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Za(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Q){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===v){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}function Ja(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var es={getNode:Tt,onWhiteSpace:function(e,t){Ja(e)&&(e.value=" "+e.value),Ja(t.last)&&(t.last.value+=" ")},expression:Xa,var:Za};var ts={parse:{prelude:null,block(){return this.Block(!0)}}};var rs={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case V:e.push(this.String());break;case _:case x:e.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===f||this.lookupNonWSType(0)===j)&&e.push(this.MediaQueryList()),e},block:null}};var ns={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(){return this.Block(!1)}}};var is={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};function vd(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function Sd(){return this.skipSC(),this.tokenType===f&&this.lookupNonWSType(1)===N?this.createSingleNodeList(this.Declaration()):os.call(this)}function os(){let e=this.createList(),t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case P:case v:this.next();continue;case x:t=this.Function(vd,this.scope.AtrulePrelude);break;case f:t=this.Identifier();break;case j:t=this.Parentheses(Sd,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}var as={parse:{prelude(){let e=os.call(this);return this.getFirstListNode(e)===null&&this.error("Condition is expected"),e},block(){return this.Block(!1)}}};var ss={"font-face":ts,import:rs,media:ns,page:is,supports:as};var pi={parse(){return this.createSingleNodeList(this.SelectorList())}},Cd={parse(){return this.createSingleNodeList(this.Selector())}},ls={parse(){return this.createSingleNodeList(this.Identifier())}},mr={parse(){return this.createSingleNodeList(this.Nth())}},cs={dir:ls,has:pi,lang:ls,matches:pi,not:pi,"nth-child":mr,"nth-last-child":mr,"nth-last-of-type":mr,"nth-of-type":mr,slotted:Cd};var us={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:ui,atrule:ss,pseudo:cs,node:Me};var ps={node:Me};var hs=dn({...Va,...us,...ps});function Lt(e){let t={};for(let r in e){let n=e[r];n&&(Array.isArray(n)||n instanceof w?n=n.map(Lt):n.constructor===Object&&(n=Lt(n))),t[r]=n}return t}var{tokenize:tx,parse:fs,generate:ne,lexer:gr,createLexer:rx,walk:M,find:nx,findLast:ix,findAll:ox,toPlainObject:ax,fromPlainObject:sx,fork:ds}=hs;var{hasOwnProperty:Ed}=Object.prototype;function hi(e,t){let r=Object.create(null);if(!Array.isArray(e))return null;for(let n of e)t&&(n=n.toLowerCase()),r[n]=!0;return r}function ms(e){if(!e)return null;let t=hi(e.tags,!0),r=hi(e.ids),n=hi(e.classes);return t===null&&r===null&&n===null?null:{tags:t,ids:r,classes:n}}function gs(e){let t=!1;if(e.scopes&&Array.isArray(e.scopes)){t=Object.create(null);for(let r=0;r<e.scopes.length;r++){let n=e.scopes[r];if(!n||!Array.isArray(n))throw new Error("Wrong usage format");for(let i of n){if(Ed.call(t,i))throw new Error(`Class can't be used for several scopes: ${i}`);t[i]=r+1}}}return{whitelist:ms(e),blacklist:ms(e.blacklist),scopes:t}}function Ce(e){return!e||!e.children||e.children.isEmpty}function fi(e,t){return e!==null&&e.children===t}function di(e,t,r){if(e.block&&(this.stylesheet!==null&&(this.stylesheet.firstAtrulesAllowed=!1),Ce(e.block))){r.remove(t);return}switch(e.name){case"charset":if(Ce(e.prelude)){r.remove(t);return}if(t.prev){r.remove(t);return}break;case"import":if(this.stylesheet===null||!this.stylesheet.firstAtrulesAllowed){r.remove(t);return}r.prevUntil(t.prev,function(n){if(!(n.type==="Atrule"&&(n.name==="import"||n.name==="charset")))return this.root.firstAtrulesAllowed=!1,r.remove(t),!0},this);break;default:{let n=J(e.name).basename;(n==="keyframes"||n==="media"||n==="supports")&&(Ce(e.prelude)||Ce(e.block))&&r.remove(t)}}}function mi(e,t,r){r.remove(t)}function gi(e,t,r){if(e.value.children&&e.value.children.isEmpty){r.remove(t);return}me(e.property).custom&&/\S/.test(e.value.value)&&(e.value.value=e.value.value.trim())}function bi(e,t,r){(fi(this.stylesheet,r)||fi(this.block,r))&&r.remove(t)}var{hasOwnProperty:Je}=Object.prototype;function bs(e,t){return e.children.forEach((r,n,i)=>{let o=!1;M(r,function(a){if(this.selector===null||this.selector===e)switch(a.type){case"SelectorList":(this.function===null||this.function.name.toLowerCase()!=="not")&&bs(a,t)&&(o=!0);break;case"ClassSelector":t.whitelist!==null&&t.whitelist.classes!==null&&!Je.call(t.whitelist.classes,a.name)&&(o=!0),t.blacklist!==null&&t.blacklist.classes!==null&&Je.call(t.blacklist.classes,a.name)&&(o=!0);break;case"IdSelector":t.whitelist!==null&&t.whitelist.ids!==null&&!Je.call(t.whitelist.ids,a.name)&&(o=!0),t.blacklist!==null&&t.blacklist.ids!==null&&Je.call(t.blacklist.ids,a.name)&&(o=!0);break;case"TypeSelector":a.name.charAt(a.name.length-1)!=="*"&&(t.whitelist!==null&&t.whitelist.tags!==null&&!Je.call(t.whitelist.tags,a.name.toLowerCase())&&(o=!0),t.blacklist!==null&&t.blacklist.tags!==null&&Je.call(t.blacklist.tags,a.name.toLowerCase())&&(o=!0));break}}),o&&i.remove(n)}),e.children.isEmpty}function yi(e,t,r,n){if(Ce(e.prelude)||Ce(e.block)){r.remove(t);return}let{usage:i}=n;if(i&&(i.whitelist!==null||i.blacklist!==null)&&(bs(e.prelude,i),Ce(e.prelude))){r.remove(t);return}}function xi(e,t,r){if(t.data.name!=="*")return;let i=t.next&&t.next.data.type;(i==="IdSelector"||i==="ClassSelector"||i==="AttributeSelector"||i==="PseudoClassSelector"||i==="PseudoElementSelector")&&r.remove(t)}function ki(e,t,r){r.remove(t)}var ys={Atrule:di,Comment:mi,Declaration:gi,Raw:bi,Rule:yi,TypeSelector:xi,WhiteSpace:ki};function xs(e,t){M(e,{leave(r,n,i){ys.hasOwnProperty(r.type)&&ys[r.type].call(this,r,n,i,t)}})}function ks(e){e.block.children.forEach(t=>{t.prelude.children.forEach(r=>{r.children.forEach((n,i)=>{n.type==="Percentage"&&n.value==="100"?i.data={type:"TypeSelector",loc:n.loc,name:"to"}:n.type==="TypeSelector"&&n.name==="from"&&(i.data={type:"Percentage",loc:n.loc,value:"0"})})})})}function ws(e){J(e.name).basename==="keyframes"&&ks(e)}var Td=/^(-?\d|--)|[\u0000-\u002c\u002e\u002f\u003A-\u0040\u005B-\u005E\u0060\u007B-\u009f]/;function Ld(e){return e===""||e==="-"?!1:!Td.test(e)}function vs(e){let t=e.value;!t||t.type!=="String"||Ld(t.value)&&(e.value={type:"Identifier",loc:t.loc,name:t.value})}function wi(e){let t=e.children;t.forEachRight(function(r,n){if(r.type==="Identifier"){if(r.name==="bold")n.data={type:"Number",loc:r.loc,value:"700"};else if(r.name==="normal"){let i=n.prev;i&&i.data.type==="Operator"&&i.data.value==="/"&&this.remove(i),this.remove(n)}else if(r.name==="medium"){let i=n.next;(!i||i.data.type!=="Operator")&&this.remove(n)}}}),t.isEmpty&&t.insert(t.createItem({type:"Identifier",name:"normal"}))}function vi(e){let t=e.children.head.data;if(t.type==="Identifier")switch(t.name){case"normal":e.children.head.data={type:"Number",loc:t.loc,value:"400"};break;case"bold":e.children.head.data={type:"Number",loc:t.loc,value:"700"};break}}function Si(e){function t(){n.length||n.unshift({type:"Number",loc:null,value:"0"},{type:"Number",loc:null,value:"0"}),r.push.apply(r,n),n=[]}let r=[],n=[];e.children.forEach(i=>{if(i.type==="Operator"&&i.value===","){t(),r.push(i);return}i.type==="Identifier"&&(i.name==="transparent"||i.name==="none"||i.name==="repeat"||i.name==="scroll")||n.push(i)}),t(),e.children=new w().fromArray(r)}function jt(e){e.children.forEach((t,r,n)=>{t.type==="Identifier"&&t.name.toLowerCase()==="none"&&(n.head===n.tail?r.data={type:"Number",loc:t.loc,value:"0"}:n.remove(r))})}var Ss={font:wi,"font-weight":vi,background:Si,border:jt,outline:jt};function Ci(e){if(!this.declaration)return;let t=me(this.declaration.property);Ss.hasOwnProperty(t.basename)&&Ss[t.basename](e)}var jd=/^(?:\+|(-))?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/,Pd=/^([\+\-])?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/,Id=new Set(["Dimension","Hash","Identifier","Number","Raw","UnicodeRange"]);function Fe(e,t){let r=t&&t.prev!==null&&Id.has(t.prev.data.type)?Pd:jd;return e=String(e).replace(r,"$1$2$3"),(e===""||e==="-")&&(e="0"),e}function Cs(e){e.value=Fe(e.value)}var zd=new Set(["calc","min","max","clamp"]),Od=new Set(["px","mm","cm","in","pt","pc","em","ex","ch","rem","vh","vw","vmin","vmax","vm"]);function Ai(e,t){let r=Fe(e.value);if(e.value=r,r==="0"&&this.declaration!==null&&this.atrulePrelude===null){let n=e.unit.toLowerCase();if(!Od.has(n)||this.declaration.property==="-ms-flex"||this.declaration.property==="flex"||this.function&&zd.has(this.function.name))return;t.data={type:"Number",loc:e.loc,value:r}}}var Dd=new Set(["width","min-width","max-width","height","min-height","max-height","flex","-ms-flex"]);function Ei(e,t){e.value=Fe(e.value),e.value==="0"&&this.declaration&&!Dd.has(this.declaration.property)&&(t.data={type:"Number",loc:e.loc,value:e.value},gr.matchDeclaration(this.declaration).isType(t.data,"length")||(t.data=e))}function As(e){e.value=e.value.replace(/\\/g,"/")}var Es={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Ts={"800000":"maroon","800080":"purple","808000":"olive","808080":"gray","00ffff":"cyan",f0ffff:"azure",f5f5dc:"beige",ffe4c4:"bisque","000000":"black","0000ff":"blue",a52a2a:"brown",ff7f50:"coral",ffd700:"gold","008000":"green","4b0082":"indigo",fffff0:"ivory",f0e68c:"khaki","00ff00":"lime",faf0e6:"linen","000080":"navy",ffa500:"orange",da70d6:"orchid",cd853f:"peru",ffc0cb:"pink",dda0dd:"plum",f00:"red",ff0000:"red",fa8072:"salmon",a0522d:"sienna",c0c0c0:"silver",fffafa:"snow",d2b48c:"tan","008080":"teal",ff6347:"tomato",ee82ee:"violet",f5deb3:"wheat",ffffff:"white",ffff00:"yellow"};function Ti(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ls(e,t,r,n){let i,o,a;if(t===0)i=o=a=r;else{let l=r<.5?r*(1+t):r+t-r*t,c=2*r-l;i=Ti(c,l,e+1/3),o=Ti(c,l,e),a=Ti(c,l,e-1/3)}return[Math.round(i*255),Math.round(o*255),Math.round(a*255),n]}function Li(e){return e=e.toString(16),e.length===1?"0"+e:e}function ji(e,t,r){let n=e.head,i=[],o=!1;for(;n!==null;){let{type:a,value:l}=n.data;switch(a){case"Number":case"Percentage":if(o)return;o=!0,i.push({type:a,value:Number(l)});break;case"Operator":if(l===","){if(!o)return;o=!1}else if(o||l!=="+")return;break;default:return}n=n.next}if(i.length===t){if(i.length===4){if(i[3].type!=="Number")return;i[3].type="Alpha"}if(r){if(i[0].type!==i[1].type||i[0].type!==i[2].type)return}else{if(i[0].type!=="Number"||i[1].type!=="Percentage"||i[2].type!=="Percentage")return;i[0].type="Angle"}return i.map(function(a){let l=Math.max(0,a.value);switch(a.type){case"Number":l=Math.min(l,255);break;case"Percentage":if(l=Math.min(l,100)/100,!r)return l;l=255*l;break;case"Angle":return(l%360+360)%360/360;case"Alpha":return Math.min(l,1)}return Math.round(l)})}}function js(e,t){let r=e.name,n;if(r==="rgba"||r==="hsla"){if(n=ji(e.children,4,r==="rgba"),!n)return;if(r==="hsla"&&(n=Ls(...n),e.name="rgba"),n[3]===0){let i=this.function&&this.function.name;if(n[0]===0&&n[1]===0&&n[2]===0||!/^(?:to|from|color-stop)$|gradient$/i.test(i)){t.data={type:"Identifier",loc:e.loc,name:"transparent"};return}}if(n[3]!==1){e.children.forEach((i,o,a)=>{if(i.type==="Operator"){i.value!==","&&a.remove(o);return}o.data={type:"Number",loc:i.loc,value:Fe(n.shift())}});return}r="rgb"}if(r==="hsl"){if(n=n||ji(e.children,3,!1),!n)return;n=Ls(...n),r="rgb"}if(r==="rgb"){if(n=n||ji(e.children,3,!0),!n)return;t.data={type:"Hash",loc:e.loc,value:Li(n[0])+Li(n[1])+Li(n[2])},Pi(t.data,t)}}function Ps(e,t){if(this.declaration===null)return;let r=e.name.toLowerCase();if(Es.hasOwnProperty(r)&&gr.matchDeclaration(this.declaration).isType(e,"color")){let n=Es[r];n.length+1<=r.length?t.data={type:"Hash",loc:e.loc,value:n}:(r==="grey"&&(r="gray"),e.name=r)}}function Pi(e,t){let r=e.value.toLowerCase();r.length===6&&r[0]===r[1]&&r[2]===r[3]&&r[4]===r[5]&&(r=r[0]+r[2]+r[4]),Ts[r]?t.data={type:"Identifier",loc:e.loc,name:Ts[r]}:e.value=r}var Is={Atrule:ws,AttributeSelector:vs,Value:Ci,Dimension:Ai,Percentage:Ei,Number:Cs,Url:As,Hash:Pi,Identifier:Ps,Function:js};function zs(e){M(e,{leave(t,r,n){Is.hasOwnProperty(t.type)&&Is[t.type].call(this,t,r,n)}})}var Os=class{constructor(){this.map=new Map}resolve(t){let r=this.map.get(t);return r===void 0&&(r=this.map.size+1,this.map.set(t,r)),r}};function Ii(){let e=new Os;return function(r){let n=ne(r);return r.id=e.resolve(n),r.length=n.length,r.fingerprint=null,r}}function Nd(e){return e.type==="Raw"?fs(e.value,{context:"selectorList"}):e}function Rd(e,t){for(let r=0;r<3;r++)if(e[r]!==t[r])return e[r]>t[r]?e:t;return e}function Ds(e){return Nd(e).children.reduce((t,r)=>Rd(Ns(r),t),[0,0,0])}function Ns(e){let t=0,r=0,n=0;return e.children.forEach(i=>{switch(i.type){case"IdSelector":t++;break;case"ClassSelector":case"AttributeSelector":r++;break;case"PseudoClassSelector":switch(i.name.toLowerCase()){case"not":case"has":case"is":case"matches":case"-webkit-any":case"-moz-any":{let[o,a,l]=Ds(i.children.first);t+=o,r+=a,n+=l;break}case"nth-child":case"nth-last-child":{let o=i.children.first;if(o.type==="Nth"&&o.selector){let[a,l,c]=Ds(o.selector);t+=a,r+=l+1,n+=c}else r++;break}case"where":break;case"before":case"after":case"first-line":case"first-letter":n++;break;default:r++}break;case"TypeSelector":i.name.endsWith("*")||n++;break;case"PseudoElementSelector":n++;break}}),[t,r,n]}var br=Ns;var Md=new Set(["first-letter","first-line","after","before"]),Fd=new Set(["link","visited","hover","active","first-letter","first-line","after","before"]);function Pt(e,t){let r=new Set;e.prelude.children.forEach(function(n){let i="*",o=0;n.children.forEach(function(a){switch(a.type){case"ClassSelector":if(t&&t.scopes){let l=t.scopes[a.name]||0;if(o!==0&&l!==o)throw new Error("Selector can't has classes from different scopes: "+ne(n));o=l}break;case"PseudoClassSelector":{let l=a.name.toLowerCase();Fd.has(l)||r.add(`:${l}`);break}case"PseudoElementSelector":{let l=a.name.toLowerCase();Md.has(l)||r.add(`::${l}`);break}case"TypeSelector":i=a.name.toLowerCase();break;case"AttributeSelector":a.flags&&r.add(`[${a.flags.toLowerCase()}]`);break;case"Combinator":i="*";break}}),n.compareMarker=br(n).toString(),n.id=null,n.id=ne(n),o&&(n.compareMarker+=":"+o),i!=="*"&&(n.compareMarker+=","+i)}),e.pseudoSignature=r.size>0?[...r].sort().join(","):!1}function zi(e,t){let r=Ii();return M(e,{visit:"Rule",enter(n){n.block.children.forEach(r),Pt(n,t.usage)}}),M(e,{visit:"Atrule",enter(n){n.prelude&&(n.prelude.id=null,n.prelude.id=ne(n.prelude)),J(n.name).basename==="keyframes"&&(n.block.avoidRulesMerge=!0,n.block.children.forEach(function(i){i.prelude.children.forEach(function(o){o.compareMarker=o.id})}))}}),{declaration:r}}var{hasOwnProperty:Rs}=Object.prototype;function Ms(e,t,r,n){let i=t.data,o=J(i.name).basename,a=i.name.toLowerCase()+"/"+(i.prelude?i.prelude.id:null);Rs.call(e,o)||(e[o]=Object.create(null)),n&&delete e[o][a],Rs.call(e[o],a)||(e[o][a]=new w),e[o][a].append(r.remove(t))}function Bd(e,t){let r=Object.create(null),n=null;e.children.forEach(function(i,o,a){if(i.type==="Atrule"){let l=J(i.name).basename;switch(l){case"keyframes":Ms(r,o,a,!0);return;case"media":if(t.forceMediaMerge){Ms(r,o,a,!1);return}break}n===null&&l!=="charset"&&l!=="import"&&(n=o)}else n===null&&(n=o)});for(let i in r)for(let o in r[i])e.children.insertList(r[i][o],i==="media"?null:n)}function Fs(e){return e.type==="Atrule"&&e.name==="media"}function _d(e,t,r){if(!Fs(e))return;let n=t.prev&&t.prev.data;!n||!Fs(n)||e.prelude&&n.prelude&&e.prelude.id===n.prelude.id&&(n.block.children.appendList(e.block.children),r.remove(t))}function Oi(e,t){Bd(e,t),M(e,{visit:"Atrule",reverse:!0,enter:_d})}var{hasOwnProperty:Ud}=Object.prototype;function It(e,t){let r=e.head,n=t.head;for(;r!==null&&n!==null&&r.data.id===n.data.id;)r=r.next,n=n.next;return r===null&&n===null}function zt(e,t){let r=e.head,n=t.head;for(;r!==null&&n!==null&&r.data.id===n.data.id;)r=r.next,n=n.next;return r===null&&n===null}function Di(e,t){let r={eq:[],ne1:[],ne2:[],ne2overrided:[]},n=Object.create(null),i=Object.create(null);for(let o=t.head;o;o=o.next)i[o.data.id]=!0;for(let o=e.head;o;o=o.next){let a=o.data;a.fingerprint&&(n[a.fingerprint]=a.important),i[a.id]?(i[a.id]=!1,r.eq.push(a)):r.ne1.push(a)}for(let o=t.head;o;o=o.next){let a=o.data;i[a.id]&&((!Ud.call(n,a.fingerprint)||!n[a.fingerprint]&&a.important)&&r.ne2.push(a),r.ne2overrided.push(a))}return r}function Pe(e,t){return t.forEach(r=>{let n=r.id,i=e.head;for(;i;){let o=i.data.id;if(o===n)return;if(o>n)break;i=i.next}e.insert(e.createItem(r),i)}),e}function yr(e,t){let r=e.head;for(;r!==null;){let n=t.head;for(;n!==null;){if(r.data.compareMarker===n.data.compareMarker)return!0;n=n.next}r=r.next}return!1}function Ie(e){switch(e.type){case"Rule":return yr(e.prelude.children,this);case"Atrule":if(e.block)return e.block.children.some(Ie,this);break;case"Declaration":return!1}return!0}function qd(e,t,r){let n=e.prelude.children,i=e.block.children;r.prevUntil(t.prev,function(o){if(o.type!=="Rule")return Ie.call(n,o);let a=o.prelude.children,l=o.block.children;if(e.pseudoSignature===o.pseudoSignature){if(It(a,n))return l.appendList(i),r.remove(t),!0;if(zt(i,l))return Pe(a,n),r.remove(t),!0}return yr(n,a)})}function Ni(e){M(e,{visit:"Rule",enter:qd})}function Hd(e,t,r){let n=e.prelude.children;for(;n.head!==n.tail;){let i=new w;i.insert(n.remove(n.head)),r.insert(r.createItem({type:"Rule",loc:e.loc,prelude:{type:"SelectorList",loc:e.prelude.loc,children:i},block:{type:"Block",loc:e.block.loc,children:e.block.children.copy()},pseudoSignature:e.pseudoSignature}),t)}}function Ri(e){M(e,{visit:"Rule",reverse:!0,enter:Hd})}var Bs=1,Wd=2,et=0,Ot=1,Mi=2,xr=3,_s=["top","right","bottom","left"],Yd={"margin-top":"top","margin-right":"right","margin-bottom":"bottom","margin-left":"left","padding-top":"top","padding-right":"right","padding-bottom":"bottom","padding-left":"left","border-top-color":"top","border-right-color":"right","border-bottom-color":"bottom","border-left-color":"left","border-top-width":"top","border-right-width":"right","border-bottom-width":"bottom","border-left-width":"left","border-top-style":"top","border-right-style":"right","border-bottom-style":"bottom","border-left-style":"left"},Us={margin:"margin","margin-top":"margin","margin-right":"margin","margin-bottom":"margin","margin-left":"margin",padding:"padding","padding-top":"padding","padding-right":"padding","padding-bottom":"padding","padding-left":"padding","border-color":"border-color","border-top-color":"border-color","border-right-color":"border-color","border-bottom-color":"border-color","border-left-color":"border-color","border-width":"border-width","border-top-width":"border-width","border-right-width":"border-width","border-bottom-width":"border-width","border-left-width":"border-width","border-style":"border-style","border-top-style":"border-style","border-right-style":"border-style","border-bottom-style":"border-style","border-left-style":"border-style"},qs=class{constructor(t){this.name=t,this.loc=null,this.iehack=void 0,this.sides={top:null,right:null,bottom:null,left:null}}getValueSequence(t,r){let n=[],i="";return t.value.type!=="Value"||t.value.children.some(function(a){let l=!1;switch(a.type){case"Identifier":switch(a.name){case"\\0":case"\\9":i=a.name;return;case"inherit":case"initial":case"unset":case"revert":l=a.name;break}break;case"Dimension":switch(a.unit){case"rem":case"vw":case"vh":case"vmin":case"vmax":case"vm":l=a.unit;break}break;case"Hash":case"Number":case"Percentage":break;case"Function":if(a.name==="var")return!0;l=a.name;break;default:return!0}n.push({node:a,special:l,important:t.important})})||n.length>r||typeof this.iehack=="string"&&this.iehack!==i?!1:(this.iehack=i,n)}canOverride(t,r){let n=this.sides[t];return!n||r.important&&!n.important}add(t,r){function n(){let i=this.sides,o=Yd[t];if(o){if(!(o in i))return!1;let a=this.getValueSequence(r,1);if(!a||!a.length)return!1;for(let l in i)if(i[l]!==null&&i[l].special!==a[0].special)return!1;return this.canOverride(o,a[0])&&(i[o]=a[0]),!0}else if(t===this.name){let a=this.getValueSequence(r,4);if(!a||!a.length)return!1;switch(a.length){case 1:a[Ot]=a[et],a[Mi]=a[et],a[xr]=a[et];break;case 2:a[Mi]=a[et],a[xr]=a[Ot];break;case 3:a[xr]=a[Ot];break}for(let l=0;l<4;l++)for(let c in i)if(i[c]!==null&&i[c].special!==a[l].special)return!1;for(let l=0;l<4;l++)this.canOverride(_s[l],a[l])&&(i[_s[l]]=a[l]);return!0}}return n.call(this)?(this.loc||(this.loc=r.loc),!0):!1}isOkToMinimize(){let t=this.sides.top,r=this.sides.right,n=this.sides.bottom,i=this.sides.left;if(t&&r&&n&&i){let o=t.important+r.important+n.important+i.important;return o===0||o===4}return!1}getValue(){let t=new w,r=this.sides,n=[r.top,r.right,r.bottom,r.left],i=[ne(r.top.node),ne(r.right.node),ne(r.bottom.node),ne(r.left.node)];i[xr]===i[Ot]&&(n.pop(),i[Mi]===i[et]&&(n.pop(),i[Ot]===i[et]&&n.pop()));for(let o=0;o<n.length;o++)t.appendData(n[o].node);return this.iehack&&t.appendData({type:"Identifier",loc:null,name:this.iehack}),{type:"Value",loc:null,children:t}}getDeclaration(){return{type:"Declaration",loc:this.loc,important:this.sides.top.important,property:this.name,value:this.getValue()}}};function Vd(e,t,r,n){let i=e.block.children,o=e.prelude.children.first.id;return e.block.children.forEachRight(function(a,l){let c=a.property;if(!Us.hasOwnProperty(c))return;let s=Us[c],u,p;if((!n||o===n)&&s in t&&(p=Wd,u=t[s]),(!u||!u.add(c,a))&&(p=Bs,u=new qs(s),!u.add(c,a))){n=null;return}t[s]=u,r.push({operation:p,block:i,item:l,shorthand:u}),n=o}),n}function Gd(e,t){e.forEach(function(r){let n=r.shorthand;!n.isOkToMinimize()||(r.operation===Bs?r.item.data=t(n.getDeclaration()):r.block.remove(r.item))})}function Fi(e,t){let r={},n=[];M(e,{visit:"Rule",reverse:!0,enter(i){let o=this.block||this.stylesheet,a=(i.pseudoSignature||"")+"|"+i.prelude.children.first.id,l,c;r.hasOwnProperty(o.id)?l=r[o.id]:(l={lastShortSelector:null},r[o.id]=l),l.hasOwnProperty(a)?c=l[a]:(c={},l[a]=c),l.lastShortSelector=Vd.call(this,i,c,n,l.lastShortSelector)}}),Gd(n,t.declaration)}var Kd=1,Qd=new Set(["src"]),Hs={display:/table|ruby|flex|-(flex)?box$|grid|contents|run-in/i,"text-align":/^(start|end|match-parent|justify-all)$/i},Ws={cursor:["auto","crosshair","default","move","text","wait","help","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","pointer","progress","not-allowed","no-drop","vertical-text","all-scroll","col-resize","row-resize"],overflow:["hidden","visible","scroll","auto"],position:["static","relative","absolute","fixed"]},Ys={"border-width":["border"],"border-style":["border"],"border-color":["border"],"border-top":["border"],"border-right":["border"],"border-bottom":["border"],"border-left":["border"],"border-top-width":["border-top","border-width","border"],"border-right-width":["border-right","border-width","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left-width":["border-left","border-width","border"],"border-top-style":["border-top","border-style","border"],"border-right-style":["border-right","border-style","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-left-style":["border-left","border-style","border"],"border-top-color":["border-top","border-color","border"],"border-right-color":["border-right","border-color","border"],"border-bottom-color":["border-bottom","border-color","border"],"border-left-color":["border-left","border-color","border"],"margin-top":["margin"],"margin-right":["margin"],"margin-bottom":["margin"],"margin-left":["margin"],"padding-top":["padding"],"padding-right":["padding"],"padding-bottom":["padding"],"padding-left":["padding"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"font-size":["font"],"font-family":["font"],"list-style-type":["list-style"],"list-style-position":["list-style"],"list-style-image":["list-style"]};function Vs(e,t,r){let n=me(e).basename;if(n==="background")return e+":"+ne(t.value);let i=t.id,o=r[i];if(!o){switch(t.value.type){case"Value":let a={},l="",c="",s=!1;t.value.children.forEach(function u(p){switch(p.type){case"Value":case"Brackets":case"Parentheses":p.children.forEach(u);break;case"Raw":s=!0;break;case"Identifier":{let{name:h}=p;l||(l=J(h).vendor),/\\[09]/.test(h)&&(c=RegExp.lastMatch),Ws.hasOwnProperty(n)?Ws[n].indexOf(h)===-1&&(a[h]=!0):Hs.hasOwnProperty(n)&&Hs[n].test(h)&&(a[h]=!0);break}case"Function":{let{name:h}=p;l||(l=J(h).vendor),h==="rect"&&(p.children.some(b=>b.type==="Operator"&&b.value===",")||(h="rect-backward")),a[h+"()"]=!0,p.children.forEach(u);break}case"Dimension":{let{unit:h}=p;switch(/\\[09]/.test(h)&&(c=RegExp.lastMatch),h){case"rem":case"vw":case"vh":case"vmin":case"vmax":case"vm":a[h]=!0;break}break}}}),o=s?"!"+Kd++:"!"+Object.keys(a).sort()+"|"+c+l;break;case"Raw":o="!"+t.value.value;break;default:o=ne(t.value)}r[i]=o}return e+o}function $d(e,t,r){let n=me(t.property);if(Ys.hasOwnProperty(n.basename)){let i=Ys[n.basename];for(let o of i){let a=Vs(n.prefix+o,t,r),l=e.hasOwnProperty(a)?e[a]:null;if(l&&(!t.important||l.item.data.important))return l}}}function Xd(e,t,r,n,i){let o=e.block.children;o.forEachRight(function(a,l){let{property:c}=a,s=Vs(c,a,i),u=n[s];u&&!Qd.has(c)?a.important&&!u.item.data.important?(n[s]={block:o,item:l},u.block.remove(u.item)):o.remove(l):$d(n,a,i)?o.remove(l):(a.fingerprint=s,n[s]={block:o,item:l})}),o.isEmpty&&r.remove(t)}function Bi(e){let t={},r=Object.create(null);M(e,{visit:"Rule",reverse:!0,enter(n,i,o){let a=this.block||this.stylesheet,l=(n.pseudoSignature||"")+"|"+n.prelude.children.first.id,c,s;t.hasOwnProperty(a.id)?c=t[a.id]:(c={},t[a.id]=c),c.hasOwnProperty(l)?s=c[l]:(s={},c[l]=s),Xd.call(this,n,i,o,s,r)}})}function Zd(e,t,r){let n=e.prelude.children,i=e.block.children,o=n.first.compareMarker,a={};r.nextUntil(t.next,function(l,c){if(l.type!=="Rule")return Ie.call(n,l);if(e.pseudoSignature!==l.pseudoSignature)return!0;let s=l.prelude.children.head,u=l.block.children,p=s.data.compareMarker;if(p in a)return!0;if(n.head===n.tail&&n.first.id===s.data.id){i.appendList(u),r.remove(c);return}if(zt(i,u)){let h=s.data.id;n.some((d,b)=>{let T=d.id;if(h<T)return n.insert(s,b),!0;if(!b.next)return n.insert(s),!0}),r.remove(c);return}if(p===o)return!0;a[p]=!0})}function _i(e){M(e,{visit:"Rule",enter:Zd})}function Ui(e){return e.reduce((t,r)=>t+r.id.length+1,0)-1}function qi(e){let t=0;for(let r of e)t+=r.length;return t+e.length-1}function Jd(e,t,r){let n=this.block!==null?this.block.avoidRulesMerge:!1,i=e.prelude.children,o=e.block,a=Object.create(null),l=!0,c=!0;r.prevUntil(t.prev,function(s,u){let p=s.block,h=s.type;if(h!=="Rule"){let T=Ie.call(i,s);return!T&&h==="Atrule"&&p&&M(p,{visit:"Rule",enter(O){O.prelude.children.forEach(C=>{a[C.compareMarker]=!0})}}),T}if(e.pseudoSignature!==s.pseudoSignature)return!0;let d=s.prelude.children;if(c=!d.some(T=>T.compareMarker in a),!c&&!l)return!0;if(l&&It(d,i))return p.children.appendList(o.children),r.remove(t),!0;let b=Di(o.children,p.children);if(b.eq.length){if(!b.ne1.length&&!b.ne2.length)return c&&(Pe(i,d),r.remove(u)),!0;if(!n)if(b.ne1.length&&!b.ne2.length){let T=Ui(i),O=qi(b.eq);l&&T<O&&(Pe(d,i),o.children.fromArray(b.ne1))}else if(!b.ne1.length&&b.ne2.length){let T=Ui(d),O=qi(b.eq);c&&T<O&&(Pe(i,d),p.children.fromArray(b.ne2))}else{let T={type:"SelectorList",loc:null,children:Pe(d.copy(),i)},O=Ui(T.children)+2;if(qi(b.eq)>=O){let z=r.createItem({type:"Rule",loc:null,prelude:T,block:{type:"Block",loc:null,children:new w().fromArray(b.eq)},pseudoSignature:e.pseudoSignature});return o.children.fromArray(b.ne1),p.children.fromArray(b.ne2overrided),l?r.insert(z,u):r.insert(z,t),!0}}}l&&(l=!d.some(T=>i.some(O=>O.compareMarker===T.compareMarker))),d.forEach(T=>{a[T.compareMarker]=!0})})}function Hi(e){M(e,{visit:"Rule",reverse:!0,enter:Jd})}function Gs(e,t){let r=zi(e,t);t.logger("prepare",e),Oi(e,t),t.logger("mergeAtrule",e),Ni(e),t.logger("initialMergeRuleset",e),Ri(e),t.logger("disjoinRuleset",e),Fi(e,r),t.logger("restructShorthand",e),Bi(e),t.logger("restructBlock",e),_i(e),t.logger("mergeRuleset",e),Hi(e),t.logger("restructRuleset",e)}function em(e,t){let r=new w,n=!1,i;return e.nextUntil(e.head,(o,a,l)=>{if(o.type==="Comment"){if(!t||o.value.charAt(0)!=="!"){l.remove(a);return}if(n||i)return!0;l.remove(a),i=o;return}o.type!=="WhiteSpace"&&(n=!0),r.insert(l.remove(a))}),{comment:i,stylesheet:{type:"StyleSheet",loc:null,children:r}}}function tm(e,t,r,n){n.logger(`Compress block #${r}`,null,!0);let i=1;return e.type==="StyleSheet"&&(e.firstAtrulesAllowed=t,e.id=i++),M(e,{visit:"Atrule",enter(o){o.block!==null&&(o.block.id=i++)}}),n.logger("init",e),xs(e,n),n.logger("clean",e),zs(e,n),n.logger("replace",e),n.restructuring&&Gs(e,n),e}function rm(e){let t="comments"in e?e.comments:"exclamation";return typeof t=="boolean"?t=t?"exclamation":!1:t!=="exclamation"&&t!=="first-exclamation"&&(t=!1),t}function nm(e){return"restructure"in e?e.restructure:"restructuring"in e?e.restructuring:!0}function im(e){return new w().appendData({type:"Rule",loc:null,prelude:{type:"SelectorList",loc:null,children:new w().appendData({type:"Selector",loc:null,children:new w().appendData({type:"TypeSelector",loc:null,name:"x"})})},block:e})}function Wi(e,t){e=e||{type:"StyleSheet",loc:null,children:new w},t=t||{};let r={logger:typeof t.logger=="function"?t.logger:function(){},restructuring:nm(t),forceMediaMerge:Boolean(t.forceMediaMerge),usage:t.usage?gs(t.usage):!1},n=new w,i=rm(t),o=!0,a,l,c=1,s;t.clone&&(e=Lt(e)),e.type==="StyleSheet"?(a=e.children,e.children=n):a=im(e);do{if(l=em(a,Boolean(i)),tm(l.stylesheet,o,c++,r),s=l.stylesheet.children,l.comment&&(n.isEmpty||n.insert(w.createItem({type:"Raw",value:`
|
12
|
+
`})),n.insert(w.createItem(l.comment)),s.isEmpty||n.insert(w.createItem({type:"Raw",value:`
|
13
|
+
`}))),o&&!s.isEmpty){let u=s.last;(u.type!=="Atrule"||u.name!=="import"&&u.name!=="charset")&&(o=!1)}i!=="exclamation"&&(i=!1),n.appendList(s)}while(!a.isEmpty);return{ast:e}}function Ks(e){let t=At.encode(e,!0),r=At.encode(e);return t.length<r.length?t:r}var{lexer:om,tokenize:am,parse:sm,generate:lm,walk:cm,find:um,findLast:pm,findAll:hm,fromPlainObject:fm,toPlainObject:dm}=ds({node:{String:{generate(e){this.token(_e.String,Ks(e.value))}},Url:{generate(e){let t=dr.encode(e.value),r=Ks(e.value);this.token(_e.Url,t.length<=r.length+5?t:"url("+r+")")}}}});var Yi={};y(Yi,{addSelectors:()=>Pe,compareDeclarations:()=>Di,hasSimilarSelectors:()=>yr,isEqualDeclarations:()=>zt,isEqualSelectors:()=>It,processSelector:()=>Pt,unsafeToSkipNode:()=>Ie});var{parse:mm,generate:Vi,compress:gm}=kr;function tt(e,t,r,n){return t.debug&&console.error(`## ${e} done in %d ms
|
14
|
+
`,Date.now()-r),n}function bm(e){let t;return function(n,i){let o=n;if(i&&(o=`[${((Date.now()-t)/1e3).toFixed(3)}s] ${o}`),e>1&&i){let a=Vi(i);e===2&&a.length>256&&(a=a.substr(0,256)+"..."),o+=`
|
15
|
+
${a}
|
16
|
+
`}console.error(o),t=Date.now()}}function ym(e){return e={...e},typeof e.logger!="function"&&e.debug&&(e.logger=bm(e.debug)),e}function Qs(e,t,r){Array.isArray(r)||(r=[r]),r.forEach(n=>n(e,t))}function $s(e,t,r){r=r||{};let n=r.filename||"<unknown>",i,o=tt("parsing",r,Date.now(),mm(t,{context:e,filename:n,positions:Boolean(r.sourceMap)}));r.beforeCompress&&tt("beforeCompress",r,Date.now(),Qs(o,r,r.beforeCompress));let a=tt("compress",r,Date.now(),gm(o,ym(r)));return r.afterCompress&&tt("afterCompress",r,Date.now(),Qs(a,r,r.afterCompress)),r.sourceMap?i=tt("generate(sourceMap: true)",r,Date.now(),(()=>{let l=Vi(a.ast,{sourceMap:!0});return l.map._file=n,l.map.setSourceContent(n,t),l})()):i=tt("generate",r,Date.now(),{css:Vi(a.ast),map:null}),i}function xm(e,t){return $s("stylesheet",e,t)}function km(e,t){return $s("declarationList",e,t)}return wm;})();
|
data/package-lock.json
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"requires": true,
|
3
|
+
"lockfileVersion": 1,
|
4
|
+
"dependencies": {
|
5
|
+
"css-tree": {
|
6
|
+
"version": "2.0.4",
|
7
|
+
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.0.4.tgz",
|
8
|
+
"integrity": "sha512-b4IS9ZUMtGBiNjzYbcj9JhYbyei99R3ai2CSxlu8GQDnoPA/P+NU85hAm0eKDc/Zp660rpK6tFJQ2OSdacMHVg==",
|
9
|
+
"dev": true,
|
10
|
+
"requires": {
|
11
|
+
"mdn-data": "2.0.23",
|
12
|
+
"source-map-js": "^1.0.1"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"csso": {
|
16
|
+
"version": "5.0.2",
|
17
|
+
"resolved": "https://registry.npmjs.org/csso/-/csso-5.0.2.tgz",
|
18
|
+
"integrity": "sha512-llFAe1UfFHy38ziX+YrPMGkn5MxdjzYtz0drvgnjRY/tLPmBRxotYTGO51BsKe9voQA074pEb0udV+piXH4scQ==",
|
19
|
+
"dev": true,
|
20
|
+
"requires": {
|
21
|
+
"css-tree": "~2.0.4"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"mdn-data": {
|
25
|
+
"version": "2.0.23",
|
26
|
+
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.23.tgz",
|
27
|
+
"integrity": "sha512-IonVb7pfla2U4zW8rc7XGrtgq11BvYeCxWN8HS+KFBnLDE7XDK9AAMVhRuG6fj9BBsjc69Fqsp6WEActEdNTDQ==",
|
28
|
+
"dev": true
|
29
|
+
},
|
30
|
+
"source-map-js": {
|
31
|
+
"version": "1.0.1",
|
32
|
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.1.tgz",
|
33
|
+
"integrity": "sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==",
|
34
|
+
"dev": true
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
data/package.json
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"scripts": {
|
3
|
+
"prepare": "npm run copy-minifier && npm run copy-minifier-license",
|
4
|
+
"copy-minifier": "mkdir -p lib/csso && cp node_modules/csso/dist/csso.js lib/csso",
|
5
|
+
"copy-minifier-license": "mkdir -p lib/csso && cp node_modules/csso/LICENSE lib/csso"
|
6
|
+
},
|
7
|
+
"devDependencies": {
|
8
|
+
"csso": "^5.0.2"
|
9
|
+
}
|
10
|
+
}
|
data/sig/csscompress.rbs
ADDED
metadata
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: csscompress
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dom Christie
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: execjs
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.8'
|
27
|
+
description: CSS minification with Ruby using ExecJS and Node.js' CSSO. Integrates
|
28
|
+
with Sprockets when present.
|
29
|
+
email:
|
30
|
+
- christiedom@gmail.com
|
31
|
+
executables: []
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- ".standard.yml"
|
36
|
+
- CHANGELOG.md
|
37
|
+
- CODE_OF_CONDUCT.md
|
38
|
+
- Gemfile
|
39
|
+
- Gemfile.lock
|
40
|
+
- LICENSE.txt
|
41
|
+
- README.md
|
42
|
+
- Rakefile
|
43
|
+
- bin/console
|
44
|
+
- bin/setup
|
45
|
+
- csscompress.gemspec
|
46
|
+
- lib/csscompress.rb
|
47
|
+
- lib/csscompress/csscompress.rb
|
48
|
+
- lib/csscompress/sprockets.rb
|
49
|
+
- lib/csscompress/version.rb
|
50
|
+
- lib/csso/LICENSE
|
51
|
+
- lib/csso/csso.js
|
52
|
+
- package-lock.json
|
53
|
+
- package.json
|
54
|
+
- sig/csscompress.rbs
|
55
|
+
homepage: https://github.com/domchristie/csscompress
|
56
|
+
licenses:
|
57
|
+
- MIT
|
58
|
+
metadata:
|
59
|
+
homepage_uri: https://github.com/domchristie/csscompress
|
60
|
+
source_code_uri: https://github.com/domchristie/csscompress
|
61
|
+
changelog_uri: https://github.com/domchristie/csscompress/blob/main/CHANGELOG.md
|
62
|
+
post_install_message:
|
63
|
+
rdoc_options: []
|
64
|
+
require_paths:
|
65
|
+
- lib
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 2.6.0
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
requirements: []
|
77
|
+
rubygems_version: 3.3.5
|
78
|
+
signing_key:
|
79
|
+
specification_version: 4
|
80
|
+
summary: CSS minification with Ruby
|
81
|
+
test_files: []
|