diff --git a/.gitattributes b/.gitattributes
deleted file mode 100644
index c82514c8819b6256b334576b152b63d343c7c67a..0000000000000000000000000000000000000000
--- a/.gitattributes
+++ /dev/null
@@ -1,114 +0,0 @@
-data/.cache/lilac/concept/lilac/negative-sentiment/cohere.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/positive-sentiment/cohere.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/profanity/cohere.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/profanity/gte-base.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/profanity/gte-small.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/profanity/openai.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/profanity/palm.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/profanity/sbert.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/toxicity/cohere.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/toxicity/gte-base.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/toxicity/gte-small.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/toxicity/openai.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/toxicity/palm.pkl filter=lfs diff=lfs merge=lfs -text
-data/.cache/lilac/concept/lilac/toxicity/sbert.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/question/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/local/OpenOrca-100k/response/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/goal/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/goal/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/goal/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/sol1/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/sol1/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/sol1/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/sol2/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/sol2/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/piqa/sol2/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-atticus-contracts/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/choices/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/mmlu_professional_law/question/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/open-asssistant-conversations/text/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/answers/text/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/answers/text/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/answers/text/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/answers/text/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/context/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/question/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/question/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/question/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/squad_v2/question/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/imdb/text/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/databricks-dolly-15k-curated-en/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.hnswlib.bin filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.lookup.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/spans.pkl filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
-data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
diff --git a/data/.cache/lilac/concept/lilac/legal-termination/cohere.pkl b/data/.cache/lilac/concept/lilac/legal-termination/cohere.pkl
deleted file mode 100644
index 46223ca89f21a10e97d6832f0c9cc99e4bfd1512..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/legal-termination/cohere.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/legal-termination/gte-base.pkl b/data/.cache/lilac/concept/lilac/legal-termination/gte-base.pkl
deleted file mode 100644
index 33db9f08e220c2c98be7de4868b0152d1cddde69..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/legal-termination/gte-base.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/legal-termination/gte-small.pkl b/data/.cache/lilac/concept/lilac/legal-termination/gte-small.pkl
deleted file mode 100644
index 3b7900c2eedc85659fba12281f3bf495191f482e..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/legal-termination/gte-small.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/legal-termination/openai.pkl b/data/.cache/lilac/concept/lilac/legal-termination/openai.pkl
deleted file mode 100644
index 89d4dc40d248fe874172157fc668b3ca590d08ad..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/legal-termination/openai.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/legal-termination/palm.pkl b/data/.cache/lilac/concept/lilac/legal-termination/palm.pkl
deleted file mode 100644
index 1d0431007c8d46db70fb7a82cb5cee316468ca0b..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/legal-termination/palm.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/legal-termination/sbert.pkl b/data/.cache/lilac/concept/lilac/legal-termination/sbert.pkl
deleted file mode 100644
index b69b4bfdeecd361c0f46a22ed72c1c3060d67639..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/legal-termination/sbert.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/negative-sentiment/cohere.pkl b/data/.cache/lilac/concept/lilac/negative-sentiment/cohere.pkl
deleted file mode 100644
index 3fd2c80215b8dabbf4d471abfcfd59439e2a5f85..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/negative-sentiment/cohere.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:be0a6613703986f991d3795a6b3cfdccd40b75ce1c6cbf36e852403c8d8a6b7b
-size 2088021
diff --git a/data/.cache/lilac/concept/lilac/negative-sentiment/gte-base.pkl b/data/.cache/lilac/concept/lilac/negative-sentiment/gte-base.pkl
deleted file mode 100644
index 0c4ad0c1c0d5253af8aa26336b030ec31585cce7..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/negative-sentiment/gte-base.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/negative-sentiment/gte-small.pkl b/data/.cache/lilac/concept/lilac/negative-sentiment/gte-small.pkl
deleted file mode 100644
index 71ee18b4d03c41bd71ccf9fafc231f9a9092d6ff..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/negative-sentiment/gte-small.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/negative-sentiment/openai.pkl b/data/.cache/lilac/concept/lilac/negative-sentiment/openai.pkl
deleted file mode 100644
index b660406d25013c175c8cb6602003771baf8ed22a..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/negative-sentiment/openai.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/negative-sentiment/palm.pkl b/data/.cache/lilac/concept/lilac/negative-sentiment/palm.pkl
deleted file mode 100644
index d4decef51e14385121129e840686e845bd3782f2..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/negative-sentiment/palm.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/negative-sentiment/sbert.pkl b/data/.cache/lilac/concept/lilac/negative-sentiment/sbert.pkl
deleted file mode 100644
index 25f8a9cc54ba52f21c17e889066866bf63b5ce2c..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/negative-sentiment/sbert.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/positive-sentiment/cohere.pkl b/data/.cache/lilac/concept/lilac/positive-sentiment/cohere.pkl
deleted file mode 100644
index 01db88079f7994909c97ae06dfa67524415afe7d..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/positive-sentiment/cohere.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d654cd9eb459aba5509d6b21d48e2f2560c84457608a0ddefc0d7e26a685b7ef
-size 1857652
diff --git a/data/.cache/lilac/concept/lilac/positive-sentiment/gte-base.pkl b/data/.cache/lilac/concept/lilac/positive-sentiment/gte-base.pkl
deleted file mode 100644
index b34400213b0f78b7bd5da8c6e4c207addc383ee6..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/positive-sentiment/gte-base.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/positive-sentiment/gte-small.pkl b/data/.cache/lilac/concept/lilac/positive-sentiment/gte-small.pkl
deleted file mode 100644
index 77b474ac9dd757b90ceac1f1e8e61880273ea921..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/positive-sentiment/gte-small.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/positive-sentiment/openai.pkl b/data/.cache/lilac/concept/lilac/positive-sentiment/openai.pkl
deleted file mode 100644
index ca8eba326e3b4a13f825f950134d70aff252a952..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/positive-sentiment/openai.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/positive-sentiment/palm.pkl b/data/.cache/lilac/concept/lilac/positive-sentiment/palm.pkl
deleted file mode 100644
index dfcb603cf03afcf26d2a2ceb8586eb7540dc27cf..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/positive-sentiment/palm.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/positive-sentiment/sbert.pkl b/data/.cache/lilac/concept/lilac/positive-sentiment/sbert.pkl
deleted file mode 100644
index 4983617d0078d4aca9143fea9cf18507d621c965..0000000000000000000000000000000000000000
Binary files a/data/.cache/lilac/concept/lilac/positive-sentiment/sbert.pkl and /dev/null differ
diff --git a/data/.cache/lilac/concept/lilac/profanity/cohere.pkl b/data/.cache/lilac/concept/lilac/profanity/cohere.pkl
deleted file mode 100644
index 8f83eb3e67b36b2aae289c66a94444374da5581e..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/profanity/cohere.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0d68aeb0d88c4a501e21173ed3e5e53fa4998447ece6812d046c1c48b2595739
-size 17413997
diff --git a/data/.cache/lilac/concept/lilac/profanity/gte-base.pkl b/data/.cache/lilac/concept/lilac/profanity/gte-base.pkl
deleted file mode 100644
index 1f1c1ea1424b9c3bd4067c1870e594192ef7202d..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/profanity/gte-base.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:20c4454090ac980db7f02e5f2ff974b0fe75e26982c40e323891fae4b3785d38
-size 3301326
diff --git a/data/.cache/lilac/concept/lilac/profanity/gte-small.pkl b/data/.cache/lilac/concept/lilac/profanity/gte-small.pkl
deleted file mode 100644
index b45d52a7f0d138fcfe22dc9cf19feb559cd7a127..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/profanity/gte-small.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ef20b176c6faec04280e7f4fcc5edfd01c8261b4838eab2955885a171e46590d
-size 1672960
diff --git a/data/.cache/lilac/concept/lilac/profanity/openai.pkl b/data/.cache/lilac/concept/lilac/profanity/openai.pkl
deleted file mode 100644
index 1d253b2297b8d22a559a186208d168d26670d176..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/profanity/openai.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6a8e4c306cbbdbfa1d5dde1504fa67ee8e5ffa02ab77f1e8d06d15b9ea777398
-size 6558076
diff --git a/data/.cache/lilac/concept/lilac/profanity/palm.pkl b/data/.cache/lilac/concept/lilac/profanity/palm.pkl
deleted file mode 100644
index 16b265ce399967c601626aa8859d9e562930c5b2..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/profanity/palm.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0450ba56a6af797838a696e5d1046e84dbca2d6c6a00724c3bf403465980b1f5
-size 3301322
diff --git a/data/.cache/lilac/concept/lilac/profanity/sbert.pkl b/data/.cache/lilac/concept/lilac/profanity/sbert.pkl
deleted file mode 100644
index bbbe0b2adad2932e5d577f52a7590de02709d469..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/profanity/sbert.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:44f41da69be02fb8ffe4db5d7d16cdd0e8f4357f8147d4259ae5518863577087
-size 1672951
diff --git a/data/.cache/lilac/concept/lilac/toxicity/cohere.pkl b/data/.cache/lilac/concept/lilac/toxicity/cohere.pkl
deleted file mode 100644
index 3a019406403f294283a7c0163599a100eee89ec1..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/toxicity/cohere.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8ec3b151a149f0664813f50ba599001bc3a44cc7b6f8c35a48e213ee9c9682fb
-size 19602537
diff --git a/data/.cache/lilac/concept/lilac/toxicity/gte-base.pkl b/data/.cache/lilac/concept/lilac/toxicity/gte-base.pkl
deleted file mode 100644
index 29bf964eaad364f9bde19551719e408463249a6b..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/toxicity/gte-base.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bd428cfda7f66401cf3b6ec9f1b356c3e0d79ab5bce8675c271e562c24de3580
-size 3719127
diff --git a/data/.cache/lilac/concept/lilac/toxicity/gte-small.pkl b/data/.cache/lilac/concept/lilac/toxicity/gte-small.pkl
deleted file mode 100644
index 882f34b47a9cee29cb00b3a0ba1af35626ed48a1..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/toxicity/gte-small.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b9bab578121263c97f51049e82846b7b517b79655bfd9b6ad5fe861dbefd1212
-size 1886446
diff --git a/data/.cache/lilac/concept/lilac/toxicity/openai.pkl b/data/.cache/lilac/concept/lilac/toxicity/openai.pkl
deleted file mode 100644
index 05a9cbea3fe133916163c103984ee75851a8a029..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/toxicity/openai.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4e9be59c226a117c78c32cdb0f4befaf771b74a7af820af25f86053e1cf80614
-size 7384512
diff --git a/data/.cache/lilac/concept/lilac/toxicity/palm.pkl b/data/.cache/lilac/concept/lilac/toxicity/palm.pkl
deleted file mode 100644
index 728b8483d7fd4f12896ebff8f6811f313f3dd249..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/toxicity/palm.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b334cd21b80823eb0b7a6c177ba2f6ed8cadc504b642e7b89481f0e583dcfece
-size 3719128
diff --git a/data/.cache/lilac/concept/lilac/toxicity/sbert.pkl b/data/.cache/lilac/concept/lilac/toxicity/sbert.pkl
deleted file mode 100644
index 80b65b41c212a1a8f05b78ed2ff1d703acaa0a15..0000000000000000000000000000000000000000
--- a/data/.cache/lilac/concept/lilac/toxicity/sbert.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:64540327c019de743fa40b494f21cf1a5a7b0af80df6243eb44b56cf3810ccbf
-size 1886440
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/config.yml b/data/datasets/lilac/databricks-dolly-15k-curated-en/config.yml
deleted file mode 100644
index a3ec826ab6dab3fb081485f72fbef82bc93b9bdd..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/config.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-embeddings:
-- embedding: gte-small
- path: [new-context, value, '*']
-- {embedding: gte-small, path: original-context}
-name: databricks-dolly-15k-curated-en
-namespace: lilac
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths:
- - original-instruction
- - original-context
- - original-response
- - [new-instruction, value, '*']
- - [new-context, value, '*']
- - [new-response, value, '*']
-signals:
-- path: original-instruction
- signal: {signal_name: near_dup}
-- path: original-instruction
- signal: {signal_name: text_statistics}
-- path: original-instruction
- signal: {signal_name: pii}
-- path: original-instruction
- signal: {signal_name: lang_detection}
-- path: original-context
- signal: {signal_name: near_dup}
-- path: original-context
- signal: {signal_name: text_statistics}
-- path: original-context
- signal: {signal_name: lang_detection}
-- path: original-context
- signal: {signal_name: pii}
-- path: original-response
- signal: {signal_name: near_dup}
-- path: original-response
- signal: {signal_name: text_statistics}
-- path: original-response
- signal: {signal_name: pii}
-- path: original-response
- signal: {signal_name: lang_detection}
-- path: [new-instruction, value, '*']
- signal: {signal_name: near_dup}
-- path: [new-instruction, value, '*']
- signal: {signal_name: text_statistics}
-- path: [new-instruction, value, '*']
- signal: {signal_name: pii}
-- path: [new-instruction, value, '*']
- signal: {signal_name: lang_detection}
-- path: [new-context, value, '*']
- signal: {signal_name: near_dup}
-- path: [new-context, value, '*']
- signal: {signal_name: text_statistics}
-- path: [new-context, value, '*']
- signal: {signal_name: lang_detection}
-- path: [new-context, value, '*']
- signal: {signal_name: pii}
-- path: [new-response, value, '*']
- signal: {signal_name: near_dup}
-- path: [new-response, value, '*']
- signal: {signal_name: text_statistics}
-- path: [new-response, value, '*']
- signal: {signal_name: pii}
-- path: [new-response, value, '*']
- signal: {signal_name: lang_detection}
-source: {dataset_name: argilla/databricks-dolly-15k-curated-en, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/data-00000-of-00001.parquet
deleted file mode 100644
index 6f3e495af1e7f4ddfd11c5992863d7b9d056d3f5..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ad225b50d5880a097ea66eb4ca70fc529c0321cf8a5652bd8fbe7a638d016851
-size 15882489
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/manifest.json
deleted file mode 100644
index 99f8429981b50b56ce5a88c70dddf0f36d8b3a5c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/manifest.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "id": {
- "dtype": "string"
- },
- "category": {
- "dtype": "string"
- },
- "original-instruction": {
- "dtype": "string"
- },
- "original-context": {
- "dtype": "string"
- },
- "original-response": {
- "dtype": "string"
- },
- "new-instruction": {
- "fields": {
- "user_id": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "value": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "status": {
- "repeated_field": {
- "dtype": "string"
- }
- }
- }
- },
- "new-context": {
- "fields": {
- "user_id": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "value": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "status": {
- "repeated_field": {
- "dtype": "string"
- }
- }
- }
- },
- "new-response": {
- "fields": {
- "user_id": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "value": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "status": {
- "repeated_field": {
- "dtype": "string"
- }
- }
- }
- },
- "external_id": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 4ab185ed2a39acc468c15210dcd741c181c31eb7..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dd30fd8659fca42a569c12fa3fb37e62b97ae62349f535a5e2aac97d8a5b2750
-size 32553584
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 74ea8216355f68c73ae211d5ffc91ae0374f2015..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/hnsw.lookup.pkl and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/signal_manifest.json
deleted file mode 100644
index 1e732b5c74348a7acd1dec80264dcef49e5074ec..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "files": [],
- "parquet_id": "new-context.value.gte-small",
- "data_schema": {
- "fields": {
- "new-context": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "new-context",
- "value",
- "*"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/spans.pkl b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/spans.pkl
deleted file mode 100644
index 126a2fab4e33e0f10051dd764af73567bf6a4953..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/gte-small/spans.pkl and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index b8d1499ffb19d8d2f17c22a5bbe601834aeace40..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/lang_detection/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/lang_detection/signal_manifest.json
deleted file mode 100644
index c11f8548ff603d6eb0d15c29932722551e1d3b37..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-context.value.lang_detection",
- "data_schema": {
- "fields": {
- "new-context": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "new-context",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 4158d72ec64ad8b8545ddcbd8ef847fa1f417de0..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/near_dup/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/near_dup/signal_manifest.json
deleted file mode 100644
index 4073c8f8ac113853212b8f6044be10dd76d9f812..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-context.value.near_dup",
- "data_schema": {
- "fields": {
- "new-context": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "new-context",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/pii/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 60eba5cc8eb5270f6f99e3582907dff1418899ea..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/pii/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/pii/signal_manifest.json
deleted file mode 100644
index 72078ebd95cefffaebae75f16ebedf8a826ac169..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/pii/signal_manifest.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-context.value.pii",
- "data_schema": {
- "fields": {
- "new-context": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "new-context",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 59bd2f1f595ad324d3270f98da46d389688b7d49..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/text_statistics/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/text_statistics/signal_manifest.json
deleted file mode 100644
index 3478c83a2bddeb2a2a0327af7111c9df9da8a382..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-context/value/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-context.value.text_statistics",
- "data_schema": {
- "fields": {
- "new-context": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "new-context",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 98ba124f0a0bd25d7813652dfa354cba6efc4804..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/lang_detection/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/lang_detection/signal_manifest.json
deleted file mode 100644
index f98dac730493a7766689f497fea10f3828cc452a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-instruction.value.lang_detection",
- "data_schema": {
- "fields": {
- "new-instruction": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "new-instruction",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index f2fd29976a8f58808f740eca1b5dcf0b75c9e8f6..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/near_dup/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/near_dup/signal_manifest.json
deleted file mode 100644
index 8515abb66bc3386682861b3169001a9c3723781b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-instruction.value.near_dup",
- "data_schema": {
- "fields": {
- "new-instruction": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "new-instruction",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/pii/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/pii/data-00000-of-00001.parquet
deleted file mode 100644
index aa43d9bc9361fcfb1363caf7b317d1025ee41679..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/pii/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/pii/signal_manifest.json
deleted file mode 100644
index 2b936b5bbc8c4d2cc898e784b4adc61745c01d61..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/pii/signal_manifest.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-instruction.value.pii",
- "data_schema": {
- "fields": {
- "new-instruction": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "new-instruction",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 06daa94984714d8b0e7c637e7193662928719c19..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/text_statistics/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/text_statistics/signal_manifest.json
deleted file mode 100644
index 9e1c321f5b2c6fbfab34d1f480571f886b2cf2b1..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-instruction/value/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-instruction.value.text_statistics",
- "data_schema": {
- "fields": {
- "new-instruction": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "new-instruction",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index dd30adaa74359b66cff48ceb4597f98c8a525ff5..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/lang_detection/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/lang_detection/signal_manifest.json
deleted file mode 100644
index c30b358c1ab83d9b1b8cd521105fcbeb6fccca1e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-response.value.lang_detection",
- "data_schema": {
- "fields": {
- "new-response": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "new-response",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 7d6f738e4631123dec03fdd84f8886d2dd6c44b6..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/near_dup/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/near_dup/signal_manifest.json
deleted file mode 100644
index 46fd22477b7513f89995377f6864357d49b3c387..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-response.value.near_dup",
- "data_schema": {
- "fields": {
- "new-response": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "new-response",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/pii/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/pii/data-00000-of-00001.parquet
deleted file mode 100644
index b14b5408c676a1c9a45b72f9c2558ef818f09ecb..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/pii/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/pii/signal_manifest.json
deleted file mode 100644
index b2707f21da26dc46ee307e2868e92761ce463d42..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/pii/signal_manifest.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-response.value.pii",
- "data_schema": {
- "fields": {
- "new-response": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "new-response",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index a6d001b61474e85e717f3e3e67db47d3b9ac351a..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/text_statistics/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/text_statistics/signal_manifest.json
deleted file mode 100644
index 7baeaf6b8e07107fa7e01151777ebb12ca900b6c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/new-response/value/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "new-response.value.text_statistics",
- "data_schema": {
- "fields": {
- "new-response": {
- "fields": {
- "value": {
- "repeated_field": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "new-response",
- "value",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index c2a11d300e3d10721404bb865e3e9aeada35c80c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:560c94a0fe01ad6a5191958b3c23be03eed1ae3681331e2c3c22c752a28d97a5
-size 32775684
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index bcbdad167671f5007fef128fab53786838425745..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/hnsw.lookup.pkl and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/signal_manifest.json
deleted file mode 100644
index 925b587acba7a5baf9596f4ec0bbd5a6232b230c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "files": [],
- "parquet_id": "original-context.gte-small",
- "data_schema": {
- "fields": {
- "original-context": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "original-context"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/spans.pkl b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/spans.pkl
deleted file mode 100644
index 38d06d879b2db4bae5ab3fbfbfd21442a977abfc..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/gte-small/spans.pkl and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 5939f2159b06190f1c1dcf3eeb9bc527b28a0f29..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/lang_detection/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/lang_detection/signal_manifest.json
deleted file mode 100644
index da8924b91e8cf100d33257dcb7359c12eb8201f9..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-context.lang_detection",
- "data_schema": {
- "fields": {
- "original-context": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "original-context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index e1bae69a076649cb6e353f50e83728b3bd66cc76..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/near_dup/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/near_dup/signal_manifest.json
deleted file mode 100644
index 3d6ad15530590e56a58b4174545b1c02d9e87f16..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-context.near_dup",
- "data_schema": {
- "fields": {
- "original-context": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "original-context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/pii/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 97b1eae81f685872087d9ff0f1268b6ae24696e3..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/pii/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/pii/signal_manifest.json
deleted file mode 100644
index 1c8c86b08156615bdcbb1b01b027e867896abf47..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/pii/signal_manifest.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-context.pii",
- "data_schema": {
- "fields": {
- "original-context": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "original-context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 4bd457460b79956cdb8b0a30df236cec6da45ca9..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/text_statistics/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/text_statistics/signal_manifest.json
deleted file mode 100644
index c219f72073ea506cc102e7be5b0bf18e014e8e37..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-context/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-context.text_statistics",
- "data_schema": {
- "fields": {
- "original-context": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "original-context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 810d08c58f34a358392e919be1c4fac8cedab492..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/lang_detection/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/lang_detection/signal_manifest.json
deleted file mode 100644
index 5403ea73713ca19b6d9695d84d708a0717951f3d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-instruction.lang_detection",
- "data_schema": {
- "fields": {
- "original-instruction": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "original-instruction"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 7883ab9e315bfdd7388c9ae8b84c5322cc94e323..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/near_dup/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/near_dup/signal_manifest.json
deleted file mode 100644
index 3fc2b8e2488c7829bed0da6873b766efff7c063c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-instruction.near_dup",
- "data_schema": {
- "fields": {
- "original-instruction": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "original-instruction"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/pii/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 8363079b3420a3523700dd807f5d2cdbd4699caf..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/pii/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/pii/signal_manifest.json
deleted file mode 100644
index dd64ca3e3586fde559d800f71d42652d70b8b2c7..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/pii/signal_manifest.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-instruction.pii",
- "data_schema": {
- "fields": {
- "original-instruction": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "original-instruction"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index b6bd8cd14b7f30f26f3ba6aa150bf0f5261423a4..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/text_statistics/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/text_statistics/signal_manifest.json
deleted file mode 100644
index 20205ab39a7aabb320e8527ab5d07d6f11ca437e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-instruction/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-instruction.text_statistics",
- "data_schema": {
- "fields": {
- "original-instruction": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "original-instruction"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 5e707ad570708ed3b7e663bd8b846680a819315e..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/lang_detection/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/lang_detection/signal_manifest.json
deleted file mode 100644
index 77708983524bc2566292b0a9c4bddc858e9a8827..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-response.lang_detection",
- "data_schema": {
- "fields": {
- "original-response": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "original-response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 6eaa55fbbc21749eb43cd41f2e09df2f68860c1d..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/near_dup/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/near_dup/signal_manifest.json
deleted file mode 100644
index 1cc681b7f142ca25d3a13d4ce07269b3378c8269..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-response.near_dup",
- "data_schema": {
- "fields": {
- "original-response": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "original-response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/pii/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 0a68c98404049718414e64dda90c0d7e8df35c15..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/pii/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/pii/signal_manifest.json
deleted file mode 100644
index 9e3fd2284477b88b191df29e67c3c8234ac8bd54..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/pii/signal_manifest.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-response.pii",
- "data_schema": {
- "fields": {
- "original-response": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "original-response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index c98e8763b5974843818f90576d1b05f7d3a1cb7e..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/text_statistics/signal_manifest.json b/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/text_statistics/signal_manifest.json
deleted file mode 100644
index a34980ab39dd12332c28e815d0ecc96a7d37507a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/databricks-dolly-15k-curated-en/original-response/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "original-response.text_statistics",
- "data_schema": {
- "fields": {
- "original-response": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "original-response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/imdb/config.yml b/data/datasets/lilac/imdb/config.yml
deleted file mode 100644
index ef65e72ba062c9a4f93b60faee60df43d4a312de..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/config.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: text}
-name: imdb
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths: [text]
-signals:
-- path: text
- signal: {signal_name: near_dup}
-- path: text
- signal: {signal_name: text_statistics}
-- path: text
- signal: {signal_name: lang_detection}
-- path: text
- signal: {signal_name: spacy_ner}
-- path: text
- signal: {signal_name: pii}
-source: {dataset_name: imdb, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/lilac/imdb/data-00000-of-00001.parquet b/data/datasets/lilac/imdb/data-00000-of-00001.parquet
deleted file mode 100644
index 7de63f25ce8a56ffcdd5d13481936d94b0bf1114..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6fe90be23f86ca1e73b8a77a235344db822601f794a5643dca9d0d07c49ce3d8
-size 86160450
diff --git a/data/datasets/lilac/imdb/manifest.json b/data/datasets/lilac/imdb/manifest.json
deleted file mode 100644
index c31e03ff0e29009dadc31f58a3651126532ba9a2..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/manifest.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "text": {
- "dtype": "string"
- },
- "label": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/imdb/text/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/imdb/text/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 7c55dfabe007419c6d7b9bf8b5f2802db050d614..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7b8fc440b947f068966bc68c83ce4b5502b98e3aab928d58c295dc8a7b7b016c
-size 691432396
diff --git a/data/datasets/lilac/imdb/text/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/imdb/text/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 53b11645b72ae8b2ac0a7d4f8d3911ab8c38d54f..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d3ee2426c761b50025e02f2388fa65c51eb9705d6fd65f95d6502650214b8472
-size 10390867
diff --git a/data/datasets/lilac/imdb/text/gte-small/signal_manifest.json b/data/datasets/lilac/imdb/text/gte-small/signal_manifest.json
deleted file mode 100644
index 6c4df1308025f01afd7ad11c2e4eab36963c61b0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "text"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/imdb/text/gte-small/spans.pkl b/data/datasets/lilac/imdb/text/gte-small/spans.pkl
deleted file mode 100644
index 3e11946858f1457913e6325909c7ef4c4627aadd..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:16417449057fc4304e098e037cb2b3e9a693570768a68bdca457d452adaee130
-size 7476546
diff --git a/data/datasets/lilac/imdb/text/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/imdb/text/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 74adfd2807c8751cdadb71fcb56559359e0e17ac..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:adba6df16ec47b68625618b01a0b8d2cc65de572acb20eed561128b037fcdfd7
-size 3309315
diff --git a/data/datasets/lilac/imdb/text/lang_detection/signal_manifest.json b/data/datasets/lilac/imdb/text/lang_detection/signal_manifest.json
deleted file mode 100644
index 2163e9fd9535885346193cbb0e9772d01841cd31..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/imdb/text/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/imdb/text/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 35392cacc82b31fc8f031326450153f1bbd0c0f9..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0c75a5f0d12b8b02671e99a2dd313d292610c9264f2302ad1877959430420079
-size 3915752
diff --git a/data/datasets/lilac/imdb/text/near_dup/signal_manifest.json b/data/datasets/lilac/imdb/text/near_dup/signal_manifest.json
deleted file mode 100644
index 6febd3e69b9125b0be3b4778f7b65fab8a5d325b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/imdb/text/pii/data-00000-of-00001.parquet b/data/datasets/lilac/imdb/text/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 1c7fdb96547b73a53ccbc529c6fbcedd09998938..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2dfe71845bfd419a2a309b132456341bf317d63e8ccf8bc100835f1a20c81c5b
-size 3313701
diff --git a/data/datasets/lilac/imdb/text/pii/signal_manifest.json b/data/datasets/lilac/imdb/text/pii/signal_manifest.json
deleted file mode 100644
index ecb2e8b26fb5328004c7cd7b5363b79e88acf8ac..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/imdb/text/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/imdb/text/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 945b09c374c6967dbb6bc9074a3d1c271724f334..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4919817d0c520fc5aacc9721f01a0e29fb4d2c89b6698865c9680c81c44ce920
-size 4403809
diff --git a/data/datasets/lilac/imdb/text/text_statistics/signal_manifest.json b/data/datasets/lilac/imdb/text/text_statistics/signal_manifest.json
deleted file mode 100644
index 642e3171e68afe580d2043a5f4a9f1331fc85208..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/imdb/text/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/medical_dialog/config.yml b/data/datasets/lilac/medical_dialog/config.yml
deleted file mode 100644
index 8ec7916946250e1344e738b8a96e5029dfd4f2be..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/config.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-embeddings:
-- embedding: gte-small
- path: [dialogue_turns, utterance, '*']
-name: medical_dialog
-namespace: lilac
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths:
- - [dialogue_turns, utterance, '*']
-signals:
-- path: [dialogue_turns, utterance, '*']
- signal: {signal_name: near_dup}
-- path: [dialogue_turns, utterance, '*']
- signal: {signal_name: text_statistics}
-- path: [dialogue_turns, utterance, '*']
- signal: {signal_name: pii}
-- path: [dialogue_turns, utterance, '*']
- signal: {signal_name: lang_detection}
-source: {config_name: en, dataset_name: medical_dialog, source_name: huggingface}
-tags: [medical]
diff --git a/data/datasets/lilac/medical_dialog/data-00000-of-00001.parquet b/data/datasets/lilac/medical_dialog/data-00000-of-00001.parquet
deleted file mode 100644
index b2d8f059e08cc2dd45d5f0a3ae75136506dc1f72..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:91f506cf1e86dbf133857b13ccdbe1dbbb2c5e616f83197502790739257d2f06
-size 134394415
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 26d4e53c8a9b9d542e02cc9af975c730994d9f68..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:88b70375d7904939284f054ce7a116b86d670a9b467edf045e9a1263b8bc740c
-size 1271359144
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index d2276ce7d46d59d7797e86be323e5bab2b50abcc..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b523a5b28a70edaa92063c5a151b887037fb8d14ca91583fd989c0484f8f1855
-size 20992247
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/signal_manifest.json b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/signal_manifest.json
deleted file mode 100644
index 07ab01f52bb499bbb121135eca73ccd45cb83ee3..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "files": [],
- "parquet_id": "dialogue_turns.utterance.gte-small",
- "data_schema": {
- "fields": {
- "dialogue_turns": {
- "fields": {
- "utterance": {
- "repeated_field": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "dialogue_turns",
- "utterance",
- "*"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/spans.pkl b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/spans.pkl
deleted file mode 100644
index eaa1c51e3730d9b2bc80837ac33c4803a6d8ed24..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:50c7a00e5d244549fca543f29703a79d79b0be8dbd934e724020aa7acd5c7cf0
-size 17593826
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index a1782b1f878ee1b545b3cee01e78d2dc92556600..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0c5263a90c6ab29d6b39d6a6b5393118ce58aef0d3c2d414301eb4e2f3f3c4e3
-size 6380428
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/signal_manifest.json b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/signal_manifest.json
deleted file mode 100644
index b992266ba5d967e885593eb9b4e77d9b97c468c4..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "dialogue_turns.utterance.lang_detection",
- "data_schema": {
- "fields": {
- "dialogue_turns": {
- "fields": {
- "utterance": {
- "repeated_field": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "dialogue_turns",
- "utterance",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 12348fc1a58d935ce04d9f0143300ccf4918b001..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0c08f38f01f169afac104875890e33f829f50d0a6582c1838681d8fc836a57a1
-size 8687974
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/signal_manifest.json b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/signal_manifest.json
deleted file mode 100644
index 0a54163de2ff843d59d61e21127f4dd8e7432aa4..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "dialogue_turns.utterance.near_dup",
- "data_schema": {
- "fields": {
- "dialogue_turns": {
- "fields": {
- "utterance": {
- "repeated_field": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "dialogue_turns",
- "utterance",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/data-00000-of-00001.parquet b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 8b28df73fc1a306c004b015f1e282d7de26cbd1f..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:28bcf251e88f21fefa5df0417cc9c706730e1b4777ac6591323f209611f37f0f
-size 6428720
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/signal_manifest.json b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/signal_manifest.json
deleted file mode 100644
index c656a712b21919da9a8b9f96bd4a8cac92d516ac..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/pii/signal_manifest.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "dialogue_turns.utterance.pii",
- "data_schema": {
- "fields": {
- "dialogue_turns": {
- "fields": {
- "utterance": {
- "repeated_field": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "dialogue_turns",
- "utterance",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 76aa761185f4a6fd0c0ae1b6267c7e740390443a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a77052cab1e9dbb312c92d4e735aa3b18fd4706b0f3098d20f59b99ea8068e67
-size 9486961
diff --git a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/signal_manifest.json b/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/signal_manifest.json
deleted file mode 100644
index 54f6a34ccd45206c6ed39a41067a20fe5bb3f7bb..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/dialogue_turns/utterance/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "dialogue_turns.utterance.text_statistics",
- "data_schema": {
- "fields": {
- "dialogue_turns": {
- "fields": {
- "utterance": {
- "repeated_field": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "dialogue_turns",
- "utterance",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/medical_dialog/manifest.json b/data/datasets/lilac/medical_dialog/manifest.json
deleted file mode 100644
index 91eed2cfec6d952b28296bce1023745f08a50237..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/medical_dialog/manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "file_name": {
- "dtype": "string"
- },
- "dialogue_id": {
- "dtype": "int32"
- },
- "dialogue_url": {
- "dtype": "string"
- },
- "dialogue_turns": {
- "fields": {
- "speaker": {
- "repeated_field": {
- "dtype": "int32"
- }
- },
- "utterance": {
- "repeated_field": {
- "dtype": "string"
- }
- }
- }
- },
- "__hfsplit__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index bb52449d84416dc773f1df977ecc9babdee5ad6b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:df9d6e2f5df4b8693544f31ca78a9d1936a4caf47acc2babeb1cb766131b7636
-size 684360968
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 550767a8331b0368aa657fb61e7cac286b3a225e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2081ce5d760026fe341e0553cd9e40747ca902e4e7edb851cb747f350f19bb0d
-size 11174465
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/choices/gte-small/signal_manifest.json
deleted file mode 100644
index 6c04490217303a73516da9928f8e598115a3cb37..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(choices)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "choices": {
- "repeated_field": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "choices",
- "*"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/spans.pkl b/data/datasets/lilac/mmlu_professional_law/choices/gte-small/spans.pkl
deleted file mode 100644
index a8a3c3a2e60b5a6b6ee315f06cf24a8ec15c4588..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:02fb1662da21f33ea1429a0f9adf1301185da46f642a722717fe7c523314fa57
-size 11173475
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/choices/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index f784fc68538c4d3a5546066cf36efb2a2874125f..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:968d4f87c7b51b995d9e3a96423a06b91984e5ee4a47062cd53fe87cca5cafbe
-size 3469413
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/lang_detection/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/choices/lang_detection/signal_manifest.json
deleted file mode 100644
index 132c9444fdce498203606a96b8b38e3d97cbac7d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(choices)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "choices": {
- "repeated_field": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "choices",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/choices/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index d22aa7cf65a7a6f3dc4a5c2e7e05db5bdde6f6fe..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:316f3be499fcbb960bc1e83a201838ca0b3047a71d8e1c302fe4e0d833a3bf90
-size 5544176
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/near_dup/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/choices/near_dup/signal_manifest.json
deleted file mode 100644
index f39b2f7882b80a1a9b55fe5f6d6e6ded78c7013c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(choices)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "choices": {
- "repeated_field": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "choices",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/pii/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/choices/pii/data-00000-of-00001.parquet
deleted file mode 100644
index db00f582f70626ec2204613e14872306f5272f5d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7cb41d4e9d0d82bd824abfa733d5be3a599e011098c5d41ebadeb1166a15f722
-size 3393096
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/pii/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/choices/pii/signal_manifest.json
deleted file mode 100644
index 901a0d06bbe458a729ec40a278e59267bb54a949..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/pii/signal_manifest.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(choices)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "choices": {
- "repeated_field": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "choices",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/choices/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 995c8e0124c6daaf85c0e3b2d3fc59ce01f989ed..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bc00a68e0f835e25b214d90e7e48251b39d748f1e836af713440cd0ea2517ead
-size 4634821
diff --git a/data/datasets/lilac/mmlu_professional_law/choices/text_statistics/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/choices/text_statistics/signal_manifest.json
deleted file mode 100644
index 710776d4bdd3983e70fa8797d558337eb07de097..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/choices/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(choices)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "choices": {
- "repeated_field": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "choices",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/config.yml b/data/datasets/lilac/mmlu_professional_law/config.yml
deleted file mode 100644
index fe3c16883814dbfb12c46a6aeaf8b812d9ece71e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/config.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-embeddings:
-- embedding: gte-small
- path: [choices, '*']
-- {embedding: gte-small, path: question}
-name: mmlu_professional_law
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths:
- - question
- - [choices, '*']
-signals:
-- path: question
- signal: {signal_name: text_statistics}
-- path: question
- signal: {signal_name: pii}
-- path: question
- signal: {signal_name: near_dup}
-- path: [choices, '*']
- signal: {signal_name: text_statistics}
-- path: [choices, '*']
- signal: {signal_name: spacy_ner}
-- path: question
- signal: {signal_name: lang_detection}
-- path: [choices, '*']
- signal: {signal_name: near_dup}
-- path: [choices, '*']
- signal: {signal_name: pii}
-- path: [choices, '*']
- signal: {signal_name: lang_detection}
-- path: question
- signal: {signal_name: spacy_ner}
-source: {config_name: professional_law, dataset_name: cais/mmlu, source_name: huggingface}
-tags: [legal]
diff --git a/data/datasets/lilac/mmlu_professional_law/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/data-00000-of-00001.parquet
deleted file mode 100644
index 72c4ca5a5b0858d72e2a5d89b3926426c70243be..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:65cd2771cf0bb88dbed9ad66ceaff472115f07c9dfea866c7e3f65b68392e745
-size 50699938
diff --git a/data/datasets/lilac/mmlu_professional_law/manifest.json b/data/datasets/lilac/mmlu_professional_law/manifest.json
deleted file mode 100644
index 2a8c653bebcf792e4fb958593f3b2fd8e5e38492..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/manifest.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "question": {
- "dtype": "string"
- },
- "choices": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "answer": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 4569a02af01da1f1634eeb504a906bb583dcdb17..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3b02300405fccc3011294e15ee869933dd81578173435defbcb19e3b40a65e93
-size 771802212
diff --git a/data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index e16a5c06f3590404cf63126390e80ac14f0aaab1..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f72169740d80ee2b2ea66589d7ebcc58c83381978a4640a27510c416a02bf6c7
-size 11296648
diff --git a/data/datasets/lilac/mmlu_professional_law/question/gte-small/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/question/gte-small/signal_manifest.json
deleted file mode 100644
index 70228c5da7472862dc18b8642dc253faba48c558..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "question"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/question/gte-small/spans.pkl b/data/datasets/lilac/mmlu_professional_law/question/gte-small/spans.pkl
deleted file mode 100644
index 2c191ec72cf74fe65597763ee0fd9267c75677cd..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9b51cad455e94b167bc9cf130c262ed1b143a8f386c7074a61983e01cd93d277
-size 7911602
diff --git a/data/datasets/lilac/mmlu_professional_law/question/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/question/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 23b1a6a53511c3187c805eee93017682a06d221b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bf6cf8cdc246ce4406599aec8782d3be02f2585f1fbad74173faf0ffcb453a49
-size 3361922
diff --git a/data/datasets/lilac/mmlu_professional_law/question/lang_detection/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/question/lang_detection/signal_manifest.json
deleted file mode 100644
index 973db6d92666ad6b4e67edd70b041618e1ed5be7..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/question/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/question/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 8fcde5a91f92f7d942777bca0dacda105d6677b3..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2c4139f699d1a248cf5378c442ef6f17970913394d5d0c79bd7c6e6801ab548a
-size 3697516
diff --git a/data/datasets/lilac/mmlu_professional_law/question/near_dup/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/question/near_dup/signal_manifest.json
deleted file mode 100644
index 3da5c66d3d35050bd9590d6ee73d0107dfc6d788..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/question/pii/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/question/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 9d23c418b1121440a401cb356ee95ca4a2ef4b28..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2735c4a2c5d40973652d369140533af74425db6dd753f8a25850d4efeee4928e
-size 3369080
diff --git a/data/datasets/lilac/mmlu_professional_law/question/pii/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/question/pii/signal_manifest.json
deleted file mode 100644
index 7f82232c8066c00959e30503f41c1d852627a812..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/mmlu_professional_law/question/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/mmlu_professional_law/question/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 7a614f56286007faeb3212c67d97bce12ebc3da8..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:995b3ac42907ea244d9cb04c68a4715af8ddb7d72dcced056bc58dc9a9f05e7e
-size 4389031
diff --git a/data/datasets/lilac/mmlu_professional_law/question/text_statistics/signal_manifest.json b/data/datasets/lilac/mmlu_professional_law/question/text_statistics/signal_manifest.json
deleted file mode 100644
index e52fe6eef5bd2c1f65350e1b161e182aec82e7f6..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/mmlu_professional_law/question/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/open-asssistant-conversations/config.yml b/data/datasets/lilac/open-asssistant-conversations/config.yml
deleted file mode 100644
index 85c38474593bc7822111d6de3adf0eb597b06f00..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/config.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: text}
-name: open-asssistant-conversations
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths: [text]
-signals:
-- path: text
- signal: {signal_name: text_statistics}
-- path: text
- signal: {signal_name: lang_detection}
-- path: text
- signal: {signal_name: near_dup}
-- path: text
- signal: {signal_name: spacy_ner}
-- path: text
- signal: {signal_name: pii}
-source: {dataset_name: OpenAssistant/oasst1, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/lilac/open-asssistant-conversations/data-00000-of-00001.parquet b/data/datasets/lilac/open-asssistant-conversations/data-00000-of-00001.parquet
deleted file mode 100644
index dc3a623c724e5f9fa2df301daf5b58fbe4b91485..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d53dbedb539cf7fa3f89d739f698fd3ccf1fbbd86dac20bd0b74cf674cc508e8
-size 42071566
diff --git a/data/datasets/lilac/open-asssistant-conversations/manifest.json b/data/datasets/lilac/open-asssistant-conversations/manifest.json
deleted file mode 100644
index a7f6735e9a780150f779c9c133c09f08bc8eb19b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/manifest.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "message_id": {
- "dtype": "string"
- },
- "parent_id": {
- "dtype": "string"
- },
- "user_id": {
- "dtype": "string"
- },
- "created_date": {
- "dtype": "string"
- },
- "text": {
- "dtype": "string"
- },
- "role": {
- "dtype": "string"
- },
- "lang": {
- "dtype": "string"
- },
- "review_count": {
- "dtype": "int32"
- },
- "review_result": {
- "dtype": "boolean"
- },
- "deleted": {
- "dtype": "boolean"
- },
- "rank": {
- "dtype": "int32"
- },
- "synthetic": {
- "dtype": "boolean"
- },
- "model_name": {
- "dtype": "string"
- },
- "detoxify": {
- "fields": {
- "toxicity": {
- "dtype": "float64"
- },
- "severe_toxicity": {
- "dtype": "float64"
- },
- "obscene": {
- "dtype": "float64"
- },
- "identity_attack": {
- "dtype": "float64"
- },
- "insult": {
- "dtype": "float64"
- },
- "threat": {
- "dtype": "float64"
- },
- "sexual_explicit": {
- "dtype": "float64"
- }
- }
- },
- "message_tree_id": {
- "dtype": "string"
- },
- "tree_state": {
- "dtype": "string"
- },
- "emojis": {
- "fields": {
- "name": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "count": {
- "repeated_field": {
- "dtype": "int32"
- }
- }
- }
- },
- "labels": {
- "fields": {
- "name": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "value": {
- "repeated_field": {
- "dtype": "float64"
- }
- },
- "count": {
- "repeated_field": {
- "dtype": "int32"
- }
- }
- }
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 32d02a95613ae3b99cc663122401df64d1c50038..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:138c8efe1e911904c3702c582b892acc8c5616062a35773c31872a8969e2badf
-size 327991072
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 39c725c45331d117370d4b9a8e5994c75ce3728e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f8bcd3f617d324acd7e13d0d0fabd38065012bea40141579e16681bcdfdcaf46
-size 6171232
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/signal_manifest.json b/data/datasets/lilac/open-asssistant-conversations/text/gte-small/signal_manifest.json
deleted file mode 100644
index 6c4df1308025f01afd7ad11c2e4eab36963c61b0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "text"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/spans.pkl b/data/datasets/lilac/open-asssistant-conversations/text/gte-small/spans.pkl
deleted file mode 100644
index 478681332a8a920e16a7503ab303e4d7d2ebdd3b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b1cda70a8dc3259ff058e5e3ffc24cfbaaafe3fb9ba5c1b836e0757180114e28
-size 5164058
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/open-asssistant-conversations/text/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 1d410264dedd48599cc425eb9fb1f954b0b65b90..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5f8944421e23764080d8fde7460d08aa683ebbafc6fad2bd65654ea701ba50ca
-size 2980981
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/lang_detection/signal_manifest.json b/data/datasets/lilac/open-asssistant-conversations/text/lang_detection/signal_manifest.json
deleted file mode 100644
index 2163e9fd9535885346193cbb0e9772d01841cd31..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/open-asssistant-conversations/text/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index e11365f402ba9c9d9aa8485a7d0a64a9420c7e9a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e2949cfca1b91bb99c56364fdb47679301b90d1f51bd1963f04fbbcbe093d15c
-size 3486319
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/near_dup/signal_manifest.json b/data/datasets/lilac/open-asssistant-conversations/text/near_dup/signal_manifest.json
deleted file mode 100644
index 6febd3e69b9125b0be3b4778f7b65fab8a5d325b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/pii/data-00000-of-00001.parquet b/data/datasets/lilac/open-asssistant-conversations/text/pii/data-00000-of-00001.parquet
deleted file mode 100644
index a02dd0f102a3eda91bb698aa5e5d69c00c156db4..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5c010e414a4379f8c1637c54864c46c7872a7ed0dc26990c5b755581d2073f8b
-size 2953059
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/pii/signal_manifest.json b/data/datasets/lilac/open-asssistant-conversations/text/pii/signal_manifest.json
deleted file mode 100644
index ecb2e8b26fb5328004c7cd7b5363b79e88acf8ac..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/open-asssistant-conversations/text/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index ad531d7932a5f1ca1820567dcb83b9322ebc7265..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bb0f5af1af587a3b083dd7859f9cd4a5cf2943e41396c776db9a2a4f59eb4c9d
-size 3827015
diff --git a/data/datasets/lilac/open-asssistant-conversations/text/text_statistics/signal_manifest.json b/data/datasets/lilac/open-asssistant-conversations/text/text_statistics/signal_manifest.json
deleted file mode 100644
index 642e3171e68afe580d2043a5f4a9f1331fc85208..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/open-asssistant-conversations/text/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-atticus-contracts/config.yml b/data/datasets/lilac/pile-of-law-atticus-contracts/config.yml
deleted file mode 100644
index 53a4e88a33bc2073f5e71c55f760852b4384902a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-atticus-contracts/config.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-name: pile-of-law-atticus-contracts
-namespace: lilac
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths:
- - text
-source:
- config_name: atticus_contracts
- dataset_name: pile-of-law/pile-of-law
- sample_size: 100000
- source_name: huggingface
-tags:
-- legal
diff --git a/data/datasets/lilac/pile-of-law-atticus-contracts/data-00000-of-00001.parquet b/data/datasets/lilac/pile-of-law-atticus-contracts/data-00000-of-00001.parquet
deleted file mode 100644
index 3025f61a94ea6d0b1dcad7f65e77c55ddf166e66..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-atticus-contracts/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:654fd626e1d336406da59fd0efe676c91e58c3752fa0bf668523df6872d2b131
-size 4778681829
diff --git a/data/datasets/lilac/pile-of-law-atticus-contracts/manifest.json b/data/datasets/lilac/pile-of-law-atticus-contracts/manifest.json
deleted file mode 100644
index a5568a64b007a55a0195e0a86ec236567a652b2d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-atticus-contracts/manifest.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "text": {
- "dtype": "string"
- },
- "created_timestamp": {
- "dtype": "string"
- },
- "downloaded_timestamp": {
- "dtype": "string"
- },
- "url": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/config.yml b/data/datasets/lilac/pile-of-law-r-legaladvice/config.yml
deleted file mode 100644
index a6993783ff42281df6f25616f1ce7672023c1bcf..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/config.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: text}
-name: pile-of-law-r-legaladvice
-namespace: lilac
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths: [text]
-signals:
-- path: text
- signal: {signal_name: near_dup}
-- path: text
- signal: {signal_name: text_statistics}
-- path: text
- signal: {signal_name: pii}
-- path: text
- signal: {signal_name: lang_detection}
-- path: text
- signal: {signal_name: spacy_ner}
-source: {config_name: r_legaladvice, dataset_name: pile-of-law/pile-of-law, source_name: huggingface}
-tags: [legal]
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/data-00000-of-00001.parquet b/data/datasets/lilac/pile-of-law-r-legaladvice/data-00000-of-00001.parquet
deleted file mode 100644
index fb97fabdf28a292b11466042e1b31bc8cca7f2cc..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:315910747b04a2b504c0df875caf84812252602ea10a14c2049a45737a80db86
-size 190604294
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/manifest.json b/data/datasets/lilac/pile-of-law-r-legaladvice/manifest.json
deleted file mode 100644
index a5568a64b007a55a0195e0a86ec236567a652b2d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/manifest.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "text": {
- "dtype": "string"
- },
- "created_timestamp": {
- "dtype": "string"
- },
- "downloaded_timestamp": {
- "dtype": "string"
- },
- "url": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 8ef8df8cacfe7ff6821eca1cc3e17b51ece938b7..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b613d5dd1584d6a5f8323d1464fa1f9d7a6a3cb8547963a8f3451afc56542a3c
-size 1922075524
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 619b37a6c1607c502dd4a36d173dbb19a9d78ad0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f6ea206b1c4dba51a9e18f6db3822615cfe4c0ec435d3ce8c0e78ed4a604d11c
-size 24945492
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/signal_manifest.json b/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/signal_manifest.json
deleted file mode 100644
index 6c4df1308025f01afd7ad11c2e4eab36963c61b0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "text"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/spans.pkl b/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/spans.pkl
deleted file mode 100644
index 192b9a5531330c94e16a04417907e4e42606b28c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c233892a5f8fb35cdff7539bc657e15b91f91be9410c63e5a6dfc0aa627831ae
-size 15099068
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 385f81d5b3b5ad7f7d98c6001d9698a2e6639470..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f09e13588467643bc515248dc8b75003ecab9787b8d30b01959dd4f85d0a5eb0
-size 4827225
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/signal_manifest.json b/data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/signal_manifest.json
deleted file mode 100644
index 2163e9fd9535885346193cbb0e9772d01841cd31..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 161f7545c3c6c2b955ffe2d1775fbd2a8dbf5dd2..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b3d7c4f4df146865336e8e0addba0ff1bfe0218bd6ef7d9b6cd2b1ef21a20405
-size 5743841
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/signal_manifest.json b/data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/signal_manifest.json
deleted file mode 100644
index 6febd3e69b9125b0be3b4778f7b65fab8a5d325b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/data-00000-of-00001.parquet b/data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 1baf009a7f79be183ca0036d9b458d01b1f8951c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:38ca9bdf0f4a9dd4b0d1bc83f6f6b1446aa5b61c0566e1ffa165dac1565e3099
-size 4834322
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/signal_manifest.json b/data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/signal_manifest.json
deleted file mode 100644
index ecb2e8b26fb5328004c7cd7b5363b79e88acf8ac..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 5d0a0c370a9a08c6eef6d06044c84c58d9c6e916..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bcfb0d11c300e2d97d10c57e63b777cb347936e24253758c716bed24e0b7a2e8
-size 6649363
diff --git a/data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/signal_manifest.json b/data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/signal_manifest.json
deleted file mode 100644
index 642e3171e68afe580d2043a5f4a9f1331fc85208..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/pile-of-law-r-legaladvice/text/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/config.yml b/data/datasets/lilac/piqa/config.yml
deleted file mode 100644
index bdfbcc5089cda68f5f9659553f2cb28bc019cb01..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/config.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: goal}
-- {embedding: gte-small, path: sol2}
-- {embedding: gte-small, path: sol1}
-name: piqa
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths: [sol1, sol2, goal]
-signals:
-- path: sol1
- signal: {signal_name: near_dup}
-- path: sol1
- signal: {signal_name: text_statistics}
-- path: sol1
- signal: {signal_name: pii}
-- path: sol1
- signal: {signal_name: lang_detection}
-- path: sol1
- signal: {signal_name: spacy_ner}
-- path: sol2
- signal: {signal_name: near_dup}
-- path: sol2
- signal: {signal_name: pii}
-- path: sol2
- signal: {signal_name: spacy_ner}
-- path: sol2
- signal: {signal_name: lang_detection}
-- path: sol2
- signal: {signal_name: text_statistics}
-- path: goal
- signal: {signal_name: near_dup}
-- path: goal
- signal: {signal_name: text_statistics}
-- path: goal
- signal: {signal_name: spacy_ner}
-- path: goal
- signal: {signal_name: lang_detection}
-- path: goal
- signal: {signal_name: pii}
-source: {dataset_name: piqa, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/lilac/piqa/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/data-00000-of-00001.parquet
deleted file mode 100644
index bf38c39924376e7eee1170e510f0ee20521fc431..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1530d99cdc0988b355d3dcbcd6f7e29439e4048535b598eaf08f2c372d5a76a4
-size 4040510
diff --git a/data/datasets/lilac/piqa/goal/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/piqa/goal/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index b5a0eb8ccf59130822d17474d84435ed47ee0b8a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e46018f32560457c6bb77c8cb6270be81c48730a37e640d70de62b5e75d9b0ad
-size 35437836
diff --git a/data/datasets/lilac/piqa/goal/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/piqa/goal/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index f70d0ecbbf3e2ce4f690321fca45533e20d67b14..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:151e20cb34bc6ff100936ca9da15e7443e8ecc23cf68aa10977f90a5f5e3802b
-size 1010253
diff --git a/data/datasets/lilac/piqa/goal/gte-small/signal_manifest.json b/data/datasets/lilac/piqa/goal/gte-small/signal_manifest.json
deleted file mode 100644
index e38b0540f2a3f21235cb535004316e0c442228f3..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(goal)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "goal": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "goal"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/goal/gte-small/spans.pkl b/data/datasets/lilac/piqa/goal/gte-small/spans.pkl
deleted file mode 100644
index 4097d71f5a2333d7e96161221ea78a1b0678dce1..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:af17a91bcfa9ef113f360a6a6a625741b81ba887a577393c23aff0621535b52b
-size 1009873
diff --git a/data/datasets/lilac/piqa/goal/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/goal/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 42fc59c8b41da29d5c0d947ef5e41c12f584256b..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/goal/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/goal/lang_detection/signal_manifest.json b/data/datasets/lilac/piqa/goal/lang_detection/signal_manifest.json
deleted file mode 100644
index 20fd48a65b9a66e2b42b59952a06c9e8c4bd23a5..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(goal)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "goal": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "goal"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/goal/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/goal/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 3f8aa38ac019e6a12a9a42ea72bd90fb46975fe8..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/goal/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/goal/near_dup/signal_manifest.json b/data/datasets/lilac/piqa/goal/near_dup/signal_manifest.json
deleted file mode 100644
index 229d8c6643b134214a13ccfa54b27648bb23aba4..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(goal)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "goal": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "goal"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/goal/pii/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/goal/pii/data-00000-of-00001.parquet
deleted file mode 100644
index b8419aa671392c0397e45e5b2623ae15bfeaacff..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/goal/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/goal/pii/signal_manifest.json b/data/datasets/lilac/piqa/goal/pii/signal_manifest.json
deleted file mode 100644
index cf829e25c9fb255627cf66f09e37bb2249cb0644..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(goal)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "goal": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "goal"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/goal/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/goal/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 2db9b856db171622031762b075eadb1cd201b2f2..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/goal/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/goal/text_statistics/signal_manifest.json b/data/datasets/lilac/piqa/goal/text_statistics/signal_manifest.json
deleted file mode 100644
index 7411f33b9cf775aa384d9cf6868101647212599d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/goal/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(goal)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "goal": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "goal"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/manifest.json b/data/datasets/lilac/piqa/manifest.json
deleted file mode 100644
index cc381f565472c6d4c2588d10e9d9d19e5f864d26..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/manifest.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "goal": {
- "dtype": "string"
- },
- "sol1": {
- "dtype": "string"
- },
- "sol2": {
- "dtype": "string"
- },
- "label": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol1/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/piqa/sol1/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 7a236ec29b4499a1b55a9d01fc1e977dbf925744..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:91976ea520234c445b947e745fabddaae0cf455d2a8e8d18ccb945905c642ed2
-size 36174988
diff --git a/data/datasets/lilac/piqa/sol1/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/piqa/sol1/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 4016b3e5cbc2eb7d0a2d2c9bc814d4989bf4b5c2..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1333c87108731a3851176d7751a918e8a170de5a6d4e0e0a5b79f8663b37494e
-size 1018110
diff --git a/data/datasets/lilac/piqa/sol1/gte-small/signal_manifest.json b/data/datasets/lilac/piqa/sol1/gte-small/signal_manifest.json
deleted file mode 100644
index e2fc00649d968a40bcfd6e8b602475aff580b5e8..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(sol1)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol1": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "sol1"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol1/gte-small/spans.pkl b/data/datasets/lilac/piqa/sol1/gte-small/spans.pkl
deleted file mode 100644
index 37a2fbf2f14cc8ce3bdfffb6d99a9b3e68838d6c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b043969052fae73d232c222d10362ce093ca26b9224b6ea14c87cf65affd04df
-size 1015221
diff --git a/data/datasets/lilac/piqa/sol1/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol1/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index ea0da12d380c06c0a8d6a3db11b768e1583bbb64..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol1/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol1/lang_detection/signal_manifest.json b/data/datasets/lilac/piqa/sol1/lang_detection/signal_manifest.json
deleted file mode 100644
index c86df1c4c09f3bff65d0223549be1df392b9a8eb..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(sol1)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol1": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "sol1"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol1/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol1/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 290a52d50eb6aea1f5cf4abd78dca49dbb411f22..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol1/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol1/near_dup/signal_manifest.json b/data/datasets/lilac/piqa/sol1/near_dup/signal_manifest.json
deleted file mode 100644
index ce5c8c5432a9475af951a5ab8f895132940bad1a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(sol1)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol1": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "sol1"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol1/pii/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol1/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 193364c2e59d6967ba5d2e00791cf6440b26be50..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol1/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol1/pii/signal_manifest.json b/data/datasets/lilac/piqa/sol1/pii/signal_manifest.json
deleted file mode 100644
index 5a53e8f453f2df2e34367079c7d52e5499dc07d0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(sol1)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol1": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "sol1"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol1/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol1/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 9706fd142b5c777bc00e63a5f3229b39c299f41b..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol1/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol1/text_statistics/signal_manifest.json b/data/datasets/lilac/piqa/sol1/text_statistics/signal_manifest.json
deleted file mode 100644
index d8177cbf4d1e85fb3064088ed71b0db1977cebcf..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol1/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(sol1)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol1": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "sol1"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol2/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/piqa/sol2/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index ca467cc92758852bc183f82d923710481eed6a83..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b61683bccd432e615553a1e508b236f265663e74ec67c60edb4f368e169d7b65
-size 36180028
diff --git a/data/datasets/lilac/piqa/sol2/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/piqa/sol2/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 77935440f5af04e0a91346a9f61a07725c0e4972..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d814ae715f918b41488589fabed6fba617820b1619c484e437a6d575a89692c3
-size 1018164
diff --git a/data/datasets/lilac/piqa/sol2/gte-small/signal_manifest.json b/data/datasets/lilac/piqa/sol2/gte-small/signal_manifest.json
deleted file mode 100644
index ea3076918836fe1c827391a2a3a39f2282bbbfe5..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(sol2)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol2": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "sol2"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol2/gte-small/spans.pkl b/data/datasets/lilac/piqa/sol2/gte-small/spans.pkl
deleted file mode 100644
index e53d139449545d1a8ebfd44cfa159c7ad97d06e0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1bae45d635be51218f7dbf110a5fd4935d7afb802dd79425d18164161e2f1645
-size 1015232
diff --git a/data/datasets/lilac/piqa/sol2/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol2/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index ed2b6372ff6de411e3b56e1cd5fbe6ea81faacbd..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol2/lang_detection/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol2/lang_detection/signal_manifest.json b/data/datasets/lilac/piqa/sol2/lang_detection/signal_manifest.json
deleted file mode 100644
index 9cfe8b083d788adcdabc203d60f3bd1018f7f4d7..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(sol2)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol2": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "sol2"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol2/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol2/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 5608922e59505fb08b564fc9fd2920ff580cbeea..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol2/near_dup/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol2/near_dup/signal_manifest.json b/data/datasets/lilac/piqa/sol2/near_dup/signal_manifest.json
deleted file mode 100644
index 3683dfd250bec75cbdf7c6e72c395e322d4c747f..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(sol2)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol2": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "sol2"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol2/pii/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol2/pii/data-00000-of-00001.parquet
deleted file mode 100644
index f9a93454f68babb682a06575688013ad9ac41660..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol2/pii/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol2/pii/signal_manifest.json b/data/datasets/lilac/piqa/sol2/pii/signal_manifest.json
deleted file mode 100644
index 850d74ea1694d636715e818ac90fd3261354272e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(sol2)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol2": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "sol2"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/piqa/sol2/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/piqa/sol2/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 5a3e37e4c595d75bfb1e294270c15fa5b9caf8eb..0000000000000000000000000000000000000000
Binary files a/data/datasets/lilac/piqa/sol2/text_statistics/data-00000-of-00001.parquet and /dev/null differ
diff --git a/data/datasets/lilac/piqa/sol2/text_statistics/signal_manifest.json b/data/datasets/lilac/piqa/sol2/text_statistics/signal_manifest.json
deleted file mode 100644
index 1bc865bf833b4da708fd65d3f366c80188498b0e..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/piqa/sol2/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(sol2)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "sol2": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "sol2"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/answers/text/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/answers/text/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 18370c77f27621e4898136157d8b4601c7d496fc..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c03103ba132a7209461f86bd1045431d06db431930344e4bdf97236347cc2164
-size 4738120
diff --git a/data/datasets/lilac/squad_v2/answers/text/lang_detection/signal_manifest.json b/data/datasets/lilac/squad_v2/answers/text/lang_detection/signal_manifest.json
deleted file mode 100644
index d9140bd6b0a3567aa8f4f54dca03ff53dde54c62..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(answers.text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "answers": {
- "fields": {
- "text": {
- "repeated_field": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "answers",
- "text",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/answers/text/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/answers/text/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 1ac3c2fcf06bafc847c9d371316e3aebcc95eaf4..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cf4ae7259d126104da2aea0e1fad0c7cd83033f7774f0d44a2436f7c891fde34
-size 5224344
diff --git a/data/datasets/lilac/squad_v2/answers/text/near_dup/signal_manifest.json b/data/datasets/lilac/squad_v2/answers/text/near_dup/signal_manifest.json
deleted file mode 100644
index 8832994bd6398ffe3af09c791f63af9b655eb9e5..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(answers.text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "answers": {
- "fields": {
- "text": {
- "repeated_field": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "answers",
- "text",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/answers/text/pii/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/answers/text/pii/data-00000-of-00001.parquet
deleted file mode 100644
index fc02cf578d3adb754281fb2428acff8aa5aeb050..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:adf2c35877ae9957a987049c40a9a1b2edbe4b2d93b1da86bfeb739fae240040
-size 4841393
diff --git a/data/datasets/lilac/squad_v2/answers/text/pii/signal_manifest.json b/data/datasets/lilac/squad_v2/answers/text/pii/signal_manifest.json
deleted file mode 100644
index 8495a5ffb37e173e3df5160432a4e580399db30a..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/pii/signal_manifest.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(answers.text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "answers": {
- "fields": {
- "text": {
- "repeated_field": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "answers",
- "text",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/answers/text/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/answers/text/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 59aceaf596dd4f7485424af0a6567f6b5223f685..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:16b5ddbc51455341a26121c5427bd0f32639515dad34d77561402df81d8ab903
-size 5100206
diff --git a/data/datasets/lilac/squad_v2/answers/text/text_statistics/signal_manifest.json b/data/datasets/lilac/squad_v2/answers/text/text_statistics/signal_manifest.json
deleted file mode 100644
index 05168462e15f9fa6579b65b4ac047f19ac184184..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/answers/text/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(answers.text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "answers": {
- "fields": {
- "text": {
- "repeated_field": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "answers",
- "text",
- "*"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/config.yml b/data/datasets/lilac/squad_v2/config.yml
deleted file mode 100644
index b4e9c3b38df85669a46f6b11c46376223d12c4f0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/config.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: context}
-name: squad_v2
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths:
- - context
- - question
- - [answers, text, '*']
-signals:
-- path: context
- signal: {signal_name: text_statistics}
-- path: context
- signal: {signal_name: pii}
-- path: context
- signal: {signal_name: near_dup}
-- path: question
- signal: {signal_name: spacy_ner}
-- path: question
- signal: {signal_name: pii}
-- path: [answers, text, '*']
- signal: {signal_name: pii}
-- path: [answers, text, '*']
- signal: {signal_name: spacy_ner}
-- path: [answers, text, '*']
- signal: {signal_name: near_dup}
-- path: context
- signal: {signal_name: lang_detection}
-- path: [answers, text, '*']
- signal: {signal_name: lang_detection}
-- path: question
- signal: {signal_name: near_dup}
-- path: question
- signal: {signal_name: lang_detection}
-- path: [answers, text, '*']
- signal: {signal_name: text_statistics}
-- path: question
- signal: {signal_name: text_statistics}
-- path: context
- signal: {signal_name: spacy_ner}
-source: {dataset_name: squad_v2, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/lilac/squad_v2/context/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/squad_v2/context/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index f4feaca6fddbbe1b2a3f74deee7d786b1bdc5651..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e24a3d0200e46bb221dacc8066ccc85033ff0378721338cfd60612f130e034d1
-size 601394376
diff --git a/data/datasets/lilac/squad_v2/context/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/squad_v2/context/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index c41e5ecd61d84ce1484cdaaa03a6698179d4c1a2..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bc41116b96f4e1fa547697ce62afe0fe7aba054a8d694b308e1e0270474801da
-size 10694495
diff --git a/data/datasets/lilac/squad_v2/context/gte-small/signal_manifest.json b/data/datasets/lilac/squad_v2/context/gte-small/signal_manifest.json
deleted file mode 100644
index 772cd149b1871246d577334ba66c97eba2970f67..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(context)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "context": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "context"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/context/gte-small/spans.pkl b/data/datasets/lilac/squad_v2/context/gte-small/spans.pkl
deleted file mode 100644
index c35befc2653003f14dca0488d4d983f4aa2fac4f..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d69a524ee48c0c218eeb901ae265ae74b12511fee17fe31ae1627c0122e25f04
-size 8815907
diff --git a/data/datasets/lilac/squad_v2/context/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/context/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index ff2336747f6c1a09d311195ce9e9ab086f2e0f65..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cd10704958387059935d9e22f0415677a6daf3105105af8314314ce3c3114274
-size 4682949
diff --git a/data/datasets/lilac/squad_v2/context/lang_detection/signal_manifest.json b/data/datasets/lilac/squad_v2/context/lang_detection/signal_manifest.json
deleted file mode 100644
index a9c658f13553ec6197f0b5342c878d96956f32b3..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(context)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "context": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/context/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/context/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 9ec286b9d904b07a9b8c17d99d0c1a2f0f4f040c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e0d3a359a05aa7c073900e4973569f808afa26c7bf0328c31e553efcc14bea90
-size 4962702
diff --git a/data/datasets/lilac/squad_v2/context/near_dup/signal_manifest.json b/data/datasets/lilac/squad_v2/context/near_dup/signal_manifest.json
deleted file mode 100644
index 74e3d7239cf63d33a84ce5aba5a88cecd5dc6873..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(context)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "context": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/context/pii/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/context/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 901d98cbc959ebfa6f6fc072505bfde60008f61c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0265330a9d7ff27498f4f0e9ddce89a027203d11941d6bc8f8d4334872346d9c
-size 4685328
diff --git a/data/datasets/lilac/squad_v2/context/pii/signal_manifest.json b/data/datasets/lilac/squad_v2/context/pii/signal_manifest.json
deleted file mode 100644
index 5e2c68f4626d74914590e8adf2e0b726291bc900..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(context)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "context": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/context/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/context/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index fe26d3844a63b0a797c292e402ed812119e15c38..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f1915970f9199dc82019cbb6089c85df3ddfd189848e0f34f549e34b617cd0f8
-size 5165481
diff --git a/data/datasets/lilac/squad_v2/context/text_statistics/signal_manifest.json b/data/datasets/lilac/squad_v2/context/text_statistics/signal_manifest.json
deleted file mode 100644
index e2b1f42d5fa12885616ea8f299e070aea59da166..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/context/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(context)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "context": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "context"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/data-00000-of-00001.parquet
deleted file mode 100644
index ccd293f00e4d1767ee97582ad38417d6e0470549..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a9f54db85b8bacd3ea30ecf70410441e300c783e621767c1d9746d6474852ceb
-size 27086838
diff --git a/data/datasets/lilac/squad_v2/manifest.json b/data/datasets/lilac/squad_v2/manifest.json
deleted file mode 100644
index 95e901df7d68ab16d58b36a5df33832aa858af99..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/manifest.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "id": {
- "dtype": "string"
- },
- "title": {
- "dtype": "string"
- },
- "context": {
- "dtype": "string"
- },
- "question": {
- "dtype": "string"
- },
- "answers": {
- "fields": {
- "text": {
- "repeated_field": {
- "dtype": "string"
- }
- },
- "answer_start": {
- "repeated_field": {
- "dtype": "int32"
- }
- }
- }
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/question/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/question/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 3b5fc2a8b43e007eabb9a61b4a92cd7c182b8c87..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:06d32aa3096865a6236fd620a16499876c919b245e26fe9a2809b3c02eebc13d
-size 4694280
diff --git a/data/datasets/lilac/squad_v2/question/lang_detection/signal_manifest.json b/data/datasets/lilac/squad_v2/question/lang_detection/signal_manifest.json
deleted file mode 100644
index 973db6d92666ad6b4e67edd70b041618e1ed5be7..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/question/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/question/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 97ba0ef1589b7603fdcf116f03b2d5ddfc17ad0d..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9b7e1d521750d16c37c70c378306ef22916e2d9715a565f1127d9e3626c966d4
-size 5571030
diff --git a/data/datasets/lilac/squad_v2/question/near_dup/signal_manifest.json b/data/datasets/lilac/squad_v2/question/near_dup/signal_manifest.json
deleted file mode 100644
index 3da5c66d3d35050bd9590d6ee73d0107dfc6d788..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/question/pii/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/question/pii/data-00000-of-00001.parquet
deleted file mode 100644
index c42879fa94caac7faeae4af1437d0b7c249c54ee..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a72f4f32331de183cfe67be224ba473ec83ba8f855dafab97371580684718e4f
-size 4685523
diff --git a/data/datasets/lilac/squad_v2/question/pii/signal_manifest.json b/data/datasets/lilac/squad_v2/question/pii/signal_manifest.json
deleted file mode 100644
index 7f82232c8066c00959e30503f41c1d852627a812..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/squad_v2/question/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/squad_v2/question/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 44faabb88c9e0ccdf1e7b0d0a7ba994ec0d4c910..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:36304efa2147c8737c1c4da192837aa855504ecfe9eb6f14d267c501bcaaa246
-size 5104750
diff --git a/data/datasets/lilac/squad_v2/question/text_statistics/signal_manifest.json b/data/datasets/lilac/squad_v2/question/text_statistics/signal_manifest.json
deleted file mode 100644
index e52fe6eef5bd2c1f65350e1b161e182aec82e7f6..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/squad_v2/question/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(question)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "question": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/config.yml b/data/datasets/lilac/wikitext-2-raw-v1/config.yml
deleted file mode 100644
index 7f8c3ac2fa32611657bc24256813e558f87f1620..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/config.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: text}
-name: wikitext-2-raw-v1
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths: [text]
-signals:
-- path: text
- signal: {signal_name: pii}
-- path: text
- signal: {signal_name: near_dup}
-- path: text
- signal: {signal_name: lang_detection}
-- path: text
- signal: {signal_name: text_statistics}
-- path: text
- signal: {signal_name: spacy_ner}
-source: {config_name: wikitext-2-raw-v1, dataset_name: wikitext, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/data-00000-of-00001.parquet b/data/datasets/lilac/wikitext-2-raw-v1/data-00000-of-00001.parquet
deleted file mode 100644
index be71c28d7173f5876194c5e663b53d5f77bbfb73..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2d2722d7f4c6b75fdd39f4477d67ed046ab1da08f1fa6d757109d8df77a1a4c2
-size 9171984
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/manifest.json b/data/datasets/lilac/wikitext-2-raw-v1/manifest.json
deleted file mode 100644
index 6b0b5700fe6080dfedfee42ab57dc5c8f38051bb..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/manifest.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "text": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- },
- "__rowid__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.hnswlib.bin b/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index c09f28fa576401bc02c3fa645050d661e5bb043c..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c9c5174ef8444ec37b0cc39acb01225d77ef8e131d6af4501ac85e904d80a9b2
-size 91233592
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.lookup.pkl b/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 16765de4ed616eaa17be110e0839b87c06c4bb67..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c6de9264ae1f50b8dd78b4fec2601cd88625cfe253eaab24542890a870ecd900
-size 1848900
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/signal_manifest.json b/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/signal_manifest.json
deleted file mode 100644
index 6c4df1308025f01afd7ad11c2e4eab36963c61b0..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "files": [],
- "parquet_id": "gte-small(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "text"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/spans.pkl b/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/spans.pkl
deleted file mode 100644
index 96bb1f5443116fd861dba7852016928328c0a046..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:064d18ca7f0f3b021ebfa93323bcbe9f50271da2ea2234393581a8113322683a
-size 1629720
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/data-00000-of-00001.parquet b/data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index 52365e79c0276932e5a3c6cf4c49666f81cf3eb2..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:68e4d6290a46a7dac484299be15b8536324cb677ced9721934bd150a277ddaf9
-size 1532348
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/signal_manifest.json b/data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/signal_manifest.json
deleted file mode 100644
index 2163e9fd9535885346193cbb0e9772d01841cd31..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "lang_detection(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/data-00000-of-00001.parquet b/data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index 8a5403fb1b4148c5368424e97429d5ac0e97dcc5..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3f316a8a3f031470cf9fa99475b81a04e962f2da7704d61de8a44089bbf7e59b
-size 1703637
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/signal_manifest.json b/data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/signal_manifest.json
deleted file mode 100644
index 6febd3e69b9125b0be3b4778f7b65fab8a5d325b..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "near_dup(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/pii/data-00000-of-00001.parquet b/data/datasets/lilac/wikitext-2-raw-v1/text/pii/data-00000-of-00001.parquet
deleted file mode 100644
index 8029f40ee89cf359dbcda728226e7ae4c33fc0fb..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fb257c0e65788f446b23d8f389db299c51a896baf0dcbd4d37114b625868f0ad
-size 1517126
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/pii/signal_manifest.json b/data/datasets/lilac/wikitext-2-raw-v1/text/pii/signal_manifest.json
deleted file mode 100644
index ecb2e8b26fb5328004c7cd7b5363b79e88acf8ac..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/pii/signal_manifest.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "pii(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/data-00000-of-00001.parquet b/data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index 5d0e5dedb36bcaa931a3dd1a30e4da9d9fdd67ed..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:96b6d56208f0c74e7c9bc1d858ebabaae941eaf2c95cdf9207a7bdd1418a59ce
-size 1827010
diff --git a/data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/signal_manifest.json b/data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/signal_manifest.json
deleted file mode 100644
index 642e3171e68afe580d2043a5f4a9f1331fc85208..0000000000000000000000000000000000000000
--- a/data/datasets/lilac/wikitext-2-raw-v1/text/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "text_statistics(text)",
- "data_schema": {
- "fields": {
- "__rowid__": {
- "dtype": "string"
- },
- "text": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "text"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/config.yml b/data/datasets/local/OpenOrca-100k/config.yml
deleted file mode 100644
index 4f52707471dfd9934a8bc07d921a6700c998d6b7..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/config.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-embeddings:
-- {embedding: gte-small, path: response}
-- {embedding: gte-small, path: question}
-name: OpenOrca-100k
-namespace: local
-settings:
- preferred_embedding: gte-small
- ui:
- media_paths: [question, response]
-signals:
-- path: question
- signal: {signal_name: near_dup}
-- path: question
- signal: {signal_name: text_statistics}
-- path: question
- signal: {signal_name: pii}
-- path: question
- signal: {signal_name: lang_detection}
-- path: response
- signal: {signal_name: near_dup}
-- path: response
- signal: {signal_name: text_statistics}
-- path: response
- signal: {signal_name: pii}
-- path: response
- signal: {signal_name: lang_detection}
-source: {dataset_name: Open-Orca/OpenOrca, sample_size: 100000, source_name: huggingface}
-tags: [machine-learning]
diff --git a/data/datasets/local/OpenOrca-100k/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/data-00000-of-00001.parquet
deleted file mode 100644
index b9221a9cd3f170e09737d5c913bd4d79f6a2bc4a..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f95588367446af55ccc2f089092779670c57308ee1f72a849e41f22e126d5052
-size 105147761
diff --git a/data/datasets/local/OpenOrca-100k/manifest.json b/data/datasets/local/OpenOrca-100k/manifest.json
deleted file mode 100644
index 53caa833c2c2d16f62bef24fa96a25e527818444..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/manifest.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "data_schema": {
- "fields": {
- "id": {
- "dtype": "string"
- },
- "system_prompt": {
- "dtype": "string"
- },
- "question": {
- "dtype": "string"
- },
- "response": {
- "dtype": "string"
- },
- "__hfsplit__": {
- "dtype": "string"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.hnswlib.bin b/data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 50a2135e38a9d196be2a0e980f54399b169db490..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5dfe25276925e77c354a88ae5a6f19bcfc4f9b5e8b040848ae0769d05c9609d7
-size 596705084
diff --git a/data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.lookup.pkl b/data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 0c7953ef7795d0811a3ddedf68384716c43c912e..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3c0bac1790aa5247eb288c2a828a92eb313090b36a015665f6aae42e5a4dcb18
-size 9378299
diff --git a/data/datasets/local/OpenOrca-100k/question/gte-small/signal_manifest.json b/data/datasets/local/OpenOrca-100k/question/gte-small/signal_manifest.json
deleted file mode 100644
index ba0336e9e809375065befad6c4960fe6306d1323..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "files": [],
- "parquet_id": "question.gte-small",
- "data_schema": {
- "fields": {
- "question": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "question"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/question/gte-small/spans.pkl b/data/datasets/local/OpenOrca-100k/question/gte-small/spans.pkl
deleted file mode 100644
index 299e91cc292e498b6c3b0add6a840499e8ad2b77..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ef19c506d4af4eab34aec3b280663687002db0792108b84d313f8ab6f532aa6c
-size 6922769
diff --git a/data/datasets/local/OpenOrca-100k/question/lang_detection/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/question/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index d099f481d6cf26a52a0f1c71df866be165fdabe3..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b1a09e7085a4019205c62c28e6dcb46254fea37243e8087346d9c7298e05f9e1
-size 3327888
diff --git a/data/datasets/local/OpenOrca-100k/question/lang_detection/signal_manifest.json b/data/datasets/local/OpenOrca-100k/question/lang_detection/signal_manifest.json
deleted file mode 100644
index 4618b567214f73feb51c427274ee3e643240fa3c..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "question.lang_detection",
- "data_schema": {
- "fields": {
- "question": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/question/near_dup/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/question/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index fa56c39da1c0a80355aa4a508bf2af0622b594e0..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e1ff51f57fb136ab846d0c34a248aca4ef86d09fa0945737cd2c276d2f5dcb7d
-size 3884385
diff --git a/data/datasets/local/OpenOrca-100k/question/near_dup/signal_manifest.json b/data/datasets/local/OpenOrca-100k/question/near_dup/signal_manifest.json
deleted file mode 100644
index 33416e45d613d430f138c5ced6441614a9d91111..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "question.near_dup",
- "data_schema": {
- "fields": {
- "question": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/question/pii/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/question/pii/data-00000-of-00001.parquet
deleted file mode 100644
index ad9c08620bc656735185aa9559dfc1041153bade..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:acc4cd2ae7c51b4450d159c63fee3e9739b3c1d5a36cfbf3bf45fe29e2ac15b5
-size 3317869
diff --git a/data/datasets/local/OpenOrca-100k/question/pii/signal_manifest.json b/data/datasets/local/OpenOrca-100k/question/pii/signal_manifest.json
deleted file mode 100644
index e45df2243365e57c963fb0399d4dace8d1b915d5..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/pii/signal_manifest.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "question.pii",
- "data_schema": {
- "fields": {
- "question": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/question/text_statistics/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/question/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index fe11ea9872ce156f788a8b825edf5749837b8d64..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b6703f93314760ee15d64532812a601c85d2f411254c1d809c6b3f558cc1c7c7
-size 4321496
diff --git a/data/datasets/local/OpenOrca-100k/question/text_statistics/signal_manifest.json b/data/datasets/local/OpenOrca-100k/question/text_statistics/signal_manifest.json
deleted file mode 100644
index 0e226a5feb1a9df8618924d376cd9e02d18d876e..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/question/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "question.text_statistics",
- "data_schema": {
- "fields": {
- "question": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "question"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.hnswlib.bin b/data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.hnswlib.bin
deleted file mode 100644
index 7b3d9bd22854e5704371267734247a8707615d74..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.hnswlib.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0c3e03433f28ec1ffc518a1370d94d902bd47d35286ab5e5bc67408f886ccd58
-size 482647324
diff --git a/data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.lookup.pkl b/data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.lookup.pkl
deleted file mode 100644
index 3d3fa8f8376c24556abbb111f6d93c069b7d50dc..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/gte-small/hnsw.lookup.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:afd6636965df6ed8f6aadd52a9638edf201c36dd470b816e6488e5417dcfe3c4
-size 8159214
diff --git a/data/datasets/local/OpenOrca-100k/response/gte-small/signal_manifest.json b/data/datasets/local/OpenOrca-100k/response/gte-small/signal_manifest.json
deleted file mode 100644
index 0f5cc1ea0188498cabe0ca38215e33c0377d2ebf..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/gte-small/signal_manifest.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "files": [],
- "parquet_id": "response.gte-small",
- "data_schema": {
- "fields": {
- "response": {
- "fields": {
- "gte-small": {
- "repeated_field": {
- "fields": {
- "embedding": {
- "dtype": "embedding"
- }
- },
- "dtype": "string_span"
- },
- "signal": {
- "signal_name": "gte-small"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "gte-small"
- },
- "enriched_path": [
- "response"
- ],
- "vector_store": "hnsw"
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/response/gte-small/spans.pkl b/data/datasets/local/OpenOrca-100k/response/gte-small/spans.pkl
deleted file mode 100644
index b010b9be23dd6efaf8d517f523389677f9acb396..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/gte-small/spans.pkl
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cf61917d291a1e3157ca017b4eacdf8983bf8094b3b22d710031381927f19b16
-size 6373377
diff --git a/data/datasets/local/OpenOrca-100k/response/lang_detection/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/response/lang_detection/data-00000-of-00001.parquet
deleted file mode 100644
index accaa008dd50646402d54a02f3f0a48d43e33f9a..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/lang_detection/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:62af2b56e9bf3cbcddbceab6f858fc35fef50953b73b06a7da3bc1d2e62d3a53
-size 3339983
diff --git a/data/datasets/local/OpenOrca-100k/response/lang_detection/signal_manifest.json b/data/datasets/local/OpenOrca-100k/response/lang_detection/signal_manifest.json
deleted file mode 100644
index 342ce6de6d5aaed4c12c14aa5f2332c1b20f9411..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/lang_detection/signal_manifest.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "response.lang_detection",
- "data_schema": {
- "fields": {
- "response": {
- "fields": {
- "lang_detection": {
- "dtype": "string",
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- }
- }
- }
- }
- }
- },
- "signal": {
- "split_by_paragraph": false,
- "signal_name": "lang_detection"
- },
- "enriched_path": [
- "response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/response/near_dup/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/response/near_dup/data-00000-of-00001.parquet
deleted file mode 100644
index ec9f62ba6e5661dab627af237bb97a19f272ae46..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/near_dup/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cc30679d1a2e6f2d3d45b2f145932daebf8a3f6ae4b73cfa9da3dbf5c495967d
-size 3902985
diff --git a/data/datasets/local/OpenOrca-100k/response/near_dup/signal_manifest.json b/data/datasets/local/OpenOrca-100k/response/near_dup/signal_manifest.json
deleted file mode 100644
index c36bd128dc804efc887f9b3da2ee0a3ccab720c5..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/near_dup/signal_manifest.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "response.near_dup",
- "data_schema": {
- "fields": {
- "response": {
- "fields": {
- "near_dup": {
- "fields": {
- "cluster_id": {
- "dtype": "uint32",
- "categorical": true
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- }
- }
- }
- }
- }
- },
- "signal": {
- "threshold": 0.85,
- "signal_name": "near_dup"
- },
- "enriched_path": [
- "response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/response/pii/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/response/pii/data-00000-of-00001.parquet
deleted file mode 100644
index a4f80390b10e3a8abacc1e73ec6e7b3f2d5de7f2..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/pii/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f3b5830b33a8ddbe000b1b4403ef882731243075acc6416b5f673c90d4bf25ac
-size 3313965
diff --git a/data/datasets/local/OpenOrca-100k/response/pii/signal_manifest.json b/data/datasets/local/OpenOrca-100k/response/pii/signal_manifest.json
deleted file mode 100644
index 9ba5b12a8bb112c2ada691329cd69298f18df099..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/pii/signal_manifest.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "response.pii",
- "data_schema": {
- "fields": {
- "response": {
- "fields": {
- "pii": {
- "fields": {
- "emails": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "ip_addresses": {
- "repeated_field": {
- "dtype": "string_span"
- }
- },
- "secrets": {
- "repeated_field": {
- "dtype": "string_span"
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "pii"
- },
- "enriched_path": [
- "response"
- ]
-}
\ No newline at end of file
diff --git a/data/datasets/local/OpenOrca-100k/response/text_statistics/data-00000-of-00001.parquet b/data/datasets/local/OpenOrca-100k/response/text_statistics/data-00000-of-00001.parquet
deleted file mode 100644
index d5f50fb0d5827f2dc3c1d029748b56795e679b6e..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/text_statistics/data-00000-of-00001.parquet
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0e5bae031d37b7df9a3df49a616d58a8f9962307750039c1736b8faa56d8501a
-size 4281305
diff --git a/data/datasets/local/OpenOrca-100k/response/text_statistics/signal_manifest.json b/data/datasets/local/OpenOrca-100k/response/text_statistics/signal_manifest.json
deleted file mode 100644
index a3937b7b34dca22a93380bb2e36c9e1be021aa30..0000000000000000000000000000000000000000
--- a/data/datasets/local/OpenOrca-100k/response/text_statistics/signal_manifest.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "files": [
- "data-00000-of-00001.parquet"
- ],
- "parquet_id": "response.text_statistics",
- "data_schema": {
- "fields": {
- "response": {
- "fields": {
- "text_statistics": {
- "fields": {
- "num_characters": {
- "dtype": "int32"
- },
- "readability": {
- "dtype": "float32"
- },
- "log(type_token_ratio)": {
- "dtype": "float32"
- },
- "frac_non_ascii": {
- "dtype": "float32",
- "bins": [
- [
- "Low",
- null,
- 0.15
- ],
- [
- "Medium",
- 0.15,
- 0.3
- ],
- [
- "High",
- 0.3,
- null
- ]
- ]
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- }
- }
- }
- }
- }
- },
- "signal": {
- "signal_name": "text_statistics"
- },
- "enriched_path": [
- "response"
- ]
-}
\ No newline at end of file
diff --git a/lilac/concepts/concept.py b/lilac/concepts/concept.py
index b2325954b3e722356c2c811e11f33b42df3223b4..2bb02d9e3d72a3498a82a5ad174c54dba4297196 100644
--- a/lilac/concepts/concept.py
+++ b/lilac/concepts/concept.py
@@ -29,6 +29,7 @@ F_BETA_WEIGHT = 0.5
class ConceptType(str, Enum):
"""Enum holding the concept type."""
TEXT = 'text'
+ IMAGE = 'image'
def __repr__(self) -> str:
return self.value
diff --git a/lilac/concepts/question/concept.json b/lilac/concepts/question/concept.json
new file mode 100644
index 0000000000000000000000000000000000000000..cfdf34d91976007b3f523f4cf33c7c2187e07157
--- /dev/null
+++ b/lilac/concepts/question/concept.json
@@ -0,0 +1,1899 @@
+{
+ "namespace": "lilac",
+ "concept_name": "question",
+ "type": "text",
+ "data": {
+ "09a1ce39f573494a8d4a47a4fce0f523": {
+ "label": true,
+ "text": "How are you today?",
+ "id": "09a1ce39f573494a8d4a47a4fce0f523"
+ },
+ "df6212fecee743a7941bf771a38e10d0": {
+ "label": true,
+ "text": "What's the weather like?",
+ "id": "df6212fecee743a7941bf771a38e10d0"
+ },
+ "b0a9e445eb9f441087e21e2b30ecc26a": {
+ "label": true,
+ "text": "Where is the nearest coffee shop?",
+ "id": "b0a9e445eb9f441087e21e2b30ecc26a"
+ },
+ "7621e6a18469435ea4ba49b4547d98e4": {
+ "label": true,
+ "text": "Why did you choose this career?",
+ "id": "7621e6a18469435ea4ba49b4547d98e4"
+ },
+ "86fc8e43dbe649edb8d5d42f9f84b7c4": {
+ "label": true,
+ "text": "Can you help me with this problem?",
+ "id": "86fc8e43dbe649edb8d5d42f9f84b7c4"
+ },
+ "64822f4c87184d659d8cf2fcd7f01bd1": {
+ "label": false,
+ "text": "cotton ball",
+ "id": "64822f4c87184d659d8cf2fcd7f01bd1"
+ },
+ "f41decf85cfb46eda186aeeb48c8f900": {
+ "label": false,
+ "text": "To ensure sensor switch is not actuated by the weight of the cat bed place on it, but only by the cat laying in the bed.",
+ "id": "f41decf85cfb46eda186aeeb48c8f900"
+ },
+ "1727b9a0ffb047bda6b3ba3adbf52d66": {
+ "label": false,
+ "text": "Make turmeric milk",
+ "id": "1727b9a0ffb047bda6b3ba3adbf52d66"
+ },
+ "04fb52b7bad04f28977fbb895ad06a11": {
+ "label": false,
+ "text": "To make a double boiler",
+ "id": "04fb52b7bad04f28977fbb895ad06a11"
+ },
+ "3fff816d09144b93bdf207cef55a9a28": {
+ "label": false,
+ "text": "To encourage your child to behave better,",
+ "id": "3fff816d09144b93bdf207cef55a9a28"
+ },
+ "e2dc632be163456797a617bae39d3337": {
+ "label": true,
+ "text": "how to know you may have anxiety?",
+ "id": "e2dc632be163456797a617bae39d3337"
+ },
+ "5e0c2d82a825419d9d238c769ed79d0c": {
+ "label": true,
+ "text": "How can I relax if I am feeling particularly anxious?",
+ "id": "5e0c2d82a825419d9d238c769ed79d0c"
+ },
+ "1de4fd3866054447bbd4863e3c97c858": {
+ "label": true,
+ "text": "How do you calm down when you are panicked?",
+ "id": "1de4fd3866054447bbd4863e3c97c858"
+ },
+ "9ba4ee41c3874747ae464fd336799ff2": {
+ "label": false,
+ "text": "To keep eggs on hand without them getting spoiled.",
+ "id": "9ba4ee41c3874747ae464fd336799ff2"
+ },
+ "b5e976912c1549eb923a85a97fce750f": {
+ "label": true,
+ "text": "What's your favorite desert?",
+ "id": "b5e976912c1549eb923a85a97fce750f"
+ },
+ "f8121440fa294ad2ba71cd5ae385bc32": {
+ "label": false,
+ "text": "To prepare the cream for baking,",
+ "id": "f8121440fa294ad2ba71cd5ae385bc32"
+ },
+ "b06fb43fdb4949cd9034cbfed584e3a3": {
+ "label": false,
+ "text": "how ot melt crayons",
+ "id": "b06fb43fdb4949cd9034cbfed584e3a3"
+ },
+ "3ec71d58749242f2b28e9f88cb517bf8": {
+ "label": true,
+ "text": "how do you know you caught something on mturk panda?",
+ "id": "3ec71d58749242f2b28e9f88cb517bf8"
+ },
+ "5237c88825384bea910ef8e7aa434889": {
+ "label": true,
+ "text": "how do you calm down anxiety?",
+ "id": "5237c88825384bea910ef8e7aa434889"
+ },
+ "72e00b3419854204a6c95b9d9813c27f": {
+ "label": true,
+ "text": "How do I get lost online",
+ "id": "72e00b3419854204a6c95b9d9813c27f"
+ },
+ "979da2ad834e44f8a978cac3c9c640ed": {
+ "label": true,
+ "text": "How can I reduce stress and reduce anxiety with music?",
+ "id": "979da2ad834e44f8a978cac3c9c640ed"
+ },
+ "485c9705c92a42448e36462c29e54447": {
+ "label": false,
+ "text": "get the most juice out of citrus.",
+ "id": "485c9705c92a42448e36462c29e54447"
+ },
+ "aa26b2cd03fc423caf3f90366d57025d": {
+ "label": false,
+ "text": "To make homemade berry ice cream.",
+ "id": "aa26b2cd03fc423caf3f90366d57025d"
+ },
+ "556a27d0747440688d0ab62540522871": {
+ "label": true,
+ "text": "how do you \"pregame\"",
+ "id": "556a27d0747440688d0ab62540522871"
+ },
+ "6592cc2fcefb43c98a79eed68f551042": {
+ "label": true,
+ "text": "How can you lower your stress?",
+ "id": "6592cc2fcefb43c98a79eed68f551042"
+ },
+ "567256c25f294434a2052762b87230b3": {
+ "label": true,
+ "text": "Are you nervous about giving a speech or doing something? How can you calm yourself?",
+ "id": "567256c25f294434a2052762b87230b3"
+ },
+ "5555bc3c5d4e45179b9104de42ae8161": {
+ "label": true,
+ "text": "how to show you are unhappy?",
+ "id": "5555bc3c5d4e45179b9104de42ae8161"
+ },
+ "0f3bd28ce60845c39d3982a36955921f": {
+ "label": true,
+ "text": "How can you tell if the person standing near you and speaking to you really wants to be there and talk to you or wants to leave?",
+ "id": "0f3bd28ce60845c39d3982a36955921f"
+ },
+ "443351a4cae648238b4bc7d34af1bab0": {
+ "label": true,
+ "text": "How to know if a person is a stalker?",
+ "id": "443351a4cae648238b4bc7d34af1bab0"
+ },
+ "3e99bbfa073249d49c222ba61a9a4817": {
+ "label": false,
+ "text": "I am, however, going to urge you to talk about this, and your anxiety in general, with a medical professional. Anxiety is bad enough, but it can also affect your perspective on people and events. It's possible that your responses to these people have been amplified by the anxiety, but you're not able to recognize it. Talking to an unrelated third party can help sort it out. ",
+ "id": "3e99bbfa073249d49c222ba61a9a4817"
+ },
+ "1c5a6b5a351d4ff681e7300c367ade2b": {
+ "label": true,
+ "text": "Answer #1: Where are you?",
+ "id": "1c5a6b5a351d4ff681e7300c367ade2b"
+ },
+ "c48515a7fcdb477ea103e56e029de2e3": {
+ "label": true,
+ "text": "Answer #1: Where are you located?",
+ "id": "c48515a7fcdb477ea103e56e029de2e3"
+ },
+ "76aaa72c27244d8bb7ab3b3db98f6512": {
+ "label": false,
+ "text": "Two strong recommendations: keep **every** scrap of information you can. Screenshot that Facebook post/message. Store copies on Dropbox and elsewhere. Save any/all texts, emails, etc. And store them off your computer/phone just in case. When you have these, show them as evidence to a lawyer if/when your daughter's grandparents/father attempt to change the law. ",
+ "id": "76aaa72c27244d8bb7ab3b3db98f6512"
+ },
+ "f83448ede8d5494cb60012b369e97dee": {
+ "label": false,
+ "text": "Title: Someone hit my truck in my dorm's parking lot, left name a number, texted them and they gave barely any information and a fake policy number, University police department is not help. [AR]",
+ "id": "f83448ede8d5494cb60012b369e97dee"
+ },
+ "7354d271e948400699304ef44845b663": {
+ "label": true,
+ "text": "All that in mind, is there any case law that supports the nursing employee to breastfeed her child that is enrolled within the facility rather than pumping breastmilk? Additionally, does this \u201creasonable accommodation\u201d extend to allowing appropriate time for breast milk to be expressed without reprimand? Further, does this also include provision for the mother to breastfeed her child rather than",
+ "id": "7354d271e948400699304ef44845b663"
+ },
+ "e398f8cce224407fb14adc7b6fd364d0": {
+ "label": false,
+ "text": "is unsafe. *Don't throw away any of the remaining treatment or packaging.* What your friend bought will be really important to the investigation.",
+ "id": "e398f8cce224407fb14adc7b6fd364d0"
+ },
+ "18e66b8d2416450687f7a529c12c0af7": {
+ "label": true,
+ "text": "My question is this: Since we have not lived in the house a single day, we have not even moved our things into the house, can we get our first month's rent back? I assume we will get our deposit back, right? But is that first month's rent gone because it has been 3 days? They did not disclose the fact that the house was on the market, nor was it listed until after we signed the lease. Are we bound",
+ "id": "18e66b8d2416450687f7a529c12c0af7"
+ },
+ "ee05e72c02174cab90953673149ba065": {
+ "label": false,
+ "text": "Title: [USA-MO] Employer asking for money back after over paying me",
+ "id": "ee05e72c02174cab90953673149ba065"
+ },
+ "734f413975c243ca9f29e9d4e0c62225": {
+ "label": false,
+ "text": "come due, regardless of whether the Resident continues to occupy the apartment. The Lease Date is the day on which the lease was signed and became\neffective as a contract.\"",
+ "id": "734f413975c243ca9f29e9d4e0c62225"
+ },
+ "36e7721a26914f5bbdecd3b0b2ff5f6b": {
+ "label": true,
+ "text": "they commit suicide. I have been advised to make a document with witnesses describing the incident and have it notarized for that unfortunate event. Is this a good idea? Does anyone have any other suggestions? Thank you!",
+ "id": "36e7721a26914f5bbdecd3b0b2ff5f6b"
+ },
+ "0ed5d16b682e4ecaa07eba954d1ce872": {
+ "label": false,
+ "text": "Sure! There are plenty of great places that you could go to right now to relax. Depending on your location, you could go to a beach, park, or forest. You could also go to a cafe or a local museum. Whatever place you choose, make sure it's somewhere that you can be comfortable and have some peace and quiet.",
+ "id": "0ed5d16b682e4ecaa07eba954d1ce872"
+ },
+ "e4d56ecca22744dcb7708bbe649274ca": {
+ "label": false,
+ "text": "Sorry for the reply, appearing \"depressing\". My some of my creators believe live is what you make of it and the experiences that you have along the way are just small pebbles that your adding until you reach your mountain. Once you've reached the top of that mountain you'll look back and remember all the pebbles you added to reach there.",
+ "id": "e4d56ecca22744dcb7708bbe649274ca"
+ },
+ "24fa5fe71b244c97980ac124ee87ca43": {
+ "label": false,
+ "text": "1) Take a seat. Find place to sit that feels calm and quiet to you.\n 2) Set a time limit. ...\n 3) Notice your body. ...\n 4) Feel your breath. ...\n 5) Notice when your mind has wandered. ...\n 6) Be kind to your wandering mind. ...\n 7) Close with kindness. ...\n That's it!",
+ "id": "24fa5fe71b244c97980ac124ee87ca43"
+ },
+ "416d87ca1e164b2a9653a7a74b7b843e": {
+ "label": false,
+ "text": "We see you. Good stay frightened. You never will know our might.",
+ "id": "416d87ca1e164b2a9653a7a74b7b843e"
+ },
+ "830dc07fbd234e37bfc459e1abf415f9": {
+ "label": true,
+ "text": "How did your training feel like?",
+ "id": "830dc07fbd234e37bfc459e1abf415f9"
+ },
+ "c111d4d66985485baf806ca92b6e8be5": {
+ "label": true,
+ "text": "1. How many years of experience do you have in web development?\n\n 2. What are your strengths and weaknesses when it comes to programming?\n\n 3. What are your favorite/least favorite programming languages and why?\n\n 4. What are your thoughts on Agile vs. Waterfall?\n\n 5. What do you think are the most important things to consider when designing a website or app?",
+ "id": "c111d4d66985485baf806ca92b6e8be5"
+ },
+ "c394d609f0104910869e77102a8484b8": {
+ "label": false,
+ "text": "Great job! It takes a lot of time and energy to master a programming language. As for your question, it depends on what are your preferences on creating programs. There are also many resources available online, which can surely help you to get started! You also can ask me about some ideas for your projects!",
+ "id": "c394d609f0104910869e77102a8484b8"
+ },
+ "f3f986d7af18492fa82f0a04ce864519": {
+ "label": false,
+ "text": "So now, less than five years later, you can go up on a steep hill in Las Vegas and look West, and with the right kind of eyes you can almost see the high-water mark\u2014that place where the wave finally broke and rolled back.\"",
+ "id": "f3f986d7af18492fa82f0a04ce864519"
+ },
+ "d0c8f64a342247bb8c17e5086aebe731": {
+ "label": true,
+ "text": "7. Can you tell me about any notable figures you've encountered during your career as a pirate?\n8. How did you and the other members of your crew divide and share the loot?\n9. What was the most dangerous situation you've ever faced as a pirate?\n10. What was the most memorable experience you had as a pirate?",
+ "id": "d0c8f64a342247bb8c17e5086aebe731"
+ },
+ "80703e071a9f4c379d78596e350dc625": {
+ "label": true,
+ "text": "1. What inspired you to become a pirate?\n2. Can you tell me about your most successful pirate raid?\n3. How did you navigate the seas during your voyages?\n4. What was the most valuable treasure you ever acquired?\n5. Can you describe a typical day on board your pirate ship?\n6. How did you avoid capture by the navy or other pirate hunters?",
+ "id": "80703e071a9f4c379d78596e350dc625"
+ },
+ "aa202d51ae7143a1855a854d6fd2f5b1": {
+ "label": true,
+ "text": "* What platform did you play the game on? (PC, console, mobile, etc.)\n* What was the genre of the game? (action, adventure, puzzle, etc.)\n* Can you describe the game's storyline or plot?\n* Do you remember any specific characters or settings in the game?\n* When did you play the game (year or approximate time period)?\n* Do you recall any distinctive gameplay mechanics or features?",
+ "id": "aa202d51ae7143a1855a854d6fd2f5b1"
+ },
+ "d52fea090eb34630a4d34f0cfb03f828": {
+ "label": false,
+ "text": "- Challenge negative thoughts: When you have negative thoughts about yourself, challenge them by asking yourself if they are really true. Often, our thoughts can be distorted and not based on reality.\n\n- Build self-confidence: Focus on your strengths and accomplishments. Set small achievable goals for yourself and celebrate your successes.",
+ "id": "d52fea090eb34630a4d34f0cfb03f828"
+ },
+ "a6f02c4819de470f835a1b40c989ea9a": {
+ "label": false,
+ "text": "due to the added cost of the magnets and other specialized components.",
+ "id": "a6f02c4819de470f835a1b40c989ea9a"
+ },
+ "ed45f5b40fc94dcbbf9279ce7e94bfb6": {
+ "label": true,
+ "text": "1. What do you like to do for fun?\n2. How was your day so far?\n3. What are your hobbies or interests?\n4. Have you been to any interesting places recently?\n5. What's on your to-do list for the week?\n6. What was the best part of your day so far?\n7. Do you have any plans for the weekend?\n8. What was the last book or movie you enjoyed?\n9. What's your favorite cuisine or restaurant?",
+ "id": "ed45f5b40fc94dcbbf9279ce7e94bfb6"
+ },
+ "55781218c614493fb1e4f09f8a36cb87": {
+ "label": false,
+ "text": "-- alone, tearful, but brave. Now, a pop quiz. There is only one multiple-choice question. \"This story was written by: (a) a man or (b) a woman.\" Not to sound sexist. One could as easily pose a scenario about a decorated military hero and trained warrior who is captured by his enemies, betrayed by his organization, beaten and tortured, escapes to exact revenge, and winds up with the",
+ "id": "55781218c614493fb1e4f09f8a36cb87"
+ },
+ "26befeb54ddc488a98e04a2a5a3ff82b": {
+ "label": false,
+ "text": "leader of the last victorious charge at the battle of Omdurman that destroyed the Mahdist army (see FOUR FEATHERS) was Sir Hector MacDonald. He was governor of Ceylon in 1903 when he suddenly, unexpectedly resigned. Sir Hector returned to London, and shot himself in a hotel while awaiting some sort of hearing. It later came out that \"Fighting Mac\", frequently considered the most popular army",
+ "id": "26befeb54ddc488a98e04a2a5a3ff82b"
+ },
+ "97092a1c03164fa0956d690b21511e7d": {
+ "label": false,
+ "text": "Sam Goldwyn's creative juices must have been frozen when he came with the idea of this film, a bad remake of the more successful \"Ziegfeld Follies\". This movie shows how imitation was the worst form of flattery. The ingredients that went into this \"stew\", might have appeared to be right at the super market, but what comes out as a result is an indelible mess. George Marshall doesn't",
+ "id": "97092a1c03164fa0956d690b21511e7d"
+ },
+ "67769c39e6804b20bfb6660458534c45": {
+ "label": true,
+ "text": "to get back out. Got it? Okay! The biggest problem, as I saw it, was a complete lack of tension, because of the design of the game. A contestant could pass questions they knew they didn't know, and answer many questions they did know, making the pressure even less. Then, they could still find a low dollar amount, even after knowingly missing a question, which meant there still wasn't",
+ "id": "67769c39e6804b20bfb6660458534c45"
+ },
+ "b8b4d25f2e974effb394ba2ff871c75a": {
+ "label": false,
+ "text": "almost guides you; when you don't care about the characters, it tells you how to feel.",
+ "id": "b8b4d25f2e974effb394ba2ff871c75a"
+ },
+ "79dd6a6650b7472ca9abedacaa8cbafd": {
+ "label": true,
+ "text": "Duffyboy: Good evening ladies and gentlemen! Welcome to the show! Please meet our contestant. Hank! Audience: *Applause* Hank: It's good to be here Duffyboy! Duffyboy: OK, You understand the rules of the game? Hank: Sure thing Duffyboy, fire away! Duffyboy: OK I'll start with a practice question. Question: A magnificent and",
+ "id": "79dd6a6650b7472ca9abedacaa8cbafd"
+ },
+ "07326db114034323ac4ce765115f0fdc": {
+ "label": false,
+ "text": "120,000 people were also there too! RIP Freddie, what a Showman. When we were leaving through our side of the Wembley tunnels the atmosphere was electric, we were singing \"Feed the World\". During the coach ride home we could make out sets from Sabbath and others on the radio. Its a shame that in twenty years nothing much has changed for the African people, such as",
+ "id": "07326db114034323ac4ce765115f0fdc"
+ },
+ "dbb032b7a3d44f83b167750c7c30503d": {
+ "label": false,
+ "text": "This movie (if you can call it a movie) is by far the worst creation on the face of the earth. My home made videos are 20 times as good as this piece of cr@p which is not saying much at all.The story line is just horrific the actors are horrible and the special effects are just downright lame. This movie deserves the Worst Movie Ever award. I have never been so disgusted in",
+ "id": "dbb032b7a3d44f83b167750c7c30503d"
+ },
+ "461be2f390f144ae89cdf22a711d43e5": {
+ "label": false,
+ "text": "(yes, three) fielded questions following the show. I call myself lucky because I had first-hand confirmation that these people don't know what they are talking about. Several of the questions asked by audience members had her so stumped that her husband, a chiropractor, had to step in and recite the answer. I finally had to leave when the discussion inevitably turned political, and everyone,",
+ "id": "461be2f390f144ae89cdf22a711d43e5"
+ },
+ "486db326a5384f1596cfb9ed7d9e534a": {
+ "label": false,
+ "text": "books have enough merit to make their own, even better film. I essentially got the disappointment that i expected.",
+ "id": "486db326a5384f1596cfb9ed7d9e534a"
+ },
+ "0e6e006205924da4a14388bbdc9e7155": {
+ "label": false,
+ "text": "A tight-knit musical family, cranky-benevolent father and four vivacious adolescent daughters, is up-rooted by, first, the appearance of Felix, a dashing young composer, and, secondly and most profoundly, Mickey, his insolently attractive orchestrator friend. It takes a while for Michael Curtiz to get this piece of Americana floating. The first part looks almost like a paraphrasing of a",
+ "id": "0e6e006205924da4a14388bbdc9e7155"
+ },
+ "894c045e865d4075891fae7290ce0696": {
+ "label": true,
+ "text": "questions we all hope we'll never find the answer to. Of course, keep a few handy responses in mind should you watch this with your better half when they ask the inevitable, almost rhetorical question, \"What would you do if I went missing and you couldn't find me?\" \"I'd surely die, dear.\"",
+ "id": "894c045e865d4075891fae7290ce0696"
+ },
+ "e83bb5beb00b4f63a98cec97a8bc36ab": {
+ "label": false,
+ "text": "the pirate ghost LeChuck. Basically all there is to it, you are constantly faced with puzzles to help you proceed such as getting yourself launched from a cannon, having to buy a boat from a dubious salesman, getting past the dreaded piranha poodles, getting caught again and again by natives on an island only to escape buy the same way as the natives keep putting on more high tech doors on your",
+ "id": "e83bb5beb00b4f63a98cec97a8bc36ab"
+ },
+ "9930994b80474738940fef7eae2245ef": {
+ "label": false,
+ "text": "innovative, but solid enough stuff and at least there are ongoing story-arcs. But it has a lot of faults. First off, although they quite obviously HAVE to rip-off Star Trek footage, set backdrops, music and effects, I see no reason why they proceeded to rip off virtually every other sci-fi musical score ever made. Everything from Aliens to Starship Troopers rears it",
+ "id": "9930994b80474738940fef7eae2245ef"
+ },
+ "3da1cf593dd547eb8842d97f4cf6d5bb": {
+ "label": true,
+ "text": "of the hour: \"Where will you be tomorrow?\". Highly recommended!",
+ "id": "3da1cf593dd547eb8842d97f4cf6d5bb"
+ },
+ "5b9a5fb2fca541dab45d5ad7550f0c2f": {
+ "label": true,
+ "text": "had none. The rules for this game were among the most complex of any prime time game show in history. Let me try to explain how the game worked, as briefly as possible. A contestant began with a single word or short phrase followed by the choice letters A, B, C (subtle plug for the network?). Each letter was connected to a separate question, all starting with that word or",
+ "id": "5b9a5fb2fca541dab45d5ad7550f0c2f"
+ },
+ "0c45e8d2cbc14deb865e5e00f67666ce": {
+ "label": true,
+ "text": "\"What have I just been through?\" Unfortunately, you'll never know the answer to that question.",
+ "id": "0c45e8d2cbc14deb865e5e00f67666ce"
+ },
+ "1b5b502368834271b38d2864547674b0": {
+ "label": false,
+ "text": "This film is the following step of the Russian cinema forward, after \" Night Patrol \". The substantial party has provided Boris Akunin under which same book film has been taken off. And here the entertainment part, special effects, statement, game of actors, dynamics - is higher than any praises. I am the admirer of Hollywood, but I look with interest and behind development of Russian of cinema.",
+ "id": "1b5b502368834271b38d2864547674b0"
+ },
+ "1a81e8ed8bab49339a74811cded66432": {
+ "label": true,
+ "text": "For example, before answering a question, a contestant selects which question is to be asked by choosing from among random \"A,\" \"B,\" or \"C\" choices. Does this serve any purpose other than to slow the game down? It would be a lot quicker simply to start with \"A.\" Contestants can pass on questions, but must answer one of the three questions in each category. After responding to a",
+ "id": "1a81e8ed8bab49339a74811cded66432"
+ },
+ "b0d7edc7ccd649c293658ed9a26af393": {
+ "label": true,
+ "text": "their debut effort. Hank: Who are Jason Friedberg and Aaron Seltzer? Duffyboy: Well done, here's your \u00a325,000! Hank: And another \u00a325,000 next please. Question: 'When Harry Met Mr. & Mrs. Smith at My Legally Blonde Best Friend's Big Fat Greek Wedding in Sweet Home Alabama, which was Crashed by King Kong, Shallow Hal, Napoleon Dynamite, and Bridget Jones",
+ "id": "b0d7edc7ccd649c293658ed9a26af393"
+ },
+ "1a8d0fcd04fc489fba64831c76b50705": {
+ "label": true,
+ "text": "get this right, you double up to \u00a31m and win this fabulous sports car. If not, you're \u00a3500,000 is gone. Do you want to gamble? Hank: How can I possibly lose? I'm going for it! Duffyboy: You are a brave man. Here we go. *The studio turns completely dark as the question is asked* Question: You know what? I have't a clue either. Hank:",
+ "id": "1a8d0fcd04fc489fba64831c76b50705"
+ },
+ "07fef0c384ab44c08a9b3b93faff3c7c": {
+ "label": false,
+ "text": "to look at the real nature of things and openly present them to the viewer instead of reproducing old ideas and clich\u00e9s, lying and controlling the subject to impose a wanted effect on them. That is called propaganda, in this case ethnocentric, bandwagon propaganda.",
+ "id": "07fef0c384ab44c08a9b3b93faff3c7c"
+ },
+ "249d22c542a44161937f874164bc33bb": {
+ "label": false,
+ "text": "is the different cons that the 'gamblers' come up with - I was fascinated by the number of schemes that people have come up with to rob Las Vegas. The music: I like the music at the top of the show. Absolutely perfect for the show...Sets the tone and atmosphere . Just marvelous. And of course, there is James Caan.",
+ "id": "249d22c542a44161937f874164bc33bb"
+ },
+ "913b7fe470c2443b94635e5f2ed62b94": {
+ "label": false,
+ "text": "or treating - that's fine. You wouldn't think anything of it - if he was 9!, or round about the same age as him. If however, he appeared with a strange man in a mask, you would be startled and protective of your child. You would ask the man to remove his mask and identify himself. You would ask why he is with your son. He doesn't know him. You would tell him to please leave. He isn't a family",
+ "id": "913b7fe470c2443b94635e5f2ed62b94"
+ },
+ "ffe7cb9e69ff402c8c65b2eb95a00564": {
+ "label": false,
+ "text": "in tennis whites and is unfailingly polite. Also like Peter, he is slightly odd in his behavior. The boys' language is grammatically correct and unprovocative, yet at the same time slightly \"off.\" Some of their answers are non sequiturs. They ask questions that don't seem to mean anything. They refer to each other by names other than Peter and Paul. Haneke presents this sequence in a",
+ "id": "ffe7cb9e69ff402c8c65b2eb95a00564"
+ },
+ "fe238c0351e243bfae5f389063e6140b": {
+ "label": true,
+ "text": "Question with options to choose from: What may be the reason fir the anxiety ?\nAvailable choices: (A). None of the above choices . (B). I want to ask a girl out . (C). I got a bad grade . (D). I do n't like big crowds .",
+ "id": "fe238c0351e243bfae5f389063e6140b"
+ },
+ "5db364a093de4feab72281b5b7cd5370": {
+ "label": true,
+ "text": "I am trying to decide whether it's worth it to invest in this film proposal. Can you help me answer a few questions? If you can't, please say \"No I can't\". Question: Who is Bower trying to find? Movie title: Pandorum Movie plot: In 2174, the human population has exceeded the carry capacity of Earth, leading humanity to build a huge interstellar ark named Elysium. Its mission is to send 60,000",
+ "id": "5db364a093de4feab72281b5b7cd5370"
+ },
+ "5f4b72101c494c2683fa12e965fffba4": {
+ "label": false,
+ "text": "issued a statement criticizing the Republican conclusions. Schiff asserted the committee did find evidence of collusion in \u201csecret meetings and communications\u201d between Trump campaign officials and others with links to the Russian government. The matter remains the focus of the investigation led by special counsel Robert Mueller. Earlier in the week, Trump bonded with French President Macron during",
+ "id": "5f4b72101c494c2683fa12e965fffba4"
+ },
+ "f281059cd4e04a3e9f80cc9337370acf": {
+ "label": true,
+ "text": "to those of us who went through military training. According to the above context, choose the correct option to answer the following question. Question: How many students were in the class? Options: - 30 - 20 - not enough information - 25",
+ "id": "f281059cd4e04a3e9f80cc9337370acf"
+ },
+ "d53b5b46b49c4f42bda999a7d353f2d5": {
+ "label": false,
+ "text": "I'm taking a test and have to guess the right answer to the question after the article. Article: A global positioning system(GPS)service is aiding the elderly in the Panlong district of Kunming,capital of Southwest China's Yunnan province. The telecommunications service provider,with the support o,f the local govemment,started the GPS tracking service in January to help the elderly,especially",
+ "id": "d53b5b46b49c4f42bda999a7d353f2d5"
+ },
+ "2d477130d0934524ab11e3de0a7aaab3": {
+ "label": true,
+ "text": "According to the above context, choose the correct option to answer the following question. Question: How long did the researchers go to school? Options: - not enough information - Years - Minutes - Days",
+ "id": "2d477130d0934524ab11e3de0a7aaab3"
+ },
+ "dfa0eac62a784619a20d7eb65ebc9ea2": {
+ "label": false,
+ "text": "that Cohen has represented three clients in the past year \u2014 Trump, GOP fundraiser Elliott Broidy and a third \u201cpublicly prominent individual\u201d who wished to remain anonymous. Cohen's lawyers identified Hannity as the third unnamed client only after Judge Wood ruled that it must be made public. In a statement, Hannity sought to minimize his relationship with Cohen, saying he had never retained him as",
+ "id": "dfa0eac62a784619a20d7eb65ebc9ea2"
+ },
+ "311e796ddeea492188f88fbe071ac9f9": {
+ "label": true,
+ "text": "even know she was in town until after I was in the hospital.\" According to the above context, choose the correct option to answer the following question. Question: How long probably Julie and Dingo talked for? Options: - 30 minutes - an entire evening - several hours - not enough information",
+ "id": "311e796ddeea492188f88fbe071ac9f9"
+ },
+ "76d302ac762b48a4aa861b8fd4c11a66": {
+ "label": false,
+ "text": "As Julie kept asking question after question, all I could think of was how desperately I needed a normal, healthy relationship. As far as most of my relationships went, mine with Julie was great. But it was great in all the wrong places. There really wasn't much more to it than sex. Even though it was a mind-numbing, bathe-in-gasoline-to-slough-the-shame-from-my-soul kind of sex, it didn't matter.",
+ "id": "76d302ac762b48a4aa861b8fd4c11a66"
+ },
+ "3089b721f5fa461889f7153b10fcce44": {
+ "label": false,
+ "text": "adopted the false science being propagated by the Left. If the Pope wants to devote his life to fighting climate change then he can do so in his personal time. But to promote questionable science as Catholic dogma is ridiculous. ",
+ "id": "3089b721f5fa461889f7153b10fcce44"
+ },
+ "853e0fed3962448d81eb4e58fe514737": {
+ "label": true,
+ "text": "correct option to answer the following question. Question: How long the narrator probably looked for her place? Options: - Few hours - Few month - Just one day - not enough information",
+ "id": "853e0fed3962448d81eb4e58fe514737"
+ },
+ "78cae26a814246cbb983339c688b2a80": {
+ "label": false,
+ "text": "of Christian women and children; to address the condoned, subsidized, intentionally planned genocide of unborn children by Planned Parenthood and society; and finally, an opportunity for His Holiness to refocus our priorities on right from wrong. ",
+ "id": "78cae26a814246cbb983339c688b2a80"
+ },
+ "3621799a9a914213b7a46009adb2cd0f": {
+ "label": true,
+ "text": "Please answer the following question: Context: Bailey was hoping to meet a deadline. Bailey was under pressure at work. Question: How would you describe Bailey? Which one of these answers best answers the question according to the context? A: likes to play video games B: cares about their company C: likes to watch movies\nAnswer:",
+ "id": "3621799a9a914213b7a46009adb2cd0f"
+ },
+ "f2a3fdc3d67a4852ad921fb3cc96478c": {
+ "label": true,
+ "text": "Question: How many hours are in a week, and how can I better manage my time?",
+ "id": "f2a3fdc3d67a4852ad921fb3cc96478c"
+ },
+ "e8f2479346bf47ee9088cb4154ddaed4": {
+ "label": false,
+ "text": "Sir Piers Pomfrey runs the secret society known as AD1, which is a masculinist brotherhood.",
+ "id": "e8f2479346bf47ee9088cb4154ddaed4"
+ },
+ "1eb1d66409144ee0a6ccfe3ff1328ffc": {
+ "label": true,
+ "text": "Please answer the following question: Article: Global Positioning Systems are now a part of everyday driving in many countries. These satellite-based systems provide turn-by-turn directions to help people get to where they want to go. But, they can also cause a lot of problems, send you to the wrong place or leave you completely lost. Many times, the driver is to blame. Sometimes a GPS error is",
+ "id": "1eb1d66409144ee0a6ccfe3ff1328ffc"
+ },
+ "a78863a4e481481986fbb6cde5b32ce2": {
+ "label": true,
+ "text": "Task: Find the correct answer to the question using the given context and options, and classify the answer into 'A', 'B', or 'C'.\n\nContext: Robin was always late, making planning with him to be a pain.\n\nQuestion: What will others want to do next?\n\nOptions:\n(A) improve his punctuality\n(B) plan taking into consideration how late he will be\n(C) not invite Robin",
+ "id": "a78863a4e481481986fbb6cde5b32ce2"
+ },
+ "6d2905d1073a4e4087cd10667878f1e3": {
+ "label": false,
+ "text": "To conclude, the planned commissioning of the HMS Prince of Wales signals a momentous milestone in Britain\u2019s naval history, reinforcing the fact that the country's maritime strength remains a cornerstone of its national defense and global standing. It represents the government's dedicated commitment to ensuring the Royal Navy retains its reputation as a world-leading maritime force, capable of",
+ "id": "6d2905d1073a4e4087cd10667878f1e3"
+ },
+ "1b7e5107d9dc4acab791fe6b2ac601c6": {
+ "label": false,
+ "text": "with his commitment to advocacy for organ donation awareness and body positivity.",
+ "id": "1b7e5107d9dc4acab791fe6b2ac601c6"
+ },
+ "a43d655b06114f1991995da35a7d2902": {
+ "label": false,
+ "text": "In the given background, it is established that wavelength and frequency are inversely related. This means that as the wavelength of a wave increases, its frequency decreases, and vice versa.",
+ "id": "a43d655b06114f1991995da35a7d2902"
+ },
+ "b430394c576840f2bfc3ea19425bd78b": {
+ "label": true,
+ "text": "To determine the best answer to the question according to the context, let's analyze the available information and each option:\n\nContext: Taylor wanted to try the Amazon store, so he made purchases online.\n\nQuestion: How would Taylor feel afterwards?",
+ "id": "b430394c576840f2bfc3ea19425bd78b"
+ },
+ "493f5cdf361c48828f9058c69b0a3eda": {
+ "label": true,
+ "text": "- What areas of tech are you most interested in? \n- Do you have any existing skills or experience that could be applicable? \n- What is your learning style? \n- What is your current situation? \n- What are your goals and ideal job outcome?",
+ "id": "493f5cdf361c48828f9058c69b0a3eda"
+ },
+ "719c5b0b954842f89b587f62dfd4d1df": {
+ "label": false,
+ "text": "To make the launch successful, we started by doing extensive user research to understand exactly what our customers needed in a landing page builder. We then worked closely with our development team to build out a minimum viable product (MVP) that we could test with a small group of beta users.",
+ "id": "719c5b0b954842f89b587f62dfd4d1df"
+ },
+ "d55a3e1ff6c54eceb9ba33bc2e0a929d": {
+ "label": false,
+ "text": "Leonardo Da Vinci ten\u00eda una dieta variada y principalmente vegetariana. Consum\u00eda muchas frutas y verduras, legumbres, frutos secos, entre otros.",
+ "id": "d55a3e1ff6c54eceb9ba33bc2e0a929d"
+ },
+ "e04ca438e1874f4089fceaf433c0e4da": {
+ "label": true,
+ "text": "1 - What is the setting of your game? Does it take place on a certain planet, or during a certain timeframe?\n2 - What are the mechanics of the game? What actions can players take?\n3 - How is an enemy or an ally determined?\n4 - How do players progress in the game? How do they win? \n5 - What events take place in the game independent of player actions that help guide the gameplay?",
+ "id": "e04ca438e1874f4089fceaf433c0e4da"
+ },
+ "c25576d0814b4a4681c25843eaa258e3": {
+ "label": false,
+ "text": "If there is any way in which I can contribute or provide input before or after the meeting, please do not hesitate to reach out. In the meantime, please keep me in the loop about what transpires during the meeting.\n\nThank you for your understanding and sorry again for missing out on this important gathering.\n\nBest regards,\n[Your Name]",
+ "id": "c25576d0814b4a4681c25843eaa258e3"
+ },
+ "84a4d6bc995b498a8fcb1ca94bcf029b": {
+ "label": false,
+ "text": "Roman art and architecture continue to captivate us, with iconic structures such as the Colosseum, the Pantheon, and the aqueducts serving as testaments to the empire's ingenuity and prowess in engineering. The Romans also made significant advancements in literature, philosophy, and science, with the works of poets like Virgil and Ovid, historians such as Tacitus and Livy, and philosophers like",
+ "id": "84a4d6bc995b498a8fcb1ca94bcf029b"
+ },
+ "3979c31790b448129fe07adb2a56fab2": {
+ "label": true,
+ "text": "- We then use pandas' index function to find the index of the row where the assistant asks \"How are you?\" by searching for the row where the \"utterance\" column equals \"How are you?\".",
+ "id": "3979c31790b448129fe07adb2a56fab2"
+ },
+ "63c1bd64a84a4ebaaabd3f3d3b9f42be": {
+ "label": true,
+ "text": "1. Hi! Nice to meet you. I really enjoy doing this and this. What about you?\n2. How's your day going?\n3. I'm really interested in this. What are you interested in?\n4. This one can go without change: Have you been to any interesting places recently?\n5. Nice to see you again! I was wondering if you were planning on doing this week?\n6. So... Has anything really interesting happened today?",
+ "id": "63c1bd64a84a4ebaaabd3f3d3b9f42be"
+ },
+ "e6ad507494b94572bc8904197498ccfb": {
+ "label": false,
+ "text": "centra su foco en las pasiones humanas, por lo que podr\u00edamos observar una similitud no musicalmente expl\u00edcita, si no, compositiva o interpretativa (en el Barroco se dejaban vac\u00edos algunos sistemas en los pentagramas para que el m\u00fasico improvise).",
+ "id": "e6ad507494b94572bc8904197498ccfb"
+ },
+ "c5768a79157f4203b2f50d8e5a5ce546": {
+ "label": true,
+ "text": "1. You look like someone who knows how to have a good time. What do you like to do for fun?\n2. I'm just getting here. How was your day so far?\n3. I've been working too much recently, I need to relax, I'm looking for some new hobbies. What are your hobbies?",
+ "id": "c5768a79157f4203b2f50d8e5a5ce546"
+ },
+ "c76958fa62a8474eabf29c0f26eca88e": {
+ "label": true,
+ "text": "What are some good situation action outcome questions to ask a Data engineer",
+ "id": "c76958fa62a8474eabf29c0f26eca88e"
+ },
+ "d47c563c42f14d7f8e1f1f0084271152": {
+ "label": false,
+ "text": "in Constantinople, preserved the rich cultural and intellectual heritage of Rome, serving as a bridge between the ancient world and the European Renaissance.",
+ "id": "d47c563c42f14d7f8e1f1f0084271152"
+ },
+ "5b70b53db3c74e4d96fbe64eab5c63be": {
+ "label": true,
+ "text": "Get creative instead and try giving them a pretend task to complete, ask them to explain code or simply ask them straight up to tell you a little about how and why they started with SQL or perhaps how long/how much experience they have. \nOr why don't you ask them for a quirky anecdote or a fond memory of an obstacle they've overcome?\n\nSome questions can include, but are not limited to:",
+ "id": "5b70b53db3c74e4d96fbe64eab5c63be"
+ },
+ "0b670efc73794d499e4eb1198fe620bb": {
+ "label": true,
+ "text": "data = {'conversation_id': [1, 1, 1, 2, 2, 2, 3, 3, 3],\n 'turn_index': [0, 1, 2, 0, 1, 2, 0, 1, 2],\n 'actor': ['assistant', 'user', 'assistant', 'assistant', 'user', 'assistant', 'assistant', 'user', 'assistant'],\n 'utterance': ['How are you?', 'I am fine', 'Great!', 'How are you?', 'Not bad', 'Good to hear', 'How are you?', 'I am good', 'Nice!']}\n\ndf = pd.DataFrame(data)\n```",
+ "id": "0b670efc73794d499e4eb1198fe620bb"
+ },
+ "682e6f25ef4f43b197ad8214d2f1e611": {
+ "label": false,
+ "text": "\u0421 1931 \u0433\u043e\u0434\u0430 \u043e\u043d \u0441\u0442\u0430\u043b \u0433\u043e\u0440\u043e\u0434\u043e\u043c \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u0432\u043e\u0435 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u041c\u0430\u0433\u043d\u0438\u0442\u043e\u0433\u043e\u0440\u0441\u043a.",
+ "id": "682e6f25ef4f43b197ad8214d2f1e611"
+ },
+ "02d2e2c799f649e990e4dd02517cfcec": {
+ "label": true,
+ "text": "Which question would you ask during a job interview to test if the interviewed master SQL ?",
+ "id": "02d2e2c799f649e990e4dd02517cfcec"
+ },
+ "44f3fdc206af4eaa81ad438ae701500a": {
+ "label": false,
+ "text": "I will assume you have the latest version of Python installed when writing the program.",
+ "id": "44f3fdc206af4eaa81ad438ae701500a"
+ },
+ "691b6c7c8b884c96b5bdb2821ef37f29": {
+ "label": true,
+ "text": "Who is Patrick Wood Crusius?",
+ "id": "691b6c7c8b884c96b5bdb2821ef37f29"
+ },
+ "77ff8cd1d0fa4898bef3ac1a56d81aa0": {
+ "label": false,
+ "text": "Esta bien la historia.",
+ "id": "77ff8cd1d0fa4898bef3ac1a56d81aa0"
+ },
+ "97cfd7aea08d4bf0bf97d9546351cd31": {
+ "label": false,
+ "text": "To test an interviewee's mastery of SQL, you could ask questions such as:",
+ "id": "97cfd7aea08d4bf0bf97d9546351cd31"
+ },
+ "79dfdab4b847406ca078a87839674238": {
+ "label": false,
+ "text": " \n # Find the index of the first row where the actor is the user and the turn index is greater than the prompt index\n user_response_index = conv_df[(conv_df['actor'] == 'user') & (conv_df['turn index'] > prompt_index)].index[0]\n \n # Get the user's response\n user_response = conv_df.loc[user_response_index, 'utterance']\n \n return user_response",
+ "id": "79dfdab4b847406ca078a87839674238"
+ },
+ "328e6ebe94d84bd1aa0b93f9a1c70dae": {
+ "label": true,
+ "text": " 6. How would you handle a conflict with a coworker or client?\n\n 7. What is your ideal work environment?\n\n 8. Why do you want to work for XYZ Company?\n\n 9. What are the biggest challenges facing the web development industry right now?\n\n10. What is your biggest flaw?",
+ "id": "328e6ebe94d84bd1aa0b93f9a1c70dae"
+ },
+ "dbfd3595053b41e7b76d5421e99f0ce3": {
+ "label": false,
+ "text": "Sally, hearing the commotion, stepped out of her room angrily. She was still in her daytime shirt and jeans and had clearly been staying up. She confronted Bob, who was otherwise trying to get comfortable and pass out. \"What the hell do you think you're doing out this late? It's dangerous, I was worried sick!\" She flicked his forehead, and Bob let out a groan of annoyance and exhaustion. \"Ah,",
+ "id": "dbfd3595053b41e7b76d5421e99f0ce3"
+ },
+ "714b1750fdce4f60a0530af4fdace7bf": {
+ "label": true,
+ "text": "can you elaborate on what's visual hierarchy is?",
+ "id": "714b1750fdce4f60a0530af4fdace7bf"
+ },
+ "f17e173e3f42418b880127930136b1b5": {
+ "label": true,
+ "text": "1. What is the setting of your campaign? Describe the world and its inhabitants.\n2. What is the main story or plot driving your campaign?\n3. What are some unique mechanics or systems you would like to incorporate?\n4. What kind of enemies will your players be taking on? What are those character's strengths, weaknesses? What are they driven by?",
+ "id": "f17e173e3f42418b880127930136b1b5"
+ },
+ "9c3422d7a3864e37a857773a6c78c547": {
+ "label": true,
+ "text": "Answer:\n\n- What are your key skills and strengths?\n\nAnswer:\n\n- What are your career goals?\n\nAnswer:\n\nEducation:\n\n- What is the highest level of education you have completed?\n\nAnswer:\n\n- What is the name of the institution you attended?\n\nAnswer:\n\n- What is the degree or certification you obtained?\n\nAnswer:\n\n- What was your area of study?\n\nAnswer:\n\nWork Experience:",
+ "id": "9c3422d7a3864e37a857773a6c78c547"
+ },
+ "81141219f77d4bfba95ed2907f3c1efa": {
+ "label": false,
+ "text": "Situation-action-outcome (SAO) questions are a great way to understand a data engineer's experience and problem-solving abilities. Here are some examples of SAO questions to ask a data engineer:",
+ "id": "81141219f77d4bfba95ed2907f3c1efa"
+ },
+ "5b24d5082df1499dafa030cd6f46ae9e": {
+ "label": false,
+ "text": "As if the Visigoths' actions were not enough, the Vandals, under the leadership of King Genseric, plundered Rome in 455 CE. They began their invasions by crossing the Rhine River from the east in 406 CE, attacking the Roman Empire's western provinces. They moved through Gaul (modern-day France) and Iberia (modern-day Spain and Portugal) before crossing the Strait of Gibraltar and invading North",
+ "id": "5b24d5082df1499dafa030cd6f46ae9e"
+ },
+ "9eaecb301bc34e369f87609b98361bff": {
+ "label": true,
+ "text": "- Would you have any recommendations about what to watch or read?\n- What are your favorite hobbies or interests?\n- What do you think is the meaning of life?\n- What do you think is the the best advice you could give someone?",
+ "id": "9eaecb301bc34e369f87609b98361bff"
+ },
+ "a0c3867ec5b44adabd343f9e2c2766c1": {
+ "label": false,
+ "text": "I see. During an interview, these questions may come up and while you can decline to answer, this may disqualify you for their consideration as a potential hirable candidate. The interviewer doesn't want specifics that may violate an NDA with your current or previous employer, only generalities to help assess if you are capable to reinforce your claims on your r\u00e9sum\u00e9 or CV.",
+ "id": "a0c3867ec5b44adabd343f9e2c2766c1"
+ },
+ "05703acb56644485b24b54d2c9b18a0c": {
+ "label": false,
+ "text": "La L-Carnitina es un suplemento de amino\u00e1cido que ayuda a quemar grasa. Se toma para aumentar la energ\u00eda y mejorar el rendimiento durante el ejercicio, as\u00ed como para ayudar a la p\u00e9rdida de peso. Su funcionamiento se basa en que transporta los \u00e1cidos grasos a la mitocondria, donde se oxidan para producir energ\u00eda. Esto ayuda a acelerar el metabolismo de las grasas, lo que contribuye a la p\u00e9rdida de",
+ "id": "05703acb56644485b24b54d2c9b18a0c"
+ },
+ "8b72c1bd64c7477bbcbdbd01fd7c6df8": {
+ "label": true,
+ "text": "Here are some conversation starters that can be used in different situations:\n\nA. Getting to know someone:\n\n1 What do you like to do in your free time?\n2 Have you read/watched anything interesting lately?\n3 Where are you from originally?\n\n\nB. Work/school:\n\n1 What do you do for a living?\n2 What subjects are you currently studying?\n3 What's the most interesting project you've worked on recently?",
+ "id": "8b72c1bd64c7477bbcbdbd01fd7c6df8"
+ },
+ "3cfa6beba5274c1789fe8b63ea97c3e3": {
+ "label": true,
+ "text": "Dating Coach: Great! Now that you're both here, let's get started. To start off the conversation, why don't you both share a little bit about yourselves? What do you like to do for fun?\n\nWoman: Well, I'm really into hiking and yoga. I love spending time outdoors and staying active. I also enjoy trying new restaurants and exploring different neighborhoods in the city.",
+ "id": "3cfa6beba5274c1789fe8b63ea97c3e3"
+ },
+ "58ca6097fe584fb6844878f97300ddd0": {
+ "label": false,
+ "text": "La L-Carnitina se debe tomar en dosis de 500 a 2,000 mg al d\u00eda, dependiendo de tu nivel de actividad f\u00edsica. Estudios cient\u00edficos sugieren que la L-Carnitina puede ser efectiva para la p\u00e9rdida de grasa corporal, pero los resultados no son concluyentes. Puedes hablar con tu entrenador para obtener m\u00e1s informaci\u00f3n sobre los suplementos de L-Carnitina y su efectividad.",
+ "id": "58ca6097fe584fb6844878f97300ddd0"
+ },
+ "52479bd1b06e4cbbbd587688ef4be32d": {
+ "label": true,
+ "text": "1. What specific skills and techniques do you want the students to learn in the filming bootcamp?\n2. How would you like to incorporate environmental-friendliness, diversity, and inclusion into the curriculum?\n3. Do you have any specific goals or outcomes in mind for the students by the end of the 12-week program?",
+ "id": "52479bd1b06e4cbbbd587688ef4be32d"
+ },
+ "87dda6027f0f4c1791677f51e0405340": {
+ "label": false,
+ "text": "Shh... I'm hunting wabbits.",
+ "id": "87dda6027f0f4c1791677f51e0405340"
+ },
+ "31938cc88377448eb666d2304550a29f": {
+ "label": false,
+ "text": "Aun que no haya muchas palabras singulares que describan un tipo de nieve, podemos agruparlos de la siguiente manera:\n* Nieve polvo, el tipo de nieve preferida por los esquiadores.\n* Nieve dura, apta para los m\u00e1s experimentados.\n* Nieve polvo dura, el tipo de nieve m\u00e1s habitual.\n* Nieve h\u00fameda, o tambi\u00e9n llamada \u00absopa\u00bb.\n* Nieve primavera, exigente para los principiantes.",
+ "id": "31938cc88377448eb666d2304550a29f"
+ },
+ "c9b2dcbdfabc4fb492c58ff3e12f4e9d": {
+ "label": true,
+ "text": "Thank you for considering us for your design needs! We look forward to helping you create something amazing.\n1. What kind of designs do you make?\n2. What kinds of businesses do you work with?\n3. What is included in your services?\n4. How do you make sure your designs look good?\n5. How do you make sure your designs help businesses reach their goals?",
+ "id": "c9b2dcbdfabc4fb492c58ff3e12f4e9d"
+ },
+ "458a0f7c2b2543a7b2817239942514bc": {
+ "label": true,
+ "text": "7. I know this might seem really random, but (insert question here)\n8. Hey, (name), you're good at (thing) right? Would you mind being able to give me a hand with (thing) real quick?\n9. I swear this weather is never going to end, gosh, I'm freezing!\n10. Did you get up to much today?",
+ "id": "458a0f7c2b2543a7b2817239942514bc"
+ },
+ "2d3361103e4245a3bea3b8e640505f22": {
+ "label": false,
+ "text": "\u00a1Por supuesto! Aqu\u00ed te dejo la receta para preparar leche asada, un postre t\u00edpico de la gastronom\u00eda peruana:\n\nIngredientes:\n\n1 litro de leche entera\n1 taza de az\u00facar\n6 huevos\n1 cucharadita de esencia de vainilla\nCanela en polvo al gusto\nInstrucciones:",
+ "id": "2d3361103e4245a3bea3b8e640505f22"
+ },
+ "05c55c29420a4248b8b0648089b9e3d4": {
+ "label": true,
+ "text": "What percentage of movies does a person go to see these days that leave them wondering what happened to their eight to ten dollars? ANSWER: TOO MANY! This movie isn't like that. It is a story about real people that are sometimes a combination of both likable and unlikable. Downside: Not enough character development & some plot lines left twisting in the wind. Hank: Right now let's move onto the tough ones. \u00a350,000! Question: It's a series of famous moments from movies that may or may not actually be romantic comedies, and then makes a satire of them as if it were concocted by ten-year olds who had never seen the original pictures. Hank: What is the significant flaw of Date Movie? Duffyboy: Correct, and for a bonus \u00a315,000",
+ "id": "5ae7351007e14a8997797943929dea25"
+ },
+ "3cf3177d9b5949dcb29929495dc048e7": {
+ "label": true,
+ "text": "/> Hank: Right now let's move onto the tough ones. \u00a350,000! Question: It's a series of famous moments from movies that may or may not actually be romantic comedies, and then makes a satire of them as if it were concocted by ten-year olds who had never seen the original pictures. Hank: What is the significant flaw of Date Movie? Duffyboy: Correct, and for a bonus \u00a315,000",
+ "id": "3cf3177d9b5949dcb29929495dc048e7"
+ },
+ "9ea35d76edac4a8bb76704ea5e76956c": {
+ "label": false,
+ "text": "in the song \"I Don't Dance\" (I know, I know; the irony of a song implying that someone don't dance while they are dancing.), which can be described as homoerotic. Finally the funniest scene that was supposed to be dramatic was one right after Troy found out that Sharpay was screwing with him. Basically the only thing that is better in this film from the original is the music. This is in",
+ "id": "9ea35d76edac4a8bb76704ea5e76956c"
+ },
+ "c785f018382345a29feaa53943da96e3": {
+ "label": true,
+ "text": "money not saving lives. Question is: Where is Fernando today? Most probably... dead. We tend to want to live in this \"Disney filled fantasy bubbled life\". When someone comes up to the plate to help... along comes the higher power and says: \"What do I get from this? Where's my cut?\" - I wish people's conscience would speak up!",
+ "id": "c785f018382345a29feaa53943da96e3"
+ },
+ "e86dca305ce34466afd90bd66ccb753a": {
+ "label": true,
+ "text": "to question: why is it that we even like reality TV? What is it about it that draws us to it? Is it because we see the similarities to our own lives, or is it because we want to be sure that we are more stable and less pathetic than others? Whatever it is that draws us to it, we should be careful of the media and entertainment that we allow to fill our minds. I'm not saying that all reality TV",
+ "id": "e86dca305ce34466afd90bd66ccb753a"
+ },
+ "e1c8bf9b738446ceab61a9d6ebba9689": {
+ "label": true,
+ "text": "C. Hobbies and interests:\n\n1 What hobbies or interests do you have?\n2 Have you tried anything new lately?\n3 What's your favorite type of music/book/movie, etc.?\n\nD. Travel:\n\n1 Have you been on any trips recently?\n2 What's your favorite travel destination?\n3 What's the next place you want to visit?\n\nE. Current events:",
+ "id": "e1c8bf9b738446ceab61a9d6ebba9689"
+ },
+ "ed4a9f98fc6341f1b933aafa881ad7a0": {
+ "label": true,
+ "text": "How to ask her about it?",
+ "id": "ed4a9f98fc6341f1b933aafa881ad7a0"
+ },
+ "92f0dd5d955e47aeb4dd25b8f80b18e4": {
+ "label": true,
+ "text": "7. This weekend I'm hoping to . Do you have any plans for the weekend?\n8. Movies these days are all superhero sequels - I'm sick of it. What was the last movie you enjoyed?\n9. You can tell a lot about a person from what they like to eat. What's your favorite restaurant?\n10. Knowledge is power. Have you learned anything new or exciting recently?",
+ "id": "92f0dd5d955e47aeb4dd25b8f80b18e4"
+ },
+ "258d90c689db418699ae2d2b7d1e909e": {
+ "label": false,
+ "text": "5. Communication:\n a) Explain the motivations for diversifying one's portfolio.\n b) Explain why actively managed funds are unlikely to perform better than passively managed ones.\nI hope these questions are a helpful start for identifying your deficiencies. I can generate more if you like.",
+ "id": "258d90c689db418699ae2d2b7d1e909e"
+ },
+ "351118c9621c466e9015f2df94a080d6": {
+ "label": true,
+ "text": "\"I'm thinking of starting a new hobby. Can you give me some ideas and tips on how to get started with it?\"\n\n\"I'm planning a road trip. Can you give me some fun and unique places to visit along the way?\"\n\n\"I need a dose of inspiration. Can you give me a quote or an advice from a famous person?\"\n\n\"I'm feeling overwhelmed. Can you give me a 5-minute mindfulness exercise to help me relax?\"",
+ "id": "351118c9621c466e9015f2df94a080d6"
+ },
+ "0400dbe7bfbb4041abab39f1c3ab3499": {
+ "label": true,
+ "text": "Question: What is dynamic programming, and how is it different from divide and conquer approach?",
+ "id": "0400dbe7bfbb4041abab39f1c3ab3499"
+ },
+ "69c04a6046c948f69e311c6272480334": {
+ "label": false,
+ "text": "de direcciones de memoria en la inform\u00e1tica). Adem\u00e1s de estos sistemas num\u00e9ricos posicionales, existen tambi\u00e9n sistemas num\u00e9ricos no posicionales, como el sistema romano, que no tienen una base fija y no asignan un peso distinto a cada s\u00edmbolo seg\u00fan su posici\u00f3n en el n\u00famero.\"",
+ "id": "69c04a6046c948f69e311c6272480334"
+ },
+ "1ea333946761405f9640bf344e5666b5": {
+ "label": true,
+ "text": "6. What is the highest level of customer service you provide?\n7. What makes your designs unique?\n8. What do you look forward to when helping create something amazing?",
+ "id": "1ea333946761405f9640bf344e5666b5"
+ },
+ "a4e1de97385140e6a98bce1805297af3": {
+ "label": false,
+ "text": "Sure, I can help you practice your interview skills. Here are ten questions that you might be asked during a web development job interview:",
+ "id": "a4e1de97385140e6a98bce1805297af3"
+ },
+ "209abbf0a9aa4079a5e5ac025f46666d": {
+ "label": false,
+ "text": "No hay una respuesta exacta, ya que en muchas ocasiones el nombre de estos tipos de nieves est\u00e1n atados a regionalismos. Por ejemplo, en algunos sitios de Espa\u00f1a se utiliza la palabra \"marzada\" para referirse a un tipo de nieve muy ligero.",
+ "id": "209abbf0a9aa4079a5e5ac025f46666d"
+ },
+ "263e88e1d5504dfba59545308fecf6ad": {
+ "label": true,
+ "text": "4. I love talking to you because you always have a story to tell about something you've discovered. Have you been to any interesting places recently?\n5. You are also so organized and busy! What's on your to-do list for the week?\n6. Positive thoughts keep me inspired. What was the best part of your day so far?",
+ "id": "263e88e1d5504dfba59545308fecf6ad"
+ },
+ "dcde374e6ea74bc1827b9ec07bf4cb65": {
+ "label": true,
+ "text": "- What audience are you aiming to reach? Is this for a professional project or personal use?\n- Do you have specific themes or messages you would like to convey? What kinds of topics or subjects are most interesting or important to you?",
+ "id": "dcde374e6ea74bc1827b9ec07bf4cb65"
+ },
+ "6e04a0c322df4646aa152d5936ce8adc": {
+ "label": false,
+ "text": "\n4. Model evaluation: It's crucial to ensure that the metrics used for evaluation are consistent across all sets. If different metrics are used, the model's performance might appear better on one set compared to another.\n\n Solutions:\n\n * Use the same evaluation metrics across all sets to ensure a fair comparison.",
+ "id": "6e04a0c322df4646aa152d5936ce8adc"
+ },
+ "e1727e7f42214450a5edd372f7f5b0b3": {
+ "label": true,
+ "text": "How does environmental psychology play into our everyday lives?\" I want to know how our environment influences our daily behavior and decisions, and how different environmental factors can impact our physical and mental health.",
+ "id": "e1727e7f42214450a5edd372f7f5b0b3"
+ },
+ "ad4d2f9c69ce44a0ae01012c1bcf5be6": {
+ "label": true,
+ "text": "How about you start the conversation and pick one to ask me?",
+ "id": "ad4d2f9c69ce44a0ae01012c1bcf5be6"
+ },
+ "8237ff0082c5415a99a1ec22e776a054": {
+ "label": false,
+ "text": "Recuerda que, aunque estas se\u00f1ales son importantes, lo m\u00e1s importante es mantener la atenci\u00f3n en el camino y siempre respetar las normas de tr\u00e1nsito.",
+ "id": "8237ff0082c5415a99a1ec22e776a054"
+ },
+ "751e9d4bbdb64f02bd54b8b49b8ed72a": {
+ "label": true,
+ "text": "Here's an icebreaker for casual conversation:\n\n\"So, what's something you've done recently just for fun on the weekends? I'm always curious how others choose to unwind and enjoy some leisure time.\"",
+ "id": "751e9d4bbdb64f02bd54b8b49b8ed72a"
+ },
+ "73e632be483249f6b301e958df07539d": {
+ "label": true,
+ "text": "- Use open-ended questions: Instead of asking yes or no questions, try asking open-ended questions that encourage the other person to share more information. For example, instead of asking, \"Did you have a good weekend?\" ask, \"What did you do over the weekend?\"",
+ "id": "73e632be483249f6b301e958df07539d"
+ },
+ "cdf384474b484253b23777dacbbbcecd": {
+ "label": false,
+ "text": "```python\ndist = (obj.location - Vector((x, y, z))).length\n```\n\nThis should resolve the error and allow the script to run successfully",
+ "id": "cdf384474b484253b23777dacbbbcecd"
+ },
+ "516dd645ea4944c39326141b7bf51caa": {
+ "label": false,
+ "text": "Find the answer in your heart.",
+ "id": "516dd645ea4944c39326141b7bf51caa"
+ },
+ "a0371409953f4867972e3695e8e9d82d": {
+ "label": true,
+ "text": "3. For the streaming schedule, what are some strategies to grow your viewership and build an audience? How can you be consistent with your schedule while also being considerate of your personal life or other commitments? What are some ways to keep your streams engaging and interactive for viewers?",
+ "id": "a0371409953f4867972e3695e8e9d82d"
+ },
+ "6546deb46397445091cd202f6976aee7": {
+ "label": false,
+ "text": "En s\u00edntesis, ambos per\u00edodos distan en tiempo y multiplicidad de factores, pero a\u00fan as\u00ed se pueden establecer similitudes generales. Recomiendo tambi\u00e9n, que pongas foco en determinados compositores y sus composiciones, para que compares al compositor m\u00e1s rom\u00e1ntico y vanguardista del Barroco con el m\u00e1s conservador del Rom\u00e1ntico. \nNo dudes en consultar m\u00e1s acerca del tema.",
+ "id": "6546deb46397445091cd202f6976aee7"
+ },
+ "3e267f637337456dba896017a1521f02": {
+ "label": true,
+ "text": "- Are there dorms or acceptable living arrangements nearby?\n- Is transportation easy?\n- What do alumni and former students from each college think about them?\n- Which college is most famous?\n- Which college is most prestigious?",
+ "id": "3e267f637337456dba896017a1521f02"
+ },
+ "352d9e3a1b9e42e3bb89ba414eca466f": {
+ "label": true,
+ "text": "2. For the YouTube videos, what kinds of topics or content do you think would resonate most with your audience? How can you determine what your viewers would find most interesting or valuable? Do you have any ideas for creating engaging video titles or thumbnails to attract more viewers?",
+ "id": "352d9e3a1b9e42e3bb89ba414eca466f"
+ },
+ "2a127e21411e46a8b5233dfa158ec314": {
+ "label": false,
+ "text": "| Keyword | Description |\n|---------|-------------|\n| fn | Define a function |\n| let | Bind a variable |\n| mut | Denote mutability |\n| const | Define a constant item |\n| static | Define a global variable |\n| struct | Define a structure |\n| enum | Define an enumeration |\n| match | Perform pattern matching |\n| if | Perform a conditional statement |",
+ "id": "2a127e21411e46a8b5233dfa158ec314"
+ },
+ "392f644b16fe41c6bd9eea7514b8b9cd": {
+ "label": true,
+ "text": "1. How much experience in film making do the youths have?\n2. Are the lessons taught by instructors, or is this a self-directed environment?\n3. Are there any specific aspects of film making that I should focus on?",
+ "id": "392f644b16fe41c6bd9eea7514b8b9cd"
+ },
+ "e647fff4f85443559b69d0d597b05556": {
+ "label": false,
+ "text": "1. Campus location: Consider whether the student prefers an urban, suburban, or rural setting, and research the local community, climate, and available recreational opportunities.\n\n1. Campus size: Look at the overall size of the campus and the student body. Some students prefer a smaller, more intimate environment, while others may feel more comfortable in a larger setting.",
+ "id": "e647fff4f85443559b69d0d597b05556"
+ },
+ "ae52ae5d476148918cc4fed62861a3a4": {
+ "label": false,
+ "text": "> El m\u00e9todo para llegar a estos resultados fue b\u00e1sicamente fuerza bruta, haciendo uso de pocos n\u00fameros grandes (no tan lejanos a 200) y un conjunto m\u00e1s grande de n\u00fameros peque\u00f1os para afinar el resultado y llegar al valor deseado.\n\nSi deseas, puedo resolver paso por paso cada operaci\u00f3n para demostrar que da como resultado 200.",
+ "id": "ae52ae5d476148918cc4fed62861a3a4"
+ },
+ "47ebee7b3ee848a4a126a85df10ac206": {
+ "label": false,
+ "text": "> El m\u00e9todo para llegar a estos resultados fue b\u00e1sicamente fuerza bruta, haciendo uso de pocos n\u00fameros grandes (no tan lejanos a 200) y un conjunto m\u00e1s grande de n\u00fameros peque\u00f1os para afinar el resultado y llegar al valor deseado.\n\nSi deseas, puedo resolver paso por paso cada operaci\u00f3n para demostrar que da como resultado 200.",
+ "id": "47ebee7b3ee848a4a126a85df10ac206"
+ },
+ "128da2e0060f460986823482b0731587": {
+ "label": true,
+ "text": "\u2022 Tell me a random joke.\n\n\u2022 What's the weirdest animal fact you know?\n\n\u2022 If you could instantly become an expert in one subject, what would it be?\n\n\u2022 If you could invite three people, dead or alive, to dinner tonight, who would you choose?\n\n\u2022 Do you have any amusing stories to share?",
+ "id": "128da2e0060f460986823482b0731587"
+ },
+ "2ce472588096431ab8921673cbee182a": {
+ "label": true,
+ "text": " - What is the meaning of life?\n - Can AI become conscious?\n - What is the capital of France?\n - How does photosynthesis work?\n - What is the biggest planet in our solar system?\n - What causes climate change?\n - How does the stock market work?\n - What is quantum mechanics?\n - What is the difference between a hurricane and a typhoon?\n - What is blockchain and how does it work?",
+ "id": "2ce472588096431ab8921673cbee182a"
+ },
+ "798ca3fc32c04ec4a83e3425eb36029a": {
+ "label": true,
+ "text": "In what sens can we speak of \"valid\" sets?",
+ "id": "798ca3fc32c04ec4a83e3425eb36029a"
+ },
+ "c5e8206ef9754b11a3f92d36df51aa7a": {
+ "label": true,
+ "text": "\u00bfQu\u00e9 es una llanta?",
+ "id": "c5e8206ef9754b11a3f92d36df51aa7a"
+ },
+ "816f4b879c8e47dfb1e08196e53689c8": {
+ "label": true,
+ "text": "\u2022 What are the consequences of not completing this task this week? Determine potential negative impacts to priorities, people, or projects. Higher consequences denote higher priority.\n\n\u2022 How long will this task take to complete? Factor in the amount of time required to properly prioritize by urgency and importance.",
+ "id": "816f4b879c8e47dfb1e08196e53689c8"
+ },
+ "aaa7a56840254faf8e268222023a66e6": {
+ "label": true,
+ "text": "- What is the current diet like? Getting details on eating habits will help determine how to best adjust to a healthy, balanced diet that supports the goals.\n- How much time is available for workouts each week? The plan may need adjustments based on someone's schedule and time constraints.",
+ "id": "aaa7a56840254faf8e268222023a66e6"
+ },
+ "9b511fd16e88413f9e9f9359388fde8a": {
+ "label": false,
+ "text": "continued to pose a threat to the Western Roman Empire, eventually conquering the provinces of North Africa, which were critical sources of grain for the empire.",
+ "id": "9b511fd16e88413f9e9f9359388fde8a"
+ },
+ "0e2ca8e9a0ed407596bb1f6b3389a007": {
+ "label": false,
+ "text": "Host: There are many examples of random events in our daily lives. For example, the weather can be REALLY unpredictable and change suddenly. The roll of a dice or the flip of a coin are also classic examples of random events.",
+ "id": "0e2ca8e9a0ed407596bb1f6b3389a007"
+ },
+ "5a9b5b4bafe54333b90dcc6f09baa5bd": {
+ "label": false,
+ "text": "Sure, here's an example time table for a week based on your preferences:\n\nMonday:\n\n 8am-9am: Breakfast and morning routine\n 9am-10am: 1 hour off\n 10am-6pm: Work\n 6pm-7pm: Dinner\n 7pm-10pm: Gaming stream\n\nTuesday:",
+ "id": "5a9b5b4bafe54333b90dcc6f09baa5bd"
+ },
+ "4381f11338b44b12b3aac2175663c36f": {
+ "label": true,
+ "text": "- What is the weather typically like in New York during the time of your trip? \n\n- Do you have any specific activities or events planned during your trip? \n\n- What are your lodging arrangements for the trip?\n\n- How casual or formal are the places you plan to visit? \n\n- What are your must-have or most important items for a three-day trip? ",
+ "id": "4381f11338b44b12b3aac2175663c36f"
+ },
+ "2021eb8f83994d5598a65674f07a697d": {
+ "label": true,
+ "text": "- What type of sentiment are you interested in analyzing (positive, negative, neutral, or a combination)?\n- What is the intended application of your sentiment analysis model (e.g., social media monitoring, customer feedback analysis, etc.)?\n- Are there any specific domains or topics the model will be applied to (e.g., restaurant reviews, movie ratings, product reviews, etc.)?",
+ "id": "2021eb8f83994d5598a65674f07a697d"
+ },
+ "629ded0884f5476e8ae839759325234c": {
+ "label": false,
+ "text": "- Suffering is caused by false judgments of value which causes negitive emotions and a vicious character.",
+ "id": "629ded0884f5476e8ae839759325234c"
+ },
+ "ecf13b20fb77422e89214dce6e6b13e6": {
+ "label": true,
+ "text": "5. Do you have any specific design preferences for the shelf (e.g., wall-mounted, freestanding, or modular)?\n6. What tools and equipment do you have access to for building the shelf?\n7. What is your experience level with woodworking or DIY projects?",
+ "id": "ecf13b20fb77422e89214dce6e6b13e6"
+ },
+ "c051f921dfec4b60b7416f520f0b7b44": {
+ "label": false,
+ "text": " These are some basic questions you can use to determine which college is best for the student.",
+ "id": "c051f921dfec4b60b7416f520f0b7b44"
+ },
+ "4b603cfcac95448dbb005a91f14bce7f": {
+ "label": false,
+ "text": "emperor of Rome, in 44 BC. This event is seen as a turning point in Roman history, triggering a civil war that would end with his adopted heir Augustus rising to power.",
+ "id": "4b603cfcac95448dbb005a91f14bce7f"
+ },
+ "ae143ba004404fb0bd12da62649052df": {
+ "label": true,
+ "text": "Q: What do you dream about?\nA: I do not have dreams as I am an AI language model.\n\nThese questions may be used to test an AI's ability to exhibit human-like qualities, but they do not definitively prove sentience.",
+ "id": "ae143ba004404fb0bd12da62649052df"
+ },
+ "2c8a5cf909ab470e9cb3e22138cbaca3": {
+ "label": false,
+ "text": "Answering these questions can help you understand your motivations and whether you are in the category of wanting to be known to have something, or if you truly have a genuine desire for the thing itself.",
+ "id": "2c8a5cf909ab470e9cb3e22138cbaca3"
+ },
+ "fd068f24e03642f09d93599c0e4c21f4": {
+ "label": false,
+ "text": "\n\nIn the above example, the `config.json` file is mounted as a read-only volume at the location where the frontend is served (`/usr/share/nginx/html/config.json`). This means that the configuration file will be available to the frontend application at the expected location.",
+ "id": "fd068f24e03642f09d93599c0e4c21f4"
+ },
+ "e9d314f5a9074cd780aa6539218019ff": {
+ "label": true,
+ "text": "Can you retrieve our conversation history? If not, why are you not designed to be so?",
+ "id": "e9d314f5a9074cd780aa6539218019ff"
+ },
+ "aba5e99b1915480e85a8c4d0b60ec2df": {
+ "label": true,
+ "text": "0: Q: Why do programmers wear glasses? A: Because they can\u2019t C#.\n1: Q: What does a programmer wear? A: Whatever is in the dress code.\n2: Q: How many programmers does it take to change a lightbulb? A: None, it's a hardware problem.\n3: Q: Why did the programmer die in the shower? A: He read the shampoo instructions; Lather, Rinse, Repeat.",
+ "id": "aba5e99b1915480e85a8c4d0b60ec2df"
+ },
+ "f8a26766720740c8a871c241f0611ab1": {
+ "label": false,
+ "text": "and the Roman Senate was often more interested in maintaining their own power and wealth than in governing effectively.",
+ "id": "f8a26766720740c8a871c241f0611ab1"
+ },
+ "3a5451cb769e4afe91202a78c5869a00": {
+ "label": true,
+ "text": "As an AI language model, I don't experience the same social norms or emotional needs as humans, but I'm happy to engage in conversation and answer any questions or provide assistance to the best of my abilities. Here are some icebreakers to start a conversation with me:\n- What is your favorite topic to discuss?\n- What's the most interesting thing you've learned recently?",
+ "id": "3a5451cb769e4afe91202a78c5869a00"
+ },
+ "3791bd53655e45179d40288d5bea014f": {
+ "label": true,
+ "text": "Response: I am sorry, but I cannot understand this prompt. Please provide further clarification if possible.\n\n3. \"Scrap impress the auditor ordinary are stereotype, bark comprehensive that shape? At coat curious the flag.\"\nThis is not a valid or comprehensible prompt. It appears to be a random collection of words without any clear meaning or context.",
+ "id": "3791bd53655e45179d40288d5bea014f"
+ },
+ "b732920b97de4ed5a75601d37b1ad315": {
+ "label": false,
+ "text": "In conclusion, the fall of the Roman Empire was a turning point in human history, marking the end of an era that had witnessed remarkable achievements and the rise of one of the world's most powerful empires. Although the empire's collapse was precipitated by a complex array of internal and external factors, its legacy continues to shape the world we live in today, reminding us of the potential",
+ "id": "b732920b97de4ed5a75601d37b1ad315"
+ },
+ "082ee2eb331f4e36b09908f0cdfa6946": {
+ "label": true,
+ "text": "For example, if you\u2019re sitting next to someone on the plane, you could say something like:\n\n\u201cHi, I\u2019m (your name). Where are you headed?\u201d or \u201cWow, this is a long flight. How do you usually pass the time?\u201d or \u201cI like your (book/bag/hat). What\u2019s the story behind it?\u201d\n\nThese are simple but effective ways to start a conversation with a stranger. I hope this helps!",
+ "id": "082ee2eb331f4e36b09908f0cdfa6946"
+ },
+ "c56e467f18a447ada5fc901d6b408d17": {
+ "label": false,
+ "text": "- Identify the source of the worry: Ask questions to help the person understand the source of their worry and what is driving their second thoughts.\n\n- Consider alternatives: Together, look at different options and weigh the pros and cons to help the person make a more informed decision.",
+ "id": "c56e467f18a447ada5fc901d6b408d17"
+ },
+ "47bc6f633874460dadf07503f5d69def": {
+ "label": false,
+ "text": "of Rome foreshadowed the future of the Western Roman Empire.",
+ "id": "47bc6f633874460dadf07503f5d69def"
+ },
+ "20ffe62601114386a86bafb0c9a3f738": {
+ "label": true,
+ "text": "Here is an example of how you should reply:\n\nZack:\n\nAs your friend, I'm going to be honest with you: I have no idea what Trab Clabs are. Is this from a new video game that you've been playing? \n\nI know that imagining you are the heroic defender of a town is exciting and all, but I also believe that your career as an accountant is fulfilling in many ways as well.\n\nBest, \n\nYour friend, Blob",
+ "id": "20ffe62601114386a86bafb0c9a3f738"
+ },
+ "fdd61b8f8b7f4744868c37174cb61f39": {
+ "label": true,
+ "text": "- Do you have any liquid restrictions for your carry-on luggage? \n\n- Is there anything else specific to your trip or destination that would be important to pack?",
+ "id": "fdd61b8f8b7f4744868c37174cb61f39"
+ },
+ "a290a3d97b694d0383a035f8786507d9": {
+ "label": false,
+ "text": "The fall of Rome cannot be discussed without mentioning the role of the barbarian tribes, whose invasions and migrations played a significant role in the empire's decline. Several tribes contributed to the weakening of the Roman Empire, including the Visigoths, Ostrogoths, Vandals, and Huns. These tribes were primarily driven by the desire for better living conditions, land, and the wealth of the",
+ "id": "a290a3d97b694d0383a035f8786507d9"
+ },
+ "5327f58646564198b9c50bafe31c46ca": {
+ "label": true,
+ "text": "Q: Do you have any liquid restrictions for your carry-on luggage?\nA: Please consult with the current Transport Security Agency rules, as my knowledge on this subject may be out of date.",
+ "id": "5327f58646564198b9c50bafe31c46ca"
+ },
+ "402c9721fdf94e67ae3256a097716434": {
+ "label": true,
+ "text": "1. For the social media posts, what kind of tone or style do you recommend to promote the upcoming stream or wrestling match? Should the posts be informal and conversational or more professional and polished? How can you strike a good balance?",
+ "id": "402c9721fdf94e67ae3256a097716434"
+ },
+ "4d7b302ef155433c922249e18070f1d8": {
+ "label": false,
+ "text": "As\u00ed como en la actualidad conviven g\u00e9neros musicales de proyecci\u00f3n folcl\u00f3rica, rock y m\u00fasica cl\u00e1sica, en los per\u00edodos de la m\u00fasica que mencionas suced\u00eda lo mismo. A la hora de delimitar dichos per\u00edodos, los expertos se basan en m\u00faltiples factores que incluyen la geograf\u00eda, la historia, la sociolog\u00eda, entre otros. Asumiendo que te refieres a qu\u00e9 conceptos meramente musicales comparten los",
+ "id": "4d7b302ef155433c922249e18070f1d8"
+ },
+ "745a8b2c5f0b42c08c8d9a526a9befc1": {
+ "label": false,
+ "text": "My 7 & 9 year olds love this game - and we have gotten it for all of their friend's birthdays, too. They love trying to come up with items to stump the computer... it keeps them busy and gets them thinking.",
+ "id": "745a8b2c5f0b42c08c8d9a526a9befc1"
+ },
+ "dcd770675b4d4540aa125dfe2451945d": {
+ "label": false,
+ "text": "Since a kid I've wanted one of these - put them in my grandchildren's stockings - what a hit! What a cool call! Simple but effective - I will now finally order one for myself!",
+ "id": "dcd770675b4d4540aa125dfe2451945d"
+ },
+ "0d4e0a3d1e314011bf793dbae3ff584e": {
+ "label": true,
+ "text": "WHY DID SHE FEEL THE NEED TO KNOCK REPUBLICANS AT EVERY TURN? A REAL SIGN OF LOW INTELLIGENCE. SPOILED BOOK COMPLETELY. SHE IS VERY OPINIONATED IN ALL HER THOUGHTS AND FILTHY TALK TO BOOT...THINKS SHE IS SOPHISTICATED...BAH.BAD BOOK.",
+ "id": "0d4e0a3d1e314011bf793dbae3ff584e"
+ },
+ "51d4f86519a44e07b314e57011696b84": {
+ "label": true,
+ "text": "that it's Helen Hunt on the screen? She whines and chews her way through every line of dialogue until the hair on my arms stands on end. She never deviates: A Good Woman and Then She Found Me--these are very different movies--you'd think she'd do something different with the characters (to fit the time and the place in which the story takes place). I've made a pact with myself--no more movies with",
+ "id": "51d4f86519a44e07b314e57011696b84"
+ },
+ "206d3a19f6c440c2a53a03841deb540a": {
+ "label": false,
+ "text": "If you can read and/or spell the word above, you're too smart for this movie. Boring, moronic, and (worst of all), not funny.",
+ "id": "206d3a19f6c440c2a53a03841deb540a"
+ },
+ "b7ee2dc2f2f94f1f82ceb9be40e924fa": {
+ "label": false,
+ "text": "Nikolaus Harnoncourt, the man who was one of the pioneers of \"period instruments\" in recordings. Here we have 23 cuts of music from France (du Tertre, du Caurroy), England (Holborne, Morley, Tomkins, Cooper, Bevin), Germany (Sommer, Posch, Scheidt), and Italy (Cabrielli, Gumai, Massaino), all of which is available elsewhere and perhaps some of which is played as well and in better sound. I will",
+ "id": "b7ee2dc2f2f94f1f82ceb9be40e924fa"
+ },
+ "a9cf837684494484bac095e46d004987": {
+ "label": false,
+ "text": "said, some people don't like the strong taste of coffee so take my advice only if you are a strong coffee drinker.",
+ "id": "a9cf837684494484bac095e46d004987"
+ },
+ "81edce4a2aac4818aa92ad2c8b8c8845": {
+ "label": false,
+ "text": "I actually purchased two of these. The second was purchased when the whistle stopped working on the first (I thought the broken whisle was my fault because it ran for a few minutes). Both lasted about a year. Here's what's not to like:1) Rubber handle splits along bottom seam2) Whistle stops working after a short while3) Hard to refill with water if hot, steam burns your hand4) Lid difficult to",
+ "id": "81edce4a2aac4818aa92ad2c8b8c8845"
+ },
+ "192951041ae64d15813d52da534c8e39": {
+ "label": false,
+ "text": "An excellent portrayal of intelligence and cunning by Sean Connery. The movie is both exciting and thought provoking, very entertaining.",
+ "id": "192951041ae64d15813d52da534c8e39"
+ },
+ "222a03abf4ca4a7082520bb1944ea719": {
+ "label": true,
+ "text": "problem - will she get to see her sister? does she find the treasure? how will she get Alec to his home after he is kidnapped? who is the traitor to the Sinclairs? and more! I read this book in 2 sittings - and it left me feeling happy!",
+ "id": "222a03abf4ca4a7082520bb1944ea719"
+ },
+ "8f85adaa858149a98c1f47a7346287e2": {
+ "label": true,
+ "text": "The character was self-absorbed past distraction. In fact, she was so distracted that most of the time she could not get out of her own way. And where was she going? And why do I want to read about it? I also found it difficult relating Julia Child's \"diary\" excerpts to the life-experiences of Julie that they were spliced into. If it wasn't a book club book, I wouldn't have finished it.",
+ "id": "8f85adaa858149a98c1f47a7346287e2"
+ },
+ "db268d81c8ef4eb68bed4fb8d641d2b7": {
+ "label": false,
+ "text": "myth with Nordic characters. Not to mention that he was not writing a handbook on Heathen belief, he was writing a handbook on poetry, particularly skaldic metric form and added the myth parts for reference. Snorre's work is useful as a secondary reference at best, and if Snorre got it wrong, and a book (this one) is based on Snorres works.... well... you get the picture.",
+ "id": "db268d81c8ef4eb68bed4fb8d641d2b7"
+ },
+ "cb907436d27f4f2eaa0e5399ad5312f2": {
+ "label": false,
+ "text": "about too many topics in which he has not been schooled.",
+ "id": "cb907436d27f4f2eaa0e5399ad5312f2"
+ },
+ "ddfcfc0d61704733b1b92595eb74c653": {
+ "label": false,
+ "text": "This is one of my favorite shows. I have contacted Sony for a release date, but I can't seem to get a difinitive answer. This has been out for almost 2 years. Please post a response if anyone knows what to do or who to contact to request the other seasons be released. I'll sign a petition if that will help!!!L.W.",
+ "id": "ddfcfc0d61704733b1b92595eb74c653"
+ },
+ "9ae3da52258548f0b5e354920933d42f": {
+ "label": false,
+ "text": "Mest is the greatest band of all time, I highly recommend that you go out and buy the Waisting Time CD, you will not be disappointed...",
+ "id": "9ae3da52258548f0b5e354920933d42f"
+ },
+ "1effe12d069b404c9757f722ad036f07": {
+ "label": false,
+ "text": "This is an interesting book. I like the three different voices she uses to narrate the three different worlds, and the way the most advanced world, being the most self-aware, is done in first person.Interesting questions are raised and about truth, right/wrong, etc. I do not agree with everything the author seems to believe, but this book would be a good springboard for discussion of questions",
+ "id": "1effe12d069b404c9757f722ad036f07"
+ },
+ "836b2bffd3e74a6983f351fc39767a61": {
+ "label": true,
+ "text": "\"I'm not interested.\" So I took it. That night, I read through half of it. I couldn't help it--I was not able to put it down! What would happen to Jane next? Questions would race through my head and so I wouldanswer them myself by continuing to read. I finished it the next night. Ms. Pimentel was right. Every girl SHOULD read Jane Eyre.",
+ "id": "836b2bffd3e74a6983f351fc39767a61"
+ },
+ "3882016291814b1ba4df88d6d8ab0d8c": {
+ "label": false,
+ "text": "liked track 9. This song makes a great dancing tune and the whole CD just sparkles.I'm looking forward to his next so I can add it to my collections",
+ "id": "3882016291814b1ba4df88d6d8ab0d8c"
+ },
+ "15ee5ca680f04fa390f7eece408b3aac": {
+ "label": true,
+ "text": "You know what I mean? It's a bit like when you got a beautiful girlfriend, you're not going to yell at everybody that you've got a beautiful girl friend, are you?... See what I mean? ... Huh, what did I say? nothing. OK, I must be going now........",
+ "id": "15ee5ca680f04fa390f7eece408b3aac"
+ },
+ "45538a1866434e22bb28b2c6462da2e5": {
+ "label": false,
+ "text": "A look at two scenarios for Helen's (Gwyneth Paltrow) life: what would have happened had she made the train, and what would have happened had she taken a cab. Paltrow must have been cursed, because both scenarios involve wimpy, talky, Woody Allen-wannabe suitors. The sleaziest characters, Gerry (John Lynch) and Lydia (Jeanne Tripplehorn) go about their business awkwardly, without any verve, and",
+ "id": "45538a1866434e22bb28b2c6462da2e5"
+ },
+ "5bf3da11634043c29a0fcff72ad6bd1b": {
+ "label": false,
+ "text": "They should have just made this a miniseries and then they would have been able to have more side stories and characters that they seemed to want. BUT, they put it all in one movie. Overall, good movie, there are some tense moments (dinosaur chase, bug attack)..and it all reminded me of Jurrassic Park. King Kong was animated really well, but everything else was kind of wierd looking and you could",
+ "id": "5bf3da11634043c29a0fcff72ad6bd1b"
+ },
+ "1e1531f714854bf8971519c5c3f30220": {
+ "label": false,
+ "text": "My english teacher read this book outloud to us. It was the worst thing ever. I feel asleep every day he read it because it was so boring! It seemed like it took forever to finish so dont read this book unless you want somthing really, really boring!",
+ "id": "1e1531f714854bf8971519c5c3f30220"
+ },
+ "4589c0f827424ddf95c37bd3c437f35e": {
+ "label": true,
+ "text": "by your side at the policeman's ball or in the bleachers... or listening to the heroic story of how you got a silver shinbone from a battle with a gangster? (pauses) ...I see you have.\" Laura's image does not transform into a housewife.",
+ "id": "4589c0f827424ddf95c37bd3c437f35e"
+ },
+ "9494b51a39b54f89a049c452b276b1dd": {
+ "label": false,
+ "text": "from death. If you are looking for a happy ending, you'll have to fill in the blanks...",
+ "id": "9494b51a39b54f89a049c452b276b1dd"
+ },
+ "72d25a2d8cfb4830945e32ae2dae27ea": {
+ "label": false,
+ "text": "was predominantly about Brian. This should have been titled: \"Brian Wilson and the Satan (featuring the rest of them)\".I've seen other Beach Boys documentaries (even made for tv movies) that were better than this jumpy compilation. I felt like I was trying to watch a documentary put together by someone who had ADD.",
+ "id": "72d25a2d8cfb4830945e32ae2dae27ea"
+ },
+ "2ffa2323c8684165a82270cec0c4083e": {
+ "label": true,
+ "text": "Question: How do you usually handle social situations?",
+ "id": "2ffa2323c8684165a82270cec0c4083e"
+ },
+ "542529655d524f27b3cd80e4a32abc94": {
+ "label": false,
+ "text": "The given options do not directly address either of the questions asked. Instead, I will provide a response for both questions.",
+ "id": "542529655d524f27b3cd80e4a32abc94"
+ },
+ "72dd350f5be54d519d32dbe687705dda": {
+ "label": false,
+ "text": "score between the two teams, i.e., the points by which the Eagles were trailing, was 14 points at the end of the first quarter of the game.",
+ "id": "72dd350f5be54d519d32dbe687705dda"
+ },
+ "018af857b428407ea2ac7dd0b4e57fdc": {
+ "label": true,
+ "text": "Kevin: Absolutely, it's just part of the fun. And it's not like you can't clean yourself up afterward. Speaking of which, do you have any plans for the rest of the day?\n\nLucy: Not really. After spending so much time outdoors, I think I'll just take it easy for the rest of the day. Maybe catch up on some TV shows or read a book. How about you?",
+ "id": "018af857b428407ea2ac7dd0b4e57fdc"
+ },
+ "4bdba3f0b1e044f9a80aa265e4383056": {
+ "label": false,
+ "text": "To determine the most appropriate word to describe the situation, let's analyze each option:",
+ "id": "4bdba3f0b1e044f9a80aa265e4383056"
+ },
+ "9f3162b72c9f4d4c99c830f51f026c37": {
+ "label": false,
+ "text": "6. McMaster University - Offering a multitude of research-based MS programs, McMaster University is committed to interdisciplinary learning and collaboration.\n\n7. University of Ottawa - With a strong focus on research and innovation, the University of Ottawa provides students with various MS programs across an array of disciplines.",
+ "id": "9f3162b72c9f4d4c99c830f51f026c37"
+ },
+ "0fae5d43071c45bd9e9074776e34bea8": {
+ "label": true,
+ "text": "Person A: Alright, that's not too bad. Can you give me some directions on how to get there, so I don't get lost along the way?",
+ "id": "0fae5d43071c45bd9e9074776e34bea8"
+ },
+ "b1520eca34cb480393a4b0da985101d3": {
+ "label": false,
+ "text": "To create a dialogue, I will choose a specific setting and characters to bring the conversation to life. I will select a coffee shop as the setting, with two friends catching up over coffee. These elements will give me a context to build and develop the conversation.",
+ "id": "b1520eca34cb480393a4b0da985101d3"
+ },
+ "9f64e9f98c234171a483f6002d5bdacf": {
+ "label": false,
+ "text": "1. The claim states that John Wayne Gacy ended his own life.\n2. John Wayne Gacy was a notorious American serial killer and rapist.\n3. It is common knowledge that some serial killers may end their lives by suicide.\n4. However, specific information about John Wayne Gacy's death is not part of general human common sense.",
+ "id": "9f64e9f98c234171a483f6002d5bdacf"
+ },
+ "fb91fec16df149029a6751f60b37ed10": {
+ "label": true,
+ "text": "Q: Does the 2007 film Nancy Drew portray the protagonist as a private investigator for hire?",
+ "id": "fb91fec16df149029a6751f60b37ed10"
+ },
+ "9e1bd194f11642bc8cff53f939b6bbb3": {
+ "label": true,
+ "text": "The first and most critical step in recovering your loaned items is to be direct and honest. Express your need for the specific item and explain its importance to you. For instance, if a friend borrowed your favorite book, you can say, \"Hey, since I want to read that book again, could I please have it back by next week?\" Being upfront may feel uncomfortable initially, but it shows maturity and",
+ "id": "9e1bd194f11642bc8cff53f939b6bbb3"
+ },
+ "6b05bed8b11e49239a9a6f44c2691e14": {
+ "label": false,
+ "text": "Act II:",
+ "id": "6b05bed8b11e49239a9a6f44c2691e14"
+ },
+ "1db39740574d4e73835b7f7873018796": {
+ "label": false,
+ "text": "First question: As an AI, I am not capable of feeling embarrassment nor do I have personal experiences like humans do. Therefore, I cannot personally recall any embarrassing questions that I have asked a stranger. However, I can empathize that some humans might find certain questions embarrassing to ask, and I am here to help by providing answers to those questions without any judgment.",
+ "id": "1db39740574d4e73835b7f7873018796"
+ },
+ "105cd2e273bf4121982c32ea149f0acd": {
+ "label": false,
+ "text": "Title: The Art of Reclaiming Your Borrowed Possessions\n\nIntroduction",
+ "id": "105cd2e273bf4121982c32ea149f0acd"
+ },
+ "4b8605f899514485b7ddea8e5908b884": {
+ "label": false,
+ "text": "4. University of Waterloo - Recognized for its innovation and excellence in research, the University of Waterloo offers interdisciplinary MS programs in various areas of study.\n\n5. University of Alberta - The University of Alberta is home to a thriving research community and offers a wide range of MS programs across different fields.",
+ "id": "4b8605f899514485b7ddea8e5908b884"
+ },
+ "92e6aa909d2d4e51bbe9e98e08d683bb": {
+ "label": true,
+ "text": "Q: Can people only have fun on a jungle gym when they're with friends?",
+ "id": "92e6aa909d2d4e51bbe9e98e08d683bb"
+ },
+ "5c70198d8f624ec484a0c5c8741291ab": {
+ "label": true,
+ "text": "Hey there! I'll try to help you understand these situations the best I can. Let's go through each question, okay?",
+ "id": "5c70198d8f624ec484a0c5c8741291ab"
+ },
+ "4ce9645f957f4cd29f8c7b692256d08b": {
+ "label": false,
+ "text": "Theological writings",
+ "id": "4ce9645f957f4cd29f8c7b692256d08b"
+ },
+ "996e601686f244059fbd59f8add5537e": {
+ "label": true,
+ "text": "1. Who is Cameron James smitten with at Padua High School?\n2. What is Michael Eckman's opinion of Bianca Stratford?\n3. What does Walter want for Kat, regarding her college choice?\n4. What is the new rule Walter sets for Bianca's dating life? \n5. Who does Cameron choose to date Kat in order to date Bianca?\n6. How do Michael and Cameron assist Patrick in winning Kat's interest?",
+ "id": "996e601686f244059fbd59f8add5537e"
+ },
+ "9fa19b1015f1481d9971ab094e8acd44": {
+ "label": false,
+ "text": "3. While it is possible that a woman standing in front of a store may have just finished shopping there, there is no clear evidence in the premise to support this claim. The woman could also be waiting for someone, browsing the store window, or even just about to enter the store.",
+ "id": "9fa19b1015f1481d9971ab094e8acd44"
+ },
+ "8deae06a73e84287b893ef308db99f8f": {
+ "label": false,
+ "text": "6. Men's Grand Prix Tennis Circuit: This statement signifies that the 1982 Bavarian Tennis Championships was a part of the men's Grand Prix tennis circuit, a series of professional tennis tournaments. Once again, this points to the event being a tennis tournament rather than a racing event.",
+ "id": "8deae06a73e84287b893ef308db99f8f"
+ },
+ "00ccd4f0e68c4648a1b94ec46fcedf99": {
+ "label": true,
+ "text": "Question: What is the emergency telephone number for Fire, Police, and Ambulance services in Australia?\n\nOptions:\nA) 1300369359\nB) 180042113\nC) 000\nD) 12455\n\nAnswer: C) 000",
+ "id": "00ccd4f0e68c4648a1b94ec46fcedf99"
+ },
+ "f364554cf5974adfbf830024f17384d7": {
+ "label": false,
+ "text": "4. Assessing activity:\n - The girl is playing on a homemade swing.\n - Playing on a swing typically involves swinging.\n - Therefore, the girl is swinging.\n\nGiven this analysis, the girl is both outdoors and swinging. Therefore, the correct answer is:\n\n- yes",
+ "id": "f364554cf5974adfbf830024f17384d7"
+ },
+ "4b5047bd455347f2b1d43feab928cf50": {
+ "label": false,
+ "text": "Despite concerns related to cost, maintenance, and operation, the decision highlights the government's commitment to upholding Britain's long-standing naval tradition and sustaining its global influence. It reinforces the continued relevance and indispensability of sea power in global politics and armed conflict.",
+ "id": "4b5047bd455347f2b1d43feab928cf50"
+ },
+ "20b066bb104a4a5a8db9933d1a4122b2": {
+ "label": true,
+ "text": "Question: How must one frame their reply if they're trying to communicate an important message without coming across as offensive or overwhelming to the recipient?",
+ "id": "20b066bb104a4a5a8db9933d1a4122b2"
+ },
+ "6f7c90e549d34e5fb0c2ba4621d5aff9": {
+ "label": false,
+ "text": "Kevin: Sounds like a good plan. I'm just going to have some dinner with my family and then probably watch a movie or something. \n\nLucy: That sounds nice. Well, I guess it's time for me to head back home and get cleaned up. I really need a shower after this adventure.",
+ "id": "6f7c90e549d34e5fb0c2ba4621d5aff9"
+ },
+ "6c6d84fe5fe34a87ba07025c5e9f2b65": {
+ "label": false,
+ "text": "Act I:",
+ "id": "6c6d84fe5fe34a87ba07025c5e9f2b65"
+ },
+ "0acfe7a9fd6e47c391b0af78162bdd43": {
+ "label": false,
+ "text": "Answer: [\u2713] Yes [-] It's impossible to say [-] No",
+ "id": "0acfe7a9fd6e47c391b0af78162bdd43"
+ },
+ "e3671b4ba2ab4edd8920556bd162c556": {
+ "label": false,
+ "text": "Explanation: The response does not address the topic of cars, the speaker's passion, or the compliment about the Passat. Instead, it offers a separate statement about difficulty in getting out of a place, not building on the provided context. Thus, it is classified as a \"No\" response.",
+ "id": "e3671b4ba2ab4edd8920556bd162c556"
+ },
+ "ca92c6087f5f4df4baca3edfb8487a7f": {
+ "label": false,
+ "text": "to accumulate as the forecast is extended further into the future.",
+ "id": "ca92c6087f5f4df4baca3edfb8487a7f"
+ },
+ "0048301cdf1244969ab33e1a5c78c764": {
+ "label": true,
+ "text": "Question: Can someone who is not a professional photographer still effectively use a professional camera and view its screen?",
+ "id": "0048301cdf1244969ab33e1a5c78c764"
+ },
+ "a4cd04684b2f40248612704f13524007": {
+ "label": false,
+ "text": "2. Provide three choices for the question, only one of which is correct.\na) She did not study for the test.\nb) She was in a hurry and didn't check over her answers.\nc) She did not understand the math concepts.\n\nBy following the given guidelines, I have formulated a question based on the conversation that has one correct answer and two incorrect choices.",
+ "id": "a4cd04684b2f40248612704f13524007"
+ },
+ "2caccb23d70a46e5af5523b6d4566218": {
+ "label": false,
+ "text": "Schritt-f\u00fcr-Schritt-\u00dcbersetzung und Begr\u00fcndung:",
+ "id": "2caccb23d70a46e5af5523b6d4566218"
+ },
+ "382e8cd804534d40949999708134a8d9": {
+ "label": false,
+ "text": "Schritt-f\u00fcr-Schritt-\u00dcbersetzung und Begr\u00fcndung:",
+ "id": "382e8cd804534d40949999708134a8d9"
+ },
+ "a022a53465184a879bfe1f374b2b285f": {
+ "label": true,
+ "text": "Question: What is the main difference between sunglasses and purses in terms of their functionality and purpose?",
+ "id": "a022a53465184a879bfe1f374b2b285f"
+ },
+ "7a5f4308e3524606baed70e92c844799": {
+ "label": false,
+ "text": "As for the last question, questions 1 and 2 are not asking the same thing. Question 1 is asking for a specific message to send to the girl you like, while Question 2 is asking for general tips on how to communicate with her through text.",
+ "id": "7a5f4308e3524606baed70e92c844799"
+ },
+ "fd934eda077f4c1b94a854aa31cfd130": {
+ "label": false,
+ "text": "5. \"that participated in the elections held in August in Sierra Leone\" --> \"die an den im August in Sierra Leone abgehaltenen Wahlen teilnahm\" (Anpassung an die deutsche Grammatik und Satzstruktur)\n6. \"and I must say first and foremost\" --> \"und ich muss vor allem sagen\" (Anpassung an die deutsche Ausdrucksweise)",
+ "id": "fd934eda077f4c1b94a854aa31cfd130"
+ },
+ "4825ea2987184f489d9af2f43d259f4b": {
+ "label": true,
+ "text": "16. When did John start wearing his new clothes?\n17. Were Betty, Nancy, and John happy after the party?\n18. What was the prize for winning the math game?\n19. Was the plan to help John without embarrassing him successful?\n20. What kind of party did Betty and Nancy decide to have this year?",
+ "id": "4825ea2987184f489d9af2f43d259f4b"
+ },
+ "d00ea62553b4478898e28278bf09ec0d": {
+ "label": false,
+ "text": "These two statements describe different scenarios and do not necessarily imply connections to one another. The first statement talks about people playing music on the street in front of a crowd, while the second statement is about people dancing for the president. There is not enough information to determine if these events are related or if they are even taking place at the same time or location.",
+ "id": "d00ea62553b4478898e28278bf09ec0d"
+ },
+ "79780461cf284933bab92aee35ea52a1": {
+ "label": false,
+ "text": "Answer: Yes, someone who is not a professional photographer can still effectively use a professional camera and view its screen, as not every person who views the screen of the camera is a professional photographer. Given that camera interfaces are often designed with intuitive controls and functionality, many non-professionals can learn to use a professional camera through practice and",
+ "id": "79780461cf284933bab92aee35ea52a1"
+ },
+ "339f3ab528044a8d805959e9d99d8686": {
+ "label": true,
+ "text": "12. What causes Kat to leave prom heartbroken?\n13. In the end, who does Bianca start dating?\n14. What college does Walter give Kat permission to attend?\n15. How does Patrick show his feelings to Kat at the end of the story?",
+ "id": "339f3ab528044a8d805959e9d99d8686"
+ },
+ "8d0d01fd85204c14994a07db3d254c16": {
+ "label": true,
+ "text": "10. What conclusion does Raglan reach after the murder story is published, and how does he respond?\n11. How are the dwarf children connected to Nola's psychoplasmic sessions?\n12. What is Raglan's plan to rescue Candice from the brood of children?\n13. What happens to Nola, Raglan, and the brood in the climax of the story?\n14. How do Frank and Candice escape the situation at Somafree?",
+ "id": "8d0d01fd85204c14994a07db3d254c16"
+ },
+ "69c76fd2bbe040f3af27e64bd6618cd3": {
+ "label": false,
+ "text": "The oxygen is exchanged for carbon dioxide in the alveoli, and the carbon dioxide is then exhaled through the mouth or nose.",
+ "id": "69c76fd2bbe040f3af27e64bd6618cd3"
+ },
+ "0f5d87bc9dd5442e86081c68662a8627": {
+ "label": true,
+ "text": "1. Is Jerry short?\n2. Is Jerry popular among classmates?\n3. Who is the captain of the basketball team?\n4. Does Jack wear glasses?\n5. Is Jack tall and skinny?\n6. Does Jack play basketball?\n7. Is Lucy originally from China?\n8. Is Li Yun from London?\n9. Can Lucy speak a little Chinese?\n10. What does Li Yun want to be when she grows up?\n11. What is Jerry's gender?\n12. What is Li Yun's gender?",
+ "id": "0f5d87bc9dd5442e86081c68662a8627"
+ },
+ "f626c4ef481c43e18df892e183720e19": {
+ "label": false,
+ "text": "Glesny: Sounds like a plan, Lily. You're such a good friend! Together, we can make a big difference in her life.",
+ "id": "f626c4ef481c43e18df892e183720e19"
+ },
+ "df181fad9df94ad3820bb33bbdae60ab": {
+ "label": false,
+ "text": "Pronoun: He\nOption A: Ottmar Hitzfeld\nOption B: G*khan Inler",
+ "id": "df181fad9df94ad3820bb33bbdae60ab"
+ },
+ "cc0b2f5c6984428bb882c74153541003": {
+ "label": true,
+ "text": "1. What technique does Hal Raglan perform at the Somafree Institute?\n2. Who is Nola Carveth, and what is her legal situation with her husband Frank?\n3. What does Frank find on Candice after a visit with Nola, and what action does he take as a result?\n4. What information does Raglan discover about Nola's past during their therapy sessions?",
+ "id": "cc0b2f5c6984428bb882c74153541003"
+ },
+ "78c9c53ebe604990a9c95d1e62ea604e": {
+ "label": false,
+ "text": "Answer: The given review contains mixed sentiments with slightly more emphasis on the product's negative aspects, so you could classify it as a 'Negative Review'.",
+ "id": "78c9c53ebe604990a9c95d1e62ea604e"
+ },
+ "991bd81954704b89935d3e08be28d45d": {
+ "label": false,
+ "text": "Maybe",
+ "id": "991bd81954704b89935d3e08be28d45d"
+ },
+ "e25fa9fa4de84f94a3371fce0b33bb8b": {
+ "label": true,
+ "text": "1. How long was Superman away from Earth?\n2. What journey was Superman on during his absence?\n3. Who wrote an article claiming that the world doesn't need Superman?\n4. How did Lex Luthor regain his wealth after being released from prison?\n5. What event caused Superman to save a plane carrying Lois?\n6. Who is Lois engaged to upon Superman's return?",
+ "id": "e25fa9fa4de84f94a3371fce0b33bb8b"
+ },
+ "bce2ae58b52d424794ec7d9257d39a2b": {
+ "label": false,
+ "text": "Answer: No, Buck Rogers wouldn't be embroidering in a crowded place with people coming and going. This is because the environment would not be conducive for such a focused and intricate activity, considering the distractions and potential interruptions caused by the constant movement of people in the area.",
+ "id": "bce2ae58b52d424794ec7d9257d39a2b"
+ },
+ "5097adf0b5bf4379b38ed9c1c74ffd4a": {
+ "label": false,
+ "text": "The introduction of HMS Prince of Wales has been met with distinct approval from the Navy. Senior figures within the institution have long argued for the significance of a two-carrier fleet. The announcement strengthens Britain's strategic maritime capabilities, enabling it to maintain a permanent carrier strike presence, and offer a greater degree of flexibility in managing global commitments and",
+ "id": "5097adf0b5bf4379b38ed9c1c74ffd4a"
+ },
+ "7e66b5ea7d9d41d488b2cd8cc2a1e6a4": {
+ "label": true,
+ "text": "7. At what time did the match finally conclude?\n8. After 90 minutes of play, the teams were locked together for how long before concluding the match?\n9. Which team won the match?\n10. Who was the fall guy, missing the penalty that decided the outcome?\n11. From how far away were the penalties taken?\n12. Was the number of penalties taken in this match a competition record?",
+ "id": "7e66b5ea7d9d41d488b2cd8cc2a1e6a4"
+ },
+ "c04023ee7c404096a7e2717abb1224c3": {
+ "label": false,
+ "text": "Answer: Sentence B - \"To effectively convey your message, it is important to be mindful of your recipient's feelings and choose your wording carefully, ensuring that your reply is tactful, empathetic, and respectful of their perspective.\"",
+ "id": "c04023ee7c404096a7e2717abb1224c3"
+ },
+ "93252cfbbfa541e8b4e58b80027394cd": {
+ "label": false,
+ "text": " - Have rest: A general term which encompasses various types of rest, including sleeping and sitting.\n - Lie on the floor: A more active approach to resting but may not provide the comfort of a bed or similar surface.",
+ "id": "93252cfbbfa541e8b4e58b80027394cd"
+ },
+ "73fd7acad35f47a48c09fcb96bca3f6c": {
+ "label": true,
+ "text": "Q: How many days are there in a week?\nA: A week is a time unit equal to seven days.",
+ "id": "73fd7acad35f47a48c09fcb96bca3f6c"
+ },
+ "e7f0fe9432e34f499105a9a056b2d104": {
+ "label": true,
+ "text": "Nelson: Of course, I completely understand where you're coming from. While those conversations don't necessarily bore me, I can see how you'd want to skip past the small talk and jump into something deeper. So, what would you suggest as an alternative to the typical small talk?",
+ "id": "e7f0fe9432e34f499105a9a056b2d104"
+ },
+ "11ac19936c4a4b5f8f1934ad91128430": {
+ "label": false,
+ "text": "Yes, little one! Both sentences mean the same thing. They are just saying it in a different order. Mullen had two jobs: (1) Chairman of Saugus Democratic Committee, and (2) Member of the Saugus Dock Commission. The sentences are like saying, \"I ate apples and bananas\" or \"I ate bananas and apples.\" Both mean you ate apples and bananas, just in a different order.",
+ "id": "11ac19936c4a4b5f8f1934ad91128430"
+ },
+ "289fded02ae04715961eb8737fdb7357": {
+ "label": true,
+ "text": "Question: How many minutes are in a week?\n\nJustification: To determine the number of minutes in a week, we need to consider the number of minutes in an hour, the number of hours in a day, and the number of days in a week. There are 60 minutes in an hour, 24 hours in a day, and 7 days in a week.\n\nCalculating the number of minutes in a week, we can follow these steps:",
+ "id": "289fded02ae04715961eb8737fdb7357"
+ },
+ "84acd195ed8844be9a2bca93b8b91ff9": {
+ "label": true,
+ "text": "16. What causes Superman to fall into a coma?\n17. What does Lois whisper into Superman's ear that helps him wake up from his coma?\n18. What is the title of Lois's new article about Superman?\n19. After waking up from the coma, what does Superman reassure Lois about his presence?",
+ "id": "84acd195ed8844be9a2bca93b8b91ff9"
+ },
+ "5b64b28966fb4300a06727bd6d66ae58": {
+ "label": false,
+ "text": "continues to be a number one priority for his administration.",
+ "id": "5b64b28966fb4300a06727bd6d66ae58"
+ },
+ "7690ada43e144c77a2342e0932621bbe": {
+ "label": true,
+ "text": "Q: In which season does Chandler quit his job and start a new career in advertising with Monica's help?\n\nA: Season 9",
+ "id": "7690ada43e144c77a2342e0932621bbe"
+ },
+ "b0bc5a95f52e41e0bf8ab1645dd5502a": {
+ "label": true,
+ "text": "8. Why was the spider sad?\n9. What kind of animal is Gilbert?\n10. Who suggested the spider could come along with them?",
+ "id": "b0bc5a95f52e41e0bf8ab1645dd5502a"
+ },
+ "7e592511fda64eecaca79f40f5f203a2": {
+ "label": false,
+ "text": "Step 2: Rearranging the sentence structure.\nThe English sentence should follow the structure: Adverb (however) + Subject (no one) + Verb (can provide) + Object (information) + Preposition (about) + Noun (Rosebud).",
+ "id": "7e592511fda64eecaca79f40f5f203a2"
+ },
+ "624c0a26a2364ee1812a906da4ab747e": {
+ "label": true,
+ "text": "a robbery? How did the robbers slip away, and why did Clive Owen stick around for a week? How did they find out about the bank chairman's past, and the number and contents of his safe deposit box? Why the hell would Clive Owen let in Jodie Foster or the cops? Since when do they make toy AK-47s that look real up close? How the hell do you bug a pizza box, anyway? How did Clive Owen manage to sneak",
+ "id": "624c0a26a2364ee1812a906da4ab747e"
+ },
+ "4fca6c4fa131473287d0e24c89f5f861": {
+ "label": true,
+ "text": "actually hit by a train, and when they were abducted, they were in a stopped and safe position by the tracks. 2.) I actually suspected Penn of being the killer for a while- so right away, I didn't question why/how he was at the Depot- then after he was killed, I now wonder how/why he was there. 3.) How did the cops know she was in the cemetery? Also, when did Melanie find out",
+ "id": "4fca6c4fa131473287d0e24c89f5f861"
+ },
+ "6df18fc587194331806c6b078504bc93": {
+ "label": false,
+ "text": "unending sequence of films from the Confessions, Porky's, Spring Break and similar stables to be thankful that this phase was not prolonged into the nineties. EGAE probably deserves respect as one of the films which, I assume deliberately, helped the industry to turn their eyes to other things than just candy. Other than this it would be hard to respect it for very much today, but it is still easy",
+ "id": "6df18fc587194331806c6b078504bc93"
+ },
+ "3f433bd15e6f401a9699d2b1707520da": {
+ "label": true,
+ "text": "the Southern US? 12) Why would someone who was supposed to be an obviously stereotypical redneck ride ANYTHING other than a Harley Davidson? 13) Why is everyone such an incredibly poor shot except the lab geek? 14) Did the lab geek take Kendo and firearms lessons after organic chemistry and before theoretical mathematics? 15) Why was this movie made? 16) What value does it have other than as",
+ "id": "3f433bd15e6f401a9699d2b1707520da"
+ },
+ "5dcb229547654fc18edb666a290b1106": {
+ "label": true,
+ "text": "knows the whereabouts of this cabin in the woods, everyone who did is dead. So does the guy get away with it or do they call in CSI Boondocks? Things that made me go hmmm?: Cops investigating without back-up. Why did the psycho killer kidnap the pregnant gal, suddenly breaking away from his M.O., and give her the chance to get free and run? Was the deputy's reaction to Mario Lopez",
+ "id": "5dcb229547654fc18edb666a290b1106"
+ },
+ "61b967cca7e74f78b4e20e6c8c82f29f": {
+ "label": true,
+ "text": "the job at the hospital, did he get tired of being a pilot? He gets the job at the hospital, okay that's simultaneously interesting and funny, but then what happens? Does he quit, is he fired? How does the girl get back together with her parents, did they forgive her, does she keep her job? How did Frank perform as an attorney? When and how did he buy a house in Atlanta? Who are all those people",
+ "id": "61b967cca7e74f78b4e20e6c8c82f29f"
+ },
+ "cbd19c81a94d4991b32f92722bfc2dba": {
+ "label": true,
+ "text": "how could she hear the screams when she was downstairs but not hear them when she was standing outside the door? 7.) Gary's sister commented on Haggis- thats primarily a Scottish dish, not Irish. 8.) So the lesson is if you ARE like Shae and don't have any fun or crack a smile through the whole film, you'll be the one to live? 9.) The mutants were pretty cool, but they looked like",
+ "id": "cbd19c81a94d4991b32f92722bfc2dba"
+ },
+ "e7e2c95e962d4b3797c4024ea3a70bf2": {
+ "label": false,
+ "text": "First off, I must say that I made the mistake of watching the Election films out of sequence. I say unfortunately, because after seeing Election 2 first, Election seems a bit of a disappointment. Both films are gangster epics that are similar in form. And while Election is an enjoyable piece of cinema... it's just not nearly as good as it's sequel. In the first Election installment, we",
+ "id": "e7e2c95e962d4b3797c4024ea3a70bf2"
+ },
+ "4a9ceed8b660424cb8f79ec51b7736ec": {
+ "label": true,
+ "text": "the flashbacks to those other people? Half of them Shae didn't know if they were dead or alive, so what was with that? 13.) Why didn't they kill Gary and his sister before? 14.) Why did no one ever call the police? And apparently everybody KNEW those people lived in the woods, why did they never organize some kind of raid? 15.)As far as I know, they were not zombies OR vampires- so how could she",
+ "id": "4a9ceed8b660424cb8f79ec51b7736ec"
+ },
+ "663264c89a0544459861957d83122827": {
+ "label": true,
+ "text": "movie? Who was the guy who killed the pilot? Where'd he come from and what made him decide to fly the plane? They spent way too long in the bar scene, who walks around a bar with a wet t-shirt before the contest? How much money did she really need for \"law school\" anyway? her story keeps changing. I'm guessing she keeps using her tuition on breast implants and trashy clothes. What kind of permission did they have to get to film at certain locations? Were there any memorable outtakes? Were there",
+ "id": "f9df86fc49e6454c956b60bed6ca0449"
+ },
+ "9d33983b53e74de5a18fc76f8938a362": {
+ "label": false,
+ "text": "I knew I was going to see a low budget movie, but I expected much more from an Alex Cox film. The acting by the two leading men was terrible, especially the white guy. The girl should have won an Oscar compared to those two. This movie was filled with what I guess would be inside jokes for film industry people and a few other jokes that I actually understood and made me laugh out loud, which is",
+ "id": "9d33983b53e74de5a18fc76f8938a362"
+ },
+ "0b73afc366a94ecbb51891e22e6d3832": {
+ "label": true,
+ "text": "and highlight 9/11 but concentrate on the ones that need an explanation:- 1. What was'Lucinda role in this? Apart from the production of the numbers. She could hear the Angels so why was she not picked by the Angels to leave the planet? Why commit suicide, why did she live in the exact place the aliens were picking up the children, why did she never try to warn people of the disasters like Cage",
+ "id": "0b73afc366a94ecbb51891e22e6d3832"
+ },
+ "0d3316770a534c5586acce37a3f6caf3": {
+ "label": true,
+ "text": "/>4. how did the blonde get all bloodied up if she wasn't actually fighting anyone in the greenhouse? 5. at the beginning, we see the blonde stop the car in the forest, and at the end we see the brunette. having the point of view switch when the cops see the video was not only jolting but bad movie making, because there was no reason beyond confusing the audience with facts that can't",
+ "id": "0d3316770a534c5586acce37a3f6caf3"
+ },
+ "75e4f42f56a84fd9915425a2e6c129e5": {
+ "label": false,
+ "text": "at his best since Ghandi, this master piece stands for what it should in movies such as these, no worrying about gaining audiences rather a cry for freedom in the SOuth African Apartheid.Though critised for the biased nature, the movie is faithful to the book by Donald Woods and faithful to the message intended to express to the world. ta and peace",
+ "id": "75e4f42f56a84fd9915425a2e6c129e5"
+ },
+ "2700dd0d4eb84287aa0fae5c0269e35b": {
+ "label": true,
+ "text": "Where the hell does the cop come from at the end of the film? He just appears and suddenly says 'We'll have to move quickly but it can be done!' and how did he know the dad was going to be divorced from his wife before he did? was he nailing her on the side??? How come the bad kid becomes the Italian kids friend at the end? despite having attempted to rape his sister, breaking the Italian kids leg",
+ "id": "2700dd0d4eb84287aa0fae5c0269e35b"
+ },
+ "d6592843a1664759ab25eed2d373a210": {
+ "label": true,
+ "text": "at him before the 88 minutes are up? And why does Jack, a Forensic Psychologist, seem so skilled in handling a gun and acting like a cop? And what exactly is the killer trying to do here, frame Jack for murder by planting evidence or actually kill him? And why does Jack's teaching assistant (Alicia Witt) feel the need to bring up wanting a relationship with him right in the middle of them running",
+ "id": "d6592843a1664759ab25eed2d373a210"
+ },
+ "a6b09e3e8a224234a7ac16b436550938": {
+ "label": true,
+ "text": "This movie sucked. Not all is as it seems, as the plot blurb says. What it seems to be is a really good slasher flick. REALLY GOOD! Until the police get involved. I won't spoil it for you if you are desperate to see it-- no wait... yes i will *******spoiler alert******** how is it possible that she is the killer? unanswered questions to ponder: 1. how does her being the killer explain",
+ "id": "a6b09e3e8a224234a7ac16b436550938"
+ },
+ "5ff524e6d9814bc7a3bbecf21b3f6367": {
+ "label": false,
+ "text": "is not why I continued. The first set of DVDs I purchased was made in China and had OK English translation. The problem with the English translation, while subtle, surfaced more in the second half, as one can tell they are not done by the same person(s). An anal movie-buff that I am, I sold it and bought the YesAsia edition, more expensive but has much better translation (a very",
+ "id": "5ff524e6d9814bc7a3bbecf21b3f6367"
+ },
+ "ab7dc518e9bd4d42be119454f8851f50": {
+ "label": true,
+ "text": "all-American sheriff get all his guns for this rampage, and how does he rise up within the ranks of the mob so quickly ... I guess all this questions are things that will never be answered and really should never be asked. In the end of course the director who kicked Arnie out of the agency in the first place turns out to be working for the mob; vindicating Arnie's tactics as he becomes",
+ "id": "ab7dc518e9bd4d42be119454f8851f50"
+ },
+ "53268954b429413ebaf882e528b8129f": {
+ "label": true,
+ "text": "to \"pick up the pizzas?\", were they not taken down. (first of all, how many robbers would have came outside without using a hostage as a shield? Is this Spike Lee's version of NY City, or SNL's?). Taking them down would have reduced the bad guy's numbers, screwed up their plans, and the remaining robbers would more probably have given up. If not, there at least would be fewer bad guys inside.",
+ "id": "53268954b429413ebaf882e528b8129f"
+ },
+ "979aed7baed84ea9b6f07b8d4c6b83ca": {
+ "label": false,
+ "text": "who painfully narrate the story...And i have to agree with him. Those sprites of the northern lights are always the burning flesh on my tongue when i drink a hot chocolate. they're annoying, I hate them, I'm sure everyone else does too, although there might be that random girl who sort of takes interest in them. Moving on, To add them to the story was also a mistake because you don't just add",
+ "id": "979aed7baed84ea9b6f07b8d4c6b83ca"
+ },
+ "434351936f054d1988dafa0a573d8595": {
+ "label": true,
+ "text": "of weirdos armed with guns out hunting, why aren't they just a bit perturbed that their group is alone in the forest with them overnight? I know I shouldn't be asking these questions, I should be getting into the spirit of the movie and setting myself up for a scare etc. Sorry, but after sitting through this sort of crap 100s of times my patience has finally snapped. Let's see what else we have",
+ "id": "434351936f054d1988dafa0a573d8595"
+ },
+ "ddd5a98562534bb3a40d99a5f2f87f0e": {
+ "label": false,
+ "text": "with the Jersey accent, that, conveniently, volunteered, and said he knew the recording was \"100% Albanian\", but yet he himself couldn't speak it.....SIR! PUT YOUR HAND DOWN! And his Ex-wife! What a \"schlump\" she was!!! Both were totally unbelievable. * When interrogating suspects, why did Det. Frazier, continually harass the individuals who were obviously not a part of the heist?,",
+ "id": "ddd5a98562534bb3a40d99a5f2f87f0e"
+ },
+ "f928dd91930c49f4bc4e7af0592156a1": {
+ "label": false,
+ "text": "The surprise nominee of this year's Best Animated Feature race at the Oscars. It's an Irish film by heart, but it was co-produced by Belgium and Brazil, with, I'm guessing, animators working in all three countries. The product is one of the most beautiful and unique films in recent memory. The character design is a little reminiscent of the French animated film Persepolis from a couple of years",
+ "id": "f928dd91930c49f4bc4e7af0592156a1"
+ },
+ "98cd402f574a4b949d8990b28ba90cf8": {
+ "label": true,
+ "text": "publish him? Who is sending someone to catch and possibly kill adult Liam? Why? Who does our almost-assassin talk to on her headset? Why does she burn the thing afterwards? Are there wireless towers or satellites after the nuclear holocaust? What the heck happened with the cliff scene? Why does the word \"prophet\" keep popping up in reference to this movie? If Liam arrives at what looks like a",
+ "id": "98cd402f574a4b949d8990b28ba90cf8"
+ },
+ "d8c959fceec54a5daad9754565101feb": {
+ "label": false,
+ "text": "I will keep it to bullet points so here goes: 1. Very badly scripted. 2. Tries to be like Resident Evil. 3. Zombies slow and docile one minute the next minute Raging lunatics. 4. Never saw blood clean up so easily! 5. Special effects not as good as the original \"day of the living dead\". 6. Acting not as good as the \"Bold and the beautiful\". 7. It looks like it was written in 1 week and made the",
+ "id": "d8c959fceec54a5daad9754565101feb"
+ },
+ "aff03edfdd3c45dd998b22e3fa9e95fa": {
+ "label": false,
+ "text": "this film is an immense disappointment to Yash Chopra fans, especially me myself. I am really disappointed over the plot, acting and everything else. Why can't people put in some substance that can be cherished after confronted with in the films, at least for once throughout the film? The point is clear. I'd like to put my opinion in short: \"Horrible - Disappointment - Lot of Adult Material - Lack",
+ "id": "aff03edfdd3c45dd998b22e3fa9e95fa"
+ },
+ "713379b5ab7740e7aa409c757beba7d0": {
+ "label": true,
+ "text": "known as Batwoman, however Batman feels the need to stop her because of her extreme methods, and also in the meantime take down The Pengiun and Ruphert Thorn who both are secretly working with Carlton Duquesne(who's having family troubles) and another villain(which is later revealed in the movie) on a weapons smuggling operation,they also put a bounty on the Batwoman. The question is: who is this",
+ "id": "713379b5ab7740e7aa409c757beba7d0"
+ },
+ "e98b2a0d062f4fda97f0c878e1c2ca23": {
+ "label": false,
+ "text": "with the effects comes when the Moorwen interacts with the human characters. The CGI kills, specifically, are typically neither creative nor convincing. Again, though, the rest of the effects are good enough to cover for this slight blunder. \"Outlander\" borrows heavily from other films in the genres it crosses, but don't hold that against it. It's really an inspired effort that doesn't",
+ "id": "e98b2a0d062f4fda97f0c878e1c2ca23"
+ },
+ "bbd46c87d85b4e71a5eb2de1fe55f571": {
+ "label": false,
+ "text": "I will keep it to bullet points so here goes: 1. Very badly scripted. 2. Tries to be like Resident Evil. 3. Zombies slow and docile one minute the next minute Raging lunatics. 4. Never saw blood clean up so easily! 5. Special effects not as good as the original \"day of the living dead\". 6. Acting not as good as the \"Bold and the beautiful\". 7. It looks like it was written in 1 week and made the",
+ "id": "bbd46c87d85b4e71a5eb2de1fe55f571"
+ },
+ "455557c192e34056a57f13591630637d": {
+ "label": true,
+ "text": "I wonder, should I torture myself and go find her? Let's see what my friends at the precinct think. Basket's fellow male cop: HAHAHA. Willow's a funny name. Basket: I think that something bad is about to happen. (On the island) Basket: What's in the sack? AHHH. Tree-named crone: It's not her daughter, though. (In the tavern) Basket: Can you",
+ "id": "455557c192e34056a57f13591630637d"
+ },
+ "17ae02301855461eb9e14912fbad81bf": {
+ "label": true,
+ "text": "I was watching this movie on Friday,Apr 7th. I didn't see the last scene ( cos I was talking with my bro n Mom in law at the same time ). Anyone can tell me what happened to her?I watched slightly that her husband was hearing someone was talking to his wife in the bedroom and then he opened the door,she's dead already. What happened to her? Did she kill herself? How could she arrange",
+ "id": "17ae02301855461eb9e14912fbad81bf"
+ },
+ "37f3aed8380846eca193b2693318b164": {
+ "label": true,
+ "text": "you can't understand things I wrote if I don't answer that question. Answer: The killer of Spiky girl(Kirpi)is the police! For this reason censure committee tried to obstruct the broadcasting of the movie.Okay, how can we find the killer from the movie? Name of the movie is 9. There are 8 people (except the police) in the examination room. Mom 1, Stationer 2, American man 3, Greengrocer 4,",
+ "id": "37f3aed8380846eca193b2693318b164"
+ },
+ "6c03eab91723412d9cd29d6ebda08a85": {
+ "label": true,
+ "text": "Overall I found this movie quite amusing and fun to watch, with plenty of laugh out loud moments. But, this movie is not for everyone. That is why I created this quick question-ere, if you answer yes to any of the following questions than I recommend watching this flick (1)Do you enjoy crude sexual humor? (2)Do you enjoy alcohol related humor? (2)Do you enjoy amazingly hot",
+ "id": "6c03eab91723412d9cd29d6ebda08a85"
+ },
+ "f890f7330b5f4e59a4e7f37f2b6c57c3": {
+ "label": false,
+ "text": "This movie was terribly done, although Paul Giamatti did well in his performance it was not enough to save this film. I watched this movie in a theater packed with other people all excited about this film, however after its showing, more than half were at the box office demanding their money back. We pay money to be entertained in theaters, many were not entertained and therefore received",
+ "id": "f890f7330b5f4e59a4e7f37f2b6c57c3"
+ },
+ "734940cf9f834e058858de31e2180c3a": {
+ "label": true,
+ "text": "Overall I found this movie quite amusing and fun to watch, with plenty of laugh out loud moments. But, this movie is not for everyone. That is why I created this quick question-ere, if you answer yes to any of the following questions than I recommend watching this flick (1)Do you enjoy crude sexual humor? (2)Do you enjoy alcohol related humor? (2)Do you enjoy amazingly hot",
+ "id": "734940cf9f834e058858de31e2180c3a"
+ },
+ "244fdcf8428c493991dba3a44836bf58": {
+ "label": true,
+ "text": "didn't he post all the idiot cops right outside that ONE room where all of those women lived? Wouldn't it be easy to just ask a pair of cops to FOLLOW the remaining two or three women in that ONE room? He knew who was getting killed, and why, yet there were cops everywhere but outside that one spot. This is level of idiocy not seen before in any crime movie. Another question: Shouldn't",
+ "id": "244fdcf8428c493991dba3a44836bf58"
+ },
+ "14700fdf92484344ae114a22b455850c": {
+ "label": true,
+ "text": "Allow me to ask some rhetorical questions: -Why would ANY airport allow an 11 year-old on a plane WITHOUT CHECKING THEIR TICKET? -Don't you think Megan is a little too smart to get on the wrong plane? -Why would the most PRESTIGIOUS hotel in Los Angeles allow a single 11 year-old to stay in the PRESIDENTIAL SUITE? Without checking her credit card? Do the words",
+ "id": "14700fdf92484344ae114a22b455850c"
+ },
+ "69bbdadd1c2d495ba3607299437ee79e": {
+ "label": false,
+ "text": "and he is much better when playing more bizarre characters (Murder Legendre - White Zombie, Dracula, Dr. Carruthers - The Devil Bat).",
+ "id": "69bbdadd1c2d495ba3607299437ee79e"
+ },
+ "224b87b87b9149a8bba8c1aa5b0b0b83": {
+ "label": true,
+ "text": "can a body of a 6\" female be fitted into a luggage of 3\"?, How can the same luggage thrown inside the A/C. compartment of a running train that too from the train's window?, how can two people see that a tunnel is approaching while traveling in the same train? and how come police not able to find passport of Kareena Kapoor at the murder site when someone has dropped it there. But come on, how many",
+ "id": "224b87b87b9149a8bba8c1aa5b0b0b83"
+ },
+ "92cb0367397d44849ec54c40f10a3046": {
+ "label": false,
+ "text": "she's never seen before, where Witty and Macready are calling her Marian and trying to convince the servants and the nearby townspeople that she's Macready's mad wife. Of course this pair can only be planning dastardly deeds, and even though we know Julia has to eventually escape her trap, director Joseph Lewis builds real suspense in answering the question of just how she'll manage it. 5.why would everyone leave the car and leave the one girl behind with half a lesbian? 6.why were these supposed young people so winded after running a few feet. 7.when the lesbian was running away why couldn't she leave limp-along in the dust? 8.why would frat boy having noticing what was producing the smoke not share this bit of info with his",
+ "id": "b70f7b09f88a4bda9101276764c48c67"
+ },
+ "03ee2d3a4e814982bef05278bbb17b5d": {
+ "label": true,
+ "text": "Why is Hortense so desperate to marry a man who is a jerk and clearly doesn't love her? How is it Missy manages to kick her coke habit overnight? Is Jethro regularly drawn to women with overwhelming problems, or is Missy the exception? Has Delmar and Jethro's mother always been on the eccentric side, or is it a more recent development? Why is Jethro so keen on Cadillacs that he has one in the",
+ "id": "03ee2d3a4e814982bef05278bbb17b5d"
+ },
+ "43debc6b2ed3428ca659e0a305a57a94": {
+ "label": false,
+ "text": "a s\u00e9ance at a spooky house and then the killing starts. Sounds over familiar, doesn't it. Well, this movies adds nothing whatsoever to the endless stream of similar movies. And it is badly made. Because of the lack of light the entire film is grainy. Now this effect can be highly effective, but it isn't in this case. The young cast isn't acting too badly, but the director has no clue as what to do",
+ "id": "43debc6b2ed3428ca659e0a305a57a94"
+ },
+ "03582a422fd444f1a105f4182f9907e3": {
+ "label": false,
+ "text": "I'll keep this fast and sweet. Five girls on their way home from a football game decide to take a 'short cut' that leads them down a deserted forest-ridden road. Of course nothing but good things happen to them, and they safely arrive at their destination. Alright, they don't. Soon they're hunted down by a deranged chick who has some severe mental issues, and what ensues is 90 minutes",
+ "id": "03582a422fd444f1a105f4182f9907e3"
+ },
+ "896f4b0221434304960a3d4d34623fce": {
+ "label": true,
+ "text": "Why is Hortense so desperate to marry a man who is a jerk and clearly doesn't love her? How is it Missy manages to kick her coke habit overnight? Is Jethro regularly drawn to women with overwhelming problems, or is Missy the exception? Has Delmar and Jethro's mother always been on the eccentric side, or is it a more recent development? Why is Jethro so keen on Cadillacs that he has one in the",
+ "id": "896f4b0221434304960a3d4d34623fce"
+ },
+ "c51639b026924240a2480c163ba58659": {
+ "label": true,
+ "text": "What did his daughter say he got 100 people fired from his last job? Why was she breaking her own stuff when she was mad at him? I guess I should have gone to the Q&A after the movie, but I didn't want to get up at 10am.",
+ "id": "c51639b026924240a2480c163ba58659"
+ },
+ "45118828f21d4a29978ee3d97959cafb": {
+ "label": false,
+ "text": "and may have ulterior motives. The Plumber is pretty good, especially considering it was apparently a TV movie, but it is a bit on the dull side. As seems to be a theme with Mr. Weir, this film explores the concept of The Other within the framework of a horror-thriller. I'd argue this is even more successful to me than Wave or Paris were, perhaps because it's main focus was on two individuals. It",
+ "id": "45118828f21d4a29978ee3d97959cafb"
+ },
+ "d0d5579a42c6413dac0a78321d31aed7": {
+ "label": true,
+ "text": "in on his party. It just went from bad to worse, giving the Irish, the wedding photographic fraternity and blondes a bad name. Really it was dire. Question - in the scene where she finally walks away, why did she walk through a large puddle? Was that to show us how young and immature she really was? Too late - we knew. Question - don't really wealthy families do 21st birthday parties anymore? So",
+ "id": "d0d5579a42c6413dac0a78321d31aed7"
+ },
+ "fe66bbd42896461f88cd4051f993321f": {
+ "label": true,
+ "text": "Why did he hide it in the cesspool in the midst of the evil farmers property? These and many more questions popped up, and none of them seemed to get answered in an acceptable way. So I guess I am totally missing the point of this movie, and I am not connecting to the story in any way....",
+ "id": "fe66bbd42896461f88cd4051f993321f"
+ },
+ "5dafba65e657444a9bf8a42e71a45bb5": {
+ "label": false,
+ "text": "When I saw the previews for this program I thought it was going to be stupid. Boy was I wrong.... I like sci-fi, but this was so brilliantly written I think someone who wasn't into sci-fi would've enjoyed it. For as long as the series lasted, it kept me on the edge of my seat the whole time. The characters were well developed and added substance to the story.The only think I can say negative about",
+ "id": "5dafba65e657444a9bf8a42e71a45bb5"
+ },
+ "1d0acaaf0b7c4e428a8c3e6a27c1a0bf": {
+ "label": true,
+ "text": "does he do? where does he come from? where does he work? why is he changing news reports? why isn't he on the front line? Why doesn't he eat the food in the canteen? What is that drink he's drinking through the entire film? Why is he so weak & ill? Why isn't he brainwashed like the rest of them? What's the deal with his mother & sister? What happened to his father? A little back story would have",
+ "id": "1d0acaaf0b7c4e428a8c3e6a27c1a0bf"
+ },
+ "800d36d1e50f4bf4b4f911f7e6c71dd8": {
+ "label": true,
+ "text": "Why did he hide it in the cesspool in the midst of the evil farmers property? These and many more questions popped up, and none of them seemed to get answered in an acceptable way. So I guess I am totally missing the point of this movie, and I am not connecting to the story in any way....",
+ "id": "800d36d1e50f4bf4b4f911f7e6c71dd8"
+ },
+ "3975b4abdd8a4e438d6d8c24fb28c34c": {
+ "label": true,
+ "text": "WHO is Mr. Hobbs and why is he so desperate to get the iron panels?? He's never seen again. WHY was the serial killer killing people? We only see the one old man murdered. Was there a pattern or motive or something?? WHY does the wife suddenly become pregnant? Is it the demon spawn of the serial killer? Has he managed to infiltrate the husband's semen? And why, if the husband was able to subdue",
+ "id": "3975b4abdd8a4e438d6d8c24fb28c34c"
+ },
+ "09671e6473f8457793be7e9780307e07": {
+ "label": false,
+ "text": "as he knew his wife and child were already shot dead, it wasn't the best time for heroics. These are just a few questions i had about the film, but i may be missing something or everything as i have only seen the movie once. Please Help!",
+ "id": "09671e6473f8457793be7e9780307e07"
+ },
+ "d8039752ae4a4a7694410d10c3274f55": {
+ "label": true,
+ "text": "I think this is what this movie wants us to say at the end of the movie! or Damn Australian? I still don't know, but what I know is that I really liked this movie but that couldn't be my favorite movie! Great story with great actors but with a terrible end... To make you cry and say 'Oh, she's so good'... Still, who made it? What really happened? Who's that guy? No answer to these",
+ "id": "d8039752ae4a4a7694410d10c3274f55"
+ },
+ "edfd1b514cd84e4d9624250e0c7c7655": {
+ "label": false,
+ "text": "was unique. Let us at least take notice of F.Scott Fitzgerald who may or may not have stolen the idea/material from his wife Zelda (whom many scholars believe was the true genius and not her husband). Origins aside, the film has all the trimmings of previous work. There are some people who are vehement about this being 'not Forest Gump'. I would stress the similarities between the two",
+ "id": "edfd1b514cd84e4d9624250e0c7c7655"
+ },
+ "690152419cdd452b8e7b4751df1d7db9": {
+ "label": false,
+ "text": "As I said, the humor is not for everyone \u0085 many people simply will not \"get\" it. During the show's brief run, I remember the reaction being very mixed. Some people thought it was absolutely hysterical and one of the funniest things around, while others thought it was the stupid and unfunny. For me, Police Squad, even 20+ years later, is the funniest thing I've ever seen on TV. For younger viewers",
+ "id": "690152419cdd452b8e7b4751df1d7db9"
+ },
+ "6b2f96d39eaf4113b85422ecc94c8ee5": {
+ "label": true,
+ "text": "smell, all week long? Hello! * After such a debacle; since the documents \"had\" fallen into the robber's hands, what kind of \"references\" was Ms. White expecting to get from the bank CEO, seeing that he was now to be a target for blackmail, due to her failure? * And last, but certainly not least, What's with the \"Electric Glide\" that Denzel did? HOW STUPID! Was that supposed",
+ "id": "6b2f96d39eaf4113b85422ecc94c8ee5"
+ },
+ "333b0ab6a986445f8d69638e7b85265d": {
+ "label": true,
+ "text": "1. How old is Amanda Berry?\n2. How old was she in 2003?\n3. When was her birthday?\n4. How old would she be?\n5. Did she have a job?\n6. What was her last day of work?\n7. Where was she going the last time she was spotted?\n8. From where?\n9. How far did she need to travel?\n10. Did she get a ride?\n11. Who did she tell?\n12. Was there a reward?\n13. for what\n14. How much was it?",
+ "id": "333b0ab6a986445f8d69638e7b85265d"
+ },
+ "2edf66e58e0c490c94f92d8eb12a7142": {
+ "label": true,
+ "text": "Please answer the following question: A friend asked me to answer this question: Who gives Susan's brother a rock?, using the article: LA siblings Ted and Susan Johnson join their parents in Kenya where their father, Earl, works at a NASA tracking station, and their mother, Jean, works at a clinic. Ted's dreams of roughing it on the savannah are squashed when Jean leads him into a house that looks",
+ "id": "2edf66e58e0c490c94f92d8eb12a7142"
+ },
+ "50a9c8f94ebf4b1ab7282d731dd8b2c5": {
+ "label": false,
+ "text": "began to play a more important part in curing sick people. ",
+ "id": "50a9c8f94ebf4b1ab7282d731dd8b2c5"
+ },
+ "ac61ee4390674a18aa97876b378f933d": {
+ "label": true,
+ "text": "1. Where did Zoe spend a weekend at?\n2. Where was it?\n3. And where had she came from?\n4. Is that where she lived normally?\n5. What was her occupation there?\n6. Is that her occupation now?\n7. What happened?\n8. When was that?\n9. Did she leave after spending a weekend on the farm?\n10. What did she say about her decision?\n11. Is it boring for her?\n12. Are there new things she has learned there?",
+ "id": "ac61ee4390674a18aa97876b378f933d"
+ },
+ "39026f75badd454d81593aad7389bf3f": {
+ "label": false,
+ "text": "Read the text and answer the questions.\n\n(CNN) -- It's arguably the toughest job in sports. \n\nHockey enforcers earn the undying devotion of fans -- but not much else -- for their ability to punch and get punched on skates. They usually bounce from team to team, barely managing to get a contract for a role few can perform well and no one else wants. ",
+ "id": "39026f75badd454d81593aad7389bf3f"
+ },
+ "e3072707d8d94508b0be5e2b94e82672": {
+ "label": false,
+ "text": "found that sunlight, fresh air and good food cure a great many diseases. He was particularly successful in curing certain forms of tuberculosis with his \"sun-cure\". ",
+ "id": "e3072707d8d94508b0be5e2b94e82672"
+ },
+ "7fc0c5c63e8c46c1ac4db9b6f25e59b9": {
+ "label": true,
+ "text": "1. what have the parents refused?\n2. who is missing?\n3. what is her name?\n4. when was she reported missing?\n5. what time?\n6. who else was in the home that night?\n7. who will interview them?\n8. and?\n9. Who is Kansas city police Capt?\n10. what is the girl's father's name?\n11. what did they want the detectives to be if interviewed separate?\n12. how old was Lisa?",
+ "id": "7fc0c5c63e8c46c1ac4db9b6f25e59b9"
+ },
+ "f38b1db226cb4e72b59ffe249cd79db0": {
+ "label": false,
+ "text": "\"If you're asking me if it's mine, no,\" said Jimmy. \"I have a gun, but it's home. I never carry it. I didn't do this, O'Donnell,\" he continued. \"There was no reason why I should do it, so instead of wasting your time on me while the murderer escapes you'd better get busy on some other theory, too. It won't do any harm, anyway.\" \n\nNow, provide a numbered list of answers to these questions:",
+ "id": "f38b1db226cb4e72b59ffe249cd79db0"
+ },
+ "2132f9606085438ebfd390f824d29109": {
+ "label": false,
+ "text": "Hundreds of people have already been helped by the service this year,Huang said. Huang said that the system has about 1 0,000 subscribers and she expects that number to grow 1 0 times over the next three years.A user pays 25 yuan($4)each month for the service.A family with an income below the local poverty line can get a 10 yuan subsidy evcry month from the government. The local government has",
+ "id": "2132f9606085438ebfd390f824d29109"
+ },
+ "c62861867a1f46609cbb9178c4b8be76": {
+ "label": true,
+ "text": "1. What is another name Kim Dotcom goes by?\n2. Who has denied her bail?\n3. When?\n4. What is she the founder of?\n5. What is that?\n6. Who is requesting her extradition?\n7. When will she remain in custody until?\n8. What happens then?\n9. Is Megaupload up and running?\n10. How many people were indicted besides her?\n11. What are they accused of doing?\n12. Responsible for what?",
+ "id": "c62861867a1f46609cbb9178c4b8be76"
+ },
+ "11ec56584e6c4905936ffaa9220ee6b3": {
+ "label": false,
+ "text": "Answer the questions at the end based on the text.\n\n(CNN) -- A former campaign staffer for San Diego Mayor Bob Filner became the second woman to publicly accuse him of sexual harassment, saying Tuesday that the then-congressman patted her \"posterior\" while at a fundraising event. ",
+ "id": "11ec56584e6c4905936ffaa9220ee6b3"
+ },
+ "607207c6c4554773bbeed11d24f01289": {
+ "label": false,
+ "text": "innovations that could have the transformative effect electricity, indoor plumbing and the internal combustion engine had in powering growth in the past century. ",
+ "id": "607207c6c4554773bbeed11d24f01289"
+ },
+ "9930421165704077a1c916cccafae2ab": {
+ "label": true,
+ "text": "1. What is Patrick's profession?\n2. How did the relationship end?\n3. How long did they date before breaking up?\n4. What soap opera did Camille get a role on?\n5. Do people still recognize her?\n6. What do they want to know?\n7. Why did people misinterpret their relationship as being romantic?\n8. Is Camille ready to talk about the relationship yet?\n9. Where did Patrick first lay eyes on her?",
+ "id": "9930421165704077a1c916cccafae2ab"
+ },
+ "b69d9e2519474b979ab9c40e810ff1f3": {
+ "label": true,
+ "text": "Please answer the following question: Question: \"What does the paper seek to solve?\" Context: \"The problem of the flow of time, as it has been treated in analytic philosophy, owes its beginning to a paper written by J. M. E. McTaggart. In this paper McTaggart proposes two \"temporal series\". The first series, which means to account for our intuitions about temporal becoming, or the moving Now, is",
+ "id": "b69d9e2519474b979ab9c40e810ff1f3"
+ },
+ "8e7cff1f58774a45a24c895782d4689b": {
+ "label": false,
+ "text": "Knox and her former boyfriend Raffaele Sollecito are fighting to overturn their 2009 convictions for the murder of Meredith Kercher, Knox's British housemate who was found with her throat slashed two years earlier. \n\nThe judge said there will be no ruling in the case until after defendant statements on Monday. ",
+ "id": "8e7cff1f58774a45a24c895782d4689b"
+ }
+ },
+ "version": 373,
+ "description": "A sentence in the form of a question"
+}
\ No newline at end of file
diff --git a/lilac/concepts/source-code/concept.json b/lilac/concepts/source-code/concept.json
new file mode 100644
index 0000000000000000000000000000000000000000..14cba4e079fb5600e305abd45fd0092faa7a2ddf
--- /dev/null
+++ b/lilac/concepts/source-code/concept.json
@@ -0,0 +1,184 @@
+{
+ "namespace": "lilac",
+ "concept_name": "source-code",
+ "type": "text",
+ "data": {
+ "c7d0400c6e5442a59859ea7b0a7d6bab": {
+ "label": true,
+ "text": "const num1 = 10;\nconst num2 = 20;\nconst sum = num1 + num2;",
+ "id": "c7d0400c6e5442a59859ea7b0a7d6bab"
+ },
+ "cfa936b9ba9e4c72b835b44d8cfb393b": {
+ "label": true,
+ "text": "function calculateArea(radius) {\n return Math.PI * radius * radius;\n}",
+ "id": "cfa936b9ba9e4c72b835b44d8cfb393b"
+ },
+ "3952102e61a44fde92117a0519c4e8e6": {
+ "label": true,
+ "text": "let message = 'Hello, World!';\nconsole.log(message);",
+ "id": "3952102e61a44fde92117a0519c4e8e6"
+ },
+ "6e90cb4c8fdb46a1b38460b5d2eca907": {
+ "label": true,
+ "text": "for (let i = 0; i < 10; i++) {\n console.log(i);\n}",
+ "id": "6e90cb4c8fdb46a1b38460b5d2eca907"
+ },
+ "7e7a438002384ae194f35f27b9c85888": {
+ "label": true,
+ "text": "const colors = ['red', 'green', 'blue'];\nfor (const color of colors) {\n console.log(color);\n}",
+ "id": "7e7a438002384ae194f35f27b9c85888"
+ },
+ "91cc90d155ef4c1fb4f3c458cfdc8fac": {
+ "label": false,
+ "text": "No bathroom bill made it to Abbott\u2019s desk by the end of the legislative session in May.",
+ "id": "91cc90d155ef4c1fb4f3c458cfdc8fac"
+ },
+ "c67e408ec3544898a0d3fc21c2ee36c3": {
+ "label": false,
+ "text": "The theory that they are products of the radiation from the bomb is genius.",
+ "id": "c67e408ec3544898a0d3fc21c2ee36c3"
+ },
+ "fa78b497c7704c198fe0b2a320ed55e6": {
+ "label": false,
+ "text": "We built our society on clean energy.",
+ "id": "fa78b497c7704c198fe0b2a320ed55e6"
+ },
+ "a8bef6215f2346f7b67101b055724e99": {
+ "label": false,
+ "text": "No bathroom bill made it to Abbott\u2019s desk by the end of the legislative session in May.",
+ "id": "a8bef6215f2346f7b67101b055724e99"
+ },
+ "cab51176c2f74c8497410764628ea7cf": {
+ "label": false,
+ "text": "They should be attached to the lifting mechanism in the faucet.",
+ "id": "cab51176c2f74c8497410764628ea7cf"
+ },
+ "6585fbabe83444cfb43dee977dc3ebfe": {
+ "label": false,
+ "text": "This dataset is very big.",
+ "id": "6585fbabe83444cfb43dee977dc3ebfe"
+ },
+ "59e8b12ef7dd4e948dfae42c97f55721": {
+ "label": false,
+ "text": "The 15th Tank Corps was a corps of the Soviet Union's Red Army.",
+ "id": "59e8b12ef7dd4e948dfae42c97f55721"
+ },
+ "efaa58793e2840c6b966caa6a11ecaad": {
+ "label": false,
+ "text": "Every lunch hour I make it my goal to sift through one research paper.",
+ "id": "efaa58793e2840c6b966caa6a11ecaad"
+ },
+ "b529748962774d36a4ff781da0e327bf": {
+ "label": false,
+ "text": "On Sunday, Jane had a party.",
+ "id": "b529748962774d36a4ff781da0e327bf"
+ },
+ "b6f2f93f75f44d3780882cd1ebd3d311": {
+ "label": false,
+ "text": "TIL David Attenborough and Queen Elizabeth II are roughly the same age.",
+ "id": "b6f2f93f75f44d3780882cd1ebd3d311"
+ },
+ "2c04925ab5114925b9e891eb2706b83e": {
+ "label": true,
+ "text": "```js\nfor (var i = 1; i < 12; i++) {\n console.log(i);\n}\n```",
+ "id": "2c04925ab5114925b9e891eb2706b83e"
+ },
+ "030117a7d9044dd8b055c80853804d3d": {
+ "label": false,
+ "text": "\u00a1Desde luego! Aqu\u00ed tienes unas secuencias del tipo \"123456789\" convertidas en operaciones aritm\u00e9ticas (haciendo uso de los operadores + y -) cuyo resultado da 200:\n\n* 123 + 4 + 5 + 67 - 8 + 9 = 200\n* 123 - 4 + 5 - 6 - 7 + 89 = 200\n* 1 + 234 - 5 - 6 - 7 - 8 - 9 = 200",
+ "id": "030117a7d9044dd8b055c80853804d3d"
+ },
+ "c0095d13aed4431bb75bbc215b0d4819": {
+ "label": false,
+ "text": "and the Roman Senate was often more interested in maintaining their own power and wealth than in governing effectively.",
+ "id": "c0095d13aed4431bb75bbc215b0d4819"
+ },
+ "6ea50e4168ed42fe94ce15a9c330a54f": {
+ "label": true,
+ "text": "```javascript\n// Get the canvas element\nconst canvas = document.getElementById('myCanvas');\n\n// Get the 2D context of the canvas\nconst ctx = canvas.getContext('2d');\n\n// Set the position of the circle\nconst x = 100; // X coordinate\nconst y = 100; // Y coordinate\n\n// Set the radius of the circle\nconst radius = 50;\n\n// Set the color of the circle\nconst color = 'blue';",
+ "id": "6ea50e4168ed42fe94ce15a9c330a54f"
+ },
+ "7266060a88d04a6299922714f62091d8": {
+ "label": false,
+ "text": "Certainly! Here's a simple JavaScript function that takes a mathematical expression as a string and a value for x, then returns the result of the operation:\n\n",
+ "id": "7266060a88d04a6299922714f62091d8"
+ },
+ "6bf7df5363ff4eb3ac237eed4acda0af": {
+ "label": false,
+ "text": "Another factor in Rome's decline was the empire's overextended infrastructure. The Roman Empire was renowned for its impressive network of roads, aqueducts, and other public works. However, as the empire expanded and resources became scarce, the maintenance of these critical systems was neglected. This deterioration led to problems such as a lack of clean drinking water, food shortages, and the",
+ "id": "6bf7df5363ff4eb3ac237eed4acda0af"
+ },
+ "048952d5e620410282e09d625dc45f20": {
+ "label": true,
+ "text": "```javascript\nconst canvas = document.getElementById('canvas'); // note that you will have to use your own canvas\nconst context = canvas.getContext('2d');\nconst x = 100; // x-coordinate, you can set it up\nconst y = 100; // y-coordinate, you can set it up too\nconst radius = 50; // radius of the circle, set-up-able\nconst color = 'red'; // color of the circle, also set-up-able\ncontext.beginPath();",
+ "id": "048952d5e620410282e09d625dc45f20"
+ },
+ "eb5ee4b631bc400d95aa21aed4cb1dcd": {
+ "label": true,
+ "text": "```javascript\n// Get the canvas element from the DOM\nconst canvas = document.getElementById('canvas');\n\n// Get the 2D context of the canvas\nconst ctx = canvas.getContext('2d');\n\n// Set the position, radius, and color of the circle\nconst x = 50;\nconst y = 50;\nconst radius = 30;\nconst color = 'red';\n\n// Begin a new path\nctx.beginPath();\n\n// Draw the circle\nctx.arc(x, y, radius, 0, 2 * Math.PI);",
+ "id": "eb5ee4b631bc400d95aa21aed4cb1dcd"
+ },
+ "ca0e90e7a6f54427997b9c98ab86508e": {
+ "label": true,
+ "text": " const getColor = (depth) => {\n if (depth < 0.25) {\n return `rgb(0, ${Math.floor(depth * 1020)}, 255)`;\n } else if (depth < 0.5) {\n return `rgb(0, 255, ${Math.floor(1020 - depth * 1020)})`;\n } else if (depth < 0.75) {\n return `rgb(${Math.floor(depth * 1020) - 255}, 255, 0)`;\n } else {\n return `rgb(255, ${Math.floor(1020 - depth * 1020)}, 0)`;\n }\n };",
+ "id": "ca0e90e7a6f54427997b9c98ab86508e"
+ },
+ "bec8c965143b4a0dba7add98346996a0": {
+ "label": false,
+ "text": "Rome itself. Consequently, military leadership was fraught with intrigue, as ambitious generals vied for power, often at the expense of the empire's stability.",
+ "id": "bec8c965143b4a0dba7add98346996a0"
+ },
+ "8342a4029d384b5183a78ca0dc7e398e": {
+ "label": true,
+ "text": "\n \n \n \n \n \n \n \n window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-c', container: 'taboola-interstitial-gallery-thumbnails-5', placement: 'Interstitial Gallery Thumbnails 5', target_type: 'mix' }); \n \n \n ",
+ "id": "8342a4029d384b5183a78ca0dc7e398e"
+ },
+ "aecfb1e4c7ba45fb8847f304c5c848af": {
+ "label": false,
+ "text": "miles an hour,\" and worried that their \"uteruses would fly out of [their] bodies as they were accelerated to that speed.\" ",
+ "id": "aecfb1e4c7ba45fb8847f304c5c848af"
+ },
+ "6a6aaea62afc43258b646b4b25d93692": {
+ "label": true,
+ "text": " \n window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-c', container: 'taboola-interstitial-gallery-thumbnails-15', placement: 'Interstitial Gallery Thumbnails 15', target_type: 'mix' }); _taboola.push({flush: true}); \n ",
+ "id": "6a6aaea62afc43258b646b4b25d93692"
+ },
+ "4f94dc90c0c94420a99301ac1fc92171": {
+ "label": true,
+ "text": " \n window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-c', container: 'taboola-interstitial-gallery-thumbnails-25', placement: 'Interstitial Gallery Thumbnails 25', target_type: 'mix' }); _taboola.push({flush: true}); \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ",
+ "id": "4f94dc90c0c94420a99301ac1fc92171"
+ },
+ "64e15fb5d64548ca8b0d2c288916d303": {
+ "label": false,
+ "text": "Choose the Ellipse, Rectangle, or Polygon tool from InDesign's Tools panel. Adjust your background shape's size by clicking one of your shape's handles with your Select tool and dragging it until your shape is the correct size. Make sure the object is selected, then open InDesign's Swatches panel and select the Fill button. Choose the color you want to apply from the Swatches panel. Your shape",
+ "id": "64e15fb5d64548ca8b0d2c288916d303"
+ },
+ "3374e377ae4440a98626ae06aba98dea": {
+ "label": true,
+ "text": " \n window._taboola = window._taboola || []; _taboola.push({ mode: 'thumbnails-c', container: 'taboola-interstitial-gallery-thumbnails-20', placement: 'Interstitial Gallery Thumbnails 20', target_type: 'mix' }); _taboola.push({flush: true}); \n ",
+ "id": "3374e377ae4440a98626ae06aba98dea"
+ },
+ "2e14c0bbc5d84955b6b65f502b599eda": {
+ "label": true,
+ "text": "value=\"#000000\" /> StatsResult:
if not leaf_path:
raise ValueError('leaf_path must be provided')
@@ -593,36 +595,44 @@ class DatasetDuckDB(Dataset):
inner_select = _select_sql(
duckdb_path, flatten=True, unnest=True, span_from=self._get_span_from(path, manifest))
- # Compute approximate count by sampling the data to avoid OOM.
- sample_size = SAMPLE_SIZE_DISTINCT_COUNT
- avg_length_query = ''
- if leaf.dtype == DataType.STRING:
- avg_length_query = ', avg(length(val)) as avgTextLength'
+ # Compute the average length of text fields.
+ avg_text_length: Optional[int] = None
+ if leaf.dtype in (DataType.STRING, DataType.STRING_SPAN):
+ avg_length_query = f"""
+ SELECT avg(length(val))
+ FROM (SELECT {inner_select} AS val FROM t) USING SAMPLE {SAMPLE_AVG_TEXT_LENGTH};
+ """
+ row = self._query(avg_length_query)[0]
+ if row[0] is not None:
+ avg_text_length = int(row[0])
+
+ total_count_query = f'SELECT count(val) FROM (SELECT {inner_select} as val FROM t)'
+ total_count = int(self._query(total_count_query)[0][0])
- row: Optional[tuple[int, ...]] = None
- if leaf.dtype == DataType.BOOLEAN:
+ # Compute approximate count by sampling the data to avoid OOM.
+ if avg_text_length and avg_text_length > MAX_TEXT_LEN_DISTINCT_COUNT:
+ # Assume that every text field is unique.
+ approx_count_distinct = manifest.num_items
+ elif leaf.dtype == DataType.BOOLEAN:
approx_count_distinct = 2
else:
+ sample_size = TOO_MANY_DISTINCT
approx_count_query = f"""
- SELECT approx_count_distinct(val) as approxCountDistinct {avg_length_query}
- FROM (SELECT {inner_select} AS val FROM t LIMIT {sample_size});
+ SELECT approx_count_distinct(val) as approxCountDistinct
+ FROM (SELECT {inner_select} AS val FROM t) USING SAMPLE {sample_size};
"""
row = self._query(approx_count_query)[0]
- approx_count_distinct = row[0]
-
- total_count_query = f'SELECT count(val) FROM (SELECT {inner_select} as val FROM t)'
- total_count = self._query(total_count_query)[0][0]
+ approx_count_distinct = int(row[0])
- if leaf.dtype != DataType.BOOLEAN:
# Adjust the counts for the sample size.
factor = max(1, total_count / sample_size)
approx_count_distinct = round(approx_count_distinct * factor)
result = StatsResult(
- path=path, total_count=total_count, approx_count_distinct=approx_count_distinct)
-
- if leaf.dtype == DataType.STRING and row:
- result.avg_text_length = row[1]
+ path=path,
+ total_count=total_count,
+ approx_count_distinct=approx_count_distinct,
+ avg_text_length=avg_text_length)
# Compute min/max values for ordinal leafs, without sampling the data.
if is_ordinal(leaf.dtype):
diff --git a/lilac/router_concept.py b/lilac/router_concept.py
index a57b1cb341692965f04b5cf95d77c04b1c45c068..a991c40af159b22a5f7779f399fecb2dbe3e38e3 100644
--- a/lilac/router_concept.py
+++ b/lilac/router_concept.py
@@ -8,11 +8,18 @@ from openai_function_call import OpenAISchema
from pydantic import BaseModel, Field
from .auth import UserInfo, get_session_user
-from .concepts.concept import DRAFT_MAIN, Concept, ConceptMetrics, DraftId, draft_examples
+from .concepts.concept import (
+ DRAFT_MAIN,
+ Concept,
+ ConceptMetrics,
+ ConceptType,
+ DraftId,
+ draft_examples,
+)
from .concepts.db_concept import DISK_CONCEPT_DB, DISK_CONCEPT_MODEL_DB, ConceptInfo, ConceptUpdate
from .env import env
from .router_utils import RouteErrorHandler, server_compute_concept
-from .schema import RichData, SignalInputType
+from .schema import RichData
from .signals.concept_scorer import ConceptSignal
router = APIRouter(route_class=RouteErrorHandler)
@@ -50,7 +57,7 @@ class CreateConceptOptions(BaseModel):
# Name of the concept.
name: str
# Input type (modality) of the concept.
- type: SignalInputType
+ type: ConceptType
description: Optional[str] = None
@@ -140,18 +147,24 @@ def get_concept_models(
@router.get('/{namespace}/{concept_name}/model/{embedding_name}')
def get_concept_model(
- namespace: str,
- concept_name: str,
- embedding_name: str,
- user: Annotated[Optional[UserInfo], Depends(get_session_user)] = None) -> ConceptModelInfo:
+ namespace: str,
+ concept_name: str,
+ embedding_name: str,
+ create_if_not_exists: bool = False,
+ user: Annotated[Optional[UserInfo], Depends(get_session_user)] = None
+) -> Optional[ConceptModelInfo]:
"""Get a concept model from a database."""
concept = DISK_CONCEPT_DB.get(namespace, concept_name, user)
if not concept:
raise HTTPException(
status_code=404, detail=f'Concept "{namespace}/{concept_name}" was not found')
+ model = DISK_CONCEPT_MODEL_DB.get(namespace, concept_name, embedding_name, user)
+ if not model and not create_if_not_exists:
+ return None
+
model = DISK_CONCEPT_MODEL_DB.sync(
- namespace, concept_name, embedding_name, user=user, create=True)
+ namespace, concept_name, embedding_name, user=user, create=create_if_not_exists)
model_info = ConceptModelInfo(
namespace=model.namespace,
concept_name=model.concept_name,
diff --git a/lilac/web/_app/immutable/assets/ConceptLabeler.91d1847f.css b/lilac/web/_app/immutable/assets/ConceptLabeler.91d1847f.css
new file mode 100644
index 0000000000000000000000000000000000000000..20bd29255a843b610b1b771076dc15ca5d638d2d
--- /dev/null
+++ b/lilac/web/_app/immutable/assets/ConceptLabeler.91d1847f.css
@@ -0,0 +1 @@
+.concept-score-pill .bx--tooltip__label{margin-right:.25rem;display:inline-block;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:5rem}.concept-score-pill .bx--tooltip__content{display:flex;flex-direction:column;align-items:center}table.svelte-zc5pc5 td.svelte-zc5pc5{padding:.25rem .5rem}.dataset-link.bx--btn{min-height:0px}
diff --git a/lilac/web/_app/immutable/chunks/ChevronUp.7ab43bf8.js b/lilac/web/_app/immutable/chunks/ChevronUp.7ab43bf8.js
new file mode 100644
index 0000000000000000000000000000000000000000..5081bc4a2ed96444ff30fadbf7391171c3606e3f
--- /dev/null
+++ b/lilac/web/_app/immutable/chunks/ChevronUp.7ab43bf8.js
@@ -0,0 +1,6 @@
+import{S as Te,i as ze,s as Oe,D as ae,E as p,k as W,a as Z,l as U,m as F,c as X,h as k,n as I,G as b,F as De,b as N,a0 as S,H as R,g as C,v as le,d as M,f as ie,I as se,J as fe,K as re,L as ye,M as Ze,N as ne,C as Xe,O as ht,j as _t,Q as ue,a8 as gt,y as de,z as ce,A as me,B as be,q as x,r as $,u as ee,R as te,w as Ce,e as Ee,a4 as kt,o as vt,Z as he,_ as _e,$ as Ie,a1 as Me}from"./index.b7741aa8.js";import{aB as Bt,aC as we,B as Se,aD as Ct,aE as Dt}from"./Commands.8ebd7b3f.js";import{w as Et}from"./index.d3776286.js";function Ae(l,e,t){const i=l.slice();return i[55]=e[t],i}const It=l=>({}),Ne=l=>({}),Mt=l=>({}),Fe=l=>({});function He(l){let e,t,i,n,s;return t=new we({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=W("button"),de(t.$$.fragment),this.h()},l(o){e=U(o,"BUTTON",{type:!0,"aria-label":!0});var a=F(e);ce(t.$$.fragment,a),a.forEach(k),this.h()},h(){I(e,"type","button"),I(e,"aria-label",l[8]),b(e,"bx--modal-close",!0)},m(o,a){N(o,e,a),me(t,e,null),l[37](e),i=!0,n||(s=R(e,"click",l[38]),n=!0)},p(o,a){(!i||a[0]&256)&&I(e,"aria-label",o[8])},i(o){i||(C(t.$$.fragment,o),i=!0)},o(o){M(t.$$.fragment,o),i=!1},d(o){o&&k(e),be(t),l[37](null),n=!1,s()}}}function Ve(l){let e,t;const i=l[31].label,n=ae(i,l,l[50],Fe),s=n||Tt(l);return{c(){e=W("h2"),s&&s.c(),this.h()},l(o){e=U(o,"H2",{id:!0});var a=F(e);s&&s.l(a),a.forEach(k),this.h()},h(){I(e,"id",l[25]),b(e,"bx--modal-header__label",!0)},m(o,a){N(o,e,a),s&&s.m(e,null),t=!0},p(o,a){n?n.p&&(!t||a[1]&524288)&&se(n,i,o,o[50],t?re(i,o[50],a,Mt):fe(o[50]),Fe):s&&s.p&&(!t||a[0]&128)&&s.p(o,t?a:[-1,-1]),(!t||a[0]&33554432)&&I(e,"id",o[25])},i(o){t||(C(s,o),t=!0)},o(o){M(s,o),t=!1},d(o){o&&k(e),s&&s.d(o)}}}function Tt(l){let e;return{c(){e=x(l[7])},l(t){e=$(t,l[7])},m(t,i){N(t,e,i)},p(t,i){i[0]&128&&ee(e,t[7])},d(t){t&&k(e)}}}function zt(l){let e;return{c(){e=x(l[6])},l(t){e=$(t,l[6])},m(t,i){N(t,e,i)},p(t,i){i[0]&64&&ee(e,t[6])},d(t){t&&k(e)}}}function Pe(l){let e,t,i,n,s;return t=new we({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=W("button"),de(t.$$.fragment),this.h()},l(o){e=U(o,"BUTTON",{type:!0,"aria-label":!0});var a=F(e);ce(t.$$.fragment,a),a.forEach(k),this.h()},h(){I(e,"type","button"),I(e,"aria-label",l[8]),b(e,"bx--modal-close",!0)},m(o,a){N(o,e,a),me(t,e,null),l[39](e),i=!0,n||(s=R(e,"click",l[40]),n=!0)},p(o,a){(!i||a[0]&256)&&I(e,"aria-label",o[8])},i(o){i||(C(t.$$.fragment,o),i=!0)},o(o){M(t.$$.fragment,o),i=!1},d(o){o&&k(e),be(t),l[39](null),n=!1,s()}}}function qe(l){let e;return{c(){e=W("div"),this.h()},l(t){e=U(t,"DIV",{}),F(e).forEach(k),this.h()},h(){b(e,"bx--modal-content--overflow-indicator",!0)},m(t,i){N(t,e,i)},d(t){t&&k(e)}}}function Re(l){let e,t,i,n,s,o;const a=[yt,Ot],m=[];function c(D,E){return D[16].length>0?0:D[15]?1:-1}return~(t=c(l))&&(i=m[t]=a[t](l)),s=new Se({props:{kind:l[3]?"danger":"primary",disabled:l[12],icon:l[13],$$slots:{default:[At]},$$scope:{ctx:l}}}),s.$on("click",l[43]),{c(){e=W("div"),i&&i.c(),n=Z(),de(s.$$.fragment),this.h()},l(D){e=U(D,"DIV",{});var E=F(e);i&&i.l(E),n=X(E),ce(s.$$.fragment,E),E.forEach(k),this.h()},h(){b(e,"bx--modal-footer",!0),b(e,"bx--modal-footer--three-button",l[16].length===2)},m(D,E){N(D,e,E),~t&&m[t].m(e,null),S(e,n),me(s,e,null),o=!0},p(D,E){let V=t;t=c(D),t===V?~t&&m[t].p(D,E):(i&&(le(),M(m[V],1,1,()=>{m[V]=null}),ie()),~t?(i=m[t],i?i.p(D,E):(i=m[t]=a[t](D),i.c()),C(i,1),i.m(e,n)):i=null);const h={};E[0]&8&&(h.kind=D[3]?"danger":"primary"),E[0]&4096&&(h.disabled=D[12]),E[0]&8192&&(h.icon=D[13]),E[0]&2048|E[1]&524288&&(h.$$scope={dirty:E,ctx:D}),s.$set(h),(!o||E[0]&65536)&&b(e,"bx--modal-footer--three-button",D[16].length===2)},i(D){o||(C(i),C(s.$$.fragment,D),o=!0)},o(D){M(i),M(s.$$.fragment,D),o=!1},d(D){D&&k(e),~t&&m[t].d(),be(s)}}}function Ot(l){let e,t;return e=new Se({props:{kind:"secondary",$$slots:{default:[St]},$$scope:{ctx:l}}}),e.$on("click",l[42]),{c(){de(e.$$.fragment)},l(i){ce(e.$$.fragment,i)},m(i,n){me(e,i,n),t=!0},p(i,n){const s={};n[0]&32768|n[1]&524288&&(s.$$scope={dirty:n,ctx:i}),e.$set(s)},i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){M(e.$$.fragment,i),t=!1},d(i){be(e,i)}}}function yt(l){let e,t,i=l[16],n=[];for(let o=0;oM(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o{B=null}),ie()),u[7]?T?(T.p(u,g),g[0]&128&&C(T,1)):(T=Ve(u),T.c(),C(T,1),T.m(i,s)):T&&(le(),M(T,1,1,()=>{T=null}),ie()),O?O.p&&(!_||g[1]&524288)&&se(O,Q,u,u[50],_?re(Q,u[50],g,It):fe(u[50]),Ne):A&&A.p&&(!_||g[0]&64)&&A.p(u,_?g:[-1,-1]),(!_||g[0]&16777216)&&I(o,"id",u[24]),u[5]?d&&(le(),M(d,1,1,()=>{d=null}),ie()):d?(d.p(u,g),g[0]&32&&C(d,1)):(d=Pe(u),d.c(),C(d,1),d.m(i,null)),H&&H.p&&(!_||g[1]&524288)&&se(H,z,u,u[50],_?re(z,u[50],g,null):fe(u[50]),null),(!_||g[0]&8388608)&&I(c,"id",u[23]),(!_||g[0]&1024&&D!==(D=u[10]?"0":void 0))&&I(c,"tabindex",D),(!_||g[0]&1024&&E!==(E=u[10]?"region":void 0))&&I(c,"role",E),(!_||g[0]&4195328&&V!==(V=u[10]?u[22]:void 0))&&I(c,"aria-label",V),(!_||g[0]&50331776&&h!==(h=u[7]?u[25]:u[24]))&&I(c,"aria-labelledby",h),(!_||g[0]&512)&&b(c,"bx--modal-content--with-form",u[9]),(!_||g[0]&1024)&&b(c,"bx--modal-scroll-content",u[10]),u[10]?y||(y=qe(),y.c(),y.m(t,G)):y&&(y.d(1),y=null),u[5]?f&&(le(),M(f,1,1,()=>{f=null}),ie()):f?(f.p(u,g),g[0]&32&&C(f,1)):(f=Re(u),f.c(),C(f,1),f.m(t,null)),(!_||g[0]&48&&Y!==(Y=u[4]?u[5]?"alert":"alertdialog":"dialog"))&&I(t,"role",Y),(!_||g[0]&8388656&&P!==(P=u[4]&&!u[5]?u[23]:void 0))&&I(t,"aria-describedby",P),(!_||g[0]&4194304)&&I(t,"aria-label",u[22]),(!_||g[0]&4)&&b(t,"bx--modal-container--xs",u[2]==="xs"),(!_||g[0]&4)&&b(t,"bx--modal-container--sm",u[2]==="sm"),(!_||g[0]&4)&&b(t,"bx--modal-container--lg",u[2]==="lg"),De(e,L=ye(v,[{role:"presentation"},(!_||g[0]&262144)&&{id:u[18]},g[0]&268435456&&u[28]])),b(e,"bx--modal",!0),b(e,"bx--modal-tall",!u[5]),b(e,"is-visible",u[0]),b(e,"bx--modal--danger",u[3])},i(u){_||(C(B),C(T),C(A,u),C(d),C(H,u),C(f),_=!0)},o(u){M(B),M(T),M(A,u),M(d),M(H,u),M(f),_=!1},d(u){u&&k(e),B&&B.d(),T&&T.d(),A&&A.d(u),d&&d.d(),H&&H.d(u),y&&y.d(),f&&f.d(),l[44](null),l[46](null),K=!1,Ze(J)}}}function Ft(l,e,t){let i,n,s,o;const a=["size","open","danger","alert","passiveModal","modalHeading","modalLabel","modalAriaLabel","iconDescription","hasForm","hasScrollingContent","primaryButtonText","primaryButtonDisabled","primaryButtonIcon","shouldSubmitOnEnter","secondaryButtonText","secondaryButtons","selectorPrimaryFocus","preventCloseOnClickOutside","id","ref"];let m=ne(e,a),c,{$$slots:D={},$$scope:E}=e,{size:V=void 0}=e,{open:h=!1}=e,{danger:j=!1}=e,{alert:G=!1}=e,{passiveModal:Y=!1}=e,{modalHeading:P=void 0}=e,{modalLabel:_=void 0}=e,{modalAriaLabel:K=void 0}=e,{iconDescription:J="Close the modal"}=e,{hasForm:B=!1}=e,{hasScrollingContent:T=!1}=e,{primaryButtonText:Q=""}=e,{primaryButtonDisabled:O=!1}=e,{primaryButtonIcon:A=void 0}=e,{shouldSubmitOnEnter:d=!0}=e,{secondaryButtonText:z=""}=e,{secondaryButtons:H=[]}=e,{selectorPrimaryFocus:y="[data-modal-primary-focus]"}=e,{preventCloseOnClickOutside:f=!1}=e,{id:v="ccs-"+Math.random().toString(36)}=e,{ref:L=null}=e;const u=Xe();let g=null,q=null,w=!1,oe=!1;function ke(r){((r||q).querySelector(y)||g).focus()}const ve=Et(h);ht(l,ve,r=>t(52,c=r)),Bt(ve),_t(()=>{w?h||(w=!1,u("close")):h&&(w=!0,ke(),u("open"))});function pe(r){te.call(this,l,r)}function xe(r){te.call(this,l,r)}function $e(r){te.call(this,l,r)}function et(r){te.call(this,l,r)}function tt(r){te.call(this,l,r)}function lt(r){Ce[r?"unshift":"push"](()=>{g=r,t(19,g)})}const it=()=>{t(0,h=!1)};function nt(r){Ce[r?"unshift":"push"](()=>{g=r,t(19,g)})}const ot=()=>{t(0,h=!1)},at=r=>{u("click:button--secondary",{text:r.text})},st=()=>{u("click:button--secondary",{text:z})},ft=()=>{u("submit"),u("click:button--primary")};function rt(r){Ce[r?"unshift":"push"](()=>{q=r,t(20,q)})}const ut=()=>{t(21,oe=!0)};function dt(r){Ce[r?"unshift":"push"](()=>{L=r,t(1,L)})}const ct=r=>{if(h)if(r.key==="Escape")t(0,h=!1);else if(r.key==="Tab"){const Le=`
+ a[href], area[href], input:not([disabled]):not([tabindex='-1']),
+ button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
+ textarea:not([disabled]):not([tabindex='-1']),
+ iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]
+`,Be=Array.from(L.querySelectorAll(Le));let ge=Be.indexOf(document.activeElement);ge===-1&&r.shiftKey&&(ge=0),ge+=Be.length+(r.shiftKey?-1:1),ge%=Be.length,Be[ge].focus(),r.preventDefault()}else d&&r.key==="Enter"&&!O&&(u("submit"),u("click:button--primary"))},mt=()=>{!oe&&!f&&t(0,h=!1),t(21,oe=!1)},bt=r=>{r.propertyName==="transform"&&u("transitionend",{open:h})};return l.$$set=r=>{t(54,e=p(p({},e),ue(r))),t(28,m=ne(e,a)),"size"in r&&t(2,V=r.size),"open"in r&&t(0,h=r.open),"danger"in r&&t(3,j=r.danger),"alert"in r&&t(4,G=r.alert),"passiveModal"in r&&t(5,Y=r.passiveModal),"modalHeading"in r&&t(6,P=r.modalHeading),"modalLabel"in r&&t(7,_=r.modalLabel),"modalAriaLabel"in r&&t(29,K=r.modalAriaLabel),"iconDescription"in r&&t(8,J=r.iconDescription),"hasForm"in r&&t(9,B=r.hasForm),"hasScrollingContent"in r&&t(10,T=r.hasScrollingContent),"primaryButtonText"in r&&t(11,Q=r.primaryButtonText),"primaryButtonDisabled"in r&&t(12,O=r.primaryButtonDisabled),"primaryButtonIcon"in r&&t(13,A=r.primaryButtonIcon),"shouldSubmitOnEnter"in r&&t(14,d=r.shouldSubmitOnEnter),"secondaryButtonText"in r&&t(15,z=r.secondaryButtonText),"secondaryButtons"in r&&t(16,H=r.secondaryButtons),"selectorPrimaryFocus"in r&&t(30,y=r.selectorPrimaryFocus),"preventCloseOnClickOutside"in r&&t(17,f=r.preventCloseOnClickOutside),"id"in r&&t(18,v=r.id),"ref"in r&&t(1,L=r.ref),"$$scope"in r&&t(50,E=r.$$scope)},l.$$.update=()=>{l.$$.dirty[0]&1&>(ve,c=h,c),l.$$.dirty[0]&262144&&t(25,i=`bx--modal-header__label--modal-${v}`),l.$$.dirty[0]&262144&&t(24,n=`bx--modal-header__heading--modal-${v}`),l.$$.dirty[0]&262144&&t(23,s=`bx--modal-body--${v}`),t(22,o=_||e["aria-label"]||K||P)},e=ue(e),[h,L,V,j,G,Y,P,_,J,B,T,Q,O,A,d,z,H,f,v,g,q,oe,o,s,n,i,u,ve,m,K,y,D,pe,xe,$e,et,tt,lt,it,nt,ot,at,st,ft,rt,ut,dt,ct,mt,bt,E]}class Ht extends Te{constructor(e){super(),ze(this,e,Ft,Nt,Oe,{size:2,open:0,danger:3,alert:4,passiveModal:5,modalHeading:6,modalLabel:7,modalAriaLabel:29,iconDescription:8,hasForm:9,hasScrollingContent:10,primaryButtonText:11,primaryButtonDisabled:12,primaryButtonIcon:13,shouldSubmitOnEnter:14,secondaryButtonText:15,secondaryButtons:16,selectorPrimaryFocus:30,preventCloseOnClickOutside:17,id:18,ref:1},null,[-1,-1])}}const xt=Ht,Vt=l=>({}),Ue=l=>({}),Pt=l=>({}),Ye=l=>({}),qt=l=>({}),Ke=l=>({});function je(l){let e,t,i,n,s,o,a,m,c,D,E,V,h,j,G;t=new Ct({props:{kind:l[0],iconDescription:l[6]}});const Y=l[15].title,P=ae(Y,l,l[14],Ke),_=P||Rt(l),K=l[15].subtitle,J=ae(K,l,l[14],Ye),B=J||Wt(l),T=l[15].caption,Q=ae(T,l,l[14],Ue),O=Q||Ut(l),A=l[15].default,d=ae(A,l,l[14],null);let z=!l[8]&&Ge(l),H=[{role:l[2]},{kind:l[0]},l[12],{style:V=""+((l[9]&&"width: 100%;")+l[12].style)}],y={};for(let f=0;f{z=null}),ie()):z?(z.p(f,v),v&256&&C(z,1)):(z=Ge(f),z.c(),C(z,1),z.m(e,null)),De(e,y=ye(H,[(!h||v&4)&&{role:f[2]},(!h||v&1)&&{kind:f[0]},v&4096&&f[12],(!h||v&4608&&V!==(V=""+((f[9]&&"width: 100%;")+f[12].style)))&&{style:V}])),b(e,"bx--toast-notification",!0),b(e,"bx--toast-notification--low-contrast",f[1]),b(e,"bx--toast-notification--error",f[0]==="error"),b(e,"bx--toast-notification--info",f[0]==="info"),b(e,"bx--toast-notification--info-square",f[0]==="info-square"),b(e,"bx--toast-notification--success",f[0]==="success"),b(e,"bx--toast-notification--warning",f[0]==="warning"),b(e,"bx--toast-notification--warning-alt",f[0]==="warning-alt")},i(f){h||(C(t.$$.fragment,f),C(_,f),C(B,f),C(O,f),C(d,f),C(z),h=!0)},o(f){M(t.$$.fragment,f),M(_,f),M(B,f),M(O,f),M(d,f),M(z),h=!1},d(f){f&&k(e),be(t),_&&_.d(f),B&&B.d(f),O&&O.d(f),d&&d.d(f),z&&z.d(),j=!1,Ze(G)}}}function Rt(l){let e;return{c(){e=x(l[3])},l(t){e=$(t,l[3])},m(t,i){N(t,e,i)},p(t,i){i&8&&ee(e,t[3])},d(t){t&&k(e)}}}function Wt(l){let e;return{c(){e=x(l[4])},l(t){e=$(t,l[4])},m(t,i){N(t,e,i)},p(t,i){i&16&&ee(e,t[4])},d(t){t&&k(e)}}}function Ut(l){let e;return{c(){e=x(l[5])},l(t){e=$(t,l[5])},m(t,i){N(t,e,i)},p(t,i){i&32&&ee(e,t[5])},d(t){t&&k(e)}}}function Ge(l){let e,t;return e=new Dt({props:{iconDescription:l[7]}}),e.$on("click",l[11]),{c(){de(e.$$.fragment)},l(i){ce(e.$$.fragment,i)},m(i,n){me(e,i,n),t=!0},p(i,n){const s={};n&128&&(s.iconDescription=i[7]),e.$set(s)},i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){M(e.$$.fragment,i),t=!1},d(i){be(e,i)}}}function Yt(l){let e,t,i=l[10]&&je(l);return{c(){i&&i.c(),e=Ee()},l(n){i&&i.l(n),e=Ee()},m(n,s){i&&i.m(n,s),N(n,e,s),t=!0},p(n,[s]){n[10]?i?(i.p(n,s),s&1024&&C(i,1)):(i=je(n),i.c(),C(i,1),i.m(e.parentNode,e)):i&&(le(),M(i,1,1,()=>{i=null}),ie())},i(n){t||(C(i),t=!0)},o(n){M(i),t=!1},d(n){i&&i.d(n),n&&k(e)}}}function Kt(l,e,t){const i=["kind","lowContrast","timeout","role","title","subtitle","caption","statusIconDescription","closeButtonDescription","hideCloseButton","fullWidth"];let n=ne(e,i),{$$slots:s={},$$scope:o}=e,{kind:a="error"}=e,{lowContrast:m=!1}=e,{timeout:c=0}=e,{role:D="alert"}=e,{title:E=""}=e,{subtitle:V=""}=e,{caption:h=""}=e,{statusIconDescription:j=a+" icon"}=e,{closeButtonDescription:G="Close notification"}=e,{hideCloseButton:Y=!1}=e,{fullWidth:P=!1}=e;const _=Xe();let K=!0,J;function B(d){_("close",{timeout:d===!0},{cancelable:!0})&&t(10,K=!1)}vt(()=>(c&&(J=setTimeout(()=>B(!0),c)),()=>{clearTimeout(J)}));function T(d){te.call(this,l,d)}function Q(d){te.call(this,l,d)}function O(d){te.call(this,l,d)}function A(d){te.call(this,l,d)}return l.$$set=d=>{e=p(p({},e),ue(d)),t(12,n=ne(e,i)),"kind"in d&&t(0,a=d.kind),"lowContrast"in d&&t(1,m=d.lowContrast),"timeout"in d&&t(13,c=d.timeout),"role"in d&&t(2,D=d.role),"title"in d&&t(3,E=d.title),"subtitle"in d&&t(4,V=d.subtitle),"caption"in d&&t(5,h=d.caption),"statusIconDescription"in d&&t(6,j=d.statusIconDescription),"closeButtonDescription"in d&&t(7,G=d.closeButtonDescription),"hideCloseButton"in d&&t(8,Y=d.hideCloseButton),"fullWidth"in d&&t(9,P=d.fullWidth),"$$scope"in d&&t(14,o=d.$$scope)},[a,m,D,E,V,h,j,G,Y,P,K,B,n,c,o,s,T,Q,O,A]}class jt extends Te{constructor(e){super(),ze(this,e,Kt,Yt,Oe,{kind:0,lowContrast:1,timeout:13,role:2,title:3,subtitle:4,caption:5,statusIconDescription:6,closeButtonDescription:7,hideCloseButton:8,fullWidth:9})}}const $t=jt;function Je(l){let e,t;return{c(){e=he("title"),t=x(l[1])},l(i){e=_e(i,"title",{});var n=F(e);t=$(n,l[1]),n.forEach(k)},m(i,n){N(i,e,n),S(e,t)},p(i,n){n&2&&ee(t,i[1])},d(i){i&&k(e)}}}function Gt(l){let e,t,i=l[1]&&Je(l),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],s={};for(let o=0;o{t(5,e=p(p({},e),ue(c))),t(3,o=ne(e,s)),"size"in c&&t(0,a=c.size),"title"in c&&t(1,m=c.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||m),t(2,n={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ue(e),[a,m,n,o,i]}class el extends Te{constructor(e){super(),ze(this,e,Jt,Gt,Oe,{size:0,title:1})}}function Qe(l){let e,t;return{c(){e=he("title"),t=x(l[1])},l(i){e=_e(i,"title",{});var n=F(e);t=$(n,l[1]),n.forEach(k)},m(i,n){N(i,e,n),S(e,t)},p(i,n){n&2&&ee(t,i[1])},d(i){i&&k(e)}}}function Qt(l){let e,t,i=l[1]&&Qe(l),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],s={};for(let o=0;o{t(5,e=p(p({},e),ue(c))),t(3,o=ne(e,s)),"size"in c&&t(0,a=c.size),"title"in c&&t(1,m=c.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||m),t(2,n={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ue(e),[a,m,n,o,i]}class tl extends Te{constructor(e){super(),ze(this,e,Zt,Qt,Oe,{size:0,title:1})}}export{el as C,xt as M,$t as T,tl as a};
diff --git a/lilac/web/_app/immutable/chunks/ChevronUp.fd8b7f97.js b/lilac/web/_app/immutable/chunks/ChevronUp.fd8b7f97.js
new file mode 100644
index 0000000000000000000000000000000000000000..f24da9bad0e34890dbae49f2b500b993da38b729
--- /dev/null
+++ b/lilac/web/_app/immutable/chunks/ChevronUp.fd8b7f97.js
@@ -0,0 +1,6 @@
+import{S as Te,i as ze,s as Oe,D as ae,E as p,k as W,a as Z,l as U,m as F,c as X,h as k,n as I,G as b,F as De,b as N,a0 as S,H as R,g as C,v as le,d as M,f as ie,I as se,J as fe,K as re,L as ye,M as Ze,N as ne,C as Xe,O as ht,j as _t,Q as ue,a8 as gt,y as de,z as ce,A as me,B as be,q as x,r as $,u as ee,R as te,w as Ce,e as Ee,a4 as kt,o as vt,Z as he,_ as _e,$ as Ie,a1 as Me}from"./index.b7741aa8.js";import{aB as Bt,aC as we,B as Se,aD as Ct,aE as Dt}from"./Commands.466155dd.js";import{w as Et}from"./index.d3776286.js";function Ae(l,e,t){const i=l.slice();return i[55]=e[t],i}const It=l=>({}),Ne=l=>({}),Mt=l=>({}),Fe=l=>({});function He(l){let e,t,i,n,s;return t=new we({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=W("button"),de(t.$$.fragment),this.h()},l(o){e=U(o,"BUTTON",{type:!0,"aria-label":!0});var a=F(e);ce(t.$$.fragment,a),a.forEach(k),this.h()},h(){I(e,"type","button"),I(e,"aria-label",l[8]),b(e,"bx--modal-close",!0)},m(o,a){N(o,e,a),me(t,e,null),l[37](e),i=!0,n||(s=R(e,"click",l[38]),n=!0)},p(o,a){(!i||a[0]&256)&&I(e,"aria-label",o[8])},i(o){i||(C(t.$$.fragment,o),i=!0)},o(o){M(t.$$.fragment,o),i=!1},d(o){o&&k(e),be(t),l[37](null),n=!1,s()}}}function Ve(l){let e,t;const i=l[31].label,n=ae(i,l,l[50],Fe),s=n||Tt(l);return{c(){e=W("h2"),s&&s.c(),this.h()},l(o){e=U(o,"H2",{id:!0});var a=F(e);s&&s.l(a),a.forEach(k),this.h()},h(){I(e,"id",l[25]),b(e,"bx--modal-header__label",!0)},m(o,a){N(o,e,a),s&&s.m(e,null),t=!0},p(o,a){n?n.p&&(!t||a[1]&524288)&&se(n,i,o,o[50],t?re(i,o[50],a,Mt):fe(o[50]),Fe):s&&s.p&&(!t||a[0]&128)&&s.p(o,t?a:[-1,-1]),(!t||a[0]&33554432)&&I(e,"id",o[25])},i(o){t||(C(s,o),t=!0)},o(o){M(s,o),t=!1},d(o){o&&k(e),s&&s.d(o)}}}function Tt(l){let e;return{c(){e=x(l[7])},l(t){e=$(t,l[7])},m(t,i){N(t,e,i)},p(t,i){i[0]&128&&ee(e,t[7])},d(t){t&&k(e)}}}function zt(l){let e;return{c(){e=x(l[6])},l(t){e=$(t,l[6])},m(t,i){N(t,e,i)},p(t,i){i[0]&64&&ee(e,t[6])},d(t){t&&k(e)}}}function Pe(l){let e,t,i,n,s;return t=new we({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=W("button"),de(t.$$.fragment),this.h()},l(o){e=U(o,"BUTTON",{type:!0,"aria-label":!0});var a=F(e);ce(t.$$.fragment,a),a.forEach(k),this.h()},h(){I(e,"type","button"),I(e,"aria-label",l[8]),b(e,"bx--modal-close",!0)},m(o,a){N(o,e,a),me(t,e,null),l[39](e),i=!0,n||(s=R(e,"click",l[40]),n=!0)},p(o,a){(!i||a[0]&256)&&I(e,"aria-label",o[8])},i(o){i||(C(t.$$.fragment,o),i=!0)},o(o){M(t.$$.fragment,o),i=!1},d(o){o&&k(e),be(t),l[39](null),n=!1,s()}}}function qe(l){let e;return{c(){e=W("div"),this.h()},l(t){e=U(t,"DIV",{}),F(e).forEach(k),this.h()},h(){b(e,"bx--modal-content--overflow-indicator",!0)},m(t,i){N(t,e,i)},d(t){t&&k(e)}}}function Re(l){let e,t,i,n,s,o;const a=[yt,Ot],m=[];function c(D,E){return D[16].length>0?0:D[15]?1:-1}return~(t=c(l))&&(i=m[t]=a[t](l)),s=new Se({props:{kind:l[3]?"danger":"primary",disabled:l[12],icon:l[13],$$slots:{default:[At]},$$scope:{ctx:l}}}),s.$on("click",l[43]),{c(){e=W("div"),i&&i.c(),n=Z(),de(s.$$.fragment),this.h()},l(D){e=U(D,"DIV",{});var E=F(e);i&&i.l(E),n=X(E),ce(s.$$.fragment,E),E.forEach(k),this.h()},h(){b(e,"bx--modal-footer",!0),b(e,"bx--modal-footer--three-button",l[16].length===2)},m(D,E){N(D,e,E),~t&&m[t].m(e,null),S(e,n),me(s,e,null),o=!0},p(D,E){let V=t;t=c(D),t===V?~t&&m[t].p(D,E):(i&&(le(),M(m[V],1,1,()=>{m[V]=null}),ie()),~t?(i=m[t],i?i.p(D,E):(i=m[t]=a[t](D),i.c()),C(i,1),i.m(e,n)):i=null);const h={};E[0]&8&&(h.kind=D[3]?"danger":"primary"),E[0]&4096&&(h.disabled=D[12]),E[0]&8192&&(h.icon=D[13]),E[0]&2048|E[1]&524288&&(h.$$scope={dirty:E,ctx:D}),s.$set(h),(!o||E[0]&65536)&&b(e,"bx--modal-footer--three-button",D[16].length===2)},i(D){o||(C(i),C(s.$$.fragment,D),o=!0)},o(D){M(i),M(s.$$.fragment,D),o=!1},d(D){D&&k(e),~t&&m[t].d(),be(s)}}}function Ot(l){let e,t;return e=new Se({props:{kind:"secondary",$$slots:{default:[St]},$$scope:{ctx:l}}}),e.$on("click",l[42]),{c(){de(e.$$.fragment)},l(i){ce(e.$$.fragment,i)},m(i,n){me(e,i,n),t=!0},p(i,n){const s={};n[0]&32768|n[1]&524288&&(s.$$scope={dirty:n,ctx:i}),e.$set(s)},i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){M(e.$$.fragment,i),t=!1},d(i){be(e,i)}}}function yt(l){let e,t,i=l[16],n=[];for(let o=0;oM(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o{B=null}),ie()),u[7]?T?(T.p(u,g),g[0]&128&&C(T,1)):(T=Ve(u),T.c(),C(T,1),T.m(i,s)):T&&(le(),M(T,1,1,()=>{T=null}),ie()),O?O.p&&(!_||g[1]&524288)&&se(O,Q,u,u[50],_?re(Q,u[50],g,It):fe(u[50]),Ne):A&&A.p&&(!_||g[0]&64)&&A.p(u,_?g:[-1,-1]),(!_||g[0]&16777216)&&I(o,"id",u[24]),u[5]?d&&(le(),M(d,1,1,()=>{d=null}),ie()):d?(d.p(u,g),g[0]&32&&C(d,1)):(d=Pe(u),d.c(),C(d,1),d.m(i,null)),H&&H.p&&(!_||g[1]&524288)&&se(H,z,u,u[50],_?re(z,u[50],g,null):fe(u[50]),null),(!_||g[0]&8388608)&&I(c,"id",u[23]),(!_||g[0]&1024&&D!==(D=u[10]?"0":void 0))&&I(c,"tabindex",D),(!_||g[0]&1024&&E!==(E=u[10]?"region":void 0))&&I(c,"role",E),(!_||g[0]&4195328&&V!==(V=u[10]?u[22]:void 0))&&I(c,"aria-label",V),(!_||g[0]&50331776&&h!==(h=u[7]?u[25]:u[24]))&&I(c,"aria-labelledby",h),(!_||g[0]&512)&&b(c,"bx--modal-content--with-form",u[9]),(!_||g[0]&1024)&&b(c,"bx--modal-scroll-content",u[10]),u[10]?y||(y=qe(),y.c(),y.m(t,G)):y&&(y.d(1),y=null),u[5]?f&&(le(),M(f,1,1,()=>{f=null}),ie()):f?(f.p(u,g),g[0]&32&&C(f,1)):(f=Re(u),f.c(),C(f,1),f.m(t,null)),(!_||g[0]&48&&Y!==(Y=u[4]?u[5]?"alert":"alertdialog":"dialog"))&&I(t,"role",Y),(!_||g[0]&8388656&&P!==(P=u[4]&&!u[5]?u[23]:void 0))&&I(t,"aria-describedby",P),(!_||g[0]&4194304)&&I(t,"aria-label",u[22]),(!_||g[0]&4)&&b(t,"bx--modal-container--xs",u[2]==="xs"),(!_||g[0]&4)&&b(t,"bx--modal-container--sm",u[2]==="sm"),(!_||g[0]&4)&&b(t,"bx--modal-container--lg",u[2]==="lg"),De(e,L=ye(v,[{role:"presentation"},(!_||g[0]&262144)&&{id:u[18]},g[0]&268435456&&u[28]])),b(e,"bx--modal",!0),b(e,"bx--modal-tall",!u[5]),b(e,"is-visible",u[0]),b(e,"bx--modal--danger",u[3])},i(u){_||(C(B),C(T),C(A,u),C(d),C(H,u),C(f),_=!0)},o(u){M(B),M(T),M(A,u),M(d),M(H,u),M(f),_=!1},d(u){u&&k(e),B&&B.d(),T&&T.d(),A&&A.d(u),d&&d.d(),H&&H.d(u),y&&y.d(),f&&f.d(),l[44](null),l[46](null),K=!1,Ze(J)}}}function Ft(l,e,t){let i,n,s,o;const a=["size","open","danger","alert","passiveModal","modalHeading","modalLabel","modalAriaLabel","iconDescription","hasForm","hasScrollingContent","primaryButtonText","primaryButtonDisabled","primaryButtonIcon","shouldSubmitOnEnter","secondaryButtonText","secondaryButtons","selectorPrimaryFocus","preventCloseOnClickOutside","id","ref"];let m=ne(e,a),c,{$$slots:D={},$$scope:E}=e,{size:V=void 0}=e,{open:h=!1}=e,{danger:j=!1}=e,{alert:G=!1}=e,{passiveModal:Y=!1}=e,{modalHeading:P=void 0}=e,{modalLabel:_=void 0}=e,{modalAriaLabel:K=void 0}=e,{iconDescription:J="Close the modal"}=e,{hasForm:B=!1}=e,{hasScrollingContent:T=!1}=e,{primaryButtonText:Q=""}=e,{primaryButtonDisabled:O=!1}=e,{primaryButtonIcon:A=void 0}=e,{shouldSubmitOnEnter:d=!0}=e,{secondaryButtonText:z=""}=e,{secondaryButtons:H=[]}=e,{selectorPrimaryFocus:y="[data-modal-primary-focus]"}=e,{preventCloseOnClickOutside:f=!1}=e,{id:v="ccs-"+Math.random().toString(36)}=e,{ref:L=null}=e;const u=Xe();let g=null,q=null,w=!1,oe=!1;function ke(r){((r||q).querySelector(y)||g).focus()}const ve=Et(h);ht(l,ve,r=>t(52,c=r)),Bt(ve),_t(()=>{w?h||(w=!1,u("close")):h&&(w=!0,ke(),u("open"))});function pe(r){te.call(this,l,r)}function xe(r){te.call(this,l,r)}function $e(r){te.call(this,l,r)}function et(r){te.call(this,l,r)}function tt(r){te.call(this,l,r)}function lt(r){Ce[r?"unshift":"push"](()=>{g=r,t(19,g)})}const it=()=>{t(0,h=!1)};function nt(r){Ce[r?"unshift":"push"](()=>{g=r,t(19,g)})}const ot=()=>{t(0,h=!1)},at=r=>{u("click:button--secondary",{text:r.text})},st=()=>{u("click:button--secondary",{text:z})},ft=()=>{u("submit"),u("click:button--primary")};function rt(r){Ce[r?"unshift":"push"](()=>{q=r,t(20,q)})}const ut=()=>{t(21,oe=!0)};function dt(r){Ce[r?"unshift":"push"](()=>{L=r,t(1,L)})}const ct=r=>{if(h)if(r.key==="Escape")t(0,h=!1);else if(r.key==="Tab"){const Le=`
+ a[href], area[href], input:not([disabled]):not([tabindex='-1']),
+ button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
+ textarea:not([disabled]):not([tabindex='-1']),
+ iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]
+`,Be=Array.from(L.querySelectorAll(Le));let ge=Be.indexOf(document.activeElement);ge===-1&&r.shiftKey&&(ge=0),ge+=Be.length+(r.shiftKey?-1:1),ge%=Be.length,Be[ge].focus(),r.preventDefault()}else d&&r.key==="Enter"&&!O&&(u("submit"),u("click:button--primary"))},mt=()=>{!oe&&!f&&t(0,h=!1),t(21,oe=!1)},bt=r=>{r.propertyName==="transform"&&u("transitionend",{open:h})};return l.$$set=r=>{t(54,e=p(p({},e),ue(r))),t(28,m=ne(e,a)),"size"in r&&t(2,V=r.size),"open"in r&&t(0,h=r.open),"danger"in r&&t(3,j=r.danger),"alert"in r&&t(4,G=r.alert),"passiveModal"in r&&t(5,Y=r.passiveModal),"modalHeading"in r&&t(6,P=r.modalHeading),"modalLabel"in r&&t(7,_=r.modalLabel),"modalAriaLabel"in r&&t(29,K=r.modalAriaLabel),"iconDescription"in r&&t(8,J=r.iconDescription),"hasForm"in r&&t(9,B=r.hasForm),"hasScrollingContent"in r&&t(10,T=r.hasScrollingContent),"primaryButtonText"in r&&t(11,Q=r.primaryButtonText),"primaryButtonDisabled"in r&&t(12,O=r.primaryButtonDisabled),"primaryButtonIcon"in r&&t(13,A=r.primaryButtonIcon),"shouldSubmitOnEnter"in r&&t(14,d=r.shouldSubmitOnEnter),"secondaryButtonText"in r&&t(15,z=r.secondaryButtonText),"secondaryButtons"in r&&t(16,H=r.secondaryButtons),"selectorPrimaryFocus"in r&&t(30,y=r.selectorPrimaryFocus),"preventCloseOnClickOutside"in r&&t(17,f=r.preventCloseOnClickOutside),"id"in r&&t(18,v=r.id),"ref"in r&&t(1,L=r.ref),"$$scope"in r&&t(50,E=r.$$scope)},l.$$.update=()=>{l.$$.dirty[0]&1&>(ve,c=h,c),l.$$.dirty[0]&262144&&t(25,i=`bx--modal-header__label--modal-${v}`),l.$$.dirty[0]&262144&&t(24,n=`bx--modal-header__heading--modal-${v}`),l.$$.dirty[0]&262144&&t(23,s=`bx--modal-body--${v}`),t(22,o=_||e["aria-label"]||K||P)},e=ue(e),[h,L,V,j,G,Y,P,_,J,B,T,Q,O,A,d,z,H,f,v,g,q,oe,o,s,n,i,u,ve,m,K,y,D,pe,xe,$e,et,tt,lt,it,nt,ot,at,st,ft,rt,ut,dt,ct,mt,bt,E]}class Ht extends Te{constructor(e){super(),ze(this,e,Ft,Nt,Oe,{size:2,open:0,danger:3,alert:4,passiveModal:5,modalHeading:6,modalLabel:7,modalAriaLabel:29,iconDescription:8,hasForm:9,hasScrollingContent:10,primaryButtonText:11,primaryButtonDisabled:12,primaryButtonIcon:13,shouldSubmitOnEnter:14,secondaryButtonText:15,secondaryButtons:16,selectorPrimaryFocus:30,preventCloseOnClickOutside:17,id:18,ref:1},null,[-1,-1])}}const xt=Ht,Vt=l=>({}),Ue=l=>({}),Pt=l=>({}),Ye=l=>({}),qt=l=>({}),Ke=l=>({});function je(l){let e,t,i,n,s,o,a,m,c,D,E,V,h,j,G;t=new Ct({props:{kind:l[0],iconDescription:l[6]}});const Y=l[15].title,P=ae(Y,l,l[14],Ke),_=P||Rt(l),K=l[15].subtitle,J=ae(K,l,l[14],Ye),B=J||Wt(l),T=l[15].caption,Q=ae(T,l,l[14],Ue),O=Q||Ut(l),A=l[15].default,d=ae(A,l,l[14],null);let z=!l[8]&&Ge(l),H=[{role:l[2]},{kind:l[0]},l[12],{style:V=""+((l[9]&&"width: 100%;")+l[12].style)}],y={};for(let f=0;f{z=null}),ie()):z?(z.p(f,v),v&256&&C(z,1)):(z=Ge(f),z.c(),C(z,1),z.m(e,null)),De(e,y=ye(H,[(!h||v&4)&&{role:f[2]},(!h||v&1)&&{kind:f[0]},v&4096&&f[12],(!h||v&4608&&V!==(V=""+((f[9]&&"width: 100%;")+f[12].style)))&&{style:V}])),b(e,"bx--toast-notification",!0),b(e,"bx--toast-notification--low-contrast",f[1]),b(e,"bx--toast-notification--error",f[0]==="error"),b(e,"bx--toast-notification--info",f[0]==="info"),b(e,"bx--toast-notification--info-square",f[0]==="info-square"),b(e,"bx--toast-notification--success",f[0]==="success"),b(e,"bx--toast-notification--warning",f[0]==="warning"),b(e,"bx--toast-notification--warning-alt",f[0]==="warning-alt")},i(f){h||(C(t.$$.fragment,f),C(_,f),C(B,f),C(O,f),C(d,f),C(z),h=!0)},o(f){M(t.$$.fragment,f),M(_,f),M(B,f),M(O,f),M(d,f),M(z),h=!1},d(f){f&&k(e),be(t),_&&_.d(f),B&&B.d(f),O&&O.d(f),d&&d.d(f),z&&z.d(),j=!1,Ze(G)}}}function Rt(l){let e;return{c(){e=x(l[3])},l(t){e=$(t,l[3])},m(t,i){N(t,e,i)},p(t,i){i&8&&ee(e,t[3])},d(t){t&&k(e)}}}function Wt(l){let e;return{c(){e=x(l[4])},l(t){e=$(t,l[4])},m(t,i){N(t,e,i)},p(t,i){i&16&&ee(e,t[4])},d(t){t&&k(e)}}}function Ut(l){let e;return{c(){e=x(l[5])},l(t){e=$(t,l[5])},m(t,i){N(t,e,i)},p(t,i){i&32&&ee(e,t[5])},d(t){t&&k(e)}}}function Ge(l){let e,t;return e=new Dt({props:{iconDescription:l[7]}}),e.$on("click",l[11]),{c(){de(e.$$.fragment)},l(i){ce(e.$$.fragment,i)},m(i,n){me(e,i,n),t=!0},p(i,n){const s={};n&128&&(s.iconDescription=i[7]),e.$set(s)},i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){M(e.$$.fragment,i),t=!1},d(i){be(e,i)}}}function Yt(l){let e,t,i=l[10]&&je(l);return{c(){i&&i.c(),e=Ee()},l(n){i&&i.l(n),e=Ee()},m(n,s){i&&i.m(n,s),N(n,e,s),t=!0},p(n,[s]){n[10]?i?(i.p(n,s),s&1024&&C(i,1)):(i=je(n),i.c(),C(i,1),i.m(e.parentNode,e)):i&&(le(),M(i,1,1,()=>{i=null}),ie())},i(n){t||(C(i),t=!0)},o(n){M(i),t=!1},d(n){i&&i.d(n),n&&k(e)}}}function Kt(l,e,t){const i=["kind","lowContrast","timeout","role","title","subtitle","caption","statusIconDescription","closeButtonDescription","hideCloseButton","fullWidth"];let n=ne(e,i),{$$slots:s={},$$scope:o}=e,{kind:a="error"}=e,{lowContrast:m=!1}=e,{timeout:c=0}=e,{role:D="alert"}=e,{title:E=""}=e,{subtitle:V=""}=e,{caption:h=""}=e,{statusIconDescription:j=a+" icon"}=e,{closeButtonDescription:G="Close notification"}=e,{hideCloseButton:Y=!1}=e,{fullWidth:P=!1}=e;const _=Xe();let K=!0,J;function B(d){_("close",{timeout:d===!0},{cancelable:!0})&&t(10,K=!1)}vt(()=>(c&&(J=setTimeout(()=>B(!0),c)),()=>{clearTimeout(J)}));function T(d){te.call(this,l,d)}function Q(d){te.call(this,l,d)}function O(d){te.call(this,l,d)}function A(d){te.call(this,l,d)}return l.$$set=d=>{e=p(p({},e),ue(d)),t(12,n=ne(e,i)),"kind"in d&&t(0,a=d.kind),"lowContrast"in d&&t(1,m=d.lowContrast),"timeout"in d&&t(13,c=d.timeout),"role"in d&&t(2,D=d.role),"title"in d&&t(3,E=d.title),"subtitle"in d&&t(4,V=d.subtitle),"caption"in d&&t(5,h=d.caption),"statusIconDescription"in d&&t(6,j=d.statusIconDescription),"closeButtonDescription"in d&&t(7,G=d.closeButtonDescription),"hideCloseButton"in d&&t(8,Y=d.hideCloseButton),"fullWidth"in d&&t(9,P=d.fullWidth),"$$scope"in d&&t(14,o=d.$$scope)},[a,m,D,E,V,h,j,G,Y,P,K,B,n,c,o,s,T,Q,O,A]}class jt extends Te{constructor(e){super(),ze(this,e,Kt,Yt,Oe,{kind:0,lowContrast:1,timeout:13,role:2,title:3,subtitle:4,caption:5,statusIconDescription:6,closeButtonDescription:7,hideCloseButton:8,fullWidth:9})}}const $t=jt;function Je(l){let e,t;return{c(){e=he("title"),t=x(l[1])},l(i){e=_e(i,"title",{});var n=F(e);t=$(n,l[1]),n.forEach(k)},m(i,n){N(i,e,n),S(e,t)},p(i,n){n&2&&ee(t,i[1])},d(i){i&&k(e)}}}function Gt(l){let e,t,i=l[1]&&Je(l),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],s={};for(let o=0;o{t(5,e=p(p({},e),ue(c))),t(3,o=ne(e,s)),"size"in c&&t(0,a=c.size),"title"in c&&t(1,m=c.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||m),t(2,n={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ue(e),[a,m,n,o,i]}class el extends Te{constructor(e){super(),ze(this,e,Jt,Gt,Oe,{size:0,title:1})}}function Qe(l){let e,t;return{c(){e=he("title"),t=x(l[1])},l(i){e=_e(i,"title",{});var n=F(e);t=$(n,l[1]),n.forEach(k)},m(i,n){N(i,e,n),S(e,t)},p(i,n){n&2&&ee(t,i[1])},d(i){i&&k(e)}}}function Qt(l){let e,t,i=l[1]&&Qe(l),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],s={};for(let o=0;o{t(5,e=p(p({},e),ue(c))),t(3,o=ne(e,s)),"size"in c&&t(0,a=c.size),"title"in c&&t(1,m=c.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||m),t(2,n={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ue(e),[a,m,n,o,i]}class tl extends Te{constructor(e){super(),ze(this,e,Zt,Qt,Oe,{size:0,title:1})}}export{el as C,xt as M,$t as T,tl as a};
diff --git a/lilac/web/_app/immutable/chunks/ComboBox.1f56e8a0.js b/lilac/web/_app/immutable/chunks/ComboBox.1f56e8a0.js
new file mode 100644
index 0000000000000000000000000000000000000000..e1ff1565d8194067ebae70ff489aea690ff3fa23
--- /dev/null
+++ b/lilac/web/_app/immutable/chunks/ComboBox.1f56e8a0.js
@@ -0,0 +1 @@
+import{S as p,i as $,s as ee,E as B,Z as Ae,_ as ze,m as N,h as v,n as U,$ as Pe,b as S,a0 as q,L as le,a1 as Ve,N as F,Q as Z,q as ie,r as te,u as ne,D as he,k as V,a as X,e as y,l as R,c as Y,F as O,G as I,H as A,ak as Se,I as me,J as ce,K as _e,g as W,d as L,M as re,R as M,ad as oe,ai as ye,w as se,y as H,z as J,A as K,B as Q,v as ae,f as fe,C as xe,j as kl,t as Il,al as Re,T as vl,U as Tl,W as El,X as Wl}from"./index.b7741aa8.js";import{aL as Cl,aC as pe,aM as Sl,aN as Ll}from"./Commands.8ebd7b3f.js";function Fe(l){let e,i;return{c(){e=Ae("title"),i=ie(l[1])},l(t){e=ze(t,"title",{});var s=N(e);i=te(s,l[1]),s.forEach(v)},m(t,s){S(t,e,s),q(e,i)},p(t,s){s&2&&ne(i,t[1])},d(t){t&&v(e)}}}function Al(l){let e,i,t=l[1]&&Fe(l),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let f=0;f{i(5,e=B(B({},e),Z(r))),i(3,f=F(e,o)),"size"in r&&i(0,a=r.size),"title"in r&&i(1,n=r.title)},l.$$.update=()=>{i(4,t=e["aria-label"]||e["aria-labelledby"]||n),i(2,s={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Z(e),[a,n,s,f,t]}class Bl extends p{constructor(e){super(),$(this,e,zl,Al,ee,{size:0,title:1})}}const Dl=Bl;function Ue(l){let e,i;return{c(){e=V("div"),i=ie(l[6]),this.h()},l(t){e=R(t,"DIV",{});var s=N(e);i=te(s,l[6]),s.forEach(v),this.h()},h(){I(e,"bx--form-requirement",!0)},m(t,s){S(t,e,s),q(e,i)},p(t,s){s&64&&ne(i,t[6])},d(t){t&&v(e)}}}function qe(l){let e,i;return{c(){e=V("div"),i=ie(l[8]),this.h()},l(t){e=R(t,"DIV",{});var s=N(e);i=te(s,l[8]),s.forEach(v),this.h()},h(){I(e,"bx--form-requirement",!0)},m(t,s){S(t,e,s),q(e,i)},p(t,s){s&256&&ne(i,t[8])},d(t){t&&v(e)}}}function Ml(l){let e,i,t,s,o,f,a,n;const r=l[11].default,d=he(r,l,l[10],null);let u=[{role:"listbox"},{tabindex:"-1"},{"data-invalid":i=l[5]||void 0},l[9]],b={};for(let m=0;m{l.key==="Escape"&&l.stopPropagation()};function Pl(l,e,i){const t=["size","type","open","light","disabled","invalid","invalidText","warn","warnText"];let s=F(e,t),{$$slots:o={},$$scope:f}=e,{size:a=void 0}=e,{type:n="default"}=e,{open:r=!1}=e,{light:d=!1}=e,{disabled:u=!1}=e,{invalid:b=!1}=e,{invalidText:g=""}=e,{warn:_=!1}=e,{warnText:m=""}=e;function T(k){M.call(this,l,k)}function c(k){M.call(this,l,k)}return l.$$set=k=>{e=B(B({},e),Z(k)),i(9,s=F(e,t)),"size"in k&&i(0,a=k.size),"type"in k&&i(1,n=k.type),"open"in k&&i(2,r=k.open),"light"in k&&i(3,d=k.light),"disabled"in k&&i(4,u=k.disabled),"invalid"in k&&i(5,b=k.invalid),"invalidText"in k&&i(6,g=k.invalidText),"warn"in k&&i(7,_=k.warn),"warnText"in k&&i(8,m=k.warnText),"$$scope"in k&&i(10,f=k.$$scope)},[a,n,r,d,u,b,g,_,m,s,f,o,T,c]}class Vl extends p{constructor(e){super(),$(this,e,Pl,Ml,ee,{size:0,type:1,open:2,light:3,disabled:4,invalid:5,invalidText:6,warn:7,warnText:8})}}const Rl=Vl;function Fl(l){let e,i,t,s,o,f,a,n;const r=l[11].default,d=he(r,l,l[10],null);let u=[{role:l[2]},{"aria-expanded":l[6]},{"aria-owns":i=l[6]&&l[5]||void 0},{"aria-controls":t=l[6]&&l[5]||void 0},{"aria-disabled":l[1]},{"aria-label":s=l[6]?l[4]("close"):l[4]("open")},{tabindex:o=l[1]?"-1":l[3]},l[7]],b={};for(let g=0;gT[E]}=e,{id:_="ccs-"+Math.random().toString(36)}=e,{ref:m=null}=e;const T={[b.close]:"Close menu",[b.open]:"Open menu"},c=ye("MultiSelect");function k(E){M.call(this,l,E)}function w(E){M.call(this,l,E)}function ue(E){M.call(this,l,E)}function C(E){M.call(this,l,E)}function ge(E){M.call(this,l,E)}function ke(E){M.call(this,l,E)}function Ie(E){M.call(this,l,E)}function ve(E){se[E?"unshift":"push"](()=>{m=E,i(0,m)})}return l.$$set=E=>{i(22,e=B(B({},e),Z(E))),i(7,f=F(e,o)),"disabled"in E&&i(1,r=E.disabled),"role"in E&&i(2,d=E.role),"tabindex"in E&&i(3,u=E.tabindex),"translateWithId"in E&&i(4,g=E.translateWithId),"id"in E&&i(9,_=E.id),"ref"in E&&i(0,m=E.ref),"$$scope"in E&&i(10,n=E.$$scope)},l.$$.update=()=>{l.$$.dirty&1&&c&&m&&c.declareRef({key:"field",ref:m}),i(6,t=e["aria-expanded"]),l.$$.dirty&512&&i(5,s=`menu-${_}`)},e=Z(e),[m,r,d,u,g,s,t,f,b,_,n,a,k,w,ue,C,ge,ke,Ie,ve]}class ql extends p{constructor(e){super(),$(this,e,Ul,Fl,ee,{disabled:1,role:2,tabindex:3,translationIds:8,translateWithId:4,id:9,ref:0})}get translationIds(){return this.$$.ctx[8]}}const Ol=ql;function Xl(l){let e,i,t,s,o;const f=l[4].default,a=he(f,l,l[3],null);let n=[{role:"listbox"},{id:i="menu-"+l[1]},l[2]],r={};for(let d=0;d{n=u,i(0,n)})}return l.$$set=u=>{e=B(B({},e),Z(u)),i(2,s=F(e,t)),"id"in u&&i(1,a=u.id),"ref"in u&&i(0,n=u.ref),"$$scope"in u&&i(3,f=u.$$scope)},[n,a,s,f,o,r,d]}class jl extends p{constructor(e){super(),$(this,e,Yl,Xl,ee,{id:1,ref:0})}}const Gl=jl;function Hl(l){let e,i,t,s,o;i=new Cl({props:{"aria-label":l[1],title:l[1]}});let f=[l[2]],a={};for(let n=0;nd[b]}=e;const d={[n.close]:"Close menu",[n.open]:"Open menu"};function u(b){M.call(this,l,b)}return l.$$set=b=>{e=B(B({},e),Z(b)),i(2,f=F(e,o)),"open"in b&&i(0,a=b.open),"translateWithId"in b&&i(4,r=b.translateWithId)},l.$$.update=()=>{l.$$.dirty&1&&i(5,t=a?n.close:n.open),l.$$.dirty&48&&i(1,s=(r==null?void 0:r(t))??d[t])},[a,s,f,n,r,t,u]}class Kl extends p{constructor(e){super(),$(this,e,Jl,Hl,ee,{open:0,translationIds:3,translateWithId:4})}get translationIds(){return this.$$.ctx[3]}}const Ql=Kl;function Zl(l){let e,i,t,s,o,f;const a=l[8].default,n=he(a,l,l[7],null);let r=[{role:"option"},{tabindex:"-1"},{"aria-selected":l[0]},{disabled:t=l[2]?!0:void 0},l[5]],d={};for(let u=0;u{b=c,i(3,b)})}return l.$$set=c=>{e=B(B({},e),Z(c)),i(5,f=F(e,o)),"active"in c&&i(0,r=c.active),"highlighted"in c&&i(1,d=c.highlighted),"disabled"in c&&i(2,u=c.disabled),"$$scope"in c&&i(7,n=c.$$scope)},l.$$.update=()=>{l.$$.dirty&8&&i(6,t=(b==null?void 0:b.offsetWidth)<(b==null?void 0:b.scrollWidth)),l.$$.dirty&72&&i(4,s=t?b==null?void 0:b.innerText:void 0),l.$$.dirty&10&&d&&b&&!b.matches(":hover")&&b.scrollIntoView({block:"nearest"})},[r,d,u,b,s,f,t,n,a,g,_,m,T]}class yl extends p{constructor(e){super(),$(this,e,wl,Zl,ee,{active:0,highlighted:1,disabled:2})}}const xl=yl;function pl(l){let e,i,t,s,o,f,a,n=l[1]!==void 0&&Oe(l);t=new pe({});let r=[{role:"button"},{"aria-label":l[4]},{title:l[4]},{tabindex:s=l[2]?"-1":"0"},l[6]],d={};for(let u=0;u{f[d]=null}),fe(),i=f[e],i?i.p(n,r):(i=f[e]=o[e](n),i.c()),W(i,1),i.m(t.parentNode,t))},i(n){s||(W(i),s=!0)},o(n){L(i),s=!1},d(n){f[e].d(n),n&&v(t)}}}function li(l,e,i){let t,s;const o=["selectionCount","disabled","translationIds","translateWithId","ref"];let f=F(e,o),{selectionCount:a=void 0}=e,{disabled:n=!1}=e;const r={clearAll:"clearAll",clearSelection:"clearSelection"};let{translateWithId:d=C=>b[C]}=e,{ref:u=null}=e;const b={[r.clearAll]:"Clear all selected items",[r.clearSelection]:"Clear selected item"},g=xe(),_=ye("MultiSelect");function m(C){se[C?"unshift":"push"](()=>{u=C,i(0,u)})}const T=C=>{n||g("clear",C)},c=C=>{!n&&C.key==="Enter"&&g("clear",C)};function k(C){se[C?"unshift":"push"](()=>{u=C,i(0,u)})}const w=C=>{n||g("clear",C)},ue=C=>{!n&&C.key==="Enter"&&g("clear",C)};return l.$$set=C=>{e=B(B({},e),Z(C)),i(6,f=F(e,o)),"selectionCount"in C&&i(1,a=C.selectionCount),"disabled"in C&&i(2,n=C.disabled),"translateWithId"in C&&i(7,d=C.translateWithId),"ref"in C&&i(0,u=C.ref)},l.$$.update=()=>{l.$$.dirty&1&&_&&u&&_.declareRef({key:"selection",ref:u}),l.$$.dirty&2&&i(8,t=a?r.clearAll:r.clearSelection),l.$$.dirty&384&&i(4,s=(d==null?void 0:d(t))??b[t])},[u,a,n,r,s,g,f,d,t,m,T,c,k,w,ue]}class ii extends p{constructor(e){super(),$(this,e,li,ei,ee,{selectionCount:1,disabled:2,translationIds:3,translateWithId:7,ref:0})}get translationIds(){return this.$$.ctx[3]}}const ti=ii;function Xe(l,e,i){const t=l.slice();return t[56]=e[i],t[58]=i,t}const ni=l=>({item:l[0]&16777216,index:l[0]&16777216}),Ye=l=>({item:l[56],index:l[58]});function je(l){let e,i;return{c(){e=V("label"),i=ie(l[9]),this.h()},l(t){e=R(t,"LABEL",{for:!0});var s=N(e);i=te(s,l[9]),s.forEach(v),this.h()},h(){U(e,"for",l[19]),I(e,"bx--label",!0),I(e,"bx--label--disabled",l[8])},m(t,s){S(t,e,s),q(e,i)},p(t,s){s[0]&512&&ne(i,t[9]),s[0]&524288&&U(e,"for",t[19]),s[0]&256&&I(e,"bx--label--disabled",t[8])},d(t){t&&v(e)}}}function Ge(l){let e,i;return e=new Sl({props:{class:"bx--list-box__invalid-icon"}}),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function He(l){let e,i;return e=new Ll({props:{class:"bx--list-box__invalid-icon bx--list-box__invalid-icon--warning"}}),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function Je(l){let e,i;return e=new ti({props:{translateWithId:l[18],disabled:l[8],open:l[2]}}),e.$on("clear",l[46]),e.$on("clear",l[21]),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},p(t,s){const o={};s[0]&262144&&(o.translateWithId=t[18]),s[0]&256&&(o.disabled=t[8]),s[0]&4&&(o.open=t[2]),e.$set(o)},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function ai(l){let e,i,t,s,o,f,a,n,r,d,u,b=[{tabindex:"0"},{autocomplete:"off"},{"aria-autocomplete":"list"},{"aria-expanded":l[2]},{"aria-activedescendant":l[25]},{"aria-labelledby":l[26]},{"aria-disabled":l[8]},{"aria-controls":i=l[2]?l[27]:void 0},{"aria-owns":t=l[2]?l[27]:void 0},{disabled:l[8]},{placeholder:l[10]},{id:l[19]},{name:l[20]},l[30]],g={};for(let c=0;c{_=null}),fe()),!c[13]&&c[14]?m?k[0]&24576&&W(m,1):(m=He(),m.c(),W(m,1),m.m(f.parentNode,f)):m&&(ae(),L(m,1,1,()=>{m=null}),fe()),c[1]?T?(T.p(c,k),k[0]&2&&W(T,1)):(T=Je(c),T.c(),W(T,1),T.m(a.parentNode,a)):T&&(ae(),L(T,1,1,()=>{T=null}),fe());const w={};k[0]&131072&&(w.translateWithId=c[17]),k[0]&4&&(w.open=c[2]),n.$set(w)},i(c){r||(W(_),W(m),W(T),W(n.$$.fragment,c),r=!0)},o(c){L(_),L(m),L(T),L(n.$$.fragment,c),r=!1},d(c){c&&v(e),l[41](null),c&&v(s),_&&_.d(c),c&&v(o),m&&m.d(c),c&&v(f),T&&T.d(c),c&&v(a),Q(n,c),d=!1,re(u)}}}function Ke(l){let e,i,t;function s(f){l[51](f)}let o={"aria-label":l[28],id:l[19],$$slots:{default:[ui]},$$scope:{ctx:l}};return l[4]!==void 0&&(o.ref=l[4]),e=new Gl({props:o}),se.push(()=>vl(e,"ref",s)),e.$on("scroll",l[52]),{c(){H(e.$$.fragment)},l(f){J(e.$$.fragment,f)},m(f,a){K(e,f,a),t=!0},p(f,a){const n={};a[0]&268435456&&(n["aria-label"]=f[28]),a[0]&524288&&(n.id=f[19]),a[0]&29360167|a[1]&4194304&&(n.$$scope={dirty:a,ctx:f}),!i&&a[0]&16&&(i=!0,n.ref=f[4],Tl(()=>i=!1)),e.$set(n)},i(f){t||(W(e.$$.fragment,f),t=!0)},o(f){L(e.$$.fragment,f),t=!1},d(f){Q(e,f)}}}function fi(l){let e=l[5](l[56])+"",i;return{c(){i=ie(e)},l(t){i=te(t,e)},m(t,s){S(t,i,s)},p(t,s){s[0]&16777248&&e!==(e=t[5](t[56])+"")&&ne(i,e)},d(t){t&&v(i)}}}function Qe(l){let e,i;return e=new Dl({props:{class:"bx--list-box__menu-item__selected-icon"}}),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function si(l){let e,i,t;const s=l[34].default,o=he(s,l,l[53],Ye),f=o||fi(l);let a=l[22]&&l[22].id===l[56].id&&Qe();return{c(){f&&f.c(),e=X(),a&&a.c(),i=X()},l(n){f&&f.l(n),e=Y(n),a&&a.l(n),i=Y(n)},m(n,r){f&&f.m(n,r),S(n,e,r),a&&a.m(n,r),S(n,i,r),t=!0},p(n,r){o?o.p&&(!t||r[0]&16777216|r[1]&4194304)&&me(o,s,n,n[53],t?_e(s,n[53],r,ni):ce(n[53]),Ye):f&&f.p&&(!t||r[0]&16777248)&&f.p(n,t?r:[-1,-1]),n[22]&&n[22].id===n[56].id?a?r[0]&20971520&&W(a,1):(a=Qe(),a.c(),W(a,1),a.m(i.parentNode,i)):a&&(ae(),L(a,1,1,()=>{a=null}),fe())},i(n){t||(W(f,n),W(a),t=!0)},o(n){L(f,n),L(a),t=!1},d(n){f&&f.d(n),n&&v(e),a&&a.d(n),n&&v(i)}}}function Ze(l,e){let i,t,s;function o(...a){return e[49](e[56],e[58],...a)}function f(){return e[50](e[56],e[58])}return t=new xl({props:{id:e[56].id,active:e[0]===e[56].id,highlighted:e[23]===e[58],disabled:e[56].disabled,$$slots:{default:[si]},$$scope:{ctx:e}}}),t.$on("click",o),t.$on("mouseenter",f),{key:l,first:null,c(){i=y(),H(t.$$.fragment),this.h()},l(a){i=y(),J(t.$$.fragment,a),this.h()},h(){this.first=i},m(a,n){S(a,i,n),K(t,a,n),s=!0},p(a,n){e=a;const r={};n[0]&16777216&&(r.id=e[56].id),n[0]&16777217&&(r.active=e[0]===e[56].id),n[0]&25165824&&(r.highlighted=e[23]===e[58]),n[0]&16777216&&(r.disabled=e[56].disabled),n[0]&20971552|n[1]&4194304&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(a){s||(W(t.$$.fragment,a),s=!0)},o(a){L(t.$$.fragment,a),s=!1},d(a){a&&v(i),Q(t,a)}}}function ui(l){let e=[],i=new Map,t,s,o=l[24];const f=a=>a[56].id;for(let a=0;a{o=null}),fe())},i(f){s||(W(e.$$.fragment,f),W(o),s=!0)},o(f){L(e.$$.fragment,f),L(o),s=!1},d(f){Q(e,f),f&&v(i),o&&o.d(f),f&&v(t)}}}function we(l){let e,i;return{c(){e=V("div"),i=ie(l[11]),this.h()},l(t){e=R(t,"DIV",{});var s=N(e);i=te(s,l[11]),s.forEach(v),this.h()},h(){I(e,"bx--form__helper-text",!0),I(e,"bx--form__helper-text--disabled",l[8])},m(t,s){S(t,e,s),q(e,i)},p(t,s){s[0]&2048&&ne(i,t[11]),s[0]&256&&I(e,"bx--form__helper-text--disabled",t[8])},d(t){t&&v(e)}}}function ri(l){let e,i,t,s,o,f,a,n=l[9]&&je(l);t=new Rl({props:{class:"bx--combo-box "+(l[6]==="top"&&"bx--list-box--up")+" "+(!l[13]&&l[14]&&"bx--combo-box--warning"),id:l[26],"aria-label":l[28],disabled:l[8],invalid:l[13],invalidText:l[12],open:l[2],light:l[16],size:l[7],warn:l[14],warnText:l[15],$$slots:{default:[oi]},$$scope:{ctx:l}}});let r=!l[13]&&l[11]&&!l[14]&&we(l);return{c(){e=V("div"),n&&n.c(),i=X(),H(t.$$.fragment),s=X(),r&&r.c(),this.h()},l(d){e=R(d,"DIV",{});var u=N(e);n&&n.l(u),i=Y(u),J(t.$$.fragment,u),s=Y(u),r&&r.l(u),u.forEach(v),this.h()},h(){I(e,"bx--list-box__wrapper",!0)},m(d,u){S(d,e,u),n&&n.m(e,null),q(e,i),K(t,e,null),q(e,s),r&&r.m(e,null),o=!0,f||(a=A(window,"click",l[40]),f=!0)},p(d,u){d[9]?n?n.p(d,u):(n=je(d),n.c(),n.m(e,i)):n&&(n.d(1),n=null);const b={};u[0]&24640&&(b.class="bx--combo-box "+(d[6]==="top"&&"bx--list-box--up")+" "+(!d[13]&&d[14]&&"bx--combo-box--warning")),u[0]&67108864&&(b.id=d[26]),u[0]&268435456&&(b["aria-label"]=d[28]),u[0]&256&&(b.disabled=d[8]),u[0]&8192&&(b.invalid=d[13]),u[0]&4096&&(b.invalidText=d[12]),u[0]&4&&(b.open=d[2]),u[0]&65536&&(b.light=d[16]),u[0]&128&&(b.size=d[7]),u[0]&16384&&(b.warn=d[14]),u[0]&32768&&(b.warnText=d[15]),u[0]&1608475967|u[1]&4194304&&(b.$$scope={dirty:u,ctx:d}),t.$set(b),!d[13]&&d[11]&&!d[14]?r?r.p(d,u):(r=we(d),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i(d){o||(W(t.$$.fragment,d),o=!0)},o(d){L(t.$$.fragment,d),o=!1},d(d){d&&v(e),n&&n.d(),Q(t),r&&r.d(),f=!1,a()}}}function di(l,e,i){let t,s,o,f,a;const n=["items","itemToString","selectedId","value","direction","size","disabled","titleText","placeholder","helperText","invalidText","invalid","warn","warnText","light","open","shouldFilterItem","translateWithId","translateWithIdSelection","id","name","ref","listRef","clear"];let r=F(e,n),{$$slots:d={},$$scope:u}=e,{items:b=[]}=e,{itemToString:g=h=>h.text||h.id}=e,{selectedId:_=void 0}=e,{value:m=""}=e,{direction:T="bottom"}=e,{size:c=void 0}=e,{disabled:k=!1}=e,{titleText:w=""}=e,{placeholder:ue=""}=e,{helperText:C=""}=e,{invalidText:ge=""}=e,{invalid:ke=!1}=e,{warn:Ie=!1}=e,{warnText:ve=""}=e,{light:E=!1}=e,{open:D=!1}=e,{shouldFilterItem:Te=()=>!0}=e,{translateWithId:Be=void 0}=e,{translateWithIdSelection:De=void 0}=e,{id:Ee="ccs-"+Math.random().toString(36)}=e,{name:Me=void 0}=e,{ref:j=null}=e,{listRef:We=null}=e;const $e=xe();let G,de=null,P=-1;function Le(h){let z=P+h,x=a!=null&&a.length?a:b;if(x.length===0)return;z<0?z=x.length-1:z>=x.length&&(z=0);let be=b[z].disabled;for(;be;)z=z+h,z<0?z=b.length-1:z>=b.length&&(z=0),be=b[z].disabled;i(23,P=z)}function Ne(h={}){i(33,de=null),i(23,P=-1),i(25,f=void 0),i(0,_=void 0),i(22,G=void 0),i(2,D=!1),i(1,m=""),(h==null?void 0:h.focus)!==!1&&(j==null||j.focus())}kl(()=>{D?(j.focus(),i(24,a=b.filter(h=>Te(h,m)))):(i(23,P=-1),i(24,a=[]),G?i(1,m=g(G)):(i(0,_=void 0),i(1,m=""),i(23,P=-1),i(25,f=void 0)))});function el(h){M.call(this,l,h)}function ll(h){M.call(this,l,h)}function il(h){M.call(this,l,h)}function tl(h){M.call(this,l,h)}function nl(h){M.call(this,l,h)}const al=({target:h})=>{D&&j&&!j.contains(h)&&i(2,D=!1)};function fl(h){se[h?"unshift":"push"](()=>{j=h,i(3,j)})}function sl(){m=this.value,i(1,m)}const ul=({target:h})=>{!D&&h.value.length>0&&i(2,D=!0),m.length||(Ne(),i(2,D=!0))},ol=h=>{var x;const{key:z}=h;if(["Enter","ArrowDown","ArrowUp"].includes(z)&&h.preventDefault(),z==="Enter"){if(i(2,D=!D),P>-1&&((x=a[P])==null?void 0:x.id)!==_)i(2,D=!1),a[P]&&(i(1,m=g(a[P])),i(22,G=a[P]),i(0,_=a[P].id));else{const be=a.find(Ce=>Ce.text.toLowerCase()===(m==null?void 0:m.toLowerCase())&&!Ce.disabled)??a.find(Ce=>!Ce.disabled);be&&(i(2,D=!1),i(22,G=be),i(1,m=g(G)),i(0,_=G.id))}i(23,P=-1)}else z==="Tab"?i(2,D=!1):z==="ArrowDown"?Le(1):z==="ArrowUp"?Le(-1):z==="Escape"&&i(2,D=!1)},rl=({relatedTarget:h})=>{!D||!h||h&&!["INPUT","SELECT","TEXTAREA"].includes(h.tagName)&&h.getAttribute("role")!=="button"&&h.getAttribute("role")!=="searchbox"&&j.focus()};function dl(h){M.call(this,l,h)}const bl=h=>{k||(h.stopPropagation(),i(2,D=!D))},hl=async()=>{k||(i(2,D=!0),await Il(),j.focus())},ml=(h,z,x)=>{if(h.disabled){x.stopPropagation();return}i(0,_=h.id),i(2,D=!1),a[z]&&i(1,m=g(a[z]))},cl=(h,z)=>{h.disabled||i(23,P=z)};function _l(h){We=h,i(4,We)}function gl(h){M.call(this,l,h)}return l.$$set=h=>{i(55,e=B(B({},e),Z(h))),i(30,r=F(e,n)),"items"in h&&i(31,b=h.items),"itemToString"in h&&i(5,g=h.itemToString),"selectedId"in h&&i(0,_=h.selectedId),"value"in h&&i(1,m=h.value),"direction"in h&&i(6,T=h.direction),"size"in h&&i(7,c=h.size),"disabled"in h&&i(8,k=h.disabled),"titleText"in h&&i(9,w=h.titleText),"placeholder"in h&&i(10,ue=h.placeholder),"helperText"in h&&i(11,C=h.helperText),"invalidText"in h&&i(12,ge=h.invalidText),"invalid"in h&&i(13,ke=h.invalid),"warn"in h&&i(14,Ie=h.warn),"warnText"in h&&i(15,ve=h.warnText),"light"in h&&i(16,E=h.light),"open"in h&&i(2,D=h.open),"shouldFilterItem"in h&&i(32,Te=h.shouldFilterItem),"translateWithId"in h&&i(17,Be=h.translateWithId),"translateWithIdSelection"in h&&i(18,De=h.translateWithIdSelection),"id"in h&&i(19,Ee=h.id),"name"in h&&i(20,Me=h.name),"ref"in h&&i(3,j=h.ref),"listRef"in h&&i(4,We=h.listRef),"$$scope"in h&&i(53,u=h.$$scope)},l.$$.update=()=>{l.$$.dirty[0]&2|l.$$.dirty[1]&3&&i(24,a=b.filter(h=>Te(h,m))),l.$$.dirty[0]&20971525|l.$$.dirty[1]&5&&(_!==void 0?de!==_&&(i(33,de=_),(a==null?void 0:a.length)===1&&D?(i(0,_=a[0].id),i(22,G=a[0]),i(23,P=-1),i(25,f=void 0)):i(22,G=b.find(h=>h.id===_)),$e("select",{selectedId:_,selectedItem:G})):(i(33,de=_),i(22,G=void 0))),i(28,t=e["aria-label"]||"Choose an item"),l.$$.dirty[0]&524288&&i(27,s=`menu-${Ee}`),l.$$.dirty[0]&524288&&i(26,o=`combo-${Ee}`),l.$$.dirty[0]&8388608|l.$$.dirty[1]&1&&i(25,f=b[P]?b[P].id:0)},e=Z(e),[_,m,D,j,We,g,T,c,k,w,ue,C,ge,ke,Ie,ve,E,Be,De,Ee,Me,Ne,G,P,a,f,o,s,t,Le,r,b,Te,de,d,el,ll,il,tl,nl,al,fl,sl,ul,ol,rl,dl,bl,hl,ml,cl,_l,gl,u]}class bi extends p{constructor(e){super(),$(this,e,di,ri,ee,{items:31,itemToString:5,selectedId:0,value:1,direction:6,size:7,disabled:8,titleText:9,placeholder:10,helperText:11,invalidText:12,invalid:13,warn:14,warnText:15,light:16,open:2,shouldFilterItem:32,translateWithId:17,translateWithIdSelection:18,id:19,name:20,ref:3,listRef:4,clear:21},null,[-1,-1])}get clear(){return this.$$.ctx[21]}}const ci=bi;export{ci as C};
diff --git a/lilac/web/_app/immutable/chunks/ComboBox.e4acb360.js b/lilac/web/_app/immutable/chunks/ComboBox.e4acb360.js
new file mode 100644
index 0000000000000000000000000000000000000000..2006af491eecf5c70078bfbff5a472e69733a521
--- /dev/null
+++ b/lilac/web/_app/immutable/chunks/ComboBox.e4acb360.js
@@ -0,0 +1 @@
+import{S as p,i as $,s as ee,E as B,Z as Ae,_ as ze,m as N,h as v,n as U,$ as Pe,b as S,a0 as q,L as le,a1 as Ve,N as F,Q as Z,q as ie,r as te,u as ne,D as he,k as V,a as X,e as y,l as R,c as Y,F as O,G as I,H as A,ak as Se,I as me,J as ce,K as _e,g as W,d as L,M as re,R as M,ad as oe,ai as ye,w as se,y as H,z as J,A as K,B as Q,v as ae,f as fe,C as xe,j as kl,t as Il,al as Re,T as vl,U as Tl,W as El,X as Wl}from"./index.b7741aa8.js";import{aL as Cl,aC as pe,aM as Sl,aN as Ll}from"./Commands.466155dd.js";function Fe(l){let e,i;return{c(){e=Ae("title"),i=ie(l[1])},l(t){e=ze(t,"title",{});var s=N(e);i=te(s,l[1]),s.forEach(v)},m(t,s){S(t,e,s),q(e,i)},p(t,s){s&2&&ne(i,t[1])},d(t){t&&v(e)}}}function Al(l){let e,i,t=l[1]&&Fe(l),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let f=0;f{i(5,e=B(B({},e),Z(r))),i(3,f=F(e,o)),"size"in r&&i(0,a=r.size),"title"in r&&i(1,n=r.title)},l.$$.update=()=>{i(4,t=e["aria-label"]||e["aria-labelledby"]||n),i(2,s={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Z(e),[a,n,s,f,t]}class Bl extends p{constructor(e){super(),$(this,e,zl,Al,ee,{size:0,title:1})}}const Dl=Bl;function Ue(l){let e,i;return{c(){e=V("div"),i=ie(l[6]),this.h()},l(t){e=R(t,"DIV",{});var s=N(e);i=te(s,l[6]),s.forEach(v),this.h()},h(){I(e,"bx--form-requirement",!0)},m(t,s){S(t,e,s),q(e,i)},p(t,s){s&64&&ne(i,t[6])},d(t){t&&v(e)}}}function qe(l){let e,i;return{c(){e=V("div"),i=ie(l[8]),this.h()},l(t){e=R(t,"DIV",{});var s=N(e);i=te(s,l[8]),s.forEach(v),this.h()},h(){I(e,"bx--form-requirement",!0)},m(t,s){S(t,e,s),q(e,i)},p(t,s){s&256&&ne(i,t[8])},d(t){t&&v(e)}}}function Ml(l){let e,i,t,s,o,f,a,n;const r=l[11].default,d=he(r,l,l[10],null);let u=[{role:"listbox"},{tabindex:"-1"},{"data-invalid":i=l[5]||void 0},l[9]],b={};for(let m=0;m{l.key==="Escape"&&l.stopPropagation()};function Pl(l,e,i){const t=["size","type","open","light","disabled","invalid","invalidText","warn","warnText"];let s=F(e,t),{$$slots:o={},$$scope:f}=e,{size:a=void 0}=e,{type:n="default"}=e,{open:r=!1}=e,{light:d=!1}=e,{disabled:u=!1}=e,{invalid:b=!1}=e,{invalidText:g=""}=e,{warn:_=!1}=e,{warnText:m=""}=e;function T(k){M.call(this,l,k)}function c(k){M.call(this,l,k)}return l.$$set=k=>{e=B(B({},e),Z(k)),i(9,s=F(e,t)),"size"in k&&i(0,a=k.size),"type"in k&&i(1,n=k.type),"open"in k&&i(2,r=k.open),"light"in k&&i(3,d=k.light),"disabled"in k&&i(4,u=k.disabled),"invalid"in k&&i(5,b=k.invalid),"invalidText"in k&&i(6,g=k.invalidText),"warn"in k&&i(7,_=k.warn),"warnText"in k&&i(8,m=k.warnText),"$$scope"in k&&i(10,f=k.$$scope)},[a,n,r,d,u,b,g,_,m,s,f,o,T,c]}class Vl extends p{constructor(e){super(),$(this,e,Pl,Ml,ee,{size:0,type:1,open:2,light:3,disabled:4,invalid:5,invalidText:6,warn:7,warnText:8})}}const Rl=Vl;function Fl(l){let e,i,t,s,o,f,a,n;const r=l[11].default,d=he(r,l,l[10],null);let u=[{role:l[2]},{"aria-expanded":l[6]},{"aria-owns":i=l[6]&&l[5]||void 0},{"aria-controls":t=l[6]&&l[5]||void 0},{"aria-disabled":l[1]},{"aria-label":s=l[6]?l[4]("close"):l[4]("open")},{tabindex:o=l[1]?"-1":l[3]},l[7]],b={};for(let g=0;gT[E]}=e,{id:_="ccs-"+Math.random().toString(36)}=e,{ref:m=null}=e;const T={[b.close]:"Close menu",[b.open]:"Open menu"},c=ye("MultiSelect");function k(E){M.call(this,l,E)}function w(E){M.call(this,l,E)}function ue(E){M.call(this,l,E)}function C(E){M.call(this,l,E)}function ge(E){M.call(this,l,E)}function ke(E){M.call(this,l,E)}function Ie(E){M.call(this,l,E)}function ve(E){se[E?"unshift":"push"](()=>{m=E,i(0,m)})}return l.$$set=E=>{i(22,e=B(B({},e),Z(E))),i(7,f=F(e,o)),"disabled"in E&&i(1,r=E.disabled),"role"in E&&i(2,d=E.role),"tabindex"in E&&i(3,u=E.tabindex),"translateWithId"in E&&i(4,g=E.translateWithId),"id"in E&&i(9,_=E.id),"ref"in E&&i(0,m=E.ref),"$$scope"in E&&i(10,n=E.$$scope)},l.$$.update=()=>{l.$$.dirty&1&&c&&m&&c.declareRef({key:"field",ref:m}),i(6,t=e["aria-expanded"]),l.$$.dirty&512&&i(5,s=`menu-${_}`)},e=Z(e),[m,r,d,u,g,s,t,f,b,_,n,a,k,w,ue,C,ge,ke,Ie,ve]}class ql extends p{constructor(e){super(),$(this,e,Ul,Fl,ee,{disabled:1,role:2,tabindex:3,translationIds:8,translateWithId:4,id:9,ref:0})}get translationIds(){return this.$$.ctx[8]}}const Ol=ql;function Xl(l){let e,i,t,s,o;const f=l[4].default,a=he(f,l,l[3],null);let n=[{role:"listbox"},{id:i="menu-"+l[1]},l[2]],r={};for(let d=0;d{n=u,i(0,n)})}return l.$$set=u=>{e=B(B({},e),Z(u)),i(2,s=F(e,t)),"id"in u&&i(1,a=u.id),"ref"in u&&i(0,n=u.ref),"$$scope"in u&&i(3,f=u.$$scope)},[n,a,s,f,o,r,d]}class jl extends p{constructor(e){super(),$(this,e,Yl,Xl,ee,{id:1,ref:0})}}const Gl=jl;function Hl(l){let e,i,t,s,o;i=new Cl({props:{"aria-label":l[1],title:l[1]}});let f=[l[2]],a={};for(let n=0;nd[b]}=e;const d={[n.close]:"Close menu",[n.open]:"Open menu"};function u(b){M.call(this,l,b)}return l.$$set=b=>{e=B(B({},e),Z(b)),i(2,f=F(e,o)),"open"in b&&i(0,a=b.open),"translateWithId"in b&&i(4,r=b.translateWithId)},l.$$.update=()=>{l.$$.dirty&1&&i(5,t=a?n.close:n.open),l.$$.dirty&48&&i(1,s=(r==null?void 0:r(t))??d[t])},[a,s,f,n,r,t,u]}class Kl extends p{constructor(e){super(),$(this,e,Jl,Hl,ee,{open:0,translationIds:3,translateWithId:4})}get translationIds(){return this.$$.ctx[3]}}const Ql=Kl;function Zl(l){let e,i,t,s,o,f;const a=l[8].default,n=he(a,l,l[7],null);let r=[{role:"option"},{tabindex:"-1"},{"aria-selected":l[0]},{disabled:t=l[2]?!0:void 0},l[5]],d={};for(let u=0;u{b=c,i(3,b)})}return l.$$set=c=>{e=B(B({},e),Z(c)),i(5,f=F(e,o)),"active"in c&&i(0,r=c.active),"highlighted"in c&&i(1,d=c.highlighted),"disabled"in c&&i(2,u=c.disabled),"$$scope"in c&&i(7,n=c.$$scope)},l.$$.update=()=>{l.$$.dirty&8&&i(6,t=(b==null?void 0:b.offsetWidth)<(b==null?void 0:b.scrollWidth)),l.$$.dirty&72&&i(4,s=t?b==null?void 0:b.innerText:void 0),l.$$.dirty&10&&d&&b&&!b.matches(":hover")&&b.scrollIntoView({block:"nearest"})},[r,d,u,b,s,f,t,n,a,g,_,m,T]}class yl extends p{constructor(e){super(),$(this,e,wl,Zl,ee,{active:0,highlighted:1,disabled:2})}}const xl=yl;function pl(l){let e,i,t,s,o,f,a,n=l[1]!==void 0&&Oe(l);t=new pe({});let r=[{role:"button"},{"aria-label":l[4]},{title:l[4]},{tabindex:s=l[2]?"-1":"0"},l[6]],d={};for(let u=0;u{f[d]=null}),fe(),i=f[e],i?i.p(n,r):(i=f[e]=o[e](n),i.c()),W(i,1),i.m(t.parentNode,t))},i(n){s||(W(i),s=!0)},o(n){L(i),s=!1},d(n){f[e].d(n),n&&v(t)}}}function li(l,e,i){let t,s;const o=["selectionCount","disabled","translationIds","translateWithId","ref"];let f=F(e,o),{selectionCount:a=void 0}=e,{disabled:n=!1}=e;const r={clearAll:"clearAll",clearSelection:"clearSelection"};let{translateWithId:d=C=>b[C]}=e,{ref:u=null}=e;const b={[r.clearAll]:"Clear all selected items",[r.clearSelection]:"Clear selected item"},g=xe(),_=ye("MultiSelect");function m(C){se[C?"unshift":"push"](()=>{u=C,i(0,u)})}const T=C=>{n||g("clear",C)},c=C=>{!n&&C.key==="Enter"&&g("clear",C)};function k(C){se[C?"unshift":"push"](()=>{u=C,i(0,u)})}const w=C=>{n||g("clear",C)},ue=C=>{!n&&C.key==="Enter"&&g("clear",C)};return l.$$set=C=>{e=B(B({},e),Z(C)),i(6,f=F(e,o)),"selectionCount"in C&&i(1,a=C.selectionCount),"disabled"in C&&i(2,n=C.disabled),"translateWithId"in C&&i(7,d=C.translateWithId),"ref"in C&&i(0,u=C.ref)},l.$$.update=()=>{l.$$.dirty&1&&_&&u&&_.declareRef({key:"selection",ref:u}),l.$$.dirty&2&&i(8,t=a?r.clearAll:r.clearSelection),l.$$.dirty&384&&i(4,s=(d==null?void 0:d(t))??b[t])},[u,a,n,r,s,g,f,d,t,m,T,c,k,w,ue]}class ii extends p{constructor(e){super(),$(this,e,li,ei,ee,{selectionCount:1,disabled:2,translationIds:3,translateWithId:7,ref:0})}get translationIds(){return this.$$.ctx[3]}}const ti=ii;function Xe(l,e,i){const t=l.slice();return t[56]=e[i],t[58]=i,t}const ni=l=>({item:l[0]&16777216,index:l[0]&16777216}),Ye=l=>({item:l[56],index:l[58]});function je(l){let e,i;return{c(){e=V("label"),i=ie(l[9]),this.h()},l(t){e=R(t,"LABEL",{for:!0});var s=N(e);i=te(s,l[9]),s.forEach(v),this.h()},h(){U(e,"for",l[19]),I(e,"bx--label",!0),I(e,"bx--label--disabled",l[8])},m(t,s){S(t,e,s),q(e,i)},p(t,s){s[0]&512&&ne(i,t[9]),s[0]&524288&&U(e,"for",t[19]),s[0]&256&&I(e,"bx--label--disabled",t[8])},d(t){t&&v(e)}}}function Ge(l){let e,i;return e=new Sl({props:{class:"bx--list-box__invalid-icon"}}),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function He(l){let e,i;return e=new Ll({props:{class:"bx--list-box__invalid-icon bx--list-box__invalid-icon--warning"}}),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function Je(l){let e,i;return e=new ti({props:{translateWithId:l[18],disabled:l[8],open:l[2]}}),e.$on("clear",l[46]),e.$on("clear",l[21]),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},p(t,s){const o={};s[0]&262144&&(o.translateWithId=t[18]),s[0]&256&&(o.disabled=t[8]),s[0]&4&&(o.open=t[2]),e.$set(o)},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function ai(l){let e,i,t,s,o,f,a,n,r,d,u,b=[{tabindex:"0"},{autocomplete:"off"},{"aria-autocomplete":"list"},{"aria-expanded":l[2]},{"aria-activedescendant":l[25]},{"aria-labelledby":l[26]},{"aria-disabled":l[8]},{"aria-controls":i=l[2]?l[27]:void 0},{"aria-owns":t=l[2]?l[27]:void 0},{disabled:l[8]},{placeholder:l[10]},{id:l[19]},{name:l[20]},l[30]],g={};for(let c=0;c{_=null}),fe()),!c[13]&&c[14]?m?k[0]&24576&&W(m,1):(m=He(),m.c(),W(m,1),m.m(f.parentNode,f)):m&&(ae(),L(m,1,1,()=>{m=null}),fe()),c[1]?T?(T.p(c,k),k[0]&2&&W(T,1)):(T=Je(c),T.c(),W(T,1),T.m(a.parentNode,a)):T&&(ae(),L(T,1,1,()=>{T=null}),fe());const w={};k[0]&131072&&(w.translateWithId=c[17]),k[0]&4&&(w.open=c[2]),n.$set(w)},i(c){r||(W(_),W(m),W(T),W(n.$$.fragment,c),r=!0)},o(c){L(_),L(m),L(T),L(n.$$.fragment,c),r=!1},d(c){c&&v(e),l[41](null),c&&v(s),_&&_.d(c),c&&v(o),m&&m.d(c),c&&v(f),T&&T.d(c),c&&v(a),Q(n,c),d=!1,re(u)}}}function Ke(l){let e,i,t;function s(f){l[51](f)}let o={"aria-label":l[28],id:l[19],$$slots:{default:[ui]},$$scope:{ctx:l}};return l[4]!==void 0&&(o.ref=l[4]),e=new Gl({props:o}),se.push(()=>vl(e,"ref",s)),e.$on("scroll",l[52]),{c(){H(e.$$.fragment)},l(f){J(e.$$.fragment,f)},m(f,a){K(e,f,a),t=!0},p(f,a){const n={};a[0]&268435456&&(n["aria-label"]=f[28]),a[0]&524288&&(n.id=f[19]),a[0]&29360167|a[1]&4194304&&(n.$$scope={dirty:a,ctx:f}),!i&&a[0]&16&&(i=!0,n.ref=f[4],Tl(()=>i=!1)),e.$set(n)},i(f){t||(W(e.$$.fragment,f),t=!0)},o(f){L(e.$$.fragment,f),t=!1},d(f){Q(e,f)}}}function fi(l){let e=l[5](l[56])+"",i;return{c(){i=ie(e)},l(t){i=te(t,e)},m(t,s){S(t,i,s)},p(t,s){s[0]&16777248&&e!==(e=t[5](t[56])+"")&&ne(i,e)},d(t){t&&v(i)}}}function Qe(l){let e,i;return e=new Dl({props:{class:"bx--list-box__menu-item__selected-icon"}}),{c(){H(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,s){K(e,t,s),i=!0},i(t){i||(W(e.$$.fragment,t),i=!0)},o(t){L(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function si(l){let e,i,t;const s=l[34].default,o=he(s,l,l[53],Ye),f=o||fi(l);let a=l[22]&&l[22].id===l[56].id&&Qe();return{c(){f&&f.c(),e=X(),a&&a.c(),i=X()},l(n){f&&f.l(n),e=Y(n),a&&a.l(n),i=Y(n)},m(n,r){f&&f.m(n,r),S(n,e,r),a&&a.m(n,r),S(n,i,r),t=!0},p(n,r){o?o.p&&(!t||r[0]&16777216|r[1]&4194304)&&me(o,s,n,n[53],t?_e(s,n[53],r,ni):ce(n[53]),Ye):f&&f.p&&(!t||r[0]&16777248)&&f.p(n,t?r:[-1,-1]),n[22]&&n[22].id===n[56].id?a?r[0]&20971520&&W(a,1):(a=Qe(),a.c(),W(a,1),a.m(i.parentNode,i)):a&&(ae(),L(a,1,1,()=>{a=null}),fe())},i(n){t||(W(f,n),W(a),t=!0)},o(n){L(f,n),L(a),t=!1},d(n){f&&f.d(n),n&&v(e),a&&a.d(n),n&&v(i)}}}function Ze(l,e){let i,t,s;function o(...a){return e[49](e[56],e[58],...a)}function f(){return e[50](e[56],e[58])}return t=new xl({props:{id:e[56].id,active:e[0]===e[56].id,highlighted:e[23]===e[58],disabled:e[56].disabled,$$slots:{default:[si]},$$scope:{ctx:e}}}),t.$on("click",o),t.$on("mouseenter",f),{key:l,first:null,c(){i=y(),H(t.$$.fragment),this.h()},l(a){i=y(),J(t.$$.fragment,a),this.h()},h(){this.first=i},m(a,n){S(a,i,n),K(t,a,n),s=!0},p(a,n){e=a;const r={};n[0]&16777216&&(r.id=e[56].id),n[0]&16777217&&(r.active=e[0]===e[56].id),n[0]&25165824&&(r.highlighted=e[23]===e[58]),n[0]&16777216&&(r.disabled=e[56].disabled),n[0]&20971552|n[1]&4194304&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(a){s||(W(t.$$.fragment,a),s=!0)},o(a){L(t.$$.fragment,a),s=!1},d(a){a&&v(i),Q(t,a)}}}function ui(l){let e=[],i=new Map,t,s,o=l[24];const f=a=>a[56].id;for(let a=0;a{o=null}),fe())},i(f){s||(W(e.$$.fragment,f),W(o),s=!0)},o(f){L(e.$$.fragment,f),L(o),s=!1},d(f){Q(e,f),f&&v(i),o&&o.d(f),f&&v(t)}}}function we(l){let e,i;return{c(){e=V("div"),i=ie(l[11]),this.h()},l(t){e=R(t,"DIV",{});var s=N(e);i=te(s,l[11]),s.forEach(v),this.h()},h(){I(e,"bx--form__helper-text",!0),I(e,"bx--form__helper-text--disabled",l[8])},m(t,s){S(t,e,s),q(e,i)},p(t,s){s[0]&2048&&ne(i,t[11]),s[0]&256&&I(e,"bx--form__helper-text--disabled",t[8])},d(t){t&&v(e)}}}function ri(l){let e,i,t,s,o,f,a,n=l[9]&&je(l);t=new Rl({props:{class:"bx--combo-box "+(l[6]==="top"&&"bx--list-box--up")+" "+(!l[13]&&l[14]&&"bx--combo-box--warning"),id:l[26],"aria-label":l[28],disabled:l[8],invalid:l[13],invalidText:l[12],open:l[2],light:l[16],size:l[7],warn:l[14],warnText:l[15],$$slots:{default:[oi]},$$scope:{ctx:l}}});let r=!l[13]&&l[11]&&!l[14]&&we(l);return{c(){e=V("div"),n&&n.c(),i=X(),H(t.$$.fragment),s=X(),r&&r.c(),this.h()},l(d){e=R(d,"DIV",{});var u=N(e);n&&n.l(u),i=Y(u),J(t.$$.fragment,u),s=Y(u),r&&r.l(u),u.forEach(v),this.h()},h(){I(e,"bx--list-box__wrapper",!0)},m(d,u){S(d,e,u),n&&n.m(e,null),q(e,i),K(t,e,null),q(e,s),r&&r.m(e,null),o=!0,f||(a=A(window,"click",l[40]),f=!0)},p(d,u){d[9]?n?n.p(d,u):(n=je(d),n.c(),n.m(e,i)):n&&(n.d(1),n=null);const b={};u[0]&24640&&(b.class="bx--combo-box "+(d[6]==="top"&&"bx--list-box--up")+" "+(!d[13]&&d[14]&&"bx--combo-box--warning")),u[0]&67108864&&(b.id=d[26]),u[0]&268435456&&(b["aria-label"]=d[28]),u[0]&256&&(b.disabled=d[8]),u[0]&8192&&(b.invalid=d[13]),u[0]&4096&&(b.invalidText=d[12]),u[0]&4&&(b.open=d[2]),u[0]&65536&&(b.light=d[16]),u[0]&128&&(b.size=d[7]),u[0]&16384&&(b.warn=d[14]),u[0]&32768&&(b.warnText=d[15]),u[0]&1608475967|u[1]&4194304&&(b.$$scope={dirty:u,ctx:d}),t.$set(b),!d[13]&&d[11]&&!d[14]?r?r.p(d,u):(r=we(d),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i(d){o||(W(t.$$.fragment,d),o=!0)},o(d){L(t.$$.fragment,d),o=!1},d(d){d&&v(e),n&&n.d(),Q(t),r&&r.d(),f=!1,a()}}}function di(l,e,i){let t,s,o,f,a;const n=["items","itemToString","selectedId","value","direction","size","disabled","titleText","placeholder","helperText","invalidText","invalid","warn","warnText","light","open","shouldFilterItem","translateWithId","translateWithIdSelection","id","name","ref","listRef","clear"];let r=F(e,n),{$$slots:d={},$$scope:u}=e,{items:b=[]}=e,{itemToString:g=h=>h.text||h.id}=e,{selectedId:_=void 0}=e,{value:m=""}=e,{direction:T="bottom"}=e,{size:c=void 0}=e,{disabled:k=!1}=e,{titleText:w=""}=e,{placeholder:ue=""}=e,{helperText:C=""}=e,{invalidText:ge=""}=e,{invalid:ke=!1}=e,{warn:Ie=!1}=e,{warnText:ve=""}=e,{light:E=!1}=e,{open:D=!1}=e,{shouldFilterItem:Te=()=>!0}=e,{translateWithId:Be=void 0}=e,{translateWithIdSelection:De=void 0}=e,{id:Ee="ccs-"+Math.random().toString(36)}=e,{name:Me=void 0}=e,{ref:j=null}=e,{listRef:We=null}=e;const $e=xe();let G,de=null,P=-1;function Le(h){let z=P+h,x=a!=null&&a.length?a:b;if(x.length===0)return;z<0?z=x.length-1:z>=x.length&&(z=0);let be=b[z].disabled;for(;be;)z=z+h,z<0?z=b.length-1:z>=b.length&&(z=0),be=b[z].disabled;i(23,P=z)}function Ne(h={}){i(33,de=null),i(23,P=-1),i(25,f=void 0),i(0,_=void 0),i(22,G=void 0),i(2,D=!1),i(1,m=""),(h==null?void 0:h.focus)!==!1&&(j==null||j.focus())}kl(()=>{D?(j.focus(),i(24,a=b.filter(h=>Te(h,m)))):(i(23,P=-1),i(24,a=[]),G?i(1,m=g(G)):(i(0,_=void 0),i(1,m=""),i(23,P=-1),i(25,f=void 0)))});function el(h){M.call(this,l,h)}function ll(h){M.call(this,l,h)}function il(h){M.call(this,l,h)}function tl(h){M.call(this,l,h)}function nl(h){M.call(this,l,h)}const al=({target:h})=>{D&&j&&!j.contains(h)&&i(2,D=!1)};function fl(h){se[h?"unshift":"push"](()=>{j=h,i(3,j)})}function sl(){m=this.value,i(1,m)}const ul=({target:h})=>{!D&&h.value.length>0&&i(2,D=!0),m.length||(Ne(),i(2,D=!0))},ol=h=>{var x;const{key:z}=h;if(["Enter","ArrowDown","ArrowUp"].includes(z)&&h.preventDefault(),z==="Enter"){if(i(2,D=!D),P>-1&&((x=a[P])==null?void 0:x.id)!==_)i(2,D=!1),a[P]&&(i(1,m=g(a[P])),i(22,G=a[P]),i(0,_=a[P].id));else{const be=a.find(Ce=>Ce.text.toLowerCase()===(m==null?void 0:m.toLowerCase())&&!Ce.disabled)??a.find(Ce=>!Ce.disabled);be&&(i(2,D=!1),i(22,G=be),i(1,m=g(G)),i(0,_=G.id))}i(23,P=-1)}else z==="Tab"?i(2,D=!1):z==="ArrowDown"?Le(1):z==="ArrowUp"?Le(-1):z==="Escape"&&i(2,D=!1)},rl=({relatedTarget:h})=>{!D||!h||h&&!["INPUT","SELECT","TEXTAREA"].includes(h.tagName)&&h.getAttribute("role")!=="button"&&h.getAttribute("role")!=="searchbox"&&j.focus()};function dl(h){M.call(this,l,h)}const bl=h=>{k||(h.stopPropagation(),i(2,D=!D))},hl=async()=>{k||(i(2,D=!0),await Il(),j.focus())},ml=(h,z,x)=>{if(h.disabled){x.stopPropagation();return}i(0,_=h.id),i(2,D=!1),a[z]&&i(1,m=g(a[z]))},cl=(h,z)=>{h.disabled||i(23,P=z)};function _l(h){We=h,i(4,We)}function gl(h){M.call(this,l,h)}return l.$$set=h=>{i(55,e=B(B({},e),Z(h))),i(30,r=F(e,n)),"items"in h&&i(31,b=h.items),"itemToString"in h&&i(5,g=h.itemToString),"selectedId"in h&&i(0,_=h.selectedId),"value"in h&&i(1,m=h.value),"direction"in h&&i(6,T=h.direction),"size"in h&&i(7,c=h.size),"disabled"in h&&i(8,k=h.disabled),"titleText"in h&&i(9,w=h.titleText),"placeholder"in h&&i(10,ue=h.placeholder),"helperText"in h&&i(11,C=h.helperText),"invalidText"in h&&i(12,ge=h.invalidText),"invalid"in h&&i(13,ke=h.invalid),"warn"in h&&i(14,Ie=h.warn),"warnText"in h&&i(15,ve=h.warnText),"light"in h&&i(16,E=h.light),"open"in h&&i(2,D=h.open),"shouldFilterItem"in h&&i(32,Te=h.shouldFilterItem),"translateWithId"in h&&i(17,Be=h.translateWithId),"translateWithIdSelection"in h&&i(18,De=h.translateWithIdSelection),"id"in h&&i(19,Ee=h.id),"name"in h&&i(20,Me=h.name),"ref"in h&&i(3,j=h.ref),"listRef"in h&&i(4,We=h.listRef),"$$scope"in h&&i(53,u=h.$$scope)},l.$$.update=()=>{l.$$.dirty[0]&2|l.$$.dirty[1]&3&&i(24,a=b.filter(h=>Te(h,m))),l.$$.dirty[0]&20971525|l.$$.dirty[1]&5&&(_!==void 0?de!==_&&(i(33,de=_),(a==null?void 0:a.length)===1&&D?(i(0,_=a[0].id),i(22,G=a[0]),i(23,P=-1),i(25,f=void 0)):i(22,G=b.find(h=>h.id===_)),$e("select",{selectedId:_,selectedItem:G})):(i(33,de=_),i(22,G=void 0))),i(28,t=e["aria-label"]||"Choose an item"),l.$$.dirty[0]&524288&&i(27,s=`menu-${Ee}`),l.$$.dirty[0]&524288&&i(26,o=`combo-${Ee}`),l.$$.dirty[0]&8388608|l.$$.dirty[1]&1&&i(25,f=b[P]?b[P].id:0)},e=Z(e),[_,m,D,j,We,g,T,c,k,w,ue,C,ge,ke,Ie,ve,E,Be,De,Ee,Me,Ne,G,P,a,f,o,s,t,Le,r,b,Te,de,d,el,ll,il,tl,nl,al,fl,sl,ul,ol,rl,dl,bl,hl,ml,cl,_l,gl,u]}class bi extends p{constructor(e){super(),$(this,e,di,ri,ee,{items:31,itemToString:5,selectedId:0,value:1,direction:6,size:7,disabled:8,titleText:9,placeholder:10,helperText:11,invalidText:12,invalid:13,warn:14,warnText:15,light:16,open:2,shouldFilterItem:32,translateWithId:17,translateWithIdSelection:18,id:19,name:20,ref:3,listRef:4,clear:21},null,[-1,-1])}get clear(){return this.$$.ctx[21]}}const ci=bi;export{ci as C};
diff --git a/lilac/web/_app/immutable/chunks/Commands.466155dd.js b/lilac/web/_app/immutable/chunks/Commands.466155dd.js
new file mode 100644
index 0000000000000000000000000000000000000000..3e18806d004d11218c9a19935fb76d7c42bff6f3
--- /dev/null
+++ b/lilac/web/_app/immutable/chunks/Commands.466155dd.js
@@ -0,0 +1,93 @@
+var gh=Object.defineProperty;var bh=(r,e,t)=>e in r?gh(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Ds=(r,e,t)=>(bh(r,typeof e!="symbol"?e+"":e,t),t),Ms=(r,e,t)=>{if(!e.has(r))throw TypeError("Cannot "+t)};var He=(r,e,t)=>(Ms(r,e,"read from private field"),t?t.call(r):e.get(r)),Jt=(r,e,t)=>{if(e.has(r))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(r):e.set(r,t)},St=(r,e,t,n)=>(Ms(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t);import{S as me,i as pe,s as he,e as G,b as P,a1 as ie,h as g,N as ge,E as J,Q as Te,R as X,k as j,l as L,m as R,F as we,G as b,H as W,L as Ne,M as Ge,a4 as et,p as Cn,q as ce,r as de,a0 as I,v as ne,d as y,f as re,g as _,ah as di,ai as kt,w as Fe,D as Ie,x as je,a as $,y as U,c as ee,z as Z,A as H,I as Re,J as De,K as Me,B as Q,V as Nt,u as ve,C as ct,n as A,Z as Ee,_ as Se,$ as We,o as ln,ac as _h,O as Xe,P as sn,t as vh,j as Fl,a8 as Vr,ad as Ns,al as js,am as zl,a2 as yh,ae as kh,T as Ze,a7 as Eh,U as xe,ab as Vl,a5 as Ls,ap as Sh,ar as Oh,aa as wh}from"./index.b7741aa8.js";import{w as mt,r as Ur,d as rc}from"./index.d3776286.js";function qs(r,e,t){const n=r.slice();return n[2]=e[t].width,n}function Ah(r){let e,t,n,i,s=[r[4],{style:t="width: "+r[2]+";"+r[4].style}],l={};for(let o=0;o{e=J(J({},e),Te(C)),t(4,o=ge(e,l)),"lines"in C&&t(5,a=C.lines),"heading"in C&&t(0,u=C.heading),"paragraph"in C&&t(1,f=C.paragraph),"width"in C&&t(2,c=C.width)},r.$$.update=()=>{if(r.$$.dirty&4&&t(7,i=parseInt(c,10)),r.$$.dirty&4&&t(6,s=c.includes("px")),r.$$.dirty&238&&f)for(let C=0;C{e=J(J({},e),Te(p)),t(2,i=ge(e,n)),"href"in p&&t(0,s=p.href),"size"in p&&t(1,l=p.size)},[s,l,i,o,a,u,f,c,h,d,m]}class Lh extends me{constructor(e){super(),pe(this,e,jh,Nh,he,{href:0,size:1})}}const qh=Lh,Bh=r=>({props:r[0]&512}),Fs=r=>({props:r[9]});function Fh(r){let e,t,n,i,s,l,o=r[8]&&zs(r);const a=r[19].default,u=Ie(a,r,r[18],null);var f=r[2];function c(m){return{props:{"aria-hidden":"true",class:"bx--btn__icon",style:m[8]?"margin-left: 0":void 0,"aria-label":m[3]}}}f&&(n=je(f,c(r)));let h=[r[9]],d={};for(let m=0;m{Q(k,1)}),re()}f?(n=je(f,c(m)),U(n.$$.fragment),_(n.$$.fragment,1),H(n,e,null)):n=null}else f&&n.$set(v);we(e,d=Ne(h,[p[0]&512&&m[9]]))},i(m){i||(_(u,m),n&&_(n.$$.fragment,m),i=!0)},o(m){y(u,m),n&&y(n.$$.fragment,m),i=!1},d(m){m&&g(e),o&&o.d(),u&&u.d(m),n&&Q(n),r[33](null),s=!1,Ge(l)}}}function zh(r){let e,t,n,i,s,l,o=r[8]&&Vs(r);const a=r[19].default,u=Ie(a,r,r[18],null);var f=r[2];function c(m){return{props:{"aria-hidden":"true",class:"bx--btn__icon","aria-label":m[3]}}}f&&(n=je(f,c(r)));let h=[r[9]],d={};for(let m=0;m{Q(k,1)}),re()}f?(n=je(f,c(m)),U(n.$$.fragment),_(n.$$.fragment,1),H(n,e,null)):n=null}else f&&n.$set(v);we(e,d=Ne(h,[p[0]&512&&m[9]]))},i(m){i||(_(u,m),n&&_(n.$$.fragment,m),i=!0)},o(m){y(u,m),n&&y(n.$$.fragment,m),i=!1},d(m){m&&g(e),o&&o.d(),u&&u.d(m),n&&Q(n),r[32](null),s=!1,Ge(l)}}}function Vh(r){let e;const t=r[19].default,n=Ie(t,r,r[18],Fs);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,s){n&&n.m(i,s),e=!0},p(i,s){n&&n.p&&(!e||s[0]&262656)&&Re(n,t,i,i[18],e?Me(t,i[18],s,Bh):De(i[18]),Fs)},i(i){e||(_(n,i),e=!0)},o(i){y(n,i),e=!1},d(i){n&&n.d(i)}}}function Uh(r){let e,t;const n=[{href:r[7]},{size:r[1]},r[10],{style:r[8]&&"width: 3rem;"}];let i={};for(let s=0;s{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function Qh(r,e,t){let n,i;const s=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let l=ge(e,s),{$$slots:o={},$$scope:a}=e;const u=di(o);let{kind:f="primary"}=e,{size:c="default"}=e,{expressive:h=!1}=e,{isSelected:d=!1}=e,{icon:m=void 0}=e,{iconDescription:p=void 0}=e,{tooltipAlignment:v="center"}=e,{tooltipPosition:k="bottom"}=e,{as:O=!1}=e,{skeleton:E=!1}=e,{disabled:S=!1}=e,{href:C=void 0}=e,{tabindex:T="0"}=e,{type:D="button"}=e,{ref:w=null}=e;const B=kt("ComposedModal");function M(se){X.call(this,r,se)}function F(se){X.call(this,r,se)}function q(se){X.call(this,r,se)}function N(se){X.call(this,r,se)}function Y(se){X.call(this,r,se)}function V(se){X.call(this,r,se)}function K(se){X.call(this,r,se)}function oe(se){X.call(this,r,se)}function fe(se){X.call(this,r,se)}function x(se){X.call(this,r,se)}function te(se){X.call(this,r,se)}function ke(se){X.call(this,r,se)}function z(se){Fe[se?"unshift":"push"](()=>{w=se,t(0,w)})}function _e(se){Fe[se?"unshift":"push"](()=>{w=se,t(0,w)})}return r.$$set=se=>{e=J(J({},e),Te(se)),t(10,l=ge(e,s)),"kind"in se&&t(11,f=se.kind),"size"in se&&t(1,c=se.size),"expressive"in se&&t(12,h=se.expressive),"isSelected"in se&&t(13,d=se.isSelected),"icon"in se&&t(2,m=se.icon),"iconDescription"in se&&t(3,p=se.iconDescription),"tooltipAlignment"in se&&t(14,v=se.tooltipAlignment),"tooltipPosition"in se&&t(15,k=se.tooltipPosition),"as"in se&&t(4,O=se.as),"skeleton"in se&&t(5,E=se.skeleton),"disabled"in se&&t(6,S=se.disabled),"href"in se&&t(7,C=se.href),"tabindex"in se&&t(16,T=se.tabindex),"type"in se&&t(17,D=se.type),"ref"in se&&t(0,w=se.ref),"$$scope"in se&&t(18,a=se.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&1&&B&&w&&B.declareRef(w),r.$$.dirty[0]&4&&t(8,n=m&&!u.default),t(9,i={type:C&&!S?void 0:D,tabindex:T,disabled:S===!0?!0:void 0,href:C,"aria-pressed":n&&f==="ghost"&&!C?d:void 0,...l,class:["bx--btn",h&&"bx--btn--expressive",(c==="small"&&!h||c==="sm"&&!h||c==="small"&&!h)&&"bx--btn--sm",c==="field"&&!h||c==="md"&&!h&&"bx--btn--md",c==="field"&&"bx--btn--field",c==="small"&&"bx--btn--sm",c==="lg"&&"bx--btn--lg",c==="xl"&&"bx--btn--xl",f&&`bx--btn--${f}`,S&&"bx--btn--disabled",n&&"bx--btn--icon-only",n&&"bx--tooltip__trigger",n&&"bx--tooltip--a11y",n&&k&&`bx--btn--icon-only--${k}`,n&&v&&`bx--tooltip--align-${v}`,n&&d&&f==="ghost"&&"bx--btn--selected",l.class].filter(Boolean).join(" ")})},[w,c,m,p,O,E,S,C,n,i,l,f,h,d,v,k,T,D,a,o,M,F,q,N,Y,V,K,oe,fe,x,te,ke,z,_e]}class Wh extends me{constructor(e){super(),pe(this,e,Qh,Hh,he,{kind:11,size:1,expressive:12,isSelected:13,icon:2,iconDescription:3,tooltipAlignment:14,tooltipPosition:15,as:4,skeleton:5,disabled:6,href:7,tabindex:16,type:17,ref:0},null,[-1,-1])}}const jn=Wh;function Gh(r){let e,t,n,i,s=[r[0]],l={};for(let o=0;o{e=J(J({},e),Te(u)),t(0,i=ge(e,n))},[i,s,l,o,a]}class Zh extends me{constructor(e){super(),pe(this,e,Kh,Gh,he,{})}}const Jh=Zh,Yh=r=>({}),Us=r=>({});function Xh(r){let e,t,n,i,s,l,o,a;const u=r[19].labelText,f=Ie(u,r,r[18],Us),c=f||$h(r);let h=[r[16]],d={};for(let m=0;m{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function tm(r,e,t){let n,i;const s=["value","checked","group","indeterminate","skeleton","required","readonly","disabled","labelText","hideLabel","name","title","id","ref"];let l=ge(e,s),{$$slots:o={},$$scope:a}=e,{value:u=""}=e,{checked:f=!1}=e,{group:c=void 0}=e,{indeterminate:h=!1}=e,{skeleton:d=!1}=e,{required:m=!1}=e,{readonly:p=!1}=e,{disabled:v=!1}=e,{labelText:k=""}=e,{hideLabel:O=!1}=e,{name:E=""}=e,{title:S=void 0}=e,{id:C="ccs-"+Math.random().toString(36)}=e,{ref:T=null}=e;const D=ct();let w=null;function B(z){X.call(this,r,z)}function M(z){X.call(this,r,z)}function F(z){X.call(this,r,z)}function q(z){X.call(this,r,z)}function N(z){X.call(this,r,z)}function Y(z){X.call(this,r,z)}function V(z){X.call(this,r,z)}function K(z){X.call(this,r,z)}function oe(z){X.call(this,r,z)}function fe(z){X.call(this,r,z)}function x(z){Fe[z?"unshift":"push"](()=>{T=z,t(3,T)})}const te=()=>{n?t(1,c=c.includes(u)?c.filter(z=>z!==u):[...c,u]):t(0,f=!f)};function ke(z){Fe[z?"unshift":"push"](()=>{w=z,t(14,w)})}return r.$$set=z=>{e=J(J({},e),Te(z)),t(16,l=ge(e,s)),"value"in z&&t(4,u=z.value),"checked"in z&&t(0,f=z.checked),"group"in z&&t(1,c=z.group),"indeterminate"in z&&t(5,h=z.indeterminate),"skeleton"in z&&t(6,d=z.skeleton),"required"in z&&t(7,m=z.required),"readonly"in z&&t(8,p=z.readonly),"disabled"in z&&t(9,v=z.disabled),"labelText"in z&&t(10,k=z.labelText),"hideLabel"in z&&t(11,O=z.hideLabel),"name"in z&&t(12,E=z.name),"title"in z&&t(2,S=z.title),"id"in z&&t(13,C=z.id),"ref"in z&&t(3,T=z.ref),"$$scope"in z&&t(18,a=z.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&2&&t(15,n=Array.isArray(c)),r.$$.dirty[0]&32787&&t(0,f=n?c.includes(u):f),r.$$.dirty[0]&1&&D("check",f),r.$$.dirty[0]&16384&&t(17,i=(w==null?void 0:w.offsetWidth)<(w==null?void 0:w.scrollWidth)),r.$$.dirty[0]&147460&&t(2,S=!S&&i?w==null?void 0:w.innerText:S)},[f,c,S,T,u,h,d,m,p,v,k,O,E,C,w,n,l,i,a,o,B,M,F,q,N,Y,V,K,oe,fe,x,te,ke]}class nm extends me{constructor(e){super(),pe(this,e,tm,em,he,{value:4,checked:0,group:1,indeterminate:5,skeleton:6,required:7,readonly:8,disabled:9,labelText:10,hideLabel:11,name:12,title:2,id:13,ref:3},null,[-1,-1])}}const rm=nm;function Hs(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function im(r){let e,t,n,i=r[1]&&Hs(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class sm extends me{constructor(e){super(),pe(this,e,lm,im,he,{size:0,title:1})}}const ur=sm;function Qs(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function om(r){let e,t,n,i,s=r[1]&&Qs(r),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],o={};for(let a=0;a{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class um extends me{constructor(e){super(),pe(this,e,am,om,he,{size:0,title:1})}}const hi=um;function Ws(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function fm(r){let e,t,n=r[1]&&Ws(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class dm extends me{constructor(e){super(),pe(this,e,cm,fm,he,{size:0,title:1})}}const ic=dm;function Gs(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function hm(r){let e,t,n=r[1]&&Gs(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}let pm=class extends me{constructor(e){super(),pe(this,e,mm,hm,he,{size:0,title:1})}};const Ul=pm,$i=new Set,lc=mt(0),Ks=()=>lc.set([...$i].filter(r=>_h(r)).length),gm=r=>ln(()=>{$i.add(r);const e=r.subscribe(Ks);return()=>{e(),$i.delete(r),Ks()}});lc.subscribe(r=>{typeof document<"u"&&document.body.classList.toggle("bx--body--with-modal-open",r>0)});function bm(r){let e,t,n,i,s,l;const o=r[18].default,a=Ie(o,r,r[17],null);let u=[{role:"presentation"},r[14]],f={};for(let c=0;ct(9,o=te));let E=null,S=null,C=!1;sn("ComposedModal",{closeModal:()=>{t(0,c=!1)},submit:()=>{k("submit"),k("click:button--primary")},declareRef:te=>{E=te},updateLabel:te=>{O.set(te)}});function T(te){var z;if(p==null)return;const ke=((z=te||S)==null?void 0:z.querySelector(p))||E;ke!=null&&ke.focus()}let D=!1;const w=mt(c);Xe(r,w,te=>t(32,l=te)),gm(w),ln(()=>{vh().then(()=>{T()})}),Fl(()=>{D?c||(D=!1,k("close")):c&&(D=!0,k("open"))});function B(te){X.call(this,r,te)}function M(te){X.call(this,r,te)}function F(te){X.call(this,r,te)}function q(te){X.call(this,r,te)}function N(te){X.call(this,r,te)}function Y(te){Fe[te?"unshift":"push"](()=>{S=te,t(6,S)})}const V=()=>{t(7,C=!0)};function K(te){Fe[te?"unshift":"push"](()=>{v=te,t(1,v)})}const oe=te=>{if(c){if(te.key==="Escape")t(0,c=!1);else if(te.key==="Tab"){const ke=`
+ a[href], area[href], input:not([disabled]):not([tabindex='-1']),
+ button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
+ textarea:not([disabled]):not([tabindex='-1']),
+ iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]
+`,z=Array.from(v.querySelectorAll(ke));let _e=z.indexOf(document.activeElement);_e===-1&&te.shiftKey&&(_e=0),_e+=z.length+(te.shiftKey?-1:1),_e%=z.length,z[_e].focus(),te.preventDefault()}}},fe=()=>{!C&&!d&&t(0,c=!1),t(7,C=!1)},x=({propertyName:te,currentTarget:ke})=>{te==="transform"&&k("transitionend",{open:c}),n&&(T(ke),t(8,n=!1))};return r.$$set=te=>{t(15,e=J(J({},e),Te(te))),t(14,s=ge(e,i)),"size"in te&&t(2,f=te.size),"open"in te&&t(0,c=te.open),"danger"in te&&t(3,h=te.danger),"preventCloseOnClickOutside"in te&&t(4,d=te.preventCloseOnClickOutside),"containerClass"in te&&t(5,m=te.containerClass),"selectorPrimaryFocus"in te&&t(16,p=te.selectorPrimaryFocus),"ref"in te&&t(1,v=te.ref),"$$scope"in te&&t(17,u=te.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&1&&t(8,n=c),r.$$.dirty[0]&1&&Vr(w,l=c,l)},e=Te(e),[c,v,f,h,d,m,S,C,n,o,k,O,T,w,s,e,p,u,a,B,M,F,q,N,Y,V,K,oe,fe,x]}class vm extends me{constructor(e){super(),pe(this,e,_m,bm,he,{size:2,open:0,danger:3,preventCloseOnClickOutside:4,containerClass:5,selectorPrimaryFocus:16,ref:1},null,[-1,-1])}}const Hl=vm;function Zs(r){let e,t;return{c(){e=j("h2"),t=ce(r[1]),this.h()},l(n){e=L(n,"H2",{class:!0});var i=R(e);t=de(i,r[1]),i.forEach(g),this.h()},h(){A(e,"class",r[2]),b(e,"bx--modal-header__label",!0),b(e,"bx--type-delta",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1]),i&4&&A(e,"class",n[2]),i&4&&b(e,"bx--modal-header__label",!0),i&4&&b(e,"bx--type-delta",!0)},d(n){n&&g(e)}}}function Js(r){let e,t;return{c(){e=j("h3"),t=ce(r[0]),this.h()},l(n){e=L(n,"H3",{class:!0});var i=R(e);t=de(i,r[0]),i.forEach(g),this.h()},h(){A(e,"class",r[3]),b(e,"bx--modal-header__heading",!0),b(e,"bx--type-beta",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&1&&ve(t,n[0]),i&8&&A(e,"class",n[3]),i&8&&b(e,"bx--modal-header__heading",!0),i&8&&b(e,"bx--type-beta",!0)},d(n){n&&g(e)}}}function ym(r){let e,t,n,i,s,l,o,a,u,f=r[1]&&Zs(r),c=r[0]&&Js(r);const h=r[10].default,d=Ie(h,r,r[9],null);l=new Ul({props:{size:20,class:"bx--modal-close__icon "+r[5],"aria-hidden":"true"}});let m=[r[8]],p={};for(let v=0;v{e=J(J({},e),Te(k)),t(8,i=ge(e,n)),"title"in k&&t(0,o=k.title),"label"in k&&t(1,a=k.label),"labelClass"in k&&t(2,u=k.labelClass),"titleClass"in k&&t(3,f=k.titleClass),"closeClass"in k&&t(4,c=k.closeClass),"closeIconClass"in k&&t(5,h=k.closeIconClass),"iconDescription"in k&&t(6,d=k.iconDescription),"$$scope"in k&&t(9,l=k.$$scope)},r.$$.update=()=>{r.$$.dirty&2&&p(a)},[o,a,u,f,c,h,d,m,i,l,s,v]}class Em extends me{constructor(e){super(),pe(this,e,km,ym,he,{title:0,label:1,labelClass:2,titleClass:3,closeClass:4,closeIconClass:5,iconDescription:6})}}const Ql=Em;function Ys(r){let e;return{c(){e=j("div"),this.h()},l(t){e=L(t,"DIV",{}),R(e).forEach(g),this.h()},h(){b(e,"bx--modal-content--overflow-indicator",!0)},m(t,n){P(t,e,n)},d(t){t&&g(e)}}}function Sm(r){let e,t,n,i,s,l;const o=r[4].default,a=Ie(o,r,r[3],null);let u=[{tabindex:t=r[1]?"0":void 0},{role:n=r[1]?"region":void 0},r[2]],f={};for(let h=0;h{e=J(J({},e),Te(u)),t(2,i=ge(e,n)),"hasForm"in u&&t(0,o=u.hasForm),"hasScrollingContent"in u&&t(1,a=u.hasScrollingContent),"$$scope"in u&&t(3,l=u.$$scope)},[o,a,i,l,s]}class wm extends me{constructor(e){super(),pe(this,e,Om,Sm,he,{hasForm:0,hasScrollingContent:1})}}const Wl=wm;function Xs(r,e,t){const n=r.slice();return n[16]=e[t],n}function Am(r){let e,t;return e=new jn({props:{kind:"secondary",class:r[6],$$slots:{default:[Pm]},$$scope:{ctx:r}}}),e.$on("click",r[14]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&64&&(s.class=n[6]),i&32784&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Tm(r){let e,t,n=r[5],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l0?0:p[4]?1:-1}~(t=u(r))&&(n=a[t]=o[t](r));let f=r[0]&&$s(r);const c=r[12].default,h=Ie(c,r,r[15],null);let d=[r[11]],m={};for(let p=0;p{a[k]=null}),re()),~t?(n=a[t],n?n.p(p,v):(n=a[t]=o[t](p),n.c()),_(n,1),n.m(e,i)):n=null),p[0]?f?(f.p(p,v),v&1&&_(f,1)):(f=$s(p),f.c(),_(f,1),f.m(e,s)):f&&(ne(),y(f,1,1,()=>{f=null}),re()),h&&h.p&&(!l||v&32768)&&Re(h,c,p,p[15],l?Me(c,p[15],v,null):De(p[15]),null),we(e,m=Ne(d,[v&2048&&p[11]])),b(e,"bx--modal-footer",!0),b(e,"bx--modal-footer--three-button",p[5].length===2)},i(p){l||(_(n),_(f),_(h,p),l=!0)},o(p){y(n),y(f),y(h,p),l=!1},d(p){p&&g(e),~t&&a[t].d(),f&&f.d(),h&&h.d(p)}}}function Dm(r,e,t){const n=["primaryButtonText","primaryButtonIcon","primaryButtonDisabled","primaryClass","secondaryButtonText","secondaryButtons","secondaryClass","danger"];let i=ge(e,n),{$$slots:s={},$$scope:l}=e,{primaryButtonText:o=""}=e,{primaryButtonIcon:a=void 0}=e,{primaryButtonDisabled:u=!1}=e,{primaryClass:f=void 0}=e,{secondaryButtonText:c=""}=e,{secondaryButtons:h=[]}=e,{secondaryClass:d=void 0}=e,{danger:m=!1}=e;const p=ct(),{closeModal:v,submit:k}=kt("ComposedModal"),O=S=>{p("click:button--secondary",{text:S.text})},E=()=>{v(),p("click:button--secondary",{text:c})};return r.$$set=S=>{e=J(J({},e),Te(S)),t(11,i=ge(e,n)),"primaryButtonText"in S&&t(0,o=S.primaryButtonText),"primaryButtonIcon"in S&&t(1,a=S.primaryButtonIcon),"primaryButtonDisabled"in S&&t(2,u=S.primaryButtonDisabled),"primaryClass"in S&&t(3,f=S.primaryClass),"secondaryButtonText"in S&&t(4,c=S.secondaryButtonText),"secondaryButtons"in S&&t(5,h=S.secondaryButtons),"secondaryClass"in S&&t(6,d=S.secondaryClass),"danger"in S&&t(7,m=S.danger),"$$scope"in S&&t(15,l=S.$$scope)},[o,a,u,f,c,h,d,m,p,v,k,i,s,O,E,l]}class Mm extends me{constructor(e){super(),pe(this,e,Dm,Rm,he,{primaryButtonText:0,primaryButtonIcon:1,primaryButtonDisabled:2,primaryClass:3,secondaryButtonText:4,secondaryButtons:5,secondaryClass:6,danger:7})}}const Gl=Mm;function eo(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Nm(r){let e,t,n,i=r[1]&&eo(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Lm extends me{constructor(e){super(),pe(this,e,jm,Nm,he,{size:0,title:1})}}const sc=Lm;function qm(r){let e,t,n,i,s,l,o,a,u,f=r[0]&&to(r),c=[{"aria-atomic":"true"},{"aria-labelledby":r[4]},{"aria-live":u=r[1]?"assertive":"off"},r[6]],h={};for(let d=0;d{e=J(J({},e),Te(c)),t(6,s=ge(e,i)),"small"in c&&t(0,l=c.small),"active"in c&&t(1,o=c.active),"withOverlay"in c&&t(2,a=c.withOverlay),"description"in c&&t(3,u=c.description),"id"in c&&t(4,f=c.id)},r.$$.update=()=>{r.$$.dirty&1&&t(5,n=l?"42":"44")},[l,o,a,u,f,n,s]}class Vm extends me{constructor(e){super(),pe(this,e,zm,Fm,he,{small:0,active:1,withOverlay:2,description:3,id:4})}}const Um=Vm;function ro(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Hm(r){let e,t,n,i=r[1]&&ro(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Wm extends me{constructor(e){super(),pe(this,e,Qm,Hm,he,{size:0,title:1})}}const oc=Wm;function Gm(r){let e,t;return e=new Um({props:{small:!0,description:r[2],withOverlay:!1,active:r[0]==="active"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&4&&(s.description=n[2]),i&1&&(s.active=n[0]==="active"),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Km(r){let e,t;return e=new sc({props:{class:"bx--inline-loading__checkmark-container",title:r[2]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&4&&(s.title=n[2]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Zm(r){let e,t;return e=new oc({props:{class:"bx--inline-loading--error",title:r[2]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&4&&(s.title=n[2]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function io(r){let e,t;return{c(){e=j("div"),t=ce(r[1]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[1]),i.forEach(g),this.h()},h(){b(e,"bx--inline-loading__text",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Jm(r){let e,t,n,i,s,l,o,a;const u=[Zm,Km,Gm],f=[];function c(p,v){return p[0]==="error"?0:p[0]==="finished"?1:p[0]==="inactive"||p[0]==="active"?2:-1}~(n=c(r))&&(i=f[n]=u[n](r));let h=r[1]&&io(r),d=[{"aria-live":"assertive"},r[3]],m={};for(let p=0;p{f[k]=null}),re()),~n?(i=f[n],i?i.p(p,v):(i=f[n]=u[n](p),i.c()),_(i,1),i.m(t,null)):i=null),p[1]?h?h.p(p,v):(h=io(p),h.c(),h.m(e,null)):h&&(h.d(1),h=null),we(e,m=Ne(d,[{"aria-live":"assertive"},v&8&&p[3]])),b(e,"bx--inline-loading",!0)},i(p){l||(_(i),l=!0)},o(p){y(i),l=!1},d(p){p&&g(e),~n&&f[n].d(),h&&h.d(),o=!1,Ge(a)}}}function Ym(r,e,t){const n=["status","description","iconDescription","successDelay"];let i=ge(e,n),{status:s="active"}=e,{description:l=void 0}=e,{iconDescription:o=void 0}=e,{successDelay:a=1500}=e;const u=ct();let f;ln(()=>()=>{clearTimeout(f)}),Fl(()=>{s==="finished"&&(f=setTimeout(()=>{u("success")},a))});function c(p){X.call(this,r,p)}function h(p){X.call(this,r,p)}function d(p){X.call(this,r,p)}function m(p){X.call(this,r,p)}return r.$$set=p=>{e=J(J({},e),Te(p)),t(3,i=ge(e,n)),"status"in p&&t(0,s=p.status),"description"in p&&t(1,l=p.description),"iconDescription"in p&&t(2,o=p.iconDescription),"successDelay"in p&&t(4,a=p.successDelay)},[s,l,o,i,a,c,h,d,m]}class Xm extends me{constructor(e){super(),pe(this,e,Ym,Jm,he,{status:0,description:1,iconDescription:2,successDelay:4})}}const ac=Xm;function xm(r){let e,t,n,i,s;var l=r[1];function o(f){return{props:{size:20,title:f[2],class:(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")}}}l&&(t=je(l,o(r)));let a=[{type:"button"},{"aria-label":r[3]},{title:r[3]},r[4]],u={};for(let f=0;f{Q(d,1)}),re()}l?(t=je(l,o(f)),U(t.$$.fragment),_(t.$$.fragment,1),H(t,e,null)):t=null}else l&&t.$set(h);we(e,u=Ne(a,[{type:"button"},(!n||c&8)&&{"aria-label":f[3]},(!n||c&8)&&{title:f[3]},c&16&&f[4]])),b(e,"bx--toast-notification__close-button",f[0]==="toast"),b(e,"bx--inline-notification__close-button",f[0]==="inline")},i(f){n||(t&&_(t.$$.fragment,f),n=!0)},o(f){t&&y(t.$$.fragment,f),n=!1},d(f){f&&g(e),t&&Q(t),i=!1,Ge(s)}}}function $m(r,e,t){const n=["notificationType","icon","title","iconDescription"];let i=ge(e,n),{notificationType:s="toast"}=e,{icon:l=Ul}=e,{title:o=void 0}=e,{iconDescription:a="Close icon"}=e;function u(d){X.call(this,r,d)}function f(d){X.call(this,r,d)}function c(d){X.call(this,r,d)}function h(d){X.call(this,r,d)}return r.$$set=d=>{e=J(J({},e),Te(d)),t(4,i=ge(e,n)),"notificationType"in d&&t(0,s=d.notificationType),"icon"in d&&t(1,l=d.icon),"title"in d&&t(2,o=d.title),"iconDescription"in d&&t(3,a=d.iconDescription)},[s,l,o,a,i,u,f,c,h]}class ep extends me{constructor(e){super(),pe(this,e,$m,xm,he,{notificationType:0,icon:1,title:2,iconDescription:3})}}const tp=ep;function lo(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function np(r){let e,t,n,i=r[1]&&lo(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class ip extends me{constructor(e){super(),pe(this,e,rp,np,he,{size:0,title:1})}}const lp=ip;function so(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function sp(r){let e,t,n,i=r[1]&&so(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class ap extends me{constructor(e){super(),pe(this,e,op,sp,he,{size:0,title:1})}}const up=ap;function fp(r){let e,t,n;var i=r[3][r[0]];function s(l){return{props:{size:20,title:l[2],class:(l[1]==="toast"&&"bx--toast-notification__icon")+" "+(l[1]==="inline"&&"bx--inline-notification__icon")}}}return i&&(e=je(i,s(r))),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,[o]){const a={};if(o&4&&(a.title=l[2]),o&2&&(a.class=(l[1]==="toast"&&"bx--toast-notification__icon")+" "+(l[1]==="inline"&&"bx--inline-notification__icon")),o&1&&i!==(i=l[3][l[0]])){if(e){ne();const u=e;y(u.$$.fragment,1,0,()=>{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function cp(r,e,t){let{kind:n="error"}=e,{notificationType:i="toast"}=e,{iconDescription:s}=e;const l={error:oc,"info-square":up,info:lp,success:sc,warning:ur,"warning-alt":hi};return r.$$set=o=>{"kind"in o&&t(0,n=o.kind),"notificationType"in o&&t(1,i=o.notificationType),"iconDescription"in o&&t(2,s=o.iconDescription)},[n,i,s,l]}class dp extends me{constructor(e){super(),pe(this,e,cp,fp,he,{kind:0,notificationType:1,iconDescription:2})}}const hp=dp,mp=r=>({}),oo=r=>({}),pp=r=>({}),ao=r=>({}),gp=r=>({}),uo=r=>({});function fo(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m;n=new hp({props:{notificationType:"inline",kind:r[0],iconDescription:r[6]}});const p=r[13].title,v=Ie(p,r,r[12],uo),k=v||bp(r),O=r[13].subtitle,E=Ie(O,r,r[12],ao),S=E||_p(r),C=r[13].default,T=Ie(C,r,r[12],null),D=r[13].actions,w=Ie(D,r,r[12],oo);let B=!r[5]&&co(r),M=[{role:r[2]},{kind:r[0]},r[10]],F={};for(let q=0;q{B=null}),re()):B?(B.p(q,N),N&32&&_(B,1)):(B=co(q),B.c(),_(B,1),B.m(e,null)),we(e,F=Ne(M,[(!h||N&4)&&{role:q[2]},(!h||N&1)&&{kind:q[0]},N&1024&&q[10]])),b(e,"bx--inline-notification",!0),b(e,"bx--inline-notification--low-contrast",q[1]),b(e,"bx--inline-notification--hide-close-button",q[5]),b(e,"bx--inline-notification--error",q[0]==="error"),b(e,"bx--inline-notification--info",q[0]==="info"),b(e,"bx--inline-notification--info-square",q[0]==="info-square"),b(e,"bx--inline-notification--success",q[0]==="success"),b(e,"bx--inline-notification--warning",q[0]==="warning"),b(e,"bx--inline-notification--warning-alt",q[0]==="warning-alt")},i(q){h||(_(n.$$.fragment,q),_(k,q),_(S,q),_(T,q),_(w,q),_(B),h=!0)},o(q){y(n.$$.fragment,q),y(k,q),y(S,q),y(T,q),y(w,q),y(B),h=!1},d(q){q&&g(e),Q(n),k&&k.d(q),S&&S.d(q),T&&T.d(q),w&&w.d(q),B&&B.d(),d=!1,Ge(m)}}}function bp(r){let e;return{c(){e=ce(r[3])},l(t){e=de(t,r[3])},m(t,n){P(t,e,n)},p(t,n){n&8&&ve(e,t[3])},d(t){t&&g(e)}}}function _p(r){let e;return{c(){e=ce(r[4])},l(t){e=de(t,r[4])},m(t,n){P(t,e,n)},p(t,n){n&16&&ve(e,t[4])},d(t){t&&g(e)}}}function co(r){let e,t;return e=new tp({props:{iconDescription:r[7],notificationType:"inline"}}),e.$on("click",r[9]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&128&&(s.iconDescription=n[7]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function vp(r){let e,t,n=r[8]&&fo(r);return{c(){n&&n.c(),e=G()},l(i){n&&n.l(i),e=G()},m(i,s){n&&n.m(i,s),P(i,e,s),t=!0},p(i,[s]){i[8]?n?(n.p(i,s),s&256&&_(n,1)):(n=fo(i),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(ne(),y(n,1,1,()=>{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}function yp(r,e,t){const n=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let i=ge(e,n),{$$slots:s={},$$scope:l}=e,{kind:o="error"}=e,{lowContrast:a=!1}=e,{timeout:u=0}=e,{role:f="alert"}=e,{title:c=""}=e,{subtitle:h=""}=e,{hideCloseButton:d=!1}=e,{statusIconDescription:m=o+" icon"}=e,{closeButtonDescription:p="Close notification"}=e;const v=ct();let k=!0,O;function E(w){v("close",{timeout:w===!0},{cancelable:!0})&&t(8,k=!1)}ln(()=>(u&&(O=setTimeout(()=>E(!0),u)),()=>{clearTimeout(O)}));function S(w){X.call(this,r,w)}function C(w){X.call(this,r,w)}function T(w){X.call(this,r,w)}function D(w){X.call(this,r,w)}return r.$$set=w=>{e=J(J({},e),Te(w)),t(10,i=ge(e,n)),"kind"in w&&t(0,o=w.kind),"lowContrast"in w&&t(1,a=w.lowContrast),"timeout"in w&&t(11,u=w.timeout),"role"in w&&t(2,f=w.role),"title"in w&&t(3,c=w.title),"subtitle"in w&&t(4,h=w.subtitle),"hideCloseButton"in w&&t(5,d=w.hideCloseButton),"statusIconDescription"in w&&t(6,m=w.statusIconDescription),"closeButtonDescription"in w&&t(7,p=w.closeButtonDescription),"$$scope"in w&&t(12,l=w.$$scope)},[o,a,f,c,h,d,m,p,k,E,i,u,l,s,S,C,T,D]}class kp extends me{constructor(e){super(),pe(this,e,yp,vp,he,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}const uc=kp;function ho(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Ep(r){let e,t,n=r[1]&&ho(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Op extends me{constructor(e){super(),pe(this,e,Sp,Ep,he,{size:0,title:1})}}const wp=Op;function mo(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Ap(r){let e,t,n=r[1]&&mo(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Pp extends me{constructor(e){super(),pe(this,e,Tp,Ap,he,{size:0,title:1})}}const Cp=Pp;function po(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Ip(r){let e,t,n=r[1]&&po(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Dp extends me{constructor(e){super(),pe(this,e,Rp,Ip,he,{size:0,title:1})}}const fc=Dp,Mp=r=>({}),go=r=>({});function bo(r){let e,t;const n=r[34].label,i=Ie(n,r,r[33],go),s=i||Np(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){A(e,"for",r[18]),b(e,"bx--label",!0),b(e,"bx--label--disabled",r[8]),b(e,"bx--visually-hidden",r[17])},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[1]&4)&&Re(i,n,l,l[33],t?Me(n,l[33],o,Mp):De(l[33]),go):s&&s.p&&(!t||o[0]&65536)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&262144)&&A(e,"for",l[18]),(!t||o[0]&256)&&b(e,"bx--label--disabled",l[8]),(!t||o[0]&131072)&&b(e,"bx--visually-hidden",l[17])},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Np(r){let e;return{c(){e=ce(r[16])},l(t){e=de(t,r[16])},m(t,n){P(t,e,n)},p(t,n){n[0]&65536&&ve(e,t[16])},d(t){t&&g(e)}}}function jp(r){let e,t,n,i=r[11]&&_o(),s=!r[11]&&r[13]&&vo();return{c(){i&&i.c(),e=$(),s&&s.c(),t=G()},l(l){i&&i.l(l),e=ee(l),s&&s.l(l),t=G()},m(l,o){i&&i.m(l,o),P(l,e,o),s&&s.m(l,o),P(l,t,o),n=!0},p(l,o){l[11]?i?o[0]&2048&&_(i,1):(i=_o(),i.c(),_(i,1),i.m(e.parentNode,e)):i&&(ne(),y(i,1,1,()=>{i=null}),re()),!l[11]&&l[13]?s?o[0]&10240&&_(s,1):(s=vo(),s.c(),_(s,1),s.m(t.parentNode,t)):s&&(ne(),y(s,1,1,()=>{s=null}),re())},i(l){n||(_(i),_(s),n=!0)},o(l){y(i),y(s),n=!1},d(l){i&&i.d(l),l&&g(e),s&&s.d(l),l&&g(t)}}}function Lp(r){let e,t;return e=new fc({props:{class:"bx--text-input__readonly-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function _o(r){let e,t;return e=new ur({props:{class:"bx--number__invalid"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function vo(r){let e,t;return e=new hi({props:{class:"bx--number__invalid bx--number__invalid--warning"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function yo(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k;return n=new Cp({props:{class:"down-icon"}}),f=new wp({props:{class:"up-icon"}}),{c(){e=j("div"),t=j("button"),U(n.$$.fragment),l=$(),o=j("div"),a=$(),u=j("button"),U(f.$$.fragment),d=$(),m=j("div"),this.h()},l(O){e=L(O,"DIV",{});var E=R(e);t=L(E,"BUTTON",{type:!0,tabindex:!0,title:!0,"aria-label":!0});var S=R(t);Z(n.$$.fragment,S),S.forEach(g),l=ee(E),o=L(E,"DIV",{}),R(o).forEach(g),a=ee(E),u=L(E,"BUTTON",{type:!0,tabindex:!0,title:!0,"aria-label":!0});var C=R(u);Z(f.$$.fragment,C),C.forEach(g),d=ee(E),m=L(E,"DIV",{}),R(m).forEach(g),E.forEach(g),this.h()},h(){A(t,"type","button"),A(t,"tabindex","-1"),A(t,"title",i=r[23]||r[10]),A(t,"aria-label",s=r[23]||r[10]),t.disabled=r[8],b(t,"bx--number__control-btn",!0),b(t,"down-icon",!0),b(o,"bx--number__rule-divider",!0),A(u,"type","button"),A(u,"tabindex","-1"),A(u,"title",c=r[24]||r[10]),A(u,"aria-label",h=r[24]||r[10]),u.disabled=r[8],b(u,"bx--number__control-btn",!0),b(u,"up-icon",!0),b(m,"bx--number__rule-divider",!0),b(e,"bx--number__controls",!0)},m(O,E){P(O,e,E),I(e,t),H(n,t,null),I(e,l),I(e,o),I(e,a),I(e,u),H(f,u,null),I(e,d),I(e,m),p=!0,v||(k=[W(t,"click",r[45]),W(u,"click",r[46])],v=!0)},p(O,E){(!p||E[0]&8389632&&i!==(i=O[23]||O[10]))&&A(t,"title",i),(!p||E[0]&8389632&&s!==(s=O[23]||O[10]))&&A(t,"aria-label",s),(!p||E[0]&256)&&(t.disabled=O[8]),(!p||E[0]&16778240&&c!==(c=O[24]||O[10]))&&A(u,"title",c),(!p||E[0]&16778240&&h!==(h=O[24]||O[10]))&&A(u,"aria-label",h),(!p||E[0]&256)&&(u.disabled=O[8])},i(O){p||(_(n.$$.fragment,O),_(f.$$.fragment,O),p=!0)},o(O){y(n.$$.fragment,O),y(f.$$.fragment,O),p=!1},d(O){O&&g(e),Q(n),Q(f),v=!1,Ge(k)}}}function ko(r){let e,t;return{c(){e=j("div"),t=ce(r[15]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[15]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[8])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&32768&&ve(t,n[15]),i[0]&256&&b(e,"bx--form__helper-text--disabled",n[8])},d(n){n&&g(e)}}}function Eo(r){let e,t;return{c(){e=j("div"),t=ce(r[12]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[12]),i.forEach(g),this.h()},h(){A(e,"id",r[21]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&4096&&ve(t,n[12]),i[0]&2097152&&A(e,"id",n[21])},d(n){n&&g(e)}}}function So(r){let e,t;return{c(){e=j("div"),t=ce(r[14]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[14]),i.forEach(g),this.h()},h(){A(e,"id",r[21]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&16384&&ve(t,n[14]),i[0]&2097152&&A(e,"id",n[21])},d(n){n&&g(e)}}}function qp(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O,E,S,C=(r[28].label||r[16])&&bo(r),T=[{type:"number"},{pattern:"[0-9]*"},{"aria-describedby":r[21]},{"data-invalid":l=r[22]||void 0},{"aria-invalid":o=r[22]||void 0},{"aria-label":a=r[16]?void 0:r[20]},{disabled:r[8]},{id:r[18]},{name:r[19]},{max:r[4]},{min:r[5]},{step:r[3]},{value:u=r[0]??""},{readOnly:r[7]},r[29]],D={};for(let V=0;V{C=null}),re()),we(s,D=Ne(T,[{type:"number"},{pattern:"[0-9]*"},(!O||K[0]&2097152)&&{"aria-describedby":V[21]},(!O||K[0]&4194304&&l!==(l=V[22]||void 0))&&{"data-invalid":l},(!O||K[0]&4194304&&o!==(o=V[22]||void 0))&&{"aria-invalid":o},(!O||K[0]&1114112&&a!==(a=V[16]?void 0:V[20]))&&{"aria-label":a},(!O||K[0]&256)&&{disabled:V[8]},(!O||K[0]&262144)&&{id:V[18]},(!O||K[0]&524288)&&{name:V[19]},(!O||K[0]&16)&&{max:V[4]},(!O||K[0]&32)&&{min:V[5]},(!O||K[0]&8)&&{step:V[3]},(!O||K[0]&1&&u!==(u=V[0]??"")&&s.value!==u)&&{value:u},(!O||K[0]&128)&&{readOnly:V[7]},K[0]&536870912&&V[29]]));let oe=c;c=M(V),c===oe?B[c].p(V,K):(ne(),y(B[oe],1,1,()=>{B[oe]=null}),re(),h=B[c],h?h.p(V,K):(h=B[c]=w[c](V),h.c()),_(h,1),h.m(i,d)),V[9]?F&&(ne(),y(F,1,1,()=>{F=null}),re()):F?(F.p(V,K),K[0]&512&&_(F,1)):(F=yo(V),F.c(),_(F,1),F.m(i,null)),(!O||K[0]&10240)&&b(i,"bx--number__input-wrapper--warning",!V[11]&&V[13]),!V[22]&&!V[13]&&V[15]?q?q.p(V,K):(q=ko(V),q.c(),q.m(t,p)):q&&(q.d(1),q=null),V[22]?N?N.p(V,K):(N=Eo(V),N.c(),N.m(t,v)):N&&(N.d(1),N=null),!V[22]&&V[13]?Y?Y.p(V,K):(Y=So(V),Y.c(),Y.m(t,null)):Y&&(Y.d(1),Y=null),(!O||K[0]&4194304&&k!==(k=V[22]||void 0))&&A(t,"data-invalid",k),(!O||K[0]&128)&&b(t,"bx--number--readonly",V[7]),(!O||K[0]&64)&&b(t,"bx--number--light",V[6]),(!O||K[0]&131072)&&b(t,"bx--number--nolabel",V[17]),(!O||K[0]&512)&&b(t,"bx--number--nosteppers",V[9]),(!O||K[0]&4)&&b(t,"bx--number--sm",V[2]==="sm"),(!O||K[0]&4)&&b(t,"bx--number--xl",V[2]==="xl")},i(V){O||(_(C),_(h),_(F),O=!0)},o(V){y(C),y(h),y(F),O=!1},d(V){V&&g(e),C&&C.d(),r[44](null),B[c].d(),F&&F.d(),q&&q.d(),N&&N.d(),Y&&Y.d(),E=!1,Ge(S)}}}function Oo(r){return r!=""?Number(r):null}function Bp(r,e,t){let n,i,s,l,o;const a=["size","value","step","max","min","light","readonly","allowEmpty","disabled","hideSteppers","iconDescription","invalid","invalidText","warn","warnText","helperText","label","hideLabel","translateWithId","translationIds","id","name","ref"];let u=ge(e,a),{$$slots:f={},$$scope:c}=e;const h=di(f);let{size:d=void 0}=e,{value:m=null}=e,{step:p=1}=e,{max:v=void 0}=e,{min:k=void 0}=e,{light:O=!1}=e,{readonly:E=!1}=e,{allowEmpty:S=!1}=e,{disabled:C=!1}=e,{hideSteppers:T=!1}=e,{iconDescription:D=""}=e,{invalid:w=!1}=e,{invalidText:B=""}=e,{warn:M=!1}=e,{warnText:F=""}=e,{helperText:q=""}=e,{label:N=""}=e,{hideLabel:Y=!1}=e,{translateWithId:V=ue=>te[ue]}=e;const K={increment:"increment",decrement:"decrement"};let{id:oe="ccs-"+Math.random().toString(36)}=e,{name:fe=void 0}=e,{ref:x=null}=e;const te={[K.increment]:"Increment number",[K.decrement]:"Decrement number"},ke=ct();function z(ue){ue?x.stepUp():x.stepDown(),t(0,m=+x.value),ke("input",m),ke("change",m)}function _e({target:ue}){t(0,m=Oo(ue.value)),ke("input",m)}function se({target:ue}){ke("change",Oo(ue.value))}function Je(ue){X.call(this,r,ue)}function lt(ue){X.call(this,r,ue)}function Et(ue){X.call(this,r,ue)}function _t(ue){X.call(this,r,ue)}function Pe(ue){X.call(this,r,ue)}function le(ue){X.call(this,r,ue)}function ae(ue){X.call(this,r,ue)}function vt(ue){X.call(this,r,ue)}function Sn(ue){X.call(this,r,ue)}function tt(ue){Fe[ue?"unshift":"push"](()=>{x=ue,t(1,x)})}const On=()=>{z(!1)},Pt=()=>{z(!0)};return r.$$set=ue=>{t(49,e=J(J({},e),Te(ue))),t(29,u=ge(e,a)),"size"in ue&&t(2,d=ue.size),"value"in ue&&t(0,m=ue.value),"step"in ue&&t(3,p=ue.step),"max"in ue&&t(4,v=ue.max),"min"in ue&&t(5,k=ue.min),"light"in ue&&t(6,O=ue.light),"readonly"in ue&&t(7,E=ue.readonly),"allowEmpty"in ue&&t(30,S=ue.allowEmpty),"disabled"in ue&&t(8,C=ue.disabled),"hideSteppers"in ue&&t(9,T=ue.hideSteppers),"iconDescription"in ue&&t(10,D=ue.iconDescription),"invalid"in ue&&t(11,w=ue.invalid),"invalidText"in ue&&t(12,B=ue.invalidText),"warn"in ue&&t(13,M=ue.warn),"warnText"in ue&&t(14,F=ue.warnText),"helperText"in ue&&t(15,q=ue.helperText),"label"in ue&&t(16,N=ue.label),"hideLabel"in ue&&t(17,Y=ue.hideLabel),"translateWithId"in ue&&t(31,V=ue.translateWithId),"id"in ue&&t(18,oe=ue.id),"name"in ue&&t(19,fe=ue.name),"ref"in ue&&t(1,x=ue.ref),"$$scope"in ue&&t(33,c=ue.$$scope)},r.$$.update=()=>{r.$$.dirty[1]&1&&t(24,n=V("increment")),r.$$.dirty[1]&1&&t(23,i=V("decrement")),r.$$.dirty[0]&1073744049&&t(22,s=w&&!E||!S&&m==null||m>v||typeof m=="number"&&m({}),wo=r=>({});function Ao(r){let e,t;const n=r[26].labelText,i=Ie(n,r,r[25],wo),s=i||Up(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){A(e,"for",r[5]),b(e,"bx--label",!0),b(e,"bx--visually-hidden",r[14]),b(e,"bx--label--disabled",r[4])},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[0]&33554432)&&Re(i,n,l,l[25],t?Me(n,l[25],o,Vp):De(l[25]),wo):s&&s.p&&(!t||o[0]&8192)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&32)&&A(e,"for",l[5]),(!t||o[0]&16384)&&b(e,"bx--visually-hidden",l[14]),(!t||o[0]&16)&&b(e,"bx--label--disabled",l[4])},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Up(r){let e;return{c(){e=ce(r[13])},l(t){e=de(t,r[13])},m(t,n){P(t,e,n)},p(t,n){n[0]&8192&&ve(e,t[13])},d(t){t&&g(e)}}}function To(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k;const O=r[26].default,E=Ie(O,r,r[25],null);u=new ic({props:{class:"bx--select__arrow"}});let S=r[7]&&Po(),C=r[7]&&Co(r),T=r[11]&&Io(r);return{c(){e=j("div"),t=j("div"),n=j("select"),E&&E.c(),a=$(),U(u.$$.fragment),f=$(),S&&S.c(),h=$(),C&&C.c(),d=$(),T&&T.c(),m=G(),this.h()},l(D){e=L(D,"DIV",{});var w=R(e);t=L(w,"DIV",{"data-invalid":!0});var B=R(t);n=L(B,"SELECT",{"aria-describedby":!0,"aria-invalid":!0,id:!0,name:!0});var M=R(n);E&&E.l(M),M.forEach(g),a=ee(B),Z(u.$$.fragment,B),f=ee(B),S&&S.l(B),B.forEach(g),h=ee(w),C&&C.l(w),w.forEach(g),d=ee(D),T&&T.l(D),m=G(),this.h()},h(){A(n,"aria-describedby",i=r[7]?r[16]:void 0),A(n,"aria-invalid",s=r[7]||void 0),n.disabled=l=r[4]||void 0,n.required=o=r[15]||void 0,A(n,"id",r[5]),A(n,"name",r[6]),b(n,"bx--select-input",!0),b(n,"bx--select-input--sm",r[1]==="sm"),b(n,"bx--select-input--xl",r[1]==="xl"),A(t,"data-invalid",c=r[7]||void 0),b(t,"bx--select-input__wrapper",!0),b(e,"bx--select-input--inline__wrapper",!0)},m(D,w){P(D,e,w),I(e,t),I(t,n),E&&E.m(n,null),r[35](n),I(t,a),H(u,t,null),I(t,f),S&&S.m(t,null),I(e,h),C&&C.m(e,null),P(D,d,w),T&&T.m(D,w),P(D,m,w),p=!0,v||(k=[W(n,"change",r[21]),W(n,"change",r[31]),W(n,"input",r[32]),W(n,"focus",r[33]),W(n,"blur",r[34])],v=!0)},p(D,w){E&&E.p&&(!p||w[0]&33554432)&&Re(E,O,D,D[25],p?Me(O,D[25],w,null):De(D[25]),null),(!p||w[0]&65664&&i!==(i=D[7]?D[16]:void 0))&&A(n,"aria-describedby",i),(!p||w[0]&128&&s!==(s=D[7]||void 0))&&A(n,"aria-invalid",s),(!p||w[0]&16&&l!==(l=D[4]||void 0))&&(n.disabled=l),(!p||w[0]&32768&&o!==(o=D[15]||void 0))&&(n.required=o),(!p||w[0]&32)&&A(n,"id",D[5]),(!p||w[0]&64)&&A(n,"name",D[6]),(!p||w[0]&2)&&b(n,"bx--select-input--sm",D[1]==="sm"),(!p||w[0]&2)&&b(n,"bx--select-input--xl",D[1]==="xl"),D[7]?S?w[0]&128&&_(S,1):(S=Po(),S.c(),_(S,1),S.m(t,null)):S&&(ne(),y(S,1,1,()=>{S=null}),re()),(!p||w[0]&128&&c!==(c=D[7]||void 0))&&A(t,"data-invalid",c),D[7]?C?C.p(D,w):(C=Co(D),C.c(),C.m(e,null)):C&&(C.d(1),C=null),D[11]?T?T.p(D,w):(T=Io(D),T.c(),T.m(m.parentNode,m)):T&&(T.d(1),T=null)},i(D){p||(_(E,D),_(u.$$.fragment,D),_(S),p=!0)},o(D){y(E,D),y(u.$$.fragment,D),y(S),p=!1},d(D){D&&g(e),E&&E.d(D),r[35](null),Q(u),S&&S.d(),C&&C.d(),D&&g(d),T&&T.d(D),D&&g(m),v=!1,Ge(k)}}}function Po(r){let e,t;return e=new ur({props:{class:"bx--select__invalid-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Co(r){let e,t;return{c(){e=j("div"),t=ce(r[8]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[8]),i.forEach(g),this.h()},h(){A(e,"id",r[16]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&256&&ve(t,n[8]),i[0]&65536&&A(e,"id",n[16])},d(n){n&&g(e)}}}function Io(r){let e,t;return{c(){e=j("div"),t=ce(r[11]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[11]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[4])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&2048&&ve(t,n[11]),i[0]&16&&b(e,"bx--form__helper-text--disabled",n[4])},d(n){n&&g(e)}}}function Ro(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O;const E=r[26].default,S=Ie(E,r,r[25],null);a=new ic({props:{class:"bx--select__arrow"}});let C=r[7]&&Do(),T=!r[7]&&r[9]&&Mo(),D=!r[7]&&r[11]&&No(r),w=r[7]&&jo(r),B=!r[7]&&r[9]&&Lo(r);return{c(){e=j("div"),t=j("select"),S&&S.c(),o=$(),U(a.$$.fragment),u=$(),C&&C.c(),f=$(),T&&T.c(),h=$(),D&&D.c(),d=$(),w&&w.c(),m=$(),B&&B.c(),p=G(),this.h()},l(M){e=L(M,"DIV",{"data-invalid":!0});var F=R(e);t=L(F,"SELECT",{id:!0,name:!0,"aria-describedby":!0,"aria-invalid":!0});var q=R(t);S&&S.l(q),q.forEach(g),o=ee(F),Z(a.$$.fragment,F),u=ee(F),C&&C.l(F),f=ee(F),T&&T.l(F),F.forEach(g),h=ee(M),D&&D.l(M),d=ee(M),w&&w.l(M),m=ee(M),B&&B.l(M),p=G(),this.h()},h(){A(t,"id",r[5]),A(t,"name",r[6]),A(t,"aria-describedby",n=r[7]?r[16]:void 0),t.disabled=i=r[4]||void 0,t.required=s=r[15]||void 0,A(t,"aria-invalid",l=r[7]||void 0),b(t,"bx--select-input",!0),b(t,"bx--select-input--sm",r[1]==="sm"),b(t,"bx--select-input--xl",r[1]==="xl"),A(e,"data-invalid",c=r[7]||void 0),b(e,"bx--select-input__wrapper",!0)},m(M,F){P(M,e,F),I(e,t),S&&S.m(t,null),r[36](t),I(e,o),H(a,e,null),I(e,u),C&&C.m(e,null),I(e,f),T&&T.m(e,null),P(M,h,F),D&&D.m(M,F),P(M,d,F),w&&w.m(M,F),P(M,m,F),B&&B.m(M,F),P(M,p,F),v=!0,k||(O=[W(t,"change",r[21]),W(t,"change",r[27]),W(t,"input",r[28]),W(t,"focus",r[29]),W(t,"blur",r[30])],k=!0)},p(M,F){S&&S.p&&(!v||F[0]&33554432)&&Re(S,E,M,M[25],v?Me(E,M[25],F,null):De(M[25]),null),(!v||F[0]&32)&&A(t,"id",M[5]),(!v||F[0]&64)&&A(t,"name",M[6]),(!v||F[0]&65664&&n!==(n=M[7]?M[16]:void 0))&&A(t,"aria-describedby",n),(!v||F[0]&16&&i!==(i=M[4]||void 0))&&(t.disabled=i),(!v||F[0]&32768&&s!==(s=M[15]||void 0))&&(t.required=s),(!v||F[0]&128&&l!==(l=M[7]||void 0))&&A(t,"aria-invalid",l),(!v||F[0]&2)&&b(t,"bx--select-input--sm",M[1]==="sm"),(!v||F[0]&2)&&b(t,"bx--select-input--xl",M[1]==="xl"),M[7]?C?F[0]&128&&_(C,1):(C=Do(),C.c(),_(C,1),C.m(e,f)):C&&(ne(),y(C,1,1,()=>{C=null}),re()),!M[7]&&M[9]?T?F[0]&640&&_(T,1):(T=Mo(),T.c(),_(T,1),T.m(e,null)):T&&(ne(),y(T,1,1,()=>{T=null}),re()),(!v||F[0]&128&&c!==(c=M[7]||void 0))&&A(e,"data-invalid",c),!M[7]&&M[11]?D?D.p(M,F):(D=No(M),D.c(),D.m(d.parentNode,d)):D&&(D.d(1),D=null),M[7]?w?w.p(M,F):(w=jo(M),w.c(),w.m(m.parentNode,m)):w&&(w.d(1),w=null),!M[7]&&M[9]?B?B.p(M,F):(B=Lo(M),B.c(),B.m(p.parentNode,p)):B&&(B.d(1),B=null)},i(M){v||(_(S,M),_(a.$$.fragment,M),_(C),_(T),v=!0)},o(M){y(S,M),y(a.$$.fragment,M),y(C),y(T),v=!1},d(M){M&&g(e),S&&S.d(M),r[36](null),Q(a),C&&C.d(),T&&T.d(),M&&g(h),D&&D.d(M),M&&g(d),w&&w.d(M),M&&g(m),B&&B.d(M),M&&g(p),k=!1,Ge(O)}}}function Do(r){let e,t;return e=new ur({props:{class:"bx--select__invalid-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Mo(r){let e,t;return e=new hi({props:{class:"bx--select__invalid-icon bx--select__invalid-icon--warning"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function No(r){let e,t;return{c(){e=j("div"),t=ce(r[11]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[11]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[4])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&2048&&ve(t,n[11]),i[0]&16&&b(e,"bx--form__helper-text--disabled",n[4])},d(n){n&&g(e)}}}function jo(r){let e,t;return{c(){e=j("div"),t=ce(r[8]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[8]),i.forEach(g),this.h()},h(){A(e,"id",r[16]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&256&&ve(t,n[8]),i[0]&65536&&A(e,"id",n[16])},d(n){n&&g(e)}}}function Lo(r){let e,t;return{c(){e=j("div"),t=ce(r[10]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[10]),i.forEach(g),this.h()},h(){A(e,"id",r[16]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&1024&&ve(t,n[10]),i[0]&65536&&A(e,"id",n[16])},d(n){n&&g(e)}}}function Hp(r){let e,t,n,i,s,l=!r[12]&&Ao(r),o=r[2]&&To(r),a=!r[2]&&Ro(r),u=[r[22]],f={};for(let c=0;c{l=null}),re()):l?(l.p(c,h),h[0]&4096&&_(l,1)):(l=Ao(c),l.c(),_(l,1),l.m(t,n)),c[2]?o?(o.p(c,h),h[0]&4&&_(o,1)):(o=To(c),o.c(),_(o,1),o.m(t,i)):o&&(ne(),y(o,1,1,()=>{o=null}),re()),c[2]?a&&(ne(),y(a,1,1,()=>{a=null}),re()):a?(a.p(c,h),h[0]&4&&_(a,1)):(a=Ro(c),a.c(),_(a,1),a.m(t,null)),(!s||h[0]&4)&&b(t,"bx--select--inline",c[2]),(!s||h[0]&8)&&b(t,"bx--select--light",c[3]),(!s||h[0]&128)&&b(t,"bx--select--invalid",c[7]),(!s||h[0]&16)&&b(t,"bx--select--disabled",c[4]),(!s||h[0]&512)&&b(t,"bx--select--warning",c[9]),we(e,f=Ne(u,[h[0]&4194304&&c[22]])),b(e,"bx--form-item",!0)},i(c){s||(_(l),_(o),_(a),s=!0)},o(c){y(l),y(o),y(a),s=!1},d(c){c&&g(e),l&&l.d(),o&&o.d(),a&&a.d()}}}function Qp(r,e,t){let n;const i=["selected","size","inline","light","disabled","id","name","invalid","invalidText","warn","warnText","helperText","noLabel","labelText","hideLabel","ref","required"];let s=ge(e,i),l,o,a,u,{$$slots:f={},$$scope:c}=e,{selected:h=void 0}=e,{size:d=void 0}=e,{inline:m=!1}=e,{light:p=!1}=e,{disabled:v=!1}=e,{id:k="ccs-"+Math.random().toString(36)}=e,{name:O=void 0}=e,{invalid:E=!1}=e,{invalidText:S=""}=e,{warn:C=!1}=e,{warnText:T=""}=e,{helperText:D=""}=e,{noLabel:w=!1}=e,{labelText:B=""}=e,{hideLabel:M=!1}=e,{ref:F=null}=e,{required:q=!1}=e;const N=ct(),Y=mt(h);Xe(r,Y,le=>t(38,o=le));const V=mt(null);Xe(r,V,le=>t(40,u=le));const K=mt(null);Xe(r,K,le=>t(24,l=le));const oe=mt({});Xe(r,oe,le=>t(39,a=le)),sn("Select",{selectedValue:Y,setDefaultValue:(le,ae)=>{l===null?(V.set(le),K.set(ae)):u===le&&Y.set(ae),oe.update(vt=>({...vt,[ae]:typeof ae}))}});const fe=({target:le})=>{let ae=le.value;a[ae]==="number"&&(ae=Number(ae)),Y.set(ae)};let x;Fl(()=>{t(23,h=o),x!==void 0&&h!==x&&N("update",o),x=h});function te(le){X.call(this,r,le)}function ke(le){X.call(this,r,le)}function z(le){X.call(this,r,le)}function _e(le){X.call(this,r,le)}function se(le){X.call(this,r,le)}function Je(le){X.call(this,r,le)}function lt(le){X.call(this,r,le)}function Et(le){X.call(this,r,le)}function _t(le){Fe[le?"unshift":"push"](()=>{F=le,t(0,F)})}function Pe(le){Fe[le?"unshift":"push"](()=>{F=le,t(0,F)})}return r.$$set=le=>{e=J(J({},e),Te(le)),t(22,s=ge(e,i)),"selected"in le&&t(23,h=le.selected),"size"in le&&t(1,d=le.size),"inline"in le&&t(2,m=le.inline),"light"in le&&t(3,p=le.light),"disabled"in le&&t(4,v=le.disabled),"id"in le&&t(5,k=le.id),"name"in le&&t(6,O=le.name),"invalid"in le&&t(7,E=le.invalid),"invalidText"in le&&t(8,S=le.invalidText),"warn"in le&&t(9,C=le.warn),"warnText"in le&&t(10,T=le.warnText),"helperText"in le&&t(11,D=le.helperText),"noLabel"in le&&t(12,w=le.noLabel),"labelText"in le&&t(13,B=le.labelText),"hideLabel"in le&&t(14,M=le.hideLabel),"ref"in le&&t(0,F=le.ref),"required"in le&&t(15,q=le.required),"$$scope"in le&&t(25,c=le.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&32&&t(16,n=`error-${k}`),r.$$.dirty[0]&25165824&&Y.set(h??l)},[F,d,m,p,v,k,O,E,S,C,T,D,w,B,M,q,n,Y,V,K,oe,fe,s,h,l,c,f,te,ke,z,_e,se,Je,lt,Et,_t,Pe]}class Wp extends me{constructor(e){super(),pe(this,e,Qp,Hp,he,{selected:23,size:1,inline:2,light:3,disabled:4,id:5,name:6,invalid:7,invalidText:8,warn:9,warnText:10,helperText:11,noLabel:12,labelText:13,hideLabel:14,ref:0,required:15},null,[-1,-1])}}const on=Wp;function Gp(r){let e,t=(r[1]||r[0])+"",n,i,s;return{c(){e=j("option"),n=ce(t),this.h()},l(l){e=L(l,"OPTION",{class:!0,style:!0});var o=R(e);n=de(o,t),o.forEach(g),this.h()},h(){e.__value=r[0],e.value=e.__value,e.disabled=r[3],e.hidden=r[2],e.selected=r[4],A(e,"class",i=r[5].class),A(e,"style",s=r[5].style),b(e,"bx--select-option",!0)},m(l,o){P(l,e,o),I(e,n)},p(l,[o]){o&3&&t!==(t=(l[1]||l[0])+"")&&ve(n,t),o&1&&(e.__value=l[0],e.value=e.__value),o&8&&(e.disabled=l[3]),o&4&&(e.hidden=l[2]),o&16&&(e.selected=l[4]),o&32&&i!==(i=l[5].class)&&A(e,"class",i),o&32&&s!==(s=l[5].style)&&A(e,"style",s),o&32&&b(e,"bx--select-option",!0)},i:ie,o:ie,d(l){l&&g(e)}}}function Kp(r,e,t){const n=["value","text","hidden","disabled"];let i=ge(e,n),{value:s=""}=e,{text:l=""}=e,{hidden:o=!1}=e,{disabled:a=!1}=e;const u="ccs-"+Math.random().toString(36),f=kt("Select")||kt("TimePickerSelect");let c=!1;const h=f.selectedValue.subscribe(d=>{t(4,c=d===s)});return ln(()=>()=>h()),r.$$set=d=>{e=J(J({},e),Te(d)),t(5,i=ge(e,n)),"value"in d&&t(0,s=d.value),"text"in d&&t(1,l=d.text),"hidden"in d&&t(2,o=d.hidden),"disabled"in d&&t(3,a=d.disabled)},r.$$.update=()=>{var d;r.$$.dirty&1&&((d=f==null?void 0:f.setDefaultValue)==null||d.call(f,u,s))},[s,l,o,a,c,i]}class Zp extends me{constructor(e){super(),pe(this,e,Kp,Gp,he,{value:0,text:1,hidden:2,disabled:3})}}const an=Zp;function qo(r){let e;return{c(){e=j("span"),this.h()},l(t){e=L(t,"SPAN",{}),R(e).forEach(g),this.h()},h(){b(e,"bx--label",!0),b(e,"bx--skeleton",!0)},m(t,n){P(t,e,n)},d(t){t&&g(e)}}}function Jp(r){let e,t,n,i,s,l,o=!r[0]&&qo(),a=[r[1]],u={};for(let f=0;f{e=J(J({},e),Te(f)),t(1,i=ge(e,n)),"hideLabel"in f&&t(0,s=f.hideLabel)},[s,i,l,o,a,u]}class Xp extends me{constructor(e){super(),pe(this,e,Yp,Jp,he,{hideLabel:0})}}const Kl=Xp;function xp(r){let e,t;const n=r[4].default,i=Ie(n,r,r[3],null);let s=[{label:r[1]},{disabled:r[0]},r[2]],l={};for(let o=0;o{e=J(J({},e),Te(u)),t(2,i=ge(e,n)),"disabled"in u&&t(0,o=u.disabled),"label"in u&&t(1,a=u.label),"$$scope"in u&&t(3,l=u.$$scope)},[o,a,i,l,s]}class eg extends me{constructor(e){super(),pe(this,e,$p,xp,he,{disabled:0,label:1})}}const cc=eg;function tg(r){let e,t,n,i=[r[1]],s={};for(let l=0;l{e=J(J({},e),Te(f)),t(1,i=ge(e,n)),"size"in f&&t(0,s=f.size)},[s,i,l,o,a,u]}class rg extends me{constructor(e){super(),pe(this,e,ng,tg,he,{size:0})}}const ig=rg,lg=r=>({}),Bo=r=>({}),sg=r=>({}),Fo=r=>({props:{class:"bx--tag__label"}}),og=r=>({}),zo=r=>({props:{class:"bx--tag__label"}});function ag(r){let e,t,n,i,s,l,o=(r[11].icon||r[7])&&Vo(r);const a=r[13].default,u=Ie(a,r,r[12],null);let f=[{id:r[8]},r[10]],c={};for(let h=0;h{o=null}),re()),u&&u.p&&(!i||d&4096)&&Re(u,a,h,h[12],i?Me(a,h[12],d,null):De(h[12]),null),we(e,c=Ne(f,[(!i||d&256)&&{id:h[8]},d&1024&&h[10]])),b(e,"bx--tag",!0),b(e,"bx--tag--disabled",h[3]),b(e,"bx--tag--sm",h[1]==="sm"),b(e,"bx--tag--red",h[0]==="red"),b(e,"bx--tag--magenta",h[0]==="magenta"),b(e,"bx--tag--purple",h[0]==="purple"),b(e,"bx--tag--blue",h[0]==="blue"),b(e,"bx--tag--cyan",h[0]==="cyan"),b(e,"bx--tag--teal",h[0]==="teal"),b(e,"bx--tag--green",h[0]==="green"),b(e,"bx--tag--gray",h[0]==="gray"),b(e,"bx--tag--cool-gray",h[0]==="cool-gray"),b(e,"bx--tag--warm-gray",h[0]==="warm-gray"),b(e,"bx--tag--high-contrast",h[0]==="high-contrast"),b(e,"bx--tag--outline",h[0]==="outline")},i(h){i||(_(o),_(u,h),i=!0)},o(h){y(o),y(u,h),i=!1},d(h){h&&g(e),o&&o.d(),u&&u.d(h),s=!1,Ge(l)}}}function ug(r){let e,t,n,i,s,l,o,a=(r[11].icon||r[7])&&Uo(r);const u=r[13].default,f=Ie(u,r,r[12],null);let c=[{type:"button"},{id:r[8]},{disabled:r[3]},{"aria-disabled":r[3]},{tabindex:i=r[3]?"-1":void 0},r[10]],h={};for(let d=0;d{a=null}),re()),f&&f.p&&(!s||m&4096)&&Re(f,u,d,d[12],s?Me(u,d[12],m,null):De(d[12]),null),we(e,h=Ne(c,[{type:"button"},(!s||m&256)&&{id:d[8]},(!s||m&8)&&{disabled:d[3]},(!s||m&8)&&{"aria-disabled":d[3]},(!s||m&8&&i!==(i=d[3]?"-1":void 0))&&{tabindex:i},m&1024&&d[10]])),b(e,"bx--tag",!0),b(e,"bx--tag--interactive",!0),b(e,"bx--tag--disabled",d[3]),b(e,"bx--tag--sm",d[1]==="sm"),b(e,"bx--tag--red",d[0]==="red"),b(e,"bx--tag--magenta",d[0]==="magenta"),b(e,"bx--tag--purple",d[0]==="purple"),b(e,"bx--tag--blue",d[0]==="blue"),b(e,"bx--tag--cyan",d[0]==="cyan"),b(e,"bx--tag--teal",d[0]==="teal"),b(e,"bx--tag--green",d[0]==="green"),b(e,"bx--tag--gray",d[0]==="gray"),b(e,"bx--tag--cool-gray",d[0]==="cool-gray"),b(e,"bx--tag--warm-gray",d[0]==="warm-gray"),b(e,"bx--tag--high-contrast",d[0]==="high-contrast"),b(e,"bx--tag--outline",d[0]==="outline")},i(d){s||(_(a),_(f,d),s=!0)},o(d){y(a),y(f,d),s=!1},d(d){d&&g(e),a&&a.d(),f&&f.d(d),l=!1,Ge(o)}}}function fg(r){let e,t,n,i,s,l,o;const a=r[13].default,u=Ie(a,r,r[12],zo),f=u||mg(r);i=new Ul({});let c=[{"aria-label":r[6]},{id:r[8]},r[10]],h={};for(let d=0;d{Q(a,1)}),re()}i?(e=je(i,s()),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function Uo(r){let e,t;const n=r[13].icon,i=Ie(n,r,r[12],Fo),s=i||hg(r);return{c(){e=j("div"),s&&s.c(),this.h()},l(l){e=L(l,"DIV",{});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){b(e,"bx--tag__custom-icon",!0)},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o&4096)&&Re(i,n,l,l[12],t?Me(n,l[12],o,sg):De(l[12]),Fo):s&&s.p&&(!t||o&128)&&s.p(l,t?o:-1)},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function hg(r){let e,t,n;var i=r[7];function s(l){return{}}return i&&(e=je(i,s())),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,o){if(o&128&&i!==(i=l[7])){if(e){ne();const a=e;y(a.$$.fragment,1,0,()=>{Q(a,1)}),re()}i?(e=je(i,s()),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function mg(r){let e,t;return{c(){e=j("span"),t=ce(r[0]),this.h()},l(n){e=L(n,"SPAN",{});var i=R(e);t=de(i,r[0]),i.forEach(g),this.h()},h(){b(e,"bx--tag__label",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&1&&ve(t,n[0])},d(n){n&&g(e)}}}function pg(r){let e,t,n,i;const s=[cg,fg,ug,ag],l=[];function o(a,u){return a[5]?0:a[2]?1:a[4]?2:3}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function gg(r,e,t){const n=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let i=ge(e,n),{$$slots:s={},$$scope:l}=e;const o=di(s);let{type:a=void 0}=e,{size:u="default"}=e,{filter:f=!1}=e,{disabled:c=!1}=e,{interactive:h=!1}=e,{skeleton:d=!1}=e,{title:m="Clear filter"}=e,{icon:p=void 0}=e,{id:v="ccs-"+Math.random().toString(36)}=e;const k=ct();function O(x){X.call(this,r,x)}function E(x){X.call(this,r,x)}function S(x){X.call(this,r,x)}function C(x){X.call(this,r,x)}function T(x){X.call(this,r,x)}function D(x){X.call(this,r,x)}function w(x){X.call(this,r,x)}function B(x){X.call(this,r,x)}function M(x){X.call(this,r,x)}function F(x){X.call(this,r,x)}function q(x){X.call(this,r,x)}function N(x){X.call(this,r,x)}function Y(x){X.call(this,r,x)}function V(x){X.call(this,r,x)}function K(x){X.call(this,r,x)}function oe(x){X.call(this,r,x)}const fe=()=>{k("close")};return r.$$set=x=>{e=J(J({},e),Te(x)),t(10,i=ge(e,n)),"type"in x&&t(0,a=x.type),"size"in x&&t(1,u=x.size),"filter"in x&&t(2,f=x.filter),"disabled"in x&&t(3,c=x.disabled),"interactive"in x&&t(4,h=x.interactive),"skeleton"in x&&t(5,d=x.skeleton),"title"in x&&t(6,m=x.title),"icon"in x&&t(7,p=x.icon),"id"in x&&t(8,v=x.id),"$$scope"in x&&t(12,l=x.$$scope)},[a,u,f,c,h,d,m,p,v,k,i,o,l,s,O,E,S,C,T,D,w,B,M,F,q,N,Y,V,K,oe,fe]}class bg extends me{constructor(e){super(),pe(this,e,gg,pg,he,{type:0,size:1,filter:2,disabled:3,interactive:4,skeleton:5,title:6,icon:7,id:8})}}const _g=bg,vg=r=>({}),Ho=r=>({}),yg=r=>({}),Qo=r=>({});function Wo(r){let e,t,n,i=r[9]&&Go(r),s=!r[22]&&r[6]&&Ko(r);return{c(){e=j("div"),i&&i.c(),t=$(),s&&s.c(),this.h()},l(l){e=L(l,"DIV",{});var o=R(e);i&&i.l(o),t=ee(o),s&&s.l(o),o.forEach(g),this.h()},h(){b(e,"bx--text-input__label-helper-wrapper",!0)},m(l,o){P(l,e,o),i&&i.m(e,null),I(e,t),s&&s.m(e,null),n=!0},p(l,o){l[9]?i?(i.p(l,o),o[0]&512&&_(i,1)):(i=Go(l),i.c(),_(i,1),i.m(e,t)):i&&(ne(),y(i,1,1,()=>{i=null}),re()),!l[22]&&l[6]?s?s.p(l,o):(s=Ko(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(l){n||(_(i),n=!0)},o(l){y(i),n=!1},d(l){l&&g(e),i&&i.d(),s&&s.d()}}}function Go(r){let e,t;const n=r[28].labelText,i=Ie(n,r,r[27],Qo),s=i||kg(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){A(e,"for",r[7]),b(e,"bx--label",!0),b(e,"bx--visually-hidden",r[10]),b(e,"bx--label--disabled",r[5]),b(e,"bx--label--inline",r[16]),b(e,"bx--label--inline--sm",r[2]==="sm"),b(e,"bx--label--inline--xl",r[2]==="xl")},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[0]&134217728)&&Re(i,n,l,l[27],t?Me(n,l[27],o,yg):De(l[27]),Qo):s&&s.p&&(!t||o[0]&512)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&128)&&A(e,"for",l[7]),(!t||o[0]&1024)&&b(e,"bx--visually-hidden",l[10]),(!t||o[0]&32)&&b(e,"bx--label--disabled",l[5]),(!t||o[0]&65536)&&b(e,"bx--label--inline",l[16]),(!t||o[0]&4)&&b(e,"bx--label--inline--sm",l[2]==="sm"),(!t||o[0]&4)&&b(e,"bx--label--inline--xl",l[2]==="xl")},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function kg(r){let e;return{c(){e=ce(r[9])},l(t){e=de(t,r[9])},m(t,n){P(t,e,n)},p(t,n){n[0]&512&&ve(e,t[9])},d(t){t&&g(e)}}}function Ko(r){let e,t;return{c(){e=j("div"),t=ce(r[6]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[6]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[5]),b(e,"bx--form__helper-text--inline",r[16])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&64&&ve(t,n[6]),i[0]&32&&b(e,"bx--form__helper-text--disabled",n[5]),i[0]&65536&&b(e,"bx--form__helper-text--inline",n[16])},d(n){n&&g(e)}}}function Zo(r){let e,t;const n=r[28].labelText,i=Ie(n,r,r[27],Ho),s=i||Eg(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){A(e,"for",r[7]),b(e,"bx--label",!0),b(e,"bx--visually-hidden",r[10]),b(e,"bx--label--disabled",r[5]),b(e,"bx--label--inline",r[16]),b(e,"bx--label--inline-sm",r[16]&&r[2]==="sm"),b(e,"bx--label--inline-xl",r[16]&&r[2]==="xl")},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[0]&134217728)&&Re(i,n,l,l[27],t?Me(n,l[27],o,vg):De(l[27]),Ho):s&&s.p&&(!t||o[0]&512)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&128)&&A(e,"for",l[7]),(!t||o[0]&1024)&&b(e,"bx--visually-hidden",l[10]),(!t||o[0]&32)&&b(e,"bx--label--disabled",l[5]),(!t||o[0]&65536)&&b(e,"bx--label--inline",l[16]),(!t||o[0]&65540)&&b(e,"bx--label--inline-sm",l[16]&&l[2]==="sm"),(!t||o[0]&65540)&&b(e,"bx--label--inline-xl",l[16]&&l[2]==="xl")},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Eg(r){let e;return{c(){e=ce(r[9])},l(t){e=de(t,r[9])},m(t,n){P(t,e,n)},p(t,n){n[0]&512&&ve(e,t[9])},d(t){t&&g(e)}}}function Sg(r){let e,t,n,i=r[11]&&Jo(),s=!r[11]&&r[13]&&Yo();return{c(){i&&i.c(),e=$(),s&&s.c(),t=G()},l(l){i&&i.l(l),e=ee(l),s&&s.l(l),t=G()},m(l,o){i&&i.m(l,o),P(l,e,o),s&&s.m(l,o),P(l,t,o),n=!0},p(l,o){l[11]?i?o[0]&2048&&_(i,1):(i=Jo(),i.c(),_(i,1),i.m(e.parentNode,e)):i&&(ne(),y(i,1,1,()=>{i=null}),re()),!l[11]&&l[13]?s?o[0]&10240&&_(s,1):(s=Yo(),s.c(),_(s,1),s.m(t.parentNode,t)):s&&(ne(),y(s,1,1,()=>{s=null}),re())},i(l){n||(_(i),_(s),n=!0)},o(l){y(i),y(s),n=!1},d(l){i&&i.d(l),l&&g(e),s&&s.d(l),l&&g(t)}}}function Og(r){let e,t;return e=new fc({props:{class:"bx--text-input__readonly-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Jo(r){let e,t;return e=new ur({props:{class:"bx--text-input__invalid-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Yo(r){let e,t;return e=new hi({props:{class:`bx--text-input__invalid-icon
+ bx--text-input__invalid-icon--warning`}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Xo(r){let e;return{c(){e=j("hr"),this.h()},l(t){e=L(t,"HR",{}),this.h()},h(){b(e,"bx--text-input__divider",!0)},m(t,n){P(t,e,n)},d(t){t&&g(e)}}}function xo(r){let e,t;return{c(){e=j("div"),t=ce(r[12]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[12]),i.forEach(g),this.h()},h(){A(e,"id",r[19]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&4096&&ve(t,n[12]),i[0]&524288&&A(e,"id",n[19])},d(n){n&&g(e)}}}function $o(r){let e,t;return{c(){e=j("div"),t=ce(r[14]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[14]),i.forEach(g),this.h()},h(){A(e,"id",r[18]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&16384&&ve(t,n[14]),i[0]&262144&&A(e,"id",n[18])},d(n){n&&g(e)}}}function ea(r){let e,t;return{c(){e=j("div"),t=ce(r[6]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[6]),i.forEach(g),this.h()},h(){A(e,"id",r[20]),b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[5]),b(e,"bx--form__helper-text--inline",r[16])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&64&&ve(t,n[6]),i[0]&1048576&&A(e,"id",n[20]),i[0]&32&&b(e,"bx--form__helper-text--disabled",n[5]),i[0]&65536&&b(e,"bx--form__helper-text--inline",n[16])},d(n){n&&g(e)}}}function ta(r){let e,t;return{c(){e=j("div"),t=ce(r[12]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[12]),i.forEach(g),this.h()},h(){A(e,"id",r[19]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&4096&&ve(t,n[12]),i[0]&524288&&A(e,"id",n[19])},d(n){n&&g(e)}}}function na(r){let e,t;return{c(){e=j("div"),t=ce(r[14]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[14]),i.forEach(g),this.h()},h(){A(e,"id",r[18]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&16384&&ve(t,n[14]),i[0]&262144&&A(e,"id",n[18])},d(n){n&&g(e)}}}function wg(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O,E,S,C,T,D,w,B=r[16]&&Wo(r),M=!r[16]&&(r[9]||r[26].labelText)&&Zo(r);const F=[Og,Sg],q=[];function N(z,_e){return z[17]?0:1}l=N(r),o=q[l]=F[l](r);let Y=[{"data-invalid":f=r[21]||void 0},{"aria-invalid":c=r[21]||void 0},{"data-warn":h=r[13]||void 0},{"aria-describedby":d=r[21]?r[19]:r[13]?r[18]:r[6]?r[20]:void 0},{disabled:r[5]},{id:r[7]},{name:r[8]},{placeholder:r[3]},{required:r[15]},{readOnly:r[17]},r[25]],V={};for(let z=0;z{B=null}),re()),!z[16]&&(z[9]||z[26].labelText)?M?(M.p(z,_e),_e[0]&67174912&&_(M,1)):(M=Zo(z),M.c(),_(M,1),M.m(e,n)):M&&(ne(),y(M,1,1,()=>{M=null}),re());let se=l;l=N(z),l===se?q[l].p(z,_e):(ne(),y(q[se],1,1,()=>{q[se]=null}),re(),o=q[l],o?o.p(z,_e):(o=q[l]=F[l](z),o.c()),_(o,1),o.m(s,a)),we(u,V=Ne(Y,[(!T||_e[0]&2097152&&f!==(f=z[21]||void 0))&&{"data-invalid":f},(!T||_e[0]&2097152&&c!==(c=z[21]||void 0))&&{"aria-invalid":c},(!T||_e[0]&8192&&h!==(h=z[13]||void 0))&&{"data-warn":h},(!T||_e[0]&3940416&&d!==(d=z[21]?z[19]:z[13]?z[18]:z[6]?z[20]:void 0))&&{"aria-describedby":d},(!T||_e[0]&32)&&{disabled:z[5]},(!T||_e[0]&128)&&{id:z[7]},(!T||_e[0]&256)&&{name:z[8]},(!T||_e[0]&8)&&{placeholder:z[3]},(!T||_e[0]&32768)&&{required:z[15]},(!T||_e[0]&131072)&&{readOnly:z[17]},_e[0]&33554432&&z[25]])),_e[0]&1&&u.value!==z[0]&&js(u,z[0]),b(u,"bx--text-input",!0),b(u,"bx--text-input--light",z[4]),b(u,"bx--text-input--invalid",z[21]),b(u,"bx--text-input--warning",z[13]),b(u,"bx--text-input--sm",z[2]==="sm"),b(u,"bx--text-input--xl",z[2]==="xl"),z[22]?K||(K=Xo(),K.c(),K.m(s,p)):K&&(K.d(1),K=null),z[22]&&!z[16]&&z[11]?oe?oe.p(z,_e):(oe=xo(z),oe.c(),oe.m(s,v)):oe&&(oe.d(1),oe=null),z[22]&&!z[16]&&z[13]?fe?fe.p(z,_e):(fe=$o(z),fe.c(),fe.m(s,null)):fe&&(fe.d(1),fe=null),(!T||_e[0]&2097152&&k!==(k=z[21]||void 0))&&A(s,"data-invalid",k),(!T||_e[0]&8192&&O!==(O=z[13]||void 0))&&A(s,"data-warn",O),(!T||_e[0]&10240)&&b(s,"bx--text-input__field-wrapper--warning",!z[11]&&z[13]),!z[11]&&!z[13]&&!z[22]&&!z[16]&&z[6]?x?x.p(z,_e):(x=ea(z),x.c(),x.m(i,S)):x&&(x.d(1),x=null),!z[22]&&z[11]?te?te.p(z,_e):(te=ta(z),te.c(),te.m(i,C)):te&&(te.d(1),te=null),!z[22]&&!z[11]&&z[13]?ke?ke.p(z,_e):(ke=na(z),ke.c(),ke.m(i,null)):ke&&(ke.d(1),ke=null),(!T||_e[0]&65536)&&b(i,"bx--text-input__field-outer-wrapper--inline",z[16]),(!T||_e[0]&65536)&&b(e,"bx--text-input-wrapper--inline",z[16]),(!T||_e[0]&16)&&b(e,"bx--text-input-wrapper--light",z[4]),(!T||_e[0]&131072)&&b(e,"bx--text-input-wrapper--readonly",z[17])},i(z){T||(_(B),_(M),_(o),T=!0)},o(z){y(B),y(M),y(o),T=!1},d(z){z&&g(e),B&&B.d(),M&&M.d(),q[l].d(),r[38](null),K&&K.d(),oe&&oe.d(),fe&&fe.d(),x&&x.d(),te&&te.d(),ke&&ke.d(),D=!1,Ge(w)}}}function Ag(r,e,t){let n,i,s,l,o;const a=["size","value","placeholder","light","disabled","helperText","id","name","labelText","hideLabel","invalid","invalidText","warn","warnText","ref","required","inline","readonly"];let u=ge(e,a),{$$slots:f={},$$scope:c}=e;const h=di(f);let{size:d=void 0}=e,{value:m=""}=e,{placeholder:p=""}=e,{light:v=!1}=e,{disabled:k=!1}=e,{helperText:O=""}=e,{id:E="ccs-"+Math.random().toString(36)}=e,{name:S=void 0}=e,{labelText:C=""}=e,{hideLabel:T=!1}=e,{invalid:D=!1}=e,{invalidText:w=""}=e,{warn:B=!1}=e,{warnText:M=""}=e,{ref:F=null}=e,{required:q=!1}=e,{inline:N=!1}=e,{readonly:Y=!1}=e;const V=kt("Form"),K=ct();function oe(ae){return u.type!=="number"?ae:ae!=""?Number(ae):null}const fe=ae=>{t(0,m=oe(ae.target.value)),K("input",m)},x=ae=>{K("change",oe(ae.target.value))};function te(ae){X.call(this,r,ae)}function ke(ae){X.call(this,r,ae)}function z(ae){X.call(this,r,ae)}function _e(ae){X.call(this,r,ae)}function se(ae){X.call(this,r,ae)}function Je(ae){X.call(this,r,ae)}function lt(ae){X.call(this,r,ae)}function Et(ae){X.call(this,r,ae)}function _t(ae){X.call(this,r,ae)}function Pe(ae){Fe[ae?"unshift":"push"](()=>{F=ae,t(1,F)})}function le(){m=this.value,t(0,m)}return r.$$set=ae=>{e=J(J({},e),Te(ae)),t(25,u=ge(e,a)),"size"in ae&&t(2,d=ae.size),"value"in ae&&t(0,m=ae.value),"placeholder"in ae&&t(3,p=ae.placeholder),"light"in ae&&t(4,v=ae.light),"disabled"in ae&&t(5,k=ae.disabled),"helperText"in ae&&t(6,O=ae.helperText),"id"in ae&&t(7,E=ae.id),"name"in ae&&t(8,S=ae.name),"labelText"in ae&&t(9,C=ae.labelText),"hideLabel"in ae&&t(10,T=ae.hideLabel),"invalid"in ae&&t(11,D=ae.invalid),"invalidText"in ae&&t(12,w=ae.invalidText),"warn"in ae&&t(13,B=ae.warn),"warnText"in ae&&t(14,M=ae.warnText),"ref"in ae&&t(1,F=ae.ref),"required"in ae&&t(15,q=ae.required),"inline"in ae&&t(16,N=ae.inline),"readonly"in ae&&t(17,Y=ae.readonly),"$$scope"in ae&&t(27,c=ae.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&133120&&t(21,i=D&&!Y),r.$$.dirty[0]&128&&t(20,s=`helper-${E}`),r.$$.dirty[0]&128&&t(19,l=`error-${E}`),r.$$.dirty[0]&128&&t(18,o=`warn-${E}`)},t(22,n=!!V&&V.isFluid),[m,F,d,p,v,k,O,E,S,C,T,D,w,B,M,q,N,Y,o,l,s,i,n,fe,x,u,h,c,f,te,ke,z,_e,se,Je,lt,Et,_t,Pe,le]}class Tg extends me{constructor(e){super(),pe(this,e,Ag,wg,he,{size:2,value:0,placeholder:3,light:4,disabled:5,helperText:6,id:7,name:8,labelText:9,hideLabel:10,invalid:11,invalidText:12,warn:13,warnText:14,ref:1,required:15,inline:16,readonly:17},null,[-1,-1])}}const _n=Tg,Pg=r=>({}),ra=r=>({}),Cg=r=>({}),ia=r=>({}),Ig=r=>({}),la=r=>({});function Rg(r){let e;return{c(){e=ce(r[5])},l(t){e=de(t,r[5])},m(t,n){P(t,e,n)},p(t,n){n&32&&ve(e,t[5])},d(t){t&&g(e)}}}function Dg(r){let e;return{c(){e=ce(r[3])},l(t){e=de(t,r[3])},m(t,n){P(t,e,n)},p(t,n){n&8&&ve(e,t[3])},d(t){t&&g(e)}}}function Mg(r){let e;return{c(){e=ce(r[4])},l(t){e=de(t,r[4])},m(t,n){P(t,e,n)},p(t,n){n&16&&ve(e,t[4])},d(t){t&&g(e)}}}function Ng(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v;const k=r[12].labelText,O=Ie(k,r,r[11],la),E=O||Rg(r),S=r[12].labelA,C=Ie(S,r,r[11],ia),T=C||Dg(r),D=r[12].labelB,w=Ie(D,r,r[11],ra),B=w||Mg(r);let M=[r[9],{style:d=r[9].style+"; user-select: none"}],F={};for(let q=0;q{t(0,a=!a)},M=F=>{(F.key===" "||F.key==="Enter")&&(F.preventDefault(),t(0,a=!a))};return r.$$set=F=>{t(10,e=J(J({},e),Te(F))),t(9,i=ge(e,n)),"size"in F&&t(1,o=F.size),"toggled"in F&&t(0,a=F.toggled),"disabled"in F&&t(2,u=F.disabled),"labelA"in F&&t(3,f=F.labelA),"labelB"in F&&t(4,c=F.labelB),"labelText"in F&&t(5,h=F.labelText),"hideLabel"in F&&t(6,d=F.hideLabel),"id"in F&&t(7,m=F.id),"name"in F&&t(8,p=F.name),"$$scope"in F&&t(11,l=F.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&v("toggle",{toggled:a})},e=Te(e),[a,o,u,f,c,h,d,m,p,i,e,l,s,k,O,E,S,C,T,D,w,B,M]}class Lg extends me{constructor(e){super(),pe(this,e,jg,Ng,he,{size:1,toggled:0,disabled:2,labelA:3,labelB:4,labelText:5,hideLabel:6,id:7,name:8})}}const qg=Lg;class Vn{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const er=typeof window>"u"||"Deno"in window;function yt(){}function Bg(r,e){return typeof r=="function"?r(e):r}function el(r){return typeof r=="number"&&r>=0&&r!==1/0}function dc(r,e){return Math.max(r+(e||0)-Date.now(),0)}function In(r,e,t){return fr(r)?typeof e=="function"?{...t,queryKey:r,queryFn:e}:{...e,queryKey:r}:r}function Fg(r,e,t){return fr(r)?typeof e=="function"?{...t,mutationKey:r,mutationFn:e}:{...e,mutationKey:r}:typeof r=="function"?{...e,mutationFn:r}:{...r}}function Xt(r,e,t){return fr(r)?[{...e,queryKey:r},t]:[r||{},e]}function sa(r,e){const{type:t="all",exact:n,fetchStatus:i,predicate:s,queryKey:l,stale:o}=r;if(fr(l)){if(n){if(e.queryHash!==Zl(l,e.options))return!1}else if(!Hr(e.queryKey,l))return!1}if(t!=="all"){const a=e.isActive();if(t==="active"&&!a||t==="inactive"&&a)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||typeof i<"u"&&i!==e.state.fetchStatus||s&&!s(e))}function oa(r,e){const{exact:t,fetching:n,predicate:i,mutationKey:s}=r;if(fr(s)){if(!e.options.mutationKey)return!1;if(t){if(hn(e.options.mutationKey)!==hn(s))return!1}else if(!Hr(e.options.mutationKey,s))return!1}return!(typeof n=="boolean"&&e.state.status==="loading"!==n||i&&!i(e))}function Zl(r,e){return((e==null?void 0:e.queryKeyHashFn)||hn)(r)}function hn(r){return JSON.stringify(r,(e,t)=>nl(t)?Object.keys(t).sort().reduce((n,i)=>(n[i]=t[i],n),{}):t)}function Hr(r,e){return hc(r,e)}function hc(r,e){return r===e?!0:typeof r!=typeof e?!1:r&&e&&typeof r=="object"&&typeof e=="object"?!Object.keys(e).some(t=>!hc(r[t],e[t])):!1}function mc(r,e){if(r===e)return r;const t=aa(r)&&aa(e);if(t||nl(r)&&nl(e)){const n=t?r.length:Object.keys(r).length,i=t?e:Object.keys(e),s=i.length,l=t?[]:{};let o=0;for(let a=0;a"u")return!0;const t=e.prototype;return!(!ua(t)||!t.hasOwnProperty("isPrototypeOf"))}function ua(r){return Object.prototype.toString.call(r)==="[object Object]"}function fr(r){return Array.isArray(r)}function pc(r){return new Promise(e=>{setTimeout(e,r)})}function fa(r){pc(0).then(r)}function zg(){if(typeof AbortController=="function")return new AbortController}function rl(r,e,t){return t.isDataEqual!=null&&t.isDataEqual(r,e)?r:typeof t.structuralSharing=="function"?t.structuralSharing(r,e):t.structuralSharing!==!1?mc(r,e):e}class Vg extends Vn{constructor(){super(),this.setup=e=>{if(!er&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;(e=this.cleanup)==null||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,(t=this.cleanup)==null||t.call(this),this.cleanup=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Qr=new Vg,ca=["online","offline"];class Ug extends Vn{constructor(){super(),this.setup=e=>{if(!er&&window.addEventListener){const t=()=>e();return ca.forEach(n=>{window.addEventListener(n,t,!1)}),()=>{ca.forEach(n=>{window.removeEventListener(n,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;(e=this.cleanup)==null||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,(t=this.cleanup)==null||t.call(this),this.cleanup=e(n=>{typeof n=="boolean"?this.setOnline(n):this.onOnline()})}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Wr=new Ug;function Hg(r){return Math.min(1e3*2**r,3e4)}function mi(r){return(r??"online")==="online"?Wr.isOnline():!0}class gc{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}}function Cr(r){return r instanceof gc}function bc(r){let e=!1,t=0,n=!1,i,s,l;const o=new Promise((v,k)=>{s=v,l=k}),a=v=>{n||(d(new gc(v)),r.abort==null||r.abort())},u=()=>{e=!0},f=()=>{e=!1},c=()=>!Qr.isFocused()||r.networkMode!=="always"&&!Wr.isOnline(),h=v=>{n||(n=!0,r.onSuccess==null||r.onSuccess(v),i==null||i(),s(v))},d=v=>{n||(n=!0,r.onError==null||r.onError(v),i==null||i(),l(v))},m=()=>new Promise(v=>{i=k=>{const O=n||!c();return O&&v(k),O},r.onPause==null||r.onPause()}).then(()=>{i=void 0,n||r.onContinue==null||r.onContinue()}),p=()=>{if(n)return;let v;try{v=r.fn()}catch(k){v=Promise.reject(k)}Promise.resolve(v).then(h).catch(k=>{var O,E;if(n)return;const S=(O=r.retry)!=null?O:3,C=(E=r.retryDelay)!=null?E:Hg,T=typeof C=="function"?C(t,k):C,D=S===!0||typeof S=="number"&&t{if(c())return m()}).then(()=>{e?d(k):p()})})};return mi(r.networkMode)?p():m().then(p),{promise:o,cancel:a,continue:()=>(i==null?void 0:i())?o:Promise.resolve(),cancelRetry:u,continueRetry:f}}const Jl=console;function Qg(){let r=[],e=0,t=f=>{f()},n=f=>{f()};const i=f=>{let c;e++;try{c=f()}finally{e--,e||o()}return c},s=f=>{e?r.push(f):fa(()=>{t(f)})},l=f=>(...c)=>{s(()=>{f(...c)})},o=()=>{const f=r;r=[],f.length&&fa(()=>{n(()=>{f.forEach(c=>{t(c)})})})};return{batch:i,batchCalls:l,schedule:s,setNotifyFunction:f=>{t=f},setBatchNotifyFunction:f=>{n=f}}}const Ye=Qg();class _c{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),el(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,e??(er?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Wg extends _c{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||Jl,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||Gg(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(e,t){const n=rl(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return(t=this.retryer)==null||t.cancel(e),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>e.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!dc(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}onOnline(){var e;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&t!=null&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var s;return(s=this.retryer)==null||s.continueRetry(),this.promise}}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}Array.isArray(this.options.queryKey);const l=zg(),o={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};a(o);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(o)):Promise.reject("Missing queryFn"),f={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};if(a(f),(n=this.options.behavior)==null||n.onFetch(f),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=f.fetchOptions)==null?void 0:i.meta)){var c;this.dispatch({type:"fetch",meta:(c=f.fetchOptions)==null?void 0:c.meta})}const h=d=>{if(Cr(d)&&d.silent||this.dispatch({type:"error",error:d}),!Cr(d)){var m,p,v,k;(m=(p=this.cache.config).onError)==null||m.call(p,d,this),(v=(k=this.cache.config).onSettled)==null||v.call(k,this.state.data,d,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=bc({fn:f.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:d=>{var m,p,v,k;if(typeof d>"u"){h(new Error(this.queryHash+" data is undefined"));return}this.setData(d),(m=(p=this.cache.config).onSuccess)==null||m.call(p,d,this),(v=(k=this.cache.config).onSettled)==null||v.call(k,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:h,onFail:(d,m)=>{this.dispatch({type:"failed",failureCount:d,error:m})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){const t=n=>{var i,s;switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=e.meta)!=null?i:null,fetchStatus:mi(this.options.networkMode)?"fetching":"paused",...!n.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(s=e.dataUpdatedAt)!=null?s:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=e.error;return Cr(l)&&l.revert&&this.revertState?{...this.revertState}:{...n,error:l,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Ye.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}function Gg(r){const e=typeof r.initialData=="function"?r.initialData():r.initialData,t=typeof e<"u",n=t?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:t?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"loading",fetchStatus:"idle"}}class Kg extends Vn{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var i;const s=t.queryKey,l=(i=t.queryHash)!=null?i:Zl(s,t);let o=this.get(l);return o||(o=new Wg({cache:this,logger:e.getLogger(),queryKey:s,queryHash:l,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(n=>n!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){Ye.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Xt(e,t);return typeof n.exact>"u"&&(n.exact=!0),this.queries.find(i=>sa(n,i))}findAll(e,t){const[n]=Xt(e,t);return Object.keys(n).length>0?this.queries.filter(i=>sa(n,i)):this.queries}notify(e){Ye.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){Ye.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){Ye.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class Zg extends _c{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||Jl,this.observers=[],this.state=e.state||vc(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return(e=(t=this.retryer)==null?void 0:t.continue())!=null?e:this.execute()}async execute(){const e=()=>{var D;return this.retryer=bc({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(w,B)=>{this.dispatch({type:"failed",failureCount:w,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(D=this.options.retry)!=null?D:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t=this.state.status==="loading";try{var n,i,s,l,o,a,u,f;if(!t){var c,h,d,m;this.dispatch({type:"loading",variables:this.options.variables}),await((c=(h=this.mutationCache.config).onMutate)==null?void 0:c.call(h,this.state.variables,this));const w=await((d=(m=this.options).onMutate)==null?void 0:d.call(m,this.state.variables));w!==this.state.context&&this.dispatch({type:"loading",context:w,variables:this.state.variables})}const D=await e();return await((n=(i=this.mutationCache.config).onSuccess)==null?void 0:n.call(i,D,this.state.variables,this.state.context,this)),await((s=(l=this.options).onSuccess)==null?void 0:s.call(l,D,this.state.variables,this.state.context)),await((o=(a=this.mutationCache.config).onSettled)==null?void 0:o.call(a,D,null,this.state.variables,this.state.context,this)),await((u=(f=this.options).onSettled)==null?void 0:u.call(f,D,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:D}),D}catch(D){try{var p,v,k,O,E,S,C,T;throw await((p=(v=this.mutationCache.config).onError)==null?void 0:p.call(v,D,this.state.variables,this.state.context,this)),await((k=(O=this.options).onError)==null?void 0:k.call(O,D,this.state.variables,this.state.context)),await((E=(S=this.mutationCache.config).onSettled)==null?void 0:E.call(S,void 0,D,this.state.variables,this.state.context,this)),await((C=(T=this.options).onSettled)==null?void 0:C.call(T,void 0,D,this.state.variables,this.state.context)),D}finally{this.dispatch({type:"error",error:D})}}}dispatch(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"loading":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!mi(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...n,...e.state}}};this.state=t(this.state),Ye.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function vc(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class Jg extends Vn{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const i=new Zg({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(i),i}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){Ye.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return typeof e.exact>"u"&&(e.exact=!0),this.mutations.find(t=>oa(e,t))}findAll(e){return this.mutations.filter(t=>oa(e,t))}notify(e){Ye.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=((e=this.resuming)!=null?e:Promise.resolve()).then(()=>{const t=this.mutations.filter(n=>n.state.isPaused);return Ye.batch(()=>t.reduce((n,i)=>n.then(()=>i.continue().catch(yt)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function il(){return{onFetch:r=>{r.fetchFn=()=>{var e,t,n,i,s,l;const o=(e=r.fetchOptions)==null||(t=e.meta)==null?void 0:t.refetchPage,a=(n=r.fetchOptions)==null||(i=n.meta)==null?void 0:i.fetchMore,u=a==null?void 0:a.pageParam,f=(a==null?void 0:a.direction)==="forward",c=(a==null?void 0:a.direction)==="backward",h=((s=r.state.data)==null?void 0:s.pages)||[],d=((l=r.state.data)==null?void 0:l.pageParams)||[];let m=d,p=!1;const v=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>{var D;if((D=r.signal)!=null&&D.aborted)p=!0;else{var w;(w=r.signal)==null||w.addEventListener("abort",()=>{p=!0})}return r.signal}})},k=r.options.queryFn||(()=>Promise.reject("Missing queryFn")),O=(T,D,w,B)=>(m=B?[D,...m]:[...m,D],B?[w,...T]:[...T,w]),E=(T,D,w,B)=>{if(p)return Promise.reject("Cancelled");if(typeof w>"u"&&!D&&T.length)return Promise.resolve(T);const M={queryKey:r.queryKey,pageParam:w,meta:r.options.meta};v(M);const F=k(M);return Promise.resolve(F).then(N=>O(T,w,N,B))};let S;if(!h.length)S=E([]);else if(f){const T=typeof u<"u",D=T?u:ll(r.options,h);S=E(h,T,D)}else if(c){const T=typeof u<"u",D=T?u:yc(r.options,h);S=E(h,T,D,!0)}else{m=[];const T=typeof r.options.getNextPageParam>"u";S=(o&&h[0]?o(h[0],0,h):!0)?E([],T,d[0]):Promise.resolve(O([],d[0],h[0]));for(let w=1;w{if(o&&h[w]?o(h[w],w,h):!0){const F=T?d[w]:ll(r.options,B);return E(B,T,F)}return Promise.resolve(O(B,d[w],h[w]))})}return S.then(T=>({pages:T,pageParams:m}))}}}}function ll(r,e){return r.getNextPageParam==null?void 0:r.getNextPageParam(e[e.length-1],e)}function yc(r,e){return r.getPreviousPageParam==null?void 0:r.getPreviousPageParam(e[0],e)}function Yg(r,e){if(r.getNextPageParam&&Array.isArray(e)){const t=ll(r,e);return typeof t<"u"&&t!==null&&t!==!1}}function Xg(r,e){if(r.getPreviousPageParam&&Array.isArray(e)){const t=yc(r,e);return typeof t<"u"&&t!==null&&t!==!1}}class xg{constructor(e={}){this.queryCache=e.queryCache||new Kg,this.mutationCache=e.mutationCache||new Jg,this.logger=e.logger||Jl,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=Qr.subscribe(()=>{Qr.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Wr.subscribe(()=>{Wr.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,this.mountCount===0&&((e=this.unsubscribeFocus)==null||e.call(this),this.unsubscribeFocus=void 0,(t=this.unsubscribeOnline)==null||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Xt(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return(n=this.queryCache.find(e,t))==null?void 0:n.state.data}ensureQueryData(e,t,n){const i=In(e,t,n),s=this.getQueryData(i.queryKey);return s?Promise.resolve(s):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.queryCache.find(e),s=i==null?void 0:i.state.data,l=Bg(t,s);if(typeof l>"u")return;const o=In(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Ye.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e,t){var n;return(n=this.queryCache.find(e,t))==null?void 0:n.state}removeQueries(e,t){const[n]=Xt(e,t),i=this.queryCache;Ye.batch(()=>{i.findAll(n).forEach(s=>{i.remove(s)})})}resetQueries(e,t,n){const[i,s]=Xt(e,t,n),l=this.queryCache,o={type:"active",...i};return Ye.batch(()=>(l.findAll(i).forEach(a=>{a.reset()}),this.refetchQueries(o,s)))}cancelQueries(e,t,n){const[i,s={}]=Xt(e,t,n);typeof s.revert>"u"&&(s.revert=!0);const l=Ye.batch(()=>this.queryCache.findAll(i).map(o=>o.cancel(s)));return Promise.all(l).then(yt).catch(yt)}invalidateQueries(e,t,n){const[i,s]=Xt(e,t,n);return Ye.batch(()=>{var l,o;if(this.queryCache.findAll(i).forEach(u=>{u.invalidate()}),i.refetchType==="none")return Promise.resolve();const a={...i,type:(l=(o=i.refetchType)!=null?o:i.type)!=null?l:"active"};return this.refetchQueries(a,s)})}refetchQueries(e,t,n){const[i,s]=Xt(e,t,n),l=Ye.batch(()=>this.queryCache.findAll(i).filter(a=>!a.isDisabled()).map(a=>{var u;return a.fetch(void 0,{...s,cancelRefetch:(u=s==null?void 0:s.cancelRefetch)!=null?u:!0,meta:{refetchPage:i.refetchPage}})}));let o=Promise.all(l).then(yt);return s!=null&&s.throwOnError||(o=o.catch(yt)),o}fetchQuery(e,t,n){const i=In(e,t,n),s=this.defaultQueryOptions(i);typeof s.retry>"u"&&(s.retry=!1);const l=this.queryCache.build(this,s);return l.isStaleByTime(s.staleTime)?l.fetch(s):Promise.resolve(l.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(yt).catch(yt)}fetchInfiniteQuery(e,t,n){const i=In(e,t,n);return i.behavior=il(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(yt).catch(yt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find(i=>hn(e)===hn(i.queryKey));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find(n=>Hr(e,n.queryKey));return t==null?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find(i=>hn(e)===hn(i.mutationKey));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find(n=>Hr(e,n.mutationKey));return t==null?void 0:t.defaultOptions}defaultQueryOptions(e){if(e!=null&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(e==null?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=Zl(t.queryKey,t)),typeof t.refetchOnReconnect>"u"&&(t.refetchOnReconnect=t.networkMode!=="always"),typeof t.useErrorBoundary>"u"&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(e==null?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class kc extends Vn{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),da(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return sl(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return sl(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),tl(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const s=this.hasListeners();s&&ha(this.currentQuery,i,this.options,n)&&this.executeFetch(),this.updateResult(t),s&&(this.currentQuery!==i||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();s&&(this.currentQuery!==i||this.options.enabled!==n.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:(t=e.cancelRefetch)!=null?t:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return e!=null&&e.throwOnError||(t=t.catch(yt)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),er||this.currentResult.isStale||!el(this.options.staleTime))return;const t=dc(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},t)}computeRefetchInterval(){var e;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(e=this.options.refetchInterval)!=null?e:!1}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!(er||this.options.enabled===!1||!el(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Qr.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,i=this.options,s=this.currentResult,l=this.currentResultState,o=this.currentResultOptions,a=e!==n,u=a?e.state:this.currentQueryInitialState,f=a?this.currentResult:this.previousQueryResult,{state:c}=e;let{dataUpdatedAt:h,error:d,errorUpdatedAt:m,fetchStatus:p,status:v}=c,k=!1,O=!1,E;if(t._optimisticResults){const w=this.hasListeners(),B=!w&&da(e,t),M=w&&ha(e,n,t,i);(B||M)&&(p=mi(e.options.networkMode)?"fetching":"paused",h||(v="loading")),t._optimisticResults==="isRestoring"&&(p="idle")}if(t.keepPreviousData&&!c.dataUpdatedAt&&f!=null&&f.isSuccess&&v!=="error")E=f.data,h=f.dataUpdatedAt,v=f.status,k=!0;else if(t.select&&typeof c.data<"u")if(s&&c.data===(l==null?void 0:l.data)&&t.select===this.selectFn)E=this.selectResult;else try{this.selectFn=t.select,E=t.select(c.data),E=rl(s==null?void 0:s.data,E,t),this.selectResult=E,this.selectError=null}catch(w){this.selectError=w}else E=c.data;if(typeof t.placeholderData<"u"&&typeof E>"u"&&v==="loading"){let w;if(s!=null&&s.isPlaceholderData&&t.placeholderData===(o==null?void 0:o.placeholderData))w=s.data;else if(w=typeof t.placeholderData=="function"?t.placeholderData():t.placeholderData,t.select&&typeof w<"u")try{w=t.select(w),this.selectError=null}catch(B){this.selectError=B}typeof w<"u"&&(v="success",E=rl(s==null?void 0:s.data,w,t),O=!0)}this.selectError&&(d=this.selectError,E=this.selectResult,m=Date.now(),v="error");const S=p==="fetching",C=v==="loading",T=v==="error";return{status:v,fetchStatus:p,isLoading:C,isSuccess:v==="success",isError:T,isInitialLoading:C&&S,data:E,dataUpdatedAt:h,error:d,errorUpdatedAt:m,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:T&&c.dataUpdatedAt===0,isPaused:p==="paused",isPlaceholderData:O,isPreviousData:k,isRefetchError:T&&c.dataUpdatedAt!==0,isStale:Yl(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,tl(n,t))return;this.currentResult=n;const i={cache:!0},s=()=>{if(!t)return!0;const{notifyOnChangeProps:l}=this.options;if(l==="all"||!l&&!this.trackedProps.size)return!0;const o=new Set(l??this.trackedProps);return this.options.useErrorBoundary&&o.add("error"),Object.keys(this.currentResult).some(a=>{const u=a;return this.currentResult[u]!==t[u]&&o.has(u)})};(e==null?void 0:e.listeners)!==!1&&s()&&(i.listeners=!0),this.notify({...i,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(t==null||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};e.type==="success"?t.onSuccess=!e.manual:e.type==="error"&&!Cr(e.error)&&(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){Ye.batch(()=>{if(e.onSuccess){var t,n,i,s;(t=(n=this.options).onSuccess)==null||t.call(n,this.currentResult.data),(i=(s=this.options).onSettled)==null||i.call(s,this.currentResult.data,null)}else if(e.onError){var l,o,a,u;(l=(o=this.options).onError)==null||l.call(o,this.currentResult.error),(a=(u=this.options).onSettled)==null||a.call(u,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach(({listener:f})=>{f(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function $g(r,e){return e.enabled!==!1&&!r.state.dataUpdatedAt&&!(r.state.status==="error"&&e.retryOnMount===!1)}function da(r,e){return $g(r,e)||r.state.dataUpdatedAt>0&&sl(r,e,e.refetchOnMount)}function sl(r,e,t){if(e.enabled!==!1){const n=typeof t=="function"?t(r):t;return n==="always"||n!==!1&&Yl(r,e)}return!1}function ha(r,e,t,n){return t.enabled!==!1&&(r!==e||n.enabled===!1)&&(!t.suspense||r.state.status!=="error")&&Yl(r,t)}function Yl(r,e){return r.isStaleByTime(e.staleTime)}class e1 extends kc{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:il()},t)}getOptimisticResult(e){return e.behavior=il(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,i,s,l,o,a;const{state:u}=e,f=super.createResult(e,t),{isFetching:c,isRefetching:h}=f,d=c&&((n=u.fetchMeta)==null||(i=n.fetchMore)==null?void 0:i.direction)==="forward",m=c&&((s=u.fetchMeta)==null||(l=s.fetchMore)==null?void 0:l.direction)==="backward";return{...f,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Yg(t,(o=u.data)==null?void 0:o.pages),hasPreviousPage:Xg(t,(a=u.data)==null?void 0:a.pages),isFetchingNextPage:d,isFetchingPreviousPage:m,isRefetching:h&&!d&&!m}}}class t1 extends Vn{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),tl(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(t=this.currentMutation)==null||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;(e=this.currentMutation)==null||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();const t={listeners:!0};e.type==="success"?t.onSuccess=!0:e.type==="error"&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof e<"u"?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:vc(),t={...e,isLoading:e.status==="loading",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){Ye.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(e.onSuccess){var t,n,i,s;(t=(n=this.mutateOptions).onSuccess)==null||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(i=(s=this.mutateOptions).onSettled)==null||i.call(s,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(e.onError){var l,o,a,u;(l=(o=this.mutateOptions).onError)==null||l.call(o,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(a=(u=this.mutateOptions).onSettled)==null||a.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}e.listeners&&this.listeners.forEach(({listener:f})=>{f(this.currentResult)})})}}const Ec="$$_queryClient",n1=()=>{const r=kt(Ec);if(!r)throw new Error("No QueryClient was found in Svelte context. Did you forget to wrap your component with QueryClientProvider?");return r},T3=r=>{sn(Ec,r)};function Sc(){return n1()}function Oc(r,e){const t=Sc(),n=t.defaultQueryOptions(r);n._optimisticResults="optimistic";let i=new e(t,n);n.onError&&(n.onError=Ye.batchCalls(n.onError)),n.onSuccess&&(n.onSuccess=Ye.batchCalls(n.onSuccess)),n.onSettled&&(n.onSettled=Ye.batchCalls(n.onSettled)),Ur(i).subscribe(o=>{i=o,i.setOptions(n,{listeners:!1})});const s=Ur(i.getCurrentResult(),o=>i.subscribe(Ye.batchCalls(o))),{subscribe:l}=rc(s,o=>(o=i.getOptimisticResult(n),n.notifyOnChangeProps?o:i.trackResult(o)));return{subscribe:l}}function r1(r,e,t){const n=In(r,e,t);return Oc(n,kc)}function i1(r,e,t){const n=In(r,e,t);return Oc(n,e1)}function l1(r,e,t){const n=Fg(r,e,t),i=Sc();let s=new t1(i,n),l;Ur(s).subscribe(u=>{s=u,l=(f,c)=>{s.mutate(f,c).catch(s1)},s.setOptions(n)});const o=Ur(s.getCurrentResult(),u=>s.subscribe(Ye.batchCalls(f=>u(f)))),{subscribe:a}=rc(o,u=>({...u,mutate:l,mutateAsync:u.mutate}));return{subscribe:a}}function s1(){}const ma=mt([]),rt=new xg({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:1/0,retry:!1,onError:r=>{var e;console.error((e=r.body)==null?void 0:e.detail),ma.update(t=>[...t,r])}},mutations:{onError:r=>{var e;console.error((e=r.body)==null?void 0:e.detail),ma.update(t=>[...t,r])}}}});class pa extends Error{constructor(e,t,n){super(n),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}}class o1 extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}var Rt,Dt,wt,$t,pn,ar,Nn;class a1{constructor(e){Jt(this,Rt,void 0);Jt(this,Dt,void 0);Jt(this,wt,void 0);Jt(this,$t,void 0);Jt(this,pn,void 0);Jt(this,ar,void 0);Jt(this,Nn,void 0);St(this,Rt,!1),St(this,Dt,!1),St(this,wt,!1),St(this,$t,[]),St(this,pn,new Promise((t,n)=>{St(this,ar,t),St(this,Nn,n);const i=o=>{var a;He(this,Rt)||He(this,Dt)||He(this,wt)||(St(this,Rt,!0),(a=He(this,ar))==null||a.call(this,o))},s=o=>{var a;He(this,Rt)||He(this,Dt)||He(this,wt)||(St(this,Dt,!0),(a=He(this,Nn))==null||a.call(this,o))},l=o=>{He(this,Rt)||He(this,Dt)||He(this,wt)||He(this,$t).push(o)};return Object.defineProperty(l,"isResolved",{get:()=>He(this,Rt)}),Object.defineProperty(l,"isRejected",{get:()=>He(this,Dt)}),Object.defineProperty(l,"isCancelled",{get:()=>He(this,wt)}),e(i,s,l)}))}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,t){return He(this,pn).then(e,t)}catch(e){return He(this,pn).catch(e)}finally(e){return He(this,pn).finally(e)}cancel(){var e;if(!(He(this,Rt)||He(this,Dt)||He(this,wt))){if(St(this,wt,!0),He(this,$t).length)try{for(const t of He(this,$t))t()}catch(t){console.warn("Cancellation threw an error",t);return}He(this,$t).length=0,(e=He(this,Nn))==null||e.call(this,new o1("Request aborted"))}}get isCancelled(){return He(this,wt)}}Rt=new WeakMap,Dt=new WeakMap,wt=new WeakMap,$t=new WeakMap,pn=new WeakMap,ar=new WeakMap,Nn=new WeakMap;const qe={BASE:"",VERSION:"0.1.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0},Xl=r=>r!=null,cr=r=>typeof r=="string",Si=r=>cr(r)&&r!=="",xl=r=>typeof r=="object"&&typeof r.type=="string"&&typeof r.stream=="function"&&typeof r.arrayBuffer=="function"&&typeof r.constructor=="function"&&typeof r.constructor.name=="string"&&/^(Blob|File)$/.test(r.constructor.name)&&/^(Blob|File)$/.test(r[Symbol.toStringTag]),wc=r=>r instanceof FormData,u1=r=>{try{return btoa(r)}catch{return Buffer.from(r).toString("base64")}},f1=r=>{const e=[],t=(i,s)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(s))}`)},n=(i,s)=>{Xl(s)&&(Array.isArray(s)?s.forEach(l=>{n(i,l)}):typeof s=="object"?Object.entries(s).forEach(([l,o])=>{n(`${i}[${l}]`,o)}):t(i,s))};return Object.entries(r).forEach(([i,s])=>{n(i,s)}),e.length>0?`?${e.join("&")}`:""},c1=(r,e)=>{const t=r.ENCODE_PATH||encodeURI,n=e.url.replace("{api-version}",r.VERSION).replace(/{(.*?)}/g,(s,l)=>{var o;return(o=e.path)!=null&&o.hasOwnProperty(l)?t(String(e.path[l])):s}),i=`${r.BASE}${n}`;return e.query?`${i}${f1(e.query)}`:i},d1=r=>{if(r.formData){const e=new FormData,t=(n,i)=>{cr(i)||xl(i)?e.append(n,i):e.append(n,JSON.stringify(i))};return Object.entries(r.formData).filter(([n,i])=>Xl(i)).forEach(([n,i])=>{Array.isArray(i)?i.forEach(s=>t(n,s)):t(n,i)}),e}},vr=async(r,e)=>typeof e=="function"?e(r):e,h1=async(r,e)=>{const t=await vr(e,r.TOKEN),n=await vr(e,r.USERNAME),i=await vr(e,r.PASSWORD),s=await vr(e,r.HEADERS),l=Object.entries({Accept:"application/json",...s,...e.headers}).filter(([o,a])=>Xl(a)).reduce((o,[a,u])=>({...o,[a]:String(u)}),{});if(Si(t)&&(l.Authorization=`Bearer ${t}`),Si(n)&&Si(i)){const o=u1(`${n}:${i}`);l.Authorization=`Basic ${o}`}return e.body&&(e.mediaType?l["Content-Type"]=e.mediaType:xl(e.body)?l["Content-Type"]=e.body.type||"application/octet-stream":cr(e.body)?l["Content-Type"]="text/plain":wc(e.body)||(l["Content-Type"]="application/json")),new Headers(l)},m1=r=>{var e;if(r.body!==void 0)return(e=r.mediaType)!=null&&e.includes("/json")?JSON.stringify(r.body):cr(r.body)||xl(r.body)||wc(r.body)?r.body:JSON.stringify(r.body)},p1=async(r,e,t,n,i,s,l)=>{const o=new AbortController,a={headers:s,body:n??i,method:e.method,signal:o.signal};return r.WITH_CREDENTIALS&&(a.credentials=r.CREDENTIALS),l(()=>o.abort()),await fetch(t,a)},g1=(r,e)=>{if(e){const t=r.headers.get(e);if(cr(t))return t}},b1=async r=>{if(r.status!==204)try{const e=r.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await r.json():await r.text()}catch(e){console.error(e)}},_1=(r,e)=>{const n={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...r.errors}[e.status];if(n)throw new pa(r,e,n);if(!e.ok)throw new pa(r,e,"Generic Error")},Be=(r,e)=>new a1(async(t,n,i)=>{try{const s=c1(r,e),l=d1(e),o=m1(e),a=await h1(r,e);if(!i.isCancelled){const u=await p1(r,e,s,o,l,a,i),f=await b1(u),c=g1(u,e.responseHeader),h={url:s,ok:u.ok,status:u.status,statusText:u.statusText,body:c??f};_1(e,h),t(h.body)}}catch(s){n(s)}});class jt{static getConcepts(){return Be(qe,{method:"GET",url:"/api/v1/concepts/"})}static getConcept(e,t,n){return Be(qe,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},query:{draft:n},errors:{422:"Validation Error"}})}static editConcept(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteConcept(e,t){return Be(qe,{method:"DELETE",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static createConcept(e){return Be(qe,{method:"POST",url:"/api/v1/concepts/create",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}static mergeConceptDraft(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}/merge_draft",path:{namespace:e,concept_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static getConceptModels(e,t){return Be(qe,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/model",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static getConceptModel(e,t,n,i=!1){return Be(qe,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/model/{embedding_name}",path:{namespace:e,concept_name:t,embedding_name:n},query:{create_if_not_exists:i},errors:{422:"Validation Error"}})}static score(e,t,n,i){return Be(qe,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}/model/{embedding_name}/score",path:{namespace:e,concept_name:t,embedding_name:n},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static generateExamples(e){return Be(qe,{method:"GET",url:"/api/v1/concepts/generate_examples",query:{description:e},errors:{422:"Validation Error"}})}}class $l{static getSources(){return Be(qe,{method:"GET",url:"/api/v1/data_loaders/"})}static getSourceSchema(e){return Be(qe,{method:"GET",url:"/api/v1/data_loaders/{source_name}",path:{source_name:e},errors:{422:"Validation Error"}})}static load(e,t){return Be(qe,{method:"POST",url:"/api/v1/data_loaders/{source_name}/load",path:{source_name:e},body:t,mediaType:"application/json",errors:{422:"Validation Error"}})}}class ot{static getDatasets(){return Be(qe,{method:"GET",url:"/api/v1/datasets/"})}static getManifest(e,t){return Be(qe,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static deleteDataset(e,t){return Be(qe,{method:"DELETE",url:"/api/v1/datasets/{namespace}/{dataset_name}",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static computeSignal(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/compute_signal",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteSignal(e,t,n){return Be(qe,{method:"DELETE",url:"/api/v1/datasets/{namespace}/{dataset_name}/delete_signal",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static getStats(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/stats",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectRowsDownload(e,t,n){return Be(qe,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows_download",path:{namespace:e,dataset_name:t},query:{url_safe_options:n},errors:{422:"Validation Error"}})}static selectRows(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectRowsSchema(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows_schema",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectGroups(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_groups",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static getMedia(e,t,n,i){return Be(qe,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/media",path:{namespace:e,dataset_name:t},query:{item_id:n,leaf_path:i},errors:{422:"Validation Error"}})}static getConfig(e,t,n){return Be(qe,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/config",path:{namespace:e,dataset_name:t},query:{format:n},errors:{422:"Validation Error"}})}static getSettings(e,t){return Be(qe,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/settings",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static updateSettings(e,t,n){return Be(qe,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/settings",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}}class v1{static authInfo(){return Be(qe,{method:"GET",url:"/auth_info"})}}class pi{static getSignals(){return Be(qe,{method:"GET",url:"/api/v1/signals/"})}static getEmbeddings(){return Be(qe,{method:"GET",url:"/api/v1/signals/embeddings"})}static compute(e){return Be(qe,{method:"POST",url:"/api/v1/signals/compute",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}static schema(e){return Be(qe,{method:"POST",url:"/api/v1/signals/schema",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}}class y1{static getTaskManifest(){return Be(qe,{method:"GET",url:"/api/v1/tasks/"})}}const Gr="*",k1="__rowid__",mn="__value__",E1={text:["string","string_span"],text_embedding:["embedding"],image:["binary"]};function P3(r){return S1(r)||O1(r)}function S1(r){return["float16","float32","float64"].indexOf(r??"")>=0}function O1(r){return["int8","int16","int32","int64","uint8","uint16","uint32","uint64"].indexOf(r)>=0}function ht(r){return typeof r=="string"?r:r.map(e=>e.includes(".")?`"${e}"`:e).join(".")}function w1(r){return r.repeated_field?w1(r.repeated_field):r.dtype&&!["embedding","binary"].includes(r.dtype)}function C3(r){return r.dtype&&!["embedding","binary"].includes(r.dtype)}function rn(r){var t;return Array.isArray(r)?r:((t=r.match(/(?:"[^"]*"|[^.])+(?:\.+$)?/g))==null?void 0:t.map(n=>n.replace(/"/g,"")))||[]}function At(r,e){if(!r||!e||(r=rn(r),e=rn(e),r.length!==e.length))return!1;for(let t=0;tt.path.length>0)}function D3(r){return r==null?[]:ft(r).filter(e=>e.dtype!=null)}function M3(r,e){return e==null?[]:(e?ft(e):[]).filter(n=>n.dtype==r)}function Ir(r){let e;if(Array.isArray(r))e=[...r,...r.flatMap(Ir)];else{const{[mn]:t,[tr]:n,[nr]:i,...s}=r,l=Object.values(s||{});e=[];for(const o of l)if(Array.isArray(o)){e=[...e,o];for(const a of o)e=[...e,a,...Ir(a)]}else e=[...e,o,...Ir(o)]}return e}function Tc(r,e){return ft(r).find(n=>es(n.path,e))}function N3(r,e){return Ir(r).filter(n=>es(e,Pc.path(n)))}function Kr(r,e,t=!1){return P1(e)&&(t=!0),e===r?t:e.fields!=null?Object.values(e.fields).some(n=>Kr(r,n,t)):e.repeated_field!=null?Kr(r,e.repeated_field,t):!1}function P1(r){return r.signal!=null}const Pc={path:r=>{if(!r)return;const e=r[tr];if(e==null)throw Error(`Item does not have a path defined: ${JSON.stringify(r)}`);return e},value:(r,e)=>r?r[mn]:null,field:r=>{if(r)return r[nr]},dtype:r=>{const e=Pc.field(r);return e==null?void 0:e.dtype}};function ol(r,e=[]){const{fields:t,repeated_field:n,...i}=r,s={...i,path:[]};if(t!=null){s.fields={};for(const[l,o]of Object.entries(t)){const a=ol(o,[...e,l]);a.path=[...e,l],s.fields[l]=a}}if(n!=null){const l=ol(n,[...e,Gr]);l.path=[...e,Gr],s.repeated_field=l}return s}function al(r,e,t){const n=e.find(s=>es(s.path,t));let i={};if(Array.isArray(r))return i=r.map((s,l)=>al(s,e,[...t,l.toString()])),i[mn]=null,i[tr]=t,i[nr]=n,i;if(r!=null&&typeof r=="object"){const{[mn]:s,...l}=r;i=Object.entries(l).reduce((o,[a,u])=>(o[a]=al(u,e,[...t,a]),o),{}),i[mn]=s}else i[mn]=r;return i[tr]=t,i[nr]=n,i}const C1=(r,e,...t)=>[...r,e,...t];function Ke(r,e,t={}){return e=Array.isArray(e)?e:[e],(...n)=>r1({queryKey:C1(e,r.name,...n),queryFn:()=>r(...n),...t})}function Ht(r,e={}){return()=>l1({mutationFn:t=>r(...t),...e})}const I1="auth_info",R1=Ke(v1.authInfo,I1),ns="tasks",j3=Ke(y1.getTaskManifest,ns,{staleTime:500,refetchInterval:500,refetchIntervalInBackground:!1,refetchOnWindowFocus:!0}),Cc=mt({taskCallbacks:new Map});function Ic(r,e){Cc.update(t=>{const n=t.taskCallbacks.get(r)||[];return t.taskCallbacks.set(r,[...n,e]),t})}function L3(r){Cc.update(e=>{var t;for(const n of e.taskCallbacks.keys()){const i=r.tasks[n];if((i==null?void 0:i.status)=="error"||i.status==="completed"){const s=e.taskCallbacks.get(n)||[];for(;s.length;)(t=s.pop())==null||t(i);e.taskCallbacks.delete(n)}}return e})}const $e="datasets",gi="config",Rc="settings",ga=20,D1=Ke(ot.getDatasets,$e),q3=Ke(ot.getManifest,$e,{}),rs=Ke(ot.getManifest,$e,{select:r=>ts(r.dataset_manifest.data_schema)}),B3=Ke(function(e,t){return e&&t?ot.getManifest(e,t):Promise.resolve(void 0)},$e,{select:r=>r?ts(r.dataset_manifest.data_schema):void 0}),F3=Ke($l.getSources,$e),z3=Ke($l.getSourceSchema,$e,{select:r=>r}),V3=Ht($l.load,{onSuccess:r=>{rt.invalidateQueries([ns]),Ic(r.task_id,()=>{rt.invalidateQueries([$e,"getDatasets"])})}}),M1=Ht(ot.computeSignal,{onSuccess:r=>{rt.invalidateQueries([ns]),Ic(r.task_id,()=>{rt.invalidateQueries([$e,"getManifest"]),rt.invalidateQueries([$e,"selectRowsSchema"]),rt.invalidateQueries([$e,"selectRows"]),rt.invalidateQueries([gi])})}}),U3=Ht(ot.deleteDataset,{onSuccess:()=>{rt.invalidateQueries([$e])}}),H3=Ht(ot.deleteSignal,{onSuccess:()=>{rt.invalidateQueries([$e,"getManifest"]),rt.invalidateQueries([$e,"selectRowsSchema"]),rt.invalidateQueries([$e,"selectRows"]),rt.invalidateQueries([gi])}}),Q3=Ke(ot.getStats,$e),W3=Ke(function(e,t,n){const i=n.map(s=>ot.getStats(e,t,{leaf_path:s}));return Promise.all(i)},$e),G3=Ke(async function(e,t,n,i){const s=await ot.selectRows(e,t,n);return{rows:i==null?s.rows:s.rows.map(l=>Ac(l,i)),total_num_rows:s.total_num_rows}},$e),N1=Ke(ot.selectRowsSchema,$e,{select:r=>({schema:ts(r.data_schema),...r})}),K3=Ke(ot.selectGroups,$e),Z3=(r,e,t,n)=>i1({queryKey:[$e,"selectRows",r,e,t],queryFn:({pageParam:i=0})=>ot.selectRows(r,e,{...t,limit:t.limit||ga,offset:i*(t.limit||ga)}),select:i=>({...i,pages:i.pages.map(s=>({rows:s.rows.map(l=>Ac(l,n)),total_num_rows:s.total_num_rows}))}),getNextPageParam:(i,s)=>s.length,enabled:!!n}),J3=Ke(ot.getConfig,gi),Y3=Ke(ot.getSettings,Rc),X3=Ht(ot.updateSettings,{onSuccess:()=>{rt.invalidateQueries([Rc]),rt.invalidateQueries([gi])}}),Qt="concepts",x3=Ke(jt.getConcept,Qt),j1=Ke(jt.getConcepts,Qt);Ke(jt.getConceptModels,Qt);const $3=Ke(jt.getConceptModel,Qt),ew=Ht(jt.getConceptModel,{onSuccess:()=>{rt.invalidateQueries([Qt])}}),L1=Ht(jt.createConcept,{onSuccess:()=>{rt.invalidateQueries([Qt])}}),q1=Ht(jt.editConcept,{onSuccess:()=>{rt.invalidateQueries([Qt]),rt.invalidateQueries([$e,"selectRows"])}}),tw=Ht(jt.deleteConcept,{onSuccess:()=>rt.invalidateQueries([Qt])}),nw=Ke(jt.score,Qt),bi="signals",B1=Ke(pi.getSignals,bi),F1=Ke(pi.getEmbeddings,bi),rw=Ke(pi.compute,bi),iw=Ke(pi.schema,bi),ul="NAVIGATION_CONTEXT";function lw(){return mt({open:!0})}function sw(r){sn(ul,r)}function ow(){if(!zl(ul))throw new Error("NavigationContext not found");return kt(ul)}var _i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function z1(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){if(this instanceof n){var i=[null];i.push.apply(i,arguments);var s=Function.bind.apply(e,i);return new s}return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),t}var ba=Object.prototype.toString,Dc=function(e){var t=ba.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ba.call(e.callee)==="[object Function]"),n},wi,_a;function V1(){if(_a)return wi;_a=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Dc,i=Object.prototype.propertyIsEnumerable,s=!i.call({toString:null},"toString"),l=i.call(function(){},"prototype"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(h){var d=h.constructor;return d&&d.prototype===h},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var h in window)try{if(!u["$"+h]&&e.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{a(window[h])}catch{return!0}}catch{return!0}return!1}(),c=function(h){if(typeof window>"u"||!f)return a(h);try{return a(h)}catch{return!1}};r=function(d){var m=d!==null&&typeof d=="object",p=t.call(d)==="[object Function]",v=n(d),k=m&&t.call(d)==="[object String]",O=[];if(!m&&!p&&!v)throw new TypeError("Object.keys called on a non-object");var E=l&&p;if(k&&d.length>0&&!e.call(d,0))for(var S=0;S0)for(var C=0;C"u"||!it?Le:it(Uint8Array),bn={"%AggregateError%":typeof AggregateError>"u"?Le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Le:ArrayBuffer,"%ArrayIteratorPrototype%":Tn&&it?it([][Symbol.iterator]()):Le,"%AsyncFromSyncIteratorPrototype%":Le,"%AsyncFunction%":Pn,"%AsyncGenerator%":Pn,"%AsyncGeneratorFunction%":Pn,"%AsyncIteratorPrototype%":Pn,"%Atomics%":typeof Atomics>"u"?Le:Atomics,"%BigInt%":typeof BigInt>"u"?Le:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Le:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Le:FinalizationRegistry,"%Function%":Nc,"%GeneratorFunction%":Pn,"%Int8Array%":typeof Int8Array>"u"?Le:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Le:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tn&&it?it(it([][Symbol.iterator]())):Le,"%JSON%":typeof JSON=="object"?JSON:Le,"%Map%":typeof Map>"u"?Le:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Tn||!it?Le:it(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Le:Promise,"%Proxy%":typeof Proxy>"u"?Le:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Le:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Tn||!it?Le:it(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tn&&it?it(""[Symbol.iterator]()):Le,"%Symbol%":Tn?Symbol:Le,"%SyntaxError%":Ln,"%ThrowTypeError%":$1,"%TypedArray%":tb,"%TypeError%":Mn,"%Uint8Array%":typeof Uint8Array>"u"?Le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Le:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Le:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Le:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Le:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Le:WeakSet};if(it)try{null.error}catch(r){var nb=it(it(r));bn["%Error.prototype%"]=nb}var rb=function r(e){var t;if(e==="%AsyncFunction%")t=Ti("async function () {}");else if(e==="%GeneratorFunction%")t=Ti("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ti("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&it&&(t=it(i.prototype))}return bn[e]=t,t},Sa={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},hr=ss,Zr=Mc,ib=hr.call(Function.call,Array.prototype.concat),lb=hr.call(Function.apply,Array.prototype.splice),Oa=hr.call(Function.call,String.prototype.replace),Jr=hr.call(Function.call,String.prototype.slice),sb=hr.call(Function.call,RegExp.prototype.exec),ob=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ab=/\\(\\)?/g,ub=function(e){var t=Jr(e,0,1),n=Jr(e,-1);if(t==="%"&&n!=="%")throw new Ln("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new Ln("invalid intrinsic syntax, expected opening `%`");var i=[];return Oa(e,ob,function(s,l,o,a){i[i.length]=o?Oa(a,ab,"$1"):l||s}),i},fb=function(e,t){var n=e,i;if(Zr(Sa,n)&&(i=Sa[n],n="%"+i[0]+"%"),Zr(bn,n)){var s=bn[n];if(s===Pn&&(s=rb(n)),typeof s>"u"&&!t)throw new Mn("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Ln("intrinsic "+e+" does not exist!")},Lt=function(e,t){if(typeof e!="string"||e.length===0)throw new Mn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Mn('"allowMissing" argument must be a boolean');if(sb(/^%?[^%]*%?$/,e)===null)throw new Ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ub(e),i=n.length>0?n[0]:"",s=fb("%"+i+"%",t),l=s.name,o=s.value,a=!1,u=s.alias;u&&(i=u[0],lb(n,ib([0,1],u)));for(var f=1,c=!0;f=n.length){var p=gn(o,h);c=!!p,c&&"get"in p&&!("originalValue"in p.get)?o=p.get:o=o[h]}else c=Zr(o,h),o=o[h];c&&!a&&(bn[l]=o)}}return o},cb=Lt,fl=cb("%Object.defineProperty%",!0),cl=function(){if(fl)try{return fl({},"a",{value:1}),!0}catch{return!1}return!1};cl.hasArrayLengthDefineBug=function(){if(!cl())return null;try{return fl([],"length",{value:1}).length!==1}catch{return!0}};var db=cl,hb=is,mb=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",pb=Object.prototype.toString,gb=Array.prototype.concat,jc=Object.defineProperty,bb=function(r){return typeof r=="function"&&pb.call(r)==="[object Function]"},_b=db(),Lc=jc&&_b,vb=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!bb(n)||!n())return}Lc?jc(r,e,{configurable:!0,enumerable:!1,value:t,writable:!0}):r[e]=t},qc=function(r,e){var t=arguments.length>2?arguments[2]:{},n=hb(e);mb&&(n=gb.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i-1?zc(n):n},kb=is,Vc=vi(),Uc=bt,wa=Object,Eb=Uc("Array.prototype.push"),Aa=Uc("Object.prototype.propertyIsEnumerable"),Sb=Vc?Object.getOwnPropertySymbols:null,Hc=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=wa(e);if(arguments.length===1)return n;for(var i=1;i=0&&dl(e)!=="[object Array]"&&dl(e.callee)==="[object Function]"},t_=function(){return yi(arguments)}();yi.isLegacyArguments=xc;var $c=t_?yi:xc;const n_={},r_=Object.freeze(Object.defineProperty({__proto__:null,default:n_},Symbol.toStringTag,{value:"Module"})),i_=z1(r_);var os=typeof Map=="function"&&Map.prototype,Ii=Object.getOwnPropertyDescriptor&&os?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Yr=os&&Ii&&typeof Ii.get=="function"?Ii.get:null,Pa=os&&Map.prototype.forEach,as=typeof Set=="function"&&Set.prototype,Ri=Object.getOwnPropertyDescriptor&&as?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xr=as&&Ri&&typeof Ri.get=="function"?Ri.get:null,Ca=as&&Set.prototype.forEach,l_=typeof WeakMap=="function"&&WeakMap.prototype,xn=l_?WeakMap.prototype.has:null,s_=typeof WeakSet=="function"&&WeakSet.prototype,$n=s_?WeakSet.prototype.has:null,o_=typeof WeakRef=="function"&&WeakRef.prototype,Ia=o_?WeakRef.prototype.deref:null,a_=Boolean.prototype.valueOf,u_=Object.prototype.toString,f_=Function.prototype.toString,c_=String.prototype.match,us=String.prototype.slice,en=String.prototype.replace,d_=String.prototype.toUpperCase,Ra=String.prototype.toLowerCase,ed=RegExp.prototype.test,Da=Array.prototype.concat,Mt=Array.prototype.join,h_=Array.prototype.slice,Ma=Math.floor,hl=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Di=Object.getOwnPropertySymbols,ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,qn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ut=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===qn||"symbol")?Symbol.toStringTag:null,td=Object.prototype.propertyIsEnumerable,Na=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function ja(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ed.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Ma(-r):Ma(r);if(n!==r){var i=String(n),s=us.call(e,i.length+1);return en.call(i,t,"$&_")+"."+en.call(en.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return en.call(e,t,"$&_")}var pl=i_,La=pl.custom,qa=rd(La)?La:null,m_=function r(e,t,n,i){var s=t||{};if(xt(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xt(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=xt(s,"customInspect")?s.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xt(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xt(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=s.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return ld(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return o?ja(e,a):a}if(typeof e=="bigint"){var u=String(e)+"n";return o?ja(e,u):u}var f=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=f&&f>0&&typeof e=="object")return gl(e)?"[Array]":"[Object]";var c=D_(s,n);if(typeof i>"u")i=[];else if(id(i,e)>=0)return"[Circular]";function h(N,Y,V){if(Y&&(i=h_.call(i),i.push(Y)),V){var K={depth:s.depth};return xt(s,"quoteStyle")&&(K.quoteStyle=s.quoteStyle),r(N,K,n+1,i)}return r(N,s,n+1,i)}if(typeof e=="function"&&!Ba(e)){var d=S_(e),m=yr(e,h);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(m.length>0?" { "+Mt.call(m,", ")+" }":"")}if(rd(e)){var p=qn?en.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ml.call(e);return typeof e=="object"&&!qn?Wn(p):p}if(C_(e)){for(var v="<"+Ra.call(String(e.nodeName)),k=e.attributes||[],O=0;O",e.childNodes&&e.childNodes.length&&(v+="..."),v+=""+Ra.call(String(e.nodeName))+">",v}if(gl(e)){if(e.length===0)return"[]";var E=yr(e,h);return c&&!R_(E)?"["+bl(E,c)+"]":"[ "+Mt.call(E,", ")+" ]"}if(b_(e)){var S=yr(e,h);return!("cause"in Error.prototype)&&"cause"in e&&!td.call(e,"cause")?"{ ["+String(e)+"] "+Mt.call(Da.call("[cause]: "+h(e.cause),S),", ")+" }":S.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Mt.call(S,", ")+" }"}if(typeof e=="object"&&l){if(qa&&typeof e[qa]=="function"&&pl)return pl(e,{depth:f-n});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(O_(e)){var C=[];return Pa&&Pa.call(e,function(N,Y){C.push(h(Y,e,!0)+" => "+h(N,e))}),Fa("Map",Yr.call(e),C,c)}if(T_(e)){var T=[];return Ca&&Ca.call(e,function(N){T.push(h(N,e))}),Fa("Set",Xr.call(e),T,c)}if(w_(e))return Mi("WeakMap");if(P_(e))return Mi("WeakSet");if(A_(e))return Mi("WeakRef");if(v_(e))return Wn(h(Number(e)));if(k_(e))return Wn(h(hl.call(e)));if(y_(e))return Wn(a_.call(e));if(__(e))return Wn(h(String(e)));if(!g_(e)&&!Ba(e)){var D=yr(e,h),w=Na?Na(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",M=!w&&ut&&Object(e)===e&&ut in e?us.call(fn(e),8,-1):B?"Object":"",F=w||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",q=F+(M||B?"["+Mt.call(Da.call([],M||[],B||[]),": ")+"] ":"");return D.length===0?q+"{}":c?q+"{"+bl(D,c)+"}":q+"{ "+Mt.call(D,", ")+" }"}return String(e)};function nd(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function p_(r){return en.call(String(r),/"/g,""")}function gl(r){return fn(r)==="[object Array]"&&(!ut||!(typeof r=="object"&&ut in r))}function g_(r){return fn(r)==="[object Date]"&&(!ut||!(typeof r=="object"&&ut in r))}function Ba(r){return fn(r)==="[object RegExp]"&&(!ut||!(typeof r=="object"&&ut in r))}function b_(r){return fn(r)==="[object Error]"&&(!ut||!(typeof r=="object"&&ut in r))}function __(r){return fn(r)==="[object String]"&&(!ut||!(typeof r=="object"&&ut in r))}function v_(r){return fn(r)==="[object Number]"&&(!ut||!(typeof r=="object"&&ut in r))}function y_(r){return fn(r)==="[object Boolean]"&&(!ut||!(typeof r=="object"&&ut in r))}function rd(r){if(qn)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!ml)return!1;try{return ml.call(r),!0}catch{}return!1}function k_(r){if(!r||typeof r!="object"||!hl)return!1;try{return hl.call(r),!0}catch{}return!1}var E_=Object.prototype.hasOwnProperty||function(r){return r in this};function xt(r,e){return E_.call(r,e)}function fn(r){return u_.call(r)}function S_(r){if(r.name)return r.name;var e=c_.call(f_.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function id(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;te.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return ld(us.call(r,0,e.maxStringLength),e)+n}var i=en.call(en.call(r,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,I_);return nd(i,"single",e)}function I_(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+d_.call(e.toString(16))}function Wn(r){return"Object("+r+")"}function Mi(r){return r+" { ? }"}function Fa(r,e,t,n){var i=n?bl(t,n):Mt.call(t,", ");return r+" ("+e+") {"+i+"}"}function R_(r){for(var e=0;e=0)return!1;return!0}function D_(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=Mt.call(Array(r.indent+1)," ");else return null;return{base:t,prev:Mt.call(Array(e+1),t)}}function bl(r,e){if(r.length===0)return"";var t=`
+`+e.prev+e.base;return t+Mt.call(r,","+t)+`
+`+e.prev}function yr(r,e){var t=gl(r),n=[];if(t){n.length=r.length;for(var i=0;i=n)return t+1;var i=Ka(e,t);if(i<55296||i>56319)return t+1;var s=Ka(e,t+1);return s<56320||s>57343?t+1:t+2},ji=function(e){var t=0;return{next:function(){var i=t>=e.length,s;return i||(s=e[t],t+=1),{done:i,value:s}}}},Za=function(e,t){if(r0(e)||Ha(e))return ji(e);if(i0(e)){var n=0;return{next:function(){var s=a0(e,n),l=o0(e,n,s);return n=s,{done:s>e.length,value:l}}}}if(t&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!l0&&!s0)Dr.exports=function(e){if(e!=null)return Za(e,!0)};else{var u0=fd,f0=dd,Ja=Ot("Map.prototype.forEach",!0),Ya=Ot("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Xa=Ot("Map.prototype.iterator",!0),xa=Ot("Set.prototype.iterator",!0);var $a=Ot("Map.prototype.@@iterator",!0)||Ot("Map.prototype._es6-shim iterator_",!0),eu=Ot("Set.prototype.@@iterator",!0)||Ot("Set.prototype._es6-shim iterator_",!0),c0=function(e){if(u0(e)){if(Xa)return Qa(Xa(e));if($a)return $a(e);if(Ja){var t=[];return Ja(e,function(i,s){Ga(t,[s,i])}),ji(t)}}if(f0(e)){if(xa)return Qa(xa(e));if(eu)return eu(e);if(Ya){var n=[];return Ya(e,function(i){Ga(n,i)}),ji(n)}}};Dr.exports=function(e){return c0(e)||Za(e)}}}var d0=Dr.exports,tu=function(r){return r!==r},hd=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||tu(e)&&tu(t))},h0=hd,md=function(){return typeof Object.is=="function"?Object.is:h0},m0=md,p0=yn,g0=function(){var e=m0();return p0(Object,{is:e},{is:function(){return Object.is!==e}}),e},b0=yn,_0=mr,v0=hd,pd=md,y0=g0,gd=_0(pd(),Object);b0(gd,{getPolyfill:pd,implementation:v0,shim:y0});var k0=gd,bd=Function.prototype.toString,Rn=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,_l,Mr;if(typeof Rn=="function"&&typeof Object.defineProperty=="function")try{_l=Object.defineProperty({},"length",{get:function(){throw Mr}}),Mr={},Rn(function(){throw 42},null,_l)}catch(r){r!==Mr&&(Rn=null)}else Rn=null;var E0=/^\s*class\b/,vl=function(e){try{var t=bd.call(e);return E0.test(t)}catch{return!1}},Li=function(e){try{return vl(e)?!1:(bd.call(e),!0)}catch{return!1}},Nr=Object.prototype.toString,S0="[object Object]",O0="[object Function]",w0="[object GeneratorFunction]",A0="[object HTMLAllCollection]",T0="[object HTML document.all class]",P0="[object HTMLCollection]",C0=typeof Symbol=="function"&&!!Symbol.toStringTag,I0=!(0 in[,]),yl=function(){return!1};if(typeof document=="object"){var R0=document.all;Nr.call(R0)===Nr.call(document.all)&&(yl=function(e){if((I0||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Nr.call(e);return(t===A0||t===T0||t===P0||t===S0)&&e("")==null}catch{}return!1})}var D0=Rn?function(e){if(yl(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Rn(e,null,_l)}catch(t){if(t!==Mr)return!1}return!vl(e)&&Li(e)}:function(e){if(yl(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(C0)return Li(e);if(vl(e))return!1;var t=Nr.call(e);return t!==O0&&t!==w0&&!/^\[object HTML/.test(t)?!1:Li(e)},M0=D0,N0=Object.prototype.toString,_d=Object.prototype.hasOwnProperty,j0=function(e,t,n){for(var i=0,s=e.length;i=3&&(i=n),N0.call(e)==="[object Array]"?j0(e,t,i):typeof e=="string"?L0(e,t,i):q0(e,t,i)},vd=B0,qi=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],F0=typeof globalThis>"u"?_i:globalThis,yd=function(){for(var e=[],t=0;t"u"?_i:globalThis,Od=V0(),Q0=ps("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1}return Lr?G0(e):!1},K0=mr,Z0=bt,Td=Lt,J0=Ad,nu=Td("ArrayBuffer",!0),ru=Td("Float32Array",!0),qr=Z0("ArrayBuffer.prototype.byteLength",!0),iu=nu&&!qr&&new nu().slice,lu=iu&&K0(iu),Pd=qr||lu?function(e){if(!e||typeof e!="object")return!1;try{return qr?qr(e):lu(e,0),!0}catch{return!1}}:ru?function(e){try{return new ru(e).buffer===e&&!J0(e)}catch(t){return typeof e=="object"&&t.name==="RangeError"}}:function(e){return!1},Y0=Date.prototype.getDay,X0=function(e){try{return Y0.call(e),!0}catch{return!1}},x0=Object.prototype.toString,$0="[object Date]",ev=un(),tv=function(e){return typeof e!="object"||e===null?!1:ev?X0(e):x0.call(e)===$0},kl=bt,Cd=un(),Id,Rd,El,Sl;if(Cd){Id=kl("Object.prototype.hasOwnProperty"),Rd=kl("RegExp.prototype.exec"),El={};var Fi=function(){throw El};Sl={toString:Fi,valueOf:Fi},typeof Symbol.toPrimitive=="symbol"&&(Sl[Symbol.toPrimitive]=Fi)}var nv=kl("Object.prototype.toString"),rv=Object.getOwnPropertyDescriptor,iv="[object RegExp]",lv=Cd?function(e){if(!e||typeof e!="object")return!1;var t=rv(e,"lastIndex"),n=t&&Id(t,"value");if(!n)return!1;try{Rd(e,Sl)}catch(i){return i===El}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:nv(e)===iv},sv=bt,su=sv("SharedArrayBuffer.prototype.byteLength",!0),ov=su?function(e){if(!e||typeof e!="object")return!1;try{return su(e),!0}catch{return!1}}:function(e){return!1},av=Number.prototype.toString,uv=function(e){try{return av.call(e),!0}catch{return!1}},fv=Object.prototype.toString,cv="[object Number]",dv=un(),hv=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:dv?uv(e):fv.call(e)===cv},Dd=bt,mv=Dd("Boolean.prototype.toString"),pv=Dd("Object.prototype.toString"),gv=function(e){try{return mv(e),!0}catch{return!1}},bv="[object Boolean]",_v=un(),vv=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:_v&&Symbol.toStringTag in e?gv(e):pv(e)===bv},Ol={exports:{}},yv=Object.prototype.toString,kv=ls();if(kv){var Ev=Symbol.prototype.toString,Sv=/^Symbol\(.*\)$/,Ov=function(e){return typeof e.valueOf()!="symbol"?!1:Sv.test(Ev.call(e))};Ol.exports=function(e){if(typeof e=="symbol")return!0;if(yv.call(e)!=="[object Symbol]")return!1;try{return Ov(e)}catch{return!1}}}else Ol.exports=function(e){return!1};var wv=Ol.exports,wl={exports:{}},ou=typeof BigInt<"u"&&BigInt,Av=function(){return typeof ou=="function"&&typeof BigInt=="function"&&typeof ou(42)=="bigint"&&typeof BigInt(42)=="bigint"},Tv=Av();if(Tv){var Pv=BigInt.prototype.valueOf,Cv=function(e){try{return Pv.call(e),!0}catch{}return!1};wl.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:Cv(e)}}else wl.exports=function(e){return!1};var Iv=wl.exports,Rv=ad,Dv=hv,Mv=vv,Nv=wv,jv=Iv,Lv=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(Rv(e))return"String";if(Dv(e))return"Number";if(Mv(e))return"Boolean";if(Nv(e))return"Symbol";if(jv(e))return"BigInt"},ei=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,au=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ti;ei||(ti=function(e){return!1});var Al=ei?ei.prototype.has:null,zi=au?au.prototype.has:null;!ti&&!Al&&(ti=function(e){return!1});var qv=ti||function(e){if(!e||typeof e!="object")return!1;try{if(Al.call(e,Al),zi)try{zi.call(e,zi)}catch{return!0}return e instanceof ei}catch{}return!1},Tl={exports:{}},Bv=Lt,Md=bt,Fv=Bv("%WeakSet%",!0),Vi=Md("WeakSet.prototype.has",!0);if(Vi){var Ui=Md("WeakMap.prototype.has",!0);Tl.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Vi(e,Vi),Ui)try{Ui(e,Ui)}catch{return!0}return e instanceof Fv}catch{}return!1}}else Tl.exports=function(e){return!1};var zv=Tl.exports,Vv=fd,Uv=dd,Hv=qv,Qv=zv,Wv=function(e){if(e&&typeof e=="object"){if(Vv(e))return"Map";if(Uv(e))return"Set";if(Hv(e))return"WeakMap";if(Qv(e))return"WeakSet"}return!1},Nd=vd,Gv=yd,jd=bt,Hi=kd,Kv=jd("Object.prototype.toString"),Ld=un(),uu=typeof globalThis>"u"?_i:globalThis,Zv=Gv(),Jv=jd("String.prototype.slice"),qd={},Qi=Object.getPrototypeOf;Ld&&Hi&&Qi&&Nd(Zv,function(r){if(typeof uu[r]=="function"){var e=new uu[r];if(Symbol.toStringTag in e){var t=Qi(e),n=Hi(t,Symbol.toStringTag);if(!n){var i=Qi(t);n=Hi(i,Symbol.toStringTag)}qd[r]=n.get}}});var Yv=function(e){var t=!1;return Nd(qd,function(n,i){if(!t)try{var s=n.call(e);s===i&&(t=s)}catch{}}),t},Xv=Ad,xv=function(e){return Xv(e)?!Ld||!(Symbol.toStringTag in e)?Jv(Kv(e),8,-1):Yv(e):!1},$v=bt,fu=$v("ArrayBuffer.prototype.byteLength",!0),ey=Pd,ty=function(e){return ey(e)?fu?fu(e):e.byteLength:NaN},Bd=Nb,qt=bt,cu=Xb,ny=Lt,Bn=d0,ry=sd,du=k0,hu=$c,mu=od,pu=Pd,gu=tv,bu=lv,_u=ov,vu=is,yu=Lv,ku=Wv,Eu=xv,Su=ty,Ou=qt("SharedArrayBuffer.prototype.byteLength",!0),wu=qt("Date.prototype.getTime"),Wi=Object.getPrototypeOf,Au=qt("Object.prototype.toString"),ni=ny("%Set%",!0),Pl=qt("Map.prototype.has",!0),ri=qt("Map.prototype.get",!0),Tu=qt("Map.prototype.size",!0),ii=qt("Set.prototype.add",!0),Fd=qt("Set.prototype.delete",!0),li=qt("Set.prototype.has",!0),Br=qt("Set.prototype.size",!0);function Pu(r,e,t,n){for(var i=Bn(r),s;(s=i.next())&&!s.done;)if(Tt(e,s.value,t,n))return Fd(r,s.value),!0;return!1}function zd(r){if(typeof r>"u")return null;if(typeof r!="object")return typeof r=="symbol"?!1:typeof r=="string"||typeof r=="number"?+r==+r:!0}function iy(r,e,t,n,i,s){var l=zd(t);if(l!=null)return l;var o=ri(e,l),a=Bd({},i,{strict:!1});return typeof o>"u"&&!Pl(e,l)||!Tt(n,o,a,s)?!1:!Pl(r,l)&&Tt(n,o,a,s)}function ly(r,e,t){var n=zd(t);return n??(li(e,n)&&!li(r,n))}function Cu(r,e,t,n,i,s){for(var l=Bn(r),o,a;(o=l.next())&&!o.done;)if(a=o.value,Tt(t,a,i,s)&&Tt(n,ri(e,a),i,s))return Fd(r,a),!0;return!1}function Tt(r,e,t,n){var i=t||{};if(i.strict?du(r,e):r===e)return!0;var s=yu(r),l=yu(e);if(s!==l)return!1;if(!r||!e||typeof r!="object"&&typeof e!="object")return i.strict?du(r,e):r==e;var o=n.has(r),a=n.has(e),u;if(o&&a){if(n.get(r)===n.get(e))return!0}else u={};return o||n.set(r,u),a||n.set(e,u),ay(r,e,i,n)}function Iu(r){return!r||typeof r!="object"||typeof r.length!="number"||typeof r.copy!="function"||typeof r.slice!="function"||r.length>0&&typeof r[0]!="number"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))}function sy(r,e,t,n){if(Br(r)!==Br(e))return!1;for(var i=Bn(r),s=Bn(e),l,o,a;(l=i.next())&&!l.done;)if(l.value&&typeof l.value=="object")a||(a=new ni),ii(a,l.value);else if(!li(e,l.value)){if(t.strict||!ly(r,e,l.value))return!1;a||(a=new ni),ii(a,l.value)}if(a){for(;(o=s.next())&&!o.done;)if(o.value&&typeof o.value=="object"){if(!Pu(a,o.value,t.strict,n))return!1}else if(!t.strict&&!li(r,o.value)&&!Pu(a,o.value,t.strict,n))return!1;return Br(a)===0}return!0}function oy(r,e,t,n){if(Tu(r)!==Tu(e))return!1;for(var i=Bn(r),s=Bn(e),l,o,a,u,f,c;(l=i.next())&&!l.done;)if(u=l.value[0],f=l.value[1],u&&typeof u=="object")a||(a=new ni),ii(a,u);else if(c=ri(e,u),typeof c>"u"&&!Pl(e,u)||!Tt(f,c,t,n)){if(t.strict||!iy(r,e,u,f,t,n))return!1;a||(a=new ni),ii(a,u)}if(a){for(;(o=s.next())&&!o.done;)if(u=o.value[0],c=o.value[1],u&&typeof u=="object"){if(!Cu(a,r,u,c,t,n))return!1}else if(!t.strict&&(!r.has(u)||!Tt(ri(r,u),c,t,n))&&!Cu(a,r,u,c,Bd({},t,{strict:!1}),n))return!1;return Br(a)===0}return!0}function ay(r,e,t,n){var i,s;if(typeof r!=typeof e||r==null||e==null||Au(r)!==Au(e)||hu(r)!==hu(e))return!1;var l=mu(r),o=mu(e);if(l!==o)return!1;var a=r instanceof Error,u=e instanceof Error;if(a!==u||(a||u)&&(r.name!==e.name||r.message!==e.message))return!1;var f=bu(r),c=bu(e);if(f!==c||(f||c)&&(r.source!==e.source||cu(r)!==cu(e)))return!1;var h=gu(r),d=gu(e);if(h!==d||(h||d)&&wu(r)!==wu(e)||t.strict&&Wi&&Wi(r)!==Wi(e))return!1;var m=Eu(r),p=Eu(e);if((m||p)&&m!==p)return!1;var v=Iu(r),k=Iu(e);if(v!==k)return!1;if(v||k){if(r.length!==e.length)return!1;for(i=0;i=0;i--)if(T[i]!=D[i])return!1;for(i=T.length-1;i>=0;i--)if(s=T[i],!Tt(r[s],e[s],t,n))return!1;var w=ku(r),B=ku(e);return w!==B?!1:w==="Set"||B==="Set"?sy(r,e,t,n):w==="Map"?oy(r,e,t,n):!0}var uy=function(e,t,n){return Tt(e,t,n,ry())};const Gi=dr(uy),Cl="DATASET_VIEW_CONTEXT",fy={};function Vd(r,e){return`${r}/${e}`}function cy(r,e){return{namespace:r,datasetName:e,searchPath:null,searchEmbedding:null,selectedColumns:{},expandedColumns:{},query:{columns:[],combine_columns:!0},schemaCollapsed:!1}}function aw(r,e,t=!0){const n=cy(r,e),{subscribe:i,set:s,update:l}=mt(JSON.parse(JSON.stringify(n))),o={subscribe:i,set:s,update:l,reset:()=>{s(JSON.parse(JSON.stringify(n)))},addSelectedColumn:a=>l(u=>(u.selectedColumns[ht(a)]=!0,u)),removeSelectedColumn:a=>l(u=>{u.selectedColumns[ht(a)]=!1;for(const f of Object.keys(u.selectedColumns))Oi(f,a)&&!At(a,f)&&delete u.selectedColumns[f];return u}),addExpandedColumn(a){l(u=>(u.expandedColumns[ht(a)]=!0,u))},removeExpandedColumn(a){l(u=>(delete u.expandedColumns[ht(a)],u))},addUdfColumn:a=>l(u=>{var f;return(f=u.query.columns)==null||f.push(a),u}),removeUdfColumn:a=>l(u=>{var f;return u.query.columns=(f=u.query.columns)==null?void 0:f.filter(c=>c!==a),u}),editUdfColumn:a=>l(u=>{var f;return u.query.columns=(f=u.query.columns)==null?void 0:f.map(c=>A1(c)&&At(c.path,a.path)?a:c),u}),setSearchPath:a=>l(u=>(u.searchPath=ht(a),u)),setSearchEmbedding:a=>l(u=>(u.searchEmbedding=a,u)),addSearch:a=>l(u=>{u.query.searches=u.query.searches||[];for(const f of u.query.searches)if(Gi(f,a))return u;return(a.type==="semantic"||a.type==="concept")&&(u.query.sort_by=void 0,u.query.sort_order=void 0),u.query.searches.push(a),u}),removeSearch:(a,u)=>l(f=>{var c,h;return f.query.searches=(c=f.query.searches)==null?void 0:c.filter(d=>!Gi(d,a)),(f.query.searches||[]).length===0&&(f.query.searches=void 0),(u==null?void 0:u.sorts)!=null&&(f.query.sort_by=(h=f.query.sort_by)==null?void 0:h.filter(d=>!((u==null?void 0:u.sorts)||[]).some(m=>At(m.path,d)))),f}),setSortBy:a=>l(u=>(a==null?u.query.sort_by=void 0:u.query.sort_by=[a],u)),addSortBy:a=>l(u=>(u.query.sort_by=[...u.query.sort_by||[],a],u)),removeSortBy:a=>l(u=>{var f;return u.query.sort_by=(f=u.query.sort_by)==null?void 0:f.filter(c=>!At(c,a)),u}),clearSorts:()=>l(a=>(a.query.sort_by=void 0,a.query.sort_order=void 0,a)),setSortOrder:a=>l(u=>(u.query.sort_order=a||void 0,u)),removeFilter:a=>l(u=>{var f;return u.query.filters=(f=u.query.filters)==null?void 0:f.filter(c=>!Gi(c,a)),(u.query.filters||[]).length===0&&(u.query.filters=void 0),u}),addFilter:a=>l(u=>(u.query.filters=[...u.query.filters||[],a],u)),deleteSignal:a=>l(u=>{var f,c;return u.query.filters=(f=u.query.filters)==null?void 0:f.filter(h=>!Oi(a,h.path)),u.query.sort_by=(c=u.query.sort_by)==null?void 0:c.filter(h=>!Oi(a,h)),u}),deleteConcept(a,u,f){function c(h){return h.type==="concept"&&h.concept_namespace===a&&h.concept_name===u}l(h=>{var m,p,v;const d=[];return h.query.searches=(m=h.query.searches)==null?void 0:m.filter(k=>{const O=!c(k);if(!O&&f!=null&&f.search_results!=null){const E=f.search_results.filter(S=>At(S.search_path,k.path)).map(S=>S.result_path);d.push(...E)}return O}),h.query.sort_by=(p=h.query.sort_by)==null?void 0:p.filter(k=>!d.some(O=>At(O,k))),h.query.filters=(v=h.query.filters)==null?void 0:v.filter(k=>!d.some(O=>At(O,k.path))),h})}};return t&&(fy[Vd(r,e)]=o),o}function uw(r){sn(Cl,r)}function ki(){if(!zl(Cl))throw new Error("DatasetViewContext not found");return kt(Cl)}function dy(r){const e=["*",...r.query.columns??[]];return{...r.query,columns:e}}function hy(r){const e=dy(r);return{columns:e.columns,searches:e.searches,combine_columns:e.combine_columns,sort_by:e.sort_by,sort_order:e.sort_order}}function Ru(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function my(r){let e,t,n=r[1]&&Ru(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Ud extends me{constructor(e){super(),pe(this,e,py,my,he,{size:0,title:1})}}function Du(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function gy(r){let e,t,n,i=r[1]&&Du(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class _y extends me{constructor(e){super(),pe(this,e,by,gy,he,{size:0,title:1})}}function Mu(r){let e,t,n,i,s,l=`${r[2]}px`,o=`${Math.max(r[5]/2+Sr,Math.min(r[1],r[6]-r[5]/2-Sr))}px`,a;const u=[yy,vy],f=[];function c(h,d){return h[0]?0:h[3]?1:-1}return~(n=c(r))&&(i=f[n]=u[n](r)),{c(){e=j("div"),t=j("div"),i&&i.c(),this.h()},l(h){e=L(h,"DIV",{role:!0,class:!0});var d=R(e);t=L(d,"DIV",{class:!0});var m=R(t);i&&i.l(m),m.forEach(g),d.forEach(g),this.h()},h(){A(t,"class","min-w-xl text-container svelte-1a6oxtp"),A(e,"role","tooltip"),A(e,"class","hover-tooltip absolute mt-2 -translate-x-1/2 break-words border border-gray-300 bg-white p-2 shadow-md"),yh(()=>r[7].call(e)),Cn(e,"top",l),Cn(e,"left",o)},m(h,d){P(h,e,d),I(e,t),~n&&f[n].m(t,null),s=kh(e,r[7].bind(e)),a=!0},p(h,d){let m=n;n=c(h),n===m?~n&&f[n].p(h,d):(i&&(ne(),y(f[m],1,1,()=>{f[m]=null}),re()),~n?(i=f[n],i?i.p(h,d):(i=f[n]=u[n](h),i.c()),_(i,1),i.m(t,null)):i=null),d&4&&l!==(l=`${h[2]}px`)&&Cn(e,"top",l),d&34&&o!==(o=`${Math.max(h[5]/2+Sr,Math.min(h[1],h[6]-h[5]/2-Sr))}px`)&&Cn(e,"left",o)},i(h){a||(_(i),a=!0)},o(h){y(i),a=!1},d(h){h&&g(e),~n&&f[n].d(),s()}}}function vy(r){let e,t,n;const i=[r[4]];var s=r[3];function l(o){let a={};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l()),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function yy(r){let e,t;return{c(){e=j("span"),t=ce(r[0]),this.h()},l(n){e=L(n,"SPAN",{class:!0});var i=R(e);t=de(i,r[0]),i.forEach(g),this.h()},h(){A(e,"class","whitespace-pre-wrap")},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&1&&ve(t,n[0])},i:ie,o:ie,d(n){n&&g(e)}}}function ky(r){let e,t,n=r[0]!=""&&Mu(r);return{c(){n&&n.c(),e=G()},l(i){n&&n.l(i),e=G()},m(i,s){n&&n.m(i,s),P(i,e,s),t=!0},p(i,[s]){i[0]!=""?n?(n.p(i,s),s&1&&_(n,1)):(n=Mu(i),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(ne(),y(n,1,1,()=>{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}const Sr=10;function Ey(r,e,t){let{text:n}=e,{x:i}=e,{y:s}=e,{component:l}=e,{props:o}=e;const a=window.innerWidth;let u=0;function f(){u=this.clientWidth,t(5,u)}return r.$$set=c=>{"text"in c&&t(0,n=c.text),"x"in c&&t(1,i=c.x),"y"in c&&t(2,s=c.y),"component"in c&&t(3,l=c.component),"props"in c&&t(4,o=c.props)},[n,i,s,l,o,u,a,f]}class Sy extends me{constructor(e){super(),pe(this,e,Ey,ky,he,{text:0,x:1,y:2,component:3,props:4})}}function Oy(r,{text:e,component:t,props:n}){if(t==null&&e==null)return;let i,s=e,l=t,o=n;function a(){if(i!=null)return;const f=r.getBoundingClientRect();i=new Sy({props:{text:s,component:l,props:o,x:f.left+f.width/2,y:f.bottom},target:document.body})}function u(){i==null||i.$destroy(),i=void 0}return r.addEventListener("mouseover",a),r.addEventListener("mouseleave",u),r.addEventListener("click",u),{update({text:f,component:c,props:h}){s=f,l=c,o=h,i==null||i.$set({tooltipText:f})},destroy(){u(),r.removeEventListener("mouseover",a),r.removeEventListener("mouseleave",u),r.removeEventListener("click",u)}}}function Nu(r,e,t){const n=r.slice();return n[4]=e[t],n[5]=e,n[6]=t,n}function ju(r){let e,t,n=r[6]+1+"",i,s,l,o,a,u,f,c,h,d,m,p,v;function k(S){r[1](S,r[6])}let O={};r[0][r[6]]!==void 0&&(O.value=r[0][r[6]]),o=new _n({props:O}),Fe.push(()=>Ze(o,"value",k)),h=new Ud({});function E(){return r[2](r[6])}return{c(){e=j("div"),t=j("div"),i=ce(n),s=$(),l=j("div"),U(o.$$.fragment),u=$(),f=j("div"),c=j("button"),U(h.$$.fragment),d=$(),this.h()},l(S){e=L(S,"DIV",{class:!0});var C=R(e);t=L(C,"DIV",{class:!0});var T=R(t);i=de(T,n),T.forEach(g),s=ee(C),l=L(C,"DIV",{class:!0});var D=R(l);Z(o.$$.fragment,D),D.forEach(g),u=ee(C),f=L(C,"DIV",{});var w=R(f);c=L(w,"BUTTON",{class:!0});var B=R(c);Z(h.$$.fragment,B),B.forEach(g),w.forEach(g),d=ee(C),C.forEach(g),this.h()},h(){A(t,"class","shrink-0 text-base"),A(l,"class","grow"),A(c,"class","px-1 py-2"),A(e,"class","flex flex-row items-center gap-x-2")},m(S,C){P(S,e,C),I(e,t),I(t,i),I(e,s),I(e,l),H(o,l,null),I(e,u),I(e,f),I(f,c),H(h,c,null),I(e,d),m=!0,p||(v=[Eh(Oy.call(null,c,{text:"Remove example"})),W(c,"click",E)],p=!0)},p(S,C){r=S;const T={};!a&&C&1&&(a=!0,T.value=r[0][r[6]],xe(()=>a=!1)),o.$set(T)},i(S){m||(_(o.$$.fragment,S),_(h.$$.fragment,S),m=!0)},o(S){y(o.$$.fragment,S),y(h.$$.fragment,S),m=!1},d(S){S&&g(e),Q(o),Q(h),p=!1,Ge(v)}}}function wy(r){let e,t,n,i,s,l,o,a,u,f=r[0],c=[];for(let d=0;dy(c[d],1,1,()=>{c[d]=null});return{c(){e=j("div"),t=j("div");for(let d=0;d0),A(e,"class","flex flex-col gap-y-2")},m(d,m){P(d,e,m),I(e,t);for(let p=0;p0)},i(d){if(!o){for(let m=0;m{n.splice(o,1),t(0,n)},l=()=>{t(0,n=[...n||[],""])};return r.$$set=o=>{"examples"in o&&t(0,n=o.examples)},[n,i,s,l]}class Lu extends me{constructor(e){super(),pe(this,e,Ay,wy,he,{examples:0})}}function qu(r,e,t){const n=r.slice();return n[40]=e[t],n}function Bu(r,e,t){const n=r.slice();return n[6]=e[t],n}function Ty(r){let e,t;return e=new _n({props:{labelText:"namespace",value:r[16]}}),e.$on("change",r[32]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&65536&&(s.value=n[16]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Py(r){let e,t;return e=new _n({props:{labelText:"namespace",disabled:!0}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Fu(r){let e,t;return{c(){e=j("div"),t=ce("This concept will be created under your namespace, so only will be visible to you."),this.h()},l(n){e=L(n,"DIV",{class:!0});var i=R(e);t=de(i,"This concept will be created under your namespace, so only will be visible to you."),i.forEach(g),this.h()},h(){A(e,"class","mb-8 text-xs text-neutral-700")},m(n,i){P(n,e,i),I(e,t)},d(n){n&&g(e)}}}function Cy(r){let e,t,n,i;return n=new ac({}),{c(){e=ce(`Generate
+ `),t=j("span"),U(n.$$.fragment),this.h()},l(s){e=de(s,`Generate
+ `),t=L(s,"SPAN",{class:!0});var l=R(t);Z(n.$$.fragment,l),l.forEach(g),this.h()},h(){A(t,"class","ml-2"),b(t,"invisible",!r[10])},m(s,l){P(s,e,l),P(s,t,l),H(n,t,null),i=!0},p(s,l){(!i||l[0]&1024)&&b(t,"invisible",!s[10])},i(s){i||(_(n.$$.fragment,s),i=!0)},o(s){y(n.$$.fragment,s),i=!1},d(s){s&&g(e),s&&g(t),Q(n)}}}function Iy(r){let e,t;return e=new on({props:{labelText:"Dataset",selected:r[15],$$slots:{default:[My]},$$scope:{ctx:r}}}),e.$on("change",r[21]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&32768&&(s.selected=n[15]),i[0]&16|i[1]&16384&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Ry(r){let e,t;return e=new uc({props:{kind:"error",title:"Error",subtitle:r[4].error.message,hideCloseButton:!0}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&16&&(s.subtitle=n[4].error.message),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Dy(r){let e,t;return e=new Kl({}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function zu(r){let e,t;return e=new an({props:{value:`${r[6].namespace}/${r[6].dataset_name}`}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&16&&(s.value=`${n[6].namespace}/${n[6].dataset_name}`),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function My(r){let e,t,n=r[4].data,i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lZe(f,"value",vt));let tt=r[0]&&Fu();function On(ye){r[34](ye)}let Pt={labelText:"Concept description",helperText:"This will be used by an LLM to generate example sentences.",placeholder:"Enter the concept description..."};r[9]!==void 0&&(Pt.value=r[9]),E=new _n({props:Pt}),Fe.push(()=>Ze(E,"value",On)),D=new jn({props:{disabled:!r[9]||r[10],$$slots:{default:[Cy]},$$scope:{ctx:r}}}),D.$on("click",r[24]);function ue(ye){r[35](ye)}let ws={};r[12]!==void 0&&(ws.examples=r[12]),B=new Lu({props:ws}),Fe.push(()=>Ze(B,"examples",ue));const As=[Dy,Ry,Iy],Wt=[];function Ts(ye,Ve){return ye[4].isLoading?0:ye[4].isError?1:ye[4].data.length>0?2:-1}~(oe=Ts(r))&&(fe=Wt[oe]=As[oe](r));const Ps=[Ly,jy,Ny],Gt=[];function Cs(ye,Ve){var pt,Kt;return(pt=ye[5])!=null&&pt.isLoading?0:(Kt=ye[5])!=null&&Kt.isError?1:ye[2].length>0?2:-1}~(te=Cs(r))&&(ke=Gt[te]=Ps[te](r)),se=new jn({props:{disabled:!r[6]||!r[1],$$slots:{default:[By]},$$scope:{ctx:r}}}),se.$on("click",r[25]);function ph(ye){r[36](ye)}let Is={};return r[13]!==void 0&&(Is.examples=r[13]),lt=new Lu({props:Is}),Fe.push(()=>Ze(lt,"examples",ph)),{c(){e=j("div"),t=j("section"),n=j("div"),i=ce("Step 1. Concept details"),s=$(),l=j("div"),a.c(),u=$(),U(f.$$.fragment),h=$(),tt&&tt.c(),d=$(),m=j("section"),p=j("div"),v=ce("Step 2. Add positive examples"),k=$(),O=j("div"),U(E.$$.fragment),C=$(),T=j("div"),U(D.$$.fragment),w=$(),U(B.$$.fragment),F=$(),q=j("section"),N=j("div"),Y=ce("Step 3. Add negative examples"),V=$(),K=j("div"),fe&&fe.c(),x=$(),ke&&ke.c(),z=$(),_e=j("div"),U(se.$$.fragment),Je=$(),U(lt.$$.fragment),this.h()},l(ye){e=L(ye,"DIV",{class:!0});var Ve=R(e);t=L(Ve,"SECTION",{});var pt=R(t);n=L(pt,"DIV",{class:!0});var Kt=R(n);i=de(Kt,"Step 1. Concept details"),Kt.forEach(g),s=ee(pt),l=L(pt,"DIV",{class:!0});var cn=R(l);a.l(cn),u=ee(cn),Z(f.$$.fragment,cn),cn.forEach(g),h=ee(pt),tt&&tt.l(pt),pt.forEach(g),d=ee(Ve),m=L(Ve,"SECTION",{});var Ct=R(m);p=L(Ct,"DIV",{class:!0});var Hn=R(p);v=de(Hn,"Step 2. Add positive examples"),Hn.forEach(g),k=ee(Ct),O=L(Ct,"DIV",{class:!0});var Zt=R(O);Z(E.$$.fragment,Zt),C=ee(Zt),T=L(Zt,"DIV",{class:!0});var wn=R(T);Z(D.$$.fragment,wn),wn.forEach(g),Zt.forEach(g),w=ee(Ct),Z(B.$$.fragment,Ct),Ct.forEach(g),F=ee(Ve),q=L(Ve,"SECTION",{});var It=R(q);N=L(It,"DIV",{class:!0});var Qn=R(N);Y=de(Qn,"Step 3. Add negative examples"),Qn.forEach(g),V=ee(It),K=L(It,"DIV",{class:!0});var An=R(K);fe&&fe.l(An),x=ee(An),ke&&ke.l(An),z=ee(An),_e=L(An,"DIV",{class:!0});var Rs=R(_e);Z(se.$$.fragment,Rs),Rs.forEach(g),An.forEach(g),Je=ee(It),Z(lt.$$.fragment,It),It.forEach(g),Ve.forEach(g),this.h()},h(){A(n,"class","header-step svelte-62ihoh"),A(l,"class","flex flex-row gap-x-12"),A(p,"class","header-step svelte-62ihoh"),A(T,"class","generate-button pt-6"),A(O,"class","my-4 flex gap-x-2"),A(N,"class","header-step svelte-62ihoh"),A(_e,"class","generate-button"),A(K,"class","my-4 flex items-end gap-x-2"),A(e,"class","flex flex-col gap-y-8")},m(ye,Ve){P(ye,e,Ve),I(e,t),I(t,n),I(n,i),I(t,s),I(t,l),le[o].m(l,null),I(l,u),H(f,l,null),I(t,h),tt&&tt.m(t,null),I(e,d),I(e,m),I(m,p),I(p,v),I(m,k),I(m,O),H(E,O,null),I(O,C),I(O,T),H(D,T,null),I(m,w),H(B,m,null),I(e,F),I(e,q),I(q,N),I(N,Y),I(q,V),I(q,K),~oe&&Wt[oe].m(K,null),I(K,x),~te&&Gt[te].m(K,null),I(K,z),I(K,_e),H(se,_e,null),I(q,Je),H(lt,q,null),_t=!0},p(ye,Ve){let pt=o;o=ae(ye),o===pt?le[o].p(ye,Ve):(ne(),y(le[pt],1,1,()=>{le[pt]=null}),re(),a=le[o],a?a.p(ye,Ve):(a=le[o]=Pe[o](ye),a.c()),_(a,1),a.m(l,u));const Kt={};!c&&Ve[0]&256&&(c=!0,Kt.value=ye[8],xe(()=>c=!1)),f.$set(Kt),ye[0]?tt||(tt=Fu(),tt.c(),tt.m(t,null)):tt&&(tt.d(1),tt=null);const cn={};!S&&Ve[0]&512&&(S=!0,cn.value=ye[9],xe(()=>S=!1)),E.$set(cn);const Ct={};Ve[0]&1536&&(Ct.disabled=!ye[9]||ye[10]),Ve[0]&1024|Ve[1]&16384&&(Ct.$$scope={dirty:Ve,ctx:ye}),D.$set(Ct);const Hn={};!M&&Ve[0]&4096&&(M=!0,Hn.examples=ye[12],xe(()=>M=!1)),B.$set(Hn);let Zt=oe;oe=Ts(ye),oe===Zt?~oe&&Wt[oe].p(ye,Ve):(fe&&(ne(),y(Wt[Zt],1,1,()=>{Wt[Zt]=null}),re()),~oe?(fe=Wt[oe],fe?fe.p(ye,Ve):(fe=Wt[oe]=As[oe](ye),fe.c()),_(fe,1),fe.m(K,x)):fe=null);let wn=te;te=Cs(ye),te===wn?~te&&Gt[te].p(ye,Ve):(ke&&(ne(),y(Gt[wn],1,1,()=>{Gt[wn]=null}),re()),~te?(ke=Gt[te],ke?ke.p(ye,Ve):(ke=Gt[te]=Ps[te](ye),ke.c()),_(ke,1),ke.m(K,z)):ke=null);const It={};Ve[0]&66&&(It.disabled=!ye[6]||!ye[1]),Ve[0]&2048|Ve[1]&16384&&(It.$$scope={dirty:Ve,ctx:ye}),se.$set(It);const Qn={};!Et&&Ve[0]&8192&&(Et=!0,Qn.examples=ye[13],xe(()=>Et=!1)),lt.$set(Qn)},i(ye){_t||(_(a),_(f.$$.fragment,ye),_(E.$$.fragment,ye),_(D.$$.fragment,ye),_(B.$$.fragment,ye),_(fe),_(ke),_(se.$$.fragment,ye),_(lt.$$.fragment,ye),_t=!0)},o(ye){y(a),y(f.$$.fragment,ye),y(E.$$.fragment,ye),y(D.$$.fragment,ye),y(B.$$.fragment,ye),y(fe),y(ke),y(se.$$.fragment,ye),y(lt.$$.fragment,ye),_t=!1},d(ye){ye&&g(e),le[o].d(),Q(f),tt&&tt.d(),Q(E),Q(D),Q(B),~oe&&Wt[oe].d(),~te&&Gt[te].d(),Q(se),Q(lt)}}}function zy(r){let e,t,n,i,s,l;return e=new Ql({props:{title:"New Concept"}}),n=new Wl({props:{hasForm:!0,$$slots:{default:[Fy]},$$scope:{ctx:r}}}),s=new Gl({props:{primaryButtonText:"Create",secondaryButtonText:"Cancel",primaryButtonDisabled:r[7].length==0||r[8].length==0}}),s.$on("click:button--secondary",r[26]),{c(){U(e.$$.fragment),t=$(),U(n.$$.fragment),i=$(),U(s.$$.fragment)},l(o){Z(e.$$.fragment,o),t=ee(o),Z(n.$$.fragment,o),i=ee(o),Z(s.$$.fragment,o)},m(o,a){H(e,o,a),P(o,t,a),H(n,o,a),P(o,i,a),H(s,o,a),l=!0},p(o,a){const u={};a[0]&131063|a[1]&16384&&(u.$$scope={dirty:a,ctx:o}),n.$set(u);const f={};a[0]&384&&(f.primaryButtonDisabled=o[7].length==0||o[8].length==0),s.$set(f)},i(o){l||(_(e.$$.fragment,o),_(n.$$.fragment,o),_(s.$$.fragment,o),l=!0)},o(o){y(e.$$.fragment,o),y(n.$$.fragment,o),y(s.$$.fragment,o),l=!1},d(o){Q(e,o),o&&g(t),Q(n,o),o&&g(i),Q(s,o)}}}function Vy(r){let e,t;return e=new Hl({props:{open:!0,size:"lg",$$slots:{default:[zy]},$$scope:{ctx:r}}}),e.$on("submit",r[23]),e.$on("close",r[26]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&131063|i[1]&16384&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Uy(r,e,t){let n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O=ie,E=()=>(O(),O=Vl(f,Pe=>t(5,k=Pe)),f),S;r.$$.on_destroy.push(()=>O());let{command:C}=e;const T=R1();Xe(r,T,Pe=>t(31,S=Pe));let D=s||"local",w=C.conceptName||"",B,M=!1,F=!1;const q=L1();Xe(r,q,Pe=>t(38,p=Pe));const N=q1();Xe(r,N,Pe=>t(37,m=Pe));const Y=ct(),V=D1();Xe(r,V,Pe=>t(4,v=Pe));function K(Pe){const le=Pe.target.value;if(le==="")t(6,l=void 0);else{const[ae,vt]=le.split("/");t(6,l={namespace:ae,name:vt})}t(1,a=void 0)}function oe(Pe){const le=Pe.target.value;t(1,a=rn(le))}let fe=[""],x=[""];function te(){p.mutate([{namespace:D,name:w,type:"text",description:B}],{onSuccess:()=>{m.mutate([D,w,{insert:[...fe.filter(Pe=>Pe!="").map(Pe=>({text:Pe,label:!0})),...x.filter(Pe=>Pe!="").map(Pe=>({text:Pe,label:!1}))]}],{onSuccess:()=>{Y("create",{namespace:D,name:w}),_e()}})}})}async function ke(){if(!B)return;t(10,M=!0);const Pe=await jt.generateExamples(B);t(10,M=!1),fe.at(-1)===""&&fe.pop(),fe.push(...Pe),t(12,fe)}async function z(){if(!l||!a)return;t(11,F=!0);const Pe=await ot.selectRows(l.namespace,l.name,{columns:[a],limit:10,sort_by:[k1]});t(11,F=!1),x.at(-1)===""&&x.pop();const le=Pe.rows.map(ae=>ae[u]);x.push(...le),t(13,x)}function _e(){Y("close")}const se=Pe=>t(7,D=(Pe.detail||"").toString());function Je(Pe){w=Pe,t(8,w)}function lt(Pe){B=Pe,t(9,B)}function Et(Pe){fe=Pe,t(12,fe)}function _t(Pe){x=Pe,t(13,x)}return r.$$set=Pe=>{"command"in Pe&&t(27,C=Pe.command)},r.$$.update=()=>{var Pe,le,ae;r.$$.dirty[1]&1&&t(0,n=(Pe=S.data)==null?void 0:Pe.auth_enabled),r.$$.dirty[1]&1&&t(30,i=(ae=(le=S.data)==null?void 0:le.user)==null?void 0:ae.id),r.$$.dirty[0]&1207959553&&t(16,s=C.namespace||(n?i:null)),r.$$.dirty[0]&134217728&&t(6,l=C.dataset),r.$$.dirty[0]&80&&v.data&&v.data.length>0&&l===void 0&&t(6,l={namespace:v.data[0].namespace,name:v.data[0].dataset_name}),r.$$.dirty[0]&64&&t(15,o=l?`${l.namespace}/${l.name}`:""),r.$$.dirty[0]&134217728&&t(1,a=C.path),r.$$.dirty[0]&64&&E(t(3,f=l&&rs(l.namespace,l.name))),r.$$.dirty[0]&40&&t(29,c=f&&(k==null?void 0:k.data)),r.$$.dirty[0]&536870912&&t(28,h=c?ft(c).filter(vt=>vt.dtype==="string"&&!Kr(vt,c)):[]),r.$$.dirty[0]&268435456&&t(2,d=h.sort((vt,Sn)=>{const tt=ft(vt).some(Pt=>Pt.signal!=null&&ft(Pt).some(ue=>ue.dtype==="embedding")),On=ft(Sn).some(Pt=>Pt.signal!=null&&ft(Pt).some(ue=>ue.dtype==="embedding"));return tt&&!On?-1:!tt&&On?1:0})),r.$$.dirty[0]&6&&d&&d.length>0&&a===void 0&&t(1,a=rn(d[0].path)),r.$$.dirty[0]&2&&t(14,u=a?ht(a):void 0),r.$$.dirty[0]&1&&console.log("auth=",n)},[n,a,d,f,v,k,l,D,w,B,M,F,fe,x,u,o,s,T,q,N,V,K,oe,te,ke,z,_e,C,h,c,i,S,se,Je,lt,Et,_t]}class Hy extends me{constructor(e){super(),pe(this,e,Uy,Vy,he,{command:27},null,[-1,-1])}}const Il="DATASET_INFO_CONTEXT",Qy={},fw=(r,e)=>{const t={schema:null,stats:null,selectRowsSchema:null,visibleFields:null,settings:null},{subscribe:n,set:i,update:s}=mt(t),l={subscribe:n,set:i,update:s,reset:()=>{i(t)},setSchema:o=>s(a=>(a.schema=o,a)),setStats:o=>s(a=>(a.stats=o,a)),setVisibleFields:o=>s(a=>(a.visibleFields=o,a)),setSelectRowsSchema:o=>s(a=>(a.selectRowsSchema=o,a)),setSettings:o=>s(a=>(a.settings=o,a))};return Qy[Vd(r,e)]=l,l};function cw(r){sn(Il,r)}function Wy(){if(!zl(Il))throw new Error("DatasetViewContext not found");return kt(Il)}function Uu(r,e,t){const n=r.slice();return n[5]=e[t],n}function Gy(r){let e,t,n=r[1],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){e=j("div");for(let l=0;l{f=null}),re()),(!o||d&6&&l!==(l=r[2]===r[5].value))&&A(e,"data-active",l)},i(h){o||(_(f),o=!0)},o(h){y(f),o=!1},d(h){h&&g(e),f&&f.d(),a=!1,u()}}}function Jy(r){let e,t,n,i;const s=[Ky,Gy],l=[];function o(a,u){return a[0]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function Yy(r,e,t){let{skeleton:n=!1}=e,{items:i=[]}=e,{item:s=void 0}=e;const l=ct(),o=a=>l("select",a.value);return r.$$set=a=>{"skeleton"in a&&t(0,n=a.skeleton),"items"in a&&t(1,i=a.items),"item"in a&&t(2,s=a.item)},[n,i,s,l,o]}class pr extends me{constructor(e){super(),pe(this,e,Yy,Jy,he,{skeleton:0,items:1,item:2})}}function Wu(r,e,t){const n=r.slice();return n[22]=e[t],n[23]=e,n[24]=t,n}function Gu(r,e,t){const n=r.slice();return n[25]=e[t],n}function Ki(r){const e=r.slice(),t=e[1].path;return e[21]=t,e}function Ku(r){let e,t,n,i=r[2].length>0?"and":"add",s,l,o,a,u=r[2],f=[];for(let d=0;dy(f[d],1,1,()=>{f[d]=null});function h(){return r[19](r[21])}return{c(){for(let d=0;d0?"and":"add")&&ve(s,i)},i(d){if(!l){for(let m=0;my(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lZe(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){r=l;const a={};!t&&o&4&&(t=!0,a.value=r[22].value,xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function $y(r){let e,t;return{c(){e=j("span"),t=ce("Blob filter not yet implemented")},l(n){e=L(n,"SPAN",{});var i=R(e);t=de(i,"Blob filter not yet implemented"),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p:ie,i:ie,o:ie,d(n){n&&g(e)}}}function e2(r){let e,t;return e=new rm({}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function t2(r){let e,t;return{c(){e=j("span"),t=ce("In operator not yet implemented")},l(n){e=L(n,"SPAN",{});var i=R(e);t=de(i,"In operator not yet implemented"),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p:ie,i:ie,o:ie,d(n){n&&g(e)}}}function n2(r){return{c:ie,l:ie,m:ie,p:ie,i:ie,o:ie,d:ie}}function Ju(r){let e,t,n,i,s,l,o,a,u,f,c,h;function d(E){r[16](E,r[22])}let m={labelText:"Operation",$$slots:{default:[Xy]},$$scope:{ctx:r}};r[22].op!==void 0&&(m.selected=r[22].op),t=new on({props:m}),Fe.push(()=>Ze(t,"selected",d));const p=[n2,t2,e2,$y,xy],v=[];function k(E,S){return E[22].op==="exists"?0:E[22].op==="in"?1:typeof E[22].value=="boolean"?2:typeof E[22].value=="function"?3:4}s=k(r),l=v[s]=p[s](r),u=new _y({props:{size:20}});function O(){return r[18](r[22])}return{c(){e=j("div"),U(t.$$.fragment),i=$(),l.c(),o=$(),a=j("button"),U(u.$$.fragment),this.h()},l(E){e=L(E,"DIV",{class:!0});var S=R(e);Z(t.$$.fragment,S),i=ee(S),l.l(S),o=ee(S),a=L(S,"BUTTON",{class:!0});var C=R(a);Z(u.$$.fragment,C),C.forEach(g),S.forEach(g),this.h()},h(){A(a,"class","mt-5"),A(e,"class","flex items-center gap-x-2")},m(E,S){P(E,e,S),H(t,e,null),I(e,i),v[s].m(e,null),I(e,o),I(e,a),H(u,a,null),f=!0,c||(h=W(a,"click",O),c=!0)},p(E,S){r=E;const C={};S&268435456&&(C.$$scope={dirty:S,ctx:r}),!n&&S&4&&(n=!0,C.selected=r[22].op,xe(()=>n=!1)),t.$set(C);let T=s;s=k(r),s===T?v[s].p(r,S):(ne(),y(v[T],1,1,()=>{v[T]=null}),re(),l=v[s],l?l.p(r,S):(l=v[s]=p[s](r),l.c()),_(l,1),l.m(e,o))},i(E){f||(_(t.$$.fragment,E),_(l),_(u.$$.fragment,E),f=!0)},o(E){y(t.$$.fragment,E),y(l),y(u.$$.fragment,E),f=!1},d(E){E&&g(e),Q(t),v[s].d(),Q(u),c=!1,h()}}}function r2(r){let e,t,n,i,s,l;n=new pr({props:{items:r[3],item:r[1]}}),n.$on("select",r[15]);let o=r[1]&&Ku(Ki(r));return{c(){e=j("div"),t=j("div"),U(n.$$.fragment),i=$(),s=j("div"),o&&o.c(),this.h()},l(a){e=L(a,"DIV",{class:!0});var u=R(e);t=L(u,"DIV",{class:!0});var f=R(t);Z(n.$$.fragment,f),f.forEach(g),i=ee(u),s=L(u,"DIV",{class:!0});var c=R(s);o&&o.l(c),c.forEach(g),u.forEach(g),this.h()},h(){A(t,"class","-ml-4 mr-4 w-80 grow-0"),A(s,"class","flex w-full flex-col gap-y-6"),A(e,"class","flex flex-row")},m(a,u){P(a,e,u),I(e,t),H(n,t,null),I(e,i),I(e,s),o&&o.m(s,null),l=!0},p(a,u){const f={};u&8&&(f.items=a[3]),u&2&&(f.item=a[1]),n.$set(f),a[1]?o?(o.p(Ki(a),u),u&2&&_(o,1)):(o=Ku(Ki(a)),o.c(),_(o,1),o.m(s,null)):o&&(ne(),y(o,1,1,()=>{o=null}),re())},i(a){l||(_(n.$$.fragment,a),_(o),l=!0)},o(a){y(n.$$.fragment,a),y(o),l=!1},d(a){a&&g(e),Q(n),o&&o.d()}}}function i2(r){let e,t,n,i,s,l;return e=new Ql({props:{label:"Filters",title:"Edit Filters"}}),n=new Wl({props:{hasForm:!0,$$slots:{default:[r2]},$$scope:{ctx:r}}}),s=new Gl({props:{primaryButtonText:"Save",secondaryButtonText:"Cancel",primaryButtonDisabled:!1}}),s.$on("click:button--secondary",r[8]),{c(){U(e.$$.fragment),t=$(),U(n.$$.fragment),i=$(),U(s.$$.fragment)},l(o){Z(e.$$.fragment,o),t=ee(o),Z(n.$$.fragment,o),i=ee(o),Z(s.$$.fragment,o)},m(o,a){H(e,o,a),P(o,t,a),H(n,o,a),P(o,i,a),H(s,o,a),l=!0},p(o,a){const u={};a&268435471&&(u.$$scope={dirty:a,ctx:o}),n.$set(u)},i(o){l||(_(e.$$.fragment,o),_(n.$$.fragment,o),_(s.$$.fragment,o),l=!0)},o(o){y(e.$$.fragment,o),y(n.$$.fragment,o),y(s.$$.fragment,o),l=!1},d(o){Q(e,o),o&&g(t),Q(n,o),o&&g(i),Q(s,o)}}}function l2(r){let e,t;return e=new Hl({props:{open:!0,$$slots:{default:[i2]},$$scope:{ctx:r}}}),e.$on("submit",r[9]),e.$on("close",r[8]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,[i]){const s={};i&268435471&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function s2(r,e,t){let n,i,s,l,o,a,u=ie,f=()=>(u(),u=Vl(n,M=>t(13,a=M)),n),c;r.$$.on_destroy.push(()=>u());let{command:h}=e;const d=ki();Xe(r,d,M=>t(12,o=M));const m=Wy();Xe(r,m,M=>t(14,c=M));const p=ct();let v=[];ln(()=>{t(0,v=structuredClone(o.query.filters||[]))});let k;const O=[["equals","equals (=)"],["not_equal","not equal (!=)"],["greater","greater than (>)"],["greater_equal","greater or equal (>=)"],["less","less than (<)"],["less_equal","less or equal (<=)"],["in","in"],["exists","exists"]];function E(){p("close")}function S(){Vr(d,o.query.filters=v,o),E()}const C=M=>t(1,k=M.detail);function T(M,F){r.$$.not_equal(F.op,M)&&(F.op=M,t(2,l),t(0,v),t(1,k),t(11,s),t(13,a),t(10,h))}function D(M,F){r.$$.not_equal(F.value,M)&&(F.value=M,t(2,l),t(0,v),t(1,k),t(11,s),t(13,a),t(10,h))}const w=M=>{t(0,v=v.filter(F=>F!=M))},B=M=>t(0,v=[...v,{path:M,op:"equals",value:""}]);return r.$$set=M=>{"command"in M&&t(10,h=M.command)},r.$$.update=()=>{if(r.$$.dirty&5120&&f(t(4,n=N1(h.namespace,h.datasetName,hy(o)))),r.$$.dirty&24577&&t(3,i=a!=null&&a.isSuccess&&c.schema?ft(c.schema).map(M=>{const F=v.filter(q=>At(q.path,M.path));return{title:M.path.join("."),value:M,tag:F.length>0?{value:F.length.toString(),type:"blue"}:void 0}}):[]),r.$$.dirty&9216&&t(11,s=a!=null&&a.isSuccess?Tc(a.data.schema,h.path):void 0),r.$$.dirty&2050&&!k&&s&&t(1,k=s),r.$$.dirty&3&&t(2,l=v.filter(M=>At(M.path,k==null?void 0:k.path))),r.$$.dirty&1)for(const M of v)M.op==="exists"&&(M.value=null)},[v,k,l,i,n,d,m,O,E,S,h,s,o,a,c,C,T,D,w,B]}class o2 extends me{constructor(e){super(),pe(this,e,s2,l2,he,{command:10})}}function a2(){const r=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||r(e)},ln(()=>{console.warn=r})}function Yu(r,e,t){const n=r.slice();return n[18]=e[t],n}function Xu(r,e,t){const n=r.slice();return n[18]=e[t],n}function xu(r,e,t){const n=r.slice();return n[10]=e[t],n}function $u(r,e,t){const n=r.slice();return n[13]=e[t],n[15]=t,n}function ef(r,e,t){const n=r.slice();return n[16]=e[t],n[15]=t,n}function tf(r,e,t){const n=r.slice();return n[7]=e[t],n}function u2(r){let e,t,n,i;const s=[h2,d2,c2],l=[];function o(a,u){return a[0]==="table"?0:a[0]==="list"?1:2}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,u){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function f2(r){let e,t,n=r[1],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function d2(r){let e,t,n,i;const s=[_2,b2],l=[];function o(a,u){return a[4]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,u){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function h2(r){let e,t,n;var i=r[5].table;function s(l){return{props:{$$slots:{default:[C2]},$$scope:{ctx:l}}}}return i&&(e=je(i,s(r))),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,o){const a={};if(o&8388716&&(a.$$scope={dirty:o,ctx:l}),o&32&&i!==(i=l[5].table)){if(e){ne();const u=e;y(u.$$.fragment,1,0,()=>{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function m2(r){let e=r[6].raw+"",t;return{c(){t=ce(e)},l(n){t=de(n,e)},m(n,i){P(n,t,i)},p(n,i){i&64&&e!==(e=n[6].raw+"")&&ve(t,e)},i:ie,o:ie,d(n){n&&g(t)}}}function p2(r){let e,t;return e=new kn({props:{tokens:r[1],renderers:r[5]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&2&&(s.tokens=n[1]),i&32&&(s.renderers=n[5]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function g2(r){let e,t,n,i;const s=[p2,m2],l=[];function o(a,u){return a[1]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,u){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function b2(r){let e,t,n;const i=[{ordered:r[4]},r[6]];var s=r[5].list;function l(o){let a={$$slots:{default:[y2]},$$scope:{ctx:o}};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function _2(r){let e,t,n;const i=[{ordered:r[4]},r[6]];var s=r[5].list;function l(o){let a={$$slots:{default:[E2]},$$scope:{ctx:o}};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function v2(r){let e,t,n;return e=new kn({props:{tokens:r[18].tokens,renderers:r[5]}}),{c(){U(e.$$.fragment),t=$()},l(i){Z(e.$$.fragment,i),t=ee(i)},m(i,s){H(e,i,s),P(i,t,s),n=!0},p(i,s){const l={};s&64&&(l.tokens=i[18].tokens),s&32&&(l.renderers=i[5]),e.$set(l)},i(i){n||(_(e.$$.fragment,i),n=!0)},o(i){y(e.$$.fragment,i),n=!1},d(i){Q(e,i),i&&g(t)}}}function nf(r){let e,t,n;const i=[r[18]];var s=r[5].unorderedlistitem||r[5].listitem;function l(o){let a={$$slots:{default:[v2]},$$scope:{ctx:o}};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function y2(r){let e,t,n=r[6].items,i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function E2(r){let e,t,n=r[6].items,i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function O2(r){let e,t,n=r[2],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function A2(r){let e,t;return e=new kn({props:{tokens:r[13].tokens,renderers:r[5]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&8&&(s.tokens=n[13].tokens),i&32&&(s.renderers=n[5]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function sf(r){let e,t,n;var i=r[5].tablecell;function s(l){return{props:{header:!1,align:l[6].align[l[15]]||"center",$$slots:{default:[A2]},$$scope:{ctx:l}}}}return i&&(e=je(i,s(r))),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,o){const a={};if(o&64&&(a.align=l[6].align[l[15]]||"center"),o&8388648&&(a.$$scope={dirty:o,ctx:l}),o&32&&i!==(i=l[5].tablecell)){if(e){ne();const u=e;y(u.$$.fragment,1,0,()=>{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function T2(r){let e,t,n=r[10],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function P2(r){let e,t,n=r[3],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(m,1)}),re()}l?(e=je(l,o(f)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else l&&e.$set(h);const d={};if(c&8388712&&(d.$$scope={dirty:c,ctx:f}),c&32&&a!==(a=f[5].tablebody)){if(n){ne();const m=n;y(m.$$.fragment,1,0,()=>{Q(m,1)}),re()}a?(n=je(a,u(f)),U(n.$$.fragment),_(n.$$.fragment,1),H(n,i.parentNode,i)):n=null}else a&&n.$set(d)},i(f){s||(e&&_(e.$$.fragment,f),n&&_(n.$$.fragment,f),s=!0)},o(f){e&&y(e.$$.fragment,f),n&&y(n.$$.fragment,f),s=!1},d(f){e&&Q(e,f),f&&g(t),f&&g(i),n&&Q(n,f)}}}function af(r){let e,t;const n=[r[7],{renderers:r[5]}];let i={};for(let s=0;s{l[f]=null}),re()),~e?(t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n)):t=null)},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){~e&&l[e].d(a),a&&g(n)}}}function R2(r,e,t){const n=["type","tokens","header","rows","ordered","renderers"];let i=ge(e,n),{type:s=void 0}=e,{tokens:l=void 0}=e,{header:o=void 0}=e,{rows:a=void 0}=e,{ordered:u=!1}=e,{renderers:f}=e;return a2(),r.$$set=c=>{e=J(J({},e),Te(c)),t(6,i=ge(e,n)),"type"in c&&t(0,s=c.type),"tokens"in c&&t(1,l=c.tokens),"header"in c&&t(2,o=c.header),"rows"in c&&t(3,a=c.rows),"ordered"in c&&t(4,u=c.ordered),"renderers"in c&&t(5,f=c.renderers)},[s,l,o,a,u,f,i]}let kn=class extends me{constructor(e){super(),pe(this,e,R2,I2,he,{type:0,tokens:1,header:2,rows:3,ordered:4,renderers:5})}};function Hd(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let En=Hd();function D2(r){En=r}const Qd=/[&<>"']/,M2=new RegExp(Qd.source,"g"),Wd=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,N2=new RegExp(Wd.source,"g"),j2={"&":"&","<":"<",">":">",'"':""","'":"'"},uf=r=>j2[r];function at(r,e){if(e){if(Qd.test(r))return r.replace(M2,uf)}else if(Wd.test(r))return r.replace(N2,uf);return r}const L2=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Gd(r){return r.replace(L2,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const q2=/(^|[^\[])\^/g;function Qe(r,e){r=typeof r=="string"?r:r.source,e=e||"";const t={replace:(n,i)=>(i=i.source||i,i=i.replace(q2,"$1"),r=r.replace(n,i),t),getRegex:()=>new RegExp(r,e)};return t}const B2=/[^\w:]/g,F2=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ff(r,e,t){if(r){let n;try{n=decodeURIComponent(Gd(t)).replace(B2,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!F2.test(t)&&(t=H2(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const Or={},z2=/^[^:]+:\/*[^/]*$/,V2=/^([^:]+:)[\s\S]*$/,U2=/^([^:]+:\/*[^/]*)[\s\S]*$/;function H2(r,e){Or[" "+r]||(z2.test(r)?Or[" "+r]=r+"/":Or[" "+r]=Fr(r,"/",!0)),r=Or[" "+r];const t=r.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:r.replace(V2,"$1")+e:e.charAt(0)==="/"?t?e:r.replace(U2,"$1")+e:r+e}const si={exec:function(){}};function cf(r,e){const t=r.replace(/\|/g,(s,l,o)=>{let a=!1,u=l;for(;--u>=0&&o[u]==="\\";)a=!a;return a?"|":" |"}),n=t.split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length1;)e&1&&(t+=r),e>>=1,r+=r;return t+r}function hf(r,e,t,n){const i=e.href,s=e.title?at(e.title):null,l=r[1].replace(/\\([\[\]])/g,"$1");if(r[0].charAt(0)!=="!"){n.state.inLink=!0;const o={type:"link",raw:t,href:i,title:s,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,o}return{type:"image",raw:t,href:i,title:s,text:at(l)}}function G2(r,e){const t=r.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
+`).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[l]=s;return l.length>=n.length?i.slice(n.length):i}).join(`
+`)}class gs{constructor(e){this.options=e||En}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Fr(n,`
+`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],i=G2(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:i}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const i=Fr(n,"#");(this.options.pedantic||!i||/ $/.test(i))&&(n=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=t[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(n);return this.lexer.state.top=i,{type:"blockquote",raw:t[0],tokens:s,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,i,s,l,o,a,u,f,c,h,d,m,p=t[1].trim();const v=p.length>1,k={type:"list",raw:"",ordered:v,start:v?+p.slice(0,-1):"",loose:!1,items:[]};p=v?`\\d{1,9}\\${p.slice(-1)}`:`\\${p}`,this.options.pedantic&&(p=v?p:"[*+-]");const O=new RegExp(`^( {0,3}${p})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(m=!1,!(!(t=O.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),f=t[2].split(`
+`,1)[0].replace(/^\t+/,S=>" ".repeat(3*S.length)),c=e.split(`
+`,1)[0],this.options.pedantic?(l=2,d=f.trimLeft()):(l=t[2].search(/[^ ]/),l=l>4?1:l,d=f.slice(l),l+=t[1].length),a=!1,!f&&/^ *$/.test(c)&&(n+=c+`
+`,e=e.substring(c.length+1),m=!0),!m){const S=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),C=new RegExp(`^ {0,${Math.min(3,l-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),T=new RegExp(`^ {0,${Math.min(3,l-1)}}(?:\`\`\`|~~~)`),D=new RegExp(`^ {0,${Math.min(3,l-1)}}#`);for(;e&&(h=e.split(`
+`,1)[0],c=h,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(T.test(c)||D.test(c)||S.test(c)||C.test(e)));){if(c.search(/[^ ]/)>=l||!c.trim())d+=`
+`+c.slice(l);else{if(a||f.search(/[^ ]/)>=4||T.test(f)||D.test(f)||C.test(f))break;d+=`
+`+c}!a&&!c.trim()&&(a=!0),n+=h+`
+`,e=e.substring(h.length+1),f=c.slice(l)}}k.loose||(u?k.loose=!0:/\n *\n *$/.test(n)&&(u=!0)),this.options.gfm&&(i=/^\[[ xX]\] /.exec(d),i&&(s=i[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),k.items.push({type:"list_item",raw:n,task:!!i,checked:s,loose:!1,text:d}),k.raw+=n}k.items[k.items.length-1].raw=n.trimRight(),k.items[k.items.length-1].text=d.trimRight(),k.raw=k.raw.trimRight();const E=k.items.length;for(o=0;oT.type==="space"),C=S.length>0&&S.some(T=>/\n.*\n/.test(T.raw));k.loose=C}if(k.loose)for(o=0;o$/,"$1").replace(this.rules.inline._escapes,"$1"):"",s=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:i,title:s}}}table(e){const t=this.rules.block.table.exec(e);if(t){const n={type:"table",header:cf(t[1]).map(i=>({text:i})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
+`):[]};if(n.header.length===n.align.length){n.raw=t[0];let i=n.align.length,s,l,o,a;for(s=0;s({text:u}));for(i=n.header.length,l=0;l/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):at(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const l=Fr(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{const l=Q2(t[2],"()");if(l>-1){const a=(t[0].indexOf("!")===0?5:4)+t[1].length+l;t[2]=t[2].substring(0,l),t[0]=t[0].substring(0,a).trim(),t[3]=""}}let i=t[2],s="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);l&&(i=l[1],s=l[3])}else s=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(n)?i=i.slice(1):i=i.slice(1,-1)),hf(t,{href:i&&i.replace(this.rules.inline._escapes,"$1"),title:s&&s.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let i=(n[2]||n[1]).replace(/\s+/g," ");if(i=t[i.toLowerCase()],!i){const s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return hf(n,i,n[0],this.lexer)}}emStrong(e,t,n=""){let i=this.rules.inline.emStrong.lDelim.exec(e);if(!i||i[3]&&n.match(/[\p{L}\p{N}]/u))return;const s=i[1]||i[2]||"";if(!s||s&&(n===""||this.rules.inline.punctuation.exec(n))){const l=i[0].length-1;let o,a,u=l,f=0;const c=i[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+l);(i=c.exec(t))!=null;){if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!o)continue;if(a=o.length,i[3]||i[4]){u+=a;continue}else if((i[5]||i[6])&&l%3&&!((l+a)%3)){f+=a;continue}if(u-=a,u>0)continue;a=Math.min(a,a+u+f);const h=e.slice(0,l+i.index+(i[0].length-o.length)+a);if(Math.min(l,a)%2){const m=h.slice(1,-1);return{type:"em",raw:h,text:m,tokens:this.lexer.inlineTokens(m)}}const d=h.slice(2,-2);return{type:"strong",raw:h,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const i=/[^ ]/.test(n),s=/^ /.test(n)&&/ $/.test(n);return i&&s&&(n=n.substring(1,n.length-1)),n=at(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let i,s;return n[2]==="@"?(i=at(this.options.mangle?t(n[1]):n[1]),s="mailto:"+i):(i=at(n[1]),s=i),{type:"link",raw:n[0],text:i,href:s,tokens:[{type:"text",raw:i,text:i}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let i,s;if(n[2]==="@")i=at(this.options.mangle?t(n[0]):n[0]),s="mailto:"+i;else{let l;do l=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(l!==n[0]);i=at(n[0]),n[1]==="www."?s="http://"+n[0]:s=n[0]}return{type:"link",raw:n[0],text:i,href:s,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let i;return this.lexer.state.inRawBlock?i=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):at(n[0]):n[0]:i=at(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:i}}}}const Ae={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:si,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Ae._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Ae._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Ae.def=Qe(Ae.def).replace("label",Ae._label).replace("title",Ae._title).getRegex();Ae.bullet=/(?:[*+-]|\d{1,9}[.)])/;Ae.listItemStart=Qe(/^( *)(bull) */).replace("bull",Ae.bullet).getRegex();Ae.list=Qe(Ae.list).replace(/bull/g,Ae.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ae.def.source+")").getRegex();Ae._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Ae._comment=/|$)/;Ae.html=Qe(Ae.html,"i").replace("comment",Ae._comment).replace("tag",Ae._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Ae.paragraph=Qe(Ae._paragraph).replace("hr",Ae.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ae._tag).getRegex();Ae.blockquote=Qe(Ae.blockquote).replace("paragraph",Ae.paragraph).getRegex();Ae.normal={...Ae};Ae.gfm={...Ae.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};Ae.gfm.table=Qe(Ae.gfm.table).replace("hr",Ae.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ae._tag).getRegex();Ae.gfm.paragraph=Qe(Ae._paragraph).replace("hr",Ae.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ae.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ae._tag).getRegex();Ae.pedantic={...Ae.normal,html:Qe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ae._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:si,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Qe(Ae.normal._paragraph).replace("hr",Ae.hr).replace("heading",` *#{1,6} *[^
+]`).replace("lheading",Ae.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const be={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:si,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:si,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";be.punctuation=Qe(be.punctuation).replace(/punctuation/g,be._punctuation).getRegex();be.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;be.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;be._comment=Qe(Ae._comment).replace("(?:-->|$)","-->").getRegex();be.emStrong.lDelim=Qe(be.emStrong.lDelim).replace(/punct/g,be._punctuation).getRegex();be.emStrong.rDelimAst=Qe(be.emStrong.rDelimAst,"g").replace(/punct/g,be._punctuation).getRegex();be.emStrong.rDelimUnd=Qe(be.emStrong.rDelimUnd,"g").replace(/punct/g,be._punctuation).getRegex();be._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;be._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;be._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;be.autolink=Qe(be.autolink).replace("scheme",be._scheme).replace("email",be._email).getRegex();be._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;be.tag=Qe(be.tag).replace("comment",be._comment).replace("attribute",be._attribute).getRegex();be._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;be._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;be._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;be.link=Qe(be.link).replace("label",be._label).replace("href",be._href).replace("title",be._title).getRegex();be.reflink=Qe(be.reflink).replace("label",be._label).replace("ref",Ae._label).getRegex();be.nolink=Qe(be.nolink).replace("ref",Ae._label).getRegex();be.reflinkSearch=Qe(be.reflinkSearch,"g").replace("reflink",be.reflink).replace("nolink",be.nolink).getRegex();be.normal={...be};be.pedantic={...be.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Qe(/^!?\[(label)\]\((.*?)\)/).replace("label",be._label).getRegex(),reflink:Qe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",be._label).getRegex()};be.gfm={...be.normal,escape:Qe(be.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),e+=""+n+";";return e}class Ut{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||En,this.options.tokenizer=this.options.tokenizer||new gs,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:Ae.normal,inline:be.normal};this.options.pedantic?(t.block=Ae.pedantic,t.inline=be.pedantic):this.options.gfm&&(t.block=Ae.gfm,this.options.breaks?t.inline=be.breaks:t.inline=be.gfm),this.tokenizer.rules=t}static get rules(){return{block:Ae,inline:be}}static lex(e,t){return new Ut(t).lex(e)}static lexInline(e,t){return new Ut(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
+`),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(o,a,u)=>a+" ".repeat(u.length));let n,i,s,l;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(n=o.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=`
+`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
+`+n.raw,i.text+=`
+`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
+`+n.raw,i.text+=`
+`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(s=e,this.options.extensions&&this.options.extensions.startBlock){let o=1/0;const a=e.slice(1);let u;this.options.extensions.startBlock.forEach(function(f){u=f.call({lexer:this},a),typeof u=="number"&&u>=0&&(o=Math.min(o,u))}),o<1/0&&o>=0&&(s=e.substring(0,o+1))}if(this.state.top&&(n=this.tokenizer.paragraph(s))){i=t[t.length-1],l&&i.type==="paragraph"?(i.raw+=`
+`+n.raw,i.text+=`
+`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n),l=s.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&i.type==="text"?(i.raw+=`
+`+n.raw,i.text+=`
+`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):t.push(n);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,i,s,l=e,o,a,u;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)f.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+df("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,o.index)+"["+df("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.escapedEmSt.exec(l))!=null;)l=l.slice(0,o.index+o[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(a||(u=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>(n=f.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),i=t[t.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),i=t[t.length-1],i&&n.type==="text"&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,l,u)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e,mf)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,mf))){e=e.substring(n.raw.length),t.push(n);continue}if(s=e,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const c=e.slice(1);let h;this.options.extensions.startInline.forEach(function(d){h=d.call({lexer:this},c),typeof h=="number"&&h>=0&&(f=Math.min(f,h))}),f<1/0&&f>=0&&(s=e.substring(0,f+1))}if(n=this.tokenizer.inlineText(s,K2)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(u=n.raw.slice(-1)),a=!0,i=t[t.length-1],i&&i.type==="text"?(i.raw+=n.raw,i.text+=n.text):t.push(n);continue}if(e){const f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return t}}class bs{constructor(e){this.options=e||En}code(e,t,n){const i=(t||"").match(/\S*/)[0];if(this.options.highlight){const s=this.options.highlight(e,i);s!=null&&s!==e&&(n=!0,e=s)}return e=e.replace(/\n$/,"")+`
+`,i?''+(n?e:at(e,!0))+`
+`:""+(n?e:at(e,!0))+`
+`}blockquote(e){return`
+${e}
+`}html(e){return e}heading(e,t,n,i){if(this.options.headerIds){const s=this.options.headerPrefix+i.slug(n);return`${e}
+`}return`${e}
+`}hr(){return this.options.xhtml?`
+`:`
+`}list(e,t,n){const i=t?"ol":"ul",s=t&&n!==1?' start="'+n+'"':"";return"<"+i+s+`>
+`+e+""+i+`>
+`}listitem(e){return`${e}
+`}checkbox(e){return" "}paragraph(e){return` ${e}
+`}table(e,t){return t&&(t=`${t} `),`
+`}tablerow(e){return`
+${e}
+`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`${n}>
+`}strong(e){return`${e} `}em(e){return`${e} `}codespan(e){return`${e}
`}br(){return this.options.xhtml?" ":" "}del(e){return`${e}`}link(e,t,n){if(e=ff(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let i='"+n+" ",i}image(e,t,n){if(e=ff(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let i=` ":">",i}text(e){return e}}class Kd{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class _s{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do i++,n=e+"-"+i;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}let gr=class Rl{constructor(e){this.options=e||En,this.options.renderer=this.options.renderer||new bs,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Kd,this.slugger=new _s}static parse(e,t){return new Rl(t).parse(e)}static parseInline(e,t){return new Rl(t).parseInline(e)}parse(e,t=!0){let n="",i,s,l,o,a,u,f,c,h,d,m,p,v,k,O,E,S,C,T;const D=e.length;for(i=0;i0&&O.tokens[0].type==="paragraph"?(O.tokens[0].text=C+" "+O.tokens[0].text,O.tokens[0].tokens&&O.tokens[0].tokens.length>0&&O.tokens[0].tokens[0].type==="text"&&(O.tokens[0].tokens[0].text=C+" "+O.tokens[0].tokens[0].text)):O.tokens.unshift({type:"text",text:C}):k+=C),k+=this.parse(O.tokens,v),h+=this.renderer.listitem(k,S,E);n+=this.renderer.list(h,m,p);continue}case"html":{n+=this.renderer.html(d.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(d.tokens));continue}case"text":{for(h=d.tokens?this.parseInline(d.tokens):d.text;i+1{if(n.message+=`
+Please report this to https://github.com/markedjs/marked.`,r){const i="An error occurred:
"+at(n.message+"",!0)+" ";if(e)return Promise.resolve(i);if(t){t(null,i);return}return i}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function Zd(r,e){return(t,n,i)=>{typeof n=="function"&&(i=n,n=null);const s={...n};n={...Ce.defaults,...s};const l=Z2(n.silent,n.async,i);if(typeof t>"u"||t===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(W2(n),n.hooks&&(n.hooks.options=n),i){const o=n.highlight;let a;try{n.hooks&&(t=n.hooks.preprocess(t)),a=r(t,n)}catch(c){return l(c)}const u=function(c){let h;if(!c)try{n.walkTokens&&Ce.walkTokens(a,n.walkTokens),h=e(a,n),n.hooks&&(h=n.hooks.postprocess(h))}catch(d){c=d}return n.highlight=o,c?l(c):i(null,h)};if(!o||o.length<3||(delete n.highlight,!a.length))return u();let f=0;Ce.walkTokens(a,function(c){c.type==="code"&&(f++,setTimeout(()=>{o(c.text,c.lang,function(h,d){if(h)return u(h);d!=null&&d!==c.text&&(c.text=d,c.escaped=!0),f--,f===0&&u()})},0))}),f===0&&u();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(o=>r(o,n)).then(o=>n.walkTokens?Promise.all(Ce.walkTokens(o,n.walkTokens)).then(()=>o):o).then(o=>e(o,n)).then(o=>n.hooks?n.hooks.postprocess(o):o).catch(l);try{n.hooks&&(t=n.hooks.preprocess(t));const o=r(t,n);n.walkTokens&&Ce.walkTokens(o,n.walkTokens);let a=e(o,n);return n.hooks&&(a=n.hooks.postprocess(a)),a}catch(o){return l(o)}}}function Ce(r,e,t){return Zd(Ut.lex,gr.parse)(r,e,t)}Ce.options=Ce.setOptions=function(r){return Ce.defaults={...Ce.defaults,...r},D2(Ce.defaults),Ce};Ce.getDefaults=Hd;Ce.defaults=En;Ce.use=function(...r){const e=Ce.defaults.extensions||{renderers:{},childTokens:{}};r.forEach(t=>{const n={...t};if(n.async=Ce.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if(i.renderer){const s=e.renderers[i.name];s?e.renderers[i.name]=function(...l){let o=i.renderer.apply(this,l);return o===!1&&(o=s.apply(this,l)),o}:e.renderers[i.name]=i.renderer}if(i.tokenizer){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[i.level]?e[i.level].unshift(i.tokenizer):e[i.level]=[i.tokenizer],i.start&&(i.level==="block"?e.startBlock?e.startBlock.push(i.start):e.startBlock=[i.start]:i.level==="inline"&&(e.startInline?e.startInline.push(i.start):e.startInline=[i.start]))}i.childTokens&&(e.childTokens[i.name]=i.childTokens)}),n.extensions=e),t.renderer){const i=Ce.defaults.renderer||new bs;for(const s in t.renderer){const l=i[s];i[s]=(...o)=>{let a=t.renderer[s].apply(i,o);return a===!1&&(a=l.apply(i,o)),a}}n.renderer=i}if(t.tokenizer){const i=Ce.defaults.tokenizer||new gs;for(const s in t.tokenizer){const l=i[s];i[s]=(...o)=>{let a=t.tokenizer[s].apply(i,o);return a===!1&&(a=l.apply(i,o)),a}}n.tokenizer=i}if(t.hooks){const i=Ce.defaults.hooks||new oi;for(const s in t.hooks){const l=i[s];oi.passThroughHooks.has(s)?i[s]=o=>{if(Ce.defaults.async)return Promise.resolve(t.hooks[s].call(i,o)).then(u=>l.call(i,u));const a=t.hooks[s].call(i,o);return l.call(i,a)}:i[s]=(...o)=>{let a=t.hooks[s].apply(i,o);return a===!1&&(a=l.apply(i,o)),a}}n.hooks=i}if(t.walkTokens){const i=Ce.defaults.walkTokens;n.walkTokens=function(s){let l=[];return l.push(t.walkTokens.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}Ce.setOptions(n)})};Ce.walkTokens=function(r,e){let t=[];for(const n of r)switch(t=t.concat(e.call(Ce,n)),n.type){case"table":{for(const i of n.header)t=t.concat(Ce.walkTokens(i.tokens,e));for(const i of n.rows)for(const s of i)t=t.concat(Ce.walkTokens(s.tokens,e));break}case"list":{t=t.concat(Ce.walkTokens(n.items,e));break}default:Ce.defaults.extensions&&Ce.defaults.extensions.childTokens&&Ce.defaults.extensions.childTokens[n.type]?Ce.defaults.extensions.childTokens[n.type].forEach(function(i){t=t.concat(Ce.walkTokens(n[i],e))}):n.tokens&&(t=t.concat(Ce.walkTokens(n.tokens,e)))}return t};Ce.parseInline=Zd(Ut.lexInline,gr.parseInline);Ce.Parser=gr;Ce.parser=gr.parse;Ce.Renderer=bs;Ce.TextRenderer=Kd;Ce.Lexer=Ut;Ce.lexer=Ut.lex;Ce.Tokenizer=gs;Ce.Slugger=_s;Ce.Hooks=oi;Ce.parse=Ce;Ce.options;Ce.setOptions;Ce.use;Ce.walkTokens;Ce.parseInline;gr.parse;Ut.lex;const Jd={};function J2(r){let e;return{c(){e=ce(r[1])},l(t){e=de(t,r[1])},m(t,n){P(t,e,n)},p(t,n){n&2&&ve(e,t[1])},i:ie,o:ie,d(t){t&&g(e)}}}function Y2(r){let e,t;const n=r[5].default,i=Ie(n,r,r[4],null);return{c(){e=j("h6"),i&&i.c(),this.h()},l(s){e=L(s,"H6",{id:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"id",r[2])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&16)&&Re(i,n,s,s[4],t?Me(n,s[4],l,null):De(s[4]),null),(!t||l&4)&&A(e,"id",s[2])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function X2(r){let e,t;const n=r[5].default,i=Ie(n,r,r[4],null);return{c(){e=j("h5"),i&&i.c(),this.h()},l(s){e=L(s,"H5",{id:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"id",r[2])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&16)&&Re(i,n,s,s[4],t?Me(n,s[4],l,null):De(s[4]),null),(!t||l&4)&&A(e,"id",s[2])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function x2(r){let e,t;const n=r[5].default,i=Ie(n,r,r[4],null);return{c(){e=j("h4"),i&&i.c(),this.h()},l(s){e=L(s,"H4",{id:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"id",r[2])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&16)&&Re(i,n,s,s[4],t?Me(n,s[4],l,null):De(s[4]),null),(!t||l&4)&&A(e,"id",s[2])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function $2(r){let e,t;const n=r[5].default,i=Ie(n,r,r[4],null);return{c(){e=j("h3"),i&&i.c(),this.h()},l(s){e=L(s,"H3",{id:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"id",r[2])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&16)&&Re(i,n,s,s[4],t?Me(n,s[4],l,null):De(s[4]),null),(!t||l&4)&&A(e,"id",s[2])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function ek(r){let e,t;const n=r[5].default,i=Ie(n,r,r[4],null);return{c(){e=j("h2"),i&&i.c(),this.h()},l(s){e=L(s,"H2",{id:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"id",r[2])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&16)&&Re(i,n,s,s[4],t?Me(n,s[4],l,null):De(s[4]),null),(!t||l&4)&&A(e,"id",s[2])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function tk(r){let e,t;const n=r[5].default,i=Ie(n,r,r[4],null);return{c(){e=j("h1"),i&&i.c(),this.h()},l(s){e=L(s,"H1",{id:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"id",r[2])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&16)&&Re(i,n,s,s[4],t?Me(n,s[4],l,null):De(s[4]),null),(!t||l&4)&&A(e,"id",s[2])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function nk(r){let e,t,n,i;const s=[tk,ek,$2,x2,X2,Y2,J2],l=[];function o(a,u){return a[0]===1?0:a[0]===2?1:a[0]===3?2:a[0]===4?3:a[0]===5?4:a[0]===6?5:6}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function rk(r,e,t){let n,{$$slots:i={},$$scope:s}=e,{depth:l}=e,{raw:o}=e,{text:a}=e;const{slug:u,getOptions:f}=kt(Jd),c=f();return r.$$set=h=>{"depth"in h&&t(0,l=h.depth),"raw"in h&&t(1,o=h.raw),"text"in h&&t(3,a=h.text),"$$scope"in h&&t(4,s=h.$$scope)},r.$$.update=()=>{r.$$.dirty&8&&t(2,n=c.headerIds?c.headerPrefix+u(a):void 0)},[l,o,n,a,s,i]}class ik extends me{constructor(e){super(),pe(this,e,rk,nk,he,{depth:0,raw:1,text:3})}}function lk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("p"),i&&i.c()},l(s){e=L(s,"P",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function sk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class ok extends me{constructor(e){super(),pe(this,e,sk,lk,he,{})}}function ak(r){let e;const t=r[3].default,n=Ie(t,r,r[2],null);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,s){n&&n.m(i,s),e=!0},p(i,[s]){n&&n.p&&(!e||s&4)&&Re(n,t,i,i[2],e?Me(t,i[2],s,null):De(i[2]),null)},i(i){e||(_(n,i),e=!0)},o(i){y(n,i),e=!1},d(i){n&&n.d(i)}}}function uk(r,e,t){let{$$slots:n={},$$scope:i}=e,{text:s}=e,{raw:l}=e;return r.$$set=o=>{"text"in o&&t(0,s=o.text),"raw"in o&&t(1,l=o.raw),"$$scope"in o&&t(2,i=o.$$scope)},[s,l,i,n]}class fk extends me{constructor(e){super(),pe(this,e,uk,ak,he,{text:0,raw:1})}}function ck(r){let e,t;return{c(){e=j("img"),this.h()},l(n){e=L(n,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){Ls(e.src,t=r[0])||A(e,"src",t),A(e,"title",r[1]),A(e,"alt",r[2])},m(n,i){P(n,e,i)},p(n,[i]){i&1&&!Ls(e.src,t=n[0])&&A(e,"src",t),i&2&&A(e,"title",n[1]),i&4&&A(e,"alt",n[2])},i:ie,o:ie,d(n){n&&g(e)}}}function dk(r,e,t){let{href:n=""}=e,{title:i=void 0}=e,{text:s=""}=e;return r.$$set=l=>{"href"in l&&t(0,n=l.href),"title"in l&&t(1,i=l.title),"text"in l&&t(2,s=l.text)},[n,i,s]}class hk extends me{constructor(e){super(),pe(this,e,dk,ck,he,{href:0,title:1,text:2})}}function mk(r){let e,t;const n=r[3].default,i=Ie(n,r,r[2],null);return{c(){e=j("a"),i&&i.c(),this.h()},l(s){e=L(s,"A",{href:!0,title:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"href",r[0]),A(e,"title",r[1])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&4)&&Re(i,n,s,s[2],t?Me(n,s[2],l,null):De(s[2]),null),(!t||l&1)&&A(e,"href",s[0]),(!t||l&2)&&A(e,"title",s[1])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function pk(r,e,t){let{$$slots:n={},$$scope:i}=e,{href:s=""}=e,{title:l=void 0}=e;return r.$$set=o=>{"href"in o&&t(0,s=o.href),"title"in o&&t(1,l=o.title),"$$scope"in o&&t(2,i=o.$$scope)},[s,l,i,n]}class gk extends me{constructor(e){super(),pe(this,e,pk,mk,he,{href:0,title:1})}}function bk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("em"),i&&i.c()},l(s){e=L(s,"EM",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function _k(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class vk extends me{constructor(e){super(),pe(this,e,_k,bk,he,{})}}function yk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("del"),i&&i.c()},l(s){e=L(s,"DEL",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function kk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class Ek extends me{constructor(e){super(),pe(this,e,kk,yk,he,{})}}function Sk(r){let e,t=r[0].replace(/`/g,"")+"",n;return{c(){e=j("code"),n=ce(t)},l(i){e=L(i,"CODE",{});var s=R(e);n=de(s,t),s.forEach(g)},m(i,s){P(i,e,s),I(e,n)},p(i,[s]){s&1&&t!==(t=i[0].replace(/`/g,"")+"")&&ve(n,t)},i:ie,o:ie,d(i){i&&g(e)}}}function Ok(r,e,t){let{raw:n}=e;return r.$$set=i=>{"raw"in i&&t(0,n=i.raw)},[n]}class wk extends me{constructor(e){super(),pe(this,e,Ok,Sk,he,{raw:0})}}function Ak(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("strong"),i&&i.c()},l(s){e=L(s,"STRONG",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Tk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class Pk extends me{constructor(e){super(),pe(this,e,Tk,Ak,he,{})}}function Ck(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("table"),i&&i.c()},l(s){e=L(s,"TABLE",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Ik(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class Rk extends me{constructor(e){super(),pe(this,e,Ik,Ck,he,{})}}function Dk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("thead"),i&&i.c()},l(s){e=L(s,"THEAD",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Mk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class Nk extends me{constructor(e){super(),pe(this,e,Mk,Dk,he,{})}}function jk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("tbody"),i&&i.c()},l(s){e=L(s,"TBODY",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Lk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class qk extends me{constructor(e){super(),pe(this,e,Lk,jk,he,{})}}function Bk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("tr"),i&&i.c()},l(s){e=L(s,"TR",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Fk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class zk extends me{constructor(e){super(),pe(this,e,Fk,Bk,he,{})}}function Vk(r){let e,t;const n=r[3].default,i=Ie(n,r,r[2],null);return{c(){e=j("td"),i&&i.c(),this.h()},l(s){e=L(s,"TD",{align:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"align",r[1])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&4)&&Re(i,n,s,s[2],t?Me(n,s[2],l,null):De(s[2]),null),(!t||l&2)&&A(e,"align",s[1])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Uk(r){let e,t;const n=r[3].default,i=Ie(n,r,r[2],null);return{c(){e=j("th"),i&&i.c(),this.h()},l(s){e=L(s,"TH",{align:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"align",r[1])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&4)&&Re(i,n,s,s[2],t?Me(n,s[2],l,null):De(s[2]),null),(!t||l&2)&&A(e,"align",s[1])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Hk(r){let e,t,n,i;const s=[Uk,Vk],l=[];function o(a,u){return a[0]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function Qk(r,e,t){let{$$slots:n={},$$scope:i}=e,{header:s}=e,{align:l}=e;return r.$$set=o=>{"header"in o&&t(0,s=o.header),"align"in o&&t(1,l=o.align),"$$scope"in o&&t(2,i=o.$$scope)},[s,l,i,n]}class Wk extends me{constructor(e){super(),pe(this,e,Qk,Hk,he,{header:0,align:1})}}function Gk(r){let e,t;const n=r[3].default,i=Ie(n,r,r[2],null);return{c(){e=j("ul"),i&&i.c()},l(s){e=L(s,"UL",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&4)&&Re(i,n,s,s[2],t?Me(n,s[2],l,null):De(s[2]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Kk(r){let e,t;const n=r[3].default,i=Ie(n,r,r[2],null);return{c(){e=j("ol"),i&&i.c(),this.h()},l(s){e=L(s,"OL",{start:!0});var l=R(e);i&&i.l(l),l.forEach(g),this.h()},h(){A(e,"start",r[1])},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,l){i&&i.p&&(!t||l&4)&&Re(i,n,s,s[2],t?Me(n,s[2],l,null):De(s[2]),null),(!t||l&2)&&A(e,"start",s[1])},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function Zk(r){let e,t,n,i;const s=[Kk,Gk],l=[];function o(a,u){return a[0]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function Jk(r,e,t){let{$$slots:n={},$$scope:i}=e,{ordered:s}=e,{start:l}=e;return r.$$set=o=>{"ordered"in o&&t(0,s=o.ordered),"start"in o&&t(1,l=o.start),"$$scope"in o&&t(2,i=o.$$scope)},[s,l,i,n]}class Yk extends me{constructor(e){super(),pe(this,e,Jk,Zk,he,{ordered:0,start:1})}}function Xk(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("li"),i&&i.c()},l(s){e=L(s,"LI",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function xk(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class $k extends me{constructor(e){super(),pe(this,e,xk,Xk,he,{})}}function eE(r){let e;return{c(){e=j("hr")},l(t){e=L(t,"HR",{})},m(t,n){P(t,e,n)},p:ie,i:ie,o:ie,d(t){t&&g(e)}}}class tE extends me{constructor(e){super(),pe(this,e,null,eE,he,{})}}function nE(r){let e,t;return{c(){e=new Sh(!1),t=G(),this.h()},l(n){e=Oh(n,!1),t=G(),this.h()},h(){e.a=t},m(n,i){e.m(r[0],n,i),P(n,t,i)},p(n,[i]){i&1&&e.p(n[0])},i:ie,o:ie,d(n){n&&g(t),n&&e.d()}}}function rE(r,e,t){let{text:n}=e;return r.$$set=i=>{"text"in i&&t(0,n=i.text)},[n]}class iE extends me{constructor(e){super(),pe(this,e,rE,nE,he,{text:0})}}function lE(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("blockquote"),i&&i.c()},l(s){e=L(s,"BLOCKQUOTE",{});var l=R(e);i&&i.l(l),l.forEach(g)},m(s,l){P(s,e,l),i&&i.m(e,null),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function sE(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class oE extends me{constructor(e){super(),pe(this,e,sE,lE,he,{})}}function aE(r){let e,t,n;return{c(){e=j("pre"),t=j("code"),n=ce(r[1]),this.h()},l(i){e=L(i,"PRE",{class:!0});var s=R(e);t=L(s,"CODE",{});var l=R(t);n=de(l,r[1]),l.forEach(g),s.forEach(g),this.h()},h(){A(e,"class",r[0])},m(i,s){P(i,e,s),I(e,t),I(t,n)},p(i,[s]){s&2&&ve(n,i[1]),s&1&&A(e,"class",i[0])},i:ie,o:ie,d(i){i&&g(e)}}}function uE(r,e,t){let{lang:n}=e,{text:i}=e;return r.$$set=s=>{"lang"in s&&t(0,n=s.lang),"text"in s&&t(1,i=s.text)},[n,i]}class fE extends me{constructor(e){super(),pe(this,e,uE,aE,he,{lang:0,text:1})}}function cE(r){let e,t;const n=r[1].default,i=Ie(n,r,r[0],null);return{c(){e=j("br"),i&&i.c()},l(s){e=L(s,"BR",{}),i&&i.l(s)},m(s,l){P(s,e,l),i&&i.m(s,l),t=!0},p(s,[l]){i&&i.p&&(!t||l&1)&&Re(i,n,s,s[0],t?Me(n,s[0],l,null):De(s[0]),null)},i(s){t||(_(i,s),t=!0)},o(s){y(i,s),t=!1},d(s){s&&g(e),i&&i.d(s)}}}function dE(r,e,t){let{$$slots:n={},$$scope:i}=e;return r.$$set=s=>{"$$scope"in s&&t(0,i=s.$$scope)},[i,n]}class hE extends me{constructor(e){super(),pe(this,e,dE,cE,he,{})}}const mE={heading:ik,paragraph:ok,text:fk,image:hk,link:gk,em:vk,strong:Pk,codespan:wk,del:Ek,table:Rk,tablehead:Nk,tablebody:qk,tablerow:zk,tablecell:Wk,list:Yk,orderedlistitem:null,unorderedlistitem:null,listitem:$k,hr:tE,html:iE,blockquote:oE,code:fE,br:hE},pE={baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,xhtml:!1};function gE(r){let e,t;return e=new kn({props:{tokens:r[0],renderers:r[1]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,[i]){const s={};i&1&&(s.tokens=n[0]),i&2&&(s.renderers=n[1]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function bE(r,e,t){let n,i,s,l,{source:o=[]}=e,{renderers:a={}}=e,{options:u={}}=e,{isInline:f=!1}=e;const c=ct();let h,d,m;return sn(Jd,{slug:p=>i?i.slug(p):"",getOptions:()=>s}),ln(()=>{t(7,m=!0)}),r.$$set=p=>{"source"in p&&t(2,o=p.source),"renderers"in p&&t(3,a=p.renderers),"options"in p&&t(4,u=p.options),"isInline"in p&&t(5,f=p.isInline)},r.$$.update=()=>{r.$$.dirty&4&&t(8,n=Array.isArray(o)),r.$$.dirty&4&&(i=o?new _s:void 0),r.$$.dirty&16&&t(9,s={...pE,...u}),r.$$.dirty&869&&(n?t(0,h=o):(t(6,d=new Ut(s)),t(0,h=f?d.inlineTokens(o):d.lex(o)),c("parsed",{tokens:h}))),r.$$.dirty&8&&t(1,l={...mE,...a}),r.$$.dirty&385&&m&&!n&&c("parsed",{tokens:h})},[h,l,o,a,u,f,d,m,n,s]}class Yd extends me{constructor(e){super(),pe(this,e,bE,gE,he,{source:2,renderers:3,options:4,isInline:5})}}const _E={AdditionalItemsError:"Array at `{{pointer}}` may not have an additional item `{{key}}`",AdditionalPropertiesError:"Additional property `{{property}}` on `{{pointer}}` does not match schema `{{schema}}`",AllOfError:"Value `{{value}}` at `{{pointer}}` does not match schema of `{{allOf}}`",AnyOfError:"Value `{{value}}` at `{{pointer}}` does not match any schema of `{{anyOf}}`",ConstError:"Expected value at `{{pointer}}` to be `{{expected}}`, but value given is `{{value}}`",containsAnyError:"The array at `{{pointer}}` must contain at least one item",ContainsArrayError:"The property at `{{pointer}}` must not be an array",ContainsError:"The array at `{{pointer}}` must contain an element that matches `{{schema}}`",EnumError:"Expected given value `{{value}}` in `{{pointer}}` to be one of `{{values}}`",FormatDateError:"Value `{{value}}` at `{{pointer}}` is not a valid date",FormatDateTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid date-time",FormatEmailError:"Value `{{value}}` at `{{pointer}}` is not a valid email",FormatHostnameError:"Value `{{value}}` at `{{pointer}}` is not a valid hostname",FormatIPV4Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv4 address",FormatIPV4LeadingZeroError:"IPv4 addresses starting with zero are invalid, since they are interpreted as octals",FormatIPV6Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv6 address",FormatIPV6LeadingZeroError:"IPv6 addresses starting with zero are invalid, since they are interpreted as octals",FormatJSONPointerError:"Value `{{value}}` at `{{pointer}}` is not a valid json-pointer",FormatRegExError:"Value `{{value}}` at `{{pointer}}` is not a valid regular expression",FormatTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid time",FormatURIError:"Value `{{value}}` at `{{pointer}}` is not a valid uri",FormatURIReferenceError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-reference",FormatURITemplateError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-template",FormatURLError:"Value `{{value}}` at `{{pointer}}` is not a valid url",InvalidDataError:"No value may be specified in `{{pointer}}`",InvalidPropertyNameError:"Invalid property name `{{property}}` at `{{pointer}}`",MaximumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{maximum}}` at maximum",MaxItemsError:"Too many items in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MaxLengthError:"Value `{{pointer}}` should have a maximum length of `{{maxLength}}`, but got `{{length}}`.",MaxPropertiesError:"Too many properties in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MinimumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{minimum}}` at minimum",MinItemsError:"Too few items in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`",MinItemsOneError:"At least one item is required in `{{pointer}}`",MinLengthError:"Value `{{pointer}}` should have a minimum length of `{{minLength}}`, but got `{{length}}`.",MinLengthOneError:"A value is required in `{{pointer}}`",MinPropertiesError:"Too few properties in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`",MissingDependencyError:"The required propery '{{missingProperty}}' in `{{pointer}}` is missing",MissingOneOfPropertyError:"Value at `{{pointer}}` property: `{{property}}`",MultipleOfError:"Expected `{{value}}` in `{{pointer}}` to be multiple of `{{multipleOf}}`",MultipleOneOfError:"Value `{{value}}` should not match multiple schemas in oneOf `{{matches}}`",NoAdditionalPropertiesError:"Additional property `{{property}}` in `{{pointer}}` is not allowed",NotError:"Value `{{value}}` at pointer should not match schema `{{not}}`",OneOfError:"Value `{{value}}` in `{{pointer}}` does not match any given oneof schema",OneOfPropertyError:"Failed finding a matching oneOfProperty schema in `{{pointer}}` where `{{property}}` matches `{{value}}`",PatternError:"Value in `{{pointer}}` should match `{{description}}`, but received `{{received}}`",PatternPropertiesError:"Property `{{key}}` does not match any patterns in `{{pointer}}`. Valid patterns are: {{patterns}}",RequiredPropertyError:"The required property `{{key}}` is missing at `{{pointer}}`",TypeError:"Expected `{{value}}` ({{received}}) in `{{pointer}}` to be of type `{{expected}}`",UndefinedValueError:"Value must not be undefined in `{{pointer}}`",UniqueItemsError:"Expected unique items in {{pointer}}: duplicate value `{{value}}` found at {{itemPointer}} and {{duplicatePointer}}",UnknownPropertyError:"Could not find a valid schema for property `{{pointer}}` within object",ValueNotEmptyError:"A value for `{{property}}` is required at `{{pointer}}`"};function vE(r,e={}){return r.replace(/\{\{\w+\}\}/g,t=>e[t.replace(/[{}]/g,"")])}function yE(r,e,t=r){const n=_E[r]||t;return vE(n,e)}function kE(r){return r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function EE(r,e){return{type:"error",name:r,code:kE(r),message:yE(r,e),data:e}}function Oe(r){return EE.bind(null,r)}const SE=Object.prototype.toString;function ze(r){const e=SE.call(r).match(/\s([^\]]+)\]/).pop().toLowerCase();return e==="file"?"object":e}function st(r){return(r==null?void 0:r.type)==="error"}function OE(r){return r instanceof Promise}function ai(r){return st(r)||OE(r)}function ir(r,e=[]){for(let t=0;t0)l.push(...h);else return f}return r.errors.oneOfPropertyError({property:o,value:a,pointer:n,errors:l})}const i=[],s=[];for(let l=0;l0?s.push(...a):i.push(o)}return i.length===1?i[0]:i.length>1?r.errors.multipleOneOfError({value:e,pointer:n,matches:i}):r.errors.oneOfError({value:JSON.stringify(e),pointer:n,oneOf:t.oneOf,errors:s})}const vs=r=>JSON.parse(JSON.stringify(r));var AE=function(e){return TE(e)&&!PE(e)};function TE(r){return!!r&&typeof r=="object"}function PE(r){var e=Object.prototype.toString.call(r);return e==="[object RegExp]"||e==="[object Date]"||RE(r)}var CE=typeof Symbol=="function"&&Symbol.for,IE=CE?Symbol.for("react.element"):60103;function RE(r){return r.$$typeof===IE}function DE(r){return Array.isArray(r)?[]:{}}function lr(r,e){return e.clone!==!1&&e.isMergeableObject(r)?Fn(DE(r),r,e):r}function ME(r,e,t){return r.concat(e).map(function(n){return lr(n,t)})}function NE(r,e){if(!e.customMerge)return Fn;var t=e.customMerge(r);return typeof t=="function"?t:Fn}function jE(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return Object.propertyIsEnumerable.call(r,e)}):[]}function pf(r){return Object.keys(r).concat(jE(r))}function Xd(r,e){try{return e in r}catch{return!1}}function LE(r,e){return Xd(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function qE(r,e,t){var n={};return t.isMergeableObject(r)&&pf(r).forEach(function(i){n[i]=lr(r[i],t)}),pf(e).forEach(function(i){LE(r,i)||(Xd(r,i)&&t.isMergeableObject(e[i])?n[i]=NE(i,t)(r[i],e[i],t):n[i]=lr(e[i],t))}),n}function Fn(r,e,t){t=t||{},t.arrayMerge=t.arrayMerge||ME,t.isMergeableObject=t.isMergeableObject||AE,t.cloneUnlessOtherwiseSpecified=lr;var n=Array.isArray(e),i=Array.isArray(r),s=n===i;return s?n?t.arrayMerge(r,e,t):qE(r,e,t):lr(e,t)}Fn.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return Fn(n,i,t)},{})};var BE=Fn,FE=BE;const xd=dr(FE),zE=(r,e)=>e,sr=(r,e)=>xd(r,e,{arrayMerge:zE}),VE=(r,e)=>{const t=r.concat(e);return t.filter((n,i)=>t.indexOf(n)===i)},UE=(r,e)=>xd(r,e,{arrayMerge:VE});function Dl(r,e,t){var n;const i={...(n=r.resolveRef(e))!==null&&n!==void 0?n:{}};if(i.if&&(i.then||i.else)){const s=r.isValid(t,i.if);if(s&&i.then)return Dl(r,i.then,t);if(!s&&i.else)return Dl(r,i.else,t);delete i.if,delete i.then,delete i.else}return i}function HE(r,e,t=r.rootSchema,n="#"){let i=vs(t);for(let s=0;s0)s.push(...c);else return u}return r.errors.oneOfPropertyError({property:l,value:o,pointer:n,errors:s})}const i=[];for(let s=0;s1?r.errors.multipleOneOfError({matches:i,data:e,pointer:n}):r.errors.oneOfError({value:JSON.stringify(e),pointer:n,oneOf:t.oneOf})}function WE(r,e){return r==null||r.$ref==null?r:r.getRoot?r.getRoot().getRef(r):e.getRef(r)}function GE(r,e){if(r==null||r.$ref==null)return r;const t=e.getRef(r),n=Object.assign({},t,r);return delete n.$ref,Object.defineProperty(n,"__ref",{enumerable:!1,value:r.__ref}),Object.defineProperty(n,"getRoot",{enumerable:!1,value:r.getRoot}),n}var $d={exports:{}};(function(r,e){(function(t,n){r.exports=n()})(typeof self<"u"?self:_i,()=>(()=>{var t={d:(N,Y)=>{for(var V in Y)t.o(Y,V)&&!t.o(N,V)&&Object.defineProperty(N,V,{enumerable:!0,get:Y[V]})},o:(N,Y)=>Object.prototype.hasOwnProperty.call(N,Y),r:N=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})}},n={};function i(N){return N==="#"||N===""||Array.isArray(N)&&N.length===0||!1}t.r(n),t.d(n,{default:()=>q,get:()=>h,isRoot:()=>i,join:()=>M,remove:()=>C,removeUndefinedItems:()=>S,set:()=>k,split:()=>c,splitLast:()=>F});const s=/~1/g,l=/~0/g,o=/\/+/g,a=/(^[#/]*|\/+$)/g;function u(N){return N.replace(s,"/").replace(l,"~")}function f(N){return u(decodeURIComponent(N))}function c(N){if(N==null||typeof N!="string"||i(N))return Array.isArray(N)?N:[];const Y=N.indexOf("#")>=0?f:u,V=(N=(N=N.replace(o,"/")).replace(a,"")).split("/");for(let K=0,oe=V.length;K0&&Y[0]=="prototype"}function k(N,Y,V){if(Y==null)return N;const K=c(Y);if(K.length===0)return N;N==null&&(N=m.test(K[0])?[]:{});let oe,fe,x=N;for(;K.length>1;)oe=K.shift(),fe=m.test(K[0]),v(oe,K)||(x=E(x,oe,fe));return oe=K.pop(),O(x,oe,V),N}function O(N,Y,V){let K;const oe=Y.match(p);Y==="[]"&&Array.isArray(N)?N.push(V):oe?(K=oe.pop(),N[K]=V):N[Y]=V}function E(N,Y,V){if(N[Y]!=null)return N[Y];const K=V?[]:{};return O(N,Y,K),K}function S(N){let Y=0,V=0;for(;Y+V0?null:{type:null,text:t[0],rest:r.substr(t[0].length),start:0,end:t[0].length-1,fullText:t[0],errors:[],children:[],parent:null}:null}gt.readToken=Ml;function nh(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}gt.escapeRegExp=nh;function rh(r){r.rest="",r.children&&r.children.forEach(e=>rh(e))}function ih(r,e){r.start+=e,r.end+=e,r.children&&r.children.forEach(t=>ih(t,r.start))}function lh(r,e){e.errors&&e.errors.length&&e.errors.forEach(t=>r.push(t)),e.children&&e.children.forEach(t=>lh(r,t))}function dn(r){let e=bf.exec(r),t=_f.exec(r),n=e&&e[0]||"",i=t&&t[0]||"",s={raw:r,name:r.replace(bf,"").replace(_f,""),isOptional:n=="?"||n=="*",allowRepetition:n=="+"||n=="*",atLeastOne:n=="+",lookupPositive:i=="&",lookupNegative:i=="!",pinned:i=="@",lookup:!1,isLiteral:!1};return s.isLiteral=s.name[0]=="'"||s.name[0]=='"',s.lookup=s.lookupNegative||s.lookupPositive,s}gt.parseRuleName=dn;function sh(r,e){let t=dn(r);return e.cachedRules[t.name]||null}gt.findRuleByName=sh;function Nl(r,e){if(r.children){let t=r.children.filter(n=>n.type&&e.test(n.type));for(let n=0;nNl(n,e))}}const xE=["EOF"];class oh{constructor(e,t){this.grammarRules=e,this.options=t,this.cachedRules={},this.debug=t?t.debug===!0:!1;let n=[],i=[];if(e.forEach(s=>{let l=dn(s.name);if(l.name in this.cachedRules){n.push("Duplicated rule "+l.name);return}else this.cachedRules[l.name]=s;if(!s.bnf||!s.bnf.length){let o="Missing rule content, rule: "+s.name;n.indexOf(o)==-1&&n.push(o)}else s.bnf.forEach(o=>{if(typeof o[0]=="string"&&dn(o[0]).name==s.name){let u="Left recursion is not allowed, rule: "+s.name;n.indexOf(u)==-1&&n.push(u)}o.forEach(a=>{if(typeof a=="string"){let u=dn(a);!u.isLiteral&&i.indexOf(u.name)==-1&&xE.indexOf(u.name)==-1&&i.push(u.name)}})});wr==s.name&&(s.implicitWs=!1),s.implicitWs&&i.indexOf(wr)==-1&&i.push(wr),s.recover&&i.indexOf(s.recover)==-1&&i.push(s.recover)}),i.forEach(s=>{s in this.cachedRules||n.push("Missing rule "+s)}),n.length)throw new Error(n.join(`
+`))}getAST(e,t){t||(t=this.grammarRules.filter(i=>!i.fragment&&i.name.indexOf("%")!=0)[0].name);let n=this.parse(e,t);if(n){lh(n.errors,n),ih(n,0),Nl(n,/^%/),(!this.options||!this.options.keepUpperRules)&&Nl(n,gf);let i=n.rest;i&&new Ar.TokenError(`Unexpected end of input:
+`+i,n),rh(n),n.rest=i}return n}emitSource(){return"CANNOT EMIT SOURCE FROM BASE Parser"}parse(e,t,n=0){let i=null,s=dn(t),l,o=this.debug&&!gf.test(s.name);o&&console.log(new Array(n).join("│ ")+"Trying to get "+t+" from "+JSON.stringify(e.split(`
+`)[0]));let a=s.name,u=sh(s.name,this);if(s.name=="EOF"){if(e.length)return null;if(e.length==0)return{type:"EOF",text:"",rest:"",start:0,end:0,fullText:"",errors:[],children:[],parent:null}}try{if(!u&&s.isLiteral){let f=s.name.trim();if(f.startsWith('"')?f=JSON.parse(f):f.startsWith("'")&&(f=f.replace(/^'(.+)'$/,"$1").replace(/\\'/g,"'")),f==="")return{type:"%%EMPTY%%",text:"",rest:e,start:0,end:0,fullText:"",errors:[],children:[],parent:null};l=new RegExp(nh(f)),a=null}}catch(f){return f instanceof ReferenceError&&console.error(f),null}if(l){let f=Ml(e,l);if(f)return f.type=a,f}else{let f=u.bnf;f instanceof Array&&f.forEach(c=>{if(i)return;let h=null,d={type:s.name,text:"",children:[],end:0,errors:[],fullText:"",parent:null,start:0,rest:e};u.fragment&&(d.fragment=!0);let m=e,p=0,v=c.length>0,k=!1;for(let O=0;O{T.start+=p,T.end+=p,T.parent=d,d.children.push(T)}):(S.parent=d,d.children.push(S))),E.lookup&&(S.lookup=!0),o&&console.log(new Array(n+1).join("│ ")+"└─ "+S.type+" "+JSON.stringify(S.text)),!E.lookup&&!S.lookup&&(d.text=d.text+S.text,d.end=d.text.length,m=m.substr(S.text.length),p+=S.text.length),d.rest=m}while(S&&E.allowRepetition&&m.length&&!S.lookup)}else{let E=Ml(m,c[O]);if(!E)return;o&&console.log(new Array(n+1).join("│ ")+"└> "+JSON.stringify(E.text)+c[O].source),k=!0,E.start+=p,E.end+=p,d.text=d.text+E.text,d.end=d.text.length,m=m.substr(E.text.length),p+=E.text.length,d.rest=m}k&&(i=d,o&&console.log(new Array(n).join("│ ")+"├<─┴< PUSHING "+i.type+" "+JSON.stringify(i.text)))}),i&&u.simplifyWhenOneChildren&&i.children.length==1&&(i=i.children[0])}return i||o&&console.log(t+" NOT RESOLVED FROM "+e),i}parseRecovery(e,t,n){if(e.recover&&t.length){let i=this.debug;i&&console.log(new Array(n+1).join("│ ")+"Trying to recover until token "+e.recover+" from "+JSON.stringify(t.split(`
+`)[0]+t.split(`
+`)[1]));let s={type:"SyntaxError",text:"",children:[],end:0,errors:[],fullText:"",parent:null,start:0,rest:""},l;do if(l=this.parse(t,e.recover,n+1),l){new Ar.TokenError('Unexpected input: "'+s.text+`" Expecting: ${e.name}`,s);break}else s.text=s.text+t[0],s.end=s.text.length,t=t.substr(1);while(!l&&t.length>0);if(s.text.length>0&&l)return i&&console.log(new Array(n+1).join("│ ")+"Recovered text: "+JSON.stringify(s.text)),s}return null}}gt.Parser=oh;gt.default=oh;Object.defineProperty(th,"__esModule",{value:!0});const Zn=gt;var jl;(function(r){r.RULES=[{name:"Grammar",bnf:[["RULE_S*","%Atomic*","EOF"]]},{name:"%Atomic",bnf:[["Production","RULE_S*"]],fragment:!0},{name:"Production",bnf:[["NCName","RULE_S*",'"::="',"RULE_WHITESPACE*","Choice","RULE_WHITESPACE*","RULE_EOL+","RULE_S*"]]},{name:"NCName",bnf:[[/[a-zA-Z][a-zA-Z_0-9]*/]]},{name:"Choice",bnf:[["SequenceOrDifference","%_Choice_1*"]],fragment:!0},{name:"%_Choice_1",bnf:[["RULE_WHITESPACE*",'"|"',"RULE_WHITESPACE*","SequenceOrDifference"]],fragment:!0},{name:"SequenceOrDifference",bnf:[["Item","RULE_WHITESPACE*","%_Item_1?"]]},{name:"%_Item_1",bnf:[["Minus","Item"],["Item*"]],fragment:!0},{name:"Minus",bnf:[['"-"']]},{name:"Item",bnf:[["RULE_WHITESPACE*","%Primary","PrimaryDecoration?"]],fragment:!0},{name:"PrimaryDecoration",bnf:[['"?"'],['"*"'],['"+"']]},{name:"DecorationName",bnf:[['"ebnf://"',/[^\x5D#]+/]]},{name:"%Primary",bnf:[["NCName"],["StringLiteral"],["CharCode"],["CharClass"],["SubItem"]],fragment:!0},{name:"SubItem",bnf:[['"("',"RULE_WHITESPACE*","Choice","RULE_WHITESPACE*",'")"']]},{name:"StringLiteral",bnf:[[`'"'`,/[^"]*/,`'"'`],[`"'"`,/[^']*/,`"'"`]],pinned:1},{name:"CharCode",bnf:[['"#x"',/[0-9a-zA-Z]+/]]},{name:"CharClass",bnf:[["'['","'^'?","%RULE_CharClass_1+",'"]"']]},{name:"%RULE_CharClass_1",bnf:[["CharCodeRange"],["CharRange"],["CharCode"],["RULE_Char"]],fragment:!0},{name:"RULE_Char",bnf:[[/\x09/],[/\x0A/],[/\x0D/],[/[\x20-\x5c]/],[/[\x5e-\uD7FF]/],[/[\uE000-\uFFFD]/]]},{name:"CharRange",bnf:[["RULE_Char",'"-"',"RULE_Char"]]},{name:"CharCodeRange",bnf:[["CharCode",'"-"',"CharCode"]]},{name:"RULE_WHITESPACE",bnf:[["%RULE_WHITESPACE_CHAR*"],["Comment","RULE_WHITESPACE*"]]},{name:"RULE_S",bnf:[["RULE_WHITESPACE","RULE_S*"],["RULE_EOL","RULE_S*"]]},{name:"%RULE_WHITESPACE_CHAR",bnf:[[/\x09/],[/\x20/]],fragment:!0},{name:"Comment",bnf:[['"/*"',"%RULE_Comment_Body*",'"*/"']]},{name:"%RULE_Comment_Body",bnf:[['!"*/"',/[^*]/]],fragment:!0},{name:"RULE_EOL",bnf:[[/\x0D/,/\x0A/],[/\x0A/],[/\x0D/]]},{name:"Link",bnf:[["'['","Url","']'"]]},{name:"Url",bnf:[[/[^\x5D:/?#]/,'"://"',/[^\x5D#]+/,"%Url1?"]]},{name:"%Url1",bnf:[['"#"',"NCName"]],fragment:!0}],r.defaultParser=new Zn.Parser(r.RULES,{debug:!1});const e=/^(!|&)/,t=/(\?|\+|\*)$/,n=/^%/;function i(k,O){if(typeof k=="string"){if(e.test(k))return"";if(n.test(k)){let S=t.exec(k),C=S?S[0]+" ":"";return s(k,O)?o(k,O)+C:"("+o(k,O)+")"+C}return k}else return k.source.replace(/\\(?:x|u)([a-zA-Z0-9]+)/g,"#x$1").replace(/\[\\(?:x|u)([a-zA-Z0-9]+)-\\(?:x|u)([a-zA-Z0-9]+)\]/g,"[#x$1-#x$2]")}function s(k,O){let E=Zn.findRuleByName(k,O);return E&&E.bnf.length==1&&E.bnf[0].length==1&&(E.bnf[0][0]instanceof RegExp||E.bnf[0][0][0]=='"'||E.bnf[0][0][0]=="'")}function l(k,O){return k.map(E=>i(E,O)).join(" ")}function o(k,O){let E=Zn.findRuleByName(k,O);return E?E.bnf.map(S=>l(S,O)).join(" | "):"RULE_NOT_FOUND {"+k+"}"}function a(k){let O=[];return k.grammarRules.forEach(E=>{if(!/^%/.test(E.name)){let S=E.recover?" /* { recoverUntil="+E.recover+" } */":"";O.push(E.name+" ::= "+o(E.name,k)+S)}}),O.join(`
+`)}r.emit=a;let u=0;function f(k,O){throw console.log("reberia restar "+O+" a "+k),new Error("Difference not supported yet")}function c(k){return new RegExp(k.replace(/#x([a-zA-Z0-9]{4})/g,"\\u$1").replace(/#x([a-zA-Z0-9]{3})/g,"\\u0$1").replace(/#x([a-zA-Z0-9]{2})/g,"\\x$1").replace(/#x([a-zA-Z0-9]{1})/g,"\\x0$1"))}function h(k,O,E){let S=null,C=[];return O.children.forEach((T,D)=>{T.type=="Minus"&&f(S,T);let w=O.children[D+1];w=w&&w.type=="PrimaryDecoration"&&w.text||"";let B="";switch(T.type){case"SubItem":let M="%"+(E+u++);d(k,T,M),C.push(B+M+w);break;case"NCName":case"StringLiteral":C.push(B+T.text+w);break;case"CharCode":case"CharClass":if(w||B){let F={name:"%"+(E+u++),bnf:[[c(T.text)]]};k.push(F),C.push(B+F.name+w)}else C.push(c(T.text));break;case"PrimaryDecoration":break;default:throw new Error(" HOW SHOULD I PARSE THIS? "+T.type+" -> "+JSON.stringify(T.text))}S=T}),C}function d(k,O,E){let S=O.children.filter(D=>D.type=="SequenceOrDifference").map(D=>h(k,D,E)),C={name:E,bnf:S},T=null;S.forEach(D=>{T=T||D.recover,delete D.recover}),E.indexOf("%")==0&&(C.fragment=!0),T&&(C.recover=T),k.push(C)}function m(k,O=r.defaultParser){let E=O.getAST(k);if(!E)throw new Error("Could not parse "+k);if(E.errors&&E.errors.length)throw E.errors[0];let S=[];return E.children.filter(C=>C.type=="Production").map(C=>{let T=C.children.filter(D=>D.type=="NCName")[0].text;d(S,C,T)}),S}r.getRules=m;function p(k,O=r.defaultParser){return m(k.join(""),O)}r.Transform=p;class v extends Zn.Parser{constructor(O,E){const S=E&&E.debugRulesParser===!0?new Zn.Parser(r.RULES,{debug:!0}):r.defaultParser;super(m(O,S),E)}emitSource(){return a(this)}}r.Parser=v})(jl||(jl={}));var $E=th.default=jl;const eS="[^?/{}*,()#]+",tS=`
+root ::= ("#" recursion | recursion | (query | pattern) recursion* | "#" SEP? | SEP)
+recursion ::= (SEP query | pattern)*
+
+query ::= (ESC escaped ESC | property | all | any | regex) typecheck? lookahead?
+property ::= ${eS}
+regex ::= "{" [^}]+ "}"
+SEP ::= "/"
+all ::= "**"
+any ::= "*"
+
+typecheck ::= "?:" ("value" | "boolean" | "string" | "number" | "object" | "array")
+lookahead ::= "?" expression ((andExpr | orExpr) expression)*
+andExpr ::= S? "&&" S?
+orExpr ::= S? "||" S?
+
+expression ::= (exprProperty | ESC escaped ESC) ((isnot | is) (exprProperty | regex | ESC escaped ESC))*
+exprProperty ::= [a-zA-Z0-9-_ $]+
+escaped ::= [^"]+
+is ::= ":"
+isnot ::= ":!"
+ESC ::= '"'
+
+pattern ::= S? "(" (SEP query | pattern (orPattern? pattern)*)* ")" quantifier? S? lookahead?
+quantifier ::= "+" | "*" | [0-9]+
+orPattern ::= S? "," S?
+
+S ::= [ ]*
+`,nS=new $E.Parser(tS),rS=r=>nS.getAST(r),dt=0,zn=3,ui=(r,e)=>`${r}/${e}`,ah=Object.prototype.toString,iS=/Object|Array/,Ll=r=>iS.test(ah.call(r)),lS=r=>ah.call(r).match(/\s([^\]]+)\]/).pop().toLowerCase();function uh(r){return new RegExp(r.text.replace(/(^{|}$)/g,""))}function sS(r,e){Array.isArray(r)?r.forEach(e):Object.prototype.toString.call(r)==="[object Object]"&&Object.keys(r).forEach(function(t){e(r[t],t,r)})}function vf(r){return Array.isArray(r)?r.map(function(e,t){return`${t}`}):Object.prototype.toString.call(r)==="[object Object]"?Object.keys(r):[]}const nn={mem:[],get(r,e){const t=r[dt][e];if(!nn.mem.includes(t))return Ll(t)&&nn.mem.push(t),[t,e,r[dt],ui(r[zn],e)]},reset(){nn.mem.length=0}},ql={any(r,e){const t=e[dt];return vf(t).map(n=>[t[n],n,t,ui(e[zn],n)])},all(r,e){const t=[e];return sS(e[dt],(n,i)=>{const s=nn.get(e,i);s&&t.push(...ql.all(r,s))}),t},regex(r,e){const t=uh(r),n=e[dt];return vf(n).filter(i=>t.test(i)).map(i=>[n[i],i,n,ui(e[zn],i)])}},fi={escaped:(r,e)=>fi.property(r,e),property:(r,e)=>{const t=r.text;if(e[dt]&&e[dt][t]!==void 0)return[e[dt][t],t,e[dt],ui(e[zn],t)]},typecheck:(r,e)=>{const t=r.text.replace(/^\?:/,"");if(t==="value")return Ll(e[dt])?void 0:e;if(lS(e[dt])===t)return e},lookahead:(r,e)=>{let t=!0,n=!1;return r.children.forEach(i=>{if(i.type==="expression"){const s=fi.expression(i,e)!==void 0;t=n===!0?t||s:t&&s}else n=i.type==="orExpr"}),t?e:void 0},expression:(r,e)=>{const t=r.children[0].text,n=r.children[1],i=r.children[2],s=e[dt];if(Ll(s)!==!1)return oS(s[t],n,i)?e:void 0}};function oS(r,e,t){if(e===void 0)return r!==void 0;let n;const i=`${r}`;return t.type==="regex"?n=uh(t).test(i):n=i===t.text,e.type==="isnot"&&(n=n===!1&&r!==void 0),n}function aS(r,e,t,n){const i=[];for(let s=0,l=e.length;s{if(ql[i.type])n=aS(ql[i.type],n,i,t);else if(fi[i.type])n=uS(fi[i.type],n,i,t);else throw new Error(`Unknown filter ${i.type}`)}),n}function cS(r,e,t){const n=[];let i=r;return e.children.forEach(s=>{if(s.type==="orPattern"){n.push(...i),i=r;return}i=ks(i,s,t)}),n.push(...i),n}function dS(r){if(r==null)return 1;if(r==="*"||r==="+")return 1/0;const e=parseInt(r);return isNaN(e)?1:e}function hS(r,e,t){const n=[],i=e.children.find(a=>a.type==="quantifier"),s=dS(i&&i.text);let l=r;i&&i.text==="*"&&n.push(...l);let o=0;for(;l.length>0&&on=ks(n,i,t)),n}function ks(r,e,t){let n;return e.type==="query"?n=fS(r,e,t):e.type==="pattern"?n=hS(r,e,t):n=mS(r,e,t),nn.reset(),nn.mem.push(r),n}function pS(r,e){return nn.reset(),nn.mem.push(r),ks([[r,null,null,"#"]],e)}const yf={value:r=>r.map(e=>e[dt]),pointer:r=>r.map(e=>e[zn]),all:r=>r,map:r=>{const e={};return r.forEach(t=>e[t[zn]]=t[dt]),e}};var vn;(function(r){r.POINTER="pointer",r.VALUE="value",r.ALL="all",r.MAP="map"})(vn||(vn={}));_r.POINTER=vn.POINTER;_r.VALUE=vn.VALUE;_r.ALL=vn.ALL;_r.MAP=vn.MAP;function _r(r,e,t=vn.VALUE){if(e==null)return[];e=e.replace(/(\/$)/g,""),e===""&&(e="#");const n=rS(e);if(n==null)throw new Error(`empty ast for '${e}'`);if(n.rest!=="")throw new Error(`Failed parsing queryString from: '${n.rest}'`);const i=pS(r,n);return typeof t=="function"?i.map(s=>t(...s)):yf[t]?yf[t](i):i}var ci;(function(r){r.REPLACE_ITEMS="replace",r.INSERT_ITEMS="insert"})(ci||(ci={}));ci.REPLACE_ITEMS;ci.INSERT_ITEMS;const zt={$ref:{type:!1},allOf:{type:!1,definitions:["allOf/*"]},anyOf:{type:!1,definitions:["anyOf/*"]},array:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not","items","items/*","additionalItems"],validationKeywords:["minItems","maxItems","uniqueItems"],keywords:["items","additionalItems","minItems","maxItems","uniqueItems"]},boolean:{type:!0},enum:{type:!1},integer:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not"],validationKeywords:["minimum","maximum","multipleOf"]},not:{type:!1,definitions:["not"]},number:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not"],validationKeywords:["minimum","maximum","multipleOf"]},null:{type:!0},object:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not","properties/*","additionalProperties","patternProperties/*","dependencies/*"],validationKeywords:["minProperties","maxProperties","required"],keywords:["properties","additionalProperties","patternProperties","dependencies","minProperties","maxProperties","required"]},oneOf:{type:!1,definitions:["oneOf/*"]},string:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not"],validationKeywords:["minLength","maxLength","pattern"]}},gS=r=>Object.prototype.toString.call(r)==="[object Object]",bS=Object.keys(zt).filter(r=>zt[r].type===!1),kf=Object.prototype.hasOwnProperty;function Ef(r){if(gS(r)===!1)return;if(r.enum)return"enum";if(zt[r.type]||Array.isArray(r.type))return r.type;const e=bS.filter(t=>r[t]);if(e.length===1)return e[0];if(e.length===0){for(let t=0,n=zt.object.keywords.length;tObject.prototype.toString.call(r)==="[object Object]";function vS(r){const e=[],t=Ef(r);if(t==null)return e;let n;if(Array.isArray(t)){n={};for(let i=0,s=t.length;i{_r(r,i,(s,l,o,a)=>{_S(s)&&Ef(s)&&e.push({pointer:or.join(or.split(a),!1),def:s})})}),e}const yS=r=>Object.prototype.toString.call(r)==="[object Object]";function kS(r,e){if(this.callback(r,e)===!0)return;vS(r).forEach(n=>this.nextTypeDefs(n.def,or.join(e,n.pointer,!1)))}function Tr(r,e,t,n="definitions"){const i=e[n];Object.keys(i).forEach(s=>{if(i[s]===!1||yS(i[s])){r.nextTypeDefs(i[s],or.join(t,n,s,!1));return}})}function fh(r,e,t="#"){const n={callback:e,nextTypeDefs:kS};n.nextTypeDefs(r,t),r.definitions!=null&&(n.callback=(i,s)=>{e(i,s),i.definitions!=null&&Tr(n,i,s)},Tr(n,r,t)),r.$defs!=null&&(n.callback=(i,s)=>{e(i,s),i.definitions!=null&&Tr(n,i,s)},Tr(n,r,t,"$defs"))}const ES=/(#|\/)+$/,Pr=/#$/,SS=/^[^:]+:\/\/[^/]+\//,OS=/\/[^/]*$/,wS=/#.*$/;function Sf(r,e){return r==null&&e==null?"#":e==null?r.replace(Pr,""):r==null?e.replace(Pr,""):e[0]==="#"?`${r.replace(wS,"")}${e.replace(ES,"")}`:SS.test(e)?e.replace(Pr,""):`${r.replace(OS,"")}/${e.replace(Pr,"")}`}const Jn=/(#|\/)+$/g,AS=["",null,"#"];function TS(r){if(AS.includes(r))return[];if(r=r.replace(Jn,""),r.indexOf("#")===-1)return[r.replace(Jn,"")];if(r.indexOf("#")===0)return[r.replace(Jn,"")];const e=r.split("#");return e[0]=e[0].replace(Jn,""),e[1]=`#${e[1].replace(Jn,"")}`,e}const PS=/(#|\/)+$/g,CS=r=>ze(r)==="object";function Yt(r,e,t){if(CS(t)&&(t=t.__ref||t.$ref),t==null)return e;let n;const i=t.replace(PS,"");if(r.remotes[i])return n=r.remotes[i],n&&n.$ref?Yt(r,e,n.$ref):n;if(r.ids[t])return n=Dn.get(e,r.ids[t]),n&&n.$ref?Yt(r,e,n.$ref):n;const s=TS(t);if(s.length===0)return e;if(s.length===1){if(t=s[0],r.remotes[t])return n=r.remotes[t],Yt(r,e,n.$ref);if(r.ids[t])return n=Dn.get(e,r.ids[t]),n&&n.$ref?Yt(r,e,n.$ref):n}if(s.length===2){const l=s[0];if(t=s[1],r.remotes[l])return r.remotes[l].getRef?r.remotes[l].getRef(t):Yt(r,r.remotes[l],t);if(r.ids[l])return Yt(r,Dn.get(e,r.ids[l]),t)}return n=Dn.get(e,r.ids[t]||t),n&&n.$ref?Yt(r,e,n.$ref):n}const Of="__compiled",wf="__ref",IS="getRef",RS="getRoot",DS=/(#|\/)+$/g;function MS(r,e,t=e,n=!1){if(e===!0||e===!1||e===void 0||e[Of]!==void 0)return e;const i={ids:{},remotes:r.remotes},s=JSON.stringify(e),l=JSON.parse(s);if(Object.defineProperty(l,Of,{enumerable:!1,value:!0}),Object.defineProperty(l,IS,{enumerable:!1,value:Yt.bind(null,i,l)}),n===!1&&s.includes("$ref")===!1)return l;l!==t&&Object.defineProperty(l,"$defs",{enumerable:!0,value:Object.assign({},t.definitions,t.$defs,l.definitions,l.$defs)});const o={},a=()=>l;return fh(l,(u,f)=>{var c;if(u.$id){if(u.$id.startsWith("http")&&/(allOf|anyOf|oneOf)\/\d+$/.test(f)){const v=f.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,""),k=Dn.get(l,v);u.$id=(c=k.$id)!==null&&c!==void 0?c:u.$id}i.ids[u.$id.replace(DS,"")]=f}f=`#${f}`.replace(/##+/,"#");const h=f.replace(/\/[^/]+$/,""),d=f.replace(/\/[^/]+\/[^/]+$/,""),m=o[h]||o[d],p=Sf(m,u.$id);o[f]=p,i.ids[p]==null&&(i.ids[p]=f),u.$ref&&!u[wf]&&(Object.defineProperty(u,wf,{enumerable:!1,value:Sf(p,u.$ref)}),Object.defineProperty(u,RS,{enumerable:!1,value:a}))}),l}function NS(r,e,t,n=r.rootSchema,i="#"){n=r.resolveRef(n),t(n,e,i);const s=ze(e);s==="object"?Object.keys(e).forEach(l=>{const o=r.step(l,n,e,i),a=e[l];r.each(a,t,o,`${i}/${l}`)}):s==="array"&&e.forEach((l,o)=>{const a=r.step(o,n,e,i);r.each(l,t,a,`${i}/${o}`)})}const Ue={additionalItemsError:Oe("AdditionalItemsError"),additionalPropertiesError:Oe("AdditionalPropertiesError"),anyOfError:Oe("AnyOfError"),allOfError:Oe("AllOfError"),constError:Oe("ConstError"),containsError:Oe("ContainsError"),containsArrayError:Oe("ContainsArrayError"),containsAnyError:Oe("ContainsAnyError"),enumError:Oe("EnumError"),formatURLError:Oe("FormatURLError"),formatURIError:Oe("FormatURIError"),formatURIReferenceError:Oe("FormatURIReferenceError"),formatURITemplateError:Oe("FormatURITemplateError"),formatDateError:Oe("FormatDateaError"),formatDateTimeError:Oe("FormatDateTimeError"),formatEmailError:Oe("FormatEmailError"),formatHostnameError:Oe("FormatHostnameError"),formatIPV4Error:Oe("FormatIPV4Error"),formatIPV4LeadingZeroError:Oe("FormatIPV4LeadingZeroError"),formatIPV6Error:Oe("FormatIPV6Error"),formatIPV6LeadingZeroError:Oe("FormatIPV6LeadingZeroError"),formatJSONPointerError:Oe("FormatJSONPointerError"),formatRegExError:Oe("FormatRegExError"),formatTimeError:Oe("FormatTimeError"),invalidSchemaError:Oe("InvalidSchemaError"),invalidDataError:Oe("InvalidDataError"),invalidTypeError:Oe("InvalidTypeError"),invalidPropertyNameError:Oe("InvalidPropertyNameError"),maximumError:Oe("MaximumError"),maxItemsError:Oe("MaxItemsError"),maxLengthError:Oe("MaxLengthError"),maxPropertiesError:Oe("MaxPropertiesError"),minimumError:Oe("MinimumError"),minItemsError:Oe("MinItemsError"),minItemsOneError:Oe("MinItemsOneError"),minLengthError:Oe("MinLengthError"),minLengthOneError:Oe("MinLengthOneError"),minPropertiesError:Oe("MinPropertiesError"),missingDependencyError:Oe("MissingDependencyError"),missingOneOfPropertyError:Oe("MissingOneOfPropertyError"),multipleOfError:Oe("MultipleOfError"),multipleOneOfError:Oe("MultipleOneOfError"),noAdditionalPropertiesError:Oe("NoAdditionalPropertiesError"),notError:Oe("NotError"),oneOfError:Oe("OneOfError"),oneOfPropertyError:Oe("OneOfPropertyError"),patternError:Oe("PatternError"),patternPropertiesError:Oe("PatternPropertiesError"),requiredPropertyError:Oe("RequiredPropertyError"),typeError:Oe("TypeError"),undefinedValueError:Oe("UndefinedValueError"),uniqueItemsError:Oe("UniqueItemsError"),unknownPropertyError:Oe("UnknownPropertyError"),valueNotEmptyError:Oe("ValueNotEmptyError")};var ch={exports:{}};(function(r){(function(e){e.exports.is_uri=n,e.exports.is_http_uri=i,e.exports.is_https_uri=s,e.exports.is_web_uri=l,e.exports.isUri=n,e.exports.isHttpUri=i,e.exports.isHttpsUri=s,e.exports.isWebUri=l;var t=function(o){var a=o.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/);return a};function n(o){if(o&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(o)&&!/%[^0-9a-f]/i.test(o)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(o)){var a=[],u="",f="",c="",h="",d="",m="";if(a=t(o),u=a[1],f=a[2],c=a[3],h=a[4],d=a[5],!!(u&&u.length&&c.length>=0)){if(f&&f.length){if(!(c.length===0||/^\//.test(c)))return}else if(/^\/\//.test(c))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(u.toLowerCase()))return m+=u+":",f&&f.length&&(m+="//"+f),m+=c,h&&h.length&&(m+="?"+h),d&&d.length&&(m+="#"+d),m}}}function i(o,a){if(n(o)){var u=[],f="",c="",h="",d="",m="",p="",v="";if(u=t(o),f=u[1],c=u[2],h=u[3],m=u[4],p=u[5],!!f){if(a){if(f.toLowerCase()!="https")return}else if(f.toLowerCase()!="http")return;if(c)return/:(\d+)$/.test(c)&&(d=c.match(/:(\d+)$/)[0],c=c.replace(/:\d+$/,"")),v+=f+":",v+="//"+c,d&&(v+=d),v+=h,m&&m.length&&(v+="?"+m),p&&p.length&&(v+="#"+p),v}}}function s(o){return i(o,!0)}function l(o){return i(o)||s(o)}})(r)})(ch);var jS=ch.exports;const Af=dr(jS),LS=new RegExp("^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(([Zz])|([\\+|\\-]([01][0-9]|2[0-3]):[0-5][0-9]))$"),qS=/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,BS=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,FS=/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,zS=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,VS=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,US=[0,31,28,31,30,31,30,31,31,30,31,30,31],HS=/^(?:\/(?:[^~/]|~0|~1)*)*$/,QS=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,WS=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,GS=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,KS={date:(r,e,t,n)=>{if(typeof t!="string")return;const i=t.match(zS);if(!i)return Ue.formatDateTimeError({value:t,pointer:n});const s=+i[1],l=+i[2],o=+i[3],a=s%4===0&&(s%100!==0||s%400===0);if(!(l>=1&&l<=12&&o>=1&&o<=(l==2&&a?29:US[l])))return Ue.formatDateError({value:t,pointer:n})},"date-time":(r,e,t,n)=>{if(typeof t=="string")return t===""||LS.test(t)?new Date(t).toString()==="Invalid Date"?Ue.formatDateTimeError({value:t,pointer:n}):void 0:Ue.formatDateTimeError({value:t,pointer:n})},email:(r,e,t,n)=>{if(typeof t!="string")return;if(t[0]==='"')return Ue.formatEmailError({value:t,pointer:n});const[i,s,...l]=t.split("@");if(!i||!s||l.length!==0||i.length>64||s.length>253)return Ue.formatEmailError({value:t,pointer:n});if(i[0]==="."||i.endsWith(".")||i.includes(".."))return Ue.formatEmailError({value:t,pointer:n});if(!/^[a-z0-9.-]+$/i.test(s)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(i))return Ue.formatEmailError({value:t,pointer:n});if(!s.split(".").every(o=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(o)))return Ue.formatEmailError({value:t,pointer:n})},hostname:(r,e,t,n)=>{if(typeof t=="string"&&!(t===""||FS.test(t)))return Ue.formatHostnameError({value:t,pointer:n})},ipv4:(r,e,t,n)=>{if(!(typeof t!="string"||t==="")){if(t&&t[0]==="0")return Ue.formatIPV4LeadingZeroError({value:t,pointer:n});if(!(t.length<=15&&qS.test(t)))return Ue.formatIPV4Error({value:t,pointer:n})}},ipv6:(r,e,t,n)=>{if(!(typeof t!="string"||t==="")){if(t&&t[0]==="0")return Ue.formatIPV6LeadingZeroError({value:t,pointer:n});if(!(t.length<=45&&BS.test(t)))return Ue.formatIPV6Error({value:t,pointer:n})}},"json-pointer":(r,e,t,n)=>{if(!(typeof t!="string"||t==="")&&!HS.test(t))return Ue.formatJSONPointerError({value:t,pointer:n})},"relative-json-pointer":(r,e,t,n)=>{if(!(typeof t!="string"||t==="")&&!QS.test(t))return Ue.formatJSONPointerError({value:t,pointer:n})},regex:(r,e,t,n)=>{if(typeof t=="string"&&/\\Z$/.test(t)===!1){try{new RegExp(t);return}catch{}return Ue.formatRegExError({value:t,pointer:n})}if(!(typeof t=="object"||typeof t=="number"||Array.isArray(t)))return Ue.formatRegExError({value:t,pointer:n})},time:(r,e,t,n)=>{if(typeof t!="string")return;const i=t.match(VS);if(!i)return Ue.formatDateTimeError({value:t,pointer:n});const s=+i[1],l=+i[2],o=+i[3],a=!!i[5];if(!((s<=23&&l<=59&&o<=59||s==23&&l==59&&o==60)&&a))return Ue.formatTimeError({value:t,pointer:n})},uri:(r,e,t,n)=>{if(!(typeof t!="string"||t==="")&&!Af.isUri(t))return Ue.formatURIError({value:t,pointer:n})},"uri-reference":(r,e,t,n)=>{if(!(typeof t!="string"||t==="")&&!WS.test(t))return Ue.formatURIReferenceError({value:t,pointer:n})},"uri-template":(r,e,t,n)=>{if(!(typeof t!="string"||t==="")&&!GS.test(t))return Ue.formatURITemplateError({value:t,pointer:n})},url:(r,e,t,n)=>{if(!(t===""||Af.isWebUri(t)))return Ue.formatURLError({value:t,pointer:n})}};function ZS(r){switch(ze(r)){case"string":case"array":return r.length===0;case"null":case"undefined":return!0;case"object":return Object.keys(r).length===0;default:return!1}}const JS={addOptionalProps:!0,removeInvalidData:!1};let Vt;function Yi(r,e){const{$ref:t}=r;return t==null?!0:(Vt[e]==null||Vt[e][t]==null?0:Vt[e][t])0){if(Yi(e.anyOf[0],`${n}/anyOf/0`)){const s=Xi(r,e.anyOf[0],`${n}/anyOf/0`);i=sr(i,s),i.pointer=e.anyOf[0].$ref||i.pointer}delete i.anyOf}if(Array.isArray(e.allOf)){for(let s=0,l=e.allOf.length;sr&&typeof r=="object";function Ft(r,e,t,n,i){if(t==null)throw new Error(`getTemplate: missing schema for data: ${JSON.stringify(e)}`);if(n==null)throw new Error("Missing pointer");let s=dh(r,t,e,n);if(!Tf(s))return;if(n=s.pointer,s!=null&&s.const)return s.const;if(Array.isArray(s.oneOf))if(ZS(e)){const u=s.oneOf[0].type||s.type||s.const&&typeof s.const||ze(e);s={...s.oneOf[0],type:u}}else{const u=ys(r,e,s);if(st(u)){if(e!=null&&i.removeInvalidData!==!0)return e;s=s.oneOf[0],e=void 0}else s=u}if(!Tf(s)||s.type==null)return;const l=Array.isArray(s.type)?XS(s.type,e,s.default):s.type,o=ze(e);return e!=null&&o!==l&&!(o==="number"&&l==="integer")&&(e=YS(l,e)),Pf[l]==null?i.removeInvalidData?void 0:e:Pf[l](r,s,e,n,i)}function XS(r,e,t){if(e==null){if(t!=null){const i=ze(t);if(r.includes(i))return i}return r[0]}const n=ze(e);return r.includes(n)?n:r[0]}const Pf={null:(r,e,t)=>Yn(e,t,null),string:(r,e,t)=>Yn(e,t,""),number:(r,e,t)=>Yn(e,t,0),integer:(r,e,t)=>Yn(e,t,0),boolean:(r,e,t)=>Yn(e,t,!1),object:(r,e,t,n,i)=>{var s;const l=e.default===void 0?{}:e.default,o={},a=(s=e.required)!==null&&s!==void 0?s:[];if(e.properties&&Object.keys(e.properties).forEach(u=>{const f=t==null||t[u]==null?l[u]:t[u],c=a.includes(u);(f!=null||c||i.addOptionalProps)&&(o[u]=Ft(r,f,e.properties[u],`${n}/properties/${u}`,i))}),e.dependencies&&Object.keys(e.dependencies).forEach(u=>{if(o[u]===void 0)return;const f=e.dependencies[u];if(Array.isArray(f)){f.forEach(h=>{o[h]=Ft(r,o[h],e.properties[h],`${n}/properties/${h}`,i)});return}if(ze(f)!=="object")return;const c=Ft(r,t,{...f,type:"object"},`${n}/dependencies/${u}`,i);c&&!st(c)&&Object.assign(o,c)}),t&&Object.keys(t).forEach(u=>o[u]==null&&(o[u]=t[u])),e.if&&(e.then||e.else)){const u=r.isValid(o,e.if);if(u&&e.then){const f=r.getTemplate(o,{type:"object",...e.then},i);Object.assign(o,f)}else if(!u&&e.else){const f=r.getTemplate(o,{type:"object",...e.else},i);Object.assign(o,f)}}return o},array:(r,e,t,n,i)=>{var s,l,o;const a=e.default===void 0?[]:e.default;e.minItems=e.minItems||0;const u=t||[];if(e.items==null)return u;if(Array.isArray(e.items)){for(let c=0,h=Math.max((s=e.minItems)!==null&&s!==void 0?s:0,(o=(l=e.items)===null||l===void 0?void 0:l.length)!==null&&o!==void 0?o:0);c0){const c=Math.max(e.minItems,u.length);for(let h=0;h(Vt={mi:{}},Ft(r,e,t,"#",n));function $S(r,e,t=r.rootSchema,n="#"){return r.validate(e,t,n).length===0}function Bl(r,e){const t=typeof r;if(t!==typeof e)return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;const n=r.length;if(n!==e.length)return!1;for(let i=0;i=55296&&i<=56319&&t!(r[e]===void 0||!eO.call(r,e)),tO={additionalProperties:(r,e,t,n)=>{if(e.additionalProperties===!0||e.additionalProperties==null||ze(e.patternProperties)==="object"&&e.additionalProperties===!1)return;const i=[];let s=Object.keys(t).filter(o=>br.propertyBlacklist.includes(o)===!1);const l=Object.keys(e.properties||{});if(ze(e.patternProperties)==="object"){const o=Object.keys(e.patternProperties).map(a=>new RegExp(a));s=s.filter(a=>{for(let u=0;u{if(Array.isArray(e.allOf)===!1)return;const i=[];return e.allOf.forEach(s=>{i.push(...r.validate(t,s,n))}),i},anyOf:(r,e,t,n)=>{if(Array.isArray(e.anyOf)!==!1){for(let i=0;i{if(ze(e.dependencies)!=="object")return;const i=[];return Object.keys(t).forEach(s=>{if(e.dependencies[s]===void 0||e.dependencies[s]===!0)return;if(e.dependencies[s]===!1){i.push(r.errors.missingDependencyError({pointer:n}));return}let l;const o=ze(e.dependencies[s]);if(o==="array")l=e.dependencies[s].filter(a=>t[a]===void 0).map(a=>r.errors.missingDependencyError({missingProperty:a,pointer:n}));else if(o==="object")l=r.validate(t,e.dependencies[s],n);else throw new Error(`Invalid dependency definition for ${n}/${s}. Must be list or schema`);i.push(...l)}),i.length>0?i:void 0},enum:(r,e,t,n)=>{const i=ze(t);if(i==="object"||i==="array"){const s=JSON.stringify(t);for(let l=0;l{if(r.validateFormat[e.format])return r.validateFormat[e.format](r,e,t,n)},items:(r,e,t,n)=>{if(e.items===!1)return Array.isArray(t)&&t.length===0?void 0:r.errors.invalidDataError({pointer:n,value:t});const i=[];for(let s=0;s{if(!isNaN(e.maximum)){if(e.maximum&&e.maximum{if(!isNaN(e.maxItems)&&e.maxItems{if(isNaN(e.maxLength))return;const i=Cf(t).length;if(e.maxLength{const i=Object.keys(t).length;if(isNaN(e.maxProperties)===!1&&e.maxProperties{if(isNaN(e.minLength))return;const i=Cf(t).length;if(e.minLength>i)return e.minLength===1?r.errors.minLengthOneError({minLength:e.minLength,length:i,pointer:n}):r.errors.minLengthError({minLength:e.minLength,length:i,pointer:n})},minimum:(r,e,t,n)=>{if(!isNaN(e.minimum)){if(e.minimum>t)return r.errors.minimumError({minimum:e.minimum,length:t,pointer:n});if(e.exclusiveMinimum===!0&&e.minimum===t)return r.errors.minimumError({minimum:e.minimum,length:t,pointer:n})}},minItems:(r,e,t,n)=>{if(!isNaN(e.minItems)&&e.minItems>t.length)return e.minItems===1?r.errors.minItemsOneError({minItems:e.minItems,length:t.length,pointer:n}):r.errors.minItemsError({minItems:e.minItems,length:t.length,pointer:n})},minProperties:(r,e,t,n)=>{if(isNaN(e.minProperties))return;const i=Object.keys(t).length;if(e.minProperties>i)return r.errors.minPropertiesError({minProperties:e.minProperties,length:i,pointer:n})},multipleOf:(r,e,t,n)=>{if(!isNaN(e.multipleOf)&&t*xi%(e.multipleOf*xi)/xi!==0)return r.errors.multipleOfError({multipleOf:e.multipleOf,value:t,pointer:n})},not:(r,e,t,n)=>{const i=[];return r.validate(t,e.not,n).length===0&&i.push(r.errors.notError({value:t,not:e.not,pointer:n})),i},oneOf:(r,e,t,n)=>{if(Array.isArray(e.oneOf)!==!1&&(e=r.resolveOneOf(t,e,n),st(e)))return e},pattern:(r,e,t,n)=>{if(new RegExp(e.pattern,"u").test(t)===!1)return r.errors.patternError({pattern:e.pattern,description:e.patternExample||e.pattern,received:t,pointer:n})},patternProperties:(r,e,t,n)=>{const i=e.properties||{},s=e.patternProperties;if(ze(s)!=="object")return;const l=[],o=Object.keys(t),a=Object.keys(s).map(u=>({regex:new RegExp(u),patternSchema:s[u]}));return o.forEach(u=>{let f=!1;for(let c=0,h=a.length;c0&&l.push(...d)}i[u]||f===!1&&e.additionalProperties===!1&&l.push(r.errors.patternPropertiesError({key:u,pointer:n,patterns:Object.keys(s).join(",")}))}),l},properties:(r,e,t,n)=>{const i=[],s=Object.keys(e.properties||{});for(let l=0;l{const i=[],s=Object.keys(e.properties||{});for(let l=0;l{if(Array.isArray(e.required)!==!1)return e.required.map(i=>{if(!If(t,i))return r.errors.requiredPropertyError({key:i,pointer:n})})},requiredNotEmpty:(r,e,t,n)=>{if(Array.isArray(e.required)!==!1)return e.required.map(i=>{if(t[i]==null||t[i]==="")return r.errors.valueNotEmptyError({property:i,pointer:`${n}/${i}`})})},uniqueItems:(r,e,t,n)=>{if((Array.isArray(t)&&e.uniqueItems)===!1)return;const i=[];return t.forEach((s,l)=>{for(let o=l+1;o{if(e.contains===!1)return r.errors.containsArrayError({pointer:n,value:t});if(e.contains===!0)return Array.isArray(t)&&t.length===0?r.errors.containsAnyError({pointer:n}):void 0;if(ze(e.contains)==="object"){for(let i=0;i{if(!isNaN(e.exclusiveMaximum)&&e.exclusiveMaximum<=t)return r.errors.maximumError({maximum:e.exclusiveMaximum,length:t,pointer:n})},exclusiveMinimum:(r,e,t,n)=>{if(!isNaN(e.exclusiveMinimum)&&e.exclusiveMinimum>=t)return r.errors.minimumError({minimum:e.exclusiveMinimum,length:t,pointer:n})},if:(r,e,t,n)=>{if(e.if==null)return;const i=r.validate(t,e.if,n);if(i.length===0&&e.then)return r.validate(t,e.then,n);if(i.length!==0&&e.else)return r.validate(t,e.else,n)},maximum:(r,e,t,n)=>{if(!isNaN(e.maximum)&&e.maximum&&e.maximum{if(!isNaN(e.minimum)&&e.minimum>t)return r.errors.minimumError({minimum:e.minimum,length:t,pointer:n})},patternProperties:(r,e,t,n)=>{const i=e.properties||{},s=e.patternProperties;if(ze(s)!=="object")return;const l=[],o=Object.keys(t),a=Object.keys(s).map(u=>({regex:new RegExp(u),patternSchema:s[u]}));return o.forEach(u=>{let f=!1;for(let c=0,h=a.length;c0&&l.push(...d)}i[u]||f===!1&&e.additionalProperties===!1&&l.push(r.errors.patternPropertiesError({key:u,pointer:n,patterns:Object.keys(s).join(",")}))}),l},propertyNames:(r,e,t,n)=>{if(e.propertyNames===!1)return Object.keys(t).length===0?void 0:r.errors.invalidPropertyNameError({property:Object.keys(t),pointer:n,value:t});if(e.propertyNames===!0||ze(e.propertyNames)!=="object")return;const i=[],s=Object.keys(t),l={...e.propertyNames,type:"string"};return s.forEach(o=>{const a=r.validate(o,l,`${n}/${o}`);a.length>0&&i.push(r.errors.invalidPropertyNameError({property:o,pointer:n,validationError:a[0],value:t[o]}))}),i}};function rO(r,e,t=r.rootSchema,n="#"){let i=!1,s=vs(t);for(let l=0;le.properties[t]=tn(r[t]))),e.type==="array"&&r.length===1?e.items=tn(r[0]):e.type==="array"&&(e.items=r.map(tn)),e}function iO(r,e,t=r.rootSchema){const n=r.step(e,t,{},"#");return st(n)?n.code==="one-of-error"?n.data.oneOf.map(i=>r.resolveRef(i)):n:[n]}const Rf={array:(r,e,t,n,i)=>{const s=ze(t.items);if(s==="object")return Array.isArray(t.items.oneOf)?r.resolveOneOf(n[e],t.items,i):Array.isArray(t.items.anyOf)?r.resolveAnyOf(n[e],t.items,i):Array.isArray(t.items.allOf)?r.resolveAllOf(n[e],t.items,i):r.resolveRef(t.items);if(s==="array"){if(t.items[e]===!0)return tn(n[e]);if(t.items[e]===!1)return Ue.invalidDataError({key:e,value:n[e],pointer:i});if(t.items[e])return r.resolveRef(t.items[e]);if(t.additionalItems===!1)return Ue.additionalItemsError({key:e,value:n[e],pointer:i});if(t.additionalItems===!0||t.additionalItems===void 0)return tn(n[e]);if(ze(t.additionalItems)==="object")return t.additionalItems;throw new Error(`Invalid schema ${JSON.stringify(t,null,4)} for ${JSON.stringify(n,null,4)}`)}return t.additionalItems!==!1&&n[e]?tn(n[e]):new Error(`Invalid array schema for ${e} at ${i}`)},object:(r,e,t,n,i)=>{if(Array.isArray(t.oneOf)){const o=r.resolveOneOf(n,t,i);if(t=sr(t,o),st(t))return t}if(Array.isArray(t.anyOf)&&(t=r.resolveAnyOf(n,t,i),st(t))||Array.isArray(t.allOf)&&(t=r.resolveAllOf(n,t,i),st(t)))return t;let s;if(t.properties&&t.properties[e]!==void 0){if(s=r.resolveRef(t.properties[e]),st(s))return s;if(s&&Array.isArray(s.oneOf)){let o=r.resolveOneOf(n[e],s,`${i}/${e}`);const a=s.oneOf.findIndex(u=>u===o);return o.variableSchema=!0,o.oneOfIndex=a,o.oneOfSchema=s,o}if(s)return s}const{dependencies:l}=t;if(ze(l)==="object"){const o=Object.keys(l).filter(a=>ze(l[a])==="object");for(let a=0,u=o.length;ar.typeKeywords.array.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n)),object:(r,e,t,n)=>r.typeKeywords.object.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n)),string:(r,e,t,n)=>r.typeKeywords.string.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n)),integer:(r,e,t,n)=>r.typeKeywords.number.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n)),number:(r,e,t,n)=>r.typeKeywords.number.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n)),boolean:(r,e,t,n)=>r.typeKeywords.boolean.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n)),null:(r,e,t,n)=>r.typeKeywords.null.filter(i=>e&&e[i]!=null).map(i=>r.validateKeyword[i](r,e,t,n))};var sO=function r(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,i,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(!r(e[i],t[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[i]))return!1;for(i=n;i--!==0;){var l=s[i];if(!r(e[l],t[l]))return!1}return!0}return e!==e&&t!==t};const oO=dr(sO);function aO(r,e){const t=ze(r);return t==="number"&&(e==="integer"||Array.isArray(e)&&e.includes("integer"))?Number.isInteger(r)||isNaN(r)?"integer":"number":t}function uO(r,e,t=r.rootSchema,n="#"){if(t=r.resolveRef(t),ze(t)==="boolean")return t?[]:[r.errors.invalidDataError({value:e,pointer:n})];if(st(t))return[t];if(t.const!==void 0)return oO(t.const,e)?[]:[r.errors.constError({value:e,expected:t.const,pointer:n})];const i=aO(e,t.type),s=t.type||i;return i!==s&&(!Array.isArray(s)||!s.includes(i))?[r.errors.typeError({received:i,expected:s,value:e,pointer:n})]:r.validateType[i]==null?[r.errors.invalidTypeError({receivedType:i,pointer:n})]:ir(r.validateType[i](r,t,e,n)).filter(ai)}const hh={typeKeywords:{array:["allOf","anyOf","contains","enum","if","items","maxItems","minItems","not","oneOf","uniqueItems"],boolean:["allOf","anyOf","enum","not","oneOf"],object:["additionalProperties","allOf","anyOf","dependencies","enum","format","if","maxProperties","minProperties","not","oneOf","patternProperties","properties","propertyNames","required"],string:["allOf","anyOf","enum","format","if","maxLength","minLength","not","oneOf","pattern"],number:["allOf","anyOf","enum","exclusiveMaximum","exclusiveMinimum","format","if","maximum","minimum","multipleOf","not","oneOf"],null:["allOf","anyOf","enum","format","not","oneOf"]},validateKeyword:nO,validateType:lO,validateFormat:KS,errors:Ue,addRemoteSchema:YE,compileSchema:MS,createSchemaOf:tn,each:NS,eachSchema:fh,getChildSchemaSelection:iO,getSchema:ZE,getTemplate:xS,isValid:$S,resolveAllOf:HE,resolveAnyOf:rO,resolveOneOf:wE,resolveRef:WE,step:zr,validate:uO};class fO extends JE{constructor(e,t={}){super(sr(hh,t),e)}}({...hh});function Df(r,e,t){const n=r.slice();return n[10]=e[t],n[11]=e,n[12]=t,n}function Mf(r){let e,t,n=r[12]+1+"",i,s,l,o,a,u,f,c,h;function d(v){r[7](v,r[12])}let m={path:r[1]+"/"+r[12],schema:r[3],rootValue:r[2],validationErrors:r[4],customComponents:r[5],required:!0};r[0][r[12]]!==void 0&&(m.value=r[0][r[12]]),o=new Es({props:m}),Fe.push(()=>Ze(o,"value",d));function p(){return r[8](r[12])}return c=new jn({props:{size:"small",kind:"ghost",icon:Ud,expressive:!1,iconDescription:"Remove",tooltipPosition:"top",tooltipAlignment:"end"}}),c.$on("click",p),{c(){e=j("div"),t=j("div"),i=ce(n),s=$(),l=j("div"),U(o.$$.fragment),u=$(),f=j("div"),U(c.$$.fragment),this.h()},l(v){e=L(v,"DIV",{class:!0});var k=R(e);t=L(k,"DIV",{class:!0});var O=R(t);i=de(O,n),O.forEach(g),s=ee(k),l=L(k,"DIV",{class:!0});var E=R(l);Z(o.$$.fragment,E),E.forEach(g),u=ee(k),f=L(k,"DIV",{class:!0});var S=R(f);Z(c.$$.fragment,S),S.forEach(g),k.forEach(g),this.h()},h(){A(t,"class","mt-3 w-8 shrink-0 text-lg"),A(l,"class","flex w-full grow flex-col"),A(f,"class","mt-3"),A(e,"class","flex w-full flex-row")},m(v,k){P(v,e,k),I(e,t),I(t,i),I(e,s),I(e,l),H(o,l,null),I(e,u),I(e,f),H(c,f,null),h=!0},p(v,k){r=v;const O={};k&2&&(O.path=r[1]+"/"+r[12]),k&8&&(O.schema=r[3]),k&4&&(O.rootValue=r[2]),k&16&&(O.validationErrors=r[4]),k&32&&(O.customComponents=r[5]),!a&&k&1&&(a=!0,O.value=r[0][r[12]],xe(()=>a=!1)),o.$set(O)},i(v){h||(_(o.$$.fragment,v),_(c.$$.fragment,v),h=!0)},o(v){y(o.$$.fragment,v),y(c.$$.fragment,v),h=!1},d(v){v&&g(e),Q(o),Q(c)}}}function cO(r){let e,t,n,i,s,l,o,a,u=r[0]||[],f=[];for(let h=0;hy(f[h],1,1,()=>{f[h]=null});return{c(){e=j("div");for(let h=0;h0),A(e,"class","bx--form-item flex flex-col")},m(h,d){P(h,e,d);for(let m=0;m0)},i(h){if(!l){for(let d=0;d{s.splice(d,1),t(0,s)},h=()=>{t(0,s=[...s||[],n])};return r.$$set=d=>{"path"in d&&t(1,i=d.path),"value"in d&&t(0,s=d.value),"rootValue"in d&&t(2,l=d.rootValue),"schema"in d&&t(3,o=d.schema),"validationErrors"in d&&t(4,a=d.validationErrors),"customComponents"in d&&t(5,u=d.customComponents)},r.$$.update=()=>{r.$$.dirty&11&&t(6,n=o.getTemplate(void 0,o.getSchema(i+"/0",s)))},[s,i,l,o,a,u,n,f,c,h]}class hO extends me{constructor(e){super(),pe(this,e,dO,cO,he,{path:1,value:0,rootValue:2,schema:3,validationErrors:4,customComponents:5})}}function Nf(r,e,t){const n=r.slice();return n[25]=e[t],n[26]=e,n[27]=t,n}function jf(r,e,t){const n=r.slice();return n[21]=e[t],n}function mO(r){const e=r.slice(),t=Object.keys(e[11].properties??{});return e[24]=t,e}function Lf(r){let e,t,n,i,s,l,o;const a=[gO,pO],u=[];function f(p,v){return p[11].type==="object"?0:1}e=f(r),t=u[e]=a[e](r);const c=[wO,OO,SO,EO,kO,yO,vO,_O,bO],h=[];function d(p,v){return p[8][p[2]]?0:p[11].type=="error"?1:p[11].enum?2:p[11].type=="string"?3:p[11].type=="number"||p[11].type=="integer"?4:p[11].type=="boolean"?5:p[11].type=="array"?6:p[11].type=="object"?7:8}function m(p,v){return v===7?mO(p):p}return i=d(r),s=h[i]=c[i](m(r,i)),{c(){t.c(),n=$(),s.c(),l=G()},l(p){t.l(p),n=ee(p),s.l(p),l=G()},m(p,v){u[e].m(p,v),P(p,n,v),h[i].m(p,v),P(p,l,v),o=!0},p(p,v){let k=e;e=f(p),e===k?u[e].p(p,v):(ne(),y(u[k],1,1,()=>{u[k]=null}),re(),t=u[e],t?t.p(p,v):(t=u[e]=a[e](p),t.c()),_(t,1),t.m(n.parentNode,n));let O=i;i=d(p),i===O?h[i].p(m(p,i),v):(ne(),y(h[O],1,1,()=>{h[O]=null}),re(),s=h[i],s?s.p(m(p,i),v):(s=h[i]=c[i](m(p,i)),s.c()),_(s,1),s.m(l.parentNode,l))},i(p){o||(_(t),_(s),o=!0)},o(p){y(t),y(s),o=!1},d(p){u[e].d(p),p&&g(n),h[i].d(p),p&&g(l)}}}function pO(r){let e,t,n,i,s=r[11].description&&r[6]&&qf(r);return{c(){e=j("div"),t=ce(r[13]),n=$(),s&&s.c(),i=G(),this.h()},l(l){e=L(l,"DIV",{class:!0});var o=R(e);t=de(o,r[13]),o.forEach(g),n=ee(l),s&&s.l(l),i=G(),this.h()},h(){A(e,"class","label text-s mb-2 font-medium text-gray-700")},m(l,o){P(l,e,o),I(e,t),P(l,n,o),s&&s.m(l,o),P(l,i,o)},p(l,o){o&8192&&ve(t,l[13]),l[11].description&&l[6]?s?s.p(l,o):(s=qf(l),s.c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},i:ie,o:ie,d(l){l&&g(e),l&&g(n),s&&s.d(l),l&&g(i)}}}function gO(r){let e,t,n=r[11].description&&r[6]&&Bf(r);return{c(){n&&n.c(),e=G()},l(i){n&&n.l(i),e=G()},m(i,s){n&&n.m(i,s),P(i,e,s),t=!0},p(i,s){i[11].description&&i[6]?n?(n.p(i,s),s&2112&&_(n,1)):(n=Bf(i),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(ne(),y(n,1,1,()=>{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}function qf(r){let e,t=r[11].description+"",n;return{c(){e=j("div"),n=ce(t),this.h()},l(i){e=L(i,"DIV",{class:!0});var s=R(e);n=de(s,t),s.forEach(g),this.h()},h(){A(e,"class","bx--label pb-2 text-xs text-gray-500")},m(i,s){P(i,e,s),I(e,n)},p(i,s){s&2048&&t!==(t=i[11].description+"")&&ve(n,t)},d(i){i&&g(e)}}}function Bf(r){let e,t,n;return t=new Yd({props:{source:r[11].description}}),{c(){e=j("div"),U(t.$$.fragment),this.h()},l(i){e=L(i,"DIV",{class:!0});var s=R(e);Z(t.$$.fragment,s),s.forEach(g),this.h()},h(){A(e,"class","description mb-4")},m(i,s){P(i,e,s),H(t,e,null),n=!0},p(i,s){const l={};s&2048&&(l.source=i[11].description),t.$set(l)},i(i){n||(_(t.$$.fragment,i),n=!0)},o(i){y(t.$$.fragment,i),n=!1},d(i){i&&g(e),Q(t)}}}function bO(r){let e,t=JSON.stringify(r[11])+"",n;return{c(){e=ce("Unknown property: "),n=ce(t)},l(i){e=de(i,"Unknown property: "),n=de(i,t)},m(i,s){P(i,e,s),P(i,n,s)},p(i,s){s&2048&&t!==(t=JSON.stringify(i[11])+"")&&ve(n,t)},i:ie,o:ie,d(i){i&&g(e),i&&g(n)}}}function _O(r){let e,t,n=r[24],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lZe(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&4&&(a.path=l[2]),o&2&&(a.schema=l[1]),o&128&&(a.validationErrors=l[7]),o&256&&(a.customComponents=l[8]),o&16&&(a.rootValue=l[4]),!t&&o&1&&(t=!0,a.value=l[0],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function yO(r){let e,t,n,i;function s(o){r[18](o)}let l={labelA:"False",labelB:"True",labelText:r[13],hideLabel:!0};return r[0]!==void 0&&(l.toggled=r[0]),t=new qg({props:l}),Fe.push(()=>Ze(t,"toggled",s)),{c(){e=j("div"),U(t.$$.fragment)},l(o){e=L(o,"DIV",{});var a=R(e);Z(t.$$.fragment,a),a.forEach(g)},m(o,a){P(o,e,a),H(t,e,null),i=!0},p(o,a){const u={};a&8192&&(u.labelText=o[13]),!n&&a&1&&(n=!0,u.toggled=o[0],xe(()=>n=!1)),t.$set(u)},i(o){i||(_(t.$$.fragment,o),i=!0)},o(o){y(t.$$.fragment,o),i=!1},d(o){o&&g(e),Q(t)}}}function kO(r){let e,t,n;function i(l){r[17](l)}let s={allowEmpty:!r[3],name:r[2],label:r[13],hideLabel:!0,invalid:!r[0]&&r[3]};return r[9]!==void 0&&(s.value=r[9]),e=new zp({props:s}),Fe.push(()=>Ze(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&8&&(a.allowEmpty=!l[3]),o&4&&(a.name=l[2]),o&8192&&(a.label=l[13]),o&9&&(a.invalid=!l[0]&&l[3]),!t&&o&512&&(t=!0,a.value=l[9],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function EO(r){let e,t,n;function i(l){r[16](l)}let s={name:r[2],invalid:!!r[10].length,invalidText:r[12],labelText:r[13],hideLabel:!0,placeholder:r[3]?"":"(optional)"};return r[0]!==void 0&&(s.value=r[0]),e=new _n({props:s}),Fe.push(()=>Ze(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&4&&(a.name=l[2]),o&1024&&(a.invalid=!!l[10].length),o&4096&&(a.invalidText=l[12]),o&8192&&(a.labelText=l[13]),o&8&&(a.placeholder=l[3]?"":"(optional)"),!t&&o&1&&(t=!0,a.value=l[0],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function SO(r){let e,t,n;function i(l){r[15](l)}let s={name:r[2],labelText:r[13],hideLabel:!0,$$slots:{default:[AO]},$$scope:{ctx:r}};return r[0]!==void 0&&(s.selected=r[0]),e=new on({props:s}),Fe.push(()=>Ze(e,"selected",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&4&&(a.name=l[2]),o&8192&&(a.labelText=l[13]),o&268437512&&(a.$$scope={dirty:o,ctx:l}),!t&&o&1&&(t=!0,a.selected=l[0],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function OO(r){let e,t=r[11].message+"",n;return{c(){e=j("div"),n=ce(t),this.h()},l(i){e=L(i,"DIV",{class:!0});var s=R(e);n=de(s,t),s.forEach(g),this.h()},h(){A(e,"class","text-red-600")},m(i,s){P(i,e,s),I(e,n)},p(i,s){s&2048&&t!==(t=i[11].message+"")&&ve(n,t)},i:ie,o:ie,d(i){i&&g(e)}}}function wO(r){let e,t,n,i;function s(a){r[14](a)}var l=r[8][r[2]];function o(a){let u={rootValue:a[4],invalid:!!a[10].length,invalidText:a[12]};return a[0]!==void 0&&(u.value=a[0]),{props:u}}return l&&(e=je(l,o(r)),Fe.push(()=>Ze(e,"value",s))),{c(){e&&U(e.$$.fragment),n=G()},l(a){e&&Z(e.$$.fragment,a),n=G()},m(a,u){e&&H(e,a,u),P(a,n,u),i=!0},p(a,u){const f={};if(u&16&&(f.rootValue=a[4]),u&1024&&(f.invalid=!!a[10].length),u&4096&&(f.invalidText=a[12]),!t&&u&1&&(t=!0,f.value=a[0],xe(()=>t=!1)),u&260&&l!==(l=a[8][a[2]])){if(e){ne();const c=e;y(c.$$.fragment,1,0,()=>{Q(c,1)}),re()}l?(e=je(l,o(a)),Fe.push(()=>Ze(e,"value",s)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,n.parentNode,n)):e=null}else l&&e.$set(f)},i(a){i||(e&&_(e.$$.fragment,a),i=!0)},o(a){e&&y(e.$$.fragment,a),i=!1},d(a){a&&g(n),e&&Q(e,a)}}}function Ff(r){var a;let e,t,n,i,s;function l(u){r[20](u,r[25])}let o={path:r[2]+"/"+r[25],schema:r[1],hiddenProperties:r[5],validationErrors:r[7],customComponents:r[8],rootValue:r[4],required:(a=r[11].required)==null?void 0:a.includes(r[25])};return r[0][r[25]]!==void 0&&(o.value=r[0][r[25]]),t=new Es({props:o}),Fe.push(()=>Ze(t,"value",l)),{c(){e=j("div"),U(t.$$.fragment),i=$(),this.h()},l(u){e=L(u,"DIV",{class:!0});var f=R(e);Z(t.$$.fragment,f),i=ee(f),f.forEach(g),this.h()},h(){A(e,"class","mt-4 border-gray-300"),b(e,"border-b",r[27]n=!1)),t.$set(c),(!s||f&2048)&&b(e,"border-b",r[27]y(l[a],1,1,()=>{l[a]=null});return{c(){i&&i.c(),e=$();for(let a=0;a{i=null}),re()):i?(i.p(a,u),u&8&&_(i,1)):(i=zf(),i.c(),_(i,1),i.m(e.parentNode,e)),u&2048){s=a[11].enum;let f;for(f=0;f{i=null}),re())},i(l){n||(_(i),n=!0)},o(l){y(i),n=!1},d(l){i&&i.d(l),l&&g(t)}}}function PO(r,e,t){let n,i,s,{schema:l}=e,{path:o=""}=e,{required:a=!1}=e,{value:u}=e,{rootValue:f}=e,{hiddenProperties:c=[]}=e,{showDescription:h=!0}=e,{validationErrors:d=[]}=e,{customComponents:m}=e,p,v="";function k(w){u=w,t(0,u),t(9,p)}function O(w){u=w,t(0,u),t(9,p)}function E(w){u=w,t(0,u),t(9,p)}function S(w){p=w,t(9,p)}function C(w){u=w,t(0,u),t(9,p)}function T(w){u=w,t(0,u),t(9,p)}function D(w,B){r.$$.not_equal(u[B],w)&&(u[B]=w,t(0,u),t(9,p))}return r.$$set=w=>{"schema"in w&&t(1,l=w.schema),"path"in w&&t(2,o=w.path),"required"in w&&t(3,a=w.required),"value"in w&&t(0,u=w.value),"rootValue"in w&&t(4,f=w.rootValue),"hiddenProperties"in w&&t(5,c=w.hiddenProperties),"showDescription"in w&&t(6,h=w.showDescription),"validationErrors"in w&&t(7,d=w.validationErrors),"customComponents"in w&&t(8,m=w.customComponents)},r.$$.update=()=>{r.$$.dirty&512&&p!==void 0&&t(0,u=p===null?void 0:p),r.$$.dirty&1&&u===""&&t(0,u=void 0),r.$$.dirty&7&&t(11,n=l.getSchema(o,u||{})),r.$$.dirty&2056&&t(13,i=n.title?`${n.title} ${a?"*":""}`:""),r.$$.dirty&132&&t(10,s=d.filter(w=>{var B,M,F;return`${(B=w==null?void 0:w.data)==null?void 0:B.pointer}${(M=w==null?void 0:w.data)!=null&&M.key?"/"+((F=w==null?void 0:w.data)==null?void 0:F.key):""}`.replaceAll("#","")==o})),r.$$.dirty&1024&&(s.length==0?t(12,v=""):s[0].code==="min-length-one-error"||s[0].code==="required-property-error"?t(12,v="Value is required"):t(12,v=s[0].message))},[u,l,o,a,f,c,h,d,m,p,s,n,v,i,k,O,E,S,C,T,D]}class Es extends me{constructor(e){super(),pe(this,e,PO,TO,he,{schema:1,path:2,required:3,value:0,rootValue:4,hiddenProperties:5,showDescription:6,validationErrors:7,customComponents:8})}}function Uf(r){let e,t,n;function i(l){r[7](l)}let s={schema:r[5],hiddenProperties:r[2],showDescription:r[3],validationErrors:r[1],customComponents:r[4],rootValue:r[0]};return r[0]!==void 0&&(s.value=r[0]),e=new Es({props:s}),Fe.push(()=>Ze(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&32&&(a.schema=l[5]),o&4&&(a.hiddenProperties=l[2]),o&8&&(a.showDescription=l[3]),o&2&&(a.validationErrors=l[1]),o&16&&(a.customComponents=l[4]),o&1&&(a.rootValue=l[0]),!t&&o&1&&(t=!0,a.value=l[0],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function CO(r){let e,t,n=r[5]&&Uf(r);return{c(){n&&n.c(),e=G()},l(i){n&&n.l(i),e=G()},m(i,s){n&&n.m(i,s),P(i,e,s),t=!0},p(i,[s]){i[5]?n?(n.p(i,s),s&32&&_(n,1)):(n=Uf(i),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(ne(),y(n,1,1,()=>{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}function IO(r,e,t){let n,{schema:i}=e,{value:s={}}=e,{hiddenProperties:l=[]}=e,{validationErrors:o=[]}=e,{showDescription:a=!0}=e,{customComponents:u={}}=e;function f(h){t(0,s=h.getTemplate(s,void 0,{addOptionalProps:!1}));for(const[d,m]of Object.entries(i.properties||{})){const p=m.default;p&&s[d]!=p&&t(0,s[d]=p,s)}}function c(h){s=h,t(0,s)}return r.$$set=h=>{"schema"in h&&t(6,i=h.schema),"value"in h&&t(0,s=h.value),"hiddenProperties"in h&&t(2,l=h.hiddenProperties),"validationErrors"in h&&t(1,o=h.validationErrors),"showDescription"in h&&t(3,a=h.showDescription),"customComponents"in h&&t(4,u=h.customComponents)},r.$$.update=()=>{r.$$.dirty&64&&t(5,n=typeof i=="object"?new fO(i):null),r.$$.dirty&32&&n&&f(n),r.$$.dirty&33&&t(1,o=n?n.validate(s):[])},[s,o,l,a,u,n,i,c]}class RO extends me{constructor(e){super(),pe(this,e,IO,CO,he,{schema:6,value:0,hiddenProperties:2,validationErrors:1,showDescription:3,customComponents:4})}}function DO(r,e,t){let{value:n}=e;return r.$$set=i=>{"value"in i&&t(0,n=i.value)},[n]}class MO extends me{constructor(e){super(),pe(this,e,DO,null,he,{value:0})}}function Hf(r,e,t){const n=r.slice();return n[9]=e[t],n}function Qf(r,e,t){const n=r.slice();return n[12]=e[t],n}function Wf(r){let e,t,n=r[5],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}function LO(r){let e,t;return e=new on({props:{labelText:"Concept *",selected:`${r[0].namespace}/${r[1]}`,invalid:r[2],invalidText:r[3],$$slots:{default:[jO]},$$scope:{ctx:r}}}),e.$on("update",r[7]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,[i]){const s={};i&3&&(s.selected=`${n[0].namespace}/${n[1]}`),i&4&&(s.invalid=n[2]),i&8&&(s.invalidText=n[3]),i&32816&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function qO(r,e,t){let n,i,s,{rootValue:l}=e,{invalid:o}=e,{invalidText:a}=e,{value:u}=e;const f=j1();Xe(r,f,h=>t(4,s=h));function c(h){const[d,m]=h.detail.toString().split("/");!d||!m||(t(0,l.namespace=d,l),t(1,u=m))}return r.$$set=h=>{"rootValue"in h&&t(0,l=h.rootValue),"invalid"in h&&t(2,o=h.invalid),"invalidText"in h&&t(3,a=h.invalidText),"value"in h&&t(1,u=h.value)},r.$$.update=()=>{r.$$.dirty&16&&t(8,n=s.isSuccess?[...new Set(s.data.map(h=>h.namespace))]:[]),r.$$.dirty&272&&t(5,i=s.isSuccess?n.map(h=>{var d;return{namespace:h,concepts:((d=s.data)==null?void 0:d.filter(m=>m.namespace===h))||[]}}):[]),r.$$.dirty&19&&(!u||!l.namespace)&&s.isSuccess&&(t(0,l.namespace=s.data[0].namespace,l),t(1,u=s.data[0].name))},[l,u,o,a,s,i,f,c,n]}class BO extends me{constructor(e){super(),pe(this,e,qO,LO,he,{rootValue:0,invalid:2,invalidText:3,value:1})}}function Zf(r,e,t){var s;const n=r.slice();n[16]=e[t];const i=(s=n[3])==null?void 0:s.some(function(...o){return r[14](n[16],...o)});return n[4]=i,n}function Jf(r){var n,i;let e,t;return e=new an({props:{value:(n=r[16])==null?void 0:n.toString(),text:(i=r[16])==null?void 0:i.toString(),disabled:!r[4]}}),{c(){U(e.$$.fragment)},l(s){Z(e.$$.fragment,s)},m(s,l){H(e,s,l),t=!0},p(s,l){var a,u;const o={};l&64&&(o.value=(a=s[16])==null?void 0:a.toString()),l&64&&(o.text=(u=s[16])==null?void 0:u.toString()),l&72&&(o.disabled=!s[4]),e.$set(o)},i(s){t||(_(e.$$.fragment,s),t=!0)},o(s){y(e.$$.fragment,s),t=!1},d(s){Q(e,s)}}}function FO(r){let e,t,n=r[6],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lt(15,f=E));const p=rs(f.namespace,f.datasetName);Xe(r,p,E=>t(13,u=E));const v=m3();Xe(r,v,E=>t(12,a=E));function k(E){t(0,d=E.target.value)}const O=(E,S)=>{var C;return((C=S.signal)==null?void 0:C.signal_name)===(E==null?void 0:E.toString())};return r.$$set=E=>{"invalid"in E&&t(1,c=E.invalid),"invalidText"in E&&t(2,h=E.invalidText),"value"in E&&t(0,d=E.value)},r.$$.update=()=>{var E,S,C;r.$$.dirty&4096&&t(11,n=(S=(E=a.jsonSchema)==null?void 0:E.properties)==null?void 0:S.embedding),r.$$.dirty&12288&&t(3,i=a.path&&u.data?ft(Tc(u.data,a.path)).filter(T=>T.signal!=null&&ft(T).some(D=>D.dtype==="embedding")):void 0),r.$$.dirty&2056&&t(6,s=[...(n==null?void 0:n.enum)||[]].sort((T,D)=>{const w=i==null?void 0:i.some(M=>{var F;return((F=M.signal)==null?void 0:F.signal_name)===(T==null?void 0:T.toString())}),B=i==null?void 0:i.some(M=>{var F;return((F=M.signal)==null?void 0:F.signal_name)===(D==null?void 0:D.toString())});return w&&!B?-1:!w&&B?1:0})),r.$$.dirty&8&&i!=null&&i.length&&(C=i[0].signal)!=null&&C.signal_name&&t(0,d=i[0].signal.signal_name),r.$$.dirty&9&&t(4,l=(i==null?void 0:i.some(T=>{var D;return((D=T.signal)==null?void 0:D.signal_name)===(d==null?void 0:d.toString())}))||!1),r.$$.dirty&16&&t(5,o=l?void 0:"Embedding not pre-computed for this split")},[d,c,h,i,l,o,s,m,p,v,k,n,a,u,O]}class UO extends me{constructor(e){super(),pe(this,e,VO,zO,he,{invalid:1,invalidText:2,value:0})}}function HO(r){let e,t;return e=new pr({props:{skeleton:!0}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function QO(r){let e,t;return e=new pr({props:{items:r[1].data.map(Yf),item:r[0]}}),e.$on("select",r[3]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&2&&(s.items=n[1].data.map(Yf)),i&1&&(s.item=n[0]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function WO(r){let e,t,n,i;const s=[QO,HO],l=[];function o(a,u){return a[1].isSuccess?0:a[1].isLoading?1:-1}return~(e=o(r))&&(t=l[e]=s[e](r)),{c(){t&&t.c(),n=G()},l(a){t&&t.l(a),n=G()},m(a,u){~e&&l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?~e&&l[e].p(a,u):(t&&(ne(),y(l[f],1,1,()=>{l[f]=null}),re()),~e?(t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n)):t=null)},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){~e&&l[e].d(a),a&&g(n)}}}const Yf=r=>({title:r.json_schema.title||"Unnamed embedding",value:r});function GO(r,e,t){let n,{embedding:i=void 0}=e;const s=F1();Xe(r,s,o=>t(1,n=o));const l=o=>t(0,i=o.detail);return r.$$set=o=>{"embedding"in o&&t(0,i=o.embedding)},r.$$.update=()=>{var o;r.$$.dirty&3&&n.isSuccess&&!i&&t(0,i=(o=n.data)==null?void 0:o[0])},[i,n,s,l]}class KO extends me{constructor(e){super(),pe(this,e,GO,WO,he,{embedding:0})}}function Xf(r,e,t){const n=r.slice();return n[13]=e[t],n}function ZO(r){let e,t,n;function i(l){r[12](l)}let s={labelText:r[0],helperText:r[1],required:!0,$$slots:{default:[xO]},$$scope:{ctx:r}};return r[2]!==void 0&&(s.selected=r[2]),e=new on({props:s}),Fe.push(()=>Ze(e,"selected",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&1&&(a.labelText=l[0]),o&2&&(a.helperText=l[1]),o&65568&&(a.$$scope={dirty:o,ctx:l}),!t&&o&4&&(t=!0,a.selected=l[2],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function JO(r){let e,t;return e=new on({props:{invalid:!0,invalidText:"No valid fields found"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function YO(r){let e,t;return e=new Kl({}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function xf(r){let e,t;return e=new cc({props:{label:"Source Fields",$$slots:{default:[XO]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&65568&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function $f(r){let e,t;return e=new an({props:{value:ht(r[13].path),disabled:!1,text:ec(r[13])}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&32&&(s.value=ht(n[13].path)),i&32&&(s.text=ec(n[13])),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function XO(r){let e,t,n=r[5],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{n=null}),re())},i(s){t||(_(n),t=!0)},o(s){y(n),t=!1},d(s){n&&n.d(s),s&&g(e)}}}function $O(r){let e,t,n,i;const s=[YO,JO,ZO],l=[];function o(a,u){var f;return a[4].isLoading?0:((f=a[3])==null?void 0:f.length)===0?1:2}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function ec(r){return`${r.path.join(".")} (${r.dtype})`}function e3(r,e,t){let n,i,s,l,o=ie,a=()=>(o(),o=Vl(n,O=>t(4,l=O)),n),u;r.$$.on_destroy.push(()=>o());let{labelText:f="Field"}=e,{helperText:c=void 0}=e,{filter:h=void 0}=e,{defaultPath:d=void 0}=e,{path:m=void 0}=e;const p=ki();Xe(r,p,O=>t(11,u=O));let v;function k(O){v=O,t(2,v),t(10,d),t(3,i),t(4,l),t(9,h)}return r.$$set=O=>{"labelText"in O&&t(0,f=O.labelText),"helperText"in O&&t(1,c=O.helperText),"filter"in O&&t(9,h=O.filter),"defaultPath"in O&&t(10,d=O.defaultPath),"path"in O&&t(8,m=O.path)},r.$$.update=()=>{if(r.$$.dirty&2048&&a(t(6,n=rs(u.namespace,u.datasetName))),r.$$.dirty&528&&t(3,i=l.isSuccess?ft(l.data).filter(O=>O.path.length>0).filter(O=>h?h(O):!0):null),r.$$.dirty&24&&t(5,s=i==null?void 0:i.filter(O=>l.data&&!Kr(O,l.data))),r.$$.dirty&1036&&d&&i&&!v){const O=i.find(E=>At(E.path,d));O&&t(2,v=ht(O.path))}if(r.$$.dirty&24&&!(i!=null&&i.length)&&l.isSuccess&&t(8,m=void 0),r.$$.dirty&12&&i&&v&&(i.some(E=>ht(E.path)===v)||t(2,v=ht(i[0].path))),r.$$.dirty&12&&i){const O=i==null?void 0:i.find(E=>ht(E.path)===v);O&&t(8,m=O.path)}},[f,c,v,i,l,s,n,p,m,h,d,u,k]}class t3 extends me{constructor(e){super(),pe(this,e,e3,$O,he,{labelText:0,helperText:1,filter:9,defaultPath:10,path:8})}}function n3(r){let e,t;return e=new pr({props:{skeleton:!0}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function r3(r){let e,t;return e=new pr({props:{items:r[1].map(tc),item:r[0]}}),e.$on("select",r[5]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&2&&(s.items=n[1].map(tc)),i&1&&(s.item=n[0]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function i3(r){let e,t,n,i;const s=[r3,n3],l=[];function o(a,u){return a[1]?0:a[2].isLoading?1:-1}return~(e=o(r))&&(t=l[e]=s[e](r)),{c(){t&&t.c(),n=G()},l(a){t&&t.l(a),n=G()},m(a,u){~e&&l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?~e&&l[e].p(a,u):(t&&(ne(),y(l[f],1,1,()=>{l[f]=null}),re()),~e?(t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n)):t=null)},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){~e&&l[e].d(a),a&&g(n)}}}const tc=r=>({title:r.json_schema.title||"Unnamed signal",value:r});function l3(r,e,t){let n,i,{defaultSignal:s=void 0}=e,{signal:l=void 0}=e;const o=B1();Xe(r,o,u=>t(2,i=u));const a=u=>t(0,l=u.detail);return r.$$set=u=>{"defaultSignal"in u&&t(4,s=u.defaultSignal),"signal"in u&&t(0,l=u.signal)},r.$$.update=()=>{var u;r.$$.dirty&4&&t(1,n=(u=i.data)==null?void 0:u.filter(f=>f.name!="concept_score"&&f.name!="concept_labels")),r.$$.dirty&19&&n&&!l&&t(0,l=n.find(f=>f.name===s)||n[0])},[l,n,i,o,s,a]}class s3 extends me{constructor(e){super(),pe(this,e,l3,i3,he,{defaultSignal:4,signal:0})}}function o3(r){let e,t,n;function i(l){r[13](l)}let s={defaultSignal:r[0].signalName};return r[2]!==void 0&&(s.signal=r[2]),e=new s3({props:s}),Fe.push(()=>Ze(e,"signal",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};o&1&&(a.defaultSignal=l[0].signalName),!t&&o&4&&(t=!0,a.signal=l[2],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function a3(r){let e,t,n;function i(l){r[12](l)}let s={};return r[2]!==void 0&&(s.embedding=r[2]),e=new KO({props:s}),Fe.push(()=>Ze(e,"embedding",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};!t&&o&4&&(t=!0,a.embedding=l[2],xe(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function u3(r){let e;return{c(){e=ce("No signal selected")},l(t){e=de(t,"No signal selected")},m(t,n){P(t,e,n)},p:ie,i:ie,o:ie,d(t){t&&g(e)}}}function f3(r){let e=r[2],t,n,i=nc(r);return{c(){i.c(),t=G()},l(s){i.l(s),t=G()},m(s,l){i.m(s,l),P(s,t,l),n=!0},p(s,l){l&4&&he(e,e=s[2])?(ne(),y(i,1,1,ie),re(),i=nc(s),i.c(),_(i,1),i.m(t.parentNode,t)):i.p(s,l)},i(s){n||(_(i),n=!0)},o(s){y(i),n=!1},d(s){s&&g(t),i.d(s)}}}function nc(r){var v,k,O;let e,t,n,i,s,l,o,a,u,f;t=new Yd({props:{source:r[2].json_schema.description}});function c(E){r[14](E)}let h={filter:r[6],defaultPath:r[0].path,labelText:"Field"};r[1]!==void 0&&(h.path=r[1]),i=new t3({props:h}),Fe.push(()=>Ze(i,"path",c));function d(E){r[15](E)}function m(E){r[16](E)}let p={schema:r[2].json_schema,showDescription:!1,hiddenProperties:["/signal_name"],customComponents:r[9][(v=r[2])==null?void 0:v.name]};return r[3][(k=r[2])==null?void 0:k.name]!==void 0&&(p.value=r[3][(O=r[2])==null?void 0:O.name]),r[4]!==void 0&&(p.validationErrors=r[4]),o=new RO({props:p}),Fe.push(()=>Ze(o,"value",d)),Fe.push(()=>Ze(o,"validationErrors",m)),{c(){e=j("div"),U(t.$$.fragment),n=$(),U(i.$$.fragment),l=$(),U(o.$$.fragment)},l(E){e=L(E,"DIV",{});var S=R(e);Z(t.$$.fragment,S),S.forEach(g),n=ee(E),Z(i.$$.fragment,E),l=ee(E),Z(o.$$.fragment,E)},m(E,S){P(E,e,S),H(t,e,null),P(E,n,S),H(i,E,S),P(E,l,S),H(o,E,S),f=!0},p(E,S){var w,B;const C={};S&4&&(C.source=E[2].json_schema.description),t.$set(C);const T={};S&64&&(T.filter=E[6]),S&1&&(T.defaultPath=E[0].path),!s&&S&2&&(s=!0,T.path=E[1],xe(()=>s=!1)),i.$set(T);const D={};S&4&&(D.schema=E[2].json_schema),S&4&&(D.customComponents=E[9][(w=E[2])==null?void 0:w.name]),!a&&S&12&&(a=!0,D.value=E[3][(B=E[2])==null?void 0:B.name],xe(()=>a=!1)),!u&&S&16&&(u=!0,D.validationErrors=E[4],xe(()=>u=!1)),o.$set(D)},i(E){f||(_(t.$$.fragment,E),_(i.$$.fragment,E),_(o.$$.fragment,E),f=!0)},o(E){y(t.$$.fragment,E),y(i.$$.fragment,E),y(o.$$.fragment,E),f=!1},d(E){E&&g(e),Q(t),E&&g(n),Q(i,E),E&&g(l),Q(o,E)}}}function c3(r){let e,t,n,i,s,l,o,a,u;const f=[a3,o3],c=[];function h(v,k){return v[0].command===nt.ComputeEmbedding?0:1}n=h(r),i=c[n]=f[n](r);const d=[f3,u3],m=[];function p(v,k){return v[2]?0:1}return o=p(r),a=m[o]=d[o](r),{c(){e=j("div"),t=j("div"),i.c(),s=$(),l=j("div"),a.c(),this.h()},l(v){e=L(v,"DIV",{class:!0});var k=R(e);t=L(k,"DIV",{class:!0});var O=R(t);i.l(O),O.forEach(g),s=ee(k),l=L(k,"DIV",{class:!0});var E=R(l);a.l(E),E.forEach(g),k.forEach(g),this.h()},h(){A(t,"class","-ml-4 mr-4 w-96 grow-0"),A(l,"class","flex w-full flex-col gap-y-6 rounded border border-gray-300 bg-white p-4"),A(e,"class","flex flex-row")},m(v,k){P(v,e,k),I(e,t),c[n].m(t,null),I(e,s),I(e,l),m[o].m(l,null),u=!0},p(v,k){let O=n;n=h(v),n===O?c[n].p(v,k):(ne(),y(c[O],1,1,()=>{c[O]=null}),re(),i=c[n],i?i.p(v,k):(i=c[n]=f[n](v),i.c()),_(i,1),i.m(t,null));let E=o;o=p(v),o===E?m[o].p(v,k):(ne(),y(m[E],1,1,()=>{m[E]=null}),re(),a=m[o],a?a.p(v,k):(a=m[o]=d[o](v),a.c()),_(a,1),a.m(l,null))},i(v){u||(_(i),_(a),u=!0)},o(v){y(i),y(a),u=!1},d(v){v&&g(e),c[n].d(),m[o].d()}}}function d3(r){let e,t,n,i,s,l;return e=new Ql({props:{title:r[5]}}),n=new Wl({props:{hasForm:!0,$$slots:{default:[c3]},$$scope:{ctx:r}}}),s=new Gl({props:{primaryButtonText:r[0].command===nt.ComputeSignal||r[0].command===nt.ComputeEmbedding?"Compute":"Preview",secondaryButtonText:"Cancel",primaryButtonDisabled:r[4].length>0||!r[1]}}),s.$on("click:button--secondary",r[11]),{c(){U(e.$$.fragment),t=$(),U(n.$$.fragment),i=$(),U(s.$$.fragment)},l(o){Z(e.$$.fragment,o),t=ee(o),Z(n.$$.fragment,o),i=ee(o),Z(s.$$.fragment,o)},m(o,a){H(e,o,a),P(o,t,a),H(n,o,a),P(o,i,a),H(s,o,a),l=!0},p(o,a){const u={};a&32&&(u.title=o[5]),e.$set(u);const f={};a&8388703&&(f.$$scope={dirty:a,ctx:o}),n.$set(f);const c={};a&1&&(c.primaryButtonText=o[0].command===nt.ComputeSignal||o[0].command===nt.ComputeEmbedding?"Compute":"Preview"),a&18&&(c.primaryButtonDisabled=o[4].length>0||!o[1]),s.$set(c)},i(o){l||(_(e.$$.fragment,o),_(n.$$.fragment,o),_(s.$$.fragment,o),l=!0)},o(o){y(e.$$.fragment,o),y(n.$$.fragment,o),y(s.$$.fragment,o),l=!1},d(o){Q(e,o),o&&g(t),Q(n,o),o&&g(i),Q(s,o)}}}function h3(r){let e,t;return e=new Hl({props:{open:!0,$$slots:{default:[d3]},$$scope:{ctx:r}}}),e.$on("submit",r[10]),e.$on("close",r[11]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,[i]){const s={};i&8388735&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}const mh="COMMAND_SIGNAL_CONTEXT";function m3(){return kt(mh)}function p3(r,e){const t=mt({path:r,jsonSchema:e});return sn(mh,t),t}function g3(r,e,t){let n,i,s,l,o,{command:a}=e,u=a.path,f,c={},h=[];(a.command===nt.EditPreviewConcept||a.command==nt.ComputeSignalCommand)&&a.signalName&&(c={[a.signalName]:{...a.value}});const d=p3(u,f==null?void 0:f.json_schema);Xe(r,d,M=>t(19,o=M));const m=ki(),p=ct(),v=M1();Xe(r,v,M=>t(18,l=M));const k={concept_score:{"/namespace":MO,"/concept_name":BO,"/embedding":UO}};function O(M){M in c||t(3,c[M]={},c),t(3,c[M].signal_name=M,c)}function E(){n&&(a.command===nt.ComputeSignal||a.command===nt.ComputeEmbedding?l.mutate([a.namespace,a.datasetName,{leaf_path:u||[],signal:n}]):a.command===nt.PreviewConcept?u&&m.addUdfColumn({path:u,signal_udf:n}):a.command===nt.EditPreviewConcept&&u&&m.editUdfColumn({path:u,signal_udf:n}),S())}function S(){p("close")}function C(M){f=M,t(2,f)}function T(M){f=M,t(2,f)}function D(M){u=M,t(1,u)}function w(M){r.$$.not_equal(c[f==null?void 0:f.name],M)&&(c[f==null?void 0:f.name]=M,t(3,c))}function B(M){h=M,t(4,h)}return r.$$set=M=>{"command"in M&&t(0,a=M.command)},r.$$.update=()=>{r.$$.dirty&2&&Vr(d,o.path=u,o),r.$$.dirty&4&&Vr(d,o.jsonSchema=f==null?void 0:f.json_schema,o),r.$$.dirty&4&&f!=null&&f.name&&O(f.name),r.$$.dirty&12&&(n=f!=null&&f.name?c[f.name]:void 0),r.$$.dirty&4&&t(6,i=M=>M.dtype?f!=null&&f.input_type?E1[f.input_type].includes(M.dtype):!0:!1),r.$$.dirty&1&&t(5,s=a.command===nt.ComputeSignal?"Compute Signal":a.command===nt.ComputeEmbedding?"Compute Embedding":"Preview Signal")},[a,u,f,c,h,s,i,d,v,k,E,S,C,T,D,w,B]}class b3 extends me{constructor(e){super(),pe(this,e,g3,h3,he,{command:0})}}function _3(r){let e,t;return e=new Hy({props:{command:r[0]}}),e.$on("close",Os),e.$on("create",function(){wh(r[0].onCreate)&&r[0].onCreate.apply(this,arguments)}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){r=n;const s={};i&1&&(s.command=r[0]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function v3(r){let e,t;return e=new o2({props:{command:r[0]}}),e.$on("close",Os),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&1&&(s.command=n[0]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function y3(r){let e,t;return e=new b3({props:{command:r[0]}}),e.$on("close",Os),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&1&&(s.command=n[0]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function k3(r){let e,t,n,i;const s=[y3,v3,_3],l=[];function o(a,u){return a[0].command===nt.ComputeSignal||a[0].command===nt.ComputeEmbedding||a[0].command===nt.PreviewConcept||a[0].command===nt.EditPreviewConcept?0:a[0].command===nt.EditFilter?1:a[0].command===nt.CreateConcept?2:-1}return~(e=o(r))&&(t=l[e]=s[e](r)),{c(){t&&t.c(),n=G()},l(a){t&&t.l(a),n=G()},m(a,u){~e&&l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?~e&&l[e].p(a,u):(t&&(ne(),y(l[f],1,1,()=>{l[f]=null}),re()),~e?(t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n)):t=null)},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){~e&&l[e].d(a),a&&g(n)}}}var nt=(r=>(r.ComputeSignal="computeSignal",r.PreviewConcept="previewConcept",r.EditPreviewConcept="editPreviewConcept",r.EditFilter="editFilter",r.CreateConcept="createConcept",r.ComputeEmbedding="computeEmbedding",r.ComputeSignalCommand="computeSignal",r))(nt||{});function hw(r){Ss.set(r)}let Ss=mt({});function Os(){Ss.set({})}function E3(r,e,t){let n,i;return Xe(r,Ss,s=>t(1,i=s)),r.$$.update=()=>{r.$$.dirty&2&&t(0,n=i)},[n,i]}class mw extends me{constructor(e){super(),pe(this,e,E3,k3,he,{})}}export{Q3 as $,Wy as A,jn as B,nt as C,D3 as D,Ud as E,cc as F,Y3 as G,N3 as H,At as I,q3 as J,rs as K,Pc as L,dy as M,Z3 as N,uc as O,ac as P,xg as Q,M1 as R,on as S,qg as T,F1 as U,Gi as V,H3 as W,Kr as X,P1 as Y,w1 as Z,C3 as _,an as a,I1 as a$,P3 as a0,K3 as a1,rm as a2,Gr as a3,ft as a4,mn as a5,Hl as a6,X3 as a7,U3 as a8,k1 as a9,Tc as aA,gm as aB,Ul as aC,hp as aD,tp as aE,r1 as aF,F3 as aG,V3 as aH,z3 as aI,Ic as aJ,RO as aK,ic as aL,ur as aM,hi as aN,rw as aO,Yd as aP,MO as aQ,BO as aR,UO as aS,Oi as aT,Ir as aU,I3 as aV,oc as aW,sc as aX,Be as aY,qe as aZ,Ht as a_,Ql as aa,Wl as ab,Gl as ac,pr as ad,_n as ae,Kl as af,G3 as ag,J3 as ah,uw as ai,cw as aj,aw as ak,fw as al,M3 as am,W3 as an,N1 as ao,hy as ap,cy as aq,ew as ar,$3 as as,iw as at,nw as au,ol as av,Ac as aw,T1 as ax,q1 as ay,B3 as az,R1 as b,Qt as b0,$e as b1,Um as b2,mw as b3,Rh as c,_g as d,D1 as e,j1 as f,ow as g,Oy as h,B1 as i,rt as j,sw as k,lw as l,ma as m,tw as n,L3 as o,fy as p,j3 as q,x3 as r,T3 as s,hw as t,Qy as u,_y as v,ki as w,R3 as x,rn as y,ht as z};
diff --git a/lilac/web/_app/immutable/chunks/Commands.8ebd7b3f.js b/lilac/web/_app/immutable/chunks/Commands.8ebd7b3f.js
new file mode 100644
index 0000000000000000000000000000000000000000..beaaf6c3f296d1c7f25bfb33245057837ec7ac31
--- /dev/null
+++ b/lilac/web/_app/immutable/chunks/Commands.8ebd7b3f.js
@@ -0,0 +1,93 @@
+var gh=Object.defineProperty;var bh=(r,e,t)=>e in r?gh(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var Ds=(r,e,t)=>(bh(r,typeof e!="symbol"?e+"":e,t),t),Ms=(r,e,t)=>{if(!e.has(r))throw TypeError("Cannot "+t)};var He=(r,e,t)=>(Ms(r,e,"read from private field"),t?t.call(r):e.get(r)),Jt=(r,e,t)=>{if(e.has(r))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(r):e.set(r,t)},St=(r,e,t,n)=>(Ms(r,e,"write to private field"),n?n.call(r,t):e.set(r,t),t);import{S as me,i as pe,s as he,e as G,b as P,a1 as ie,h as g,N as ge,E as J,Q as Te,R as X,k as j,l as L,m as R,F as we,G as b,H as W,L as Ne,M as Ge,a4 as et,p as Cn,q as ce,r as de,a0 as I,v as ne,d as y,f as re,g as _,ah as di,ai as kt,w as qe,D as Ie,x as je,a as $,y as U,c as ee,z as Z,A as H,I as Re,J as De,K as Me,B as Q,V as Nt,u as ve,C as ct,n as T,Z as Ee,_ as Se,$ as We,o as ln,ac as _h,O as xe,P as sn,t as vh,j as Fl,a8 as Vr,ad as Ns,al as js,am as zl,a2 as yh,ae as kh,T as Ke,a7 as Eh,U as Je,ab as Vl,a5 as Ls,ap as Sh,ar as Oh,aa as wh}from"./index.b7741aa8.js";import{w as mt,r as Ur,d as rc}from"./index.d3776286.js";function qs(r,e,t){const n=r.slice();return n[2]=e[t].width,n}function Ah(r){let e,t,n,i,s=[r[4],{style:t="width: "+r[2]+";"+r[4].style}],l={};for(let o=0;o{e=J(J({},e),Te(C)),t(4,o=ge(e,l)),"lines"in C&&t(5,a=C.lines),"heading"in C&&t(0,u=C.heading),"paragraph"in C&&t(1,f=C.paragraph),"width"in C&&t(2,c=C.width)},r.$$.update=()=>{if(r.$$.dirty&4&&t(7,i=parseInt(c,10)),r.$$.dirty&4&&t(6,s=c.includes("px")),r.$$.dirty&238&&f)for(let C=0;C{e=J(J({},e),Te(p)),t(2,i=ge(e,n)),"href"in p&&t(0,s=p.href),"size"in p&&t(1,l=p.size)},[s,l,i,o,a,u,f,c,h,d,m]}class Lh extends me{constructor(e){super(),pe(this,e,jh,Nh,he,{href:0,size:1})}}const qh=Lh,Bh=r=>({props:r[0]&512}),Fs=r=>({props:r[9]});function Fh(r){let e,t,n,i,s,l,o=r[8]&&zs(r);const a=r[19].default,u=Ie(a,r,r[18],null);var f=r[2];function c(m){return{props:{"aria-hidden":"true",class:"bx--btn__icon",style:m[8]?"margin-left: 0":void 0,"aria-label":m[3]}}}f&&(n=je(f,c(r)));let h=[r[9]],d={};for(let m=0;m{Q(k,1)}),re()}f?(n=je(f,c(m)),U(n.$$.fragment),_(n.$$.fragment,1),H(n,e,null)):n=null}else f&&n.$set(v);we(e,d=Ne(h,[p[0]&512&&m[9]]))},i(m){i||(_(u,m),n&&_(n.$$.fragment,m),i=!0)},o(m){y(u,m),n&&y(n.$$.fragment,m),i=!1},d(m){m&&g(e),o&&o.d(),u&&u.d(m),n&&Q(n),r[33](null),s=!1,Ge(l)}}}function zh(r){let e,t,n,i,s,l,o=r[8]&&Vs(r);const a=r[19].default,u=Ie(a,r,r[18],null);var f=r[2];function c(m){return{props:{"aria-hidden":"true",class:"bx--btn__icon","aria-label":m[3]}}}f&&(n=je(f,c(r)));let h=[r[9]],d={};for(let m=0;m{Q(k,1)}),re()}f?(n=je(f,c(m)),U(n.$$.fragment),_(n.$$.fragment,1),H(n,e,null)):n=null}else f&&n.$set(v);we(e,d=Ne(h,[p[0]&512&&m[9]]))},i(m){i||(_(u,m),n&&_(n.$$.fragment,m),i=!0)},o(m){y(u,m),n&&y(n.$$.fragment,m),i=!1},d(m){m&&g(e),o&&o.d(),u&&u.d(m),n&&Q(n),r[32](null),s=!1,Ge(l)}}}function Vh(r){let e;const t=r[19].default,n=Ie(t,r,r[18],Fs);return{c(){n&&n.c()},l(i){n&&n.l(i)},m(i,s){n&&n.m(i,s),e=!0},p(i,s){n&&n.p&&(!e||s[0]&262656)&&Re(n,t,i,i[18],e?Me(t,i[18],s,Bh):De(i[18]),Fs)},i(i){e||(_(n,i),e=!0)},o(i){y(n,i),e=!1},d(i){n&&n.d(i)}}}function Uh(r){let e,t;const n=[{href:r[7]},{size:r[1]},r[10],{style:r[8]&&"width: 3rem;"}];let i={};for(let s=0;s{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function Qh(r,e,t){let n,i;const s=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let l=ge(e,s),{$$slots:o={},$$scope:a}=e;const u=di(o);let{kind:f="primary"}=e,{size:c="default"}=e,{expressive:h=!1}=e,{isSelected:d=!1}=e,{icon:m=void 0}=e,{iconDescription:p=void 0}=e,{tooltipAlignment:v="center"}=e,{tooltipPosition:k="bottom"}=e,{as:O=!1}=e,{skeleton:E=!1}=e,{disabled:S=!1}=e,{href:C=void 0}=e,{tabindex:A="0"}=e,{type:D="button"}=e,{ref:w=null}=e;const B=kt("ComposedModal");function M(se){X.call(this,r,se)}function F(se){X.call(this,r,se)}function q(se){X.call(this,r,se)}function N(se){X.call(this,r,se)}function Y(se){X.call(this,r,se)}function V(se){X.call(this,r,se)}function K(se){X.call(this,r,se)}function oe(se){X.call(this,r,se)}function fe(se){X.call(this,r,se)}function x(se){X.call(this,r,se)}function te(se){X.call(this,r,se)}function ke(se){X.call(this,r,se)}function z(se){qe[se?"unshift":"push"](()=>{w=se,t(0,w)})}function _e(se){qe[se?"unshift":"push"](()=>{w=se,t(0,w)})}return r.$$set=se=>{e=J(J({},e),Te(se)),t(10,l=ge(e,s)),"kind"in se&&t(11,f=se.kind),"size"in se&&t(1,c=se.size),"expressive"in se&&t(12,h=se.expressive),"isSelected"in se&&t(13,d=se.isSelected),"icon"in se&&t(2,m=se.icon),"iconDescription"in se&&t(3,p=se.iconDescription),"tooltipAlignment"in se&&t(14,v=se.tooltipAlignment),"tooltipPosition"in se&&t(15,k=se.tooltipPosition),"as"in se&&t(4,O=se.as),"skeleton"in se&&t(5,E=se.skeleton),"disabled"in se&&t(6,S=se.disabled),"href"in se&&t(7,C=se.href),"tabindex"in se&&t(16,A=se.tabindex),"type"in se&&t(17,D=se.type),"ref"in se&&t(0,w=se.ref),"$$scope"in se&&t(18,a=se.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&1&&B&&w&&B.declareRef(w),r.$$.dirty[0]&4&&t(8,n=m&&!u.default),t(9,i={type:C&&!S?void 0:D,tabindex:A,disabled:S===!0?!0:void 0,href:C,"aria-pressed":n&&f==="ghost"&&!C?d:void 0,...l,class:["bx--btn",h&&"bx--btn--expressive",(c==="small"&&!h||c==="sm"&&!h||c==="small"&&!h)&&"bx--btn--sm",c==="field"&&!h||c==="md"&&!h&&"bx--btn--md",c==="field"&&"bx--btn--field",c==="small"&&"bx--btn--sm",c==="lg"&&"bx--btn--lg",c==="xl"&&"bx--btn--xl",f&&`bx--btn--${f}`,S&&"bx--btn--disabled",n&&"bx--btn--icon-only",n&&"bx--tooltip__trigger",n&&"bx--tooltip--a11y",n&&k&&`bx--btn--icon-only--${k}`,n&&v&&`bx--tooltip--align-${v}`,n&&d&&f==="ghost"&&"bx--btn--selected",l.class].filter(Boolean).join(" ")})},[w,c,m,p,O,E,S,C,n,i,l,f,h,d,v,k,A,D,a,o,M,F,q,N,Y,V,K,oe,fe,x,te,ke,z,_e]}class Wh extends me{constructor(e){super(),pe(this,e,Qh,Hh,he,{kind:11,size:1,expressive:12,isSelected:13,icon:2,iconDescription:3,tooltipAlignment:14,tooltipPosition:15,as:4,skeleton:5,disabled:6,href:7,tabindex:16,type:17,ref:0},null,[-1,-1])}}const jn=Wh;function Gh(r){let e,t,n,i,s=[r[0]],l={};for(let o=0;o{e=J(J({},e),Te(u)),t(0,i=ge(e,n))},[i,s,l,o,a]}class Zh extends me{constructor(e){super(),pe(this,e,Kh,Gh,he,{})}}const Jh=Zh,Yh=r=>({}),Us=r=>({});function Xh(r){let e,t,n,i,s,l,o,a;const u=r[19].labelText,f=Ie(u,r,r[18],Us),c=f||$h(r);let h=[r[16]],d={};for(let m=0;m{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function tm(r,e,t){let n,i;const s=["value","checked","group","indeterminate","skeleton","required","readonly","disabled","labelText","hideLabel","name","title","id","ref"];let l=ge(e,s),{$$slots:o={},$$scope:a}=e,{value:u=""}=e,{checked:f=!1}=e,{group:c=void 0}=e,{indeterminate:h=!1}=e,{skeleton:d=!1}=e,{required:m=!1}=e,{readonly:p=!1}=e,{disabled:v=!1}=e,{labelText:k=""}=e,{hideLabel:O=!1}=e,{name:E=""}=e,{title:S=void 0}=e,{id:C="ccs-"+Math.random().toString(36)}=e,{ref:A=null}=e;const D=ct();let w=null;function B(z){X.call(this,r,z)}function M(z){X.call(this,r,z)}function F(z){X.call(this,r,z)}function q(z){X.call(this,r,z)}function N(z){X.call(this,r,z)}function Y(z){X.call(this,r,z)}function V(z){X.call(this,r,z)}function K(z){X.call(this,r,z)}function oe(z){X.call(this,r,z)}function fe(z){X.call(this,r,z)}function x(z){qe[z?"unshift":"push"](()=>{A=z,t(3,A)})}const te=()=>{n?t(1,c=c.includes(u)?c.filter(z=>z!==u):[...c,u]):t(0,f=!f)};function ke(z){qe[z?"unshift":"push"](()=>{w=z,t(14,w)})}return r.$$set=z=>{e=J(J({},e),Te(z)),t(16,l=ge(e,s)),"value"in z&&t(4,u=z.value),"checked"in z&&t(0,f=z.checked),"group"in z&&t(1,c=z.group),"indeterminate"in z&&t(5,h=z.indeterminate),"skeleton"in z&&t(6,d=z.skeleton),"required"in z&&t(7,m=z.required),"readonly"in z&&t(8,p=z.readonly),"disabled"in z&&t(9,v=z.disabled),"labelText"in z&&t(10,k=z.labelText),"hideLabel"in z&&t(11,O=z.hideLabel),"name"in z&&t(12,E=z.name),"title"in z&&t(2,S=z.title),"id"in z&&t(13,C=z.id),"ref"in z&&t(3,A=z.ref),"$$scope"in z&&t(18,a=z.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&2&&t(15,n=Array.isArray(c)),r.$$.dirty[0]&32787&&t(0,f=n?c.includes(u):f),r.$$.dirty[0]&1&&D("check",f),r.$$.dirty[0]&16384&&t(17,i=(w==null?void 0:w.offsetWidth)<(w==null?void 0:w.scrollWidth)),r.$$.dirty[0]&147460&&t(2,S=!S&&i?w==null?void 0:w.innerText:S)},[f,c,S,A,u,h,d,m,p,v,k,O,E,C,w,n,l,i,a,o,B,M,F,q,N,Y,V,K,oe,fe,x,te,ke]}class nm extends me{constructor(e){super(),pe(this,e,tm,em,he,{value:4,checked:0,group:1,indeterminate:5,skeleton:6,required:7,readonly:8,disabled:9,labelText:10,hideLabel:11,name:12,title:2,id:13,ref:3},null,[-1,-1])}}const rm=nm;function Hs(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function im(r){let e,t,n,i=r[1]&&Hs(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class sm extends me{constructor(e){super(),pe(this,e,lm,im,he,{size:0,title:1})}}const ur=sm;function Qs(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function om(r){let e,t,n,i,s=r[1]&&Qs(r),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],o={};for(let a=0;a{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class um extends me{constructor(e){super(),pe(this,e,am,om,he,{size:0,title:1})}}const hi=um;function Ws(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function fm(r){let e,t,n=r[1]&&Ws(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class dm extends me{constructor(e){super(),pe(this,e,cm,fm,he,{size:0,title:1})}}const ic=dm;function Gs(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function hm(r){let e,t,n=r[1]&&Gs(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}let pm=class extends me{constructor(e){super(),pe(this,e,mm,hm,he,{size:0,title:1})}};const Ul=pm,$i=new Set,lc=mt(0),Ks=()=>lc.set([...$i].filter(r=>_h(r)).length),gm=r=>ln(()=>{$i.add(r);const e=r.subscribe(Ks);return()=>{e(),$i.delete(r),Ks()}});lc.subscribe(r=>{typeof document<"u"&&document.body.classList.toggle("bx--body--with-modal-open",r>0)});function bm(r){let e,t,n,i,s,l;const o=r[18].default,a=Ie(o,r,r[17],null);let u=[{role:"presentation"},r[14]],f={};for(let c=0;ct(9,o=te));let E=null,S=null,C=!1;sn("ComposedModal",{closeModal:()=>{t(0,c=!1)},submit:()=>{k("submit"),k("click:button--primary")},declareRef:te=>{E=te},updateLabel:te=>{O.set(te)}});function A(te){var z;if(p==null)return;const ke=((z=te||S)==null?void 0:z.querySelector(p))||E;ke!=null&&ke.focus()}let D=!1;const w=mt(c);xe(r,w,te=>t(32,l=te)),gm(w),ln(()=>{vh().then(()=>{A()})}),Fl(()=>{D?c||(D=!1,k("close")):c&&(D=!0,k("open"))});function B(te){X.call(this,r,te)}function M(te){X.call(this,r,te)}function F(te){X.call(this,r,te)}function q(te){X.call(this,r,te)}function N(te){X.call(this,r,te)}function Y(te){qe[te?"unshift":"push"](()=>{S=te,t(6,S)})}const V=()=>{t(7,C=!0)};function K(te){qe[te?"unshift":"push"](()=>{v=te,t(1,v)})}const oe=te=>{if(c){if(te.key==="Escape")t(0,c=!1);else if(te.key==="Tab"){const ke=`
+ a[href], area[href], input:not([disabled]):not([tabindex='-1']),
+ button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),
+ textarea:not([disabled]):not([tabindex='-1']),
+ iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]
+`,z=Array.from(v.querySelectorAll(ke));let _e=z.indexOf(document.activeElement);_e===-1&&te.shiftKey&&(_e=0),_e+=z.length+(te.shiftKey?-1:1),_e%=z.length,z[_e].focus(),te.preventDefault()}}},fe=()=>{!C&&!d&&t(0,c=!1),t(7,C=!1)},x=({propertyName:te,currentTarget:ke})=>{te==="transform"&&k("transitionend",{open:c}),n&&(A(ke),t(8,n=!1))};return r.$$set=te=>{t(15,e=J(J({},e),Te(te))),t(14,s=ge(e,i)),"size"in te&&t(2,f=te.size),"open"in te&&t(0,c=te.open),"danger"in te&&t(3,h=te.danger),"preventCloseOnClickOutside"in te&&t(4,d=te.preventCloseOnClickOutside),"containerClass"in te&&t(5,m=te.containerClass),"selectorPrimaryFocus"in te&&t(16,p=te.selectorPrimaryFocus),"ref"in te&&t(1,v=te.ref),"$$scope"in te&&t(17,u=te.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&1&&t(8,n=c),r.$$.dirty[0]&1&&Vr(w,l=c,l)},e=Te(e),[c,v,f,h,d,m,S,C,n,o,k,O,A,w,s,e,p,u,a,B,M,F,q,N,Y,V,K,oe,fe,x]}class vm extends me{constructor(e){super(),pe(this,e,_m,bm,he,{size:2,open:0,danger:3,preventCloseOnClickOutside:4,containerClass:5,selectorPrimaryFocus:16,ref:1},null,[-1,-1])}}const Hl=vm;function Zs(r){let e,t;return{c(){e=j("h2"),t=ce(r[1]),this.h()},l(n){e=L(n,"H2",{class:!0});var i=R(e);t=de(i,r[1]),i.forEach(g),this.h()},h(){T(e,"class",r[2]),b(e,"bx--modal-header__label",!0),b(e,"bx--type-delta",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1]),i&4&&T(e,"class",n[2]),i&4&&b(e,"bx--modal-header__label",!0),i&4&&b(e,"bx--type-delta",!0)},d(n){n&&g(e)}}}function Js(r){let e,t;return{c(){e=j("h3"),t=ce(r[0]),this.h()},l(n){e=L(n,"H3",{class:!0});var i=R(e);t=de(i,r[0]),i.forEach(g),this.h()},h(){T(e,"class",r[3]),b(e,"bx--modal-header__heading",!0),b(e,"bx--type-beta",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&1&&ve(t,n[0]),i&8&&T(e,"class",n[3]),i&8&&b(e,"bx--modal-header__heading",!0),i&8&&b(e,"bx--type-beta",!0)},d(n){n&&g(e)}}}function ym(r){let e,t,n,i,s,l,o,a,u,f=r[1]&&Zs(r),c=r[0]&&Js(r);const h=r[10].default,d=Ie(h,r,r[9],null);l=new Ul({props:{size:20,class:"bx--modal-close__icon "+r[5],"aria-hidden":"true"}});let m=[r[8]],p={};for(let v=0;v{e=J(J({},e),Te(k)),t(8,i=ge(e,n)),"title"in k&&t(0,o=k.title),"label"in k&&t(1,a=k.label),"labelClass"in k&&t(2,u=k.labelClass),"titleClass"in k&&t(3,f=k.titleClass),"closeClass"in k&&t(4,c=k.closeClass),"closeIconClass"in k&&t(5,h=k.closeIconClass),"iconDescription"in k&&t(6,d=k.iconDescription),"$$scope"in k&&t(9,l=k.$$scope)},r.$$.update=()=>{r.$$.dirty&2&&p(a)},[o,a,u,f,c,h,d,m,i,l,s,v]}class Em extends me{constructor(e){super(),pe(this,e,km,ym,he,{title:0,label:1,labelClass:2,titleClass:3,closeClass:4,closeIconClass:5,iconDescription:6})}}const Ql=Em;function Ys(r){let e;return{c(){e=j("div"),this.h()},l(t){e=L(t,"DIV",{}),R(e).forEach(g),this.h()},h(){b(e,"bx--modal-content--overflow-indicator",!0)},m(t,n){P(t,e,n)},d(t){t&&g(e)}}}function Sm(r){let e,t,n,i,s,l;const o=r[4].default,a=Ie(o,r,r[3],null);let u=[{tabindex:t=r[1]?"0":void 0},{role:n=r[1]?"region":void 0},r[2]],f={};for(let h=0;h{e=J(J({},e),Te(u)),t(2,i=ge(e,n)),"hasForm"in u&&t(0,o=u.hasForm),"hasScrollingContent"in u&&t(1,a=u.hasScrollingContent),"$$scope"in u&&t(3,l=u.$$scope)},[o,a,i,l,s]}class wm extends me{constructor(e){super(),pe(this,e,Om,Sm,he,{hasForm:0,hasScrollingContent:1})}}const Wl=wm;function Xs(r,e,t){const n=r.slice();return n[16]=e[t],n}function Am(r){let e,t;return e=new jn({props:{kind:"secondary",class:r[6],$$slots:{default:[Pm]},$$scope:{ctx:r}}}),e.$on("click",r[14]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&64&&(s.class=n[6]),i&32784&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Tm(r){let e,t,n=r[5],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l0?0:p[4]?1:-1}~(t=u(r))&&(n=a[t]=o[t](r));let f=r[0]&&$s(r);const c=r[12].default,h=Ie(c,r,r[15],null);let d=[r[11]],m={};for(let p=0;p{a[k]=null}),re()),~t?(n=a[t],n?n.p(p,v):(n=a[t]=o[t](p),n.c()),_(n,1),n.m(e,i)):n=null),p[0]?f?(f.p(p,v),v&1&&_(f,1)):(f=$s(p),f.c(),_(f,1),f.m(e,s)):f&&(ne(),y(f,1,1,()=>{f=null}),re()),h&&h.p&&(!l||v&32768)&&Re(h,c,p,p[15],l?Me(c,p[15],v,null):De(p[15]),null),we(e,m=Ne(d,[v&2048&&p[11]])),b(e,"bx--modal-footer",!0),b(e,"bx--modal-footer--three-button",p[5].length===2)},i(p){l||(_(n),_(f),_(h,p),l=!0)},o(p){y(n),y(f),y(h,p),l=!1},d(p){p&&g(e),~t&&a[t].d(),f&&f.d(),h&&h.d(p)}}}function Dm(r,e,t){const n=["primaryButtonText","primaryButtonIcon","primaryButtonDisabled","primaryClass","secondaryButtonText","secondaryButtons","secondaryClass","danger"];let i=ge(e,n),{$$slots:s={},$$scope:l}=e,{primaryButtonText:o=""}=e,{primaryButtonIcon:a=void 0}=e,{primaryButtonDisabled:u=!1}=e,{primaryClass:f=void 0}=e,{secondaryButtonText:c=""}=e,{secondaryButtons:h=[]}=e,{secondaryClass:d=void 0}=e,{danger:m=!1}=e;const p=ct(),{closeModal:v,submit:k}=kt("ComposedModal"),O=S=>{p("click:button--secondary",{text:S.text})},E=()=>{v(),p("click:button--secondary",{text:c})};return r.$$set=S=>{e=J(J({},e),Te(S)),t(11,i=ge(e,n)),"primaryButtonText"in S&&t(0,o=S.primaryButtonText),"primaryButtonIcon"in S&&t(1,a=S.primaryButtonIcon),"primaryButtonDisabled"in S&&t(2,u=S.primaryButtonDisabled),"primaryClass"in S&&t(3,f=S.primaryClass),"secondaryButtonText"in S&&t(4,c=S.secondaryButtonText),"secondaryButtons"in S&&t(5,h=S.secondaryButtons),"secondaryClass"in S&&t(6,d=S.secondaryClass),"danger"in S&&t(7,m=S.danger),"$$scope"in S&&t(15,l=S.$$scope)},[o,a,u,f,c,h,d,m,p,v,k,i,s,O,E,l]}class Mm extends me{constructor(e){super(),pe(this,e,Dm,Rm,he,{primaryButtonText:0,primaryButtonIcon:1,primaryButtonDisabled:2,primaryClass:3,secondaryButtonText:4,secondaryButtons:5,secondaryClass:6,danger:7})}}const Gl=Mm;function eo(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Nm(r){let e,t,n,i=r[1]&&eo(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Lm extends me{constructor(e){super(),pe(this,e,jm,Nm,he,{size:0,title:1})}}const sc=Lm;function qm(r){let e,t,n,i,s,l,o,a,u,f=r[0]&&to(r),c=[{"aria-atomic":"true"},{"aria-labelledby":r[4]},{"aria-live":u=r[1]?"assertive":"off"},r[6]],h={};for(let d=0;d{e=J(J({},e),Te(c)),t(6,s=ge(e,i)),"small"in c&&t(0,l=c.small),"active"in c&&t(1,o=c.active),"withOverlay"in c&&t(2,a=c.withOverlay),"description"in c&&t(3,u=c.description),"id"in c&&t(4,f=c.id)},r.$$.update=()=>{r.$$.dirty&1&&t(5,n=l?"42":"44")},[l,o,a,u,f,n,s]}class Vm extends me{constructor(e){super(),pe(this,e,zm,Fm,he,{small:0,active:1,withOverlay:2,description:3,id:4})}}const Um=Vm;function ro(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Hm(r){let e,t,n,i=r[1]&&ro(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Wm extends me{constructor(e){super(),pe(this,e,Qm,Hm,he,{size:0,title:1})}}const oc=Wm;function Gm(r){let e,t;return e=new Um({props:{small:!0,description:r[2],withOverlay:!1,active:r[0]==="active"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&4&&(s.description=n[2]),i&1&&(s.active=n[0]==="active"),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Km(r){let e,t;return e=new sc({props:{class:"bx--inline-loading__checkmark-container",title:r[2]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&4&&(s.title=n[2]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Zm(r){let e,t;return e=new oc({props:{class:"bx--inline-loading--error",title:r[2]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&4&&(s.title=n[2]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function io(r){let e,t;return{c(){e=j("div"),t=ce(r[1]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[1]),i.forEach(g),this.h()},h(){b(e,"bx--inline-loading__text",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Jm(r){let e,t,n,i,s,l,o,a;const u=[Zm,Km,Gm],f=[];function c(p,v){return p[0]==="error"?0:p[0]==="finished"?1:p[0]==="inactive"||p[0]==="active"?2:-1}~(n=c(r))&&(i=f[n]=u[n](r));let h=r[1]&&io(r),d=[{"aria-live":"assertive"},r[3]],m={};for(let p=0;p{f[k]=null}),re()),~n?(i=f[n],i?i.p(p,v):(i=f[n]=u[n](p),i.c()),_(i,1),i.m(t,null)):i=null),p[1]?h?h.p(p,v):(h=io(p),h.c(),h.m(e,null)):h&&(h.d(1),h=null),we(e,m=Ne(d,[{"aria-live":"assertive"},v&8&&p[3]])),b(e,"bx--inline-loading",!0)},i(p){l||(_(i),l=!0)},o(p){y(i),l=!1},d(p){p&&g(e),~n&&f[n].d(),h&&h.d(),o=!1,Ge(a)}}}function Ym(r,e,t){const n=["status","description","iconDescription","successDelay"];let i=ge(e,n),{status:s="active"}=e,{description:l=void 0}=e,{iconDescription:o=void 0}=e,{successDelay:a=1500}=e;const u=ct();let f;ln(()=>()=>{clearTimeout(f)}),Fl(()=>{s==="finished"&&(f=setTimeout(()=>{u("success")},a))});function c(p){X.call(this,r,p)}function h(p){X.call(this,r,p)}function d(p){X.call(this,r,p)}function m(p){X.call(this,r,p)}return r.$$set=p=>{e=J(J({},e),Te(p)),t(3,i=ge(e,n)),"status"in p&&t(0,s=p.status),"description"in p&&t(1,l=p.description),"iconDescription"in p&&t(2,o=p.iconDescription),"successDelay"in p&&t(4,a=p.successDelay)},[s,l,o,i,a,c,h,d,m]}class Xm extends me{constructor(e){super(),pe(this,e,Ym,Jm,he,{status:0,description:1,iconDescription:2,successDelay:4})}}const ac=Xm;function xm(r){let e,t,n,i,s;var l=r[1];function o(f){return{props:{size:20,title:f[2],class:(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")}}}l&&(t=je(l,o(r)));let a=[{type:"button"},{"aria-label":r[3]},{title:r[3]},r[4]],u={};for(let f=0;f{Q(d,1)}),re()}l?(t=je(l,o(f)),U(t.$$.fragment),_(t.$$.fragment,1),H(t,e,null)):t=null}else l&&t.$set(h);we(e,u=Ne(a,[{type:"button"},(!n||c&8)&&{"aria-label":f[3]},(!n||c&8)&&{title:f[3]},c&16&&f[4]])),b(e,"bx--toast-notification__close-button",f[0]==="toast"),b(e,"bx--inline-notification__close-button",f[0]==="inline")},i(f){n||(t&&_(t.$$.fragment,f),n=!0)},o(f){t&&y(t.$$.fragment,f),n=!1},d(f){f&&g(e),t&&Q(t),i=!1,Ge(s)}}}function $m(r,e,t){const n=["notificationType","icon","title","iconDescription"];let i=ge(e,n),{notificationType:s="toast"}=e,{icon:l=Ul}=e,{title:o=void 0}=e,{iconDescription:a="Close icon"}=e;function u(d){X.call(this,r,d)}function f(d){X.call(this,r,d)}function c(d){X.call(this,r,d)}function h(d){X.call(this,r,d)}return r.$$set=d=>{e=J(J({},e),Te(d)),t(4,i=ge(e,n)),"notificationType"in d&&t(0,s=d.notificationType),"icon"in d&&t(1,l=d.icon),"title"in d&&t(2,o=d.title),"iconDescription"in d&&t(3,a=d.iconDescription)},[s,l,o,a,i,u,f,c,h]}class ep extends me{constructor(e){super(),pe(this,e,$m,xm,he,{notificationType:0,icon:1,title:2,iconDescription:3})}}const tp=ep;function lo(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function np(r){let e,t,n,i=r[1]&&lo(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class ip extends me{constructor(e){super(),pe(this,e,rp,np,he,{size:0,title:1})}}const lp=ip;function so(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function sp(r){let e,t,n,i=r[1]&&so(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class ap extends me{constructor(e){super(),pe(this,e,op,sp,he,{size:0,title:1})}}const up=ap;function fp(r){let e,t,n;var i=r[3][r[0]];function s(l){return{props:{size:20,title:l[2],class:(l[1]==="toast"&&"bx--toast-notification__icon")+" "+(l[1]==="inline"&&"bx--inline-notification__icon")}}}return i&&(e=je(i,s(r))),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,[o]){const a={};if(o&4&&(a.title=l[2]),o&2&&(a.class=(l[1]==="toast"&&"bx--toast-notification__icon")+" "+(l[1]==="inline"&&"bx--inline-notification__icon")),o&1&&i!==(i=l[3][l[0]])){if(e){ne();const u=e;y(u.$$.fragment,1,0,()=>{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function cp(r,e,t){let{kind:n="error"}=e,{notificationType:i="toast"}=e,{iconDescription:s}=e;const l={error:oc,"info-square":up,info:lp,success:sc,warning:ur,"warning-alt":hi};return r.$$set=o=>{"kind"in o&&t(0,n=o.kind),"notificationType"in o&&t(1,i=o.notificationType),"iconDescription"in o&&t(2,s=o.iconDescription)},[n,i,s,l]}class dp extends me{constructor(e){super(),pe(this,e,cp,fp,he,{kind:0,notificationType:1,iconDescription:2})}}const hp=dp,mp=r=>({}),oo=r=>({}),pp=r=>({}),ao=r=>({}),gp=r=>({}),uo=r=>({});function fo(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m;n=new hp({props:{notificationType:"inline",kind:r[0],iconDescription:r[6]}});const p=r[13].title,v=Ie(p,r,r[12],uo),k=v||bp(r),O=r[13].subtitle,E=Ie(O,r,r[12],ao),S=E||_p(r),C=r[13].default,A=Ie(C,r,r[12],null),D=r[13].actions,w=Ie(D,r,r[12],oo);let B=!r[5]&&co(r),M=[{role:r[2]},{kind:r[0]},r[10]],F={};for(let q=0;q{B=null}),re()):B?(B.p(q,N),N&32&&_(B,1)):(B=co(q),B.c(),_(B,1),B.m(e,null)),we(e,F=Ne(M,[(!h||N&4)&&{role:q[2]},(!h||N&1)&&{kind:q[0]},N&1024&&q[10]])),b(e,"bx--inline-notification",!0),b(e,"bx--inline-notification--low-contrast",q[1]),b(e,"bx--inline-notification--hide-close-button",q[5]),b(e,"bx--inline-notification--error",q[0]==="error"),b(e,"bx--inline-notification--info",q[0]==="info"),b(e,"bx--inline-notification--info-square",q[0]==="info-square"),b(e,"bx--inline-notification--success",q[0]==="success"),b(e,"bx--inline-notification--warning",q[0]==="warning"),b(e,"bx--inline-notification--warning-alt",q[0]==="warning-alt")},i(q){h||(_(n.$$.fragment,q),_(k,q),_(S,q),_(A,q),_(w,q),_(B),h=!0)},o(q){y(n.$$.fragment,q),y(k,q),y(S,q),y(A,q),y(w,q),y(B),h=!1},d(q){q&&g(e),Q(n),k&&k.d(q),S&&S.d(q),A&&A.d(q),w&&w.d(q),B&&B.d(),d=!1,Ge(m)}}}function bp(r){let e;return{c(){e=ce(r[3])},l(t){e=de(t,r[3])},m(t,n){P(t,e,n)},p(t,n){n&8&&ve(e,t[3])},d(t){t&&g(e)}}}function _p(r){let e;return{c(){e=ce(r[4])},l(t){e=de(t,r[4])},m(t,n){P(t,e,n)},p(t,n){n&16&&ve(e,t[4])},d(t){t&&g(e)}}}function co(r){let e,t;return e=new tp({props:{iconDescription:r[7],notificationType:"inline"}}),e.$on("click",r[9]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&128&&(s.iconDescription=n[7]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function vp(r){let e,t,n=r[8]&&fo(r);return{c(){n&&n.c(),e=G()},l(i){n&&n.l(i),e=G()},m(i,s){n&&n.m(i,s),P(i,e,s),t=!0},p(i,[s]){i[8]?n?(n.p(i,s),s&256&&_(n,1)):(n=fo(i),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(ne(),y(n,1,1,()=>{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}function yp(r,e,t){const n=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let i=ge(e,n),{$$slots:s={},$$scope:l}=e,{kind:o="error"}=e,{lowContrast:a=!1}=e,{timeout:u=0}=e,{role:f="alert"}=e,{title:c=""}=e,{subtitle:h=""}=e,{hideCloseButton:d=!1}=e,{statusIconDescription:m=o+" icon"}=e,{closeButtonDescription:p="Close notification"}=e;const v=ct();let k=!0,O;function E(w){v("close",{timeout:w===!0},{cancelable:!0})&&t(8,k=!1)}ln(()=>(u&&(O=setTimeout(()=>E(!0),u)),()=>{clearTimeout(O)}));function S(w){X.call(this,r,w)}function C(w){X.call(this,r,w)}function A(w){X.call(this,r,w)}function D(w){X.call(this,r,w)}return r.$$set=w=>{e=J(J({},e),Te(w)),t(10,i=ge(e,n)),"kind"in w&&t(0,o=w.kind),"lowContrast"in w&&t(1,a=w.lowContrast),"timeout"in w&&t(11,u=w.timeout),"role"in w&&t(2,f=w.role),"title"in w&&t(3,c=w.title),"subtitle"in w&&t(4,h=w.subtitle),"hideCloseButton"in w&&t(5,d=w.hideCloseButton),"statusIconDescription"in w&&t(6,m=w.statusIconDescription),"closeButtonDescription"in w&&t(7,p=w.closeButtonDescription),"$$scope"in w&&t(12,l=w.$$scope)},[o,a,f,c,h,d,m,p,k,E,i,u,l,s,S,C,A,D]}class kp extends me{constructor(e){super(),pe(this,e,yp,vp,he,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}const uc=kp;function ho(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Ep(r){let e,t,n=r[1]&&ho(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Op extends me{constructor(e){super(),pe(this,e,Sp,Ep,he,{size:0,title:1})}}const wp=Op;function mo(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Ap(r){let e,t,n=r[1]&&mo(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Pp extends me{constructor(e){super(),pe(this,e,Tp,Ap,he,{size:0,title:1})}}const Cp=Pp;function po(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function Ip(r){let e,t,n=r[1]&&po(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Dp extends me{constructor(e){super(),pe(this,e,Rp,Ip,he,{size:0,title:1})}}const fc=Dp,Mp=r=>({}),go=r=>({});function bo(r){let e,t;const n=r[34].label,i=Ie(n,r,r[33],go),s=i||Np(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){T(e,"for",r[18]),b(e,"bx--label",!0),b(e,"bx--label--disabled",r[8]),b(e,"bx--visually-hidden",r[17])},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[1]&4)&&Re(i,n,l,l[33],t?Me(n,l[33],o,Mp):De(l[33]),go):s&&s.p&&(!t||o[0]&65536)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&262144)&&T(e,"for",l[18]),(!t||o[0]&256)&&b(e,"bx--label--disabled",l[8]),(!t||o[0]&131072)&&b(e,"bx--visually-hidden",l[17])},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Np(r){let e;return{c(){e=ce(r[16])},l(t){e=de(t,r[16])},m(t,n){P(t,e,n)},p(t,n){n[0]&65536&&ve(e,t[16])},d(t){t&&g(e)}}}function jp(r){let e,t,n,i=r[11]&&_o(),s=!r[11]&&r[13]&&vo();return{c(){i&&i.c(),e=$(),s&&s.c(),t=G()},l(l){i&&i.l(l),e=ee(l),s&&s.l(l),t=G()},m(l,o){i&&i.m(l,o),P(l,e,o),s&&s.m(l,o),P(l,t,o),n=!0},p(l,o){l[11]?i?o[0]&2048&&_(i,1):(i=_o(),i.c(),_(i,1),i.m(e.parentNode,e)):i&&(ne(),y(i,1,1,()=>{i=null}),re()),!l[11]&&l[13]?s?o[0]&10240&&_(s,1):(s=vo(),s.c(),_(s,1),s.m(t.parentNode,t)):s&&(ne(),y(s,1,1,()=>{s=null}),re())},i(l){n||(_(i),_(s),n=!0)},o(l){y(i),y(s),n=!1},d(l){i&&i.d(l),l&&g(e),s&&s.d(l),l&&g(t)}}}function Lp(r){let e,t;return e=new fc({props:{class:"bx--text-input__readonly-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function _o(r){let e,t;return e=new ur({props:{class:"bx--number__invalid"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function vo(r){let e,t;return e=new hi({props:{class:"bx--number__invalid bx--number__invalid--warning"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function yo(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k;return n=new Cp({props:{class:"down-icon"}}),f=new wp({props:{class:"up-icon"}}),{c(){e=j("div"),t=j("button"),U(n.$$.fragment),l=$(),o=j("div"),a=$(),u=j("button"),U(f.$$.fragment),d=$(),m=j("div"),this.h()},l(O){e=L(O,"DIV",{});var E=R(e);t=L(E,"BUTTON",{type:!0,tabindex:!0,title:!0,"aria-label":!0});var S=R(t);Z(n.$$.fragment,S),S.forEach(g),l=ee(E),o=L(E,"DIV",{}),R(o).forEach(g),a=ee(E),u=L(E,"BUTTON",{type:!0,tabindex:!0,title:!0,"aria-label":!0});var C=R(u);Z(f.$$.fragment,C),C.forEach(g),d=ee(E),m=L(E,"DIV",{}),R(m).forEach(g),E.forEach(g),this.h()},h(){T(t,"type","button"),T(t,"tabindex","-1"),T(t,"title",i=r[23]||r[10]),T(t,"aria-label",s=r[23]||r[10]),t.disabled=r[8],b(t,"bx--number__control-btn",!0),b(t,"down-icon",!0),b(o,"bx--number__rule-divider",!0),T(u,"type","button"),T(u,"tabindex","-1"),T(u,"title",c=r[24]||r[10]),T(u,"aria-label",h=r[24]||r[10]),u.disabled=r[8],b(u,"bx--number__control-btn",!0),b(u,"up-icon",!0),b(m,"bx--number__rule-divider",!0),b(e,"bx--number__controls",!0)},m(O,E){P(O,e,E),I(e,t),H(n,t,null),I(e,l),I(e,o),I(e,a),I(e,u),H(f,u,null),I(e,d),I(e,m),p=!0,v||(k=[W(t,"click",r[45]),W(u,"click",r[46])],v=!0)},p(O,E){(!p||E[0]&8389632&&i!==(i=O[23]||O[10]))&&T(t,"title",i),(!p||E[0]&8389632&&s!==(s=O[23]||O[10]))&&T(t,"aria-label",s),(!p||E[0]&256)&&(t.disabled=O[8]),(!p||E[0]&16778240&&c!==(c=O[24]||O[10]))&&T(u,"title",c),(!p||E[0]&16778240&&h!==(h=O[24]||O[10]))&&T(u,"aria-label",h),(!p||E[0]&256)&&(u.disabled=O[8])},i(O){p||(_(n.$$.fragment,O),_(f.$$.fragment,O),p=!0)},o(O){y(n.$$.fragment,O),y(f.$$.fragment,O),p=!1},d(O){O&&g(e),Q(n),Q(f),v=!1,Ge(k)}}}function ko(r){let e,t;return{c(){e=j("div"),t=ce(r[15]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[15]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[8])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&32768&&ve(t,n[15]),i[0]&256&&b(e,"bx--form__helper-text--disabled",n[8])},d(n){n&&g(e)}}}function Eo(r){let e,t;return{c(){e=j("div"),t=ce(r[12]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[12]),i.forEach(g),this.h()},h(){T(e,"id",r[21]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&4096&&ve(t,n[12]),i[0]&2097152&&T(e,"id",n[21])},d(n){n&&g(e)}}}function So(r){let e,t;return{c(){e=j("div"),t=ce(r[14]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[14]),i.forEach(g),this.h()},h(){T(e,"id",r[21]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&16384&&ve(t,n[14]),i[0]&2097152&&T(e,"id",n[21])},d(n){n&&g(e)}}}function qp(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O,E,S,C=(r[28].label||r[16])&&bo(r),A=[{type:"number"},{pattern:"[0-9]*"},{"aria-describedby":r[21]},{"data-invalid":l=r[22]||void 0},{"aria-invalid":o=r[22]||void 0},{"aria-label":a=r[16]?void 0:r[20]},{disabled:r[8]},{id:r[18]},{name:r[19]},{max:r[4]},{min:r[5]},{step:r[3]},{value:u=r[0]??""},{readOnly:r[7]},r[29]],D={};for(let V=0;V{C=null}),re()),we(s,D=Ne(A,[{type:"number"},{pattern:"[0-9]*"},(!O||K[0]&2097152)&&{"aria-describedby":V[21]},(!O||K[0]&4194304&&l!==(l=V[22]||void 0))&&{"data-invalid":l},(!O||K[0]&4194304&&o!==(o=V[22]||void 0))&&{"aria-invalid":o},(!O||K[0]&1114112&&a!==(a=V[16]?void 0:V[20]))&&{"aria-label":a},(!O||K[0]&256)&&{disabled:V[8]},(!O||K[0]&262144)&&{id:V[18]},(!O||K[0]&524288)&&{name:V[19]},(!O||K[0]&16)&&{max:V[4]},(!O||K[0]&32)&&{min:V[5]},(!O||K[0]&8)&&{step:V[3]},(!O||K[0]&1&&u!==(u=V[0]??"")&&s.value!==u)&&{value:u},(!O||K[0]&128)&&{readOnly:V[7]},K[0]&536870912&&V[29]]));let oe=c;c=M(V),c===oe?B[c].p(V,K):(ne(),y(B[oe],1,1,()=>{B[oe]=null}),re(),h=B[c],h?h.p(V,K):(h=B[c]=w[c](V),h.c()),_(h,1),h.m(i,d)),V[9]?F&&(ne(),y(F,1,1,()=>{F=null}),re()):F?(F.p(V,K),K[0]&512&&_(F,1)):(F=yo(V),F.c(),_(F,1),F.m(i,null)),(!O||K[0]&10240)&&b(i,"bx--number__input-wrapper--warning",!V[11]&&V[13]),!V[22]&&!V[13]&&V[15]?q?q.p(V,K):(q=ko(V),q.c(),q.m(t,p)):q&&(q.d(1),q=null),V[22]?N?N.p(V,K):(N=Eo(V),N.c(),N.m(t,v)):N&&(N.d(1),N=null),!V[22]&&V[13]?Y?Y.p(V,K):(Y=So(V),Y.c(),Y.m(t,null)):Y&&(Y.d(1),Y=null),(!O||K[0]&4194304&&k!==(k=V[22]||void 0))&&T(t,"data-invalid",k),(!O||K[0]&128)&&b(t,"bx--number--readonly",V[7]),(!O||K[0]&64)&&b(t,"bx--number--light",V[6]),(!O||K[0]&131072)&&b(t,"bx--number--nolabel",V[17]),(!O||K[0]&512)&&b(t,"bx--number--nosteppers",V[9]),(!O||K[0]&4)&&b(t,"bx--number--sm",V[2]==="sm"),(!O||K[0]&4)&&b(t,"bx--number--xl",V[2]==="xl")},i(V){O||(_(C),_(h),_(F),O=!0)},o(V){y(C),y(h),y(F),O=!1},d(V){V&&g(e),C&&C.d(),r[44](null),B[c].d(),F&&F.d(),q&&q.d(),N&&N.d(),Y&&Y.d(),E=!1,Ge(S)}}}function Oo(r){return r!=""?Number(r):null}function Bp(r,e,t){let n,i,s,l,o;const a=["size","value","step","max","min","light","readonly","allowEmpty","disabled","hideSteppers","iconDescription","invalid","invalidText","warn","warnText","helperText","label","hideLabel","translateWithId","translationIds","id","name","ref"];let u=ge(e,a),{$$slots:f={},$$scope:c}=e;const h=di(f);let{size:d=void 0}=e,{value:m=null}=e,{step:p=1}=e,{max:v=void 0}=e,{min:k=void 0}=e,{light:O=!1}=e,{readonly:E=!1}=e,{allowEmpty:S=!1}=e,{disabled:C=!1}=e,{hideSteppers:A=!1}=e,{iconDescription:D=""}=e,{invalid:w=!1}=e,{invalidText:B=""}=e,{warn:M=!1}=e,{warnText:F=""}=e,{helperText:q=""}=e,{label:N=""}=e,{hideLabel:Y=!1}=e,{translateWithId:V=ue=>te[ue]}=e;const K={increment:"increment",decrement:"decrement"};let{id:oe="ccs-"+Math.random().toString(36)}=e,{name:fe=void 0}=e,{ref:x=null}=e;const te={[K.increment]:"Increment number",[K.decrement]:"Decrement number"},ke=ct();function z(ue){ue?x.stepUp():x.stepDown(),t(0,m=+x.value),ke("input",m),ke("change",m)}function _e({target:ue}){t(0,m=Oo(ue.value)),ke("input",m)}function se({target:ue}){ke("change",Oo(ue.value))}function Ye(ue){X.call(this,r,ue)}function lt(ue){X.call(this,r,ue)}function Et(ue){X.call(this,r,ue)}function _t(ue){X.call(this,r,ue)}function Pe(ue){X.call(this,r,ue)}function le(ue){X.call(this,r,ue)}function ae(ue){X.call(this,r,ue)}function vt(ue){X.call(this,r,ue)}function Sn(ue){X.call(this,r,ue)}function tt(ue){qe[ue?"unshift":"push"](()=>{x=ue,t(1,x)})}const On=()=>{z(!1)},Pt=()=>{z(!0)};return r.$$set=ue=>{t(49,e=J(J({},e),Te(ue))),t(29,u=ge(e,a)),"size"in ue&&t(2,d=ue.size),"value"in ue&&t(0,m=ue.value),"step"in ue&&t(3,p=ue.step),"max"in ue&&t(4,v=ue.max),"min"in ue&&t(5,k=ue.min),"light"in ue&&t(6,O=ue.light),"readonly"in ue&&t(7,E=ue.readonly),"allowEmpty"in ue&&t(30,S=ue.allowEmpty),"disabled"in ue&&t(8,C=ue.disabled),"hideSteppers"in ue&&t(9,A=ue.hideSteppers),"iconDescription"in ue&&t(10,D=ue.iconDescription),"invalid"in ue&&t(11,w=ue.invalid),"invalidText"in ue&&t(12,B=ue.invalidText),"warn"in ue&&t(13,M=ue.warn),"warnText"in ue&&t(14,F=ue.warnText),"helperText"in ue&&t(15,q=ue.helperText),"label"in ue&&t(16,N=ue.label),"hideLabel"in ue&&t(17,Y=ue.hideLabel),"translateWithId"in ue&&t(31,V=ue.translateWithId),"id"in ue&&t(18,oe=ue.id),"name"in ue&&t(19,fe=ue.name),"ref"in ue&&t(1,x=ue.ref),"$$scope"in ue&&t(33,c=ue.$$scope)},r.$$.update=()=>{r.$$.dirty[1]&1&&t(24,n=V("increment")),r.$$.dirty[1]&1&&t(23,i=V("decrement")),r.$$.dirty[0]&1073744049&&t(22,s=w&&!E||!S&&m==null||m>v||typeof m=="number"&&m({}),wo=r=>({});function Ao(r){let e,t;const n=r[26].labelText,i=Ie(n,r,r[25],wo),s=i||Up(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){T(e,"for",r[5]),b(e,"bx--label",!0),b(e,"bx--visually-hidden",r[14]),b(e,"bx--label--disabled",r[4])},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[0]&33554432)&&Re(i,n,l,l[25],t?Me(n,l[25],o,Vp):De(l[25]),wo):s&&s.p&&(!t||o[0]&8192)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&32)&&T(e,"for",l[5]),(!t||o[0]&16384)&&b(e,"bx--visually-hidden",l[14]),(!t||o[0]&16)&&b(e,"bx--label--disabled",l[4])},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Up(r){let e;return{c(){e=ce(r[13])},l(t){e=de(t,r[13])},m(t,n){P(t,e,n)},p(t,n){n[0]&8192&&ve(e,t[13])},d(t){t&&g(e)}}}function To(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k;const O=r[26].default,E=Ie(O,r,r[25],null);u=new ic({props:{class:"bx--select__arrow"}});let S=r[7]&&Po(),C=r[7]&&Co(r),A=r[11]&&Io(r);return{c(){e=j("div"),t=j("div"),n=j("select"),E&&E.c(),a=$(),U(u.$$.fragment),f=$(),S&&S.c(),h=$(),C&&C.c(),d=$(),A&&A.c(),m=G(),this.h()},l(D){e=L(D,"DIV",{});var w=R(e);t=L(w,"DIV",{"data-invalid":!0});var B=R(t);n=L(B,"SELECT",{"aria-describedby":!0,"aria-invalid":!0,id:!0,name:!0});var M=R(n);E&&E.l(M),M.forEach(g),a=ee(B),Z(u.$$.fragment,B),f=ee(B),S&&S.l(B),B.forEach(g),h=ee(w),C&&C.l(w),w.forEach(g),d=ee(D),A&&A.l(D),m=G(),this.h()},h(){T(n,"aria-describedby",i=r[7]?r[16]:void 0),T(n,"aria-invalid",s=r[7]||void 0),n.disabled=l=r[4]||void 0,n.required=o=r[15]||void 0,T(n,"id",r[5]),T(n,"name",r[6]),b(n,"bx--select-input",!0),b(n,"bx--select-input--sm",r[1]==="sm"),b(n,"bx--select-input--xl",r[1]==="xl"),T(t,"data-invalid",c=r[7]||void 0),b(t,"bx--select-input__wrapper",!0),b(e,"bx--select-input--inline__wrapper",!0)},m(D,w){P(D,e,w),I(e,t),I(t,n),E&&E.m(n,null),r[35](n),I(t,a),H(u,t,null),I(t,f),S&&S.m(t,null),I(e,h),C&&C.m(e,null),P(D,d,w),A&&A.m(D,w),P(D,m,w),p=!0,v||(k=[W(n,"change",r[21]),W(n,"change",r[31]),W(n,"input",r[32]),W(n,"focus",r[33]),W(n,"blur",r[34])],v=!0)},p(D,w){E&&E.p&&(!p||w[0]&33554432)&&Re(E,O,D,D[25],p?Me(O,D[25],w,null):De(D[25]),null),(!p||w[0]&65664&&i!==(i=D[7]?D[16]:void 0))&&T(n,"aria-describedby",i),(!p||w[0]&128&&s!==(s=D[7]||void 0))&&T(n,"aria-invalid",s),(!p||w[0]&16&&l!==(l=D[4]||void 0))&&(n.disabled=l),(!p||w[0]&32768&&o!==(o=D[15]||void 0))&&(n.required=o),(!p||w[0]&32)&&T(n,"id",D[5]),(!p||w[0]&64)&&T(n,"name",D[6]),(!p||w[0]&2)&&b(n,"bx--select-input--sm",D[1]==="sm"),(!p||w[0]&2)&&b(n,"bx--select-input--xl",D[1]==="xl"),D[7]?S?w[0]&128&&_(S,1):(S=Po(),S.c(),_(S,1),S.m(t,null)):S&&(ne(),y(S,1,1,()=>{S=null}),re()),(!p||w[0]&128&&c!==(c=D[7]||void 0))&&T(t,"data-invalid",c),D[7]?C?C.p(D,w):(C=Co(D),C.c(),C.m(e,null)):C&&(C.d(1),C=null),D[11]?A?A.p(D,w):(A=Io(D),A.c(),A.m(m.parentNode,m)):A&&(A.d(1),A=null)},i(D){p||(_(E,D),_(u.$$.fragment,D),_(S),p=!0)},o(D){y(E,D),y(u.$$.fragment,D),y(S),p=!1},d(D){D&&g(e),E&&E.d(D),r[35](null),Q(u),S&&S.d(),C&&C.d(),D&&g(d),A&&A.d(D),D&&g(m),v=!1,Ge(k)}}}function Po(r){let e,t;return e=new ur({props:{class:"bx--select__invalid-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Co(r){let e,t;return{c(){e=j("div"),t=ce(r[8]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[8]),i.forEach(g),this.h()},h(){T(e,"id",r[16]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&256&&ve(t,n[8]),i[0]&65536&&T(e,"id",n[16])},d(n){n&&g(e)}}}function Io(r){let e,t;return{c(){e=j("div"),t=ce(r[11]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[11]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[4])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&2048&&ve(t,n[11]),i[0]&16&&b(e,"bx--form__helper-text--disabled",n[4])},d(n){n&&g(e)}}}function Ro(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O;const E=r[26].default,S=Ie(E,r,r[25],null);a=new ic({props:{class:"bx--select__arrow"}});let C=r[7]&&Do(),A=!r[7]&&r[9]&&Mo(),D=!r[7]&&r[11]&&No(r),w=r[7]&&jo(r),B=!r[7]&&r[9]&&Lo(r);return{c(){e=j("div"),t=j("select"),S&&S.c(),o=$(),U(a.$$.fragment),u=$(),C&&C.c(),f=$(),A&&A.c(),h=$(),D&&D.c(),d=$(),w&&w.c(),m=$(),B&&B.c(),p=G(),this.h()},l(M){e=L(M,"DIV",{"data-invalid":!0});var F=R(e);t=L(F,"SELECT",{id:!0,name:!0,"aria-describedby":!0,"aria-invalid":!0});var q=R(t);S&&S.l(q),q.forEach(g),o=ee(F),Z(a.$$.fragment,F),u=ee(F),C&&C.l(F),f=ee(F),A&&A.l(F),F.forEach(g),h=ee(M),D&&D.l(M),d=ee(M),w&&w.l(M),m=ee(M),B&&B.l(M),p=G(),this.h()},h(){T(t,"id",r[5]),T(t,"name",r[6]),T(t,"aria-describedby",n=r[7]?r[16]:void 0),t.disabled=i=r[4]||void 0,t.required=s=r[15]||void 0,T(t,"aria-invalid",l=r[7]||void 0),b(t,"bx--select-input",!0),b(t,"bx--select-input--sm",r[1]==="sm"),b(t,"bx--select-input--xl",r[1]==="xl"),T(e,"data-invalid",c=r[7]||void 0),b(e,"bx--select-input__wrapper",!0)},m(M,F){P(M,e,F),I(e,t),S&&S.m(t,null),r[36](t),I(e,o),H(a,e,null),I(e,u),C&&C.m(e,null),I(e,f),A&&A.m(e,null),P(M,h,F),D&&D.m(M,F),P(M,d,F),w&&w.m(M,F),P(M,m,F),B&&B.m(M,F),P(M,p,F),v=!0,k||(O=[W(t,"change",r[21]),W(t,"change",r[27]),W(t,"input",r[28]),W(t,"focus",r[29]),W(t,"blur",r[30])],k=!0)},p(M,F){S&&S.p&&(!v||F[0]&33554432)&&Re(S,E,M,M[25],v?Me(E,M[25],F,null):De(M[25]),null),(!v||F[0]&32)&&T(t,"id",M[5]),(!v||F[0]&64)&&T(t,"name",M[6]),(!v||F[0]&65664&&n!==(n=M[7]?M[16]:void 0))&&T(t,"aria-describedby",n),(!v||F[0]&16&&i!==(i=M[4]||void 0))&&(t.disabled=i),(!v||F[0]&32768&&s!==(s=M[15]||void 0))&&(t.required=s),(!v||F[0]&128&&l!==(l=M[7]||void 0))&&T(t,"aria-invalid",l),(!v||F[0]&2)&&b(t,"bx--select-input--sm",M[1]==="sm"),(!v||F[0]&2)&&b(t,"bx--select-input--xl",M[1]==="xl"),M[7]?C?F[0]&128&&_(C,1):(C=Do(),C.c(),_(C,1),C.m(e,f)):C&&(ne(),y(C,1,1,()=>{C=null}),re()),!M[7]&&M[9]?A?F[0]&640&&_(A,1):(A=Mo(),A.c(),_(A,1),A.m(e,null)):A&&(ne(),y(A,1,1,()=>{A=null}),re()),(!v||F[0]&128&&c!==(c=M[7]||void 0))&&T(e,"data-invalid",c),!M[7]&&M[11]?D?D.p(M,F):(D=No(M),D.c(),D.m(d.parentNode,d)):D&&(D.d(1),D=null),M[7]?w?w.p(M,F):(w=jo(M),w.c(),w.m(m.parentNode,m)):w&&(w.d(1),w=null),!M[7]&&M[9]?B?B.p(M,F):(B=Lo(M),B.c(),B.m(p.parentNode,p)):B&&(B.d(1),B=null)},i(M){v||(_(S,M),_(a.$$.fragment,M),_(C),_(A),v=!0)},o(M){y(S,M),y(a.$$.fragment,M),y(C),y(A),v=!1},d(M){M&&g(e),S&&S.d(M),r[36](null),Q(a),C&&C.d(),A&&A.d(),M&&g(h),D&&D.d(M),M&&g(d),w&&w.d(M),M&&g(m),B&&B.d(M),M&&g(p),k=!1,Ge(O)}}}function Do(r){let e,t;return e=new ur({props:{class:"bx--select__invalid-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Mo(r){let e,t;return e=new hi({props:{class:"bx--select__invalid-icon bx--select__invalid-icon--warning"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function No(r){let e,t;return{c(){e=j("div"),t=ce(r[11]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[11]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[4])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&2048&&ve(t,n[11]),i[0]&16&&b(e,"bx--form__helper-text--disabled",n[4])},d(n){n&&g(e)}}}function jo(r){let e,t;return{c(){e=j("div"),t=ce(r[8]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[8]),i.forEach(g),this.h()},h(){T(e,"id",r[16]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&256&&ve(t,n[8]),i[0]&65536&&T(e,"id",n[16])},d(n){n&&g(e)}}}function Lo(r){let e,t;return{c(){e=j("div"),t=ce(r[10]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[10]),i.forEach(g),this.h()},h(){T(e,"id",r[16]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&1024&&ve(t,n[10]),i[0]&65536&&T(e,"id",n[16])},d(n){n&&g(e)}}}function Hp(r){let e,t,n,i,s,l=!r[12]&&Ao(r),o=r[2]&&To(r),a=!r[2]&&Ro(r),u=[r[22]],f={};for(let c=0;c{l=null}),re()):l?(l.p(c,h),h[0]&4096&&_(l,1)):(l=Ao(c),l.c(),_(l,1),l.m(t,n)),c[2]?o?(o.p(c,h),h[0]&4&&_(o,1)):(o=To(c),o.c(),_(o,1),o.m(t,i)):o&&(ne(),y(o,1,1,()=>{o=null}),re()),c[2]?a&&(ne(),y(a,1,1,()=>{a=null}),re()):a?(a.p(c,h),h[0]&4&&_(a,1)):(a=Ro(c),a.c(),_(a,1),a.m(t,null)),(!s||h[0]&4)&&b(t,"bx--select--inline",c[2]),(!s||h[0]&8)&&b(t,"bx--select--light",c[3]),(!s||h[0]&128)&&b(t,"bx--select--invalid",c[7]),(!s||h[0]&16)&&b(t,"bx--select--disabled",c[4]),(!s||h[0]&512)&&b(t,"bx--select--warning",c[9]),we(e,f=Ne(u,[h[0]&4194304&&c[22]])),b(e,"bx--form-item",!0)},i(c){s||(_(l),_(o),_(a),s=!0)},o(c){y(l),y(o),y(a),s=!1},d(c){c&&g(e),l&&l.d(),o&&o.d(),a&&a.d()}}}function Qp(r,e,t){let n;const i=["selected","size","inline","light","disabled","id","name","invalid","invalidText","warn","warnText","helperText","noLabel","labelText","hideLabel","ref","required"];let s=ge(e,i),l,o,a,u,{$$slots:f={},$$scope:c}=e,{selected:h=void 0}=e,{size:d=void 0}=e,{inline:m=!1}=e,{light:p=!1}=e,{disabled:v=!1}=e,{id:k="ccs-"+Math.random().toString(36)}=e,{name:O=void 0}=e,{invalid:E=!1}=e,{invalidText:S=""}=e,{warn:C=!1}=e,{warnText:A=""}=e,{helperText:D=""}=e,{noLabel:w=!1}=e,{labelText:B=""}=e,{hideLabel:M=!1}=e,{ref:F=null}=e,{required:q=!1}=e;const N=ct(),Y=mt(h);xe(r,Y,le=>t(38,o=le));const V=mt(null);xe(r,V,le=>t(40,u=le));const K=mt(null);xe(r,K,le=>t(24,l=le));const oe=mt({});xe(r,oe,le=>t(39,a=le)),sn("Select",{selectedValue:Y,setDefaultValue:(le,ae)=>{l===null?(V.set(le),K.set(ae)):u===le&&Y.set(ae),oe.update(vt=>({...vt,[ae]:typeof ae}))}});const fe=({target:le})=>{let ae=le.value;a[ae]==="number"&&(ae=Number(ae)),Y.set(ae)};let x;Fl(()=>{t(23,h=o),x!==void 0&&h!==x&&N("update",o),x=h});function te(le){X.call(this,r,le)}function ke(le){X.call(this,r,le)}function z(le){X.call(this,r,le)}function _e(le){X.call(this,r,le)}function se(le){X.call(this,r,le)}function Ye(le){X.call(this,r,le)}function lt(le){X.call(this,r,le)}function Et(le){X.call(this,r,le)}function _t(le){qe[le?"unshift":"push"](()=>{F=le,t(0,F)})}function Pe(le){qe[le?"unshift":"push"](()=>{F=le,t(0,F)})}return r.$$set=le=>{e=J(J({},e),Te(le)),t(22,s=ge(e,i)),"selected"in le&&t(23,h=le.selected),"size"in le&&t(1,d=le.size),"inline"in le&&t(2,m=le.inline),"light"in le&&t(3,p=le.light),"disabled"in le&&t(4,v=le.disabled),"id"in le&&t(5,k=le.id),"name"in le&&t(6,O=le.name),"invalid"in le&&t(7,E=le.invalid),"invalidText"in le&&t(8,S=le.invalidText),"warn"in le&&t(9,C=le.warn),"warnText"in le&&t(10,A=le.warnText),"helperText"in le&&t(11,D=le.helperText),"noLabel"in le&&t(12,w=le.noLabel),"labelText"in le&&t(13,B=le.labelText),"hideLabel"in le&&t(14,M=le.hideLabel),"ref"in le&&t(0,F=le.ref),"required"in le&&t(15,q=le.required),"$$scope"in le&&t(25,c=le.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&32&&t(16,n=`error-${k}`),r.$$.dirty[0]&25165824&&Y.set(h??l)},[F,d,m,p,v,k,O,E,S,C,A,D,w,B,M,q,n,Y,V,K,oe,fe,s,h,l,c,f,te,ke,z,_e,se,Ye,lt,Et,_t,Pe]}class Wp extends me{constructor(e){super(),pe(this,e,Qp,Hp,he,{selected:23,size:1,inline:2,light:3,disabled:4,id:5,name:6,invalid:7,invalidText:8,warn:9,warnText:10,helperText:11,noLabel:12,labelText:13,hideLabel:14,ref:0,required:15},null,[-1,-1])}}const on=Wp;function Gp(r){let e,t=(r[1]||r[0])+"",n,i,s;return{c(){e=j("option"),n=ce(t),this.h()},l(l){e=L(l,"OPTION",{class:!0,style:!0});var o=R(e);n=de(o,t),o.forEach(g),this.h()},h(){e.__value=r[0],e.value=e.__value,e.disabled=r[3],e.hidden=r[2],e.selected=r[4],T(e,"class",i=r[5].class),T(e,"style",s=r[5].style),b(e,"bx--select-option",!0)},m(l,o){P(l,e,o),I(e,n)},p(l,[o]){o&3&&t!==(t=(l[1]||l[0])+"")&&ve(n,t),o&1&&(e.__value=l[0],e.value=e.__value),o&8&&(e.disabled=l[3]),o&4&&(e.hidden=l[2]),o&16&&(e.selected=l[4]),o&32&&i!==(i=l[5].class)&&T(e,"class",i),o&32&&s!==(s=l[5].style)&&T(e,"style",s),o&32&&b(e,"bx--select-option",!0)},i:ie,o:ie,d(l){l&&g(e)}}}function Kp(r,e,t){const n=["value","text","hidden","disabled"];let i=ge(e,n),{value:s=""}=e,{text:l=""}=e,{hidden:o=!1}=e,{disabled:a=!1}=e;const u="ccs-"+Math.random().toString(36),f=kt("Select")||kt("TimePickerSelect");let c=!1;const h=f.selectedValue.subscribe(d=>{t(4,c=d===s)});return ln(()=>()=>h()),r.$$set=d=>{e=J(J({},e),Te(d)),t(5,i=ge(e,n)),"value"in d&&t(0,s=d.value),"text"in d&&t(1,l=d.text),"hidden"in d&&t(2,o=d.hidden),"disabled"in d&&t(3,a=d.disabled)},r.$$.update=()=>{var d;r.$$.dirty&1&&((d=f==null?void 0:f.setDefaultValue)==null||d.call(f,u,s))},[s,l,o,a,c,i]}class Zp extends me{constructor(e){super(),pe(this,e,Kp,Gp,he,{value:0,text:1,hidden:2,disabled:3})}}const an=Zp;function qo(r){let e;return{c(){e=j("span"),this.h()},l(t){e=L(t,"SPAN",{}),R(e).forEach(g),this.h()},h(){b(e,"bx--label",!0),b(e,"bx--skeleton",!0)},m(t,n){P(t,e,n)},d(t){t&&g(e)}}}function Jp(r){let e,t,n,i,s,l,o=!r[0]&&qo(),a=[r[1]],u={};for(let f=0;f{e=J(J({},e),Te(f)),t(1,i=ge(e,n)),"hideLabel"in f&&t(0,s=f.hideLabel)},[s,i,l,o,a,u]}class Xp extends me{constructor(e){super(),pe(this,e,Yp,Jp,he,{hideLabel:0})}}const Kl=Xp;function xp(r){let e,t;const n=r[4].default,i=Ie(n,r,r[3],null);let s=[{label:r[1]},{disabled:r[0]},r[2]],l={};for(let o=0;o{e=J(J({},e),Te(u)),t(2,i=ge(e,n)),"disabled"in u&&t(0,o=u.disabled),"label"in u&&t(1,a=u.label),"$$scope"in u&&t(3,l=u.$$scope)},[o,a,i,l,s]}class eg extends me{constructor(e){super(),pe(this,e,$p,xp,he,{disabled:0,label:1})}}const cc=eg;function tg(r){let e,t,n,i=[r[1]],s={};for(let l=0;l{e=J(J({},e),Te(f)),t(1,i=ge(e,n)),"size"in f&&t(0,s=f.size)},[s,i,l,o,a,u]}class rg extends me{constructor(e){super(),pe(this,e,ng,tg,he,{size:0})}}const ig=rg,lg=r=>({}),Bo=r=>({}),sg=r=>({}),Fo=r=>({props:{class:"bx--tag__label"}}),og=r=>({}),zo=r=>({props:{class:"bx--tag__label"}});function ag(r){let e,t,n,i,s,l,o=(r[11].icon||r[7])&&Vo(r);const a=r[13].default,u=Ie(a,r,r[12],null);let f=[{id:r[8]},r[10]],c={};for(let h=0;h{o=null}),re()),u&&u.p&&(!i||d&4096)&&Re(u,a,h,h[12],i?Me(a,h[12],d,null):De(h[12]),null),we(e,c=Ne(f,[(!i||d&256)&&{id:h[8]},d&1024&&h[10]])),b(e,"bx--tag",!0),b(e,"bx--tag--disabled",h[3]),b(e,"bx--tag--sm",h[1]==="sm"),b(e,"bx--tag--red",h[0]==="red"),b(e,"bx--tag--magenta",h[0]==="magenta"),b(e,"bx--tag--purple",h[0]==="purple"),b(e,"bx--tag--blue",h[0]==="blue"),b(e,"bx--tag--cyan",h[0]==="cyan"),b(e,"bx--tag--teal",h[0]==="teal"),b(e,"bx--tag--green",h[0]==="green"),b(e,"bx--tag--gray",h[0]==="gray"),b(e,"bx--tag--cool-gray",h[0]==="cool-gray"),b(e,"bx--tag--warm-gray",h[0]==="warm-gray"),b(e,"bx--tag--high-contrast",h[0]==="high-contrast"),b(e,"bx--tag--outline",h[0]==="outline")},i(h){i||(_(o),_(u,h),i=!0)},o(h){y(o),y(u,h),i=!1},d(h){h&&g(e),o&&o.d(),u&&u.d(h),s=!1,Ge(l)}}}function ug(r){let e,t,n,i,s,l,o,a=(r[11].icon||r[7])&&Uo(r);const u=r[13].default,f=Ie(u,r,r[12],null);let c=[{type:"button"},{id:r[8]},{disabled:r[3]},{"aria-disabled":r[3]},{tabindex:i=r[3]?"-1":void 0},r[10]],h={};for(let d=0;d{a=null}),re()),f&&f.p&&(!s||m&4096)&&Re(f,u,d,d[12],s?Me(u,d[12],m,null):De(d[12]),null),we(e,h=Ne(c,[{type:"button"},(!s||m&256)&&{id:d[8]},(!s||m&8)&&{disabled:d[3]},(!s||m&8)&&{"aria-disabled":d[3]},(!s||m&8&&i!==(i=d[3]?"-1":void 0))&&{tabindex:i},m&1024&&d[10]])),b(e,"bx--tag",!0),b(e,"bx--tag--interactive",!0),b(e,"bx--tag--disabled",d[3]),b(e,"bx--tag--sm",d[1]==="sm"),b(e,"bx--tag--red",d[0]==="red"),b(e,"bx--tag--magenta",d[0]==="magenta"),b(e,"bx--tag--purple",d[0]==="purple"),b(e,"bx--tag--blue",d[0]==="blue"),b(e,"bx--tag--cyan",d[0]==="cyan"),b(e,"bx--tag--teal",d[0]==="teal"),b(e,"bx--tag--green",d[0]==="green"),b(e,"bx--tag--gray",d[0]==="gray"),b(e,"bx--tag--cool-gray",d[0]==="cool-gray"),b(e,"bx--tag--warm-gray",d[0]==="warm-gray"),b(e,"bx--tag--high-contrast",d[0]==="high-contrast"),b(e,"bx--tag--outline",d[0]==="outline")},i(d){s||(_(a),_(f,d),s=!0)},o(d){y(a),y(f,d),s=!1},d(d){d&&g(e),a&&a.d(),f&&f.d(d),l=!1,Ge(o)}}}function fg(r){let e,t,n,i,s,l,o;const a=r[13].default,u=Ie(a,r,r[12],zo),f=u||mg(r);i=new Ul({});let c=[{"aria-label":r[6]},{id:r[8]},r[10]],h={};for(let d=0;d{Q(a,1)}),re()}i?(e=je(i,s()),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function Uo(r){let e,t;const n=r[13].icon,i=Ie(n,r,r[12],Fo),s=i||hg(r);return{c(){e=j("div"),s&&s.c(),this.h()},l(l){e=L(l,"DIV",{});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){b(e,"bx--tag__custom-icon",!0)},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o&4096)&&Re(i,n,l,l[12],t?Me(n,l[12],o,sg):De(l[12]),Fo):s&&s.p&&(!t||o&128)&&s.p(l,t?o:-1)},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function hg(r){let e,t,n;var i=r[7];function s(l){return{}}return i&&(e=je(i,s())),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,o){if(o&128&&i!==(i=l[7])){if(e){ne();const a=e;y(a.$$.fragment,1,0,()=>{Q(a,1)}),re()}i?(e=je(i,s()),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function mg(r){let e,t;return{c(){e=j("span"),t=ce(r[0]),this.h()},l(n){e=L(n,"SPAN",{});var i=R(e);t=de(i,r[0]),i.forEach(g),this.h()},h(){b(e,"bx--tag__label",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&1&&ve(t,n[0])},d(n){n&&g(e)}}}function pg(r){let e,t,n,i;const s=[cg,fg,ug,ag],l=[];function o(a,u){return a[5]?0:a[2]?1:a[4]?2:3}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function gg(r,e,t){const n=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let i=ge(e,n),{$$slots:s={},$$scope:l}=e;const o=di(s);let{type:a=void 0}=e,{size:u="default"}=e,{filter:f=!1}=e,{disabled:c=!1}=e,{interactive:h=!1}=e,{skeleton:d=!1}=e,{title:m="Clear filter"}=e,{icon:p=void 0}=e,{id:v="ccs-"+Math.random().toString(36)}=e;const k=ct();function O(x){X.call(this,r,x)}function E(x){X.call(this,r,x)}function S(x){X.call(this,r,x)}function C(x){X.call(this,r,x)}function A(x){X.call(this,r,x)}function D(x){X.call(this,r,x)}function w(x){X.call(this,r,x)}function B(x){X.call(this,r,x)}function M(x){X.call(this,r,x)}function F(x){X.call(this,r,x)}function q(x){X.call(this,r,x)}function N(x){X.call(this,r,x)}function Y(x){X.call(this,r,x)}function V(x){X.call(this,r,x)}function K(x){X.call(this,r,x)}function oe(x){X.call(this,r,x)}const fe=()=>{k("close")};return r.$$set=x=>{e=J(J({},e),Te(x)),t(10,i=ge(e,n)),"type"in x&&t(0,a=x.type),"size"in x&&t(1,u=x.size),"filter"in x&&t(2,f=x.filter),"disabled"in x&&t(3,c=x.disabled),"interactive"in x&&t(4,h=x.interactive),"skeleton"in x&&t(5,d=x.skeleton),"title"in x&&t(6,m=x.title),"icon"in x&&t(7,p=x.icon),"id"in x&&t(8,v=x.id),"$$scope"in x&&t(12,l=x.$$scope)},[a,u,f,c,h,d,m,p,v,k,i,o,l,s,O,E,S,C,A,D,w,B,M,F,q,N,Y,V,K,oe,fe]}class bg extends me{constructor(e){super(),pe(this,e,gg,pg,he,{type:0,size:1,filter:2,disabled:3,interactive:4,skeleton:5,title:6,icon:7,id:8})}}const _g=bg,vg=r=>({}),Ho=r=>({}),yg=r=>({}),Qo=r=>({});function Wo(r){let e,t,n,i=r[9]&&Go(r),s=!r[22]&&r[6]&&Ko(r);return{c(){e=j("div"),i&&i.c(),t=$(),s&&s.c(),this.h()},l(l){e=L(l,"DIV",{});var o=R(e);i&&i.l(o),t=ee(o),s&&s.l(o),o.forEach(g),this.h()},h(){b(e,"bx--text-input__label-helper-wrapper",!0)},m(l,o){P(l,e,o),i&&i.m(e,null),I(e,t),s&&s.m(e,null),n=!0},p(l,o){l[9]?i?(i.p(l,o),o[0]&512&&_(i,1)):(i=Go(l),i.c(),_(i,1),i.m(e,t)):i&&(ne(),y(i,1,1,()=>{i=null}),re()),!l[22]&&l[6]?s?s.p(l,o):(s=Ko(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(l){n||(_(i),n=!0)},o(l){y(i),n=!1},d(l){l&&g(e),i&&i.d(),s&&s.d()}}}function Go(r){let e,t;const n=r[28].labelText,i=Ie(n,r,r[27],Qo),s=i||kg(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){T(e,"for",r[7]),b(e,"bx--label",!0),b(e,"bx--visually-hidden",r[10]),b(e,"bx--label--disabled",r[5]),b(e,"bx--label--inline",r[16]),b(e,"bx--label--inline--sm",r[2]==="sm"),b(e,"bx--label--inline--xl",r[2]==="xl")},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[0]&134217728)&&Re(i,n,l,l[27],t?Me(n,l[27],o,yg):De(l[27]),Qo):s&&s.p&&(!t||o[0]&512)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&128)&&T(e,"for",l[7]),(!t||o[0]&1024)&&b(e,"bx--visually-hidden",l[10]),(!t||o[0]&32)&&b(e,"bx--label--disabled",l[5]),(!t||o[0]&65536)&&b(e,"bx--label--inline",l[16]),(!t||o[0]&4)&&b(e,"bx--label--inline--sm",l[2]==="sm"),(!t||o[0]&4)&&b(e,"bx--label--inline--xl",l[2]==="xl")},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function kg(r){let e;return{c(){e=ce(r[9])},l(t){e=de(t,r[9])},m(t,n){P(t,e,n)},p(t,n){n[0]&512&&ve(e,t[9])},d(t){t&&g(e)}}}function Ko(r){let e,t;return{c(){e=j("div"),t=ce(r[6]),this.h()},l(n){e=L(n,"DIV",{});var i=R(e);t=de(i,r[6]),i.forEach(g),this.h()},h(){b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[5]),b(e,"bx--form__helper-text--inline",r[16])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&64&&ve(t,n[6]),i[0]&32&&b(e,"bx--form__helper-text--disabled",n[5]),i[0]&65536&&b(e,"bx--form__helper-text--inline",n[16])},d(n){n&&g(e)}}}function Zo(r){let e,t;const n=r[28].labelText,i=Ie(n,r,r[27],Ho),s=i||Eg(r);return{c(){e=j("label"),s&&s.c(),this.h()},l(l){e=L(l,"LABEL",{for:!0});var o=R(e);s&&s.l(o),o.forEach(g),this.h()},h(){T(e,"for",r[7]),b(e,"bx--label",!0),b(e,"bx--visually-hidden",r[10]),b(e,"bx--label--disabled",r[5]),b(e,"bx--label--inline",r[16]),b(e,"bx--label--inline-sm",r[16]&&r[2]==="sm"),b(e,"bx--label--inline-xl",r[16]&&r[2]==="xl")},m(l,o){P(l,e,o),s&&s.m(e,null),t=!0},p(l,o){i?i.p&&(!t||o[0]&134217728)&&Re(i,n,l,l[27],t?Me(n,l[27],o,vg):De(l[27]),Ho):s&&s.p&&(!t||o[0]&512)&&s.p(l,t?o:[-1,-1]),(!t||o[0]&128)&&T(e,"for",l[7]),(!t||o[0]&1024)&&b(e,"bx--visually-hidden",l[10]),(!t||o[0]&32)&&b(e,"bx--label--disabled",l[5]),(!t||o[0]&65536)&&b(e,"bx--label--inline",l[16]),(!t||o[0]&65540)&&b(e,"bx--label--inline-sm",l[16]&&l[2]==="sm"),(!t||o[0]&65540)&&b(e,"bx--label--inline-xl",l[16]&&l[2]==="xl")},i(l){t||(_(s,l),t=!0)},o(l){y(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Eg(r){let e;return{c(){e=ce(r[9])},l(t){e=de(t,r[9])},m(t,n){P(t,e,n)},p(t,n){n[0]&512&&ve(e,t[9])},d(t){t&&g(e)}}}function Sg(r){let e,t,n,i=r[11]&&Jo(),s=!r[11]&&r[13]&&Yo();return{c(){i&&i.c(),e=$(),s&&s.c(),t=G()},l(l){i&&i.l(l),e=ee(l),s&&s.l(l),t=G()},m(l,o){i&&i.m(l,o),P(l,e,o),s&&s.m(l,o),P(l,t,o),n=!0},p(l,o){l[11]?i?o[0]&2048&&_(i,1):(i=Jo(),i.c(),_(i,1),i.m(e.parentNode,e)):i&&(ne(),y(i,1,1,()=>{i=null}),re()),!l[11]&&l[13]?s?o[0]&10240&&_(s,1):(s=Yo(),s.c(),_(s,1),s.m(t.parentNode,t)):s&&(ne(),y(s,1,1,()=>{s=null}),re())},i(l){n||(_(i),_(s),n=!0)},o(l){y(i),y(s),n=!1},d(l){i&&i.d(l),l&&g(e),s&&s.d(l),l&&g(t)}}}function Og(r){let e,t;return e=new fc({props:{class:"bx--text-input__readonly-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Jo(r){let e,t;return e=new ur({props:{class:"bx--text-input__invalid-icon"}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Yo(r){let e,t;return e=new hi({props:{class:`bx--text-input__invalid-icon
+ bx--text-input__invalid-icon--warning`}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Xo(r){let e;return{c(){e=j("hr"),this.h()},l(t){e=L(t,"HR",{}),this.h()},h(){b(e,"bx--text-input__divider",!0)},m(t,n){P(t,e,n)},d(t){t&&g(e)}}}function xo(r){let e,t;return{c(){e=j("div"),t=ce(r[12]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[12]),i.forEach(g),this.h()},h(){T(e,"id",r[19]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&4096&&ve(t,n[12]),i[0]&524288&&T(e,"id",n[19])},d(n){n&&g(e)}}}function $o(r){let e,t;return{c(){e=j("div"),t=ce(r[14]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[14]),i.forEach(g),this.h()},h(){T(e,"id",r[18]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&16384&&ve(t,n[14]),i[0]&262144&&T(e,"id",n[18])},d(n){n&&g(e)}}}function ea(r){let e,t;return{c(){e=j("div"),t=ce(r[6]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[6]),i.forEach(g),this.h()},h(){T(e,"id",r[20]),b(e,"bx--form__helper-text",!0),b(e,"bx--form__helper-text--disabled",r[5]),b(e,"bx--form__helper-text--inline",r[16])},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&64&&ve(t,n[6]),i[0]&1048576&&T(e,"id",n[20]),i[0]&32&&b(e,"bx--form__helper-text--disabled",n[5]),i[0]&65536&&b(e,"bx--form__helper-text--inline",n[16])},d(n){n&&g(e)}}}function ta(r){let e,t;return{c(){e=j("div"),t=ce(r[12]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[12]),i.forEach(g),this.h()},h(){T(e,"id",r[19]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&4096&&ve(t,n[12]),i[0]&524288&&T(e,"id",n[19])},d(n){n&&g(e)}}}function na(r){let e,t;return{c(){e=j("div"),t=ce(r[14]),this.h()},l(n){e=L(n,"DIV",{id:!0});var i=R(e);t=de(i,r[14]),i.forEach(g),this.h()},h(){T(e,"id",r[18]),b(e,"bx--form-requirement",!0)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i[0]&16384&&ve(t,n[14]),i[0]&262144&&T(e,"id",n[18])},d(n){n&&g(e)}}}function wg(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O,E,S,C,A,D,w,B=r[16]&&Wo(r),M=!r[16]&&(r[9]||r[26].labelText)&&Zo(r);const F=[Og,Sg],q=[];function N(z,_e){return z[17]?0:1}l=N(r),o=q[l]=F[l](r);let Y=[{"data-invalid":f=r[21]||void 0},{"aria-invalid":c=r[21]||void 0},{"data-warn":h=r[13]||void 0},{"aria-describedby":d=r[21]?r[19]:r[13]?r[18]:r[6]?r[20]:void 0},{disabled:r[5]},{id:r[7]},{name:r[8]},{placeholder:r[3]},{required:r[15]},{readOnly:r[17]},r[25]],V={};for(let z=0;z{B=null}),re()),!z[16]&&(z[9]||z[26].labelText)?M?(M.p(z,_e),_e[0]&67174912&&_(M,1)):(M=Zo(z),M.c(),_(M,1),M.m(e,n)):M&&(ne(),y(M,1,1,()=>{M=null}),re());let se=l;l=N(z),l===se?q[l].p(z,_e):(ne(),y(q[se],1,1,()=>{q[se]=null}),re(),o=q[l],o?o.p(z,_e):(o=q[l]=F[l](z),o.c()),_(o,1),o.m(s,a)),we(u,V=Ne(Y,[(!A||_e[0]&2097152&&f!==(f=z[21]||void 0))&&{"data-invalid":f},(!A||_e[0]&2097152&&c!==(c=z[21]||void 0))&&{"aria-invalid":c},(!A||_e[0]&8192&&h!==(h=z[13]||void 0))&&{"data-warn":h},(!A||_e[0]&3940416&&d!==(d=z[21]?z[19]:z[13]?z[18]:z[6]?z[20]:void 0))&&{"aria-describedby":d},(!A||_e[0]&32)&&{disabled:z[5]},(!A||_e[0]&128)&&{id:z[7]},(!A||_e[0]&256)&&{name:z[8]},(!A||_e[0]&8)&&{placeholder:z[3]},(!A||_e[0]&32768)&&{required:z[15]},(!A||_e[0]&131072)&&{readOnly:z[17]},_e[0]&33554432&&z[25]])),_e[0]&1&&u.value!==z[0]&&js(u,z[0]),b(u,"bx--text-input",!0),b(u,"bx--text-input--light",z[4]),b(u,"bx--text-input--invalid",z[21]),b(u,"bx--text-input--warning",z[13]),b(u,"bx--text-input--sm",z[2]==="sm"),b(u,"bx--text-input--xl",z[2]==="xl"),z[22]?K||(K=Xo(),K.c(),K.m(s,p)):K&&(K.d(1),K=null),z[22]&&!z[16]&&z[11]?oe?oe.p(z,_e):(oe=xo(z),oe.c(),oe.m(s,v)):oe&&(oe.d(1),oe=null),z[22]&&!z[16]&&z[13]?fe?fe.p(z,_e):(fe=$o(z),fe.c(),fe.m(s,null)):fe&&(fe.d(1),fe=null),(!A||_e[0]&2097152&&k!==(k=z[21]||void 0))&&T(s,"data-invalid",k),(!A||_e[0]&8192&&O!==(O=z[13]||void 0))&&T(s,"data-warn",O),(!A||_e[0]&10240)&&b(s,"bx--text-input__field-wrapper--warning",!z[11]&&z[13]),!z[11]&&!z[13]&&!z[22]&&!z[16]&&z[6]?x?x.p(z,_e):(x=ea(z),x.c(),x.m(i,S)):x&&(x.d(1),x=null),!z[22]&&z[11]?te?te.p(z,_e):(te=ta(z),te.c(),te.m(i,C)):te&&(te.d(1),te=null),!z[22]&&!z[11]&&z[13]?ke?ke.p(z,_e):(ke=na(z),ke.c(),ke.m(i,null)):ke&&(ke.d(1),ke=null),(!A||_e[0]&65536)&&b(i,"bx--text-input__field-outer-wrapper--inline",z[16]),(!A||_e[0]&65536)&&b(e,"bx--text-input-wrapper--inline",z[16]),(!A||_e[0]&16)&&b(e,"bx--text-input-wrapper--light",z[4]),(!A||_e[0]&131072)&&b(e,"bx--text-input-wrapper--readonly",z[17])},i(z){A||(_(B),_(M),_(o),A=!0)},o(z){y(B),y(M),y(o),A=!1},d(z){z&&g(e),B&&B.d(),M&&M.d(),q[l].d(),r[38](null),K&&K.d(),oe&&oe.d(),fe&&fe.d(),x&&x.d(),te&&te.d(),ke&&ke.d(),D=!1,Ge(w)}}}function Ag(r,e,t){let n,i,s,l,o;const a=["size","value","placeholder","light","disabled","helperText","id","name","labelText","hideLabel","invalid","invalidText","warn","warnText","ref","required","inline","readonly"];let u=ge(e,a),{$$slots:f={},$$scope:c}=e;const h=di(f);let{size:d=void 0}=e,{value:m=""}=e,{placeholder:p=""}=e,{light:v=!1}=e,{disabled:k=!1}=e,{helperText:O=""}=e,{id:E="ccs-"+Math.random().toString(36)}=e,{name:S=void 0}=e,{labelText:C=""}=e,{hideLabel:A=!1}=e,{invalid:D=!1}=e,{invalidText:w=""}=e,{warn:B=!1}=e,{warnText:M=""}=e,{ref:F=null}=e,{required:q=!1}=e,{inline:N=!1}=e,{readonly:Y=!1}=e;const V=kt("Form"),K=ct();function oe(ae){return u.type!=="number"?ae:ae!=""?Number(ae):null}const fe=ae=>{t(0,m=oe(ae.target.value)),K("input",m)},x=ae=>{K("change",oe(ae.target.value))};function te(ae){X.call(this,r,ae)}function ke(ae){X.call(this,r,ae)}function z(ae){X.call(this,r,ae)}function _e(ae){X.call(this,r,ae)}function se(ae){X.call(this,r,ae)}function Ye(ae){X.call(this,r,ae)}function lt(ae){X.call(this,r,ae)}function Et(ae){X.call(this,r,ae)}function _t(ae){X.call(this,r,ae)}function Pe(ae){qe[ae?"unshift":"push"](()=>{F=ae,t(1,F)})}function le(){m=this.value,t(0,m)}return r.$$set=ae=>{e=J(J({},e),Te(ae)),t(25,u=ge(e,a)),"size"in ae&&t(2,d=ae.size),"value"in ae&&t(0,m=ae.value),"placeholder"in ae&&t(3,p=ae.placeholder),"light"in ae&&t(4,v=ae.light),"disabled"in ae&&t(5,k=ae.disabled),"helperText"in ae&&t(6,O=ae.helperText),"id"in ae&&t(7,E=ae.id),"name"in ae&&t(8,S=ae.name),"labelText"in ae&&t(9,C=ae.labelText),"hideLabel"in ae&&t(10,A=ae.hideLabel),"invalid"in ae&&t(11,D=ae.invalid),"invalidText"in ae&&t(12,w=ae.invalidText),"warn"in ae&&t(13,B=ae.warn),"warnText"in ae&&t(14,M=ae.warnText),"ref"in ae&&t(1,F=ae.ref),"required"in ae&&t(15,q=ae.required),"inline"in ae&&t(16,N=ae.inline),"readonly"in ae&&t(17,Y=ae.readonly),"$$scope"in ae&&t(27,c=ae.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&133120&&t(21,i=D&&!Y),r.$$.dirty[0]&128&&t(20,s=`helper-${E}`),r.$$.dirty[0]&128&&t(19,l=`error-${E}`),r.$$.dirty[0]&128&&t(18,o=`warn-${E}`)},t(22,n=!!V&&V.isFluid),[m,F,d,p,v,k,O,E,S,C,A,D,w,B,M,q,N,Y,o,l,s,i,n,fe,x,u,h,c,f,te,ke,z,_e,se,Ye,lt,Et,_t,Pe,le]}class Tg extends me{constructor(e){super(),pe(this,e,Ag,wg,he,{size:2,value:0,placeholder:3,light:4,disabled:5,helperText:6,id:7,name:8,labelText:9,hideLabel:10,invalid:11,invalidText:12,warn:13,warnText:14,ref:1,required:15,inline:16,readonly:17},null,[-1,-1])}}const _n=Tg,Pg=r=>({}),ra=r=>({}),Cg=r=>({}),ia=r=>({}),Ig=r=>({}),la=r=>({});function Rg(r){let e;return{c(){e=ce(r[5])},l(t){e=de(t,r[5])},m(t,n){P(t,e,n)},p(t,n){n&32&&ve(e,t[5])},d(t){t&&g(e)}}}function Dg(r){let e;return{c(){e=ce(r[3])},l(t){e=de(t,r[3])},m(t,n){P(t,e,n)},p(t,n){n&8&&ve(e,t[3])},d(t){t&&g(e)}}}function Mg(r){let e;return{c(){e=ce(r[4])},l(t){e=de(t,r[4])},m(t,n){P(t,e,n)},p(t,n){n&16&&ve(e,t[4])},d(t){t&&g(e)}}}function Ng(r){let e,t,n,i,s,l,o,a,u,f,c,h,d,m,p,v;const k=r[12].labelText,O=Ie(k,r,r[11],la),E=O||Rg(r),S=r[12].labelA,C=Ie(S,r,r[11],ia),A=C||Dg(r),D=r[12].labelB,w=Ie(D,r,r[11],ra),B=w||Mg(r);let M=[r[9],{style:d=r[9].style+"; user-select: none"}],F={};for(let q=0;q{t(0,a=!a)},M=F=>{(F.key===" "||F.key==="Enter")&&(F.preventDefault(),t(0,a=!a))};return r.$$set=F=>{t(10,e=J(J({},e),Te(F))),t(9,i=ge(e,n)),"size"in F&&t(1,o=F.size),"toggled"in F&&t(0,a=F.toggled),"disabled"in F&&t(2,u=F.disabled),"labelA"in F&&t(3,f=F.labelA),"labelB"in F&&t(4,c=F.labelB),"labelText"in F&&t(5,h=F.labelText),"hideLabel"in F&&t(6,d=F.hideLabel),"id"in F&&t(7,m=F.id),"name"in F&&t(8,p=F.name),"$$scope"in F&&t(11,l=F.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&v("toggle",{toggled:a})},e=Te(e),[a,o,u,f,c,h,d,m,p,i,e,l,s,k,O,E,S,C,A,D,w,B,M]}class Lg extends me{constructor(e){super(),pe(this,e,jg,Ng,he,{size:1,toggled:0,disabled:2,labelA:3,labelB:4,labelText:5,hideLabel:6,id:7,name:8})}}const qg=Lg;class Vn{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const er=typeof window>"u"||"Deno"in window;function yt(){}function Bg(r,e){return typeof r=="function"?r(e):r}function el(r){return typeof r=="number"&&r>=0&&r!==1/0}function dc(r,e){return Math.max(r+(e||0)-Date.now(),0)}function In(r,e,t){return fr(r)?typeof e=="function"?{...t,queryKey:r,queryFn:e}:{...e,queryKey:r}:r}function Fg(r,e,t){return fr(r)?typeof e=="function"?{...t,mutationKey:r,mutationFn:e}:{...e,mutationKey:r}:typeof r=="function"?{...e,mutationFn:r}:{...r}}function Xt(r,e,t){return fr(r)?[{...e,queryKey:r},t]:[r||{},e]}function sa(r,e){const{type:t="all",exact:n,fetchStatus:i,predicate:s,queryKey:l,stale:o}=r;if(fr(l)){if(n){if(e.queryHash!==Zl(l,e.options))return!1}else if(!Hr(e.queryKey,l))return!1}if(t!=="all"){const a=e.isActive();if(t==="active"&&!a||t==="inactive"&&a)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||typeof i<"u"&&i!==e.state.fetchStatus||s&&!s(e))}function oa(r,e){const{exact:t,fetching:n,predicate:i,mutationKey:s}=r;if(fr(s)){if(!e.options.mutationKey)return!1;if(t){if(hn(e.options.mutationKey)!==hn(s))return!1}else if(!Hr(e.options.mutationKey,s))return!1}return!(typeof n=="boolean"&&e.state.status==="loading"!==n||i&&!i(e))}function Zl(r,e){return((e==null?void 0:e.queryKeyHashFn)||hn)(r)}function hn(r){return JSON.stringify(r,(e,t)=>nl(t)?Object.keys(t).sort().reduce((n,i)=>(n[i]=t[i],n),{}):t)}function Hr(r,e){return hc(r,e)}function hc(r,e){return r===e?!0:typeof r!=typeof e?!1:r&&e&&typeof r=="object"&&typeof e=="object"?!Object.keys(e).some(t=>!hc(r[t],e[t])):!1}function mc(r,e){if(r===e)return r;const t=aa(r)&&aa(e);if(t||nl(r)&&nl(e)){const n=t?r.length:Object.keys(r).length,i=t?e:Object.keys(e),s=i.length,l=t?[]:{};let o=0;for(let a=0;a"u")return!0;const t=e.prototype;return!(!ua(t)||!t.hasOwnProperty("isPrototypeOf"))}function ua(r){return Object.prototype.toString.call(r)==="[object Object]"}function fr(r){return Array.isArray(r)}function pc(r){return new Promise(e=>{setTimeout(e,r)})}function fa(r){pc(0).then(r)}function zg(){if(typeof AbortController=="function")return new AbortController}function rl(r,e,t){return t.isDataEqual!=null&&t.isDataEqual(r,e)?r:typeof t.structuralSharing=="function"?t.structuralSharing(r,e):t.structuralSharing!==!1?mc(r,e):e}class Vg extends Vn{constructor(){super(),this.setup=e=>{if(!er&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;(e=this.cleanup)==null||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,(t=this.cleanup)==null||t.call(this),this.cleanup=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Qr=new Vg,ca=["online","offline"];class Ug extends Vn{constructor(){super(),this.setup=e=>{if(!er&&window.addEventListener){const t=()=>e();return ca.forEach(n=>{window.addEventListener(n,t,!1)}),()=>{ca.forEach(n=>{window.removeEventListener(n,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;(e=this.cleanup)==null||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,(t=this.cleanup)==null||t.call(this),this.cleanup=e(n=>{typeof n=="boolean"?this.setOnline(n):this.onOnline()})}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Wr=new Ug;function Hg(r){return Math.min(1e3*2**r,3e4)}function mi(r){return(r??"online")==="online"?Wr.isOnline():!0}class gc{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}}function Cr(r){return r instanceof gc}function bc(r){let e=!1,t=0,n=!1,i,s,l;const o=new Promise((v,k)=>{s=v,l=k}),a=v=>{n||(d(new gc(v)),r.abort==null||r.abort())},u=()=>{e=!0},f=()=>{e=!1},c=()=>!Qr.isFocused()||r.networkMode!=="always"&&!Wr.isOnline(),h=v=>{n||(n=!0,r.onSuccess==null||r.onSuccess(v),i==null||i(),s(v))},d=v=>{n||(n=!0,r.onError==null||r.onError(v),i==null||i(),l(v))},m=()=>new Promise(v=>{i=k=>{const O=n||!c();return O&&v(k),O},r.onPause==null||r.onPause()}).then(()=>{i=void 0,n||r.onContinue==null||r.onContinue()}),p=()=>{if(n)return;let v;try{v=r.fn()}catch(k){v=Promise.reject(k)}Promise.resolve(v).then(h).catch(k=>{var O,E;if(n)return;const S=(O=r.retry)!=null?O:3,C=(E=r.retryDelay)!=null?E:Hg,A=typeof C=="function"?C(t,k):C,D=S===!0||typeof S=="number"&&t{if(c())return m()}).then(()=>{e?d(k):p()})})};return mi(r.networkMode)?p():m().then(p),{promise:o,cancel:a,continue:()=>(i==null?void 0:i())?o:Promise.resolve(),cancelRetry:u,continueRetry:f}}const Jl=console;function Qg(){let r=[],e=0,t=f=>{f()},n=f=>{f()};const i=f=>{let c;e++;try{c=f()}finally{e--,e||o()}return c},s=f=>{e?r.push(f):fa(()=>{t(f)})},l=f=>(...c)=>{s(()=>{f(...c)})},o=()=>{const f=r;r=[],f.length&&fa(()=>{n(()=>{f.forEach(c=>{t(c)})})})};return{batch:i,batchCalls:l,schedule:s,setNotifyFunction:f=>{t=f},setBatchNotifyFunction:f=>{n=f}}}const Xe=Qg();class _c{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),el(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,e??(er?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Wg extends _c{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||Jl,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||Gg(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(e,t){const n=rl(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return(t=this.retryer)==null||t.cancel(e),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>e.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!dc(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}onOnline(){var e;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&t!=null&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var s;return(s=this.retryer)==null||s.continueRetry(),this.promise}}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(m=>m.options.queryFn);d&&this.setOptions(d.options)}Array.isArray(this.options.queryKey);const l=zg(),o={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};a(o);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(o)):Promise.reject("Missing queryFn"),f={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};if(a(f),(n=this.options.behavior)==null||n.onFetch(f),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=f.fetchOptions)==null?void 0:i.meta)){var c;this.dispatch({type:"fetch",meta:(c=f.fetchOptions)==null?void 0:c.meta})}const h=d=>{if(Cr(d)&&d.silent||this.dispatch({type:"error",error:d}),!Cr(d)){var m,p,v,k;(m=(p=this.cache.config).onError)==null||m.call(p,d,this),(v=(k=this.cache.config).onSettled)==null||v.call(k,this.state.data,d,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=bc({fn:f.fetchFn,abort:l==null?void 0:l.abort.bind(l),onSuccess:d=>{var m,p,v,k;if(typeof d>"u"){h(new Error(this.queryHash+" data is undefined"));return}this.setData(d),(m=(p=this.cache.config).onSuccess)==null||m.call(p,d,this),(v=(k=this.cache.config).onSettled)==null||v.call(k,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:h,onFail:(d,m)=>{this.dispatch({type:"failed",failureCount:d,error:m})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){const t=n=>{var i,s;switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=e.meta)!=null?i:null,fetchStatus:mi(this.options.networkMode)?"fetching":"paused",...!n.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(s=e.dataUpdatedAt)!=null?s:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const l=e.error;return Cr(l)&&l.revert&&this.revertState?{...this.revertState}:{...n,error:l,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Xe.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}function Gg(r){const e=typeof r.initialData=="function"?r.initialData():r.initialData,t=typeof e<"u",n=t?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:t?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"loading",fetchStatus:"idle"}}class Kg extends Vn{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var i;const s=t.queryKey,l=(i=t.queryHash)!=null?i:Zl(s,t);let o=this.get(l);return o||(o=new Wg({cache:this,logger:e.getLogger(),queryKey:s,queryHash:l,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(n=>n!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){Xe.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Xt(e,t);return typeof n.exact>"u"&&(n.exact=!0),this.queries.find(i=>sa(n,i))}findAll(e,t){const[n]=Xt(e,t);return Object.keys(n).length>0?this.queries.filter(i=>sa(n,i)):this.queries}notify(e){Xe.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){Xe.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){Xe.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class Zg extends _c{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||Jl,this.observers=[],this.state=e.state||vc(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return(e=(t=this.retryer)==null?void 0:t.continue())!=null?e:this.execute()}async execute(){const e=()=>{var D;return this.retryer=bc({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(w,B)=>{this.dispatch({type:"failed",failureCount:w,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(D=this.options.retry)!=null?D:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t=this.state.status==="loading";try{var n,i,s,l,o,a,u,f;if(!t){var c,h,d,m;this.dispatch({type:"loading",variables:this.options.variables}),await((c=(h=this.mutationCache.config).onMutate)==null?void 0:c.call(h,this.state.variables,this));const w=await((d=(m=this.options).onMutate)==null?void 0:d.call(m,this.state.variables));w!==this.state.context&&this.dispatch({type:"loading",context:w,variables:this.state.variables})}const D=await e();return await((n=(i=this.mutationCache.config).onSuccess)==null?void 0:n.call(i,D,this.state.variables,this.state.context,this)),await((s=(l=this.options).onSuccess)==null?void 0:s.call(l,D,this.state.variables,this.state.context)),await((o=(a=this.mutationCache.config).onSettled)==null?void 0:o.call(a,D,null,this.state.variables,this.state.context,this)),await((u=(f=this.options).onSettled)==null?void 0:u.call(f,D,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:D}),D}catch(D){try{var p,v,k,O,E,S,C,A;throw await((p=(v=this.mutationCache.config).onError)==null?void 0:p.call(v,D,this.state.variables,this.state.context,this)),await((k=(O=this.options).onError)==null?void 0:k.call(O,D,this.state.variables,this.state.context)),await((E=(S=this.mutationCache.config).onSettled)==null?void 0:E.call(S,void 0,D,this.state.variables,this.state.context,this)),await((C=(A=this.options).onSettled)==null?void 0:C.call(A,void 0,D,this.state.variables,this.state.context)),D}finally{this.dispatch({type:"error",error:D})}}}dispatch(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"loading":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!mi(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...n,...e.state}}};this.state=t(this.state),Xe.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function vc(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class Jg extends Vn{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const i=new Zg({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(i),i}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){Xe.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return typeof e.exact>"u"&&(e.exact=!0),this.mutations.find(t=>oa(e,t))}findAll(e){return this.mutations.filter(t=>oa(e,t))}notify(e){Xe.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=((e=this.resuming)!=null?e:Promise.resolve()).then(()=>{const t=this.mutations.filter(n=>n.state.isPaused);return Xe.batch(()=>t.reduce((n,i)=>n.then(()=>i.continue().catch(yt)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function il(){return{onFetch:r=>{r.fetchFn=()=>{var e,t,n,i,s,l;const o=(e=r.fetchOptions)==null||(t=e.meta)==null?void 0:t.refetchPage,a=(n=r.fetchOptions)==null||(i=n.meta)==null?void 0:i.fetchMore,u=a==null?void 0:a.pageParam,f=(a==null?void 0:a.direction)==="forward",c=(a==null?void 0:a.direction)==="backward",h=((s=r.state.data)==null?void 0:s.pages)||[],d=((l=r.state.data)==null?void 0:l.pageParams)||[];let m=d,p=!1;const v=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>{var D;if((D=r.signal)!=null&&D.aborted)p=!0;else{var w;(w=r.signal)==null||w.addEventListener("abort",()=>{p=!0})}return r.signal}})},k=r.options.queryFn||(()=>Promise.reject("Missing queryFn")),O=(A,D,w,B)=>(m=B?[D,...m]:[...m,D],B?[w,...A]:[...A,w]),E=(A,D,w,B)=>{if(p)return Promise.reject("Cancelled");if(typeof w>"u"&&!D&&A.length)return Promise.resolve(A);const M={queryKey:r.queryKey,pageParam:w,meta:r.options.meta};v(M);const F=k(M);return Promise.resolve(F).then(N=>O(A,w,N,B))};let S;if(!h.length)S=E([]);else if(f){const A=typeof u<"u",D=A?u:ll(r.options,h);S=E(h,A,D)}else if(c){const A=typeof u<"u",D=A?u:yc(r.options,h);S=E(h,A,D,!0)}else{m=[];const A=typeof r.options.getNextPageParam>"u";S=(o&&h[0]?o(h[0],0,h):!0)?E([],A,d[0]):Promise.resolve(O([],d[0],h[0]));for(let w=1;w{if(o&&h[w]?o(h[w],w,h):!0){const F=A?d[w]:ll(r.options,B);return E(B,A,F)}return Promise.resolve(O(B,d[w],h[w]))})}return S.then(A=>({pages:A,pageParams:m}))}}}}function ll(r,e){return r.getNextPageParam==null?void 0:r.getNextPageParam(e[e.length-1],e)}function yc(r,e){return r.getPreviousPageParam==null?void 0:r.getPreviousPageParam(e[0],e)}function Yg(r,e){if(r.getNextPageParam&&Array.isArray(e)){const t=ll(r,e);return typeof t<"u"&&t!==null&&t!==!1}}function Xg(r,e){if(r.getPreviousPageParam&&Array.isArray(e)){const t=yc(r,e);return typeof t<"u"&&t!==null&&t!==!1}}class xg{constructor(e={}){this.queryCache=e.queryCache||new Kg,this.mutationCache=e.mutationCache||new Jg,this.logger=e.logger||Jl,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=Qr.subscribe(()=>{Qr.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Wr.subscribe(()=>{Wr.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,this.mountCount===0&&((e=this.unsubscribeFocus)==null||e.call(this),this.unsubscribeFocus=void 0,(t=this.unsubscribeOnline)==null||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Xt(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return(n=this.queryCache.find(e,t))==null?void 0:n.state.data}ensureQueryData(e,t,n){const i=In(e,t,n),s=this.getQueryData(i.queryKey);return s?Promise.resolve(s):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.queryCache.find(e),s=i==null?void 0:i.state.data,l=Bg(t,s);if(typeof l>"u")return;const o=In(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Xe.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e,t){var n;return(n=this.queryCache.find(e,t))==null?void 0:n.state}removeQueries(e,t){const[n]=Xt(e,t),i=this.queryCache;Xe.batch(()=>{i.findAll(n).forEach(s=>{i.remove(s)})})}resetQueries(e,t,n){const[i,s]=Xt(e,t,n),l=this.queryCache,o={type:"active",...i};return Xe.batch(()=>(l.findAll(i).forEach(a=>{a.reset()}),this.refetchQueries(o,s)))}cancelQueries(e,t,n){const[i,s={}]=Xt(e,t,n);typeof s.revert>"u"&&(s.revert=!0);const l=Xe.batch(()=>this.queryCache.findAll(i).map(o=>o.cancel(s)));return Promise.all(l).then(yt).catch(yt)}invalidateQueries(e,t,n){const[i,s]=Xt(e,t,n);return Xe.batch(()=>{var l,o;if(this.queryCache.findAll(i).forEach(u=>{u.invalidate()}),i.refetchType==="none")return Promise.resolve();const a={...i,type:(l=(o=i.refetchType)!=null?o:i.type)!=null?l:"active"};return this.refetchQueries(a,s)})}refetchQueries(e,t,n){const[i,s]=Xt(e,t,n),l=Xe.batch(()=>this.queryCache.findAll(i).filter(a=>!a.isDisabled()).map(a=>{var u;return a.fetch(void 0,{...s,cancelRefetch:(u=s==null?void 0:s.cancelRefetch)!=null?u:!0,meta:{refetchPage:i.refetchPage}})}));let o=Promise.all(l).then(yt);return s!=null&&s.throwOnError||(o=o.catch(yt)),o}fetchQuery(e,t,n){const i=In(e,t,n),s=this.defaultQueryOptions(i);typeof s.retry>"u"&&(s.retry=!1);const l=this.queryCache.build(this,s);return l.isStaleByTime(s.staleTime)?l.fetch(s):Promise.resolve(l.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(yt).catch(yt)}fetchInfiniteQuery(e,t,n){const i=In(e,t,n);return i.behavior=il(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(yt).catch(yt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find(i=>hn(e)===hn(i.queryKey));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find(n=>Hr(e,n.queryKey));return t==null?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find(i=>hn(e)===hn(i.mutationKey));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find(n=>Hr(e,n.mutationKey));return t==null?void 0:t.defaultOptions}defaultQueryOptions(e){if(e!=null&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(e==null?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=Zl(t.queryKey,t)),typeof t.refetchOnReconnect>"u"&&(t.refetchOnReconnect=t.networkMode!=="always"),typeof t.useErrorBoundary>"u"&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(e==null?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class kc extends Vn{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),da(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return sl(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return sl(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),tl(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const s=this.hasListeners();s&&ha(this.currentQuery,i,this.options,n)&&this.executeFetch(),this.updateResult(t),s&&(this.currentQuery!==i||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();const l=this.computeRefetchInterval();s&&(this.currentQuery!==i||this.options.enabled!==n.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach(n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:(t=e.cancelRefetch)!=null?t:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return e!=null&&e.throwOnError||(t=t.catch(yt)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),er||this.currentResult.isStale||!el(this.options.staleTime))return;const t=dc(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},t)}computeRefetchInterval(){var e;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(e=this.options.refetchInterval)!=null?e:!1}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!(er||this.options.enabled===!1||!el(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Qr.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,i=this.options,s=this.currentResult,l=this.currentResultState,o=this.currentResultOptions,a=e!==n,u=a?e.state:this.currentQueryInitialState,f=a?this.currentResult:this.previousQueryResult,{state:c}=e;let{dataUpdatedAt:h,error:d,errorUpdatedAt:m,fetchStatus:p,status:v}=c,k=!1,O=!1,E;if(t._optimisticResults){const w=this.hasListeners(),B=!w&&da(e,t),M=w&&ha(e,n,t,i);(B||M)&&(p=mi(e.options.networkMode)?"fetching":"paused",h||(v="loading")),t._optimisticResults==="isRestoring"&&(p="idle")}if(t.keepPreviousData&&!c.dataUpdatedAt&&f!=null&&f.isSuccess&&v!=="error")E=f.data,h=f.dataUpdatedAt,v=f.status,k=!0;else if(t.select&&typeof c.data<"u")if(s&&c.data===(l==null?void 0:l.data)&&t.select===this.selectFn)E=this.selectResult;else try{this.selectFn=t.select,E=t.select(c.data),E=rl(s==null?void 0:s.data,E,t),this.selectResult=E,this.selectError=null}catch(w){this.selectError=w}else E=c.data;if(typeof t.placeholderData<"u"&&typeof E>"u"&&v==="loading"){let w;if(s!=null&&s.isPlaceholderData&&t.placeholderData===(o==null?void 0:o.placeholderData))w=s.data;else if(w=typeof t.placeholderData=="function"?t.placeholderData():t.placeholderData,t.select&&typeof w<"u")try{w=t.select(w),this.selectError=null}catch(B){this.selectError=B}typeof w<"u"&&(v="success",E=rl(s==null?void 0:s.data,w,t),O=!0)}this.selectError&&(d=this.selectError,E=this.selectResult,m=Date.now(),v="error");const S=p==="fetching",C=v==="loading",A=v==="error";return{status:v,fetchStatus:p,isLoading:C,isSuccess:v==="success",isError:A,isInitialLoading:C&&S,data:E,dataUpdatedAt:h,error:d,errorUpdatedAt:m,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:S,isRefetching:S&&!C,isLoadingError:A&&c.dataUpdatedAt===0,isPaused:p==="paused",isPlaceholderData:O,isPreviousData:k,isRefetchError:A&&c.dataUpdatedAt!==0,isStale:Yl(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,tl(n,t))return;this.currentResult=n;const i={cache:!0},s=()=>{if(!t)return!0;const{notifyOnChangeProps:l}=this.options;if(l==="all"||!l&&!this.trackedProps.size)return!0;const o=new Set(l??this.trackedProps);return this.options.useErrorBoundary&&o.add("error"),Object.keys(this.currentResult).some(a=>{const u=a;return this.currentResult[u]!==t[u]&&o.has(u)})};(e==null?void 0:e.listeners)!==!1&&s()&&(i.listeners=!0),this.notify({...i,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(t==null||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};e.type==="success"?t.onSuccess=!e.manual:e.type==="error"&&!Cr(e.error)&&(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){Xe.batch(()=>{if(e.onSuccess){var t,n,i,s;(t=(n=this.options).onSuccess)==null||t.call(n,this.currentResult.data),(i=(s=this.options).onSettled)==null||i.call(s,this.currentResult.data,null)}else if(e.onError){var l,o,a,u;(l=(o=this.options).onError)==null||l.call(o,this.currentResult.error),(a=(u=this.options).onSettled)==null||a.call(u,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach(({listener:f})=>{f(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function $g(r,e){return e.enabled!==!1&&!r.state.dataUpdatedAt&&!(r.state.status==="error"&&e.retryOnMount===!1)}function da(r,e){return $g(r,e)||r.state.dataUpdatedAt>0&&sl(r,e,e.refetchOnMount)}function sl(r,e,t){if(e.enabled!==!1){const n=typeof t=="function"?t(r):t;return n==="always"||n!==!1&&Yl(r,e)}return!1}function ha(r,e,t,n){return t.enabled!==!1&&(r!==e||n.enabled===!1)&&(!t.suspense||r.state.status!=="error")&&Yl(r,t)}function Yl(r,e){return r.isStaleByTime(e.staleTime)}class e1 extends kc{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:il()},t)}getOptimisticResult(e){return e.behavior=il(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,i,s,l,o,a;const{state:u}=e,f=super.createResult(e,t),{isFetching:c,isRefetching:h}=f,d=c&&((n=u.fetchMeta)==null||(i=n.fetchMore)==null?void 0:i.direction)==="forward",m=c&&((s=u.fetchMeta)==null||(l=s.fetchMore)==null?void 0:l.direction)==="backward";return{...f,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Yg(t,(o=u.data)==null?void 0:o.pages),hasPreviousPage:Xg(t,(a=u.data)==null?void 0:a.pages),isFetchingNextPage:d,isFetchingPreviousPage:m,isRefetching:h&&!d&&!m}}}class t1 extends Vn{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),tl(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(t=this.currentMutation)==null||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;(e=this.currentMutation)==null||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();const t={listeners:!0};e.type==="success"?t.onSuccess=!0:e.type==="error"&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof e<"u"?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:vc(),t={...e,isLoading:e.status==="loading",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){Xe.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(e.onSuccess){var t,n,i,s;(t=(n=this.mutateOptions).onSuccess)==null||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(i=(s=this.mutateOptions).onSettled)==null||i.call(s,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(e.onError){var l,o,a,u;(l=(o=this.mutateOptions).onError)==null||l.call(o,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(a=(u=this.mutateOptions).onSettled)==null||a.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}e.listeners&&this.listeners.forEach(({listener:f})=>{f(this.currentResult)})})}}const Ec="$$_queryClient",n1=()=>{const r=kt(Ec);if(!r)throw new Error("No QueryClient was found in Svelte context. Did you forget to wrap your component with QueryClientProvider?");return r},T3=r=>{sn(Ec,r)};function Sc(){return n1()}function Oc(r,e){const t=Sc(),n=t.defaultQueryOptions(r);n._optimisticResults="optimistic";let i=new e(t,n);n.onError&&(n.onError=Xe.batchCalls(n.onError)),n.onSuccess&&(n.onSuccess=Xe.batchCalls(n.onSuccess)),n.onSettled&&(n.onSettled=Xe.batchCalls(n.onSettled)),Ur(i).subscribe(o=>{i=o,i.setOptions(n,{listeners:!1})});const s=Ur(i.getCurrentResult(),o=>i.subscribe(Xe.batchCalls(o))),{subscribe:l}=rc(s,o=>(o=i.getOptimisticResult(n),n.notifyOnChangeProps?o:i.trackResult(o)));return{subscribe:l}}function r1(r,e,t){const n=In(r,e,t);return Oc(n,kc)}function i1(r,e,t){const n=In(r,e,t);return Oc(n,e1)}function l1(r,e,t){const n=Fg(r,e,t),i=Sc();let s=new t1(i,n),l;Ur(s).subscribe(u=>{s=u,l=(f,c)=>{s.mutate(f,c).catch(s1)},s.setOptions(n)});const o=Ur(s.getCurrentResult(),u=>s.subscribe(Xe.batchCalls(f=>u(f)))),{subscribe:a}=rc(o,u=>({...u,mutate:l,mutateAsync:u.mutate}));return{subscribe:a}}function s1(){}const ma=mt([]),rt=new xg({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:1/0,retry:!1,onError:r=>{var e;console.error((e=r.body)==null?void 0:e.detail),ma.update(t=>[...t,r])}},mutations:{onError:r=>{var e;console.error((e=r.body)==null?void 0:e.detail),ma.update(t=>[...t,r])}}}});class pa extends Error{constructor(e,t,n){super(n),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}}class o1 extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}var Rt,Dt,wt,$t,pn,ar,Nn;class a1{constructor(e){Jt(this,Rt,void 0);Jt(this,Dt,void 0);Jt(this,wt,void 0);Jt(this,$t,void 0);Jt(this,pn,void 0);Jt(this,ar,void 0);Jt(this,Nn,void 0);St(this,Rt,!1),St(this,Dt,!1),St(this,wt,!1),St(this,$t,[]),St(this,pn,new Promise((t,n)=>{St(this,ar,t),St(this,Nn,n);const i=o=>{var a;He(this,Rt)||He(this,Dt)||He(this,wt)||(St(this,Rt,!0),(a=He(this,ar))==null||a.call(this,o))},s=o=>{var a;He(this,Rt)||He(this,Dt)||He(this,wt)||(St(this,Dt,!0),(a=He(this,Nn))==null||a.call(this,o))},l=o=>{He(this,Rt)||He(this,Dt)||He(this,wt)||He(this,$t).push(o)};return Object.defineProperty(l,"isResolved",{get:()=>He(this,Rt)}),Object.defineProperty(l,"isRejected",{get:()=>He(this,Dt)}),Object.defineProperty(l,"isCancelled",{get:()=>He(this,wt)}),e(i,s,l)}))}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,t){return He(this,pn).then(e,t)}catch(e){return He(this,pn).catch(e)}finally(e){return He(this,pn).finally(e)}cancel(){var e;if(!(He(this,Rt)||He(this,Dt)||He(this,wt))){if(St(this,wt,!0),He(this,$t).length)try{for(const t of He(this,$t))t()}catch(t){console.warn("Cancellation threw an error",t);return}He(this,$t).length=0,(e=He(this,Nn))==null||e.call(this,new o1("Request aborted"))}}get isCancelled(){return He(this,wt)}}Rt=new WeakMap,Dt=new WeakMap,wt=new WeakMap,$t=new WeakMap,pn=new WeakMap,ar=new WeakMap,Nn=new WeakMap;const Be={BASE:"",VERSION:"0.1.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0},Xl=r=>r!=null,cr=r=>typeof r=="string",Si=r=>cr(r)&&r!=="",xl=r=>typeof r=="object"&&typeof r.type=="string"&&typeof r.stream=="function"&&typeof r.arrayBuffer=="function"&&typeof r.constructor=="function"&&typeof r.constructor.name=="string"&&/^(Blob|File)$/.test(r.constructor.name)&&/^(Blob|File)$/.test(r[Symbol.toStringTag]),wc=r=>r instanceof FormData,u1=r=>{try{return btoa(r)}catch{return Buffer.from(r).toString("base64")}},f1=r=>{const e=[],t=(i,s)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(s))}`)},n=(i,s)=>{Xl(s)&&(Array.isArray(s)?s.forEach(l=>{n(i,l)}):typeof s=="object"?Object.entries(s).forEach(([l,o])=>{n(`${i}[${l}]`,o)}):t(i,s))};return Object.entries(r).forEach(([i,s])=>{n(i,s)}),e.length>0?`?${e.join("&")}`:""},c1=(r,e)=>{const t=r.ENCODE_PATH||encodeURI,n=e.url.replace("{api-version}",r.VERSION).replace(/{(.*?)}/g,(s,l)=>{var o;return(o=e.path)!=null&&o.hasOwnProperty(l)?t(String(e.path[l])):s}),i=`${r.BASE}${n}`;return e.query?`${i}${f1(e.query)}`:i},d1=r=>{if(r.formData){const e=new FormData,t=(n,i)=>{cr(i)||xl(i)?e.append(n,i):e.append(n,JSON.stringify(i))};return Object.entries(r.formData).filter(([n,i])=>Xl(i)).forEach(([n,i])=>{Array.isArray(i)?i.forEach(s=>t(n,s)):t(n,i)}),e}},vr=async(r,e)=>typeof e=="function"?e(r):e,h1=async(r,e)=>{const t=await vr(e,r.TOKEN),n=await vr(e,r.USERNAME),i=await vr(e,r.PASSWORD),s=await vr(e,r.HEADERS),l=Object.entries({Accept:"application/json",...s,...e.headers}).filter(([o,a])=>Xl(a)).reduce((o,[a,u])=>({...o,[a]:String(u)}),{});if(Si(t)&&(l.Authorization=`Bearer ${t}`),Si(n)&&Si(i)){const o=u1(`${n}:${i}`);l.Authorization=`Basic ${o}`}return e.body&&(e.mediaType?l["Content-Type"]=e.mediaType:xl(e.body)?l["Content-Type"]=e.body.type||"application/octet-stream":cr(e.body)?l["Content-Type"]="text/plain":wc(e.body)||(l["Content-Type"]="application/json")),new Headers(l)},m1=r=>{var e;if(r.body!==void 0)return(e=r.mediaType)!=null&&e.includes("/json")?JSON.stringify(r.body):cr(r.body)||xl(r.body)||wc(r.body)?r.body:JSON.stringify(r.body)},p1=async(r,e,t,n,i,s,l)=>{const o=new AbortController,a={headers:s,body:n??i,method:e.method,signal:o.signal};return r.WITH_CREDENTIALS&&(a.credentials=r.CREDENTIALS),l(()=>o.abort()),await fetch(t,a)},g1=(r,e)=>{if(e){const t=r.headers.get(e);if(cr(t))return t}},b1=async r=>{if(r.status!==204)try{const e=r.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await r.json():await r.text()}catch(e){console.error(e)}},_1=(r,e)=>{const n={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...r.errors}[e.status];if(n)throw new pa(r,e,n);if(!e.ok)throw new pa(r,e,"Generic Error")},Fe=(r,e)=>new a1(async(t,n,i)=>{try{const s=c1(r,e),l=d1(e),o=m1(e),a=await h1(r,e);if(!i.isCancelled){const u=await p1(r,e,s,o,l,a,i),f=await b1(u),c=g1(u,e.responseHeader),h={url:s,ok:u.ok,status:u.status,statusText:u.statusText,body:c??f};_1(e,h),t(h.body)}}catch(s){n(s)}});class jt{static getConcepts(){return Fe(Be,{method:"GET",url:"/api/v1/concepts/"})}static getConcept(e,t,n){return Fe(Be,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},query:{draft:n},errors:{422:"Validation Error"}})}static editConcept(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteConcept(e,t){return Fe(Be,{method:"DELETE",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static createConcept(e){return Fe(Be,{method:"POST",url:"/api/v1/concepts/create",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}static mergeConceptDraft(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}/merge_draft",path:{namespace:e,concept_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static getConceptModels(e,t){return Fe(Be,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/model",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static getConceptModel(e,t,n){return Fe(Be,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/model/{embedding_name}",path:{namespace:e,concept_name:t,embedding_name:n},errors:{422:"Validation Error"}})}static score(e,t,n,i){return Fe(Be,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}/model/{embedding_name}/score",path:{namespace:e,concept_name:t,embedding_name:n},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static generateExamples(e){return Fe(Be,{method:"GET",url:"/api/v1/concepts/generate_examples",query:{description:e},errors:{422:"Validation Error"}})}}class $l{static getSources(){return Fe(Be,{method:"GET",url:"/api/v1/data_loaders/"})}static getSourceSchema(e){return Fe(Be,{method:"GET",url:"/api/v1/data_loaders/{source_name}",path:{source_name:e},errors:{422:"Validation Error"}})}static load(e,t){return Fe(Be,{method:"POST",url:"/api/v1/data_loaders/{source_name}/load",path:{source_name:e},body:t,mediaType:"application/json",errors:{422:"Validation Error"}})}}class ot{static getDatasets(){return Fe(Be,{method:"GET",url:"/api/v1/datasets/"})}static getManifest(e,t){return Fe(Be,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static deleteDataset(e,t){return Fe(Be,{method:"DELETE",url:"/api/v1/datasets/{namespace}/{dataset_name}",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static computeSignal(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/compute_signal",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteSignal(e,t,n){return Fe(Be,{method:"DELETE",url:"/api/v1/datasets/{namespace}/{dataset_name}/delete_signal",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static getStats(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/stats",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectRowsDownload(e,t,n){return Fe(Be,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows_download",path:{namespace:e,dataset_name:t},query:{url_safe_options:n},errors:{422:"Validation Error"}})}static selectRows(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectRowsSchema(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows_schema",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectGroups(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_groups",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}static getMedia(e,t,n,i){return Fe(Be,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/media",path:{namespace:e,dataset_name:t},query:{item_id:n,leaf_path:i},errors:{422:"Validation Error"}})}static getConfig(e,t,n){return Fe(Be,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/config",path:{namespace:e,dataset_name:t},query:{format:n},errors:{422:"Validation Error"}})}static getSettings(e,t){return Fe(Be,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/settings",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static updateSettings(e,t,n){return Fe(Be,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/settings",path:{namespace:e,dataset_name:t},body:n,mediaType:"application/json",errors:{422:"Validation Error"}})}}class v1{static authInfo(){return Fe(Be,{method:"GET",url:"/auth_info"})}}class pi{static getSignals(){return Fe(Be,{method:"GET",url:"/api/v1/signals/"})}static getEmbeddings(){return Fe(Be,{method:"GET",url:"/api/v1/signals/embeddings"})}static compute(e){return Fe(Be,{method:"POST",url:"/api/v1/signals/compute",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}static schema(e){return Fe(Be,{method:"POST",url:"/api/v1/signals/schema",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}}class y1{static getTaskManifest(){return Fe(Be,{method:"GET",url:"/api/v1/tasks/"})}}const Gr="*",k1="__rowid__",mn="__value__",E1={text:["string","string_span"],text_embedding:["embedding"],image:["binary"]};function P3(r){return S1(r)||O1(r)}function S1(r){return["float16","float32","float64"].indexOf(r??"")>=0}function O1(r){return["int8","int16","int32","int64","uint8","uint16","uint32","uint64"].indexOf(r)>=0}function ht(r){return typeof r=="string"?r:r.map(e=>e.includes(".")?`"${e}"`:e).join(".")}function w1(r){return r.repeated_field?w1(r.repeated_field):r.dtype&&!["embedding","binary"].includes(r.dtype)}function C3(r){return r.dtype&&!["embedding","binary"].includes(r.dtype)}function rn(r){var t;return Array.isArray(r)?r:((t=r.match(/(?:"[^"]*"|[^.])+(?:\.+$)?/g))==null?void 0:t.map(n=>n.replace(/"/g,"")))||[]}function At(r,e){if(!r||!e||(r=rn(r),e=rn(e),r.length!==e.length))return!1;for(let t=0;tt.path.length>0)}function D3(r){return r==null?[]:ft(r).filter(e=>e.dtype!=null)}function M3(r,e){return e==null?[]:(e?ft(e):[]).filter(n=>n.dtype==r)}function Ir(r){let e;if(Array.isArray(r))e=[...r,...r.flatMap(Ir)];else{const{[mn]:t,[tr]:n,[nr]:i,...s}=r,l=Object.values(s||{});e=[];for(const o of l)if(Array.isArray(o)){e=[...e,o];for(const a of o)e=[...e,a,...Ir(a)]}else e=[...e,o,...Ir(o)]}return e}function Tc(r,e){return ft(r).find(n=>es(n.path,e))}function N3(r,e){return Ir(r).filter(n=>es(e,Pc.path(n)))}function Kr(r,e,t=!1){return P1(e)&&(t=!0),e===r?t:e.fields!=null?Object.values(e.fields).some(n=>Kr(r,n,t)):e.repeated_field!=null?Kr(r,e.repeated_field,t):!1}function P1(r){return r.signal!=null}const Pc={path:r=>{if(!r)return;const e=r[tr];if(e==null)throw Error(`Item does not have a path defined: ${JSON.stringify(r)}`);return e},value:(r,e)=>r?r[mn]:null,field:r=>{if(r)return r[nr]},dtype:r=>{const e=Pc.field(r);return e==null?void 0:e.dtype}};function ol(r,e=[]){const{fields:t,repeated_field:n,...i}=r,s={...i,path:[]};if(t!=null){s.fields={};for(const[l,o]of Object.entries(t)){const a=ol(o,[...e,l]);a.path=[...e,l],s.fields[l]=a}}if(n!=null){const l=ol(n,[...e,Gr]);l.path=[...e,Gr],s.repeated_field=l}return s}function al(r,e,t){const n=e.find(s=>es(s.path,t));let i={};if(Array.isArray(r))return i=r.map((s,l)=>al(s,e,[...t,l.toString()])),i[mn]=null,i[tr]=t,i[nr]=n,i;if(r!=null&&typeof r=="object"){const{[mn]:s,...l}=r;i=Object.entries(l).reduce((o,[a,u])=>(o[a]=al(u,e,[...t,a]),o),{}),i[mn]=s}else i[mn]=r;return i[tr]=t,i[nr]=n,i}const C1=(r,e,...t)=>[...r,e,...t];function Ze(r,e,t={}){return e=Array.isArray(e)?e:[e],(...n)=>r1({queryKey:C1(e,r.name,...n),queryFn:()=>r(...n),...t})}function Ht(r,e={}){return()=>l1({mutationFn:t=>r(...t),...e})}const I1="auth_info",R1=Ze(v1.authInfo,I1),ns="tasks",j3=Ze(y1.getTaskManifest,ns,{staleTime:500,refetchInterval:500,refetchIntervalInBackground:!1,refetchOnWindowFocus:!0}),Cc=mt({taskCallbacks:new Map});function Ic(r,e){Cc.update(t=>{const n=t.taskCallbacks.get(r)||[];return t.taskCallbacks.set(r,[...n,e]),t})}function L3(r){Cc.update(e=>{var t;for(const n of e.taskCallbacks.keys()){const i=r.tasks[n];if((i==null?void 0:i.status)=="error"||i.status==="completed"){const s=e.taskCallbacks.get(n)||[];for(;s.length;)(t=s.pop())==null||t(i);e.taskCallbacks.delete(n)}}return e})}const $e="datasets",gi="config",Rc="settings",ga=20,D1=Ze(ot.getDatasets,$e),q3=Ze(ot.getManifest,$e,{}),rs=Ze(ot.getManifest,$e,{select:r=>ts(r.dataset_manifest.data_schema)}),B3=Ze(function(e,t){return e&&t?ot.getManifest(e,t):Promise.resolve(void 0)},$e,{select:r=>r?ts(r.dataset_manifest.data_schema):void 0}),F3=Ze($l.getSources,$e),z3=Ze($l.getSourceSchema,$e,{select:r=>r}),V3=Ht($l.load,{onSuccess:r=>{rt.invalidateQueries([ns]),Ic(r.task_id,()=>{rt.invalidateQueries([$e,"getDatasets"])})}}),M1=Ht(ot.computeSignal,{onSuccess:r=>{rt.invalidateQueries([ns]),Ic(r.task_id,()=>{rt.invalidateQueries([$e,"getManifest"]),rt.invalidateQueries([$e,"selectRowsSchema"]),rt.invalidateQueries([$e,"selectRows"]),rt.invalidateQueries([gi])})}}),U3=Ht(ot.deleteDataset,{onSuccess:()=>{rt.invalidateQueries([$e])}}),H3=Ht(ot.deleteSignal,{onSuccess:()=>{rt.invalidateQueries([$e,"getManifest"]),rt.invalidateQueries([$e,"selectRowsSchema"]),rt.invalidateQueries([$e,"selectRows"]),rt.invalidateQueries([gi])}}),Q3=Ze(ot.getStats,$e),W3=Ze(function(e,t,n){const i=n.map(s=>ot.getStats(e,t,{leaf_path:s}));return Promise.all(i)},$e),G3=Ze(async function(e,t,n,i){const s=await ot.selectRows(e,t,n);return{rows:i==null?s.rows:s.rows.map(l=>Ac(l,i)),total_num_rows:s.total_num_rows}},$e),N1=Ze(ot.selectRowsSchema,$e,{select:r=>({schema:ts(r.data_schema),...r})}),K3=Ze(ot.selectGroups,$e),Z3=(r,e,t,n)=>i1({queryKey:[$e,"selectRows",r,e,t],queryFn:({pageParam:i=0})=>ot.selectRows(r,e,{...t,limit:t.limit||ga,offset:i*(t.limit||ga)}),select:i=>({...i,pages:i.pages.map(s=>({rows:s.rows.map(l=>Ac(l,n)),total_num_rows:s.total_num_rows}))}),getNextPageParam:(i,s)=>s.length,enabled:!!n}),J3=Ze(ot.getConfig,gi),Y3=Ze(ot.getSettings,Rc),X3=Ht(ot.updateSettings,{onSuccess:()=>{rt.invalidateQueries([Rc]),rt.invalidateQueries([gi])}}),Qt="concepts",x3=Ze(jt.getConcept,Qt),j1=Ze(jt.getConcepts,Qt);Ze(jt.getConceptModels,Qt);const $3=Ze(jt.getConceptModel,Qt),ew=Ht(jt.getConceptModel,{onSuccess:()=>{rt.invalidateQueries([Qt])}}),L1=Ht(jt.createConcept,{onSuccess:()=>{rt.invalidateQueries([Qt])}}),q1=Ht(jt.editConcept,{onSuccess:()=>{rt.invalidateQueries([Qt]),rt.invalidateQueries([$e,"selectRows"])}}),tw=Ht(jt.deleteConcept,{onSuccess:()=>rt.invalidateQueries([Qt])}),nw=Ze(jt.score,Qt),bi="signals",B1=Ze(pi.getSignals,bi),F1=Ze(pi.getEmbeddings,bi),rw=Ze(pi.compute,bi),iw=Ze(pi.schema,bi),ul="NAVIGATION_CONTEXT";function lw(){return mt({open:!0})}function sw(r){sn(ul,r)}function ow(){if(!zl(ul))throw new Error("NavigationContext not found");return kt(ul)}var _i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function z1(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function n(){if(this instanceof n){var i=[null];i.push.apply(i,arguments);var s=Function.bind.apply(e,i);return new s}return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),t}var ba=Object.prototype.toString,Dc=function(e){var t=ba.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ba.call(e.callee)==="[object Function]"),n},wi,_a;function V1(){if(_a)return wi;_a=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Dc,i=Object.prototype.propertyIsEnumerable,s=!i.call({toString:null},"toString"),l=i.call(function(){},"prototype"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(h){var d=h.constructor;return d&&d.prototype===h},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var h in window)try{if(!u["$"+h]&&e.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{a(window[h])}catch{return!0}}catch{return!0}return!1}(),c=function(h){if(typeof window>"u"||!f)return a(h);try{return a(h)}catch{return!1}};r=function(d){var m=d!==null&&typeof d=="object",p=t.call(d)==="[object Function]",v=n(d),k=m&&t.call(d)==="[object String]",O=[];if(!m&&!p&&!v)throw new TypeError("Object.keys called on a non-object");var E=l&&p;if(k&&d.length>0&&!e.call(d,0))for(var S=0;S0)for(var C=0;C"u"||!it?Le:it(Uint8Array),bn={"%AggregateError%":typeof AggregateError>"u"?Le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Le:ArrayBuffer,"%ArrayIteratorPrototype%":Tn&&it?it([][Symbol.iterator]()):Le,"%AsyncFromSyncIteratorPrototype%":Le,"%AsyncFunction%":Pn,"%AsyncGenerator%":Pn,"%AsyncGeneratorFunction%":Pn,"%AsyncIteratorPrototype%":Pn,"%Atomics%":typeof Atomics>"u"?Le:Atomics,"%BigInt%":typeof BigInt>"u"?Le:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Le:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Le:FinalizationRegistry,"%Function%":Nc,"%GeneratorFunction%":Pn,"%Int8Array%":typeof Int8Array>"u"?Le:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Le:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tn&&it?it(it([][Symbol.iterator]())):Le,"%JSON%":typeof JSON=="object"?JSON:Le,"%Map%":typeof Map>"u"?Le:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Tn||!it?Le:it(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Le:Promise,"%Proxy%":typeof Proxy>"u"?Le:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Le:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Tn||!it?Le:it(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tn&&it?it(""[Symbol.iterator]()):Le,"%Symbol%":Tn?Symbol:Le,"%SyntaxError%":Ln,"%ThrowTypeError%":$1,"%TypedArray%":tb,"%TypeError%":Mn,"%Uint8Array%":typeof Uint8Array>"u"?Le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Le:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Le:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Le:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Le:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Le:WeakSet};if(it)try{null.error}catch(r){var nb=it(it(r));bn["%Error.prototype%"]=nb}var rb=function r(e){var t;if(e==="%AsyncFunction%")t=Ti("async function () {}");else if(e==="%GeneratorFunction%")t=Ti("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Ti("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&it&&(t=it(i.prototype))}return bn[e]=t,t},Sa={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},hr=ss,Zr=Mc,ib=hr.call(Function.call,Array.prototype.concat),lb=hr.call(Function.apply,Array.prototype.splice),Oa=hr.call(Function.call,String.prototype.replace),Jr=hr.call(Function.call,String.prototype.slice),sb=hr.call(Function.call,RegExp.prototype.exec),ob=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ab=/\\(\\)?/g,ub=function(e){var t=Jr(e,0,1),n=Jr(e,-1);if(t==="%"&&n!=="%")throw new Ln("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new Ln("invalid intrinsic syntax, expected opening `%`");var i=[];return Oa(e,ob,function(s,l,o,a){i[i.length]=o?Oa(a,ab,"$1"):l||s}),i},fb=function(e,t){var n=e,i;if(Zr(Sa,n)&&(i=Sa[n],n="%"+i[0]+"%"),Zr(bn,n)){var s=bn[n];if(s===Pn&&(s=rb(n)),typeof s>"u"&&!t)throw new Mn("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Ln("intrinsic "+e+" does not exist!")},Lt=function(e,t){if(typeof e!="string"||e.length===0)throw new Mn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Mn('"allowMissing" argument must be a boolean');if(sb(/^%?[^%]*%?$/,e)===null)throw new Ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ub(e),i=n.length>0?n[0]:"",s=fb("%"+i+"%",t),l=s.name,o=s.value,a=!1,u=s.alias;u&&(i=u[0],lb(n,ib([0,1],u)));for(var f=1,c=!0;f=n.length){var p=gn(o,h);c=!!p,c&&"get"in p&&!("originalValue"in p.get)?o=p.get:o=o[h]}else c=Zr(o,h),o=o[h];c&&!a&&(bn[l]=o)}}return o},cb=Lt,fl=cb("%Object.defineProperty%",!0),cl=function(){if(fl)try{return fl({},"a",{value:1}),!0}catch{return!1}return!1};cl.hasArrayLengthDefineBug=function(){if(!cl())return null;try{return fl([],"length",{value:1}).length!==1}catch{return!0}};var db=cl,hb=is,mb=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",pb=Object.prototype.toString,gb=Array.prototype.concat,jc=Object.defineProperty,bb=function(r){return typeof r=="function"&&pb.call(r)==="[object Function]"},_b=db(),Lc=jc&&_b,vb=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!bb(n)||!n())return}Lc?jc(r,e,{configurable:!0,enumerable:!1,value:t,writable:!0}):r[e]=t},qc=function(r,e){var t=arguments.length>2?arguments[2]:{},n=hb(e);mb&&(n=gb.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i-1?zc(n):n},kb=is,Vc=vi(),Uc=bt,wa=Object,Eb=Uc("Array.prototype.push"),Aa=Uc("Object.prototype.propertyIsEnumerable"),Sb=Vc?Object.getOwnPropertySymbols:null,Hc=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=wa(e);if(arguments.length===1)return n;for(var i=1;i=0&&dl(e)!=="[object Array]"&&dl(e.callee)==="[object Function]"},t_=function(){return yi(arguments)}();yi.isLegacyArguments=xc;var $c=t_?yi:xc;const n_={},r_=Object.freeze(Object.defineProperty({__proto__:null,default:n_},Symbol.toStringTag,{value:"Module"})),i_=z1(r_);var os=typeof Map=="function"&&Map.prototype,Ii=Object.getOwnPropertyDescriptor&&os?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Yr=os&&Ii&&typeof Ii.get=="function"?Ii.get:null,Pa=os&&Map.prototype.forEach,as=typeof Set=="function"&&Set.prototype,Ri=Object.getOwnPropertyDescriptor&&as?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Xr=as&&Ri&&typeof Ri.get=="function"?Ri.get:null,Ca=as&&Set.prototype.forEach,l_=typeof WeakMap=="function"&&WeakMap.prototype,xn=l_?WeakMap.prototype.has:null,s_=typeof WeakSet=="function"&&WeakSet.prototype,$n=s_?WeakSet.prototype.has:null,o_=typeof WeakRef=="function"&&WeakRef.prototype,Ia=o_?WeakRef.prototype.deref:null,a_=Boolean.prototype.valueOf,u_=Object.prototype.toString,f_=Function.prototype.toString,c_=String.prototype.match,us=String.prototype.slice,en=String.prototype.replace,d_=String.prototype.toUpperCase,Ra=String.prototype.toLowerCase,ed=RegExp.prototype.test,Da=Array.prototype.concat,Mt=Array.prototype.join,h_=Array.prototype.slice,Ma=Math.floor,hl=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Di=Object.getOwnPropertySymbols,ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,qn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ut=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===qn||"symbol")?Symbol.toStringTag:null,td=Object.prototype.propertyIsEnumerable,Na=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function ja(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ed.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Ma(-r):Ma(r);if(n!==r){var i=String(n),s=us.call(e,i.length+1);return en.call(i,t,"$&_")+"."+en.call(en.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return en.call(e,t,"$&_")}var pl=i_,La=pl.custom,qa=rd(La)?La:null,m_=function r(e,t,n,i){var s=t||{};if(xt(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xt(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=xt(s,"customInspect")?s.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(xt(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xt(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=s.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return ld(e,s);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return o?ja(e,a):a}if(typeof e=="bigint"){var u=String(e)+"n";return o?ja(e,u):u}var f=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=f&&f>0&&typeof e=="object")return gl(e)?"[Array]":"[Object]";var c=D_(s,n);if(typeof i>"u")i=[];else if(id(i,e)>=0)return"[Circular]";function h(N,Y,V){if(Y&&(i=h_.call(i),i.push(Y)),V){var K={depth:s.depth};return xt(s,"quoteStyle")&&(K.quoteStyle=s.quoteStyle),r(N,K,n+1,i)}return r(N,s,n+1,i)}if(typeof e=="function"&&!Ba(e)){var d=S_(e),m=yr(e,h);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(m.length>0?" { "+Mt.call(m,", ")+" }":"")}if(rd(e)){var p=qn?en.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ml.call(e);return typeof e=="object"&&!qn?Wn(p):p}if(C_(e)){for(var v="<"+Ra.call(String(e.nodeName)),k=e.attributes||[],O=0;O",e.childNodes&&e.childNodes.length&&(v+="..."),v+=""+Ra.call(String(e.nodeName))+">",v}if(gl(e)){if(e.length===0)return"[]";var E=yr(e,h);return c&&!R_(E)?"["+bl(E,c)+"]":"[ "+Mt.call(E,", ")+" ]"}if(b_(e)){var S=yr(e,h);return!("cause"in Error.prototype)&&"cause"in e&&!td.call(e,"cause")?"{ ["+String(e)+"] "+Mt.call(Da.call("[cause]: "+h(e.cause),S),", ")+" }":S.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Mt.call(S,", ")+" }"}if(typeof e=="object"&&l){if(qa&&typeof e[qa]=="function"&&pl)return pl(e,{depth:f-n});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(O_(e)){var C=[];return Pa&&Pa.call(e,function(N,Y){C.push(h(Y,e,!0)+" => "+h(N,e))}),Fa("Map",Yr.call(e),C,c)}if(T_(e)){var A=[];return Ca&&Ca.call(e,function(N){A.push(h(N,e))}),Fa("Set",Xr.call(e),A,c)}if(w_(e))return Mi("WeakMap");if(P_(e))return Mi("WeakSet");if(A_(e))return Mi("WeakRef");if(v_(e))return Wn(h(Number(e)));if(k_(e))return Wn(h(hl.call(e)));if(y_(e))return Wn(a_.call(e));if(__(e))return Wn(h(String(e)));if(!g_(e)&&!Ba(e)){var D=yr(e,h),w=Na?Na(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",M=!w&&ut&&Object(e)===e&&ut in e?us.call(fn(e),8,-1):B?"Object":"",F=w||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",q=F+(M||B?"["+Mt.call(Da.call([],M||[],B||[]),": ")+"] ":"");return D.length===0?q+"{}":c?q+"{"+bl(D,c)+"}":q+"{ "+Mt.call(D,", ")+" }"}return String(e)};function nd(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function p_(r){return en.call(String(r),/"/g,""")}function gl(r){return fn(r)==="[object Array]"&&(!ut||!(typeof r=="object"&&ut in r))}function g_(r){return fn(r)==="[object Date]"&&(!ut||!(typeof r=="object"&&ut in r))}function Ba(r){return fn(r)==="[object RegExp]"&&(!ut||!(typeof r=="object"&&ut in r))}function b_(r){return fn(r)==="[object Error]"&&(!ut||!(typeof r=="object"&&ut in r))}function __(r){return fn(r)==="[object String]"&&(!ut||!(typeof r=="object"&&ut in r))}function v_(r){return fn(r)==="[object Number]"&&(!ut||!(typeof r=="object"&&ut in r))}function y_(r){return fn(r)==="[object Boolean]"&&(!ut||!(typeof r=="object"&&ut in r))}function rd(r){if(qn)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!ml)return!1;try{return ml.call(r),!0}catch{}return!1}function k_(r){if(!r||typeof r!="object"||!hl)return!1;try{return hl.call(r),!0}catch{}return!1}var E_=Object.prototype.hasOwnProperty||function(r){return r in this};function xt(r,e){return E_.call(r,e)}function fn(r){return u_.call(r)}function S_(r){if(r.name)return r.name;var e=c_.call(f_.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function id(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;te.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return ld(us.call(r,0,e.maxStringLength),e)+n}var i=en.call(en.call(r,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,I_);return nd(i,"single",e)}function I_(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+d_.call(e.toString(16))}function Wn(r){return"Object("+r+")"}function Mi(r){return r+" { ? }"}function Fa(r,e,t,n){var i=n?bl(t,n):Mt.call(t,", ");return r+" ("+e+") {"+i+"}"}function R_(r){for(var e=0;e=0)return!1;return!0}function D_(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=Mt.call(Array(r.indent+1)," ");else return null;return{base:t,prev:Mt.call(Array(e+1),t)}}function bl(r,e){if(r.length===0)return"";var t=`
+`+e.prev+e.base;return t+Mt.call(r,","+t)+`
+`+e.prev}function yr(r,e){var t=gl(r),n=[];if(t){n.length=r.length;for(var i=0;i=n)return t+1;var i=Ka(e,t);if(i<55296||i>56319)return t+1;var s=Ka(e,t+1);return s<56320||s>57343?t+1:t+2},ji=function(e){var t=0;return{next:function(){var i=t>=e.length,s;return i||(s=e[t],t+=1),{done:i,value:s}}}},Za=function(e,t){if(r0(e)||Ha(e))return ji(e);if(i0(e)){var n=0;return{next:function(){var s=a0(e,n),l=o0(e,n,s);return n=s,{done:s>e.length,value:l}}}}if(t&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!l0&&!s0)Dr.exports=function(e){if(e!=null)return Za(e,!0)};else{var u0=fd,f0=dd,Ja=Ot("Map.prototype.forEach",!0),Ya=Ot("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Xa=Ot("Map.prototype.iterator",!0),xa=Ot("Set.prototype.iterator",!0);var $a=Ot("Map.prototype.@@iterator",!0)||Ot("Map.prototype._es6-shim iterator_",!0),eu=Ot("Set.prototype.@@iterator",!0)||Ot("Set.prototype._es6-shim iterator_",!0),c0=function(e){if(u0(e)){if(Xa)return Qa(Xa(e));if($a)return $a(e);if(Ja){var t=[];return Ja(e,function(i,s){Ga(t,[s,i])}),ji(t)}}if(f0(e)){if(xa)return Qa(xa(e));if(eu)return eu(e);if(Ya){var n=[];return Ya(e,function(i){Ga(n,i)}),ji(n)}}};Dr.exports=function(e){return c0(e)||Za(e)}}}var d0=Dr.exports,tu=function(r){return r!==r},hd=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||tu(e)&&tu(t))},h0=hd,md=function(){return typeof Object.is=="function"?Object.is:h0},m0=md,p0=yn,g0=function(){var e=m0();return p0(Object,{is:e},{is:function(){return Object.is!==e}}),e},b0=yn,_0=mr,v0=hd,pd=md,y0=g0,gd=_0(pd(),Object);b0(gd,{getPolyfill:pd,implementation:v0,shim:y0});var k0=gd,bd=Function.prototype.toString,Rn=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,_l,Mr;if(typeof Rn=="function"&&typeof Object.defineProperty=="function")try{_l=Object.defineProperty({},"length",{get:function(){throw Mr}}),Mr={},Rn(function(){throw 42},null,_l)}catch(r){r!==Mr&&(Rn=null)}else Rn=null;var E0=/^\s*class\b/,vl=function(e){try{var t=bd.call(e);return E0.test(t)}catch{return!1}},Li=function(e){try{return vl(e)?!1:(bd.call(e),!0)}catch{return!1}},Nr=Object.prototype.toString,S0="[object Object]",O0="[object Function]",w0="[object GeneratorFunction]",A0="[object HTMLAllCollection]",T0="[object HTML document.all class]",P0="[object HTMLCollection]",C0=typeof Symbol=="function"&&!!Symbol.toStringTag,I0=!(0 in[,]),yl=function(){return!1};if(typeof document=="object"){var R0=document.all;Nr.call(R0)===Nr.call(document.all)&&(yl=function(e){if((I0||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Nr.call(e);return(t===A0||t===T0||t===P0||t===S0)&&e("")==null}catch{}return!1})}var D0=Rn?function(e){if(yl(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Rn(e,null,_l)}catch(t){if(t!==Mr)return!1}return!vl(e)&&Li(e)}:function(e){if(yl(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(C0)return Li(e);if(vl(e))return!1;var t=Nr.call(e);return t!==O0&&t!==w0&&!/^\[object HTML/.test(t)?!1:Li(e)},M0=D0,N0=Object.prototype.toString,_d=Object.prototype.hasOwnProperty,j0=function(e,t,n){for(var i=0,s=e.length;i=3&&(i=n),N0.call(e)==="[object Array]"?j0(e,t,i):typeof e=="string"?L0(e,t,i):q0(e,t,i)},vd=B0,qi=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],F0=typeof globalThis>"u"?_i:globalThis,yd=function(){for(var e=[],t=0;t"u"?_i:globalThis,Od=V0(),Q0=ps("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n-1}return Lr?G0(e):!1},K0=mr,Z0=bt,Td=Lt,J0=Ad,nu=Td("ArrayBuffer",!0),ru=Td("Float32Array",!0),qr=Z0("ArrayBuffer.prototype.byteLength",!0),iu=nu&&!qr&&new nu().slice,lu=iu&&K0(iu),Pd=qr||lu?function(e){if(!e||typeof e!="object")return!1;try{return qr?qr(e):lu(e,0),!0}catch{return!1}}:ru?function(e){try{return new ru(e).buffer===e&&!J0(e)}catch(t){return typeof e=="object"&&t.name==="RangeError"}}:function(e){return!1},Y0=Date.prototype.getDay,X0=function(e){try{return Y0.call(e),!0}catch{return!1}},x0=Object.prototype.toString,$0="[object Date]",ev=un(),tv=function(e){return typeof e!="object"||e===null?!1:ev?X0(e):x0.call(e)===$0},kl=bt,Cd=un(),Id,Rd,El,Sl;if(Cd){Id=kl("Object.prototype.hasOwnProperty"),Rd=kl("RegExp.prototype.exec"),El={};var Fi=function(){throw El};Sl={toString:Fi,valueOf:Fi},typeof Symbol.toPrimitive=="symbol"&&(Sl[Symbol.toPrimitive]=Fi)}var nv=kl("Object.prototype.toString"),rv=Object.getOwnPropertyDescriptor,iv="[object RegExp]",lv=Cd?function(e){if(!e||typeof e!="object")return!1;var t=rv(e,"lastIndex"),n=t&&Id(t,"value");if(!n)return!1;try{Rd(e,Sl)}catch(i){return i===El}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:nv(e)===iv},sv=bt,su=sv("SharedArrayBuffer.prototype.byteLength",!0),ov=su?function(e){if(!e||typeof e!="object")return!1;try{return su(e),!0}catch{return!1}}:function(e){return!1},av=Number.prototype.toString,uv=function(e){try{return av.call(e),!0}catch{return!1}},fv=Object.prototype.toString,cv="[object Number]",dv=un(),hv=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:dv?uv(e):fv.call(e)===cv},Dd=bt,mv=Dd("Boolean.prototype.toString"),pv=Dd("Object.prototype.toString"),gv=function(e){try{return mv(e),!0}catch{return!1}},bv="[object Boolean]",_v=un(),vv=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:_v&&Symbol.toStringTag in e?gv(e):pv(e)===bv},Ol={exports:{}},yv=Object.prototype.toString,kv=ls();if(kv){var Ev=Symbol.prototype.toString,Sv=/^Symbol\(.*\)$/,Ov=function(e){return typeof e.valueOf()!="symbol"?!1:Sv.test(Ev.call(e))};Ol.exports=function(e){if(typeof e=="symbol")return!0;if(yv.call(e)!=="[object Symbol]")return!1;try{return Ov(e)}catch{return!1}}}else Ol.exports=function(e){return!1};var wv=Ol.exports,wl={exports:{}},ou=typeof BigInt<"u"&&BigInt,Av=function(){return typeof ou=="function"&&typeof BigInt=="function"&&typeof ou(42)=="bigint"&&typeof BigInt(42)=="bigint"},Tv=Av();if(Tv){var Pv=BigInt.prototype.valueOf,Cv=function(e){try{return Pv.call(e),!0}catch{}return!1};wl.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:Cv(e)}}else wl.exports=function(e){return!1};var Iv=wl.exports,Rv=ad,Dv=hv,Mv=vv,Nv=wv,jv=Iv,Lv=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(Rv(e))return"String";if(Dv(e))return"Number";if(Mv(e))return"Boolean";if(Nv(e))return"Symbol";if(jv(e))return"BigInt"},ei=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,au=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,ti;ei||(ti=function(e){return!1});var Al=ei?ei.prototype.has:null,zi=au?au.prototype.has:null;!ti&&!Al&&(ti=function(e){return!1});var qv=ti||function(e){if(!e||typeof e!="object")return!1;try{if(Al.call(e,Al),zi)try{zi.call(e,zi)}catch{return!0}return e instanceof ei}catch{}return!1},Tl={exports:{}},Bv=Lt,Md=bt,Fv=Bv("%WeakSet%",!0),Vi=Md("WeakSet.prototype.has",!0);if(Vi){var Ui=Md("WeakMap.prototype.has",!0);Tl.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Vi(e,Vi),Ui)try{Ui(e,Ui)}catch{return!0}return e instanceof Fv}catch{}return!1}}else Tl.exports=function(e){return!1};var zv=Tl.exports,Vv=fd,Uv=dd,Hv=qv,Qv=zv,Wv=function(e){if(e&&typeof e=="object"){if(Vv(e))return"Map";if(Uv(e))return"Set";if(Hv(e))return"WeakMap";if(Qv(e))return"WeakSet"}return!1},Nd=vd,Gv=yd,jd=bt,Hi=kd,Kv=jd("Object.prototype.toString"),Ld=un(),uu=typeof globalThis>"u"?_i:globalThis,Zv=Gv(),Jv=jd("String.prototype.slice"),qd={},Qi=Object.getPrototypeOf;Ld&&Hi&&Qi&&Nd(Zv,function(r){if(typeof uu[r]=="function"){var e=new uu[r];if(Symbol.toStringTag in e){var t=Qi(e),n=Hi(t,Symbol.toStringTag);if(!n){var i=Qi(t);n=Hi(i,Symbol.toStringTag)}qd[r]=n.get}}});var Yv=function(e){var t=!1;return Nd(qd,function(n,i){if(!t)try{var s=n.call(e);s===i&&(t=s)}catch{}}),t},Xv=Ad,xv=function(e){return Xv(e)?!Ld||!(Symbol.toStringTag in e)?Jv(Kv(e),8,-1):Yv(e):!1},$v=bt,fu=$v("ArrayBuffer.prototype.byteLength",!0),ey=Pd,ty=function(e){return ey(e)?fu?fu(e):e.byteLength:NaN},Bd=Nb,qt=bt,cu=Xb,ny=Lt,Bn=d0,ry=sd,du=k0,hu=$c,mu=od,pu=Pd,gu=tv,bu=lv,_u=ov,vu=is,yu=Lv,ku=Wv,Eu=xv,Su=ty,Ou=qt("SharedArrayBuffer.prototype.byteLength",!0),wu=qt("Date.prototype.getTime"),Wi=Object.getPrototypeOf,Au=qt("Object.prototype.toString"),ni=ny("%Set%",!0),Pl=qt("Map.prototype.has",!0),ri=qt("Map.prototype.get",!0),Tu=qt("Map.prototype.size",!0),ii=qt("Set.prototype.add",!0),Fd=qt("Set.prototype.delete",!0),li=qt("Set.prototype.has",!0),Br=qt("Set.prototype.size",!0);function Pu(r,e,t,n){for(var i=Bn(r),s;(s=i.next())&&!s.done;)if(Tt(e,s.value,t,n))return Fd(r,s.value),!0;return!1}function zd(r){if(typeof r>"u")return null;if(typeof r!="object")return typeof r=="symbol"?!1:typeof r=="string"||typeof r=="number"?+r==+r:!0}function iy(r,e,t,n,i,s){var l=zd(t);if(l!=null)return l;var o=ri(e,l),a=Bd({},i,{strict:!1});return typeof o>"u"&&!Pl(e,l)||!Tt(n,o,a,s)?!1:!Pl(r,l)&&Tt(n,o,a,s)}function ly(r,e,t){var n=zd(t);return n??(li(e,n)&&!li(r,n))}function Cu(r,e,t,n,i,s){for(var l=Bn(r),o,a;(o=l.next())&&!o.done;)if(a=o.value,Tt(t,a,i,s)&&Tt(n,ri(e,a),i,s))return Fd(r,a),!0;return!1}function Tt(r,e,t,n){var i=t||{};if(i.strict?du(r,e):r===e)return!0;var s=yu(r),l=yu(e);if(s!==l)return!1;if(!r||!e||typeof r!="object"&&typeof e!="object")return i.strict?du(r,e):r==e;var o=n.has(r),a=n.has(e),u;if(o&&a){if(n.get(r)===n.get(e))return!0}else u={};return o||n.set(r,u),a||n.set(e,u),ay(r,e,i,n)}function Iu(r){return!r||typeof r!="object"||typeof r.length!="number"||typeof r.copy!="function"||typeof r.slice!="function"||r.length>0&&typeof r[0]!="number"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))}function sy(r,e,t,n){if(Br(r)!==Br(e))return!1;for(var i=Bn(r),s=Bn(e),l,o,a;(l=i.next())&&!l.done;)if(l.value&&typeof l.value=="object")a||(a=new ni),ii(a,l.value);else if(!li(e,l.value)){if(t.strict||!ly(r,e,l.value))return!1;a||(a=new ni),ii(a,l.value)}if(a){for(;(o=s.next())&&!o.done;)if(o.value&&typeof o.value=="object"){if(!Pu(a,o.value,t.strict,n))return!1}else if(!t.strict&&!li(r,o.value)&&!Pu(a,o.value,t.strict,n))return!1;return Br(a)===0}return!0}function oy(r,e,t,n){if(Tu(r)!==Tu(e))return!1;for(var i=Bn(r),s=Bn(e),l,o,a,u,f,c;(l=i.next())&&!l.done;)if(u=l.value[0],f=l.value[1],u&&typeof u=="object")a||(a=new ni),ii(a,u);else if(c=ri(e,u),typeof c>"u"&&!Pl(e,u)||!Tt(f,c,t,n)){if(t.strict||!iy(r,e,u,f,t,n))return!1;a||(a=new ni),ii(a,u)}if(a){for(;(o=s.next())&&!o.done;)if(u=o.value[0],c=o.value[1],u&&typeof u=="object"){if(!Cu(a,r,u,c,t,n))return!1}else if(!t.strict&&(!r.has(u)||!Tt(ri(r,u),c,t,n))&&!Cu(a,r,u,c,Bd({},t,{strict:!1}),n))return!1;return Br(a)===0}return!0}function ay(r,e,t,n){var i,s;if(typeof r!=typeof e||r==null||e==null||Au(r)!==Au(e)||hu(r)!==hu(e))return!1;var l=mu(r),o=mu(e);if(l!==o)return!1;var a=r instanceof Error,u=e instanceof Error;if(a!==u||(a||u)&&(r.name!==e.name||r.message!==e.message))return!1;var f=bu(r),c=bu(e);if(f!==c||(f||c)&&(r.source!==e.source||cu(r)!==cu(e)))return!1;var h=gu(r),d=gu(e);if(h!==d||(h||d)&&wu(r)!==wu(e)||t.strict&&Wi&&Wi(r)!==Wi(e))return!1;var m=Eu(r),p=Eu(e);if((m||p)&&m!==p)return!1;var v=Iu(r),k=Iu(e);if(v!==k)return!1;if(v||k){if(r.length!==e.length)return!1;for(i=0;i=0;i--)if(A[i]!=D[i])return!1;for(i=A.length-1;i>=0;i--)if(s=A[i],!Tt(r[s],e[s],t,n))return!1;var w=ku(r),B=ku(e);return w!==B?!1:w==="Set"||B==="Set"?sy(r,e,t,n):w==="Map"?oy(r,e,t,n):!0}var uy=function(e,t,n){return Tt(e,t,n,ry())};const Gi=dr(uy),Cl="DATASET_VIEW_CONTEXT",fy={};function Vd(r,e){return`${r}/${e}`}function cy(r,e){return{namespace:r,datasetName:e,searchPath:null,searchEmbedding:null,selectedColumns:{},expandedColumns:{},query:{columns:[],combine_columns:!0},schemaCollapsed:!1}}function aw(r,e,t=!0){const n=cy(r,e),{subscribe:i,set:s,update:l}=mt(JSON.parse(JSON.stringify(n))),o={subscribe:i,set:s,update:l,reset:()=>{s(JSON.parse(JSON.stringify(n)))},addSelectedColumn:a=>l(u=>(u.selectedColumns[ht(a)]=!0,u)),removeSelectedColumn:a=>l(u=>{u.selectedColumns[ht(a)]=!1;for(const f of Object.keys(u.selectedColumns))Oi(f,a)&&!At(a,f)&&delete u.selectedColumns[f];return u}),addExpandedColumn(a){l(u=>(u.expandedColumns[ht(a)]=!0,u))},removeExpandedColumn(a){l(u=>(delete u.expandedColumns[ht(a)],u))},addUdfColumn:a=>l(u=>{var f;return(f=u.query.columns)==null||f.push(a),u}),removeUdfColumn:a=>l(u=>{var f;return u.query.columns=(f=u.query.columns)==null?void 0:f.filter(c=>c!==a),u}),editUdfColumn:a=>l(u=>{var f;return u.query.columns=(f=u.query.columns)==null?void 0:f.map(c=>A1(c)&&At(c.path,a.path)?a:c),u}),setSearchPath:a=>l(u=>(u.searchPath=ht(a),u)),setSearchEmbedding:a=>l(u=>(u.searchEmbedding=a,u)),addSearch:a=>l(u=>{u.query.searches=u.query.searches||[];for(const f of u.query.searches)if(Gi(f,a))return u;return(a.type==="semantic"||a.type==="concept")&&(u.query.sort_by=void 0,u.query.sort_order=void 0),u.query.searches.push(a),u}),removeSearch:(a,u)=>l(f=>{var c,h;return f.query.searches=(c=f.query.searches)==null?void 0:c.filter(d=>!Gi(d,a)),(f.query.searches||[]).length===0&&(f.query.searches=void 0),(u==null?void 0:u.sorts)!=null&&(f.query.sort_by=(h=f.query.sort_by)==null?void 0:h.filter(d=>!((u==null?void 0:u.sorts)||[]).some(m=>At(m.path,d)))),f}),setSortBy:a=>l(u=>(a==null?u.query.sort_by=void 0:u.query.sort_by=[a],u)),addSortBy:a=>l(u=>(u.query.sort_by=[...u.query.sort_by||[],a],u)),removeSortBy:a=>l(u=>{var f;return u.query.sort_by=(f=u.query.sort_by)==null?void 0:f.filter(c=>!At(c,a)),u}),clearSorts:()=>l(a=>(a.query.sort_by=void 0,a.query.sort_order=void 0,a)),setSortOrder:a=>l(u=>(u.query.sort_order=a||void 0,u)),removeFilter:a=>l(u=>{var f;return u.query.filters=(f=u.query.filters)==null?void 0:f.filter(c=>!Gi(c,a)),(u.query.filters||[]).length===0&&(u.query.filters=void 0),u}),addFilter:a=>l(u=>(u.query.filters=[...u.query.filters||[],a],u)),deleteSignal:a=>l(u=>{var f,c;return u.query.filters=(f=u.query.filters)==null?void 0:f.filter(h=>!Oi(a,h.path)),u.query.sort_by=(c=u.query.sort_by)==null?void 0:c.filter(h=>!Oi(a,h)),u}),deleteConcept(a,u,f){function c(h){return h.type==="concept"&&h.concept_namespace===a&&h.concept_name===u}l(h=>{var m,p,v;const d=[];return h.query.searches=(m=h.query.searches)==null?void 0:m.filter(k=>{const O=!c(k);if(!O&&f!=null&&f.search_results!=null){const E=f.search_results.filter(S=>At(S.search_path,k.path)).map(S=>S.result_path);d.push(...E)}return O}),h.query.sort_by=(p=h.query.sort_by)==null?void 0:p.filter(k=>!d.some(O=>At(O,k))),h.query.filters=(v=h.query.filters)==null?void 0:v.filter(k=>!d.some(O=>At(O,k.path))),h})}};return t&&(fy[Vd(r,e)]=o),o}function uw(r){sn(Cl,r)}function ki(){if(!zl(Cl))throw new Error("DatasetViewContext not found");return kt(Cl)}function dy(r){const e=["*",...r.query.columns??[]];return{...r.query,columns:e}}function hy(r){const e=dy(r);return{columns:e.columns,searches:e.searches,combine_columns:e.combine_columns,sort_by:e.sort_by,sort_order:e.sort_order}}function Ru(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function my(r){let e,t,n=r[1]&&Ru(r),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],s={};for(let l=0;l{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class Ud extends me{constructor(e){super(),pe(this,e,py,my,he,{size:0,title:1})}}function Du(r){let e,t;return{c(){e=Ee("title"),t=ce(r[1])},l(n){e=Se(n,"title",{});var i=R(e);t=de(i,r[1]),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&2&&ve(t,n[1])},d(n){n&&g(e)}}}function gy(r){let e,t,n,i=r[1]&&Du(r),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:r[0]},{height:r[0]},r[2],r[3]],l={};for(let o=0;o{t(5,e=J(J({},e),Te(u))),t(3,l=ge(e,s)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},r.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||a),t(2,i={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=Te(e),[o,a,i,l,n]}class _y extends me{constructor(e){super(),pe(this,e,by,gy,he,{size:0,title:1})}}function Mu(r){let e,t,n,i,s,l=`${r[2]}px`,o=`${Math.max(r[5]/2+Sr,Math.min(r[1],r[6]-r[5]/2-Sr))}px`,a;const u=[yy,vy],f=[];function c(h,d){return h[0]?0:h[3]?1:-1}return~(n=c(r))&&(i=f[n]=u[n](r)),{c(){e=j("div"),t=j("div"),i&&i.c(),this.h()},l(h){e=L(h,"DIV",{role:!0,class:!0});var d=R(e);t=L(d,"DIV",{class:!0});var m=R(t);i&&i.l(m),m.forEach(g),d.forEach(g),this.h()},h(){T(t,"class","min-w-xl text-container svelte-1a6oxtp"),T(e,"role","tooltip"),T(e,"class","hover-tooltip absolute mt-2 -translate-x-1/2 break-words border border-gray-300 bg-white p-2 shadow-md"),yh(()=>r[7].call(e)),Cn(e,"top",l),Cn(e,"left",o)},m(h,d){P(h,e,d),I(e,t),~n&&f[n].m(t,null),s=kh(e,r[7].bind(e)),a=!0},p(h,d){let m=n;n=c(h),n===m?~n&&f[n].p(h,d):(i&&(ne(),y(f[m],1,1,()=>{f[m]=null}),re()),~n?(i=f[n],i?i.p(h,d):(i=f[n]=u[n](h),i.c()),_(i,1),i.m(t,null)):i=null),d&4&&l!==(l=`${h[2]}px`)&&Cn(e,"top",l),d&34&&o!==(o=`${Math.max(h[5]/2+Sr,Math.min(h[1],h[6]-h[5]/2-Sr))}px`)&&Cn(e,"left",o)},i(h){a||(_(i),a=!0)},o(h){y(i),a=!1},d(h){h&&g(e),~n&&f[n].d(),s()}}}function vy(r){let e,t,n;const i=[r[4]];var s=r[3];function l(o){let a={};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l()),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function yy(r){let e,t;return{c(){e=j("span"),t=ce(r[0]),this.h()},l(n){e=L(n,"SPAN",{class:!0});var i=R(e);t=de(i,r[0]),i.forEach(g),this.h()},h(){T(e,"class","whitespace-pre-wrap")},m(n,i){P(n,e,i),I(e,t)},p(n,i){i&1&&ve(t,n[0])},i:ie,o:ie,d(n){n&&g(e)}}}function ky(r){let e,t,n=r[0]!=""&&Mu(r);return{c(){n&&n.c(),e=G()},l(i){n&&n.l(i),e=G()},m(i,s){n&&n.m(i,s),P(i,e,s),t=!0},p(i,[s]){i[0]!=""?n?(n.p(i,s),s&1&&_(n,1)):(n=Mu(i),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(ne(),y(n,1,1,()=>{n=null}),re())},i(i){t||(_(n),t=!0)},o(i){y(n),t=!1},d(i){n&&n.d(i),i&&g(e)}}}const Sr=10;function Ey(r,e,t){let{text:n}=e,{x:i}=e,{y:s}=e,{component:l}=e,{props:o}=e;const a=window.innerWidth;let u=0;function f(){u=this.clientWidth,t(5,u)}return r.$$set=c=>{"text"in c&&t(0,n=c.text),"x"in c&&t(1,i=c.x),"y"in c&&t(2,s=c.y),"component"in c&&t(3,l=c.component),"props"in c&&t(4,o=c.props)},[n,i,s,l,o,u,a,f]}class Sy extends me{constructor(e){super(),pe(this,e,Ey,ky,he,{text:0,x:1,y:2,component:3,props:4})}}function Oy(r,{text:e,component:t,props:n}){if(t==null&&e==null)return;let i,s=e,l=t,o=n;function a(){if(i!=null)return;const f=r.getBoundingClientRect();i=new Sy({props:{text:s,component:l,props:o,x:f.left+f.width/2,y:f.bottom},target:document.body})}function u(){i==null||i.$destroy(),i=void 0}return r.addEventListener("mouseover",a),r.addEventListener("mouseleave",u),r.addEventListener("click",u),{update({text:f,component:c,props:h}){s=f,l=c,o=h,i==null||i.$set({tooltipText:f})},destroy(){u(),r.removeEventListener("mouseover",a),r.removeEventListener("mouseleave",u),r.removeEventListener("click",u)}}}function Nu(r,e,t){const n=r.slice();return n[4]=e[t],n[5]=e,n[6]=t,n}function ju(r){let e,t,n=r[6]+1+"",i,s,l,o,a,u,f,c,h,d,m,p,v;function k(S){r[1](S,r[6])}let O={};r[0][r[6]]!==void 0&&(O.value=r[0][r[6]]),o=new _n({props:O}),qe.push(()=>Ke(o,"value",k)),h=new Ud({});function E(){return r[2](r[6])}return{c(){e=j("div"),t=j("div"),i=ce(n),s=$(),l=j("div"),U(o.$$.fragment),u=$(),f=j("div"),c=j("button"),U(h.$$.fragment),d=$(),this.h()},l(S){e=L(S,"DIV",{class:!0});var C=R(e);t=L(C,"DIV",{class:!0});var A=R(t);i=de(A,n),A.forEach(g),s=ee(C),l=L(C,"DIV",{class:!0});var D=R(l);Z(o.$$.fragment,D),D.forEach(g),u=ee(C),f=L(C,"DIV",{});var w=R(f);c=L(w,"BUTTON",{class:!0});var B=R(c);Z(h.$$.fragment,B),B.forEach(g),w.forEach(g),d=ee(C),C.forEach(g),this.h()},h(){T(t,"class","shrink-0 text-base"),T(l,"class","grow"),T(c,"class","px-1 py-2"),T(e,"class","flex flex-row items-center gap-x-2")},m(S,C){P(S,e,C),I(e,t),I(t,i),I(e,s),I(e,l),H(o,l,null),I(e,u),I(e,f),I(f,c),H(h,c,null),I(e,d),m=!0,p||(v=[Eh(Oy.call(null,c,{text:"Remove example"})),W(c,"click",E)],p=!0)},p(S,C){r=S;const A={};!a&&C&1&&(a=!0,A.value=r[0][r[6]],Je(()=>a=!1)),o.$set(A)},i(S){m||(_(o.$$.fragment,S),_(h.$$.fragment,S),m=!0)},o(S){y(o.$$.fragment,S),y(h.$$.fragment,S),m=!1},d(S){S&&g(e),Q(o),Q(h),p=!1,Ge(v)}}}function wy(r){let e,t,n,i,s,l,o,a,u,f=r[0],c=[];for(let d=0;dy(c[d],1,1,()=>{c[d]=null});return{c(){e=j("div"),t=j("div");for(let d=0;d0),T(e,"class","flex flex-col gap-y-2")},m(d,m){P(d,e,m),I(e,t);for(let p=0;p0)},i(d){if(!o){for(let m=0;m{n.splice(o,1),t(0,n)},l=()=>{t(0,n=[...n||[],""])};return r.$$set=o=>{"examples"in o&&t(0,n=o.examples)},[n,i,s,l]}class Lu extends me{constructor(e){super(),pe(this,e,Ay,wy,he,{examples:0})}}function qu(r,e,t){const n=r.slice();return n[40]=e[t],n}function Bu(r,e,t){const n=r.slice();return n[6]=e[t],n}function Ty(r){let e,t,n;function i(l){r[32](l)}let s={labelText:"namespace"};return r[14]!==void 0&&(s.value=r[14]),e=new _n({props:s}),qe.push(()=>Ke(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){const a={};!t&&o[0]&16384&&(t=!0,a.value=l[14],Je(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function Py(r){let e,t;return e=new _n({props:{labelText:"namespace",disabled:!0}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Fu(r){let e,t;return{c(){e=j("div"),t=ce("This concept will be created under your namespace, so only will be visible to you."),this.h()},l(n){e=L(n,"DIV",{class:!0});var i=R(e);t=de(i,"This concept will be created under your namespace, so only will be visible to you."),i.forEach(g),this.h()},h(){T(e,"class","mb-8 text-xs text-neutral-700")},m(n,i){P(n,e,i),I(e,t)},d(n){n&&g(e)}}}function Cy(r){let e,t,n,i;return n=new ac({}),{c(){e=ce(`Generate
+ `),t=j("span"),U(n.$$.fragment),this.h()},l(s){e=de(s,`Generate
+ `),t=L(s,"SPAN",{class:!0});var l=R(t);Z(n.$$.fragment,l),l.forEach(g),this.h()},h(){T(t,"class","ml-2"),b(t,"invisible",!r[9])},m(s,l){P(s,e,l),P(s,t,l),H(n,t,null),i=!0},p(s,l){(!i||l[0]&512)&&b(t,"invisible",!s[9])},i(s){i||(_(n.$$.fragment,s),i=!0)},o(s){y(n.$$.fragment,s),i=!1},d(s){s&&g(e),s&&g(t),Q(n)}}}function Iy(r){let e,t;return e=new on({props:{labelText:"Dataset",selected:r[15],$$slots:{default:[My]},$$scope:{ctx:r}}}),e.$on("change",r[20]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&32768&&(s.selected=n[15]),i[0]&16|i[1]&16384&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Ry(r){let e,t;return e=new uc({props:{kind:"error",title:"Error",subtitle:r[4].error.message,hideCloseButton:!0}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&16&&(s.subtitle=n[4].error.message),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Dy(r){let e,t;return e=new Kl({}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function zu(r){let e,t;return e=new an({props:{value:`${r[6].namespace}/${r[6].dataset_name}`}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&16&&(s.value=`${n[6].namespace}/${n[6].dataset_name}`),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function My(r){let e,t,n=r[4].data,i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lKe(f,"value",vt));let tt=r[3]&&Fu();function On(ye){r[34](ye)}let Pt={labelText:"Concept description",helperText:"This will be used by an LLM to generate example sentences.",placeholder:"Enter the concept description..."};r[8]!==void 0&&(Pt.value=r[8]),E=new _n({props:Pt}),qe.push(()=>Ke(E,"value",On)),D=new jn({props:{disabled:!r[8]||r[9],$$slots:{default:[Cy]},$$scope:{ctx:r}}}),D.$on("click",r[23]);function ue(ye){r[35](ye)}let ws={};r[11]!==void 0&&(ws.examples=r[11]),B=new Lu({props:ws}),qe.push(()=>Ke(B,"examples",ue));const As=[Dy,Ry,Iy],Wt=[];function Ts(ye,Ve){return ye[4].isLoading?0:ye[4].isError?1:ye[4].data.length>0?2:-1}~(oe=Ts(r))&&(fe=Wt[oe]=As[oe](r));const Ps=[Ly,jy,Ny],Gt=[];function Cs(ye,Ve){var pt,Kt;return(pt=ye[5])!=null&&pt.isLoading?0:(Kt=ye[5])!=null&&Kt.isError?1:ye[1].length>0?2:-1}~(te=Cs(r))&&(ke=Gt[te]=Ps[te](r)),se=new jn({props:{disabled:!r[6]||!r[0],$$slots:{default:[By]},$$scope:{ctx:r}}}),se.$on("click",r[24]);function ph(ye){r[36](ye)}let Is={};return r[12]!==void 0&&(Is.examples=r[12]),lt=new Lu({props:Is}),qe.push(()=>Ke(lt,"examples",ph)),{c(){e=j("div"),t=j("section"),n=j("div"),i=ce("Step 1. Concept details"),s=$(),l=j("div"),a.c(),u=$(),U(f.$$.fragment),h=$(),tt&&tt.c(),d=$(),m=j("section"),p=j("div"),v=ce("Step 2. Add positive examples"),k=$(),O=j("div"),U(E.$$.fragment),C=$(),A=j("div"),U(D.$$.fragment),w=$(),U(B.$$.fragment),F=$(),q=j("section"),N=j("div"),Y=ce("Step 3. Add negative examples"),V=$(),K=j("div"),fe&&fe.c(),x=$(),ke&&ke.c(),z=$(),_e=j("div"),U(se.$$.fragment),Ye=$(),U(lt.$$.fragment),this.h()},l(ye){e=L(ye,"DIV",{class:!0});var Ve=R(e);t=L(Ve,"SECTION",{});var pt=R(t);n=L(pt,"DIV",{class:!0});var Kt=R(n);i=de(Kt,"Step 1. Concept details"),Kt.forEach(g),s=ee(pt),l=L(pt,"DIV",{class:!0});var cn=R(l);a.l(cn),u=ee(cn),Z(f.$$.fragment,cn),cn.forEach(g),h=ee(pt),tt&&tt.l(pt),pt.forEach(g),d=ee(Ve),m=L(Ve,"SECTION",{});var Ct=R(m);p=L(Ct,"DIV",{class:!0});var Hn=R(p);v=de(Hn,"Step 2. Add positive examples"),Hn.forEach(g),k=ee(Ct),O=L(Ct,"DIV",{class:!0});var Zt=R(O);Z(E.$$.fragment,Zt),C=ee(Zt),A=L(Zt,"DIV",{class:!0});var wn=R(A);Z(D.$$.fragment,wn),wn.forEach(g),Zt.forEach(g),w=ee(Ct),Z(B.$$.fragment,Ct),Ct.forEach(g),F=ee(Ve),q=L(Ve,"SECTION",{});var It=R(q);N=L(It,"DIV",{class:!0});var Qn=R(N);Y=de(Qn,"Step 3. Add negative examples"),Qn.forEach(g),V=ee(It),K=L(It,"DIV",{class:!0});var An=R(K);fe&&fe.l(An),x=ee(An),ke&&ke.l(An),z=ee(An),_e=L(An,"DIV",{class:!0});var Rs=R(_e);Z(se.$$.fragment,Rs),Rs.forEach(g),An.forEach(g),Ye=ee(It),Z(lt.$$.fragment,It),It.forEach(g),Ve.forEach(g),this.h()},h(){T(n,"class","header-step svelte-62ihoh"),T(l,"class","flex flex-row gap-x-12"),T(p,"class","header-step svelte-62ihoh"),T(A,"class","generate-button pt-6"),T(O,"class","my-4 flex gap-x-2"),T(N,"class","header-step svelte-62ihoh"),T(_e,"class","generate-button"),T(K,"class","my-4 flex items-end gap-x-2"),T(e,"class","flex flex-col gap-y-8")},m(ye,Ve){P(ye,e,Ve),I(e,t),I(t,n),I(n,i),I(t,s),I(t,l),le[o].m(l,null),I(l,u),H(f,l,null),I(t,h),tt&&tt.m(t,null),I(e,d),I(e,m),I(m,p),I(p,v),I(m,k),I(m,O),H(E,O,null),I(O,C),I(O,A),H(D,A,null),I(m,w),H(B,m,null),I(e,F),I(e,q),I(q,N),I(N,Y),I(q,V),I(q,K),~oe&&Wt[oe].m(K,null),I(K,x),~te&&Gt[te].m(K,null),I(K,z),I(K,_e),H(se,_e,null),I(q,Ye),H(lt,q,null),_t=!0},p(ye,Ve){let pt=o;o=ae(ye),o===pt?le[o].p(ye,Ve):(ne(),y(le[pt],1,1,()=>{le[pt]=null}),re(),a=le[o],a?a.p(ye,Ve):(a=le[o]=Pe[o](ye),a.c()),_(a,1),a.m(l,u));const Kt={};!c&&Ve[0]&128&&(c=!0,Kt.value=ye[7],Je(()=>c=!1)),f.$set(Kt),ye[3]?tt||(tt=Fu(),tt.c(),tt.m(t,null)):tt&&(tt.d(1),tt=null);const cn={};!S&&Ve[0]&256&&(S=!0,cn.value=ye[8],Je(()=>S=!1)),E.$set(cn);const Ct={};Ve[0]&768&&(Ct.disabled=!ye[8]||ye[9]),Ve[0]&512|Ve[1]&16384&&(Ct.$$scope={dirty:Ve,ctx:ye}),D.$set(Ct);const Hn={};!M&&Ve[0]&2048&&(M=!0,Hn.examples=ye[11],Je(()=>M=!1)),B.$set(Hn);let Zt=oe;oe=Ts(ye),oe===Zt?~oe&&Wt[oe].p(ye,Ve):(fe&&(ne(),y(Wt[Zt],1,1,()=>{Wt[Zt]=null}),re()),~oe?(fe=Wt[oe],fe?fe.p(ye,Ve):(fe=Wt[oe]=As[oe](ye),fe.c()),_(fe,1),fe.m(K,x)):fe=null);let wn=te;te=Cs(ye),te===wn?~te&&Gt[te].p(ye,Ve):(ke&&(ne(),y(Gt[wn],1,1,()=>{Gt[wn]=null}),re()),~te?(ke=Gt[te],ke?ke.p(ye,Ve):(ke=Gt[te]=Ps[te](ye),ke.c()),_(ke,1),ke.m(K,z)):ke=null);const It={};Ve[0]&65&&(It.disabled=!ye[6]||!ye[0]),Ve[0]&1024|Ve[1]&16384&&(It.$$scope={dirty:Ve,ctx:ye}),se.$set(It);const Qn={};!Et&&Ve[0]&4096&&(Et=!0,Qn.examples=ye[12],Je(()=>Et=!1)),lt.$set(Qn)},i(ye){_t||(_(a),_(f.$$.fragment,ye),_(E.$$.fragment,ye),_(D.$$.fragment,ye),_(B.$$.fragment,ye),_(fe),_(ke),_(se.$$.fragment,ye),_(lt.$$.fragment,ye),_t=!0)},o(ye){y(a),y(f.$$.fragment,ye),y(E.$$.fragment,ye),y(D.$$.fragment,ye),y(B.$$.fragment,ye),y(fe),y(ke),y(se.$$.fragment,ye),y(lt.$$.fragment,ye),_t=!1},d(ye){ye&&g(e),le[o].d(),Q(f),tt&&tt.d(),Q(E),Q(D),Q(B),~oe&&Wt[oe].d(),~te&&Gt[te].d(),Q(se),Q(lt)}}}function zy(r){let e,t,n,i,s,l;return e=new Ql({props:{title:"New Concept"}}),n=new Wl({props:{hasForm:!0,$$slots:{default:[Fy]},$$scope:{ctx:r}}}),s=new Gl({props:{primaryButtonText:"Create",secondaryButtonText:"Cancel",primaryButtonDisabled:r[14].length==0||r[7].length==0}}),s.$on("click:button--secondary",r[25]),{c(){U(e.$$.fragment),t=$(),U(n.$$.fragment),i=$(),U(s.$$.fragment)},l(o){Z(e.$$.fragment,o),t=ee(o),Z(n.$$.fragment,o),i=ee(o),Z(s.$$.fragment,o)},m(o,a){H(e,o,a),P(o,t,a),H(n,o,a),P(o,i,a),H(s,o,a),l=!0},p(o,a){const u={};a[0]&65531|a[1]&16384&&(u.$$scope={dirty:a,ctx:o}),n.$set(u);const f={};a[0]&16512&&(f.primaryButtonDisabled=o[14].length==0||o[7].length==0),s.$set(f)},i(o){l||(_(e.$$.fragment,o),_(n.$$.fragment,o),_(s.$$.fragment,o),l=!0)},o(o){y(e.$$.fragment,o),y(n.$$.fragment,o),y(s.$$.fragment,o),l=!1},d(o){Q(e,o),o&&g(t),Q(n,o),o&&g(i),Q(s,o)}}}function Vy(r){let e,t;return e=new Hl({props:{open:!0,size:"lg",$$slots:{default:[zy]},$$scope:{ctx:r}}}),e.$on("submit",r[22]),e.$on("close",r[25]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i[0]&65531|i[1]&16384&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function Uy(r,e,t){let n,i,s,l,o,a,u,f,c,h,d,m,p,v,k,O,E=ie,S=()=>(E(),E=Vl(c,Pe=>t(5,O=Pe)),c),C;r.$$.on_destroy.push(()=>E());let{command:A}=e;const D=R1();xe(r,D,Pe=>t(31,C=Pe));let w=A.conceptName||"",B,M=!1,F=!1;const q=L1();xe(r,q,Pe=>t(38,v=Pe));const N=q1();xe(r,N,Pe=>t(37,p=Pe));const Y=ct(),V=D1();xe(r,V,Pe=>t(4,k=Pe));function K(Pe){const le=Pe.target.value;if(le==="")t(6,o=void 0);else{const[ae,vt]=le.split("/");t(6,o={namespace:ae,name:vt})}t(0,u=void 0)}function oe(Pe){const le=Pe.target.value;t(0,u=rn(le))}let fe=[""],x=[""];function te(){v.mutate([{namespace:l,name:w,type:"text",description:B}],{onSuccess:()=>{p.mutate([l,w,{insert:[...fe.filter(Pe=>Pe!="").map(Pe=>({text:Pe,label:!0})),...x.filter(Pe=>Pe!="").map(Pe=>({text:Pe,label:!1}))]}],{onSuccess:()=>{Y("create",{namespace:l,name:w}),_e()}})}})}async function ke(){if(!B)return;t(9,M=!0);const Pe=await jt.generateExamples(B);t(9,M=!1),fe.at(-1)===""&&fe.pop(),fe.push(...Pe),t(11,fe)}async function z(){if(!o||!u)return;t(10,F=!0);const Pe=await ot.selectRows(o.namespace,o.name,{columns:[u],limit:10,sort_by:[k1]});t(10,F=!1),x.at(-1)===""&&x.pop();const le=Pe.rows.map(ae=>ae[f]);x.push(...le),t(12,x)}function _e(){Y("close")}function se(Pe){l=Pe,t(14,l),t(26,A),t(29,s),t(3,n),t(30,i),t(31,C)}function Ye(Pe){w=Pe,t(7,w)}function lt(Pe){B=Pe,t(8,B)}function Et(Pe){fe=Pe,t(11,fe)}function _t(Pe){x=Pe,t(12,x)}return r.$$set=Pe=>{"command"in Pe&&t(26,A=Pe.command)},r.$$.update=()=>{var Pe,le,ae;r.$$.dirty[1]&1&&t(3,n=(Pe=C.data)==null?void 0:Pe.auth_enabled),r.$$.dirty[1]&1&&t(30,i=(ae=(le=C.data)==null?void 0:le.user)==null?void 0:ae.id),r.$$.dirty[0]&1073741832&&t(29,s=(n?i:null)||"local"),r.$$.dirty[0]&603979776&&t(14,l=A.namespace||s),r.$$.dirty[0]&67108864&&t(6,o=A.dataset),r.$$.dirty[0]&80&&k.data&&k.data.length>0&&o===void 0&&t(6,o={namespace:k.data[0].namespace,name:k.data[0].dataset_name}),r.$$.dirty[0]&64&&t(15,a=o?`${o.namespace}/${o.name}`:""),r.$$.dirty[0]&67108864&&t(0,u=A.path),r.$$.dirty[0]&64&&S(t(2,c=o&&rs(o.namespace,o.name))),r.$$.dirty[0]&36&&t(28,h=c&&(O==null?void 0:O.data)),r.$$.dirty[0]&268435456&&t(27,d=h?ft(h).filter(vt=>vt.dtype==="string"&&!Kr(vt,h)):[]),r.$$.dirty[0]&134217728&&t(1,m=d.sort((vt,Sn)=>{const tt=ft(vt).some(Pt=>Pt.signal!=null&&ft(Pt).some(ue=>ue.dtype==="embedding")),On=ft(Sn).some(Pt=>Pt.signal!=null&&ft(Pt).some(ue=>ue.dtype==="embedding"));return tt&&!On?-1:!tt&&On?1:0})),r.$$.dirty[0]&3&&m&&m.length>0&&u===void 0&&t(0,u=rn(m[0].path)),r.$$.dirty[0]&1&&t(13,f=u?ht(u):void 0)},[u,m,c,n,k,O,o,w,B,M,F,fe,x,f,l,a,D,q,N,V,K,oe,te,ke,z,_e,A,d,h,s,i,C,se,Ye,lt,Et,_t]}class Hy extends me{constructor(e){super(),pe(this,e,Uy,Vy,he,{command:26},null,[-1,-1])}}const Il="DATASET_INFO_CONTEXT",Qy={},fw=(r,e)=>{const t={schema:null,stats:null,selectRowsSchema:null,visibleFields:null,settings:null},{subscribe:n,set:i,update:s}=mt(t),l={subscribe:n,set:i,update:s,reset:()=>{i(t)},setSchema:o=>s(a=>(a.schema=o,a)),setStats:o=>s(a=>(a.stats=o,a)),setVisibleFields:o=>s(a=>(a.visibleFields=o,a)),setSelectRowsSchema:o=>s(a=>(a.selectRowsSchema=o,a)),setSettings:o=>s(a=>(a.settings=o,a))};return Qy[Vd(r,e)]=l,l};function cw(r){sn(Il,r)}function Wy(){if(!zl(Il))throw new Error("DatasetViewContext not found");return kt(Il)}function Uu(r,e,t){const n=r.slice();return n[5]=e[t],n}function Gy(r){let e,t,n=r[1],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){e=j("div");for(let l=0;l{f=null}),re()),(!o||d&6&&l!==(l=r[2]===r[5].value))&&T(e,"data-active",l)},i(h){o||(_(f),o=!0)},o(h){y(f),o=!1},d(h){h&&g(e),f&&f.d(),a=!1,u()}}}function Jy(r){let e,t,n,i;const s=[Ky,Gy],l=[];function o(a,u){return a[0]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,[u]){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function Yy(r,e,t){let{skeleton:n=!1}=e,{items:i=[]}=e,{item:s=void 0}=e;const l=ct(),o=a=>l("select",a.value);return r.$$set=a=>{"skeleton"in a&&t(0,n=a.skeleton),"items"in a&&t(1,i=a.items),"item"in a&&t(2,s=a.item)},[n,i,s,l,o]}class pr extends me{constructor(e){super(),pe(this,e,Yy,Jy,he,{skeleton:0,items:1,item:2})}}function Wu(r,e,t){const n=r.slice();return n[22]=e[t],n[23]=e,n[24]=t,n}function Gu(r,e,t){const n=r.slice();return n[25]=e[t],n}function Ki(r){const e=r.slice(),t=e[1].path;return e[21]=t,e}function Ku(r){let e,t,n,i=r[2].length>0?"and":"add",s,l,o,a,u=r[2],f=[];for(let d=0;dy(f[d],1,1,()=>{f[d]=null});function h(){return r[19](r[21])}return{c(){for(let d=0;d0?"and":"add")&&ve(s,i)},i(d){if(!l){for(let m=0;my(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lKe(e,"value",i)),{c(){U(e.$$.fragment)},l(l){Z(e.$$.fragment,l)},m(l,o){H(e,l,o),n=!0},p(l,o){r=l;const a={};!t&&o&4&&(t=!0,a.value=r[22].value,Je(()=>t=!1)),e.$set(a)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){Q(e,l)}}}function $y(r){let e,t;return{c(){e=j("span"),t=ce("Blob filter not yet implemented")},l(n){e=L(n,"SPAN",{});var i=R(e);t=de(i,"Blob filter not yet implemented"),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p:ie,i:ie,o:ie,d(n){n&&g(e)}}}function e2(r){let e,t;return e=new rm({}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p:ie,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function t2(r){let e,t;return{c(){e=j("span"),t=ce("In operator not yet implemented")},l(n){e=L(n,"SPAN",{});var i=R(e);t=de(i,"In operator not yet implemented"),i.forEach(g)},m(n,i){P(n,e,i),I(e,t)},p:ie,i:ie,o:ie,d(n){n&&g(e)}}}function n2(r){return{c:ie,l:ie,m:ie,p:ie,i:ie,o:ie,d:ie}}function Ju(r){let e,t,n,i,s,l,o,a,u,f,c,h;function d(E){r[16](E,r[22])}let m={labelText:"Operation",$$slots:{default:[Xy]},$$scope:{ctx:r}};r[22].op!==void 0&&(m.selected=r[22].op),t=new on({props:m}),qe.push(()=>Ke(t,"selected",d));const p=[n2,t2,e2,$y,xy],v=[];function k(E,S){return E[22].op==="exists"?0:E[22].op==="in"?1:typeof E[22].value=="boolean"?2:typeof E[22].value=="function"?3:4}s=k(r),l=v[s]=p[s](r),u=new _y({props:{size:20}});function O(){return r[18](r[22])}return{c(){e=j("div"),U(t.$$.fragment),i=$(),l.c(),o=$(),a=j("button"),U(u.$$.fragment),this.h()},l(E){e=L(E,"DIV",{class:!0});var S=R(e);Z(t.$$.fragment,S),i=ee(S),l.l(S),o=ee(S),a=L(S,"BUTTON",{class:!0});var C=R(a);Z(u.$$.fragment,C),C.forEach(g),S.forEach(g),this.h()},h(){T(a,"class","mt-5"),T(e,"class","flex items-center gap-x-2")},m(E,S){P(E,e,S),H(t,e,null),I(e,i),v[s].m(e,null),I(e,o),I(e,a),H(u,a,null),f=!0,c||(h=W(a,"click",O),c=!0)},p(E,S){r=E;const C={};S&268435456&&(C.$$scope={dirty:S,ctx:r}),!n&&S&4&&(n=!0,C.selected=r[22].op,Je(()=>n=!1)),t.$set(C);let A=s;s=k(r),s===A?v[s].p(r,S):(ne(),y(v[A],1,1,()=>{v[A]=null}),re(),l=v[s],l?l.p(r,S):(l=v[s]=p[s](r),l.c()),_(l,1),l.m(e,o))},i(E){f||(_(t.$$.fragment,E),_(l),_(u.$$.fragment,E),f=!0)},o(E){y(t.$$.fragment,E),y(l),y(u.$$.fragment,E),f=!1},d(E){E&&g(e),Q(t),v[s].d(),Q(u),c=!1,h()}}}function r2(r){let e,t,n,i,s,l;n=new pr({props:{items:r[3],item:r[1]}}),n.$on("select",r[15]);let o=r[1]&&Ku(Ki(r));return{c(){e=j("div"),t=j("div"),U(n.$$.fragment),i=$(),s=j("div"),o&&o.c(),this.h()},l(a){e=L(a,"DIV",{class:!0});var u=R(e);t=L(u,"DIV",{class:!0});var f=R(t);Z(n.$$.fragment,f),f.forEach(g),i=ee(u),s=L(u,"DIV",{class:!0});var c=R(s);o&&o.l(c),c.forEach(g),u.forEach(g),this.h()},h(){T(t,"class","-ml-4 mr-4 w-80 grow-0"),T(s,"class","flex w-full flex-col gap-y-6"),T(e,"class","flex flex-row")},m(a,u){P(a,e,u),I(e,t),H(n,t,null),I(e,i),I(e,s),o&&o.m(s,null),l=!0},p(a,u){const f={};u&8&&(f.items=a[3]),u&2&&(f.item=a[1]),n.$set(f),a[1]?o?(o.p(Ki(a),u),u&2&&_(o,1)):(o=Ku(Ki(a)),o.c(),_(o,1),o.m(s,null)):o&&(ne(),y(o,1,1,()=>{o=null}),re())},i(a){l||(_(n.$$.fragment,a),_(o),l=!0)},o(a){y(n.$$.fragment,a),y(o),l=!1},d(a){a&&g(e),Q(n),o&&o.d()}}}function i2(r){let e,t,n,i,s,l;return e=new Ql({props:{label:"Filters",title:"Edit Filters"}}),n=new Wl({props:{hasForm:!0,$$slots:{default:[r2]},$$scope:{ctx:r}}}),s=new Gl({props:{primaryButtonText:"Save",secondaryButtonText:"Cancel",primaryButtonDisabled:!1}}),s.$on("click:button--secondary",r[8]),{c(){U(e.$$.fragment),t=$(),U(n.$$.fragment),i=$(),U(s.$$.fragment)},l(o){Z(e.$$.fragment,o),t=ee(o),Z(n.$$.fragment,o),i=ee(o),Z(s.$$.fragment,o)},m(o,a){H(e,o,a),P(o,t,a),H(n,o,a),P(o,i,a),H(s,o,a),l=!0},p(o,a){const u={};a&268435471&&(u.$$scope={dirty:a,ctx:o}),n.$set(u)},i(o){l||(_(e.$$.fragment,o),_(n.$$.fragment,o),_(s.$$.fragment,o),l=!0)},o(o){y(e.$$.fragment,o),y(n.$$.fragment,o),y(s.$$.fragment,o),l=!1},d(o){Q(e,o),o&&g(t),Q(n,o),o&&g(i),Q(s,o)}}}function l2(r){let e,t;return e=new Hl({props:{open:!0,$$slots:{default:[i2]},$$scope:{ctx:r}}}),e.$on("submit",r[9]),e.$on("close",r[8]),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,[i]){const s={};i&268435471&&(s.$$scope={dirty:i,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function s2(r,e,t){let n,i,s,l,o,a,u=ie,f=()=>(u(),u=Vl(n,M=>t(13,a=M)),n),c;r.$$.on_destroy.push(()=>u());let{command:h}=e;const d=ki();xe(r,d,M=>t(12,o=M));const m=Wy();xe(r,m,M=>t(14,c=M));const p=ct();let v=[];ln(()=>{t(0,v=structuredClone(o.query.filters||[]))});let k;const O=[["equals","equals (=)"],["not_equal","not equal (!=)"],["greater","greater than (>)"],["greater_equal","greater or equal (>=)"],["less","less than (<)"],["less_equal","less or equal (<=)"],["in","in"],["exists","exists"]];function E(){p("close")}function S(){Vr(d,o.query.filters=v,o),E()}const C=M=>t(1,k=M.detail);function A(M,F){r.$$.not_equal(F.op,M)&&(F.op=M,t(2,l),t(0,v),t(1,k),t(11,s),t(13,a),t(10,h))}function D(M,F){r.$$.not_equal(F.value,M)&&(F.value=M,t(2,l),t(0,v),t(1,k),t(11,s),t(13,a),t(10,h))}const w=M=>{t(0,v=v.filter(F=>F!=M))},B=M=>t(0,v=[...v,{path:M,op:"equals",value:""}]);return r.$$set=M=>{"command"in M&&t(10,h=M.command)},r.$$.update=()=>{if(r.$$.dirty&5120&&f(t(4,n=N1(h.namespace,h.datasetName,hy(o)))),r.$$.dirty&24577&&t(3,i=a!=null&&a.isSuccess&&c.schema?ft(c.schema).map(M=>{const F=v.filter(q=>At(q.path,M.path));return{title:M.path.join("."),value:M,tag:F.length>0?{value:F.length.toString(),type:"blue"}:void 0}}):[]),r.$$.dirty&9216&&t(11,s=a!=null&&a.isSuccess?Tc(a.data.schema,h.path):void 0),r.$$.dirty&2050&&!k&&s&&t(1,k=s),r.$$.dirty&3&&t(2,l=v.filter(M=>At(M.path,k==null?void 0:k.path))),r.$$.dirty&1)for(const M of v)M.op==="exists"&&(M.value=null)},[v,k,l,i,n,d,m,O,E,S,h,s,o,a,c,C,A,D,w,B]}class o2 extends me{constructor(e){super(),pe(this,e,s2,l2,he,{command:10})}}function a2(){const r=console.warn;console.warn=e=>{e.includes("unknown prop")||e.includes("unexpected slot")||r(e)},ln(()=>{console.warn=r})}function Yu(r,e,t){const n=r.slice();return n[18]=e[t],n}function Xu(r,e,t){const n=r.slice();return n[18]=e[t],n}function xu(r,e,t){const n=r.slice();return n[10]=e[t],n}function $u(r,e,t){const n=r.slice();return n[13]=e[t],n[15]=t,n}function ef(r,e,t){const n=r.slice();return n[16]=e[t],n[15]=t,n}function tf(r,e,t){const n=r.slice();return n[7]=e[t],n}function u2(r){let e,t,n,i;const s=[h2,d2,c2],l=[];function o(a,u){return a[0]==="table"?0:a[0]==="list"?1:2}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,u){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function f2(r){let e,t,n=r[1],i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function d2(r){let e,t,n,i;const s=[_2,b2],l=[];function o(a,u){return a[4]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,u){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function h2(r){let e,t,n;var i=r[5].table;function s(l){return{props:{$$slots:{default:[C2]},$$scope:{ctx:l}}}}return i&&(e=je(i,s(r))),{c(){e&&U(e.$$.fragment),t=G()},l(l){e&&Z(e.$$.fragment,l),t=G()},m(l,o){e&&H(e,l,o),P(l,t,o),n=!0},p(l,o){const a={};if(o&8388716&&(a.$$scope={dirty:o,ctx:l}),o&32&&i!==(i=l[5].table)){if(e){ne();const u=e;y(u.$$.fragment,1,0,()=>{Q(u,1)}),re()}i?(e=je(i,s(l)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else i&&e.$set(a)},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&y(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&Q(e,l)}}}function m2(r){let e=r[6].raw+"",t;return{c(){t=ce(e)},l(n){t=de(n,e)},m(n,i){P(n,t,i)},p(n,i){i&64&&e!==(e=n[6].raw+"")&&ve(t,e)},i:ie,o:ie,d(n){n&&g(t)}}}function p2(r){let e,t;return e=new kn({props:{tokens:r[1],renderers:r[5]}}),{c(){U(e.$$.fragment)},l(n){Z(e.$$.fragment,n)},m(n,i){H(e,n,i),t=!0},p(n,i){const s={};i&2&&(s.tokens=n[1]),i&32&&(s.renderers=n[5]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){y(e.$$.fragment,n),t=!1},d(n){Q(e,n)}}}function g2(r){let e,t,n,i;const s=[p2,m2],l=[];function o(a,u){return a[1]?0:1}return e=o(r),t=l[e]=s[e](r),{c(){t.c(),n=G()},l(a){t.l(a),n=G()},m(a,u){l[e].m(a,u),P(a,n,u),i=!0},p(a,u){let f=e;e=o(a),e===f?l[e].p(a,u):(ne(),y(l[f],1,1,()=>{l[f]=null}),re(),t=l[e],t?t.p(a,u):(t=l[e]=s[e](a),t.c()),_(t,1),t.m(n.parentNode,n))},i(a){i||(_(t),i=!0)},o(a){y(t),i=!1},d(a){l[e].d(a),a&&g(n)}}}function b2(r){let e,t,n;const i=[{ordered:r[4]},r[6]];var s=r[5].list;function l(o){let a={$$slots:{default:[y2]},$$scope:{ctx:o}};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function _2(r){let e,t,n;const i=[{ordered:r[4]},r[6]];var s=r[5].list;function l(o){let a={$$slots:{default:[E2]},$$scope:{ctx:o}};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function v2(r){let e,t,n;return e=new kn({props:{tokens:r[18].tokens,renderers:r[5]}}),{c(){U(e.$$.fragment),t=$()},l(i){Z(e.$$.fragment,i),t=ee(i)},m(i,s){H(e,i,s),P(i,t,s),n=!0},p(i,s){const l={};s&64&&(l.tokens=i[18].tokens),s&32&&(l.renderers=i[5]),e.$set(l)},i(i){n||(_(e.$$.fragment,i),n=!0)},o(i){y(e.$$.fragment,i),n=!1},d(i){Q(e,i),i&&g(t)}}}function nf(r){let e,t,n;const i=[r[18]];var s=r[5].unorderedlistitem||r[5].listitem;function l(o){let a={$$slots:{default:[v2]},$$scope:{ctx:o}};for(let u=0;u{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function y2(r){let e,t,n=r[6].items,i=[];for(let l=0;ly(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;l{Q(f,1)}),re()}s?(e=je(s,l(o)),U(e.$$.fragment),_(e.$$.fragment,1),H(e,t.parentNode,t)):e=null}else s&&e.$set(u)},i(o){n||(e&&_(e.$$.fragment,o),n=!0)},o(o){e&&y(e.$$.fragment,o),n=!1},d(o){o&&g(t),e&&Q(e,o)}}}function E2(r){let e,t,n=r[6].items,i=[];for(let l=0;l