From 94cdb77f7ff3f99b530e7e838da922d21cefb1e9 Mon Sep 17 00:00:00 2001 From: Nilesh <19304+nileshtrivedi@users.noreply.github.com> Date: Sun, 8 May 2022 13:02:37 +0100 Subject: [PATCH] First commit --- .gitignore | 2 + README.md | 21 + db/courses.csv | 2 + db/creators.csv | 2 + db/items.csv | 2 + db/reviews.csv | 1 + db/topics.csv | 6 + generatedb.sh | 6 + learn.db | Bin 0 -> 20480 bytes metadata.json | 8 + package-lock.json | 1950 +++++++++++ package.json | 24 + rollup.config.js | 76 + src/AdvancedSearch.svelte | 82 + src/App.svelte | 64 + src/CourseDetail.svelte | 0 src/CourseList.svelte | 3 + src/Creator.svelte | 3 + src/FormatDetail.svelte | 21 + src/FormatList.svelte | 34 + src/Home.svelte | 37 + src/ItemCard.svelte | 9 + src/ItemDetail.svelte | 23 + src/Review.svelte | 5 + src/TopicCard.svelte | 22 + src/TopicDetail.svelte | 23 + src/TopicList.svelte | 50 + src/main.js | 5 + src/tailwindui/AppShell.svelte | 134 + src/tailwindui/Icon.svelte | 31 + src/tailwindui/MenuButton.svelte | 28 + src/tailwindui/SearchForm.svelte | 38 + src/tailwindui/index.js | 3 + static/bundle.css | 1 + static/bundle.js | 5535 ++++++++++++++++++++++++++++++ static/bundle.js.map | 1 + templates/courses/physics.md | 0 templates/index.html | 15 + 38 files changed, 8267 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 db/courses.csv create mode 100644 db/creators.csv create mode 100644 db/items.csv create mode 100644 db/reviews.csv create mode 100644 db/topics.csv create mode 100755 generatedb.sh create mode 100644 learn.db create mode 100644 metadata.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 rollup.config.js create mode 100644 src/AdvancedSearch.svelte create mode 100644 src/App.svelte create mode 100644 src/CourseDetail.svelte create mode 100644 src/CourseList.svelte create mode 100644 src/Creator.svelte create mode 100644 src/FormatDetail.svelte create mode 100644 src/FormatList.svelte create mode 100644 src/Home.svelte create mode 100644 src/ItemCard.svelte create mode 100644 src/ItemDetail.svelte create mode 100644 src/Review.svelte create mode 100644 src/TopicCard.svelte create mode 100644 src/TopicDetail.svelte create mode 100644 src/TopicList.svelte create mode 100644 src/main.js create mode 100644 src/tailwindui/AppShell.svelte create mode 100644 src/tailwindui/Icon.svelte create mode 100644 src/tailwindui/MenuButton.svelte create mode 100644 src/tailwindui/SearchForm.svelte create mode 100644 src/tailwindui/index.js create mode 100644 static/bundle.css create mode 100644 static/bundle.js create mode 100644 static/bundle.js.map create mode 100644 templates/courses/physics.md create mode 100644 templates/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a56a7ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules + diff --git a/README.md b/README.md new file mode 100644 index 0000000..0292538 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Learndb + +Non-social version of https://learnawesome.org/ + +Run `datasette . -o` in the top-level directory. + +Schema: + - Format: inline string like book, course, video, audio, podcast, newsletter, game, toy, website, article etc + - Topic (id - using slash or dot separator for hierarchy, display_name, image) + - Why not an inline string? + - Need to support Special characters (dot, hyphen etc), preserve capitalization etc + - Hierarchy may change over time + - Item (id, name, description, image, []{format, URL/hash}, rating, topic_id: [], creator_ids: [], year, difficulty, cost, quality_tags, extra_data: {}) + - Creator (id, name, description, category, social_urls_or_ids, photo) + - Review/Recommendation (id, item_id, by: item_id/creator_id, rating, blurb, URL, quality_tags) + +Additional pages: +- Syllabus page per topic +- Format page + +To generate the sqlite database from the source files, run `generatedb.sh` diff --git a/db/courses.csv b/db/courses.csv new file mode 100644 index 0000000..860dd84 --- /dev/null +++ b/db/courses.csv @@ -0,0 +1,2 @@ +topic,name,description,sequence +mathematics,Learn math in 21 minutes,, \ No newline at end of file diff --git a/db/creators.csv b/db/creators.csv new file mode 100644 index 0000000..7738ce1 --- /dev/null +++ b/db/creators.csv @@ -0,0 +1,2 @@ +name,description,category,photo,social_urls +Bill Gates,techbro,founder,,@billgates \ No newline at end of file diff --git a/db/items.csv b/db/items.csv new file mode 100644 index 0000000..cb8a7af --- /dev/null +++ b/db/items.csv @@ -0,0 +1,2 @@ +name,description,image,links,topics,creators,year,difficulty,cost,extra_data +sapiens,,https://learn-awesome.github.io/assets/book_covers/23692271.jpg,book|https://learnawesome.org/items/6c2ef4c8-a018-430a-9173-3868310a03ea-sapiens-a-brief-history-of-humankind,history \ No newline at end of file diff --git a/db/reviews.csv b/db/reviews.csv new file mode 100644 index 0000000..0fdcbbf --- /dev/null +++ b/db/reviews.csv @@ -0,0 +1 @@ +id,item_id,by,rating,blurb,url \ No newline at end of file diff --git a/db/topics.csv b/db/topics.csv new file mode 100644 index 0000000..28b75d9 --- /dev/null +++ b/db/topics.csv @@ -0,0 +1,6 @@ +id,display_name,image,first_parent_topic_id,second_parent_topic_id +physics,Physics +mathematics,Maths,,physics, +language.english,English +programming.java,Java,,,, +history,History,,language.english, \ No newline at end of file diff --git a/generatedb.sh b/generatedb.sh new file mode 100755 index 0000000..851089b --- /dev/null +++ b/generatedb.sh @@ -0,0 +1,6 @@ +rm learn.db +sqlite-utils insert learn.db creators db/creators.csv --csv +sqlite-utils insert learn.db topics db/topics.csv --csv +sqlite-utils insert learn.db items db/items.csv --csv +sqlite-utils insert learn.db reviews db/reviews.csv --csv +sqlite-utils insert learn.db courses db/courses.csv --csv \ No newline at end of file diff --git a/learn.db b/learn.db new file mode 100644 index 0000000000000000000000000000000000000000..c6ae40b717fe7dda38e5c2aa4b25078877d8b58c GIT binary patch literal 20480 zcmeI(OK#IZ7zc2>&7%~VumDAE6vcY;A|SD8YqvFB z*LF=))3gP(WYsb$8C4lAlcG;5f7mW)l_T3w2V{(oTEV&X`PRCspg;fu5P$##AOHaf zKmY;|fWU7AhFT_HES2=(o0xQb>hQjhRHmEk<5#V{!kSU}vFoO~9Z%IR#zXOTu!F8Am1#ib?vqCUWYNjUmu~eUDor(a#_E~Cl^mp5_6%@lkMDW z#*^?r5;`QNE*FF86O23_^XY)(4kLcMFZ>^rqkD6`@KsYE6bL{70uX=z1Rwwb2tWV= z5P$##{wsksJ-1RS87uqD_su8j(SVGp<8=h@@qXB)Vz;AqxTE;!{y$qd(F)%RUkaZJ zA5;|u0uX=z1Rwwb2tWV=5P$##AOL|Y3*5`*)GfJXcucC-|AVK=#wVfMSF;}~G<1C? zz2!{Kx@#ClB)BU`5U|j#oRD+!OfBX4oK;feUvAS%nwIBst3{(^sEPa@RV(Jm=c+0r zZy;6uj;_X6t<$eBl4$b&e@83qT=~S%5CRZ@00bZa0SG_<0uX=z1R!vo1%~_jLdh83 z9J(b*B1S{$#c?DbR;xZGBDBamDtSOFE{nZ>r^0xZNJ(Q^?QnkDcKA6Jvf8jWw;PSE zdgUZ?NAdSFeN4LG!mW<~SW(?{8nn0JG%ZrAH?0l3My&1nmTlS1&8A(ik(y13m8N46 zt0NfgS?MDOi>qosAmJ$syJ-yb|F82;6z2v32tWV=5P$##AOHafKmY>QTVPGku0ArR aX966I9!Z#^sR1Sn%|_i+GYk4^{{MGx;#kQ5 literal 0 HcmV?d00001 diff --git a/metadata.json b/metadata.json new file mode 100644 index 0000000..3fa1866 --- /dev/null +++ b/metadata.json @@ -0,0 +1,8 @@ +{ + "title": "LearnAwesome", + "description": "Curated collection of learning resources", + "license": "ISC", + "license_url": "", + "source": "LearnAwesome.org", + "source_url": "https://learnawesome.org/" +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..2dcf2a0 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1950 @@ +{ + "name": "learndb", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "learndb", + "version": "1.0.0", + "dependencies": { + "sirv-cli": "^2.0.0" + }, + "devDependencies": { + "@rollup/plugin-commonjs": "^17.0.0", + "@rollup/plugin-node-resolve": "^11.0.0", + "rollup": "^2.3.4", + "rollup-plugin-css-only": "^3.1.0", + "rollup-plugin-livereload": "^2.0.0", + "rollup-plugin-svelte": "^7.0.0", + "rollup-plugin-terser": "^7.0.0", + "svelte": "^3.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.16.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz", + "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@polka/url": { + "version": "1.0.0-next.21", + "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz", + "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==" + }, + "node_modules/@rollup/plugin-commonjs": { + "version": "17.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", + "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "commondir": "^1.0.1", + "estree-walker": "^2.0.1", + "glob": "^7.1.6", + "is-reference": "^1.2.1", + "magic-string": "^0.25.7", + "resolve": "^1.17.0" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^2.30.0" + } + }, + "node_modules/@rollup/plugin-node-resolve": { + "version": "11.2.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", + "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/pluginutils/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@types/node": { + "version": "17.0.31", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", + "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==", + "dev": true + }, + "node_modules/@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", + "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/console-clear": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/console-clear/-/console-clear-1.1.1.tgz", + "integrity": "sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", + "engines": { + "node": ">=4" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "dev": true, + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/kleur": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", + "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/livereload": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz", + "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==", + "dev": true, + "dependencies": { + "chokidar": "^3.5.0", + "livereload-js": "^3.3.1", + "opts": ">= 1.2.0", + "ws": "^7.4.3" + }, + "bin": { + "livereload": "bin/livereload.js" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/livereload-js": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.4.0.tgz", + "integrity": "sha512-F/pz9ZZP+R+arY94cECTZco7PXgBXyL+KVWUPZq8AQE9TOu14GV6fYeKOviv02JCvFa4Oi3Rs1hYEpfeajc+ow==", + "dev": true + }, + "node_modules/local-access": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/local-access/-/local-access-1.1.0.tgz", + "integrity": "sha512-XfegD5pyTAfb+GY6chk283Ox5z8WexG56OvM06RWLpAc/UHozO8X6xAxEkIitZOtsSMM1Yr3DkHgW5W+onLhCw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", + "dev": true + }, + "node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/mrmime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.0.tgz", + "integrity": "sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/opts": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/opts/-/opts-2.0.2.tgz", + "integrity": "sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==", + "dev": true + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/require-relative": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", + "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/rollup": { + "version": "2.72.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.72.1.tgz", + "integrity": "sha512-NTc5UGy/NWFGpSqF1lFY8z9Adri6uhyMLI6LvPAXdBKoPRFhIIiBUpt+Qg2awixqO3xvzSijjhnb4+QEZwJmxA==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-css-only": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-css-only/-/rollup-plugin-css-only-3.1.0.tgz", + "integrity": "sha512-TYMOE5uoD76vpj+RTkQLzC9cQtbnJNktHPB507FzRWBVaofg7KhIqq1kGbcVOadARSozWF883Ho9KpSPKH8gqA==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "4" + }, + "engines": { + "node": ">=10.12.0" + }, + "peerDependencies": { + "rollup": "1 || 2" + } + }, + "node_modules/rollup-plugin-css-only/node_modules/@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/rollup-plugin-livereload": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/rollup-plugin-livereload/-/rollup-plugin-livereload-2.0.5.tgz", + "integrity": "sha512-vqQZ/UQowTW7VoiKEM5ouNW90wE5/GZLfdWuR0ELxyKOJUIaj+uismPZZaICU4DnWPVjnpCDDxEqwU7pcKY/PA==", + "dev": true, + "dependencies": { + "livereload": "^0.9.1" + }, + "engines": { + "node": ">=8.3" + } + }, + "node_modules/rollup-plugin-svelte": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.0.tgz", + "integrity": "sha512-vopCUq3G+25sKjwF5VilIbiY6KCuMNHP1PFvx2Vr3REBNMDllKHFZN2B9jwwC+MqNc3UPKkjXnceLPEjTjXGXg==", + "dev": true, + "dependencies": { + "require-relative": "^0.8.7", + "rollup-pluginutils": "^2.8.2" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "rollup": ">=2.0.0", + "svelte": ">=3.5.0" + } + }, + "node_modules/rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "node_modules/rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "dependencies": { + "estree-walker": "^0.6.1" + } + }, + "node_modules/rollup-pluginutils/node_modules/estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + }, + "node_modules/sade": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", + "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", + "dependencies": { + "mri": "^1.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/semiver": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz", + "integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/sirv": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.2.tgz", + "integrity": "sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==", + "dependencies": { + "@polka/url": "^1.0.0-next.20", + "mrmime": "^1.0.0", + "totalist": "^3.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/sirv-cli": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/sirv-cli/-/sirv-cli-2.0.2.tgz", + "integrity": "sha512-OtSJDwxsF1NWHc7ps3Sa0s+dPtP15iQNJzfKVz+MxkEo3z72mCD+yu30ct79rPr0CaV1HXSOBp+MIY5uIhHZ1A==", + "dependencies": { + "console-clear": "^1.1.0", + "get-port": "^3.2.0", + "kleur": "^4.1.4", + "local-access": "^1.0.1", + "sade": "^1.6.0", + "semiver": "^1.0.0", + "sirv": "^2.0.0", + "tinydate": "^1.0.0" + }, + "bin": { + "sirv": "bin.js" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/source-map": { + "version": "0.8.0-beta.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", + "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", + "dev": true, + "dependencies": { + "whatwg-url": "^7.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/svelte": { + "version": "3.48.0", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.48.0.tgz", + "integrity": "sha512-fN2YRm/bGumvjUpu6yI3BpvZnpIm9I6A7HR4oUNYd7ggYyIwSA/BX7DJ+UXXffLp6XNcUijyLvttbPVCYa/3xQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/terser": { + "version": "5.13.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz", + "integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==", + "dev": true, + "dependencies": { + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map": "~0.8.0-beta.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tinydate": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tinydate/-/tinydate-1.3.0.tgz", + "integrity": "sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/totalist": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.0.tgz", + "integrity": "sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/tr46": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", + "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", + "dev": true, + "dependencies": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "node_modules/ws": { + "version": "7.5.7", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz", + "integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==", + "dev": true, + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + } + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "dev": true + }, + "@babel/highlight": { + "version": "7.17.9", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz", + "integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@polka/url": { + "version": "1.0.0-next.21", + "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz", + "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==" + }, + "@rollup/plugin-commonjs": { + "version": "17.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", + "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.1.0", + "commondir": "^1.0.1", + "estree-walker": "^2.0.1", + "glob": "^7.1.6", + "is-reference": "^1.2.1", + "magic-string": "^0.25.7", + "resolve": "^1.17.0" + } + }, + "@rollup/plugin-node-resolve": { + "version": "11.2.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", + "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + } + }, + "@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "requires": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "dependencies": { + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + } + } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "@types/node": { + "version": "17.0.31", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", + "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==", + "dev": true + }, + "@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "builtin-modules": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", + "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "console-clear": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/console-clear/-/console-clear-1.1.1.tgz", + "integrity": "sha512-pMD+MVR538ipqkG5JXeOEbKWS5um1H4LUUccUQG68qpeqBYbzYy79Gh55jkd2TtPdRfUaLWdv6LPP//5Zt0aPQ==" + }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=" + }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "dev": true, + "requires": { + "@types/estree": "*" + } + }, + "jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "kleur": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", + "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==" + }, + "livereload": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.3.tgz", + "integrity": "sha512-q7Z71n3i4X0R9xthAryBdNGVGAO2R5X+/xXpmKeuPMrteg+W2U8VusTKV3YiJbXZwKsOlFlHe+go6uSNjfxrZw==", + "dev": true, + "requires": { + "chokidar": "^3.5.0", + "livereload-js": "^3.3.1", + "opts": ">= 1.2.0", + "ws": "^7.4.3" + } + }, + "livereload-js": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.4.0.tgz", + "integrity": "sha512-F/pz9ZZP+R+arY94cECTZco7PXgBXyL+KVWUPZq8AQE9TOu14GV6fYeKOviv02JCvFa4Oi3Rs1hYEpfeajc+ow==", + "dev": true + }, + "local-access": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/local-access/-/local-access-1.1.0.tgz", + "integrity": "sha512-XfegD5pyTAfb+GY6chk283Ox5z8WexG56OvM06RWLpAc/UHozO8X6xAxEkIitZOtsSMM1Yr3DkHgW5W+onLhCw==" + }, + "lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", + "dev": true + }, + "magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.8" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==" + }, + "mrmime": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.0.tgz", + "integrity": "sha512-a70zx7zFfVO7XpnQ2IX1Myh9yY4UYvfld/dikWRnsXxbyvMcfz+u6UfgNAtH+k2QqtJuzVpv6eLTx1G2+WKZbQ==" + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "opts": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/opts/-/opts-2.0.2.tgz", + "integrity": "sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "require-relative": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", + "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", + "dev": true + }, + "resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "dev": true, + "requires": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "rollup": { + "version": "2.72.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.72.1.tgz", + "integrity": "sha512-NTc5UGy/NWFGpSqF1lFY8z9Adri6uhyMLI6LvPAXdBKoPRFhIIiBUpt+Qg2awixqO3xvzSijjhnb4+QEZwJmxA==", + "dev": true, + "requires": { + "fsevents": "~2.3.2" + } + }, + "rollup-plugin-css-only": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-css-only/-/rollup-plugin-css-only-3.1.0.tgz", + "integrity": "sha512-TYMOE5uoD76vpj+RTkQLzC9cQtbnJNktHPB507FzRWBVaofg7KhIqq1kGbcVOadARSozWF883Ho9KpSPKH8gqA==", + "dev": true, + "requires": { + "@rollup/pluginutils": "4" + }, + "dependencies": { + "@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "requires": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + } + } + } + }, + "rollup-plugin-livereload": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/rollup-plugin-livereload/-/rollup-plugin-livereload-2.0.5.tgz", + "integrity": "sha512-vqQZ/UQowTW7VoiKEM5ouNW90wE5/GZLfdWuR0ELxyKOJUIaj+uismPZZaICU4DnWPVjnpCDDxEqwU7pcKY/PA==", + "dev": true, + "requires": { + "livereload": "^0.9.1" + } + }, + "rollup-plugin-svelte": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.0.tgz", + "integrity": "sha512-vopCUq3G+25sKjwF5VilIbiY6KCuMNHP1PFvx2Vr3REBNMDllKHFZN2B9jwwC+MqNc3UPKkjXnceLPEjTjXGXg==", + "dev": true, + "requires": { + "require-relative": "^0.8.7", + "rollup-pluginutils": "^2.8.2" + } + }, + "rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + } + }, + "rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "requires": { + "estree-walker": "^0.6.1" + }, + "dependencies": { + "estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + } + } + }, + "sade": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", + "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", + "requires": { + "mri": "^1.1.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "semiver": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz", + "integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==" + }, + "serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "sirv": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.2.tgz", + "integrity": "sha512-4Qog6aE29nIjAOKe/wowFTxOdmbEZKb+3tsLljaBRzJwtqto0BChD2zzH0LhgCSXiI+V7X+Y45v14wBZQ1TK3w==", + "requires": { + "@polka/url": "^1.0.0-next.20", + "mrmime": "^1.0.0", + "totalist": "^3.0.0" + } + }, + "sirv-cli": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/sirv-cli/-/sirv-cli-2.0.2.tgz", + "integrity": "sha512-OtSJDwxsF1NWHc7ps3Sa0s+dPtP15iQNJzfKVz+MxkEo3z72mCD+yu30ct79rPr0CaV1HXSOBp+MIY5uIhHZ1A==", + "requires": { + "console-clear": "^1.1.0", + "get-port": "^3.2.0", + "kleur": "^4.1.4", + "local-access": "^1.0.1", + "sade": "^1.6.0", + "semiver": "^1.0.0", + "sirv": "^2.0.0", + "tinydate": "^1.0.0" + } + }, + "source-map": { + "version": "0.8.0-beta.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", + "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", + "dev": true, + "requires": { + "whatwg-url": "^7.0.0" + } + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true + }, + "svelte": { + "version": "3.48.0", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.48.0.tgz", + "integrity": "sha512-fN2YRm/bGumvjUpu6yI3BpvZnpIm9I6A7HR4oUNYd7ggYyIwSA/BX7DJ+UXXffLp6XNcUijyLvttbPVCYa/3xQ==", + "dev": true + }, + "terser": { + "version": "5.13.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.13.1.tgz", + "integrity": "sha512-hn4WKOfwnwbYfe48NgrQjqNOH9jzLqRcIfbYytOXCOv46LBfWr9bDS17MQqOi+BWGD0sJK3Sj5NC/gJjiojaoA==", + "dev": true, + "requires": { + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map": "~0.8.0-beta.0", + "source-map-support": "~0.5.20" + } + }, + "tinydate": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/tinydate/-/tinydate-1.3.0.tgz", + "integrity": "sha512-7cR8rLy2QhYHpsBDBVYnnWXm8uRTr38RoZakFSW7Bs7PzfMPNZthuMLkwqZv7MTu8lhQ91cOFYS5a7iFj2oR3w==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "totalist": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.0.tgz", + "integrity": "sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==" + }, + "tr46": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", + "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true + }, + "whatwg-url": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", + "dev": true, + "requires": { + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "ws": { + "version": "7.5.7", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz", + "integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==", + "dev": true, + "requires": {} + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d5d6083 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "learndb", + "version": "1.0.0", + "private": true, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "build": "rollup -c", + "dev": "rollup -c -w", + "start": "sirv public --no-clear" + }, + "devDependencies": { + "@rollup/plugin-commonjs": "^17.0.0", + "@rollup/plugin-node-resolve": "^11.0.0", + "rollup": "^2.3.4", + "rollup-plugin-css-only": "^3.1.0", + "rollup-plugin-livereload": "^2.0.0", + "rollup-plugin-svelte": "^7.0.0", + "rollup-plugin-terser": "^7.0.0", + "svelte": "^3.0.0" + }, + "dependencies": { + "sirv-cli": "^2.0.0" + } +} diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000..a0f3d88 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,76 @@ +import svelte from 'rollup-plugin-svelte'; +import commonjs from '@rollup/plugin-commonjs'; +import resolve from '@rollup/plugin-node-resolve'; +import livereload from 'rollup-plugin-livereload'; +import { terser } from 'rollup-plugin-terser'; +import css from 'rollup-plugin-css-only'; + +const production = !process.env.ROLLUP_WATCH; + +function serve() { + let server; + + function toExit() { + if (server) server.kill(0); + } + + return { + writeBundle() { + if (server) return; + server = require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], { + stdio: ['ignore', 'inherit', 'inherit'], + shell: true + }); + + process.on('SIGTERM', toExit); + process.on('exit', toExit); + } + }; +} + +export default { + input: 'src/main.js', + output: { + sourcemap: true, + format: 'iife', + name: 'app', + file: 'static/bundle.js' + }, + plugins: [ + svelte({ + compilerOptions: { + // enable run-time checks when not in production + dev: !production + } + }), + // we'll extract any component CSS out into + // a separate file - better for performance + css({ output: 'bundle.css' }), + + // If you have external dependencies installed from + // npm, you'll most likely need these plugins. In + // some cases you'll need additional configuration - + // consult the documentation for details: + // https://github.com/rollup/plugins/tree/master/packages/commonjs + resolve({ + browser: true, + dedupe: ['svelte'] + }), + commonjs(), + + // In dev mode, call `npm run start` once + // the bundle has been generated + !production && serve(), + + // Watch the `public` directory and refresh the + // browser on changes when not in production + !production && livereload('public'), + + // If we're building for production (npm run build + // instead of npm run dev), minify + production && terser() + ], + watch: { + clearScreen: false + } +}; diff --git a/src/AdvancedSearch.svelte b/src/AdvancedSearch.svelte new file mode 100644 index 0000000..930d3c2 --- /dev/null +++ b/src/AdvancedSearch.svelte @@ -0,0 +1,82 @@ + + +
+ +
+ +
+
+ + + +
+ + {#if !query } + +
+ + +

Search for items, topics and creators

+

Quickly look for resources by running a global search.

+
+ + {:else if results.length > 0} + + +
    +
  • +

    Items

    + +
  • +
  • +

    Topics

    + +
  • +
+ + {:else} + + +
+ + +

No results found

+

We couldn’t find anything with that term. Please try again.

+
+ + {/if} +
+
+
\ No newline at end of file diff --git a/src/App.svelte b/src/App.svelte new file mode 100644 index 0000000..75a02ff --- /dev/null +++ b/src/App.svelte @@ -0,0 +1,64 @@ + + + + + + {#if currentView === "/home" || currentView === "/"} + + {:else if currentView === "/topics"} + + {:else if currentView.startsWith("/topic/")} + + {:else if currentView === "/formats"} + + {:else if currentView.startsWith("/format/")} + + {:else if currentView === "/courses"} + + {:else if currentView.startsWith("/item/")} + + {:else if currentView === "/search"} + + {/if} + \ No newline at end of file diff --git a/src/CourseDetail.svelte b/src/CourseDetail.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/CourseList.svelte b/src/CourseList.svelte new file mode 100644 index 0000000..bd92406 --- /dev/null +++ b/src/CourseList.svelte @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/Creator.svelte b/src/Creator.svelte new file mode 100644 index 0000000..bd92406 --- /dev/null +++ b/src/Creator.svelte @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/FormatDetail.svelte b/src/FormatDetail.svelte new file mode 100644 index 0000000..909c007 --- /dev/null +++ b/src/FormatDetail.svelte @@ -0,0 +1,21 @@ + + +
+
+

{format}

+
+
+ +{#each items as item} + +{/each} \ No newline at end of file diff --git a/src/FormatList.svelte b/src/FormatList.svelte new file mode 100644 index 0000000..b758ede --- /dev/null +++ b/src/FormatList.svelte @@ -0,0 +1,34 @@ + + +{#await dataPromise} +

Fetching data...

+{:then formats} + +
+ {#each formats as format} +
+

{ format.name }

+ +
+
+ +

and 37 more.

+ +
+ {/each} +
+ +{:catch error} +

{error.message}

+{/await} \ No newline at end of file diff --git a/src/Home.svelte b/src/Home.svelte new file mode 100644 index 0000000..ddee5b8 --- /dev/null +++ b/src/Home.svelte @@ -0,0 +1,37 @@ +
+
+
+

+ Coming soon + + Data to enrich your + online business + +

+

Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua ad ad non deserunt sunt.

+
+
+ +
+ +
+
+
+
\ No newline at end of file diff --git a/src/ItemCard.svelte b/src/ItemCard.svelte new file mode 100644 index 0000000..eb08493 --- /dev/null +++ b/src/ItemCard.svelte @@ -0,0 +1,9 @@ + + + + + + diff --git a/src/ItemDetail.svelte b/src/ItemDetail.svelte new file mode 100644 index 0000000..b541c82 --- /dev/null +++ b/src/ItemDetail.svelte @@ -0,0 +1,23 @@ + + +{#if item} +

{item.name}

+ + + + +{:else} +

loading...

+{/if} diff --git a/src/Review.svelte b/src/Review.svelte new file mode 100644 index 0000000..66e44a1 --- /dev/null +++ b/src/Review.svelte @@ -0,0 +1,5 @@ + + +review \ No newline at end of file diff --git a/src/TopicCard.svelte b/src/TopicCard.svelte new file mode 100644 index 0000000..60df1e6 --- /dev/null +++ b/src/TopicCard.svelte @@ -0,0 +1,22 @@ + + +
  • +
    {abbr}
    +
    +
    + {topic.display_name} +

    {topic.rowid} items

    +
    +
    + +
    +
    +
  • \ No newline at end of file diff --git a/src/TopicDetail.svelte b/src/TopicDetail.svelte new file mode 100644 index 0000000..89cd65a --- /dev/null +++ b/src/TopicDetail.svelte @@ -0,0 +1,23 @@ + + +
    +
    +

    {topic}

    +
    +
    + + +{#each items as item} + +{/each} diff --git a/src/TopicList.svelte b/src/TopicList.svelte new file mode 100644 index 0000000..66242d5 --- /dev/null +++ b/src/TopicList.svelte @@ -0,0 +1,50 @@ + + +{#await dataPromise} +

    Fetching data...

    +{:then topics} + +
    + {#each [...hierarchy(topics).keys()] as parent} +
    +

    { parent.display_name }

    + +
    + {#each hierarchy(topics).get(parent) as child} + {child.display_name} + {/each} +
    + +

    and 37 more.

    + +
    + {/each} +
    + +{:catch error} +

    {error.message}

    +{/await} diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..34ffcc3 --- /dev/null +++ b/src/main.js @@ -0,0 +1,5 @@ +import App from './App.svelte'; + +new App({ + target: document.querySelector('#app'), +}); \ No newline at end of file diff --git a/src/tailwindui/AppShell.svelte b/src/tailwindui/AppShell.svelte new file mode 100644 index 0000000..24b2137 --- /dev/null +++ b/src/tailwindui/AppShell.svelte @@ -0,0 +1,134 @@ + + +
    + + {#if isNavDrawerOpen} + + {/if} + + + +
    +
    + +
    + {#if showNotificationBell || showProfileMenu} +
    + {#if showNotificationBell} + + {/if} + + {#if showProfileMenu}{/if} +
    + {/if} +
    +
    + +
    +
    +
    + +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/src/tailwindui/Icon.svelte b/src/tailwindui/Icon.svelte new file mode 100644 index 0000000..d4cb4fb --- /dev/null +++ b/src/tailwindui/Icon.svelte @@ -0,0 +1,31 @@ + + +{#if kind === 'home'} + + +{:else if kind === "menu"} + + +{:else if kind === "bell"} + + +{:else if kind === "search"} + + +{:else if kind === "dots"} + + +{/if} \ No newline at end of file diff --git a/src/tailwindui/MenuButton.svelte b/src/tailwindui/MenuButton.svelte new file mode 100644 index 0000000..4f4fa06 --- /dev/null +++ b/src/tailwindui/MenuButton.svelte @@ -0,0 +1,28 @@ + +
    +
    + +
    + + + +
    \ No newline at end of file diff --git a/src/tailwindui/SearchForm.svelte b/src/tailwindui/SearchForm.svelte new file mode 100644 index 0000000..13fc826 --- /dev/null +++ b/src/tailwindui/SearchForm.svelte @@ -0,0 +1,38 @@ + + +
    + +
    +
    + +
    + +
    +
    + +
      +
    • +

      Clients

      +
        + +
      • Workflow Inc.
      • +
      • Multinational LLC.
      • +
      +
    • +
    • +

      Projects

      +
        + +
      • Workflow Inc. / Website Redesign
      • +
      • Multinational LLC. / Animation
      • +
      +
    • +
    \ No newline at end of file diff --git a/src/tailwindui/index.js b/src/tailwindui/index.js new file mode 100644 index 0000000..bcfb14f --- /dev/null +++ b/src/tailwindui/index.js @@ -0,0 +1,3 @@ +export {default as Icon} from './Icon.svelte' +export {default as MenuButton} from './MenuButton.svelte' +export {default as AppShell} from './AppShell.svelte' \ No newline at end of file diff --git a/static/bundle.css b/static/bundle.css new file mode 100644 index 0000000..438f493 --- /dev/null +++ b/static/bundle.css @@ -0,0 +1 @@ +h1.svelte-b0hmqh{background-color:yellow} \ No newline at end of file diff --git a/static/bundle.js b/static/bundle.js new file mode 100644 index 0000000..4b6f48b --- /dev/null +++ b/static/bundle.js @@ -0,0 +1,5535 @@ + +(function(l, r) { if (!l || l.getElementById('livereloadscript')) return; r = l.createElement('script'); r.async = 1; r.src = '//' + (self.location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1'; r.id = 'livereloadscript'; l.getElementsByTagName('head')[0].appendChild(r) })(self.document); +(function () { + 'use strict'; + + function noop() { } + function assign(tar, src) { + // @ts-ignore + for (const k in src) + tar[k] = src[k]; + return tar; + } + function is_promise(value) { + return value && typeof value === 'object' && typeof value.then === 'function'; + } + function add_location(element, file, line, column, char) { + element.__svelte_meta = { + loc: { file, line, column, char } + }; + } + function run(fn) { + return fn(); + } + function blank_object() { + return Object.create(null); + } + function run_all(fns) { + fns.forEach(run); + } + function is_function(thing) { + return typeof thing === 'function'; + } + function safe_not_equal(a, b) { + return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function'); + } + let src_url_equal_anchor; + function src_url_equal(element_src, url) { + if (!src_url_equal_anchor) { + src_url_equal_anchor = document.createElement('a'); + } + src_url_equal_anchor.href = url; + return element_src === src_url_equal_anchor.href; + } + function is_empty(obj) { + return Object.keys(obj).length === 0; + } + function create_slot(definition, ctx, $$scope, fn) { + if (definition) { + const slot_ctx = get_slot_context(definition, ctx, $$scope, fn); + return definition[0](slot_ctx); + } + } + function get_slot_context(definition, ctx, $$scope, fn) { + return definition[1] && fn + ? assign($$scope.ctx.slice(), definition[1](fn(ctx))) + : $$scope.ctx; + } + function get_slot_changes(definition, $$scope, dirty, fn) { + if (definition[2] && fn) { + const lets = definition[2](fn(dirty)); + if ($$scope.dirty === undefined) { + return lets; + } + if (typeof lets === 'object') { + const merged = []; + const len = Math.max($$scope.dirty.length, lets.length); + for (let i = 0; i < len; i += 1) { + merged[i] = $$scope.dirty[i] | lets[i]; + } + return merged; + } + return $$scope.dirty | lets; + } + return $$scope.dirty; + } + function update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) { + if (slot_changes) { + const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn); + slot.p(slot_context, slot_changes); + } + } + function get_all_dirty_from_scope($$scope) { + if ($$scope.ctx.length > 32) { + const dirty = []; + const length = $$scope.ctx.length / 32; + for (let i = 0; i < length; i++) { + dirty[i] = -1; + } + return dirty; + } + return -1; + } + function append(target, node) { + target.appendChild(node); + } + function insert(target, node, anchor) { + target.insertBefore(node, anchor || null); + } + function detach(node) { + node.parentNode.removeChild(node); + } + function destroy_each(iterations, detaching) { + for (let i = 0; i < iterations.length; i += 1) { + if (iterations[i]) + iterations[i].d(detaching); + } + } + function element(name) { + return document.createElement(name); + } + function svg_element(name) { + return document.createElementNS('http://www.w3.org/2000/svg', name); + } + function text(data) { + return document.createTextNode(data); + } + function space() { + return text(' '); + } + function empty() { + return text(''); + } + function listen(node, event, handler, options) { + node.addEventListener(event, handler, options); + return () => node.removeEventListener(event, handler, options); + } + function prevent_default(fn) { + return function (event) { + event.preventDefault(); + // @ts-ignore + return fn.call(this, event); + }; + } + function attr(node, attribute, value) { + if (value == null) + node.removeAttribute(attribute); + else if (node.getAttribute(attribute) !== value) + node.setAttribute(attribute, value); + } + function children(element) { + return Array.from(element.childNodes); + } + function set_input_value(input, value) { + input.value = value == null ? '' : value; + } + function set_style(node, key, value, important) { + if (value === null) { + node.style.removeProperty(key); + } + else { + node.style.setProperty(key, value, important ? 'important' : ''); + } + } + function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) { + const e = document.createEvent('CustomEvent'); + e.initCustomEvent(type, bubbles, cancelable, detail); + return e; + } + + let current_component; + function set_current_component(component) { + current_component = component; + } + function get_current_component() { + if (!current_component) + throw new Error('Function called outside component initialization'); + return current_component; + } + function onMount(fn) { + get_current_component().$$.on_mount.push(fn); + } + + const dirty_components = []; + const binding_callbacks = []; + const render_callbacks = []; + const flush_callbacks = []; + const resolved_promise = Promise.resolve(); + let update_scheduled = false; + function schedule_update() { + if (!update_scheduled) { + update_scheduled = true; + resolved_promise.then(flush); + } + } + function add_render_callback(fn) { + render_callbacks.push(fn); + } + // flush() calls callbacks in this order: + // 1. All beforeUpdate callbacks, in order: parents before children + // 2. All bind:this callbacks, in reverse order: children before parents. + // 3. All afterUpdate callbacks, in order: parents before children. EXCEPT + // for afterUpdates called during the initial onMount, which are called in + // reverse order: children before parents. + // Since callbacks might update component values, which could trigger another + // call to flush(), the following steps guard against this: + // 1. During beforeUpdate, any updated components will be added to the + // dirty_components array and will cause a reentrant call to flush(). Because + // the flush index is kept outside the function, the reentrant call will pick + // up where the earlier call left off and go through all dirty components. The + // current_component value is saved and restored so that the reentrant call will + // not interfere with the "parent" flush() call. + // 2. bind:this callbacks cannot trigger new flush() calls. + // 3. During afterUpdate, any updated components will NOT have their afterUpdate + // callback called a second time; the seen_callbacks set, outside the flush() + // function, guarantees this behavior. + const seen_callbacks = new Set(); + let flushidx = 0; // Do *not* move this inside the flush() function + function flush() { + const saved_component = current_component; + do { + // first, call beforeUpdate functions + // and update components + while (flushidx < dirty_components.length) { + const component = dirty_components[flushidx]; + flushidx++; + set_current_component(component); + update(component.$$); + } + set_current_component(null); + dirty_components.length = 0; + flushidx = 0; + while (binding_callbacks.length) + binding_callbacks.pop()(); + // then, once components are updated, call + // afterUpdate functions. This may cause + // subsequent updates... + for (let i = 0; i < render_callbacks.length; i += 1) { + const callback = render_callbacks[i]; + if (!seen_callbacks.has(callback)) { + // ...so guard against infinite loops + seen_callbacks.add(callback); + callback(); + } + } + render_callbacks.length = 0; + } while (dirty_components.length); + while (flush_callbacks.length) { + flush_callbacks.pop()(); + } + update_scheduled = false; + seen_callbacks.clear(); + set_current_component(saved_component); + } + function update($$) { + if ($$.fragment !== null) { + $$.update(); + run_all($$.before_update); + const dirty = $$.dirty; + $$.dirty = [-1]; + $$.fragment && $$.fragment.p($$.ctx, dirty); + $$.after_update.forEach(add_render_callback); + } + } + const outroing = new Set(); + let outros; + function group_outros() { + outros = { + r: 0, + c: [], + p: outros // parent group + }; + } + function check_outros() { + if (!outros.r) { + run_all(outros.c); + } + outros = outros.p; + } + function transition_in(block, local) { + if (block && block.i) { + outroing.delete(block); + block.i(local); + } + } + function transition_out(block, local, detach, callback) { + if (block && block.o) { + if (outroing.has(block)) + return; + outroing.add(block); + outros.c.push(() => { + outroing.delete(block); + if (callback) { + if (detach) + block.d(1); + callback(); + } + }); + block.o(local); + } + } + + function handle_promise(promise, info) { + const token = info.token = {}; + function update(type, index, key, value) { + if (info.token !== token) + return; + info.resolved = value; + let child_ctx = info.ctx; + if (key !== undefined) { + child_ctx = child_ctx.slice(); + child_ctx[key] = value; + } + const block = type && (info.current = type)(child_ctx); + let needs_flush = false; + if (info.block) { + if (info.blocks) { + info.blocks.forEach((block, i) => { + if (i !== index && block) { + group_outros(); + transition_out(block, 1, 1, () => { + if (info.blocks[i] === block) { + info.blocks[i] = null; + } + }); + check_outros(); + } + }); + } + else { + info.block.d(1); + } + block.c(); + transition_in(block, 1); + block.m(info.mount(), info.anchor); + needs_flush = true; + } + info.block = block; + if (info.blocks) + info.blocks[index] = block; + if (needs_flush) { + flush(); + } + } + if (is_promise(promise)) { + const current_component = get_current_component(); + promise.then(value => { + set_current_component(current_component); + update(info.then, 1, info.value, value); + set_current_component(null); + }, error => { + set_current_component(current_component); + update(info.catch, 2, info.error, error); + set_current_component(null); + if (!info.hasCatch) { + throw error; + } + }); + // if we previously had a then/catch block, destroy it + if (info.current !== info.pending) { + update(info.pending, 0); + return true; + } + } + else { + if (info.current !== info.then) { + update(info.then, 1, info.value, promise); + return true; + } + info.resolved = promise; + } + } + function update_await_block_branch(info, ctx, dirty) { + const child_ctx = ctx.slice(); + const { resolved } = info; + if (info.current === info.then) { + child_ctx[info.value] = resolved; + } + if (info.current === info.catch) { + child_ctx[info.error] = resolved; + } + info.block.p(child_ctx, dirty); + } + + const globals = (typeof window !== 'undefined' + ? window + : typeof globalThis !== 'undefined' + ? globalThis + : global); + function create_component(block) { + block && block.c(); + } + function mount_component(component, target, anchor, customElement) { + const { fragment, on_mount, on_destroy, after_update } = component.$$; + fragment && fragment.m(target, anchor); + if (!customElement) { + // onMount happens before the initial afterUpdate + add_render_callback(() => { + const new_on_destroy = on_mount.map(run).filter(is_function); + if (on_destroy) { + on_destroy.push(...new_on_destroy); + } + else { + // Edge case - component was destroyed immediately, + // most likely as a result of a binding initialising + run_all(new_on_destroy); + } + component.$$.on_mount = []; + }); + } + after_update.forEach(add_render_callback); + } + function destroy_component(component, detaching) { + const $$ = component.$$; + if ($$.fragment !== null) { + run_all($$.on_destroy); + $$.fragment && $$.fragment.d(detaching); + // TODO null out other refs, including component.$$ (but need to + // preserve final state?) + $$.on_destroy = $$.fragment = null; + $$.ctx = []; + } + } + function make_dirty(component, i) { + if (component.$$.dirty[0] === -1) { + dirty_components.push(component); + schedule_update(); + component.$$.dirty.fill(0); + } + component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31)); + } + function init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) { + const parent_component = current_component; + set_current_component(component); + const $$ = component.$$ = { + fragment: null, + ctx: null, + // state + props, + update: noop, + not_equal, + bound: blank_object(), + // lifecycle + on_mount: [], + on_destroy: [], + on_disconnect: [], + before_update: [], + after_update: [], + context: new Map(options.context || (parent_component ? parent_component.$$.context : [])), + // everything else + callbacks: blank_object(), + dirty, + skip_bound: false, + root: options.target || parent_component.$$.root + }; + append_styles && append_styles($$.root); + let ready = false; + $$.ctx = instance + ? instance(component, options.props || {}, (i, ret, ...rest) => { + const value = rest.length ? rest[0] : ret; + if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) { + if (!$$.skip_bound && $$.bound[i]) + $$.bound[i](value); + if (ready) + make_dirty(component, i); + } + return ret; + }) + : []; + $$.update(); + ready = true; + run_all($$.before_update); + // `false` as a special case of no DOM component + $$.fragment = create_fragment ? create_fragment($$.ctx) : false; + if (options.target) { + if (options.hydrate) { + const nodes = children(options.target); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.l(nodes); + nodes.forEach(detach); + } + else { + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + $$.fragment && $$.fragment.c(); + } + if (options.intro) + transition_in(component.$$.fragment); + mount_component(component, options.target, options.anchor, options.customElement); + flush(); + } + set_current_component(parent_component); + } + /** + * Base class for Svelte components. Used when dev=false. + */ + class SvelteComponent { + $destroy() { + destroy_component(this, 1); + this.$destroy = noop; + } + $on(type, callback) { + const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = [])); + callbacks.push(callback); + return () => { + const index = callbacks.indexOf(callback); + if (index !== -1) + callbacks.splice(index, 1); + }; + } + $set($$props) { + if (this.$$set && !is_empty($$props)) { + this.$$.skip_bound = true; + this.$$set($$props); + this.$$.skip_bound = false; + } + } + } + + function dispatch_dev(type, detail) { + document.dispatchEvent(custom_event(type, Object.assign({ version: '3.48.0' }, detail), { bubbles: true })); + } + function append_dev(target, node) { + dispatch_dev('SvelteDOMInsert', { target, node }); + append(target, node); + } + function insert_dev(target, node, anchor) { + dispatch_dev('SvelteDOMInsert', { target, node, anchor }); + insert(target, node, anchor); + } + function detach_dev(node) { + dispatch_dev('SvelteDOMRemove', { node }); + detach(node); + } + function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) { + const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : []; + if (has_prevent_default) + modifiers.push('preventDefault'); + if (has_stop_propagation) + modifiers.push('stopPropagation'); + dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers }); + const dispose = listen(node, event, handler, options); + return () => { + dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers }); + dispose(); + }; + } + function attr_dev(node, attribute, value) { + attr(node, attribute, value); + if (value == null) + dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute }); + else + dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value }); + } + function set_data_dev(text, data) { + data = '' + data; + if (text.wholeText === data) + return; + dispatch_dev('SvelteDOMSetData', { node: text, data }); + text.data = data; + } + function validate_each_argument(arg) { + if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) { + let msg = '{#each} only iterates over array-like objects.'; + if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) { + msg += ' You can use a spread to convert this iterable into an array.'; + } + throw new Error(msg); + } + } + function validate_slots(name, slot, keys) { + for (const slot_key of Object.keys(slot)) { + if (!~keys.indexOf(slot_key)) { + console.warn(`<${name}> received an unexpected slot "${slot_key}".`); + } + } + } + /** + * Base class for Svelte components with some minor dev-enhancements. Used when dev=true. + */ + class SvelteComponentDev extends SvelteComponent { + constructor(options) { + if (!options || (!options.target && !options.$$inline)) { + throw new Error("'target' is a required option"); + } + super(); + } + $destroy() { + super.$destroy(); + this.$destroy = () => { + console.warn('Component was already destroyed'); // eslint-disable-line no-console + }; + } + $capture_state() { } + $inject_state() { } + } + + /* src/tailwindui/Icon.svelte generated by Svelte v3.48.0 */ + + const file$c = "src/tailwindui/Icon.svelte"; + + // (26:26) + function create_if_block_4$1(ctx) { + let svg; + let path; + + const block = { + c: function create() { + svg = svg_element("svg"); + path = svg_element("path"); + attr_dev(path, "d", "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"); + add_location(path, file$c, 28, 12, 1934); + attr_dev(svg, "class", "w-5 h-5"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "viewBox", "0 0 20 20"); + attr_dev(svg, "fill", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file$c, 27, 10, 1806); + }, + m: function mount(target, anchor) { + insert_dev(target, svg, anchor); + append_dev(svg, path); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(svg); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_4$1.name, + type: "if", + source: "(26:26) ", + ctx + }); + + return block; + } + + // (21:28) + function create_if_block_3$2(ctx) { + let svg; + let path; + + const block = { + c: function create() { + svg = svg_element("svg"); + path = svg_element("path"); + attr_dev(path, "fill-rule", "evenodd"); + attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"); + attr_dev(path, "clip-rule", "evenodd"); + add_location(path, file$c, 23, 8, 1538); + attr_dev(svg, "class", "h-5 w-5"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "viewBox", "0 0 20 20"); + attr_dev(svg, "fill", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file$c, 22, 4, 1414); + }, + m: function mount(target, anchor) { + insert_dev(target, svg, anchor); + append_dev(svg, path); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(svg); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_3$2.name, + type: "if", + source: "(21:28) ", + ctx + }); + + return block; + } + + // (16:26) + function create_if_block_2$2(ctx) { + let svg; + let path; + + const block = { + c: function create() { + svg = svg_element("svg"); + path = svg_element("path"); + attr_dev(path, "stroke-linecap", "round"); + attr_dev(path, "stroke-linejoin", "round"); + attr_dev(path, "d", "M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"); + add_location(path, file$c, 18, 8, 1079); + attr_dev(svg, "class", "h-6 w-6"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "fill", "none"); + attr_dev(svg, "viewBox", "0 0 24 24"); + attr_dev(svg, "stroke-width", "2"); + attr_dev(svg, "stroke", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file$c, 17, 4, 924); + }, + m: function mount(target, anchor) { + insert_dev(target, svg, anchor); + append_dev(svg, path); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(svg); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_2$2.name, + type: "if", + source: "(16:26) ", + ctx + }); + + return block; + } + + // (11:26) + function create_if_block_1$3(ctx) { + let svg; + let path; + + const block = { + c: function create() { + svg = svg_element("svg"); + path = svg_element("path"); + attr_dev(path, "stroke-linecap", "round"); + attr_dev(path, "stroke-linejoin", "round"); + attr_dev(path, "d", "M4 6h16M4 12h16M4 18h7"); + add_location(path, file$c, 13, 4, 760); + attr_dev(svg, "class", "h-6 w-6"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "fill", "none"); + attr_dev(svg, "viewBox", "0 0 24 24"); + attr_dev(svg, "stroke-width", "2"); + attr_dev(svg, "stroke", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file$c, 12, 2, 609); + }, + m: function mount(target, anchor) { + insert_dev(target, svg, anchor); + append_dev(svg, path); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(svg); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_1$3.name, + type: "if", + source: "(11:26) ", + ctx + }); + + return block; + } + + // (6:0) {#if kind === 'home'} + function create_if_block$4(ctx) { + let svg; + let path; + + const block = { + c: function create() { + svg = svg_element("svg"); + path = svg_element("path"); + attr_dev(path, "stroke-linecap", "round"); + attr_dev(path, "stroke-linejoin", "round"); + attr_dev(path, "d", "M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"); + add_location(path, file$c, 8, 8, 319); + attr_dev(svg, "class", "mr-4 flex-shrink-0 h-6 w-6 text-indigo-300"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "fill", "none"); + attr_dev(svg, "viewBox", "0 0 24 24"); + attr_dev(svg, "stroke-width", "2"); + attr_dev(svg, "stroke", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file$c, 7, 4, 129); + }, + m: function mount(target, anchor) { + insert_dev(target, svg, anchor); + append_dev(svg, path); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(svg); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block$4.name, + type: "if", + source: "(6:0) {#if kind === 'home'}", + ctx + }); + + return block; + } + + function create_fragment$e(ctx) { + let if_block_anchor; + + function select_block_type(ctx, dirty) { + if (/*kind*/ ctx[0] === 'home') return create_if_block$4; + if (/*kind*/ ctx[0] === "menu") return create_if_block_1$3; + if (/*kind*/ ctx[0] === "bell") return create_if_block_2$2; + if (/*kind*/ ctx[0] === "search") return create_if_block_3$2; + if (/*kind*/ ctx[0] === "dots") return create_if_block_4$1; + } + + let current_block_type = select_block_type(ctx); + let if_block = current_block_type && current_block_type(ctx); + + const block = { + c: function create() { + if (if_block) if_block.c(); + if_block_anchor = empty(); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + if (if_block) if_block.m(target, anchor); + insert_dev(target, if_block_anchor, anchor); + }, + p: function update(ctx, [dirty]) { + if (current_block_type !== (current_block_type = select_block_type(ctx))) { + if (if_block) if_block.d(1); + if_block = current_block_type && current_block_type(ctx); + + if (if_block) { + if_block.c(); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if (if_block) { + if_block.d(detaching); + } + + if (detaching) detach_dev(if_block_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$e.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$e($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('Icon', slots, []); + let { kind } = $$props; + let { size } = $$props; + const writable_props = ['kind', 'size']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ('kind' in $$props) $$invalidate(0, kind = $$props.kind); + if ('size' in $$props) $$invalidate(1, size = $$props.size); + }; + + $$self.$capture_state = () => ({ kind, size }); + + $$self.$inject_state = $$props => { + if ('kind' in $$props) $$invalidate(0, kind = $$props.kind); + if ('size' in $$props) $$invalidate(1, size = $$props.size); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [kind, size]; + } + + class Icon extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$e, create_fragment$e, safe_not_equal, { kind: 0, size: 1 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Icon", + options, + id: create_fragment$e.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*kind*/ ctx[0] === undefined && !('kind' in props)) { + console.warn(" was created without expected prop 'kind'"); + } + + if (/*size*/ ctx[1] === undefined && !('size' in props)) { + console.warn(" was created without expected prop 'size'"); + } + } + + get kind() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set kind(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get size() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set size(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/tailwindui/MenuButton.svelte generated by Svelte v3.48.0 */ + + const file$b = "src/tailwindui/MenuButton.svelte"; + + function create_fragment$d(ctx) { + let div2; + let div0; + let button; + let span; + let t1; + let img; + let img_src_value; + let t2; + let div1; + let a0; + let t4; + let a1; + let t6; + let a2; + + const block = { + c: function create() { + div2 = element("div"); + div0 = element("div"); + button = element("button"); + span = element("span"); + span.textContent = "Open user menu"; + t1 = space(); + img = element("img"); + t2 = space(); + div1 = element("div"); + a0 = element("a"); + a0.textContent = "Your Profile"; + t4 = space(); + a1 = element("a"); + a1.textContent = "Settings"; + t6 = space(); + a2 = element("a"); + a2.textContent = "Sign out"; + attr_dev(span, "class", "sr-only"); + add_location(span, file$b, 4, 20, 365); + attr_dev(img, "class", "h-8 w-8 rounded-full"); + if (!src_url_equal(img.src, img_src_value = "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80")) attr_dev(img, "src", img_src_value); + attr_dev(img, "alt", ""); + add_location(img, file$b, 5, 20, 429); + attr_dev(button, "type", "button"); + attr_dev(button, "class", "max-w-xs bg-white flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"); + attr_dev(button, "id", "user-menu-button"); + attr_dev(button, "aria-expanded", "false"); + attr_dev(button, "aria-haspopup", "true"); + add_location(button, file$b, 3, 18, 118); + add_location(div0, file$b, 2, 16, 94); + attr_dev(a0, "href", "#"); + attr_dev(a0, "class", "block px-4 py-2 text-sm text-gray-700"); + attr_dev(a0, "role", "menuitem"); + attr_dev(a0, "tabindex", "-1"); + attr_dev(a0, "id", "user-menu-item-0"); + add_location(a0, file$b, 21, 18, 1483); + attr_dev(a1, "href", "#"); + attr_dev(a1, "class", "block px-4 py-2 text-sm text-gray-700"); + attr_dev(a1, "role", "menuitem"); + attr_dev(a1, "tabindex", "-1"); + attr_dev(a1, "id", "user-menu-item-1"); + add_location(a1, file$b, 23, 18, 1633); + attr_dev(a2, "href", "#"); + attr_dev(a2, "class", "block px-4 py-2 text-sm text-gray-700"); + attr_dev(a2, "role", "menuitem"); + attr_dev(a2, "tabindex", "-1"); + attr_dev(a2, "id", "user-menu-item-2"); + add_location(a2, file$b, 25, 18, 1779); + attr_dev(div1, "class", "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"); + attr_dev(div1, "role", "menu"); + attr_dev(div1, "aria-orientation", "vertical"); + attr_dev(div1, "aria-labelledby", "user-menu-button"); + attr_dev(div1, "tabindex", "-1"); + add_location(div1, file$b, 19, 16, 1166); + attr_dev(div2, "class", "ml-3 relative"); + add_location(div2, file$b, 1, 12, 50); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, div2, anchor); + append_dev(div2, div0); + append_dev(div0, button); + append_dev(button, span); + append_dev(button, t1); + append_dev(button, img); + append_dev(div2, t2); + append_dev(div2, div1); + append_dev(div1, a0); + append_dev(div1, t4); + append_dev(div1, a1); + append_dev(div1, t6); + append_dev(div1, a2); + }, + p: noop, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(div2); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$d.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$d($$self, $$props) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('MenuButton', slots, []); + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + return []; + } + + class MenuButton extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$d, create_fragment$d, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "MenuButton", + options, + id: create_fragment$d.name + }); + } + } + + /* src/tailwindui/SearchForm.svelte generated by Svelte v3.48.0 */ + + const { console: console_1 } = globals; + const file$a = "src/tailwindui/SearchForm.svelte"; + + function create_fragment$c(ctx) { + let form; + let label; + let t1; + let div1; + let div0; + let icon; + let t2; + let input; + let t3; + let ul2; + let li2; + let h20; + let t5; + let ul0; + let li0; + let t7; + let li1; + let t9; + let li5; + let h21; + let t11; + let ul1; + let li3; + let t13; + let li4; + let current; + let mounted; + let dispose; + + icon = new Icon({ + props: { kind: "search" }, + $$inline: true + }); + + const block = { + c: function create() { + form = element("form"); + label = element("label"); + label.textContent = "Search"; + t1 = space(); + div1 = element("div"); + div0 = element("div"); + create_component(icon.$$.fragment); + t2 = space(); + input = element("input"); + t3 = space(); + ul2 = element("ul"); + li2 = element("li"); + h20 = element("h2"); + h20.textContent = "Clients"; + t5 = space(); + ul0 = element("ul"); + li0 = element("li"); + li0.textContent = "Workflow Inc."; + t7 = space(); + li1 = element("li"); + li1.textContent = "Multinational LLC."; + t9 = space(); + li5 = element("li"); + h21 = element("h2"); + h21.textContent = "Projects"; + t11 = space(); + ul1 = element("ul"); + li3 = element("li"); + li3.textContent = "Workflow Inc. / Website Redesign"; + t13 = space(); + li4 = element("li"); + li4.textContent = "Multinational LLC. / Animation"; + attr_dev(label, "for", "search-field"); + attr_dev(label, "class", "sr-only"); + add_location(label, file$a, 11, 4, 226); + attr_dev(div0, "class", "absolute inset-y-0 left-0 flex items-center pointer-events-none"); + add_location(div0, file$a, 13, 6, 364); + attr_dev(input, "class", "block w-full h-full pl-8 pr-3 py-2 border-transparent text-gray-900 placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-0 focus:border-transparent sm:text-sm"); + attr_dev(input, "placeholder", "Search"); + attr_dev(input, "type", "search"); + attr_dev(input, "name", "search"); + add_location(input, file$a, 16, 6, 493); + attr_dev(div1, "class", "relative w-full text-gray-400 focus-within:text-gray-600"); + add_location(div1, file$a, 12, 4, 287); + attr_dev(form, "class", "w-full flex md:ml-0"); + add_location(form, file$a, 10, 0, 147); + attr_dev(h20, "class", "bg-gray-100 py-2.5 px-4 text-xs font-semibold text-gray-900"); + add_location(h20, file$a, 22, 4, 898); + attr_dev(li0, "class", "cursor-default select-none px-4 py-2"); + attr_dev(li0, "id", "option-1"); + attr_dev(li0, "role", "option"); + attr_dev(li0, "tabindex", "-1"); + add_location(li0, file$a, 25, 6, 1083); + attr_dev(li1, "class", "cursor-default select-none px-4 py-2"); + attr_dev(li1, "id", "option-2"); + attr_dev(li1, "role", "option"); + attr_dev(li1, "tabindex", "-1"); + add_location(li1, file$a, 26, 6, 1199); + attr_dev(ul0, "class", "mt-2 text-sm text-gray-800"); + add_location(ul0, file$a, 23, 4, 987); + add_location(li2, file$a, 21, 2, 889); + attr_dev(h21, "class", "bg-gray-100 py-2.5 px-4 text-xs font-semibold text-gray-900"); + add_location(h21, file$a, 30, 4, 1343); + attr_dev(li3, "class", "cursor-default select-none px-4 py-2"); + attr_dev(li3, "id", "option-3"); + attr_dev(li3, "role", "option"); + attr_dev(li3, "tabindex", "-1"); + add_location(li3, file$a, 33, 6, 1529); + attr_dev(li4, "class", "cursor-default select-none px-4 py-2"); + attr_dev(li4, "id", "option-3"); + attr_dev(li4, "role", "option"); + attr_dev(li4, "tabindex", "-1"); + add_location(li4, file$a, 34, 6, 1664); + attr_dev(ul1, "class", "mt-2 text-sm text-gray-800"); + add_location(ul1, file$a, 31, 4, 1433); + add_location(li5, file$a, 29, 2, 1334); + attr_dev(ul2, "class", "max-h-80 scroll-pt-11 scroll-pb-2 space-y-2 overflow-y-auto pb-2"); + attr_dev(ul2, "id", "options"); + attr_dev(ul2, "role", "listbox"); + add_location(ul2, file$a, 20, 0, 781); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, form, anchor); + append_dev(form, label); + append_dev(form, t1); + append_dev(form, div1); + append_dev(div1, div0); + mount_component(icon, div0, null); + append_dev(div1, t2); + append_dev(div1, input); + set_input_value(input, /*query*/ ctx[0]); + insert_dev(target, t3, anchor); + insert_dev(target, ul2, anchor); + append_dev(ul2, li2); + append_dev(li2, h20); + append_dev(li2, t5); + append_dev(li2, ul0); + append_dev(ul0, li0); + append_dev(ul0, t7); + append_dev(ul0, li1); + append_dev(ul2, t9); + append_dev(ul2, li5); + append_dev(li5, h21); + append_dev(li5, t11); + append_dev(li5, ul1); + append_dev(ul1, li3); + append_dev(ul1, t13); + append_dev(ul1, li4); + current = true; + + if (!mounted) { + dispose = [ + listen_dev(input, "input", /*input_input_handler*/ ctx[2]), + listen_dev(form, "submit", prevent_default(/*handleSubmit*/ ctx[1]), false, true, false) + ]; + + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + if (dirty & /*query*/ 1) { + set_input_value(input, /*query*/ ctx[0]); + } + }, + i: function intro(local) { + if (current) return; + transition_in(icon.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(icon.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(form); + destroy_component(icon); + if (detaching) detach_dev(t3); + if (detaching) detach_dev(ul2); + mounted = false; + run_all(dispose); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$c.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$c($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('SearchForm', slots, []); + let query; + let results = []; + + function handleSubmit(ev) { + console.log({ query }); + } + + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console_1.warn(` was created with unknown prop '${key}'`); + }); + + function input_input_handler() { + query = this.value; + $$invalidate(0, query); + } + + $$self.$capture_state = () => ({ Icon, query, results, handleSubmit }); + + $$self.$inject_state = $$props => { + if ('query' in $$props) $$invalidate(0, query = $$props.query); + if ('results' in $$props) results = $$props.results; + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [query, handleSubmit, input_input_handler]; + } + + class SearchForm extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$c, create_fragment$c, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "SearchForm", + options, + id: create_fragment$c.name + }); + } + } + + /* src/tailwindui/AppShell.svelte generated by Svelte v3.48.0 */ + const file$9 = "src/tailwindui/AppShell.svelte"; + + function get_each_context$5(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[8] = list[i].text; + child_ctx[9] = list[i].link; + child_ctx[10] = list[i].icon; + child_ctx[12] = i; + return child_ctx; + } + + function get_each_context_1$2(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[8] = list[i].text; + child_ctx[9] = list[i].link; + child_ctx[10] = list[i].icon; + child_ctx[12] = i; + return child_ctx; + } + + // (14:4) {#if isNavDrawerOpen} + function create_if_block_3$1(ctx) { + let div7; + let div0; + let t0; + let div6; + let div4; + let div1; + let button; + let span; + let t2; + let svg; + let path; + let t3; + let div2; + let a; + let t5; + let div3; + let nav; + let t6; + let div5; + let current; + let mounted; + let dispose; + let each_value_1 = /*sidebarItems*/ ctx[0]; + validate_each_argument(each_value_1); + let each_blocks = []; + + for (let i = 0; i < each_value_1.length; i += 1) { + each_blocks[i] = create_each_block_1$2(get_each_context_1$2(ctx, each_value_1, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + div7 = element("div"); + div0 = element("div"); + t0 = space(); + div6 = element("div"); + div4 = element("div"); + div1 = element("div"); + button = element("button"); + span = element("span"); + span.textContent = "Close sidebar"; + t2 = space(); + svg = svg_element("svg"); + path = svg_element("path"); + t3 = space(); + div2 = element("div"); + a = element("a"); + a.textContent = "LearnAwesome"; + t5 = space(); + div3 = element("div"); + nav = element("nav"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + t6 = space(); + div5 = element("div"); + attr_dev(div0, "class", "fixed inset-0 bg-gray-600 bg-opacity-75"); + add_location(div0, file$9, 25, 6, 841); + attr_dev(span, "class", "sr-only"); + add_location(span, file$9, 51, 14, 2020); + attr_dev(path, "stroke-linecap", "round"); + attr_dev(path, "stroke-linejoin", "round"); + attr_dev(path, "d", "M6 18L18 6M6 6l12 12"); + add_location(path, file$9, 54, 16, 2299); + attr_dev(svg, "class", "h-6 w-6 text-white"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "fill", "none"); + attr_dev(svg, "viewBox", "0 0 24 24"); + attr_dev(svg, "stroke-width", "2"); + attr_dev(svg, "stroke", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file$9, 53, 14, 2125); + attr_dev(button, "type", "button"); + attr_dev(button, "class", "ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"); + add_location(button, file$9, 50, 12, 1808); + attr_dev(div1, "class", "absolute top-0 right-0 -mr-12 pt-2"); + add_location(div1, file$9, 49, 10, 1747); + attr_dev(a, "href", "#/"); + attr_dev(a, "class", ""); + add_location(a, file$9, 60, 12, 2516); + attr_dev(div2, "class", "flex-shrink-0 flex items-center px-4"); + add_location(div2, file$9, 59, 10, 2453); + attr_dev(nav, "class", "px-2 space-y-1"); + add_location(nav, file$9, 63, 12, 2640); + attr_dev(div3, "class", "mt-5 flex-1 h-0 overflow-y-auto"); + add_location(div3, file$9, 62, 10, 2582); + attr_dev(div4, "class", "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-indigo-700"); + add_location(div4, file$9, 38, 8, 1328); + attr_dev(div5, "class", "flex-shrink-0 w-14"); + attr_dev(div5, "aria-hidden", "true"); + add_location(div5, file$9, 76, 8, 3154); + attr_dev(div6, "class", "fixed inset-0 flex z-40"); + add_location(div6, file$9, 27, 6, 910); + attr_dev(div7, "class", "relative z-40 md:hidden"); + attr_dev(div7, "role", "dialog"); + attr_dev(div7, "aria-modal", "true"); + add_location(div7, file$9, 14, 4, 426); + }, + m: function mount(target, anchor) { + insert_dev(target, div7, anchor); + append_dev(div7, div0); + append_dev(div7, t0); + append_dev(div7, div6); + append_dev(div6, div4); + append_dev(div4, div1); + append_dev(div1, button); + append_dev(button, span); + append_dev(button, t2); + append_dev(button, svg); + append_dev(svg, path); + append_dev(div4, t3); + append_dev(div4, div2); + append_dev(div2, a); + append_dev(div4, t5); + append_dev(div4, div3); + append_dev(div3, nav); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(nav, null); + } + + append_dev(div6, t6); + append_dev(div6, div5); + current = true; + + if (!mounted) { + dispose = listen_dev(button, "click", /*click_handler*/ ctx[6], false, false, false); + mounted = true; + } + }, + p: function update(ctx, dirty) { + if (dirty & /*sidebarItems*/ 1) { + each_value_1 = /*sidebarItems*/ ctx[0]; + validate_each_argument(each_value_1); + let i; + + for (i = 0; i < each_value_1.length; i += 1) { + const child_ctx = get_each_context_1$2(ctx, each_value_1, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block_1$2(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(nav, null); + } + } + + group_outros(); + + for (i = each_value_1.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + + for (let i = 0; i < each_value_1.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div7); + destroy_each(each_blocks, detaching); + mounted = false; + dispose(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_3$1.name, + type: "if", + source: "(14:4) {#if isNavDrawerOpen}", + ctx + }); + + return block; + } + + // (66:14) {#each sidebarItems as { text, link, icon } + function create_each_block_1$2(ctx) { + let a; + let icon; + let t0; + let t1_value = /*text*/ ctx[8] + ""; + let t1; + let t2; + let a_href_value; + let current; + + icon = new Icon({ + props: { kind: /*icon*/ ctx[10] }, + $$inline: true + }); + + const block = { + c: function create() { + a = element("a"); + create_component(icon.$$.fragment); + t0 = space(); + t1 = text(t1_value); + t2 = space(); + attr_dev(a, "href", a_href_value = /*link*/ ctx[9]); + attr_dev(a, "class", "w-full bg-indigo-800 text-white group flex items-center px-2 py-2 text-base font-medium rounded-md"); + add_location(a, file$9, 66, 18, 2856); + }, + m: function mount(target, anchor) { + insert_dev(target, a, anchor); + mount_component(icon, a, null); + append_dev(a, t0); + append_dev(a, t1); + append_dev(a, t2); + current = true; + }, + p: function update(ctx, dirty) { + const icon_changes = {}; + if (dirty & /*sidebarItems*/ 1) icon_changes.kind = /*icon*/ ctx[10]; + icon.$set(icon_changes); + if ((!current || dirty & /*sidebarItems*/ 1) && t1_value !== (t1_value = /*text*/ ctx[8] + "")) set_data_dev(t1, t1_value); + + if (!current || dirty & /*sidebarItems*/ 1 && a_href_value !== (a_href_value = /*link*/ ctx[9])) { + attr_dev(a, "href", a_href_value); + } + }, + i: function intro(local) { + if (current) return; + transition_in(icon.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(icon.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(a); + destroy_component(icon); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block_1$2.name, + type: "each", + source: "(66:14) {#each sidebarItems as { text, link, icon }", + ctx + }); + + return block; + } + + // (94:12) {#each sidebarItems as { text, link, icon } + function create_each_block$5(ctx) { + let a; + let icon; + let t0; + let t1_value = /*text*/ ctx[8] + ""; + let t1; + let t2; + let a_href_value; + let current; + + icon = new Icon({ + props: { kind: /*icon*/ ctx[10] }, + $$inline: true + }); + + const block = { + c: function create() { + a = element("a"); + create_component(icon.$$.fragment); + t0 = space(); + t1 = text(t1_value); + t2 = space(); + attr_dev(a, "href", a_href_value = /*link*/ ctx[9]); + attr_dev(a, "class", "w-full bg-indigo-800 text-white group flex items-center px-2 py-2 text-sm font-medium rounded-md"); + add_location(a, file$9, 94, 16, 4026); + }, + m: function mount(target, anchor) { + insert_dev(target, a, anchor); + mount_component(icon, a, null); + append_dev(a, t0); + append_dev(a, t1); + append_dev(a, t2); + current = true; + }, + p: function update(ctx, dirty) { + const icon_changes = {}; + if (dirty & /*sidebarItems*/ 1) icon_changes.kind = /*icon*/ ctx[10]; + icon.$set(icon_changes); + if ((!current || dirty & /*sidebarItems*/ 1) && t1_value !== (t1_value = /*text*/ ctx[8] + "")) set_data_dev(t1, t1_value); + + if (!current || dirty & /*sidebarItems*/ 1 && a_href_value !== (a_href_value = /*link*/ ctx[9])) { + attr_dev(a, "href", a_href_value); + } + }, + i: function intro(local) { + if (current) return; + transition_in(icon.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(icon.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(a); + destroy_component(icon); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block$5.name, + type: "each", + source: "(94:12) {#each sidebarItems as { text, link, icon }", + ctx + }); + + return block; + } + + // (111:10) {#if showNotificationBell || showProfileMenu} + function create_if_block$3(ctx) { + let div; + let t; + let current; + let if_block0 = /*showNotificationBell*/ ctx[1] && create_if_block_2$1(ctx); + let if_block1 = /*showProfileMenu*/ ctx[2] && create_if_block_1$2(ctx); + + const block = { + c: function create() { + div = element("div"); + if (if_block0) if_block0.c(); + t = space(); + if (if_block1) if_block1.c(); + attr_dev(div, "class", "ml-4 flex items-center md:ml-6"); + add_location(div, file$9, 111, 10, 4857); + }, + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + if (if_block0) if_block0.m(div, null); + append_dev(div, t); + if (if_block1) if_block1.m(div, null); + current = true; + }, + p: function update(ctx, dirty) { + if (/*showNotificationBell*/ ctx[1]) { + if (if_block0) { + if (dirty & /*showNotificationBell*/ 2) { + transition_in(if_block0, 1); + } + } else { + if_block0 = create_if_block_2$1(ctx); + if_block0.c(); + transition_in(if_block0, 1); + if_block0.m(div, t); + } + } else if (if_block0) { + group_outros(); + + transition_out(if_block0, 1, 1, () => { + if_block0 = null; + }); + + check_outros(); + } + + if (/*showProfileMenu*/ ctx[2]) { + if (if_block1) { + if (dirty & /*showProfileMenu*/ 4) { + transition_in(if_block1, 1); + } + } else { + if_block1 = create_if_block_1$2(ctx); + if_block1.c(); + transition_in(if_block1, 1); + if_block1.m(div, null); + } + } else if (if_block1) { + group_outros(); + + transition_out(if_block1, 1, 1, () => { + if_block1 = null; + }); + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block0); + transition_in(if_block1); + current = true; + }, + o: function outro(local) { + transition_out(if_block0); + transition_out(if_block1); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div); + if (if_block0) if_block0.d(); + if (if_block1) if_block1.d(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block$3.name, + type: "if", + source: "(111:10) {#if showNotificationBell || showProfileMenu}", + ctx + }); + + return block; + } + + // (113:12) {#if showNotificationBell} + function create_if_block_2$1(ctx) { + let button; + let span; + let t1; + let icon; + let current; + icon = new Icon({ props: { kind: "bell" }, $$inline: true }); + + const block = { + c: function create() { + button = element("button"); + span = element("span"); + span.textContent = "View notifications"; + t1 = space(); + create_component(icon.$$.fragment); + attr_dev(span, "class", "sr-only"); + add_location(span, file$9, 114, 14, 5132); + attr_dev(button, "type", "button"); + attr_dev(button, "class", "bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"); + add_location(button, file$9, 113, 12, 4953); + }, + m: function mount(target, anchor) { + insert_dev(target, button, anchor); + append_dev(button, span); + append_dev(button, t1); + mount_component(icon, button, null); + current = true; + }, + i: function intro(local) { + if (current) return; + transition_in(icon.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(icon.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(button); + destroy_component(icon); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_2$1.name, + type: "if", + source: "(113:12) {#if showNotificationBell}", + ctx + }); + + return block; + } + + // (120:12) {#if showProfileMenu} + function create_if_block_1$2(ctx) { + let menubutton; + let current; + menubutton = new MenuButton({ $$inline: true }); + + const block = { + c: function create() { + create_component(menubutton.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(menubutton, target, anchor); + current = true; + }, + i: function intro(local) { + if (current) return; + transition_in(menubutton.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(menubutton.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(menubutton, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_1$2.name, + type: "if", + source: "(120:12) {#if showProfileMenu}", + ctx + }); + + return block; + } + + function create_fragment$b(ctx) { + let div9; + let t0; + let div3; + let div2; + let div0; + let a; + let t2; + let div1; + let nav; + let t3; + let div8; + let div5; + let button; + let span; + let t5; + let icon; + let t6; + let div4; + let t7; + let main; + let div7; + let div6; + let current; + let mounted; + let dispose; + let if_block0 = /*isNavDrawerOpen*/ ctx[3] && create_if_block_3$1(ctx); + let each_value = /*sidebarItems*/ ctx[0]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + icon = new Icon({ props: { kind: "menu" }, $$inline: true }); + let if_block1 = (/*showNotificationBell*/ ctx[1] || /*showProfileMenu*/ ctx[2]) && create_if_block$3(ctx); + const default_slot_template = /*#slots*/ ctx[5].default; + const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[4], null); + + const block = { + c: function create() { + div9 = element("div"); + if (if_block0) if_block0.c(); + t0 = space(); + div3 = element("div"); + div2 = element("div"); + div0 = element("div"); + a = element("a"); + a.textContent = "LearnAwesome"; + t2 = space(); + div1 = element("div"); + nav = element("nav"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + t3 = space(); + div8 = element("div"); + div5 = element("div"); + button = element("button"); + span = element("span"); + span.textContent = "Open sidebar"; + t5 = space(); + create_component(icon.$$.fragment); + t6 = space(); + div4 = element("div"); + if (if_block1) if_block1.c(); + t7 = space(); + main = element("main"); + div7 = element("div"); + div6 = element("div"); + if (default_slot) default_slot.c(); + attr_dev(a, "href", "/"); + attr_dev(a, "class", ""); + add_location(a, file$9, 88, 10, 3693); + attr_dev(div0, "class", "flex items-center flex-shrink-0 px-4 bg-white"); + add_location(div0, file$9, 87, 8, 3623); + attr_dev(nav, "class", "flex-1 px-2 pb-4 space-y-1"); + add_location(nav, file$9, 91, 10, 3804); + attr_dev(div1, "class", "mt-5 flex-1 flex flex-col"); + add_location(div1, file$9, 90, 8, 3754); + attr_dev(div2, "class", "flex flex-col flex-grow pt-5 bg-indigo-700 overflow-y-auto"); + add_location(div2, file$9, 86, 6, 3542); + attr_dev(div3, "class", "hidden md:flex md:w-64 md:flex-col md:fixed md:inset-y-0"); + add_location(div3, file$9, 84, 4, 3380); + attr_dev(span, "class", "sr-only"); + add_location(span, file$9, 106, 10, 4646); + attr_dev(button, "type", "button"); + attr_dev(button, "class", "px-4 border-r border-gray-200 text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500 md:hidden"); + add_location(button, file$9, 105, 8, 4441); + attr_dev(div4, "class", "flex-1 px-4 flex justify-between"); + add_location(div4, file$9, 109, 8, 4744); + attr_dev(div5, "class", "sticky top-0 z-10 flex-shrink-0 flex h-16 bg-white shadow"); + add_location(div5, file$9, 104, 6, 4361); + attr_dev(div6, "class", "max-w-7xl mx-auto px-4 sm:px-6 md:px-8"); + add_location(div6, file$9, 127, 10, 5422); + attr_dev(div7, "class", "py-6"); + add_location(div7, file$9, 126, 8, 5393); + add_location(main, file$9, 125, 6, 5378); + attr_dev(div8, "class", "md:pl-64 flex flex-col flex-1"); + add_location(div8, file$9, 103, 4, 4311); + add_location(div9, file$9, 11, 0, 307); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, div9, anchor); + if (if_block0) if_block0.m(div9, null); + append_dev(div9, t0); + append_dev(div9, div3); + append_dev(div3, div2); + append_dev(div2, div0); + append_dev(div0, a); + append_dev(div2, t2); + append_dev(div2, div1); + append_dev(div1, nav); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(nav, null); + } + + append_dev(div9, t3); + append_dev(div9, div8); + append_dev(div8, div5); + append_dev(div5, button); + append_dev(button, span); + append_dev(button, t5); + mount_component(icon, button, null); + append_dev(div5, t6); + append_dev(div5, div4); + if (if_block1) if_block1.m(div4, null); + append_dev(div8, t7); + append_dev(div8, main); + append_dev(main, div7); + append_dev(div7, div6); + + if (default_slot) { + default_slot.m(div6, null); + } + + current = true; + + if (!mounted) { + dispose = listen_dev(button, "click", /*click_handler_1*/ ctx[7], false, false, false); + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + if (/*isNavDrawerOpen*/ ctx[3]) { + if (if_block0) { + if_block0.p(ctx, dirty); + + if (dirty & /*isNavDrawerOpen*/ 8) { + transition_in(if_block0, 1); + } + } else { + if_block0 = create_if_block_3$1(ctx); + if_block0.c(); + transition_in(if_block0, 1); + if_block0.m(div9, t0); + } + } else if (if_block0) { + group_outros(); + + transition_out(if_block0, 1, 1, () => { + if_block0 = null; + }); + + check_outros(); + } + + if (dirty & /*sidebarItems*/ 1) { + each_value = /*sidebarItems*/ ctx[0]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$5(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$5(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(nav, null); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + + if (/*showNotificationBell*/ ctx[1] || /*showProfileMenu*/ ctx[2]) { + if (if_block1) { + if_block1.p(ctx, dirty); + + if (dirty & /*showNotificationBell, showProfileMenu*/ 6) { + transition_in(if_block1, 1); + } + } else { + if_block1 = create_if_block$3(ctx); + if_block1.c(); + transition_in(if_block1, 1); + if_block1.m(div4, null); + } + } else if (if_block1) { + group_outros(); + + transition_out(if_block1, 1, 1, () => { + if_block1 = null; + }); + + check_outros(); + } + + if (default_slot) { + if (default_slot.p && (!current || dirty & /*$$scope*/ 16)) { + update_slot_base( + default_slot, + default_slot_template, + ctx, + /*$$scope*/ ctx[4], + !current + ? get_all_dirty_from_scope(/*$$scope*/ ctx[4]) + : get_slot_changes(default_slot_template, /*$$scope*/ ctx[4], dirty, null), + null + ); + } + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block0); + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + transition_in(icon.$$.fragment, local); + transition_in(if_block1); + transition_in(default_slot, local); + current = true; + }, + o: function outro(local) { + transition_out(if_block0); + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + transition_out(icon.$$.fragment, local); + transition_out(if_block1); + transition_out(default_slot, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div9); + if (if_block0) if_block0.d(); + destroy_each(each_blocks, detaching); + destroy_component(icon); + if (if_block1) if_block1.d(); + if (default_slot) default_slot.d(detaching); + mounted = false; + dispose(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$b.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$b($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('AppShell', slots, ['default']); + let { sidebarItems = [] } = $$props; + let isNavDrawerOpen = false; + let { showNotificationBell = false } = $$props; + let { showProfileMenu = false } = $$props; + const writable_props = ['sidebarItems', 'showNotificationBell', 'showProfileMenu']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + const click_handler = e => $$invalidate(3, isNavDrawerOpen = false); + const click_handler_1 = e => $$invalidate(3, isNavDrawerOpen = true); + + $$self.$$set = $$props => { + if ('sidebarItems' in $$props) $$invalidate(0, sidebarItems = $$props.sidebarItems); + if ('showNotificationBell' in $$props) $$invalidate(1, showNotificationBell = $$props.showNotificationBell); + if ('showProfileMenu' in $$props) $$invalidate(2, showProfileMenu = $$props.showProfileMenu); + if ('$$scope' in $$props) $$invalidate(4, $$scope = $$props.$$scope); + }; + + $$self.$capture_state = () => ({ + Icon, + MenuButton, + SearchForm, + sidebarItems, + isNavDrawerOpen, + showNotificationBell, + showProfileMenu + }); + + $$self.$inject_state = $$props => { + if ('sidebarItems' in $$props) $$invalidate(0, sidebarItems = $$props.sidebarItems); + if ('isNavDrawerOpen' in $$props) $$invalidate(3, isNavDrawerOpen = $$props.isNavDrawerOpen); + if ('showNotificationBell' in $$props) $$invalidate(1, showNotificationBell = $$props.showNotificationBell); + if ('showProfileMenu' in $$props) $$invalidate(2, showProfileMenu = $$props.showProfileMenu); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [ + sidebarItems, + showNotificationBell, + showProfileMenu, + isNavDrawerOpen, + $$scope, + slots, + click_handler, + click_handler_1 + ]; + } + + class AppShell extends SvelteComponentDev { + constructor(options) { + super(options); + + init(this, options, instance$b, create_fragment$b, safe_not_equal, { + sidebarItems: 0, + showNotificationBell: 1, + showProfileMenu: 2 + }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "AppShell", + options, + id: create_fragment$b.name + }); + } + + get sidebarItems() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set sidebarItems(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get showNotificationBell() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set showNotificationBell(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get showProfileMenu() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set showProfileMenu(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + var TailwindUI = /*#__PURE__*/Object.freeze({ + __proto__: null, + Icon: Icon, + MenuButton: MenuButton, + AppShell: AppShell + }); + + /* src/Home.svelte generated by Svelte v3.48.0 */ + + const file$8 = "src/Home.svelte"; + + function create_fragment$a(ctx) { + let main; + let div4; + let div0; + let h1; + let span0; + let t1; + let span3; + let span1; + let t3; + let span2; + let t5; + let p; + let t7; + let div3; + let svg0; + let defs; + let pattern; + let rect0; + let rect1; + let rect2; + let t8; + let div2; + let button; + let span4; + let t10; + let img; + let img_src_value; + let t11; + let div1; + let svg1; + let circle; + let path; + + const block = { + c: function create() { + main = element("main"); + div4 = element("div"); + div0 = element("div"); + h1 = element("h1"); + span0 = element("span"); + span0.textContent = "Coming soon"; + t1 = space(); + span3 = element("span"); + span1 = element("span"); + span1.textContent = "Data to enrich your"; + t3 = space(); + span2 = element("span"); + span2.textContent = "online business"; + t5 = space(); + p = element("p"); + p.textContent = "Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua ad ad non deserunt sunt."; + t7 = space(); + div3 = element("div"); + svg0 = svg_element("svg"); + defs = svg_element("defs"); + pattern = svg_element("pattern"); + rect0 = svg_element("rect"); + rect1 = svg_element("rect"); + rect2 = svg_element("rect"); + t8 = space(); + div2 = element("div"); + button = element("button"); + span4 = element("span"); + span4.textContent = "Watch our video to learn more"; + t10 = space(); + img = element("img"); + t11 = space(); + div1 = element("div"); + svg1 = svg_element("svg"); + circle = svg_element("circle"); + path = svg_element("path"); + attr_dev(span0, "class", "block text-sm font-semibold uppercase tracking-wide text-gray-500 sm:text-base lg:text-sm xl:text-base"); + add_location(span0, file$8, 4, 10, 230); + attr_dev(span1, "class", "block text-gray-900"); + add_location(span1, file$8, 6, 12, 477); + attr_dev(span2, "class", "block text-indigo-600"); + add_location(span2, file$8, 7, 12, 550); + attr_dev(span3, "class", "mt-1 block text-4xl tracking-tight font-extrabold sm:text-5xl xl:text-6xl"); + add_location(span3, file$8, 5, 10, 376); + add_location(h1, file$8, 3, 8, 215); + attr_dev(p, "class", "mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl"); + add_location(p, file$8, 10, 8, 649); + attr_dev(div0, "class", "sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left"); + add_location(div0, file$8, 2, 6, 127); + attr_dev(rect0, "x", "0"); + attr_dev(rect0, "y", "0"); + attr_dev(rect0, "width", "4"); + attr_dev(rect0, "height", "4"); + attr_dev(rect0, "class", "text-gray-200"); + attr_dev(rect0, "fill", "currentColor"); + add_location(rect0, file$8, 16, 14, 1411); + attr_dev(pattern, "id", "4f4f415c-a0e9-44c2-9601-6ded5a34a13e"); + attr_dev(pattern, "x", "118"); + attr_dev(pattern, "y", "0"); + attr_dev(pattern, "width", "20"); + attr_dev(pattern, "height", "20"); + attr_dev(pattern, "patternUnits", "userSpaceOnUse"); + add_location(pattern, file$8, 15, 12, 1278); + add_location(defs, file$8, 14, 10, 1259); + attr_dev(rect1, "y", "72"); + attr_dev(rect1, "width", "640"); + attr_dev(rect1, "height", "640"); + attr_dev(rect1, "class", "text-gray-50"); + attr_dev(rect1, "fill", "currentColor"); + add_location(rect1, file$8, 19, 10, 1546); + attr_dev(rect2, "x", "118"); + attr_dev(rect2, "width", "404"); + attr_dev(rect2, "height", "784"); + attr_dev(rect2, "fill", "url(#4f4f415c-a0e9-44c2-9601-6ded5a34a13e)"); + add_location(rect2, file$8, 20, 10, 1638); + attr_dev(svg0, "class", "absolute top-0 left-1/2 transform -translate-x-1/2 -translate-y-8 scale-75 origin-top sm:scale-100 lg:hidden"); + attr_dev(svg0, "width", "640"); + attr_dev(svg0, "height", "784"); + attr_dev(svg0, "fill", "none"); + attr_dev(svg0, "viewBox", "0 0 640 784"); + attr_dev(svg0, "aria-hidden", "true"); + add_location(svg0, file$8, 13, 8, 1048); + attr_dev(span4, "class", "sr-only"); + add_location(span4, file$8, 24, 12, 2009); + attr_dev(img, "class", "w-full"); + if (!src_url_equal(img.src, img_src_value = "https://images.unsplash.com/photo-1556740758-90de374c12ad?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")) attr_dev(img, "src", img_src_value); + attr_dev(img, "alt", ""); + add_location(img, file$8, 25, 12, 2080); + attr_dev(circle, "opacity", "0.9"); + attr_dev(circle, "cx", "42"); + attr_dev(circle, "cy", "42"); + attr_dev(circle, "r", "42"); + attr_dev(circle, "fill", "white"); + add_location(circle, file$8, 28, 16, 2439); + attr_dev(path, "d", "M55.5039 40.3359L37.1094 28.0729C35.7803 27.1869 34 28.1396 34 29.737V54.263C34 55.8604 35.7803 56.8131 37.1094 55.9271L55.5038 43.6641C56.6913 42.8725 56.6913 41.1275 55.5039 40.3359Z"); + add_location(path, file$8, 29, 16, 2516); + attr_dev(svg1, "class", "h-20 w-20 text-indigo-500"); + attr_dev(svg1, "fill", "currentColor"); + attr_dev(svg1, "viewBox", "0 0 84 84"); + add_location(svg1, file$8, 27, 14, 2343); + attr_dev(div1, "class", "absolute inset-0 w-full h-full flex items-center justify-center"); + attr_dev(div1, "aria-hidden", "true"); + add_location(div1, file$8, 26, 12, 2232); + attr_dev(button, "type", "button"); + attr_dev(button, "class", "relative block w-full bg-white rounded-lg overflow-hidden focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"); + add_location(button, file$8, 23, 10, 1834); + attr_dev(div2, "class", "relative mx-auto w-full rounded-lg shadow-lg lg:max-w-md"); + add_location(div2, file$8, 22, 8, 1753); + attr_dev(div3, "class", "mt-12 relative sm:max-w-lg sm:mx-auto lg:mt-0 lg:max-w-none lg:mx-0 lg:col-span-6 lg:flex lg:items-center"); + add_location(div3, file$8, 12, 6, 920); + attr_dev(div4, "class", "lg:grid lg:grid-cols-12 lg:gap-8"); + add_location(div4, file$8, 1, 4, 74); + attr_dev(main, "class", "mt-16 mx-auto max-w-7xl px-4 sm:mt-24 sm:px-6 lg:mt-32"); + add_location(main, file$8, 0, 0, 0); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, main, anchor); + append_dev(main, div4); + append_dev(div4, div0); + append_dev(div0, h1); + append_dev(h1, span0); + append_dev(h1, t1); + append_dev(h1, span3); + append_dev(span3, span1); + append_dev(span3, t3); + append_dev(span3, span2); + append_dev(div0, t5); + append_dev(div0, p); + append_dev(div4, t7); + append_dev(div4, div3); + append_dev(div3, svg0); + append_dev(svg0, defs); + append_dev(defs, pattern); + append_dev(pattern, rect0); + append_dev(svg0, rect1); + append_dev(svg0, rect2); + append_dev(div3, t8); + append_dev(div3, div2); + append_dev(div2, button); + append_dev(button, span4); + append_dev(button, t10); + append_dev(button, img); + append_dev(button, t11); + append_dev(button, div1); + append_dev(div1, svg1); + append_dev(svg1, circle); + append_dev(svg1, path); + }, + p: noop, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(main); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$a.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$a($$self, $$props) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('Home', slots, []); + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + return []; + } + + class Home extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$a, create_fragment$a, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Home", + options, + id: create_fragment$a.name + }); + } + } + + /* src/TopicCard.svelte generated by Svelte v3.48.0 */ + const file$7 = "src/TopicCard.svelte"; + + function create_fragment$9(ctx) { + let li; + let div0; + let t0; + let t1; + let div3; + let div1; + let a; + let t2_value = /*topic*/ ctx[0].display_name + ""; + let t2; + let a_href_value; + let t3; + let p; + let t4_value = /*topic*/ ctx[0].rowid + ""; + let t4; + let t5; + let t6; + let div2; + let button; + let span; + let t8; + let icon; + let current; + icon = new Icon({ props: { kind: "dots" }, $$inline: true }); + + const block = { + c: function create() { + li = element("li"); + div0 = element("div"); + t0 = text(/*abbr*/ ctx[1]); + t1 = space(); + div3 = element("div"); + div1 = element("div"); + a = element("a"); + t2 = text(t2_value); + t3 = space(); + p = element("p"); + t4 = text(t4_value); + t5 = text(" items"); + t6 = space(); + div2 = element("div"); + button = element("button"); + span = element("span"); + span.textContent = "Open options"; + t8 = space(); + create_component(icon.$$.fragment); + attr_dev(div0, "class", "flex-shrink-0 flex items-center justify-center w-16 bg-pink-600 text-white text-sm font-medium rounded-l-md"); + add_location(div0, file$7, 8, 4, 203); + attr_dev(a, "href", a_href_value = "/topic/" + /*topic*/ ctx[0].id); + attr_dev(a, "class", "text-gray-900 font-medium hover:text-gray-600"); + add_location(a, file$7, 11, 8, 532); + attr_dev(p, "class", "text-gray-500"); + add_location(p, file$7, 12, 8, 650); + attr_dev(div1, "class", "flex-1 px-4 py-2 text-sm truncate"); + add_location(div1, file$7, 10, 6, 476); + attr_dev(span, "class", "sr-only"); + add_location(span, file$7, 16, 10, 993); + attr_dev(button, "type", "button"); + attr_dev(button, "class", "w-8 h-8 bg-white inline-flex items-center justify-center text-gray-400 rounded-full bg-transparent hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"); + add_location(button, file$7, 15, 8, 759); + attr_dev(div2, "class", "flex-shrink-0 pr-2"); + add_location(div2, file$7, 14, 6, 718); + attr_dev(div3, "class", "flex-1 flex items-center justify-between border-t border-r border-b border-gray-200 bg-white rounded-r-md truncate"); + add_location(div3, file$7, 9, 4, 341); + attr_dev(li, "class", "col-span-1 flex shadow-sm rounded-md"); + add_location(li, file$7, 7, 0, 149); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + append_dev(li, div0); + append_dev(div0, t0); + append_dev(li, t1); + append_dev(li, div3); + append_dev(div3, div1); + append_dev(div1, a); + append_dev(a, t2); + append_dev(div1, t3); + append_dev(div1, p); + append_dev(p, t4); + append_dev(p, t5); + append_dev(div3, t6); + append_dev(div3, div2); + append_dev(div2, button); + append_dev(button, span); + append_dev(button, t8); + mount_component(icon, button, null); + current = true; + }, + p: function update(ctx, [dirty]) { + if (!current || dirty & /*abbr*/ 2) set_data_dev(t0, /*abbr*/ ctx[1]); + if ((!current || dirty & /*topic*/ 1) && t2_value !== (t2_value = /*topic*/ ctx[0].display_name + "")) set_data_dev(t2, t2_value); + + if (!current || dirty & /*topic*/ 1 && a_href_value !== (a_href_value = "/topic/" + /*topic*/ ctx[0].id)) { + attr_dev(a, "href", a_href_value); + } + + if ((!current || dirty & /*topic*/ 1) && t4_value !== (t4_value = /*topic*/ ctx[0].rowid + "")) set_data_dev(t4, t4_value); + }, + i: function intro(local) { + if (current) return; + transition_in(icon.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(icon.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li); + destroy_component(icon); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$9.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$9($$self, $$props, $$invalidate) { + let abbr; + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('TopicCard', slots, []); + let { topic } = $$props; + const writable_props = ['topic']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ('topic' in $$props) $$invalidate(0, topic = $$props.topic); + }; + + $$self.$capture_state = () => ({ topic, Icon, abbr }); + + $$self.$inject_state = $$props => { + if ('topic' in $$props) $$invalidate(0, topic = $$props.topic); + if ('abbr' in $$props) $$invalidate(1, abbr = $$props.abbr); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*topic*/ 1) { + $$invalidate(1, abbr = topic.display_name.slice(0, 2).toUpperCase()); + } + }; + + return [topic, abbr]; + } + + class TopicCard extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$9, create_fragment$9, safe_not_equal, { topic: 0 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "TopicCard", + options, + id: create_fragment$9.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*topic*/ ctx[0] === undefined && !('topic' in props)) { + console.warn(" was created without expected prop 'topic'"); + } + } + + get topic() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set topic(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/TopicList.svelte generated by Svelte v3.48.0 */ + + const { Error: Error_1$1 } = globals; + const file$6 = "src/TopicList.svelte"; + + function get_each_context$4(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[2] = list[i]; + return child_ctx; + } + + function get_each_context_1$1(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[5] = list[i]; + return child_ctx; + } + + // (48:0) {:catch error} + function create_catch_block$1(ctx) { + let p; + let t_value = /*error*/ ctx[8].message + ""; + let t; + + const block = { + c: function create() { + p = element("p"); + t = text(t_value); + add_location(p, file$6, 48, 0, 1536); + }, + m: function mount(target, anchor) { + insert_dev(target, p, anchor); + append_dev(p, t); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(p); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_catch_block$1.name, + type: "catch", + source: "(48:0) {:catch error}", + ctx + }); + + return block; + } + + // (29:0) {:then topics} + function create_then_block$1(ctx) { + let div; + let each_value = [...hierarchy(/*topics*/ ctx[1]).keys()]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i)); + } + + const block = { + c: function create() { + div = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr_dev(div, "class", "mt-6"); + set_style(div, "columns", "6 240px"); + set_style(div, "column-gap", "1rem"); + add_location(div, file$6, 30, 0, 774); + }, + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div, null); + } + }, + p: function update(ctx, dirty) { + if (dirty & /*hierarchy, dataPromise*/ 1) { + each_value = [...hierarchy(/*topics*/ ctx[1]).keys()]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$4(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + } else { + each_blocks[i] = create_each_block$4(child_ctx); + each_blocks[i].c(); + each_blocks[i].m(div, null); + } + } + + for (; i < each_blocks.length; i += 1) { + each_blocks[i].d(1); + } + + each_blocks.length = each_value.length; + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div); + destroy_each(each_blocks, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_then_block$1.name, + type: "then", + source: "(29:0) {:then topics}", + ctx + }); + + return block; + } + + // (37:8) {#each hierarchy(topics).get(parent) as child} + function create_each_block_1$1(ctx) { + let a; + let t_value = /*child*/ ctx[5].display_name + ""; + let t; + + const block = { + c: function create() { + a = element("a"); + t = text(t_value); + attr_dev(a, "href", "#/topic/" + /*child*/ ctx[5].id); + attr_dev(a, "class", "text-purple-600 no-underline hover:underline hover:text-purple-900 px-2"); + add_location(a, file$6, 37, 12, 1239); + }, + m: function mount(target, anchor) { + insert_dev(target, a, anchor); + append_dev(a, t); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(a); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block_1$1.name, + type: "each", + source: "(37:8) {#each hierarchy(topics).get(parent) as child}", + ctx + }); + + return block; + } + + // (32:4) {#each [...hierarchy(topics).keys()] as parent} + function create_each_block$4(ctx) { + let div1; + let h4; + let t0_value = /*parent*/ ctx[2].display_name + ""; + let t0; + let t1; + let div0; + let t2; + let p; + let span; + let t4; + let each_value_1 = hierarchy(/*topics*/ ctx[1]).get(/*parent*/ ctx[2]); + validate_each_argument(each_value_1); + let each_blocks = []; + + for (let i = 0; i < each_value_1.length; i += 1) { + each_blocks[i] = create_each_block_1$1(get_each_context_1$1(ctx, each_value_1, i)); + } + + const block = { + c: function create() { + div1 = element("div"); + h4 = element("h4"); + t0 = text(t0_value); + t1 = space(); + div0 = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + t2 = space(); + p = element("p"); + span = element("span"); + span.textContent = "and 37 more."; + t4 = space(); + attr_dev(h4, "class", "mt-1 p-1 text-gray-900 font-semibold text-lg"); + add_location(h4, file$6, 33, 8, 1017); + attr_dev(div0, "class", "mt-2 flex flex-wrap text-sm text-gray-900"); + add_location(div0, file$6, 35, 8, 1116); + add_location(span, file$6, 41, 43, 1455); + attr_dev(p, "class", "mt-2 text-sm text-right"); + add_location(p, file$6, 41, 8, 1420); + attr_dev(div1, "tabindex", "0"); + attr_dev(div1, "class", "inline-block w-full mt-4 bg-white rounded-lg mt-4 px-4 py-4 shadow-lg focus:outline-none"); + add_location(div1, file$6, 32, 4, 893); + }, + m: function mount(target, anchor) { + insert_dev(target, div1, anchor); + append_dev(div1, h4); + append_dev(h4, t0); + append_dev(div1, t1); + append_dev(div1, div0); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div0, null); + } + + append_dev(div1, t2); + append_dev(div1, p); + append_dev(p, span); + append_dev(div1, t4); + }, + p: function update(ctx, dirty) { + if (dirty & /*hierarchy, dataPromise*/ 1) { + each_value_1 = hierarchy(/*topics*/ ctx[1]).get(/*parent*/ ctx[2]); + validate_each_argument(each_value_1); + let i; + + for (i = 0; i < each_value_1.length; i += 1) { + const child_ctx = get_each_context_1$1(ctx, each_value_1, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + } else { + each_blocks[i] = create_each_block_1$1(child_ctx); + each_blocks[i].c(); + each_blocks[i].m(div0, null); + } + } + + for (; i < each_blocks.length; i += 1) { + each_blocks[i].d(1); + } + + each_blocks.length = each_value_1.length; + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div1); + destroy_each(each_blocks, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block$4.name, + type: "each", + source: "(32:4) {#each [...hierarchy(topics).keys()] as parent}", + ctx + }); + + return block; + } + + // (27:20)

    Fetching data...

    {:then topics} + function create_pending_block$1(ctx) { + let p; + + const block = { + c: function create() { + p = element("p"); + p.textContent = "Fetching data..."; + add_location(p, file$6, 27, 0, 734); + }, + m: function mount(target, anchor) { + insert_dev(target, p, anchor); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(p); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_pending_block$1.name, + type: "pending", + source: "(27:20)

    Fetching data...

    {:then topics}", + ctx + }); + + return block; + } + + function create_fragment$8(ctx) { + let await_block_anchor; + + let info = { + ctx, + current: null, + token: null, + hasCatch: true, + pending: create_pending_block$1, + then: create_then_block$1, + catch: create_catch_block$1, + value: 1, + error: 8 + }; + + handle_promise(/*dataPromise*/ ctx[0], info); + + const block = { + c: function create() { + await_block_anchor = empty(); + info.block.c(); + }, + l: function claim(nodes) { + throw new Error_1$1("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, await_block_anchor, anchor); + info.block.m(target, info.anchor = anchor); + info.mount = () => await_block_anchor.parentNode; + info.anchor = await_block_anchor; + }, + p: function update(new_ctx, [dirty]) { + ctx = new_ctx; + update_await_block_branch(info, ctx, dirty); + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(await_block_anchor); + info.block.d(detaching); + info.token = null; + info = null; + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$8.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + async function getData$1() { + const res = await fetch(`/learn/topics.json?_shape=array`); + + if (res.ok) { + return await res.json(); + } else { + throw new Error(); + } + } + + function hierarchy(topics) { + return topics.reduce( + (map, topic) => { + if (!topic.first_parent_topic_id) { + map.set(topic, []); + } else { + let parent = topics.find(t => t.id == topic.first_parent_topic_id); + map.set(parent, [...map.get(parent), topic]); + } + + return map; + }, + new Map() + ); + } + + function instance$8($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('TopicList', slots, []); + let dataPromise = getData$1(); + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$capture_state = () => ({ + TopicCard, + dataPromise, + getData: getData$1, + hierarchy + }); + + $$self.$inject_state = $$props => { + if ('dataPromise' in $$props) $$invalidate(0, dataPromise = $$props.dataPromise); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [dataPromise]; + } + + class TopicList extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$8, create_fragment$8, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "TopicList", + options, + id: create_fragment$8.name + }); + } + } + + /* src/ItemCard.svelte generated by Svelte v3.48.0 */ + + const file$5 = "src/ItemCard.svelte"; + + function create_fragment$7(ctx) { + let a; + let img; + let img_src_value; + let a_href_value; + + const block = { + c: function create() { + a = element("a"); + img = element("img"); + attr_dev(img, "class", "h-64 w-44 mr-6 mb-6 float-left border border-purple-200 rounded-md shadow-md md:shadow-xl transform transition ease-out duration-300 hover:scale-105"); + if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[0].image)) attr_dev(img, "src", img_src_value); + attr_dev(img, "alt", ""); + add_location(img, file$5, 5, 4, 76); + attr_dev(a, "href", a_href_value = "#/item/" + /*item*/ ctx[0].rowid); + add_location(a, file$5, 4, 0, 41); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, a, anchor); + append_dev(a, img); + }, + p: function update(ctx, [dirty]) { + if (dirty & /*item*/ 1 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[0].image)) { + attr_dev(img, "src", img_src_value); + } + + if (dirty & /*item*/ 1 && a_href_value !== (a_href_value = "#/item/" + /*item*/ ctx[0].rowid)) { + attr_dev(a, "href", a_href_value); + } + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(a); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$7.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$7($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('ItemCard', slots, []); + let { item } = $$props; + const writable_props = ['item']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ('item' in $$props) $$invalidate(0, item = $$props.item); + }; + + $$self.$capture_state = () => ({ item }); + + $$self.$inject_state = $$props => { + if ('item' in $$props) $$invalidate(0, item = $$props.item); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [item]; + } + + class ItemCard extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$7, create_fragment$7, safe_not_equal, { item: 0 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "ItemCard", + options, + id: create_fragment$7.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*item*/ ctx[0] === undefined && !('item' in props)) { + console.warn(" was created without expected prop 'item'"); + } + } + + get item() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set item(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/TopicDetail.svelte generated by Svelte v3.48.0 */ + const file$4 = "src/TopicDetail.svelte"; + + function get_each_context$3(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[2] = list[i]; + return child_ctx; + } + + // (21:0) {#each items as item} + function create_each_block$3(ctx) { + let itemcard; + let current; + + itemcard = new ItemCard({ + props: { item: /*item*/ ctx[2] }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(itemcard.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(itemcard, target, anchor); + current = true; + }, + p: function update(ctx, dirty) { + const itemcard_changes = {}; + if (dirty & /*items*/ 2) itemcard_changes.item = /*item*/ ctx[2]; + itemcard.$set(itemcard_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(itemcard.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(itemcard.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(itemcard, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block$3.name, + type: "each", + source: "(21:0) {#each items as item}", + ctx + }); + + return block; + } + + function create_fragment$6(ctx) { + let div1; + let div0; + let h2; + let t0; + let t1; + let each_1_anchor; + let current; + let each_value = /*items*/ ctx[1]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + div1 = element("div"); + div0 = element("div"); + h2 = element("h2"); + t0 = text(/*topic*/ ctx[0]); + t1 = space(); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + each_1_anchor = empty(); + attr_dev(h2, "class", "text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate"); + add_location(h2, file$4, 15, 6, 374); + attr_dev(div0, "class", "flex-1 min-w-0"); + add_location(div0, file$4, 14, 4, 339); + attr_dev(div1, "class", "md:flex md:items-center md:justify-between mb-8"); + add_location(div1, file$4, 13, 0, 273); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, div1, anchor); + append_dev(div1, div0); + append_dev(div0, h2); + append_dev(h2, t0); + insert_dev(target, t1, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(target, anchor); + } + + insert_dev(target, each_1_anchor, anchor); + current = true; + }, + p: function update(ctx, [dirty]) { + if (!current || dirty & /*topic*/ 1) set_data_dev(t0, /*topic*/ ctx[0]); + + if (dirty & /*items*/ 2) { + each_value = /*items*/ ctx[1]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$3(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$3(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div1); + if (detaching) detach_dev(t1); + destroy_each(each_blocks, detaching); + if (detaching) detach_dev(each_1_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$6.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$6($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('TopicDetail', slots, []); + let { topic } = $$props; + let items = []; + const writable_props = ['topic']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ('topic' in $$props) $$invalidate(0, topic = $$props.topic); + }; + + $$self.$capture_state = () => ({ ItemCard, topic, items }); + + $$self.$inject_state = $$props => { + if ('topic' in $$props) $$invalidate(0, topic = $$props.topic); + if ('items' in $$props) $$invalidate(1, items = $$props.items); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*topic*/ 1) { + fetch(`/learn/items.json?_shape=array&topics__contains=${topic}`).then(r => r.json()).then(data => { + $$invalidate(1, items = data); + }); + } + }; + + return [topic, items]; + } + + class TopicDetail extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$6, create_fragment$6, safe_not_equal, { topic: 0 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "TopicDetail", + options, + id: create_fragment$6.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*topic*/ ctx[0] === undefined && !('topic' in props)) { + console.warn(" was created without expected prop 'topic'"); + } + } + + get topic() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set topic(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/FormatList.svelte generated by Svelte v3.48.0 */ + + const { Error: Error_1 } = globals; + const file$3 = "src/FormatList.svelte"; + + function get_each_context$2(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[2] = list[i]; + return child_ctx; + } + + // (32:0) {:catch error} + function create_catch_block(ctx) { + let p; + let t_value = /*error*/ ctx[5].message + ""; + let t; + + const block = { + c: function create() { + p = element("p"); + t = text(t_value); + add_location(p, file$3, 32, 0, 957); + }, + m: function mount(target, anchor) { + insert_dev(target, p, anchor); + append_dev(p, t); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(p); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_catch_block.name, + type: "catch", + source: "(32:0) {:catch error}", + ctx + }); + + return block; + } + + // (16:0) {:then formats} + function create_then_block(ctx) { + let div; + let each_value = /*formats*/ ctx[1]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i)); + } + + const block = { + c: function create() { + div = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr_dev(div, "class", "mt-6"); + set_style(div, "columns", "6 240px"); + set_style(div, "column-gap", "1rem"); + add_location(div, file$3, 17, 0, 408); + }, + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div, null); + } + }, + p: function update(ctx, dirty) { + if (dirty & /*dataPromise*/ 1) { + each_value = /*formats*/ ctx[1]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$2(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + } else { + each_blocks[i] = create_each_block$2(child_ctx); + each_blocks[i].c(); + each_blocks[i].m(div, null); + } + } + + for (; i < each_blocks.length; i += 1) { + each_blocks[i].d(1); + } + + each_blocks.length = each_value.length; + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div); + destroy_each(each_blocks, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_then_block.name, + type: "then", + source: "(16:0) {:then formats}", + ctx + }); + + return block; + } + + // (19:4) {#each formats as format} + function create_each_block$2(ctx) { + let div1; + let a; + let h4; + let t0_value = /*format*/ ctx[2].name + ""; + let t0; + let t1; + let div0; + let t2; + let p; + let span; + let t4; + + const block = { + c: function create() { + div1 = element("div"); + a = element("a"); + h4 = element("h4"); + t0 = text(t0_value); + t1 = space(); + div0 = element("div"); + t2 = space(); + p = element("p"); + span = element("span"); + span.textContent = "and 37 more."; + t4 = space(); + attr_dev(h4, "class", "mt-1 p-1 text-gray-900 font-semibold text-lg"); + add_location(h4, file$3, 20, 41, 662); + attr_dev(a, "href", "#/format/" + /*format*/ ctx[2].name); + add_location(a, file$3, 20, 8, 629); + attr_dev(div0, "class", "mt-2 flex flex-wrap text-sm text-gray-900"); + add_location(div0, file$3, 22, 8, 757); + add_location(span, file$3, 25, 43, 876); + attr_dev(p, "class", "mt-2 text-sm text-right"); + add_location(p, file$3, 25, 8, 841); + attr_dev(div1, "tabindex", "0"); + attr_dev(div1, "class", "inline-block w-full mt-4 bg-white rounded-lg mt-4 px-4 py-4 shadow-lg focus:outline-none"); + add_location(div1, file$3, 19, 4, 505); + }, + m: function mount(target, anchor) { + insert_dev(target, div1, anchor); + append_dev(div1, a); + append_dev(a, h4); + append_dev(h4, t0); + append_dev(div1, t1); + append_dev(div1, div0); + append_dev(div1, t2); + append_dev(div1, p); + append_dev(p, span); + append_dev(div1, t4); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(div1); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block$2.name, + type: "each", + source: "(19:4) {#each formats as format}", + ctx + }); + + return block; + } + + // (14:20)

    Fetching data...

    {:then formats} + function create_pending_block(ctx) { + let p; + + const block = { + c: function create() { + p = element("p"); + p.textContent = "Fetching data..."; + add_location(p, file$3, 14, 0, 367); + }, + m: function mount(target, anchor) { + insert_dev(target, p, anchor); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(p); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_pending_block.name, + type: "pending", + source: "(14:20)

    Fetching data...

    {:then formats}", + ctx + }); + + return block; + } + + function create_fragment$5(ctx) { + let await_block_anchor; + + let info = { + ctx, + current: null, + token: null, + hasCatch: true, + pending: create_pending_block, + then: create_then_block, + catch: create_catch_block, + value: 1, + error: 5 + }; + + handle_promise(/*dataPromise*/ ctx[0], info); + + const block = { + c: function create() { + await_block_anchor = empty(); + info.block.c(); + }, + l: function claim(nodes) { + throw new Error_1("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, await_block_anchor, anchor); + info.block.m(target, info.anchor = anchor); + info.mount = () => await_block_anchor.parentNode; + info.anchor = await_block_anchor; + }, + p: function update(new_ctx, [dirty]) { + ctx = new_ctx; + update_await_block_branch(info, ctx, dirty); + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(await_block_anchor); + info.block.d(detaching); + info.token = null; + info = null; + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$5.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + async function getData() { + const res = await fetch(`/learn.json?_shape=array&sql=select+distinct(substr(links%2C1%2Cinstr(links%2C'|')-1))+as+name+from+items`); + + if (res.ok) { + return await res.json(); + } else { + throw new Error(); + } + } + + function instance$5($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('FormatList', slots, []); + let dataPromise = getData(); + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$capture_state = () => ({ dataPromise, getData }); + + $$self.$inject_state = $$props => { + if ('dataPromise' in $$props) $$invalidate(0, dataPromise = $$props.dataPromise); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [dataPromise]; + } + + class FormatList extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$5, create_fragment$5, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "FormatList", + options, + id: create_fragment$5.name + }); + } + } + + /* src/FormatDetail.svelte generated by Svelte v3.48.0 */ + const file$2 = "src/FormatDetail.svelte"; + + function get_each_context$1(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[2] = list[i]; + return child_ctx; + } + + // (19:0) {#each items as item} + function create_each_block$1(ctx) { + let itemcard; + let current; + + itemcard = new ItemCard({ + props: { item: /*item*/ ctx[2] }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(itemcard.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(itemcard, target, anchor); + current = true; + }, + p: function update(ctx, dirty) { + const itemcard_changes = {}; + if (dirty & /*items*/ 2) itemcard_changes.item = /*item*/ ctx[2]; + itemcard.$set(itemcard_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(itemcard.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(itemcard.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(itemcard, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block$1.name, + type: "each", + source: "(19:0) {#each items as item}", + ctx + }); + + return block; + } + + function create_fragment$4(ctx) { + let div1; + let div0; + let h2; + let t0; + let t1; + let each_1_anchor; + let current; + let each_value = /*items*/ ctx[1]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i)); + } + + const out = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + div1 = element("div"); + div0 = element("div"); + h2 = element("h2"); + t0 = text(/*format*/ ctx[0]); + t1 = space(); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + each_1_anchor = empty(); + attr_dev(h2, "class", "text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate"); + add_location(h2, file$2, 14, 6, 375); + attr_dev(div0, "class", "flex-1 min-w-0"); + add_location(div0, file$2, 13, 4, 340); + attr_dev(div1, "class", "md:flex md:items-center md:justify-between mb-8"); + add_location(div1, file$2, 12, 0, 274); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, div1, anchor); + append_dev(div1, div0); + append_dev(div0, h2); + append_dev(h2, t0); + insert_dev(target, t1, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(target, anchor); + } + + insert_dev(target, each_1_anchor, anchor); + current = true; + }, + p: function update(ctx, [dirty]) { + if (!current || dirty & /*format*/ 1) set_data_dev(t0, /*format*/ ctx[0]); + + if (dirty & /*items*/ 2) { + each_value = /*items*/ ctx[1]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$1(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$1(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out(i); + } + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div1); + if (detaching) detach_dev(t1); + destroy_each(each_blocks, detaching); + if (detaching) detach_dev(each_1_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$4.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$4($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('FormatDetail', slots, []); + let { format } = $$props; + let items = []; + const writable_props = ['format']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ('format' in $$props) $$invalidate(0, format = $$props.format); + }; + + $$self.$capture_state = () => ({ ItemCard, format, items }); + + $$self.$inject_state = $$props => { + if ('format' in $$props) $$invalidate(0, format = $$props.format); + if ('items' in $$props) $$invalidate(1, items = $$props.items); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*format*/ 1) { + fetch(`/learn/items.json?_shape=array&links__contains=${format}|`).then(r => r.json()).then(data => { + $$invalidate(1, items = data); + }); + } + }; + + return [format, items]; + } + + class FormatDetail extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$4, create_fragment$4, safe_not_equal, { format: 0 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "FormatDetail", + options, + id: create_fragment$4.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*format*/ ctx[0] === undefined && !('format' in props)) { + console.warn(" was created without expected prop 'format'"); + } + } + + get format() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set format(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/CourseList.svelte generated by Svelte v3.48.0 */ + + function create_fragment$3(ctx) { + const block = { + c: noop, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: noop, + p: noop, + i: noop, + o: noop, + d: noop + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$3.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$3($$self, $$props) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('CourseList', slots, []); + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + return []; + } + + class CourseList extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$3, create_fragment$3, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "CourseList", + options, + id: create_fragment$3.name + }); + } + } + + /* src/ItemDetail.svelte generated by Svelte v3.48.0 */ + + const file$1 = "src/ItemDetail.svelte"; + + // (21:0) {:else} + function create_else_block$1(ctx) { + let p; + + const block = { + c: function create() { + p = element("p"); + p.textContent = "loading..."; + attr_dev(p, "class", "loading"); + add_location(p, file$1, 21, 1, 492); + }, + m: function mount(target, anchor) { + insert_dev(target, p, anchor); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(p); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_else_block$1.name, + type: "else", + source: "(21:0) {:else}", + ctx + }); + + return block; + } + + // (14:0) {#if item} + function create_if_block$2(ctx) { + let h1; + let t0_value = /*item*/ ctx[0].name + ""; + let t0; + let t1; + let a; + let img; + let img_src_value; + let a_href_value; + + const block = { + c: function create() { + h1 = element("h1"); + t0 = text(t0_value); + t1 = space(); + a = element("a"); + img = element("img"); + add_location(h1, file$1, 14, 0, 227); + attr_dev(img, "class", "h-64 w-44 mr-6 mb-6 float-left border border-purple-200 rounded-md shadow-md md:shadow-xl transform transition ease-out duration-300 hover:scale-105"); + if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[0].image)) attr_dev(img, "src", img_src_value); + attr_dev(img, "alt", ""); + add_location(img, file$1, 17, 4, 284); + attr_dev(a, "href", a_href_value = "#/item/" + /*item*/ ctx[0].rowid); + add_location(a, file$1, 16, 0, 249); + }, + m: function mount(target, anchor) { + insert_dev(target, h1, anchor); + append_dev(h1, t0); + insert_dev(target, t1, anchor); + insert_dev(target, a, anchor); + append_dev(a, img); + }, + p: function update(ctx, dirty) { + if (dirty & /*item*/ 1 && t0_value !== (t0_value = /*item*/ ctx[0].name + "")) set_data_dev(t0, t0_value); + + if (dirty & /*item*/ 1 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[0].image)) { + attr_dev(img, "src", img_src_value); + } + + if (dirty & /*item*/ 1 && a_href_value !== (a_href_value = "#/item/" + /*item*/ ctx[0].rowid)) { + attr_dev(a, "href", a_href_value); + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(h1); + if (detaching) detach_dev(t1); + if (detaching) detach_dev(a); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block$2.name, + type: "if", + source: "(14:0) {#if item}", + ctx + }); + + return block; + } + + function create_fragment$2(ctx) { + let if_block_anchor; + + function select_block_type(ctx, dirty) { + if (/*item*/ ctx[0]) return create_if_block$2; + return create_else_block$1; + } + + let current_block_type = select_block_type(ctx); + let if_block = current_block_type(ctx); + + const block = { + c: function create() { + if_block.c(); + if_block_anchor = empty(); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + if_block.m(target, anchor); + insert_dev(target, if_block_anchor, anchor); + }, + p: function update(ctx, [dirty]) { + if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) { + if_block.p(ctx, dirty); + } else { + if_block.d(1); + if_block = current_block_type(ctx); + + if (if_block) { + if_block.c(); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if_block.d(detaching); + if (detaching) detach_dev(if_block_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$2.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$2($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('ItemDetail', slots, []); + let { itemid } = $$props; + let item; + const writable_props = ['itemid']; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ('itemid' in $$props) $$invalidate(1, itemid = $$props.itemid); + }; + + $$self.$capture_state = () => ({ itemid, item }); + + $$self.$inject_state = $$props => { + if ('itemid' in $$props) $$invalidate(1, itemid = $$props.itemid); + if ('item' in $$props) $$invalidate(0, item = $$props.item); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*itemid*/ 2) { + fetch(`/learn/items/${itemid}.json?_shape=object`).then(r => r.json()).then(data => { + $$invalidate(0, item = data[itemid]); + }); + } + }; + + return [item, itemid]; + } + + class ItemDetail extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$2, create_fragment$2, safe_not_equal, { itemid: 1 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "ItemDetail", + options, + id: create_fragment$2.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*itemid*/ ctx[1] === undefined && !('itemid' in props)) { + console.warn(" was created without expected prop 'itemid'"); + } + } + + get itemid() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set itemid(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/AdvancedSearch.svelte generated by Svelte v3.48.0 */ + + const file = "src/AdvancedSearch.svelte"; + + function get_each_context(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[3] = list[i]; + return child_ctx; + } + + function get_each_context_1(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[6] = list[i]; + return child_ctx; + } + + // (67:8) {:else} + function create_else_block(ctx) { + let div; + let svg; + let path; + let t0; + let p0; + let t2; + let p1; + + const block = { + c: function create() { + div = element("div"); + svg = svg_element("svg"); + path = svg_element("path"); + t0 = space(); + p0 = element("p"); + p0.textContent = "No results found"; + t2 = space(); + p1 = element("p"); + p1.textContent = "We couldn’t find anything with that term. Please try again."; + attr_dev(path, "stroke-linecap", "round"); + attr_dev(path, "stroke-linejoin", "round"); + attr_dev(path, "d", "M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"); + add_location(path, file, 72, 12, 4109); + attr_dev(svg, "class", "mx-auto h-6 w-6 text-gray-400"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "fill", "none"); + attr_dev(svg, "viewBox", "0 0 24 24"); + attr_dev(svg, "stroke-width", "2"); + attr_dev(svg, "stroke", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file, 71, 10, 3928); + attr_dev(p0, "class", "mt-4 font-semibold text-gray-900"); + add_location(p0, file, 74, 10, 4279); + attr_dev(p1, "class", "mt-2 text-gray-500"); + add_location(p1, file, 75, 10, 4354); + attr_dev(div, "class", "border-t border-gray-100 py-14 px-6 text-center text-sm sm:px-14"); + add_location(div, file, 69, 8, 3787); + }, + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + append_dev(div, svg); + append_dev(svg, path); + append_dev(div, t0); + append_dev(div, p0); + append_dev(div, t2); + append_dev(div, p1); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(div); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_else_block.name, + type: "else", + source: "(67:8) {:else}", + ctx + }); + + return block; + } + + // (45:37) + function create_if_block_1$1(ctx) { + let ul2; + let li0; + let h20; + let t1; + let ul0; + let t2; + let li1; + let h21; + let t4; + let ul1; + let each_value_1 = /*results*/ ctx[1]; + validate_each_argument(each_value_1); + let each_blocks_1 = []; + + for (let i = 0; i < each_value_1.length; i += 1) { + each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i)); + } + + let each_value = /*results*/ ctx[1]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); + } + + const block = { + c: function create() { + ul2 = element("ul"); + li0 = element("li"); + h20 = element("h2"); + h20.textContent = "Items"; + t1 = space(); + ul0 = element("ul"); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].c(); + } + + t2 = space(); + li1 = element("li"); + h21 = element("h2"); + h21.textContent = "Topics"; + t4 = space(); + ul1 = element("ul"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr_dev(h20, "class", "bg-gray-100 py-2.5 px-4 text-xs font-semibold text-gray-900"); + add_location(h20, file, 49, 12, 2751); + attr_dev(ul0, "class", "mt-2 text-sm text-gray-800"); + add_location(ul0, file, 50, 12, 2846); + add_location(li0, file, 48, 10, 2734); + attr_dev(h21, "class", "bg-gray-100 py-2.5 px-4 text-xs font-semibold text-gray-900"); + add_location(h21, file, 57, 12, 3221); + attr_dev(ul1, "class", "mt-2 text-sm text-gray-800"); + add_location(ul1, file, 58, 12, 3317); + add_location(li1, file, 56, 10, 3204); + attr_dev(ul2, "class", "max-h-80 scroll-pt-11 scroll-pb-2 space-y-2 overflow-y-auto pb-2"); + attr_dev(ul2, "id", "options"); + attr_dev(ul2, "role", "listbox"); + add_location(ul2, file, 47, 8, 2618); + }, + m: function mount(target, anchor) { + insert_dev(target, ul2, anchor); + append_dev(ul2, li0); + append_dev(li0, h20); + append_dev(li0, t1); + append_dev(li0, ul0); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].m(ul0, null); + } + + append_dev(ul2, t2); + append_dev(ul2, li1); + append_dev(li1, h21); + append_dev(li1, t4); + append_dev(li1, ul1); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(ul1, null); + } + }, + p: function update(ctx, dirty) { + if (dirty & /*results*/ 2) { + each_value_1 = /*results*/ ctx[1]; + validate_each_argument(each_value_1); + let i; + + for (i = 0; i < each_value_1.length; i += 1) { + const child_ctx = get_each_context_1(ctx, each_value_1, i); + + if (each_blocks_1[i]) { + each_blocks_1[i].p(child_ctx, dirty); + } else { + each_blocks_1[i] = create_each_block_1(child_ctx); + each_blocks_1[i].c(); + each_blocks_1[i].m(ul0, null); + } + } + + for (; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].d(1); + } + + each_blocks_1.length = each_value_1.length; + } + + if (dirty & /*results*/ 2) { + each_value = /*results*/ ctx[1]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + } else { + each_blocks[i] = create_each_block(child_ctx); + each_blocks[i].c(); + each_blocks[i].m(ul1, null); + } + } + + for (; i < each_blocks.length; i += 1) { + each_blocks[i].d(1); + } + + each_blocks.length = each_value.length; + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(ul2); + destroy_each(each_blocks_1, detaching); + destroy_each(each_blocks, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_1$1.name, + type: "if", + source: "(45:37) ", + ctx + }); + + return block; + } + + // (34:8) {#if !query } + function create_if_block$1(ctx) { + let div; + let svg; + let path; + let t0; + let p0; + let t2; + let p1; + + const block = { + c: function create() { + div = element("div"); + svg = svg_element("svg"); + path = svg_element("path"); + t0 = space(); + p0 = element("p"); + p0.textContent = "Search for items, topics and creators"; + t2 = space(); + p1 = element("p"); + p1.textContent = "Quickly look for resources by running a global search."; + attr_dev(path, "stroke-linecap", "round"); + attr_dev(path, "stroke-linejoin", "round"); + attr_dev(path, "d", "M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"); + add_location(path, file, 38, 12, 2009); + attr_dev(svg, "class", "mx-auto h-6 w-6 text-gray-400"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "fill", "none"); + attr_dev(svg, "viewBox", "0 0 24 24"); + attr_dev(svg, "stroke-width", "2"); + attr_dev(svg, "stroke", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file, 37, 10, 1828); + attr_dev(p0, "class", "mt-4 font-semibold text-gray-900"); + add_location(p0, file, 40, 10, 2293); + attr_dev(p1, "class", "mt-2 text-gray-500"); + add_location(p1, file, 41, 10, 2389); + attr_dev(div, "class", "border-t border-gray-100 py-14 px-6 text-center text-sm sm:px-14"); + add_location(div, file, 35, 8, 1691); + }, + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + append_dev(div, svg); + append_dev(svg, path); + append_dev(div, t0); + append_dev(div, p0); + append_dev(div, t2); + append_dev(div, p1); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(div); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block$1.name, + type: "if", + source: "(34:8) {#if !query }", + ctx + }); + + return block; + } + + // (52:14) {#each results as item} + function create_each_block_1(ctx) { + let li; + let a; + let t_value = /*item*/ ctx[6].name + ""; + let t; + let a_href_value; + + const block = { + c: function create() { + li = element("li"); + a = element("a"); + t = text(t_value); + attr_dev(a, "href", a_href_value = "#/item/" + /*item*/ ctx[6].rowid); + attr_dev(a, "class", "block cursor-default select-none px-4 py-2 hover:bg-indigo-600 hover:text-white cursor-pointer"); + attr_dev(a, "id", "option-1"); + attr_dev(a, "role", "option"); + attr_dev(a, "tabindex", "-1"); + add_location(a, file, 52, 18, 2942); + add_location(li, file, 52, 14, 2938); + }, + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + append_dev(li, a); + append_dev(a, t); + }, + p: function update(ctx, dirty) { + if (dirty & /*results*/ 2 && t_value !== (t_value = /*item*/ ctx[6].name + "")) set_data_dev(t, t_value); + + if (dirty & /*results*/ 2 && a_href_value !== (a_href_value = "#/item/" + /*item*/ ctx[6].rowid)) { + attr_dev(a, "href", a_href_value); + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block_1.name, + type: "each", + source: "(52:14) {#each results as item}", + ctx + }); + + return block; + } + + // (60:16) {#each results as topic} + function create_each_block(ctx) { + let li; + let a; + let t_value = /*topic*/ ctx[3].name + ""; + let t; + let a_href_value; + + const block = { + c: function create() { + li = element("li"); + a = element("a"); + t = text(t_value); + attr_dev(a, "href", a_href_value = "#/topic/" + /*topic*/ ctx[3].name); + attr_dev(a, "class", "block cursor-default select-none px-4 py-2 hover:bg-indigo-600 hover:text-white cursor-pointer"); + attr_dev(a, "id", "option-1"); + attr_dev(a, "role", "option"); + attr_dev(a, "tabindex", "-1"); + add_location(a, file, 60, 20, 3418); + add_location(li, file, 60, 16, 3414); + }, + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + append_dev(li, a); + append_dev(a, t); + }, + p: function update(ctx, dirty) { + if (dirty & /*results*/ 2 && t_value !== (t_value = /*topic*/ ctx[3].name + "")) set_data_dev(t, t_value); + + if (dirty & /*results*/ 2 && a_href_value !== (a_href_value = "#/topic/" + /*topic*/ ctx[3].name)) { + attr_dev(a, "href", a_href_value); + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block.name, + type: "each", + source: "(60:16) {#each results as topic}", + ctx + }); + + return block; + } + + function create_fragment$1(ctx) { + let div3; + let div2; + let div1; + let div0; + let svg; + let path; + let t0; + let input; + let t1; + let mounted; + let dispose; + + function select_block_type(ctx, dirty) { + if (!/*query*/ ctx[0]) return create_if_block$1; + if (/*results*/ ctx[1].length > 0) return create_if_block_1$1; + return create_else_block; + } + + let current_block_type = select_block_type(ctx); + let if_block = current_block_type(ctx); + + const block = { + c: function create() { + div3 = element("div"); + div2 = element("div"); + div1 = element("div"); + div0 = element("div"); + svg = svg_element("svg"); + path = svg_element("path"); + t0 = space(); + input = element("input"); + t1 = space(); + if_block.c(); + attr_dev(path, "fill-rule", "evenodd"); + attr_dev(path, "d", "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"); + attr_dev(path, "clip-rule", "evenodd"); + add_location(path, file, 28, 12, 1138); + attr_dev(svg, "class", "pointer-events-none absolute top-3.5 left-4 h-5 w-5 text-gray-400"); + attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg"); + attr_dev(svg, "viewBox", "0 0 20 20"); + attr_dev(svg, "fill", "currentColor"); + attr_dev(svg, "aria-hidden", "true"); + add_location(svg, file, 27, 10, 952); + attr_dev(input, "type", "text"); + attr_dev(input, "class", "h-12 w-full border-0 bg-transparent pl-11 pr-4 text-gray-800 placeholder-gray-400 focus:ring-0 sm:text-sm"); + attr_dev(input, "placeholder", "Search..."); + attr_dev(input, "role", "combobox"); + attr_dev(input, "aria-expanded", "false"); + attr_dev(input, "aria-controls", "options"); + add_location(input, file, 30, 10, 1331); + attr_dev(div0, "class", "relative"); + add_location(div0, file, 25, 8, 872); + attr_dev(div1, "class", "mx-auto max-w-xl transform overflow-hidden rounded-xl bg-white shadow-2xl ring-1 ring-black ring-opacity-5 transition-all"); + add_location(div1, file, 24, 6, 728); + attr_dev(div2, "class", "overflow-y-auto p-4 sm:p-6 md:p-20"); + add_location(div2, file, 13, 4, 258); + attr_dev(div3, "class", "relative"); + add_location(div3, file, 11, 0, 230); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, div3, anchor); + append_dev(div3, div2); + append_dev(div2, div1); + append_dev(div1, div0); + append_dev(div0, svg); + append_dev(svg, path); + append_dev(div0, t0); + append_dev(div0, input); + set_input_value(input, /*query*/ ctx[0]); + append_dev(div1, t1); + if_block.m(div1, null); + + if (!mounted) { + dispose = listen_dev(input, "input", /*input_input_handler*/ ctx[2]); + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + if (dirty & /*query*/ 1 && input.value !== /*query*/ ctx[0]) { + set_input_value(input, /*query*/ ctx[0]); + } + + if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) { + if_block.p(ctx, dirty); + } else { + if_block.d(1); + if_block = current_block_type(ctx); + + if (if_block) { + if_block.c(); + if_block.m(div1, null); + } + } + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(div3); + if_block.d(); + mounted = false; + dispose(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$1.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$1($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('AdvancedSearch', slots, []); + let query = ''; + let results = []; + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + function input_input_handler() { + query = this.value; + $$invalidate(0, query); + } + + $$self.$capture_state = () => ({ query, results }); + + $$self.$inject_state = $$props => { + if ('query' in $$props) $$invalidate(0, query = $$props.query); + if ('results' in $$props) $$invalidate(1, results = $$props.results); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*query*/ 1) { + query && fetch(`/learn/items.json?_shape=array&name__contains=${query}`).then(r => r.json()).then(data => { + $$invalidate(1, results = data); + }); + } + }; + + return [query, results, input_input_handler]; + } + + class AdvancedSearch extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$1, create_fragment$1, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "AdvancedSearch", + options, + id: create_fragment$1.name + }); + } + } + + /* src/App.svelte generated by Svelte v3.48.0 */ + + const { window: window_1 } = globals; + + // (61:40) + function create_if_block_7(ctx) { + let advancedsearch; + let current; + advancedsearch = new AdvancedSearch({ $$inline: true }); + + const block = { + c: function create() { + create_component(advancedsearch.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(advancedsearch, target, anchor); + current = true; + }, + p: noop, + i: function intro(local) { + if (current) return; + transition_in(advancedsearch.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(advancedsearch.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(advancedsearch, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_7.name, + type: "if", + source: "(61:40) ", + ctx + }); + + return block; + } + + // (59:47) + function create_if_block_6(ctx) { + let itemdetail; + let current; + + itemdetail = new ItemDetail({ + props: { + itemid: /*currentView*/ ctx[0].split("/")[2] + }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(itemdetail.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(itemdetail, target, anchor); + current = true; + }, + p: function update(ctx, dirty) { + const itemdetail_changes = {}; + if (dirty & /*currentView*/ 1) itemdetail_changes.itemid = /*currentView*/ ctx[0].split("/")[2]; + itemdetail.$set(itemdetail_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(itemdetail.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(itemdetail.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(itemdetail, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_6.name, + type: "if", + source: "(59:47) ", + ctx + }); + + return block; + } + + // (57:41) + function create_if_block_5(ctx) { + let courselist; + let current; + courselist = new CourseList({ $$inline: true }); + + const block = { + c: function create() { + create_component(courselist.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(courselist, target, anchor); + current = true; + }, + p: noop, + i: function intro(local) { + if (current) return; + transition_in(courselist.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(courselist.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(courselist, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_5.name, + type: "if", + source: "(57:41) ", + ctx + }); + + return block; + } + + // (55:49) + function create_if_block_4(ctx) { + let formatdetail; + let current; + + formatdetail = new FormatDetail({ + props: { + format: /*currentView*/ ctx[0].split("/")[2] + }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(formatdetail.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(formatdetail, target, anchor); + current = true; + }, + p: function update(ctx, dirty) { + const formatdetail_changes = {}; + if (dirty & /*currentView*/ 1) formatdetail_changes.format = /*currentView*/ ctx[0].split("/")[2]; + formatdetail.$set(formatdetail_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(formatdetail.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(formatdetail.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(formatdetail, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_4.name, + type: "if", + source: "(55:49) ", + ctx + }); + + return block; + } + + // (53:41) + function create_if_block_3(ctx) { + let formatlist; + let current; + formatlist = new FormatList({ $$inline: true }); + + const block = { + c: function create() { + create_component(formatlist.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(formatlist, target, anchor); + current = true; + }, + p: noop, + i: function intro(local) { + if (current) return; + transition_in(formatlist.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(formatlist.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(formatlist, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_3.name, + type: "if", + source: "(53:41) ", + ctx + }); + + return block; + } + + // (51:48) + function create_if_block_2(ctx) { + let topicdetail; + let current; + + topicdetail = new TopicDetail({ + props: { + topic: /*currentView*/ ctx[0].split("/")[2] + }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(topicdetail.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(topicdetail, target, anchor); + current = true; + }, + p: function update(ctx, dirty) { + const topicdetail_changes = {}; + if (dirty & /*currentView*/ 1) topicdetail_changes.topic = /*currentView*/ ctx[0].split("/")[2]; + topicdetail.$set(topicdetail_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(topicdetail.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(topicdetail.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(topicdetail, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_2.name, + type: "if", + source: "(51:48) ", + ctx + }); + + return block; + } + + // (49:40) + function create_if_block_1(ctx) { + let topiclist; + let current; + topiclist = new TopicList({ $$inline: true }); + + const block = { + c: function create() { + create_component(topiclist.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(topiclist, target, anchor); + current = true; + }, + p: noop, + i: function intro(local) { + if (current) return; + transition_in(topiclist.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(topiclist.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(topiclist, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_1.name, + type: "if", + source: "(49:40) ", + ctx + }); + + return block; + } + + // (47:4) {#if currentView === "/home" || currentView === "/"} + function create_if_block(ctx) { + let home; + let current; + home = new Home({ $$inline: true }); + + const block = { + c: function create() { + create_component(home.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(home, target, anchor); + current = true; + }, + p: noop, + i: function intro(local) { + if (current) return; + transition_in(home.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(home.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(home, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block.name, + type: "if", + source: "(47:4) {#if currentView === \\\"/home\\\" || currentView === \\\"/\\\"}", + ctx + }); + + return block; + } + + // (46:0) + function create_default_slot(ctx) { + let show_if; + let show_if_1; + let show_if_2; + let current_block_type_index; + let if_block; + let if_block_anchor; + let current; + + const if_block_creators = [ + create_if_block, + create_if_block_1, + create_if_block_2, + create_if_block_3, + create_if_block_4, + create_if_block_5, + create_if_block_6, + create_if_block_7 + ]; + + const if_blocks = []; + + function select_block_type(ctx, dirty) { + if (dirty & /*currentView*/ 1) show_if = null; + if (dirty & /*currentView*/ 1) show_if_1 = null; + if (dirty & /*currentView*/ 1) show_if_2 = null; + if (/*currentView*/ ctx[0] === "/home" || /*currentView*/ ctx[0] === "/") return 0; + if (/*currentView*/ ctx[0] === "/topics") return 1; + if (show_if == null) show_if = !!/*currentView*/ ctx[0].startsWith("/topic/"); + if (show_if) return 2; + if (/*currentView*/ ctx[0] === "/formats") return 3; + if (show_if_1 == null) show_if_1 = !!/*currentView*/ ctx[0].startsWith("/format/"); + if (show_if_1) return 4; + if (/*currentView*/ ctx[0] === "/courses") return 5; + if (show_if_2 == null) show_if_2 = !!/*currentView*/ ctx[0].startsWith("/item/"); + if (show_if_2) return 6; + if (/*currentView*/ ctx[0] === "/search") return 7; + return -1; + } + + if (~(current_block_type_index = select_block_type(ctx, -1))) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + } + + const block = { + c: function create() { + if (if_block) if_block.c(); + if_block_anchor = empty(); + }, + m: function mount(target, anchor) { + if (~current_block_type_index) { + if_blocks[current_block_type_index].m(target, anchor); + } + + insert_dev(target, if_block_anchor, anchor); + current = true; + }, + p: function update(ctx, dirty) { + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type(ctx, dirty); + + if (current_block_type_index === previous_block_index) { + if (~current_block_type_index) { + if_blocks[current_block_type_index].p(ctx, dirty); + } + } else { + if (if_block) { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + } + + if (~current_block_type_index) { + if_block = if_blocks[current_block_type_index]; + + if (!if_block) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block.c(); + } else { + if_block.p(ctx, dirty); + } + + transition_in(if_block, 1); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } else { + if_block = null; + } + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + o: function outro(local) { + transition_out(if_block); + current = false; + }, + d: function destroy(detaching) { + if (~current_block_type_index) { + if_blocks[current_block_type_index].d(detaching); + } + + if (detaching) detach_dev(if_block_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot.name, + type: "slot", + source: "(46:0) ", + ctx + }); + + return block; + } + + function create_fragment(ctx) { + let tailwindui_appshell; + let current; + let mounted; + let dispose; + + tailwindui_appshell = new AppShell({ + props: { + sidebarItems: /*sidebarItems*/ ctx[1], + $$slots: { default: [create_default_slot] }, + $$scope: { ctx } + }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(tailwindui_appshell.$$.fragment); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + mount_component(tailwindui_appshell, target, anchor); + current = true; + + if (!mounted) { + dispose = listen_dev(window_1, "hashchange", /*hashchange*/ ctx[2], false, false, false); + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + const tailwindui_appshell_changes = {}; + + if (dirty & /*$$scope, currentView*/ 17) { + tailwindui_appshell_changes.$$scope = { dirty, ctx }; + } + + tailwindui_appshell.$set(tailwindui_appshell_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(tailwindui_appshell.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(tailwindui_appshell.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(tailwindui_appshell, detaching); + mounted = false; + dispose(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots('App', slots, []); + + let sidebarItems = [ + { + text: "Topics", + link: "#/topics", + icon: "home" + }, + { + text: "Formats", + link: "#/formats", + icon: "home" + }, + { + text: "Random item", + link: "#/item/1", + icon: "home" + }, + { + text: "Search", + link: "#/search", + icon: "home" + }, + { + text: "Datasette", + link: "/learn", + icon: "home" + } + ]; + + let currentView = "/topics"; + + function handleTabChanged(event) { + $$invalidate(0, currentView = event.detail.tab); + } + + async function hashchange() { + // the poor man's router! + const path = window.location.hash.slice(1); + + if (path.length > 0) { + $$invalidate(0, currentView = path); + } else { + window.location.hash = '/home'; + $$invalidate(0, currentView = '/home'); + } + } + + onMount(hashchange); + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$capture_state = () => ({ + onMount, + TailwindUI, + Home, + TopicList, + TopicDetail, + FormatList, + FormatDetail, + CourseList, + ItemDetail, + AdvancedSearch, + sidebarItems, + currentView, + handleTabChanged, + hashchange + }); + + $$self.$inject_state = $$props => { + if ('sidebarItems' in $$props) $$invalidate(1, sidebarItems = $$props.sidebarItems); + if ('currentView' in $$props) $$invalidate(0, currentView = $$props.currentView); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [currentView, sidebarItems, hashchange]; + } + + class App extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance, create_fragment, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "App", + options, + id: create_fragment.name + }); + } + } + + new App({ + target: document.querySelector('#app'), + }); + +})(); +//# sourceMappingURL=bundle.js.map diff --git a/static/bundle.js.map b/static/bundle.js.map new file mode 100644 index 0000000..3554e2c --- /dev/null +++ b/static/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bundle.js","sources":["../node_modules/svelte/internal/index.mjs","../src/tailwindui/Icon.svelte","../src/tailwindui/MenuButton.svelte","../src/tailwindui/SearchForm.svelte","../src/tailwindui/AppShell.svelte","../src/Home.svelte","../src/TopicCard.svelte","../src/TopicList.svelte","../src/ItemCard.svelte","../src/TopicDetail.svelte","../src/FormatList.svelte","../src/FormatDetail.svelte","../src/ItemDetail.svelte","../src/AdvancedSearch.svelte","../src/App.svelte","../src/main.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not \n let children = target.childNodes;\n // If target is , there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes, is_svg) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration(undefined, is_svg);\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes, is_svg);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value === null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n select.selectedIndex = -1; // no option should be selected\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, cancelable, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(is_svg = false) {\n this.is_svg = false;\n this.is_svg = is_svg;\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n if (this.is_svg)\n this.e = svg_element(target.nodeName);\n else\n this.e = element(target.nodeName);\n this.t = target;\n this.c(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nclass HtmlTagHydration extends HtmlTag {\n constructor(claimed_nodes, is_svg = false) {\n super(is_svg);\n this.e = this.n = null;\n this.l = claimed_nodes;\n }\n c(html) {\n if (this.l) {\n this.n = this.l;\n }\n else {\n super.c(html);\n }\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert_hydration(this.t, this.n[i], anchor);\n }\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\n// we need to store the information for multiple documents because a Svelte application could also contain iframes\n// https://github.com/sveltejs/svelte/issues/3624\nconst managed_styles = new Map();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_style_information(doc, node) {\n const info = { stylesheet: append_empty_stylesheet(node), rules: {} };\n managed_styles.set(doc, info);\n return info;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = get_root_for_style(node);\n const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);\n if (!rules[name]) {\n rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n managed_styles.forEach(info => {\n const { stylesheet } = info;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n info.rules = {};\n });\n managed_styles.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail, { cancelable = false } = {}) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail, { cancelable });\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n return !event.defaultPrevented;\n }\n return true;\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n return context;\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction getAllContexts() {\n return get_current_component().$$.context;\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n // @ts-ignore\n callbacks.slice().forEach(fn => fn.call(this, event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\n// flush() calls callbacks in this order:\n// 1. All beforeUpdate callbacks, in order: parents before children\n// 2. All bind:this callbacks, in reverse order: children before parents.\n// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT\n// for afterUpdates called during the initial onMount, which are called in\n// reverse order: children before parents.\n// Since callbacks might update component values, which could trigger another\n// call to flush(), the following steps guard against this:\n// 1. During beforeUpdate, any updated components will be added to the\n// dirty_components array and will cause a reentrant call to flush(). Because\n// the flush index is kept outside the function, the reentrant call will pick\n// up where the earlier call left off and go through all dirty components. The\n// current_component value is saved and restored so that the reentrant call will\n// not interfere with the \"parent\" flush() call.\n// 2. bind:this callbacks cannot trigger new flush() calls.\n// 3. During afterUpdate, any updated components will NOT have their afterUpdate\n// callback called a second time; the seen_callbacks set, outside the flush()\n// function, guarantees this behavior.\nconst seen_callbacks = new Set();\nlet flushidx = 0; // Do *not* move this inside the flush() function\nfunction flush() {\n const saved_component = current_component;\n do {\n // first, call beforeUpdate functions\n // and update components\n while (flushidx < dirty_components.length) {\n const component = dirty_components[flushidx];\n flushidx++;\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n flushidx = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n seen_callbacks.clear();\n set_current_component(saved_component);\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n started = true;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = (program.b - t);\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst void_element_names = /^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/;\nfunction is_void(name) {\n return void_element_names.test(name) || name.toLowerCase() === '!doctype';\n}\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, attrs_to_add) {\n const attributes = Object.assign({}, ...args);\n if (attrs_to_add) {\n const classes_to_add = attrs_to_add.classes;\n const styles_to_add = attrs_to_add.styles;\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n if (styles_to_add) {\n if (attributes.style == null) {\n attributes.style = style_object_to_string(styles_to_add);\n }\n else {\n attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));\n }\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${value}\"`;\n }\n });\n return str;\n}\nfunction merge_ssr_styles(style_attribute, style_directive) {\n const style_object = {};\n for (const individual_style of style_attribute.split(';')) {\n const colon_index = individual_style.indexOf(':');\n const name = individual_style.slice(0, colon_index).trim();\n const value = individual_style.slice(colon_index + 1).trim();\n if (!name)\n continue;\n style_object[name] = value;\n }\n for (const name in style_directive) {\n const value = style_directive[name];\n if (value) {\n style_object[name] = value;\n }\n else {\n delete style_object[name];\n }\n }\n return style_object;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction escape_attribute_value(value) {\n return typeof value === 'string' ? escape(value) : value;\n}\nfunction escape_object(obj) {\n const result = {};\n for (const key in obj) {\n result[key] = escape_attribute_value(obj[key]);\n }\n return result;\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(context || (parent_component ? parent_component.$$.context : [])),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n const assignment = (boolean && value === true) ? '' : `=\"${escape_attribute_value(value.toString())}\"`;\n return ` ${name}${assignment}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\nfunction style_object_to_string(style_object) {\n return Object.keys(style_object)\n .filter(key => style_object[key])\n .map(key => `${key}: ${style_object[key]};`)\n .join(' ');\n}\nfunction add_styles(style_object) {\n const styles = style_object_to_string(style_object);\n return styles ? ` style=\"${styles}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false,\n root: options.target || parent_component.$$.root\n };\n append_styles && append_styles($$.root);\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n start_hydrating();\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n end_hydrating();\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.48.0' }, detail), { bubbles: true }));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction append_hydration_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append_hydration(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction insert_hydration_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert_hydration(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nfunction validate_dynamic_element(tag) {\n const is_string = typeof tag === 'string';\n if (tag && !is_string) {\n throw new Error(' expects \"this\" attribute to be a string.');\n }\n}\nfunction validate_void_dynamic_element(tag) {\n if (tag && is_void(tag)) {\n throw new Error(` is self-closing and cannot have content.`);\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * \n * \n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to separate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, HtmlTagHydration, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_styles, add_transform, afterUpdate, append, append_dev, append_empty_stylesheet, append_hydration, append_hydration_dev, append_styles, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_html_tag, claim_space, claim_svg_element, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, end_hydrating, escape, escape_attribute_value, escape_object, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getAllContexts, getContext, get_all_dirty_from_scope, get_binding_group_value, get_current_component, get_custom_elements_slots, get_root_for_style, get_slot_changes, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, insert_hydration, insert_hydration_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, is_void, listen, listen_dev, loop, loop_guard, merge_ssr_styles, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, src_url_equal, start_hydrating, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, trusted, update_await_block_branch, update_keyed_each, update_slot, update_slot_base, validate_component, validate_dynamic_element, validate_each_argument, validate_each_keys, validate_slots, validate_store, validate_void_dynamic_element, xlink_attr };\n","\n\n{#if kind === 'home'}\n \n \n \n \n{:else if kind === \"menu\"}\n \n \n \n \n{:else if kind === \"bell\"}\n \n \n \n \n{:else if kind === \"search\"}\n \n \n \n \n{:else if kind === \"dots\"}\n \n \n \n \n{/if}"," \n
    \n
    \n \n
    \n \n \n
    \n \n Your Profile\n \n Settings\n \n Sign out\n
    \n
    ","\n\n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n\n
      \n
    • \n

      Clients

      \n
        \n \n
      • Workflow Inc.
      • \n
      • Multinational LLC.
      • \n
      \n
    • \n
    • \n

      Projects

      \n
        \n \n
      • Workflow Inc. / Website Redesign
      • \n
      • Multinational LLC. / Animation
      • \n
      \n
    • \n
    ","\n\n
    \n \n {#if isNavDrawerOpen}\n
    \n \n
    \n \n
    \n \n
    \n \n
    \n \n
    \n \n \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n {/if}\n \n \n
    \n \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n {#if showNotificationBell || showProfileMenu}\n
    \n {#if showNotificationBell}\n \n {/if}\n\n {#if showProfileMenu}{/if}\n
    \n {/if}\n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    ","
    \n
    \n
    \n

    \n Coming soon\n \n Data to enrich your\n online business\n \n

    \n

    Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua ad ad non deserunt sunt.

    \n
    \n
    \n \n \n \n \n \n \n \n \n \n
    \n \n
    \n
    \n
    \n
    ","\n\n
  • \n
    {abbr}
    \n
    \n
    \n {topic.display_name}\n

    {topic.rowid} items

    \n
    \n
    \n \n
    \n
    \n
  • ","\n\n{#await dataPromise}\n

    Fetching data...

    \n{:then topics}\n\n
    \n {#each [...hierarchy(topics).keys()] as parent}\n
    \n

    { parent.display_name }

    \n \n
    \n {#each hierarchy(topics).get(parent) as child}\n {child.display_name}\n {/each}\n
    \n \n

    and 37 more.

    \n \n
    \n {/each}\n
    \n\n{:catch error}\n

    {error.message}

    \n{/await}\n","\n\n\n \"\"\n\n\n","\n\n
    \n
    \n

    {topic}

    \n
    \n
    \n\n\n{#each items as item}\n \n{/each}\n","\n\n{#await dataPromise}\n

    Fetching data...

    \n{:then formats}\n\n
    \n {#each formats as format}\n
    \n

    { format.name }

    \n \n
    \n
    \n \n

    and 37 more.

    \n \n
    \n {/each}\n
    \n\n{:catch error}\n

    {error.message}

    \n{/await}","\n\n
    \n
    \n

    {format}

    \n
    \n
    \n\n{#each items as item}\n \n{/each}","\n\n{#if item}\n

    {item.name}

    \n\n\n \"\"\n\n{:else}\n\t

    loading...

    \n{/if}\n","\n\n
    \n\n
    \n \n
    \n
    \n \n \n \n \n \n
    \n \n {#if !query }\n \n
    \n \n \n \n \n

    Search for items, topics and creators

    \n

    Quickly look for resources by running a global search.

    \n
    \n \n {:else if results.length > 0}\n \n \n
      \n
    • \n

      Items

      \n \n
    • \n
    • \n

      Topics

      \n \n
    • \n
    \n\n {:else}\n \n \n
    \n \n \n \n \n

    No results found

    \n

    We couldn’t find anything with that term. Please try again.

    \n
    \n\n {/if}\n
    \n
    \n
    ","\n\n\n\n\n {#if currentView === \"/home\" || currentView === \"/\"}\n \n {:else if currentView === \"/topics\"}\n \n {:else if currentView.startsWith(\"/topic/\")}\n \n {:else if currentView === \"/formats\"}\n \n {:else if currentView.startsWith(\"/format/\")}\n \n {:else if currentView === \"/courses\"}\n \n {:else if currentView.startsWith(\"/item/\")}\n \n {:else if currentView === \"/search\"}\n \n {/if}\n","import App from './App.svelte';\n\nnew App({\n target: document.querySelector('#app'),\n});"],"names":["create_if_block","create_if_block_1","create_if_block_2","create_if_block_3","create_if_block_4","getData"],"mappings":";;;;;IAAA,SAAS,IAAI,GAAG,GAAG;IAEnB,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE;IAC1B;IACA,IAAI,KAAK,MAAM,CAAC,IAAI,GAAG;IACvB,QAAQ,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;IACxB,IAAI,OAAO,GAAG,CAAC;IACf,CAAC;IACD,SAAS,UAAU,CAAC,KAAK,EAAE;IAC3B,IAAI,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC;IAClF,CAAC;IACD,SAAS,YAAY,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzD,IAAI,OAAO,CAAC,aAAa,GAAG;IAC5B,QAAQ,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzC,KAAK,CAAC;I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,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA,CAAA;;UAErC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAA;IAClB,GAAA,YAAA,CAAA,CAAA,EAAA,WAAW,GAAG,IAAI,CAAA,CAAA;;IAElB,GAAA,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,OAAO,CAAA;IACrB,GAAA,YAAA,CAAA,CAAA,EAAA,WAAW,GAAG,OAAO,CAAA,CAAA;;;;IAIhC,CAAA,OAAO,CAAC,UAAU,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICrCnB,IAAI,GAAG,CAAC;IACR,EAAE,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC;IACxC,CAAC,CAAC;;;;;;"} \ No newline at end of file diff --git a/templates/courses/physics.md b/templates/courses/physics.md new file mode 100644 index 0000000..e69de29 diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..6df8cc1 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + LearnAwesome + + +
    + + \ No newline at end of file