A village in northern Siberia with a herd of deer
#1
by
Berozhida
- opened
- .github/README.md +0 -1
- .gitignore +1 -4
- ALT-README.md +0 -1
- Makefile +3 -6
- README.md +1 -1
- app.py +7 -98
- frontend/package-lock.json +135 -154
- frontend/package.json +9 -10
- frontend/src/app.html +1 -1
- frontend/src/lib/Message.svelte +1 -16
- frontend/src/lib/Result.svelte +13 -39
- frontend/src/lib/badges/fifteen.svelte +0 -119
- frontend/src/lib/badges/fifty.svelte +0 -106
- frontend/src/lib/badges/five.svelte +0 -120
- frontend/src/lib/badges/ten.svelte +0 -115
- frontend/src/lib/badges/thirtyfive.svelte +0 -109
- frontend/src/lib/badges/twenty.svelte +0 -109
- frontend/src/lib/badges/two.svelte +0 -84
- frontend/src/lib/store.ts +0 -26
- frontend/src/lib/utils.ts +2 -12
- frontend/src/routes/index.svelte +37 -153
- frontend/src/types.ts +2 -13
- frontend/static/img1.jpg +0 -0
- frontend/static/img2.jpg +0 -0
- frontend/svelte.config.js +1 -1
- install-node.sh +1 -2
- requirements.txt +1 -2
- static/_app/immutable/assets/pages/__layout.svelte-7926a3a8.css +0 -1
- static/_app/immutable/assets/pages/index.svelte-b52b250e.css +0 -1
- static/_app/immutable/chunks/fifteen-9add13bd.js +0 -1
- static/_app/immutable/chunks/fifty-f65036e1.js +0 -1
- static/_app/immutable/chunks/five-ba00de65.js +0 -1
- static/_app/immutable/chunks/index-86f4d6c3.js +0 -4
- static/_app/immutable/chunks/preload-helper-359634c4.js +0 -1
- static/_app/immutable/chunks/ten-042882a1.js +0 -1
- static/_app/immutable/chunks/thirtyfive-e8960031.js +0 -1
- static/_app/immutable/chunks/twenty-39a31000.js +0 -1
- static/_app/immutable/chunks/two-86591465.js +0 -1
- static/_app/immutable/error.svelte-ca9403a0.js +0 -1
- static/_app/immutable/manifest.json +0 -124
- static/_app/immutable/pages/__layout.svelte-53f051f3.js +0 -1
- static/_app/immutable/pages/index.svelte-e9dccd76.js +0 -15
- static/_app/immutable/start-cc027d18.js +0 -1
- static/_app/version.json +0 -1
- static/img1.jpg +0 -0
- static/img2.jpg +0 -0
- static/index.html +0 -43
.github/README.md
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
../ALT-README.md
|
|
.gitignore
CHANGED
@@ -25,7 +25,4 @@ htmlcov/
|
|
25 |
*,cover
|
26 |
venv
|
27 |
*_cache.json
|
28 |
-
|
29 |
-
prompts.db
|
30 |
-
static/data.json
|
31 |
-
static/images
|
25 |
*,cover
|
26 |
venv
|
27 |
*_cache.json
|
28 |
+
static
|
|
|
|
|
|
ALT-README.md
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
# Wordalle
|
|
Makefile
CHANGED
@@ -4,9 +4,6 @@ build-client:
|
|
4 |
cd frontend && npm install && npm run build && rm -rf ../static && cp -r build/ ../static/
|
5 |
build-dev:
|
6 |
cd frontend && npm install && NODE_ENV=development npm run build && rm -rf ../static && cp -rv build/ ../static/
|
7 |
-
run
|
8 |
-
|
9 |
-
|
10 |
-
python app.py
|
11 |
-
# build-all: install-node build-client run
|
12 |
-
build-all: run-prod
|
4 |
cd frontend && npm install && npm run build && rm -rf ../static && cp -r build/ ../static/
|
5 |
build-dev:
|
6 |
cd frontend && npm install && NODE_ENV=development npm run build && rm -rf ../static && cp -rv build/ ../static/
|
7 |
+
run:
|
8 |
+
FLASK_ENV=development python app.py
|
9 |
+
build-all: install-node build-client run
|
|
|
|
|
|
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Wordalle
|
3 |
-
emoji:
|
4 |
colorFrom: blue
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
1 |
---
|
2 |
title: Wordalle
|
3 |
+
emoji: 🚀
|
4 |
colorFrom: blue
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
app.py
CHANGED
@@ -5,56 +5,25 @@ import uuid
|
|
5 |
from pathlib import Path
|
6 |
import json
|
7 |
from datasets import load_dataset
|
8 |
-
from flask import Flask
|
9 |
from flask_cors import CORS
|
10 |
-
from flask_apscheduler import APScheduler
|
11 |
-
import shutil
|
12 |
-
from PIL import Image
|
13 |
-
import sqlite3
|
14 |
-
from huggingface_hub import Repository
|
15 |
-
import subprocess
|
16 |
|
17 |
app = Flask(__name__, static_url_path='/static')
|
18 |
|
19 |
CORS(app)
|
20 |
|
21 |
TOKEN = os.environ.get('dataset_token')
|
22 |
-
|
23 |
-
DB_FILE = Path("./prompts.db")
|
24 |
-
|
25 |
-
repo = Repository(
|
26 |
-
local_dir="data",
|
27 |
-
repo_type="dataset",
|
28 |
-
clone_from="huggingface-projects/wordalle_guesses",
|
29 |
-
use_auth_token=TOKEN
|
30 |
-
)
|
31 |
-
repo.git_pull()
|
32 |
-
# copy db on db to local path
|
33 |
-
shutil.copyfile("./data/prompts.db", DB_FILE)
|
34 |
-
|
35 |
-
dataset = load_dataset(
|
36 |
-
"huggingface-projects/wordalle_prompts",
|
37 |
-
use_auth_token=TOKEN)
|
38 |
-
|
39 |
Path("static/images").mkdir(parents=True, exist_ok=True)
|
40 |
|
41 |
-
db = sqlite3.connect(DB_FILE)
|
42 |
-
try:
|
43 |
-
data = db.execute("SELECT * FROM prompts").fetchall()
|
44 |
-
db.close()
|
45 |
-
except sqlite3.OperationalError:
|
46 |
-
db.execute('CREATE TABLE prompts (guess TEXT, correct TEXT)')
|
47 |
-
db.commit()
|
48 |
-
|
49 |
# extract images and prompts from dataset and save to dis
|
50 |
data = {}
|
51 |
for row in dataset['train']:
|
52 |
prompt = dataset['train'].features['label'].int2str(row['label'])
|
53 |
image = row['image']
|
54 |
hash = uuid.uuid4().hex
|
55 |
-
image_file = Path(f'static/images/{hash}.
|
56 |
-
|
57 |
-
image_compress.save(image_file, optimize=True, quality=95)
|
58 |
if prompt not in data:
|
59 |
data[prompt] = []
|
60 |
data[prompt].append(str(image_file))
|
@@ -63,74 +32,14 @@ with open('static/data.json', 'w') as f:
|
|
63 |
json.dump(data, f)
|
64 |
|
65 |
|
66 |
-
|
67 |
-
repo.git_pull()
|
68 |
-
# copy db on db to local path
|
69 |
-
shutil.copyfile(DB_FILE, "./data/prompts.db")
|
70 |
-
|
71 |
-
with sqlite3.connect("./data/prompts.db") as db:
|
72 |
-
db.row_factory = sqlite3.Row
|
73 |
-
result = db.execute("SELECT * FROM prompts").fetchall()
|
74 |
-
# data = [dict(row) for row in result]
|
75 |
-
os
|
76 |
-
# with open('./data/data.json', 'w') as f:
|
77 |
-
# json.dump(data, f, separators=(',', ':'))
|
78 |
-
|
79 |
-
print("Updating repository")
|
80 |
-
subprocess.Popen(
|
81 |
-
"git add . && git commit --amend -m 'update' && git push --force", cwd="./data", shell=True)
|
82 |
-
# repo.push_to_hub(blocking=False)
|
83 |
-
|
84 |
-
|
85 |
-
@ app.route('/')
|
86 |
def index():
|
87 |
return app.send_static_file('index.html')
|
88 |
|
89 |
-
|
90 |
-
@ app.route('/force_push')
|
91 |
-
def push():
|
92 |
-
if(request.headers['token'] == TOKEN):
|
93 |
-
print("Force Push repository")
|
94 |
-
shutil.copyfile(DB_FILE, "./data/prompts.db")
|
95 |
-
subprocess.Popen(
|
96 |
-
"git add . && git commit --amend -m 'update' && git push --force", cwd="./data", shell=True)
|
97 |
-
return "Success", 200
|
98 |
-
else:
|
99 |
-
return "Error", 401
|
100 |
-
|
101 |
-
|
102 |
-
@ app.route('/data')
|
103 |
def getdata():
|
104 |
return app.send_static_file('data.json')
|
105 |
|
106 |
|
107 |
-
@ app.route('/prompt', methods=['POST', 'GET'])
|
108 |
-
def create():
|
109 |
-
if request.method == 'POST':
|
110 |
-
try:
|
111 |
-
data = request.get_json()
|
112 |
-
guess = data['guess']
|
113 |
-
correct = data['correct']
|
114 |
-
with sqlite3.connect(DB_FILE) as db:
|
115 |
-
db.execute(
|
116 |
-
'INSERT INTO prompts (guess, correct) VALUES (?, ?)', (guess, correct))
|
117 |
-
db.commit()
|
118 |
-
return 'OK', 200
|
119 |
-
except:
|
120 |
-
return 'Missing guess or correct', 400
|
121 |
-
|
122 |
-
|
123 |
if __name__ == '__main__':
|
124 |
-
|
125 |
-
print(mode)
|
126 |
-
dev = mode == 'development'
|
127 |
-
if not dev:
|
128 |
-
print("Starting scheduler -- Running Production")
|
129 |
-
scheduler = APScheduler()
|
130 |
-
scheduler.add_job(id='Update Dataset Repository',
|
131 |
-
func=update_repository, trigger='interval', hours=1)
|
132 |
-
scheduler.start()
|
133 |
-
else:
|
134 |
-
print("Not Starting scheduler -- Running Development")
|
135 |
-
app.run(host='0.0.0.0', port=int(
|
136 |
-
os.environ.get('PORT', 7860)), debug=True, use_reloader=dev)
|
5 |
from pathlib import Path
|
6 |
import json
|
7 |
from datasets import load_dataset
|
8 |
+
from flask import Flask
|
9 |
from flask_cors import CORS
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
app = Flask(__name__, static_url_path='/static')
|
12 |
|
13 |
CORS(app)
|
14 |
|
15 |
TOKEN = os.environ.get('dataset_token')
|
16 |
+
dataset = load_dataset("huggingface-projects/wordalle_prompts", use_auth_token=TOKEN)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
Path("static/images").mkdir(parents=True, exist_ok=True)
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
# extract images and prompts from dataset and save to dis
|
20 |
data = {}
|
21 |
for row in dataset['train']:
|
22 |
prompt = dataset['train'].features['label'].int2str(row['label'])
|
23 |
image = row['image']
|
24 |
hash = uuid.uuid4().hex
|
25 |
+
image_file = Path(f'static/images/{hash}.png')
|
26 |
+
image.save(image_file)
|
|
|
27 |
if prompt not in data:
|
28 |
data[prompt] = []
|
29 |
data[prompt].append(str(image_file))
|
32 |
json.dump(data, f)
|
33 |
|
34 |
|
35 |
+
@app.route('/')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
def index():
|
37 |
return app.send_static_file('index.html')
|
38 |
|
39 |
+
@app.route('/data')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
def getdata():
|
41 |
return app.send_static_file('data.json')
|
42 |
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
if __name__ == '__main__':
|
45 |
+
app.run(host='0.0.0.0', port=int(os.environ.get('PORT', 7860)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/package-lock.json
CHANGED
@@ -8,28 +8,27 @@
|
|
8 |
"name": "wordalle",
|
9 |
"version": "0.0.1",
|
10 |
"dependencies": {
|
11 |
-
"dom-to-image": "^2.6.0"
|
12 |
-
"nanoid": "^4.0.0"
|
13 |
},
|
14 |
"devDependencies": {
|
15 |
"@sveltejs/adapter-static": "^1.0.0-next.34",
|
16 |
-
"@sveltejs/kit": "
|
17 |
"@types/dom-to-image": "^2.6.4",
|
18 |
-
"@typescript-eslint/eslint-plugin": "^5.
|
19 |
-
"@typescript-eslint/parser": "^5.
|
20 |
"autoprefixer": "^10.4.7",
|
21 |
-
"eslint": "^8.
|
22 |
"eslint-config-prettier": "^8.3.0",
|
23 |
"eslint-plugin-svelte3": "^4.0.0",
|
24 |
"postcss": "^8.4.14",
|
25 |
-
"prettier": "^2.7.
|
26 |
"prettier-plugin-svelte": "^2.7.0",
|
27 |
"svelte": "^3.44.0",
|
28 |
-
"svelte-check": "^2.
|
29 |
"svelte-preprocess": "^4.10.7",
|
30 |
-
"tailwindcss": "^3.1.
|
31 |
"tslib": "^2.3.1",
|
32 |
-
"typescript": "^4.7.
|
33 |
}
|
34 |
},
|
35 |
"node_modules/@eslint/eslintrc": {
|
@@ -155,12 +154,12 @@
|
|
155 |
}
|
156 |
},
|
157 |
"node_modules/@sveltejs/kit": {
|
158 |
-
"version": "1.0.0-next.
|
159 |
-
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.
|
160 |
-
"integrity": "sha512-
|
161 |
"dev": true,
|
162 |
"dependencies": {
|
163 |
-
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.
|
164 |
"chokidar": "^3.5.3",
|
165 |
"sade": "^1.8.1",
|
166 |
"vite": "^2.9.10"
|
@@ -236,14 +235,14 @@
|
|
236 |
}
|
237 |
},
|
238 |
"node_modules/@typescript-eslint/eslint-plugin": {
|
239 |
-
"version": "5.
|
240 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.
|
241 |
-
"integrity": "sha512-
|
242 |
"dev": true,
|
243 |
"dependencies": {
|
244 |
-
"@typescript-eslint/scope-manager": "5.
|
245 |
-
"@typescript-eslint/type-utils": "5.
|
246 |
-
"@typescript-eslint/utils": "5.
|
247 |
"debug": "^4.3.4",
|
248 |
"functional-red-black-tree": "^1.0.1",
|
249 |
"ignore": "^5.2.0",
|
@@ -269,14 +268,14 @@
|
|
269 |
}
|
270 |
},
|
271 |
"node_modules/@typescript-eslint/parser": {
|
272 |
-
"version": "5.
|
273 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.
|
274 |
-
"integrity": "sha512-
|
275 |
"dev": true,
|
276 |
"dependencies": {
|
277 |
-
"@typescript-eslint/scope-manager": "5.
|
278 |
-
"@typescript-eslint/types": "5.
|
279 |
-
"@typescript-eslint/typescript-estree": "5.
|
280 |
"debug": "^4.3.4"
|
281 |
},
|
282 |
"engines": {
|
@@ -296,13 +295,13 @@
|
|
296 |
}
|
297 |
},
|
298 |
"node_modules/@typescript-eslint/scope-manager": {
|
299 |
-
"version": "5.
|
300 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.
|
301 |
-
"integrity": "sha512-
|
302 |
"dev": true,
|
303 |
"dependencies": {
|
304 |
-
"@typescript-eslint/types": "5.
|
305 |
-
"@typescript-eslint/visitor-keys": "5.
|
306 |
},
|
307 |
"engines": {
|
308 |
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
@@ -313,12 +312,12 @@
|
|
313 |
}
|
314 |
},
|
315 |
"node_modules/@typescript-eslint/type-utils": {
|
316 |
-
"version": "5.
|
317 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.
|
318 |
-
"integrity": "sha512-
|
319 |
"dev": true,
|
320 |
"dependencies": {
|
321 |
-
"@typescript-eslint/utils": "5.
|
322 |
"debug": "^4.3.4",
|
323 |
"tsutils": "^3.21.0"
|
324 |
},
|
@@ -339,9 +338,9 @@
|
|
339 |
}
|
340 |
},
|
341 |
"node_modules/@typescript-eslint/types": {
|
342 |
-
"version": "5.
|
343 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.
|
344 |
-
"integrity": "sha512-
|
345 |
"dev": true,
|
346 |
"engines": {
|
347 |
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
@@ -352,13 +351,13 @@
|
|
352 |
}
|
353 |
},
|
354 |
"node_modules/@typescript-eslint/typescript-estree": {
|
355 |
-
"version": "5.
|
356 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.
|
357 |
-
"integrity": "sha512-
|
358 |
"dev": true,
|
359 |
"dependencies": {
|
360 |
-
"@typescript-eslint/types": "5.
|
361 |
-
"@typescript-eslint/visitor-keys": "5.
|
362 |
"debug": "^4.3.4",
|
363 |
"globby": "^11.1.0",
|
364 |
"is-glob": "^4.0.3",
|
@@ -379,15 +378,15 @@
|
|
379 |
}
|
380 |
},
|
381 |
"node_modules/@typescript-eslint/utils": {
|
382 |
-
"version": "5.
|
383 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.
|
384 |
-
"integrity": "sha512-
|
385 |
"dev": true,
|
386 |
"dependencies": {
|
387 |
"@types/json-schema": "^7.0.9",
|
388 |
-
"@typescript-eslint/scope-manager": "5.
|
389 |
-
"@typescript-eslint/types": "5.
|
390 |
-
"@typescript-eslint/typescript-estree": "5.
|
391 |
"eslint-scope": "^5.1.1",
|
392 |
"eslint-utils": "^3.0.0"
|
393 |
},
|
@@ -403,12 +402,12 @@
|
|
403 |
}
|
404 |
},
|
405 |
"node_modules/@typescript-eslint/visitor-keys": {
|
406 |
-
"version": "5.
|
407 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.
|
408 |
-
"integrity": "sha512-
|
409 |
"dev": true,
|
410 |
"dependencies": {
|
411 |
-
"@typescript-eslint/types": "5.
|
412 |
"eslint-visitor-keys": "^3.3.0"
|
413 |
},
|
414 |
"engines": {
|
@@ -1275,9 +1274,9 @@
|
|
1275 |
}
|
1276 |
},
|
1277 |
"node_modules/eslint": {
|
1278 |
-
"version": "8.
|
1279 |
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.
|
1280 |
-
"integrity": "sha512-
|
1281 |
"dev": true,
|
1282 |
"dependencies": {
|
1283 |
"@eslint/eslintrc": "^1.3.0",
|
@@ -2020,14 +2019,15 @@
|
|
2020 |
"dev": true
|
2021 |
},
|
2022 |
"node_modules/nanoid": {
|
2023 |
-
"version": "
|
2024 |
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-
|
2025 |
-
"integrity": "sha512-
|
|
|
2026 |
"bin": {
|
2027 |
-
"nanoid": "bin/nanoid.
|
2028 |
},
|
2029 |
"engines": {
|
2030 |
-
"node": "^
|
2031 |
}
|
2032 |
},
|
2033 |
"node_modules/natural-compare": {
|
@@ -2294,18 +2294,6 @@
|
|
2294 |
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
|
2295 |
"dev": true
|
2296 |
},
|
2297 |
-
"node_modules/postcss/node_modules/nanoid": {
|
2298 |
-
"version": "3.3.4",
|
2299 |
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
|
2300 |
-
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
|
2301 |
-
"dev": true,
|
2302 |
-
"bin": {
|
2303 |
-
"nanoid": "bin/nanoid.cjs"
|
2304 |
-
},
|
2305 |
-
"engines": {
|
2306 |
-
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
2307 |
-
}
|
2308 |
-
},
|
2309 |
"node_modules/prelude-ls": {
|
2310 |
"version": "1.2.1",
|
2311 |
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
@@ -2316,9 +2304,9 @@
|
|
2316 |
}
|
2317 |
},
|
2318 |
"node_modules/prettier": {
|
2319 |
-
"version": "2.7.
|
2320 |
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.
|
2321 |
-
"integrity": "sha512-
|
2322 |
"dev": true,
|
2323 |
"bin": {
|
2324 |
"prettier": "bin-prettier.js"
|
@@ -2684,9 +2672,9 @@
|
|
2684 |
}
|
2685 |
},
|
2686 |
"node_modules/svelte-check": {
|
2687 |
-
"version": "2.
|
2688 |
-
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-2.
|
2689 |
-
"integrity": "sha512-
|
2690 |
"dev": true,
|
2691 |
"dependencies": {
|
2692 |
"@jridgewell/trace-mapping": "^0.3.9",
|
@@ -2793,9 +2781,9 @@
|
|
2793 |
}
|
2794 |
},
|
2795 |
"node_modules/tailwindcss": {
|
2796 |
-
"version": "3.1.
|
2797 |
-
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.
|
2798 |
-
"integrity": "sha512-
|
2799 |
"dev": true,
|
2800 |
"dependencies": {
|
2801 |
"arg": "^5.0.2",
|
@@ -2924,9 +2912,9 @@
|
|
2924 |
}
|
2925 |
},
|
2926 |
"node_modules/typescript": {
|
2927 |
-
"version": "4.7.
|
2928 |
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.
|
2929 |
-
"integrity": "sha512-
|
2930 |
"dev": true,
|
2931 |
"bin": {
|
2932 |
"tsc": "bin/tsc",
|
@@ -3152,12 +3140,12 @@
|
|
3152 |
}
|
3153 |
},
|
3154 |
"@sveltejs/kit": {
|
3155 |
-
"version": "1.0.0-next.
|
3156 |
-
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.
|
3157 |
-
"integrity": "sha512-
|
3158 |
"dev": true,
|
3159 |
"requires": {
|
3160 |
-
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.
|
3161 |
"chokidar": "^3.5.3",
|
3162 |
"sade": "^1.8.1",
|
3163 |
"vite": "^2.9.10"
|
@@ -3211,14 +3199,14 @@
|
|
3211 |
}
|
3212 |
},
|
3213 |
"@typescript-eslint/eslint-plugin": {
|
3214 |
-
"version": "5.
|
3215 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.
|
3216 |
-
"integrity": "sha512-
|
3217 |
"dev": true,
|
3218 |
"requires": {
|
3219 |
-
"@typescript-eslint/scope-manager": "5.
|
3220 |
-
"@typescript-eslint/type-utils": "5.
|
3221 |
-
"@typescript-eslint/utils": "5.
|
3222 |
"debug": "^4.3.4",
|
3223 |
"functional-red-black-tree": "^1.0.1",
|
3224 |
"ignore": "^5.2.0",
|
@@ -3228,52 +3216,52 @@
|
|
3228 |
}
|
3229 |
},
|
3230 |
"@typescript-eslint/parser": {
|
3231 |
-
"version": "5.
|
3232 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.
|
3233 |
-
"integrity": "sha512-
|
3234 |
"dev": true,
|
3235 |
"requires": {
|
3236 |
-
"@typescript-eslint/scope-manager": "5.
|
3237 |
-
"@typescript-eslint/types": "5.
|
3238 |
-
"@typescript-eslint/typescript-estree": "5.
|
3239 |
"debug": "^4.3.4"
|
3240 |
}
|
3241 |
},
|
3242 |
"@typescript-eslint/scope-manager": {
|
3243 |
-
"version": "5.
|
3244 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.
|
3245 |
-
"integrity": "sha512-
|
3246 |
"dev": true,
|
3247 |
"requires": {
|
3248 |
-
"@typescript-eslint/types": "5.
|
3249 |
-
"@typescript-eslint/visitor-keys": "5.
|
3250 |
}
|
3251 |
},
|
3252 |
"@typescript-eslint/type-utils": {
|
3253 |
-
"version": "5.
|
3254 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.
|
3255 |
-
"integrity": "sha512-
|
3256 |
"dev": true,
|
3257 |
"requires": {
|
3258 |
-
"@typescript-eslint/utils": "5.
|
3259 |
"debug": "^4.3.4",
|
3260 |
"tsutils": "^3.21.0"
|
3261 |
}
|
3262 |
},
|
3263 |
"@typescript-eslint/types": {
|
3264 |
-
"version": "5.
|
3265 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.
|
3266 |
-
"integrity": "sha512-
|
3267 |
"dev": true
|
3268 |
},
|
3269 |
"@typescript-eslint/typescript-estree": {
|
3270 |
-
"version": "5.
|
3271 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.
|
3272 |
-
"integrity": "sha512-
|
3273 |
"dev": true,
|
3274 |
"requires": {
|
3275 |
-
"@typescript-eslint/types": "5.
|
3276 |
-
"@typescript-eslint/visitor-keys": "5.
|
3277 |
"debug": "^4.3.4",
|
3278 |
"globby": "^11.1.0",
|
3279 |
"is-glob": "^4.0.3",
|
@@ -3282,26 +3270,26 @@
|
|
3282 |
}
|
3283 |
},
|
3284 |
"@typescript-eslint/utils": {
|
3285 |
-
"version": "5.
|
3286 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.
|
3287 |
-
"integrity": "sha512-
|
3288 |
"dev": true,
|
3289 |
"requires": {
|
3290 |
"@types/json-schema": "^7.0.9",
|
3291 |
-
"@typescript-eslint/scope-manager": "5.
|
3292 |
-
"@typescript-eslint/types": "5.
|
3293 |
-
"@typescript-eslint/typescript-estree": "5.
|
3294 |
"eslint-scope": "^5.1.1",
|
3295 |
"eslint-utils": "^3.0.0"
|
3296 |
}
|
3297 |
},
|
3298 |
"@typescript-eslint/visitor-keys": {
|
3299 |
-
"version": "5.
|
3300 |
-
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.
|
3301 |
-
"integrity": "sha512-
|
3302 |
"dev": true,
|
3303 |
"requires": {
|
3304 |
-
"@typescript-eslint/types": "5.
|
3305 |
"eslint-visitor-keys": "^3.3.0"
|
3306 |
}
|
3307 |
},
|
@@ -3816,9 +3804,9 @@
|
|
3816 |
"dev": true
|
3817 |
},
|
3818 |
"eslint": {
|
3819 |
-
"version": "8.
|
3820 |
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.
|
3821 |
-
"integrity": "sha512-
|
3822 |
"dev": true,
|
3823 |
"requires": {
|
3824 |
"@eslint/eslintrc": "^1.3.0",
|
@@ -4388,9 +4376,10 @@
|
|
4388 |
"dev": true
|
4389 |
},
|
4390 |
"nanoid": {
|
4391 |
-
"version": "
|
4392 |
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-
|
4393 |
-
"integrity": "sha512-
|
|
|
4394 |
},
|
4395 |
"natural-compare": {
|
4396 |
"version": "1.4.0",
|
@@ -4505,14 +4494,6 @@
|
|
4505 |
"nanoid": "^3.3.4",
|
4506 |
"picocolors": "^1.0.0",
|
4507 |
"source-map-js": "^1.0.2"
|
4508 |
-
},
|
4509 |
-
"dependencies": {
|
4510 |
-
"nanoid": {
|
4511 |
-
"version": "3.3.4",
|
4512 |
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
|
4513 |
-
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
|
4514 |
-
"dev": true
|
4515 |
-
}
|
4516 |
}
|
4517 |
},
|
4518 |
"postcss-import": {
|
@@ -4577,9 +4558,9 @@
|
|
4577 |
"dev": true
|
4578 |
},
|
4579 |
"prettier": {
|
4580 |
-
"version": "2.7.
|
4581 |
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.
|
4582 |
-
"integrity": "sha512-
|
4583 |
"dev": true
|
4584 |
},
|
4585 |
"prettier-plugin-svelte": {
|
@@ -4813,9 +4794,9 @@
|
|
4813 |
"dev": true
|
4814 |
},
|
4815 |
"svelte-check": {
|
4816 |
-
"version": "2.
|
4817 |
-
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-2.
|
4818 |
-
"integrity": "sha512-
|
4819 |
"dev": true,
|
4820 |
"requires": {
|
4821 |
"@jridgewell/trace-mapping": "^0.3.9",
|
@@ -4861,9 +4842,9 @@
|
|
4861 |
}
|
4862 |
},
|
4863 |
"tailwindcss": {
|
4864 |
-
"version": "3.1.
|
4865 |
-
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.
|
4866 |
-
"integrity": "sha512-
|
4867 |
"dev": true,
|
4868 |
"requires": {
|
4869 |
"arg": "^5.0.2",
|
@@ -4965,9 +4946,9 @@
|
|
4965 |
"dev": true
|
4966 |
},
|
4967 |
"typescript": {
|
4968 |
-
"version": "4.7.
|
4969 |
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.
|
4970 |
-
"integrity": "sha512-
|
4971 |
"dev": true
|
4972 |
},
|
4973 |
"uri-js": {
|
8 |
"name": "wordalle",
|
9 |
"version": "0.0.1",
|
10 |
"dependencies": {
|
11 |
+
"dom-to-image": "^2.6.0"
|
|
|
12 |
},
|
13 |
"devDependencies": {
|
14 |
"@sveltejs/adapter-static": "^1.0.0-next.34",
|
15 |
+
"@sveltejs/kit": "next",
|
16 |
"@types/dom-to-image": "^2.6.4",
|
17 |
+
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
18 |
+
"@typescript-eslint/parser": "^5.27.0",
|
19 |
"autoprefixer": "^10.4.7",
|
20 |
+
"eslint": "^8.16.0",
|
21 |
"eslint-config-prettier": "^8.3.0",
|
22 |
"eslint-plugin-svelte3": "^4.0.0",
|
23 |
"postcss": "^8.4.14",
|
24 |
+
"prettier": "^2.7.0",
|
25 |
"prettier-plugin-svelte": "^2.7.0",
|
26 |
"svelte": "^3.44.0",
|
27 |
+
"svelte-check": "^2.7.1",
|
28 |
"svelte-preprocess": "^4.10.7",
|
29 |
+
"tailwindcss": "^3.1.3",
|
30 |
"tslib": "^2.3.1",
|
31 |
+
"typescript": "^4.7.2"
|
32 |
}
|
33 |
},
|
34 |
"node_modules/@eslint/eslintrc": {
|
154 |
}
|
155 |
},
|
156 |
"node_modules/@sveltejs/kit": {
|
157 |
+
"version": "1.0.0-next.350",
|
158 |
+
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.350.tgz",
|
159 |
+
"integrity": "sha512-qkZNjp7yIj6t91+wMhmMtGJH0Lb89OaKdVXUDy92CS5/4OHRTKcQPdfOKs4no/upkS3RiFb+rEpOkYqTMcPUXg==",
|
160 |
"dev": true,
|
161 |
"dependencies": {
|
162 |
+
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.46",
|
163 |
"chokidar": "^3.5.3",
|
164 |
"sade": "^1.8.1",
|
165 |
"vite": "^2.9.10"
|
235 |
}
|
236 |
},
|
237 |
"node_modules/@typescript-eslint/eslint-plugin": {
|
238 |
+
"version": "5.28.0",
|
239 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.28.0.tgz",
|
240 |
+
"integrity": "sha512-DXVU6Cg29H2M6EybqSg2A+x8DgO9TCUBRp4QEXQHJceLS7ogVDP0g3Lkg/SZCqcvkAP/RruuQqK0gdlkgmhSUA==",
|
241 |
"dev": true,
|
242 |
"dependencies": {
|
243 |
+
"@typescript-eslint/scope-manager": "5.28.0",
|
244 |
+
"@typescript-eslint/type-utils": "5.28.0",
|
245 |
+
"@typescript-eslint/utils": "5.28.0",
|
246 |
"debug": "^4.3.4",
|
247 |
"functional-red-black-tree": "^1.0.1",
|
248 |
"ignore": "^5.2.0",
|
268 |
}
|
269 |
},
|
270 |
"node_modules/@typescript-eslint/parser": {
|
271 |
+
"version": "5.28.0",
|
272 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.28.0.tgz",
|
273 |
+
"integrity": "sha512-ekqoNRNK1lAcKhZESN/PdpVsWbP9jtiNqzFWkp/yAUdZvJalw2heCYuqRmM5eUJSIYEkgq5sGOjq+ZqsLMjtRA==",
|
274 |
"dev": true,
|
275 |
"dependencies": {
|
276 |
+
"@typescript-eslint/scope-manager": "5.28.0",
|
277 |
+
"@typescript-eslint/types": "5.28.0",
|
278 |
+
"@typescript-eslint/typescript-estree": "5.28.0",
|
279 |
"debug": "^4.3.4"
|
280 |
},
|
281 |
"engines": {
|
295 |
}
|
296 |
},
|
297 |
"node_modules/@typescript-eslint/scope-manager": {
|
298 |
+
"version": "5.28.0",
|
299 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.28.0.tgz",
|
300 |
+
"integrity": "sha512-LeBLTqF/he1Z+boRhSqnso6YrzcKMTQ8bO/YKEe+6+O/JGof9M0g3IJlIsqfrK/6K03MlFIlycbf1uQR1IjE+w==",
|
301 |
"dev": true,
|
302 |
"dependencies": {
|
303 |
+
"@typescript-eslint/types": "5.28.0",
|
304 |
+
"@typescript-eslint/visitor-keys": "5.28.0"
|
305 |
},
|
306 |
"engines": {
|
307 |
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
312 |
}
|
313 |
},
|
314 |
"node_modules/@typescript-eslint/type-utils": {
|
315 |
+
"version": "5.28.0",
|
316 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.28.0.tgz",
|
317 |
+
"integrity": "sha512-SyKjKh4CXPglueyC6ceAFytjYWMoPHMswPQae236zqe1YbhvCVQyIawesYywGiu98L9DwrxsBN69vGIVxJ4mQQ==",
|
318 |
"dev": true,
|
319 |
"dependencies": {
|
320 |
+
"@typescript-eslint/utils": "5.28.0",
|
321 |
"debug": "^4.3.4",
|
322 |
"tsutils": "^3.21.0"
|
323 |
},
|
338 |
}
|
339 |
},
|
340 |
"node_modules/@typescript-eslint/types": {
|
341 |
+
"version": "5.28.0",
|
342 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.28.0.tgz",
|
343 |
+
"integrity": "sha512-2OOm8ZTOQxqkPbf+DAo8oc16sDlVR5owgJfKheBkxBKg1vAfw2JsSofH9+16VPlN9PWtv8Wzhklkqw3k/zCVxA==",
|
344 |
"dev": true,
|
345 |
"engines": {
|
346 |
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
351 |
}
|
352 |
},
|
353 |
"node_modules/@typescript-eslint/typescript-estree": {
|
354 |
+
"version": "5.28.0",
|
355 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.28.0.tgz",
|
356 |
+
"integrity": "sha512-9GX+GfpV+F4hdTtYc6OV9ZkyYilGXPmQpm6AThInpBmKJEyRSIjORJd1G9+bknb7OTFYL+Vd4FBJAO6T78OVqA==",
|
357 |
"dev": true,
|
358 |
"dependencies": {
|
359 |
+
"@typescript-eslint/types": "5.28.0",
|
360 |
+
"@typescript-eslint/visitor-keys": "5.28.0",
|
361 |
"debug": "^4.3.4",
|
362 |
"globby": "^11.1.0",
|
363 |
"is-glob": "^4.0.3",
|
378 |
}
|
379 |
},
|
380 |
"node_modules/@typescript-eslint/utils": {
|
381 |
+
"version": "5.28.0",
|
382 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.28.0.tgz",
|
383 |
+
"integrity": "sha512-E60N5L0fjv7iPJV3UGc4EC+A3Lcj4jle9zzR0gW7vXhflO7/J29kwiTGITA2RlrmPokKiZbBy2DgaclCaEUs6g==",
|
384 |
"dev": true,
|
385 |
"dependencies": {
|
386 |
"@types/json-schema": "^7.0.9",
|
387 |
+
"@typescript-eslint/scope-manager": "5.28.0",
|
388 |
+
"@typescript-eslint/types": "5.28.0",
|
389 |
+
"@typescript-eslint/typescript-estree": "5.28.0",
|
390 |
"eslint-scope": "^5.1.1",
|
391 |
"eslint-utils": "^3.0.0"
|
392 |
},
|
402 |
}
|
403 |
},
|
404 |
"node_modules/@typescript-eslint/visitor-keys": {
|
405 |
+
"version": "5.28.0",
|
406 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.28.0.tgz",
|
407 |
+
"integrity": "sha512-BtfP1vCor8cWacovzzPFOoeW4kBQxzmhxGoOpt0v1SFvG+nJ0cWaVdJk7cky1ArTcFHHKNIxyo2LLr3oNkSuXA==",
|
408 |
"dev": true,
|
409 |
"dependencies": {
|
410 |
+
"@typescript-eslint/types": "5.28.0",
|
411 |
"eslint-visitor-keys": "^3.3.0"
|
412 |
},
|
413 |
"engines": {
|
1274 |
}
|
1275 |
},
|
1276 |
"node_modules/eslint": {
|
1277 |
+
"version": "8.17.0",
|
1278 |
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.17.0.tgz",
|
1279 |
+
"integrity": "sha512-gq0m0BTJfci60Fz4nczYxNAlED+sMcihltndR8t9t1evnU/azx53x3t2UHXC/uRjcbvRw/XctpaNygSTcQD+Iw==",
|
1280 |
"dev": true,
|
1281 |
"dependencies": {
|
1282 |
"@eslint/eslintrc": "^1.3.0",
|
2019 |
"dev": true
|
2020 |
},
|
2021 |
"node_modules/nanoid": {
|
2022 |
+
"version": "3.3.4",
|
2023 |
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
|
2024 |
+
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
|
2025 |
+
"dev": true,
|
2026 |
"bin": {
|
2027 |
+
"nanoid": "bin/nanoid.cjs"
|
2028 |
},
|
2029 |
"engines": {
|
2030 |
+
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
2031 |
}
|
2032 |
},
|
2033 |
"node_modules/natural-compare": {
|
2294 |
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
|
2295 |
"dev": true
|
2296 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2297 |
"node_modules/prelude-ls": {
|
2298 |
"version": "1.2.1",
|
2299 |
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
2304 |
}
|
2305 |
},
|
2306 |
"node_modules/prettier": {
|
2307 |
+
"version": "2.7.0",
|
2308 |
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.0.tgz",
|
2309 |
+
"integrity": "sha512-nwoX4GMFgxoPC6diHvSwmK/4yU8FFH3V8XWtLQrbj4IBsK2pkYhG4kf/ljF/haaZ/aii+wNJqISrCDPgxGWDVQ==",
|
2310 |
"dev": true,
|
2311 |
"bin": {
|
2312 |
"prettier": "bin-prettier.js"
|
2672 |
}
|
2673 |
},
|
2674 |
"node_modules/svelte-check": {
|
2675 |
+
"version": "2.7.2",
|
2676 |
+
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-2.7.2.tgz",
|
2677 |
+
"integrity": "sha512-TuVX4YtXHbRM8sVuK5Jk+mKWdm3f0d6hvAC6qCTp8yUszGZewpEBCo2V5fRWZCiz+0J4OCiDHOS+DFMxv39rJA==",
|
2678 |
"dev": true,
|
2679 |
"dependencies": {
|
2680 |
"@jridgewell/trace-mapping": "^0.3.9",
|
2781 |
}
|
2782 |
},
|
2783 |
"node_modules/tailwindcss": {
|
2784 |
+
"version": "3.1.3",
|
2785 |
+
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.3.tgz",
|
2786 |
+
"integrity": "sha512-PRJNYdSIthrb8hjmAyymEyEN8Yo61TMXpzyFUpxULeeyRn3Y3gpvuw6FlRTKrJvK7thSGKRnhT36VovVx4WeMA==",
|
2787 |
"dev": true,
|
2788 |
"dependencies": {
|
2789 |
"arg": "^5.0.2",
|
2912 |
}
|
2913 |
},
|
2914 |
"node_modules/typescript": {
|
2915 |
+
"version": "4.7.3",
|
2916 |
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz",
|
2917 |
+
"integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==",
|
2918 |
"dev": true,
|
2919 |
"bin": {
|
2920 |
"tsc": "bin/tsc",
|
3140 |
}
|
3141 |
},
|
3142 |
"@sveltejs/kit": {
|
3143 |
+
"version": "1.0.0-next.350",
|
3144 |
+
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.350.tgz",
|
3145 |
+
"integrity": "sha512-qkZNjp7yIj6t91+wMhmMtGJH0Lb89OaKdVXUDy92CS5/4OHRTKcQPdfOKs4no/upkS3RiFb+rEpOkYqTMcPUXg==",
|
3146 |
"dev": true,
|
3147 |
"requires": {
|
3148 |
+
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.46",
|
3149 |
"chokidar": "^3.5.3",
|
3150 |
"sade": "^1.8.1",
|
3151 |
"vite": "^2.9.10"
|
3199 |
}
|
3200 |
},
|
3201 |
"@typescript-eslint/eslint-plugin": {
|
3202 |
+
"version": "5.28.0",
|
3203 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.28.0.tgz",
|
3204 |
+
"integrity": "sha512-DXVU6Cg29H2M6EybqSg2A+x8DgO9TCUBRp4QEXQHJceLS7ogVDP0g3Lkg/SZCqcvkAP/RruuQqK0gdlkgmhSUA==",
|
3205 |
"dev": true,
|
3206 |
"requires": {
|
3207 |
+
"@typescript-eslint/scope-manager": "5.28.0",
|
3208 |
+
"@typescript-eslint/type-utils": "5.28.0",
|
3209 |
+
"@typescript-eslint/utils": "5.28.0",
|
3210 |
"debug": "^4.3.4",
|
3211 |
"functional-red-black-tree": "^1.0.1",
|
3212 |
"ignore": "^5.2.0",
|
3216 |
}
|
3217 |
},
|
3218 |
"@typescript-eslint/parser": {
|
3219 |
+
"version": "5.28.0",
|
3220 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.28.0.tgz",
|
3221 |
+
"integrity": "sha512-ekqoNRNK1lAcKhZESN/PdpVsWbP9jtiNqzFWkp/yAUdZvJalw2heCYuqRmM5eUJSIYEkgq5sGOjq+ZqsLMjtRA==",
|
3222 |
"dev": true,
|
3223 |
"requires": {
|
3224 |
+
"@typescript-eslint/scope-manager": "5.28.0",
|
3225 |
+
"@typescript-eslint/types": "5.28.0",
|
3226 |
+
"@typescript-eslint/typescript-estree": "5.28.0",
|
3227 |
"debug": "^4.3.4"
|
3228 |
}
|
3229 |
},
|
3230 |
"@typescript-eslint/scope-manager": {
|
3231 |
+
"version": "5.28.0",
|
3232 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.28.0.tgz",
|
3233 |
+
"integrity": "sha512-LeBLTqF/he1Z+boRhSqnso6YrzcKMTQ8bO/YKEe+6+O/JGof9M0g3IJlIsqfrK/6K03MlFIlycbf1uQR1IjE+w==",
|
3234 |
"dev": true,
|
3235 |
"requires": {
|
3236 |
+
"@typescript-eslint/types": "5.28.0",
|
3237 |
+
"@typescript-eslint/visitor-keys": "5.28.0"
|
3238 |
}
|
3239 |
},
|
3240 |
"@typescript-eslint/type-utils": {
|
3241 |
+
"version": "5.28.0",
|
3242 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.28.0.tgz",
|
3243 |
+
"integrity": "sha512-SyKjKh4CXPglueyC6ceAFytjYWMoPHMswPQae236zqe1YbhvCVQyIawesYywGiu98L9DwrxsBN69vGIVxJ4mQQ==",
|
3244 |
"dev": true,
|
3245 |
"requires": {
|
3246 |
+
"@typescript-eslint/utils": "5.28.0",
|
3247 |
"debug": "^4.3.4",
|
3248 |
"tsutils": "^3.21.0"
|
3249 |
}
|
3250 |
},
|
3251 |
"@typescript-eslint/types": {
|
3252 |
+
"version": "5.28.0",
|
3253 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.28.0.tgz",
|
3254 |
+
"integrity": "sha512-2OOm8ZTOQxqkPbf+DAo8oc16sDlVR5owgJfKheBkxBKg1vAfw2JsSofH9+16VPlN9PWtv8Wzhklkqw3k/zCVxA==",
|
3255 |
"dev": true
|
3256 |
},
|
3257 |
"@typescript-eslint/typescript-estree": {
|
3258 |
+
"version": "5.28.0",
|
3259 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.28.0.tgz",
|
3260 |
+
"integrity": "sha512-9GX+GfpV+F4hdTtYc6OV9ZkyYilGXPmQpm6AThInpBmKJEyRSIjORJd1G9+bknb7OTFYL+Vd4FBJAO6T78OVqA==",
|
3261 |
"dev": true,
|
3262 |
"requires": {
|
3263 |
+
"@typescript-eslint/types": "5.28.0",
|
3264 |
+
"@typescript-eslint/visitor-keys": "5.28.0",
|
3265 |
"debug": "^4.3.4",
|
3266 |
"globby": "^11.1.0",
|
3267 |
"is-glob": "^4.0.3",
|
3270 |
}
|
3271 |
},
|
3272 |
"@typescript-eslint/utils": {
|
3273 |
+
"version": "5.28.0",
|
3274 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.28.0.tgz",
|
3275 |
+
"integrity": "sha512-E60N5L0fjv7iPJV3UGc4EC+A3Lcj4jle9zzR0gW7vXhflO7/J29kwiTGITA2RlrmPokKiZbBy2DgaclCaEUs6g==",
|
3276 |
"dev": true,
|
3277 |
"requires": {
|
3278 |
"@types/json-schema": "^7.0.9",
|
3279 |
+
"@typescript-eslint/scope-manager": "5.28.0",
|
3280 |
+
"@typescript-eslint/types": "5.28.0",
|
3281 |
+
"@typescript-eslint/typescript-estree": "5.28.0",
|
3282 |
"eslint-scope": "^5.1.1",
|
3283 |
"eslint-utils": "^3.0.0"
|
3284 |
}
|
3285 |
},
|
3286 |
"@typescript-eslint/visitor-keys": {
|
3287 |
+
"version": "5.28.0",
|
3288 |
+
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.28.0.tgz",
|
3289 |
+
"integrity": "sha512-BtfP1vCor8cWacovzzPFOoeW4kBQxzmhxGoOpt0v1SFvG+nJ0cWaVdJk7cky1ArTcFHHKNIxyo2LLr3oNkSuXA==",
|
3290 |
"dev": true,
|
3291 |
"requires": {
|
3292 |
+
"@typescript-eslint/types": "5.28.0",
|
3293 |
"eslint-visitor-keys": "^3.3.0"
|
3294 |
}
|
3295 |
},
|
3804 |
"dev": true
|
3805 |
},
|
3806 |
"eslint": {
|
3807 |
+
"version": "8.17.0",
|
3808 |
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.17.0.tgz",
|
3809 |
+
"integrity": "sha512-gq0m0BTJfci60Fz4nczYxNAlED+sMcihltndR8t9t1evnU/azx53x3t2UHXC/uRjcbvRw/XctpaNygSTcQD+Iw==",
|
3810 |
"dev": true,
|
3811 |
"requires": {
|
3812 |
"@eslint/eslintrc": "^1.3.0",
|
4376 |
"dev": true
|
4377 |
},
|
4378 |
"nanoid": {
|
4379 |
+
"version": "3.3.4",
|
4380 |
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
|
4381 |
+
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
|
4382 |
+
"dev": true
|
4383 |
},
|
4384 |
"natural-compare": {
|
4385 |
"version": "1.4.0",
|
4494 |
"nanoid": "^3.3.4",
|
4495 |
"picocolors": "^1.0.0",
|
4496 |
"source-map-js": "^1.0.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4497 |
}
|
4498 |
},
|
4499 |
"postcss-import": {
|
4558 |
"dev": true
|
4559 |
},
|
4560 |
"prettier": {
|
4561 |
+
"version": "2.7.0",
|
4562 |
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.0.tgz",
|
4563 |
+
"integrity": "sha512-nwoX4GMFgxoPC6diHvSwmK/4yU8FFH3V8XWtLQrbj4IBsK2pkYhG4kf/ljF/haaZ/aii+wNJqISrCDPgxGWDVQ==",
|
4564 |
"dev": true
|
4565 |
},
|
4566 |
"prettier-plugin-svelte": {
|
4794 |
"dev": true
|
4795 |
},
|
4796 |
"svelte-check": {
|
4797 |
+
"version": "2.7.2",
|
4798 |
+
"resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-2.7.2.tgz",
|
4799 |
+
"integrity": "sha512-TuVX4YtXHbRM8sVuK5Jk+mKWdm3f0d6hvAC6qCTp8yUszGZewpEBCo2V5fRWZCiz+0J4OCiDHOS+DFMxv39rJA==",
|
4800 |
"dev": true,
|
4801 |
"requires": {
|
4802 |
"@jridgewell/trace-mapping": "^0.3.9",
|
4842 |
}
|
4843 |
},
|
4844 |
"tailwindcss": {
|
4845 |
+
"version": "3.1.3",
|
4846 |
+
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.3.tgz",
|
4847 |
+
"integrity": "sha512-PRJNYdSIthrb8hjmAyymEyEN8Yo61TMXpzyFUpxULeeyRn3Y3gpvuw6FlRTKrJvK7thSGKRnhT36VovVx4WeMA==",
|
4848 |
"dev": true,
|
4849 |
"requires": {
|
4850 |
"arg": "^5.0.2",
|
4946 |
"dev": true
|
4947 |
},
|
4948 |
"typescript": {
|
4949 |
+
"version": "4.7.3",
|
4950 |
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz",
|
4951 |
+
"integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==",
|
4952 |
"dev": true
|
4953 |
},
|
4954 |
"uri-js": {
|
frontend/package.json
CHANGED
@@ -15,27 +15,26 @@
|
|
15 |
},
|
16 |
"devDependencies": {
|
17 |
"@sveltejs/adapter-static": "^1.0.0-next.34",
|
18 |
-
"@sveltejs/kit": "
|
19 |
"@types/dom-to-image": "^2.6.4",
|
20 |
-
"@typescript-eslint/eslint-plugin": "^5.
|
21 |
-
"@typescript-eslint/parser": "^5.
|
22 |
"autoprefixer": "^10.4.7",
|
23 |
-
"eslint": "^8.
|
24 |
"eslint-config-prettier": "^8.3.0",
|
25 |
"eslint-plugin-svelte3": "^4.0.0",
|
26 |
"postcss": "^8.4.14",
|
27 |
-
"prettier": "^2.7.
|
28 |
"prettier-plugin-svelte": "^2.7.0",
|
29 |
"svelte": "^3.44.0",
|
30 |
-
"svelte-check": "^2.
|
31 |
"svelte-preprocess": "^4.10.7",
|
32 |
-
"tailwindcss": "^3.1.
|
33 |
"tslib": "^2.3.1",
|
34 |
-
"typescript": "^4.7.
|
35 |
},
|
36 |
"type": "module",
|
37 |
"dependencies": {
|
38 |
-
"dom-to-image": "^2.6.0"
|
39 |
-
"nanoid": "^4.0.0"
|
40 |
}
|
41 |
}
|
15 |
},
|
16 |
"devDependencies": {
|
17 |
"@sveltejs/adapter-static": "^1.0.0-next.34",
|
18 |
+
"@sveltejs/kit": "next",
|
19 |
"@types/dom-to-image": "^2.6.4",
|
20 |
+
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
21 |
+
"@typescript-eslint/parser": "^5.27.0",
|
22 |
"autoprefixer": "^10.4.7",
|
23 |
+
"eslint": "^8.16.0",
|
24 |
"eslint-config-prettier": "^8.3.0",
|
25 |
"eslint-plugin-svelte3": "^4.0.0",
|
26 |
"postcss": "^8.4.14",
|
27 |
+
"prettier": "^2.7.0",
|
28 |
"prettier-plugin-svelte": "^2.7.0",
|
29 |
"svelte": "^3.44.0",
|
30 |
+
"svelte-check": "^2.7.1",
|
31 |
"svelte-preprocess": "^4.10.7",
|
32 |
+
"tailwindcss": "^3.1.3",
|
33 |
"tslib": "^2.3.1",
|
34 |
+
"typescript": "^4.7.2"
|
35 |
},
|
36 |
"type": "module",
|
37 |
"dependencies": {
|
38 |
+
"dom-to-image": "^2.6.0"
|
|
|
39 |
}
|
40 |
}
|
frontend/src/app.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
8 |
%sveltekit.head%
|
9 |
</head>
|
10 |
-
<body class="dark:bg-
|
11 |
<div>%sveltekit.body%</div>
|
12 |
</body>
|
13 |
</html>
|
7 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
8 |
%sveltekit.head%
|
9 |
</head>
|
10 |
+
<body class="dark:bg-slate-900 bg-white dark:text-white text-black">
|
11 |
<div>%sveltekit.body%</div>
|
12 |
</body>
|
13 |
</html>
|
frontend/src/lib/Message.svelte
CHANGED
@@ -1,30 +1,15 @@
|
|
1 |
<script lang="ts">
|
2 |
import { fade } from 'svelte/transition';
|
3 |
-
import { GameState } from '../types';
|
4 |
-
import { createEventDispatcher } from 'svelte';
|
5 |
-
|
6 |
-
const dispatch = createEventDispatcher();
|
7 |
-
|
8 |
-
export let gameState: GameState;
|
9 |
export let message: string | null = null;
|
10 |
</script>
|
11 |
|
12 |
<div class="message" transition:fade>
|
13 |
{message}
|
14 |
-
{#if gameState === GameState.FAIL}
|
15 |
-
<div class="font-light flex-1 text-xs sm:text-base text-center">
|
16 |
-
<button
|
17 |
-
on:click={() => dispatch('restart')}
|
18 |
-
class="hover:no-underline underline underline-offset-2 hover:scale-105 transition-all duration-200 ease-in-out"
|
19 |
-
>Try Again</button
|
20 |
-
>
|
21 |
-
</div>
|
22 |
-
{/if}
|
23 |
</div>
|
24 |
|
25 |
<style lang="postcss" scoped>
|
26 |
.message {
|
27 |
@apply absolute left-1/2 top-1/2 text-white bg-black bg-opacity-80 font-semibold
|
28 |
-
|
29 |
}
|
30 |
</style>
|
1 |
<script lang="ts">
|
2 |
import { fade } from 'svelte/transition';
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
export let message: string | null = null;
|
4 |
</script>
|
5 |
|
6 |
<div class="message" transition:fade>
|
7 |
{message}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
</div>
|
9 |
|
10 |
<style lang="postcss" scoped>
|
11 |
.message {
|
12 |
@apply absolute left-1/2 top-1/2 text-white bg-black bg-opacity-80 font-semibold
|
13 |
+
p-5 z-20 rounded-sm -translate-x-1/2 transition-opacity duration-300 ease-in-out;
|
14 |
}
|
15 |
</style>
|
frontend/src/lib/Result.svelte
CHANGED
@@ -1,32 +1,28 @@
|
|
1 |
<script lang="ts">
|
2 |
-
import { colors, cheersMessages
|
3 |
import type { Board } from '../types';
|
4 |
-
import { fade
|
5 |
-
import { createEventDispatcher,
|
6 |
-
import type { SvelteComponent } from 'svelte';
|
7 |
-
import { dev } from '$app/env';
|
8 |
|
9 |
const dispatch = createEventDispatcher();
|
10 |
|
11 |
export let board: Board;
|
12 |
export let currentRowIndex: number;
|
13 |
export let imagePaths: string[];
|
14 |
-
|
15 |
const message = cheersMessages[currentRowIndex];
|
16 |
import domtoimage from 'dom-to-image';
|
17 |
-
const
|
18 |
|
19 |
let modalEl: HTMLDivElement;
|
20 |
let elToShare: HTMLDivElement;
|
21 |
let disableDownload: boolean = false;
|
22 |
-
|
23 |
async function saveFile(node: HTMLDivElement) {
|
24 |
disableDownload = true;
|
25 |
try {
|
26 |
const blob = await domtoimage.toBlob(node, { bgcolor: '#000' });
|
27 |
const a = document.createElement('a');
|
28 |
a.download = `sucess-${Date.now()}.png`;
|
29 |
-
a.target = '_self';
|
30 |
a.onclick = async (e) => {
|
31 |
disableDownload = true;
|
32 |
if (a.href) {
|
@@ -44,27 +40,15 @@
|
|
44 |
}
|
45 |
}
|
46 |
const onKeyup = (e: KeyboardEvent) => {
|
47 |
-
if (e.key === 'Escape'
|
48 |
dispatch('restart');
|
49 |
} else if (e.key === ' ') {
|
50 |
saveFile(elToShare);
|
51 |
}
|
52 |
};
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
onMount(async () => {
|
57 |
-
if (totalStreaks in badgesComponents) {
|
58 |
-
const compName = badgesComponents[totalStreaks];
|
59 |
-
badgeComponent = (await import(`./badges/${compName}.svelte`)).default;
|
60 |
-
}
|
61 |
-
setTimeout(() => {
|
62 |
-
window.addEventListener('keyup', onKeyup, true);
|
63 |
-
}, 1000);
|
64 |
-
});
|
65 |
-
|
66 |
-
onDestroy(() => {
|
67 |
-
window.removeEventListener('keyup', onKeyup, true);
|
68 |
});
|
69 |
const s = 10;
|
70 |
const p = 1;
|
@@ -72,7 +56,7 @@
|
|
72 |
</script>
|
73 |
|
74 |
<!-- Modal made with tailwind -->
|
75 |
-
<div bind:this={modalEl} class="modal relative z-
|
76 |
<div class="message">
|
77 |
<div class="border-0">
|
78 |
<div class="p-3" bind:this={elToShare}>
|
@@ -81,18 +65,10 @@
|
|
81 |
<span class="font-light">hf.co/wordalle</span>
|
82 |
</header>
|
83 |
<h2 class="text-center uppercase tracking-widest font-extrabold">{message}</h2>
|
84 |
-
<div class="grid grid-cols-3 gap-2 p-3
|
85 |
-
{#if totalStreaks in badgesComponents}
|
86 |
-
<div
|
87 |
-
transition:scale={{ duration: 500 }}
|
88 |
-
class="absolute left-0 right-0 top-0 bottom-0 flex place-content-center place-items-center"
|
89 |
-
>
|
90 |
-
<svelte:component this={badgeComponent} classNames="w-full max-w-[180px]" />
|
91 |
-
</div>
|
92 |
-
{/if}
|
93 |
{#each imagePaths as image}
|
94 |
<div>
|
95 |
-
<img src={
|
96 |
</div>
|
97 |
{/each}
|
98 |
</div>
|
@@ -124,7 +100,7 @@
|
|
124 |
>
|
125 |
{!disableDownload ? 'SAVE SCREENSHOT' : 'SAVING..'}
|
126 |
</button>
|
127 |
-
<button class="flex-1 ml-1" on:click={() => dispatch('restart')}>
|
128 |
</div>
|
129 |
</div>
|
130 |
</div>
|
@@ -135,8 +111,6 @@
|
|
135 |
}
|
136 |
.modal {
|
137 |
@apply fixed top-0 left-0 w-screen min-h-screen z-10 bg-black bg-opacity-80 backdrop-blur-sm;
|
138 |
-
transform: translateZ(1000px);
|
139 |
-
transform-style: preserve-3d;
|
140 |
}
|
141 |
.go-tweet,
|
142 |
button {
|
1 |
<script lang="ts">
|
2 |
+
import { colors, cheersMessages } from '$lib/utils';
|
3 |
import type { Board } from '../types';
|
4 |
+
import { fade } from 'svelte/transition';
|
5 |
+
import { createEventDispatcher, onMount } from 'svelte';
|
|
|
|
|
6 |
|
7 |
const dispatch = createEventDispatcher();
|
8 |
|
9 |
export let board: Board;
|
10 |
export let currentRowIndex: number;
|
11 |
export let imagePaths: string[];
|
12 |
+
|
13 |
const message = cheersMessages[currentRowIndex];
|
14 |
import domtoimage from 'dom-to-image';
|
15 |
+
const imageBaseUrl = import.meta.env.MODE === 'development' ? 'http://localhost:7860/' : '';
|
16 |
|
17 |
let modalEl: HTMLDivElement;
|
18 |
let elToShare: HTMLDivElement;
|
19 |
let disableDownload: boolean = false;
|
|
|
20 |
async function saveFile(node: HTMLDivElement) {
|
21 |
disableDownload = true;
|
22 |
try {
|
23 |
const blob = await domtoimage.toBlob(node, { bgcolor: '#000' });
|
24 |
const a = document.createElement('a');
|
25 |
a.download = `sucess-${Date.now()}.png`;
|
|
|
26 |
a.onclick = async (e) => {
|
27 |
disableDownload = true;
|
28 |
if (a.href) {
|
40 |
}
|
41 |
}
|
42 |
const onKeyup = (e: KeyboardEvent) => {
|
43 |
+
if (e.key === 'Escape') {
|
44 |
dispatch('restart');
|
45 |
} else if (e.key === ' ') {
|
46 |
saveFile(elToShare);
|
47 |
}
|
48 |
};
|
49 |
+
onMount(() => {
|
50 |
+
window.addEventListener('keyup', onKeyup);
|
51 |
+
return () => window.removeEventListener('keyup', onKeyup);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
});
|
53 |
const s = 10;
|
54 |
const p = 1;
|
56 |
</script>
|
57 |
|
58 |
<!-- Modal made with tailwind -->
|
59 |
+
<div bind:this={modalEl} class="modal relative z-2" transition:fade>
|
60 |
<div class="message">
|
61 |
<div class="border-0">
|
62 |
<div class="p-3" bind:this={elToShare}>
|
65 |
<span class="font-light">hf.co/wordalle</span>
|
66 |
</header>
|
67 |
<h2 class="text-center uppercase tracking-widest font-extrabold">{message}</h2>
|
68 |
+
<div class="grid grid-cols-3 gap-2 p-3">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
{#each imagePaths as image}
|
70 |
<div>
|
71 |
+
<img src={imageBaseUrl + image} alt="" class="aspect-square w-full h-full" />
|
72 |
</div>
|
73 |
{/each}
|
74 |
</div>
|
100 |
>
|
101 |
{!disableDownload ? 'SAVE SCREENSHOT' : 'SAVING..'}
|
102 |
</button>
|
103 |
+
<button class="flex-1 ml-1" on:click={() => dispatch('restart')}> TRY AGAIN </button>
|
104 |
</div>
|
105 |
</div>
|
106 |
</div>
|
111 |
}
|
112 |
.modal {
|
113 |
@apply fixed top-0 left-0 w-screen min-h-screen z-10 bg-black bg-opacity-80 backdrop-blur-sm;
|
|
|
|
|
114 |
}
|
115 |
.go-tweet,
|
116 |
button {
|
frontend/src/lib/badges/fifteen.svelte
DELETED
@@ -1,119 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
8 |
-
fill="none"
|
9 |
-
viewBox="0 0 385 450"
|
10 |
-
width="385"
|
11 |
-
height="450"
|
12 |
-
class={classNames}
|
13 |
-
>
|
14 |
-
<defs>
|
15 |
-
<path
|
16 |
-
id="a"
|
17 |
-
fill="#777A6F"
|
18 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
19 |
-
/>
|
20 |
-
</defs>
|
21 |
-
<use xlink:href="#a" />
|
22 |
-
<mask
|
23 |
-
id="b"
|
24 |
-
width="385"
|
25 |
-
height="443"
|
26 |
-
x="0"
|
27 |
-
y="4"
|
28 |
-
maskUnits="userSpaceOnUse"
|
29 |
-
style="mask-type:alpha"
|
30 |
-
>
|
31 |
-
<use xlink:href="#a" />
|
32 |
-
</mask>
|
33 |
-
<g mask="url(#b)">
|
34 |
-
<path
|
35 |
-
fill="#686C5D"
|
36 |
-
d="M177.5 322c-25 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25.1-59.1 116.3-93.2 205.1-55.5s116 123.4 91 182.5Z"
|
37 |
-
/>
|
38 |
-
<path
|
39 |
-
fill="#4E4F51"
|
40 |
-
d="M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"
|
41 |
-
/>
|
42 |
-
<path
|
43 |
-
fill="#CCDDE2"
|
44 |
-
d="M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"
|
45 |
-
opacity=".2"
|
46 |
-
/>
|
47 |
-
<path
|
48 |
-
fill="#C89435"
|
49 |
-
d="M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"
|
50 |
-
opacity=".3"
|
51 |
-
/>
|
52 |
-
<path
|
53 |
-
fill="#CCDDE2"
|
54 |
-
d="m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"
|
55 |
-
opacity=".2"
|
56 |
-
/>
|
57 |
-
</g>
|
58 |
-
<path
|
59 |
-
fill="url(#c)"
|
60 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
61 |
-
/>
|
62 |
-
<mask
|
63 |
-
id="e"
|
64 |
-
width="351"
|
65 |
-
height="403"
|
66 |
-
x="17"
|
67 |
-
y="4"
|
68 |
-
maskUnits="userSpaceOnUse"
|
69 |
-
style="mask-type:alpha"
|
70 |
-
>
|
71 |
-
<path
|
72 |
-
fill="url(#d)"
|
73 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
74 |
-
/>
|
75 |
-
</mask>
|
76 |
-
<g mask="url(#e)">
|
77 |
-
<path
|
78 |
-
fill="url(#f)"
|
79 |
-
d="M394.2 346.7c46.5-71.6-249.6-263-249.6-263L119 108s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L107 311.7s240.7 106.5 287.3 35Z"
|
80 |
-
opacity=".4"
|
81 |
-
/>
|
82 |
-
<path
|
83 |
-
fill="#D9E8EF"
|
84 |
-
d="M157-47h177L137 459H-40L157-47Zm195.5-2H368L189.5 421H174L352.5-49Z"
|
85 |
-
opacity=".8"
|
86 |
-
/>
|
87 |
-
<path
|
88 |
-
fill="#ECF8FF"
|
89 |
-
d="M360.5 111c14 17 8 34 8 38L389 95 194-31 10 78.5V161s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"
|
90 |
-
/>
|
91 |
-
<path
|
92 |
-
fill="#DBEAF2"
|
93 |
-
d="M21.5 299c-14-17-8-34-8-38L-7 315l195 126 184-109.5V249s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"
|
94 |
-
opacity=".7"
|
95 |
-
/>
|
96 |
-
</g>
|
97 |
-
<path
|
98 |
-
fill="#777A6F"
|
99 |
-
d="M108.6 326a5 5 0 0 1-5-5V58a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5h-41.8Zm173-21.2a5 5 0 0 1-.5 2.1 34.5 34.5 0 0 1-30.6 19.1h-52.6a34.5 34.5 0 0 1-30.8-19.1c-.4-.6-.5-1.4-.5-2V227a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59a5 5 0 0 0-5-5h-56.2a5 5 0 0 1-5-5V58a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v37.9a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30c6.9 0 13.1 1.9 18.7 5.6a33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.7Z"
|
100 |
-
/>
|
101 |
-
<path
|
102 |
-
fill="#fff"
|
103 |
-
d="M108.6 310a5 5 0 0 1-5-5V42a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5h-41.8Zm173-21.2c0 .7-.2 1.4-.5 2a34.5 34.5 0 0 1-30.6 19.2h-52.6a34.5 34.5 0 0 1-30.8-19.1 4 4 0 0 1-.5-2.1V211a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59.1a5 5 0 0 0-5-5h-56.2a5 5 0 0 1-5-5v-142a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v38a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30a33 33 0 0 1 18.7 5.5 33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.8Z"
|
104 |
-
/>
|
105 |
-
<defs>
|
106 |
-
<linearGradient id="c" x1="103" x2="192.5" y1="13" y2="410" gradientUnits="userSpaceOnUse">
|
107 |
-
<stop stop-color="#ACC0BE" />
|
108 |
-
<stop offset="1" stop-color="#8BAAA7" />
|
109 |
-
</linearGradient>
|
110 |
-
<linearGradient id="d" x1="94.5" x2="276" y1="12" y2="386.5" gradientUnits="userSpaceOnUse">
|
111 |
-
<stop stop-color="#F2B445" />
|
112 |
-
<stop offset="1" stop-color="#BD6D18" />
|
113 |
-
</linearGradient>
|
114 |
-
<linearGradient id="f" x1="357.5" x2="69.5" y1="335" y2="146.5" gradientUnits="userSpaceOnUse">
|
115 |
-
<stop stop-color="#6A807A" />
|
116 |
-
<stop offset="1" stop-color="#6A807A" stop-opacity="0" />
|
117 |
-
</linearGradient>
|
118 |
-
</defs>
|
119 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/badges/fifty.svelte
DELETED
@@ -1,106 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
fill="none"
|
8 |
-
viewBox="0 0 385 450"
|
9 |
-
width="385"
|
10 |
-
height="450"
|
11 |
-
class={classNames}
|
12 |
-
>
|
13 |
-
<path
|
14 |
-
fill="#3F7B73"
|
15 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
16 |
-
/>
|
17 |
-
<mask
|
18 |
-
id="a"
|
19 |
-
width="385"
|
20 |
-
height="443"
|
21 |
-
x="0"
|
22 |
-
y="4"
|
23 |
-
maskUnits="userSpaceOnUse"
|
24 |
-
style="mask-type:alpha"
|
25 |
-
>
|
26 |
-
<path
|
27 |
-
fill="#D3720A"
|
28 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
29 |
-
/>
|
30 |
-
</mask>
|
31 |
-
<g mask="url(#a)">
|
32 |
-
<path
|
33 |
-
fill="#468A7D"
|
34 |
-
d="M177.5 322c-25 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25.1-59.1 116.3-93.2 205.1-55.5s116 123.4 91 182.5Z"
|
35 |
-
/>
|
36 |
-
<path
|
37 |
-
fill="#184F4F"
|
38 |
-
d="M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"
|
39 |
-
/>
|
40 |
-
<path
|
41 |
-
fill="#F5FFFF"
|
42 |
-
d="M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"
|
43 |
-
opacity=".3"
|
44 |
-
/>
|
45 |
-
<path
|
46 |
-
fill="#C89435"
|
47 |
-
d="M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"
|
48 |
-
opacity=".3"
|
49 |
-
/>
|
50 |
-
<path
|
51 |
-
fill="#F5FFFF"
|
52 |
-
d="m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"
|
53 |
-
opacity=".3"
|
54 |
-
/>
|
55 |
-
</g>
|
56 |
-
<path
|
57 |
-
fill="#80EBE2"
|
58 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
59 |
-
/>
|
60 |
-
<mask
|
61 |
-
id="b"
|
62 |
-
width="375"
|
63 |
-
height="428"
|
64 |
-
x="4"
|
65 |
-
y="4"
|
66 |
-
maskUnits="userSpaceOnUse"
|
67 |
-
style="mask-type:alpha"
|
68 |
-
>
|
69 |
-
<path
|
70 |
-
fill="#C4D6D6"
|
71 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v184l-.1.4L4 326.5l12.5-17.7a1 1 0 0 1 1.3-.3L186 408l2.5 22.2c.1 1.2 1.9 1.2 2 0L193 408l171.7-98.5a1 1 0 0 1 1.3.3l13 19.2-10.9-22.3a1 1 0 0 1-.1-.4V119a25 25 0 0 0-12.4-21.6Z"
|
72 |
-
/>
|
73 |
-
</mask>
|
74 |
-
<g mask="url(#b)">
|
75 |
-
<path
|
76 |
-
fill="url(#c)"
|
77 |
-
d="M235.2 360.7c46.5-71.6-249.6-263-249.6-263L-40 122s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L-52 325.7s240.7 106.5 287.3 35Z"
|
78 |
-
opacity=".7"
|
79 |
-
/>
|
80 |
-
<path fill="#ECFFFD" d="M246-47h177L226 459H49L246-47Z" opacity=".6" />
|
81 |
-
<path fill="#ECFFFD" d="M441.5-49H457L278.5 421H263L441.5-49Z" opacity=".8" />
|
82 |
-
<path
|
83 |
-
fill="#F5FFFF"
|
84 |
-
d="M359.5 120c9.5 27 0 162.5 10 162.5S388 99 388 99L193-27 9 82.5s-6 202.5 3.5 203 8-162 16-175 120-111 161-92S350 93 359.5 120Z"
|
85 |
-
/>
|
86 |
-
<path
|
87 |
-
fill="#E9FFFF"
|
88 |
-
d="M21.5 296c-14-17-8-34-8-38l-24 59 195 126 201-111.5L372 246s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"
|
89 |
-
opacity=".7"
|
90 |
-
/>
|
91 |
-
</g>
|
92 |
-
<path
|
93 |
-
fill="#34776E"
|
94 |
-
d="M192.6 299.8a5 5 0 0 1-.5 2.1 34.5 34.5 0 0 1-30.6 19.1h-52.6a34.5 34.5 0 0 1-30.8-19c-.4-.6-.5-1.4-.5-2v-78a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59a5 5 0 0 0-5-5H82.6a5 5 0 0 1-5-5V53a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v37.9a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30c6.9 0 13.1 1.9 18.7 5.6a33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.7Zm126.4 0a4 4 0 0 1-.6 2.1c-2.8 5.5-6.9 10-12.1 13.6a32.3 32.3 0 0 1-18.7 5.5h-52.5a33 33 0 0 1-18.8-5.5c-5.2-3.6-9.2-8-11.9-13.6-.3-.6-.4-1.4-.4-2V65.4c0-.7.1-1.4.4-2 3.2-6.6 8-11.5 14.3-15a6 6 0 0 1 2.3-.5h80.7a6 6 0 0 1 2.3.5 34 34 0 0 1 14.5 14.9c.3.7.4 1.4.4 2.1v234.3ZM265 269a5 5 0 0 0 5-5V101a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.3Z"
|
95 |
-
/>
|
96 |
-
<path
|
97 |
-
fill="#fff"
|
98 |
-
d="M192.6 287.8c0 .7-.2 1.4-.5 2a34.5 34.5 0 0 1-30.6 19.2h-52.6a34.5 34.5 0 0 1-30.8-19.1 4 4 0 0 1-.5-2.1V210a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59.1a5 5 0 0 0-5-5H82.6a5 5 0 0 1-5-5v-142a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v38a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30a33 33 0 0 1 18.7 5.5 33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.8Zm126.4-.1c0 .8-.2 1.5-.6 2.2-2.8 5.5-6.9 10-12.1 13.5a32.3 32.3 0 0 1-18.7 5.6h-52.5a34.4 34.4 0 0 1-30.7-19.1c-.3-.7-.4-1.4-.4-2.1V53.4c0-.7.1-1.4.4-2 3.2-6.5 8-11.5 14.3-14.9.7-.4 1.5-.5 2.3-.5h80.7c.8 0 1.6.1 2.3.5a34 34 0 0 1 14.5 14.8c.3.7.4 1.4.4 2.2v234.2ZM265 257a5 5 0 0 0 5-5V88.9a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5V252a5 5 0 0 0 5 5h7.3Z"
|
99 |
-
/>
|
100 |
-
<defs>
|
101 |
-
<linearGradient id="c" x1="242" x2="-4.5" y1="378" y2="154" gradientUnits="userSpaceOnUse">
|
102 |
-
<stop stop-color="#3F866C" />
|
103 |
-
<stop offset="1" stop-color="#48967A" stop-opacity="0" />
|
104 |
-
</linearGradient>
|
105 |
-
</defs>
|
106 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/badges/five.svelte
DELETED
@@ -1,120 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
8 |
-
fill="none"
|
9 |
-
viewBox="0 0 385 450"
|
10 |
-
width="385"
|
11 |
-
height="450"
|
12 |
-
class={classNames}
|
13 |
-
>
|
14 |
-
<defs>
|
15 |
-
<path
|
16 |
-
id="a"
|
17 |
-
fill="#7A3A0C"
|
18 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
19 |
-
/>
|
20 |
-
</defs>
|
21 |
-
<use xlink:href="#a" />
|
22 |
-
<mask
|
23 |
-
id="b"
|
24 |
-
width="385"
|
25 |
-
height="443"
|
26 |
-
x="0"
|
27 |
-
y="4"
|
28 |
-
maskUnits="userSpaceOnUse"
|
29 |
-
style="mask-type:alpha"
|
30 |
-
>
|
31 |
-
<use xlink:href="#a" />
|
32 |
-
</mask>
|
33 |
-
<g mask="url(#b)">
|
34 |
-
<path
|
35 |
-
fill="#592805"
|
36 |
-
d="M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"
|
37 |
-
/>
|
38 |
-
<path
|
39 |
-
fill="#C89435"
|
40 |
-
d="M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"
|
41 |
-
opacity=".2"
|
42 |
-
/>
|
43 |
-
<path
|
44 |
-
fill="#C89435"
|
45 |
-
d="M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"
|
46 |
-
opacity=".3"
|
47 |
-
/>
|
48 |
-
<path
|
49 |
-
fill="#C89435"
|
50 |
-
d="m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"
|
51 |
-
opacity=".2"
|
52 |
-
/>
|
53 |
-
</g>
|
54 |
-
<path
|
55 |
-
fill="url(#c)"
|
56 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
57 |
-
/>
|
58 |
-
<mask
|
59 |
-
id="e"
|
60 |
-
width="351"
|
61 |
-
height="403"
|
62 |
-
x="17"
|
63 |
-
y="4"
|
64 |
-
maskUnits="userSpaceOnUse"
|
65 |
-
style="mask-type:alpha"
|
66 |
-
>
|
67 |
-
<path
|
68 |
-
fill="url(#d)"
|
69 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
70 |
-
/>
|
71 |
-
</mask>
|
72 |
-
<g mask="url(#e)">
|
73 |
-
<path
|
74 |
-
fill="url(#f)"
|
75 |
-
d="M389.2 334.7c46.5-71.6-249.6-263-249.6-263L114 96s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L102 299.7s240.7 106.5 287.3 35Z"
|
76 |
-
opacity=".7"
|
77 |
-
/>
|
78 |
-
<path fill="#FFD893" d="M157-47h177L137 459H-40L157-47Z" opacity=".8" />
|
79 |
-
<path fill="#F9CB80" d="M352.5-49H368L189.5 421H174L352.5-49Z" />
|
80 |
-
<path
|
81 |
-
fill="#FFE9C2"
|
82 |
-
d="M360.5 111c14 17 8 34 8 38L389 95 194-31 10 78.5V161s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"
|
83 |
-
/>
|
84 |
-
<path
|
85 |
-
fill="#FFE0A9"
|
86 |
-
d="M21.5 299c-14-17-8-34-8-38L-7 315l195 126 184-109.5V249s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"
|
87 |
-
opacity=".7"
|
88 |
-
/>
|
89 |
-
</g>
|
90 |
-
<path
|
91 |
-
fill="#7A3A0C"
|
92 |
-
d="M254.6 304.6c0 1-.2 1.8-.6 2.5a34.5 34.5 0 0 1-30.5 19h-52.6a34.5 34.5 0 0 1-30.7-19c-.4-.7-.6-1.6-.6-2.5v-76.5a6 6 0 0 1 6-6h36.8a6 6 0 0 1 6 6v40a6 6 0 0 0 6 6h5.4a6 6 0 0 0 6-6v-57.2a6 6 0 0 0-6-6h-54.2a6 6 0 0 1-6-6V59a6 6 0 0 1 6-6h95.7a6 6 0 0 1 6 6v36a6 6 0 0 1-6 6h-46.9a6 6 0 0 0-6 6v40a6 6 0 0 0 6 6h29a33 33 0 0 1 18.7 5.5 33 33 0 0 1 12 13.4c.3.8.5 1.6.5 2.5v130.2Z"
|
93 |
-
/>
|
94 |
-
<path fill="#8A4C15" d="M175 310h35v16h-35z" />
|
95 |
-
<path
|
96 |
-
fill="#FFF2DC"
|
97 |
-
d="M254.6 288.6c0 .9-.2 1.7-.6 2.5a34.5 34.5 0 0 1-30.5 19h-52.6a34.5 34.5 0 0 1-30.7-19c-.4-.8-.6-1.6-.6-2.5V212a6 6 0 0 1 6-6h36.8a6 6 0 0 1 6 6v40a6 6 0 0 0 6 6h5.4a6 6 0 0 0 6-6v-57a6 6 0 0 0-6-6h-54.2a6 6 0 0 1-6-6V43a6 6 0 0 1 6-6h95.7a6 6 0 0 1 6 6v35.9a6 6 0 0 1-6 6h-46.9a6 6 0 0 0-6 6v40a6 6 0 0 0 6 6h29c6.9 0 13.1 1.9 18.7 5.6a33 33 0 0 1 12 13.4c.3.7.5 1.6.5 2.4v130.3Z"
|
98 |
-
/>
|
99 |
-
<defs>
|
100 |
-
<linearGradient id="c" x1="140.5" x2="219" y1="0" y2="410" gradientUnits="userSpaceOnUse">
|
101 |
-
<stop stop-color="#F2B445" />
|
102 |
-
<stop offset="1" stop-color="#D7882F" />
|
103 |
-
</linearGradient>
|
104 |
-
<linearGradient id="d" x1="94.5" x2="276" y1="12" y2="386.5" gradientUnits="userSpaceOnUse">
|
105 |
-
<stop stop-color="#F2B445" />
|
106 |
-
<stop offset="1" stop-color="#BD6D18" />
|
107 |
-
</linearGradient>
|
108 |
-
<linearGradient
|
109 |
-
id="f"
|
110 |
-
x1="373.6"
|
111 |
-
x2="182.8"
|
112 |
-
y1="370.3"
|
113 |
-
y2="128.4"
|
114 |
-
gradientUnits="userSpaceOnUse"
|
115 |
-
>
|
116 |
-
<stop stop-color="#B05C13" />
|
117 |
-
<stop offset="1" stop-color="#B05C13" stop-opacity="0" />
|
118 |
-
</linearGradient>
|
119 |
-
</defs>
|
120 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/badges/ten.svelte
DELETED
@@ -1,115 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
8 |
-
fill="none"
|
9 |
-
viewBox="0 0 385 450"
|
10 |
-
width="385"
|
11 |
-
height="450"
|
12 |
-
class={classNames}
|
13 |
-
>
|
14 |
-
<defs>
|
15 |
-
<path
|
16 |
-
id="a"
|
17 |
-
fill="#777A6F"
|
18 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
19 |
-
/>
|
20 |
-
</defs>
|
21 |
-
<use xlink:href="#a" />
|
22 |
-
<mask
|
23 |
-
id="b"
|
24 |
-
width="385"
|
25 |
-
height="443"
|
26 |
-
x="0"
|
27 |
-
y="4"
|
28 |
-
maskUnits="userSpaceOnUse"
|
29 |
-
style="mask-type:alpha"
|
30 |
-
>
|
31 |
-
<use xlink:href="#a" />
|
32 |
-
</mask>
|
33 |
-
<g mask="url(#b)">
|
34 |
-
<path
|
35 |
-
fill="#4E4F51"
|
36 |
-
d="M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"
|
37 |
-
/>
|
38 |
-
<path
|
39 |
-
fill="#CCDDE2"
|
40 |
-
d="M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"
|
41 |
-
opacity=".2"
|
42 |
-
/>
|
43 |
-
<path
|
44 |
-
fill="#C89435"
|
45 |
-
d="M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"
|
46 |
-
opacity=".3"
|
47 |
-
/>
|
48 |
-
<path
|
49 |
-
fill="#CCDDE2"
|
50 |
-
d="m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"
|
51 |
-
opacity=".2"
|
52 |
-
/>
|
53 |
-
</g>
|
54 |
-
<path
|
55 |
-
fill="url(#c)"
|
56 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
57 |
-
/>
|
58 |
-
<mask
|
59 |
-
id="e"
|
60 |
-
width="351"
|
61 |
-
height="403"
|
62 |
-
x="17"
|
63 |
-
y="4"
|
64 |
-
maskUnits="userSpaceOnUse"
|
65 |
-
style="mask-type:alpha"
|
66 |
-
>
|
67 |
-
<path
|
68 |
-
fill="url(#d)"
|
69 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
70 |
-
/>
|
71 |
-
</mask>
|
72 |
-
<g mask="url(#e)">
|
73 |
-
<path
|
74 |
-
fill="url(#f)"
|
75 |
-
d="M394.2 346.7c46.5-71.6-249.6-263-249.6-263L119 108s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L107 311.7s240.7 106.5 287.3 35Z"
|
76 |
-
opacity=".4"
|
77 |
-
/>
|
78 |
-
<path
|
79 |
-
fill="#D9E8EF"
|
80 |
-
d="M157-47h177L137 459H-40L157-47Zm195.5-2H368L189.5 421H174L352.5-49Z"
|
81 |
-
opacity=".8"
|
82 |
-
/>
|
83 |
-
<path
|
84 |
-
fill="#ECF8FF"
|
85 |
-
d="M360.5 111c14 17 8 34 8 38L389 95 194-31 10 78.5V161s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"
|
86 |
-
/>
|
87 |
-
<path
|
88 |
-
fill="#DBEAF2"
|
89 |
-
d="M21.5 299c-14-17-8-34-8-38L-7 315l195 126 184-109.5V249s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"
|
90 |
-
opacity=".7"
|
91 |
-
/>
|
92 |
-
</g>
|
93 |
-
<path
|
94 |
-
fill="#777A6F"
|
95 |
-
d="M109 325a5 5 0 0 1-5-5V57a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5H109Zm173-21.2a5 5 0 0 1-.5 2.1c-2.9 5.5-7 10-12.2 13.6a32.3 32.3 0 0 1-18.6 5.5H198a33.2 33.2 0 0 1-30.6-19.1c-.4-.6-.5-1.4-.5-2V69.4c0-.7.1-1.4.5-2 3.2-6.6 8-11.5 14.3-15 .7-.3 1.4-.5 2.2-.5h80.8c.8 0 1.5.2 2.2.5a34 34 0 0 1 14.5 14.9c.3.7.5 1.4.5 2.1v234.3ZM228.2 273a5 5 0 0 0 5-5V105a5 5 0 0 0-5-5h-7.4a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.4Z"
|
96 |
-
/>
|
97 |
-
<path
|
98 |
-
fill="#fff"
|
99 |
-
d="M109 310a5 5 0 0 1-5-5V42a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5H109Zm173-21.2a5 5 0 0 1-.5 2.1c-2.9 5.5-7 10-12.2 13.6a32.3 32.3 0 0 1-18.6 5.5H198a33.2 33.2 0 0 1-30.6-19.1c-.4-.6-.5-1.4-.5-2V54.4c0-.7.1-1.4.5-2 3.2-6.6 8-11.5 14.3-15 .7-.3 1.4-.5 2.2-.5h80.8c.8 0 1.5.2 2.2.5a34 34 0 0 1 14.5 14.9c.3.7.5 1.4.5 2.1v234.3ZM228.2 258a5 5 0 0 0 5-5V90a5 5 0 0 0-5-5h-7.4a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.4Z"
|
100 |
-
/>
|
101 |
-
<defs>
|
102 |
-
<linearGradient id="c" x1="103" x2="192.5" y1="13" y2="410" gradientUnits="userSpaceOnUse">
|
103 |
-
<stop stop-color="#ACC0BE" />
|
104 |
-
<stop offset="1" stop-color="#8BAAA7" />
|
105 |
-
</linearGradient>
|
106 |
-
<linearGradient id="d" x1="94.5" x2="276" y1="12" y2="386.5" gradientUnits="userSpaceOnUse">
|
107 |
-
<stop stop-color="#F2B445" />
|
108 |
-
<stop offset="1" stop-color="#BD6D18" />
|
109 |
-
</linearGradient>
|
110 |
-
<linearGradient id="f" x1="357.5" x2="69.5" y1="335" y2="146.5" gradientUnits="userSpaceOnUse">
|
111 |
-
<stop stop-color="#6A807A" />
|
112 |
-
<stop offset="1" stop-color="#6A807A" stop-opacity="0" />
|
113 |
-
</linearGradient>
|
114 |
-
</defs>
|
115 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/badges/thirtyfive.svelte
DELETED
@@ -1,109 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
fill="none"
|
8 |
-
viewBox="0 0 385 450"
|
9 |
-
width="385"
|
10 |
-
height="450"
|
11 |
-
class={classNames}
|
12 |
-
>
|
13 |
-
<path
|
14 |
-
fill="#D9800D"
|
15 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
16 |
-
/>
|
17 |
-
<mask
|
18 |
-
id="a"
|
19 |
-
width="385"
|
20 |
-
height="443"
|
21 |
-
x="0"
|
22 |
-
y="4"
|
23 |
-
maskUnits="userSpaceOnUse"
|
24 |
-
style="mask-type:alpha"
|
25 |
-
>
|
26 |
-
<path
|
27 |
-
fill="#D3720A"
|
28 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
29 |
-
/>
|
30 |
-
</mask>
|
31 |
-
<g mask="url(#a)">
|
32 |
-
<path
|
33 |
-
fill="#B87711"
|
34 |
-
d="M164.6 311.8c-25.1 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25-59.1 116.3-93.2 205-55.5 88.9 37.7 116.2 123.4 91 182.5Z"
|
35 |
-
/>
|
36 |
-
<path
|
37 |
-
fill="#7C4D16"
|
38 |
-
d="M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"
|
39 |
-
/>
|
40 |
-
<path
|
41 |
-
fill="#F5DD21"
|
42 |
-
d="M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"
|
43 |
-
opacity=".3"
|
44 |
-
/>
|
45 |
-
<path
|
46 |
-
fill="#C89435"
|
47 |
-
d="M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"
|
48 |
-
opacity=".3"
|
49 |
-
/>
|
50 |
-
<path
|
51 |
-
fill="#F5DD21"
|
52 |
-
d="m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"
|
53 |
-
opacity=".3"
|
54 |
-
/>
|
55 |
-
</g>
|
56 |
-
<path
|
57 |
-
fill="url(#b)"
|
58 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
59 |
-
/>
|
60 |
-
<mask
|
61 |
-
id="c"
|
62 |
-
width="351"
|
63 |
-
height="403"
|
64 |
-
x="17"
|
65 |
-
y="4"
|
66 |
-
maskUnits="userSpaceOnUse"
|
67 |
-
style="mask-type:alpha"
|
68 |
-
>
|
69 |
-
<path
|
70 |
-
fill="#FBEC17"
|
71 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
72 |
-
/>
|
73 |
-
</mask>
|
74 |
-
<g mask="url(#c)">
|
75 |
-
<path
|
76 |
-
fill="url(#d)"
|
77 |
-
d="M197.2 341.7c46.5-71.6-249.6-263-249.6-263L-78 103S133.6 217.9 98.5 266.3c-35 48.4-217-78.3-217-78.3L-90 306.7s240.7 106.5 287.3 35Z"
|
78 |
-
opacity=".7"
|
79 |
-
/>
|
80 |
-
<path fill="#FFFA86" d="M259-47h177L239 459H62L259-47Z" opacity=".6" />
|
81 |
-
<path fill="#FFFA86" d="M454.5-49H470L291.5 421H276L454.5-49Z" opacity=".8" />
|
82 |
-
<path
|
83 |
-
fill="#FFFCE6"
|
84 |
-
d="M359.5 115c14 17 8 34 8 38L388 99 193-27 9 82.5V165s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"
|
85 |
-
/>
|
86 |
-
<path
|
87 |
-
fill="#FFFAD5"
|
88 |
-
d="M21.5 296c-14-17-8-34-8-38L-7 312l195 126 184-109.5V246s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"
|
89 |
-
/>
|
90 |
-
</g>
|
91 |
-
<path
|
92 |
-
fill="#D9800D"
|
93 |
-
d="M187 167.4a33 33 0 0 1-8.6 11.4 32 32 0 0 1 8.6 11.6v115.5a34.5 34.5 0 0 1-31.1 20.1h-52.6A34.5 34.5 0 0 1 72 306v-81.2h48.8V274h17.4v-69H107v-52h31.2v-52h-17.4v32H72V69.3c3.4-7 8.4-12.5 15.3-16.2h84.4c6.8 3.7 12 9.1 15.3 16.2v98.2ZM313.4 306a34.5 34.5 0 0 1-31.2 20h-52.5a34.5 34.5 0 0 1-31.3-20.1V222h48.8v52h17.3v-69h-66.1V53H306v47.9h-59v52h35.1c6.9 0 13 1.9 18.7 5.6a33 33 0 0 1 12.5 14.5v133Z"
|
94 |
-
/>
|
95 |
-
<path
|
96 |
-
fill="#fff"
|
97 |
-
d="M187 150.4a33 33 0 0 1-8.6 11.4 32 32 0 0 1 8.6 11.6v115.5a34.5 34.5 0 0 1-31.1 20.1h-52.6A34.5 34.5 0 0 1 72 289v-81.2h48.8V257h17.4v-69H107v-52h31.2V84h-17.4v32H72V52.3c3.4-7 8.4-12.5 15.3-16.2h84.4c6.8 3.7 12 9.1 15.3 16.2v98.2ZM313.4 289a34.5 34.5 0 0 1-31.2 20h-52.5a34.5 34.5 0 0 1-31.3-20.1V205h48.8v52h17.3v-69h-66.1V36H306v47.9h-59v52h35.1c6.9 0 13 1.9 18.7 5.6a33 33 0 0 1 12.5 14.5v133Z"
|
98 |
-
/>
|
99 |
-
<defs>
|
100 |
-
<linearGradient id="b" x1="147" x2="201.5" y1="0" y2="418.5" gradientUnits="userSpaceOnUse">
|
101 |
-
<stop stop-color="#F8EF0A" />
|
102 |
-
<stop offset="1" stop-color="#F5BE1B" />
|
103 |
-
</linearGradient>
|
104 |
-
<linearGradient id="d" x1="111" x2="-21" y1="357.5" y2="126" gradientUnits="userSpaceOnUse">
|
105 |
-
<stop stop-color="#FE9C15" />
|
106 |
-
<stop offset="1" stop-color="#FE9C15" stop-opacity="0" />
|
107 |
-
</linearGradient>
|
108 |
-
</defs>
|
109 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/badges/twenty.svelte
DELETED
@@ -1,109 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
fill="none"
|
8 |
-
viewBox="0 0 385 450"
|
9 |
-
width="385"
|
10 |
-
height="450"
|
11 |
-
class={classNames}
|
12 |
-
>
|
13 |
-
<path
|
14 |
-
fill="#D9800D"
|
15 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
16 |
-
/>
|
17 |
-
<mask
|
18 |
-
id="a"
|
19 |
-
width="385"
|
20 |
-
height="443"
|
21 |
-
x="0"
|
22 |
-
y="4"
|
23 |
-
maskUnits="userSpaceOnUse"
|
24 |
-
style="mask-type:alpha"
|
25 |
-
>
|
26 |
-
<path
|
27 |
-
fill="#D3720A"
|
28 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
29 |
-
/>
|
30 |
-
</mask>
|
31 |
-
<g mask="url(#a)">
|
32 |
-
<path
|
33 |
-
fill="#B87711"
|
34 |
-
d="M164.6 311.8c-25.1 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25-59.1 116.3-93.2 205-55.5 88.9 37.7 116.2 123.4 91 182.5Z"
|
35 |
-
/>
|
36 |
-
<path
|
37 |
-
fill="#7C4D16"
|
38 |
-
d="M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"
|
39 |
-
/>
|
40 |
-
<path
|
41 |
-
fill="#F5DD21"
|
42 |
-
d="M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"
|
43 |
-
opacity=".3"
|
44 |
-
/>
|
45 |
-
<path
|
46 |
-
fill="#C89435"
|
47 |
-
d="M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"
|
48 |
-
opacity=".3"
|
49 |
-
/>
|
50 |
-
<path
|
51 |
-
fill="#F5DD21"
|
52 |
-
d="m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"
|
53 |
-
opacity=".3"
|
54 |
-
/>
|
55 |
-
</g>
|
56 |
-
<path
|
57 |
-
fill="url(#b)"
|
58 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
59 |
-
/>
|
60 |
-
<mask
|
61 |
-
id="c"
|
62 |
-
width="351"
|
63 |
-
height="403"
|
64 |
-
x="17"
|
65 |
-
y="4"
|
66 |
-
maskUnits="userSpaceOnUse"
|
67 |
-
style="mask-type:alpha"
|
68 |
-
>
|
69 |
-
<path
|
70 |
-
fill="#FBEC17"
|
71 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
72 |
-
/>
|
73 |
-
</mask>
|
74 |
-
<g mask="url(#c)">
|
75 |
-
<path
|
76 |
-
fill="url(#d)"
|
77 |
-
d="M197.2 341.7c46.5-71.6-249.6-263-249.6-263L-78 103S133.6 217.9 98.5 266.3c-35 48.4-217-78.3-217-78.3L-90 306.7s240.7 106.5 287.3 35Z"
|
78 |
-
opacity=".7"
|
79 |
-
/>
|
80 |
-
<path fill="#FFFA86" d="M259-47h177L239 459H62L259-47Z" opacity=".6" />
|
81 |
-
<path fill="#FFFA86" d="M454.5-49H470L291.5 421H276L454.5-49Z" opacity=".8" />
|
82 |
-
<path
|
83 |
-
fill="#FFFCE6"
|
84 |
-
d="M359.5 115c14 17 8 34 8 38L388 99 193-27 9 82.5V165s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"
|
85 |
-
/>
|
86 |
-
<path
|
87 |
-
fill="#FFFAD5"
|
88 |
-
d="M21.5 296c-14-17-8-34-8-38L-7 312l195 126 184-109.5V246s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"
|
89 |
-
/>
|
90 |
-
</g>
|
91 |
-
<path
|
92 |
-
fill="#D9800D"
|
93 |
-
d="M187 74.3a5 5 0 0 0-.5-2.1 34.2 34.2 0 0 0-12.2-13.6 32.3 32.3 0 0 0-18.6-5.6H103a34 34 0 0 0-30.6 19.2c-.4.6-.5 1.3-.5 2V152a5 5 0 0 0 5 5h38.8a5 5 0 0 0 5-5v-42a5 5 0 0 1 5-5h7.4a5 5 0 0 1 5 5v59.3a5 5 0 0 1-5 5h-30a33.6 33.6 0 0 0-30.7 19.1c-.3.7-.5 1.4-.5 2.1v113.4c0 .7.1 1.4.5 2a33 33 0 0 0 13.7 14.7c.7.4 1.5.6 2.3.6H182a5 5 0 0 0 5-5v-72.6a5 5 0 0 0-5-5h-38.8a5 5 0 0 0-5 5V273a5 5 0 0 1-5 5h-7.4a5 5 0 0 1-5-5v-41.8a5 5 0 0 1 5-5h29.9c7 0 13.2-1.9 18.6-5.6a36 36 0 0 0 12.2-13.5c.3-.7.5-1.4.5-2.2V74.3Zm126.4 230.5c0 .8-.2 1.5-.5 2.2-2.9 5.5-7 10-12.2 13.5a32.3 32.3 0 0 1-18.7 5.6h-52.5c-7 0-13.2-1.9-18.8-5.6-5.2-3.5-9.1-8-11.9-13.6-.3-.6-.4-1.3-.4-2V70.5c0-.7.1-1.4.4-2 3.2-6.5 8-11.5 14.4-15a5 5 0 0 1 2.2-.5H296c.8 0 1.6.2 2.3.6a34 34 0 0 1 14.5 14.8c.3.7.5 1.4.5 2.2v234.2Zm-53.9-30.7a5 5 0 0 0 5-5V105.9a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5v163.2a5 5 0 0 0 5 5h7.3Z"
|
94 |
-
/>
|
95 |
-
<path
|
96 |
-
fill="#FFFFEF"
|
97 |
-
d="M187 58.2c0-.7-.2-1.4-.5-2a34.2 34.2 0 0 0-12.2-13.6 32.3 32.3 0 0 0-18.6-5.6H103a33.2 33.2 0 0 0-30.6 19.2c-.4.6-.5 1.3-.5 2v77.6a5 5 0 0 0 5 5h38.8a5 5 0 0 0 5-5v-42a5 5 0 0 1 5-5h7.4a5 5 0 0 1 5 5v59.3a5 5 0 0 1-5 5h-30c-7 0-13.3 2-18.9 5.6-5.2 3.6-9.1 8-11.8 13.6-.3.6-.5 1.3-.5 2v113.4c0 .8.1 1.5.5 2.1 3 6.2 7.6 11.1 13.7 14.6.7.4 1.5.6 2.3.6H182a5 5 0 0 0 5-5v-72.5a5 5 0 0 0-5-5h-38.8a5 5 0 0 0-5 5V257a5 5 0 0 1-5 5h-7.4a5 5 0 0 1-5-5v-42a5 5 0 0 1 5-5h29.9a32 32 0 0 0 18.6-5.5c5.3-3.6 9.3-8 12.2-13.6a5 5 0 0 0 .5-2.1V58.2Zm126.4 230.6a5 5 0 0 1-.5 2.1c-2.9 5.5-7 10-12.2 13.6A32.3 32.3 0 0 1 282 310h-52.5a33.2 33.2 0 0 1-30.7-19.1c-.3-.6-.4-1.4-.4-2V54.4c0-.7.1-1.4.4-2 3.2-6.6 8-11.5 14.4-15a5 5 0 0 1 2.2-.5H296a6 6 0 0 1 2.3.5 34 34 0 0 1 14.5 14.9c.3.7.5 1.4.5 2.1v234.3ZM259.5 258a5 5 0 0 0 5-5V90a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.3Z"
|
98 |
-
/>
|
99 |
-
<defs>
|
100 |
-
<linearGradient id="b" x1="147" x2="201.5" y1="0" y2="418.5" gradientUnits="userSpaceOnUse">
|
101 |
-
<stop stop-color="#F8EF0A" />
|
102 |
-
<stop offset="1" stop-color="#F5BE1B" />
|
103 |
-
</linearGradient>
|
104 |
-
<linearGradient id="d" x1="111" x2="-21" y1="357.5" y2="126" gradientUnits="userSpaceOnUse">
|
105 |
-
<stop stop-color="#FE9C15" />
|
106 |
-
<stop offset="1" stop-color="#FE9C15" stop-opacity="0" />
|
107 |
-
</linearGradient>
|
108 |
-
</defs>
|
109 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/badges/two.svelte
DELETED
@@ -1,84 +0,0 @@
|
|
1 |
-
<script lang="ts">
|
2 |
-
export let classNames = '';
|
3 |
-
</script>
|
4 |
-
|
5 |
-
<svg
|
6 |
-
xmlns="http://www.w3.org/2000/svg"
|
7 |
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
8 |
-
fill="none"
|
9 |
-
viewBox="0 0 385 450"
|
10 |
-
width="385"
|
11 |
-
height="450"
|
12 |
-
class={classNames}
|
13 |
-
>
|
14 |
-
<defs>
|
15 |
-
<path
|
16 |
-
id="a"
|
17 |
-
fill="#6A2B16"
|
18 |
-
d="M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"
|
19 |
-
/>
|
20 |
-
</defs>
|
21 |
-
<use xlink:href="#a" />
|
22 |
-
<mask
|
23 |
-
id="b"
|
24 |
-
width="385"
|
25 |
-
height="443"
|
26 |
-
x="0"
|
27 |
-
y="4"
|
28 |
-
maskUnits="userSpaceOnUse"
|
29 |
-
style="mask-type:alpha"
|
30 |
-
>
|
31 |
-
<use xlink:href="#a" />
|
32 |
-
</mask>
|
33 |
-
<g fill="#4D1D0D" mask="url(#b)">
|
34 |
-
<path
|
35 |
-
d="m-5.5 196 23-34.5L19 196l-23 25-1.5-25Zm394 111.5-21-18-3.5 11 23 25 1.5-18Zm0-60.5c7 0-21-25.5-21-25.5L364 240l23 25s-5.5-18 1.5-18Zm-1.5-71.5-19.5-24-25 14.5 24.5-4.5 19.5 20 .5-6Zm-1.5-59.1c6.7-2.3-28.2-17.1-28.2-17.1l2.8 18.6c18.4 7.4 23.7 10.7 30 16 0 0-11.2-15.1-4.6-17.5ZM-5 279.5c12.8-8 16.3-17.7 23-34.5l-1 14S5 285.5-4 281.5s-1-2-1-2Zm4 61c8-4 14.5-19 23-34.5l4 3.5c-15 18.5-9.5 24-19 40l-8-9Zm240 85c-17 2-12-18-20.5-33.5l-6.5 2.5c15 18.5-7 29.5 2.5 45.5l24.5-14.5Zm-205-62c3-22.5 14.5-19 23-34.5l17.5 11c-15 18.5-30 9-32.5 32.5l-8-9Zm72 41c-1-45.5-4.5-47.5 9-53.5l28.5 3c-8.2 7.6-17 8-24.5 11.5-4 5-8 23-8 39.5l-5-.5Zm177.5-49c6 14-14 38.1 0 49l-7.3 6.5c-15.9-17.8 7-39.5 1.3-52l6-3.5Z"
|
36 |
-
/>
|
37 |
-
</g>
|
38 |
-
<path
|
39 |
-
fill="url(#c)"
|
40 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l66.4 39.5a25 25 0 0 0 16.2 3.3l29.7-4c1.2-.2 1.6 1.4.5 1.8l-22.3 9.5a2 2 0 0 0-.3 3.5l57.4 34.1a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V162.8a2 2 0 0 0-2.3-2l-16 2.6c-1 .2-1.5-1.4-.5-1.9l17.1-8.2a3 3 0 0 0 1.7-2.7v-31.5a25 25 0 0 0-12.4-21.6Z"
|
41 |
-
/>
|
42 |
-
<g opacity=".3" style="mix-blend-mode:multiply">
|
43 |
-
<mask
|
44 |
-
id="d"
|
45 |
-
width="351"
|
46 |
-
height="403"
|
47 |
-
x="17"
|
48 |
-
y="4"
|
49 |
-
maskUnits="userSpaceOnUse"
|
50 |
-
style="mask-type:alpha"
|
51 |
-
>
|
52 |
-
<path
|
53 |
-
fill="#C46545"
|
54 |
-
d="m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"
|
55 |
-
/>
|
56 |
-
</mask>
|
57 |
-
<g fill="#B66D40" mask="url(#d)">
|
58 |
-
<path
|
59 |
-
d="M399.5 80.5C266 122 87.5 50.5-19 203.5l8 12.5C166.5 93.5 301.8 111.5 399.5 80.5ZM269 32c-112 7-91.5-18-161.5-18L82 32c44.6 12.4 72.4 18.8 198 12.5L269 32Zm-68 125.5c-84.9 24.9-129.3 43-193 96l-10 21c74.6-60.5 118.5-88 203-117ZM64.2 276c-19.7 4.6-62.4 50.4-62.4 50.4C37 299.6 88 279 91.8 293.7c3.8 14.7-32.9 37.8-38.7 37.6C36.4 331 3.7 339 3.7 339s51.7 2.5 59.6 5.1c15.1 4.8 45.4-48.5 65-62.9-1.7-6.5-44.5-9.7-64.1-5.2ZM301 134.5c20.8-4.2 63.1-21 70.5-31.5l5 14.5c-27.2 13.8-44.5 15-75.5 17Zm-177.5 106C242 205.5 306.4 209.2 395 227l-4 27.5c-27.5-19.5-149-38.7-267.5-14Zm98.5 40.2c55.8-4.4 146.7 11.7 152 30.1l10.7-14.6c-51-22.6-87.8-24-162.7-15.5Zm55 88.3c27-39.5-8.5-61.5-106.5-21 67-14 114-18.5 106.5 21Zm-63.3 36c16.4-20.4-5.2-31.8-64.7-10.9 40.7-7.2 69.2-9.5 64.7 10.9Z"
|
60 |
-
/>
|
61 |
-
</g>
|
62 |
-
</g>
|
63 |
-
<path
|
64 |
-
fill="#98492E"
|
65 |
-
d="M249 68.5c0-1-.2-1.8-.6-2.6-2.8-5.5-6.9-10-12-13.3a32.3 32.3 0 0 0-18.7-5.6H165a34 34 0 0 0-30.6 19c-.3.7-.5 1.6-.5 2.4v76.4a6 6 0 0 0 6 6h36.8a6 6 0 0 0 6-6v-40a6 6 0 0 1 6-6h5.4a6 6 0 0 1 6 6v57.3a6 6 0 0 1-6 6h-29c-7 0-13.3 2-18.9 5.6a35 35 0 0 0-11.7 13.4c-.4.8-.6 1.6-.6 2.5v113c0 .8.2 1.6.6 2.4 3 6 7.5 10.8 13.4 14.3.8.5 1.8.7 2.8.7H243a6 6 0 0 0 6-6v-70.5a6 6 0 0 0-6-6h-36.8a6 6 0 0 0-6 6V266a6 6 0 0 1-6 6h-5.4a6 6 0 0 1-6-6v-40a6 6 0 0 1 6-6h28.9a32 32 0 0 0 18.6-5.5c5.2-3.5 9.2-8 12-13.4.5-.8.7-1.6.7-2.5V68.5Z"
|
66 |
-
/>
|
67 |
-
<path
|
68 |
-
fill="#FFD193"
|
69 |
-
d="M249 58.5c0-1-.2-1.8-.6-2.6-2.8-5.5-6.9-10-12-13.3a32.3 32.3 0 0 0-18.7-5.6H165a34 34 0 0 0-30.6 19c-.3.7-.5 1.6-.5 2.4v76.4a6 6 0 0 0 6 6h36.8a6 6 0 0 0 6-6v-40a6 6 0 0 1 6-6h5.4a6 6 0 0 1 6 6v57.3a6 6 0 0 1-6 6h-29c-7 0-13.3 2-18.9 5.6a35 35 0 0 0-11.7 13.4c-.4.8-.6 1.6-.6 2.5v113c0 .8.2 1.6.6 2.4 3 6 7.5 10.8 13.4 14.3.8.5 1.8.7 2.8.7H243a6 6 0 0 0 6-6v-70.5a6 6 0 0 0-6-6h-36.8a6 6 0 0 0-6 6V256a6 6 0 0 1-6 6h-5.4a6 6 0 0 1-6-6v-40a6 6 0 0 1 6-6h28.9a32 32 0 0 0 18.6-5.5c5.2-3.5 9.2-8 12-13.4.5-.8.7-1.6.7-2.5V58.5Z"
|
70 |
-
/>
|
71 |
-
<defs>
|
72 |
-
<linearGradient
|
73 |
-
id="c"
|
74 |
-
x1="107.5"
|
75 |
-
x2="208.5"
|
76 |
-
y1="-13.5"
|
77 |
-
y2="446.5"
|
78 |
-
gradientUnits="userSpaceOnUse"
|
79 |
-
>
|
80 |
-
<stop stop-color="#EEB657" />
|
81 |
-
<stop offset="1" stop-color="#B65841" />
|
82 |
-
</linearGradient>
|
83 |
-
</defs>
|
84 |
-
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/store.ts
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
import { browser } from '$app/env';
|
2 |
-
import { writable } from 'svelte/store';
|
3 |
-
import type { User, SuccessPrompt } from '../types';
|
4 |
-
import { nanoid } from 'nanoid';
|
5 |
-
|
6 |
-
const initialUser: User = nanoid();
|
7 |
-
const intialCompletedPrompts: SuccessPrompt[] = [];
|
8 |
-
|
9 |
-
export const currentUser = writable<User>(
|
10 |
-
browser ? JSON.parse(localStorage['user'] || JSON.stringify(initialUser)) : initialUser
|
11 |
-
);
|
12 |
-
currentUser.subscribe((value) => {
|
13 |
-
if (browser) {
|
14 |
-
return (localStorage['user'] = JSON.stringify(value));
|
15 |
-
}
|
16 |
-
});
|
17 |
-
export const completedPromptsStore = writable<SuccessPrompt[]>(
|
18 |
-
browser
|
19 |
-
? JSON.parse(localStorage['completedPrompts'] || JSON.stringify(intialCompletedPrompts))
|
20 |
-
: intialCompletedPrompts
|
21 |
-
);
|
22 |
-
completedPromptsStore.subscribe((value) => {
|
23 |
-
if (browser) {
|
24 |
-
return (localStorage['completedPrompts'] = JSON.stringify(value));
|
25 |
-
}
|
26 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/src/lib/utils.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
// original code inspired by Evan You https://github.com/yyx990803/vue-wordle/
|
2 |
import { LetterState } from '../types';
|
3 |
-
import type { Board
|
4 |
|
5 |
export function clearTile(board: Board, currentRowIndex: number) {
|
6 |
const newBoard = [...board];
|
@@ -36,16 +36,6 @@ export const colors = {
|
|
36 |
[LetterState.INITIAL]: '#5d5d5d'
|
37 |
};
|
38 |
|
39 |
-
export const badgesComponents: BadgeComponent = {
|
40 |
-
2: 'two',
|
41 |
-
5: 'five',
|
42 |
-
10: 'ten',
|
43 |
-
15: 'fifteen',
|
44 |
-
20: 'twenty',
|
45 |
-
35: 'thirtyfive',
|
46 |
-
50: 'fifty'
|
47 |
-
};
|
48 |
-
|
49 |
export const cheersMessages = [
|
50 |
'🤗 Hugging 🤗',
|
51 |
'🧞 Genius 🧞',
|
@@ -53,5 +43,5 @@ export const cheersMessages = [
|
|
53 |
'😲 Impressive 😲',
|
54 |
'🧚 Splendid 🧚',
|
55 |
'✳ Great ✳',
|
56 |
-
'🍡 Phew 🍡'
|
57 |
];
|
1 |
// original code inspired by Evan You https://github.com/yyx990803/vue-wordle/
|
2 |
import { LetterState } from '../types';
|
3 |
+
import type { Board } from '../types';
|
4 |
|
5 |
export function clearTile(board: Board, currentRowIndex: number) {
|
6 |
const newBoard = [...board];
|
36 |
[LetterState.INITIAL]: '#5d5d5d'
|
37 |
};
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
export const cheersMessages = [
|
40 |
'🤗 Hugging 🤗',
|
41 |
'🧞 Genius 🧞',
|
43 |
'😲 Impressive 😲',
|
44 |
'🧚 Splendid 🧚',
|
45 |
'✳ Great ✳',
|
46 |
+
'🍡 Phew 🍡',
|
47 |
];
|
frontend/src/routes/index.svelte
CHANGED
@@ -1,52 +1,28 @@
|
|
1 |
<script lang="ts">
|
2 |
// original code inspired by Evan You https://github.com/yyx990803/vue-wordle/
|
3 |
-
import { LetterState
|
4 |
-
import type { Board, PromptsData, SuccessPrompt
|
5 |
import { clearTile, fillTile } from '$lib/utils';
|
6 |
|
7 |
import Keyboard from '$lib/Keyboard.svelte';
|
8 |
import Result from '$lib/Result.svelte';
|
9 |
import Message from '$lib/Message.svelte';
|
10 |
-
import { currentUser, completedPromptsStore } from '$lib/store';
|
11 |
|
12 |
-
import { onMount,
|
13 |
-
import { browser, dev } from '$app/env';
|
14 |
-
import { base } from '$app/paths';
|
15 |
|
16 |
const totalTime = 1000;
|
17 |
-
const apiUrl =
|
18 |
-
|
|
|
19 |
let promptsData: PromptsData;
|
20 |
let completedPrompts: SuccessPrompt[] = [];
|
21 |
let currPromptIndex: number;
|
22 |
onMount(async () => {
|
23 |
-
|
24 |
-
promptsData = await fetch(apiUrl + 'data').then((d) => d.json());
|
25 |
-
|
26 |
-
completedPrompts = $completedPromptsStore;
|
27 |
-
if (completedPrompts.length >= Object.keys(promptsData).length) {
|
28 |
-
gameState = GameState.COMPLETED;
|
29 |
-
}
|
30 |
-
|
31 |
-
console.log('Current User Data:', $currentUser);
|
32 |
-
console.log('Completed Prompts:', $completedPromptsStore);
|
33 |
-
|
34 |
restartBoard();
|
35 |
-
window.addEventListener('keyup', onKeyup, true);
|
36 |
-
window.addEventListener('resize', onResize);
|
37 |
-
window.focus();
|
38 |
-
document.body.addEventListener('click', () => window.focus(), false);
|
39 |
-
// update completed prompts with local storage data
|
40 |
-
});
|
41 |
-
|
42 |
-
function onResize() {
|
43 |
-
document.body.style.setProperty('--vh', window.innerHeight + 'px');
|
44 |
-
}
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
window.removeEventListener('keyup', onKeyup, true);
|
49 |
-
}
|
50 |
});
|
51 |
|
52 |
// Get word of the day
|
@@ -64,41 +40,26 @@
|
|
64 |
// Feedback state: message and shake
|
65 |
let message = '';
|
66 |
let shakeRowIndex = -1;
|
67 |
-
let
|
68 |
// Handle keyboard input.
|
69 |
let allowInput = true;
|
70 |
|
71 |
function restartBoard() {
|
72 |
//reset all states
|
|
|
73 |
shakeRowIndex = -1;
|
74 |
message = '';
|
75 |
currentRowIndex = 0;
|
76 |
-
letterStates = {}
|
77 |
-
allowInput
|
78 |
|
79 |
const prompts: string[] = Object.keys(promptsData);
|
80 |
-
|
81 |
-
|
82 |
-
showMessage("You've completed all prompts. Please come back later for more!", -1);
|
83 |
-
gameState = GameState.COMPLETED;
|
84 |
-
allowInput = false;
|
85 |
-
completedPrompts = [];
|
86 |
-
} else {
|
87 |
-
gameState = GameState.PLAYING;
|
88 |
-
}
|
89 |
-
|
90 |
-
const idsToRemove = completedPrompts.map((e) => e.idx);
|
91 |
-
const promptsFiltered = prompts.filter((_, i) => !idsToRemove.includes(i));
|
92 |
-
const radomPromptId = ~~(Math.random() * promptsFiltered.length);
|
93 |
-
const randomPrompt: string = promptsFiltered[radomPromptId];
|
94 |
-
currPromptIndex = prompts.indexOf(randomPrompt);
|
95 |
-
|
96 |
answer = randomPrompt.replace(/_/g, ' ');
|
97 |
imagePaths = promptsData[randomPrompt].slice(0, 6);
|
98 |
-
|
99 |
-
|
100 |
-
// console.log(answer);
|
101 |
-
cols = answer.length;
|
102 |
timePerTile = totalTime / cols;
|
103 |
|
104 |
board = Array.from({ length: 7 }, () =>
|
@@ -129,7 +90,7 @@
|
|
129 |
function completeRow() {
|
130 |
const newBoard = [...board];
|
131 |
const currentRow = newBoard[currentRowIndex];
|
132 |
-
const currentletterStates = {
|
133 |
|
134 |
if (currentRow.every((tile) => tile.letter)) {
|
135 |
const guess = currentRow.map((tile) => tile.letter).join('');
|
@@ -138,9 +99,6 @@
|
|
138 |
// showMessage(`Not in word list`)
|
139 |
// return
|
140 |
// }
|
141 |
-
if (allowShare) {
|
142 |
-
postProcess(currentRow);
|
143 |
-
}
|
144 |
|
145 |
const answerLetters: (string | null)[] = answer.split('');
|
146 |
// first pass: mark correct ones
|
@@ -174,11 +132,8 @@
|
|
174 |
allowInput = false;
|
175 |
if (currentRow.every((tile) => tile.state === LetterState.CORRECT)) {
|
176 |
// yay!
|
177 |
-
completedPrompts = [...completedPrompts, { prompt: answer, idx: currPromptIndex }];
|
178 |
-
$completedPromptsStore = completedPrompts;
|
179 |
-
|
180 |
setTimeout(() => {
|
181 |
-
|
182 |
}, totalTime);
|
183 |
} else if (currentRowIndex < board.length - 1) {
|
184 |
// go the next row
|
@@ -188,7 +143,6 @@
|
|
188 |
}, totalTime);
|
189 |
} else {
|
190 |
// game over :(
|
191 |
-
gameState = GameState.FAIL;
|
192 |
setTimeout(() => {
|
193 |
showMessage(answer.toUpperCase(), -1);
|
194 |
}, totalTime);
|
@@ -216,35 +170,15 @@
|
|
216 |
shakeRowIndex = -1;
|
217 |
}, 1000);
|
218 |
}
|
219 |
-
async function postProcess(currentRow: Tile[]) {
|
220 |
-
const guess = currentRow.map((tile) => tile.letter).join('');
|
221 |
-
const correct = currentRow.map((tile) => tile.correct).join('');
|
222 |
-
fetch(apiUrl + 'prompt', {
|
223 |
-
method: 'POST',
|
224 |
-
headers: {
|
225 |
-
'Content-Type': 'application/json'
|
226 |
-
},
|
227 |
-
body: JSON.stringify({
|
228 |
-
guess: guess,
|
229 |
-
correct: correct
|
230 |
-
})
|
231 |
-
});
|
232 |
-
}
|
233 |
</script>
|
234 |
|
235 |
{#if board !== undefined}
|
236 |
<div class="max-w-screen-lg mx-auto px-1 relative z-0 mt-3">
|
237 |
{#if message}
|
238 |
-
<Message {message}
|
239 |
{/if}
|
240 |
-
{#if
|
241 |
-
<Result
|
242 |
-
{board}
|
243 |
-
{currentRowIndex}
|
244 |
-
{imagePaths}
|
245 |
-
totalStreaks={completedPrompts.length}
|
246 |
-
on:restart={restartBoard}
|
247 |
-
/>
|
248 |
{/if}
|
249 |
<!-- <div class="message" transition:fade>
|
250 |
{message}
|
@@ -260,11 +194,7 @@
|
|
260 |
<span class="sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400" />
|
261 |
<span class="font-light flex-1 text-xs sm:text-base">
|
262 |
<button
|
263 |
-
|
264 |
-
on:click={(event) => {
|
265 |
-
restartBoard();
|
266 |
-
event.currentTarget.blur();
|
267 |
-
}}
|
268 |
class="hover:no-underline underline underline-offset-2 hover:scale-105 transition-all duration-200 ease-in-out"
|
269 |
>Skip to next</button
|
270 |
></span
|
@@ -273,27 +203,27 @@
|
|
273 |
<div class="grid grid-cols-3 gap-2 max-w-md mx-auto p-3">
|
274 |
{#each imagePaths as image}
|
275 |
<div>
|
276 |
-
<img src={
|
277 |
</div>
|
278 |
{/each}
|
279 |
</div>
|
280 |
<div class="board">
|
281 |
{#each board as row, index}
|
282 |
<div
|
283 |
-
class="row {shakeRowIndex === index && 'shake'} {
|
284 |
currentRowIndex === index &&
|
285 |
'jump'}"
|
286 |
>
|
287 |
{#each row as tile, index}
|
288 |
<div class="tile {tile.letter && 'filled'} {tile.state && 'revealed'}">
|
289 |
<div
|
290 |
-
class="front
|
291 |
style="transition-delay: {index * timePerTile}ms;"
|
292 |
>
|
293 |
<span class="letter">{tile.letter}</span>
|
294 |
</div>
|
295 |
<div
|
296 |
-
class="back
|
297 |
style="transition-delay: {index * timePerTile}ms; animation-delay: {index * 100}ms;"
|
298 |
>
|
299 |
{tile.letter}
|
@@ -304,70 +234,22 @@
|
|
304 |
{/each}
|
305 |
</div>
|
306 |
<Keyboard on:keyup={({ detail }) => onKey(detail)} bind:letterStates />
|
307 |
-
<footer class="max-w-md mx-auto pt-3">
|
308 |
-
<details class="text-xs my-3">
|
309 |
-
<summary class="cursor-pointer my-2">
|
310 |
-
<span>About</span>
|
311 |
-
</summary>
|
312 |
-
<p>
|
313 |
-
Welcome to Wordalle! The game that marries <a
|
314 |
-
href="https://huggingface.co/spaces/dalle-mini/dalle-mini"
|
315 |
-
target="_blank"
|
316 |
-
rel="noopener noreferrer"
|
317 |
-
class="underline hover:text-blue-500 hover:no-underline"
|
318 |
-
>
|
319 |
-
DALLE mini</a
|
320 |
-
> & Wordle!”
|
321 |
-
</p>
|
322 |
-
<h2 class="font-bold my-2">Instructions</h2>
|
323 |
-
<p>
|
324 |
-
You are given a board with a grid of letters. You must guess the prompt used to generate
|
325 |
-
the images.
|
326 |
-
</p>
|
327 |
-
<p>
|
328 |
-
Your guess must contain the same number of letters as tiles. After you guess, the tiles
|
329 |
-
will be revealed.
|
330 |
-
</p>
|
331 |
-
<h2 class="font-bold my-2">Example</h2>
|
332 |
-
<p class="pb-3">
|
333 |
-
The green tiles are correct letter placements. The yellow tiles are correct letters but in
|
334 |
-
wrong position and the gray tiles are letters not present in the prompt.
|
335 |
-
<img alt="wordalle example for dog eating pastas" src={base + '/img1.jpg'} />
|
336 |
-
<img alt="wordalle example for cat eating noodle " src={base + '/img2.jpg'} />
|
337 |
-
</p>
|
338 |
-
</details>
|
339 |
-
<details class="text-xs my-3">
|
340 |
-
<summary class="cursor-pointer my-2">
|
341 |
-
<span>Disclaimer</span>
|
342 |
-
</summary>
|
343 |
-
<p>
|
344 |
-
This demo collects the guesses to help with a research project. The demo stores no
|
345 |
-
personal data, such as your IP address, email, or account, only your guesses.
|
346 |
-
</p>
|
347 |
-
<label class="py-3 flex">
|
348 |
-
<input type="checkbox" bind:checked={allowShare} />
|
349 |
-
<span class="mx-1">Please uncheck to disable sharing {allowShare}</span>
|
350 |
-
</label>
|
351 |
-
</details>
|
352 |
-
</footer>
|
353 |
</div>
|
354 |
{/if}
|
355 |
|
356 |
<style lang="postcss">
|
357 |
.board {
|
358 |
-
@apply
|
359 |
-
|
360 |
-
--height: min(200px, calc(var(--vh, 100vh) - 350px));
|
361 |
height: var(--height);
|
362 |
-
width: min(90vw, calc(var(--height) / 7 * var(--cols)));
|
363 |
}
|
364 |
.row {
|
365 |
-
@apply
|
366 |
grid-template-columns: repeat(var(--cols), 1fr);
|
367 |
}
|
368 |
|
369 |
.tile {
|
370 |
-
@apply
|
371 |
uppercase select-none relative bg-gray-50 text-black;
|
372 |
vertical-align: middle;
|
373 |
}
|
@@ -378,7 +260,7 @@
|
|
378 |
|
379 |
.tile .front,
|
380 |
.tile .back {
|
381 |
-
@apply
|
382 |
absolute top-0 left-0 transition-transform duration-500;
|
383 |
backface-visibility: hidden;
|
384 |
-webkit-backface-visibility: hidden;
|
@@ -400,13 +282,15 @@
|
|
400 |
}
|
401 |
|
402 |
.tile .back {
|
403 |
-
transform:
|
404 |
}
|
|
|
405 |
.tile.revealed .front {
|
406 |
-
transform:
|
407 |
}
|
|
|
408 |
.tile.revealed .back {
|
409 |
-
transform:
|
410 |
}
|
411 |
|
412 |
@keyframes zoom {
|
1 |
<script lang="ts">
|
2 |
// original code inspired by Evan You https://github.com/yyx990803/vue-wordle/
|
3 |
+
import { LetterState } from '../types';
|
4 |
+
import type { Board, PromptsData, SuccessPrompt } from '../types';
|
5 |
import { clearTile, fillTile } from '$lib/utils';
|
6 |
|
7 |
import Keyboard from '$lib/Keyboard.svelte';
|
8 |
import Result from '$lib/Result.svelte';
|
9 |
import Message from '$lib/Message.svelte';
|
|
|
10 |
|
11 |
+
import { onMount, setContext } from 'svelte';
|
|
|
|
|
12 |
|
13 |
const totalTime = 1000;
|
14 |
+
const apiUrl = import.meta.env.MODE === 'development' ? 'http://localhost:7860/data' : 'data';
|
15 |
+
const imageBaseUrl = import.meta.env.MODE === 'development' ? 'http://localhost:7860/' : '';
|
16 |
+
|
17 |
let promptsData: PromptsData;
|
18 |
let completedPrompts: SuccessPrompt[] = [];
|
19 |
let currPromptIndex: number;
|
20 |
onMount(async () => {
|
21 |
+
promptsData = await fetch(apiUrl).then((d) => d.json());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
restartBoard();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
+
window.addEventListener('keyup', onKeyup);
|
25 |
+
return () => window.removeEventListener('keyup', onKeyup);
|
|
|
|
|
26 |
});
|
27 |
|
28 |
// Get word of the day
|
40 |
// Feedback state: message and shake
|
41 |
let message = '';
|
42 |
let shakeRowIndex = -1;
|
43 |
+
let success = false;
|
44 |
// Handle keyboard input.
|
45 |
let allowInput = true;
|
46 |
|
47 |
function restartBoard() {
|
48 |
//reset all states
|
49 |
+
success = false;
|
50 |
shakeRowIndex = -1;
|
51 |
message = '';
|
52 |
currentRowIndex = 0;
|
53 |
+
letterStates = {}
|
54 |
+
allowInput= true;
|
55 |
|
56 |
const prompts: string[] = Object.keys(promptsData);
|
57 |
+
currPromptIndex = ~~(Math.random() * prompts.length);
|
58 |
+
const randomPrompt: string = prompts[currPromptIndex];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
answer = randomPrompt.replace(/_/g, ' ');
|
60 |
imagePaths = promptsData[randomPrompt].slice(0, 6);
|
61 |
+
console.log(answer);
|
62 |
+
cols = randomPrompt.length;
|
|
|
|
|
63 |
timePerTile = totalTime / cols;
|
64 |
|
65 |
board = Array.from({ length: 7 }, () =>
|
90 |
function completeRow() {
|
91 |
const newBoard = [...board];
|
92 |
const currentRow = newBoard[currentRowIndex];
|
93 |
+
const currentletterStates: Record<string, LetterState> = {};
|
94 |
|
95 |
if (currentRow.every((tile) => tile.letter)) {
|
96 |
const guess = currentRow.map((tile) => tile.letter).join('');
|
99 |
// showMessage(`Not in word list`)
|
100 |
// return
|
101 |
// }
|
|
|
|
|
|
|
102 |
|
103 |
const answerLetters: (string | null)[] = answer.split('');
|
104 |
// first pass: mark correct ones
|
132 |
allowInput = false;
|
133 |
if (currentRow.every((tile) => tile.state === LetterState.CORRECT)) {
|
134 |
// yay!
|
|
|
|
|
|
|
135 |
setTimeout(() => {
|
136 |
+
success = true;
|
137 |
}, totalTime);
|
138 |
} else if (currentRowIndex < board.length - 1) {
|
139 |
// go the next row
|
143 |
}, totalTime);
|
144 |
} else {
|
145 |
// game over :(
|
|
|
146 |
setTimeout(() => {
|
147 |
showMessage(answer.toUpperCase(), -1);
|
148 |
}, totalTime);
|
170 |
shakeRowIndex = -1;
|
171 |
}, 1000);
|
172 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
</script>
|
174 |
|
175 |
{#if board !== undefined}
|
176 |
<div class="max-w-screen-lg mx-auto px-1 relative z-0 mt-3">
|
177 |
{#if message}
|
178 |
+
<Message {message} />
|
179 |
{/if}
|
180 |
+
{#if success}
|
181 |
+
<Result {board} {currentRowIndex} {imagePaths} on:restart={restartBoard} />
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
{/if}
|
183 |
<!-- <div class="message" transition:fade>
|
184 |
{message}
|
194 |
<span class="sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400" />
|
195 |
<span class="font-light flex-1 text-xs sm:text-base">
|
196 |
<button
|
197 |
+
on:click={() => restartBoard()}
|
|
|
|
|
|
|
|
|
198 |
class="hover:no-underline underline underline-offset-2 hover:scale-105 transition-all duration-200 ease-in-out"
|
199 |
>Skip to next</button
|
200 |
></span
|
203 |
<div class="grid grid-cols-3 gap-2 max-w-md mx-auto p-3">
|
204 |
{#each imagePaths as image}
|
205 |
<div>
|
206 |
+
<img src={imageBaseUrl + image} alt="" class="aspect-square w-full h-full" />
|
207 |
</div>
|
208 |
{/each}
|
209 |
</div>
|
210 |
<div class="board">
|
211 |
{#each board as row, index}
|
212 |
<div
|
213 |
+
class="row {shakeRowIndex === index && 'shake'} {success &&
|
214 |
currentRowIndex === index &&
|
215 |
'jump'}"
|
216 |
>
|
217 |
{#each row as tile, index}
|
218 |
<div class="tile {tile.letter && 'filled'} {tile.state && 'revealed'}">
|
219 |
<div
|
220 |
+
class="front {tile.correct === ' ' ? 'space' : ''}"
|
221 |
style="transition-delay: {index * timePerTile}ms;"
|
222 |
>
|
223 |
<span class="letter">{tile.letter}</span>
|
224 |
</div>
|
225 |
<div
|
226 |
+
class="back {tile.state}"
|
227 |
style="transition-delay: {index * timePerTile}ms; animation-delay: {index * 100}ms;"
|
228 |
>
|
229 |
{tile.letter}
|
234 |
{/each}
|
235 |
</div>
|
236 |
<Keyboard on:keyup={({ detail }) => onKey(detail)} bind:letterStates />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
</div>
|
238 |
{/if}
|
239 |
|
240 |
<style lang="postcss">
|
241 |
.board {
|
242 |
+
@apply grid gap-1.5 grid-rows-[7] mx-0 my-auto;
|
243 |
+
--height: min(150px, calc(var(--vh, 100vh) - 310px));
|
|
|
244 |
height: var(--height);
|
|
|
245 |
}
|
246 |
.row {
|
247 |
+
@apply grid gap-2;
|
248 |
grid-template-columns: repeat(var(--cols), 1fr);
|
249 |
}
|
250 |
|
251 |
.tile {
|
252 |
+
@apply w-full text-base text-center font-bold
|
253 |
uppercase select-none relative bg-gray-50 text-black;
|
254 |
vertical-align: middle;
|
255 |
}
|
260 |
|
261 |
.tile .front,
|
262 |
.tile .back {
|
263 |
+
@apply box-border inline-flex justify-center items-center w-full h-full
|
264 |
absolute top-0 left-0 transition-transform duration-500;
|
265 |
backface-visibility: hidden;
|
266 |
-webkit-backface-visibility: hidden;
|
282 |
}
|
283 |
|
284 |
.tile .back {
|
285 |
+
transform: rotateX(180deg);
|
286 |
}
|
287 |
+
|
288 |
.tile.revealed .front {
|
289 |
+
transform: rotateX(180deg);
|
290 |
}
|
291 |
+
|
292 |
.tile.revealed .back {
|
293 |
+
transform: rotateX(0deg);
|
294 |
}
|
295 |
|
296 |
@keyframes zoom {
|
frontend/src/types.ts
CHANGED
@@ -5,13 +5,6 @@ export const enum LetterState {
|
|
5 |
ABSENT = 'absent'
|
6 |
}
|
7 |
|
8 |
-
export const enum GameState {
|
9 |
-
LOADING,
|
10 |
-
PLAYING,
|
11 |
-
SUCESS,
|
12 |
-
FAIL,
|
13 |
-
COMPLETED
|
14 |
-
}
|
15 |
export interface Tile {
|
16 |
letter: string;
|
17 |
state: LetterState;
|
@@ -22,12 +15,8 @@ export type Board = Tile[][];
|
|
22 |
export interface PromptsData {
|
23 |
[key: string]: string[];
|
24 |
}
|
25 |
-
|
26 |
-
[key: number]: string;
|
27 |
-
}
|
28 |
export interface SuccessPrompt {
|
29 |
prompt: string;
|
30 |
idx: number;
|
31 |
-
}
|
32 |
-
|
33 |
-
export type User = string;
|
5 |
ABSENT = 'absent'
|
6 |
}
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
export interface Tile {
|
9 |
letter: string;
|
10 |
state: LetterState;
|
15 |
export interface PromptsData {
|
16 |
[key: string]: string[];
|
17 |
}
|
18 |
+
|
|
|
|
|
19 |
export interface SuccessPrompt {
|
20 |
prompt: string;
|
21 |
idx: number;
|
22 |
+
}
|
|
|
|
frontend/static/img1.jpg
DELETED
Binary file (13.1 kB)
|
frontend/static/img2.jpg
DELETED
Binary file (13.4 kB)
|
frontend/svelte.config.js
CHANGED
@@ -14,7 +14,7 @@ const config = {
|
|
14 |
|
15 |
kit: {
|
16 |
paths: {
|
17 |
-
base: '/static'
|
18 |
},
|
19 |
adapter: adapter({
|
20 |
pages: 'build',
|
14 |
|
15 |
kit: {
|
16 |
paths: {
|
17 |
+
base: dev ? '/static' : '/embed/huggingface-projects/wordalle/static'
|
18 |
},
|
19 |
adapter: adapter({
|
20 |
pages: 'build',
|
install-node.sh
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
2 |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
3 |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
4 |
-
nvm install
|
5 |
-
nvm use v18.3.0
|
6 |
node --version
|
7 |
npm --version
|
8 |
which node
|
1 |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
2 |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
3 |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
4 |
+
nvm install --lts
|
|
|
5 |
node --version
|
6 |
npm --version
|
7 |
which node
|
requirements.txt
CHANGED
@@ -4,5 +4,4 @@ flask_cors
|
|
4 |
requests
|
5 |
Pillow
|
6 |
scipy
|
7 |
-
gradio==3.0.
|
8 |
-
Flask-APScheduler
|
4 |
requests
|
5 |
Pillow
|
6 |
scipy
|
7 |
+
gradio==3.0.17
|
|
static/_app/immutable/assets/pages/__layout.svelte-7926a3a8.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-1\/2{left:50%}.top-1\/2{top:50%}.left-0{left:0px}.right-0{right:0px}.top-0{top:0px}.bottom-0{bottom:0px}.z-20{z-index:20}.z-50{z-index:50}.z-10{z-index:10}.z-0{z-index:0}.m-0{margin:0}.m-5{margin:1.25rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mt-0{margin-top:0}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.ml-1{margin-left:.25rem}.mt-3{margin-top:.75rem}.box-border{box-sizing:border-box}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-full{height:100%}.max-h-\[30vh\]{max-height:30vh}.min-h-\[58px\]{min-height:58px}.min-h-screen{min-height:100vh}.w-full{width:100%}.w-screen{width:100vw}.min-w-\[15ch\]{min-width:15ch}.max-w-md{max-width:28rem}.max-w-\[180px\]{max-width:180px}.max-w-screen-lg{max-width:1024px}.flex-1{flex:1 1 0%}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.resize{resize:both}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.place-content-center{place-content:center}.place-items-center{place-items:center}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.whitespace-nowrap{white-space:nowrap}.rounded-sm{border-radius:.125rem}.rounded-md{border-radius:.375rem}.rounded{border-radius:.25rem}.border-0{border-width:0px}.border-\[0\.5px\]{border-width:.5px}.border-\[1\.5px\]{border-width:1.5px}.border-solid{border-style:solid}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-opacity-50{--tw-border-opacity: .5}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-\[\#d3d6da\]{--tw-bg-opacity: 1;background-color:rgb(211 214 218 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-opacity-80{--tw-bg-opacity: .8}.p-0{padding:0}.p-5{padding:1.25rem}.p-3{padding:.75rem}.p-10{padding:2.5rem}.p-1{padding:.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pt-3{padding-top:.75rem}.pb-3{padding-bottom:.75rem}.text-center{text-align:center}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-semibold{font-weight:600}.font-extrabold{font-weight:800}.uppercase{text-transform:uppercase}.tracking-widest{letter-spacing:.1em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-\[\#1a1a1b\]{--tw-text-opacity: 1;color:rgb(26 26 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{--cols: 19}.correct,.present,.absent{color:#fff!important}.correct{background-color:#6aaa64!important}.present{background-color:#c9b458!important}.absent{background-color:#787c7e!important}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:no-underline:hover{-webkit-text-decoration-line:none;text-decoration-line:none}@media (prefers-color-scheme: dark){.dark\:bg-\[rgb\(11\,15\,25\)\]{--tw-bg-opacity: 1;background-color:rgb(11 15 25 / var(--tw-bg-opacity))}.dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 640px){.sm\:block{display:block}.sm\:px-2{padding-left:.5rem;padding-right:.5rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}}
|
|
static/_app/immutable/assets/pages/index.svelte-b52b250e.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.row.svelte-2ngxdh{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:.5rem;display:flex;width:100%;touch-action:manipulation}button.svelte-2ngxdh{margin:0;margin-right:.25rem;display:flex;min-height:58px;flex:1 1 0%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;justify-content:center;border-radius:.125rem;border-width:0px;--tw-bg-opacity:1;background-color:rgb(211 214 218 / var(--tw-bg-opacity));padding:0;font-size:.75rem;line-height:1rem;font-weight:700;text-transform:uppercase;--tw-text-opacity:1;color:rgb(26 26 27 / var(--tw-text-opacity));transition-property:all;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}button.svelte-2ngxdh:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}button.big.svelte-2ngxdh{flex:1.5}button.svelte-2ngxdh:last-of-type{margin:0}.spacer.svelte-2ngxdh{flex:.5}.message.svelte-oufr2e{z-index:20;margin-left:auto;margin-right:auto;max-width:32rem;border-radius:.375rem;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-bg-opacity:.8;padding:2.5rem;font-weight:600;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:opacity;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.modal.svelte-oufr2e{position:fixed;top:0px;left:0px;z-index:10;min-height:100vh;width:100vw;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-bg-opacity:.8;--tw-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);transform:translateZ(1000px);transform-style:preserve-3d}button.svelte-oufr2e{margin-top:.25rem;margin-bottom:.25rem;border-radius:.25rem;--tw-bg-opacity:1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));padding:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:opacity;transition-duration:.5s;transition-timing-function:cubic-bezier(.4,0,.2,1)}button.svelte-oufr2e:hover{--tw-bg-opacity:1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.message.svelte-1sv0qpd{position:absolute;left:50%;top:50%;z-index:20;--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:.125rem;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-bg-opacity:.8;padding:1.25rem;text-align:center;font-weight:600;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:opacity;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.board.svelte-1y5wh9j.svelte-1y5wh9j{position:relative;margin-left:auto;margin-right:auto;display:grid;gap:.25rem;--height:min(200px, calc(var(--vh, 100vh) - 350px));height:var(--height);width:min(90vw,calc(var(--height) / 7 * var(--cols)))}.row.svelte-1y5wh9j.svelte-1y5wh9j{position:relative;display:grid;gap:.25rem;grid-template-columns:repeat(var(--cols),1fr)}.tile.svelte-1y5wh9j.svelte-1y5wh9j{position:relative;z-index:0;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));text-align:center;font-size:1rem;line-height:1.5rem;font-weight:700;text-transform:uppercase;--tw-text-opacity:1;color:rgb(0 0 0 / var(--tw-text-opacity));vertical-align:middle}.tile.svelte-1y5wh9j .filled.svelte-1y5wh9j{-webkit-animation:svelte-1y5wh9j-zoom .2s;animation:svelte-1y5wh9j-zoom .2s}.tile.svelte-1y5wh9j .front.svelte-1y5wh9j,.tile.svelte-1y5wh9j .back.svelte-1y5wh9j{position:absolute;top:0px;left:0px;z-index:10;box-sizing:border-box;display:inline-flex;height:100%;width:100%;align-items:center;justify-content:center;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s;backface-visibility:hidden;-webkit-backface-visibility:hidden}.tile.svelte-1y5wh9j .letter.svelte-1y5wh9j{z-index:10;display:flex;height:100%;place-items:center;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.tile.svelte-1y5wh9j .space.svelte-1y5wh9j:before{position:absolute;z-index:0;display:flex;place-items:center;--tw-text-opacity:1;color:rgb(0 0 0 / var(--tw-text-opacity));opacity:.5;content:"\2022"}.tile.svelte-1y5wh9j .front.svelte-1y5wh9j{border-width:1.5px;border-style:solid;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.tile.filled.svelte-1y5wh9j .front.svelte-1y5wh9j{border-width:1.5px;border-style:solid;--tw-border-opacity:1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.tile.svelte-1y5wh9j .back.svelte-1y5wh9j{transform:scaleX(0)}.tile.revealed.svelte-1y5wh9j .front.svelte-1y5wh9j{transform:scaleX(-1)}.tile.revealed.svelte-1y5wh9j .back.svelte-1y5wh9j{transform:scale(1)}@-webkit-keyframes svelte-1y5wh9j-zoom{0%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes svelte-1y5wh9j-zoom{0%{transform:scale(1.1)}to{transform:scale(1)}}.shake.svelte-1y5wh9j.svelte-1y5wh9j{-webkit-animation:svelte-1y5wh9j-shake .5s;animation:svelte-1y5wh9j-shake .5s}@-webkit-keyframes svelte-1y5wh9j-shake{0%{transform:translate3d(1px,-1px,0)}10%{transform:translate3d(-2px,2px,0)}20%{transform:translate3d(2px,-2px,0)}30%{transform:translate3d(-2px,2px,0)}40%{transform:translate3d(2px,-2px,0)}50%{transform:translate3d(-2px,2px,0)}60%{transform:translate3d(2px,2px,0)}70%{transform:translate3d(-2px,-2px,0)}80%{transform:translate3d(2px,2px,0)}90%{transform:translate3d(-2px,-2px,0)}to{transform:translate3d(1px,1px,0)}}@keyframes svelte-1y5wh9j-shake{0%{transform:translate3d(1px,-1px,0)}10%{transform:translate3d(-2px,2px,0)}20%{transform:translate3d(2px,-2px,0)}30%{transform:translate3d(-2px,2px,0)}40%{transform:translate3d(2px,-2px,0)}50%{transform:translate3d(-2px,2px,0)}60%{transform:translate3d(2px,2px,0)}70%{transform:translate3d(-2px,-2px,0)}80%{transform:translate3d(2px,2px,0)}90%{transform:translate3d(-2px,-2px,0)}to{transform:translate3d(1px,1px,0)}}.jump.svelte-1y5wh9j .tile .back.svelte-1y5wh9j{-webkit-animation:svelte-1y5wh9j-jump .5s;animation:svelte-1y5wh9j-jump .5s}@-webkit-keyframes svelte-1y5wh9j-jump{0%{transform:translateZ(0)}20%{transform:translate3d(0,5px,0)}60%{transform:translate3d(0,-25px,0)}90%{transform:translate3d(0,3px,0)}to{transform:translateZ(0)}}@keyframes svelte-1y5wh9j-jump{0%{transform:translateZ(0)}20%{transform:translate3d(0,5px,0)}60%{transform:translate3d(0,-25px,0)}90%{transform:translate3d(0,3px,0)}to{transform:translateZ(0)}}@media (max-height: 680px){.tile.svelte-1y5wh9j.svelte-1y5wh9j{font-size:1.5vh}}
|
|
static/_app/immutable/chunks/fifteen-9add13bd.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as Y,i as t5,s as e5,N as a,O as r,a as l,d as e,b as t,$ as T,f as W,g as a5,J as s,E as X}from"./index-86f4d6c3.js";function r5($){let i,y,n,E,h,N,d,G,L,v,x,g,M,u,V,m,k,_,C,Z,F,D,w,p,b,B,c,H,S,f,q,A;return{c(){i=a("svg"),y=a("defs"),n=a("path"),E=a("use"),h=a("mask"),N=a("use"),d=a("g"),G=a("path"),L=a("path"),v=a("path"),x=a("path"),g=a("path"),M=a("path"),u=a("mask"),V=a("path"),m=a("g"),k=a("path"),_=a("path"),C=a("path"),Z=a("path"),F=a("path"),D=a("path"),w=a("defs"),p=a("linearGradient"),b=a("stop"),B=a("stop"),c=a("linearGradient"),H=a("stop"),S=a("stop"),f=a("linearGradient"),q=a("stop"),A=a("stop"),this.h()},l(U){i=r(U,"svg",{xmlns:!0,"xmlns:xlink":!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var o=l(i);y=r(o,"defs",{});var P=l(y);n=r(P,"path",{id:!0,fill:!0,d:!0}),l(n).forEach(e),P.forEach(e),E=r(o,"use",{"xlink:href":!0}),l(E).forEach(e),h=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var Q=l(h);N=r(Q,"use",{"xlink:href":!0}),l(N).forEach(e),Q.forEach(e),d=r(o,"g",{mask:!0});var O=l(d);G=r(O,"path",{fill:!0,d:!0}),l(G).forEach(e),L=r(O,"path",{fill:!0,d:!0}),l(L).forEach(e),v=r(O,"path",{fill:!0,d:!0,opacity:!0}),l(v).forEach(e),x=r(O,"path",{fill:!0,d:!0,opacity:!0}),l(x).forEach(e),g=r(O,"path",{fill:!0,d:!0,opacity:!0}),l(g).forEach(e),O.forEach(e),M=r(o,"path",{fill:!0,d:!0}),l(M).forEach(e),u=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var R=l(u);V=r(R,"path",{fill:!0,d:!0}),l(V).forEach(e),R.forEach(e),m=r(o,"g",{mask:!0});var J=l(m);k=r(J,"path",{fill:!0,d:!0,opacity:!0}),l(k).forEach(e),_=r(J,"path",{fill:!0,d:!0,opacity:!0}),l(_).forEach(e),C=r(J,"path",{fill:!0,d:!0}),l(C).forEach(e),Z=r(J,"path",{fill:!0,d:!0,opacity:!0}),l(Z).forEach(e),J.forEach(e),F=r(o,"path",{fill:!0,d:!0}),l(F).forEach(e),D=r(o,"path",{fill:!0,d:!0}),l(D).forEach(e),w=r(o,"defs",{});var j=l(w);p=r(j,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var z=l(p);b=r(z,"stop",{"stop-color":!0}),l(b).forEach(e),B=r(z,"stop",{offset:!0,"stop-color":!0}),l(B).forEach(e),z.forEach(e),c=r(j,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var I=l(c);H=r(I,"stop",{"stop-color":!0}),l(H).forEach(e),S=r(I,"stop",{offset:!0,"stop-color":!0}),l(S).forEach(e),I.forEach(e),f=r(j,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var K=l(f);q=r(K,"stop",{"stop-color":!0}),l(q).forEach(e),A=r(K,"stop",{offset:!0,"stop-color":!0,"stop-opacity":!0}),l(A).forEach(e),K.forEach(e),j.forEach(e),o.forEach(e),this.h()},h(){t(n,"id","a"),t(n,"fill","#777A6F"),t(n,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),T(E,"xlink:href","#a"),T(N,"xlink:href","#a"),t(h,"id","b"),t(h,"width","385"),t(h,"height","443"),t(h,"x","0"),t(h,"y","4"),t(h,"maskUnits","userSpaceOnUse"),W(h,"mask-type","alpha"),t(G,"fill","#686C5D"),t(G,"d","M177.5 322c-25 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25.1-59.1 116.3-93.2 205.1-55.5s116 123.4 91 182.5Z"),t(L,"fill","#4E4F51"),t(L,"d","M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"),t(v,"fill","#CCDDE2"),t(v,"d","M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"),t(v,"opacity",".2"),t(x,"fill","#C89435"),t(x,"d","M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"),t(x,"opacity",".3"),t(g,"fill","#CCDDE2"),t(g,"d","m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"),t(g,"opacity",".2"),t(d,"mask","url(#b)"),t(M,"fill","url(#c)"),t(M,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(V,"fill","url(#d)"),t(V,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(u,"id","e"),t(u,"width","351"),t(u,"height","403"),t(u,"x","17"),t(u,"y","4"),t(u,"maskUnits","userSpaceOnUse"),W(u,"mask-type","alpha"),t(k,"fill","url(#f)"),t(k,"d","M394.2 346.7c46.5-71.6-249.6-263-249.6-263L119 108s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L107 311.7s240.7 106.5 287.3 35Z"),t(k,"opacity",".4"),t(_,"fill","#D9E8EF"),t(_,"d","M157-47h177L137 459H-40L157-47Zm195.5-2H368L189.5 421H174L352.5-49Z"),t(_,"opacity",".8"),t(C,"fill","#ECF8FF"),t(C,"d","M360.5 111c14 17 8 34 8 38L389 95 194-31 10 78.5V161s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"),t(Z,"fill","#DBEAF2"),t(Z,"d","M21.5 299c-14-17-8-34-8-38L-7 315l195 126 184-109.5V249s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"),t(Z,"opacity",".7"),t(m,"mask","url(#e)"),t(F,"fill","#777A6F"),t(F,"d","M108.6 326a5 5 0 0 1-5-5V58a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5h-41.8Zm173-21.2a5 5 0 0 1-.5 2.1 34.5 34.5 0 0 1-30.6 19.1h-52.6a34.5 34.5 0 0 1-30.8-19.1c-.4-.6-.5-1.4-.5-2V227a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59a5 5 0 0 0-5-5h-56.2a5 5 0 0 1-5-5V58a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v37.9a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30c6.9 0 13.1 1.9 18.7 5.6a33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.7Z"),t(D,"fill","#fff"),t(D,"d","M108.6 310a5 5 0 0 1-5-5V42a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5h-41.8Zm173-21.2c0 .7-.2 1.4-.5 2a34.5 34.5 0 0 1-30.6 19.2h-52.6a34.5 34.5 0 0 1-30.8-19.1 4 4 0 0 1-.5-2.1V211a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59.1a5 5 0 0 0-5-5h-56.2a5 5 0 0 1-5-5v-142a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v38a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30a33 33 0 0 1 18.7 5.5 33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.8Z"),t(b,"stop-color","#ACC0BE"),t(B,"offset","1"),t(B,"stop-color","#8BAAA7"),t(p,"id","c"),t(p,"x1","103"),t(p,"x2","192.5"),t(p,"y1","13"),t(p,"y2","410"),t(p,"gradientUnits","userSpaceOnUse"),t(H,"stop-color","#F2B445"),t(S,"offset","1"),t(S,"stop-color","#BD6D18"),t(c,"id","d"),t(c,"x1","94.5"),t(c,"x2","276"),t(c,"y1","12"),t(c,"y2","386.5"),t(c,"gradientUnits","userSpaceOnUse"),t(q,"stop-color","#6A807A"),t(A,"offset","1"),t(A,"stop-color","#6A807A"),t(A,"stop-opacity","0"),t(f,"id","f"),t(f,"x1","357.5"),t(f,"x2","69.5"),t(f,"y1","335"),t(f,"y2","146.5"),t(f,"gradientUnits","userSpaceOnUse"),t(i,"xmlns","http://www.w3.org/2000/svg"),t(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),t(i,"fill","none"),t(i,"viewBox","0 0 385 450"),t(i,"width","385"),t(i,"height","450"),t(i,"class",$[0])},m(U,o){a5(U,i,o),s(i,y),s(y,n),s(i,E),s(i,h),s(h,N),s(i,d),s(d,G),s(d,L),s(d,v),s(d,x),s(d,g),s(i,M),s(i,u),s(u,V),s(i,m),s(m,k),s(m,_),s(m,C),s(m,Z),s(i,F),s(i,D),s(i,w),s(w,p),s(p,b),s(p,B),s(w,c),s(c,H),s(c,S),s(w,f),s(f,q),s(f,A)},p(U,[o]){o&1&&t(i,"class",U[0])},i:X,o:X,d(U){U&&e(i)}}}function l5($,i,y){let{classNames:n=""}=i;return $.$$set=E=>{"classNames"in E&&y(0,n=E.classNames)},[n]}class i5 extends Y{constructor(i){super(),t5(this,i,l5,r5,e5,{classNames:0})}}export{i5 as default};
|
|
static/_app/immutable/chunks/fifty-f65036e1.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as j,i as z,s as I,N as l,O as r,a as h,d as a,b as t,f as q,g as K,J as s,E as J}from"./index-86f4d6c3.js";function P(N){let e,n,i,d,u,_,M,m,v,y,x,p,w,f,E,F,g,V,Z,U,A,D,o,H,k;return{c(){e=l("svg"),n=l("path"),i=l("mask"),d=l("path"),u=l("g"),_=l("path"),M=l("path"),m=l("path"),v=l("path"),y=l("path"),x=l("path"),p=l("mask"),w=l("path"),f=l("g"),E=l("path"),F=l("path"),g=l("path"),V=l("path"),Z=l("path"),U=l("path"),A=l("path"),D=l("defs"),o=l("linearGradient"),H=l("stop"),k=l("stop"),this.h()},l(L){e=r(L,"svg",{xmlns:!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var c=h(e);n=r(c,"path",{fill:!0,d:!0}),h(n).forEach(a),i=r(c,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var G=h(i);d=r(G,"path",{fill:!0,d:!0}),h(d).forEach(a),G.forEach(a),u=r(c,"g",{mask:!0});var S=h(u);_=r(S,"path",{fill:!0,d:!0}),h(_).forEach(a),M=r(S,"path",{fill:!0,d:!0}),h(M).forEach(a),m=r(S,"path",{fill:!0,d:!0,opacity:!0}),h(m).forEach(a),v=r(S,"path",{fill:!0,d:!0,opacity:!0}),h(v).forEach(a),y=r(S,"path",{fill:!0,d:!0,opacity:!0}),h(y).forEach(a),S.forEach(a),x=r(c,"path",{fill:!0,d:!0}),h(x).forEach(a),p=r(c,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var O=h(p);w=r(O,"path",{fill:!0,d:!0}),h(w).forEach(a),O.forEach(a),f=r(c,"g",{mask:!0});var C=h(f);E=r(C,"path",{fill:!0,d:!0,opacity:!0}),h(E).forEach(a),F=r(C,"path",{fill:!0,d:!0,opacity:!0}),h(F).forEach(a),g=r(C,"path",{fill:!0,d:!0,opacity:!0}),h(g).forEach(a),V=r(C,"path",{fill:!0,d:!0}),h(V).forEach(a),Z=r(C,"path",{fill:!0,d:!0,opacity:!0}),h(Z).forEach(a),C.forEach(a),U=r(c,"path",{fill:!0,d:!0}),h(U).forEach(a),A=r(c,"path",{fill:!0,d:!0}),h(A).forEach(a),D=r(c,"defs",{});var b=h(D);o=r(b,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var B=h(o);H=r(B,"stop",{"stop-color":!0}),h(H).forEach(a),k=r(B,"stop",{offset:!0,"stop-color":!0,"stop-opacity":!0}),h(k).forEach(a),B.forEach(a),b.forEach(a),c.forEach(a),this.h()},h(){t(n,"fill","#3F7B73"),t(n,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),t(d,"fill","#D3720A"),t(d,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),t(i,"id","a"),t(i,"width","385"),t(i,"height","443"),t(i,"x","0"),t(i,"y","4"),t(i,"maskUnits","userSpaceOnUse"),q(i,"mask-type","alpha"),t(_,"fill","#468A7D"),t(_,"d","M177.5 322c-25 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25.1-59.1 116.3-93.2 205.1-55.5s116 123.4 91 182.5Z"),t(M,"fill","#184F4F"),t(M,"d","M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"),t(m,"fill","#F5FFFF"),t(m,"d","M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"),t(m,"opacity",".3"),t(v,"fill","#C89435"),t(v,"d","M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"),t(v,"opacity",".3"),t(y,"fill","#F5FFFF"),t(y,"d","m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"),t(y,"opacity",".3"),t(u,"mask","url(#a)"),t(x,"fill","#80EBE2"),t(x,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(w,"fill","#C4D6D6"),t(w,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v184l-.1.4L4 326.5l12.5-17.7a1 1 0 0 1 1.3-.3L186 408l2.5 22.2c.1 1.2 1.9 1.2 2 0L193 408l171.7-98.5a1 1 0 0 1 1.3.3l13 19.2-10.9-22.3a1 1 0 0 1-.1-.4V119a25 25 0 0 0-12.4-21.6Z"),t(p,"id","b"),t(p,"width","375"),t(p,"height","428"),t(p,"x","4"),t(p,"y","4"),t(p,"maskUnits","userSpaceOnUse"),q(p,"mask-type","alpha"),t(E,"fill","url(#c)"),t(E,"d","M235.2 360.7c46.5-71.6-249.6-263-249.6-263L-40 122s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L-52 325.7s240.7 106.5 287.3 35Z"),t(E,"opacity",".7"),t(F,"fill","#ECFFFD"),t(F,"d","M246-47h177L226 459H49L246-47Z"),t(F,"opacity",".6"),t(g,"fill","#ECFFFD"),t(g,"d","M441.5-49H457L278.5 421H263L441.5-49Z"),t(g,"opacity",".8"),t(V,"fill","#F5FFFF"),t(V,"d","M359.5 120c9.5 27 0 162.5 10 162.5S388 99 388 99L193-27 9 82.5s-6 202.5 3.5 203 8-162 16-175 120-111 161-92S350 93 359.5 120Z"),t(Z,"fill","#E9FFFF"),t(Z,"d","M21.5 296c-14-17-8-34-8-38l-24 59 195 126 201-111.5L372 246s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"),t(Z,"opacity",".7"),t(f,"mask","url(#b)"),t(U,"fill","#34776E"),t(U,"d","M192.6 299.8a5 5 0 0 1-.5 2.1 34.5 34.5 0 0 1-30.6 19.1h-52.6a34.5 34.5 0 0 1-30.8-19c-.4-.6-.5-1.4-.5-2v-78a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59a5 5 0 0 0-5-5H82.6a5 5 0 0 1-5-5V53a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v37.9a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30c6.9 0 13.1 1.9 18.7 5.6a33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.7Zm126.4 0a4 4 0 0 1-.6 2.1c-2.8 5.5-6.9 10-12.1 13.6a32.3 32.3 0 0 1-18.7 5.5h-52.5a33 33 0 0 1-18.8-5.5c-5.2-3.6-9.2-8-11.9-13.6-.3-.6-.4-1.4-.4-2V65.4c0-.7.1-1.4.4-2 3.2-6.6 8-11.5 14.3-15a6 6 0 0 1 2.3-.5h80.7a6 6 0 0 1 2.3.5 34 34 0 0 1 14.5 14.9c.3.7.4 1.4.4 2.1v234.3ZM265 269a5 5 0 0 0 5-5V101a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.3Z"),t(A,"fill","#fff"),t(A,"d","M192.6 287.8c0 .7-.2 1.4-.5 2a34.5 34.5 0 0 1-30.6 19.2h-52.6a34.5 34.5 0 0 1-30.8-19.1 4 4 0 0 1-.5-2.1V210a5 5 0 0 1 5-5h38.8a5 5 0 0 1 5 5v42a5 5 0 0 0 5 5h7.4a5 5 0 0 0 5-5v-59.1a5 5 0 0 0-5-5H82.6a5 5 0 0 1-5-5v-142a5 5 0 0 1 5-5h97.7a5 5 0 0 1 5 5v38a5 5 0 0 1-5 5h-48.9a5 5 0 0 0-5 5v42a5 5 0 0 0 5 5h30a33 33 0 0 1 18.7 5.5 33 33 0 0 1 12 13.6c.3.6.5 1.3.5 2v130.8Zm126.4-.1c0 .8-.2 1.5-.6 2.2-2.8 5.5-6.9 10-12.1 13.5a32.3 32.3 0 0 1-18.7 5.6h-52.5a34.4 34.4 0 0 1-30.7-19.1c-.3-.7-.4-1.4-.4-2.1V53.4c0-.7.1-1.4.4-2 3.2-6.5 8-11.5 14.3-14.9.7-.4 1.5-.5 2.3-.5h80.7c.8 0 1.6.1 2.3.5a34 34 0 0 1 14.5 14.8c.3.7.4 1.4.4 2.2v234.2ZM265 257a5 5 0 0 0 5-5V88.9a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5V252a5 5 0 0 0 5 5h7.3Z"),t(H,"stop-color","#3F866C"),t(k,"offset","1"),t(k,"stop-color","#48967A"),t(k,"stop-opacity","0"),t(o,"id","c"),t(o,"x1","242"),t(o,"x2","-4.5"),t(o,"y1","378"),t(o,"y2","154"),t(o,"gradientUnits","userSpaceOnUse"),t(e,"xmlns","http://www.w3.org/2000/svg"),t(e,"fill","none"),t(e,"viewBox","0 0 385 450"),t(e,"width","385"),t(e,"height","450"),t(e,"class",N[0])},m(L,c){K(L,e,c),s(e,n),s(e,i),s(i,d),s(e,u),s(u,_),s(u,M),s(u,m),s(u,v),s(u,y),s(e,x),s(e,p),s(p,w),s(e,f),s(f,E),s(f,F),s(f,g),s(f,V),s(f,Z),s(e,U),s(e,A),s(e,D),s(D,o),s(o,H),s(o,k)},p(L,[c]){c&1&&t(e,"class",L[0])},i:J,o:J,d(L){L&&a(e)}}}function Q(N,e,n){let{classNames:i=""}=e;return N.$$set=d=>{"classNames"in d&&n(0,i=d.classNames)},[i]}class T extends j{constructor(e){super(),z(this,e,Q,P,I,{classNames:0})}}export{T as default};
|
|
static/_app/immutable/chunks/five-ba00de65.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as tt,i as et,s as at,N as a,O as r,a as l,d as e,b as t,$ as W,f as X,g as rt,J as s,E as Y}from"./index-86f4d6c3.js";function lt($){let i,v,d,y,h,b,m,C,E,x,g,G,u,L,n,k,_,M,A,w,V,B,S,U,p,H,O,c,q,D,f,z,Z;return{c(){i=a("svg"),v=a("defs"),d=a("path"),y=a("use"),h=a("mask"),b=a("use"),m=a("g"),C=a("path"),E=a("path"),x=a("path"),g=a("path"),G=a("path"),u=a("mask"),L=a("path"),n=a("g"),k=a("path"),_=a("path"),M=a("path"),A=a("path"),w=a("path"),V=a("path"),B=a("path"),S=a("path"),U=a("defs"),p=a("linearGradient"),H=a("stop"),O=a("stop"),c=a("linearGradient"),q=a("stop"),D=a("stop"),f=a("linearGradient"),z=a("stop"),Z=a("stop"),this.h()},l(F){i=r(F,"svg",{xmlns:!0,"xmlns:xlink":!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var o=l(i);v=r(o,"defs",{});var Q=l(v);d=r(Q,"path",{id:!0,fill:!0,d:!0}),l(d).forEach(e),Q.forEach(e),y=r(o,"use",{"xlink:href":!0}),l(y).forEach(e),h=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var R=l(h);b=r(R,"use",{"xlink:href":!0}),l(b).forEach(e),R.forEach(e),m=r(o,"g",{mask:!0});var J=l(m);C=r(J,"path",{fill:!0,d:!0}),l(C).forEach(e),E=r(J,"path",{fill:!0,d:!0,opacity:!0}),l(E).forEach(e),x=r(J,"path",{fill:!0,d:!0,opacity:!0}),l(x).forEach(e),g=r(J,"path",{fill:!0,d:!0,opacity:!0}),l(g).forEach(e),J.forEach(e),G=r(o,"path",{fill:!0,d:!0}),l(G).forEach(e),u=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var T=l(u);L=r(T,"path",{fill:!0,d:!0}),l(L).forEach(e),T.forEach(e),n=r(o,"g",{mask:!0});var N=l(n);k=r(N,"path",{fill:!0,d:!0,opacity:!0}),l(k).forEach(e),_=r(N,"path",{fill:!0,d:!0,opacity:!0}),l(_).forEach(e),M=r(N,"path",{fill:!0,d:!0}),l(M).forEach(e),A=r(N,"path",{fill:!0,d:!0}),l(A).forEach(e),w=r(N,"path",{fill:!0,d:!0,opacity:!0}),l(w).forEach(e),N.forEach(e),V=r(o,"path",{fill:!0,d:!0}),l(V).forEach(e),B=r(o,"path",{fill:!0,d:!0}),l(B).forEach(e),S=r(o,"path",{fill:!0,d:!0}),l(S).forEach(e),U=r(o,"defs",{});var j=l(U);p=r(j,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var I=l(p);H=r(I,"stop",{"stop-color":!0}),l(H).forEach(e),O=r(I,"stop",{offset:!0,"stop-color":!0}),l(O).forEach(e),I.forEach(e),c=r(j,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var K=l(c);q=r(K,"stop",{"stop-color":!0}),l(q).forEach(e),D=r(K,"stop",{offset:!0,"stop-color":!0}),l(D).forEach(e),K.forEach(e),f=r(j,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var P=l(f);z=r(P,"stop",{"stop-color":!0}),l(z).forEach(e),Z=r(P,"stop",{offset:!0,"stop-color":!0,"stop-opacity":!0}),l(Z).forEach(e),P.forEach(e),j.forEach(e),o.forEach(e),this.h()},h(){t(d,"id","a"),t(d,"fill","#7A3A0C"),t(d,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),W(y,"xlink:href","#a"),W(b,"xlink:href","#a"),t(h,"id","b"),t(h,"width","385"),t(h,"height","443"),t(h,"x","0"),t(h,"y","4"),t(h,"maskUnits","userSpaceOnUse"),X(h,"mask-type","alpha"),t(C,"fill","#592805"),t(C,"d","M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"),t(E,"fill","#C89435"),t(E,"d","M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"),t(E,"opacity",".2"),t(x,"fill","#C89435"),t(x,"d","M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"),t(x,"opacity",".3"),t(g,"fill","#C89435"),t(g,"d","m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"),t(g,"opacity",".2"),t(m,"mask","url(#b)"),t(G,"fill","url(#c)"),t(G,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(L,"fill","url(#d)"),t(L,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(u,"id","e"),t(u,"width","351"),t(u,"height","403"),t(u,"x","17"),t(u,"y","4"),t(u,"maskUnits","userSpaceOnUse"),X(u,"mask-type","alpha"),t(k,"fill","url(#f)"),t(k,"d","M389.2 334.7c46.5-71.6-249.6-263-249.6-263L114 96s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L102 299.7s240.7 106.5 287.3 35Z"),t(k,"opacity",".7"),t(_,"fill","#FFD893"),t(_,"d","M157-47h177L137 459H-40L157-47Z"),t(_,"opacity",".8"),t(M,"fill","#F9CB80"),t(M,"d","M352.5-49H368L189.5 421H174L352.5-49Z"),t(A,"fill","#FFE9C2"),t(A,"d","M360.5 111c14 17 8 34 8 38L389 95 194-31 10 78.5V161s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"),t(w,"fill","#FFE0A9"),t(w,"d","M21.5 299c-14-17-8-34-8-38L-7 315l195 126 184-109.5V249s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"),t(w,"opacity",".7"),t(n,"mask","url(#e)"),t(V,"fill","#7A3A0C"),t(V,"d","M254.6 304.6c0 1-.2 1.8-.6 2.5a34.5 34.5 0 0 1-30.5 19h-52.6a34.5 34.5 0 0 1-30.7-19c-.4-.7-.6-1.6-.6-2.5v-76.5a6 6 0 0 1 6-6h36.8a6 6 0 0 1 6 6v40a6 6 0 0 0 6 6h5.4a6 6 0 0 0 6-6v-57.2a6 6 0 0 0-6-6h-54.2a6 6 0 0 1-6-6V59a6 6 0 0 1 6-6h95.7a6 6 0 0 1 6 6v36a6 6 0 0 1-6 6h-46.9a6 6 0 0 0-6 6v40a6 6 0 0 0 6 6h29a33 33 0 0 1 18.7 5.5 33 33 0 0 1 12 13.4c.3.8.5 1.6.5 2.5v130.2Z"),t(B,"fill","#8A4C15"),t(B,"d","M175 310h35v16h-35z"),t(S,"fill","#FFF2DC"),t(S,"d","M254.6 288.6c0 .9-.2 1.7-.6 2.5a34.5 34.5 0 0 1-30.5 19h-52.6a34.5 34.5 0 0 1-30.7-19c-.4-.8-.6-1.6-.6-2.5V212a6 6 0 0 1 6-6h36.8a6 6 0 0 1 6 6v40a6 6 0 0 0 6 6h5.4a6 6 0 0 0 6-6v-57a6 6 0 0 0-6-6h-54.2a6 6 0 0 1-6-6V43a6 6 0 0 1 6-6h95.7a6 6 0 0 1 6 6v35.9a6 6 0 0 1-6 6h-46.9a6 6 0 0 0-6 6v40a6 6 0 0 0 6 6h29c6.9 0 13.1 1.9 18.7 5.6a33 33 0 0 1 12 13.4c.3.7.5 1.6.5 2.4v130.3Z"),t(H,"stop-color","#F2B445"),t(O,"offset","1"),t(O,"stop-color","#D7882F"),t(p,"id","c"),t(p,"x1","140.5"),t(p,"x2","219"),t(p,"y1","0"),t(p,"y2","410"),t(p,"gradientUnits","userSpaceOnUse"),t(q,"stop-color","#F2B445"),t(D,"offset","1"),t(D,"stop-color","#BD6D18"),t(c,"id","d"),t(c,"x1","94.5"),t(c,"x2","276"),t(c,"y1","12"),t(c,"y2","386.5"),t(c,"gradientUnits","userSpaceOnUse"),t(z,"stop-color","#B05C13"),t(Z,"offset","1"),t(Z,"stop-color","#B05C13"),t(Z,"stop-opacity","0"),t(f,"id","f"),t(f,"x1","373.6"),t(f,"x2","182.8"),t(f,"y1","370.3"),t(f,"y2","128.4"),t(f,"gradientUnits","userSpaceOnUse"),t(i,"xmlns","http://www.w3.org/2000/svg"),t(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),t(i,"fill","none"),t(i,"viewBox","0 0 385 450"),t(i,"width","385"),t(i,"height","450"),t(i,"class",$[0])},m(F,o){rt(F,i,o),s(i,v),s(v,d),s(i,y),s(i,h),s(h,b),s(i,m),s(m,C),s(m,E),s(m,x),s(m,g),s(i,G),s(i,u),s(u,L),s(i,n),s(n,k),s(n,_),s(n,M),s(n,A),s(n,w),s(i,V),s(i,B),s(i,S),s(i,U),s(U,p),s(p,H),s(p,O),s(U,c),s(c,q),s(c,D),s(U,f),s(f,z),s(f,Z)},p(F,[o]){o&1&&t(i,"class",F[0])},i:Y,o:Y,d(F){F&&e(i)}}}function st($,i,v){let{classNames:d=""}=i;return $.$$set=y=>{"classNames"in y&&v(0,d=y.classNames)},[d]}class ot extends tt{constructor(i){super(),et(this,i,st,lt,at,{classNames:0})}}export{ot as default};
|
|
static/_app/immutable/chunks/index-86f4d6c3.js
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
function k(){}const ct=t=>t;function ot(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 qt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let S;function Tt(t,e){return S||(S=document.createElement("a")),S.href=e,t===S.href}function lt(t){return Object.keys(t).length===0}function ut(t,...e){if(t==null)return k;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function zt(t,e,n){t.$$.on_destroy.push(ut(e,n))}function Bt(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?ot(n.ctx.slice(),t[1](r(e))):n.ctx}function Lt(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 l=[],i=Math.max(e.dirty.length,s.length);for(let o=0;o<i;o+=1)l[o]=e.dirty[o]|s[o];return l}return e.dirty|s}return e.dirty}function Ft(t,e,n,r,s,l){if(s){const i=Q(e,n,r,l);t.p(i,s)}}function Ht(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 It(t,e,n){return t.set(n),e}const U=typeof window!="undefined";let at=U?()=>window.performance.now():()=>Date.now(),F=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&&F(V)}function ft(t){let e;return b.size===0&&F(V),{promise:new Promise(n=>{b.add(e={c:t,f:n})}),abort(){b.delete(e)}}}let O=!1;function _t(){O=!0}function dt(){O=!1}function ht(t,e,n,r){for(;t<e;){const s=t+(e-t>>1);n(s)<=r?t=s+1:e=s}return t}function mt(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:ht(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 l=[],i=[];let o=e.length-1;for(let c=n[s]+1;c!=0;c=r[c-1]){for(l.push(e[c-1]);o>=c;o--)i.push(e[o]);o--}for(;o>=0;o--)i.push(e[o]);l.reverse(),i.sort((c,u)=>c.claim_order-u.claim_order);for(let c=0,u=0;c<i.length;c++){for(;u<l.length&&i[c].claim_order>=l[u].claim_order;)u++;const _=u<l.length?l[u]:null;t.insertBefore(i[c],_)}}function pt(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 yt(t){const e=Y("style");return gt(X(t),e),e.sheet}function gt(t,e){pt(t.head||t,e)}function bt(t,e){if(O){for(mt(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 Wt(t,e,n){O&&!n?bt(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function xt(t){t.parentNode.removeChild(t)}function Gt(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 $t(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function H(t){return document.createTextNode(t)}function Jt(){return H(" ")}function Kt(){return H("")}function Qt(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function Ut(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Vt(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function wt(t){return Array.from(t.childNodes)}function vt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function Z(t,e,n,r,s=!1){vt(t);const l=(()=>{for(let i=t.claim_info.last_index;i<t.length;i++){const o=t[i];if(e(o)){const c=n(o);return c===void 0?t.splice(i,1):t[i]=c,s||(t.claim_info.last_index=i),o}}for(let i=t.claim_info.last_index-1;i>=0;i--){const o=t[i];if(e(o)){const c=n(o);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,o}}return r()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function tt(t,e,n,r){return Z(t,s=>s.nodeName===e,s=>{const l=[];for(let i=0;i<s.attributes.length;i++){const o=s.attributes[i];n[o.name]||l.push(o.name)}l.forEach(i=>s.removeAttribute(i))},()=>r(e))}function Xt(t,e,n){return tt(t,e,n,Y)}function Yt(t,e,n){return tt(t,e,n,$t)}function Et(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},()=>H(e),!0)}function Zt(t){return Et(t," ")}function te(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function ee(t,e,n,r){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function et(t,e,{bubbles:n=!1,cancelable:r=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(t,n,r,e),s}const D=new Map;let P=0;function kt(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function Nt(t,e){const n={stylesheet:yt(e),rules:{}};return D.set(t,n),n}function W(t,e,n,r,s,l,i,o=0){const c=16.666/r;let u=`{
|
2 |
-
`;for(let p=0;p<=1;p+=c){const g=e+(n-e)*l(p);u+=p*100+`%{${i(g,1-g)}}
|
3 |
-
`}const _=u+`100% {${i(n,1-n)}}
|
4 |
-
}`,f=`__svelte_${kt(_)}_${o}`,a=X(t),{stylesheet:d,rules:h}=D.get(a)||Nt(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`,P+=1,f}function At(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),s=n.length-r.length;s&&(t.style.animation=r.join(", "),P-=s,P||St())}function St(){F(()=>{P||(D.forEach(t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}}),D.clear())})}let E;function v(t){E=t}function N(){if(!E)throw new Error("Function called outside component initialization");return E}function ne(t){N().$$.on_mount.push(t)}function ie(t){N().$$.after_update.push(t)}function re(t){N().$$.on_destroy.push(t)}function se(){const t=N();return(e,n,{cancelable:r=!1}={})=>{const s=t.$$.callbacks[e];if(s){const l=et(e,n,{cancelable:r});return s.slice().forEach(i=>{i.call(t,l)}),!l.defaultPrevented}return!0}}function ce(t,e){return N().$$.context.set(t,e),e}const w=[],G=[],C=[],B=[],nt=Promise.resolve();let L=!1;function it(){L||(L=!0,nt.then(rt))}function oe(){return it(),nt}function R(t){C.push(t)}function le(t){B.push(t)}const T=new Set;let j=0;function rt(){const t=E;do{for(;j<w.length;){const e=w[j];j++,v(e),jt(e.$$)}for(v(null),w.length=0,j=0;G.length;)G.pop()();for(let e=0;e<C.length;e+=1){const n=C[e];T.has(n)||(T.add(n),n())}C.length=0}while(w.length);for(;B.length;)B.pop()();L=!1,T.clear(),v(t)}function jt(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(R)}}let $;function Ct(){return $||($=Promise.resolve(),$.then(()=>{$=null})),$}function z(t,e,n){t.dispatchEvent(et(`${e?"intro":"outro"}${n}`))}const M=new Set;let m;function ue(){m={r:0,c:[],p:m}}function ae(){m.r||x(m.c),m=m.p}function Mt(t,e){t&&t.i&&(M.delete(t),t.i(e))}function fe(t,e,n,r){if(t&&t.o){if(M.has(t))return;M.add(t),m.c.push(()=>{M.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const Dt={duration:0};function _e(t,e,n,r){let s=e(t,n),l=r?0:1,i=null,o=null,c=null;function u(){c&&At(t,c)}function _(a,d){const h=a.b-l;return d*=Math.abs(h),{a:l,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=ct,tick:p=k,css:g}=s||Dt,q={start:at()+d,b:a};a||(q.group=m,m.r+=1),i||o?o=q:(g&&(u(),c=W(t,l,a,h,d,y,g)),a&&p(0,1),i=_(q,h),R(()=>z(t,a,"start")),ft(A=>{if(o&&A>o.start&&(i=_(o,h),o=null,z(t,i.b,"start"),g&&(u(),c=W(t,l,i.b,i.duration,0,y,s.css))),i){if(A>=i.end)p(l=i.b,1-l),z(t,i.b,"end"),o||(i.b?u():--i.group.r||x(i.group.c)),i=null;else if(A>=i.start){const st=A-i.start;l=i.a+i.d*y(st/i.duration),p(l,1-l)}}return!!(i||o)}))}return{run(a){K(s)?Ct().then(()=>{s=s(),f(a)}):f(a)},end(){u(),i=o=null}}}function de(t,e){const n={},r={},s={$$scope:1};let l=t.length;for(;l--;){const i=t[l],o=e[l];if(o){for(const c in i)c in o||(r[c]=1);for(const c in o)s[c]||(n[c]=o[c],s[c]=1);t[l]=o}else for(const c in i)s[c]=1}for(const i in r)i in n||(n[i]=void 0);return n}function he(t){return typeof t=="object"&&t!==null?t:{}}function me(t,e,n){const r=t.$$.props[e];r!==void 0&&(t.$$.bound[r]=n,n(t.$$.ctx[r]))}function pe(t){t&&t.c()}function ye(t,e){t&&t.l(e)}function Pt(t,e,n,r){const{fragment:s,on_mount:l,on_destroy:i,after_update:o}=t.$$;s&&s.m(e,n),r||R(()=>{const c=l.map(J).filter(K);i?i.push(...c):x(c),t.$$.on_mount=[]}),o.forEach(R)}function Rt(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),it(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ge(t,e,n,r,s,l,i,o=[-1]){const c=E;v(t);const u=t.$$={fragment:null,ctx:null,props:l,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:o,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){_t();const f=wt(e.target);u.fragment&&u.fragment.l(f),f.forEach(xt)}else u.fragment&&u.fragment.c();e.intro&&Mt(t.$$.fragment),Pt(t,e.target,e.anchor,e.customElement),dt(),rt()}v(c)}class be{$destroy(){Rt(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&&!lt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{Vt as $,he as A,Rt as B,ot as C,oe as D,k as E,Bt as F,Ft as G,Ht as H,Lt as I,bt as J,Qt as K,Gt as L,se as M,$t as N,Yt as O,ct as P,R as Q,_e as R,be as S,Tt as T,x as U,re as V,G as W,le as X,zt as Y,It as Z,me as _,wt as a,Ut as b,Xt as c,xt as d,Y as e,ee as f,Wt as g,Et as h,ge as i,te as j,Jt as k,Kt as l,Zt as m,ue as n,fe as o,ae as p,Mt as q,ce as r,qt as s,H as t,ie as u,ne as v,pe as w,ye as x,Pt as y,de as z};
|
|
|
|
|
|
|
|
static/_app/immutable/chunks/preload-helper-359634c4.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{s as m,E as f}from"./index-86f4d6c3.js";const c=[];function g(s,l=f){let o;const e=new Set;function i(r){if(m(s,r)&&(s=r,o)){const a=!c.length;for(const t of e)t[1](),c.push(t,s);if(a){for(let t=0;t<c.length;t+=2)c[t][0](c[t+1]);c.length=0}}}function u(r){i(r(s))}function n(r,a=f){const t=[r,a];return e.add(t),e.size===1&&(o=l(i)||f),r(s),()=>{e.delete(t),e.size===0&&(o(),o=null)}}return{set:i,update:u,subscribe:n}}let b="",d="";function E(s){b=s.base,d=s.assets||b}const _="modulepreload",h={},p="/static/_app/immutable/",S=function(l,o){return!o||o.length===0?l():Promise.all(o.map(e=>{if(e=`${p}${e}`,e in h)return;h[e]=!0;const i=e.endsWith(".css"),u=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${u}`))return;const n=document.createElement("link");if(n.rel=i?"stylesheet":_,i||(n.as="script",n.crossOrigin=""),n.href=e,document.head.appendChild(n),i)return new Promise((r,a)=>{n.addEventListener("load",r),n.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>l())};export{S as _,d as a,b,E as s,g as w};
|
|
static/_app/immutable/chunks/ten-042882a1.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as X,i as Y,s as tt,N as a,O as r,a as s,d as e,b as t,$ as Q,f as R,g as et,J as l,E as W}from"./index-86f4d6c3.js";function at(J){let i,y,n,E,h,H,d,G,x,g,v,L,u,M,m,k,_,V,Z,C,F,w,c,S,D,p,O,B,f,N,A;return{c(){i=a("svg"),y=a("defs"),n=a("path"),E=a("use"),h=a("mask"),H=a("use"),d=a("g"),G=a("path"),x=a("path"),g=a("path"),v=a("path"),L=a("path"),u=a("mask"),M=a("path"),m=a("g"),k=a("path"),_=a("path"),V=a("path"),Z=a("path"),C=a("path"),F=a("path"),w=a("defs"),c=a("linearGradient"),S=a("stop"),D=a("stop"),p=a("linearGradient"),O=a("stop"),B=a("stop"),f=a("linearGradient"),N=a("stop"),A=a("stop"),this.h()},l(U){i=r(U,"svg",{xmlns:!0,"xmlns:xlink":!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var o=s(i);y=r(o,"defs",{});var I=s(y);n=r(I,"path",{id:!0,fill:!0,d:!0}),s(n).forEach(e),I.forEach(e),E=r(o,"use",{"xlink:href":!0}),s(E).forEach(e),h=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var K=s(h);H=r(K,"use",{"xlink:href":!0}),s(H).forEach(e),K.forEach(e),d=r(o,"g",{mask:!0});var b=s(d);G=r(b,"path",{fill:!0,d:!0}),s(G).forEach(e),x=r(b,"path",{fill:!0,d:!0,opacity:!0}),s(x).forEach(e),g=r(b,"path",{fill:!0,d:!0,opacity:!0}),s(g).forEach(e),v=r(b,"path",{fill:!0,d:!0,opacity:!0}),s(v).forEach(e),b.forEach(e),L=r(o,"path",{fill:!0,d:!0}),s(L).forEach(e),u=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var P=s(u);M=r(P,"path",{fill:!0,d:!0}),s(M).forEach(e),P.forEach(e),m=r(o,"g",{mask:!0});var q=s(m);k=r(q,"path",{fill:!0,d:!0,opacity:!0}),s(k).forEach(e),_=r(q,"path",{fill:!0,d:!0,opacity:!0}),s(_).forEach(e),V=r(q,"path",{fill:!0,d:!0}),s(V).forEach(e),Z=r(q,"path",{fill:!0,d:!0,opacity:!0}),s(Z).forEach(e),q.forEach(e),C=r(o,"path",{fill:!0,d:!0}),s(C).forEach(e),F=r(o,"path",{fill:!0,d:!0}),s(F).forEach(e),w=r(o,"defs",{});var T=s(w);c=r(T,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var $=s(c);S=r($,"stop",{"stop-color":!0}),s(S).forEach(e),D=r($,"stop",{offset:!0,"stop-color":!0}),s(D).forEach(e),$.forEach(e),p=r(T,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var j=s(p);O=r(j,"stop",{"stop-color":!0}),s(O).forEach(e),B=r(j,"stop",{offset:!0,"stop-color":!0}),s(B).forEach(e),j.forEach(e),f=r(T,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var z=s(f);N=r(z,"stop",{"stop-color":!0}),s(N).forEach(e),A=r(z,"stop",{offset:!0,"stop-color":!0,"stop-opacity":!0}),s(A).forEach(e),z.forEach(e),T.forEach(e),o.forEach(e),this.h()},h(){t(n,"id","a"),t(n,"fill","#777A6F"),t(n,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),Q(E,"xlink:href","#a"),Q(H,"xlink:href","#a"),t(h,"id","b"),t(h,"width","385"),t(h,"height","443"),t(h,"x","0"),t(h,"y","4"),t(h,"maskUnits","userSpaceOnUse"),R(h,"mask-type","alpha"),t(G,"fill","#4E4F51"),t(G,"d","M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"),t(x,"fill","#CCDDE2"),t(x,"d","M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"),t(x,"opacity",".2"),t(g,"fill","#C89435"),t(g,"d","M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"),t(g,"opacity",".3"),t(v,"fill","#CCDDE2"),t(v,"d","m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"),t(v,"opacity",".2"),t(d,"mask","url(#b)"),t(L,"fill","url(#c)"),t(L,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(M,"fill","url(#d)"),t(M,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(u,"id","e"),t(u,"width","351"),t(u,"height","403"),t(u,"x","17"),t(u,"y","4"),t(u,"maskUnits","userSpaceOnUse"),R(u,"mask-type","alpha"),t(k,"fill","url(#f)"),t(k,"d","M394.2 346.7c46.5-71.6-249.6-263-249.6-263L119 108s211.6 114.9 176.5 163.3c-35 48.4-217-78.3-217-78.3L107 311.7s240.7 106.5 287.3 35Z"),t(k,"opacity",".4"),t(_,"fill","#D9E8EF"),t(_,"d","M157-47h177L137 459H-40L157-47Zm195.5-2H368L189.5 421H174L352.5-49Z"),t(_,"opacity",".8"),t(V,"fill","#ECF8FF"),t(V,"d","M360.5 111c14 17 8 34 8 38L389 95 194-31 10 78.5V161s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"),t(Z,"fill","#DBEAF2"),t(Z,"d","M21.5 299c-14-17-8-34-8-38L-7 315l195 126 184-109.5V249s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"),t(Z,"opacity",".7"),t(m,"mask","url(#e)"),t(C,"fill","#777A6F"),t(C,"d","M109 325a5 5 0 0 1-5-5V57a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5H109Zm173-21.2a5 5 0 0 1-.5 2.1c-2.9 5.5-7 10-12.2 13.6a32.3 32.3 0 0 1-18.6 5.5H198a33.2 33.2 0 0 1-30.6-19.1c-.4-.6-.5-1.4-.5-2V69.4c0-.7.1-1.4.5-2 3.2-6.6 8-11.5 14.3-15 .7-.3 1.4-.5 2.2-.5h80.8c.8 0 1.5.2 2.2.5a34 34 0 0 1 14.5 14.9c.3.7.5 1.4.5 2.1v234.3ZM228.2 273a5 5 0 0 0 5-5V105a5 5 0 0 0-5-5h-7.4a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.4Z"),t(F,"fill","#fff"),t(F,"d","M109 310a5 5 0 0 1-5-5V42a5 5 0 0 1 5-5h41.8a5 5 0 0 1 5 5v263a5 5 0 0 1-5 5H109Zm173-21.2a5 5 0 0 1-.5 2.1c-2.9 5.5-7 10-12.2 13.6a32.3 32.3 0 0 1-18.6 5.5H198a33.2 33.2 0 0 1-30.6-19.1c-.4-.6-.5-1.4-.5-2V54.4c0-.7.1-1.4.5-2 3.2-6.6 8-11.5 14.3-15 .7-.3 1.4-.5 2.2-.5h80.8c.8 0 1.5.2 2.2.5a34 34 0 0 1 14.5 14.9c.3.7.5 1.4.5 2.1v234.3ZM228.2 258a5 5 0 0 0 5-5V90a5 5 0 0 0-5-5h-7.4a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.4Z"),t(S,"stop-color","#ACC0BE"),t(D,"offset","1"),t(D,"stop-color","#8BAAA7"),t(c,"id","c"),t(c,"x1","103"),t(c,"x2","192.5"),t(c,"y1","13"),t(c,"y2","410"),t(c,"gradientUnits","userSpaceOnUse"),t(O,"stop-color","#F2B445"),t(B,"offset","1"),t(B,"stop-color","#BD6D18"),t(p,"id","d"),t(p,"x1","94.5"),t(p,"x2","276"),t(p,"y1","12"),t(p,"y2","386.5"),t(p,"gradientUnits","userSpaceOnUse"),t(N,"stop-color","#6A807A"),t(A,"offset","1"),t(A,"stop-color","#6A807A"),t(A,"stop-opacity","0"),t(f,"id","f"),t(f,"x1","357.5"),t(f,"x2","69.5"),t(f,"y1","335"),t(f,"y2","146.5"),t(f,"gradientUnits","userSpaceOnUse"),t(i,"xmlns","http://www.w3.org/2000/svg"),t(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),t(i,"fill","none"),t(i,"viewBox","0 0 385 450"),t(i,"width","385"),t(i,"height","450"),t(i,"class",J[0])},m(U,o){et(U,i,o),l(i,y),l(y,n),l(i,E),l(i,h),l(h,H),l(i,d),l(d,G),l(d,x),l(d,g),l(d,v),l(i,L),l(i,u),l(u,M),l(i,m),l(m,k),l(m,_),l(m,V),l(m,Z),l(i,C),l(i,F),l(i,w),l(w,c),l(c,S),l(c,D),l(w,p),l(p,O),l(p,B),l(w,f),l(f,N),l(f,A)},p(U,[o]){o&1&&t(i,"class",U[0])},i:W,o:W,d(U){U&&e(i)}}}function rt(J,i,y){let{classNames:n=""}=i;return J.$$set=E=>{"classNames"in E&&y(0,n=E.classNames)},[n]}class lt extends X{constructor(i){super(),Y(this,i,rt,at,tt,{classNames:0})}}export{lt as default};
|
|
static/_app/immutable/chunks/thirtyfive-e8960031.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as K,i as P,s as Q,N as e,O as r,a as l,d as a,b as t,f as z,g as R,J as h,E as I}from"./index-86f4d6c3.js";function W(O){let s,v,i,n,f,_,V,m,E,y,M,p,A,d,g,F,Z,L,w,U,D,H,c,B,G,u,N,k;return{c(){s=e("svg"),v=e("path"),i=e("mask"),n=e("path"),f=e("g"),_=e("path"),V=e("path"),m=e("path"),E=e("path"),y=e("path"),M=e("path"),p=e("mask"),A=e("path"),d=e("g"),g=e("path"),F=e("path"),Z=e("path"),L=e("path"),w=e("path"),U=e("path"),D=e("path"),H=e("defs"),c=e("linearGradient"),B=e("stop"),G=e("stop"),u=e("linearGradient"),N=e("stop"),k=e("stop"),this.h()},l(x){s=r(x,"svg",{xmlns:!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var o=l(s);v=r(o,"path",{fill:!0,d:!0}),l(v).forEach(a),i=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var T=l(i);n=r(T,"path",{fill:!0,d:!0}),l(n).forEach(a),T.forEach(a),f=r(o,"g",{mask:!0});var C=l(f);_=r(C,"path",{fill:!0,d:!0}),l(_).forEach(a),V=r(C,"path",{fill:!0,d:!0}),l(V).forEach(a),m=r(C,"path",{fill:!0,d:!0,opacity:!0}),l(m).forEach(a),E=r(C,"path",{fill:!0,d:!0,opacity:!0}),l(E).forEach(a),y=r(C,"path",{fill:!0,d:!0,opacity:!0}),l(y).forEach(a),C.forEach(a),M=r(o,"path",{fill:!0,d:!0}),l(M).forEach(a),p=r(o,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var j=l(p);A=r(j,"path",{fill:!0,d:!0}),l(A).forEach(a),j.forEach(a),d=r(o,"g",{mask:!0});var S=l(d);g=r(S,"path",{fill:!0,d:!0,opacity:!0}),l(g).forEach(a),F=r(S,"path",{fill:!0,d:!0,opacity:!0}),l(F).forEach(a),Z=r(S,"path",{fill:!0,d:!0,opacity:!0}),l(Z).forEach(a),L=r(S,"path",{fill:!0,d:!0}),l(L).forEach(a),w=r(S,"path",{fill:!0,d:!0}),l(w).forEach(a),S.forEach(a),U=r(o,"path",{fill:!0,d:!0}),l(U).forEach(a),D=r(o,"path",{fill:!0,d:!0}),l(D).forEach(a),H=r(o,"defs",{});var b=l(H);c=r(b,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var q=l(c);B=r(q,"stop",{"stop-color":!0}),l(B).forEach(a),G=r(q,"stop",{offset:!0,"stop-color":!0}),l(G).forEach(a),q.forEach(a),u=r(b,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var J=l(u);N=r(J,"stop",{"stop-color":!0}),l(N).forEach(a),k=r(J,"stop",{offset:!0,"stop-color":!0,"stop-opacity":!0}),l(k).forEach(a),J.forEach(a),b.forEach(a),o.forEach(a),this.h()},h(){t(v,"fill","#D9800D"),t(v,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),t(n,"fill","#D3720A"),t(n,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),t(i,"id","a"),t(i,"width","385"),t(i,"height","443"),t(i,"x","0"),t(i,"y","4"),t(i,"maskUnits","userSpaceOnUse"),z(i,"mask-type","alpha"),t(_,"fill","#B87711"),t(_,"d","M164.6 311.8c-25.1 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25-59.1 116.3-93.2 205-55.5 88.9 37.7 116.2 123.4 91 182.5Z"),t(V,"fill","#7C4D16"),t(V,"d","M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"),t(m,"fill","#F5DD21"),t(m,"d","M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"),t(m,"opacity",".3"),t(E,"fill","#C89435"),t(E,"d","M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"),t(E,"opacity",".3"),t(y,"fill","#F5DD21"),t(y,"d","m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"),t(y,"opacity",".3"),t(f,"mask","url(#a)"),t(M,"fill","url(#b)"),t(M,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(A,"fill","#FBEC17"),t(A,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(p,"id","c"),t(p,"width","351"),t(p,"height","403"),t(p,"x","17"),t(p,"y","4"),t(p,"maskUnits","userSpaceOnUse"),z(p,"mask-type","alpha"),t(g,"fill","url(#d)"),t(g,"d","M197.2 341.7c46.5-71.6-249.6-263-249.6-263L-78 103S133.6 217.9 98.5 266.3c-35 48.4-217-78.3-217-78.3L-90 306.7s240.7 106.5 287.3 35Z"),t(g,"opacity",".7"),t(F,"fill","#FFFA86"),t(F,"d","M259-47h177L239 459H62L259-47Z"),t(F,"opacity",".6"),t(Z,"fill","#FFFA86"),t(Z,"d","M454.5-49H470L291.5 421H276L454.5-49Z"),t(Z,"opacity",".8"),t(L,"fill","#FFFCE6"),t(L,"d","M359.5 115c14 17 8 34 8 38L388 99 193-27 9 82.5V165s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"),t(w,"fill","#FFFAD5"),t(w,"d","M21.5 296c-14-17-8-34-8-38L-7 312l195 126 184-109.5V246s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"),t(d,"mask","url(#c)"),t(U,"fill","#D9800D"),t(U,"d","M187 167.4a33 33 0 0 1-8.6 11.4 32 32 0 0 1 8.6 11.6v115.5a34.5 34.5 0 0 1-31.1 20.1h-52.6A34.5 34.5 0 0 1 72 306v-81.2h48.8V274h17.4v-69H107v-52h31.2v-52h-17.4v32H72V69.3c3.4-7 8.4-12.5 15.3-16.2h84.4c6.8 3.7 12 9.1 15.3 16.2v98.2ZM313.4 306a34.5 34.5 0 0 1-31.2 20h-52.5a34.5 34.5 0 0 1-31.3-20.1V222h48.8v52h17.3v-69h-66.1V53H306v47.9h-59v52h35.1c6.9 0 13 1.9 18.7 5.6a33 33 0 0 1 12.5 14.5v133Z"),t(D,"fill","#fff"),t(D,"d","M187 150.4a33 33 0 0 1-8.6 11.4 32 32 0 0 1 8.6 11.6v115.5a34.5 34.5 0 0 1-31.1 20.1h-52.6A34.5 34.5 0 0 1 72 289v-81.2h48.8V257h17.4v-69H107v-52h31.2V84h-17.4v32H72V52.3c3.4-7 8.4-12.5 15.3-16.2h84.4c6.8 3.7 12 9.1 15.3 16.2v98.2ZM313.4 289a34.5 34.5 0 0 1-31.2 20h-52.5a34.5 34.5 0 0 1-31.3-20.1V205h48.8v52h17.3v-69h-66.1V36H306v47.9h-59v52h35.1c6.9 0 13 1.9 18.7 5.6a33 33 0 0 1 12.5 14.5v133Z"),t(B,"stop-color","#F8EF0A"),t(G,"offset","1"),t(G,"stop-color","#F5BE1B"),t(c,"id","b"),t(c,"x1","147"),t(c,"x2","201.5"),t(c,"y1","0"),t(c,"y2","418.5"),t(c,"gradientUnits","userSpaceOnUse"),t(N,"stop-color","#FE9C15"),t(k,"offset","1"),t(k,"stop-color","#FE9C15"),t(k,"stop-opacity","0"),t(u,"id","d"),t(u,"x1","111"),t(u,"x2","-21"),t(u,"y1","357.5"),t(u,"y2","126"),t(u,"gradientUnits","userSpaceOnUse"),t(s,"xmlns","http://www.w3.org/2000/svg"),t(s,"fill","none"),t(s,"viewBox","0 0 385 450"),t(s,"width","385"),t(s,"height","450"),t(s,"class",O[0])},m(x,o){R(x,s,o),h(s,v),h(s,i),h(i,n),h(s,f),h(f,_),h(f,V),h(f,m),h(f,E),h(f,y),h(s,M),h(s,p),h(p,A),h(s,d),h(d,g),h(d,F),h(d,Z),h(d,L),h(d,w),h(s,U),h(s,D),h(s,H),h(H,c),h(c,B),h(c,G),h(H,u),h(u,N),h(u,k)},p(x,[o]){o&1&&t(s,"class",x[0])},i:I,o:I,d(x){x&&a(s)}}}function X(O,s,v){let{classNames:i=""}=s;return O.$$set=n=>{"classNames"in n&&v(0,i=n.classNames)},[i]}class $ extends K{constructor(s){super(),P(this,s,X,W,Q,{classNames:0})}}export{$ as default};
|
|
static/_app/immutable/chunks/twenty-39a31000.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as K,i as P,s as Q,N as e,O as r,a as l,d as a,b as t,f as z,g as R,J as s,E as I}from"./index-86f4d6c3.js";function W(O){let h,m,i,n,f,_,V,v,E,y,M,o,w,d,g,F,Z,L,A,U,D,H,p,B,G,u,N,k;return{c(){h=e("svg"),m=e("path"),i=e("mask"),n=e("path"),f=e("g"),_=e("path"),V=e("path"),v=e("path"),E=e("path"),y=e("path"),M=e("path"),o=e("mask"),w=e("path"),d=e("g"),g=e("path"),F=e("path"),Z=e("path"),L=e("path"),A=e("path"),U=e("path"),D=e("path"),H=e("defs"),p=e("linearGradient"),B=e("stop"),G=e("stop"),u=e("linearGradient"),N=e("stop"),k=e("stop"),this.h()},l(x){h=r(x,"svg",{xmlns:!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var c=l(h);m=r(c,"path",{fill:!0,d:!0}),l(m).forEach(a),i=r(c,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var T=l(i);n=r(T,"path",{fill:!0,d:!0}),l(n).forEach(a),T.forEach(a),f=r(c,"g",{mask:!0});var C=l(f);_=r(C,"path",{fill:!0,d:!0}),l(_).forEach(a),V=r(C,"path",{fill:!0,d:!0}),l(V).forEach(a),v=r(C,"path",{fill:!0,d:!0,opacity:!0}),l(v).forEach(a),E=r(C,"path",{fill:!0,d:!0,opacity:!0}),l(E).forEach(a),y=r(C,"path",{fill:!0,d:!0,opacity:!0}),l(y).forEach(a),C.forEach(a),M=r(c,"path",{fill:!0,d:!0}),l(M).forEach(a),o=r(c,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var j=l(o);w=r(j,"path",{fill:!0,d:!0}),l(w).forEach(a),j.forEach(a),d=r(c,"g",{mask:!0});var S=l(d);g=r(S,"path",{fill:!0,d:!0,opacity:!0}),l(g).forEach(a),F=r(S,"path",{fill:!0,d:!0,opacity:!0}),l(F).forEach(a),Z=r(S,"path",{fill:!0,d:!0,opacity:!0}),l(Z).forEach(a),L=r(S,"path",{fill:!0,d:!0}),l(L).forEach(a),A=r(S,"path",{fill:!0,d:!0}),l(A).forEach(a),S.forEach(a),U=r(c,"path",{fill:!0,d:!0}),l(U).forEach(a),D=r(c,"path",{fill:!0,d:!0}),l(D).forEach(a),H=r(c,"defs",{});var b=l(H);p=r(b,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var q=l(p);B=r(q,"stop",{"stop-color":!0}),l(B).forEach(a),G=r(q,"stop",{offset:!0,"stop-color":!0}),l(G).forEach(a),q.forEach(a),u=r(b,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var J=l(u);N=r(J,"stop",{"stop-color":!0}),l(N).forEach(a),k=r(J,"stop",{offset:!0,"stop-color":!0,"stop-opacity":!0}),l(k).forEach(a),J.forEach(a),b.forEach(a),c.forEach(a),this.h()},h(){t(m,"fill","#D9800D"),t(m,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),t(n,"fill","#D3720A"),t(n,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),t(i,"id","a"),t(i,"width","385"),t(i,"height","443"),t(i,"x","0"),t(i,"y","4"),t(i,"maskUnits","userSpaceOnUse"),z(i,"mask-type","alpha"),t(_,"fill","#B87711"),t(_,"d","M164.6 311.8c-25.1 59-49.7 120.7-138.5 83s-182.7-151-157.6-210c25-59.1 116.3-93.2 205-55.5 88.9 37.7 116.2 123.4 91 182.5Z"),t(V,"fill","#7C4D16"),t(V,"d","M9 328.5c-9-17-15-206-15-206L-14.5 357 190 486l202-133V126.5s-7.5 187.5-15 202c-3.5 6.8-39.3 28.2-78 52-43.2 26.6-90.5 55.5-109 55.5-18.2 0-63-26.6-104-52.5-37.9-23.9-72.7-46.8-77-55Z"),t(v,"fill","#F5DD21"),t(v,"d","M166 379h48c-9.3 31-9.3 47.8 0 77h-48c8.3-30 7.2-47 0-77Zm165-78.8 30-23.2c8.1 32.4 18.3 45.8 47.1 61l-30 23.2c-4.2-35-15.9-47.2-47.1-61Z"),t(v,"opacity",".3"),t(E,"fill","#C89435"),t(E,"d","M330 111.8 342.6 76c25.7 20.2 41.6 26 72.7 25.6l-12.7 35.8c-24.7-20.3-41-25-72.6-25.6Z"),t(E,"opacity",".3"),t(y,"fill","#F5DD21"),t(y,"d","m22 273 29 24.7c-29.7 14.9-40.7 27.7-50 58.6l-29-24.7c30.4-13.8 40.9-27 50-58.6Z"),t(y,"opacity",".3"),t(f,"mask","url(#a)"),t(M,"fill","url(#b)"),t(M,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(w,"fill","#FBEC17"),t(w,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),t(o,"id","c"),t(o,"width","351"),t(o,"height","403"),t(o,"x","17"),t(o,"y","4"),t(o,"maskUnits","userSpaceOnUse"),z(o,"mask-type","alpha"),t(g,"fill","url(#d)"),t(g,"d","M197.2 341.7c46.5-71.6-249.6-263-249.6-263L-78 103S133.6 217.9 98.5 266.3c-35 48.4-217-78.3-217-78.3L-90 306.7s240.7 106.5 287.3 35Z"),t(g,"opacity",".7"),t(F,"fill","#FFFA86"),t(F,"d","M259-47h177L239 459H62L259-47Z"),t(F,"opacity",".6"),t(Z,"fill","#FFFA86"),t(Z,"d","M454.5-49H470L291.5 421H276L454.5-49Z"),t(Z,"opacity",".8"),t(L,"fill","#FFFCE6"),t(L,"d","M359.5 115c14 17 8 34 8 38L388 99 193-27 9 82.5V165s7.5-39.5 15.5-52.5 124-113 165-94 156 79.5 170 96.5Z"),t(A,"fill","#FFFAD5"),t(A,"d","M21.5 296c-14-17-8-34-8-38L-7 312l195 126 184-109.5V246s-7.5 39.5-15.5 52.5-124 113-165 94-156-79.5-170-96.5Z"),t(d,"mask","url(#c)"),t(U,"fill","#D9800D"),t(U,"d","M187 74.3a5 5 0 0 0-.5-2.1 34.2 34.2 0 0 0-12.2-13.6 32.3 32.3 0 0 0-18.6-5.6H103a34 34 0 0 0-30.6 19.2c-.4.6-.5 1.3-.5 2V152a5 5 0 0 0 5 5h38.8a5 5 0 0 0 5-5v-42a5 5 0 0 1 5-5h7.4a5 5 0 0 1 5 5v59.3a5 5 0 0 1-5 5h-30a33.6 33.6 0 0 0-30.7 19.1c-.3.7-.5 1.4-.5 2.1v113.4c0 .7.1 1.4.5 2a33 33 0 0 0 13.7 14.7c.7.4 1.5.6 2.3.6H182a5 5 0 0 0 5-5v-72.6a5 5 0 0 0-5-5h-38.8a5 5 0 0 0-5 5V273a5 5 0 0 1-5 5h-7.4a5 5 0 0 1-5-5v-41.8a5 5 0 0 1 5-5h29.9c7 0 13.2-1.9 18.6-5.6a36 36 0 0 0 12.2-13.5c.3-.7.5-1.4.5-2.2V74.3Zm126.4 230.5c0 .8-.2 1.5-.5 2.2-2.9 5.5-7 10-12.2 13.5a32.3 32.3 0 0 1-18.7 5.6h-52.5c-7 0-13.2-1.9-18.8-5.6-5.2-3.5-9.1-8-11.9-13.6-.3-.6-.4-1.3-.4-2V70.5c0-.7.1-1.4.4-2 3.2-6.5 8-11.5 14.4-15a5 5 0 0 1 2.2-.5H296c.8 0 1.6.2 2.3.6a34 34 0 0 1 14.5 14.8c.3.7.5 1.4.5 2.2v234.2Zm-53.9-30.7a5 5 0 0 0 5-5V105.9a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5v163.2a5 5 0 0 0 5 5h7.3Z"),t(D,"fill","#FFFFEF"),t(D,"d","M187 58.2c0-.7-.2-1.4-.5-2a34.2 34.2 0 0 0-12.2-13.6 32.3 32.3 0 0 0-18.6-5.6H103a33.2 33.2 0 0 0-30.6 19.2c-.4.6-.5 1.3-.5 2v77.6a5 5 0 0 0 5 5h38.8a5 5 0 0 0 5-5v-42a5 5 0 0 1 5-5h7.4a5 5 0 0 1 5 5v59.3a5 5 0 0 1-5 5h-30c-7 0-13.3 2-18.9 5.6-5.2 3.6-9.1 8-11.8 13.6-.3.6-.5 1.3-.5 2v113.4c0 .8.1 1.5.5 2.1 3 6.2 7.6 11.1 13.7 14.6.7.4 1.5.6 2.3.6H182a5 5 0 0 0 5-5v-72.5a5 5 0 0 0-5-5h-38.8a5 5 0 0 0-5 5V257a5 5 0 0 1-5 5h-7.4a5 5 0 0 1-5-5v-42a5 5 0 0 1 5-5h29.9a32 32 0 0 0 18.6-5.5c5.3-3.6 9.3-8 12.2-13.6a5 5 0 0 0 .5-2.1V58.2Zm126.4 230.6a5 5 0 0 1-.5 2.1c-2.9 5.5-7 10-12.2 13.6A32.3 32.3 0 0 1 282 310h-52.5a33.2 33.2 0 0 1-30.7-19.1c-.3-.6-.4-1.4-.4-2V54.4c0-.7.1-1.4.4-2 3.2-6.6 8-11.5 14.4-15a5 5 0 0 1 2.2-.5H296a6 6 0 0 1 2.3.5 34 34 0 0 1 14.5 14.9c.3.7.5 1.4.5 2.1v234.3ZM259.5 258a5 5 0 0 0 5-5V90a5 5 0 0 0-5-5h-7.3a5 5 0 0 0-5 5v163a5 5 0 0 0 5 5h7.3Z"),t(B,"stop-color","#F8EF0A"),t(G,"offset","1"),t(G,"stop-color","#F5BE1B"),t(p,"id","b"),t(p,"x1","147"),t(p,"x2","201.5"),t(p,"y1","0"),t(p,"y2","418.5"),t(p,"gradientUnits","userSpaceOnUse"),t(N,"stop-color","#FE9C15"),t(k,"offset","1"),t(k,"stop-color","#FE9C15"),t(k,"stop-opacity","0"),t(u,"id","d"),t(u,"x1","111"),t(u,"x2","-21"),t(u,"y1","357.5"),t(u,"y2","126"),t(u,"gradientUnits","userSpaceOnUse"),t(h,"xmlns","http://www.w3.org/2000/svg"),t(h,"fill","none"),t(h,"viewBox","0 0 385 450"),t(h,"width","385"),t(h,"height","450"),t(h,"class",O[0])},m(x,c){R(x,h,c),s(h,m),s(h,i),s(i,n),s(h,f),s(f,_),s(f,V),s(f,v),s(f,E),s(f,y),s(h,M),s(h,o),s(o,w),s(h,d),s(d,g),s(d,F),s(d,Z),s(d,L),s(d,A),s(h,U),s(h,D),s(h,H),s(H,p),s(p,B),s(p,G),s(H,u),s(u,N),s(u,k)},p(x,[c]){c&1&&t(h,"class",x[0])},i:I,o:I,d(x){x&&a(h)}}}function X(O,h,m){let{classNames:i=""}=h;return O.$$set=n=>{"classNames"in n&&m(0,i=n.classNames)},[i]}class $ extends K{constructor(h){super(),P(this,h,X,W,Q,{classNames:0})}}export{$ as default};
|
|
static/_app/immutable/chunks/two-86591465.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as q,i as J,s as T,N as l,O as s,a as r,d as e,b as a,$ as O,f as S,g as $,J as c,E as F}from"./index-86f4d6c3.js";function j(L){let t,m,n,d,i,_,p,w,k,f,o,x,v,U,Z,E,M,u,C,y;return{c(){t=l("svg"),m=l("defs"),n=l("path"),d=l("use"),i=l("mask"),_=l("use"),p=l("g"),w=l("path"),k=l("path"),f=l("g"),o=l("mask"),x=l("path"),v=l("g"),U=l("path"),Z=l("path"),E=l("path"),M=l("defs"),u=l("linearGradient"),C=l("stop"),y=l("stop"),this.h()},l(g){t=s(g,"svg",{xmlns:!0,"xmlns:xlink":!0,fill:!0,viewBox:!0,width:!0,height:!0,class:!0});var h=r(t);m=s(h,"defs",{});var A=r(m);n=s(A,"path",{id:!0,fill:!0,d:!0}),r(n).forEach(e),A.forEach(e),d=s(h,"use",{"xlink:href":!0}),r(d).forEach(e),i=s(h,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var D=r(i);_=s(D,"use",{"xlink:href":!0}),r(_).forEach(e),D.forEach(e),p=s(h,"g",{fill:!0,mask:!0});var N=r(p);w=s(N,"path",{d:!0}),r(w).forEach(e),N.forEach(e),k=s(h,"path",{fill:!0,d:!0}),r(k).forEach(e),f=s(h,"g",{opacity:!0,style:!0});var V=r(f);o=s(V,"mask",{id:!0,width:!0,height:!0,x:!0,y:!0,maskUnits:!0,style:!0});var b=r(o);x=s(b,"path",{fill:!0,d:!0}),r(x).forEach(e),b.forEach(e),v=s(V,"g",{fill:!0,mask:!0});var G=r(v);U=s(G,"path",{d:!0}),r(U).forEach(e),G.forEach(e),V.forEach(e),Z=s(h,"path",{fill:!0,d:!0}),r(Z).forEach(e),E=s(h,"path",{fill:!0,d:!0}),r(E).forEach(e),M=s(h,"defs",{});var H=r(M);u=s(H,"linearGradient",{id:!0,x1:!0,x2:!0,y1:!0,y2:!0,gradientUnits:!0});var B=r(u);C=s(B,"stop",{"stop-color":!0}),r(C).forEach(e),y=s(B,"stop",{offset:!0,"stop-color":!0}),r(y).forEach(e),B.forEach(e),H.forEach(e),h.forEach(e),this.h()},h(){a(n,"id","a"),a(n,"fill","#6A2B16"),a(n,"d","M372.7 107.8 201.9 7.6a25 25 0 0 0-25.7.2L12 107.7A25 25 0 0 0 0 129v194.2a25 25 0 0 0 12.2 21.5l164.2 97.7a25 25 0 0 0 25.3.2l170.7-98A25 25 0 0 0 385 323V129.3a25 25 0 0 0-12.3-21.5Z"),O(d,"xlink:href","#a"),O(_,"xlink:href","#a"),a(i,"id","b"),a(i,"width","385"),a(i,"height","443"),a(i,"x","0"),a(i,"y","4"),a(i,"maskUnits","userSpaceOnUse"),S(i,"mask-type","alpha"),a(w,"d","m-5.5 196 23-34.5L19 196l-23 25-1.5-25Zm394 111.5-21-18-3.5 11 23 25 1.5-18Zm0-60.5c7 0-21-25.5-21-25.5L364 240l23 25s-5.5-18 1.5-18Zm-1.5-71.5-19.5-24-25 14.5 24.5-4.5 19.5 20 .5-6Zm-1.5-59.1c6.7-2.3-28.2-17.1-28.2-17.1l2.8 18.6c18.4 7.4 23.7 10.7 30 16 0 0-11.2-15.1-4.6-17.5ZM-5 279.5c12.8-8 16.3-17.7 23-34.5l-1 14S5 285.5-4 281.5s-1-2-1-2Zm4 61c8-4 14.5-19 23-34.5l4 3.5c-15 18.5-9.5 24-19 40l-8-9Zm240 85c-17 2-12-18-20.5-33.5l-6.5 2.5c15 18.5-7 29.5 2.5 45.5l24.5-14.5Zm-205-62c3-22.5 14.5-19 23-34.5l17.5 11c-15 18.5-30 9-32.5 32.5l-8-9Zm72 41c-1-45.5-4.5-47.5 9-53.5l28.5 3c-8.2 7.6-17 8-24.5 11.5-4 5-8 23-8 39.5l-5-.5Zm177.5-49c6 14-14 38.1 0 49l-7.3 6.5c-15.9-17.8 7-39.5 1.3-52l6-3.5Z"),a(p,"fill","#4D1D0D"),a(p,"mask","url(#b)"),a(k,"fill","url(#c)"),a(k,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l66.4 39.5a25 25 0 0 0 16.2 3.3l29.7-4c1.2-.2 1.6 1.4.5 1.8l-22.3 9.5a2 2 0 0 0-.3 3.5l57.4 34.1a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V162.8a2 2 0 0 0-2.3-2l-16 2.6c-1 .2-1.5-1.4-.5-1.9l17.1-8.2a3 3 0 0 0 1.7-2.7v-31.5a25 25 0 0 0-12.4-21.6Z"),a(x,"fill","#C46545"),a(x,"d","m355.6 97.5-153.4-90a25 25 0 0 0-25.6.3L29 97.5a25 25 0 0 0-12 21.3v174.5a25 25 0 0 0 12.2 21.5l147.6 87.7a25 25 0 0 0 25.2.2l153.4-88A25 25 0 0 0 368 293V119.1a25 25 0 0 0-12.4-21.6Z"),a(o,"id","d"),a(o,"width","351"),a(o,"height","403"),a(o,"x","17"),a(o,"y","4"),a(o,"maskUnits","userSpaceOnUse"),S(o,"mask-type","alpha"),a(U,"d","M399.5 80.5C266 122 87.5 50.5-19 203.5l8 12.5C166.5 93.5 301.8 111.5 399.5 80.5ZM269 32c-112 7-91.5-18-161.5-18L82 32c44.6 12.4 72.4 18.8 198 12.5L269 32Zm-68 125.5c-84.9 24.9-129.3 43-193 96l-10 21c74.6-60.5 118.5-88 203-117ZM64.2 276c-19.7 4.6-62.4 50.4-62.4 50.4C37 299.6 88 279 91.8 293.7c3.8 14.7-32.9 37.8-38.7 37.6C36.4 331 3.7 339 3.7 339s51.7 2.5 59.6 5.1c15.1 4.8 45.4-48.5 65-62.9-1.7-6.5-44.5-9.7-64.1-5.2ZM301 134.5c20.8-4.2 63.1-21 70.5-31.5l5 14.5c-27.2 13.8-44.5 15-75.5 17Zm-177.5 106C242 205.5 306.4 209.2 395 227l-4 27.5c-27.5-19.5-149-38.7-267.5-14Zm98.5 40.2c55.8-4.4 146.7 11.7 152 30.1l10.7-14.6c-51-22.6-87.8-24-162.7-15.5Zm55 88.3c27-39.5-8.5-61.5-106.5-21 67-14 114-18.5 106.5 21Zm-63.3 36c16.4-20.4-5.2-31.8-64.7-10.9 40.7-7.2 69.2-9.5 64.7 10.9Z"),a(v,"fill","#B66D40"),a(v,"mask","url(#d)"),a(f,"opacity",".3"),S(f,"mix-blend-mode","multiply"),a(Z,"fill","#98492E"),a(Z,"d","M249 68.5c0-1-.2-1.8-.6-2.6-2.8-5.5-6.9-10-12-13.3a32.3 32.3 0 0 0-18.7-5.6H165a34 34 0 0 0-30.6 19c-.3.7-.5 1.6-.5 2.4v76.4a6 6 0 0 0 6 6h36.8a6 6 0 0 0 6-6v-40a6 6 0 0 1 6-6h5.4a6 6 0 0 1 6 6v57.3a6 6 0 0 1-6 6h-29c-7 0-13.3 2-18.9 5.6a35 35 0 0 0-11.7 13.4c-.4.8-.6 1.6-.6 2.5v113c0 .8.2 1.6.6 2.4 3 6 7.5 10.8 13.4 14.3.8.5 1.8.7 2.8.7H243a6 6 0 0 0 6-6v-70.5a6 6 0 0 0-6-6h-36.8a6 6 0 0 0-6 6V266a6 6 0 0 1-6 6h-5.4a6 6 0 0 1-6-6v-40a6 6 0 0 1 6-6h28.9a32 32 0 0 0 18.6-5.5c5.2-3.5 9.2-8 12-13.4.5-.8.7-1.6.7-2.5V68.5Z"),a(E,"fill","#FFD193"),a(E,"d","M249 58.5c0-1-.2-1.8-.6-2.6-2.8-5.5-6.9-10-12-13.3a32.3 32.3 0 0 0-18.7-5.6H165a34 34 0 0 0-30.6 19c-.3.7-.5 1.6-.5 2.4v76.4a6 6 0 0 0 6 6h36.8a6 6 0 0 0 6-6v-40a6 6 0 0 1 6-6h5.4a6 6 0 0 1 6 6v57.3a6 6 0 0 1-6 6h-29c-7 0-13.3 2-18.9 5.6a35 35 0 0 0-11.7 13.4c-.4.8-.6 1.6-.6 2.5v113c0 .8.2 1.6.6 2.4 3 6 7.5 10.8 13.4 14.3.8.5 1.8.7 2.8.7H243a6 6 0 0 0 6-6v-70.5a6 6 0 0 0-6-6h-36.8a6 6 0 0 0-6 6V256a6 6 0 0 1-6 6h-5.4a6 6 0 0 1-6-6v-40a6 6 0 0 1 6-6h28.9a32 32 0 0 0 18.6-5.5c5.2-3.5 9.2-8 12-13.4.5-.8.7-1.6.7-2.5V58.5Z"),a(C,"stop-color","#EEB657"),a(y,"offset","1"),a(y,"stop-color","#B65841"),a(u,"id","c"),a(u,"x1","107.5"),a(u,"x2","208.5"),a(u,"y1","-13.5"),a(u,"y2","446.5"),a(u,"gradientUnits","userSpaceOnUse"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),a(t,"fill","none"),a(t,"viewBox","0 0 385 450"),a(t,"width","385"),a(t,"height","450"),a(t,"class",L[0])},m(g,h){$(g,t,h),c(t,m),c(m,n),c(t,d),c(t,i),c(i,_),c(t,p),c(p,w),c(t,k),c(t,f),c(f,o),c(o,x),c(f,v),c(v,U),c(t,Z),c(t,E),c(t,M),c(M,u),c(u,C),c(u,y)},p(g,[h]){h&1&&a(t,"class",g[0])},i:F,o:F,d(g){g&&e(t)}}}function z(L,t,m){let{classNames:n=""}=t;return L.$$set=d=>{"classNames"in d&&m(0,n=d.classNames)},[n]}class K extends q{constructor(t){super(),J(this,t,z,j,T,{classNames:0})}}export{K as default};
|
|
static/_app/immutable/error.svelte-ca9403a0.js
DELETED
@@ -1 +0,0 @@
|
|
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-86f4d6c3.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/immutable/manifest.json
DELETED
@@ -1,124 +0,0 @@
|
|
1 |
-
{
|
2 |
-
".svelte-kit/runtime/client/start.js": {
|
3 |
-
"file": "start-cc027d18.js",
|
4 |
-
"src": ".svelte-kit/runtime/client/start.js",
|
5 |
-
"isEntry": true,
|
6 |
-
"imports": [
|
7 |
-
"_index-86f4d6c3.js",
|
8 |
-
"_preload-helper-359634c4.js"
|
9 |
-
],
|
10 |
-
"dynamicImports": [
|
11 |
-
"src/routes/__layout.svelte",
|
12 |
-
".svelte-kit/runtime/components/error.svelte",
|
13 |
-
"src/routes/index.svelte"
|
14 |
-
]
|
15 |
-
},
|
16 |
-
"src/routes/__layout.svelte": {
|
17 |
-
"file": "pages/__layout.svelte-53f051f3.js",
|
18 |
-
"src": "src/routes/__layout.svelte",
|
19 |
-
"isEntry": true,
|
20 |
-
"isDynamicEntry": true,
|
21 |
-
"imports": [
|
22 |
-
"_index-86f4d6c3.js"
|
23 |
-
],
|
24 |
-
"css": [
|
25 |
-
"assets/pages/__layout.svelte-7926a3a8.css"
|
26 |
-
]
|
27 |
-
},
|
28 |
-
".svelte-kit/runtime/components/error.svelte": {
|
29 |
-
"file": "error.svelte-ca9403a0.js",
|
30 |
-
"src": ".svelte-kit/runtime/components/error.svelte",
|
31 |
-
"isEntry": true,
|
32 |
-
"isDynamicEntry": true,
|
33 |
-
"imports": [
|
34 |
-
"_index-86f4d6c3.js"
|
35 |
-
]
|
36 |
-
},
|
37 |
-
"src/routes/index.svelte": {
|
38 |
-
"file": "pages/index.svelte-e9dccd76.js",
|
39 |
-
"src": "src/routes/index.svelte",
|
40 |
-
"isEntry": true,
|
41 |
-
"isDynamicEntry": true,
|
42 |
-
"imports": [
|
43 |
-
"_index-86f4d6c3.js",
|
44 |
-
"_preload-helper-359634c4.js"
|
45 |
-
],
|
46 |
-
"dynamicImports": [
|
47 |
-
"src/lib/badges/fifteen.svelte",
|
48 |
-
"src/lib/badges/fifty.svelte",
|
49 |
-
"src/lib/badges/five.svelte",
|
50 |
-
"src/lib/badges/ten.svelte",
|
51 |
-
"src/lib/badges/thirtyfive.svelte",
|
52 |
-
"src/lib/badges/twenty.svelte",
|
53 |
-
"src/lib/badges/two.svelte"
|
54 |
-
],
|
55 |
-
"css": [
|
56 |
-
"assets/pages/index.svelte-b52b250e.css"
|
57 |
-
]
|
58 |
-
},
|
59 |
-
"_index-86f4d6c3.js": {
|
60 |
-
"file": "chunks/index-86f4d6c3.js"
|
61 |
-
},
|
62 |
-
"_preload-helper-359634c4.js": {
|
63 |
-
"file": "chunks/preload-helper-359634c4.js",
|
64 |
-
"imports": [
|
65 |
-
"_index-86f4d6c3.js"
|
66 |
-
]
|
67 |
-
},
|
68 |
-
"src/lib/badges/fifteen.svelte": {
|
69 |
-
"file": "chunks/fifteen-9add13bd.js",
|
70 |
-
"src": "src/lib/badges/fifteen.svelte",
|
71 |
-
"isDynamicEntry": true,
|
72 |
-
"imports": [
|
73 |
-
"_index-86f4d6c3.js"
|
74 |
-
]
|
75 |
-
},
|
76 |
-
"src/lib/badges/fifty.svelte": {
|
77 |
-
"file": "chunks/fifty-f65036e1.js",
|
78 |
-
"src": "src/lib/badges/fifty.svelte",
|
79 |
-
"isDynamicEntry": true,
|
80 |
-
"imports": [
|
81 |
-
"_index-86f4d6c3.js"
|
82 |
-
]
|
83 |
-
},
|
84 |
-
"src/lib/badges/five.svelte": {
|
85 |
-
"file": "chunks/five-ba00de65.js",
|
86 |
-
"src": "src/lib/badges/five.svelte",
|
87 |
-
"isDynamicEntry": true,
|
88 |
-
"imports": [
|
89 |
-
"_index-86f4d6c3.js"
|
90 |
-
]
|
91 |
-
},
|
92 |
-
"src/lib/badges/ten.svelte": {
|
93 |
-
"file": "chunks/ten-042882a1.js",
|
94 |
-
"src": "src/lib/badges/ten.svelte",
|
95 |
-
"isDynamicEntry": true,
|
96 |
-
"imports": [
|
97 |
-
"_index-86f4d6c3.js"
|
98 |
-
]
|
99 |
-
},
|
100 |
-
"src/lib/badges/thirtyfive.svelte": {
|
101 |
-
"file": "chunks/thirtyfive-e8960031.js",
|
102 |
-
"src": "src/lib/badges/thirtyfive.svelte",
|
103 |
-
"isDynamicEntry": true,
|
104 |
-
"imports": [
|
105 |
-
"_index-86f4d6c3.js"
|
106 |
-
]
|
107 |
-
},
|
108 |
-
"src/lib/badges/twenty.svelte": {
|
109 |
-
"file": "chunks/twenty-39a31000.js",
|
110 |
-
"src": "src/lib/badges/twenty.svelte",
|
111 |
-
"isDynamicEntry": true,
|
112 |
-
"imports": [
|
113 |
-
"_index-86f4d6c3.js"
|
114 |
-
]
|
115 |
-
},
|
116 |
-
"src/lib/badges/two.svelte": {
|
117 |
-
"file": "chunks/two-86591465.js",
|
118 |
-
"src": "src/lib/badges/two.svelte",
|
119 |
-
"isDynamicEntry": true,
|
120 |
-
"imports": [
|
121 |
-
"_index-86f4d6c3.js"
|
122 |
-
]
|
123 |
-
}
|
124 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static/_app/immutable/pages/__layout.svelte-53f051f3.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{S as n,i as s,s as c,F as l,G as w,H as p,I as d,q as b,o as g}from"../chunks/index-86f4d6c3.js";function m(o){let r;const i=o[1].default,e=l(i,o,o[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),r=!0},p(t,[a]){e&&e.p&&(!r||a&1)&&w(e,i,t,t[0],r?d(i,t[0],a,null):p(t[0]),null)},i(t){r||(b(e,t),r=!0)},o(t){g(e,t),r=!1},d(t){e&&e.d(t)}}}function u(o,r,i){let{$$slots:e={},$$scope:t}=r;return o.$$set=a=>{"$$scope"in a&&i(0,t=a.$$scope)},[t,e]}class f extends n{constructor(r){super(),s(this,r,u,m,c,{})}}export{f as default};
|
|
static/_app/immutable/pages/index.svelte-e9dccd76.js
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
var Tr=Object.defineProperty;var Wt=Object.getOwnPropertySymbols;var Ar=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable;var qt=(n,e,t)=>e in n?Tr(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Xt=(n,e)=>{for(var t in e||(e={}))Ar.call(e,t)&&qt(n,t,e[t]);if(Wt)for(var t of Wt(e))Ir.call(e,t)&&qt(n,t,e[t]);return n};import{S as ct,i as ut,s as ft,e as v,k as M,c as w,a as y,m as F,d as f,b as u,g as ce,J as i,K as Be,L as Te,E as qe,M as Pt,t as J,h as Z,N as st,O as at,P as jr,w as Xe,x as ht,y as Ge,n as Je,o as _e,B as Ze,p as Ke,q as he,Q as St,R as Ve,T as ze,l as lt,j as Qe,U as br,v as yr,V as Er,W as kt,f as We,X as Dr,Y as Gt,Z as Lr,_ as Rr}from"../chunks/index-86f4d6c3.js";import{_ as De,w as kr,b as Jt}from"../chunks/preload-helper-359634c4.js";var ye=(n=>(n.INITIAL="",n.CORRECT="correct",n.PRESENT="present",n.ABSENT="absent",n))(ye||{}),ve=(n=>(n[n.LOADING=0]="LOADING",n[n.PLAYING=1]="PLAYING",n[n.SUCESS=2]="SUCESS",n[n.FAIL=3]="FAIL",n[n.COMPLETED=4]="COMPLETED",n))(ve||{});function Cr(n,e){const t=[...n],r=t[e];for(const s of[...r].reverse())if(s.letter){s.letter="";break}return t}function Nr(n,e,t){const r=[...n],s=r[e];for(const a of s)if(a.correct===" "&&(a.letter=" "),!a.letter){a.letter=t;break}return r}const Zt={[ye.CORRECT]:"#00b81a",[ye.PRESENT]:"#ffc80a",[ye.ABSENT]:"#d9d9d9",[ye.INITIAL]:"#5d5d5d"},ot={2:"two",5:"five",10:"ten",15:"fifteen",20:"twenty",35:"thirtyfive",50:"fifty"},Or=["\u{1F917} Hugging \u{1F917}","\u{1F9DE} Genius \u{1F9DE}","\u{1F929} Magnificent \u{1F929}","\u{1F632} Impressive \u{1F632}","\u{1F9DA} Splendid \u{1F9DA}","\u2733 Great \u2733","\u{1F361} Phew \u{1F361}"];function Kt(n,e,t){const r=n.slice();return r[4]=e[t],r[6]=t,r}function Qt(n,e,t){const r=n.slice();return r[7]=e[t],r}function Ur(n){let e;return{c(){e=v("div"),this.h()},l(t){e=w(t,"DIV",{class:!0}),y(e).forEach(f),this.h()},h(){u(e,"class","spacer svelte-2ngxdh")},m(t,r){ce(t,e,r)},d(t){t&&f(e)}}}function Br(n){let e,t=n[7]+"",r;return{c(){e=v("span"),r=J(t)},l(s){e=w(s,"SPAN",{});var a=y(e);r=Z(a,t),a.forEach(f)},m(s,a){ce(s,e,a),i(e,r)},p:qe,d(s){s&&f(e)}}}function Vr(n){let e,t;return{c(){e=st("svg"),t=st("path"),this.h()},l(r){e=at(r,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0});var s=y(e);t=at(s,"path",{fill:!0,d:!0}),y(t).forEach(f),s.forEach(f),this.h()},h(){u(t,"fill","currentColor"),u(t,"d","M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41 17.59 17 19 15.59 15.41 12 19 8.41 17.59 7 14 10.59 10.41 7 9 8.41 12.59 12 9 15.59z"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"width","24")},m(r,s){ce(r,e,s),i(e,t)},p:qe,d(r){r&&f(e)}}}function $t(n){let e,t,r,s;function a(_,S){return _[7]==="Backspace"?Vr:Br}let o=a(n)(n);function c(){return n[3](n[7])}return{c(){e=v("button"),o.c(),this.h()},l(_){e=w(_,"BUTTON",{class:!0});var S=y(e);o.l(S),S.forEach(f),this.h()},h(){u(e,"class",t=(n[0][n[7]]===void 0?"":n[0][n[7]])+" "+(n[7].length>1&&"big")+" svelte-2ngxdh")},m(_,S){ce(_,e,S),o.m(e,null),r||(s=Be(e,"click",c),r=!0)},p(_,S){n=_,o.p(n,S),S&1&&t!==(t=(n[0][n[7]]===void 0?"":n[0][n[7]])+" "+(n[7].length>1&&"big")+" svelte-2ngxdh")&&u(e,"class",t)},d(_){_&&f(e),o.d(),r=!1,s()}}}function zr(n){let e;return{c(){e=v("div"),this.h()},l(t){e=w(t,"DIV",{class:!0}),y(e).forEach(f),this.h()},h(){u(e,"class","spacer svelte-2ngxdh")},m(t,r){ce(t,e,r)},d(t){t&&f(e)}}}function er(n){let e,t,r,s,a=n[6]===1&&Ur(),l=n[4],o=[];for(let _=0;_<l.length;_+=1)o[_]=$t(Qt(n,l,_));let c=n[6]===1&&zr();return{c(){e=v("div"),a&&a.c(),t=M();for(let _=0;_<o.length;_+=1)o[_].c();r=M(),c&&c.c(),s=M(),this.h()},l(_){e=w(_,"DIV",{class:!0});var S=y(e);a&&a.l(S),t=F(S);for(let j=0;j<o.length;j+=1)o[j].l(S);r=F(S),c&&c.l(S),s=F(S),S.forEach(f),this.h()},h(){u(e,"class","row svelte-2ngxdh")},m(_,S){ce(_,e,S),a&&a.m(e,null),i(e,t);for(let j=0;j<o.length;j+=1)o[j].m(e,null);i(e,r),c&&c.m(e,null),i(e,s)},p(_,S){if(S&7){l=_[4];let j;for(j=0;j<l.length;j+=1){const Y=Qt(_,l,j);o[j]?o[j].p(Y,S):(o[j]=$t(Y),o[j].c(),o[j].m(e,r))}for(;j<o.length;j+=1)o[j].d(1);o.length=l.length}},d(_){_&&f(e),a&&a.d(),Te(o,_),c&&c.d()}}}function Mr(n){let e,t=n[2],r=[];for(let s=0;s<t.length;s+=1)r[s]=er(Kt(n,t,s));return{c(){e=v("div");for(let s=0;s<r.length;s+=1)r[s].c();this.h()},l(s){e=w(s,"DIV",{class:!0});var a=y(e);for(let l=0;l<r.length;l+=1)r[l].l(a);a.forEach(f),this.h()},h(){u(e,"class","my-3 mx-auto select-none max-w-md")},m(s,a){ce(s,e,a);for(let l=0;l<r.length;l+=1)r[l].m(e,null)},p(s,[a]){if(a&7){t=s[2];let l;for(l=0;l<t.length;l+=1){const o=Kt(s,t,l);r[l]?r[l].p(o,a):(r[l]=er(o),r[l].c(),r[l].m(e,null))}for(;l<r.length;l+=1)r[l].d(1);r.length=t.length}},i:qe,o:qe,d(s){s&&f(e),Te(r,s)}}}function Fr(n,e,t){let{letterStates:r}=e;const s=Pt(),a=["qwertyuiop".split(""),[..."asdfghjkl".split("")],["Enter",..."zxcvbnm".split(""),"Backspace"]],l=o=>s("keyup",o);return n.$$set=o=>{"letterStates"in o&&t(0,r=o.letterStates)},[r,s,a,l]}class Hr extends ct{constructor(e){super(),ut(this,e,Fr,Mr,ft,{letterStates:0})}}function Yr(n){const e=n-1;return e*e*e+1}function it(n,{delay:e=0,duration:t=400,easing:r=jr}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:t,easing:r,css:a=>`opacity: ${a*s}`}}function tr(n,{delay:e=0,duration:t=400,easing:r=Yr,start:s=0,opacity:a=0}={}){const l=getComputedStyle(n),o=+l.opacity,c=l.transform==="none"?"":l.transform,_=1-s,S=o*(1-a);return{delay:e,duration:t,easing:r,css:(j,Y)=>`
|
2 |
-
transform: ${c} scale(${1-_*Y});
|
3 |
-
opacity: ${o-S*Y}
|
4 |
-
`}}var xr={exports:{}};(function(n){(function(e){var t=K(),r=ue(),s=D(),a=$(),l={imagePlaceholder:void 0,cacheBust:!1},o={toSvg:c,toPng:S,toJpeg:j,toBlob:Y,toPixelData:_,impl:{fontFaces:s,images:a,util:t,inliner:r,options:{}}};n.exports=o;function c(h,p){return p=p||{},H(p),Promise.resolve(h).then(function(E){return z(E,p.filter,!0)}).then(q).then(oe).then(T).then(function(E){return Q(E,p.width||t.width(h),p.height||t.height(h))});function T(E){return p.bgcolor&&(E.style.backgroundColor=p.bgcolor),p.width&&(E.style.width=p.width+"px"),p.height&&(E.style.height=p.height+"px"),p.style&&Object.keys(p.style).forEach(function(P){E.style[P]=p.style[P]}),E}}function _(h,p){return U(h,p||{}).then(function(T){return T.getContext("2d").getImageData(0,0,t.width(h),t.height(h)).data})}function S(h,p){return U(h,p||{}).then(function(T){return T.toDataURL()})}function j(h,p){return p=p||{},U(h,p).then(function(T){return T.toDataURL("image/jpeg",p.quality||1)})}function Y(h,p){return U(h,p||{}).then(t.canvasToBlob)}function H(h){typeof h.imagePlaceholder=="undefined"?o.impl.options.imagePlaceholder=l.imagePlaceholder:o.impl.options.imagePlaceholder=h.imagePlaceholder,typeof h.cacheBust=="undefined"?o.impl.options.cacheBust=l.cacheBust:o.impl.options.cacheBust=h.cacheBust}function U(h,p){return c(h,p).then(t.makeImage).then(t.delay(100)).then(function(E){var P=T(h);return P.getContext("2d").drawImage(E,0,0),P});function T(E){var P=document.createElement("canvas");if(P.width=p.width||t.width(E),P.height=p.height||t.height(E),p.bgcolor){var A=P.getContext("2d");A.fillStyle=p.bgcolor,A.fillRect(0,0,P.width,P.height)}return P}}function z(h,p,T){if(!T&&p&&!p(h))return Promise.resolve();return Promise.resolve(h).then(E).then(function(k){return P(h,k,p)}).then(function(k){return A(h,k)});function E(k){return k instanceof HTMLCanvasElement?t.makeImage(k.toDataURL()):k.cloneNode(!1)}function P(k,L,ee){var d=k.childNodes;if(d.length===0)return Promise.resolve(L);return C(L,t.asArray(d),ee).then(function(){return L});function C(I,B,b){var g=Promise.resolve();return B.forEach(function(V){g=g.then(function(){return z(V,b)}).then(function(x){x&&I.appendChild(x)})}),g}}function A(k,L){if(!(L instanceof Element))return L;return Promise.resolve().then(ee).then(d).then(C).then(I).then(function(){return L});function ee(){B(window.getComputedStyle(k),L.style);function B(b,g){b.cssText?g.cssText=b.cssText:V(b,g);function V(x,te){t.asArray(x).forEach(function(m){te.setProperty(m,x.getPropertyValue(m),x.getPropertyPriority(m))})}}}function d(){[":before",":after"].forEach(function(b){B(b)});function B(b){var g=window.getComputedStyle(k,b),V=g.getPropertyValue("content");if(V===""||V==="none")return;var x=t.uid();L.className=L.className+" "+x;var te=document.createElement("style");te.appendChild(m(x,b,g)),L.appendChild(te);function m(N,W,O){var ne="."+N+":"+W,ie=O.cssText?we(O):be(O);return document.createTextNode(ne+"{"+ie+"}");function we(de){var re=de.getPropertyValue("content");return de.cssText+" content: "+re+";"}function be(de){return t.asArray(de).map(re).join("; ")+";";function re(fe){return fe+": "+de.getPropertyValue(fe)+(de.getPropertyPriority(fe)?" !important":"")}}}}}function C(){k instanceof HTMLTextAreaElement&&(L.innerHTML=k.value),k instanceof HTMLInputElement&&L.setAttribute("value",k.value)}function I(){L instanceof SVGElement&&(L.setAttribute("xmlns","http://www.w3.org/2000/svg"),L instanceof SVGRectElement&&["width","height"].forEach(function(B){var b=L.getAttribute(B);!b||L.style.setProperty(B,b)}))}}}function q(h){return s.resolveAll().then(function(p){var T=document.createElement("style");return h.appendChild(T),T.appendChild(document.createTextNode(p)),h})}function oe(h){return a.inlineAll(h).then(function(){return h})}function Q(h,p,T){return Promise.resolve(h).then(function(E){return E.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(E)}).then(t.escapeXhtml).then(function(E){return'<foreignObject x="0" y="0" width="100%" height="100%">'+E+"</foreignObject>"}).then(function(E){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+p+'" height="'+T+'">'+E+"</svg>"}).then(function(E){return"data:image/svg+xml;charset=utf-8,"+E})}function K(){return{escape:I,parseExtension:p,mimeType:T,dataAsUrl:C,isDataUrl:E,canvasToBlob:A,resolveUrl:k,getAndEncode:d,uid:L(),delay:B,asArray:b,escapeXhtml:g,makeImage:ee,width:V,height:x};function h(){var m="application/font-woff",N="image/jpeg";return{woff:m,woff2:m,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:N,jpeg:N,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function p(m){var N=/\.([^\.\/]*?)$/g.exec(m);return N?N[1]:""}function T(m){var N=p(m).toLowerCase();return h()[N]||""}function E(m){return m.search(/^(data:)/)!==-1}function P(m){return new Promise(function(N){for(var W=window.atob(m.toDataURL().split(",")[1]),O=W.length,ne=new Uint8Array(O),ie=0;ie<O;ie++)ne[ie]=W.charCodeAt(ie);N(new Blob([ne],{type:"image/png"}))})}function A(m){return m.toBlob?new Promise(function(N){m.toBlob(N)}):P(m)}function k(m,N){var W=document.implementation.createHTMLDocument(),O=W.createElement("base");W.head.appendChild(O);var ne=W.createElement("a");return W.body.appendChild(ne),O.href=N,ne.href=m,ne.href}function L(){var m=0;return function(){return"u"+N()+m++;function N(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}}function ee(m){return new Promise(function(N,W){var O=new Image;O.onload=function(){N(O)},O.onerror=W,O.src=m})}function d(m){var N=3e4;return o.impl.options.cacheBust&&(m+=(/\?/.test(m)?"&":"?")+new Date().getTime()),new Promise(function(W){var O=new XMLHttpRequest;O.onreadystatechange=we,O.ontimeout=be,O.responseType="blob",O.timeout=N,O.open("GET",m,!0),O.send();var ne;if(o.impl.options.imagePlaceholder){var ie=o.impl.options.imagePlaceholder.split(/,/);ie&&ie[1]&&(ne=ie[1])}function we(){if(O.readyState===4){if(O.status!==200){ne?W(ne):de("cannot fetch resource: "+m+", status: "+O.status);return}var re=new FileReader;re.onloadend=function(){var fe=re.result.split(/,/)[1];W(fe)},re.readAsDataURL(O.response)}}function be(){ne?W(ne):de("timeout of "+N+"ms occured while fetching resource: "+m)}function de(re){console.error(re),W("")}})}function C(m,N){return"data:"+N+";base64,"+m}function I(m){return m.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")}function B(m){return function(N){return new Promise(function(W){setTimeout(function(){W(N)},m)})}}function b(m){for(var N=[],W=m.length,O=0;O<W;O++)N.push(m[O]);return N}function g(m){return m.replace(/#/g,"%23").replace(/\n/g,"%0A")}function V(m){var N=te(m,"border-left-width"),W=te(m,"border-right-width");return m.scrollWidth+N+W}function x(m){var N=te(m,"border-top-width"),W=te(m,"border-bottom-width");return m.scrollHeight+N+W}function te(m,N){var W=window.getComputedStyle(m).getPropertyValue(N);return parseFloat(W.replace("px",""))}}function ue(){var h=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:P,shouldProcess:p,impl:{readUrls:T,inline:E}};function p(A){return A.search(h)!==-1}function T(A){for(var k=[],L;(L=h.exec(A))!==null;)k.push(L[1]);return k.filter(function(ee){return!t.isDataUrl(ee)})}function E(A,k,L,ee){return Promise.resolve(k).then(function(C){return L?t.resolveUrl(C,L):C}).then(ee||t.getAndEncode).then(function(C){return t.dataAsUrl(C,t.mimeType(k))}).then(function(C){return A.replace(d(k),"$1"+C+"$3")});function d(C){return new RegExp(`(url\\(['"]?)(`+t.escape(C)+`)(['"]?\\))`,"g")}}function P(A,k,L){if(ee())return Promise.resolve(A);return Promise.resolve(A).then(T).then(function(d){var C=Promise.resolve(A);return d.forEach(function(I){C=C.then(function(B){return E(B,I,k,L)})}),C});function ee(){return!p(A)}}}function D(){return{resolveAll:h,impl:{readAll:p}};function h(){return p().then(function(T){return Promise.all(T.map(function(E){return E.resolve()}))}).then(function(T){return T.join(`
|
5 |
-
`)})}function p(){return Promise.resolve(t.asArray(document.styleSheets)).then(E).then(T).then(function(A){return A.map(P)});function T(A){return A.filter(function(k){return k.type===CSSRule.FONT_FACE_RULE}).filter(function(k){return r.shouldProcess(k.style.getPropertyValue("src"))})}function E(A){var k=[];return A.forEach(function(L){try{t.asArray(L.cssRules||[]).forEach(k.push.bind(k))}catch(ee){console.log("Error while reading CSS rules from "+L.href,ee.toString())}}),k}function P(A){return{resolve:function(){var L=(A.parentStyleSheet||{}).href;return r.inlineAll(A.cssText,L)},src:function(){return A.style.getPropertyValue("src")}}}}}function $(){return{inlineAll:p,impl:{newImage:h}};function h(T){return{inline:E};function E(P){return t.isDataUrl(T.src)?Promise.resolve():Promise.resolve(T.src).then(P||t.getAndEncode).then(function(A){return t.dataAsUrl(A,t.mimeType(T.src))}).then(function(A){return new Promise(function(k,L){T.onload=k,T.onerror=L,T.src=A})})}}function p(T){if(!(T instanceof Element))return Promise.resolve(T);return E(T).then(function(){return T instanceof HTMLImageElement?h(T).inline():Promise.all(t.asArray(T.childNodes).map(function(P){return p(P)}))});function E(P){var A=P.style.getPropertyValue("background");return A?r.inlineAll(A).then(function(k){P.style.setProperty("background",k,P.style.getPropertyPriority("background"))}).then(function(){return P}):Promise.resolve(P)}}}})()})(xr);var Wr=xr.exports;function qr(n){switch(n){case"./badges/fifteen.svelte":return De(()=>import("../chunks/fifteen-9add13bd.js"),["chunks/fifteen-9add13bd.js","chunks/index-86f4d6c3.js"]);case"./badges/fifty.svelte":return De(()=>import("../chunks/fifty-f65036e1.js"),["chunks/fifty-f65036e1.js","chunks/index-86f4d6c3.js"]);case"./badges/five.svelte":return De(()=>import("../chunks/five-ba00de65.js"),["chunks/five-ba00de65.js","chunks/index-86f4d6c3.js"]);case"./badges/ten.svelte":return De(()=>import("../chunks/ten-042882a1.js"),["chunks/ten-042882a1.js","chunks/index-86f4d6c3.js"]);case"./badges/thirtyfive.svelte":return De(()=>import("../chunks/thirtyfive-e8960031.js"),["chunks/thirtyfive-e8960031.js","chunks/index-86f4d6c3.js"]);case"./badges/twenty.svelte":return De(()=>import("../chunks/twenty-39a31000.js"),["chunks/twenty-39a31000.js","chunks/index-86f4d6c3.js"]);case"./badges/two.svelte":return De(()=>import("../chunks/two-86591465.js"),["chunks/two-86591465.js","chunks/index-86f4d6c3.js"]);default:return new Promise(function(e,t){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}function rr(n,e,t){const r=n.slice();return r[18]=e[t],r[20]=t,r}function nr(n,e,t){const r=n.slice();return r[21]=e[t],r[23]=t,r}function sr(n,e,t){const r=n.slice();return r[24]=e[t],r}function ar(n){let e,t,r,s;var a=n[6];function l(o){return{props:{classNames:"w-full max-w-[180px]"}}}return a&&(t=new a(l())),{c(){e=v("div"),t&&Xe(t.$$.fragment),this.h()},l(o){e=w(o,"DIV",{class:!0});var c=y(e);t&&ht(t.$$.fragment,c),c.forEach(f),this.h()},h(){u(e,"class","absolute left-0 right-0 top-0 bottom-0 flex place-content-center place-items-center")},m(o,c){ce(o,e,c),t&&Ge(t,e,null),s=!0},p(o,c){if(a!==(a=o[6])){if(t){Je();const _=t;_e(_.$$.fragment,1,0,()=>{Ze(_,1)}),Ke()}a?(t=new a(l()),Xe(t.$$.fragment),he(t.$$.fragment,1),Ge(t,e,null)):t=null}},i(o){s||(t&&he(t.$$.fragment,o),St(()=>{r||(r=Ve(e,tr,{duration:500},!0)),r.run(1)}),s=!0)},o(o){t&&_e(t.$$.fragment,o),r||(r=Ve(e,tr,{duration:500},!1)),r.run(0),s=!1},d(o){o&&f(e),t&&Ze(t),o&&r&&r.end()}}}function lr(n){let e,t,r,s;return{c(){e=v("div"),t=v("img"),s=M(),this.h()},l(a){e=w(a,"DIV",{});var l=y(e);t=w(l,"IMG",{src:!0,alt:!0,class:!0}),s=F(l),l.forEach(f),this.h()},h(){ze(t.src,r=n[9]+n[24])||u(t,"src",r),u(t,"alt",""),u(t,"class","aspect-square w-full h-full")},m(a,l){ce(a,e,l),i(e,t),i(e,s)},p(a,l){l&2&&!ze(t.src,r=a[9]+a[24])&&u(t,"src",r)},d(a){a&&f(e)}}}function or(n){let e,t;return{c(){e=st("rect"),this.h()},l(r){e=at(r,"rect",{fill:!0,x:!0,y:!0,width:!0,height:!0,rx:!0}),y(e).forEach(f),this.h()},h(){u(e,"fill",t=Zt[n[21].state]),u(e,"x",n[23]*(xe+ke)),u(e,"y",n[20]*(xe+ke)),u(e,"width",xe),u(e,"height",xe),u(e,"rx",n[11])},m(r,s){ce(r,e,s)},p(r,s){s&1&&t!==(t=Zt[r[21].state])&&u(e,"fill",t)},d(r){r&&f(e)}}}function ir(n){let e,t=n[18],r=[];for(let s=0;s<t.length;s+=1)r[s]=or(nr(n,t,s));return{c(){for(let s=0;s<r.length;s+=1)r[s].c();e=lt()},l(s){for(let a=0;a<r.length;a+=1)r[a].l(s);e=lt()},m(s,a){for(let l=0;l<r.length;l+=1)r[l].m(s,a);ce(s,e,a)},p(s,a){if(a&2049){t=s[18];let l;for(l=0;l<t.length;l+=1){const o=nr(s,t,l);r[l]?r[l].p(o,a):(r[l]=or(o),r[l].c(),r[l].m(e.parentNode,e))}for(;l<r.length;l+=1)r[l].d(1);r.length=t.length}},d(s){Te(r,s),s&&f(e)}}}function Xr(n){let e,t,r,s,a,l,o,c,_,S,j,Y,H,U,z,q,oe,Q,K,ue,D,$,h=n[5]?"SAVING..":"SAVE SCREENSHOT",p,T,E,P,A,k,L,ee,d=n[2]in ot&&ar(n),C=n[1],I=[];for(let g=0;g<C.length;g+=1)I[g]=lr(sr(n,C,g));let B=n[0],b=[];for(let g=0;g<B.length;g+=1)b[g]=ir(rr(n,B,g));return{c(){e=v("div"),t=v("div"),r=v("div"),s=v("div"),a=v("header"),l=v("h1"),o=J("WORDALLE \u{1F951}"),c=M(),_=v("span"),S=J("hf.co/wordalle"),j=M(),Y=v("h2"),H=J(n[8]),U=M(),z=v("div"),d&&d.c(),q=M();for(let g=0;g<I.length;g+=1)I[g].c();oe=M(),Q=st("svg");for(let g=0;g<b.length;g+=1)b[g].c();ue=M(),D=v("div"),$=v("button"),p=J(h),T=M(),E=v("button"),P=J("NEXT"),this.h()},l(g){e=w(g,"DIV",{class:!0});var V=y(e);t=w(V,"DIV",{class:!0});var x=y(t);r=w(x,"DIV",{class:!0});var te=y(r);s=w(te,"DIV",{class:!0});var m=y(s);a=w(m,"HEADER",{class:!0});var N=y(a);l=w(N,"H1",{class:!0});var W=y(l);o=Z(W,"WORDALLE \u{1F951}"),W.forEach(f),c=F(N),_=w(N,"SPAN",{class:!0});var O=y(_);S=Z(O,"hf.co/wordalle"),O.forEach(f),N.forEach(f),j=F(m),Y=w(m,"H2",{class:!0});var ne=y(Y);H=Z(ne,n[8]),ne.forEach(f),U=F(m),z=w(m,"DIV",{class:!0});var ie=y(z);d&&d.l(ie),q=F(ie);for(let fe=0;fe<I.length;fe+=1)I[fe].l(ie);ie.forEach(f),oe=F(m),Q=at(m,"svg",{class:!0,viewBox:!0,xmlns:!0});var we=y(Q);for(let fe=0;fe<b.length;fe+=1)b[fe].l(we);we.forEach(f),m.forEach(f),te.forEach(f),ue=F(x),D=w(x,"DIV",{class:!0});var be=y(D);$=w(be,"BUTTON",{class:!0});var de=y($);p=Z(de,h),de.forEach(f),T=F(be),E=w(be,"BUTTON",{class:!0});var re=y(E);P=Z(re,"NEXT"),re.forEach(f),be.forEach(f),x.forEach(f),V.forEach(f),this.h()},h(){u(l,"class","text-xs font-bold uppercase whitespace-nowrap"),u(_,"class","font-light"),u(a,"class","p-3 flex justify-between items-center"),u(Y,"class","text-center uppercase tracking-widest font-extrabold"),u(z,"class","grid grid-cols-3 gap-2 p-3 relative"),u(Q,"class","w-full p-3 mx-auto max-h-[30vh]"),u(Q,"viewBox",K="0 0 "+(n[0][0].length*(ke+xe)-ke)+" "+(n[0].length*(ke+xe)-ke)),u(Q,"xmlns","http://www.w3.org/2000/svg"),u(s,"class","p-3"),u(r,"class","border-0"),$.disabled=n[5],u($,"class","min-w-[15ch] flex-1 mr-1 svelte-oufr2e"),u(E,"class","flex-1 ml-1 svelte-oufr2e"),u(D,"class","p-3 px-6 flex text-base"),u(t,"class","message svelte-oufr2e"),u(e,"class","modal relative z-50 svelte-oufr2e")},m(g,V){ce(g,e,V),i(e,t),i(t,r),i(r,s),i(s,a),i(a,l),i(l,o),i(a,c),i(a,_),i(_,S),i(s,j),i(s,Y),i(Y,H),i(s,U),i(s,z),d&&d.m(z,null),i(z,q);for(let x=0;x<I.length;x+=1)I[x].m(z,null);i(s,oe),i(s,Q);for(let x=0;x<b.length;x+=1)b[x].m(Q,null);n[13](s),i(t,ue),i(t,D),i(D,$),i($,p),i(D,T),i(D,E),i(E,P),n[16](e),k=!0,L||(ee=[Be($,"click",n[14]),Be(E,"click",n[15])],L=!0)},p(g,[V]){if(g[2]in ot?d?(d.p(g,V),V&4&&he(d,1)):(d=ar(g),d.c(),he(d,1),d.m(z,q)):d&&(Je(),_e(d,1,1,()=>{d=null}),Ke()),V&514){C=g[1];let x;for(x=0;x<C.length;x+=1){const te=sr(g,C,x);I[x]?I[x].p(te,V):(I[x]=lr(te),I[x].c(),I[x].m(z,null))}for(;x<I.length;x+=1)I[x].d(1);I.length=C.length}if(V&2049){B=g[0];let x;for(x=0;x<B.length;x+=1){const te=rr(g,B,x);b[x]?b[x].p(te,V):(b[x]=ir(te),b[x].c(),b[x].m(Q,null))}for(;x<b.length;x+=1)b[x].d(1);b.length=B.length}(!k||V&1&&K!==(K="0 0 "+(g[0][0].length*(ke+xe)-ke)+" "+(g[0].length*(ke+xe)-ke)))&&u(Q,"viewBox",K),(!k||V&32)&&h!==(h=g[5]?"SAVING..":"SAVE SCREENSHOT")&&Qe(p,h),(!k||V&32)&&($.disabled=g[5])},i(g){k||(he(d),St(()=>{A||(A=Ve(e,it,{},!0)),A.run(1)}),k=!0)},o(g){_e(d),A||(A=Ve(e,it,{},!1)),A.run(0),k=!1},d(g){g&&f(e),d&&d.d(),Te(I,g),Te(b,g),n[13](null),n[16](null),g&&A&&A.end(),L=!1,br(ee)}}}const xe=10,ke=1;function Gr(n,e,t){const r=Pt();let{board:s}=e,{currentRowIndex:a}=e,{imagePaths:l}=e,{totalStreaks:o}=e;const c=Or[a],_="";let S,j,Y=!1;async function H(D){t(5,Y=!0);try{const $=await Wr.toBlob(D,{bgcolor:"#000"}),h=document.createElement("a");h.download=`sucess-${Date.now()}.png`,h.target="_self",h.onclick=async p=>{if(t(5,Y=!0),h.href){URL.revokeObjectURL(h.href),t(5,Y=!1);return}h.href=URL.createObjectURL($),t(5,Y=!1)},h.click(),console.log("Downloding image.")}catch($){console.log($.name,$.message)}}const U=D=>{D.key==="Escape"||D.key==="Enter"?r("restart"):D.key===" "&&H(j)};let z;yr(async()=>{if(o in ot){const D=ot[o];t(6,z=(await qr(`./badges/${D}.svelte`)).default)}setTimeout(()=>{window.addEventListener("keyup",U,!0)},1e3)}),Er(()=>{window.removeEventListener("keyup",U,!0)});const q=xe/10;function oe(D){kt[D?"unshift":"push"](()=>{j=D,t(4,j)})}const Q=()=>H(j),K=()=>r("restart");function ue(D){kt[D?"unshift":"push"](()=>{S=D,t(3,S)})}return n.$$set=D=>{"board"in D&&t(0,s=D.board),"currentRowIndex"in D&&t(12,a=D.currentRowIndex),"imagePaths"in D&&t(1,l=D.imagePaths),"totalStreaks"in D&&t(2,o=D.totalStreaks)},[s,l,o,S,j,Y,z,r,c,_,H,q,a,oe,Q,K,ue]}class Jr extends ct{constructor(e){super(),ut(this,e,Gr,Xr,ft,{board:0,currentRowIndex:12,imagePaths:1,totalStreaks:2})}}function cr(n){let e,t,r,s,a;return{c(){e=v("div"),t=v("button"),r=J("Try Again"),this.h()},l(l){e=w(l,"DIV",{class:!0});var o=y(e);t=w(o,"BUTTON",{class:!0});var c=y(t);r=Z(c,"Try Again"),c.forEach(f),o.forEach(f),this.h()},h(){u(t,"class","hover:no-underline underline underline-offset-2 hover:scale-105 transition-all duration-200 ease-in-out"),u(e,"class","font-light flex-1 text-xs sm:text-base text-center")},m(l,o){ce(l,e,o),i(e,t),i(t,r),s||(a=Be(t,"click",n[3]),s=!0)},p:qe,d(l){l&&f(e),s=!1,a()}}}function Zr(n){let e,t,r,s,a,l=n[0]===ve.FAIL&&cr(n);return{c(){e=v("div"),t=J(n[1]),r=M(),l&&l.c(),this.h()},l(o){e=w(o,"DIV",{class:!0});var c=y(e);t=Z(c,n[1]),r=F(c),l&&l.l(c),c.forEach(f),this.h()},h(){u(e,"class","message svelte-1sv0qpd")},m(o,c){ce(o,e,c),i(e,t),i(e,r),l&&l.m(e,null),a=!0},p(o,[c]){(!a||c&2)&&Qe(t,o[1]),o[0]===ve.FAIL?l?l.p(o,c):(l=cr(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i(o){a||(St(()=>{s||(s=Ve(e,it,{},!0)),s.run(1)}),a=!0)},o(o){s||(s=Ve(e,it,{},!1)),s.run(0),a=!1},d(o){o&&f(e),l&&l.d(),o&&s&&s.end()}}}function Kr(n,e,t){const r=Pt();let{gameState:s}=e,{message:a=null}=e;const l=()=>r("restart");return n.$$set=o=>{"gameState"in o&&t(0,s=o.gameState),"message"in o&&t(1,a=o.message)},[s,a,r,l]}class Qr extends ct{constructor(e){super(),ut(this,e,Kr,Zr,ft,{gameState:0,message:1})}}let $r=(n=21)=>crypto.getRandomValues(new Uint8Array(n)).reduce((e,t)=>(t&=63,t<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");const en=$r(),tn=[],Pr=kr(JSON.parse(localStorage.user||JSON.stringify(en)));Pr.subscribe(n=>localStorage.user=JSON.stringify(n));const xt=kr(JSON.parse(localStorage.completedPrompts||JSON.stringify(tn)));xt.subscribe(n=>localStorage.completedPrompts=JSON.stringify(n));function ur(n,e,t){const r=n.slice();return r[29]=e[t],r[31]=t,r}function fr(n,e,t){const r=n.slice();return r[32]=e[t],r[31]=t,r}function hr(n,e,t){const r=n.slice();return r[34]=e[t],r}function dr(n){let e,t,r,s,a,l,o,c,_,S,j,Y,H,U,z,q,oe,Q,K,ue,D,$,h,p,T,E,P,A,k,L,ee,d,C,I,B,b,g,V,x,te,m,N,W,O,ne,ie,we,be,de,re,fe,Le,Tt,dt,Re,At,mt,Ee,Ce,Me,pt,gt,Fe,vt,wt,Pe,Ae,_t,Ie,bt,$e,He,yt,It,ae=n[7]&&mr(n),le=n[9]===ve.SUCESS&&pr(n),Ne=n[2],me=[];for(let R=0;R<Ne.length;R+=1)me[R]=gr(hr(n,Ne,R));let Oe=n[5],pe=[];for(let R=0;R<Oe.length;R+=1)pe[R]=wr(ur(n,Oe,R));function Sr(R){n[14](R)}let jt={};return n[4]!==void 0&&(jt.letterStates=n[4]),h=new Hr({props:jt}),kt.push(()=>Rr(h,"letterStates",Sr)),h.$on("keyup",n[15]),{c(){e=v("div"),ae&&ae.c(),t=M(),le&&le.c(),r=M(),s=v("header"),a=v("span"),l=J("Guess the prompt!"),o=M(),c=v("span"),_=M(),S=v("h1"),j=J("\u{1F951} WORDALLE \u{1F951}"),Y=M(),H=v("span"),U=M(),z=v("span"),q=v("button"),oe=J("Skip to next"),Q=M(),K=v("div");for(let R=0;R<me.length;R+=1)me[R].c();ue=M(),D=v("div");for(let R=0;R<pe.length;R+=1)pe[R].c();$=M(),Xe(h.$$.fragment),T=M(),E=v("footer"),P=v("details"),A=v("summary"),k=v("span"),L=J("About"),ee=M(),d=v("p"),C=J("Welcome to Wordalle! The game that marries "),I=v("a"),B=J("DALLE mini"),b=J(" & Wordle!\u201D"),g=M(),V=v("h2"),x=J("Instructions"),te=M(),m=v("p"),N=J(`You are given a board with a grid of letters. You must guess the prompt used to generate
|
6 |
-
the images.`),W=M(),O=v("p"),ne=J(`Your guess must contain the same number of letters as tiles. After you guess, the tiles
|
7 |
-
will be revealed.`),ie=M(),we=v("h2"),be=J("Example"),de=M(),re=v("p"),fe=J(`The green tiles are correct letter placements. The yellow tiles are correct letters but in
|
8 |
-
wrong position and the gray tiles are letters not present in the prompt.
|
9 |
-
`),Le=v("img"),dt=M(),Re=v("img"),mt=M(),Ee=v("details"),Ce=v("summary"),Me=v("span"),pt=J("Disclaimer"),gt=M(),Fe=v("p"),vt=J(`This demo collects the guesses to help with a research project. The demo stores no
|
10 |
-
personal data, such as your IP address, email, or account, only your guesses.`),wt=M(),Pe=v("label"),Ae=v("input"),_t=M(),Ie=v("span"),bt=J("Please uncheck to disable sharing "),$e=J(n[0]),this.h()},l(R){e=w(R,"DIV",{class:!0});var X=y(e);ae&&ae.l(X),t=F(X),le&&le.l(X),r=F(X),s=w(X,"HEADER",{class:!0});var se=y(s);a=w(se,"SPAN",{class:!0});var G=y(a);l=Z(G,"Guess the prompt!"),G.forEach(f),o=F(se),c=w(se,"SPAN",{class:!0}),y(c).forEach(f),_=F(se),S=w(se,"H1",{class:!0});var Se=y(S);j=Z(Se,"\u{1F951} WORDALLE \u{1F951}"),Se.forEach(f),Y=F(se),H=w(se,"SPAN",{class:!0}),y(H).forEach(f),U=F(se),z=w(se,"SPAN",{class:!0});var Dt=y(z);q=w(Dt,"BUTTON",{tabindex:!0,class:!0});var Lt=y(q);oe=Z(Lt,"Skip to next"),Lt.forEach(f),Dt.forEach(f),se.forEach(f),Q=F(X),K=w(X,"DIV",{class:!0});var Rt=y(K);for(let je=0;je<me.length;je+=1)me[je].l(Rt);Rt.forEach(f),ue=F(X),D=w(X,"DIV",{class:!0});var Ct=y(D);for(let je=0;je<pe.length;je+=1)pe[je].l(Ct);Ct.forEach(f),$=F(X),ht(h.$$.fragment,X),T=F(X),E=w(X,"FOOTER",{class:!0});var et=y(E);P=w(et,"DETAILS",{class:!0});var ge=y(P);A=w(ge,"SUMMARY",{class:!0});var Nt=y(A);k=w(Nt,"SPAN",{});var Ot=y(k);L=Z(Ot,"About"),Ot.forEach(f),Nt.forEach(f),ee=F(ge),d=w(ge,"P",{});var tt=y(d);C=Z(tt,"Welcome to Wordalle! The game that marries "),I=w(tt,"A",{href:!0,target:!0,rel:!0,class:!0});var Ut=y(I);B=Z(Ut,"DALLE mini"),Ut.forEach(f),b=Z(tt," & Wordle!\u201D"),tt.forEach(f),g=F(ge),V=w(ge,"H2",{class:!0});var Bt=y(V);x=Z(Bt,"Instructions"),Bt.forEach(f),te=F(ge),m=w(ge,"P",{});var Vt=y(m);N=Z(Vt,`You are given a board with a grid of letters. You must guess the prompt used to generate
|
11 |
-
the images.`),Vt.forEach(f),W=F(ge),O=w(ge,"P",{});var zt=y(O);ne=Z(zt,`Your guess must contain the same number of letters as tiles. After you guess, the tiles
|
12 |
-
will be revealed.`),zt.forEach(f),ie=F(ge),we=w(ge,"H2",{class:!0});var Mt=y(we);be=Z(Mt,"Example"),Mt.forEach(f),de=F(ge),re=w(ge,"P",{class:!0});var Ye=y(re);fe=Z(Ye,`The green tiles are correct letter placements. The yellow tiles are correct letters but in
|
13 |
-
wrong position and the gray tiles are letters not present in the prompt.
|
14 |
-
`),Le=w(Ye,"IMG",{alt:!0,src:!0}),dt=F(Ye),Re=w(Ye,"IMG",{alt:!0,src:!0}),Ye.forEach(f),ge.forEach(f),mt=F(et),Ee=w(et,"DETAILS",{class:!0});var Ue=y(Ee);Ce=w(Ue,"SUMMARY",{class:!0});var Ft=y(Ce);Me=w(Ft,"SPAN",{});var Ht=y(Me);pt=Z(Ht,"Disclaimer"),Ht.forEach(f),Ft.forEach(f),gt=F(Ue),Fe=w(Ue,"P",{});var Yt=y(Fe);vt=Z(Yt,`This demo collects the guesses to help with a research project. The demo stores no
|
15 |
-
personal data, such as your IP address, email, or account, only your guesses.`),Yt.forEach(f),wt=F(Ue),Pe=w(Ue,"LABEL",{class:!0});var rt=y(Pe);Ae=w(rt,"INPUT",{type:!0}),_t=F(rt),Ie=w(rt,"SPAN",{class:!0});var Et=y(Ie);bt=Z(Et,"Please uncheck to disable sharing "),$e=Z(Et,n[0]),Et.forEach(f),rt.forEach(f),Ue.forEach(f),et.forEach(f),X.forEach(f),this.h()},h(){u(a,"class","font-light flex-1 text-xs sm:text-base"),u(c,"class","sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400"),u(S,"class","text-xl font-bold text-center whitespace-nowrap"),u(H,"class","sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400"),u(q,"tabindex","-1"),u(q,"class","hover:no-underline underline underline-offset-2 hover:scale-105 transition-all duration-200 ease-in-out"),u(z,"class","font-light flex-1 text-xs sm:text-base"),u(s,"class","flex justify-between items-center uppercase sm:px-2 text-center"),u(K,"class","grid grid-cols-3 gap-2 max-w-md mx-auto p-3"),u(D,"class","board svelte-1y5wh9j"),u(A,"class","cursor-pointer my-2"),u(I,"href","https://huggingface.co/spaces/dalle-mini/dalle-mini"),u(I,"target","_blank"),u(I,"rel","noopener noreferrer"),u(I,"class","underline hover:text-blue-500 hover:no-underline"),u(V,"class","font-bold my-2"),u(we,"class","font-bold my-2"),u(Le,"alt","wordalle example for dog eating pastas"),ze(Le.src,Tt=Jt+"/img1.jpg")||u(Le,"src",Tt),u(Re,"alt","wordalle example for cat eating noodle "),ze(Re.src,At=Jt+"/img2.jpg")||u(Re,"src",At),u(re,"class","pb-3"),u(P,"class","text-xs my-3"),u(Ce,"class","cursor-pointer my-2"),u(Ae,"type","checkbox"),u(Ie,"class","mx-1"),u(Pe,"class","py-3 flex"),u(Ee,"class","text-xs my-3"),u(E,"class","max-w-md mx-auto pt-3"),u(e,"class","max-w-screen-lg mx-auto px-1 relative z-0 mt-3")},m(R,X){ce(R,e,X),ae&&ae.m(e,null),i(e,t),le&&le.m(e,null),i(e,r),i(e,s),i(s,a),i(a,l),i(s,o),i(s,c),i(s,_),i(s,S),i(S,j),i(s,Y),i(s,H),i(s,U),i(s,z),i(z,q),i(q,oe),i(e,Q),i(e,K);for(let se=0;se<me.length;se+=1)me[se].m(K,null);i(e,ue),i(e,D);for(let se=0;se<pe.length;se+=1)pe[se].m(D,null);i(e,$),Ge(h,e,null),i(e,T),i(e,E),i(E,P),i(P,A),i(A,k),i(k,L),i(P,ee),i(P,d),i(d,C),i(d,I),i(I,B),i(d,b),i(P,g),i(P,V),i(V,x),i(P,te),i(P,m),i(m,N),i(P,W),i(P,O),i(O,ne),i(P,ie),i(P,we),i(we,be),i(P,de),i(P,re),i(re,fe),i(re,Le),i(re,dt),i(re,Re),i(E,mt),i(E,Ee),i(Ee,Ce),i(Ce,Me),i(Me,pt),i(Ee,gt),i(Ee,Fe),i(Fe,vt),i(Ee,wt),i(Ee,Pe),i(Pe,Ae),Ae.checked=n[0],i(Pe,_t),i(Pe,Ie),i(Ie,bt),i(Ie,$e),He=!0,yt||(It=[Be(q,"click",n[13]),Be(Ae,"change",n[16])],yt=!0)},p(R,X){if(R[7]?ae?(ae.p(R,X),X[0]&128&&he(ae,1)):(ae=mr(R),ae.c(),he(ae,1),ae.m(e,t)):ae&&(Je(),_e(ae,1,1,()=>{ae=null}),Ke()),R[9]===ve.SUCESS?le?(le.p(R,X),X[0]&512&&he(le,1)):(le=pr(R),le.c(),he(le,1),le.m(e,r)):le&&(Je(),_e(le,1,1,()=>{le=null}),Ke()),X[0]&1028){Ne=R[2];let G;for(G=0;G<Ne.length;G+=1){const Se=hr(R,Ne,G);me[G]?me[G].p(Se,X):(me[G]=gr(Se),me[G].c(),me[G].m(K,null))}for(;G<me.length;G+=1)me[G].d(1);me.length=Ne.length}if(X[0]&872){Oe=R[5];let G;for(G=0;G<Oe.length;G+=1){const Se=ur(R,Oe,G);pe[G]?pe[G].p(Se,X):(pe[G]=wr(Se),pe[G].c(),pe[G].m(D,null))}for(;G<pe.length;G+=1)pe[G].d(1);pe.length=Oe.length}const se={};!p&&X[0]&16&&(p=!0,se.letterStates=R[4],Dr(()=>p=!1)),h.$set(se),X[0]&1&&(Ae.checked=R[0]),(!He||X[0]&1)&&Qe($e,R[0])},i(R){He||(he(ae),he(le),he(h.$$.fragment,R),He=!0)},o(R){_e(ae),_e(le),_e(h.$$.fragment,R),He=!1},d(R){R&&f(e),ae&&ae.d(),le&&le.d(),Te(me,R),Te(pe,R),Ze(h),yt=!1,br(It)}}}function mr(n){let e,t;return e=new Qr({props:{message:n[7],gameState:n[9]}}),e.$on("restart",n[11]),{c(){Xe(e.$$.fragment)},l(r){ht(e.$$.fragment,r)},m(r,s){Ge(e,r,s),t=!0},p(r,s){const a={};s[0]&128&&(a.message=r[7]),s[0]&512&&(a.gameState=r[9]),e.$set(a)},i(r){t||(he(e.$$.fragment,r),t=!0)},o(r){_e(e.$$.fragment,r),t=!1},d(r){Ze(e,r)}}}function pr(n){let e,t;return e=new Jr({props:{board:n[5],currentRowIndex:n[6],imagePaths:n[2],totalStreaks:n[1].length}}),e.$on("restart",n[11]),{c(){Xe(e.$$.fragment)},l(r){ht(e.$$.fragment,r)},m(r,s){Ge(e,r,s),t=!0},p(r,s){const a={};s[0]&32&&(a.board=r[5]),s[0]&64&&(a.currentRowIndex=r[6]),s[0]&4&&(a.imagePaths=r[2]),s[0]&2&&(a.totalStreaks=r[1].length),e.$set(a)},i(r){t||(he(e.$$.fragment,r),t=!0)},o(r){_e(e.$$.fragment,r),t=!1},d(r){Ze(e,r)}}}function gr(n){let e,t,r,s;return{c(){e=v("div"),t=v("img"),s=M(),this.h()},l(a){e=w(a,"DIV",{});var l=y(e);t=w(l,"IMG",{src:!0,alt:!0,class:!0}),s=F(l),l.forEach(f),this.h()},h(){ze(t.src,r=n[10]+n[34])||u(t,"src",r),u(t,"alt",""),u(t,"class","aspect-square w-full h-full")},m(a,l){ce(a,e,l),i(e,t),i(e,s)},p(a,l){l[0]&4&&!ze(t.src,r=a[10]+a[34])&&u(t,"src",r)},d(a){a&&f(e)}}}function vr(n){let e,t,r,s=n[32].letter+"",a,l,o,c,_=n[32].letter+"",S,j,Y;return{c(){e=v("div"),t=v("div"),r=v("span"),a=J(s),o=M(),c=v("div"),S=J(_),this.h()},l(H){e=w(H,"DIV",{class:!0});var U=y(e);t=w(U,"DIV",{class:!0,style:!0});var z=y(t);r=w(z,"SPAN",{class:!0});var q=y(r);a=Z(q,s),q.forEach(f),z.forEach(f),o=F(U),c=w(U,"DIV",{class:!0,style:!0});var oe=y(c);S=Z(oe,_),oe.forEach(f),U.forEach(f),this.h()},h(){u(r,"class","letter svelte-1y5wh9j"),u(t,"class",l="front z-0 "+(n[32].correct===" "?"space":"")+" svelte-1y5wh9j"),We(t,"transition-delay",n[31]*n[3]+"ms"),u(c,"class",j="back z-0 "+n[32].state+" svelte-1y5wh9j"),We(c,"transition-delay",n[31]*n[3]+"ms"),We(c,"animation-delay",n[31]*100+"ms"),u(e,"class",Y="tile "+(n[32].letter&&"filled")+" "+(n[32].state&&"revealed")+" svelte-1y5wh9j")},m(H,U){ce(H,e,U),i(e,t),i(t,r),i(r,a),i(e,o),i(e,c),i(c,S)},p(H,U){U[0]&32&&s!==(s=H[32].letter+"")&&Qe(a,s),U[0]&32&&l!==(l="front z-0 "+(H[32].correct===" "?"space":"")+" svelte-1y5wh9j")&&u(t,"class",l),U[0]&8&&We(t,"transition-delay",H[31]*H[3]+"ms"),U[0]&32&&_!==(_=H[32].letter+"")&&Qe(S,_),U[0]&32&&j!==(j="back z-0 "+H[32].state+" svelte-1y5wh9j")&&u(c,"class",j),U[0]&8&&We(c,"transition-delay",H[31]*H[3]+"ms"),U[0]&32&&Y!==(Y="tile "+(H[32].letter&&"filled")+" "+(H[32].state&&"revealed")+" svelte-1y5wh9j")&&u(e,"class",Y)},d(H){H&&f(e)}}}function wr(n){let e,t,r,s=n[29],a=[];for(let l=0;l<s.length;l+=1)a[l]=vr(fr(n,s,l));return{c(){e=v("div");for(let l=0;l<a.length;l+=1)a[l].c();t=M(),this.h()},l(l){e=w(l,"DIV",{class:!0});var o=y(e);for(let c=0;c<a.length;c+=1)a[c].l(o);t=F(o),o.forEach(f),this.h()},h(){u(e,"class",r="row "+(n[8]===n[31]&&"shake")+" "+(n[9]==ve.SUCESS&&n[6]===n[31]&&"jump")+" svelte-1y5wh9j")},m(l,o){ce(l,e,o);for(let c=0;c<a.length;c+=1)a[c].m(e,null);i(e,t)},p(l,o){if(o[0]&40){s=l[29];let c;for(c=0;c<s.length;c+=1){const _=fr(l,s,c);a[c]?a[c].p(_,o):(a[c]=vr(_),a[c].c(),a[c].m(e,t))}for(;c<a.length;c+=1)a[c].d(1);a.length=s.length}o[0]&832&&r!==(r="row "+(l[8]===l[31]&&"shake")+" "+(l[9]==ve.SUCESS&&l[6]===l[31]&&"jump")+" svelte-1y5wh9j")&&u(e,"class",r)},d(l){l&&f(e),Te(a,l)}}}function rn(n){let e,t,r=n[5]!==void 0&&dr(n);return{c(){r&&r.c(),e=lt()},l(s){r&&r.l(s),e=lt()},m(s,a){r&&r.m(s,a),ce(s,e,a),t=!0},p(s,a){s[5]!==void 0?r?(r.p(s,a),a[0]&32&&he(r,1)):(r=dr(s),r.c(),he(r,1),r.m(e.parentNode,e)):r&&(Je(),_e(r,1,1,()=>{r=null}),Ke())},i(s){t||(he(r),t=!0)},o(s){_e(r),t=!1},d(s){r&&r.d(s),s&&f(e)}}}const nt=1e3;function _r(){document.body.style.setProperty("--vh",window.innerHeight+"px")}function nn(n,e,t){let r,s;Gt(n,xt,d=>t(22,r=d)),Gt(n,Pr,d=>t(23,s=d));const a="";let l=!0,o,c=[],_;yr(async()=>{_r(),o=await fetch(a+"data").then(d=>d.json()),t(1,c=r),c.length>=Object.keys(o).length&&t(9,K=ve.COMPLETED),console.log("Current User Data:",s),console.log("Completed Prompts:",r),D(),window.addEventListener("keyup",$,!0),window.addEventListener("resize",_r),window.focus(),document.body.addEventListener("click",()=>window.focus(),!1)}),Er(()=>{window.removeEventListener("keyup",$,!0)});let S,j,Y,H,U={},z,q=0,oe="",Q=-1,K=ve.LOADING,ue=!0;function D(){t(8,Q=-1),t(7,oe=""),t(6,q=0),t(4,U={}),ue=!0;const d=Object.keys(o);c.length>=d.length||K===ve.COMPLETED?(T("You've completed all prompts. Please come back later for more!",-1),t(9,K=ve.COMPLETED),ue=!1,t(1,c=[])):t(9,K=ve.PLAYING);const C=c.map(V=>V.idx),I=d.filter((V,x)=>!C.includes(x)),B=~~(Math.random()*I.length),b=I[B];_=d.indexOf(b),S=b.replace(/_/g," "),t(2,j=o[b].slice(0,6));const g=[...S].map(V=>Math.random()>.5?"*":V).join("");console.log("%cCLUE: ","color: red;font-weight:bold",g),Y=S.length,t(3,H=nt/Y),t(5,z=Array.from({length:7},()=>Array.from(S).map(V=>({letter:"",correct:V,state:ye.INITIAL})))),document.body.style.setProperty("--cols",`${Y}`)}const $=d=>{h(d.key)};function h(d){!ue||(/^[a-zA-Z]$/.test(d)?t(5,z=Nr(z,q,d.toLowerCase())):d==="Backspace"?t(5,z=Cr(z,q)):d==="Enter"&&p())}function p(){const d=[...z],C=d[q],I=Xt({},U);if(C.every(B=>B.letter)){C.map(b=>b.letter).join(""),l&&P(C);const B=S.split("");C.forEach((b,g)=>{B[g]===b.letter&&(b.state=I[b.letter]=ye.CORRECT,B[g]=null)}),C.forEach(b=>{!b.state&&B.includes(b.letter)&&(b.state=ye.PRESENT,B[B.indexOf(b.letter)]=null,I[b.letter]||(I[b.letter]=ye.PRESENT))}),C.forEach(b=>{b.state||(b.state=ye.ABSENT,I[b.letter]||(I[b.letter]=ye.ABSENT))}),ue=!1,C.every(b=>b.state===ye.CORRECT)?(t(1,c=[...c,{prompt:S,idx:_}]),Lr(xt,r=c,r),setTimeout(()=>{t(9,K=ve.SUCESS)},nt)):q<z.length-1?(t(6,q++,q),setTimeout(()=>{ue=!0},nt)):(t(9,K=ve.FAIL),setTimeout(()=>{T(S.toUpperCase(),-1)},nt))}else E(),T("Not enough letters");t(5,z=d),t(4,U=I)}function T(d,C=1e3){t(7,oe=d),C>0&&setTimeout(()=>{t(7,oe="")},C)}function E(){t(8,Q=q),setTimeout(()=>{t(8,Q=-1)},1e3)}async function P(d){const C=d.map(B=>B.letter).join(""),I=d.map(B=>B.correct).join("");fetch(a+"prompt",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({guess:C,correct:I})})}const A=d=>{D(),d.currentTarget.blur()};function k(d){U=d,t(4,U)}const L=({detail:d})=>h(d);function ee(){l=this.checked,t(0,l)}return[l,c,j,H,U,z,q,oe,Q,K,a,D,h,A,k,L,ee]}class on extends ct{constructor(e){super(),ut(this,e,nn,rn,ft,{},null,[-1,-1])}}export{on as default};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static/_app/immutable/start-cc027d18.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var Ze=Object.defineProperty,Qe=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var De=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable;var Ce=(n,e,t)=>e in n?Ze(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,P=(n,e)=>{for(var t in e||(e={}))De.call(e,t)&&Ce(n,t,e[t]);if(fe)for(var t of fe(e))Ve.call(e,t)&&Ce(n,t,e[t]);return n},ne=(n,e)=>Qe(n,et(e));var ze=(n,e)=>{var t={};for(var i in n)De.call(n,i)&&e.indexOf(i)<0&&(t[i]=n[i]);if(n!=null&&fe)for(var i of fe(n))e.indexOf(i)<0&&Ve.call(n,i)&&(t[i]=n[i]);return t};import{S as tt,i as nt,s as st,e as rt,c as it,a as at,d as V,b as be,f as B,g as z,t as ot,h as ct,j as lt,k as ft,l as T,m as ut,n as Y,o as j,p as G,q as I,r as dt,u as pt,v as ke,w as q,x as re,y as J,z as ie,A as ae,B as K,C as oe,D as qe}from"./chunks/index-86f4d6c3.js";import{_ as ye,s as ht,w as ue,a as _t}from"./chunks/preload-helper-359634c4.js";function mt(n){let e,t,i;const l=[n[1]||{}];var c=n[0][0];function u(s){let r={};for(let a=0;a<l.length;a+=1)r=oe(r,l[a]);return{props:r}}return c&&(e=new c(u())),{c(){e&&q(e.$$.fragment),t=T()},l(s){e&&re(e.$$.fragment,s),t=T()},m(s,r){e&&J(e,s,r),z(s,t,r),i=!0},p(s,r){const a=r&2?ie(l,[ae(s[1]||{})]):{};if(c!==(c=s[0][0])){if(e){Y();const d=e;j(d.$$.fragment,1,0,()=>{K(d,1)}),G()}c?(e=new c(u()),q(e.$$.fragment),I(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(a)},i(s){i||(e&&I(e.$$.fragment,s),i=!0)},o(s){e&&j(e.$$.fragment,s),i=!1},d(s){s&&V(t),e&&K(e,s)}}}function gt(n){let e,t,i;const l=[n[1]||{}];var c=n[0][0];function u(s){let r={$$slots:{default:[vt]},$$scope:{ctx:s}};for(let a=0;a<l.length;a+=1)r=oe(r,l[a]);return{props:r}}return c&&(e=new c(u(n))),{c(){e&&q(e.$$.fragment),t=T()},l(s){e&&re(e.$$.fragment,s),t=T()},m(s,r){e&&J(e,s,r),z(s,t,r),i=!0},p(s,r){const a=r&2?ie(l,[ae(s[1]||{})]):{};if(r&525&&(a.$$scope={dirty:r,ctx:s}),c!==(c=s[0][0])){if(e){Y();const d=e;j(d.$$.fragment,1,0,()=>{K(d,1)}),G()}c?(e=new c(u(s)),q(e.$$.fragment),I(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(a)},i(s){i||(e&&I(e.$$.fragment,s),i=!0)},o(s){e&&j(e.$$.fragment,s),i=!1},d(s){s&&V(t),e&&K(e,s)}}}function wt(n){let e,t,i;const l=[n[2]||{}];var c=n[0][1];function u(s){let r={};for(let a=0;a<l.length;a+=1)r=oe(r,l[a]);return{props:r}}return c&&(e=new c(u())),{c(){e&&q(e.$$.fragment),t=T()},l(s){e&&re(e.$$.fragment,s),t=T()},m(s,r){e&&J(e,s,r),z(s,t,r),i=!0},p(s,r){const a=r&4?ie(l,[ae(s[2]||{})]):{};if(c!==(c=s[0][1])){if(e){Y();const d=e;j(d.$$.fragment,1,0,()=>{K(d,1)}),G()}c?(e=new c(u()),q(e.$$.fragment),I(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(a)},i(s){i||(e&&I(e.$$.fragment,s),i=!0)},o(s){e&&j(e.$$.fragment,s),i=!1},d(s){s&&V(t),e&&K(e,s)}}}function bt(n){let e,t,i;const l=[n[2]||{}];var c=n[0][1];function u(s){let r={$$slots:{default:[yt]},$$scope:{ctx:s}};for(let a=0;a<l.length;a+=1)r=oe(r,l[a]);return{props:r}}return c&&(e=new c(u(n))),{c(){e&&q(e.$$.fragment),t=T()},l(s){e&&re(e.$$.fragment,s),t=T()},m(s,r){e&&J(e,s,r),z(s,t,r),i=!0},p(s,r){const a=r&4?ie(l,[ae(s[2]||{})]):{};if(r&521&&(a.$$scope={dirty:r,ctx:s}),c!==(c=s[0][1])){if(e){Y();const d=e;j(d.$$.fragment,1,0,()=>{K(d,1)}),G()}c?(e=new c(u(s)),q(e.$$.fragment),I(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(a)},i(s){i||(e&&I(e.$$.fragment,s),i=!0)},o(s){e&&j(e.$$.fragment,s),i=!1},d(s){s&&V(t),e&&K(e,s)}}}function yt(n){let e,t,i;const l=[n[3]||{}];var c=n[0][2];function u(s){let r={};for(let a=0;a<l.length;a+=1)r=oe(r,l[a]);return{props:r}}return c&&(e=new c(u())),{c(){e&&q(e.$$.fragment),t=T()},l(s){e&&re(e.$$.fragment,s),t=T()},m(s,r){e&&J(e,s,r),z(s,t,r),i=!0},p(s,r){const a=r&8?ie(l,[ae(s[3]||{})]):{};if(c!==(c=s[0][2])){if(e){Y();const d=e;j(d.$$.fragment,1,0,()=>{K(d,1)}),G()}c?(e=new c(u()),q(e.$$.fragment),I(e.$$.fragment,1),J(e,t.parentNode,t)):e=null}else c&&e.$set(a)},i(s){i||(e&&I(e.$$.fragment,s),i=!0)},o(s){e&&j(e.$$.fragment,s),i=!1},d(s){s&&V(t),e&&K(e,s)}}}function vt(n){let e,t,i,l;const c=[bt,wt],u=[];function s(r,a){return r[0][2]?0:1}return e=s(n),t=u[e]=c[e](n),{c(){t.c(),i=T()},l(r){t.l(r),i=T()},m(r,a){u[e].m(r,a),z(r,i,a),l=!0},p(r,a){let d=e;e=s(r),e===d?u[e].p(r,a):(Y(),j(u[d],1,1,()=>{u[d]=null}),G(),t=u[e],t?t.p(r,a):(t=u[e]=c[e](r),t.c()),I(t,1),t.m(i.parentNode,i))},i(r){l||(I(t),l=!0)},o(r){j(t),l=!1},d(r){u[e].d(r),r&&V(i)}}}function Je(n){let e,t=n[5]&&Ke(n);return{c(){e=rt("div"),t&&t.c(),this.h()},l(i){e=it(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var l=at(e);t&&t.l(l),l.forEach(V),this.h()},h(){be(e,"id","svelte-announcer"),be(e,"aria-live","assertive"),be(e,"aria-atomic","true"),B(e,"position","absolute"),B(e,"left","0"),B(e,"top","0"),B(e,"clip","rect(0 0 0 0)"),B(e,"clip-path","inset(50%)"),B(e,"overflow","hidden"),B(e,"white-space","nowrap"),B(e,"width","1px"),B(e,"height","1px")},m(i,l){z(i,e,l),t&&t.m(e,null)},p(i,l){i[5]?t?t.p(i,l):(t=Ke(i),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(i){i&&V(e),t&&t.d()}}}function Ke(n){let e;return{c(){e=ot(n[6])},l(t){e=ct(t,n[6])},m(t,i){z(t,e,i)},p(t,i){i&64&<(e,t[6])},d(t){t&&V(e)}}}function $t(n){let e,t,i,l,c;const u=[gt,mt],s=[];function r(d,L){return d[0][1]?0:1}e=r(n),t=s[e]=u[e](n);let a=n[4]&&Je(n);return{c(){t.c(),i=ft(),a&&a.c(),l=T()},l(d){t.l(d),i=ut(d),a&&a.l(d),l=T()},m(d,L){s[e].m(d,L),z(d,i,L),a&&a.m(d,L),z(d,l,L),c=!0},p(d,[L]){let E=e;e=r(d),e===E?s[e].p(d,L):(Y(),j(s[E],1,1,()=>{s[E]=null}),G(),t=s[e],t?t.p(d,L):(t=s[e]=u[e](d),t.c()),I(t,1),t.m(i.parentNode,i)),d[4]?a?a.p(d,L):(a=Je(d),a.c(),a.m(l.parentNode,l)):a&&(a.d(1),a=null)},i(d){c||(I(t),c=!0)},o(d){j(t),c=!1},d(d){s[e].d(d),d&&V(i),a&&a.d(d),d&&V(l)}}}function kt(n,e,t){let{stores:i}=e,{page:l}=e,{components:c}=e,{props_0:u=null}=e,{props_1:s=null}=e,{props_2:r=null}=e;dt("__svelte__",i),pt(i.page.notify);let a=!1,d=!1,L=null;return ke(()=>{const E=i.page.subscribe(()=>{a&&(t(5,d=!0),t(6,L=document.title||"untitled page"))});return t(4,a=!0),E}),n.$$set=E=>{"stores"in E&&t(7,i=E.stores),"page"in E&&t(8,l=E.page),"components"in E&&t(0,c=E.components),"props_0"in E&&t(1,u=E.props_0),"props_1"in E&&t(2,s=E.props_1),"props_2"in E&&t(3,r=E.props_2)},n.$$.update=()=>{n.$$.dirty&384&&i.page.set(l)},[c,u,s,r,a,d,L,i,l]}class Et extends tt{constructor(e){super(),nt(this,e,kt,$t,st,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const Rt={},de=[()=>ye(()=>import("./pages/__layout.svelte-53f051f3.js"),["pages/__layout.svelte-53f051f3.js","assets/pages/__layout.svelte-7926a3a8.css","chunks/index-86f4d6c3.js"]),()=>ye(()=>import("./error.svelte-ca9403a0.js"),["error.svelte-ca9403a0.js","chunks/index-86f4d6c3.js"]),()=>ye(()=>import("./pages/index.svelte-e9dccd76.js"),["pages/index.svelte-e9dccd76.js","assets/pages/index.svelte-b52b250e.css","chunks/index-86f4d6c3.js","chunks/preload-helper-359634c4.js"])],Lt={"":[[0,2],[1]]};function St(n){n.client}function Be(n){return n instanceof Error||n&&n.name&&n.message?n:new Error(JSON.stringify(n))}function Me(n){if(n.fallthrough)throw new Error("fallthrough is no longer supported. Use matchers instead: https://kit.svelte.dev/docs/routing#advanced-routing-matching");if("maxage"in n)throw new Error("maxage should be replaced with cache: { maxage }");const e=n.status&&n.status>=400&&n.status<=599&&!n.redirect;if(n.error||e){const t=n.status;if(!n.error&&e)return{status:t||500,error:new Error};const i=typeof n.error=="string"?new Error(n.error):n.error;return i instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:i}):{status:t,error:i}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof i}"`)}}if(n.redirect){if(!n.status||Math.floor(n.status/100)!==3)throw new Error('"redirect" property returned from load() must be accompanied by a 3xx status code');if(typeof n.redirect!="string")throw new Error('"redirect" property returned from load() must be a string')}if(n.dependencies&&(!Array.isArray(n.dependencies)||n.dependencies.some(t=>typeof t!="string")))throw new Error('"dependencies" property returned from load() must be of type string[]');if(n.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return n}function Ut(n,e){return n==="/"||e==="ignore"?n:e==="never"?n.endsWith("/")?n.slice(0,-1):n:e==="always"&&!n.endsWith("/")?n+"/":n}class At extends URL{get hash(){throw new Error("url.hash is inaccessible from load. Consider accessing hash from the page store within the script tag of your component.")}}function We(n){let e=n.baseURI;if(!e){const t=n.getElementsByTagName("base");e=t.length?t[0].href:n.URL}return e}function Ee(){return{x:pageXOffset,y:pageYOffset}}function Ye(n){return n.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function Ge(n){return n instanceof SVGAElement?new URL(n.href.baseVal,document.baseURI):new URL(n.href)}function Fe(n){const e=ue(n);let t=!0;function i(){t=!0,e.update(u=>u)}function l(u){t=!1,e.set(u)}function c(u){let s;return e.subscribe(r=>{(s===void 0||t&&r!==s)&&u(s=r)})}return{notify:i,set:l,subscribe:c}}function Nt(){const{set:n,subscribe:e}=ue(!1),t="1666720273436";let i;async function l(){clearTimeout(i);const u=await fetch(`${_t}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(u.ok){const{version:s}=await u.json(),r=s!==t;return r&&(n(!0),clearTimeout(i)),r}else throw new Error(`Version check failed: ${u.status}`)}return{subscribe:e,check:l}}function xt(n){let e=5381,t=n.length;if(typeof n=="string")for(;t;)e=e*33^n.charCodeAt(--t);else for(;t;)e=e*33^n[--t];return(e>>>0).toString(36)}const Re=window.fetch;function Ot(n,e){let i=`script[sveltekit\\:data-type="data"][sveltekit\\:data-url=${JSON.stringify(typeof n=="string"?n:n.url)}]`;e&&typeof e.body=="string"&&(i+=`[sveltekit\\:data-body="${xt(e.body)}"]`);const l=document.querySelector(i);if(l&&l.textContent){const c=JSON.parse(l.textContent),{body:u}=c,s=ze(c,["body"]);return Promise.resolve(new Response(u,s))}return Re(n,e)}const Pt=/^(\.\.\.)?(\w+)(?:=(\w+))?$/;function Tt(n){const e=[],t=[];let i=!0;return{pattern:n===""?/^\/$/:new RegExp(`^${decodeURIComponent(n).split(/(?:@[a-zA-Z0-9_-]+)?(?:\/|$)/).map((c,u,s)=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(r)return e.push(r[1]),t.push(r[2]),"(?:/(.*))?";const a=u===s.length-1;return c&&"/"+c.split(/\[(.+?)\]/).map((d,L)=>{if(L%2){const[,E,H,F]=Pt.exec(d);return e.push(H),t.push(F),E?"(.*?)":"([^/]+?)"}return a&&d.includes(".")&&(i=!1),d.normalize().replace(/%5[Bb]/g,"[").replace(/%5[Dd]/g,"]").replace(/#/g,"%23").replace(/\?/g,"%3F").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("")}).join("")}${i?"/?":""}$`),names:e,types:t}}function jt(n,e,t,i){const l={};for(let c=0;c<e.length;c+=1){const u=e[c],s=t[c],r=n[c+1]||"";if(s){const a=i[s];if(!a)throw new Error(`Missing "${s}" param matcher`);if(!a(r))return}l[u]=r}return l}function It(n,e,t){return Object.entries(e).map(([l,[c,u,s]])=>{const{pattern:r,names:a,types:d}=Tt(l);return{id:l,exec:L=>{const E=r.exec(L);if(E)return jt(E,a,d,t)},a:c.map(L=>n[L]),b:u.map(L=>n[L]),has_shadow:!!s}})}const He="sveltekit:scroll",M="sveltekit:index",ve=It(de,Lt,Rt),Ct=de[0](),Dt=de[1](),Xe={};let se={};try{se=JSON.parse(sessionStorage[He])}catch{}function $e(n){se[n]=Ee()}function Vt({target:n,session:e,base:t,trailing_slash:i}){var je;const l=new Map,c=[],u={url:Fe({}),page:Fe({}),navigating:ue(null),session:ue(e),updated:Nt()},s={id:null,promise:null},r={before_navigate:[],after_navigate:[]};let a={branch:[],error:null,session_id:0,stuff:Xe,url:null},d=!1,L=!0,E=!1,H=1,F=null,Le,Se,Ue=!1;u.session.subscribe(async o=>{Se=o,Ue&&(H+=1,me(new URL(location.href),[],!0))}),Ue=!0;let X=!0,C=(je=history.state)==null?void 0:je[M];C||(C=Date.now(),history.replaceState(ne(P({},history.state),{[M]:C}),"",location.href));const pe=se[C];pe&&(history.scrollRestoration="manual",scrollTo(pe.x,pe.y));let he=!1,_e,Ae;async function Ne(o,{noscroll:p=!1,replaceState:w=!1,keepfocus:f=!1,state:h={}},b){if(typeof o=="string"&&(o=new URL(o,We(document))),X)return we({url:o,scroll:p?Ee():null,keepfocus:f,redirect_chain:b,details:{state:h,replaceState:w},accepted:()=>{},blocked:()=>{}});await ee(o)}async function xe(o){const p=Te(o);if(!p)throw new Error("Attempted to prefetch a URL that does not belong to this app");return s.promise=Pe(p,!1),s.id=p.id,s.promise}async function me(o,p,w,f,h){var R,S,N;const b=Te(o),v=Ae={};let _=b&&await Pe(b,w);if(!_&&o.origin===location.origin&&o.pathname===location.pathname&&(_=await Q({status:404,error:new Error(`Not found: ${o.pathname}`),url:o,routeId:null})),!_)return await ee(o),!1;if(Ae!==v)return!1;if(c.length=0,_.redirect)if(p.length>10||p.includes(o.pathname))_=await Q({status:500,error:new Error("Redirect loop"),url:o,routeId:null});else return X?Ne(new URL(_.redirect,o).href,{},[...p,o.pathname]):await ee(new URL(_.redirect,location.href)),!1;else((S=(R=_.props)==null?void 0:R.page)==null?void 0:S.status)>=400&&await u.updated.check()&&await ee(o);if(E=!0,f&&f.details){const{details:$}=f,y=$.replaceState?0:1;$.state[M]=C+=y,history[$.replaceState?"replaceState":"pushState"]($.state,"",o)}if(d?(a=_.state,_.props.page&&(_.props.page.url=o),Le.$set(_.props)):Oe(_),f){const{scroll:$,keepfocus:y}=f;if(!y){const U=document.body,g=U.getAttribute("tabindex");(N=getSelection())==null||N.removeAllRanges(),U.tabIndex=-1,U.focus({preventScroll:!0}),g!==null?U.setAttribute("tabindex",g):U.removeAttribute("tabindex")}if(await qe(),L){const U=o.hash&&document.getElementById(o.hash.slice(1));$?scrollTo($.x,$.y):U?U.scrollIntoView():scrollTo(0,0)}}else await qe();s.promise=null,s.id=null,L=!0,_.props.page&&(_e=_.props.page);const m=_.state.branch[_.state.branch.length-1];X=(m==null?void 0:m.module.router)!==!1,h&&h(),E=!1}function Oe(o){a=o.state;const p=document.querySelector("style[data-sveltekit]");if(p&&p.remove(),_e=o.props.page,Le=new Et({target:n,props:ne(P({},o.props),{stores:u}),hydrate:!0}),X){const w={from:null,to:new URL(location.href)};r.after_navigate.forEach(f=>f(w))}d=!0}async function ge({url:o,params:p,stuff:w,branch:f,status:h,error:b,routeId:v}){var y,U;const _=f.filter(Boolean),m=_.find(g=>{var x;return(x=g.loaded)==null?void 0:x.redirect}),R={redirect:(y=m==null?void 0:m.loaded)==null?void 0:y.redirect,state:{url:o,params:p,branch:f,error:b,stuff:w,session_id:H},props:{components:_.map(g=>g.module.default)}};for(let g=0;g<_.length;g+=1){const x=_[g].loaded;R.props[`props_${g}`]=x?await x.props:null}if(!a.url||o.href!==a.url.href||a.error!==b||a.stuff!==w){R.props.page={error:b,params:p,routeId:v,status:h,stuff:w,url:o};const g=(x,k)=>{Object.defineProperty(R.props.page,x,{get:()=>{throw new Error(`$page.${x} has been replaced by $page.url.${k}`)}})};g("origin","origin"),g("path","pathname"),g("query","searchParams")}const N=_[_.length-1],$=(U=N==null?void 0:N.loaded)==null?void 0:U.cache;if($){const g=o.pathname+o.search;let x=!1;const k=()=>{l.get(g)===R&&l.delete(g),O(),clearTimeout(A)},A=setTimeout(k,$.maxage*1e3),O=u.session.subscribe(()=>{x&&k()});x=!0,l.set(g,R)}return R}async function Z({status:o,error:p,module:w,url:f,params:h,stuff:b,props:v,routeId:_}){const m={module:w,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:new Set},loaded:null,stuff:b};function R(y){const{href:U}=new URL(y,f);m.uses.dependencies.add(U)}v&&m.uses.dependencies.add(f.href);const S={};for(const y in h)Object.defineProperty(S,y,{get(){return m.uses.params.add(y),h[y]},enumerable:!0});const N=Se,$=new At(f);if(w.load){const y={routeId:_,params:S,props:v||{},get url(){return m.uses.url=!0,$},get session(){return m.uses.session=!0,N},get stuff(){return m.uses.stuff=!0,P({},b)},async fetch(g,x){let k;typeof g=="string"?k=g:(k=g.url,x=P({body:g.method==="GET"||g.method==="HEAD"?void 0:await g.blob(),cache:g.cache,credentials:g.credentials,headers:g.headers,integrity:g.integrity,keepalive:g.keepalive,method:g.method,mode:g.mode,redirect:g.redirect,referrer:g.referrer,referrerPolicy:g.referrerPolicy,signal:g.signal},x));const A=new URL(k,f).href;return R(A),d?Re(A,x):Ot(k,x)},status:o!=null?o:null,error:p!=null?p:null};let U;if(U=await w.load.call(null,y),!U)throw new Error("load function must return a value");m.loaded=Me(U),m.loaded.stuff&&(m.stuff=m.loaded.stuff),m.loaded.dependencies&&m.loaded.dependencies.forEach(R)}else v&&(m.loaded=Me({props:v}));return m}async function Pe({id:o,url:p,params:w,route:f},h){var U,g,x;if(s.id===o&&s.promise)return s.promise;if(!h){const k=l.get(o);if(k)return k}const{a:b,b:v,has_shadow:_}=f,m=a.url&&{url:o!==a.url.pathname+a.url.search,params:Object.keys(w).filter(k=>a.params[k]!==w[k]),session:H!==a.session_id};let R=[],S=Xe,N=!1,$=200,y=null;b.forEach(k=>k().catch(()=>{}));e:for(let k=0;k<b.length;k+=1){let A;try{if(!b[k])continue;const O=await b[k](),D=a.branch[k];if(!D||O!==D.module||m.url&&D.uses.url||m.params.some(W=>D.uses.params.has(W))||m.session&&D.uses.session||Array.from(D.uses.dependencies).some(W=>c.some(le=>le(W)))||N&&D.uses.stuff){let W={};const le=_&&k===b.length-1;if(le){const te=await Re(`${p.pathname}${p.pathname.endsWith("/")?"":"/"}__data.json${p.search}`,{headers:{"x-sveltekit-load":"true"}});if(te.ok){const Ie=te.headers.get("x-sveltekit-location");if(Ie)return{redirect:Ie,props:{},state:a};W=te.status===204?{}:await te.json()}else $=te.status,y=new Error("Failed to load data")}if(y||(A=await Z({module:O,url:p,params:w,props:W,stuff:S,routeId:f.id})),A&&(le&&(A.uses.url=!0),A.loaded)){if(A.loaded.error&&($=A.loaded.status,y=A.loaded.error),A.loaded.redirect)return{redirect:A.loaded.redirect,props:{},state:a};A.loaded.stuff&&(N=!0)}}else A=D}catch(O){$=500,y=Be(O)}if(y){for(;k--;)if(v[k]){let O,D,ce=k;for(;!(D=R[ce]);)ce-=1;try{if(O=await Z({status:$,error:y,module:await v[k](),url:p,params:w,stuff:D.stuff,routeId:f.id}),(U=O==null?void 0:O.loaded)!=null&&U.error)continue;(g=O==null?void 0:O.loaded)!=null&&g.stuff&&(S=P(P({},S),O.loaded.stuff)),R=R.slice(0,ce+1).concat(O);break e}catch{continue}}return await Q({status:$,error:y,url:p,routeId:f.id})}else(x=A==null?void 0:A.loaded)!=null&&x.stuff&&(S=P(P({},S),A.loaded.stuff)),R.push(A)}return await ge({url:p,params:w,stuff:S,branch:R,status:$,error:y,routeId:f.id})}async function Q({status:o,error:p,url:w,routeId:f}){var _,m;const h={},b=await Z({module:await Ct,url:w,params:h,stuff:{},routeId:f}),v=await Z({status:o,error:p,module:await Dt,url:w,params:h,stuff:b&&b.loaded&&b.loaded.stuff||{},routeId:f});return await ge({url:w,params:h,stuff:P(P({},(_=b==null?void 0:b.loaded)==null?void 0:_.stuff),(m=v==null?void 0:v.loaded)==null?void 0:m.stuff),branch:[b,v],status:o,error:p,routeId:f})}function Te(o){if(o.origin!==location.origin||!o.pathname.startsWith(t))return;const p=decodeURI(o.pathname.slice(t.length)||"/");for(const w of ve){const f=w.exec(p);if(f)return{id:o.pathname+o.search,route:w,params:f,url:o}}}async function we({url:o,scroll:p,keepfocus:w,redirect_chain:f,details:h,accepted:b,blocked:v}){const _=a.url;let m=!1;const R={from:_,to:o,cancel:()=>m=!0};if(r.before_navigate.forEach($=>$(R)),m){v();return}const S=Ut(o.pathname,i),N=new URL(o.origin+S+o.search+o.hash);$e(C),b(),d&&u.navigating.set({from:a.url,to:N}),await me(N,f,!1,{scroll:p,keepfocus:w,details:h},()=>{const $={from:_,to:N};r.after_navigate.forEach(y=>y($)),u.navigating.set(null)})}function ee(o){return location.href=o.href,new Promise(()=>{})}return{after_navigate:o=>{ke(()=>(r.after_navigate.push(o),()=>{const p=r.after_navigate.indexOf(o);r.after_navigate.splice(p,1)}))},before_navigate:o=>{ke(()=>(r.before_navigate.push(o),()=>{const p=r.before_navigate.indexOf(o);r.before_navigate.splice(p,1)}))},disable_scroll_handling:()=>{(E||!d)&&(L=!1)},goto:(o,p={})=>Ne(o,p,[]),invalidate:o=>{if(typeof o=="function")c.push(o);else{const{href:p}=new URL(o,location.href);c.push(w=>w===p)}return F||(F=Promise.resolve().then(async()=>{await me(new URL(location.href),[],!0),F=null})),F},prefetch:async o=>{const p=new URL(o,We(document));await xe(p)},prefetch_routes:async o=>{const w=(o?ve.filter(f=>o.some(h=>f.exec(h))):ve).map(f=>Promise.all(f.a.map(h=>h())));await Promise.all(w)},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",f=>{let h=!1;const b={from:a.url,to:null,cancel:()=>h=!0};r.before_navigate.forEach(v=>v(b)),h?(f.preventDefault(),f.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{if(document.visibilityState==="hidden"){$e(C);try{sessionStorage[He]=JSON.stringify(se)}catch{}}});const o=f=>{const h=Ye(f);h&&h.href&&h.hasAttribute("sveltekit:prefetch")&&xe(Ge(h))};let p;const w=f=>{clearTimeout(p),p=setTimeout(()=>{var h;(h=f.target)==null||h.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",o),addEventListener("mousemove",w),addEventListener("sveltekit:trigger_prefetch",o),addEventListener("click",f=>{if(!X||f.button||f.which!==1||f.metaKey||f.ctrlKey||f.shiftKey||f.altKey||f.defaultPrevented)return;const h=Ye(f);if(!h||!h.href)return;const b=h instanceof SVGAElement,v=Ge(h);if(!b&&v.origin==="null")return;const _=(h.getAttribute("rel")||"").split(/\s+/);if(h.hasAttribute("download")||_.includes("external")||h.hasAttribute("sveltekit:reload")||(b?h.target.baseVal:h.target))return;const[m,R]=v.href.split("#");if(R!==void 0&&m===location.href.split("#")[0]){he=!0,$e(C),u.page.set(ne(P({},_e),{url:v})),u.page.notify();return}we({url:v,scroll:h.hasAttribute("sveltekit:noscroll")?Ee():null,keepfocus:!1,redirect_chain:[],details:{state:{},replaceState:v.href===location.href},accepted:()=>f.preventDefault(),blocked:()=>f.preventDefault()})}),addEventListener("popstate",f=>{if(f.state&&X){if(f.state[M]===C)return;we({url:new URL(location.href),scroll:se[f.state[M]],keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{C=f.state[M]},blocked:()=>{const h=C-f.state[M];history.go(h)}})}}),addEventListener("hashchange",()=>{he&&(he=!1,history.replaceState(ne(P({},history.state),{[M]:++C}),"",location.href))})},_hydrate:async({status:o,error:p,nodes:w,params:f,routeId:h})=>{const b=new URL(location.href),v=[];let _={},m,R;try{for(let S=0;S<w.length;S+=1){const N=S===w.length-1;let $;if(N){const U=document.querySelector('script[sveltekit\\:data-type="props"]');U&&($=JSON.parse(U.textContent))}const y=await Z({module:await de[w[S]](),url:b,params:f,stuff:_,status:N?o:void 0,error:N?p:void 0,props:$,routeId:h});if($&&(y.uses.dependencies.add(b.href),y.uses.url=!0),v.push(y),y&&y.loaded)if(y.loaded.error){if(p)throw y.loaded.error;R={status:y.loaded.status,error:y.loaded.error,url:b,routeId:h}}else y.loaded.stuff&&(_=P(P({},_),y.loaded.stuff))}m=R?await Q(R):await ge({url:b,params:f,stuff:_,branch:v,status:o,error:p,routeId:h})}catch(S){if(p)throw S;m=await Q({status:500,error:Be(S),url:b,routeId:h})}m.redirect&&await ee(new URL(m.redirect,location.href)),Oe(m)}}}async function Kt({paths:n,target:e,session:t,route:i,spa:l,trailing_slash:c,hydrate:u}){const s=Vt({target:e,session:t,base:n.base,trailing_slash:c});St({client:s}),ht(n),u&&await s._hydrate(u),i&&(l&&s.goto(location.href,{replaceState:!0}),s._start_router()),dispatchEvent(new CustomEvent("sveltekit:start"))}export{Kt as start};
|
|
static/_app/version.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":"1666720273436"}
|
|
static/img1.jpg
DELETED
Binary file (13.1 kB)
|
static/img2.jpg
DELETED
Binary file (13.4 kB)
|
static/index.html
DELETED
@@ -1,43 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="en">
|
3 |
-
<head>
|
4 |
-
<meta charset="utf-8" />
|
5 |
-
<!-- <link rel="icon" href="/static/favicon.png" /> -->
|
6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
8 |
-
<meta http-equiv="content-security-policy" content="">
|
9 |
-
<link rel="stylesheet" href="/static/_app/immutable/assets/pages/__layout.svelte-7926a3a8.css">
|
10 |
-
<link rel="stylesheet" href="/static/_app/immutable/assets/pages/index.svelte-b52b250e.css">
|
11 |
-
<link rel="modulepreload" href="/static/_app/immutable/start-cc027d18.js">
|
12 |
-
<link rel="modulepreload" href="/static/_app/immutable/chunks/index-86f4d6c3.js">
|
13 |
-
<link rel="modulepreload" href="/static/_app/immutable/chunks/preload-helper-359634c4.js">
|
14 |
-
<link rel="modulepreload" href="/static/_app/immutable/pages/__layout.svelte-53f051f3.js">
|
15 |
-
<link rel="modulepreload" href="/static/_app/immutable/pages/index.svelte-e9dccd76.js">
|
16 |
-
</head>
|
17 |
-
<body class="dark:bg-[rgb(11,15,25)] bg-white dark:text-white text-black">
|
18 |
-
<div>
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
<script type="module" data-sveltekit-hydrate="2eq20f">
|
25 |
-
import { start } from "/static/_app/immutable/start-cc027d18.js";
|
26 |
-
start({
|
27 |
-
target: document.querySelector('[data-sveltekit-hydrate="2eq20f"]').parentNode,
|
28 |
-
paths: {"base":"/static","assets":"/static"},
|
29 |
-
session: {},
|
30 |
-
route: true,
|
31 |
-
spa: false,
|
32 |
-
trailing_slash: "never",
|
33 |
-
hydrate: {
|
34 |
-
status: 200,
|
35 |
-
error: null,
|
36 |
-
nodes: [0, 2],
|
37 |
-
params: {},
|
38 |
-
routeId: ""
|
39 |
-
}
|
40 |
-
});
|
41 |
-
</script></div>
|
42 |
-
</body>
|
43 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|