MMVos commited on
Commit
4a9e8e5
1 Parent(s): 1c1a658
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. .vscode/settings.json +3 -0
  3. README.md +6 -9
  4. app.py +276 -0
  5. packages.txt +6 -0
  6. requirements.txt +7 -0
  7. source/constants.py +104 -0
  8. source/logging.py +45 -0
  9. source/tokensequence.py +161 -0
  10. source/ui/.eslintrc.cjs +75 -0
  11. source/ui/.gitignore +8 -0
  12. source/ui/.npmrc +1 -0
  13. source/ui/.prettierrc +12 -0
  14. source/ui/README.md +38 -0
  15. source/ui/package.json +32 -0
  16. source/ui/pnpm-lock.yaml +1748 -0
  17. source/ui/src/app.d.ts +10 -0
  18. source/ui/src/app.html +19 -0
  19. source/ui/src/lib/ComposeButton.svelte +138 -0
  20. source/ui/src/lib/DensityOptions.svelte +28 -0
  21. source/ui/src/lib/Notes.svelte +181 -0
  22. source/ui/src/lib/Radio.svelte +62 -0
  23. source/ui/src/lib/StyleOptions.svelte +91 -0
  24. source/ui/src/lib/StyleOptionsButton.svelte +14 -0
  25. source/ui/src/lib/TemperatureOptions.svelte +28 -0
  26. source/ui/src/lib/Tokens.svelte +23 -0
  27. source/ui/src/lib/config.json +23 -0
  28. source/ui/src/lib/stores.ts +20 -0
  29. source/ui/src/routes/index.svelte +80 -0
  30. source/ui/static/chamber.svg +1 -0
  31. source/ui/static/church.svg +1 -0
  32. source/ui/static/country.svg +1 -0
  33. source/ui/static/hugging-face-headphones.png +0 -0
  34. source/ui/static/piano.svg +1 -0
  35. source/ui/static/play.svg +8 -0
  36. source/ui/static/reggae.svg +1 -0
  37. source/ui/static/rock_and_metal.svg +1 -0
  38. source/ui/static/style.css +34 -0
  39. source/ui/static/synth.svg +1 -0
  40. source/ui/static/timpani_strings_harp.svg +1 -0
  41. source/ui/static/wand.svg +14 -0
  42. source/ui/svelte.config.js +29 -0
  43. source/ui/tsconfig.json +25 -0
  44. start.py +3 -0
  45. static/_app/assets/pages/index.svelte-ad990746.css +1 -0
  46. static/_app/chunks/index-7c452e28.js +4 -0
  47. static/_app/chunks/index-d282aaf8.js +1 -0
  48. static/_app/error.svelte-929faa0c.js +1 -0
  49. static/_app/layout.svelte-6bd51f02.js +1 -0
  50. static/_app/manifest.json +56 -0
.gitattributes CHANGED
@@ -1,6 +1,7 @@
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
5
  *.ftz filter=lfs diff=lfs merge=lfs -text
6
  *.gz filter=lfs diff=lfs merge=lfs -text
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
  *.bz2 filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
.vscode/settings.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "python.formatting.provider": "black"
3
+ }
README.md CHANGED
@@ -1,13 +1,10 @@
1
  ---
2
- title: Musica
3
- emoji: 🐢
4
- colorFrom: indigo
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 3.0.3
8
- app_file: app.py
9
  pinned: false
10
- license: apache-2.0
11
  ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference
 
1
  ---
2
+ title: Composer2
3
+ emoji: 🪄
4
+ colorFrom: gray
5
+ colorTo: black
6
  sdk: gradio
7
+ sdk_version: 2.9.4
8
+ app_file: start.py
9
  pinned: false
 
10
  ---
 
 
app.py ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright 2022 Tristan Behrens.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Lint as: python3
16
+
17
+ from fastapi import BackgroundTasks, FastAPI
18
+ from fastapi.staticfiles import StaticFiles
19
+ from fastapi.responses import FileResponse
20
+ from pydantic import BaseModel
21
+ from PIL import Image
22
+ import os
23
+ import io
24
+ import random
25
+ import base64
26
+ from time import time
27
+ from statistics import mean
28
+ from collections import OrderedDict
29
+ import torch
30
+ import wave
31
+ from source.logging import create_logger
32
+ from source.tokensequence import token_sequence_to_audio, token_sequence_to_image
33
+ from source import constants
34
+ from transformers import AutoTokenizer, AutoModelForCausalLM
35
+
36
+ logger = create_logger(__name__)
37
+
38
+ # Load the auth-token from authtoken.txt.
39
+ auth_token = os.getenv("authtoken")
40
+
41
+ # Loading the model and its tokenizer.
42
+ logger.info("Loading tokenizer and model...")
43
+ tokenizer = AutoTokenizer.from_pretrained(
44
+ "ai-guru/lakhclean_mmmtrack_4bars_d-2048", use_auth_token=auth_token
45
+ )
46
+ model = AutoModelForCausalLM.from_pretrained(
47
+ "ai-guru/lakhclean_mmmtrack_4bars_d-2048", use_auth_token=auth_token
48
+ )
49
+ logger.info("Done.")
50
+
51
+
52
+ # Create the app
53
+ logger.info("Creating app...")
54
+ app = FastAPI(docs_url=None, redoc_url=None)
55
+ app.mount("/static", StaticFiles(directory="static"), name="static")
56
+ logger.info("Done.")
57
+
58
+
59
+ class Options(BaseModel):
60
+ music_style: str
61
+ density: str
62
+ temperature: str
63
+
64
+
65
+ class NewTask(BaseModel):
66
+ music_style = "synth"
67
+ density = "medium"
68
+ temperature = "medium"
69
+
70
+
71
+ def get_place_in_queue(task_id):
72
+ queued_tasks = list(
73
+ task
74
+ for task in tasks.values()
75
+ if task["status"] == "queued" or task["status"] == "processing"
76
+ )
77
+
78
+ queued_tasks.sort(key=lambda task: task["created_at"])
79
+
80
+ queued_task_ids = list(task["task_id"] for task in queued_tasks)
81
+
82
+ try:
83
+ return queued_task_ids.index(task_id) + 1
84
+ except:
85
+ return 0
86
+
87
+
88
+ def calculate_eta(task_id):
89
+ total_durations = list(
90
+ task["completed_at"] - task["started_at"]
91
+ for task in tasks.values()
92
+ if "completed_at" in task and task["status"] == "completed"
93
+ )
94
+
95
+ initial_place_in_queue = tasks[task_id]["initial_place_in_queue"]
96
+
97
+ if len(total_durations):
98
+ eta = initial_place_in_queue * mean(total_durations)
99
+ else:
100
+ eta = initial_place_in_queue * 35
101
+
102
+ return round(eta, 1)
103
+
104
+
105
+ def next_task(task_id):
106
+ tasks[task_id]["completed_at"] = time()
107
+
108
+ queued_tasks = list(task for task in tasks.values() if task["status"] == "queued")
109
+
110
+ if queued_tasks:
111
+ print(
112
+ f"{task_id} {tasks[task_id]['status']}. Task/s remaining: {len(queued_tasks)}"
113
+ )
114
+ process_task(queued_tasks[0]["task_id"])
115
+
116
+
117
+ def process_task(task_id):
118
+ if "processing" in list(task["status"] for task in tasks.values()):
119
+ return
120
+
121
+ if tasks[task_id]["last_poll"] and time() - tasks[task_id]["last_poll"] > 30:
122
+ tasks[task_id]["status"] = "abandoned"
123
+ next_task(task_id)
124
+
125
+ tasks[task_id]["status"] = "processing"
126
+ tasks[task_id]["started_at"] = time()
127
+ print(f"Processing {task_id}")
128
+
129
+ try:
130
+ tasks[task_id]["output"] = compose(
131
+ tasks[task_id]["music_style"],
132
+ tasks[task_id]["density"],
133
+ tasks[task_id]["temperature"],
134
+ )
135
+ except Exception as ex:
136
+ tasks[task_id]["status"] = "failed"
137
+ tasks[task_id]["error"] = repr(ex)
138
+ else:
139
+ tasks[task_id]["status"] = "completed"
140
+ finally:
141
+ next_task(task_id)
142
+
143
+
144
+ def compose(music_style, density, temperature):
145
+ instruments = constants.get_instruments(music_style)
146
+ density = constants.get_density(density)
147
+ temperature = constants.get_temperature(temperature)
148
+ print(f"instruments: {instruments} density: {density} temperature: {temperature}")
149
+
150
+ # Generate with the given parameters.
151
+ logger.info(f"Generating token sequence...")
152
+ generated_sequence = generate_sequence(instruments, density, temperature)
153
+ logger.info(f"Generated token sequence: {generated_sequence}")
154
+
155
+ # Get the audio data as a array of int16.
156
+ logger.info("Generating audio...")
157
+ sample_rate, audio_data = token_sequence_to_audio(generated_sequence)
158
+ logger.info(f"Done. Audio data: {len(audio_data)}")
159
+
160
+ # Encode the audio-data as wave file in memory. Use the wave module.
161
+ audio_data_bytes = io.BytesIO()
162
+ wave_file = wave.open(audio_data_bytes, "wb")
163
+ wave_file.setframerate(sample_rate)
164
+ wave_file.setnchannels(1)
165
+ wave_file.setsampwidth(2)
166
+ wave_file.writeframes(audio_data)
167
+ wave_file.close()
168
+
169
+ # Return the audio-data as a base64-encoded string.
170
+ audio_data_bytes.seek(0)
171
+ audio_data_base64 = base64.b64encode(audio_data_bytes.read()).decode("utf-8")
172
+ audio_data_bytes.close()
173
+
174
+ # Convert the audio data to an PIL image.
175
+ image = token_sequence_to_image(generated_sequence)
176
+
177
+ # Save PIL image to harddrive as PNG.
178
+ logger.debug(f"Saving image to harddrive... {type(image)}")
179
+ image_file_name = "compose.png"
180
+ image.save(image_file_name, "PNG")
181
+
182
+ # Save image to virtual file.
183
+ img_io = io.BytesIO()
184
+ image.save(img_io, "PNG", quality=70)
185
+ img_io.seek(0)
186
+
187
+ # Return the image as a base64-encoded string.
188
+ image_data_base64 = base64.b64encode(img_io.read()).decode("utf-8")
189
+ img_io.close()
190
+
191
+ # Return.
192
+ return {
193
+ "tokens": generated_sequence,
194
+ "audio": "data:audio/wav;base64," + audio_data_base64,
195
+ "image": "data:image/png;base64," + image_data_base64,
196
+ "status": "OK",
197
+ }
198
+
199
+
200
+ def generate_sequence(instruments, density, temperature):
201
+ instruments = instruments[::]
202
+ random.shuffle(instruments)
203
+
204
+ generated_ids = tokenizer.encode("PIECE_START", return_tensors="pt")[0]
205
+
206
+ for instrument in instruments:
207
+ more_ids = tokenizer.encode(
208
+ f"TRACK_START INST={instrument} DENSITY={density}", return_tensors="pt"
209
+ )[0]
210
+ generated_ids = torch.cat((generated_ids, more_ids))
211
+ generated_ids = generated_ids.unsqueeze(0)
212
+
213
+ generated_ids = model.generate(
214
+ generated_ids,
215
+ max_length=2048,
216
+ do_sample=True,
217
+ temperature=temperature,
218
+ eos_token_id=tokenizer.encode("TRACK_END")[0],
219
+ )[0]
220
+
221
+ generated_sequence = tokenizer.decode(generated_ids)
222
+ print("GENERATING COMPLETE")
223
+ print(generate_sequence)
224
+ return generated_sequence
225
+
226
+
227
+ tasks = OrderedDict()
228
+
229
+ # Route for the loading page.
230
+ @app.head("/")
231
+ @app.route("/")
232
+ def index(request):
233
+ return FileResponse(path="static/index.html", media_type="text/html")
234
+
235
+
236
+ @app.post("/task/create")
237
+ def create_task(background_tasks: BackgroundTasks, new_task: NewTask):
238
+ created_at = time()
239
+
240
+ task_id = f"{str(created_at)}_{new_task.music_style}"
241
+
242
+ tasks[task_id] = OrderedDict(
243
+ {
244
+ "task_id": task_id,
245
+ "status": "queued",
246
+ "eta": None,
247
+ "created_at": created_at,
248
+ "started_at": None,
249
+ "completed_at": None,
250
+ "last_poll": None,
251
+ "poll_count": 0,
252
+ "initial_place_in_queue": None,
253
+ "place_in_queue": None,
254
+ "music_style": new_task.music_style,
255
+ "density": new_task.density,
256
+ "temperature": new_task.temperature,
257
+ "output": None,
258
+ }
259
+ )
260
+
261
+ tasks[task_id]["initial_place_in_queue"] = get_place_in_queue(task_id)
262
+ tasks[task_id]["eta"] = calculate_eta(task_id)
263
+
264
+ background_tasks.add_task(process_task, task_id)
265
+
266
+ return tasks[task_id]
267
+
268
+
269
+ @app.get("/task/poll")
270
+ def poll_task(task_id: str):
271
+ tasks[task_id]["place_in_queue"] = get_place_in_queue(task_id)
272
+ tasks[task_id]["eta"] = calculate_eta(task_id)
273
+ tasks[task_id]["last_poll"] = time()
274
+ tasks[task_id]["poll_count"] += 1
275
+
276
+ return tasks[task_id]
packages.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ libfluidsynth1
2
+ fluid-soundfont-gm
3
+ build-essential
4
+ libasound2-dev
5
+ libjack-dev
6
+ ffmpeg
requirements.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ transformers==4.18.*
2
+ tokenizers==0.12.*
3
+ datasets==2.1.*
4
+ fastapi[all]==0.75.*
5
+ torch==1.11.*
6
+ pyfluidsynth==1.3.*
7
+ note-seq==0.0.*
source/constants.py ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ compose_styles_config = {
2
+ "piano": {
3
+ "readable": "Piano",
4
+ "instruments": ["1"],
5
+ },
6
+ "chamber": {
7
+ "readable": "Chamber Music",
8
+ "instruments": ["0", "40", "42"],
9
+ },
10
+ "rock_and_metal": {
11
+ "readable": "Rock and Metal",
12
+ "instruments": ["DRUMS", "30", "34"],
13
+ },
14
+ "synth": {
15
+ "readable": "Synthesizer",
16
+ "instruments": ["DRUMS", "38", "80"],
17
+ },
18
+ "church": {
19
+ "readable": "Church",
20
+ "instruments": ["19", "52"],
21
+ },
22
+ "timpani_strings_harp": {
23
+ "readable": "Timpani, Contrabass, Harp",
24
+ "instruments": ["47", "43", "46"],
25
+ },
26
+ "country": {
27
+ "readable": "Country",
28
+ "instruments": ["DRUMS", "22", "32", "25"],
29
+ },
30
+ "reggae": {
31
+ "readable": "Reggae-esque",
32
+ "instruments": ["114", "28", "1"],
33
+ },
34
+ }
35
+
36
+ densities_config = {
37
+ "low": {
38
+ "readable": "Low",
39
+ "density": 4,
40
+ },
41
+ "medium": {
42
+ "readable": "Medium",
43
+ "density": 6,
44
+ },
45
+ "high": {
46
+ "readable": "High",
47
+ "density": 8,
48
+ },
49
+ }
50
+
51
+ temperatures_config = {
52
+ "low": {
53
+ "readable": "Low",
54
+ "temperature": 0.5,
55
+ },
56
+ "medium": {
57
+ "readable": "Medium",
58
+ "temperature": 0.75,
59
+ },
60
+ "high": {
61
+ "readable": "High",
62
+ "temperature": 1.0,
63
+ },
64
+ "very_high": {
65
+ "readable": "Very High",
66
+ "temperature": 1.25,
67
+ },
68
+ }
69
+
70
+
71
+ def get_compose_styles_for_ui():
72
+ compose_styles = [
73
+ [key, compose_styles_config[key]["readable"]]
74
+ for key, value in compose_styles_config.items()
75
+ ]
76
+ return compose_styles
77
+
78
+
79
+ def get_densities_for_ui():
80
+ densities = [
81
+ [key, densities_config[key]["readable"]]
82
+ for key, value in densities_config.items()
83
+ ]
84
+ return densities
85
+
86
+
87
+ def get_temperatures_for_ui():
88
+ temperatures = [
89
+ [key, temperatures_config[key]["readable"]]
90
+ for key, value in temperatures_config.items()
91
+ ]
92
+ return temperatures
93
+
94
+
95
+ def get_instruments(key):
96
+ return compose_styles_config[key]["instruments"]
97
+
98
+
99
+ def get_density(key):
100
+ return densities_config[key]["density"]
101
+
102
+
103
+ def get_temperature(key):
104
+ return temperatures_config[key]["temperature"]
source/logging.py ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright 2021 Tristan Behrens.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Lint as: python3
16
+
17
+ import logging
18
+
19
+ loggers_dict = {}
20
+
21
+ def create_logger(name:str):
22
+ global loggers_dict
23
+ if name in loggers_dict:
24
+ return loggers_dict[name]
25
+ else:
26
+ logger = logging.getLogger(name)
27
+ loggers_dict[name] = logger
28
+ logger.setLevel(logging.DEBUG)
29
+ handler = logging.StreamHandler()
30
+ handler.setLevel(logging.DEBUG)
31
+ formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
32
+ handler.setFormatter(formatter)
33
+ logger.addHandler(handler)
34
+ logger.propagate = False
35
+ return logger
36
+
37
+ def set_log_level(name, level):
38
+ logger_names = []
39
+ if name == "all":
40
+ logger_names = list(loggers_dict.keys())
41
+ else:
42
+ logger_names = [name]
43
+ for name in logger_names:
44
+ logger = loggers_dict[name]
45
+ logger.setLevel(level)
source/tokensequence.py ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import note_seq
2
+ import numpy as np
3
+ from PIL import Image
4
+
5
+ NOTE_LENGTH_16TH_120BPM = 0.25 * 60 / 120
6
+ BAR_LENGTH_120BPM = 4.0 * 60 / 120
7
+ SAMPLE_RATE=44100
8
+
9
+ def token_sequence_to_audio(token_sequence):
10
+ note_sequence = token_sequence_to_note_sequence(token_sequence)
11
+ synth = note_seq.midi_synth.fluidsynth
12
+ array_of_floats = synth(note_sequence, sample_rate=SAMPLE_RATE)
13
+ note_plot = note_seq.plot_sequence(note_sequence, False)
14
+ array_of_floats /=1.414
15
+ array_of_floats *= 32767
16
+ int16_data = array_of_floats.astype(np.int16)
17
+ return SAMPLE_RATE, int16_data
18
+
19
+ def token_sequence_to_image(token_sequence):
20
+
21
+ note_sequence = token_sequence_to_note_sequence(token_sequence)
22
+
23
+ # Find minumum and maximum pitch.
24
+ min_pitch = 128
25
+ max_pitch = 0
26
+ for note in note_sequence.notes:
27
+ if note.pitch < min_pitch:
28
+ min_pitch = note.pitch
29
+ if note.pitch > max_pitch:
30
+ max_pitch = note.pitch
31
+
32
+ image_height = max_pitch - min_pitch + 1
33
+ image_width = int(16 * 4)
34
+
35
+ color = (12, 12, 12)
36
+
37
+ # Indicate that this bar was used for composition.
38
+ image = Image.new("RGB", (image_width, image_height), color)
39
+
40
+ # colors = [(0, 0, 0), (255, 255, 255), (255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255), (0, 255, 255)]
41
+ colors = [(248, 249, 250), (233, 236, 239), (173, 181, 189), (52, 58, 64)]
42
+
43
+ instrument_to_color_index = {}
44
+
45
+ # Draw the notes.
46
+ for note in note_sequence.notes:
47
+ x = int(note.start_time / note_sequence.total_time * image_width)
48
+ y = note.pitch - min_pitch
49
+ width = int((note.end_time - note.start_time) / note_sequence.total_time * image_width)
50
+ height = 1
51
+
52
+ if note.instrument not in instrument_to_color_index:
53
+ instrument_to_color_index[note.instrument] = len(instrument_to_color_index)
54
+ color_index = instrument_to_color_index[note.instrument]
55
+ color = colors[color_index]
56
+
57
+ #color = (255, 255, 255)
58
+ image.paste(color, (x, y, x + width, y + height))
59
+
60
+ # Rescale and rotate.
61
+ factor = 8
62
+ image = image.resize((image_width * factor, image_height * factor), Image.NEAREST)
63
+ image = image.transpose(Image.FLIP_TOP_BOTTOM)
64
+
65
+ return image
66
+
67
+
68
+
69
+
70
+ def token_sequence_to_note_sequence(token_sequence, use_program=True, use_drums=True, instrument_mapper=None, only_piano=False):
71
+ if isinstance(token_sequence, str):
72
+ token_sequence = token_sequence.split()
73
+ note_sequence = empty_note_sequence()
74
+
75
+ # Render all notes.
76
+ current_program = 1
77
+ current_is_drum = False
78
+ current_instrument = 0
79
+ track_count = 0
80
+ for token_index, token in enumerate(token_sequence):
81
+
82
+ if token == "PIECE_START":
83
+ pass
84
+ elif token == "PIECE_END":
85
+ print("The end.")
86
+ break
87
+ elif token == "TRACK_START":
88
+ current_bar_index = 0
89
+ track_count += 1
90
+ pass
91
+ elif token == "TRACK_END":
92
+ pass
93
+ elif token.startswith("INST"):
94
+ instrument = token.split("=")[-1]
95
+ if instrument != "DRUMS" and use_program:
96
+ if instrument_mapper is not None:
97
+ if instrument in instrument_mapper:
98
+ instrument = instrument_mapper[instrument]
99
+ current_program = int(instrument)
100
+ current_instrument = track_count
101
+ current_is_drum = False
102
+ if instrument == "DRUMS" and use_drums:
103
+ current_instrument = 0
104
+ current_program = 0
105
+ current_is_drum = True
106
+ elif token == "BAR_START":
107
+ current_time = current_bar_index * BAR_LENGTH_120BPM
108
+ current_notes = {}
109
+ elif token == "BAR_END":
110
+ current_bar_index += 1
111
+ pass
112
+ elif token.startswith("NOTE_ON"):
113
+ pitch = int(token.split("=")[-1])
114
+ note = note_sequence.notes.add()
115
+ note.start_time = current_time
116
+ note.end_time = current_time + 4 * NOTE_LENGTH_16TH_120BPM
117
+ note.pitch = pitch
118
+ note.instrument = current_instrument
119
+ note.program = current_program
120
+ note.velocity = 80
121
+ note.is_drum = current_is_drum
122
+ current_notes[pitch] = note
123
+ elif token.startswith("NOTE_OFF"):
124
+ pitch = int(token.split("=")[-1])
125
+ if pitch in current_notes:
126
+ note = current_notes[pitch]
127
+ note.end_time = current_time
128
+ elif token.startswith("TIME_DELTA"):
129
+ delta = float(token.split("=")[-1]) * NOTE_LENGTH_16TH_120BPM
130
+ current_time += delta
131
+ elif token.startswith("DENSITY="):
132
+ pass
133
+ elif token == "[PAD]":
134
+ pass
135
+ else:
136
+ pass
137
+
138
+ # Make the instruments right.
139
+ instruments_drums = []
140
+ for note in note_sequence.notes:
141
+ pair = [note.program, note.is_drum]
142
+ if pair not in instruments_drums:
143
+ instruments_drums += [pair]
144
+ note.instrument = instruments_drums.index(pair)
145
+
146
+ if only_piano:
147
+ for note in note_sequence.notes:
148
+ if not note.is_drum:
149
+ note.instrument = 0
150
+ note.program = 0
151
+
152
+ note_sequence.total_time = current_time
153
+
154
+ return note_sequence
155
+
156
+ def empty_note_sequence(qpm=120.0, total_time=0.0):
157
+ note_sequence = note_seq.protobuf.music_pb2.NoteSequence()
158
+ note_sequence.tempos.add().qpm = qpm
159
+ note_sequence.ticks_per_quarter = note_seq.constants.STANDARD_PPQ
160
+ note_sequence.total_time = total_time
161
+ return note_sequence
source/ui/.eslintrc.cjs ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module.exports = {
2
+ root: true,
3
+ parser: '@typescript-eslint/parser',
4
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
5
+ plugins: ['svelte3', '@typescript-eslint'],
6
+ ignorePatterns: ['*.cjs'],
7
+ overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
8
+ settings: {
9
+ 'svelte3/typescript': () => require('typescript')
10
+ },
11
+ parserOptions: {
12
+ sourceType: 'module',
13
+ ecmaVersion: 2020,
14
+ ecmaFeatures: {
15
+ impliedStrict: true
16
+ }
17
+ },
18
+ env: {
19
+ browser: true,
20
+ es2017: true,
21
+ node: true
22
+ },
23
+ rules: {
24
+ // Best Practices
25
+ 'class-methods-use-this': 'warn',
26
+ 'no-lone-blocks': 'error',
27
+ 'no-self-compare': 'error',
28
+ 'no-sequences': 'error',
29
+ 'no-useless-concat': 'error',
30
+ 'vars-on-top': 'error',
31
+ yoda: 'error',
32
+
33
+ // Variables
34
+ 'no-use-before-define': 'error',
35
+
36
+ // Stylistic Issues
37
+ 'comma-dangle': ['warn', 'only-multiline'],
38
+ 'eol-last': 'warn',
39
+ 'function-paren-newline': 'warn',
40
+ 'implicit-arrow-linebreak': 'error',
41
+ 'key-spacing': 'warn',
42
+ 'keyword-spacing': 'warn',
43
+ 'max-depth': ['warn', { max: 6 }],
44
+ 'max-nested-callbacks': ['warn', { max: 4 }],
45
+ 'max-params': ['warn', { max: 5 }],
46
+ 'max-statements-per-line': 'error',
47
+ 'new-cap': [
48
+ 'warn',
49
+ {
50
+ newIsCap: true,
51
+ capIsNew: false,
52
+ properties: false
53
+ }
54
+ ],
55
+ 'no-mixed-operators': 'warn',
56
+ 'no-multi-assign': 'warn',
57
+ 'no-multiple-empty-lines': 'warn',
58
+ 'no-nested-ternary': 'warn',
59
+ 'no-trailing-spaces': 'warn',
60
+ 'no-whitespace-before-property': 'error',
61
+ 'one-var-declaration-per-line': 'warn',
62
+ 'quote-props': ['error', 'consistent-as-needed'],
63
+ semi: ['warn', 'always'],
64
+ 'semi-spacing': 'error',
65
+ 'semi-style': 'error',
66
+ 'space-before-function-paren': 'off',
67
+ 'switch-colon-spacing': 'error',
68
+
69
+ // ECMAScript 6
70
+ 'arrow-spacing': 'warn',
71
+ 'no-useless-computed-key': 'warn',
72
+ 'no-useless-constructor': 'error',
73
+ 'prefer-const': 'warn'
74
+ }
75
+ };
source/ui/.gitignore ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ .DS_Store
2
+ node_modules
3
+ /build
4
+ /.svelte-kit
5
+ /package
6
+ .env
7
+ .env.*
8
+ !.env.example
source/ui/.npmrc ADDED
@@ -0,0 +1 @@
 
 
1
+ engine-strict=true
source/ui/.prettierrc ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arrowParens": "always",
3
+ "bracketSpacing": true,
4
+ "printWidth": 120,
5
+ "quoteProps": "consistent",
6
+ "semi": true,
7
+ "singleQuote": true,
8
+ "svelteIndentScriptAndStyle": false,
9
+ "useTabs": false,
10
+ "tabWidth": 2,
11
+ "trailingComma": "es5"
12
+ }
source/ui/README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # create-svelte
2
+
3
+ Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
4
+
5
+ ## Creating a project
6
+
7
+ If you're seeing this, you've probably already done this step. Congrats!
8
+
9
+ ```bash
10
+ # create a new project in the current directory
11
+ npm init svelte
12
+
13
+ # create a new project in my-app
14
+ npm init svelte my-app
15
+ ```
16
+
17
+ ## Developing
18
+
19
+ Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20
+
21
+ ```bash
22
+ npm run dev
23
+
24
+ # or start the server and open the app in a new browser tab
25
+ npm run dev -- --open
26
+ ```
27
+
28
+ ## Building
29
+
30
+ To create a production version of your app:
31
+
32
+ ```bash
33
+ npm run build
34
+ ```
35
+
36
+ You can preview the production build with `npm run preview`.
37
+
38
+ > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
source/ui/package.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "composer-ui",
3
+ "version": "0.0.1",
4
+ "scripts": {
5
+ "dev": "svelte-kit dev",
6
+ "build": "svelte-kit build",
7
+ "package": "svelte-kit package",
8
+ "preview": "svelte-kit preview",
9
+ "prepare": "svelte-kit sync",
10
+ "check": "svelte-check --tsconfig ./tsconfig.json",
11
+ "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
12
+ "lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
13
+ "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
14
+ },
15
+ "devDependencies": {
16
+ "@sveltejs/adapter-static": "^1.0.0-next.29",
17
+ "@sveltejs/kit": "next",
18
+ "@typescript-eslint/eslint-plugin": "^5.10.1",
19
+ "@typescript-eslint/parser": "^5.10.1",
20
+ "eslint": "^7.32.0",
21
+ "eslint-config-prettier": "^8.3.0",
22
+ "eslint-plugin-svelte3": "^3.2.1",
23
+ "prettier": "^2.5.1",
24
+ "prettier-plugin-svelte": "^2.5.0",
25
+ "svelte": "^3.44.0",
26
+ "svelte-check": "^2.2.6",
27
+ "svelte-preprocess": "^4.10.1",
28
+ "tslib": "^2.3.1",
29
+ "typescript": "~4.6.2"
30
+ },
31
+ "type": "module"
32
+ }
source/ui/pnpm-lock.yaml ADDED
@@ -0,0 +1,1748 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ lockfileVersion: 5.3
2
+
3
+ specifiers:
4
+ '@sveltejs/adapter-static': ^1.0.0-next.29
5
+ '@sveltejs/kit': next
6
+ '@typescript-eslint/eslint-plugin': ^5.10.1
7
+ '@typescript-eslint/parser': ^5.10.1
8
+ eslint: ^7.32.0
9
+ eslint-config-prettier: ^8.3.0
10
+ eslint-plugin-svelte3: ^3.2.1
11
+ prettier: ^2.5.1
12
+ prettier-plugin-svelte: ^2.5.0
13
+ svelte: ^3.44.0
14
+ svelte-check: ^2.2.6
15
+ svelte-preprocess: ^4.10.1
16
+ tslib: ^2.3.1
17
+ typescript: ~4.6.2
18
+
19
+ devDependencies:
20
+ '@sveltejs/adapter-static': 1.0.0-next.29
21
+ '@sveltejs/kit': 1.0.0-next.323_svelte@3.47.0
22
+ '@typescript-eslint/eslint-plugin': 5.21.0_bb9518338a760ece3e1b033a5f6af62e
23
+ '@typescript-eslint/parser': 5.21.0_eslint@7.32.0+typescript@4.6.3
24
+ eslint: 7.32.0
25
+ eslint-config-prettier: 8.5.0_eslint@7.32.0
26
+ eslint-plugin-svelte3: 3.4.1_eslint@7.32.0+svelte@3.47.0
27
+ prettier: 2.6.2
28
+ prettier-plugin-svelte: 2.7.0_prettier@2.6.2+svelte@3.47.0
29
+ svelte: 3.47.0
30
+ svelte-check: 2.7.0_svelte@3.47.0
31
+ svelte-preprocess: 4.10.6_svelte@3.47.0+typescript@4.6.3
32
+ tslib: 2.4.0
33
+ typescript: 4.6.3
34
+
35
+ packages:
36
+
37
+ /@babel/code-frame/7.12.11:
38
+ resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==}
39
+ dependencies:
40
+ '@babel/highlight': 7.17.9
41
+ dev: true
42
+
43
+ /@babel/helper-validator-identifier/7.16.7:
44
+ resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==}
45
+ engines: {node: '>=6.9.0'}
46
+ dev: true
47
+
48
+ /@babel/highlight/7.17.9:
49
+ resolution: {integrity: sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==}
50
+ engines: {node: '>=6.9.0'}
51
+ dependencies:
52
+ '@babel/helper-validator-identifier': 7.16.7
53
+ chalk: 2.4.2
54
+ js-tokens: 4.0.0
55
+ dev: true
56
+
57
+ /@eslint/eslintrc/0.4.3:
58
+ resolution: {integrity: sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==}
59
+ engines: {node: ^10.12.0 || >=12.0.0}
60
+ dependencies:
61
+ ajv: 6.12.6
62
+ debug: 4.3.4
63
+ espree: 7.3.1
64
+ globals: 13.13.0
65
+ ignore: 4.0.6
66
+ import-fresh: 3.3.0
67
+ js-yaml: 3.14.1
68
+ minimatch: 3.1.2
69
+ strip-json-comments: 3.1.1
70
+ transitivePeerDependencies:
71
+ - supports-color
72
+ dev: true
73
+
74
+ /@humanwhocodes/config-array/0.5.0:
75
+ resolution: {integrity: sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==}
76
+ engines: {node: '>=10.10.0'}
77
+ dependencies:
78
+ '@humanwhocodes/object-schema': 1.2.1
79
+ debug: 4.3.4
80
+ minimatch: 3.1.2
81
+ transitivePeerDependencies:
82
+ - supports-color
83
+ dev: true
84
+
85
+ /@humanwhocodes/object-schema/1.2.1:
86
+ resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
87
+ dev: true
88
+
89
+ /@nodelib/fs.scandir/2.1.5:
90
+ resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
91
+ engines: {node: '>= 8'}
92
+ dependencies:
93
+ '@nodelib/fs.stat': 2.0.5
94
+ run-parallel: 1.2.0
95
+ dev: true
96
+
97
+ /@nodelib/fs.stat/2.0.5:
98
+ resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
99
+ engines: {node: '>= 8'}
100
+ dev: true
101
+
102
+ /@nodelib/fs.walk/1.2.8:
103
+ resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
104
+ engines: {node: '>= 8'}
105
+ dependencies:
106
+ '@nodelib/fs.scandir': 2.1.5
107
+ fastq: 1.13.0
108
+ dev: true
109
+
110
+ /@rollup/pluginutils/4.2.1:
111
+ resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
112
+ engines: {node: '>= 8.0.0'}
113
+ dependencies:
114
+ estree-walker: 2.0.2
115
+ picomatch: 2.3.1
116
+ dev: true
117
+
118
+ /@sveltejs/adapter-static/1.0.0-next.29:
119
+ resolution: {integrity: sha512-0hjGnfT3BRyoHnzJ2w0/xL+xICRpKneDTm45ZzggiRrc0r71WJfF6toGeg8N4QUQnj8EJ3Itm453gsS1kt7VUQ==}
120
+ dependencies:
121
+ tiny-glob: 0.2.9
122
+ dev: true
123
+
124
+ /@sveltejs/kit/1.0.0-next.323_svelte@3.47.0:
125
+ resolution: {integrity: sha512-5JVBfXZqVcWhsvtxdwtFPEzLNM8FmttNNyN0h5P25KLryF3BeOg5OicRK3t7qNBmWTTNovDgChb/gWmne5Oicg==}
126
+ engines: {node: '>=14.13'}
127
+ hasBin: true
128
+ peerDependencies:
129
+ svelte: ^3.44.0
130
+ dependencies:
131
+ '@sveltejs/vite-plugin-svelte': 1.0.0-next.42_svelte@3.47.0+vite@2.9.6
132
+ chokidar: 3.5.3
133
+ sade: 1.8.1
134
+ svelte: 3.47.0
135
+ vite: 2.9.6
136
+ transitivePeerDependencies:
137
+ - diff-match-patch
138
+ - less
139
+ - sass
140
+ - stylus
141
+ - supports-color
142
+ dev: true
143
+
144
+ /@sveltejs/vite-plugin-svelte/1.0.0-next.42_svelte@3.47.0+vite@2.9.6:
145
+ resolution: {integrity: sha512-I8ILzfjVQuOkl6eDHif6/QJhOEBnsA40u6/0RDWK0mujwOr+MfWCWEZEnrTKqa6YIVMO+uktfoknu61chbAIeg==}
146
+ engines: {node: ^14.13.1 || >= 16}
147
+ peerDependencies:
148
+ diff-match-patch: ^1.0.5
149
+ svelte: ^3.44.0
150
+ vite: ^2.9.0
151
+ peerDependenciesMeta:
152
+ diff-match-patch:
153
+ optional: true
154
+ dependencies:
155
+ '@rollup/pluginutils': 4.2.1
156
+ debug: 4.3.4
157
+ kleur: 4.1.4
158
+ magic-string: 0.26.1
159
+ svelte: 3.47.0
160
+ svelte-hmr: 0.14.11_svelte@3.47.0
161
+ vite: 2.9.6
162
+ transitivePeerDependencies:
163
+ - supports-color
164
+ dev: true
165
+
166
+ /@types/json-schema/7.0.11:
167
+ resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}
168
+ dev: true
169
+
170
+ /@types/node/17.0.29:
171
+ resolution: {integrity: sha512-tx5jMmMFwx7wBwq/V7OohKDVb/JwJU5qCVkeLMh1//xycAJ/ESuw9aJ9SEtlCZDYi2pBfe4JkisSoAtbOsBNAA==}
172
+ dev: true
173
+
174
+ /@types/pug/2.0.6:
175
+ resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==}
176
+ dev: true
177
+
178
+ /@types/sass/1.43.1:
179
+ resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==}
180
+ dependencies:
181
+ '@types/node': 17.0.29
182
+ dev: true
183
+
184
+ /@typescript-eslint/eslint-plugin/5.21.0_bb9518338a760ece3e1b033a5f6af62e:
185
+ resolution: {integrity: sha512-fTU85q8v5ZLpoZEyn/u1S2qrFOhi33Edo2CZ0+q1gDaWWm0JuPh3bgOyU8lM0edIEYgKLDkPFiZX2MOupgjlyg==}
186
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
187
+ peerDependencies:
188
+ '@typescript-eslint/parser': ^5.0.0
189
+ eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
190
+ typescript: '*'
191
+ peerDependenciesMeta:
192
+ typescript:
193
+ optional: true
194
+ dependencies:
195
+ '@typescript-eslint/parser': 5.21.0_eslint@7.32.0+typescript@4.6.3
196
+ '@typescript-eslint/scope-manager': 5.21.0
197
+ '@typescript-eslint/type-utils': 5.21.0_eslint@7.32.0+typescript@4.6.3
198
+ '@typescript-eslint/utils': 5.21.0_eslint@7.32.0+typescript@4.6.3
199
+ debug: 4.3.4
200
+ eslint: 7.32.0
201
+ functional-red-black-tree: 1.0.1
202
+ ignore: 5.2.0
203
+ regexpp: 3.2.0
204
+ semver: 7.3.7
205
+ tsutils: 3.21.0_typescript@4.6.3
206
+ typescript: 4.6.3
207
+ transitivePeerDependencies:
208
+ - supports-color
209
+ dev: true
210
+
211
+ /@typescript-eslint/parser/5.21.0_eslint@7.32.0+typescript@4.6.3:
212
+ resolution: {integrity: sha512-8RUwTO77hstXUr3pZoWZbRQUxXcSXafZ8/5gpnQCfXvgmP9gpNlRGlWzvfbEQ14TLjmtU8eGnONkff8U2ui2Eg==}
213
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
214
+ peerDependencies:
215
+ eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
216
+ typescript: '*'
217
+ peerDependenciesMeta:
218
+ typescript:
219
+ optional: true
220
+ dependencies:
221
+ '@typescript-eslint/scope-manager': 5.21.0
222
+ '@typescript-eslint/types': 5.21.0
223
+ '@typescript-eslint/typescript-estree': 5.21.0_typescript@4.6.3
224
+ debug: 4.3.4
225
+ eslint: 7.32.0
226
+ typescript: 4.6.3
227
+ transitivePeerDependencies:
228
+ - supports-color
229
+ dev: true
230
+
231
+ /@typescript-eslint/scope-manager/5.21.0:
232
+ resolution: {integrity: sha512-XTX0g0IhvzcH/e3393SvjRCfYQxgxtYzL3UREteUneo72EFlt7UNoiYnikUtmGVobTbhUDByhJ4xRBNe+34kOQ==}
233
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
234
+ dependencies:
235
+ '@typescript-eslint/types': 5.21.0
236
+ '@typescript-eslint/visitor-keys': 5.21.0
237
+ dev: true
238
+
239
+ /@typescript-eslint/type-utils/5.21.0_eslint@7.32.0+typescript@4.6.3:
240
+ resolution: {integrity: sha512-MxmLZj0tkGlkcZCSE17ORaHl8Th3JQwBzyXL/uvC6sNmu128LsgjTX0NIzy+wdH2J7Pd02GN8FaoudJntFvSOw==}
241
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
242
+ peerDependencies:
243
+ eslint: '*'
244
+ typescript: '*'
245
+ peerDependenciesMeta:
246
+ typescript:
247
+ optional: true
248
+ dependencies:
249
+ '@typescript-eslint/utils': 5.21.0_eslint@7.32.0+typescript@4.6.3
250
+ debug: 4.3.4
251
+ eslint: 7.32.0
252
+ tsutils: 3.21.0_typescript@4.6.3
253
+ typescript: 4.6.3
254
+ transitivePeerDependencies:
255
+ - supports-color
256
+ dev: true
257
+
258
+ /@typescript-eslint/types/5.21.0:
259
+ resolution: {integrity: sha512-XnOOo5Wc2cBlq8Lh5WNvAgHzpjnEzxn4CJBwGkcau7b/tZ556qrWXQz4DJyChYg8JZAD06kczrdgFPpEQZfDsA==}
260
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
261
+ dev: true
262
+
263
+ /@typescript-eslint/typescript-estree/5.21.0_typescript@4.6.3:
264
+ resolution: {integrity: sha512-Y8Y2T2FNvm08qlcoSMoNchh9y2Uj3QmjtwNMdRQkcFG7Muz//wfJBGBxh8R7HAGQFpgYpdHqUpEoPQk+q9Kjfg==}
265
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
266
+ peerDependencies:
267
+ typescript: '*'
268
+ peerDependenciesMeta:
269
+ typescript:
270
+ optional: true
271
+ dependencies:
272
+ '@typescript-eslint/types': 5.21.0
273
+ '@typescript-eslint/visitor-keys': 5.21.0
274
+ debug: 4.3.4
275
+ globby: 11.1.0
276
+ is-glob: 4.0.3
277
+ semver: 7.3.7
278
+ tsutils: 3.21.0_typescript@4.6.3
279
+ typescript: 4.6.3
280
+ transitivePeerDependencies:
281
+ - supports-color
282
+ dev: true
283
+
284
+ /@typescript-eslint/utils/5.21.0_eslint@7.32.0+typescript@4.6.3:
285
+ resolution: {integrity: sha512-q/emogbND9wry7zxy7VYri+7ydawo2HDZhRZ5k6yggIvXa7PvBbAAZ4PFH/oZLem72ezC4Pr63rJvDK/sTlL8Q==}
286
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
287
+ peerDependencies:
288
+ eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
289
+ dependencies:
290
+ '@types/json-schema': 7.0.11
291
+ '@typescript-eslint/scope-manager': 5.21.0
292
+ '@typescript-eslint/types': 5.21.0
293
+ '@typescript-eslint/typescript-estree': 5.21.0_typescript@4.6.3
294
+ eslint: 7.32.0
295
+ eslint-scope: 5.1.1
296
+ eslint-utils: 3.0.0_eslint@7.32.0
297
+ transitivePeerDependencies:
298
+ - supports-color
299
+ - typescript
300
+ dev: true
301
+
302
+ /@typescript-eslint/visitor-keys/5.21.0:
303
+ resolution: {integrity: sha512-SX8jNN+iHqAF0riZQMkm7e8+POXa/fXw5cxL+gjpyP+FI+JVNhii53EmQgDAfDcBpFekYSlO0fGytMQwRiMQCA==}
304
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
305
+ dependencies:
306
+ '@typescript-eslint/types': 5.21.0
307
+ eslint-visitor-keys: 3.3.0
308
+ dev: true
309
+
310
+ /acorn-jsx/5.3.2_acorn@7.4.1:
311
+ resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
312
+ peerDependencies:
313
+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
314
+ dependencies:
315
+ acorn: 7.4.1
316
+ dev: true
317
+
318
+ /acorn/7.4.1:
319
+ resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==}
320
+ engines: {node: '>=0.4.0'}
321
+ hasBin: true
322
+ dev: true
323
+
324
+ /ajv/6.12.6:
325
+ resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
326
+ dependencies:
327
+ fast-deep-equal: 3.1.3
328
+ fast-json-stable-stringify: 2.1.0
329
+ json-schema-traverse: 0.4.1
330
+ uri-js: 4.4.1
331
+ dev: true
332
+
333
+ /ajv/8.11.0:
334
+ resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==}
335
+ dependencies:
336
+ fast-deep-equal: 3.1.3
337
+ json-schema-traverse: 1.0.0
338
+ require-from-string: 2.0.2
339
+ uri-js: 4.4.1
340
+ dev: true
341
+
342
+ /ansi-colors/4.1.1:
343
+ resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==}
344
+ engines: {node: '>=6'}
345
+ dev: true
346
+
347
+ /ansi-regex/5.0.1:
348
+ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
349
+ engines: {node: '>=8'}
350
+ dev: true
351
+
352
+ /ansi-styles/3.2.1:
353
+ resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==}
354
+ engines: {node: '>=4'}
355
+ dependencies:
356
+ color-convert: 1.9.3
357
+ dev: true
358
+
359
+ /ansi-styles/4.3.0:
360
+ resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
361
+ engines: {node: '>=8'}
362
+ dependencies:
363
+ color-convert: 2.0.1
364
+ dev: true
365
+
366
+ /anymatch/3.1.2:
367
+ resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==}
368
+ engines: {node: '>= 8'}
369
+ dependencies:
370
+ normalize-path: 3.0.0
371
+ picomatch: 2.3.1
372
+ dev: true
373
+
374
+ /argparse/1.0.10:
375
+ resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
376
+ dependencies:
377
+ sprintf-js: 1.0.3
378
+ dev: true
379
+
380
+ /array-union/2.1.0:
381
+ resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
382
+ engines: {node: '>=8'}
383
+ dev: true
384
+
385
+ /astral-regex/2.0.0:
386
+ resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==}
387
+ engines: {node: '>=8'}
388
+ dev: true
389
+
390
+ /balanced-match/1.0.2:
391
+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
392
+ dev: true
393
+
394
+ /binary-extensions/2.2.0:
395
+ resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
396
+ engines: {node: '>=8'}
397
+ dev: true
398
+
399
+ /brace-expansion/1.1.11:
400
+ resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
401
+ dependencies:
402
+ balanced-match: 1.0.2
403
+ concat-map: 0.0.1
404
+ dev: true
405
+
406
+ /braces/3.0.2:
407
+ resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}
408
+ engines: {node: '>=8'}
409
+ dependencies:
410
+ fill-range: 7.0.1
411
+ dev: true
412
+
413
+ /buffer-crc32/0.2.13:
414
+ resolution: {integrity: sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=}
415
+ dev: true
416
+
417
+ /callsites/3.1.0:
418
+ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
419
+ engines: {node: '>=6'}
420
+ dev: true
421
+
422
+ /chalk/2.4.2:
423
+ resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
424
+ engines: {node: '>=4'}
425
+ dependencies:
426
+ ansi-styles: 3.2.1
427
+ escape-string-regexp: 1.0.5
428
+ supports-color: 5.5.0
429
+ dev: true
430
+
431
+ /chalk/4.1.2:
432
+ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
433
+ engines: {node: '>=10'}
434
+ dependencies:
435
+ ansi-styles: 4.3.0
436
+ supports-color: 7.2.0
437
+ dev: true
438
+
439
+ /chokidar/3.5.3:
440
+ resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
441
+ engines: {node: '>= 8.10.0'}
442
+ dependencies:
443
+ anymatch: 3.1.2
444
+ braces: 3.0.2
445
+ glob-parent: 5.1.2
446
+ is-binary-path: 2.1.0
447
+ is-glob: 4.0.3
448
+ normalize-path: 3.0.0
449
+ readdirp: 3.6.0
450
+ optionalDependencies:
451
+ fsevents: 2.3.2
452
+ dev: true
453
+
454
+ /color-convert/1.9.3:
455
+ resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==}
456
+ dependencies:
457
+ color-name: 1.1.3
458
+ dev: true
459
+
460
+ /color-convert/2.0.1:
461
+ resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
462
+ engines: {node: '>=7.0.0'}
463
+ dependencies:
464
+ color-name: 1.1.4
465
+ dev: true
466
+
467
+ /color-name/1.1.3:
468
+ resolution: {integrity: sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=}
469
+ dev: true
470
+
471
+ /color-name/1.1.4:
472
+ resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
473
+ dev: true
474
+
475
+ /concat-map/0.0.1:
476
+ resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
477
+ dev: true
478
+
479
+ /cross-spawn/7.0.3:
480
+ resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==}
481
+ engines: {node: '>= 8'}
482
+ dependencies:
483
+ path-key: 3.1.1
484
+ shebang-command: 2.0.0
485
+ which: 2.0.2
486
+ dev: true
487
+
488
+ /debug/4.3.4:
489
+ resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==}
490
+ engines: {node: '>=6.0'}
491
+ peerDependencies:
492
+ supports-color: '*'
493
+ peerDependenciesMeta:
494
+ supports-color:
495
+ optional: true
496
+ dependencies:
497
+ ms: 2.1.2
498
+ dev: true
499
+
500
+ /deep-is/0.1.4:
501
+ resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
502
+ dev: true
503
+
504
+ /detect-indent/6.1.0:
505
+ resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==}
506
+ engines: {node: '>=8'}
507
+ dev: true
508
+
509
+ /dir-glob/3.0.1:
510
+ resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
511
+ engines: {node: '>=8'}
512
+ dependencies:
513
+ path-type: 4.0.0
514
+ dev: true
515
+
516
+ /doctrine/3.0.0:
517
+ resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
518
+ engines: {node: '>=6.0.0'}
519
+ dependencies:
520
+ esutils: 2.0.3
521
+ dev: true
522
+
523
+ /emoji-regex/8.0.0:
524
+ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
525
+ dev: true
526
+
527
+ /enquirer/2.3.6:
528
+ resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==}
529
+ engines: {node: '>=8.6'}
530
+ dependencies:
531
+ ansi-colors: 4.1.1
532
+ dev: true
533
+
534
+ /es6-promise/3.3.1:
535
+ resolution: {integrity: sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=}
536
+ dev: true
537
+
538
+ /esbuild-android-64/0.14.38:
539
+ resolution: {integrity: sha512-aRFxR3scRKkbmNuGAK+Gee3+yFxkTJO/cx83Dkyzo4CnQl/2zVSurtG6+G86EQIZ+w+VYngVyK7P3HyTBKu3nw==}
540
+ engines: {node: '>=12'}
541
+ cpu: [x64]
542
+ os: [android]
543
+ requiresBuild: true
544
+ dev: true
545
+ optional: true
546
+
547
+ /esbuild-android-arm64/0.14.38:
548
+ resolution: {integrity: sha512-L2NgQRWuHFI89IIZIlpAcINy9FvBk6xFVZ7xGdOwIm8VyhX1vNCEqUJO3DPSSy945Gzdg98cxtNt8Grv1CsyhA==}
549
+ engines: {node: '>=12'}
550
+ cpu: [arm64]
551
+ os: [android]
552
+ requiresBuild: true
553
+ dev: true
554
+ optional: true
555
+
556
+ /esbuild-darwin-64/0.14.38:
557
+ resolution: {integrity: sha512-5JJvgXkX87Pd1Og0u/NJuO7TSqAikAcQQ74gyJ87bqWRVeouky84ICoV4sN6VV53aTW+NE87qLdGY4QA2S7KNA==}
558
+ engines: {node: '>=12'}
559
+ cpu: [x64]
560
+ os: [darwin]
561
+ requiresBuild: true
562
+ dev: true
563
+ optional: true
564
+
565
+ /esbuild-darwin-arm64/0.14.38:
566
+ resolution: {integrity: sha512-eqF+OejMI3mC5Dlo9Kdq/Ilbki9sQBw3QlHW3wjLmsLh+quNfHmGMp3Ly1eWm981iGBMdbtSS9+LRvR2T8B3eQ==}
567
+ engines: {node: '>=12'}
568
+ cpu: [arm64]
569
+ os: [darwin]
570
+ requiresBuild: true
571
+ dev: true
572
+ optional: true
573
+
574
+ /esbuild-freebsd-64/0.14.38:
575
+ resolution: {integrity: sha512-epnPbhZUt93xV5cgeY36ZxPXDsQeO55DppzsIgWM8vgiG/Rz+qYDLmh5ts3e+Ln1wA9dQ+nZmVHw+RjaW3I5Ig==}
576
+ engines: {node: '>=12'}
577
+ cpu: [x64]
578
+ os: [freebsd]
579
+ requiresBuild: true
580
+ dev: true
581
+ optional: true
582
+
583
+ /esbuild-freebsd-arm64/0.14.38:
584
+ resolution: {integrity: sha512-/9icXUYJWherhk+y5fjPI5yNUdFPtXHQlwP7/K/zg8t8lQdHVj20SqU9/udQmeUo5pDFHMYzcEFfJqgOVeKNNQ==}
585
+ engines: {node: '>=12'}
586
+ cpu: [arm64]
587
+ os: [freebsd]
588
+ requiresBuild: true
589
+ dev: true
590
+ optional: true
591
+
592
+ /esbuild-linux-32/0.14.38:
593
+ resolution: {integrity: sha512-QfgfeNHRFvr2XeHFzP8kOZVnal3QvST3A0cgq32ZrHjSMFTdgXhMhmWdKzRXP/PKcfv3e2OW9tT9PpcjNvaq6g==}
594
+ engines: {node: '>=12'}
595
+ cpu: [ia32]
596
+ os: [linux]
597
+ requiresBuild: true
598
+ dev: true
599
+ optional: true
600
+
601
+ /esbuild-linux-64/0.14.38:
602
+ resolution: {integrity: sha512-uuZHNmqcs+Bj1qiW9k/HZU3FtIHmYiuxZ/6Aa+/KHb/pFKr7R3aVqvxlAudYI9Fw3St0VCPfv7QBpUITSmBR1Q==}
603
+ engines: {node: '>=12'}
604
+ cpu: [x64]
605
+ os: [linux]
606
+ requiresBuild: true
607
+ dev: true
608
+ optional: true
609
+
610
+ /esbuild-linux-arm/0.14.38:
611
+ resolution: {integrity: sha512-FiFvQe8J3VKTDXG01JbvoVRXQ0x6UZwyrU4IaLBZeq39Bsbatd94Fuc3F1RGqPF5RbIWW7RvkVQjn79ejzysnA==}
612
+ engines: {node: '>=12'}
613
+ cpu: [arm]
614
+ os: [linux]
615
+ requiresBuild: true
616
+ dev: true
617
+ optional: true
618
+
619
+ /esbuild-linux-arm64/0.14.38:
620
+ resolution: {integrity: sha512-HlMGZTEsBrXrivr64eZ/EO0NQM8H8DuSENRok9d+Jtvq8hOLzrxfsAT9U94K3KOGk2XgCmkaI2KD8hX7F97lvA==}
621
+ engines: {node: '>=12'}
622
+ cpu: [arm64]
623
+ os: [linux]
624
+ requiresBuild: true
625
+ dev: true
626
+ optional: true
627
+
628
+ /esbuild-linux-mips64le/0.14.38:
629
+ resolution: {integrity: sha512-qd1dLf2v7QBiI5wwfil9j0HG/5YMFBAmMVmdeokbNAMbcg49p25t6IlJFXAeLzogv1AvgaXRXvgFNhScYEUXGQ==}
630
+ engines: {node: '>=12'}
631
+ cpu: [mips64el]
632
+ os: [linux]
633
+ requiresBuild: true
634
+ dev: true
635
+ optional: true
636
+
637
+ /esbuild-linux-ppc64le/0.14.38:
638
+ resolution: {integrity: sha512-mnbEm7o69gTl60jSuK+nn+pRsRHGtDPfzhrqEUXyCl7CTOCLtWN2bhK8bgsdp6J/2NyS/wHBjs1x8aBWwP2X9Q==}
639
+ engines: {node: '>=12'}
640
+ cpu: [ppc64]
641
+ os: [linux]
642
+ requiresBuild: true
643
+ dev: true
644
+ optional: true
645
+
646
+ /esbuild-linux-riscv64/0.14.38:
647
+ resolution: {integrity: sha512-+p6YKYbuV72uikChRk14FSyNJZ4WfYkffj6Af0/Tw63/6TJX6TnIKE+6D3xtEc7DeDth1fjUOEqm+ApKFXbbVQ==}
648
+ engines: {node: '>=12'}
649
+ cpu: [riscv64]
650
+ os: [linux]
651
+ requiresBuild: true
652
+ dev: true
653
+ optional: true
654
+
655
+ /esbuild-linux-s390x/0.14.38:
656
+ resolution: {integrity: sha512-0zUsiDkGJiMHxBQ7JDU8jbaanUY975CdOW1YDrurjrM0vWHfjv9tLQsW9GSyEb/heSK1L5gaweRjzfUVBFoybQ==}
657
+ engines: {node: '>=12'}
658
+ cpu: [s390x]
659
+ os: [linux]
660
+ requiresBuild: true
661
+ dev: true
662
+ optional: true
663
+
664
+ /esbuild-netbsd-64/0.14.38:
665
+ resolution: {integrity: sha512-cljBAApVwkpnJZfnRVThpRBGzCi+a+V9Ofb1fVkKhtrPLDYlHLrSYGtmnoTVWDQdU516qYI8+wOgcGZ4XIZh0Q==}
666
+ engines: {node: '>=12'}
667
+ cpu: [x64]
668
+ os: [netbsd]
669
+ requiresBuild: true
670
+ dev: true
671
+ optional: true
672
+
673
+ /esbuild-openbsd-64/0.14.38:
674
+ resolution: {integrity: sha512-CDswYr2PWPGEPpLDUO50mL3WO/07EMjnZDNKpmaxUPsrW+kVM3LoAqr/CE8UbzugpEiflYqJsGPLirThRB18IQ==}
675
+ engines: {node: '>=12'}
676
+ cpu: [x64]
677
+ os: [openbsd]
678
+ requiresBuild: true
679
+ dev: true
680
+ optional: true
681
+
682
+ /esbuild-sunos-64/0.14.38:
683
+ resolution: {integrity: sha512-2mfIoYW58gKcC3bck0j7lD3RZkqYA7MmujFYmSn9l6TiIcAMpuEvqksO+ntBgbLep/eyjpgdplF7b+4T9VJGOA==}
684
+ engines: {node: '>=12'}
685
+ cpu: [x64]
686
+ os: [sunos]
687
+ requiresBuild: true
688
+ dev: true
689
+ optional: true
690
+
691
+ /esbuild-windows-32/0.14.38:
692
+ resolution: {integrity: sha512-L2BmEeFZATAvU+FJzJiRLFUP+d9RHN+QXpgaOrs2klshoAm1AE6Us4X6fS9k33Uy5SzScn2TpcgecbqJza1Hjw==}
693
+ engines: {node: '>=12'}
694
+ cpu: [ia32]
695
+ os: [win32]
696
+ requiresBuild: true
697
+ dev: true
698
+ optional: true
699
+
700
+ /esbuild-windows-64/0.14.38:
701
+ resolution: {integrity: sha512-Khy4wVmebnzue8aeSXLC+6clo/hRYeNIm0DyikoEqX+3w3rcvrhzpoix0S+MF9vzh6JFskkIGD7Zx47ODJNyCw==}
702
+ engines: {node: '>=12'}
703
+ cpu: [x64]
704
+ os: [win32]
705
+ requiresBuild: true
706
+ dev: true
707
+ optional: true
708
+
709
+ /esbuild-windows-arm64/0.14.38:
710
+ resolution: {integrity: sha512-k3FGCNmHBkqdJXuJszdWciAH77PukEyDsdIryEHn9cKLQFxzhT39dSumeTuggaQcXY57UlmLGIkklWZo2qzHpw==}
711
+ engines: {node: '>=12'}
712
+ cpu: [arm64]
713
+ os: [win32]
714
+ requiresBuild: true
715
+ dev: true
716
+ optional: true
717
+
718
+ /esbuild/0.14.38:
719
+ resolution: {integrity: sha512-12fzJ0fsm7gVZX1YQ1InkOE5f9Tl7cgf6JPYXRJtPIoE0zkWAbHdPHVPPaLi9tYAcEBqheGzqLn/3RdTOyBfcA==}
720
+ engines: {node: '>=12'}
721
+ hasBin: true
722
+ requiresBuild: true
723
+ optionalDependencies:
724
+ esbuild-android-64: 0.14.38
725
+ esbuild-android-arm64: 0.14.38
726
+ esbuild-darwin-64: 0.14.38
727
+ esbuild-darwin-arm64: 0.14.38
728
+ esbuild-freebsd-64: 0.14.38
729
+ esbuild-freebsd-arm64: 0.14.38
730
+ esbuild-linux-32: 0.14.38
731
+ esbuild-linux-64: 0.14.38
732
+ esbuild-linux-arm: 0.14.38
733
+ esbuild-linux-arm64: 0.14.38
734
+ esbuild-linux-mips64le: 0.14.38
735
+ esbuild-linux-ppc64le: 0.14.38
736
+ esbuild-linux-riscv64: 0.14.38
737
+ esbuild-linux-s390x: 0.14.38
738
+ esbuild-netbsd-64: 0.14.38
739
+ esbuild-openbsd-64: 0.14.38
740
+ esbuild-sunos-64: 0.14.38
741
+ esbuild-windows-32: 0.14.38
742
+ esbuild-windows-64: 0.14.38
743
+ esbuild-windows-arm64: 0.14.38
744
+ dev: true
745
+
746
+ /escape-string-regexp/1.0.5:
747
+ resolution: {integrity: sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=}
748
+ engines: {node: '>=0.8.0'}
749
+ dev: true
750
+
751
+ /escape-string-regexp/4.0.0:
752
+ resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
753
+ engines: {node: '>=10'}
754
+ dev: true
755
+
756
+ /eslint-config-prettier/8.5.0_eslint@7.32.0:
757
+ resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==}
758
+ hasBin: true
759
+ peerDependencies:
760
+ eslint: '>=7.0.0'
761
+ dependencies:
762
+ eslint: 7.32.0
763
+ dev: true
764
+
765
+ /eslint-plugin-svelte3/3.4.1_eslint@7.32.0+svelte@3.47.0:
766
+ resolution: {integrity: sha512-7p59WG8qV8L6wLdl4d/c3mdjkgVglQCdv5XOTk/iNPBKXuuV+Q0eFP5Wa6iJd/G2M1qR3BkLPEzaANOqKAZczw==}
767
+ engines: {node: '>=10'}
768
+ peerDependencies:
769
+ eslint: '>=6.0.0'
770
+ svelte: ^3.2.0
771
+ dependencies:
772
+ eslint: 7.32.0
773
+ svelte: 3.47.0
774
+ dev: true
775
+
776
+ /eslint-scope/5.1.1:
777
+ resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}
778
+ engines: {node: '>=8.0.0'}
779
+ dependencies:
780
+ esrecurse: 4.3.0
781
+ estraverse: 4.3.0
782
+ dev: true
783
+
784
+ /eslint-utils/2.1.0:
785
+ resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==}
786
+ engines: {node: '>=6'}
787
+ dependencies:
788
+ eslint-visitor-keys: 1.3.0
789
+ dev: true
790
+
791
+ /eslint-utils/3.0.0_eslint@7.32.0:
792
+ resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
793
+ engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
794
+ peerDependencies:
795
+ eslint: '>=5'
796
+ dependencies:
797
+ eslint: 7.32.0
798
+ eslint-visitor-keys: 2.1.0
799
+ dev: true
800
+
801
+ /eslint-visitor-keys/1.3.0:
802
+ resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==}
803
+ engines: {node: '>=4'}
804
+ dev: true
805
+
806
+ /eslint-visitor-keys/2.1.0:
807
+ resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==}
808
+ engines: {node: '>=10'}
809
+ dev: true
810
+
811
+ /eslint-visitor-keys/3.3.0:
812
+ resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==}
813
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
814
+ dev: true
815
+
816
+ /eslint/7.32.0:
817
+ resolution: {integrity: sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==}
818
+ engines: {node: ^10.12.0 || >=12.0.0}
819
+ hasBin: true
820
+ dependencies:
821
+ '@babel/code-frame': 7.12.11
822
+ '@eslint/eslintrc': 0.4.3
823
+ '@humanwhocodes/config-array': 0.5.0
824
+ ajv: 6.12.6
825
+ chalk: 4.1.2
826
+ cross-spawn: 7.0.3
827
+ debug: 4.3.4
828
+ doctrine: 3.0.0
829
+ enquirer: 2.3.6
830
+ escape-string-regexp: 4.0.0
831
+ eslint-scope: 5.1.1
832
+ eslint-utils: 2.1.0
833
+ eslint-visitor-keys: 2.1.0
834
+ espree: 7.3.1
835
+ esquery: 1.4.0
836
+ esutils: 2.0.3
837
+ fast-deep-equal: 3.1.3
838
+ file-entry-cache: 6.0.1
839
+ functional-red-black-tree: 1.0.1
840
+ glob-parent: 5.1.2
841
+ globals: 13.13.0
842
+ ignore: 4.0.6
843
+ import-fresh: 3.3.0
844
+ imurmurhash: 0.1.4
845
+ is-glob: 4.0.3
846
+ js-yaml: 3.14.1
847
+ json-stable-stringify-without-jsonify: 1.0.1
848
+ levn: 0.4.1
849
+ lodash.merge: 4.6.2
850
+ minimatch: 3.1.2
851
+ natural-compare: 1.4.0
852
+ optionator: 0.9.1
853
+ progress: 2.0.3
854
+ regexpp: 3.2.0
855
+ semver: 7.3.7
856
+ strip-ansi: 6.0.1
857
+ strip-json-comments: 3.1.1
858
+ table: 6.8.0
859
+ text-table: 0.2.0
860
+ v8-compile-cache: 2.3.0
861
+ transitivePeerDependencies:
862
+ - supports-color
863
+ dev: true
864
+
865
+ /espree/7.3.1:
866
+ resolution: {integrity: sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==}
867
+ engines: {node: ^10.12.0 || >=12.0.0}
868
+ dependencies:
869
+ acorn: 7.4.1
870
+ acorn-jsx: 5.3.2_acorn@7.4.1
871
+ eslint-visitor-keys: 1.3.0
872
+ dev: true
873
+
874
+ /esprima/4.0.1:
875
+ resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
876
+ engines: {node: '>=4'}
877
+ hasBin: true
878
+ dev: true
879
+
880
+ /esquery/1.4.0:
881
+ resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==}
882
+ engines: {node: '>=0.10'}
883
+ dependencies:
884
+ estraverse: 5.3.0
885
+ dev: true
886
+
887
+ /esrecurse/4.3.0:
888
+ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
889
+ engines: {node: '>=4.0'}
890
+ dependencies:
891
+ estraverse: 5.3.0
892
+ dev: true
893
+
894
+ /estraverse/4.3.0:
895
+ resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==}
896
+ engines: {node: '>=4.0'}
897
+ dev: true
898
+
899
+ /estraverse/5.3.0:
900
+ resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}
901
+ engines: {node: '>=4.0'}
902
+ dev: true
903
+
904
+ /estree-walker/2.0.2:
905
+ resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
906
+ dev: true
907
+
908
+ /esutils/2.0.3:
909
+ resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
910
+ engines: {node: '>=0.10.0'}
911
+ dev: true
912
+
913
+ /fast-deep-equal/3.1.3:
914
+ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
915
+ dev: true
916
+
917
+ /fast-glob/3.2.11:
918
+ resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==}
919
+ engines: {node: '>=8.6.0'}
920
+ dependencies:
921
+ '@nodelib/fs.stat': 2.0.5
922
+ '@nodelib/fs.walk': 1.2.8
923
+ glob-parent: 5.1.2
924
+ merge2: 1.4.1
925
+ micromatch: 4.0.5
926
+ dev: true
927
+
928
+ /fast-json-stable-stringify/2.1.0:
929
+ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
930
+ dev: true
931
+
932
+ /fast-levenshtein/2.0.6:
933
+ resolution: {integrity: sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=}
934
+ dev: true
935
+
936
+ /fastq/1.13.0:
937
+ resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==}
938
+ dependencies:
939
+ reusify: 1.0.4
940
+ dev: true
941
+
942
+ /file-entry-cache/6.0.1:
943
+ resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
944
+ engines: {node: ^10.12.0 || >=12.0.0}
945
+ dependencies:
946
+ flat-cache: 3.0.4
947
+ dev: true
948
+
949
+ /fill-range/7.0.1:
950
+ resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
951
+ engines: {node: '>=8'}
952
+ dependencies:
953
+ to-regex-range: 5.0.1
954
+ dev: true
955
+
956
+ /flat-cache/3.0.4:
957
+ resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==}
958
+ engines: {node: ^10.12.0 || >=12.0.0}
959
+ dependencies:
960
+ flatted: 3.2.5
961
+ rimraf: 3.0.2
962
+ dev: true
963
+
964
+ /flatted/3.2.5:
965
+ resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==}
966
+ dev: true
967
+
968
+ /fs.realpath/1.0.0:
969
+ resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=}
970
+ dev: true
971
+
972
+ /fsevents/2.3.2:
973
+ resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
974
+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
975
+ os: [darwin]
976
+ requiresBuild: true
977
+ dev: true
978
+ optional: true
979
+
980
+ /function-bind/1.1.1:
981
+ resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}
982
+ dev: true
983
+
984
+ /functional-red-black-tree/1.0.1:
985
+ resolution: {integrity: sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=}
986
+ dev: true
987
+
988
+ /glob-parent/5.1.2:
989
+ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
990
+ engines: {node: '>= 6'}
991
+ dependencies:
992
+ is-glob: 4.0.3
993
+ dev: true
994
+
995
+ /glob/7.2.0:
996
+ resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==}
997
+ dependencies:
998
+ fs.realpath: 1.0.0
999
+ inflight: 1.0.6
1000
+ inherits: 2.0.4
1001
+ minimatch: 3.1.2
1002
+ once: 1.4.0
1003
+ path-is-absolute: 1.0.1
1004
+ dev: true
1005
+
1006
+ /globals/13.13.0:
1007
+ resolution: {integrity: sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==}
1008
+ engines: {node: '>=8'}
1009
+ dependencies:
1010
+ type-fest: 0.20.2
1011
+ dev: true
1012
+
1013
+ /globalyzer/0.1.0:
1014
+ resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==}
1015
+ dev: true
1016
+
1017
+ /globby/11.1.0:
1018
+ resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
1019
+ engines: {node: '>=10'}
1020
+ dependencies:
1021
+ array-union: 2.1.0
1022
+ dir-glob: 3.0.1
1023
+ fast-glob: 3.2.11
1024
+ ignore: 5.2.0
1025
+ merge2: 1.4.1
1026
+ slash: 3.0.0
1027
+ dev: true
1028
+
1029
+ /globrex/0.1.2:
1030
+ resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
1031
+ dev: true
1032
+
1033
+ /graceful-fs/4.2.10:
1034
+ resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==}
1035
+ dev: true
1036
+
1037
+ /has-flag/3.0.0:
1038
+ resolution: {integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0=}
1039
+ engines: {node: '>=4'}
1040
+ dev: true
1041
+
1042
+ /has-flag/4.0.0:
1043
+ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
1044
+ engines: {node: '>=8'}
1045
+ dev: true
1046
+
1047
+ /has/1.0.3:
1048
+ resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==}
1049
+ engines: {node: '>= 0.4.0'}
1050
+ dependencies:
1051
+ function-bind: 1.1.1
1052
+ dev: true
1053
+
1054
+ /ignore/4.0.6:
1055
+ resolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==}
1056
+ engines: {node: '>= 4'}
1057
+ dev: true
1058
+
1059
+ /ignore/5.2.0:
1060
+ resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==}
1061
+ engines: {node: '>= 4'}
1062
+ dev: true
1063
+
1064
+ /import-fresh/3.3.0:
1065
+ resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
1066
+ engines: {node: '>=6'}
1067
+ dependencies:
1068
+ parent-module: 1.0.1
1069
+ resolve-from: 4.0.0
1070
+ dev: true
1071
+
1072
+ /imurmurhash/0.1.4:
1073
+ resolution: {integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o=}
1074
+ engines: {node: '>=0.8.19'}
1075
+ dev: true
1076
+
1077
+ /inflight/1.0.6:
1078
+ resolution: {integrity: sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=}
1079
+ dependencies:
1080
+ once: 1.4.0
1081
+ wrappy: 1.0.2
1082
+ dev: true
1083
+
1084
+ /inherits/2.0.4:
1085
+ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
1086
+ dev: true
1087
+
1088
+ /is-binary-path/2.1.0:
1089
+ resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
1090
+ engines: {node: '>=8'}
1091
+ dependencies:
1092
+ binary-extensions: 2.2.0
1093
+ dev: true
1094
+
1095
+ /is-core-module/2.9.0:
1096
+ resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==}
1097
+ dependencies:
1098
+ has: 1.0.3
1099
+ dev: true
1100
+
1101
+ /is-extglob/2.1.1:
1102
+ resolution: {integrity: sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=}
1103
+ engines: {node: '>=0.10.0'}
1104
+ dev: true
1105
+
1106
+ /is-fullwidth-code-point/3.0.0:
1107
+ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
1108
+ engines: {node: '>=8'}
1109
+ dev: true
1110
+
1111
+ /is-glob/4.0.3:
1112
+ resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
1113
+ engines: {node: '>=0.10.0'}
1114
+ dependencies:
1115
+ is-extglob: 2.1.1
1116
+ dev: true
1117
+
1118
+ /is-number/7.0.0:
1119
+ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
1120
+ engines: {node: '>=0.12.0'}
1121
+ dev: true
1122
+
1123
+ /isexe/2.0.0:
1124
+ resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=}
1125
+ dev: true
1126
+
1127
+ /js-tokens/4.0.0:
1128
+ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
1129
+ dev: true
1130
+
1131
+ /js-yaml/3.14.1:
1132
+ resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
1133
+ hasBin: true
1134
+ dependencies:
1135
+ argparse: 1.0.10
1136
+ esprima: 4.0.1
1137
+ dev: true
1138
+
1139
+ /json-schema-traverse/0.4.1:
1140
+ resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}
1141
+ dev: true
1142
+
1143
+ /json-schema-traverse/1.0.0:
1144
+ resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
1145
+ dev: true
1146
+
1147
+ /json-stable-stringify-without-jsonify/1.0.1:
1148
+ resolution: {integrity: sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=}
1149
+ dev: true
1150
+
1151
+ /kleur/4.1.4:
1152
+ resolution: {integrity: sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==}
1153
+ engines: {node: '>=6'}
1154
+ dev: true
1155
+
1156
+ /levn/0.4.1:
1157
+ resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}
1158
+ engines: {node: '>= 0.8.0'}
1159
+ dependencies:
1160
+ prelude-ls: 1.2.1
1161
+ type-check: 0.4.0
1162
+ dev: true
1163
+
1164
+ /lodash.merge/4.6.2:
1165
+ resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
1166
+ dev: true
1167
+
1168
+ /lodash.truncate/4.4.2:
1169
+ resolution: {integrity: sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=}
1170
+ dev: true
1171
+
1172
+ /lru-cache/6.0.0:
1173
+ resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
1174
+ engines: {node: '>=10'}
1175
+ dependencies:
1176
+ yallist: 4.0.0
1177
+ dev: true
1178
+
1179
+ /magic-string/0.25.9:
1180
+ resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==}
1181
+ dependencies:
1182
+ sourcemap-codec: 1.4.8
1183
+ dev: true
1184
+
1185
+ /magic-string/0.26.1:
1186
+ resolution: {integrity: sha512-ndThHmvgtieXe8J/VGPjG+Apu7v7ItcD5mhEIvOscWjPF/ccOiLxHaSuCAS2G+3x4GKsAbT8u7zdyamupui8Tg==}
1187
+ engines: {node: '>=12'}
1188
+ dependencies:
1189
+ sourcemap-codec: 1.4.8
1190
+ dev: true
1191
+
1192
+ /merge2/1.4.1:
1193
+ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
1194
+ engines: {node: '>= 8'}
1195
+ dev: true
1196
+
1197
+ /micromatch/4.0.5:
1198
+ resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
1199
+ engines: {node: '>=8.6'}
1200
+ dependencies:
1201
+ braces: 3.0.2
1202
+ picomatch: 2.3.1
1203
+ dev: true
1204
+
1205
+ /min-indent/1.0.1:
1206
+ resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==}
1207
+ engines: {node: '>=4'}
1208
+ dev: true
1209
+
1210
+ /minimatch/3.1.2:
1211
+ resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
1212
+ dependencies:
1213
+ brace-expansion: 1.1.11
1214
+ dev: true
1215
+
1216
+ /minimist/1.2.6:
1217
+ resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==}
1218
+ dev: true
1219
+
1220
+ /mkdirp/0.5.6:
1221
+ resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}
1222
+ hasBin: true
1223
+ dependencies:
1224
+ minimist: 1.2.6
1225
+ dev: true
1226
+
1227
+ /mri/1.2.0:
1228
+ resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
1229
+ engines: {node: '>=4'}
1230
+ dev: true
1231
+
1232
+ /ms/2.1.2:
1233
+ resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
1234
+ dev: true
1235
+
1236
+ /nanoid/3.3.3:
1237
+ resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==}
1238
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
1239
+ hasBin: true
1240
+ dev: true
1241
+
1242
+ /natural-compare/1.4.0:
1243
+ resolution: {integrity: sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=}
1244
+ dev: true
1245
+
1246
+ /normalize-path/3.0.0:
1247
+ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
1248
+ engines: {node: '>=0.10.0'}
1249
+ dev: true
1250
+
1251
+ /once/1.4.0:
1252
+ resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=}
1253
+ dependencies:
1254
+ wrappy: 1.0.2
1255
+ dev: true
1256
+
1257
+ /optionator/0.9.1:
1258
+ resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==}
1259
+ engines: {node: '>= 0.8.0'}
1260
+ dependencies:
1261
+ deep-is: 0.1.4
1262
+ fast-levenshtein: 2.0.6
1263
+ levn: 0.4.1
1264
+ prelude-ls: 1.2.1
1265
+ type-check: 0.4.0
1266
+ word-wrap: 1.2.3
1267
+ dev: true
1268
+
1269
+ /parent-module/1.0.1:
1270
+ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
1271
+ engines: {node: '>=6'}
1272
+ dependencies:
1273
+ callsites: 3.1.0
1274
+ dev: true
1275
+
1276
+ /path-is-absolute/1.0.1:
1277
+ resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=}
1278
+ engines: {node: '>=0.10.0'}
1279
+ dev: true
1280
+
1281
+ /path-key/3.1.1:
1282
+ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
1283
+ engines: {node: '>=8'}
1284
+ dev: true
1285
+
1286
+ /path-parse/1.0.7:
1287
+ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
1288
+ dev: true
1289
+
1290
+ /path-type/4.0.0:
1291
+ resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
1292
+ engines: {node: '>=8'}
1293
+ dev: true
1294
+
1295
+ /picocolors/1.0.0:
1296
+ resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
1297
+ dev: true
1298
+
1299
+ /picomatch/2.3.1:
1300
+ resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
1301
+ engines: {node: '>=8.6'}
1302
+ dev: true
1303
+
1304
+ /postcss/8.4.12:
1305
+ resolution: {integrity: sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg==}
1306
+ engines: {node: ^10 || ^12 || >=14}
1307
+ dependencies:
1308
+ nanoid: 3.3.3
1309
+ picocolors: 1.0.0
1310
+ source-map-js: 1.0.2
1311
+ dev: true
1312
+
1313
+ /prelude-ls/1.2.1:
1314
+ resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
1315
+ engines: {node: '>= 0.8.0'}
1316
+ dev: true
1317
+
1318
+ /prettier-plugin-svelte/2.7.0_prettier@2.6.2+svelte@3.47.0:
1319
+ resolution: {integrity: sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==}
1320
+ peerDependencies:
1321
+ prettier: ^1.16.4 || ^2.0.0
1322
+ svelte: ^3.2.0
1323
+ dependencies:
1324
+ prettier: 2.6.2
1325
+ svelte: 3.47.0
1326
+ dev: true
1327
+
1328
+ /prettier/2.6.2:
1329
+ resolution: {integrity: sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==}
1330
+ engines: {node: '>=10.13.0'}
1331
+ hasBin: true
1332
+ dev: true
1333
+
1334
+ /progress/2.0.3:
1335
+ resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}
1336
+ engines: {node: '>=0.4.0'}
1337
+ dev: true
1338
+
1339
+ /punycode/2.1.1:
1340
+ resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==}
1341
+ engines: {node: '>=6'}
1342
+ dev: true
1343
+
1344
+ /queue-microtask/1.2.3:
1345
+ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
1346
+ dev: true
1347
+
1348
+ /readdirp/3.6.0:
1349
+ resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
1350
+ engines: {node: '>=8.10.0'}
1351
+ dependencies:
1352
+ picomatch: 2.3.1
1353
+ dev: true
1354
+
1355
+ /regexpp/3.2.0:
1356
+ resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==}
1357
+ engines: {node: '>=8'}
1358
+ dev: true
1359
+
1360
+ /require-from-string/2.0.2:
1361
+ resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
1362
+ engines: {node: '>=0.10.0'}
1363
+ dev: true
1364
+
1365
+ /resolve-from/4.0.0:
1366
+ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
1367
+ engines: {node: '>=4'}
1368
+ dev: true
1369
+
1370
+ /resolve/1.22.0:
1371
+ resolution: {integrity: sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==}
1372
+ hasBin: true
1373
+ dependencies:
1374
+ is-core-module: 2.9.0
1375
+ path-parse: 1.0.7
1376
+ supports-preserve-symlinks-flag: 1.0.0
1377
+ dev: true
1378
+
1379
+ /reusify/1.0.4:
1380
+ resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
1381
+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
1382
+ dev: true
1383
+
1384
+ /rimraf/2.7.1:
1385
+ resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==}
1386
+ hasBin: true
1387
+ dependencies:
1388
+ glob: 7.2.0
1389
+ dev: true
1390
+
1391
+ /rimraf/3.0.2:
1392
+ resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
1393
+ hasBin: true
1394
+ dependencies:
1395
+ glob: 7.2.0
1396
+ dev: true
1397
+
1398
+ /rollup/2.70.2:
1399
+ resolution: {integrity: sha512-EitogNZnfku65I1DD5Mxe8JYRUCy0hkK5X84IlDtUs+O6JRMpRciXTzyCUuX11b5L5pvjH+OmFXiQ3XjabcXgg==}
1400
+ engines: {node: '>=10.0.0'}
1401
+ hasBin: true
1402
+ optionalDependencies:
1403
+ fsevents: 2.3.2
1404
+ dev: true
1405
+
1406
+ /run-parallel/1.2.0:
1407
+ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
1408
+ dependencies:
1409
+ queue-microtask: 1.2.3
1410
+ dev: true
1411
+
1412
+ /sade/1.8.1:
1413
+ resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
1414
+ engines: {node: '>=6'}
1415
+ dependencies:
1416
+ mri: 1.2.0
1417
+ dev: true
1418
+
1419
+ /sander/0.5.1:
1420
+ resolution: {integrity: sha1-dB4kXiMfB8r7b98PEzrfohalAq0=}
1421
+ dependencies:
1422
+ es6-promise: 3.3.1
1423
+ graceful-fs: 4.2.10
1424
+ mkdirp: 0.5.6
1425
+ rimraf: 2.7.1
1426
+ dev: true
1427
+
1428
+ /semver/7.3.7:
1429
+ resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==}
1430
+ engines: {node: '>=10'}
1431
+ hasBin: true
1432
+ dependencies:
1433
+ lru-cache: 6.0.0
1434
+ dev: true
1435
+
1436
+ /shebang-command/2.0.0:
1437
+ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
1438
+ engines: {node: '>=8'}
1439
+ dependencies:
1440
+ shebang-regex: 3.0.0
1441
+ dev: true
1442
+
1443
+ /shebang-regex/3.0.0:
1444
+ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
1445
+ engines: {node: '>=8'}
1446
+ dev: true
1447
+
1448
+ /slash/3.0.0:
1449
+ resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
1450
+ engines: {node: '>=8'}
1451
+ dev: true
1452
+
1453
+ /slice-ansi/4.0.0:
1454
+ resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==}
1455
+ engines: {node: '>=10'}
1456
+ dependencies:
1457
+ ansi-styles: 4.3.0
1458
+ astral-regex: 2.0.0
1459
+ is-fullwidth-code-point: 3.0.0
1460
+ dev: true
1461
+
1462
+ /sorcery/0.10.0:
1463
+ resolution: {integrity: sha1-iukK19fLBfxZ8asMY3hF1cFaUrc=}
1464
+ hasBin: true
1465
+ dependencies:
1466
+ buffer-crc32: 0.2.13
1467
+ minimist: 1.2.6
1468
+ sander: 0.5.1
1469
+ sourcemap-codec: 1.4.8
1470
+ dev: true
1471
+
1472
+ /source-map-js/1.0.2:
1473
+ resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
1474
+ engines: {node: '>=0.10.0'}
1475
+ dev: true
1476
+
1477
+ /source-map/0.7.3:
1478
+ resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==}
1479
+ engines: {node: '>= 8'}
1480
+ dev: true
1481
+
1482
+ /sourcemap-codec/1.4.8:
1483
+ resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
1484
+ dev: true
1485
+
1486
+ /sprintf-js/1.0.3:
1487
+ resolution: {integrity: sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=}
1488
+ dev: true
1489
+
1490
+ /string-width/4.2.3:
1491
+ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
1492
+ engines: {node: '>=8'}
1493
+ dependencies:
1494
+ emoji-regex: 8.0.0
1495
+ is-fullwidth-code-point: 3.0.0
1496
+ strip-ansi: 6.0.1
1497
+ dev: true
1498
+
1499
+ /strip-ansi/6.0.1:
1500
+ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
1501
+ engines: {node: '>=8'}
1502
+ dependencies:
1503
+ ansi-regex: 5.0.1
1504
+ dev: true
1505
+
1506
+ /strip-indent/3.0.0:
1507
+ resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
1508
+ engines: {node: '>=8'}
1509
+ dependencies:
1510
+ min-indent: 1.0.1
1511
+ dev: true
1512
+
1513
+ /strip-json-comments/3.1.1:
1514
+ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
1515
+ engines: {node: '>=8'}
1516
+ dev: true
1517
+
1518
+ /supports-color/5.5.0:
1519
+ resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
1520
+ engines: {node: '>=4'}
1521
+ dependencies:
1522
+ has-flag: 3.0.0
1523
+ dev: true
1524
+
1525
+ /supports-color/7.2.0:
1526
+ resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
1527
+ engines: {node: '>=8'}
1528
+ dependencies:
1529
+ has-flag: 4.0.0
1530
+ dev: true
1531
+
1532
+ /supports-preserve-symlinks-flag/1.0.0:
1533
+ resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
1534
+ engines: {node: '>= 0.4'}
1535
+ dev: true
1536
+
1537
+ /svelte-check/2.7.0_svelte@3.47.0:
1538
+ resolution: {integrity: sha512-GrvG24j0+i8AOm0k0KyJ6Dqc+TAR2yzB7rtS4nljHStunVxCTr/1KYlv4EsOeoqtHLzeWMOd5D2O6nDdP/yw4A==}
1539
+ hasBin: true
1540
+ peerDependencies:
1541
+ svelte: ^3.24.0
1542
+ dependencies:
1543
+ chokidar: 3.5.3
1544
+ fast-glob: 3.2.11
1545
+ import-fresh: 3.3.0
1546
+ picocolors: 1.0.0
1547
+ sade: 1.8.1
1548
+ source-map: 0.7.3
1549
+ svelte: 3.47.0
1550
+ svelte-preprocess: 4.10.6_svelte@3.47.0+typescript@4.6.3
1551
+ typescript: 4.6.3
1552
+ transitivePeerDependencies:
1553
+ - '@babel/core'
1554
+ - coffeescript
1555
+ - less
1556
+ - node-sass
1557
+ - postcss
1558
+ - postcss-load-config
1559
+ - pug
1560
+ - sass
1561
+ - stylus
1562
+ - sugarss
1563
+ dev: true
1564
+
1565
+ /svelte-hmr/0.14.11_svelte@3.47.0:
1566
+ resolution: {integrity: sha512-R9CVfX6DXxW1Kn45Jtmx+yUe+sPhrbYSUp7TkzbW0jI5fVPn6lsNG9NEs5dFg5qRhFNAoVdRw5qQDLALNKhwbQ==}
1567
+ engines: {node: ^12.20 || ^14.13.1 || >= 16}
1568
+ peerDependencies:
1569
+ svelte: '>=3.19.0'
1570
+ dependencies:
1571
+ svelte: 3.47.0
1572
+ dev: true
1573
+
1574
+ /svelte-preprocess/4.10.6_svelte@3.47.0+typescript@4.6.3:
1575
+ resolution: {integrity: sha512-I2SV1w/AveMvgIQlUF/ZOO3PYVnhxfcpNyGt8pxpUVhPfyfL/CZBkkw/KPfuFix5FJ9TnnNYMhACK3DtSaYVVQ==}
1576
+ engines: {node: '>= 9.11.2'}
1577
+ requiresBuild: true
1578
+ peerDependencies:
1579
+ '@babel/core': ^7.10.2
1580
+ coffeescript: ^2.5.1
1581
+ less: ^3.11.3 || ^4.0.0
1582
+ node-sass: '*'
1583
+ postcss: ^7 || ^8
1584
+ postcss-load-config: ^2.1.0 || ^3.0.0
1585
+ pug: ^3.0.0
1586
+ sass: ^1.26.8
1587
+ stylus: ^0.55.0
1588
+ sugarss: ^2.0.0
1589
+ svelte: ^3.23.0
1590
+ typescript: ^3.9.5 || ^4.0.0
1591
+ peerDependenciesMeta:
1592
+ '@babel/core':
1593
+ optional: true
1594
+ coffeescript:
1595
+ optional: true
1596
+ less:
1597
+ optional: true
1598
+ node-sass:
1599
+ optional: true
1600
+ postcss:
1601
+ optional: true
1602
+ postcss-load-config:
1603
+ optional: true
1604
+ pug:
1605
+ optional: true
1606
+ sass:
1607
+ optional: true
1608
+ stylus:
1609
+ optional: true
1610
+ sugarss:
1611
+ optional: true
1612
+ typescript:
1613
+ optional: true
1614
+ dependencies:
1615
+ '@types/pug': 2.0.6
1616
+ '@types/sass': 1.43.1
1617
+ detect-indent: 6.1.0
1618
+ magic-string: 0.25.9
1619
+ sorcery: 0.10.0
1620
+ strip-indent: 3.0.0
1621
+ svelte: 3.47.0
1622
+ typescript: 4.6.3
1623
+ dev: true
1624
+
1625
+ /svelte/3.47.0:
1626
+ resolution: {integrity: sha512-4JaJp3HEoTCGARRWZQIZDUanhYv0iyoHikklVHVLH9xFE9db22g4TDv7CPeNA8HD1JgjXI1vlhR1JZvvhaTu2Q==}
1627
+ engines: {node: '>= 8'}
1628
+ dev: true
1629
+
1630
+ /table/6.8.0:
1631
+ resolution: {integrity: sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==}
1632
+ engines: {node: '>=10.0.0'}
1633
+ dependencies:
1634
+ ajv: 8.11.0
1635
+ lodash.truncate: 4.4.2
1636
+ slice-ansi: 4.0.0
1637
+ string-width: 4.2.3
1638
+ strip-ansi: 6.0.1
1639
+ dev: true
1640
+
1641
+ /text-table/0.2.0:
1642
+ resolution: {integrity: sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=}
1643
+ dev: true
1644
+
1645
+ /tiny-glob/0.2.9:
1646
+ resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==}
1647
+ dependencies:
1648
+ globalyzer: 0.1.0
1649
+ globrex: 0.1.2
1650
+ dev: true
1651
+
1652
+ /to-regex-range/5.0.1:
1653
+ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
1654
+ engines: {node: '>=8.0'}
1655
+ dependencies:
1656
+ is-number: 7.0.0
1657
+ dev: true
1658
+
1659
+ /tslib/1.14.1:
1660
+ resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
1661
+ dev: true
1662
+
1663
+ /tslib/2.4.0:
1664
+ resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==}
1665
+ dev: true
1666
+
1667
+ /tsutils/3.21.0_typescript@4.6.3:
1668
+ resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
1669
+ engines: {node: '>= 6'}
1670
+ peerDependencies:
1671
+ typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
1672
+ dependencies:
1673
+ tslib: 1.14.1
1674
+ typescript: 4.6.3
1675
+ dev: true
1676
+
1677
+ /type-check/0.4.0:
1678
+ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
1679
+ engines: {node: '>= 0.8.0'}
1680
+ dependencies:
1681
+ prelude-ls: 1.2.1
1682
+ dev: true
1683
+
1684
+ /type-fest/0.20.2:
1685
+ resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
1686
+ engines: {node: '>=10'}
1687
+ dev: true
1688
+
1689
+ /typescript/4.6.3:
1690
+ resolution: {integrity: sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==}
1691
+ engines: {node: '>=4.2.0'}
1692
+ hasBin: true
1693
+ dev: true
1694
+
1695
+ /uri-js/4.4.1:
1696
+ resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
1697
+ dependencies:
1698
+ punycode: 2.1.1
1699
+ dev: true
1700
+
1701
+ /v8-compile-cache/2.3.0:
1702
+ resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==}
1703
+ dev: true
1704
+
1705
+ /vite/2.9.6:
1706
+ resolution: {integrity: sha512-3IffdrByHW95Yjv0a13TQOQfJs7L5dVlSPuTt432XLbRMriWbThqJN2k/IS6kXn5WY4xBLhK9XoaWay1B8VzUw==}
1707
+ engines: {node: '>=12.2.0'}
1708
+ hasBin: true
1709
+ peerDependencies:
1710
+ less: '*'
1711
+ sass: '*'
1712
+ stylus: '*'
1713
+ peerDependenciesMeta:
1714
+ less:
1715
+ optional: true
1716
+ sass:
1717
+ optional: true
1718
+ stylus:
1719
+ optional: true
1720
+ dependencies:
1721
+ esbuild: 0.14.38
1722
+ postcss: 8.4.12
1723
+ resolve: 1.22.0
1724
+ rollup: 2.70.2
1725
+ optionalDependencies:
1726
+ fsevents: 2.3.2
1727
+ dev: true
1728
+
1729
+ /which/2.0.2:
1730
+ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
1731
+ engines: {node: '>= 8'}
1732
+ hasBin: true
1733
+ dependencies:
1734
+ isexe: 2.0.0
1735
+ dev: true
1736
+
1737
+ /word-wrap/1.2.3:
1738
+ resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==}
1739
+ engines: {node: '>=0.10.0'}
1740
+ dev: true
1741
+
1742
+ /wrappy/1.0.2:
1743
+ resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=}
1744
+ dev: true
1745
+
1746
+ /yallist/4.0.0:
1747
+ resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
1748
+ dev: true
source/ui/src/app.d.ts ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /// <reference types="@sveltejs/kit" />
2
+
3
+ // See https://kit.svelte.dev/docs/types#app
4
+ // for information about these interfaces
5
+ declare namespace App {
6
+ // interface Locals {}
7
+ // interface Platform {}
8
+ // interface Session {}
9
+ // interface Stuff {}
10
+ }
source/ui/src/app.html ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="description" content="" />
6
+ <link rel="icon" href="%svelte.assets%/wand.svg" />
7
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9
+ <link href="https://fonts.googleapis.com/css2?family=Italiana&family=Lato&display=swap" rel="stylesheet" />
10
+ <link rel="stylesheet" href="%svelte.assets%/style.css" />
11
+ <link href="https://fonts.googleapis.com/css2?family=Italiana&family=Lato&display=swap" rel="stylesheet" />
12
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
13
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
14
+ %svelte.head%
15
+ </head>
16
+ <body>
17
+ <div>%svelte.body%</div>
18
+ </body>
19
+ </html>
source/ui/src/lib/ComposeButton.svelte ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { density, composing, style, temperature, notesImage, notesTokens, audioBlob } from '$lib/stores';
3
+ import { styles } from './config.json';
4
+
5
+ const updateMetadata = () => {
6
+ if ('mediaSession' in navigator) {
7
+ navigator.mediaSession.metadata = new MediaMetadata({
8
+ title: `${styles[$style]} Composition`,
9
+ artist: 'AI Guru Composer',
10
+ album: 'Hugging Face',
11
+ artwork: [
12
+ {
13
+ src: 'static/hugging-face-headphones.png',
14
+ sizes: '512x512',
15
+ type: 'image/png',
16
+ },
17
+ ],
18
+ });
19
+ }
20
+ };
21
+
22
+ const createTask = async ({
23
+ music_style,
24
+ density,
25
+ temperature,
26
+ }: {
27
+ music_style: string;
28
+ density: string;
29
+ temperature: string;
30
+ }) => {
31
+ const taskResponse = await fetch('task/create', {
32
+ method: 'POST',
33
+ headers: {
34
+ 'Content-Type': 'application/json',
35
+ },
36
+ body: JSON.stringify({
37
+ music_style,
38
+ density,
39
+ temperature,
40
+ }),
41
+ });
42
+
43
+ if (!taskResponse.ok || !taskResponse.headers.get('content-type')?.includes('application/json')) {
44
+ throw new Error(`Unable to create composition: [${taskResponse.status}] ${await taskResponse.text()}`);
45
+ }
46
+
47
+ const task = await taskResponse.json();
48
+
49
+ return task;
50
+ };
51
+
52
+ const pollTask = async (task: Record<string, any>) => {
53
+ const taskResponse = await fetch(`task/poll?task_id=${task.task_id}`);
54
+
55
+ if (!taskResponse.ok || !taskResponse.headers.get('content-type')?.includes('application/json')) {
56
+ throw new Error(`Unable to create composition: [${taskResponse.status}] ${await taskResponse.text()}`);
57
+ }
58
+
59
+ return await taskResponse.json();
60
+ };
61
+
62
+ const longPollTask = async (task: Record<string, any>, interval = 1_000, max = 100): Promise<Record<string, any>> => {
63
+ task = await pollTask(task);
64
+
65
+ if (task.status === 'completed' || task.status === 'failed' || (max && task.poll_count > max)) {
66
+ return task;
67
+ }
68
+
69
+ await new Promise((resolve) => setTimeout(resolve, interval));
70
+
71
+ return await longPollTask(task, interval, max);
72
+ };
73
+
74
+ const compose = async () => {
75
+ $composing = true;
76
+ try {
77
+ const task = await createTask({
78
+ music_style: $style,
79
+ density: $density,
80
+ temperature: $temperature,
81
+ });
82
+
83
+ const completedTask = await longPollTask(task);
84
+ const { audio, image, tokens } = completedTask.output;
85
+ $audioBlob = audio;
86
+ $notesImage = image;
87
+ $notesTokens = tokens;
88
+
89
+ updateMetadata();
90
+ } catch (err) {
91
+ console.error(err);
92
+ } finally {
93
+ $composing = false;
94
+ }
95
+ };
96
+ </script>
97
+
98
+ <button disabled={$composing} on:click={compose}>
99
+ {#if $composing}
100
+ Composing...
101
+ {:else}
102
+ Compose <img src="static/wand.svg" alt="Magic wand" />
103
+ {/if}
104
+ </button>
105
+
106
+ <style>
107
+ button {
108
+ display: block;
109
+ font-size: 1.2rem;
110
+ font-family: 'Lato', sans-serif;
111
+ font-weight: 700;
112
+ color: hsl(0 0% 97%);
113
+ background: transparent;
114
+ border: 3px solid hsl(0 0% 97%);
115
+ border-radius: 0.375rem;
116
+ padding: 0.5rem 1rem;
117
+ cursor: pointer;
118
+ margin: 1rem auto 2rem;
119
+ }
120
+
121
+ button[disabled] {
122
+ border-color: hsl(0 0% 50%);
123
+ color: hsl(0 0% 50%);
124
+ cursor: initial;
125
+ }
126
+
127
+ img {
128
+ height: 1.2rem;
129
+ aspect-ratio: 1 / 1;
130
+ vertical-align: bottom;
131
+ }
132
+
133
+ @media (min-width: 900px) {
134
+ button {
135
+ margin-top: 0;
136
+ }
137
+ }
138
+ </style>
source/ui/src/lib/DensityOptions.svelte ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { density } from './stores';
3
+ import { densities } from './config.json';
4
+ import Radio from './Radio.svelte';
5
+ </script>
6
+
7
+ <div>
8
+ <fieldset>
9
+ <legend>Note density</legend>
10
+ <Radio bind:selection={$density} options={densities} />
11
+ </fieldset>
12
+ </div>
13
+
14
+ <style>
15
+ fieldset {
16
+ padding: 0;
17
+ border: none;
18
+ margin-top: 1rem;
19
+ }
20
+
21
+ legend {
22
+ text-align: center;
23
+ font-size: 1.25rem;
24
+ font-weight: 700;
25
+ padding: 0;
26
+ margin-bottom: 1rem;
27
+ }
28
+ </style>
source/ui/src/lib/Notes.svelte ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { afterUpdate, onMount } from 'svelte';
3
+ import { fade } from 'svelte/transition';
4
+ import { audioBlob, notesImage, style } from './stores';
5
+ import { styles } from './config.json';
6
+
7
+ let section: HTMLElement;
8
+
9
+ let currentTime: number;
10
+ let duration: number;
11
+ let paused = true;
12
+
13
+ let player: HTMLDivElement;
14
+ let visualisation: HTMLImageElement;
15
+ let imageWidth: number;
16
+ let imageHeight: number;
17
+
18
+ const updateDimensions = (): void => {
19
+ imageWidth = visualisation && visualisation.clientWidth;
20
+ imageHeight = visualisation && visualisation.clientHeight;
21
+ };
22
+
23
+ onMount(() => {
24
+ updateDimensions();
25
+
26
+ if ('mediaSession' in navigator) {
27
+ navigator.mediaSession.setActionHandler('play', () => (paused = false));
28
+ navigator.mediaSession.setActionHandler('pause', () => (paused = true));
29
+ navigator.mediaSession.setActionHandler('stop', () => {
30
+ paused = true;
31
+ currentTime = 0;
32
+ });
33
+ }
34
+
35
+ window.scrollTo({ top: section.offsetTop, behavior: 'smooth' });
36
+ });
37
+
38
+ afterUpdate((): void => {
39
+ updateDimensions();
40
+ });
41
+
42
+ const mouseMove = (event: MouseEvent): void => {
43
+ if (!duration) {
44
+ return;
45
+ }
46
+
47
+ if (!event.buttons) {
48
+ return;
49
+ }
50
+
51
+ const { left, right } = player.getBoundingClientRect();
52
+ currentTime = (duration * (event.clientX - left)) / (right - left);
53
+ };
54
+
55
+ const touchMove = (event: TouchEvent): void => {
56
+ if (!duration) {
57
+ return;
58
+ }
59
+
60
+ const { left, right } = player.getBoundingClientRect();
61
+ currentTime = (duration * (event.touches[0].clientX - left)) / (right - left);
62
+ };
63
+
64
+ const keyDown = (event: KeyboardEvent): void => {
65
+ event.preventDefault();
66
+
67
+ if (event.code === 'Space') {
68
+ paused = !paused;
69
+ }
70
+ if (event.code === 'ArrowLeft') {
71
+ currentTime = currentTime >= 1 ? currentTime - 1 : 0;
72
+ }
73
+ if (event.code === 'ArrowRight') {
74
+ currentTime = currentTime <= duration - 1 ? currentTime + 1 : duration;
75
+ }
76
+ };
77
+ </script>
78
+
79
+ <section bind:this={section} transition:fade>
80
+ <img class="notes" src={$notesImage} alt="" bind:this={visualisation} />
81
+ <div
82
+ bind:this={player}
83
+ class="player"
84
+ style:width={imageWidth + 'px'}
85
+ style:height={imageHeight + 'px'}
86
+ on:mousemove={mouseMove}
87
+ on:touchmove|preventDefault={touchMove}
88
+ on:keydown={keyDown}
89
+ on:click={() => (paused = !paused)}
90
+ tabindex="0"
91
+ >
92
+ <audio bind:currentTime bind:duration bind:paused src={$audioBlob} />
93
+ <div
94
+ class="handle"
95
+ style:transform="translate({Math.min(imageWidth * (currentTime / (duration - 0.9)), imageWidth)}px, -2%)"
96
+ />
97
+ {#if paused}
98
+ <img
99
+ class="play-button"
100
+ src="static/play.svg"
101
+ alt="Play button"
102
+ draggable="false"
103
+ transition:fade
104
+ style:width={imageHeight > 100 ? '20%' : '7.5%'}
105
+ />
106
+ {/if}
107
+ </div>
108
+ <a href={$audioBlob} download={`${styles[$style]} Composition - AI Guru ft. Hugging Face.wav`} class="download"
109
+ >Download</a
110
+ >
111
+ </section>
112
+
113
+ <style>
114
+ section {
115
+ display: flex;
116
+ flex-direction: column;
117
+ position: relative;
118
+ border: 2px solid hsl(0 0% 80%);
119
+ border-radius: 0.375rem;
120
+ padding: 1rem;
121
+ }
122
+
123
+ .player {
124
+ position: absolute;
125
+ left: 50%;
126
+ transform: translateX(-50%);
127
+ cursor: pointer;
128
+ }
129
+ .notes {
130
+ width: min(100%, 512px);
131
+ margin: auto;
132
+ box-shadow: 0 0 5px 0.1px hsl(210, 10%, 20%);
133
+ }
134
+
135
+ audio {
136
+ width: 100%;
137
+ margin: 1rem auto;
138
+ }
139
+ .play-button {
140
+ position: absolute;
141
+ left: 50%;
142
+ top: 50%;
143
+ width: 20%;
144
+ aspect-ratio: 1 / 1;
145
+ transform: translate(-50%, -50%);
146
+ filter: drop-shadow(0 0 5px black);
147
+ pointer-events: none;
148
+ cursor: pointer;
149
+ }
150
+ .handle {
151
+ position: absolute;
152
+ left: 0;
153
+ top: 0;
154
+ height: 104%;
155
+ width: 0.2rem;
156
+ border-radius: 0.1rem;
157
+ background-color: white;
158
+ cursor: pointer;
159
+ transform: translate(0, -2%);
160
+ }
161
+
162
+ a.download {
163
+ display: block;
164
+ font-size: 1.2rem;
165
+ font-family: 'Lato', sans-serif;
166
+ font-weight: 700;
167
+ color: hsl(0 0% 97%);
168
+ background: transparent;
169
+ border: 3px solid hsl(0 0% 97%);
170
+ border-radius: 0.375rem;
171
+ padding: 0.5rem 1rem;
172
+ cursor: pointer;
173
+ margin: 1rem auto auto;
174
+ }
175
+
176
+ @media (min-width: 600px) {
177
+ section {
178
+ padding: 2rem;
179
+ }
180
+ }
181
+ </style>
source/ui/src/lib/Radio.svelte ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ export let options: Record<string, string>;
3
+ const keys: string[] = Object.keys(options);
4
+ export let selection: string = keys[1];
5
+ </script>
6
+
7
+ <div class="options">
8
+ {#each keys as key}
9
+ <label data-selected={key === selection}>
10
+ {options[key]}
11
+ <input type="radio" bind:group={selection} value={key} />
12
+ </label>
13
+ {/each}
14
+ </div>
15
+
16
+ <style>
17
+ .options {
18
+ display: flex;
19
+ flex-direction: row;
20
+ justify-content: center;
21
+ width: 100%;
22
+ margin: auto;
23
+ }
24
+
25
+ label {
26
+ display: block;
27
+ margin-bottom: 1rem;
28
+ padding: 0.5rem 0.5rem;
29
+ border: 2px solid hsl(0 0% 97%);
30
+ border-right: none;
31
+ text-align: center;
32
+ transition: background-color 0.25s;
33
+ cursor: pointer;
34
+ }
35
+
36
+ label:nth-of-type(1) {
37
+ border-top-left-radius: 0.375rem;
38
+ border-bottom-left-radius: 0.375rem;
39
+ border-right-width: 0;
40
+ }
41
+ label:last-of-type {
42
+ border-top-right-radius: 0.375rem;
43
+ border-bottom-right-radius: 0.375rem;
44
+ border-right: 2px solid hsl(0 0% 97%);
45
+ }
46
+
47
+ label[data-selected='true'] {
48
+ background-color: hsl(0 0% 100%);
49
+ color: hsl(0 0% 20%);
50
+ font-weight: 700;
51
+ }
52
+
53
+ label:focus {
54
+ outline: red;
55
+ }
56
+
57
+ input {
58
+ position: fixed;
59
+ opacity: 0;
60
+ pointer-events: none;
61
+ }
62
+ </style>
source/ui/src/lib/StyleOptions.svelte ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { style } from './stores';
3
+ import { styles } from './config.json';
4
+
5
+ const keys: string[] = Object.keys(styles);
6
+ </script>
7
+
8
+ <fieldset>
9
+ <legend>{styles[$style] || 'Synthesizer'}</legend>
10
+ <div class="grid">
11
+ {#each keys as key, i}
12
+ <label data-selected={$style === key}>
13
+ <div>
14
+ <img src={`static/${key}.svg`} alt={styles[key]} />
15
+ </div>
16
+ <input type="radio" bind:group={$style} value={key} />
17
+ </label>
18
+ {/each}
19
+ </div>
20
+ </fieldset>
21
+
22
+ <style>
23
+ fieldset {
24
+ position: relative;
25
+ padding: 0;
26
+ border: none;
27
+ margin-top: 1rem;
28
+ }
29
+
30
+ legend {
31
+ text-align: center;
32
+ font-size: 1.25rem;
33
+ font-weight: 700;
34
+ padding: 0;
35
+ }
36
+
37
+ .grid {
38
+ display: grid;
39
+ grid-template-columns: repeat(4, 1fr);
40
+ gap: 1rem;
41
+ width: min-content;
42
+ margin: 1rem auto;
43
+ }
44
+
45
+ img {
46
+ width: 100%;
47
+ height: 100%;
48
+ filter: invert(1);
49
+ margin: auto;
50
+ }
51
+
52
+ label {
53
+ background-color: transparent;
54
+ border-radius: 0.375rem;
55
+ transition: background-color 0.25s;
56
+ cursor: pointer;
57
+ }
58
+
59
+ label > div {
60
+ width: 3rem;
61
+ aspect-ratio: 1 / 1;
62
+ }
63
+
64
+ input {
65
+ position: fixed;
66
+ opacity: 0;
67
+ pointer-events: none;
68
+ }
69
+
70
+ label[data-selected='true'] {
71
+ background-color: hsl(0 0% 97%);
72
+ border-radius: 0.375rem;
73
+ }
74
+
75
+ label[data-selected='true'] img {
76
+ filter: none;
77
+ }
78
+
79
+ @media (min-width: 600px) and (max-width: 899px) {
80
+ .grid {
81
+ display: flex;
82
+ flex-direction: row;
83
+ }
84
+ }
85
+
86
+ @media (min-width: 900px) {
87
+ .grid {
88
+ grid-template-columns: repeat(4, 1fr);
89
+ }
90
+ }
91
+ </style>
source/ui/src/lib/StyleOptionsButton.svelte ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ export let key: string;
3
+ export let style: string;
4
+ </script>
5
+
6
+ <button value={key} name={style}>🥁</button>
7
+
8
+ <style>
9
+ button {
10
+ width: 3.2rem;
11
+ aspect-ratio: 1 / 1;
12
+ cursor: pointer;
13
+ }
14
+ </style>
source/ui/src/lib/TemperatureOptions.svelte ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { temperature } from './stores';
3
+ import { temperatures } from './config.json';
4
+ import Radio from './Radio.svelte';
5
+ </script>
6
+
7
+ <div>
8
+ <fieldset>
9
+ <legend>Temperature</legend>
10
+ <Radio bind:selection={$temperature} options={temperatures} />
11
+ </fieldset>
12
+ </div>
13
+
14
+ <style>
15
+ fieldset {
16
+ padding: 0;
17
+ border: none;
18
+ margin-top: 1rem;
19
+ }
20
+
21
+ legend {
22
+ text-align: center;
23
+ font-size: 1.25rem;
24
+ font-weight: 700;
25
+ padding: 0;
26
+ margin-bottom: 1rem;
27
+ }
28
+ </style>
source/ui/src/lib/Tokens.svelte ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import { fade } from 'svelte/transition';
3
+ import { notesTokens } from './stores';
4
+ </script>
5
+
6
+ {#if $notesTokens}
7
+ <section transition:fade>
8
+ <h2>Tokenized notes</h2>
9
+ <p>{$notesTokens}</p>
10
+ </section>
11
+ {/if}
12
+
13
+ <style>
14
+ section {
15
+ border: 2px solid hsl(0 0% 80%);
16
+ border-radius: 0.375rem;
17
+ padding: 1rem;
18
+ }
19
+
20
+ p {
21
+ font-size: 0.75rem;
22
+ }
23
+ </style>
source/ui/src/lib/config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "styles": {
3
+ "piano": "Piano",
4
+ "chamber": "Chamber Music",
5
+ "rock_and_metal": "Rock and Metal",
6
+ "synth": "Synthesizer",
7
+ "church": "Church",
8
+ "timpani_strings_harp": "Timpani, Contrabass, Harp",
9
+ "country": "Country",
10
+ "reggae": "Reggae-esque"
11
+ },
12
+ "densities": {
13
+ "low": "Low",
14
+ "medium": "Medium",
15
+ "high": "High"
16
+ },
17
+ "temperatures": {
18
+ "low": "Low",
19
+ "medium": "Medium",
20
+ "high": "High",
21
+ "very_high": "Very High"
22
+ }
23
+ }
source/ui/src/lib/stores.ts ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { writable } from 'svelte/store';
2
+
3
+ import type { Writable } from 'svelte/store';
4
+
5
+ /* Input parameters */
6
+ export const style: Writable<string> = writable('synth');
7
+ export const density: Writable<string> = writable('medium');
8
+ export const temperature: Writable<string> = writable('medium');
9
+
10
+ /* Audio state */
11
+ export const composing: Writable<boolean> = writable(false);
12
+ export const audioDuration: Writable<number> = writable(0);
13
+ export const audioTime: Writable<number> = writable(0);
14
+ export const audioPaused: Writable<boolean> = writable(true);
15
+
16
+ /* Composition outputs */
17
+ export const audioBlob: Writable<string> = writable('');
18
+ export const notesImage: Writable<string> = writable('');
19
+ export const notesImageWidth: Writable<number> = writable(0);
20
+ export const notesTokens: Writable<string> = writable('');
source/ui/src/routes/index.svelte ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ import StyleOptions from '$lib/StyleOptions.svelte';
3
+ import DensityOptions from '$lib/DensityOptions.svelte';
4
+ import TemperatureOptions from '$lib/TemperatureOptions.svelte';
5
+ import ComposeButton from '$lib/ComposeButton.svelte';
6
+ import Notes from '$lib/Notes.svelte';
7
+ import Tokens from '$lib/Tokens.svelte';
8
+ import { audioBlob } from '$lib/stores';
9
+ </script>
10
+
11
+ <main>
12
+ <h1>Composer</h1>
13
+ <p class="heading">Trained on fifteen thousand songs. One AI model. Infinite compositions.</p>
14
+ <p>
15
+ This space contains a deep neural network model that can compose music. You can use it to generate audio in
16
+ different styles, 4 bars at a time.
17
+ </p>
18
+ <p>
19
+ Developed by <a href="https://twitter.com/ronvoluted" rel="noopener" target="_blank">Ron Au</a> and
20
+ <a href="https://twitter.com/DrTBehrens" rel="noopener" target="_blank">Tristan Behrens</a>.
21
+ </p>
22
+ <p>Have fun! And always feel free to send us some feedback and share your compositions!</p>
23
+ <section id="options">
24
+ <StyleOptions />
25
+ <DensityOptions />
26
+ <TemperatureOptions />
27
+ </section>
28
+ <ComposeButton />
29
+ {#if $audioBlob}
30
+ <Notes />
31
+ <Tokens />
32
+ {/if}
33
+ </main>
34
+
35
+ <style>
36
+ main {
37
+ width: 100%;
38
+ display: flex;
39
+ flex-direction: column;
40
+ gap: 1rem;
41
+ margin: 0 auto;
42
+ }
43
+
44
+ h1 {
45
+ font-size: 1.5rem;
46
+ border-left: 0.25ch solid hsl(0 0% 97%);
47
+ padding-left: 0.5ch;
48
+ }
49
+
50
+ .heading {
51
+ font-size: 2.25rem;
52
+ }
53
+
54
+ p:not(.heading) {
55
+ max-width: 40rem;
56
+ font-size: 1.2rem;
57
+ line-height: 1.5rem;
58
+ margin: 0;
59
+ }
60
+
61
+ #options {
62
+ display: flex;
63
+ flex-direction: column;
64
+ justify-content: space-between;
65
+ margin-top: 1rem;
66
+ }
67
+
68
+ @media (min-width: 600px) {
69
+ main {
70
+ max-width: 60rem;
71
+ }
72
+ }
73
+ @media (min-width: 900px) {
74
+ #options {
75
+ display: flex;
76
+ flex-direction: row;
77
+ justify-content: space-between;
78
+ }
79
+ }
80
+ </style>
source/ui/static/chamber.svg ADDED
source/ui/static/church.svg ADDED
source/ui/static/country.svg ADDED
source/ui/static/hugging-face-headphones.png ADDED
source/ui/static/piano.svg ADDED
source/ui/static/play.svg ADDED
source/ui/static/reggae.svg ADDED
source/ui/static/rock_and_metal.svg ADDED
source/ui/static/style.css ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ html {
2
+ height: 100%;
3
+ }
4
+
5
+ body {
6
+ padding: 1rem;
7
+ font-family: 'Lato', sans-serif;
8
+ background-color: hsl(0 0% 1%);
9
+ background: linear-gradient(hsl(0 0% 1%) 50%, hsl(0 0% 8%) 100%);
10
+ background-attachment: fixed;
11
+ }
12
+
13
+ h1 {
14
+ font-family: 'Italiana', serif;
15
+ letter-spacing: 0.05ch;
16
+ }
17
+
18
+
19
+ body, h1 {
20
+ color: hsl(0 0% 97%);
21
+ }
22
+
23
+ a, a:visited {
24
+ color: white;
25
+ text-decoration: none;
26
+ font-weight: 700;
27
+ }
28
+
29
+
30
+ @media (min-width: 600px) {
31
+ body {
32
+ padding: 2rem;
33
+ }
34
+ }
source/ui/static/synth.svg ADDED
source/ui/static/timpani_strings_harp.svg ADDED
source/ui/static/wand.svg ADDED
source/ui/svelte.config.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import adapter from '@sveltejs/adapter-static';
2
+ import preprocess from 'svelte-preprocess';
3
+
4
+ /** @type {import('@sveltejs/kit').Config} */
5
+ const config = {
6
+ preprocess: preprocess(),
7
+
8
+ kit: {
9
+ adapter: adapter({
10
+ pages: '../../static',
11
+ assets: '../../static',
12
+ }),
13
+ paths: {
14
+ base: '/static',
15
+ },
16
+ prerender: {
17
+ default: true,
18
+ },
19
+ vite: {
20
+ server: {
21
+ watch: {
22
+ usePolling: true,
23
+ },
24
+ },
25
+ },
26
+ },
27
+ };
28
+
29
+ export default config;
source/ui/tsconfig.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "extends": "./.svelte-kit/tsconfig.json",
3
+ "compilerOptions": {
4
+ "allowJs": true,
5
+ "checkJs": true,
6
+ "esModuleInterop": true,
7
+ "forceConsistentCasingInFileNames": true,
8
+ "importHelpers": true,
9
+ "importsNotUsedAsValues": "error",
10
+ "isolatedModules": true,
11
+ "lib": ["es2020", "DOM"],
12
+ "moduleResolution": "node",
13
+ "module": "es2020",
14
+ "paths": {
15
+ "$lib": ["src/lib"],
16
+ "$lib/*": ["src/lib/*"]
17
+ },
18
+ "resolveJsonModule": true,
19
+ "skipLibCheck": true,
20
+ "sourceMap": true,
21
+ "strict": true,
22
+ "target": "es2020"
23
+ },
24
+ "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"],
25
+ }
start.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import subprocess
2
+
3
+ subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True)
static/_app/assets/pages/index.svelte-ad990746.css ADDED
@@ -0,0 +1 @@
 
 
1
+ fieldset.svelte-1r9pswz.svelte-1r9pswz{position:relative;padding:0;border:none;margin-top:1rem}legend.svelte-1r9pswz.svelte-1r9pswz{text-align:center;font-size:1.25rem;font-weight:700;padding:0}.grid.svelte-1r9pswz.svelte-1r9pswz{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;width:min-content;margin:1rem auto}img.svelte-1r9pswz.svelte-1r9pswz{width:100%;height:100%;filter:invert(1);margin:auto}label.svelte-1r9pswz.svelte-1r9pswz{background-color:transparent;border-radius:.375rem;transition:background-color .25s;cursor:pointer}label.svelte-1r9pswz>div.svelte-1r9pswz{width:3rem;aspect-ratio:1 / 1}input.svelte-1r9pswz.svelte-1r9pswz{position:fixed;opacity:0;pointer-events:none}label[data-selected=true].svelte-1r9pswz.svelte-1r9pswz{background-color:#f7f7f7;border-radius:.375rem}label[data-selected=true].svelte-1r9pswz img.svelte-1r9pswz{filter:none}@media (min-width: 600px) and (max-width: 899px){.grid.svelte-1r9pswz.svelte-1r9pswz{display:flex;flex-direction:row}}@media (min-width: 900px){.grid.svelte-1r9pswz.svelte-1r9pswz{grid-template-columns:repeat(4,1fr)}}.options.svelte-1m848u0{display:flex;flex-direction:row;justify-content:center;width:100%;margin:auto}label.svelte-1m848u0{display:block;margin-bottom:1rem;padding:.5rem;border:2px solid hsl(0 0% 97%);border-right:none;text-align:center;transition:background-color .25s;cursor:pointer}label.svelte-1m848u0:nth-of-type(1){border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;border-right-width:0}label.svelte-1m848u0:last-of-type{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem;border-right:2px solid hsl(0 0% 97%)}label[data-selected=true].svelte-1m848u0{background-color:#fff;color:#333;font-weight:700}label.svelte-1m848u0:focus{outline:red}input.svelte-1m848u0{position:fixed;opacity:0;pointer-events:none}fieldset.svelte-1ikh8be{padding:0;border:none;margin-top:1rem}legend.svelte-1ikh8be{text-align:center;font-size:1.25rem;font-weight:700;padding:0;margin-bottom:1rem}button.svelte-18w38ow{display:block;font-size:1.2rem;font-family:Lato,sans-serif;font-weight:700;color:#f7f7f7;background:transparent;border:3px solid hsl(0 0% 97%);border-radius:.375rem;padding:.5rem 1rem;cursor:pointer;margin:1rem auto 2rem}button[disabled].svelte-18w38ow{border-color:gray;color:gray;cursor:initial}img.svelte-18w38ow{height:1.2rem;aspect-ratio:1 / 1;vertical-align:bottom}@media (min-width: 900px){button.svelte-18w38ow{margin-top:0}}section.svelte-1536b0c{display:flex;flex-direction:column;position:relative;border:2px solid hsl(0 0% 80%);border-radius:.375rem;padding:1rem}.player.svelte-1536b0c{position:absolute;left:50%;transform:translate(-50%);cursor:pointer}.notes.svelte-1536b0c{width:min(100%,512px);margin:auto;box-shadow:0 0 5px .1px #2e3338}audio.svelte-1536b0c{width:100%;margin:1rem auto}.play-button.svelte-1536b0c{position:absolute;left:50%;top:50%;width:20%;aspect-ratio:1 / 1;transform:translate(-50%,-50%);filter:drop-shadow(0 0 5px black);pointer-events:none;cursor:pointer}.handle.svelte-1536b0c{position:absolute;left:0;top:0;height:104%;width:.2rem;border-radius:.1rem;background-color:#fff;cursor:pointer;transform:translateY(-2%)}a.download.svelte-1536b0c{display:block;font-size:1.2rem;font-family:Lato,sans-serif;font-weight:700;color:#f7f7f7;background:transparent;border:3px solid hsl(0 0% 97%);border-radius:.375rem;padding:.5rem 1rem;cursor:pointer;margin:1rem auto auto}@media (min-width: 600px){section.svelte-1536b0c{padding:2rem}}section.svelte-4un5mw{border:2px solid hsl(0 0% 80%);border-radius:.375rem;padding:1rem}p.svelte-4un5mw{font-size:.75rem}main.svelte-1rfjlkw{width:100%;display:flex;flex-direction:column;gap:1rem;margin:0 auto}h1.svelte-1rfjlkw{font-size:1.5rem;border-left:.25ch solid hsl(0 0% 97%);padding-left:.5ch}.heading.svelte-1rfjlkw{font-size:2.25rem}p.svelte-1rfjlkw:not(.heading){max-width:40rem;font-size:1.2rem;line-height:1.5rem;margin:0}#options.svelte-1rfjlkw{display:flex;flex-direction:column;justify-content:space-between;margin-top:1rem}@media (min-width: 600px){main.svelte-1rfjlkw{max-width:60rem}}@media (min-width: 900px){#options.svelte-1rfjlkw{display:flex;flex-direction:row;justify-content:space-between}}
static/_app/chunks/index-7c452e28.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ function k(){}const rt=t=>t;function st(t,e){for(const n in e)t[n]=e[n];return t}function J(t){return t()}function I(){return Object.create(null)}function x(t){t.forEach(J)}function K(t){return typeof t=="function"}function Pt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let j;function qt(t,e){return j||(j=document.createElement("a")),j.href=e,t===j.href}function ct(t){return Object.keys(t).length===0}function lt(t,...e){if(t==null)return k;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Tt(t,e,n){t.$$.on_destroy.push(lt(e,n))}function zt(t,e,n,r){if(t){const s=Q(t,e,n,r);return t[0](s)}}function Q(t,e,n,r){return t[1]&&r?st(n.ctx.slice(),t[1](r(e))):n.ctx}function Bt(t,e,n,r){if(t[2]&&r){const s=t[2](r(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const o=[],i=Math.max(e.dirty.length,s.length);for(let l=0;l<i;l+=1)o[l]=e.dirty[l]|s[l];return o}return e.dirty|s}return e.dirty}function Lt(t,e,n,r,s,o){if(s){const i=Q(e,n,r,o);t.p(i,s)}}function Ft(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let r=0;r<n;r++)e[r]=-1;return e}return-1}function Ht(t,e,n){return t.set(n),e}const U=typeof window!="undefined";let ot=U?()=>window.performance.now():()=>Date.now(),L=U?t=>requestAnimationFrame(t):k;const b=new Set;function V(t){b.forEach(e=>{e.c(t)||(b.delete(e),e.f())}),b.size!==0&&L(V)}function ut(t){let e;return b.size===0&&L(V),{promise:new Promise(n=>{b.add(e={c:t,f:n})}),abort(){b.delete(e)}}}let O=!1;function at(){O=!0}function ft(){O=!1}function _t(t,e,n,r){for(;t<e;){const s=t+(e-t>>1);n(s)<=r?t=s+1:e=s}return t}function dt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let u=0;u<e.length;u++){const _=e[u];_.claim_order!==void 0&&c.push(_)}e=c}const n=new Int32Array(e.length+1),r=new Int32Array(e.length);n[0]=-1;let s=0;for(let c=0;c<e.length;c++){const u=e[c].claim_order,_=(s>0&&e[n[s]].claim_order<=u?s+1:_t(1,s,a=>e[n[a]].claim_order,u))-1;r[c]=n[_]+1;const f=_+1;n[f]=c,s=Math.max(f,s)}const o=[],i=[];let l=e.length-1;for(let c=n[s]+1;c!=0;c=r[c-1]){for(o.push(e[c-1]);l>=c;l--)i.push(e[l]);l--}for(;l>=0;l--)i.push(e[l]);o.reverse(),i.sort((c,u)=>c.claim_order-u.claim_order);for(let c=0,u=0;c<i.length;c++){for(;u<o.length&&i[c].claim_order>=o[u].claim_order;)u++;const _=u<o.length?o[u]:null;t.insertBefore(i[c],_)}}function ht(t,e){t.appendChild(e)}function X(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function mt(t){const e=Y("style");return pt(X(t),e),e.sheet}function pt(t,e){ht(t.head||t,e)}function yt(t,e){if(O){for(dt(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function It(t,e,n){O&&!n?yt(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function gt(t){t.parentNode.removeChild(t)}function Wt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function Y(t){return document.createElement(t)}function F(t){return document.createTextNode(t)}function Gt(){return F(" ")}function Jt(){return F("")}function Kt(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ut(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function bt(t){return Array.from(t.childNodes)}function xt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Z(t,e,n,r,s=!1){xt(t);const o=(()=>{for(let i=t.claim_info.last_index;i<t.length;i++){const l=t[i];if(e(l)){const c=n(l);return c===void 0?t.splice(i,1):t[i]=c,s||(t.claim_info.last_index=i),l}}for(let i=t.claim_info.last_index-1;i>=0;i--){const l=t[i];if(e(l)){const c=n(l);return c===void 0?t.splice(i,1):t[i]=c,s?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=i,l}}return r()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function $t(t,e,n,r){return Z(t,s=>s.nodeName===e,s=>{const o=[];for(let i=0;i<s.attributes.length;i++){const l=s.attributes[i];n[l.name]||o.push(l.name)}o.forEach(i=>s.removeAttribute(i))},()=>r(e))}function Vt(t,e,n){return $t(t,e,n,Y)}function wt(t,e){return Z(t,n=>n.nodeType===3,n=>{const r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>F(e),!0)}function Xt(t){return wt(t," ")}function Yt(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function Zt(t,e,n,r){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function vt(t,e,n=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,!1,e),r}const M=new Map;let R=0;function Et(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function kt(t,e){const n={stylesheet:mt(e),rules:{}};return M.set(t,n),n}function W(t,e,n,r,s,o,i,l=0){const c=16.666/r;let u=`{
2
+ `;for(let p=0;p<=1;p+=c){const g=e+(n-e)*o(p);u+=p*100+`%{${i(g,1-g)}}
3
+ `}const _=u+`100% {${i(n,1-n)}}
4
+ }`,f=`__svelte_${Et(_)}_${l}`,a=X(t),{stylesheet:d,rules:h}=M.get(a)||kt(a,t);h[f]||(h[f]=!0,d.insertRule(`@keyframes ${f} ${_}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${f} ${r}ms linear ${s}ms 1 both`,R+=1,f}function Nt(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),s=n.length-r.length;s&&(t.style.animation=r.join(", "),R-=s,R||jt())}function jt(){L(()=>{R||(M.forEach(t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}}),M.clear())})}let E;function v(t){E=t}function H(){if(!E)throw new Error("Function called outside component initialization");return E}function te(t){H().$$.on_mount.push(t)}function ee(t){H().$$.after_update.push(t)}function ne(t,e){H().$$.context.set(t,e)}const w=[],G=[],C=[],z=[],tt=Promise.resolve();let B=!1;function et(){B||(B=!0,tt.then(nt))}function ie(){return et(),tt}function D(t){C.push(t)}function re(t){z.push(t)}const q=new Set;let A=0;function nt(){const t=E;do{for(;A<w.length;){const e=w[A];A++,v(e),At(e.$$)}for(v(null),w.length=0,A=0;G.length;)G.pop()();for(let e=0;e<C.length;e+=1){const n=C[e];q.has(n)||(q.add(n),n())}C.length=0}while(w.length);for(;z.length;)z.pop()();B=!1,q.clear(),v(t)}function At(t){if(t.fragment!==null){t.update(),x(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(D)}}let $;function Ct(){return $||($=Promise.resolve(),$.then(()=>{$=null})),$}function T(t,e,n){t.dispatchEvent(vt(`${e?"intro":"outro"}${n}`))}const S=new Set;let m;function se(){m={r:0,c:[],p:m}}function ce(){m.r||x(m.c),m=m.p}function St(t,e){t&&t.i&&(S.delete(t),t.i(e))}function le(t,e,n,r){if(t&&t.o){if(S.has(t))return;S.add(t),m.c.push(()=>{S.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const Mt={duration:0};function oe(t,e,n,r){let s=e(t,n),o=r?0:1,i=null,l=null,c=null;function u(){c&&Nt(t,c)}function _(a,d){const h=a.b-o;return d*=Math.abs(h),{a:o,b:a.b,d:h,duration:d,start:a.start,end:a.start+d,group:a.group}}function f(a){const{delay:d=0,duration:h=300,easing:y=rt,tick:p=k,css:g}=s||Mt,P={start:ot()+d,b:a};a||(P.group=m,m.r+=1),i||l?l=P:(g&&(u(),c=W(t,o,a,h,d,y,g)),a&&p(0,1),i=_(P,h),D(()=>T(t,a,"start")),ut(N=>{if(l&&N>l.start&&(i=_(l,h),l=null,T(t,i.b,"start"),g&&(u(),c=W(t,o,i.b,i.duration,0,y,s.css))),i){if(N>=i.end)p(o=i.b,1-o),T(t,i.b,"end"),l||(i.b?u():--i.group.r||x(i.group.c)),i=null;else if(N>=i.start){const it=N-i.start;o=i.a+i.d*y(it/i.duration),p(o,1-o)}}return!!(i||l)}))}return{run(a){K(s)?Ct().then(()=>{s=s(),f(a)}):f(a)},end(){u(),i=l=null}}}function ue(t,e){const n={},r={},s={$$scope:1};let o=t.length;for(;o--;){const i=t[o],l=e[o];if(l){for(const c in i)c in l||(r[c]=1);for(const c in l)s[c]||(n[c]=l[c],s[c]=1);t[o]=l}else for(const c in i)s[c]=1}for(const i in r)i in n||(n[i]=void 0);return n}function ae(t){return typeof t=="object"&&t!==null?t:{}}function fe(t,e,n){const r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function _e(t){t&&t.c()}function de(t,e){t&&t.l(e)}function Rt(t,e,n,r){const{fragment:s,on_mount:o,on_destroy:i,after_update:l}=t.$$;s&&s.m(e,n),r||D(()=>{const c=o.map(J).filter(K);i?i.push(...c):x(c),t.$$.on_mount=[]}),l.forEach(D)}function Dt(t,e){const n=t.$$;n.fragment!==null&&(x(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Ot(t,e){t.$$.dirty[0]===-1&&(w.push(t),et(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function he(t,e,n,r,s,o,i,l=[-1]){const c=E;v(t);const u=t.$$={fragment:null,ctx:null,props:o,update:k,not_equal:s,bound:I(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:I(),dirty:l,skip_bound:!1,root:e.target||c.$$.root};i&&i(u.root);let _=!1;if(u.ctx=n?n(t,e.props||{},(f,a,...d)=>{const h=d.length?d[0]:a;return u.ctx&&s(u.ctx[f],u.ctx[f]=h)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](h),_&&Ot(t,f)),a}):[],u.update(),_=!0,x(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){at();const f=bt(e.target);u.fragment&&u.fragment.l(f),f.forEach(gt)}else u.fragment&&u.fragment.c();e.intro&&St(t.$$.fragment),Rt(t,e.target,e.anchor,e.customElement),ft(),nt()}v(c)}class me{$destroy(){Dt(this,1),this.$destroy=k}$on(e,n){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const s=r.indexOf(n);s!==-1&&r.splice(s,1)}}$set(e){this.$$set&&!ct(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{ae as A,Dt as B,st as C,ie as D,k as E,zt as F,Lt as G,Ft as H,Bt as I,yt as J,qt as K,Kt as L,Wt as M,Tt as N,G as O,fe as P,re as Q,Ht as R,me as S,rt as T,D as U,oe as V,Qt as W,x as X,L as Y,bt as a,Ut as b,Vt as c,gt as d,Y as e,Zt as f,It as g,wt as h,he as i,Yt as j,Gt as k,Jt as l,Xt as m,se as n,le as o,ce as p,St as q,ne as r,Pt as s,F as t,ee as u,te as v,_e as w,de as x,Rt as y,ue as z};
static/_app/chunks/index-d282aaf8.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{E as f,s as l}from"./index-7c452e28.js";const e=[];function h(n,u=f){let o;const i=new Set;function r(t){if(l(n,t)&&(n=t,o)){const c=!e.length;for(const s of i)s[1](),e.push(s,n);if(c){for(let s=0;s<e.length;s+=2)e[s][0](e[s+1]);e.length=0}}}function b(t){r(t(n))}function p(t,c=f){const s=[t,c];return i.add(s),i.size===1&&(o=u(r)||f),t(n),()=>{i.delete(s),i.size===0&&(o(),o=null)}}return{set:r,update:b,subscribe:p}}export{h as w};
static/_app/error.svelte-929faa0c.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as w,i as y,s as z,e as E,t as v,c as d,a as b,h as P,d as o,g as u,J as R,j as N,k as S,l as C,m as j,E as H}from"./chunks/index-7c452e28.js";function J(r){let l,t=r[1].frame+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&N(a,t)},d(f){f&&o(l)}}}function h(r){let l,t=r[1].stack+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&N(a,t)},d(f){f&&o(l)}}}function A(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&J(r),_=r[1].stack&&h(r);return{c(){l=E("h1"),t=v(r[0]),a=S(),f=E("pre"),c=v(s),k=S(),i&&i.c(),n=S(),_&&_.c(),p=C()},l(e){l=d(e,"H1",{});var m=b(l);t=P(m,r[0]),m.forEach(o),a=j(e),f=d(e,"PRE",{});var q=b(f);c=P(q,s),q.forEach(o),k=j(e),i&&i.l(e),n=j(e),_&&_.l(e),p=C()},m(e,m){u(e,l,m),R(l,t),u(e,a,m),u(e,f,m),R(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&N(t,e[0]),m&2&&s!==(s=e[1].message+"")&&N(c,s),e[1].frame?i?i.p(e,m):(i=J(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=h(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:H,o:H,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function F({error:r,status:l}){return{props:{error:r,status:l}}}function B(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class G extends w{constructor(l){super(),y(this,l,B,A,z,{status:0,error:1})}}export{G as default,F as load};
static/_app/layout.svelte-6bd51f02.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as l,i,s as r,F as u,G as f,H as _,I as c,q as p,o as d}from"./chunks/index-7c452e28.js";function m(n){let s;const o=n[1].default,e=u(o,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),s=!0},p(t,[a]){e&&e.p&&(!s||a&1)&&f(e,o,t,t[0],s?c(o,t[0],a,null):_(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){d(e,t),s=!1},d(t){e&&e.d(t)}}}function $(n,s,o){let{$$slots:e={},$$scope:t}=s;return n.$$set=a=>{"$$scope"in a&&o(0,t=a.$$scope)},[t,e]}class h extends l{constructor(s){super(),i(this,s,$,m,r,{})}}export{h as default};
static/_app/manifest.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ ".svelte-kit/runtime/client/start.js": {
3
+ "file": "start-36a09db6.js",
4
+ "src": ".svelte-kit/runtime/client/start.js",
5
+ "isEntry": true,
6
+ "imports": [
7
+ "_index-7c452e28.js",
8
+ "_index-d282aaf8.js"
9
+ ],
10
+ "dynamicImports": [
11
+ ".svelte-kit/runtime/components/layout.svelte",
12
+ ".svelte-kit/runtime/components/error.svelte",
13
+ "src/routes/index.svelte"
14
+ ]
15
+ },
16
+ ".svelte-kit/runtime/components/layout.svelte": {
17
+ "file": "layout.svelte-6bd51f02.js",
18
+ "src": ".svelte-kit/runtime/components/layout.svelte",
19
+ "isEntry": true,
20
+ "isDynamicEntry": true,
21
+ "imports": [
22
+ "_index-7c452e28.js"
23
+ ]
24
+ },
25
+ ".svelte-kit/runtime/components/error.svelte": {
26
+ "file": "error.svelte-929faa0c.js",
27
+ "src": ".svelte-kit/runtime/components/error.svelte",
28
+ "isEntry": true,
29
+ "isDynamicEntry": true,
30
+ "imports": [
31
+ "_index-7c452e28.js"
32
+ ]
33
+ },
34
+ "src/routes/index.svelte": {
35
+ "file": "pages/index.svelte-9646dd5a.js",
36
+ "src": "src/routes/index.svelte",
37
+ "isEntry": true,
38
+ "isDynamicEntry": true,
39
+ "imports": [
40
+ "_index-7c452e28.js",
41
+ "_index-d282aaf8.js"
42
+ ],
43
+ "css": [
44
+ "assets/pages/index.svelte-ad990746.css"
45
+ ]
46
+ },
47
+ "_index-7c452e28.js": {
48
+ "file": "chunks/index-7c452e28.js"
49
+ },
50
+ "_index-d282aaf8.js": {
51
+ "file": "chunks/index-d282aaf8.js",
52
+ "imports": [
53
+ "_index-7c452e28.js"
54
+ ]
55
+ }
56
+ }