nsthorat commited on
Commit
c14732f
1 Parent(s): f2c108d
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +0 -6
  2. data/concept/lilac/legal-termination/concept.json +0 -184
  3. data/concept/lilac/legal-termination/sbert.pkl +0 -0
  4. data/concept/lilac/negative-sentiment/concept.json +0 -629
  5. data/concept/lilac/negative-sentiment/sbert.pkl +0 -0
  6. data/concept/lilac/positive-sentiment/concept.json +0 -564
  7. data/concept/lilac/positive-sentiment/sbert.pkl +0 -0
  8. data/concept/lilac/profanity/concept.json +0 -0
  9. data/concept/lilac/profanity/sbert.pkl +0 -0
  10. data/concept/lilac/toxicity/concept.json +0 -0
  11. data/datasets/local/spotify/data-00000-of-00001.parquet +0 -3
  12. data/datasets/local/spotify/manifest.json +0 -27
  13. data/datasets/local/spotify/settings.json +0 -1
  14. data/datasets/local/spotify/text/.concepts/local/aliens/sbert-neg-100.pkl +0 -0
  15. data/datasets/local/spotify/text/lang_detection/data-00000-of-00001.parquet +0 -3
  16. data/datasets/local/spotify/text/lang_detection/signal_manifest.json +0 -36
  17. data/datasets/local/spotify/text/sbert/data-00000-of-00001.parquet +0 -3
  18. data/datasets/local/spotify/text/sbert/embedding/local/outerspace/v34/data-00000-of-00001.parquet +0 -3
  19. data/datasets/local/spotify/text/sbert/embedding/local/outerspace/v34/signal_manifest.json +0 -64
  20. data/datasets/local/spotify/text/sbert/embeddings-00000-of-00001.keys.pkl +0 -3
  21. data/datasets/local/spotify/text/sbert/embeddings-00000-of-00001.npy +0 -3
  22. data/datasets/local/spotify/text/sbert/signal_manifest.json +0 -37
  23. lilac/auth.py +5 -20
  24. lilac/concepts/db_concept.py +21 -20
  25. lilac/config.py +57 -10
  26. lilac/conftest.py +2 -2
  27. lilac/data/dataset.py +2 -0
  28. lilac/data/dataset_duckdb.py +3 -4
  29. lilac/data/dataset_utils.py +2 -1
  30. lilac/data/duckdb_utils.py +5 -5
  31. lilac/embeddings/cohere.py +2 -2
  32. lilac/embeddings/openai.py +2 -2
  33. lilac/embeddings/palm.py +2 -2
  34. lilac/router_concept.py +3 -4
  35. lilac/router_google_login.py +20 -24
  36. lilac/server.py +24 -10
  37. lilac/signals/concept_scorer.py +6 -4
  38. lilac/utils.py +2 -6
  39. web/blueprint/build/_app/immutable/chunks/ComboBox.6cf7c2b9.js +0 -1
  40. web/blueprint/build/_app/immutable/chunks/ComboBox.706ac587.js +1 -0
  41. web/blueprint/build/_app/immutable/chunks/ConceptView.81069a7a.js +0 -0
  42. web/blueprint/build/_app/immutable/chunks/ConceptView.b36806c0.js +0 -0
  43. web/blueprint/build/_app/immutable/chunks/Page.5c8e4c13.js +7 -0
  44. web/blueprint/build/_app/immutable/chunks/Page.9eecaba3.js +0 -7
  45. web/blueprint/build/_app/immutable/chunks/Toggle.f17d1ef5.js +1 -0
  46. web/blueprint/build/_app/immutable/chunks/signalQueries.4bd4f734.js +1 -0
  47. web/blueprint/build/_app/immutable/chunks/signalQueries.c8b052a4.js +0 -1
  48. web/blueprint/build/_app/immutable/chunks/{singletons.1b471814.js → singletons.bab60db5.js} +1 -1
  49. web/blueprint/build/_app/immutable/chunks/taskMonitoringStore.9669b838.js +0 -1
  50. web/blueprint/build/_app/immutable/chunks/taskMonitoringStore.c95c5d53.js +1 -0
.gitattributes DELETED
@@ -1,6 +0,0 @@
1
- data/datasets/local/spotify/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
2
- data/datasets/local/spotify/text/lang_detection/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
3
- data/datasets/local/spotify/text/sbert/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
4
- data/datasets/local/spotify/text/sbert/embedding/local/outerspace/v34/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
5
- data/datasets/local/spotify/text/sbert/embeddings-00000-of-00001.keys.pkl filter=lfs diff=lfs merge=lfs -text
6
- data/datasets/local/spotify/text/sbert/embeddings-00000-of-00001.npy filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
data/concept/lilac/legal-termination/concept.json DELETED
@@ -1,184 +0,0 @@
1
- {
2
- "namespace": "lilac",
3
- "concept_name": "legal-termination",
4
- "type": "text",
5
- "data": {
6
- "731b1338cf1949958c3526c555f88058": {
7
- "label": true,
8
- "text": "In the event that any provision of this agreement is found to be unenforceable, the remaining provisions shall continue to be valid and binding.",
9
- "id": "731b1338cf1949958c3526c555f88058"
10
- },
11
- "99a20e547e38474dbc24507a1658d0c9": {
12
- "label": true,
13
- "text": "The parties agree that in the event of a natural disaster or other unforeseen event, both parties will make reasonable efforts to fulfill their obligations under this contract.",
14
- "id": "99a20e547e38474dbc24507a1658d0c9"
15
- },
16
- "3f27b47c526a4c5896a0a100024535c7": {
17
- "label": true,
18
- "text": "If any party breaches the terms of this agreement, the non-breaching party shall have the right to seek legal remedies.",
19
- "id": "3f27b47c526a4c5896a0a100024535c7"
20
- },
21
- "d403dbb1ab9c4594bc7f7dcb0ad5b333": {
22
- "label": true,
23
- "text": "This lease agreement shall survive the termination or expiration of the lease term, and continue to be binding upon the parties.",
24
- "id": "d403dbb1ab9c4594bc7f7dcb0ad5b333"
25
- },
26
- "b7deba9f7e80444abe14448f53f45c43": {
27
- "label": true,
28
- "text": "In the event of a dispute arising from this contract, the parties agree to first attempt to resolve the dispute through mediation before pursuing any legal action.",
29
- "id": "b7deba9f7e80444abe14448f53f45c43"
30
- },
31
- "a82231b490174e62aad733cb0c75024d": {
32
- "label": true,
33
- "text": "This Agreement may be terminated, and the transactions contemplated hereby may be abandoned, at any time prior to the Effective Time, whether prior to or after the Company Stockholders' Approval:",
34
- "id": "a82231b490174e62aad733cb0c75024d"
35
- },
36
- "160b25dbf14e4759a0065bbd652ce33f": {
37
- "label": true,
38
- "text": "This Agreement may be terminated and abandoned at any time prior to the Effective Time of the Merger, whether before or after the Company Stockholder Approval:",
39
- "id": "160b25dbf14e4759a0065bbd652ce33f"
40
- },
41
- "8f5f9f96b16441228bb0c9b8a14c4e25": {
42
- "label": false,
43
- "text": "any jurisdiction, then such provision shall, as to such jurisdiction, be modified or restricted to the extent necessary to make such provision valid, binding and enforceable, or if such provision cannot be so modified or restricted, then such provision shall, as to such jurisdiction, be deemed to be excised from this Agreement; provided, however, that the legality, binding effect and",
44
- "id": "8f5f9f96b16441228bb0c9b8a14c4e25"
45
- },
46
- "87b6c31b04a346b4a3e0da8d2cc5a7ac": {
47
- "label": true,
48
- "text": "This Agreement shall terminate automatically without any further action by any party hereto upon the earliest to occur of (a) the Effective Time of the Merger, (b) the termination of the Merger Agreement in accordance with its terms and (c) any amendment or other modification of the Merger Agreement that reduces the amount of the Merger Consideration or provides that the Merger Consideration shall",
49
- "id": "87b6c31b04a346b4a3e0da8d2cc5a7ac"
50
- },
51
- "985344f7ecfb41f4a69ba101973221a1": {
52
- "label": false,
53
- "text": " During the Employment Period, the Corporation shall pay ----------- the Executive a base salary which, as of the commencement of the Employment Period, shall be at an annual rate of Two Hundred Fifty Thousand Dollars ($250,000). The base salary shall be payable in equal periodic installments which are not less frequent than the periodic installments in effect for salaries of other senior",
54
- "id": "985344f7ecfb41f4a69ba101973221a1"
55
- },
56
- "5d53ff48376046fdab41e95c7f4bad54": {
57
- "label": true,
58
- "text": "This Agreement may be terminated at any time prior to the Closing Date solely:",
59
- "id": "5d53ff48376046fdab41e95c7f4bad54"
60
- },
61
- "bdeb785be2154b21b4eb052466fa9bcb": {
62
- "label": true,
63
- "text": "(a) This Agreement may be terminated by you by notice to the Company at any time prior to the Closing Date if any of the following has occurred: (i) since the respective dates as of which information is given in the Registration Statement and the Prospectus, any material adverse change or any development involving a prospective material adverse change in or affecting the earnings, busi ness,",
64
- "id": "bdeb785be2154b21b4eb052466fa9bcb"
65
- },
66
- "fe6871e9070441f8a9e4b3db26b077d7": {
67
- "label": true,
68
- "text": "Section 3(b), this Section 7 and Section 8 of this Agreement shall survive a termination of this Agreement pursuant to (a) or (b) above in this Section 7 until the date that is two years following the date of such termination. Notwithstanding anything else to the contrary contained herein or in the Merger Agreement, if the Effective Time occurs, the representations and warranties contained in",
69
- "id": "fe6871e9070441f8a9e4b3db26b077d7"
70
- },
71
- "bf1a51751d0748e58c344aec8e5fc789": {
72
- "label": false,
73
- "text": "This Agreement may be executed in one or more counterparts (including counterparts executed and delivered by facsimile, which shall be as counterparts executed and delivered manually), all of which shall be considered one and the same agreement and shall become effective when one or more counterparts have been signed by each of the parties and delivered to the other party, it being understood that",
74
- "id": "bf1a51751d0748e58c344aec8e5fc789"
75
- },
76
- "bc1b2affa6d848fd92d4dee033e30659": {
77
- "label": false,
78
- "text": "would, in your judgment, make it impracticable or inadvisable to market the Units or to enforce contracts for the sale of the Units, (iii) suspension of trading in securities generally on the New York Stock Exchange, the American Stock Exchange or the Nasdaq National Market or limitation on prices (other than limitations on hours or numbers of days of trading) for securities on any such Exchange,",
79
- "id": "bc1b2affa6d848fd92d4dee033e30659"
80
- },
81
- "67a73d5887f74a91bed190ca8f64b17c": {
82
- "label": false,
83
- "text": " The authorized capital stock of FM consists of 1,000 shares of Common Stock, no par value each, of which 1,000 shares are issued and outstanding. There are no outstanding or authorized options, warrants, calls, subscriptions, rights (including any preemptive rights or rights of first refusal), agreements or commitments of any character obligating FM to issue any stock or any other Equity",
84
- "id": "67a73d5887f74a91bed190ca8f64b17c"
85
- },
86
- "025b2ca5147849c8a921d9aaa31cd9cd": {
87
- "label": false,
88
- "text": "Taxes that are being contested in good faith by appropriate proceedings, provided that Holdings, the Borrower or Restricted Subsidiary, as the case may be, has set aside on its books adequate reserves therefor in accordance with GAAP.",
89
- "id": "025b2ca5147849c8a921d9aaa31cd9cd"
90
- },
91
- "76acff27f13743f4822a094c707d8b75": {
92
- "label": false,
93
- "text": "have been a suspension or material limitation in trading in the Company\u2019s common stock on the New York Stock Exchange; (iii) there shall have been a general moratorium on commercial banking activities declared by either federal or New York state authorities or a material disruption in commercial banking or securities settlement or clearance services in the United States; (iv) there shall have been",
94
- "id": "76acff27f13743f4822a094c707d8b75"
95
- },
96
- "b11a95c0eb564445b1a473e90622f861": {
97
- "label": true,
98
- "text": "10.1. This Agreement will terminate:",
99
- "id": "b11a95c0eb564445b1a473e90622f861"
100
- },
101
- "d536428a02084d94ba18d412851cb913": {
102
- "label": false,
103
- "text": "may not be limited to his Base Salary and that the Employee may receive an annual bonus in the amount, if any, determined annually by the Employer. The Employee shall also participate in employee compensation and benefit plans available generally to executives of the Employer (including, without limitation, any tax-qualified profit sharing plan, nonqualified profit sharing plan, life insurance",
104
- "id": "d536428a02084d94ba18d412851cb913"
105
- },
106
- "368bb1d9c7d0419d9ca58f28565eeb2e": {
107
- "label": true,
108
- "text": "This Agreement may be terminated in the absolute discretion of the Representatives, by notice to the Bank, if after execution and delivery of this Agreement and prior to the Closing Date (i) there has been, since the date of this Agreement or since the respective dates as of which information is given in the Registration Statement, the Time of Sale Information or the Prospectus, any material",
109
- "id": "368bb1d9c7d0419d9ca58f28565eeb2e"
110
- },
111
- "1b5fd7b037a84404bf85c858953c79e8": {
112
- "label": true,
113
- "text": "however, (i) the right to terminate this Agreement under this Section 8 shall not be available to such Buyer if the failure of the transactions contemplated by this Agreement to have been consummated by such date is the result of such Buyer\u2019s breach of this Agreement and (ii) the abandonment of the sale and purchase of the Notes and the Warrants shall be applicable only to such Buyer providing",
114
- "id": "1b5fd7b037a84404bf85c858953c79e8"
115
- },
116
- "6d5a23d2663f457cab96df03d9dc8ab7": {
117
- "label": true,
118
- "text": "In addition, any Stockholder may terminate this Agreement if Weatherford, WEUS, or the Company breaches any representation, warranty, covenant or other agreement contained in the Merger Agreement that (A) would give rise to the failure of Weatherford, WEUS, or the Company to satisfy any condition set forth in Section 8.2(a) thereof, and (B) cannot be or has not been cured within 45 days after the",
119
- "id": "6d5a23d2663f457cab96df03d9dc8ab7"
120
- },
121
- "4a8223a48f83491b9b3eafd7ad37baf9": {
122
- "label": true,
123
- "text": "The obligations of the Underwriters hereunder may be terminated by the Representatives, in their absolute discretion, by notice given to and received by the Depositor or the Bank prior to delivery of and payment for the Notes if, prior to that time, any of the events described in Section 5(v) shall have occurred or any of the other conditions described in Section 5 shall not be satisfied.",
124
- "id": "4a8223a48f83491b9b3eafd7ad37baf9"
125
- },
126
- "fbb152eae00c440bb2d0df0fbd82c262": {
127
- "label": true,
128
- "text": "Either of the parties hereto may terminate this Agreement by giving to the other party a notice in writing specifying the date of such termination, which shall be not less than 60 days after the date of receipt of such notice. In the event such notice is given by the Customer, it shall be accompanied by a copy of a resolution of the Board of Directors of the Customer, certified by its Secretary,",
129
- "id": "fbb152eae00c440bb2d0df0fbd82c262"
130
- },
131
- "1d21880f426c45ada31409d22815cc87": {
132
- "label": false,
133
- "text": "Prospectus or the Final Prospectus (exclusive of any amendment or supplement thereof or thereto after the date hereof).",
134
- "id": "1d21880f426c45ada31409d22815cc87"
135
- },
136
- "795cac72a3504740bc7401a84fc6fba4": {
137
- "label": true,
138
- "text": "This Agreement may be terminated by the Customer or the Bank by giving ninety (90) days written notice to the other, provided that such notice to the Bank shall specify the names of the persons to whom the Bank shall deliver the Assets in the Accounts. If notice of termination is given by the Bank, the Customer shall, within ninety (90) days following receipt of the notice, deliver to the Bank Instructions specifying the names of the persons to whom the Bank shall deliver the Assets.",
139
- "id": "795cac72a3504740bc7401a84fc6fba4"
140
- },
141
- "3b82e6eba4894ac0b9f7f12aba2aab2e": {
142
- "label": false,
143
- "text": "of this Agreement, or to Authorized Persons, or may continue to hold the Assets until Instructions are provided to the Bank.",
144
- "id": "3b82e6eba4894ac0b9f7f12aba2aab2e"
145
- },
146
- "da16bd0e9dce4d4c87400eab61b9b14c": {
147
- "label": false,
148
- "text": "into force of the Convention. In such event, the Convention shall cease to have effect:",
149
- "id": "da16bd0e9dce4d4c87400eab61b9b14c"
150
- },
151
- "02cc328109984db094b0b02caec0d575": {
152
- "label": true,
153
- "text": "Survival. The rights and obligations contained in Sections 3 (\u201cOwnership of Work Product\u201d), 4 (\u201cOther Rights\u201d), 5 (\u201cLicense to Preexisting IP\u201d), 6 (\u201cRepresentations and Warranties\u201d), 8 (\u201cConfidential Information\u201d) and 12 (\u201cNon-solicitation\u201d) will survive any termination or expiration of this Agreement. ",
154
- "id": "02cc328109984db094b0b02caec0d575"
155
- },
156
- "f8edf65d9acf4ff4a04459a3492ac426": {
157
- "label": false,
158
- "text": "Severability. Should any provisions of this Agreement be held by a court of law to be illegal, invalid or unenforceable, the legality, validity and enforceability of the remaining provisions of this Agreement will not be affected or impaired thereby. ",
159
- "id": "f8edf65d9acf4ff4a04459a3492ac426"
160
- },
161
- "5a8517f359494ead8c11b6aff440480d": {
162
- "label": false,
163
- "text": "\u0095\tCommitted to deliver the best, we leave no room for customer grievances.\r\n\r\n",
164
- "id": "5a8517f359494ead8c11b6aff440480d"
165
- },
166
- "a47d327d0f6e46fc861f86b2e0e54a2f": {
167
- "label": false,
168
- "text": "the due diligence and using our agreement creator to close the deal successfully. \r",
169
- "id": "a47d327d0f6e46fc861f86b2e0e54a2f"
170
- },
171
- "811d0dcc92e14c5c881e903c7d4ff7b6": {
172
- "label": false,
173
- "text": "in accordance with customary procedures in the relevant markets, but in any event for a settlement period no longer than three months following the date of such commitment.",
174
- "id": "811d0dcc92e14c5c881e903c7d4ff7b6"
175
- },
176
- "907f92e0d5704418944a559a4bfb96c7": {
177
- "label": false,
178
- "text": "terminate in accordance with Section 2 of the Investors\u2019 Rights Agreement.",
179
- "id": "907f92e0d5704418944a559a4bfb96c7"
180
- }
181
- },
182
- "version": 33,
183
- "description": "Termination or survival clause in a legal document"
184
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/concept/lilac/legal-termination/sbert.pkl DELETED
Binary file (33.8 kB)
 
data/concept/lilac/negative-sentiment/concept.json DELETED
@@ -1,629 +0,0 @@
1
- {
2
- "namespace": "lilac",
3
- "concept_name": "negative-sentiment",
4
- "type": "text",
5
- "data": {
6
- "0": {
7
- "label": true,
8
- "text": "Starting To Be Annoyed By Becky...: I'm not sure why I keep reading these books, but I guess it's because I've read the first two so I'll keep reading the rest of the books. In the first book, I really found it amusing. I was a little annoyed by the fact that Becky couldn't stop spending, but then again that's why she is called a Shopaholic. In the second book, I felt more of the same it was just magniifed more. Now in the third book, I'm just down right annoyed by Becky Bloomwood. In this book, she wasn't going on crazy shopping sprees, just planning two different weddings because she was afraid to tell each person and because I feel she's really selfish. Still, I read the book because I wanted to see how she could get herself out of another situation. I will say that I love her friends Suze and Danny, her client Laurel and her husband Luke. Maybe that's why I keep reading. I will read the next book, but I'm sure I'll be just as annoyed when I'm done.",
9
- "id": "0"
10
- },
11
- "1": {
12
- "label": true,
13
- "text": "the cover is fine - the pool is horrible: The entire pool was horrible. The cover was fine once we got it on, but we finally got rid of the pool after 2 weeks because it was so hard to set up and keep clean.",
14
- "id": "1"
15
- },
16
- "2": {
17
- "label": false,
18
- "text": "Good album, not their best.: This album is probably the most marketable and radio friendly of all of dashboard's albums. For the peripheral listener it may be the right one to get to introduce you to this band. But as a Dashboard fan of 5 or so years I truly hope they return to their original sound for their next work. Not for the listen-ability but for the show. To this day the fans react best to the songs from \"Places\" or \"A Mark, A Mission.\" I recommend this album to everyone but I also recommend any and all of their other work.",
19
- "id": "2"
20
- },
21
- "3": {
22
- "label": true,
23
- "text": "This is a horror novel, right?: Never one to pass up any vampire novel, I purchased Sips because the description seemed interesting. Vampires, Marquis de Sade, fetishism, yada yada yada. If this is a comedy, I give it 4 stars; however, I'll give it 1 star as a horror novel. Sade was rather boring; I would think a character as intense and multi-faceted as the Marquis de Sade would make for a more interesting vampire. The writing style isn't too bad, but overall I found the characters to be mildly amusing at best. The plot was thin, the end was anti-climactic, and the vampires were not very frightening. The book had little suspense, and it leaves a mile-wide opening for a sequel at the conclusion. I would, however, like to see something more of the vampire mutants lurking in the graveyard. They were the most riveting of any of the characters.",
24
- "id": "3"
25
- },
26
- "4": {
27
- "label": false,
28
- "text": "Superb mix of global non secular musical denominations: I first heard Ms. Pook's music on the \"Eyes Wide Shut\" soundtrack (the masquerade ball scene) and was blown away; if ever there was a necessity for music to permeate a scene in a film this was it. She incorporates a blend of the traditional songs from faiths across continents and mixes them, for lack of a better comparison than similar to your quintessential raver d.j. (though these are better and definitively more original :) \"Oppenheimer\" is my favorite, and if you let the last track run for a few minutes a portion of the song will play once more. I can't wait to hear more of her stuff - these hymns are awesome.",
29
- "id": "4"
30
- },
31
- "5": {
32
- "label": false,
33
- "text": "A moving and suspenseful story!: For anyone familiar with the occult, this book is likely to raise hairs on the back of your neck as you read. Even if you're not, the storyline is suspenseful and fascinating, and the characters evoke great sympathy and admiration. An excellent read.",
34
- "id": "5"
35
- },
36
- "6": {
37
- "label": false,
38
- "text": "Simple & Easy to Use - A Practical approach to eating out: This guide is extremely to use. It provides sample menus that you'd see at Chinese, Indian and Thai restaurants. Then you are provided with descriptions of each dish and how it is prepared and the ingredients used. From there you are provided with specific considerations as to how the preparation or ingredient list may affect you if you have Gluten or Allergen issues.This book is the size of a passport and very organized and well written. The Chinese, Indian and Thai Cuisine Passport is perfect for making choices while traveling, or while dining at your favorite local restaurant.",
39
- "id": "6"
40
- },
41
- "7": {
42
- "label": true,
43
- "text": "Being Fair....I am a fan of hers: and I really enjoyed her previous works, more than I could have ever imagined, but this record is horrible. The songs are trite, the lyrics are incredibly boring, indulgent and immature. The music is pop staple, with forgetable melodies and repetative chorus lines, I feel as if the studio wrote the entire album for her while she was sleeping, this just doesn't speak to any of her previous works at all. This album fits on the same shelf with a Nickelodeon-themed CD. Instead of heading in the direction of an artist like Alanis Morrisette, she is going backward and joining the ranks of Hannah Montana and the Naked Brothers Band. She is a great artist and her first two records are amazing. She is better than this CD and I am looking forward to her next effort.",
44
- "id": "7"
45
- },
46
- "8": {
47
- "label": true,
48
- "text": "Sucked: I thought the DVD sucked tremendously. It was very boring and if I could, I would return it for a refund. There was only one \"small\" clip of Dylan himself. I'm very disappointed.",
49
- "id": "8"
50
- },
51
- "9": {
52
- "label": false,
53
- "text": "Excellent product: Easy to install. If you have a newer furnace you probably do not need the swail switch as the HE220A comes with a Humistat which can be connected to the furnace. They recommend the Honeywell 32005847-001 Installation Kit, Bypass which is a little pricey and you can probably buy the pieces of this kit cheaper individually from Home Depot or Lowes or ACO as well as the filters.",
54
- "id": "9"
55
- },
56
- "10": {
57
- "label": false,
58
- "text": "Very happy.: I am very happy with this trashcan. I was unable to find one in the stores to fit the space in my cabinet, but this one does the job. It is very sturdy and looks like it will put up with years of use.",
59
- "id": "10"
60
- },
61
- "11": {
62
- "label": true,
63
- "text": "These aren't Throughbreds!: This makes me so mad. All these new authors are coming and changing the series. Nothings the same anymore and the plots are repeditive. Don't even bother reading these books until #32 these are like a different series. I don't know excactly what's happing but these new authors suck!",
64
- "id": "11"
65
- },
66
- "12": {
67
- "label": true,
68
- "text": "Large and slow are a bad combination.: I bought this TV and returned it a week later, because it blurred so badly with motion that sports were unwatchable. I ended up buying a smaller Sony XBR4, and I have none of the issues (plus the picture is far, far better).This has nothing to do with 60 vs 120Hz. That is more important for DVDs and Blu-Ray signals that are 24fps (which doesn't divide evenly into 60 but does for 120). The LT52133 has an 8ms response time, which is extremely slow. A decent LCD should be 5 or lower.If you want an LCD, choose speed and quality over size. If you want size and quality but want to spend less, buy a plasma. Don't buy a big, cheap, slow LCD!I gave it 2 stars because I like the interface and remote.",
69
- "id": "12"
70
- },
71
- "13": {
72
- "label": true,
73
- "text": "Skip it: This movie is very poorly written and the result is not distressing, just lame. The actors do their best but from very early on it is obvious that the material gives them nothing to work with. Fans of Colin Firth will experience a certain dim level of enjoyment. Minnie Driver is a treat but her character is no better written than the others. Vermont locations are worth something. With one or two moments of exception it's neither comedic nor romantic.",
74
- "id": "13"
75
- },
76
- "14": {
77
- "label": false,
78
- "text": "Belive it i went to the concert?: hi everyone let me tell you i went to the concert i was amazed with what i saw cher was awsome i tell you buy the dvd. as i sat in front of the stage cher was doing a great job to us the she is living proof . So i urge you to buy it?",
79
- "id": "14"
80
- },
81
- "15": {
82
- "label": false,
83
- "text": "Vale la pena.: En este libro se narra de una forma muy interesante la vida de una familia en particular. Lo que mas me gusto de este libro fue la manera en que la autora describe a lo largo del libro las personalidades de los sujetos envueltos en la novela; que vienen a ser muy distintos y extremos, lo cual, intensifica el drama... Definitivamente es un buen libro y lo recomiendo a todos.",
84
- "id": "15"
85
- },
86
- "16": {
87
- "label": false,
88
- "text": "Nummie Children's story: I ordered this book for our grandchildren. Two boys 5 & 3 and a 4 month old girl. All love the story. The mouse is determined.",
89
- "id": "16"
90
- },
91
- "17": {
92
- "label": true,
93
- "text": "Seem to be alone on this one: Looking at the other reviews, I seem to be the only one that was disappointed with this book. The content is too babyish in most of it for older tweens and the more \"grown up\" content would be over a younger tween's head. I had a quick read through and with every paged turned, I thought duh. I'll be looking around for another book shortly.",
94
- "id": "17"
95
- },
96
- "18": {
97
- "label": false,
98
- "text": "Best yet: by far the best EA game yet. I especially like the easy controls and kick - a graphics. the playbook is extremely accurate and detailed. Also the fight songs and cheerleaders were a nice touch. this is an excellent game and worth checking out.",
99
- "id": "18"
100
- },
101
- "19": {
102
- "label": true,
103
- "text": "washed out: A bit like Simply Reds version of the Valentine bros hit \"Moneys too tight to mention\" - this cover version has nothing of the driving energy that characterised the original recording.",
104
- "id": "19"
105
- },
106
- "20": {
107
- "label": false,
108
- "text": "great water bottle: I love this bottle it is great. I like knowing it is non toxic and it just works very well. You can have it full and lay it down and it doesn't leak at all.",
109
- "id": "20"
110
- },
111
- "21": {
112
- "label": false,
113
- "text": "Nice goggles: I am pretty happy with these goggles. They work well during swim workouts in the pool. I do notice a little bit of fogging from time to time. I had hoped to wear them during an upcoming triathlon, but based on a few instances where they slipped a little in the pool I am concerned that they won't be secure enough. I will keep using them in the pool, but will likely get different ones for open water races.",
114
- "id": "21"
115
- },
116
- "22": {
117
- "label": true,
118
- "text": "aaahhh nnnoooooo!: Hopefully the last film in one of the worst horror trilogys ever made. This series pretty much ruined the horror film for years to come, for one its too self aware, thats incredibley annoying, second everyone acts like they are on Friends or some sitcom. The acting is just plain bad and unconvincing. Now the gore, if you're going with material this weak you should load it up with disgusting violence, is there any in the Scream series? No.Everyone went to see this movie just to see who THE KILLER is. This movie sets low standards to be met, you expect alot of people to die, one shock, then we find out who the killer is, then you go home. Every horror film being made today is like that, there's nothing new or exciting or risk taking, its the same stuff over and over and people are laping it up like dog food.This film is what you've come to expect, bad acting, some people die and we eventually find out who the killer is and all is merry and well. Pathetic.",
119
- "id": "22"
120
- },
121
- "23": {
122
- "label": false,
123
- "text": "A classic of its kind: This movie is a classic of its kind and much better that a lot of movies, that followed. It is not one of the best, but it still deserves five stars...",
124
- "id": "23"
125
- },
126
- "24": {
127
- "label": true,
128
- "text": "Nice suite, but Virtual PC 7 disappoints on my G5: I purchased the upgrade since I'd already bought both Office v.X and Virtual PC 6.1 last year.The biggest letdown is that Microsoft's promised support for the G5 is nearly non-existent. I have a dual processor G5 with an ATI Radeon 9800 card (Apple), and after trying to install Virtual PC 7 three times, I cannot get a VM to work. It did install (and work) flawlessly on my G4 Powerbook. Googling for reviews finds it's very hit or miss, but if (when) it misses, you'll regret investing the extra $$$ in an immature product.",
129
- "id": "24"
130
- },
131
- "25": {
132
- "label": true,
133
- "text": "Okay player, don't expect a miracle: I bought this DVD player at Circuit City earlier this yr for about a $100. I hooked it up to a 47\" Vizio LCD (which by the way has an awesome picture) using a HDMI cable. After fine tuning this product, I was very, very, very diasppointed. The picture was very \"grainy\" (lots of pixels). I have a $35 DVD player that only utilizes an s-video cable that produces a much more crisp picture. Be warned, the picture stinks.",
134
- "id": "25"
135
- },
136
- "26": {
137
- "label": false,
138
- "text": "A revelation of the science of consciousness evolution and all natural growth: Here is a readable and fascinating account of the development of the new science of chaos theory, the only body of ideas that describes how the natural world as experienced by human beings emerges out of basic quantum processes. The different explorers and innovators of the new science are introduced in a personable way that will enchant the interested reader.",
139
- "id": "26"
140
- },
141
- "27": {
142
- "label": true,
143
- "text": "Don't say that I didn't warn ya' !: I'm absolutely convinced that Delbert McClinton had no controlover the release of this CD. I rated it 1 star simplybecause there is no 0 star rating ! In actuality , I am not certain that the vocalist on this recording IS Delbert McClinton. Only on the Mr. Pitiful track is there any similarity at all to Delbert's voice. This is the perfect CD for someone with money to burn who would like to have a recording of a 1960's garage band recorded in a garage and who should be working in a garage ! Delbert fans...run fast and run far away from this ! END",
144
- "id": "27"
145
- },
146
- "28": {
147
- "label": true,
148
- "text": "This item is not available: I ordered this unit on February 7th. Every time I checked back on the status of the order, it read \"not shipped\" and the estimated shipping date got moved out. I really don't think this unit is avaialble from the company anytime soon. I cancelled the order.",
149
- "id": "28"
150
- },
151
- "29": {
152
- "label": true,
153
- "text": "I used to like ABBA...: I used to like ABBA, until I saw Mama Mia! A horribly disjointed musical, where songs feel contrived to fit into the story; a story that doesn't seem to come together. Individual songs are usually done alright, but don't segue from one to another very well.The cast butchered several of the songs, but especially S.O.S, Take A Chance On Me, and anything where Pierce Brosnan sang. On a side note, I also counted at least two violations of Chekov's Gun. And finally, I think it has a bad moral message. Which you only recognize if you manage to sit through the whole thing.If there is justice in the world, cast members without established careers won't get to have them as punishment for the worst movies I've seen since The Talented Mr. Ripley.",
154
- "id": "29"
155
- },
156
- "30": {
157
- "label": true,
158
- "text": "A complete disaster!: If you're like me, you probably wanted to check out this movie because it sounded like it really could be an excellent supernatural Gothic horror tale full of goblins and wicked things alike. Well, don't make the same mistake I did and actually watch it. It's horrible. Terrible. An honest to goodness waste of film. The acting is wretched, the film quality is rotten (it actually looks twenty years older than it is), and the plot is thin, weak, and does not give you what it's supposed to. The only reason I bothered to give this film 1 star is because of Alexis Arquette -- he's great looking, but should have left this film out of his career.",
159
- "id": "30"
160
- },
161
- "31": {
162
- "label": false,
163
- "text": "beautiful detail: I just purchased these Dover COloring Books for my mother and she loves them. The detail is out of this world and the variety of colors you can use are only limited by your inagination. HIGHLY RECOMMENDED!",
164
- "id": "31"
165
- },
166
- "32": {
167
- "label": true,
168
- "text": "Very disappointed: I looked forward to getting this movie as I had heard many good things about it but it was nothing like I had imagined or been led to believe. There is very little actual history in it or real Christian experience except for the background because the main focus is a soap opera style romance and caricature figures. I agree with the reviewer who described it as a mixture of \"tawdry Hollywood sex\" somehow interspersed with a vague nod to Christianity. The only decent scene was the arena scene where the Christians are going to their deaths singing hymns - but that's not enough to make it a great or even a good movie. Not personally to my taste anyway.",
169
- "id": "32"
170
- },
171
- "33": {
172
- "label": true,
173
- "text": "Unreliable minikit: I bought this minikit because it got good reviews and it would be perfect for my purposes. However it switches on and off whenever it wants, it looses contact with the phone. Very often the on/off button works only in a horizontal position (?) I use a Treo 650, which is on the compatible phone list. When I contacted Parrot, they said it wasn't (?) At last I opened the unit, but there are no moving parts inside except the micro switches. It is giving me a headache, so I will go searching for an alternative.",
174
- "id": "33"
175
- },
176
- "34": {
177
- "label": false,
178
- "text": "A Christmas Classic!: This is surely one of the best classical Christmas recordings available. Don't buy the older version, as the quality of this recording is excellent. This is one of those \"Every Christmas - Can't have Christmas without\" recordings.",
179
- "id": "34"
180
- },
181
- "35": {
182
- "label": true,
183
- "text": "too narrow: These were the narrowest pair of D size shoes I have ever tried on. I don't care how nice a shoe looks. If it don't fit it just don't fit.",
184
- "id": "35"
185
- },
186
- "36": {
187
- "label": true,
188
- "text": "Lack of extension: This earphones lack a descent extension cord. ITs very small cable, but its of good quality. Sadly, cord its too short, and the extension is useless.",
189
- "id": "36"
190
- },
191
- "37": {
192
- "label": false,
193
- "text": "Easy-Reading: This is the 3rd Southern Sisters Mystery I've read. They're easy, fast and funny murder mysteries, with lots of cute family stories intertwined in the intrigue.",
194
- "id": "37"
195
- },
196
- "38": {
197
- "label": true,
198
- "text": "it'd be great if it worked like it was supposed to: for the first 30 seconds it was lovely, but i believe that either the motor isn't powerful enough to keep the shaft rotating smoothly or 3 AA batteries just don't provide enough juice for the motor to work more than 30 seconds. it was a nice idea, but i'm rather dissapointed. the jelly material is somewhat difficult to maintain also. i think if it were hooked up to a larger battery pack it'd be WONDERFUL... which i think i may have a macgyver friend with a knack for electronics attempt to do for me.",
199
- "id": "38"
200
- },
201
- "39": {
202
- "label": false,
203
- "text": "Not Hornby's best but still good: I loved About a Boy and really, really loved the sardonic wit of High Fidelity. About a Boy is much deeper but just as cynical. Maybe even more so. The characters are richly drawn and just complex enough to keep the reader wanting more. Good read, but best to take some time with this one. Not recommended for a summer beach read.",
204
- "id": "39"
205
- },
206
- "40": {
207
- "label": true,
208
- "text": "A Disappointment: As with most Taunton Press publications, the illustrations and photographs in this book are spectacular and the organization and layout is superb. Nonetheless, I found this book disappointing. It lacks both depth and breadth. I had hoped for a detailed review of wood joinery including some of the more unusual joinery found in Japanese woodworking. This book, however, is targeted more toward the beginner. Even so, it does not cover the details and \"tricks\" of even the most basic techniques in sufficient detail to allow beginners to easily reproduce them. Consequently, it is unclear who this book was written for - not the beginner as it lacks depth, and not the advanced woodworker as it lacks breadth. Far more effort appears to have been put into appearance and organization than in content.",
209
- "id": "40"
210
- },
211
- "41": {
212
- "label": true,
213
- "text": "Horrible. Don't do it!: Great price for the item when a 6' one of these at Best Buy is $20. Thing is, the one from Best Buy fits in the outlet and stays there. This cord fits very loose and does not connect. I bought 2 of them, neither did what they were suppose to.As much as I hate to say it, but, buy the more expensive one. At least it works.",
214
- "id": "41"
215
- },
216
- "42": {
217
- "label": false,
218
- "text": "Given as a gift...: Given to my best friend as a gift. She loves it. Her fiance enjoys making coffee for her in the mornings. :)",
219
- "id": "42"
220
- },
221
- "43": {
222
- "label": false,
223
- "text": "Love the ring.: This is a nice ring. I was worried it out be thin and cheap looking, but it's not. It's a very pretty stylish ring. Go for it.",
224
- "id": "43"
225
- },
226
- "44": {
227
- "label": true,
228
- "text": "Beautiful writing Marred by One-Note Characterizations: How could Kingsolver have ruined her book with such an obvious error? Nathan is a strident paper doll that flattens the whole story. Just as bad, the author has all the narrators using the same ironic tone to decribe him, deadening their voices as well. At the same time, Kingsolver doesn't have the guts to show him doing something trully terrible. I don't trust an author who can't let the reader make up his own mind, and as a consequence I couldn't trust her views about ANYTHING in the story. I'm giving this two stars for her descriptions of the African landscape, and that is all.",
229
- "id": "44"
230
- },
231
- "45": {
232
- "label": true,
233
- "text": "Much worse than any cordless phone I've ever had: This phone cuts out only 2 rooms away from the base station. There is static noise, and callers on the other end complain about sound quality. I can't go into the garden, which used to be no problem with my old 900 MHz phone.",
234
- "id": "45"
235
- },
236
- "46": {
237
- "label": true,
238
- "text": "Waste of time & money: The first Hangover was not too bad, this one was just terrible. The acting is bad, the script is bad, everything about this movie was just bad. Do yourself a favor, don't buy this movie as it is a total waste of time and money.",
239
- "id": "46"
240
- },
241
- "47": {
242
- "label": true,
243
- "text": "Did Not Work For Me!: Impressive You Tube Video (Like a Sci-Fi Fantasy). In reality it's a high speed Easy Out so unsurprisingly it broke faster than an Easy out. This product did not work for me. The drill part did not drlil, the puller part did not pull. It was a total zero.",
244
- "id": "47"
245
- },
246
- "48": {
247
- "label": false,
248
- "text": "Excellent book, long overdue.: From a very long time women were told that looking good was of utmost importance. This was without regard to health or fitness and how age affected these parameters. Witness the whalebone and other types of corsets, the spike heeled shoes and the numerous weight loss programmes on the market (some of which are downright dangerous). Now there is a book, backed by solid research, that allows women of all ages to remain fit and healthy for a lifetime. I am certainly going to recommend this book to all the women I know.Bentley Norville",
249
- "id": "48"
250
- },
251
- "49": {
252
- "label": true,
253
- "text": "not an all star: Not a practical guide in this collecting age. Does NOT have a comprehensive list; meaning it does NOT cover all manufacturers and, more importantly, for the ones it does, only provides listings of the base set. That means no insert or variation pricing whatsoever. Also, no oddball or minor league issues are listed. Generally speaking, unless you are collecting base sets prior to the advent of inserts and alternate versions of the base set, this guide is fairly useless.",
254
- "id": "49"
255
- },
256
- "50": {
257
- "label": true,
258
- "text": "Again, second rate city, third rate writer: Just another example of Mr. Lindberg's pitiful attempt at exhibiting a strong expertise on a subject with which he is clearly obsessed. Don't waste your time with this book, either. It is poorly written and fails to engage the reader. You might consider using this book and the first book he wrote on the same subject, as a pair of bookends. That is about all they are worth.",
259
- "id": "50"
260
- },
261
- "51": {
262
- "label": false,
263
- "text": "Reality: No one should need to convince you to buy this book, you should just do it! It's so well written and worded and brings you right to the heart of a sexual reality that most people like to pretend doesn't really live and breath in their fair cities. I never again want to hear someone bad mouth a working girl for what she does. I will and do now however look at men with a curious eye wondering if they are depraved peep show window lickers :)",
264
- "id": "51"
265
- },
266
- "52": {
267
- "label": true,
268
- "text": "Bummer: Visual effects and Battle footage were great...the other 85% of the movie was just lousy fluff...",
269
- "id": "52"
270
- },
271
- "53": {
272
- "label": false,
273
- "text": "The spark of idependence: Filled with the independent spark that made us all love life at one point or another. A fun, introspective and nonsensical movie that sticks with you.",
274
- "id": "53"
275
- },
276
- "54": {
277
- "label": false,
278
- "text": "What I expected from Mirman's website. Funny. Funny. Russian.: lol, gotta love Eugene. Even when his audience doesn't initially laugh, he gets in a good zinger at himself and they laugh at that. He's witty without being condescending, and uncomplicated without seeing contrived. However, if you're not a fan of irreverant humor, this may not be for you.",
279
- "id": "54"
280
- },
281
- "55": {
282
- "label": true,
283
- "text": "Do not...repeat...do not bother!: It is not often that I offer a negative review but this compilation while attractive does not deliver at all.The foot massage gizmo is awkward and uncomfortable.The pumice stone leaves rough splinter like skin.The foot scrub doesn't reall scrub.The rotary action tool has five heads, none of which work well and you must hold the switch in place or it turns off. It is cumbersome and ineffective.The one star was initially given for a foot brush (which later lost its bristles very easily as I update the review) and a sweet smelling foot repair balm.Don't waist your money. Soak your feet and invest in an inexpensive German Titania file, smooth and coarser side, or a like product. It will last for years.",
284
- "id": "55"
285
- },
286
- "56": {
287
- "label": true,
288
- "text": "Not Sandra's Best: Ms. Brown has written better romance novels. Don't give up on her if this was your first Sandra book.The feeble female lead struggles with a 15-year crush that walks back into her life. The smug male lead acts like a jerk through most of the novel. The romance scenes grapple to muster up passion but fall short. Both of the main characters bothered me; my favorite character was the 17-year old.A quick read...about 4 hours (with interruptions) for me...but probably not worth it.",
289
- "id": "56"
290
- },
291
- "57": {
292
- "label": false,
293
- "text": "Impressed: Lots-O-Fun. Wood and glass toys are high quality and are a good fall back for the kids to play with they are \"bored\". Would buy again.",
294
- "id": "57"
295
- },
296
- "58": {
297
- "label": true,
298
- "text": "Light turned on by itself 3 times: The installation was easy. I used it for a week, everything worked fine, EXCEPT the light it connected to turned on by itself 3 times so far, with no one near to either one of the switch. Not sure whether it is a defective unit, or this product is too sensitive to noise. I'm returning this product and will just install a regular switch instead.",
299
- "id": "58"
300
- },
301
- "59": {
302
- "label": false,
303
- "text": "good battery: I feel kind of silly writing a review for a battery, but have to say that these last a LONG time. Work very well.",
304
- "id": "59"
305
- },
306
- "60": {
307
- "label": false,
308
- "text": "Even a Woman finds it funny: Yes, even a woman finds \"Married to Mommy\" funny. The book gets you laughing aloud when it is trying to make fun of \"Mommies\". The truth is that it really is making fun of the stupidity of men and their simple basic needs of sex, getting out of work, and beer. Of course, the truth is always funny.A definite MUST for any woman, married or not. We will now know all the secret tricks the men try to use on us.By the way, I am NOT a MOMMY!",
309
- "id": "60"
310
- },
311
- "61": {
312
- "label": false,
313
- "text": "Gungrave...not quite what you might expect: Those thinking this is another version of Trigun will be disappointed. Gungrave is actually a lot deeper and more complex. The lead is short on dialouge, but the story has more depth and character development than most anime. The first DVD is more about the main character's past than about the reanimated killing machine he's become, but it definitely leaves you wanting more.",
314
- "id": "61"
315
- },
316
- "62": {
317
- "label": false,
318
- "text": "Error in product description: It's great in every way. However, if you'd prefer a digital tuner (as I do), then you might need to look further. The product description boasts a digital AM/FM tuner, but it's disappointingly an analog AM/FM tuner.Overall - especially for the price - I think it's pretty good.",
319
- "id": "62"
320
- },
321
- "63": {
322
- "label": false,
323
- "text": "good phone but not as user friendly as it could be: Battery life is very good. Phone has good range. My only complaint is it's to involved to get your message from the handset.",
324
- "id": "63"
325
- },
326
- "64": {
327
- "label": true,
328
- "text": "Big waste of money (and space in my house!): My 5 year old son wanted this so bad, but when we got it for him, there were so many pieces to put together that didn't fit together well, he never played with it. It just sits on our floor in many pieces taking up toy space! What a waste!",
329
- "id": "64"
330
- },
331
- "65": {
332
- "label": false,
333
- "text": "Don't want to take it off: Very satisfied with an earlier purchase of this Bali bra model, I was just as pleased with the new one. Very comfortable, well made and a good neutral color. It will be my next choice, too.",
334
- "id": "65"
335
- },
336
- "66": {
337
- "label": false,
338
- "text": "Fantastico: If anybody who's into rock music is ever looking for a band to keep you on your toes, this is the band. I've been a fan for 10 years now, and no album has ever sounded like any of their previous albums. This disc is fantastic with such a variety of styles, as are the previous releases, even back to the Rainbow Butt Monkey days.",
339
- "id": "66"
340
- },
341
- "67": {
342
- "label": true,
343
- "text": "too much visual: There are far too much designs, visuals, colors, etc in the book - this is highly distracting, as TV screen can be...By way of example (among so many...), what is the use of colors with the three squares of the Pyth. theorem???? this is as useless as writting 2+3=5 with 2 in blue, 3 in red and 5 in yellow...I wish I had purchased the 2nd edition, which according to reviews was closer to what I was looking for.",
344
- "id": "67"
345
- },
346
- "68": {
347
- "label": false,
348
- "text": "Aretha's First Arista Release Showed Pleasures to Come: After a long and musically satisfying career with Atlantic, Aretha severed her ties with that company and moved under the wing of Arista's Clive Davis. With the start of the 1980's, Aretha was looking for new territory to conquer and almost succeeded with this mixed bag.\"United Together\" is a fine tune that benefits from beautiful orchestral arrangement that is matched by Aretha's superb vocal instrument. The remake of \"Can't Turn You Loose\" allows Aretha to show why she is the Queen of Soul\" for she really belts this one out. Another cover, that of the Doobies' \"What a Fool Believes,\" is an interesting interpretation. The final cut \"School Days\" appears to be \"autobiographical\" for every girl growing up in the fifties.Although not as strong as her Atlantic work, \"Aretha\" is still a suitable addition to the artist's discography.",
349
- "id": "68"
350
- },
351
- "69": {
352
- "label": true,
353
- "text": "Misguided Purchase: The photo and description do not reflect the product. The screen panel kit I received was white. What a huge inconvenience during a time-crunch.",
354
- "id": "69"
355
- },
356
- "70": {
357
- "label": true,
358
- "text": "Banacek: My husband and were looking forward to seeing this series.The first show was SO boring, we finally just quit watching it.Actually, we haven't gotten around to watching anymore. I guess we were afraid of a repeat.Maybe that was just once, I hope!",
359
- "id": "70"
360
- },
361
- "71": {
362
- "label": false,
363
- "text": "JDT: Uncle Tupelo is without doubt one of the most under appreciated groups of the 90's. Anodyne, like each of the three albums that came before it, has everything that a remarkable recording requires: great songs, honest lyrics, and artists who really care about the music they are making. Like the best of Dylan and Springsteen, the songs are about real people with real troubles and joys. When you hear them you know they are coming from the heart. The songs contributed by Jay Farrar and Jeff Tweedy are easily differentiated by the voacls, music, and lyrics. What makes this record interesting is how well these unique sounds compliment each other. The union is seamless.",
364
- "id": "71"
365
- },
366
- "72": {
367
- "label": false,
368
- "text": "Well Worth Reading: First a confession: Miriam Wasserman was my mother. However, she published several books, but this is the only one I really found useful. She walks the reader through the New York City school system and the attitudes of different groups involved in the system back in the 1960s. This includes parents, teachers and administrators. Her view is that the further away one got from parents and students, the more prestige one had. She meticulously describes the teachers' strike of 1968 against \"community control of schools\", a strike of which she is extremely critical. She explores the racism that was involved in this strike, including using quotes from striking teachers, etc. It should be emphasized that the author was pro-union all her life, so her views don't stem from an anti-union bias. The book also covers the high school student rebellion which coincided with and followed the strike.",
369
- "id": "72"
370
- },
371
- "73": {
372
- "label": false,
373
- "text": "compact and loaded: I bought this phone after reading the cnet reviews and really liked it. It looks small and really compact. I like the camera pics at 2 mega pixel and bright flash. The mp3 player is crisp. The headset that comes along delvers amazing fM radio. I think my phone is not very loud and you have a problem when you are around a noisy crowd. I just bought this phone again for my cousin. He likes it too. Almost forgot the display is very good.",
374
- "id": "73"
375
- },
376
- "74": {
377
- "label": false,
378
- "text": "Outstanding text!: Brooks/Cole should keep this text in their catalog for ages! It is well-written, examples are generally quite clear, vocabulary is introduced well, and the exercises develop real skills, rather than simply be busy-work. One of the best calculus books ever!",
379
- "id": "74"
380
- },
381
- "75": {
382
- "label": false,
383
- "text": "Excel 2003 Bible: Very good source of information. I will most likely buy other books in this series.",
384
- "id": "75"
385
- },
386
- "76": {
387
- "label": false,
388
- "text": "Tasting is Believing: Gluten-free breads used to have a gritty texture from the rice flour, and were too soft for sandwiches. Bette Hagman uses garbanzo/fava bean flour, sorghum flour, tapioca flour, and corn starch to create breads which have a similar texture to wheat flour breads, and the flavors of her breads are fabulous.My BF bought me this book and a great tasting beverage to drink it with. Since he knows I quit coffee recently, he's been really wonderful helping me in cope with my mood swings. S o y f e e is made from soy beans that is roasted just like coffee. I enjoy the taste and don't miss coffee one bit. Buy it online at www.s o y c o f fee.com.This is a 'must have' for anyone baking gluten-free. I think all of Bette Hagman's books are wonderful and a must for those with gluten intolerance.",
389
- "id": "76"
390
- },
391
- "77": {
392
- "label": false,
393
- "text": "5 stars for the show, no stars for the \"Collector's Edition\": I was really looking forward to getting this Collector's Edition and see what extras were added. I knew it wasn't a lot - just a mini-book and a documentary - but I figured it would be packaged in a cool way.Wrong.As others have already mentioned, the Collector's Edition is *literally* theAvatar: The Last Airbender - The Complete Book 1 Collectionslipped into another cardboard box, with a little booklet and DVD in an envelope (not even a case!) wedged in. It's really disappointing; it would have been so easy to create a quality Collector's Edition but the studio couldn't be bothered, I guess.",
394
- "id": "77"
395
- },
396
- "78": {
397
- "label": false,
398
- "text": "sula scottcampos: Sula, a book that talks about the issues of being a black women is a really good novel to read.One of the reasons I recommend it is because of its realism and its themes - death, sex, friendship and poverty.I also think that its characters are very good, its easy to identify with one or both of them. I really recommend this book to anyone who enjoys good literature.",
399
- "id": "78"
400
- },
401
- "79": {
402
- "label": false,
403
- "text": "Fantastic! It's a must-have for girls!: I hated razor, tried shaving but it did not work for me. Shaving made the hair grows thicker and faster afterwards, plus the roots are impossible to be getting rid of. After reading the reviews, I ordered it to try, I used it for once and already fall in love with this. I used to use small tweezer to pluck out my leg's hair, in order to avoid the razor, it took me a few hours to do that but this super electronic tweezer works wonder! You won't see the black roots and I have smooth and silkly legs in 20 mins. It does not hurt at all, if you use it on your legs. But, if you use it at your under arm, it won't be a pleasant feeling, of course! I will never use anything else besides this for hair removing anymore! highly recommended!",
404
- "id": "79"
405
- },
406
- "80": {
407
- "label": true,
408
- "text": "This is not a toy: I guess I was expecting more out of these leave window decals. I just didn't find them attractive after placing them on my window, they seem very cheap, I guess because they are cheap.I threw them away.",
409
- "id": "80"
410
- },
411
- "81": {
412
- "label": false,
413
- "text": "Wonderful book for anyone running a professional hatchery: This book is aimed more for hatcheries that are raising Trout, Salmon, Catfish and other food fishes. However, there is so much information in this book that even ornamental fish hatcheries will find an incredible amount of useful information. The chapters on Fish Nutrition are especially helpful.",
414
- "id": "81"
415
- },
416
- "82": {
417
- "label": false,
418
- "text": "Amazing book!!: Once again, Eric Victorino's artistic talent is put into this great free-verse poetry book. I couldn't put it down and I finished it the day I received it in the mail. All of the poems are awesome but the one I found the most interesting was \"It's A People Business.\" All of the experiences in his life, personally and with his band, come to life in this book. Please check it out! It's worth every penny!!",
419
- "id": "82"
420
- },
421
- "83": {
422
- "label": false,
423
- "text": "The white trumpet contender respect Miles Davis!: The story of the Jazz in the Fifties certainly would be remain unfinished without the ominous presence of this outstanding virtuoso. Baker sound still possesses this alluring hook, this magnetic engagement charm, eloquent expressiveness, enrapturing lyricism and contagious rhythm, despite the elapsed time, which confirms by itself the status of his musicianship.This selection is jus a little sample of the broad universe of his genius. A well thought selection of great musical successes, available, preserved and immortalized by the Digital Technology for our future enjoyment.Absolutely indispensable in your treasured collection.",
424
- "id": "83"
425
- },
426
- "84": {
427
- "label": true,
428
- "text": "What the?: I'm sorry, maybe it's just me but I can't helping stating that this has to be one of the wrost movies I've seen in my life!Can you say boring? Can you say doesn't make sense at all? The first 30 minutes of the movie were O.K. But it went downhill after that. This movie is a prime example of a director attempting to make a deep movie with a meaningful lesson but failed on all levels. I don't recommend this movie unless you want to go to sleep or you don't have anything else to do.",
429
- "id": "84"
430
- },
431
- "85": {
432
- "label": false,
433
- "text": "very very good!!!!: linda blair is a young girl who is possessed. and her mother doesn't know what to do until one day when she hears her daughter screaming and stabbind herself she knows what to do GET AN EXORCIZIM!!!",
434
- "id": "85"
435
- },
436
- "86": {
437
- "label": false,
438
- "text": "Awesome product for the price!: This range extender works as advertised! I am very happy with the purchase. I was a little worried after reading some of the horror stories here, but I have to say, Chovy's review instructions (on this site) were just this ticket to get the repeater up and running in less than 30 minutes. It was unbelievably easy to install! Do not be frightened by negative reviews. If you can set up a wireless network, you can set up this repeater. However, I did upgrade the firmware before I did anything else and maybe that helped. I got the firmware update from the Belkin site.",
439
- "id": "86"
440
- },
441
- "87": {
442
- "label": true,
443
- "text": "Slight: This book is either a heavily illustrated short story collection or a text-heavy comic. Its unusual format is its most original feature. Its plots are negligible, but its illustrations and text evoke a unique atmosphere of self-conscious nonconformism. Although its target audience is dare-to-be-different teens and college students, its interesting turns of phrase and expressive line drawings are not devoid of interest for general audences.",
444
- "id": "87"
445
- },
446
- "88": {
447
- "label": false,
448
- "text": "ANgeleyes: Seem to dry up their eyes fairly well, although I haven't seen the color (brown stain) change much yet.",
449
- "id": "88"
450
- },
451
- "89": {
452
- "label": true,
453
- "text": "Nice Try: Salt Lake 2002 is not a bad game, but it isn't good either. The graphics are excellent, but some of the events are bad. Bobsleigh, and skiing aren't bad but the others are. You dont stay into it for long. I liked it for a while, but it gets boring.",
454
- "id": "89"
455
- },
456
- "90": {
457
- "label": true,
458
- "text": "Cutler's share of the pie: This book was a major disappointment. I am familiar with books written solely by the Dalai Lama, such as the \"Library of Tibet\" series, which are much more engrossing and have much more substance than Cutler's book. Cutler attempts (successfully, sadly) to have his share of the profitable market that involves the Dalai Lama's writings. The book is insipid, does not try to explain any important issue in the light of Buddhist philosophy, and only rehashes issues that several other westerners already wrote about. It's another big ego trip: we keep hearing time and again about his opportunities to be with the Dalai Lama. What a shame, Cutler. I sold the book as soon as I finished it.",
459
- "id": "90"
460
- },
461
- "91": {
462
- "label": true,
463
- "text": "Mostly tedious, with interesting parts: I found the writing interesting, and the subject fascinating, but I found myself frustrated by the author's difficulty in talking directly about the status of Muslim women with her interview subjects. The author spent many pages writing about the menus and dress of the many middle and upper-middle class women she interviewed. It seemed as though her interview subjects resisted her efforts to discuss the status of women in their countries, so we too as readers had to wade through much distracting material and misunderstandings about feminism and gender. Great travel stories, but not a great source of information about Muslim women.",
464
- "id": "91"
465
- },
466
- "92": {
467
- "label": true,
468
- "text": "Sesame Street Toddler: I did not find this game to be as educationally sound as I would expect from Sesame street. There is too much talking before the program will react to a command. The graphics are jerky and the cursor acts like the target is magnetically charged and keeps pushing away the cursor. When the child actually does manage to click on a target, the cursor may still fly to another target and the child is told that his answer is wrong. Another example of educational problems is the pronunciation of \"eggs\" using a long \"a\" sound instead of a short \"e.\" This is not very helpful in teaching a child the sound for short \"e.\" Children that are used to playing computer games by themselves may find that this game is too frustrating to do alone. The open ended learning curve is a great idea. I just wish Sesame Street would hire a truly qualified literacy expert to help clean up the many problems in this program.",
469
- "id": "92"
470
- },
471
- "93": {
472
- "label": true,
473
- "text": "needs a buzz cut and a point: I avoided reading this book, not because of the hermaphrodite subject matter, but because I have never read a multigenerational family saga that I liked. Many books let me down in the middle, and this was no exception. The beginning of the book was incredible and harrowing, with momentum and characterization. The post-America nextgens part of the saga was so boring I found myself flipping and flipping - always a bad sign. If there was some kind of larger point to all of that, then I must have missed it. Yes there's the identity duality and trinity themes playing out here: man/woman, greek/turkish/american modern/old world sick/healthy innocent/guilty original/reinvented. But it was almost as if the author was saying - here it is again - get it? I like my fiction much more subtle than this.",
474
- "id": "93"
475
- },
476
- "94": {
477
- "label": true,
478
- "text": "OMG! DO NOT BUY!: I normally don't take the time to submit a review.In this case however, I feel obligated to do so.This is by far one of the worst purchases I have ever made.Here's why.....The contraption is far too bulky.The case's enclosing is unbearable, takes a good minute or so to open it.The texture of the material feels like a cheap toy.The overall design is horrible, something I could make in my basement.For the love of everything sacred, do not buy this thing.",
479
- "id": "94"
480
- },
481
- "95": {
482
- "label": false,
483
- "text": "Good price, good quality: Comparable HDMI cables can be bought for 45 or more. Even though the price is cheap the quality is good, no problems so far.",
484
- "id": "95"
485
- },
486
- "96": {
487
- "label": false,
488
- "text": "Good rock music: This is what i call rock music good beat and good lyrics, don't listen to the other reviews. This cd is one of the best, listen to a few songs and you will get hooked. I recommend this cd its awesome.",
489
- "id": "96"
490
- },
491
- "97": {
492
- "label": true,
493
- "text": "BORING!: This movie is soo boring. How in the hell did this movie make so much at the box office. Do people really want to pay for crappy movies like this. bottom line this is a chick flick nothing is good. And now they are re-releasing this movie with more boring stuff. This is the worst movie ever.",
494
- "id": "97"
495
- },
496
- "98": {
497
- "label": true,
498
- "text": "Already Rusting: Inferior quality. The plating is thin and rust is coming through the finish. Inexcusable for a product that is designed for use in a humid environment.",
499
- "id": "98"
500
- },
501
- "99": {
502
- "label": true,
503
- "text": "confusing internet setup: i wanted a camera that could email photos but this camera will not go out through the router and the manual setup , to punch a hole thru router is confusing.",
504
- "id": "99"
505
- },
506
- "04c7dfc0f94e4e88968d09b40edbfa14": {
507
- "label": true,
508
- "text": "The new gaming console is unaffordable.",
509
- "id": "04c7dfc0f94e4e88968d09b40edbfa14"
510
- },
511
- "58f58a1a4cbb4bb699772ed934006ec8": {
512
- "label": true,
513
- "text": "How can it be sure difficult for @115830 to deliver a package to a University address? Two failed attempts so far ...",
514
- "id": "58f58a1a4cbb4bb699772ed934006ec8"
515
- },
516
- "d4a3cd4877c54aef81c376eff8008df4": {
517
- "label": false,
518
- "text": "@204780 Glad they showed up! Hope you have a great flight! -Sean",
519
- "id": "d4a3cd4877c54aef81c376eff8008df4"
520
- },
521
- "affe1d6548f84bed84238bac45cc10a1": {
522
- "label": false,
523
- "text": "@British_Airways Thank you! All looks good then \ud83c\uddec\ud83c\udde7\u2708\ufe0f",
524
- "id": "affe1d6548f84bed84238bac45cc10a1"
525
- },
526
- "e304ea77a94c450a95690c7b605a035f": {
527
- "label": false,
528
- "text": "@246667 Thank you for reaching out, Andrea. The built in application in Windows 10 are exempted to be uninstalled. However, you can send this suggestion directly to our developers via the Feedback Hub so they can take a look at it: https://t.co/jowrfbgQm6. Keep in touch.",
529
- "id": "e304ea77a94c450a95690c7b605a035f"
530
- },
531
- "76b694b019eb4e6888a422e144030bd0": {
532
- "label": true,
533
- "text": "@GWRHelp It\u2019s mainly the constant short forming and cancellations due to mechanical faults Phil. As a company, these excuses have been used ad nauseam for years and years. It just gets worse and no amount of rhetoric and IET self promotion can hide that fact.",
534
- "id": "76b694b019eb4e6888a422e144030bd0"
535
- },
536
- "ce0698020b7a457396c7674b04db10e6": {
537
- "label": false,
538
- "text": "English gangster flick.",
539
- "id": "ce0698020b7a457396c7674b04db10e6"
540
- },
541
- "52bda6cbab224899845e66e0474cdefc": {
542
- "label": false,
543
- "text": "sees the formula graph, the chip calculates the formula, able to \"survive\" thanks to its connection to Edit, develops a parallel personality and affords her abilities greater than she ever imagined...",
544
- "id": "52bda6cbab224899845e66e0474cdefc"
545
- },
546
- "435aabe68c294963a05e090d479582bc": {
547
- "label": false,
548
- "text": "Aanandam is a 2016 Indian Malayalam campus musical film written and directed by Ganesh Raj in his directorial debut. Vineeth Sreenivasan produces the film under the banner of Habit Of Life with Vinod Shornur under Cast N Crew.",
549
- "id": "435aabe68c294963a05e090d479582bc"
550
- },
551
- "f96313d0087e4941a359783634ef9e86": {
552
- "label": false,
553
- "text": "The remarkable story of The Weather Underground, radical activists of the 1970s, and of radical politics at its best and most disastrous.",
554
- "id": "f96313d0087e4941a359783634ef9e86"
555
- },
556
- "f63e4502791a409fa2d750687d3841eb": {
557
- "label": false,
558
- "text": "A young widow on a trip to the backwoods stumbles upon the operation of a gang of drug smugglers. They attempt to kill her in order to keep their operation a secret, but she turns out to be more resourceful than they thought, and starts to turn the tables on them.",
559
- "id": "f63e4502791a409fa2d750687d3841eb"
560
- },
561
- "108ac02949324b02bdcbe4c7a77bacdc": {
562
- "label": false,
563
- "text": "The story of a young Marine, fresh from Camp Pendleton, who is forced to confront the complexities of adulthood and a volatile home life during a four-day Thanksgiving leave.",
564
- "id": "108ac02949324b02bdcbe4c7a77bacdc"
565
- },
566
- "44fc412246964b2393fa0035ff093a00": {
567
- "label": false,
568
- "text": "Exploring the rough and tumble world of hockey, Academy Award winner Alex Gibney (\"Taxi to the Dark Side\") looks at the world of the NHL enforcers and specifically the career of Chris \"Knuckles\" Nilan who helped the Montreal Canadiens win the Stanley Cup.",
569
- "id": "44fc412246964b2393fa0035ff093a00"
570
- },
571
- "409350c111af4ba3a94c842b797ddb95": {
572
- "label": false,
573
- "text": "Two fishing fanatics get in trouble when their fishing boat gets stolen while on a trip.",
574
- "id": "409350c111af4ba3a94c842b797ddb95"
575
- },
576
- "d48d8f3b5a524ecea69bae718d1f1513": {
577
- "label": false,
578
- "text": "A willful young boy follows his just as obstinate grandmother in a journey across Iraq, determined to discover the fate of her missing son, Ahmed's father, who never returned from war.",
579
- "id": "d48d8f3b5a524ecea69bae718d1f1513"
580
- },
581
- "283e96de5b474240a044c50dbc2551fb": {
582
- "label": false,
583
- "text": "A group of people are sitting in a theatre watching a movie when one realises that the woman on the screen is her. (IMDb)",
584
- "id": "283e96de5b474240a044c50dbc2551fb"
585
- },
586
- "516d0f2f3a854a97a87c64db19a89fac": {
587
- "label": false,
588
- "text": "of the fake prediction. Fantastic swashbuckling adventures in a 18th century setting, with a light criticism of the war and the mighty.",
589
- "id": "516d0f2f3a854a97a87c64db19a89fac"
590
- },
591
- "c2f55710669b40aa937625fe0ab04065": {
592
- "label": false,
593
- "text": "famous for his reputation as a Don Juan, to seduce C\u00e9cile and emotionally destroy her. While on his mission, Valmont gets sidetracked when he goes to visit his aunt and falls for Madame Tourvel, a virtuous, married woman who knows of his womanizing ways, but that only makes the challenge more exciting to Valmont. Together, Madame de Merteuil and Valmont make a dangerous team and they will stop at nothing when it comes to matters of the heart.",
594
- "id": "c2f55710669b40aa937625fe0ab04065"
595
- },
596
- "ba0261b2ee3244d29bb3a8c6d77195a6": {
597
- "label": false,
598
- "text": "sees the formula graph, the chip calculates the formula, able to \"survive\" thanks to its connection to Edit, develops a parallel personality and affords her abilities greater than she ever imagined...",
599
- "id": "ba0261b2ee3244d29bb3a8c6d77195a6"
600
- },
601
- "5e724fbde8ee44d9a8fc87a6e6667f01": {
602
- "label": false,
603
- "text": "telling the story about people who despite all obstacles strive for their goal.",
604
- "id": "5e724fbde8ee44d9a8fc87a6e6667f01"
605
- },
606
- "557eba5ebfc9467a9d88688afed41354": {
607
- "label": false,
608
- "text": "A young playboy who learns he has one month until he becomes infertile sets out to procreate as much as possible.",
609
- "id": "557eba5ebfc9467a9d88688afed41354"
610
- },
611
- "aa20e22fbe96487d8ee1223a6ef4da0b": {
612
- "label": false,
613
- "text": "Set in modern times, Alex finds King Arthur's sword Excalibur and must prove himself worthy of it.",
614
- "id": "aa20e22fbe96487d8ee1223a6ef4da0b"
615
- },
616
- "bea56d34f6df408c9ec9653b17a90a93": {
617
- "label": false,
618
- "text": "Kostis is a 40-year-old doctor that finds himself in the small island of Antiparos, in order to take over the local clinic. His whole life and routine will turn upside down when he meets an international group of young and beautiful tourists and he falls in love with Anna, a 19-year-old goddess.",
619
- "id": "bea56d34f6df408c9ec9653b17a90a93"
620
- },
621
- "e61a3251720d425c9f4770cb4b11d2d9": {
622
- "label": false,
623
- "text": "Friends on a weekend excursion take a path into a forest that leads to death and destruction.",
624
- "id": "e61a3251720d425c9f4770cb4b11d2d9"
625
- }
626
- },
627
- "version": 26,
628
- "description": "Negative sentiment"
629
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/concept/lilac/negative-sentiment/sbert.pkl DELETED
Binary file (105 kB)
 
data/concept/lilac/positive-sentiment/concept.json DELETED
@@ -1,564 +0,0 @@
1
- {
2
- "namespace": "lilac",
3
- "concept_name": "positive-sentiment",
4
- "type": "text",
5
- "data": {
6
- "0": {
7
- "label": false,
8
- "text": "Starting To Be Annoyed By Becky...: I'm not sure why I keep reading these books, but I guess it's because I've read the first two so I'll keep reading the rest of the books. In the first book, I really found it amusing. I was a little annoyed by the fact that Becky couldn't stop spending, but then again that's why she is called a Shopaholic. In the second book, I felt more of the same it was just magniifed more. Now in the third book, I'm just down right annoyed by Becky Bloomwood. In this book, she wasn't going on crazy shopping sprees, just planning two different weddings because she was afraid to tell each person and because I feel she's really selfish. Still, I read the book because I wanted to see how she could get herself out of another situation. I will say that I love her friends Suze and Danny, her client Laurel and her husband Luke. Maybe that's why I keep reading. I will read the next book, but I'm sure I'll be just as annoyed when I'm done.",
9
- "id": "0"
10
- },
11
- "1": {
12
- "label": false,
13
- "text": "the cover is fine - the pool is horrible: The entire pool was horrible. The cover was fine once we got it on, but we finally got rid of the pool after 2 weeks because it was so hard to set up and keep clean.",
14
- "id": "1"
15
- },
16
- "2": {
17
- "label": true,
18
- "text": "Good album, not their best.: This album is probably the most marketable and radio friendly of all of dashboard's albums. For the peripheral listener it may be the right one to get to introduce you to this band. But as a Dashboard fan of 5 or so years I truly hope they return to their original sound for their next work. Not for the listen-ability but for the show. To this day the fans react best to the songs from \"Places\" or \"A Mark, A Mission.\" I recommend this album to everyone but I also recommend any and all of their other work.",
19
- "id": "2"
20
- },
21
- "3": {
22
- "label": false,
23
- "text": "This is a horror novel, right?: Never one to pass up any vampire novel, I purchased Sips because the description seemed interesting. Vampires, Marquis de Sade, fetishism, yada yada yada. If this is a comedy, I give it 4 stars; however, I'll give it 1 star as a horror novel. Sade was rather boring; I would think a character as intense and multi-faceted as the Marquis de Sade would make for a more interesting vampire. The writing style isn't too bad, but overall I found the characters to be mildly amusing at best. The plot was thin, the end was anti-climactic, and the vampires were not very frightening. The book had little suspense, and it leaves a mile-wide opening for a sequel at the conclusion. I would, however, like to see something more of the vampire mutants lurking in the graveyard. They were the most riveting of any of the characters.",
24
- "id": "3"
25
- },
26
- "4": {
27
- "label": true,
28
- "text": "Superb mix of global non secular musical denominations: I first heard Ms. Pook's music on the \"Eyes Wide Shut\" soundtrack (the masquerade ball scene) and was blown away; if ever there was a necessity for music to permeate a scene in a film this was it. She incorporates a blend of the traditional songs from faiths across continents and mixes them, for lack of a better comparison than similar to your quintessential raver d.j. (though these are better and definitively more original :) \"Oppenheimer\" is my favorite, and if you let the last track run for a few minutes a portion of the song will play once more. I can't wait to hear more of her stuff - these hymns are awesome.",
29
- "id": "4"
30
- },
31
- "5": {
32
- "label": true,
33
- "text": "A moving and suspenseful story!: For anyone familiar with the occult, this book is likely to raise hairs on the back of your neck as you read. Even if you're not, the storyline is suspenseful and fascinating, and the characters evoke great sympathy and admiration. An excellent read.",
34
- "id": "5"
35
- },
36
- "6": {
37
- "label": true,
38
- "text": "Simple & Easy to Use - A Practical approach to eating out: This guide is extremely to use. It provides sample menus that you'd see at Chinese, Indian and Thai restaurants. Then you are provided with descriptions of each dish and how it is prepared and the ingredients used. From there you are provided with specific considerations as to how the preparation or ingredient list may affect you if you have Gluten or Allergen issues.This book is the size of a passport and very organized and well written. The Chinese, Indian and Thai Cuisine Passport is perfect for making choices while traveling, or while dining at your favorite local restaurant.",
39
- "id": "6"
40
- },
41
- "7": {
42
- "label": false,
43
- "text": "Being Fair....I am a fan of hers: and I really enjoyed her previous works, more than I could have ever imagined, but this record is horrible. The songs are trite, the lyrics are incredibly boring, indulgent and immature. The music is pop staple, with forgetable melodies and repetative chorus lines, I feel as if the studio wrote the entire album for her while she was sleeping, this just doesn't speak to any of her previous works at all. This album fits on the same shelf with a Nickelodeon-themed CD. Instead of heading in the direction of an artist like Alanis Morrisette, she is going backward and joining the ranks of Hannah Montana and the Naked Brothers Band. She is a great artist and her first two records are amazing. She is better than this CD and I am looking forward to her next effort.",
44
- "id": "7"
45
- },
46
- "8": {
47
- "label": false,
48
- "text": "Sucked: I thought the DVD sucked tremendously. It was very boring and if I could, I would return it for a refund. There was only one \"small\" clip of Dylan himself. I'm very disappointed.",
49
- "id": "8"
50
- },
51
- "9": {
52
- "label": true,
53
- "text": "Excellent product: Easy to install. If you have a newer furnace you probably do not need the swail switch as the HE220A comes with a Humistat which can be connected to the furnace. They recommend the Honeywell 32005847-001 Installation Kit, Bypass which is a little pricey and you can probably buy the pieces of this kit cheaper individually from Home Depot or Lowes or ACO as well as the filters.",
54
- "id": "9"
55
- },
56
- "10": {
57
- "label": true,
58
- "text": "Very happy.: I am very happy with this trashcan. I was unable to find one in the stores to fit the space in my cabinet, but this one does the job. It is very sturdy and looks like it will put up with years of use.",
59
- "id": "10"
60
- },
61
- "11": {
62
- "label": false,
63
- "text": "These aren't Throughbreds!: This makes me so mad. All these new authors are coming and changing the series. Nothings the same anymore and the plots are repeditive. Don't even bother reading these books until #32 these are like a different series. I don't know excactly what's happing but these new authors suck!",
64
- "id": "11"
65
- },
66
- "12": {
67
- "label": false,
68
- "text": "Large and slow are a bad combination.: I bought this TV and returned it a week later, because it blurred so badly with motion that sports were unwatchable. I ended up buying a smaller Sony XBR4, and I have none of the issues (plus the picture is far, far better).This has nothing to do with 60 vs 120Hz. That is more important for DVDs and Blu-Ray signals that are 24fps (which doesn't divide evenly into 60 but does for 120). The LT52133 has an 8ms response time, which is extremely slow. A decent LCD should be 5 or lower.If you want an LCD, choose speed and quality over size. If you want size and quality but want to spend less, buy a plasma. Don't buy a big, cheap, slow LCD!I gave it 2 stars because I like the interface and remote.",
69
- "id": "12"
70
- },
71
- "13": {
72
- "label": false,
73
- "text": "Skip it: This movie is very poorly written and the result is not distressing, just lame. The actors do their best but from very early on it is obvious that the material gives them nothing to work with. Fans of Colin Firth will experience a certain dim level of enjoyment. Minnie Driver is a treat but her character is no better written than the others. Vermont locations are worth something. With one or two moments of exception it's neither comedic nor romantic.",
74
- "id": "13"
75
- },
76
- "14": {
77
- "label": true,
78
- "text": "Belive it i went to the concert?: hi everyone let me tell you i went to the concert i was amazed with what i saw cher was awsome i tell you buy the dvd. as i sat in front of the stage cher was doing a great job to us the she is living proof . So i urge you to buy it?",
79
- "id": "14"
80
- },
81
- "15": {
82
- "label": true,
83
- "text": "Vale la pena.: En este libro se narra de una forma muy interesante la vida de una familia en particular. Lo que mas me gusto de este libro fue la manera en que la autora describe a lo largo del libro las personalidades de los sujetos envueltos en la novela; que vienen a ser muy distintos y extremos, lo cual, intensifica el drama... Definitivamente es un buen libro y lo recomiendo a todos.",
84
- "id": "15"
85
- },
86
- "16": {
87
- "label": true,
88
- "text": "Nummie Children's story: I ordered this book for our grandchildren. Two boys 5 & 3 and a 4 month old girl. All love the story. The mouse is determined.",
89
- "id": "16"
90
- },
91
- "17": {
92
- "label": false,
93
- "text": "Seem to be alone on this one: Looking at the other reviews, I seem to be the only one that was disappointed with this book. The content is too babyish in most of it for older tweens and the more \"grown up\" content would be over a younger tween's head. I had a quick read through and with every paged turned, I thought duh. I'll be looking around for another book shortly.",
94
- "id": "17"
95
- },
96
- "18": {
97
- "label": true,
98
- "text": "Best yet: by far the best EA game yet. I especially like the easy controls and kick - a graphics. the playbook is extremely accurate and detailed. Also the fight songs and cheerleaders were a nice touch. this is an excellent game and worth checking out.",
99
- "id": "18"
100
- },
101
- "19": {
102
- "label": false,
103
- "text": "washed out: A bit like Simply Reds version of the Valentine bros hit \"Moneys too tight to mention\" - this cover version has nothing of the driving energy that characterised the original recording.",
104
- "id": "19"
105
- },
106
- "20": {
107
- "label": true,
108
- "text": "great water bottle: I love this bottle it is great. I like knowing it is non toxic and it just works very well. You can have it full and lay it down and it doesn't leak at all.",
109
- "id": "20"
110
- },
111
- "21": {
112
- "label": true,
113
- "text": "Nice goggles: I am pretty happy with these goggles. They work well during swim workouts in the pool. I do notice a little bit of fogging from time to time. I had hoped to wear them during an upcoming triathlon, but based on a few instances where they slipped a little in the pool I am concerned that they won't be secure enough. I will keep using them in the pool, but will likely get different ones for open water races.",
114
- "id": "21"
115
- },
116
- "22": {
117
- "label": false,
118
- "text": "aaahhh nnnoooooo!: Hopefully the last film in one of the worst horror trilogys ever made. This series pretty much ruined the horror film for years to come, for one its too self aware, thats incredibley annoying, second everyone acts like they are on Friends or some sitcom. The acting is just plain bad and unconvincing. Now the gore, if you're going with material this weak you should load it up with disgusting violence, is there any in the Scream series? No.Everyone went to see this movie just to see who THE KILLER is. This movie sets low standards to be met, you expect alot of people to die, one shock, then we find out who the killer is, then you go home. Every horror film being made today is like that, there's nothing new or exciting or risk taking, its the same stuff over and over and people are laping it up like dog food.This film is what you've come to expect, bad acting, some people die and we eventually find out who the killer is and all is merry and well. Pathetic.",
119
- "id": "22"
120
- },
121
- "23": {
122
- "label": true,
123
- "text": "A classic of its kind: This movie is a classic of its kind and much better that a lot of movies, that followed. It is not one of the best, but it still deserves five stars...",
124
- "id": "23"
125
- },
126
- "24": {
127
- "label": false,
128
- "text": "Nice suite, but Virtual PC 7 disappoints on my G5: I purchased the upgrade since I'd already bought both Office v.X and Virtual PC 6.1 last year.The biggest letdown is that Microsoft's promised support for the G5 is nearly non-existent. I have a dual processor G5 with an ATI Radeon 9800 card (Apple), and after trying to install Virtual PC 7 three times, I cannot get a VM to work. It did install (and work) flawlessly on my G4 Powerbook. Googling for reviews finds it's very hit or miss, but if (when) it misses, you'll regret investing the extra $$$ in an immature product.",
129
- "id": "24"
130
- },
131
- "25": {
132
- "label": false,
133
- "text": "Okay player, don't expect a miracle: I bought this DVD player at Circuit City earlier this yr for about a $100. I hooked it up to a 47\" Vizio LCD (which by the way has an awesome picture) using a HDMI cable. After fine tuning this product, I was very, very, very diasppointed. The picture was very \"grainy\" (lots of pixels). I have a $35 DVD player that only utilizes an s-video cable that produces a much more crisp picture. Be warned, the picture stinks.",
134
- "id": "25"
135
- },
136
- "26": {
137
- "label": true,
138
- "text": "A revelation of the science of consciousness evolution and all natural growth: Here is a readable and fascinating account of the development of the new science of chaos theory, the only body of ideas that describes how the natural world as experienced by human beings emerges out of basic quantum processes. The different explorers and innovators of the new science are introduced in a personable way that will enchant the interested reader.",
139
- "id": "26"
140
- },
141
- "27": {
142
- "label": false,
143
- "text": "Don't say that I didn't warn ya' !: I'm absolutely convinced that Delbert McClinton had no controlover the release of this CD. I rated it 1 star simplybecause there is no 0 star rating ! In actuality , I am not certain that the vocalist on this recording IS Delbert McClinton. Only on the Mr. Pitiful track is there any similarity at all to Delbert's voice. This is the perfect CD for someone with money to burn who would like to have a recording of a 1960's garage band recorded in a garage and who should be working in a garage ! Delbert fans...run fast and run far away from this ! END",
144
- "id": "27"
145
- },
146
- "28": {
147
- "label": false,
148
- "text": "This item is not available: I ordered this unit on February 7th. Every time I checked back on the status of the order, it read \"not shipped\" and the estimated shipping date got moved out. I really don't think this unit is avaialble from the company anytime soon. I cancelled the order.",
149
- "id": "28"
150
- },
151
- "29": {
152
- "label": false,
153
- "text": "I used to like ABBA...: I used to like ABBA, until I saw Mama Mia! A horribly disjointed musical, where songs feel contrived to fit into the story; a story that doesn't seem to come together. Individual songs are usually done alright, but don't segue from one to another very well.The cast butchered several of the songs, but especially S.O.S, Take A Chance On Me, and anything where Pierce Brosnan sang. On a side note, I also counted at least two violations of Chekov's Gun. And finally, I think it has a bad moral message. Which you only recognize if you manage to sit through the whole thing.If there is justice in the world, cast members without established careers won't get to have them as punishment for the worst movies I've seen since The Talented Mr. Ripley.",
154
- "id": "29"
155
- },
156
- "30": {
157
- "label": false,
158
- "text": "A complete disaster!: If you're like me, you probably wanted to check out this movie because it sounded like it really could be an excellent supernatural Gothic horror tale full of goblins and wicked things alike. Well, don't make the same mistake I did and actually watch it. It's horrible. Terrible. An honest to goodness waste of film. The acting is wretched, the film quality is rotten (it actually looks twenty years older than it is), and the plot is thin, weak, and does not give you what it's supposed to. The only reason I bothered to give this film 1 star is because of Alexis Arquette -- he's great looking, but should have left this film out of his career.",
159
- "id": "30"
160
- },
161
- "31": {
162
- "label": true,
163
- "text": "beautiful detail: I just purchased these Dover COloring Books for my mother and she loves them. The detail is out of this world and the variety of colors you can use are only limited by your inagination. HIGHLY RECOMMENDED!",
164
- "id": "31"
165
- },
166
- "32": {
167
- "label": false,
168
- "text": "Very disappointed: I looked forward to getting this movie as I had heard many good things about it but it was nothing like I had imagined or been led to believe. There is very little actual history in it or real Christian experience except for the background because the main focus is a soap opera style romance and caricature figures. I agree with the reviewer who described it as a mixture of \"tawdry Hollywood sex\" somehow interspersed with a vague nod to Christianity. The only decent scene was the arena scene where the Christians are going to their deaths singing hymns - but that's not enough to make it a great or even a good movie. Not personally to my taste anyway.",
169
- "id": "32"
170
- },
171
- "33": {
172
- "label": false,
173
- "text": "Unreliable minikit: I bought this minikit because it got good reviews and it would be perfect for my purposes. However it switches on and off whenever it wants, it looses contact with the phone. Very often the on/off button works only in a horizontal position (?) I use a Treo 650, which is on the compatible phone list. When I contacted Parrot, they said it wasn't (?) At last I opened the unit, but there are no moving parts inside except the micro switches. It is giving me a headache, so I will go searching for an alternative.",
174
- "id": "33"
175
- },
176
- "34": {
177
- "label": true,
178
- "text": "A Christmas Classic!: This is surely one of the best classical Christmas recordings available. Don't buy the older version, as the quality of this recording is excellent. This is one of those \"Every Christmas - Can't have Christmas without\" recordings.",
179
- "id": "34"
180
- },
181
- "35": {
182
- "label": false,
183
- "text": "too narrow: These were the narrowest pair of D size shoes I have ever tried on. I don't care how nice a shoe looks. If it don't fit it just don't fit.",
184
- "id": "35"
185
- },
186
- "36": {
187
- "label": false,
188
- "text": "Lack of extension: This earphones lack a descent extension cord. ITs very small cable, but its of good quality. Sadly, cord its too short, and the extension is useless.",
189
- "id": "36"
190
- },
191
- "37": {
192
- "label": true,
193
- "text": "Easy-Reading: This is the 3rd Southern Sisters Mystery I've read. They're easy, fast and funny murder mysteries, with lots of cute family stories intertwined in the intrigue.",
194
- "id": "37"
195
- },
196
- "38": {
197
- "label": false,
198
- "text": "it'd be great if it worked like it was supposed to: for the first 30 seconds it was lovely, but i believe that either the motor isn't powerful enough to keep the shaft rotating smoothly or 3 AA batteries just don't provide enough juice for the motor to work more than 30 seconds. it was a nice idea, but i'm rather dissapointed. the jelly material is somewhat difficult to maintain also. i think if it were hooked up to a larger battery pack it'd be WONDERFUL... which i think i may have a macgyver friend with a knack for electronics attempt to do for me.",
199
- "id": "38"
200
- },
201
- "39": {
202
- "label": true,
203
- "text": "Not Hornby's best but still good: I loved About a Boy and really, really loved the sardonic wit of High Fidelity. About a Boy is much deeper but just as cynical. Maybe even more so. The characters are richly drawn and just complex enough to keep the reader wanting more. Good read, but best to take some time with this one. Not recommended for a summer beach read.",
204
- "id": "39"
205
- },
206
- "40": {
207
- "label": false,
208
- "text": "A Disappointment: As with most Taunton Press publications, the illustrations and photographs in this book are spectacular and the organization and layout is superb. Nonetheless, I found this book disappointing. It lacks both depth and breadth. I had hoped for a detailed review of wood joinery including some of the more unusual joinery found in Japanese woodworking. This book, however, is targeted more toward the beginner. Even so, it does not cover the details and \"tricks\" of even the most basic techniques in sufficient detail to allow beginners to easily reproduce them. Consequently, it is unclear who this book was written for - not the beginner as it lacks depth, and not the advanced woodworker as it lacks breadth. Far more effort appears to have been put into appearance and organization than in content.",
209
- "id": "40"
210
- },
211
- "41": {
212
- "label": false,
213
- "text": "Horrible. Don't do it!: Great price for the item when a 6' one of these at Best Buy is $20. Thing is, the one from Best Buy fits in the outlet and stays there. This cord fits very loose and does not connect. I bought 2 of them, neither did what they were suppose to.As much as I hate to say it, but, buy the more expensive one. At least it works.",
214
- "id": "41"
215
- },
216
- "42": {
217
- "label": true,
218
- "text": "Given as a gift...: Given to my best friend as a gift. She loves it. Her fiance enjoys making coffee for her in the mornings. :)",
219
- "id": "42"
220
- },
221
- "43": {
222
- "label": true,
223
- "text": "Love the ring.: This is a nice ring. I was worried it out be thin and cheap looking, but it's not. It's a very pretty stylish ring. Go for it.",
224
- "id": "43"
225
- },
226
- "44": {
227
- "label": false,
228
- "text": "Beautiful writing Marred by One-Note Characterizations: How could Kingsolver have ruined her book with such an obvious error? Nathan is a strident paper doll that flattens the whole story. Just as bad, the author has all the narrators using the same ironic tone to decribe him, deadening their voices as well. At the same time, Kingsolver doesn't have the guts to show him doing something trully terrible. I don't trust an author who can't let the reader make up his own mind, and as a consequence I couldn't trust her views about ANYTHING in the story. I'm giving this two stars for her descriptions of the African landscape, and that is all.",
229
- "id": "44"
230
- },
231
- "45": {
232
- "label": false,
233
- "text": "Much worse than any cordless phone I've ever had: This phone cuts out only 2 rooms away from the base station. There is static noise, and callers on the other end complain about sound quality. I can't go into the garden, which used to be no problem with my old 900 MHz phone.",
234
- "id": "45"
235
- },
236
- "46": {
237
- "label": false,
238
- "text": "Waste of time & money: The first Hangover was not too bad, this one was just terrible. The acting is bad, the script is bad, everything about this movie was just bad. Do yourself a favor, don't buy this movie as it is a total waste of time and money.",
239
- "id": "46"
240
- },
241
- "47": {
242
- "label": false,
243
- "text": "Did Not Work For Me!: Impressive You Tube Video (Like a Sci-Fi Fantasy). In reality it's a high speed Easy Out so unsurprisingly it broke faster than an Easy out. This product did not work for me. The drill part did not drlil, the puller part did not pull. It was a total zero.",
244
- "id": "47"
245
- },
246
- "48": {
247
- "label": true,
248
- "text": "Excellent book, long overdue.: From a very long time women were told that looking good was of utmost importance. This was without regard to health or fitness and how age affected these parameters. Witness the whalebone and other types of corsets, the spike heeled shoes and the numerous weight loss programmes on the market (some of which are downright dangerous). Now there is a book, backed by solid research, that allows women of all ages to remain fit and healthy for a lifetime. I am certainly going to recommend this book to all the women I know.Bentley Norville",
249
- "id": "48"
250
- },
251
- "49": {
252
- "label": false,
253
- "text": "not an all star: Not a practical guide in this collecting age. Does NOT have a comprehensive list; meaning it does NOT cover all manufacturers and, more importantly, for the ones it does, only provides listings of the base set. That means no insert or variation pricing whatsoever. Also, no oddball or minor league issues are listed. Generally speaking, unless you are collecting base sets prior to the advent of inserts and alternate versions of the base set, this guide is fairly useless.",
254
- "id": "49"
255
- },
256
- "50": {
257
- "label": false,
258
- "text": "Again, second rate city, third rate writer: Just another example of Mr. Lindberg's pitiful attempt at exhibiting a strong expertise on a subject with which he is clearly obsessed. Don't waste your time with this book, either. It is poorly written and fails to engage the reader. You might consider using this book and the first book he wrote on the same subject, as a pair of bookends. That is about all they are worth.",
259
- "id": "50"
260
- },
261
- "51": {
262
- "label": true,
263
- "text": "Reality: No one should need to convince you to buy this book, you should just do it! It's so well written and worded and brings you right to the heart of a sexual reality that most people like to pretend doesn't really live and breath in their fair cities. I never again want to hear someone bad mouth a working girl for what she does. I will and do now however look at men with a curious eye wondering if they are depraved peep show window lickers :)",
264
- "id": "51"
265
- },
266
- "52": {
267
- "label": false,
268
- "text": "Bummer: Visual effects and Battle footage were great...the other 85% of the movie was just lousy fluff...",
269
- "id": "52"
270
- },
271
- "53": {
272
- "label": true,
273
- "text": "The spark of idependence: Filled with the independent spark that made us all love life at one point or another. A fun, introspective and nonsensical movie that sticks with you.",
274
- "id": "53"
275
- },
276
- "54": {
277
- "label": true,
278
- "text": "What I expected from Mirman's website. Funny. Funny. Russian.: lol, gotta love Eugene. Even when his audience doesn't initially laugh, he gets in a good zinger at himself and they laugh at that. He's witty without being condescending, and uncomplicated without seeing contrived. However, if you're not a fan of irreverant humor, this may not be for you.",
279
- "id": "54"
280
- },
281
- "55": {
282
- "label": false,
283
- "text": "Do not...repeat...do not bother!: It is not often that I offer a negative review but this compilation while attractive does not deliver at all.The foot massage gizmo is awkward and uncomfortable.The pumice stone leaves rough splinter like skin.The foot scrub doesn't reall scrub.The rotary action tool has five heads, none of which work well and you must hold the switch in place or it turns off. It is cumbersome and ineffective.The one star was initially given for a foot brush (which later lost its bristles very easily as I update the review) and a sweet smelling foot repair balm.Don't waist your money. Soak your feet and invest in an inexpensive German Titania file, smooth and coarser side, or a like product. It will last for years.",
284
- "id": "55"
285
- },
286
- "56": {
287
- "label": false,
288
- "text": "Not Sandra's Best: Ms. Brown has written better romance novels. Don't give up on her if this was your first Sandra book.The feeble female lead struggles with a 15-year crush that walks back into her life. The smug male lead acts like a jerk through most of the novel. The romance scenes grapple to muster up passion but fall short. Both of the main characters bothered me; my favorite character was the 17-year old.A quick read...about 4 hours (with interruptions) for me...but probably not worth it.",
289
- "id": "56"
290
- },
291
- "57": {
292
- "label": true,
293
- "text": "Impressed: Lots-O-Fun. Wood and glass toys are high quality and are a good fall back for the kids to play with they are \"bored\". Would buy again.",
294
- "id": "57"
295
- },
296
- "58": {
297
- "label": false,
298
- "text": "Light turned on by itself 3 times: The installation was easy. I used it for a week, everything worked fine, EXCEPT the light it connected to turned on by itself 3 times so far, with no one near to either one of the switch. Not sure whether it is a defective unit, or this product is too sensitive to noise. I'm returning this product and will just install a regular switch instead.",
299
- "id": "58"
300
- },
301
- "59": {
302
- "label": true,
303
- "text": "good battery: I feel kind of silly writing a review for a battery, but have to say that these last a LONG time. Work very well.",
304
- "id": "59"
305
- },
306
- "60": {
307
- "label": true,
308
- "text": "Even a Woman finds it funny: Yes, even a woman finds \"Married to Mommy\" funny. The book gets you laughing aloud when it is trying to make fun of \"Mommies\". The truth is that it really is making fun of the stupidity of men and their simple basic needs of sex, getting out of work, and beer. Of course, the truth is always funny.A definite MUST for any woman, married or not. We will now know all the secret tricks the men try to use on us.By the way, I am NOT a MOMMY!",
309
- "id": "60"
310
- },
311
- "61": {
312
- "label": true,
313
- "text": "Gungrave...not quite what you might expect: Those thinking this is another version of Trigun will be disappointed. Gungrave is actually a lot deeper and more complex. The lead is short on dialouge, but the story has more depth and character development than most anime. The first DVD is more about the main character's past than about the reanimated killing machine he's become, but it definitely leaves you wanting more.",
314
- "id": "61"
315
- },
316
- "62": {
317
- "label": true,
318
- "text": "Error in product description: It's great in every way. However, if you'd prefer a digital tuner (as I do), then you might need to look further. The product description boasts a digital AM/FM tuner, but it's disappointingly an analog AM/FM tuner.Overall - especially for the price - I think it's pretty good.",
319
- "id": "62"
320
- },
321
- "63": {
322
- "label": true,
323
- "text": "good phone but not as user friendly as it could be: Battery life is very good. Phone has good range. My only complaint is it's to involved to get your message from the handset.",
324
- "id": "63"
325
- },
326
- "64": {
327
- "label": false,
328
- "text": "Big waste of money (and space in my house!): My 5 year old son wanted this so bad, but when we got it for him, there were so many pieces to put together that didn't fit together well, he never played with it. It just sits on our floor in many pieces taking up toy space! What a waste!",
329
- "id": "64"
330
- },
331
- "65": {
332
- "label": true,
333
- "text": "Don't want to take it off: Very satisfied with an earlier purchase of this Bali bra model, I was just as pleased with the new one. Very comfortable, well made and a good neutral color. It will be my next choice, too.",
334
- "id": "65"
335
- },
336
- "66": {
337
- "label": true,
338
- "text": "Fantastico: If anybody who's into rock music is ever looking for a band to keep you on your toes, this is the band. I've been a fan for 10 years now, and no album has ever sounded like any of their previous albums. This disc is fantastic with such a variety of styles, as are the previous releases, even back to the Rainbow Butt Monkey days.",
339
- "id": "66"
340
- },
341
- "67": {
342
- "label": false,
343
- "text": "too much visual: There are far too much designs, visuals, colors, etc in the book - this is highly distracting, as TV screen can be...By way of example (among so many...), what is the use of colors with the three squares of the Pyth. theorem???? this is as useless as writting 2+3=5 with 2 in blue, 3 in red and 5 in yellow...I wish I had purchased the 2nd edition, which according to reviews was closer to what I was looking for.",
344
- "id": "67"
345
- },
346
- "68": {
347
- "label": true,
348
- "text": "Aretha's First Arista Release Showed Pleasures to Come: After a long and musically satisfying career with Atlantic, Aretha severed her ties with that company and moved under the wing of Arista's Clive Davis. With the start of the 1980's, Aretha was looking for new territory to conquer and almost succeeded with this mixed bag.\"United Together\" is a fine tune that benefits from beautiful orchestral arrangement that is matched by Aretha's superb vocal instrument. The remake of \"Can't Turn You Loose\" allows Aretha to show why she is the Queen of Soul\" for she really belts this one out. Another cover, that of the Doobies' \"What a Fool Believes,\" is an interesting interpretation. The final cut \"School Days\" appears to be \"autobiographical\" for every girl growing up in the fifties.Although not as strong as her Atlantic work, \"Aretha\" is still a suitable addition to the artist's discography.",
349
- "id": "68"
350
- },
351
- "69": {
352
- "label": false,
353
- "text": "Misguided Purchase: The photo and description do not reflect the product. The screen panel kit I received was white. What a huge inconvenience during a time-crunch.",
354
- "id": "69"
355
- },
356
- "70": {
357
- "label": false,
358
- "text": "Banacek: My husband and were looking forward to seeing this series.The first show was SO boring, we finally just quit watching it.Actually, we haven't gotten around to watching anymore. I guess we were afraid of a repeat.Maybe that was just once, I hope!",
359
- "id": "70"
360
- },
361
- "71": {
362
- "label": true,
363
- "text": "JDT: Uncle Tupelo is without doubt one of the most under appreciated groups of the 90's. Anodyne, like each of the three albums that came before it, has everything that a remarkable recording requires: great songs, honest lyrics, and artists who really care about the music they are making. Like the best of Dylan and Springsteen, the songs are about real people with real troubles and joys. When you hear them you know they are coming from the heart. The songs contributed by Jay Farrar and Jeff Tweedy are easily differentiated by the voacls, music, and lyrics. What makes this record interesting is how well these unique sounds compliment each other. The union is seamless.",
364
- "id": "71"
365
- },
366
- "72": {
367
- "label": true,
368
- "text": "Well Worth Reading: First a confession: Miriam Wasserman was my mother. However, she published several books, but this is the only one I really found useful. She walks the reader through the New York City school system and the attitudes of different groups involved in the system back in the 1960s. This includes parents, teachers and administrators. Her view is that the further away one got from parents and students, the more prestige one had. She meticulously describes the teachers' strike of 1968 against \"community control of schools\", a strike of which she is extremely critical. She explores the racism that was involved in this strike, including using quotes from striking teachers, etc. It should be emphasized that the author was pro-union all her life, so her views don't stem from an anti-union bias. The book also covers the high school student rebellion which coincided with and followed the strike.",
369
- "id": "72"
370
- },
371
- "73": {
372
- "label": true,
373
- "text": "compact and loaded: I bought this phone after reading the cnet reviews and really liked it. It looks small and really compact. I like the camera pics at 2 mega pixel and bright flash. The mp3 player is crisp. The headset that comes along delvers amazing fM radio. I think my phone is not very loud and you have a problem when you are around a noisy crowd. I just bought this phone again for my cousin. He likes it too. Almost forgot the display is very good.",
374
- "id": "73"
375
- },
376
- "74": {
377
- "label": true,
378
- "text": "Outstanding text!: Brooks/Cole should keep this text in their catalog for ages! It is well-written, examples are generally quite clear, vocabulary is introduced well, and the exercises develop real skills, rather than simply be busy-work. One of the best calculus books ever!",
379
- "id": "74"
380
- },
381
- "75": {
382
- "label": true,
383
- "text": "Excel 2003 Bible: Very good source of information. I will most likely buy other books in this series.",
384
- "id": "75"
385
- },
386
- "76": {
387
- "label": true,
388
- "text": "Tasting is Believing: Gluten-free breads used to have a gritty texture from the rice flour, and were too soft for sandwiches. Bette Hagman uses garbanzo/fava bean flour, sorghum flour, tapioca flour, and corn starch to create breads which have a similar texture to wheat flour breads, and the flavors of her breads are fabulous.My BF bought me this book and a great tasting beverage to drink it with. Since he knows I quit coffee recently, he's been really wonderful helping me in cope with my mood swings. S o y f e e is made from soy beans that is roasted just like coffee. I enjoy the taste and don't miss coffee one bit. Buy it online at www.s o y c o f fee.com.This is a 'must have' for anyone baking gluten-free. I think all of Bette Hagman's books are wonderful and a must for those with gluten intolerance.",
389
- "id": "76"
390
- },
391
- "77": {
392
- "label": true,
393
- "text": "5 stars for the show, no stars for the \"Collector's Edition\": I was really looking forward to getting this Collector's Edition and see what extras were added. I knew it wasn't a lot - just a mini-book and a documentary - but I figured it would be packaged in a cool way.Wrong.As others have already mentioned, the Collector's Edition is *literally* theAvatar: The Last Airbender - The Complete Book 1 Collectionslipped into another cardboard box, with a little booklet and DVD in an envelope (not even a case!) wedged in. It's really disappointing; it would have been so easy to create a quality Collector's Edition but the studio couldn't be bothered, I guess.",
394
- "id": "77"
395
- },
396
- "78": {
397
- "label": true,
398
- "text": "sula scottcampos: Sula, a book that talks about the issues of being a black women is a really good novel to read.One of the reasons I recommend it is because of its realism and its themes - death, sex, friendship and poverty.I also think that its characters are very good, its easy to identify with one or both of them. I really recommend this book to anyone who enjoys good literature.",
399
- "id": "78"
400
- },
401
- "79": {
402
- "label": true,
403
- "text": "Fantastic! It's a must-have for girls!: I hated razor, tried shaving but it did not work for me. Shaving made the hair grows thicker and faster afterwards, plus the roots are impossible to be getting rid of. After reading the reviews, I ordered it to try, I used it for once and already fall in love with this. I used to use small tweezer to pluck out my leg's hair, in order to avoid the razor, it took me a few hours to do that but this super electronic tweezer works wonder! You won't see the black roots and I have smooth and silkly legs in 20 mins. It does not hurt at all, if you use it on your legs. But, if you use it at your under arm, it won't be a pleasant feeling, of course! I will never use anything else besides this for hair removing anymore! highly recommended!",
404
- "id": "79"
405
- },
406
- "80": {
407
- "label": false,
408
- "text": "This is not a toy: I guess I was expecting more out of these leave window decals. I just didn't find them attractive after placing them on my window, they seem very cheap, I guess because they are cheap.I threw them away.",
409
- "id": "80"
410
- },
411
- "81": {
412
- "label": true,
413
- "text": "Wonderful book for anyone running a professional hatchery: This book is aimed more for hatcheries that are raising Trout, Salmon, Catfish and other food fishes. However, there is so much information in this book that even ornamental fish hatcheries will find an incredible amount of useful information. The chapters on Fish Nutrition are especially helpful.",
414
- "id": "81"
415
- },
416
- "82": {
417
- "label": true,
418
- "text": "Amazing book!!: Once again, Eric Victorino's artistic talent is put into this great free-verse poetry book. I couldn't put it down and I finished it the day I received it in the mail. All of the poems are awesome but the one I found the most interesting was \"It's A People Business.\" All of the experiences in his life, personally and with his band, come to life in this book. Please check it out! It's worth every penny!!",
419
- "id": "82"
420
- },
421
- "83": {
422
- "label": true,
423
- "text": "The white trumpet contender respect Miles Davis!: The story of the Jazz in the Fifties certainly would be remain unfinished without the ominous presence of this outstanding virtuoso. Baker sound still possesses this alluring hook, this magnetic engagement charm, eloquent expressiveness, enrapturing lyricism and contagious rhythm, despite the elapsed time, which confirms by itself the status of his musicianship.This selection is jus a little sample of the broad universe of his genius. A well thought selection of great musical successes, available, preserved and immortalized by the Digital Technology for our future enjoyment.Absolutely indispensable in your treasured collection.",
424
- "id": "83"
425
- },
426
- "84": {
427
- "label": false,
428
- "text": "What the?: I'm sorry, maybe it's just me but I can't helping stating that this has to be one of the wrost movies I've seen in my life!Can you say boring? Can you say doesn't make sense at all? The first 30 minutes of the movie were O.K. But it went downhill after that. This movie is a prime example of a director attempting to make a deep movie with a meaningful lesson but failed on all levels. I don't recommend this movie unless you want to go to sleep or you don't have anything else to do.",
429
- "id": "84"
430
- },
431
- "85": {
432
- "label": true,
433
- "text": "very very good!!!!: linda blair is a young girl who is possessed. and her mother doesn't know what to do until one day when she hears her daughter screaming and stabbind herself she knows what to do GET AN EXORCIZIM!!!",
434
- "id": "85"
435
- },
436
- "86": {
437
- "label": true,
438
- "text": "Awesome product for the price!: This range extender works as advertised! I am very happy with the purchase. I was a little worried after reading some of the horror stories here, but I have to say, Chovy's review instructions (on this site) were just this ticket to get the repeater up and running in less than 30 minutes. It was unbelievably easy to install! Do not be frightened by negative reviews. If you can set up a wireless network, you can set up this repeater. However, I did upgrade the firmware before I did anything else and maybe that helped. I got the firmware update from the Belkin site.",
439
- "id": "86"
440
- },
441
- "87": {
442
- "label": false,
443
- "text": "Slight: This book is either a heavily illustrated short story collection or a text-heavy comic. Its unusual format is its most original feature. Its plots are negligible, but its illustrations and text evoke a unique atmosphere of self-conscious nonconformism. Although its target audience is dare-to-be-different teens and college students, its interesting turns of phrase and expressive line drawings are not devoid of interest for general audences.",
444
- "id": "87"
445
- },
446
- "88": {
447
- "label": true,
448
- "text": "ANgeleyes: Seem to dry up their eyes fairly well, although I haven't seen the color (brown stain) change much yet.",
449
- "id": "88"
450
- },
451
- "89": {
452
- "label": false,
453
- "text": "Nice Try: Salt Lake 2002 is not a bad game, but it isn't good either. The graphics are excellent, but some of the events are bad. Bobsleigh, and skiing aren't bad but the others are. You dont stay into it for long. I liked it for a while, but it gets boring.",
454
- "id": "89"
455
- },
456
- "90": {
457
- "label": false,
458
- "text": "Cutler's share of the pie: This book was a major disappointment. I am familiar with books written solely by the Dalai Lama, such as the \"Library of Tibet\" series, which are much more engrossing and have much more substance than Cutler's book. Cutler attempts (successfully, sadly) to have his share of the profitable market that involves the Dalai Lama's writings. The book is insipid, does not try to explain any important issue in the light of Buddhist philosophy, and only rehashes issues that several other westerners already wrote about. It's another big ego trip: we keep hearing time and again about his opportunities to be with the Dalai Lama. What a shame, Cutler. I sold the book as soon as I finished it.",
459
- "id": "90"
460
- },
461
- "91": {
462
- "label": false,
463
- "text": "Mostly tedious, with interesting parts: I found the writing interesting, and the subject fascinating, but I found myself frustrated by the author's difficulty in talking directly about the status of Muslim women with her interview subjects. The author spent many pages writing about the menus and dress of the many middle and upper-middle class women she interviewed. It seemed as though her interview subjects resisted her efforts to discuss the status of women in their countries, so we too as readers had to wade through much distracting material and misunderstandings about feminism and gender. Great travel stories, but not a great source of information about Muslim women.",
464
- "id": "91"
465
- },
466
- "92": {
467
- "label": false,
468
- "text": "Sesame Street Toddler: I did not find this game to be as educationally sound as I would expect from Sesame street. There is too much talking before the program will react to a command. The graphics are jerky and the cursor acts like the target is magnetically charged and keeps pushing away the cursor. When the child actually does manage to click on a target, the cursor may still fly to another target and the child is told that his answer is wrong. Another example of educational problems is the pronunciation of \"eggs\" using a long \"a\" sound instead of a short \"e.\" This is not very helpful in teaching a child the sound for short \"e.\" Children that are used to playing computer games by themselves may find that this game is too frustrating to do alone. The open ended learning curve is a great idea. I just wish Sesame Street would hire a truly qualified literacy expert to help clean up the many problems in this program.",
469
- "id": "92"
470
- },
471
- "93": {
472
- "label": false,
473
- "text": "needs a buzz cut and a point: I avoided reading this book, not because of the hermaphrodite subject matter, but because I have never read a multigenerational family saga that I liked. Many books let me down in the middle, and this was no exception. The beginning of the book was incredible and harrowing, with momentum and characterization. The post-America nextgens part of the saga was so boring I found myself flipping and flipping - always a bad sign. If there was some kind of larger point to all of that, then I must have missed it. Yes there's the identity duality and trinity themes playing out here: man/woman, greek/turkish/american modern/old world sick/healthy innocent/guilty original/reinvented. But it was almost as if the author was saying - here it is again - get it? I like my fiction much more subtle than this.",
474
- "id": "93"
475
- },
476
- "94": {
477
- "label": false,
478
- "text": "OMG! DO NOT BUY!: I normally don't take the time to submit a review.In this case however, I feel obligated to do so.This is by far one of the worst purchases I have ever made.Here's why.....The contraption is far too bulky.The case's enclosing is unbearable, takes a good minute or so to open it.The texture of the material feels like a cheap toy.The overall design is horrible, something I could make in my basement.For the love of everything sacred, do not buy this thing.",
479
- "id": "94"
480
- },
481
- "95": {
482
- "label": true,
483
- "text": "Good price, good quality: Comparable HDMI cables can be bought for 45 or more. Even though the price is cheap the quality is good, no problems so far.",
484
- "id": "95"
485
- },
486
- "96": {
487
- "label": true,
488
- "text": "Good rock music: This is what i call rock music good beat and good lyrics, don't listen to the other reviews. This cd is one of the best, listen to a few songs and you will get hooked. I recommend this cd its awesome.",
489
- "id": "96"
490
- },
491
- "97": {
492
- "label": false,
493
- "text": "BORING!: This movie is soo boring. How in the hell did this movie make so much at the box office. Do people really want to pay for crappy movies like this. bottom line this is a chick flick nothing is good. And now they are re-releasing this movie with more boring stuff. This is the worst movie ever.",
494
- "id": "97"
495
- },
496
- "98": {
497
- "label": false,
498
- "text": "Already Rusting: Inferior quality. The plating is thin and rust is coming through the finish. Inexcusable for a product that is designed for use in a humid environment.",
499
- "id": "98"
500
- },
501
- "99": {
502
- "label": false,
503
- "text": "confusing internet setup: i wanted a camera that could email photos but this camera will not go out through the router and the manual setup , to punch a hole thru router is confusing.",
504
- "id": "99"
505
- },
506
- "55066581ad334ef5844c6f7707525010": {
507
- "label": true,
508
- "text": "Thought this was super cool, and a really important step in all the physical books' preservation.",
509
- "id": "55066581ad334ef5844c6f7707525010"
510
- },
511
- "fef14d13366f482d9f4e0726b357f178": {
512
- "label": true,
513
- "text": "There are some amazing hikes around Mt. Fuji.",
514
- "id": "fef14d13366f482d9f4e0726b357f178"
515
- },
516
- "70aed7369aa74031a06f5f3155476d7c": {
517
- "label": true,
518
- "text": "Thought this was super cool, and a really important step in preserving all the physical books.",
519
- "id": "70aed7369aa74031a06f5f3155476d7c"
520
- },
521
- "ac65d14b710648b8bf3c2a53caf6ac91": {
522
- "label": false,
523
- "text": "The profits of the business that was most successful were still negative.",
524
- "id": "ac65d14b710648b8bf3c2a53caf6ac91"
525
- },
526
- "ce00e6b1547444259a13c55654e66500": {
527
- "label": true,
528
- "text": "love them best, they reconnect in hysterically funny and emotionally significant ways.",
529
- "id": "ce00e6b1547444259a13c55654e66500"
530
- },
531
- "8943a94d205b43ceb4420d5ab9c5611a": {
532
- "label": true,
533
- "text": "Walt Disney's timeless masterpiece is an extravaganza of sight and sound! See the music come to life, hear the pictures burst into song and experience the excitement that is Fantasia over and over again.",
534
- "id": "8943a94d205b43ceb4420d5ab9c5611a"
535
- },
536
- "6af8fc3dd30d4f8caf5a2929fc88534b": {
537
- "label": false,
538
- "text": "A director struggles with a difficult sex scene between a young actor and actress who can't stand one another. Aided by her loyal assistant, she is hell-bent on getting the scene right without compromise.",
539
- "id": "6af8fc3dd30d4f8caf5a2929fc88534b"
540
- },
541
- "dbe571ed810d40f48170147dcab1c90f": {
542
- "label": false,
543
- "text": "sound created by drawing directly on the soundtrack).",
544
- "id": "dbe571ed810d40f48170147dcab1c90f"
545
- },
546
- "682102dfc5494f03926d16ae947a6250": {
547
- "label": true,
548
- "text": "one of glowing admiration! Written by Mark Toscano",
549
- "id": "682102dfc5494f03926d16ae947a6250"
550
- },
551
- "9b044458bb0e4bd68359e62d5fb4b979": {
552
- "label": false,
553
- "text": "Seth McArdle (Samuel Davis) is a high school senior with an especially full plate. Not only must he navigate the usual social and academic pitfalls of high school, but he has to contend with his young twin sisters, serving as de facto parent in the absence of his deceased mother and deadbeat father. The pressure mounts when the bank calls with a foreclosure warning, and Seth's frustrations spill",
554
- "id": "9b044458bb0e4bd68359e62d5fb4b979"
555
- },
556
- "abf2d24c7d8845769b7368be28f2c25d": {
557
- "label": true,
558
- "text": "Bjork is a beautiful creature and her music is stellar to anything I've ever heard. This DVD is essential for all Bjork fans, because you find something new every time you watch it.",
559
- "id": "abf2d24c7d8845769b7368be28f2c25d"
560
- }
561
- },
562
- "version": 11,
563
- "description": "Positive sentiment"
564
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/concept/lilac/positive-sentiment/sbert.pkl DELETED
Binary file (94.4 kB)
 
data/concept/lilac/profanity/concept.json DELETED
The diff for this file is too large to render. See raw diff
 
data/concept/lilac/profanity/sbert.pkl DELETED
Binary file (844 kB)
 
data/concept/lilac/toxicity/concept.json DELETED
The diff for this file is too large to render. See raw diff
 
data/datasets/local/spotify/data-00000-of-00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:32224657332b09187a737c73ab634f9d14c9ba9a240bd105f1b9819cde2afcef
3
- size 37128682
 
 
 
 
data/datasets/local/spotify/manifest.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "files": [
3
- "data-00000-of-00001.parquet"
4
- ],
5
- "data_schema": {
6
- "fields": {
7
- "artist": {
8
- "dtype": "string"
9
- },
10
- "song": {
11
- "dtype": "string"
12
- },
13
- "link": {
14
- "dtype": "string"
15
- },
16
- "text": {
17
- "dtype": "string"
18
- },
19
- "__line_number__": {
20
- "dtype": "int64"
21
- },
22
- "__rowid__": {
23
- "dtype": "string"
24
- }
25
- }
26
- }
27
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/datasets/local/spotify/settings.json DELETED
@@ -1 +0,0 @@
1
- {"ui": {"media_paths": [["text"]]}}
 
 
data/datasets/local/spotify/text/.concepts/local/aliens/sbert-neg-100.pkl DELETED
Binary file (169 kB)
 
data/datasets/local/spotify/text/lang_detection/data-00000-of-00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f1555427c8dc3b2f1e9310f5e71b46297e607f710365e107c73c894d5a8e1b0
3
- size 2033407
 
 
 
 
data/datasets/local/spotify/text/lang_detection/signal_manifest.json DELETED
@@ -1,36 +0,0 @@
1
- {
2
- "files": [
3
- "data-00000-of-00001.parquet"
4
- ],
5
- "parquet_id": "lang_detection(text)",
6
- "data_schema": {
7
- "fields": {
8
- "__rowid__": {
9
- "dtype": "string"
10
- },
11
- "text": {
12
- "fields": {
13
- "lang_detection": {
14
- "repeated_field": {
15
- "fields": {
16
- "lang_code": {
17
- "dtype": "string"
18
- }
19
- },
20
- "dtype": "string_span"
21
- },
22
- "signal": {
23
- "signal_name": "lang_detection"
24
- }
25
- }
26
- }
27
- }
28
- }
29
- },
30
- "signal": {
31
- "signal_name": "lang_detection"
32
- },
33
- "enriched_path": [
34
- "text"
35
- ]
36
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/datasets/local/spotify/text/sbert/data-00000-of-00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9796beb630cc3503f3c2ac9db8f71e4c1604570836d78bbf364e801cd427c39e
3
- size 2709987
 
 
 
 
data/datasets/local/spotify/text/sbert/embedding/local/outerspace/v34/data-00000-of-00001.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d1ba0fe68cc02849b0a20b7f72047c8e9cb8e5ef5b57b0cd642fa0b0be8a6e06
3
- size 3340135
 
 
 
 
data/datasets/local/spotify/text/sbert/embedding/local/outerspace/v34/signal_manifest.json DELETED
@@ -1,64 +0,0 @@
1
- {
2
- "files": [
3
- "data-00000-of-00001.parquet"
4
- ],
5
- "parquet_id": "local/outerspace/v34(text.sbert.*.embedding)",
6
- "data_schema": {
7
- "fields": {
8
- "__rowid__": {
9
- "dtype": "string"
10
- },
11
- "text": {
12
- "fields": {
13
- "sbert": {
14
- "repeated_field": {
15
- "fields": {
16
- "embedding": {
17
- "fields": {
18
- "local/outerspace/v34": {
19
- "dtype": "float32",
20
- "signal": {
21
- "signal_name": "concept_score",
22
- "embedding": "sbert",
23
- "namespace": "local",
24
- "concept_name": "outerspace",
25
- "draft": "main",
26
- "num_negative_examples": 100
27
- },
28
- "bins": [
29
- [
30
- "Not in concept",
31
- null,
32
- 0.5
33
- ],
34
- [
35
- "In concept",
36
- 0.5,
37
- null
38
- ]
39
- ]
40
- }
41
- }
42
- }
43
- }
44
- }
45
- }
46
- }
47
- }
48
- }
49
- },
50
- "signal": {
51
- "signal_name": "concept_score",
52
- "embedding": "sbert",
53
- "namespace": "local",
54
- "concept_name": "outerspace",
55
- "draft": "main",
56
- "num_negative_examples": 100
57
- },
58
- "enriched_path": [
59
- "text",
60
- "sbert",
61
- "*",
62
- "embedding"
63
- ]
64
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/datasets/local/spotify/text/sbert/embeddings-00000-of-00001.keys.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5df43291782b8c731d4ce56537946654c642a01dc9a4e37de394836362f6b45
3
- size 3727400
 
 
 
 
data/datasets/local/spotify/text/sbert/embeddings-00000-of-00001.npy DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:94e10c23d7229541e1f60b791a659d13673b10a03649abf0ae092e0e18c5aee3
3
- size 170446976
 
 
 
 
data/datasets/local/spotify/text/sbert/signal_manifest.json DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "files": [
3
- "data-00000-of-00001.parquet"
4
- ],
5
- "parquet_id": "sbert(text)",
6
- "data_schema": {
7
- "fields": {
8
- "__rowid__": {
9
- "dtype": "string"
10
- },
11
- "text": {
12
- "fields": {
13
- "sbert": {
14
- "repeated_field": {
15
- "fields": {
16
- "embedding": {
17
- "dtype": "embedding"
18
- }
19
- },
20
- "dtype": "string_span"
21
- },
22
- "signal": {
23
- "signal_name": "sbert"
24
- }
25
- }
26
- }
27
- }
28
- }
29
- },
30
- "signal": {
31
- "signal_name": "sbert"
32
- },
33
- "enriched_path": [
34
- "text"
35
- ],
36
- "embedding_filename_prefix": "embeddings-00000-of-00001"
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lilac/auth.py CHANGED
@@ -1,26 +1,11 @@
1
  """Authentication and ACL configuration."""
2
 
3
- from typing import Any, Optional
4
 
5
- from fastapi import HTTPException, Request, Response
6
  from pydantic import BaseModel, ValidationError
7
 
8
- from .config import CONFIG
9
-
10
- LILAC_AUTH_ENABLED = CONFIG.get('LILAC_AUTH_ENABLED', False)
11
-
12
-
13
- class AuthenticationMiddleware:
14
- """Middleware that catches the py authentication errors and returns a 401."""
15
-
16
- async def __call__(self, request: Request, call_next: Any) -> Response:
17
- """Call the middleware."""
18
- try:
19
- response = await call_next(request)
20
- except ConceptAuthorizationException as e:
21
- raise HTTPException(status_code=401, detail='User does not have access.') from e
22
-
23
- return response
24
 
25
 
26
  class ConceptAuthorizationException(Exception):
@@ -73,7 +58,7 @@ class AuthenticationInfo(BaseModel):
73
 
74
  def get_session_user(request: Request) -> Optional[UserInfo]:
75
  """Get the user from the session."""
76
- if not LILAC_AUTH_ENABLED:
77
  return None
78
  user_info_dict = request.session.get('user', None)
79
  if user_info_dict:
@@ -86,7 +71,7 @@ def get_session_user(request: Request) -> Optional[UserInfo]:
86
 
87
  def get_user_access() -> UserAccess:
88
  """Get the user access."""
89
- auth_enabled = CONFIG.get('LILAC_AUTH_ENABLED', False)
90
  if isinstance(auth_enabled, str):
91
  auth_enabled = auth_enabled.lower() == 'true'
92
  if auth_enabled:
 
1
  """Authentication and ACL configuration."""
2
 
3
+ from typing import Optional
4
 
5
+ from fastapi import Request
6
  from pydantic import BaseModel, ValidationError
7
 
8
+ from .config import env
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
 
11
  class ConceptAuthorizationException(Exception):
 
58
 
59
  def get_session_user(request: Request) -> Optional[UserInfo]:
60
  """Get the user from the session."""
61
+ if not env('LILAC_AUTH_ENABLED'):
62
  return None
63
  user_info_dict = request.session.get('user', None)
64
  if user_info_dict:
 
71
 
72
  def get_user_access() -> UserAccess:
73
  """Get the user access."""
74
+ auth_enabled = env('LILAC_AUTH_ENABLED')
75
  if isinstance(auth_enabled, str):
76
  auth_enabled = auth_enabled.lower() == 'true'
77
  if auth_enabled:
lilac/concepts/db_concept.py CHANGED
@@ -18,7 +18,7 @@ from pyparsing import Any
18
  from typing_extensions import override
19
 
20
  from ..auth import ConceptAuthorizationException, UserInfo
21
- from ..config import CONFIG, data_path
22
  from ..schema import PATH_WILDCARD, SignalInputType, normalize_path
23
  from ..signals.signal import get_signal_cls
24
  from ..utils import DATASETS_DIR_NAME, delete_file, file_exists, get_dataset_output_dir, open_file
@@ -32,8 +32,6 @@ from .concept import (
32
  ExampleIn,
33
  )
34
 
35
- LILAC_AUTH_ENABLED = CONFIG.get('LILAC_AUTH_ENABLED', False)
36
-
37
  CONCEPTS_DIR = 'concept'
38
  DATASET_CONCEPTS_DIR = '.concepts'
39
  CONCEPT_JSON_FILENAME = 'concept.json'
@@ -181,14 +179,14 @@ class ConceptModelDB(abc.ABC):
181
 
182
  def in_sync(self, model: ConceptModel, user: Optional[UserInfo] = None) -> bool:
183
  """Return True if the model is up to date with the concept."""
184
- concept = self._concept_db.get(model.namespace, model.concept_name, user)
185
  if not concept:
186
  raise ValueError(f'Concept "{model.namespace}/{model.concept_name}" does not exist.')
187
  return concept.version == model.version
188
 
189
  def sync(self, model: ConceptModel, user: Optional[UserInfo] = None) -> bool:
190
  """Sync the concept model. Returns true if the model was updated."""
191
- concept = self._concept_db.get(model.namespace, model.concept_name, user)
192
  if not concept:
193
  raise ValueError(f'Concept "{model.namespace}/{model.concept_name}" does not exist.')
194
  model_updated = model.sync(concept)
@@ -240,8 +238,11 @@ class DiskConceptModelDB(ConceptModelDB):
240
  embedding_name: str,
241
  column_info: Optional[ConceptColumnInfo] = None,
242
  user: Optional[UserInfo] = None) -> ConceptModel:
243
- if self.get(namespace, concept_name, embedding_name, column_info, user):
244
  raise ValueError('Concept model already exists.')
 
 
 
245
 
246
  return ConceptModel(
247
  namespace=namespace,
@@ -258,7 +259,7 @@ class DiskConceptModelDB(ConceptModelDB):
258
  column_info: Optional[ConceptColumnInfo] = None,
259
  user: Optional[UserInfo] = None) -> Optional[ConceptModel]:
260
  # Make sure the concept exists.
261
- concept = self._concept_db.get(namespace, concept_name, user)
262
  if not concept:
263
  raise ValueError(f'Concept "{namespace}/{concept_name}" does not exist.')
264
 
@@ -381,7 +382,7 @@ class DiskConceptDB(ConceptDB):
381
 
382
  @override
383
  def namespace_acls(self, namespace: str, user: Optional[UserInfo] = None) -> ConceptNamespaceACLs:
384
- if not LILAC_AUTH_ENABLED:
385
  return ConceptNamespaceACLs(read=True, write=True)
386
 
387
  if namespace == 'lilac':
@@ -393,7 +394,7 @@ class DiskConceptDB(ConceptDB):
393
 
394
  @override
395
  def concept_acls(self, namespace: str, name: str, user: Optional[UserInfo] = None) -> ConceptACLs:
396
- namespace_acls = self.namespace_acls(namespace, user)
397
  # Concept ACLs inherit from the namespace ACLs. We currently don't have concept-specific
398
  # ACLs.
399
  return ConceptACLs(read=namespace_acls.read, write=namespace_acls.write)
@@ -401,7 +402,7 @@ class DiskConceptDB(ConceptDB):
401
  @override
402
  def list(self, user: Optional[UserInfo] = None) -> list[ConceptInfo]:
403
  namespaces: Optional[list[str]] = None
404
- if LILAC_AUTH_ENABLED:
405
  namespaces = ['lilac']
406
  if user:
407
  namespaces += [user.id]
@@ -416,21 +417,21 @@ class DiskConceptDB(ConceptDB):
416
  # Ignore concepts that are not in the namespace, if provided.
417
  continue
418
 
419
- concept = cast(Concept, self.get(namespace, name, user))
420
  concept_infos.append(
421
  ConceptInfo(
422
  namespace=namespace,
423
  name=name,
424
  type=SignalInputType.TEXT,
425
  drafts=concept.drafts(),
426
- acls=self.concept_acls(namespace, name, user)))
427
 
428
  return concept_infos
429
 
430
  @override
431
  def get(self, namespace: str, name: str, user: Optional[UserInfo] = None) -> Optional[Concept]:
432
  # If the user does not have access to the concept, return None.
433
- acls = self.concept_acls(namespace, name, user)
434
  if not acls.read:
435
  raise ConceptAuthorizationException(
436
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
@@ -454,7 +455,7 @@ class DiskConceptDB(ConceptDB):
454
  user: Optional[UserInfo] = None) -> Concept:
455
  """Create a concept."""
456
  # If the user does not have access to the write to the concept namespace, throw.
457
- acls = self.namespace_acls(namespace, user)
458
  if not acls.write:
459
  raise ConceptAuthorizationException(
460
  f'Concept namespace "{namespace}" does not exist or user does not have access.')
@@ -487,7 +488,7 @@ class DiskConceptDB(ConceptDB):
487
  change: ConceptUpdate,
488
  user: Optional[UserInfo] = None) -> Concept:
489
  # If the user does not have access to the concept, return None.
490
- acls = self.concept_acls(namespace, name, user)
491
  if not acls.write:
492
  raise ConceptAuthorizationException(
493
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
@@ -502,7 +503,7 @@ class DiskConceptDB(ConceptDB):
502
  updated_points = change.update or []
503
  removed_points = change.remove or []
504
 
505
- concept = cast(Concept, self.get(namespace, name, user))
506
 
507
  self._validate_examples([*inserted_points, *updated_points], concept.type)
508
 
@@ -538,7 +539,7 @@ class DiskConceptDB(ConceptDB):
538
  @override
539
  def remove(self, namespace: str, name: str, user: Optional[UserInfo] = None) -> None:
540
  # If the user does not have access to the concept, return None.
541
- acls = self.concept_acls(namespace, name, user)
542
  if not acls.write:
543
  raise ConceptAuthorizationException(
544
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
@@ -558,12 +559,12 @@ class DiskConceptDB(ConceptDB):
558
  user: Optional[UserInfo] = None) -> Concept:
559
  """Merge a draft concept."""
560
  # If the user does not have access to the concept, return None.
561
- acls = self.concept_acls(namespace, name, user)
562
  if not acls.write:
563
  raise ConceptAuthorizationException(
564
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
565
 
566
- concept = self.get(namespace, name, user)
567
  if not concept:
568
  raise ValueError(f'Concept with namespace "{namespace}" and name "{name}" does not exist.')
569
 
@@ -581,7 +582,7 @@ class DiskConceptDB(ConceptDB):
581
  for example in draft_examples.values():
582
  example.draft = DRAFT_MAIN
583
  # Remove duplicates in main.
584
- main_text_id = main_text_ids.get(example.text, user)
585
  if main_text_id:
586
  del concept.data[main_text_id]
587
 
 
18
  from typing_extensions import override
19
 
20
  from ..auth import ConceptAuthorizationException, UserInfo
21
+ from ..config import data_path, env
22
  from ..schema import PATH_WILDCARD, SignalInputType, normalize_path
23
  from ..signals.signal import get_signal_cls
24
  from ..utils import DATASETS_DIR_NAME, delete_file, file_exists, get_dataset_output_dir, open_file
 
32
  ExampleIn,
33
  )
34
 
 
 
35
  CONCEPTS_DIR = 'concept'
36
  DATASET_CONCEPTS_DIR = '.concepts'
37
  CONCEPT_JSON_FILENAME = 'concept.json'
 
179
 
180
  def in_sync(self, model: ConceptModel, user: Optional[UserInfo] = None) -> bool:
181
  """Return True if the model is up to date with the concept."""
182
+ concept = self._concept_db.get(model.namespace, model.concept_name, user=user)
183
  if not concept:
184
  raise ValueError(f'Concept "{model.namespace}/{model.concept_name}" does not exist.')
185
  return concept.version == model.version
186
 
187
  def sync(self, model: ConceptModel, user: Optional[UserInfo] = None) -> bool:
188
  """Sync the concept model. Returns true if the model was updated."""
189
+ concept = self._concept_db.get(model.namespace, model.concept_name, user=user)
190
  if not concept:
191
  raise ValueError(f'Concept "{model.namespace}/{model.concept_name}" does not exist.')
192
  model_updated = model.sync(concept)
 
238
  embedding_name: str,
239
  column_info: Optional[ConceptColumnInfo] = None,
240
  user: Optional[UserInfo] = None) -> ConceptModel:
241
+ if self.get(namespace, concept_name, embedding_name, column_info, user=user):
242
  raise ValueError('Concept model already exists.')
243
+ concept = self._concept_db.get(namespace, concept_name, user=user)
244
+ if not concept:
245
+ raise ValueError(f'Concept "{namespace}/{concept_name}" does not exist.')
246
 
247
  return ConceptModel(
248
  namespace=namespace,
 
259
  column_info: Optional[ConceptColumnInfo] = None,
260
  user: Optional[UserInfo] = None) -> Optional[ConceptModel]:
261
  # Make sure the concept exists.
262
+ concept = self._concept_db.get(namespace, concept_name, user=user)
263
  if not concept:
264
  raise ValueError(f'Concept "{namespace}/{concept_name}" does not exist.')
265
 
 
382
 
383
  @override
384
  def namespace_acls(self, namespace: str, user: Optional[UserInfo] = None) -> ConceptNamespaceACLs:
385
+ if not env('LILAC_AUTH_ENABLED'):
386
  return ConceptNamespaceACLs(read=True, write=True)
387
 
388
  if namespace == 'lilac':
 
394
 
395
  @override
396
  def concept_acls(self, namespace: str, name: str, user: Optional[UserInfo] = None) -> ConceptACLs:
397
+ namespace_acls = self.namespace_acls(namespace, user=user)
398
  # Concept ACLs inherit from the namespace ACLs. We currently don't have concept-specific
399
  # ACLs.
400
  return ConceptACLs(read=namespace_acls.read, write=namespace_acls.write)
 
402
  @override
403
  def list(self, user: Optional[UserInfo] = None) -> list[ConceptInfo]:
404
  namespaces: Optional[list[str]] = None
405
+ if env('LILAC_AUTH_ENABLED'):
406
  namespaces = ['lilac']
407
  if user:
408
  namespaces += [user.id]
 
417
  # Ignore concepts that are not in the namespace, if provided.
418
  continue
419
 
420
+ concept = cast(Concept, self.get(namespace, name, user=user))
421
  concept_infos.append(
422
  ConceptInfo(
423
  namespace=namespace,
424
  name=name,
425
  type=SignalInputType.TEXT,
426
  drafts=concept.drafts(),
427
+ acls=self.concept_acls(namespace, name, user=user)))
428
 
429
  return concept_infos
430
 
431
  @override
432
  def get(self, namespace: str, name: str, user: Optional[UserInfo] = None) -> Optional[Concept]:
433
  # If the user does not have access to the concept, return None.
434
+ acls = self.concept_acls(namespace, name, user=user)
435
  if not acls.read:
436
  raise ConceptAuthorizationException(
437
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
 
455
  user: Optional[UserInfo] = None) -> Concept:
456
  """Create a concept."""
457
  # If the user does not have access to the write to the concept namespace, throw.
458
+ acls = self.namespace_acls(namespace, user=user)
459
  if not acls.write:
460
  raise ConceptAuthorizationException(
461
  f'Concept namespace "{namespace}" does not exist or user does not have access.')
 
488
  change: ConceptUpdate,
489
  user: Optional[UserInfo] = None) -> Concept:
490
  # If the user does not have access to the concept, return None.
491
+ acls = self.concept_acls(namespace, name, user=user)
492
  if not acls.write:
493
  raise ConceptAuthorizationException(
494
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
 
503
  updated_points = change.update or []
504
  removed_points = change.remove or []
505
 
506
+ concept = cast(Concept, self.get(namespace, name, user=user))
507
 
508
  self._validate_examples([*inserted_points, *updated_points], concept.type)
509
 
 
539
  @override
540
  def remove(self, namespace: str, name: str, user: Optional[UserInfo] = None) -> None:
541
  # If the user does not have access to the concept, return None.
542
+ acls = self.concept_acls(namespace, name, user=user)
543
  if not acls.write:
544
  raise ConceptAuthorizationException(
545
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
 
559
  user: Optional[UserInfo] = None) -> Concept:
560
  """Merge a draft concept."""
561
  # If the user does not have access to the concept, return None.
562
+ acls = self.concept_acls(namespace, name, user=user)
563
  if not acls.write:
564
  raise ConceptAuthorizationException(
565
  f'Concept "{namespace}/{name}" does not exist or user does not have access.')
566
 
567
+ concept = self.get(namespace, name, user=user)
568
  if not concept:
569
  raise ValueError(f'Concept with namespace "{namespace}" and name "{name}" does not exist.')
570
 
 
582
  for example in draft_examples.values():
583
  example.draft = DRAFT_MAIN
584
  # Remove duplicates in main.
585
+ main_text_id = main_text_ids.get(example.text)
586
  if main_text_id:
587
  del concept.data[main_text_id]
588
 
lilac/config.py CHANGED
@@ -1,19 +1,66 @@
1
  """Load environment variables from .env file."""
2
  import os
3
- from typing import Optional
4
 
5
  from dotenv import dotenv_values
6
 
7
- CONFIG: dict[str, Optional[str]] = {
8
- **dotenv_values('.env'), # load shared variables
9
- **dotenv_values('.env.local'), # load locally set variables
10
- **dotenv_values('.env.demo'), # load demo-specific environment flags.
11
- **os.environ, # override loaded values with environment variables
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
 
15
  def data_path() -> str:
16
  """Return the base path for data."""
17
- if CONFIG['LILAC_DATA_PATH']:
18
- return CONFIG['LILAC_DATA_PATH']
19
- return './data'
 
1
  """Load environment variables from .env file."""
2
  import os
3
+ from typing import Any, Literal, Optional, Union
4
 
5
  from dotenv import dotenv_values
6
 
7
+ EnvironmentKeys = Union[Literal['LILAC_DATA_PATH'],
8
+ # Authentication on the demo.
9
+ Literal['LILAC_AUTH_ENABLED'], Literal['GOOGLE_CLIENT_ID'],
10
+ Literal['GOOGLE_CLIENT_SECRET'], Literal['LILAC_OAUTH_SECRET_KEY'],
11
+ # DuckDB accessing GCS.
12
+ Literal['GCS_REGION'], Literal['GCS_ACCESS_KEY'], Literal['GCS_SECRET_KEY'],
13
+ # Embedding API keys.
14
+ Literal['OPENAI_API_KEY'], Literal['COHERE_API_KEY'],
15
+ Literal['PALM_API_KEY'],
16
+ # HuggingFace demos.
17
+ Literal['HF_USERNAME'], Literal['HF_STAGING_DEMO_REPO'],
18
+ Literal['SPACE_ID'],
19
+ # Debugging
20
+ Literal['DEBUG'], Literal['DISABLE_LOGS']]
21
+ _ENV: dict[str, Optional[str]] = {}
22
+ # Private config variables. Saved separately to remove private env variables from tests.
23
+ _ENV_LOCAL: dict[str, Optional[str]] = {}
24
+
25
+
26
+ def env(key: EnvironmentKeys, default: Optional[Any] = None) -> Any:
27
+ """Return the value of an environment variable."""
28
+ global _ENV
29
+ global _ENV_LOCAL
30
+ first_load = False
31
+ # This is done lazily so we can prevent loading local environment variables when testing. The
32
+ # 'PYTEST_CURRENT_TEST' environment variable is only set after module initialization by pytest.
33
+ if not _ENV or _ENV_LOCAL:
34
+ _ENV = {
35
+ **dotenv_values('.env'), # load shared variables
36
+ **dotenv_values('.env.demo'), # load demo-specific environment flags.
37
+ }
38
+ _ENV_LOCAL = {
39
+ # Load locally set variables when not in a testing environment.
40
+ **(dotenv_values('.env.local') if 'PYTEST_CURRENT_TEST' not in os.environ else {}),
41
+ }
42
+ first_load = True
43
+
44
+ # Override the file based configs with the current environment, in case flags have changed.
45
+ environment = {
46
+ **_ENV,
47
+ **(_ENV_LOCAL if 'PYTEST_CURRENT_TEST' not in os.environ else {}),
48
+ **os.environ
49
+ }
50
+
51
+ if first_load:
52
+ if environment.get('LILAC_AUTH_ENABLED', None):
53
+ if not environment.get('GOOGLE_CLIENT_ID', None) or not environment.get(
54
+ 'GOOGLE_CLIENT_SECRET', None):
55
+ raise ValueError(
56
+ 'Missing `GOOGLE_CLIENT_ID` or `GOOGLE_CLIENT_SECRET` when `LILAC_AUTH_ENABLED=true`')
57
+ SECRET_KEY = environment.get('LILAC_OAUTH_SECRET_KEY', None)
58
+ if not SECRET_KEY:
59
+ raise ValueError('Missing `LILAC_OAUTH_SECRET_KEY` when `LILAC_AUTH_ENABLED=true`')
60
+
61
+ return environment.get(key, default)
62
 
63
 
64
  def data_path() -> str:
65
  """Return the base path for data."""
66
+ return env('LILAC_DATA_PATH', './data')
 
 
lilac/conftest.py CHANGED
@@ -1,11 +1,11 @@
1
  """Fixtures for dataset tests."""
 
2
  import pathlib
3
  from typing import Generator, Optional, Type
4
 
5
  import pytest
6
  from pytest_mock import MockerFixture
7
 
8
- from .config import CONFIG
9
  from .data.dataset import Dataset
10
  from .data.dataset_duckdb import DatasetDuckDB
11
  from .data.dataset_test_utils import make_dataset
@@ -17,7 +17,7 @@ from .schema import Item, Schema
17
  def make_test_data(tmp_path: pathlib.Path, mocker: MockerFixture,
18
  request: pytest.FixtureRequest) -> Generator:
19
  """A pytest fixture for creating temporary test datasets."""
20
- mocker.patch.dict(CONFIG, {'LILAC_DATA_PATH': str(tmp_path)})
21
  dataset_cls: Type[Dataset] = request.param
22
  set_default_dataset_cls(dataset_cls)
23
 
 
1
  """Fixtures for dataset tests."""
2
+ import os
3
  import pathlib
4
  from typing import Generator, Optional, Type
5
 
6
  import pytest
7
  from pytest_mock import MockerFixture
8
 
 
9
  from .data.dataset import Dataset
10
  from .data.dataset_duckdb import DatasetDuckDB
11
  from .data.dataset_test_utils import make_dataset
 
17
  def make_test_data(tmp_path: pathlib.Path, mocker: MockerFixture,
18
  request: pytest.FixtureRequest) -> Generator:
19
  """A pytest fixture for creating temporary test datasets."""
20
+ mocker.patch.dict(os.environ, {'LILAC_DATA_PATH': str(tmp_path)})
21
  dataset_cls: Type[Dataset] = request.param
22
  set_default_dataset_cls(dataset_cls)
23
 
lilac/data/dataset.py CHANGED
@@ -367,6 +367,8 @@ class Dataset(abc.ABC):
367
  resolve_span: Whether to resolve the span of the row.
368
  combine_columns: Whether to combine columns into a single object. The object will be pruned
369
  to only include sub-fields that correspond to the requested columns.
 
 
370
 
371
  Returns
372
  A SelectRowsResult iterator with rows of `Item`s.
 
367
  resolve_span: Whether to resolve the span of the row.
368
  combine_columns: Whether to combine columns into a single object. The object will be pruned
369
  to only include sub-fields that correspond to the requested columns.
370
+ user: The authenticated user, if auth is enabled and the user is logged in. This is used to
371
+ apply ACLs to the query, especially for concepts.
372
 
373
  Returns
374
  A SelectRowsResult iterator with rows of `Item`s.
lilac/data/dataset_duckdb.py CHANGED
@@ -17,7 +17,7 @@ from typing_extensions import override
17
 
18
  from ..auth import UserInfo
19
  from ..concepts.concept import ConceptColumnInfo
20
- from ..config import CONFIG, data_path
21
  from ..embeddings.vector_store import VectorStore
22
  from ..embeddings.vector_store_numpy import NumpyVectorStore
23
  from ..schema import (
@@ -104,7 +104,6 @@ from .dataset_utils import (
104
  write_items_to_parquet,
105
  )
106
 
107
- DEBUG = CONFIG['DEBUG'] == 'true' if 'DEBUG' in CONFIG else False
108
  UUID_INDEX_FILENAME = 'uuids.npy'
109
 
110
  SIGNAL_MANIFEST_FILENAME = 'signal_manifest.json'
@@ -218,7 +217,7 @@ class DatasetDuckDB(Dataset):
218
  for manifest in self._signal_manifests
219
  ])
220
  view_or_table = 'TABLE'
221
- use_views = CONFIG.get('DUCKDB_USE_VIEWS', 0) or 0
222
  if int(use_views):
223
  view_or_table = 'VIEW'
224
  sql_cmd = f"""CREATE OR REPLACE {view_or_table} t AS (SELECT {select_sql} FROM {join_sql})"""
@@ -1400,7 +1399,7 @@ class DatasetDuckDB(Dataset):
1400
  # FastAPI is multi-threaded so we have to create a thread-specific connection cursor to allow
1401
  # these queries to be thread-safe.
1402
  local_con = self.con.cursor()
1403
- if not DEBUG:
1404
  return local_con.execute(query)
1405
 
1406
  # Debug mode.
 
17
 
18
  from ..auth import UserInfo
19
  from ..concepts.concept import ConceptColumnInfo
20
+ from ..config import data_path, env
21
  from ..embeddings.vector_store import VectorStore
22
  from ..embeddings.vector_store_numpy import NumpyVectorStore
23
  from ..schema import (
 
104
  write_items_to_parquet,
105
  )
106
 
 
107
  UUID_INDEX_FILENAME = 'uuids.npy'
108
 
109
  SIGNAL_MANIFEST_FILENAME = 'signal_manifest.json'
 
217
  for manifest in self._signal_manifests
218
  ])
219
  view_or_table = 'TABLE'
220
+ use_views = env('DUCKDB_USE_VIEWS', 0) or 0
221
  if int(use_views):
222
  view_or_table = 'VIEW'
223
  sql_cmd = f"""CREATE OR REPLACE {view_or_table} t AS (SELECT {select_sql} FROM {join_sql})"""
 
1399
  # FastAPI is multi-threaded so we have to create a thread-specific connection cursor to allow
1400
  # these queries to be thread-safe.
1401
  local_con = self.con.cursor()
1402
+ if not env('DEBUG', False):
1403
  return local_con.execute(query)
1404
 
1405
  # Debug mode.
lilac/data/dataset_utils.py CHANGED
@@ -12,6 +12,7 @@ from typing import Any, Callable, Generator, Iterator, Optional, Sequence, TypeV
12
  import numpy as np
13
  import pyarrow as pa
14
 
 
15
  from ..parquet_writer import ParquetWriter
16
  from ..schema import (
17
  PATH_WILDCARD,
@@ -283,7 +284,7 @@ def write_items_to_parquet(items: Iterable[Item], output_dir: str, schema: Schem
283
  # Add a UUID column.
284
  if UUID_COLUMN not in item:
285
  item[UUID_COLUMN] = secrets.token_urlsafe(nbytes=12) # 16 base64 characters.
286
- if os.getenv('DEBUG'):
287
  try:
288
  _validate(item, arrow_schema)
289
  except Exception as e:
 
12
  import numpy as np
13
  import pyarrow as pa
14
 
15
+ from ..config import env
16
  from ..parquet_writer import ParquetWriter
17
  from ..schema import (
18
  PATH_WILDCARD,
 
284
  # Add a UUID column.
285
  if UUID_COLUMN not in item:
286
  item[UUID_COLUMN] = secrets.token_urlsafe(nbytes=12) # 16 base64 characters.
287
+ if env('DEBUG'):
288
  try:
289
  _validate(item, arrow_schema)
290
  except Exception as e:
lilac/data/duckdb_utils.py CHANGED
@@ -3,7 +3,7 @@ import os
3
 
4
  import duckdb
5
 
6
- from ..config import CONFIG, data_path
7
 
8
 
9
  def duckdb_setup(con: duckdb.DuckDBPyConnection) -> str:
@@ -15,11 +15,11 @@ def duckdb_setup(con: duckdb.DuckDBPyConnection) -> str:
15
  con.install_extension('httpfs')
16
  con.load_extension('httpfs')
17
 
18
- if 'GCS_REGION' in CONFIG:
19
  return f"""
20
- SET s3_region='{CONFIG['GCS_REGION']}';
21
- SET s3_access_key_id='{CONFIG['GCS_ACCESS_KEY']}';
22
- SET s3_secret_access_key='{CONFIG['GCS_SECRET_KEY']}';
23
  SET s3_endpoint='storage.googleapis.com';
24
  """
25
  return ''
 
3
 
4
  import duckdb
5
 
6
+ from ..config import data_path, env
7
 
8
 
9
  def duckdb_setup(con: duckdb.DuckDBPyConnection) -> str:
 
15
  con.install_extension('httpfs')
16
  con.load_extension('httpfs')
17
 
18
+ if env('GCS_REGION'):
19
  return f"""
20
+ SET s3_region='{env('GCS_REGION')}';
21
+ SET s3_access_key_id='{env('GCS_ACCESS_KEY')}';
22
+ SET s3_secret_access_key='{env('GCS_SECRET_KEY')}';
23
  SET s3_endpoint='storage.googleapis.com';
24
  """
25
  return ''
lilac/embeddings/cohere.py CHANGED
@@ -4,7 +4,7 @@ from typing import TYPE_CHECKING, Iterable, cast
4
  import numpy as np
5
  from typing_extensions import override
6
 
7
- from ..config import CONFIG
8
  from ..schema import Item, RichData
9
  from ..signals.signal import TextEmbeddingSignal
10
  from ..signals.splitters.chunk_splitter import split_text
@@ -36,7 +36,7 @@ class Cohere(TextEmbeddingSignal):
36
  @override
37
  def setup(self) -> None:
38
  """Validate that the api key and python package exists in environment."""
39
- api_key = CONFIG.get('COHERE_API_KEY')
40
  if not api_key:
41
  raise ValueError('`COHERE_API_KEY` environment variable not set.')
42
  try:
 
4
  import numpy as np
5
  from typing_extensions import override
6
 
7
+ from ..config import env
8
  from ..schema import Item, RichData
9
  from ..signals.signal import TextEmbeddingSignal
10
  from ..signals.splitters.chunk_splitter import split_text
 
36
  @override
37
  def setup(self) -> None:
38
  """Validate that the api key and python package exists in environment."""
39
+ api_key = env('COHERE_API_KEY')
40
  if not api_key:
41
  raise ValueError('`COHERE_API_KEY` environment variable not set.')
42
  try:
lilac/embeddings/openai.py CHANGED
@@ -5,7 +5,7 @@ import numpy as np
5
  from tenacity import retry, stop_after_attempt, wait_random_exponential
6
  from typing_extensions import override
7
 
8
- from ..config import CONFIG
9
  from ..schema import Item, RichData
10
  from ..signals.signal import TextEmbeddingSignal
11
  from ..signals.splitters.chunk_splitter import split_text
@@ -37,7 +37,7 @@ class OpenAI(TextEmbeddingSignal):
37
 
38
  @override
39
  def setup(self) -> None:
40
- api_key = CONFIG.get('OPENAI_API_KEY')
41
  if not api_key:
42
  raise ValueError('`OPENAI_API_KEY` environment variable not set.')
43
  try:
 
5
  from tenacity import retry, stop_after_attempt, wait_random_exponential
6
  from typing_extensions import override
7
 
8
+ from ..config import env
9
  from ..schema import Item, RichData
10
  from ..signals.signal import TextEmbeddingSignal
11
  from ..signals.splitters.chunk_splitter import split_text
 
37
 
38
  @override
39
  def setup(self) -> None:
40
+ api_key = env('OPENAI_API_KEY')
41
  if not api_key:
42
  raise ValueError('`OPENAI_API_KEY` environment variable not set.')
43
  try:
lilac/embeddings/palm.py CHANGED
@@ -5,7 +5,7 @@ import numpy as np
5
  from tenacity import retry, stop_after_attempt, wait_random_exponential
6
  from typing_extensions import override
7
 
8
- from ..config import CONFIG
9
  from ..schema import Item, RichData
10
  from ..signals.signal import TextEmbeddingSignal
11
  from ..signals.splitters.chunk_splitter import split_text
@@ -35,7 +35,7 @@ class PaLM(TextEmbeddingSignal):
35
 
36
  @override
37
  def setup(self) -> None:
38
- api_key = CONFIG.get('PALM_API_KEY')
39
  if not api_key:
40
  raise ValueError('`PALM_API_KEY` environment variable not set.')
41
  try:
 
5
  from tenacity import retry, stop_after_attempt, wait_random_exponential
6
  from typing_extensions import override
7
 
8
+ from ..config import env
9
  from ..schema import Item, RichData
10
  from ..signals.signal import TextEmbeddingSignal
11
  from ..signals.splitters.chunk_splitter import split_text
 
35
 
36
  @override
37
  def setup(self) -> None:
38
+ api_key = env('PALM_API_KEY')
39
  if not api_key:
40
  raise ValueError('`PALM_API_KEY` environment variable not set.')
41
  try:
lilac/router_concept.py CHANGED
@@ -17,12 +17,10 @@ from .concepts.concept import (
17
  draft_examples,
18
  )
19
  from .concepts.db_concept import DISK_CONCEPT_DB, DISK_CONCEPT_MODEL_DB, ConceptInfo, ConceptUpdate
20
- from .config import CONFIG
21
  from .router_utils import RouteErrorHandler
22
  from .schema import SignalInputType
23
 
24
- LILAC_AUTH_ENABLED = CONFIG.get('LILAC_AUTH_ENABLED', False)
25
-
26
  router = APIRouter(route_class=RouteErrorHandler)
27
 
28
 
@@ -183,6 +181,7 @@ def get_concept_model(
183
  model = DISK_CONCEPT_MODEL_DB.get(namespace, concept_name, embedding_name, user=user)
184
  if not model:
185
  model = DISK_CONCEPT_MODEL_DB.create(namespace, concept_name, embedding_name, user=user)
 
186
  model_info = ConceptModelInfo(
187
  namespace=model.namespace,
188
  concept_name=model.concept_name,
@@ -230,7 +229,7 @@ def generate_examples(description: str) -> list[str]:
230
  raise ImportError('Could not import the "openai" python package. '
231
  'Please install it with `pip install openai`.')
232
 
233
- openai.api_key = CONFIG['OPENAI_API_KEY']
234
  completion = openai.ChatCompletion.create(
235
  model='gpt-3.5-turbo-0613',
236
  functions=[Examples.openai_schema],
 
17
  draft_examples,
18
  )
19
  from .concepts.db_concept import DISK_CONCEPT_DB, DISK_CONCEPT_MODEL_DB, ConceptInfo, ConceptUpdate
20
+ from .config import env
21
  from .router_utils import RouteErrorHandler
22
  from .schema import SignalInputType
23
 
 
 
24
  router = APIRouter(route_class=RouteErrorHandler)
25
 
26
 
 
181
  model = DISK_CONCEPT_MODEL_DB.get(namespace, concept_name, embedding_name, user=user)
182
  if not model:
183
  model = DISK_CONCEPT_MODEL_DB.create(namespace, concept_name, embedding_name, user=user)
184
+ DISK_CONCEPT_MODEL_DB.sync(model)
185
  model_info = ConceptModelInfo(
186
  namespace=model.namespace,
187
  concept_name=model.concept_name,
 
229
  raise ImportError('Could not import the "openai" python package. '
230
  'Please install it with `pip install openai`.')
231
 
232
+ openai.api_key = env('OPENAI_API_KEY')
233
  completion = openai.ChatCompletion.create(
234
  model='gpt-3.5-turbo-0613',
235
  functions=[Examples.openai_schema],
lilac/router_google_login.py CHANGED
@@ -9,47 +9,43 @@ from starlette.config import Config
9
  from starlette.responses import RedirectResponse
10
 
11
  from .auth import UserInfo
12
- from .config import CONFIG
13
  from .router_utils import RouteErrorHandler
14
 
15
  router = APIRouter(route_class=RouteErrorHandler)
16
 
17
- GOOGLE_CLIENT_ID = CONFIG.get('GOOGLE_CLIENT_ID', None)
18
- GOOGLE_CLIENT_SECRET = CONFIG.get('GOOGLE_CLIENT_SECRET', None)
19
- LILAC_AUTH_ENABLED = CONFIG.get('LILAC_AUTH_ENABLED', False)
20
- if LILAC_AUTH_ENABLED:
21
- if GOOGLE_CLIENT_ID is None or GOOGLE_CLIENT_SECRET is None:
22
- raise ValueError(
23
- 'Missing `GOOGLE_CLIENT_ID` or `GOOGLE_CLIENT_SECRET` when `LILAC_AUTH_ENABLED=true`')
24
- SECRET_KEY = CONFIG.get('LILAC_OAUTH_SECRET_KEY', None)
25
- if not SECRET_KEY:
26
- raise ValueError('Missing `LILAC_OAUTH_SECRET_KEY` when `LILAC_AUTH_ENABLED=true`')
27
 
28
- # Set up oauth
29
- oauth = OAuth(
30
- Config(environ={
31
- 'GOOGLE_CLIENT_ID': GOOGLE_CLIENT_ID,
32
- 'GOOGLE_CLIENT_SECRET': GOOGLE_CLIENT_SECRET
33
- }))
34
- oauth.register(
35
- name='google',
36
- server_metadata_url='https://accounts.google.com/.well-known/openid-configuration',
37
- client_kwargs={'scope': 'openid email profile'},
38
- )
 
 
 
 
 
39
 
40
 
41
  @router.get('/login')
42
  async def login(request: Request, origin_url: str) -> RedirectResponse:
43
  """Redirects to Google OAuth login page."""
44
  auth_path = urlunparse(urlparse(origin_url)._replace(path='/google/auth'))
45
- return await oauth.google.authorize_redirect(request, auth_path)
46
 
47
 
48
  @router.get('/auth')
49
  async def auth(request: Request) -> Response:
50
  """Handles the Google OAuth callback."""
51
  try:
52
- token = await oauth.google.authorize_access_token(request)
53
  except OAuthError as error:
54
  return HTMLResponse(f'<h1>{error}</h1>')
55
  userinfo = token['userinfo']
 
9
  from starlette.responses import RedirectResponse
10
 
11
  from .auth import UserInfo
12
+ from .config import env
13
  from .router_utils import RouteErrorHandler
14
 
15
  router = APIRouter(route_class=RouteErrorHandler)
16
 
17
+ _OAUTH: OAuth = None
 
 
 
 
 
 
 
 
 
18
 
19
+
20
+ def _oauth() -> OAuth:
21
+ global _OAUTH
22
+ if not _OAUTH:
23
+ _OAUTH = OAuth(
24
+ Config(
25
+ environ={
26
+ 'GOOGLE_CLIENT_ID': env('GOOGLE_CLIENT_ID'),
27
+ 'GOOGLE_CLIENT_SECRET': env('GOOGLE_CLIENT_SECRET')
28
+ }))
29
+ _OAUTH.register(
30
+ name='google',
31
+ server_metadata_url='https://accounts.google.com/.well-known/openid-configuration',
32
+ client_kwargs={'scope': 'openid email profile'},
33
+ )
34
+ return _OAUTH
35
 
36
 
37
  @router.get('/login')
38
  async def login(request: Request, origin_url: str) -> RedirectResponse:
39
  """Redirects to Google OAuth login page."""
40
  auth_path = urlunparse(urlparse(origin_url)._replace(path='/google/auth'))
41
+ return await _oauth().google.authorize_redirect(request, auth_path)
42
 
43
 
44
  @router.get('/auth')
45
  async def auth(request: Request) -> Response:
46
  """Handles the Google OAuth callback."""
47
  try:
48
+ token = await _oauth().google.authorize_access_token(request)
49
  except OAuthError as error:
50
  return HTMLResponse(f'<h1>{error}</h1>')
51
  userinfo = token['userinfo']
lilac/server.py CHANGED
@@ -7,7 +7,7 @@ import subprocess
7
  from typing import Any, Optional
8
 
9
  from fastapi import APIRouter, FastAPI, Request
10
- from fastapi.responses import FileResponse, ORJSONResponse
11
  from fastapi.routing import APIRoute
12
  from fastapi.staticfiles import StaticFiles
13
  from starlette.middleware.sessions import SessionMiddleware
@@ -20,18 +20,20 @@ from . import (
20
  router_signal,
21
  router_tasks,
22
  )
23
- from .auth import AuthenticationInfo, UserInfo, get_session_user, get_user_access
 
 
 
 
 
 
24
  from .concepts.db_concept import DiskConceptDB, get_concept_output_dir
25
- from .config import CONFIG, data_path
26
  from .router_utils import RouteErrorHandler
27
  from .tasks import task_manager
28
  from .utils import get_dataset_output_dir, list_datasets
29
 
30
  DIST_PATH = os.path.abspath(os.path.join('web', 'blueprint', 'build'))
31
- LILAC_AUTH_ENABLED = CONFIG.get('LILAC_AUTH_ENABLED', False)
32
- LILAC_OAUTH_SECRET_KEY = CONFIG.get('LILAC_OAUTH_SECRET_KEY', None)
33
- if LILAC_AUTH_ENABLED and not LILAC_OAUTH_SECRET_KEY:
34
- raise ValueError('`LILAC_OAUTH_SECRET_KEY` must be set if `LILAC_AUTH_ENABLED` is True.')
35
 
36
  tags_metadata: list[dict[str, Any]] = [{
37
  'name': 'datasets',
@@ -57,7 +59,19 @@ app = FastAPI(
57
  default_response_class=ORJSONResponse,
58
  generate_unique_id_function=custom_generate_unique_id,
59
  openapi_tags=tags_metadata)
60
- app.add_middleware(SessionMiddleware, secret_key=LILAC_OAUTH_SECRET_KEY)
 
 
 
 
 
 
 
 
 
 
 
 
61
  app.include_router(router_google_login.router, prefix='/google', tags=['google_login'])
62
 
63
  v1_router = APIRouter(route_class=RouteErrorHandler)
@@ -76,7 +90,7 @@ def auth_info(request: Request) -> AuthenticationInfo:
76
  """
77
  user_info: Optional[UserInfo] = get_session_user(request)
78
  return AuthenticationInfo(
79
- user=user_info, access=get_user_access(), auth_enabled=LILAC_AUTH_ENABLED)
80
 
81
 
82
  app.include_router(v1_router, prefix='/api/v1')
@@ -96,7 +110,7 @@ app.mount('/', StaticFiles(directory=DIST_PATH, html=True, check_dir=False))
96
  def startup() -> None:
97
  """Download dataset files from the HF space that was uploaded before building the image."""
98
  # SPACE_ID is the HuggingFace Space ID environment variable that is automatically set by HF.
99
- repo_id = CONFIG.get('SPACE_ID', None)
100
 
101
  if repo_id:
102
  # Copy datasets.
 
7
  from typing import Any, Optional
8
 
9
  from fastapi import APIRouter, FastAPI, Request
10
+ from fastapi.responses import FileResponse, JSONResponse, ORJSONResponse
11
  from fastapi.routing import APIRoute
12
  from fastapi.staticfiles import StaticFiles
13
  from starlette.middleware.sessions import SessionMiddleware
 
20
  router_signal,
21
  router_tasks,
22
  )
23
+ from .auth import (
24
+ AuthenticationInfo,
25
+ ConceptAuthorizationException,
26
+ UserInfo,
27
+ get_session_user,
28
+ get_user_access,
29
+ )
30
  from .concepts.db_concept import DiskConceptDB, get_concept_output_dir
31
+ from .config import data_path, env
32
  from .router_utils import RouteErrorHandler
33
  from .tasks import task_manager
34
  from .utils import get_dataset_output_dir, list_datasets
35
 
36
  DIST_PATH = os.path.abspath(os.path.join('web', 'blueprint', 'build'))
 
 
 
 
37
 
38
  tags_metadata: list[dict[str, Any]] = [{
39
  'name': 'datasets',
 
59
  default_response_class=ORJSONResponse,
60
  generate_unique_id_function=custom_generate_unique_id,
61
  openapi_tags=tags_metadata)
62
+
63
+
64
+ @app.exception_handler(ConceptAuthorizationException)
65
+ def concept_authorization_exception(request: Request, exc: ConceptAuthorizationException):
66
+ """Return a 401 JSON response when an authorization exception is thrown."""
67
+ return JSONResponse(
68
+ status_code=401,
69
+ content={'message"': 'Oops! You are not authorized to do this.'},
70
+ )
71
+
72
+
73
+ app.add_middleware(SessionMiddleware, secret_key=env('LILAC_OAUTH_SECRET_KEY'))
74
+
75
  app.include_router(router_google_login.router, prefix='/google', tags=['google_login'])
76
 
77
  v1_router = APIRouter(route_class=RouteErrorHandler)
 
90
  """
91
  user_info: Optional[UserInfo] = get_session_user(request)
92
  return AuthenticationInfo(
93
+ user=user_info, access=get_user_access(), auth_enabled=env('LILAC_AUTH_ENABLED'))
94
 
95
 
96
  app.include_router(v1_router, prefix='/api/v1')
 
110
  def startup() -> None:
111
  """Download dataset files from the HF space that was uploaded before building the image."""
112
  # SPACE_ID is the HuggingFace Space ID environment variable that is automatically set by HF.
113
+ repo_id = env('SPACE_ID', None)
114
 
115
  if repo_id:
116
  # Copy datasets.
lilac/signals/concept_scorer.py CHANGED
@@ -48,11 +48,12 @@ class ConceptScoreSignal(TextEmbeddingModelSignal):
48
  self._user = user
49
 
50
  def _get_concept_model(self) -> ConceptModel:
51
- model = self._concept_model_db.get(self.namespace, self.concept_name, self.embedding,
52
- self._column_info, self._user)
53
  if not model:
54
- model = self._concept_model_db.create(self.namespace, self.concept_name, self.embedding,
55
- self._column_info, self._user)
 
56
 
57
  self._concept_model_db.sync(model, self._user)
58
  return model
@@ -67,6 +68,7 @@ class ConceptScoreSignal(TextEmbeddingModelSignal):
67
  vector_store: VectorStore) -> Iterable[Optional[Item]]:
68
  concept_model = self._get_concept_model()
69
  embeddings = vector_store.get(keys)
 
70
  return concept_model.score_embeddings(self.draft, embeddings).tolist()
71
 
72
  @override
 
48
  self._user = user
49
 
50
  def _get_concept_model(self) -> ConceptModel:
51
+ model = self._concept_model_db.get(
52
+ self.namespace, self.concept_name, self.embedding, self._column_info, user=self._user)
53
  if not model:
54
+ print('creating model...')
55
+ model = self._concept_model_db.create(
56
+ self.namespace, self.concept_name, self.embedding, self._column_info, user=self._user)
57
 
58
  self._concept_model_db.sync(model, self._user)
59
  return model
 
68
  vector_store: VectorStore) -> Iterable[Optional[Item]]:
69
  concept_model = self._get_concept_model()
70
  embeddings = vector_store.get(keys)
71
+ print('MODEL=', concept_model.version)
72
  return concept_model.score_embeddings(self.draft, embeddings).tolist()
73
 
74
  @override
lilac/utils.py CHANGED
@@ -20,7 +20,7 @@ import requests
20
  from google.cloud.storage import Blob, Client
21
  from pydantic import BaseModel
22
 
23
- from .config import data_path
24
  from .schema import Path
25
 
26
  GCS_PROTOCOL = 'gs://'
@@ -258,13 +258,9 @@ def chunks(iterable: Iterable[Tchunk], size: int) -> Iterable[list[Tchunk]]:
258
  chunk = list(itertools.islice(it, size))
259
 
260
 
261
- # TODO(nsthorat): Centralize environment flags.
262
- DISABLE_LOGS = os.getenv('DISABLE_LOGS', False)
263
-
264
-
265
  def log(log_str: str) -> None:
266
  """Print and logs a message so it shows up in the logs on cloud."""
267
- if DISABLE_LOGS:
268
  return
269
 
270
  print(log_str)
 
20
  from google.cloud.storage import Blob, Client
21
  from pydantic import BaseModel
22
 
23
+ from .config import data_path, env
24
  from .schema import Path
25
 
26
  GCS_PROTOCOL = 'gs://'
 
258
  chunk = list(itertools.islice(it, size))
259
 
260
 
 
 
 
 
261
  def log(log_str: str) -> None:
262
  """Print and logs a message so it shows up in the logs on cloud."""
263
+ if env('DISABLE_LOGS'):
264
  return
265
 
266
  print(log_str)
web/blueprint/build/_app/immutable/chunks/ComboBox.6cf7c2b9.js DELETED
@@ -1 +0,0 @@
1
- import{S as p,i as $,s as ee,E as B,_ as Ae,$ as ze,m as N,h as v,n as U,a0 as Pe,b as S,J as q,O as le,a1 as Ve,D as F,F as Z,q as ie,r as te,u as ne,G as he,k as V,a as Y,e as y,l as R,c as X,I as O,H as I,K as A,ab as Se,L as me,M as ce,N as _e,g as W,d as L,P as re,Q as M,aa as oe,ac 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,a9 as Re,U as vl,V as Tl,X as El,Y as Wl}from"./index.4b0e533a.js";import{C as Cl,W as Sl,b as Ll}from"./SelectItem.ef497543.js";import{C as pe}from"./taskMonitoringStore.9669b838.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<s.length;f+=1)o=B(o,s[f]);return{c(){e=Ae("svg"),t&&t.c(),i=Ae("path"),this.h()},l(f){e=ze(f,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var a=N(e);t&&t.l(a),i=ze(a,"path",{d:!0}),N(i).forEach(v),a.forEach(v),this.h()},h(){U(i,"d","M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"),Pe(e,o)},m(f,a){S(f,e,a),t&&t.m(e,null),q(e,i)},p(f,[a]){f[1]?t?t.p(f,a):(t=Fe(f),t.c(),t.m(e,i)):t&&(t.d(1),t=null),Pe(e,o=le(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},a&1&&{width:f[0]},a&1&&{height:f[0]},a&4&&f[2],a&8&&f[3]]))},i:Ve,o:Ve,d(f){f&&v(e),t&&t.d()}}}function zl(l,e,i){let t,s;const o=["size","title"];let f=F(e,o),{size:a=16}=e,{title:n=void 0}=e;return l.$$set=r=>{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<u.length;m+=1)b=B(b,u[m]);let g=l[5]&&Ue(l),_=!l[5]&&l[7]&&qe(l);return{c(){e=V("div"),d&&d.c(),t=Y(),g&&g.c(),s=Y(),_&&_.c(),o=y(),this.h()},l(m){e=R(m,"DIV",{role:!0,tabindex:!0,"data-invalid":!0});var T=N(e);d&&d.l(T),T.forEach(v),t=X(m),g&&g.l(m),s=X(m),_&&_.l(m),o=y(),this.h()},h(){O(e,b),I(e,"bx--list-box",!0),I(e,"bx--list-box--sm",l[0]==="sm"),I(e,"bx--list-box--xl",l[0]==="xl"),I(e,"bx--list-box--inline",l[1]==="inline"),I(e,"bx--list-box--disabled",l[4]),I(e,"bx--list-box--expanded",l[2]),I(e,"bx--list-box--light",l[3]),I(e,"bx--list-box--warning",!l[5]&&l[7])},m(m,T){S(m,e,T),d&&d.m(e,null),S(m,t,T),g&&g.m(m,T),S(m,s,T),_&&_.m(m,T),S(m,o,T),f=!0,a||(n=[A(e,"keydown",l[12]),A(e,"keydown",Nl),A(e,"click",Se(l[13]))],a=!0)},p(m,[T]){d&&d.p&&(!f||T&1024)&&me(d,r,m,m[10],f?_e(r,m[10],T,null):ce(m[10]),null),O(e,b=le(u,[{role:"listbox"},{tabindex:"-1"},(!f||T&32&&i!==(i=m[5]||void 0))&&{"data-invalid":i},T&512&&m[9]])),I(e,"bx--list-box",!0),I(e,"bx--list-box--sm",m[0]==="sm"),I(e,"bx--list-box--xl",m[0]==="xl"),I(e,"bx--list-box--inline",m[1]==="inline"),I(e,"bx--list-box--disabled",m[4]),I(e,"bx--list-box--expanded",m[2]),I(e,"bx--list-box--light",m[3]),I(e,"bx--list-box--warning",!m[5]&&m[7]),m[5]?g?g.p(m,T):(g=Ue(m),g.c(),g.m(s.parentNode,s)):g&&(g.d(1),g=null),!m[5]&&m[7]?_?_.p(m,T):(_=qe(m),_.c(),_.m(o.parentNode,o)):_&&(_.d(1),_=null)},i(m){f||(W(d,m),f=!0)},o(m){L(d,m),f=!1},d(m){m&&v(e),d&&d.d(m),m&&v(t),g&&g.d(m),m&&v(s),_&&_.d(m),m&&v(o),a=!1,re(n)}}}const Nl=l=>{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;g<u.length;g+=1)b=B(b,u[g]);return{c(){e=V("div"),d&&d.c(),this.h()},l(g){e=R(g,"DIV",{role:!0,"aria-expanded":!0,"aria-owns":!0,"aria-controls":!0,"aria-disabled":!0,"aria-label":!0,tabindex:!0});var _=N(e);d&&d.l(_),_.forEach(v),this.h()},h(){O(e,b),I(e,"bx--list-box__field",!0)},m(g,_){S(g,e,_),d&&d.m(e,null),l[19](e),f=!0,a||(n=[A(e,"click",l[12]),A(e,"mouseover",l[13]),A(e,"mouseenter",l[14]),A(e,"mouseleave",l[15]),A(e,"keydown",oe(l[16])),A(e,"focus",l[17]),A(e,"blur",l[18])],a=!0)},p(g,[_]){d&&d.p&&(!f||_&1024)&&me(d,r,g,g[10],f?_e(r,g[10],_,null):ce(g[10]),null),O(e,b=le(u,[(!f||_&4)&&{role:g[2]},(!f||_&64)&&{"aria-expanded":g[6]},(!f||_&96&&i!==(i=g[6]&&g[5]||void 0))&&{"aria-owns":i},(!f||_&96&&t!==(t=g[6]&&g[5]||void 0))&&{"aria-controls":t},(!f||_&2)&&{"aria-disabled":g[1]},(!f||_&80&&s!==(s=g[6]?g[4]("close"):g[4]("open")))&&{"aria-label":s},(!f||_&10&&o!==(o=g[1]?"-1":g[3]))&&{tabindex:o},_&128&&g[7]])),I(e,"bx--list-box__field",!0)},i(g){f||(W(d,g),f=!0)},o(g){L(d,g),f=!1},d(g){g&&v(e),d&&d.d(g),l[19](null),a=!1,re(n)}}}function Ul(l,e,i){let t,s;const o=["disabled","role","tabindex","translationIds","translateWithId","id","ref"];let f=F(e,o),{$$slots:a={},$$scope:n}=e,{disabled:r=!1}=e,{role:d="combobox"}=e,{tabindex:u="-1"}=e;const b={close:"close",open:"open"};let{translateWithId:g=E=>T[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 Yl(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.length;d+=1)r=B(r,n[d]);return{c(){e=V("div"),a&&a.c(),this.h()},l(d){e=R(d,"DIV",{role:!0,id:!0});var u=N(e);a&&a.l(u),u.forEach(v),this.h()},h(){O(e,r),I(e,"bx--list-box__menu",!0)},m(d,u){S(d,e,u),a&&a.m(e,null),l[6](e),t=!0,s||(o=A(e,"scroll",l[5]),s=!0)},p(d,[u]){a&&a.p&&(!t||u&8)&&me(a,f,d,d[3],t?_e(f,d[3],u,null):ce(d[3]),null),O(e,r=le(n,[{role:"listbox"},(!t||u&2&&i!==(i="menu-"+d[1]))&&{id:i},u&4&&d[2]])),I(e,"bx--list-box__menu",!0)},i(d){t||(W(a,d),t=!0)},o(d){L(a,d),t=!1},d(d){d&&v(e),a&&a.d(d),l[6](null),s=!1,o()}}}function Xl(l,e,i){const t=["id","ref"];let s=F(e,t),{$$slots:o={},$$scope:f}=e,{id:a="ccs-"+Math.random().toString(36)}=e,{ref:n=null}=e;function r(u){M.call(this,l,u)}function d(u){se[u?"unshift":"push"](()=>{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,Xl,Yl,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;n<f.length;n+=1)a=B(a,f[n]);return{c(){e=V("div"),H(i.$$.fragment),this.h()},l(n){e=R(n,"DIV",{});var r=N(e);J(i.$$.fragment,r),r.forEach(v),this.h()},h(){O(e,a),I(e,"bx--list-box__menu-icon",!0),I(e,"bx--list-box__menu-icon--open",l[0])},m(n,r){S(n,e,r),K(i,e,null),t=!0,s||(o=A(e,"click",Se(l[6])),s=!0)},p(n,[r]){const d={};r&2&&(d["aria-label"]=n[1]),r&2&&(d.title=n[1]),i.$set(d),O(e,a=le(f,[r&4&&n[2]])),I(e,"bx--list-box__menu-icon",!0),I(e,"bx--list-box__menu-icon--open",n[0])},i(n){t||(W(i.$$.fragment,n),t=!0)},o(n){L(i.$$.fragment,n),t=!1},d(n){n&&v(e),Q(i),s=!1,o()}}}function Jl(l,e,i){let t,s;const o=["open","translationIds","translateWithId"];let f=F(e,o),{open:a=!1}=e;const n={close:"close",open:"open"};let{translateWithId:r=b=>d[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<r.length;u+=1)d=B(d,r[u]);return{c(){e=V("div"),i=V("div"),n&&n.c(),this.h()},l(u){e=R(u,"DIV",{role:!0,tabindex:!0,"aria-selected":!0,disabled:!0});var b=N(e);i=R(b,"DIV",{title:!0});var g=N(i);n&&n.l(g),g.forEach(v),b.forEach(v),this.h()},h(){U(i,"title",l[4]),I(i,"bx--list-box__menu-item__option",!0),O(e,d),I(e,"bx--list-box__menu-item",!0),I(e,"bx--list-box__menu-item--active",l[0]),I(e,"bx--list-box__menu-item--highlighted",l[1]||l[0])},m(u,b){S(u,e,b),q(e,i),n&&n.m(i,null),l[12](i),s=!0,o||(f=[A(e,"click",l[9]),A(e,"mouseenter",l[10]),A(e,"mouseleave",l[11])],o=!0)},p(u,[b]){n&&n.p&&(!s||b&128)&&me(n,a,u,u[7],s?_e(a,u[7],b,null):ce(u[7]),null),(!s||b&16)&&U(i,"title",u[4]),O(e,d=le(r,[{role:"option"},{tabindex:"-1"},(!s||b&1)&&{"aria-selected":u[0]},(!s||b&4&&t!==(t=u[2]?!0:void 0))&&{disabled:t},b&32&&u[5]])),I(e,"bx--list-box__menu-item",!0),I(e,"bx--list-box__menu-item--active",u[0]),I(e,"bx--list-box__menu-item--highlighted",u[1]||u[0])},i(u){s||(W(n,u),s=!0)},o(u){L(n,u),s=!1},d(u){u&&v(e),n&&n.d(u),l[12](null),o=!1,re(f)}}}function wl(l,e,i){let t,s;const o=["active","highlighted","disabled"];let f=F(e,o),{$$slots:a={},$$scope:n}=e,{active:r=!1}=e,{highlighted:d=!1}=e,{disabled:u=!1}=e,b=null;function g(c){M.call(this,l,c)}function _(c){M.call(this,l,c)}function m(c){M.call(this,l,c)}function T(c){se[c?"unshift":"push"](()=>{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<r.length;u+=1)d=B(d,r[u]);return{c(){e=V("div"),n&&n.c(),i=Y(),H(t.$$.fragment),this.h()},l(u){e=R(u,"DIV",{role:!0,"aria-label":!0,title:!0,tabindex:!0});var b=N(e);n&&n.l(b),i=X(b),J(t.$$.fragment,b),b.forEach(v),this.h()},h(){O(e,d),I(e,"bx--list-box__selection",!0),I(e,"bx--tag--filter",l[1]),I(e,"bx--list-box__selection--multi",l[1])},m(u,b){S(u,e,b),n&&n.m(e,null),q(e,i),K(t,e,null),l[12](e),o=!0,f||(a=[A(e,"click",oe(Se(l[13]))),A(e,"keydown",oe(l[14]))],f=!0)},p(u,b){u[1]!==void 0?n?n.p(u,b):(n=Oe(u),n.c(),n.m(e,i)):n&&(n.d(1),n=null),O(e,d=le(r,[{role:"button"},(!o||b&16)&&{"aria-label":u[4]},(!o||b&16)&&{title:u[4]},(!o||b&4&&s!==(s=u[2]?"-1":"0"))&&{tabindex:s},b&64&&u[6]])),I(e,"bx--list-box__selection",!0),I(e,"bx--tag--filter",u[1]),I(e,"bx--list-box__selection--multi",u[1])},i(u){o||(W(t.$$.fragment,u),o=!0)},o(u){L(t.$$.fragment,u),o=!1},d(u){u&&v(e),n&&n.d(),Q(t),l[12](null),f=!1,re(a)}}}function $l(l){let e,i,t,s,o,f,a,n,r,d;return f=new pe({}),{c(){e=V("div"),i=V("span"),t=ie(l[1]),s=Y(),o=V("div"),H(f.$$.fragment),this.h()},l(u){e=R(u,"DIV",{});var b=N(e);i=R(b,"SPAN",{title:!0});var g=N(i);t=te(g,l[1]),g.forEach(v),s=X(b),o=R(b,"DIV",{role:!0,tabindex:!0,disabled:!0,"aria-label":!0,title:!0});var _=N(o);J(f.$$.fragment,_),_.forEach(v),b.forEach(v),this.h()},h(){U(i,"title",l[1]),I(i,"bx--tag__label",!0),U(o,"role","button"),U(o,"tabindex",a=l[2]?-1:0),U(o,"disabled",l[2]),U(o,"aria-label",l[3].clearAll),U(o,"title",l[4]),I(o,"bx--tag__close-icon",!0),I(e,"bx--tag",!0),I(e,"bx--tag--filter",!0),I(e,"bx--tag--high-contrast",!0),I(e,"bx--tag--disabled",l[2])},m(u,b){S(u,e,b),q(e,i),q(i,t),q(e,s),q(e,o),K(f,o,null),l[9](o),n=!0,r||(d=[A(o,"click",oe(Se(l[10]))),A(o,"keydown",oe(l[11]))],r=!0)},p(u,b){(!n||b&2)&&ne(t,u[1]),(!n||b&2)&&U(i,"title",u[1]),(!n||b&4&&a!==(a=u[2]?-1:0))&&U(o,"tabindex",a),(!n||b&4)&&U(o,"disabled",u[2]),(!n||b&16)&&U(o,"title",u[4]),(!n||b&4)&&I(e,"bx--tag--disabled",u[2])},i(u){n||(W(f.$$.fragment,u),n=!0)},o(u){L(f.$$.fragment,u),n=!1},d(u){u&&v(e),Q(f),l[9](null),r=!1,re(d)}}}function Oe(l){let e;return{c(){e=ie(l[1])},l(i){e=te(i,l[1])},m(i,t){S(i,e,t)},p(i,t){t&2&&ne(e,i[1])},d(i){i&&v(e)}}}function ei(l){let e,i,t,s;const o=[$l,pl],f=[];function a(n,r){return n[1]!==void 0?0:1}return e=a(l),i=f[e]=o[e](l),{c(){i.c(),t=y()},l(n){i.l(n),t=y()},m(n,r){f[e].m(n,r),S(n,t,r),s=!0},p(n,[r]){let d=e;e=a(n),e===d?f[e].p(n,r):(ae(),L(f[d],1,1,()=>{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 Ye(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}),Xe=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<b.length;c+=1)g=B(g,b[c]);let _=l[13]&&Ge(),m=!l[13]&&l[14]&&He(),T=l[1]&&Je(l);return n=new Ql({props:{translateWithId:l[17],open:l[2]}}),n.$on("click",l[47]),{c(){e=V("input"),s=Y(),_&&_.c(),o=Y(),m&&m.c(),f=Y(),T&&T.c(),a=Y(),H(n.$$.fragment),this.h()},l(c){e=R(c,"INPUT",{tabindex:!0,autocomplete:!0,"aria-autocomplete":!0,"aria-expanded":!0,"aria-activedescendant":!0,"aria-labelledby":!0,"aria-disabled":!0,"aria-controls":!0,"aria-owns":!0,placeholder:!0,id:!0,name:!0}),s=X(c),_&&_.l(c),o=X(c),m&&m.l(c),f=X(c),T&&T.l(c),a=X(c),J(n.$$.fragment,c),this.h()},h(){O(e,g),I(e,"bx--text-input",!0),I(e,"bx--text-input--light",l[16]),I(e,"bx--text-input--empty",l[1]==="")},m(c,k){S(c,e,k),e.autofocus&&e.focus(),l[41](e),Re(e,l[1]),S(c,s,k),_&&_.m(c,k),S(c,o,k),m&&m.m(c,k),S(c,f,k),T&&T.m(c,k),S(c,a,k),K(n,c,k),r=!0,d||(u=[A(e,"input",l[42]),A(e,"input",l[43]),A(e,"keydown",l[35]),A(e,"keydown",oe(l[44])),A(e,"keyup",l[36]),A(e,"focus",l[37]),A(e,"blur",l[38]),A(e,"blur",l[45]),A(e,"paste",l[39])],d=!0)},p(c,k){O(e,g=le(b,[{tabindex:"0"},{autocomplete:"off"},{"aria-autocomplete":"list"},(!r||k[0]&4)&&{"aria-expanded":c[2]},(!r||k[0]&33554432)&&{"aria-activedescendant":c[25]},(!r||k[0]&67108864)&&{"aria-labelledby":c[26]},(!r||k[0]&256)&&{"aria-disabled":c[8]},(!r||k[0]&134217732&&i!==(i=c[2]?c[27]:void 0))&&{"aria-controls":i},(!r||k[0]&134217732&&t!==(t=c[2]?c[27]:void 0))&&{"aria-owns":t},(!r||k[0]&256)&&{disabled:c[8]},(!r||k[0]&1024)&&{placeholder:c[10]},(!r||k[0]&524288)&&{id:c[19]},(!r||k[0]&1048576)&&{name:c[20]},k[0]&1073741824&&c[30]])),k[0]&2&&e.value!==c[1]&&Re(e,c[1]),I(e,"bx--text-input",!0),I(e,"bx--text-input--light",c[16]),I(e,"bx--text-input--empty",c[1]===""),c[13]?_?k[0]&8192&&W(_,1):(_=Ge(),_.c(),W(_,1),_.m(o.parentNode,o)):_&&(ae(),L(_,1,1,()=>{_=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],Xe),f=o||fi(l);let a=l[22]&&l[22].id===l[56].id&&Qe();return{c(){f&&f.c(),e=Y(),a&&a.c(),i=Y()},l(n){f&&f.l(n),e=X(n),a&&a.l(n),i=X(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]),Xe):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.length;a+=1){let n=Ye(l,o,a),r=f(n);i.set(r,e[a]=Ze(r,n))}return{c(){for(let a=0;a<e.length;a+=1)e[a].c();t=y()},l(a){for(let n=0;n<e.length;n+=1)e[n].l(a);t=y()},m(a,n){for(let r=0;r<e.length;r+=1)e[r]&&e[r].m(a,n);S(a,t,n),s=!0},p(a,n){n[0]&29360167|n[1]&4194304&&(o=a[24],ae(),e=El(e,n,f,1,a,o,i,t.parentNode,Wl,Ze,t,Ye),fe())},i(a){if(!s){for(let n=0;n<o.length;n+=1)W(e[n]);s=!0}},o(a){for(let n=0;n<e.length;n+=1)L(e[n]);s=!1},d(a){for(let n=0;n<e.length;n+=1)e[n].d(a);a&&v(t)}}}function oi(l){let e,i,t,s;e=new Ol({props:{role:"button","aria-expanded":l[2],id:l[19],disabled:l[8],translateWithId:l[17],$$slots:{default:[ai]},$$scope:{ctx:l}}}),e.$on("click",l[48]);let o=l[2]&&Ke(l);return{c(){H(e.$$.fragment),i=Y(),o&&o.c(),t=y()},l(f){J(e.$$.fragment,f),i=X(f),o&&o.l(f),t=y()},m(f,a){K(e,f,a),S(f,i,a),o&&o.m(f,a),S(f,t,a),s=!0},p(f,a){const n={};a[0]&4&&(n["aria-expanded"]=f[2]),a[0]&524288&&(n.id=f[19]),a[0]&256&&(n.disabled=f[8]),a[0]&131072&&(n.translateWithId=f[17]),a[0]&1340040495|a[1]&4194304&&(n.$$scope={dirty:a,ctx:f}),e.$set(n),f[2]?o?(o.p(f,a),a[0]&4&&W(o,1)):(o=Ke(f),o.c(),W(o,1),o.m(t.parentNode,t)):o&&(ae(),L(o,1,1,()=>{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=Y(),H(t.$$.fragment),s=Y(),r&&r.c(),this.h()},l(d){e=R(d,"DIV",{});var u=N(e);n&&n.l(u),i=X(u),J(t.$$.fragment,u),s=X(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 _i=bi;export{_i as C,Rl as L,Ql as a,Gl as b,xl as c,Ol as d,ti as e};
 
 
web/blueprint/build/_app/immutable/chunks/ComboBox.706ac587.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as p,i as $,s as ee,E as B,_ as Ae,$ as ze,m as N,h as v,n as U,a0 as Pe,b as S,J as q,O as le,a1 as Ve,D as F,F as Z,q as ie,r as te,u as ne,G as he,k as V,a as Y,e as y,l as R,c as X,I as O,H as I,K as A,ab as Se,L as me,M as ce,N as _e,g as W,d as L,P as re,Q as M,aa as oe,ac 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,a9 as Re,U as vl,V as Tl,X as El,Y as Wl}from"./index.4b0e533a.js";import{C as Cl,W as Sl,b as Ll}from"./SelectItem.ef497543.js";import{C as pe}from"./Toggle.f17d1ef5.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<s.length;f+=1)o=B(o,s[f]);return{c(){e=Ae("svg"),t&&t.c(),i=Ae("path"),this.h()},l(f){e=ze(f,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var a=N(e);t&&t.l(a),i=ze(a,"path",{d:!0}),N(i).forEach(v),a.forEach(v),this.h()},h(){U(i,"d","M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"),Pe(e,o)},m(f,a){S(f,e,a),t&&t.m(e,null),q(e,i)},p(f,[a]){f[1]?t?t.p(f,a):(t=Fe(f),t.c(),t.m(e,i)):t&&(t.d(1),t=null),Pe(e,o=le(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},a&1&&{width:f[0]},a&1&&{height:f[0]},a&4&&f[2],a&8&&f[3]]))},i:Ve,o:Ve,d(f){f&&v(e),t&&t.d()}}}function zl(l,e,i){let t,s;const o=["size","title"];let f=F(e,o),{size:a=16}=e,{title:n=void 0}=e;return l.$$set=r=>{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<u.length;m+=1)b=B(b,u[m]);let g=l[5]&&Ue(l),_=!l[5]&&l[7]&&qe(l);return{c(){e=V("div"),d&&d.c(),t=Y(),g&&g.c(),s=Y(),_&&_.c(),o=y(),this.h()},l(m){e=R(m,"DIV",{role:!0,tabindex:!0,"data-invalid":!0});var T=N(e);d&&d.l(T),T.forEach(v),t=X(m),g&&g.l(m),s=X(m),_&&_.l(m),o=y(),this.h()},h(){O(e,b),I(e,"bx--list-box",!0),I(e,"bx--list-box--sm",l[0]==="sm"),I(e,"bx--list-box--xl",l[0]==="xl"),I(e,"bx--list-box--inline",l[1]==="inline"),I(e,"bx--list-box--disabled",l[4]),I(e,"bx--list-box--expanded",l[2]),I(e,"bx--list-box--light",l[3]),I(e,"bx--list-box--warning",!l[5]&&l[7])},m(m,T){S(m,e,T),d&&d.m(e,null),S(m,t,T),g&&g.m(m,T),S(m,s,T),_&&_.m(m,T),S(m,o,T),f=!0,a||(n=[A(e,"keydown",l[12]),A(e,"keydown",Nl),A(e,"click",Se(l[13]))],a=!0)},p(m,[T]){d&&d.p&&(!f||T&1024)&&me(d,r,m,m[10],f?_e(r,m[10],T,null):ce(m[10]),null),O(e,b=le(u,[{role:"listbox"},{tabindex:"-1"},(!f||T&32&&i!==(i=m[5]||void 0))&&{"data-invalid":i},T&512&&m[9]])),I(e,"bx--list-box",!0),I(e,"bx--list-box--sm",m[0]==="sm"),I(e,"bx--list-box--xl",m[0]==="xl"),I(e,"bx--list-box--inline",m[1]==="inline"),I(e,"bx--list-box--disabled",m[4]),I(e,"bx--list-box--expanded",m[2]),I(e,"bx--list-box--light",m[3]),I(e,"bx--list-box--warning",!m[5]&&m[7]),m[5]?g?g.p(m,T):(g=Ue(m),g.c(),g.m(s.parentNode,s)):g&&(g.d(1),g=null),!m[5]&&m[7]?_?_.p(m,T):(_=qe(m),_.c(),_.m(o.parentNode,o)):_&&(_.d(1),_=null)},i(m){f||(W(d,m),f=!0)},o(m){L(d,m),f=!1},d(m){m&&v(e),d&&d.d(m),m&&v(t),g&&g.d(m),m&&v(s),_&&_.d(m),m&&v(o),a=!1,re(n)}}}const Nl=l=>{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;g<u.length;g+=1)b=B(b,u[g]);return{c(){e=V("div"),d&&d.c(),this.h()},l(g){e=R(g,"DIV",{role:!0,"aria-expanded":!0,"aria-owns":!0,"aria-controls":!0,"aria-disabled":!0,"aria-label":!0,tabindex:!0});var _=N(e);d&&d.l(_),_.forEach(v),this.h()},h(){O(e,b),I(e,"bx--list-box__field",!0)},m(g,_){S(g,e,_),d&&d.m(e,null),l[19](e),f=!0,a||(n=[A(e,"click",l[12]),A(e,"mouseover",l[13]),A(e,"mouseenter",l[14]),A(e,"mouseleave",l[15]),A(e,"keydown",oe(l[16])),A(e,"focus",l[17]),A(e,"blur",l[18])],a=!0)},p(g,[_]){d&&d.p&&(!f||_&1024)&&me(d,r,g,g[10],f?_e(r,g[10],_,null):ce(g[10]),null),O(e,b=le(u,[(!f||_&4)&&{role:g[2]},(!f||_&64)&&{"aria-expanded":g[6]},(!f||_&96&&i!==(i=g[6]&&g[5]||void 0))&&{"aria-owns":i},(!f||_&96&&t!==(t=g[6]&&g[5]||void 0))&&{"aria-controls":t},(!f||_&2)&&{"aria-disabled":g[1]},(!f||_&80&&s!==(s=g[6]?g[4]("close"):g[4]("open")))&&{"aria-label":s},(!f||_&10&&o!==(o=g[1]?"-1":g[3]))&&{tabindex:o},_&128&&g[7]])),I(e,"bx--list-box__field",!0)},i(g){f||(W(d,g),f=!0)},o(g){L(d,g),f=!1},d(g){g&&v(e),d&&d.d(g),l[19](null),a=!1,re(n)}}}function Ul(l,e,i){let t,s;const o=["disabled","role","tabindex","translationIds","translateWithId","id","ref"];let f=F(e,o),{$$slots:a={},$$scope:n}=e,{disabled:r=!1}=e,{role:d="combobox"}=e,{tabindex:u="-1"}=e;const b={close:"close",open:"open"};let{translateWithId:g=E=>T[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 Yl(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.length;d+=1)r=B(r,n[d]);return{c(){e=V("div"),a&&a.c(),this.h()},l(d){e=R(d,"DIV",{role:!0,id:!0});var u=N(e);a&&a.l(u),u.forEach(v),this.h()},h(){O(e,r),I(e,"bx--list-box__menu",!0)},m(d,u){S(d,e,u),a&&a.m(e,null),l[6](e),t=!0,s||(o=A(e,"scroll",l[5]),s=!0)},p(d,[u]){a&&a.p&&(!t||u&8)&&me(a,f,d,d[3],t?_e(f,d[3],u,null):ce(d[3]),null),O(e,r=le(n,[{role:"listbox"},(!t||u&2&&i!==(i="menu-"+d[1]))&&{id:i},u&4&&d[2]])),I(e,"bx--list-box__menu",!0)},i(d){t||(W(a,d),t=!0)},o(d){L(a,d),t=!1},d(d){d&&v(e),a&&a.d(d),l[6](null),s=!1,o()}}}function Xl(l,e,i){const t=["id","ref"];let s=F(e,t),{$$slots:o={},$$scope:f}=e,{id:a="ccs-"+Math.random().toString(36)}=e,{ref:n=null}=e;function r(u){M.call(this,l,u)}function d(u){se[u?"unshift":"push"](()=>{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,Xl,Yl,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;n<f.length;n+=1)a=B(a,f[n]);return{c(){e=V("div"),H(i.$$.fragment),this.h()},l(n){e=R(n,"DIV",{});var r=N(e);J(i.$$.fragment,r),r.forEach(v),this.h()},h(){O(e,a),I(e,"bx--list-box__menu-icon",!0),I(e,"bx--list-box__menu-icon--open",l[0])},m(n,r){S(n,e,r),K(i,e,null),t=!0,s||(o=A(e,"click",Se(l[6])),s=!0)},p(n,[r]){const d={};r&2&&(d["aria-label"]=n[1]),r&2&&(d.title=n[1]),i.$set(d),O(e,a=le(f,[r&4&&n[2]])),I(e,"bx--list-box__menu-icon",!0),I(e,"bx--list-box__menu-icon--open",n[0])},i(n){t||(W(i.$$.fragment,n),t=!0)},o(n){L(i.$$.fragment,n),t=!1},d(n){n&&v(e),Q(i),s=!1,o()}}}function Jl(l,e,i){let t,s;const o=["open","translationIds","translateWithId"];let f=F(e,o),{open:a=!1}=e;const n={close:"close",open:"open"};let{translateWithId:r=b=>d[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<r.length;u+=1)d=B(d,r[u]);return{c(){e=V("div"),i=V("div"),n&&n.c(),this.h()},l(u){e=R(u,"DIV",{role:!0,tabindex:!0,"aria-selected":!0,disabled:!0});var b=N(e);i=R(b,"DIV",{title:!0});var g=N(i);n&&n.l(g),g.forEach(v),b.forEach(v),this.h()},h(){U(i,"title",l[4]),I(i,"bx--list-box__menu-item__option",!0),O(e,d),I(e,"bx--list-box__menu-item",!0),I(e,"bx--list-box__menu-item--active",l[0]),I(e,"bx--list-box__menu-item--highlighted",l[1]||l[0])},m(u,b){S(u,e,b),q(e,i),n&&n.m(i,null),l[12](i),s=!0,o||(f=[A(e,"click",l[9]),A(e,"mouseenter",l[10]),A(e,"mouseleave",l[11])],o=!0)},p(u,[b]){n&&n.p&&(!s||b&128)&&me(n,a,u,u[7],s?_e(a,u[7],b,null):ce(u[7]),null),(!s||b&16)&&U(i,"title",u[4]),O(e,d=le(r,[{role:"option"},{tabindex:"-1"},(!s||b&1)&&{"aria-selected":u[0]},(!s||b&4&&t!==(t=u[2]?!0:void 0))&&{disabled:t},b&32&&u[5]])),I(e,"bx--list-box__menu-item",!0),I(e,"bx--list-box__menu-item--active",u[0]),I(e,"bx--list-box__menu-item--highlighted",u[1]||u[0])},i(u){s||(W(n,u),s=!0)},o(u){L(n,u),s=!1},d(u){u&&v(e),n&&n.d(u),l[12](null),o=!1,re(f)}}}function wl(l,e,i){let t,s;const o=["active","highlighted","disabled"];let f=F(e,o),{$$slots:a={},$$scope:n}=e,{active:r=!1}=e,{highlighted:d=!1}=e,{disabled:u=!1}=e,b=null;function g(c){M.call(this,l,c)}function _(c){M.call(this,l,c)}function m(c){M.call(this,l,c)}function T(c){se[c?"unshift":"push"](()=>{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<r.length;u+=1)d=B(d,r[u]);return{c(){e=V("div"),n&&n.c(),i=Y(),H(t.$$.fragment),this.h()},l(u){e=R(u,"DIV",{role:!0,"aria-label":!0,title:!0,tabindex:!0});var b=N(e);n&&n.l(b),i=X(b),J(t.$$.fragment,b),b.forEach(v),this.h()},h(){O(e,d),I(e,"bx--list-box__selection",!0),I(e,"bx--tag--filter",l[1]),I(e,"bx--list-box__selection--multi",l[1])},m(u,b){S(u,e,b),n&&n.m(e,null),q(e,i),K(t,e,null),l[12](e),o=!0,f||(a=[A(e,"click",oe(Se(l[13]))),A(e,"keydown",oe(l[14]))],f=!0)},p(u,b){u[1]!==void 0?n?n.p(u,b):(n=Oe(u),n.c(),n.m(e,i)):n&&(n.d(1),n=null),O(e,d=le(r,[{role:"button"},(!o||b&16)&&{"aria-label":u[4]},(!o||b&16)&&{title:u[4]},(!o||b&4&&s!==(s=u[2]?"-1":"0"))&&{tabindex:s},b&64&&u[6]])),I(e,"bx--list-box__selection",!0),I(e,"bx--tag--filter",u[1]),I(e,"bx--list-box__selection--multi",u[1])},i(u){o||(W(t.$$.fragment,u),o=!0)},o(u){L(t.$$.fragment,u),o=!1},d(u){u&&v(e),n&&n.d(),Q(t),l[12](null),f=!1,re(a)}}}function $l(l){let e,i,t,s,o,f,a,n,r,d;return f=new pe({}),{c(){e=V("div"),i=V("span"),t=ie(l[1]),s=Y(),o=V("div"),H(f.$$.fragment),this.h()},l(u){e=R(u,"DIV",{});var b=N(e);i=R(b,"SPAN",{title:!0});var g=N(i);t=te(g,l[1]),g.forEach(v),s=X(b),o=R(b,"DIV",{role:!0,tabindex:!0,disabled:!0,"aria-label":!0,title:!0});var _=N(o);J(f.$$.fragment,_),_.forEach(v),b.forEach(v),this.h()},h(){U(i,"title",l[1]),I(i,"bx--tag__label",!0),U(o,"role","button"),U(o,"tabindex",a=l[2]?-1:0),U(o,"disabled",l[2]),U(o,"aria-label",l[3].clearAll),U(o,"title",l[4]),I(o,"bx--tag__close-icon",!0),I(e,"bx--tag",!0),I(e,"bx--tag--filter",!0),I(e,"bx--tag--high-contrast",!0),I(e,"bx--tag--disabled",l[2])},m(u,b){S(u,e,b),q(e,i),q(i,t),q(e,s),q(e,o),K(f,o,null),l[9](o),n=!0,r||(d=[A(o,"click",oe(Se(l[10]))),A(o,"keydown",oe(l[11]))],r=!0)},p(u,b){(!n||b&2)&&ne(t,u[1]),(!n||b&2)&&U(i,"title",u[1]),(!n||b&4&&a!==(a=u[2]?-1:0))&&U(o,"tabindex",a),(!n||b&4)&&U(o,"disabled",u[2]),(!n||b&16)&&U(o,"title",u[4]),(!n||b&4)&&I(e,"bx--tag--disabled",u[2])},i(u){n||(W(f.$$.fragment,u),n=!0)},o(u){L(f.$$.fragment,u),n=!1},d(u){u&&v(e),Q(f),l[9](null),r=!1,re(d)}}}function Oe(l){let e;return{c(){e=ie(l[1])},l(i){e=te(i,l[1])},m(i,t){S(i,e,t)},p(i,t){t&2&&ne(e,i[1])},d(i){i&&v(e)}}}function ei(l){let e,i,t,s;const o=[$l,pl],f=[];function a(n,r){return n[1]!==void 0?0:1}return e=a(l),i=f[e]=o[e](l),{c(){i.c(),t=y()},l(n){i.l(n),t=y()},m(n,r){f[e].m(n,r),S(n,t,r),s=!0},p(n,[r]){let d=e;e=a(n),e===d?f[e].p(n,r):(ae(),L(f[d],1,1,()=>{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 Ye(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}),Xe=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<b.length;c+=1)g=B(g,b[c]);let _=l[13]&&Ge(),m=!l[13]&&l[14]&&He(),T=l[1]&&Je(l);return n=new Ql({props:{translateWithId:l[17],open:l[2]}}),n.$on("click",l[47]),{c(){e=V("input"),s=Y(),_&&_.c(),o=Y(),m&&m.c(),f=Y(),T&&T.c(),a=Y(),H(n.$$.fragment),this.h()},l(c){e=R(c,"INPUT",{tabindex:!0,autocomplete:!0,"aria-autocomplete":!0,"aria-expanded":!0,"aria-activedescendant":!0,"aria-labelledby":!0,"aria-disabled":!0,"aria-controls":!0,"aria-owns":!0,placeholder:!0,id:!0,name:!0}),s=X(c),_&&_.l(c),o=X(c),m&&m.l(c),f=X(c),T&&T.l(c),a=X(c),J(n.$$.fragment,c),this.h()},h(){O(e,g),I(e,"bx--text-input",!0),I(e,"bx--text-input--light",l[16]),I(e,"bx--text-input--empty",l[1]==="")},m(c,k){S(c,e,k),e.autofocus&&e.focus(),l[41](e),Re(e,l[1]),S(c,s,k),_&&_.m(c,k),S(c,o,k),m&&m.m(c,k),S(c,f,k),T&&T.m(c,k),S(c,a,k),K(n,c,k),r=!0,d||(u=[A(e,"input",l[42]),A(e,"input",l[43]),A(e,"keydown",l[35]),A(e,"keydown",oe(l[44])),A(e,"keyup",l[36]),A(e,"focus",l[37]),A(e,"blur",l[38]),A(e,"blur",l[45]),A(e,"paste",l[39])],d=!0)},p(c,k){O(e,g=le(b,[{tabindex:"0"},{autocomplete:"off"},{"aria-autocomplete":"list"},(!r||k[0]&4)&&{"aria-expanded":c[2]},(!r||k[0]&33554432)&&{"aria-activedescendant":c[25]},(!r||k[0]&67108864)&&{"aria-labelledby":c[26]},(!r||k[0]&256)&&{"aria-disabled":c[8]},(!r||k[0]&134217732&&i!==(i=c[2]?c[27]:void 0))&&{"aria-controls":i},(!r||k[0]&134217732&&t!==(t=c[2]?c[27]:void 0))&&{"aria-owns":t},(!r||k[0]&256)&&{disabled:c[8]},(!r||k[0]&1024)&&{placeholder:c[10]},(!r||k[0]&524288)&&{id:c[19]},(!r||k[0]&1048576)&&{name:c[20]},k[0]&1073741824&&c[30]])),k[0]&2&&e.value!==c[1]&&Re(e,c[1]),I(e,"bx--text-input",!0),I(e,"bx--text-input--light",c[16]),I(e,"bx--text-input--empty",c[1]===""),c[13]?_?k[0]&8192&&W(_,1):(_=Ge(),_.c(),W(_,1),_.m(o.parentNode,o)):_&&(ae(),L(_,1,1,()=>{_=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],Xe),f=o||fi(l);let a=l[22]&&l[22].id===l[56].id&&Qe();return{c(){f&&f.c(),e=Y(),a&&a.c(),i=Y()},l(n){f&&f.l(n),e=X(n),a&&a.l(n),i=X(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]),Xe):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.length;a+=1){let n=Ye(l,o,a),r=f(n);i.set(r,e[a]=Ze(r,n))}return{c(){for(let a=0;a<e.length;a+=1)e[a].c();t=y()},l(a){for(let n=0;n<e.length;n+=1)e[n].l(a);t=y()},m(a,n){for(let r=0;r<e.length;r+=1)e[r]&&e[r].m(a,n);S(a,t,n),s=!0},p(a,n){n[0]&29360167|n[1]&4194304&&(o=a[24],ae(),e=El(e,n,f,1,a,o,i,t.parentNode,Wl,Ze,t,Ye),fe())},i(a){if(!s){for(let n=0;n<o.length;n+=1)W(e[n]);s=!0}},o(a){for(let n=0;n<e.length;n+=1)L(e[n]);s=!1},d(a){for(let n=0;n<e.length;n+=1)e[n].d(a);a&&v(t)}}}function oi(l){let e,i,t,s;e=new Ol({props:{role:"button","aria-expanded":l[2],id:l[19],disabled:l[8],translateWithId:l[17],$$slots:{default:[ai]},$$scope:{ctx:l}}}),e.$on("click",l[48]);let o=l[2]&&Ke(l);return{c(){H(e.$$.fragment),i=Y(),o&&o.c(),t=y()},l(f){J(e.$$.fragment,f),i=X(f),o&&o.l(f),t=y()},m(f,a){K(e,f,a),S(f,i,a),o&&o.m(f,a),S(f,t,a),s=!0},p(f,a){const n={};a[0]&4&&(n["aria-expanded"]=f[2]),a[0]&524288&&(n.id=f[19]),a[0]&256&&(n.disabled=f[8]),a[0]&131072&&(n.translateWithId=f[17]),a[0]&1340040495|a[1]&4194304&&(n.$$scope={dirty:a,ctx:f}),e.$set(n),f[2]?o?(o.p(f,a),a[0]&4&&W(o,1)):(o=Ke(f),o.c(),W(o,1),o.m(t.parentNode,t)):o&&(ae(),L(o,1,1,()=>{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=Y(),H(t.$$.fragment),s=Y(),r&&r.c(),this.h()},l(d){e=R(d,"DIV",{});var u=N(e);n&&n.l(u),i=X(u),J(t.$$.fragment,u),s=X(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 _i=bi;export{_i as C,Rl as L,Ql as a,Gl as b,xl as c,Ol as d,ti as e};
web/blueprint/build/_app/immutable/chunks/ConceptView.81069a7a.js DELETED
The diff for this file is too large to render. See raw diff
 
web/blueprint/build/_app/immutable/chunks/ConceptView.b36806c0.js ADDED
The diff for this file is too large to render. See raw diff
 
web/blueprint/build/_app/immutable/chunks/Page.5c8e4c13.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import{S as be,i as ge,s as pe,E as B,_ as H,$ as W,m as S,h as g,n as v,a0 as Re,b as A,J as T,O as _e,a1 as se,D as te,F as he,q as G,r as F,u as X,G as we,ao as jt,e as le,a as x,k as L,aq as Gt,ap as Ft,c as $,l as R,I as ie,H as m,K as J,L as ye,M as Te,N as Se,g as O,v as ce,d as z,f as de,P as Ze,ac as Mt,C as Dt,R as Ae,T as Qt,j as It,x as ze,y as ae,z as ve,A as oe,B as ue,Q as Ie,w as je,aj as Ut,p as Pe,ad as Yt,ae as Ht,W as Wt,aa as Kt,a6 as Ct,a8 as Ot,X as Jt,Y as Xt}from"./index.4b0e533a.js";import{E as Zt,C as xt,f as $t,i as rt,h as el,g as tl,p as ll,j as il,r as N,O as q,e as re,k as Me,b as ee,l as rl,T as nl,w as sl,A as al,q as ol,a as Pt,B as ul}from"./taskMonitoringStore.c95c5d53.js";import{w as We}from"./index.08270dac.js";function nt(l){let e,t;return{c(){e=H("title"),t=G(l[1])},l(i){e=W(i,"title",{});var r=S(e);t=F(r,l[1]),r.forEach(g)},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&g(e)}}}function fl(l){let e,t,i,r,n=l[1]&&nt(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 a=0;a<s.length;a+=1)o=B(o,s[a]);return{c(){e=H("svg"),n&&n.c(),t=H("circle"),i=H("circle"),r=H("circle"),this.h()},l(a){e=W(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var u=S(e);n&&n.l(u),t=W(u,"circle",{cx:!0,cy:!0,r:!0}),S(t).forEach(g),i=W(u,"circle",{cx:!0,cy:!0,r:!0}),S(i).forEach(g),r=W(u,"circle",{cx:!0,cy:!0,r:!0}),S(r).forEach(g),u.forEach(g),this.h()},h(){v(t,"cx","16"),v(t,"cy","8"),v(t,"r","2"),v(i,"cx","16"),v(i,"cy","16"),v(i,"r","2"),v(r,"cx","16"),v(r,"cy","24"),v(r,"r","2"),Re(e,o)},m(a,u){A(a,e,u),n&&n.m(e,null),T(e,t),T(e,i),T(e,r)},p(a,[u]){a[1]?n?n.p(a,u):(n=nt(a),n.c(),n.m(e,t)):n&&(n.d(1),n=null),Re(e,o=_e(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},u&1&&{width:a[0]},u&1&&{height:a[0]},u&4&&a[2],u&8&&a[3]]))},i:se,o:se,d(a){a&&g(e),n&&n.d()}}}function cl(l,e,t){let i,r;const n=["size","title"];let s=te(e,n),{size:o=16}=e,{title:a=void 0}=e;return l.$$set=u=>{t(5,e=B(B({},e),he(u))),t(3,s=te(e,n)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||a),t(2,r={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=he(e),[o,a,r,s,i]}class dl extends be{constructor(e){super(),ge(this,e,cl,fl,pe,{size:0,title:1})}}const ml=dl;function st(l){let e,t;return{c(){e=H("title"),t=G(l[1])},l(i){e=W(i,"title",{});var r=S(e);t=F(r,l[1]),r.forEach(g)},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&g(e)}}}function hl(l){let e,t,i,r,n=l[1]&&st(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 a=0;a<s.length;a+=1)o=B(o,s[a]);return{c(){e=H("svg"),n&&n.c(),t=H("circle"),i=H("circle"),r=H("circle"),this.h()},l(a){e=W(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var u=S(e);n&&n.l(u),t=W(u,"circle",{cx:!0,cy:!0,r:!0}),S(t).forEach(g),i=W(u,"circle",{cx:!0,cy:!0,r:!0}),S(i).forEach(g),r=W(u,"circle",{cx:!0,cy:!0,r:!0}),S(r).forEach(g),u.forEach(g),this.h()},h(){v(t,"cx","8"),v(t,"cy","16"),v(t,"r","2"),v(i,"cx","16"),v(i,"cy","16"),v(i,"r","2"),v(r,"cx","24"),v(r,"cy","16"),v(r,"r","2"),Re(e,o)},m(a,u){A(a,e,u),n&&n.m(e,null),T(e,t),T(e,i),T(e,r)},p(a,[u]){a[1]?n?n.p(a,u):(n=st(a),n.c(),n.m(e,t)):n&&(n.d(1),n=null),Re(e,o=_e(s,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},u&1&&{width:a[0]},u&1&&{height:a[0]},u&4&&a[2],u&8&&a[3]]))},i:se,o:se,d(a){a&&g(e),n&&n.d()}}}function _l(l,e,t){let i,r;const n=["size","title"];let s=te(e,n),{size:o=16}=e,{title:a=void 0}=e;return l.$$set=u=>{t(5,e=B(B({},e),he(u))),t(3,s=te(e,n)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||a),t(2,r={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=he(e),[o,a,r,s,i]}class bl extends be{constructor(e){super(),ge(this,e,_l,hl,pe,{size:0,title:1})}}const gl=bl,pl=l=>({}),at=l=>({});function vl(l){let e,t,i;var r=l[1];function n(s){return{props:{"aria-label":s[10],title:s[10],class:"bx--overflow-menu__icon "+s[9]}}}return r&&(e=ze(r,n(l))),{c(){e&&ae(e.$$.fragment),t=le()},l(s){e&&ve(e.$$.fragment,s),t=le()},m(s,o){e&&oe(e,s,o),A(s,t,o),i=!0},p(s,o){const a={};if(o[0]&1024&&(a["aria-label"]=s[10]),o[0]&1024&&(a.title=s[10]),o[0]&512&&(a.class="bx--overflow-menu__icon "+s[9]),o[0]&2&&r!==(r=s[1])){if(e){ce();const u=e;z(u.$$.fragment,1,0,()=>{ue(u,1)}),de()}r?(e=ze(r,n(s)),ae(e.$$.fragment),O(e.$$.fragment,1),oe(e,t.parentNode,t)):e=null}else r&&e.$set(a)},i(s){i||(e&&O(e.$$.fragment,s),i=!0)},o(s){e&&z(e.$$.fragment,s),i=!1},d(s){s&&g(t),e&&ue(e,s)}}}function ot(l){let e,t;const i=l[24].default,r=we(i,l,l[23],null);return{c(){e=L("ul"),r&&r.c(),this.h()},l(n){e=R(n,"UL",{role:!0,tabindex:!0,"aria-label":!0,"data-floating-menu-direction":!0,class:!0});var s=S(e);r&&r.l(s),s.forEach(g),this.h()},h(){v(e,"role","menu"),v(e,"tabindex","-1"),v(e,"aria-label",l[13]),v(e,"data-floating-menu-direction",l[5]),v(e,"class",l[8]),m(e,"bx--overflow-menu-options",!0),m(e,"bx--overflow-menu--flip",l[7]),m(e,"bx--overflow-menu-options--open",l[0]),m(e,"bx--overflow-menu-options--light",l[6]),m(e,"bx--overflow-menu-options--sm",l[4]==="sm"),m(e,"bx--overflow-menu-options--xl",l[4]==="xl"),m(e,"bx--breadcrumb-menu-options",!!l[14])},m(n,s){A(n,e,s),r&&r.m(e,null),l[31](e),t=!0},p(n,s){r&&r.p&&(!t||s[0]&8388608)&&ye(r,i,n,n[23],t?Se(i,n[23],s,null):Te(n[23]),null),(!t||s[0]&8192)&&v(e,"aria-label",n[13]),(!t||s[0]&32)&&v(e,"data-floating-menu-direction",n[5]),(!t||s[0]&256)&&v(e,"class",n[8]),(!t||s[0]&256)&&m(e,"bx--overflow-menu-options",!0),(!t||s[0]&384)&&m(e,"bx--overflow-menu--flip",n[7]),(!t||s[0]&257)&&m(e,"bx--overflow-menu-options--open",n[0]),(!t||s[0]&320)&&m(e,"bx--overflow-menu-options--light",n[6]),(!t||s[0]&272)&&m(e,"bx--overflow-menu-options--sm",n[4]==="sm"),(!t||s[0]&272)&&m(e,"bx--overflow-menu-options--xl",n[4]==="xl"),(!t||s[0]&16640)&&m(e,"bx--breadcrumb-menu-options",!!n[14])},i(n){t||(O(r,n),t=!0)},o(n){z(r,n),t=!1},d(n){n&&g(e),r&&r.d(n),l[31](null)}}}function kl(l){let e,t,i,r,n,s,o,a;const u=l[24].menu,c=we(u,l,l[23],at),f=c||vl(l);let h=l[0]&&ot(l),d=[{type:"button"},{"aria-haspopup":""},{"aria-expanded":l[0]},{"aria-label":l[13]},{id:l[11]},l[19]],b={};for(let _=0;_<d.length;_+=1)b=B(b,d[_]);return{c(){e=new jt(!1),t=le(),i=x(),r=L("button"),f&&f.c(),n=x(),h&&h.c(),this.h()},l(_){const k=Gt("svelte-7ztmff",document.head);e=Ft(k,!1),t=le(),k.forEach(g),i=$(_),r=R(_,"BUTTON",{type:!0,"aria-haspopup":!0,"aria-expanded":!0,"aria-label":!0,id:!0});var w=S(r);f&&f.l(w),n=$(w),h&&h.l(w),w.forEach(g),this.h()},h(){e.a=t,ie(r,b),m(r,"bx--overflow-menu",!0),m(r,"bx--overflow-menu--open",l[0]),m(r,"bx--overflow-menu--light",l[6]),m(r,"bx--overflow-menu--sm",l[4]==="sm"),m(r,"bx--overflow-menu--xl",l[4]==="xl")},m(_,k){e.m(l[12],document.head),T(document.head,t),A(_,i,k),A(_,r,k),f&&f.m(r,null),T(r,n),h&&h.m(r,null),r.autofocus&&r.focus(),l[32](r),s=!0,o||(a=[J(window,"click",l[30]),J(r,"click",l[25]),J(r,"click",l[33]),J(r,"mouseover",l[26]),J(r,"mouseenter",l[27]),J(r,"mouseleave",l[28]),J(r,"keydown",l[29]),J(r,"keydown",l[34]),J(r,"focusout",l[35])],o=!0)},p(_,k){(!s||k[0]&4096)&&e.p(_[12]),c?c.p&&(!s||k[0]&8388608)&&ye(c,u,_,_[23],s?Se(u,_[23],k,pl):Te(_[23]),at):f&&f.p&&(!s||k[0]&1538)&&f.p(_,s?k:[-1,-1]),_[0]?h?(h.p(_,k),k[0]&1&&O(h,1)):(h=ot(_),h.c(),O(h,1),h.m(r,null)):h&&(ce(),z(h,1,1,()=>{h=null}),de()),ie(r,b=_e(d,[{type:"button"},{"aria-haspopup":""},(!s||k[0]&1)&&{"aria-expanded":_[0]},(!s||k[0]&8192)&&{"aria-label":_[13]},(!s||k[0]&2048)&&{id:_[11]},k[0]&524288&&_[19]])),m(r,"bx--overflow-menu",!0),m(r,"bx--overflow-menu--open",_[0]),m(r,"bx--overflow-menu--light",_[6]),m(r,"bx--overflow-menu--sm",_[4]==="sm"),m(r,"bx--overflow-menu--xl",_[4]==="xl")},i(_){s||(O(f,_),O(h),s=!0)},o(_){z(f,_),z(h),s=!1},d(_){g(t),_&&e.d(),_&&g(i),_&&g(r),f&&f.d(_),h&&h.d(),l[32](null),o=!1,Ze(a)}}}function El(l,e,t){let i,r;const n=["size","direction","open","light","flipped","menuOptionsClass","icon","iconClass","iconDescription","id","buttonRef","menuRef"];let s=te(e,n),o,a,u,{$$slots:c={},$$scope:f}=e,{size:h=void 0}=e,{direction:d="bottom"}=e,{open:b=!1}=e,{light:_=!1}=e,{flipped:k=!1}=e,{menuOptionsClass:w=void 0}=e,{icon:p=ml}=e,{iconClass:M=void 0}=e,{iconDescription:D="Open and close list of options"}=e,{id:E="ccs-"+Math.random().toString(36)}=e,{buttonRef:P=null}=e,{menuRef:V=null}=e;const me=Mt("BreadcrumbItem"),U=Dt(),j=We([]);Ae(l,j,y=>t(22,a=y));const ke=We(void 0);Ae(l,ke,y=>t(37,u=y));const Z=We(void 0),Ee=We(-1);Ae(l,Ee,y=>t(21,o=y));let C,Q=!0;Qt("OverflowMenu",{focusedId:Z,add:({id:y,text:Y,primaryFocus:Ve,disabled:Bt})=>{j.update(xe=>(Ve&&Ee.set(xe.length),[...xe,{id:y,text:Y,primaryFocus:Ve,disabled:Bt,index:xe.length}]))},update:y=>{ke.set(y)},change:y=>{let Y=o+y;Y<0?Y=a.length-1:Y>=a.length&&(Y=0);let Ve=a[Y].disabled;for(;Ve;)Y=Y+y,Y<0?Y=a.length-1:Y>=a.length&&(Y=0),Ve=a[Y].disabled;Ee.set(Y)}}),It(()=>{if(u){const{index:y,text:Y}=a.filter(Ve=>Ve.id===u)[0];U("close",{index:y,text:Y}),t(0,b=!1)}if(b){const{width:y,height:Y}=P.getBoundingClientRect();t(20,C=y),!Q&&o<0&&V.focus(),k&&(t(3,V.style.left="auto",V),t(3,V.style.right=0,V)),d==="top"?(t(3,V.style.top="auto",V),t(3,V.style.bottom=Y+"px",V)):d==="bottom"&&t(3,V.style.top=Y+"px",V),me&&(t(3,V.style.top=Y+10+"px",V),t(3,V.style.left="-11px",V))}b||(j.set([]),ke.set(void 0),Ee.set(0)),Q=!1});function fe(y){Ie.call(this,l,y)}function I(y){Ie.call(this,l,y)}function Be(y){Ie.call(this,l,y)}function Qe(y){Ie.call(this,l,y)}function Ue(y){Ie.call(this,l,y)}const Ye=({target:y})=>{P&&P.contains(y)||V&&!V.contains(y)&&t(0,b=!1)};function Oe(y){je[y?"unshift":"push"](()=>{V=y,t(3,V)})}function He(y){je[y?"unshift":"push"](()=>{P=y,t(2,P)})}const zt=({target:y})=>{V&&V.contains(y)||(t(0,b=!b),b||U("close"))},Nt=y=>{b&&(["ArrowDown","ArrowLeft","ArrowRight","ArrowUp"].includes(y.key)?y.preventDefault():y.key==="Escape"&&(y.stopPropagation(),U("close"),t(0,b=!1),P.focus()))},qt=y=>{b&&(P.contains(y.relatedTarget)||(U("close"),t(0,b=!1)))};return l.$$set=y=>{t(39,e=B(B({},e),he(y))),t(19,s=te(e,n)),"size"in y&&t(4,h=y.size),"direction"in y&&t(5,d=y.direction),"open"in y&&t(0,b=y.open),"light"in y&&t(6,_=y.light),"flipped"in y&&t(7,k=y.flipped),"menuOptionsClass"in y&&t(8,w=y.menuOptionsClass),"icon"in y&&t(1,p=y.icon),"iconClass"in y&&t(9,M=y.iconClass),"iconDescription"in y&&t(10,D=y.iconDescription),"id"in y&&t(11,E=y.id),"buttonRef"in y&&t(2,P=y.buttonRef),"menuRef"in y&&t(3,V=y.menuRef),"$$scope"in y&&t(23,f=y.$$scope)},l.$$.update=()=>{t(13,i=e["aria-label"]||"menu"),l.$$.dirty[0]&6291456&&a[o]&&Z.set(a[o].id),l.$$.dirty[0]&1050624&&t(12,r=`<style>
2
+ #${E} .bx--overflow-menu-options.bx--overflow-menu-options:after {
3
+ width: ${C?C+"px":"2rem"};
4
+ }
5
+ </style>`)},me&&t(1,p=gl),e=he(e),[b,p,P,V,h,d,_,k,w,M,D,E,r,i,me,U,j,ke,Ee,s,C,o,a,f,c,fe,I,Be,Qe,Ue,Ye,Oe,He,zt,Nt,qt]}class wl extends be{constructor(e){super(),ge(this,e,El,kl,pe,{size:4,direction:5,open:0,light:6,flipped:7,menuOptionsClass:8,icon:1,iconClass:9,iconDescription:10,id:11,buttonRef:2,menuRef:3},null,[-1,-1])}}const yl=wl;function Tl(l){let e,t,i,r;const n=l[16].default,s=we(n,l,l[15],null),o=s||Ml(l);let a=[l[7]],u={};for(let c=0;c<a.length;c+=1)u=B(u,a[c]);return{c(){e=L("button"),o&&o.c(),this.h()},l(c){e=R(c,"BUTTON",{});var f=S(e);o&&o.l(f),f.forEach(g),this.h()},h(){ie(e,u)},m(c,f){A(c,e,f),o&&o.m(e,null),e.autofocus&&e.focus(),l[24](e),t=!0,i||(r=[J(e,"click",l[19]),J(e,"click",l[25]),J(e,"keydown",l[20]),J(e,"keydown",l[26])],i=!0)},p(c,f){s?s.p&&(!t||f&32768)&&ye(s,n,c,c[15],t?Se(n,c[15],f,null):Te(c[15]),null):o&&o.p&&(!t||f&2)&&o.p(c,t?f:-1),ie(e,u=_e(a,[f&128&&c[7]]))},i(c){t||(O(o,c),t=!0)},o(c){z(o,c),t=!1},d(c){c&&g(e),o&&o.d(c),l[24](null),i=!1,Ze(r)}}}function Sl(l){let e,t,i,r;const n=l[16].default,s=we(n,l,l[15],null),o=s||Dl(l);let a=[l[7]],u={};for(let c=0;c<a.length;c+=1)u=B(u,a[c]);return{c(){e=L("a"),o&&o.c(),this.h()},l(c){e=R(c,"A",{});var f=S(e);o&&o.l(f),f.forEach(g),this.h()},h(){ie(e,u)},m(c,f){A(c,e,f),o&&o.m(e,null),l[21](e),t=!0,i||(r=[J(e,"click",l[17]),J(e,"click",l[22]),J(e,"keydown",l[18]),J(e,"keydown",l[23])],i=!0)},p(c,f){s?s.p&&(!t||f&32768)&&ye(s,n,c,c[15],t?Se(n,c[15],f,null):Te(c[15]),null):o&&o.p&&(!t||f&2)&&o.p(c,t?f:-1),ie(e,u=_e(a,[f&128&&c[7]]))},i(c){t||(O(o,c),t=!0)},o(c){z(o,c),t=!1},d(c){c&&g(e),o&&o.d(c),l[21](null),i=!1,Ze(r)}}}function Ml(l){let e,t;return{c(){e=L("div"),t=G(l[1]),this.h()},l(i){e=R(i,"DIV",{});var r=S(e);t=F(r,l[1]),r.forEach(g),this.h()},h(){m(e,"bx--overflow-menu-options__option-content",!0)},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&g(e)}}}function Dl(l){let e,t;return{c(){e=L("div"),t=G(l[1]),this.h()},l(i){e=R(i,"DIV",{});var r=S(e);t=F(r,l[1]),r.forEach(g),this.h()},h(){m(e,"bx--overflow-menu-options__option-content",!0)},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&g(e)}}}function Il(l){let e,t,i,r;const n=[Sl,Tl],s=[];function o(c,f){return c[2]?0:1}t=o(l),i=s[t]=n[t](l);let a=[{role:"none"},{id:l[6]},l[11]],u={};for(let c=0;c<a.length;c+=1)u=B(u,a[c]);return{c(){e=L("li"),i.c(),this.h()},l(c){e=R(c,"LI",{role:!0,id:!0});var f=S(e);i.l(f),f.forEach(g),this.h()},h(){ie(e,u),m(e,"bx--overflow-menu-options__option",!0),m(e,"bx--overflow-menu--divider",l[4]),m(e,"bx--overflow-menu-options__option--danger",l[5]),m(e,"bx--overflow-menu-options__option--disabled",l[3])},m(c,f){A(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let h=t;t=o(c),t===h?s[t].p(c,f):(ce(),z(s[h],1,1,()=>{s[h]=null}),de(),i=s[t],i?i.p(c,f):(i=s[t]=n[t](c),i.c()),O(i,1),i.m(e,null)),ie(e,u=_e(a,[{role:"none"},(!r||f&64)&&{id:c[6]},f&2048&&c[11]])),m(e,"bx--overflow-menu-options__option",!0),m(e,"bx--overflow-menu--divider",c[4]),m(e,"bx--overflow-menu-options__option--danger",c[5]),m(e,"bx--overflow-menu-options__option--disabled",c[3])},i(c){r||(O(i),r=!0)},o(c){z(i),r=!1},d(c){c&&g(e),s[t].d()}}}function Cl(l,e,t){let i;const r=["text","href","primaryFocus","disabled","hasDivider","danger","requireTitle","id","ref"];let n=te(e,r),s,{$$slots:o={},$$scope:a}=e;const u=Ut(o);let{text:c="Provide text"}=e,{href:f=""}=e,{primaryFocus:h=!1}=e,{disabled:d=!1}=e,{hasDivider:b=!1}=e,{danger:_=!1}=e,{requireTitle:k=!0}=e,{id:w="ccs-"+Math.random().toString(36)}=e,{ref:p=null}=e;const{focusedId:M,add:D,update:E,change:P}=Mt("OverflowMenu");Ae(l,M,I=>t(14,s=I)),D({id:w,text:c,primaryFocus:h,disabled:d}),It(()=>{p&&h&&p.focus()});function V(I){Ie.call(this,l,I)}function me(I){Ie.call(this,l,I)}function U(I){Ie.call(this,l,I)}function j(I){Ie.call(this,l,I)}function ke(I){je[I?"unshift":"push"](()=>{p=I,t(0,p)})}const Z=()=>{E(w)},Ee=({key:I})=>{I==="ArrowDown"?P(1):I==="ArrowUp"&&P(-1)};function C(I){je[I?"unshift":"push"](()=>{p=I,t(0,p)})}const Q=()=>{E(w)},fe=({key:I})=>{I==="ArrowDown"?P(1):I==="ArrowUp"&&P(-1)};return l.$$set=I=>{e=B(B({},e),he(I)),t(11,n=te(e,r)),"text"in I&&t(1,c=I.text),"href"in I&&t(2,f=I.href),"primaryFocus"in I&&t(12,h=I.primaryFocus),"disabled"in I&&t(3,d=I.disabled),"hasDivider"in I&&t(4,b=I.hasDivider),"danger"in I&&t(5,_=I.danger),"requireTitle"in I&&t(13,k=I.requireTitle),"id"in I&&t(6,w=I.id),"ref"in I&&t(0,p=I.ref),"$$scope"in I&&t(15,a=I.$$scope)},l.$$.update=()=>{l.$$.dirty&16448&&t(12,h=s===w),l.$$.dirty&8206&&t(7,i={role:"menuitem",tabindex:"-1",class:"bx--overflow-menu-options__btn",disabled:f?void 0:d,href:f||void 0,title:k?u.default?void 0:c:void 0})},[p,c,f,d,b,_,w,i,M,E,P,n,h,k,s,a,o,V,me,U,j,ke,Z,Ee,C,Q,fe]}class Ol extends be{constructor(e){super(),ge(this,e,Cl,Il,pe,{text:1,href:2,primaryFocus:12,disabled:3,hasDivider:4,danger:5,requireTitle:13,id:6,ref:0})}}const Pl=Ol;function Al(l){let e,t,i,r,n,s,o,a,u,c=l[0]&&ut(l),f=[{"aria-atomic":"true"},{"aria-labelledby":l[4]},{"aria-live":u=l[1]?"assertive":"off"},l[6]],h={};for(let d=0;d<f.length;d+=1)h=B(h,f[d]);return{c(){e=L("div"),t=L("label"),i=G(l[3]),r=x(),n=H("svg"),s=H("title"),o=G(l[3]),c&&c.c(),a=H("circle"),this.h()},l(d){e=R(d,"DIV",{"aria-atomic":!0,"aria-labelledby":!0,"aria-live":!0});var b=S(e);t=R(b,"LABEL",{id:!0});var _=S(t);i=F(_,l[3]),_.forEach(g),r=$(b),n=W(b,"svg",{viewBox:!0});var k=S(n);s=W(k,"title",{});var w=S(s);o=F(w,l[3]),w.forEach(g),c&&c.l(k),a=W(k,"circle",{cx:!0,cy:!0,r:!0}),S(a).forEach(g),k.forEach(g),b.forEach(g),this.h()},h(){v(t,"id",l[4]),m(t,"bx--visually-hidden",!0),v(a,"cx","50%"),v(a,"cy","50%"),v(a,"r",l[5]),m(a,"bx--loading__stroke",!0),v(n,"viewBox","0 0 100 100"),m(n,"bx--loading__svg",!0),ie(e,h),m(e,"bx--loading",!0),m(e,"bx--loading--small",l[0]),m(e,"bx--loading--stop",!l[1])},m(d,b){A(d,e,b),T(e,t),T(t,i),T(e,r),T(e,n),T(n,s),T(s,o),c&&c.m(n,null),T(n,a)},p(d,b){b&8&&X(i,d[3]),b&16&&v(t,"id",d[4]),b&8&&X(o,d[3]),d[0]?c?c.p(d,b):(c=ut(d),c.c(),c.m(n,a)):c&&(c.d(1),c=null),b&32&&v(a,"r",d[5]),ie(e,h=_e(f,[{"aria-atomic":"true"},b&16&&{"aria-labelledby":d[4]},b&2&&u!==(u=d[1]?"assertive":"off")&&{"aria-live":u},b&64&&d[6]])),m(e,"bx--loading",!0),m(e,"bx--loading--small",d[0]),m(e,"bx--loading--stop",!d[1])},d(d){d&&g(e),c&&c.d()}}}function Vl(l){let e,t,i,r,n,s,o,a,u,c,f=l[0]&&ft(l),h=[l[6]],d={};for(let b=0;b<h.length;b+=1)d=B(d,h[b]);return{c(){e=L("div"),t=L("div"),i=L("label"),r=G(l[3]),n=x(),s=H("svg"),o=H("title"),a=G(l[3]),f&&f.c(),u=H("circle"),this.h()},l(b){e=R(b,"DIV",{});var _=S(e);t=R(_,"DIV",{"aria-atomic":!0,"aria-labelledby":!0,"aria-live":!0});var k=S(t);i=R(k,"LABEL",{id:!0});var w=S(i);r=F(w,l[3]),w.forEach(g),n=$(k),s=W(k,"svg",{viewBox:!0});var p=S(s);o=W(p,"title",{});var M=S(o);a=F(M,l[3]),M.forEach(g),f&&f.l(p),u=W(p,"circle",{cx:!0,cy:!0,r:!0}),S(u).forEach(g),p.forEach(g),k.forEach(g),_.forEach(g),this.h()},h(){v(i,"id",l[4]),m(i,"bx--visually-hidden",!0),v(u,"cx","50%"),v(u,"cy","50%"),v(u,"r",l[5]),m(u,"bx--loading__stroke",!0),v(s,"viewBox","0 0 100 100"),m(s,"bx--loading__svg",!0),v(t,"aria-atomic","true"),v(t,"aria-labelledby",l[4]),v(t,"aria-live",c=l[1]?"assertive":"off"),m(t,"bx--loading",!0),m(t,"bx--loading--small",l[0]),m(t,"bx--loading--stop",!l[1]),ie(e,d),m(e,"bx--loading-overlay",!0),m(e,"bx--loading-overlay--stop",!l[1])},m(b,_){A(b,e,_),T(e,t),T(t,i),T(i,r),T(t,n),T(t,s),T(s,o),T(o,a),f&&f.m(s,null),T(s,u)},p(b,_){_&8&&X(r,b[3]),_&16&&v(i,"id",b[4]),_&8&&X(a,b[3]),b[0]?f?f.p(b,_):(f=ft(b),f.c(),f.m(s,u)):f&&(f.d(1),f=null),_&32&&v(u,"r",b[5]),_&16&&v(t,"aria-labelledby",b[4]),_&2&&c!==(c=b[1]?"assertive":"off")&&v(t,"aria-live",c),_&1&&m(t,"bx--loading--small",b[0]),_&2&&m(t,"bx--loading--stop",!b[1]),ie(e,d=_e(h,[_&64&&b[6]])),m(e,"bx--loading-overlay",!0),m(e,"bx--loading-overlay--stop",!b[1])},d(b){b&&g(e),f&&f.d()}}}function ut(l){let e;return{c(){e=H("circle"),this.h()},l(t){e=W(t,"circle",{cx:!0,cy:!0,r:!0}),S(e).forEach(g),this.h()},h(){v(e,"cx","50%"),v(e,"cy","50%"),v(e,"r",l[5]),m(e,"bx--loading__background",!0)},m(t,i){A(t,e,i)},p(t,i){i&32&&v(e,"r",t[5])},d(t){t&&g(e)}}}function ft(l){let e;return{c(){e=H("circle"),this.h()},l(t){e=W(t,"circle",{cx:!0,cy:!0,r:!0}),S(e).forEach(g),this.h()},h(){v(e,"cx","50%"),v(e,"cy","50%"),v(e,"r",l[5]),m(e,"bx--loading__background",!0)},m(t,i){A(t,e,i)},p(t,i){i&32&&v(e,"r",t[5])},d(t){t&&g(e)}}}function Ll(l){let e;function t(n,s){return n[2]?Vl:Al}let i=t(l),r=i(l);return{c(){r.c(),e=le()},l(n){r.l(n),e=le()},m(n,s){r.m(n,s),A(n,e,s)},p(n,[s]){i===(i=t(n))&&r?r.p(n,s):(r.d(1),r=i(n),r&&(r.c(),r.m(e.parentNode,e)))},i:se,o:se,d(n){r.d(n),n&&g(e)}}}function Rl(l,e,t){let i;const r=["small","active","withOverlay","description","id"];let n=te(e,r),{small:s=!1}=e,{active:o=!0}=e,{withOverlay:a=!0}=e,{description:u="Active loading indicator"}=e,{id:c="ccs-"+Math.random().toString(36)}=e;return l.$$set=f=>{e=B(B({},e),he(f)),t(6,n=te(e,r)),"small"in f&&t(0,s=f.small),"active"in f&&t(1,o=f.active),"withOverlay"in f&&t(2,a=f.withOverlay),"description"in f&&t(3,u=f.description),"id"in f&&t(4,c=f.id)},l.$$.update=()=>{l.$$.dirty&1&&t(5,i=s?"42":"44")},[s,o,a,u,c,i,n]}class zl extends be{constructor(e){super(),ge(this,e,Rl,Ll,pe,{small:0,active:1,withOverlay:2,description:3,id:4})}}const Nl=zl;function ql(l){let e,t,i,r,n,s;const o=l[11].default,a=we(o,l,l[10],null);let u=[l[9],{style:i=l[9].style+"; "+(l[6]&&"position: relative")}],c={};for(let f=0;f<u.length;f+=1)c=B(c,u[f]);return{c(){e=L("div"),t=L("div"),a&&a.c(),this.h()},l(f){e=R(f,"DIV",{style:!0});var h=S(e);t=R(h,"DIV",{});var d=S(t);a&&a.l(d),d.forEach(g),h.forEach(g),this.h()},h(){m(t,"bx--popover-contents",!0),ie(e,c),m(e,"bx--popover",!0),m(e,"bx--popover--caret",l[2]),m(e,"bx--popover--light",l[4]),m(e,"bx--popover--high-contrast",l[5]),m(e,"bx--popover--top",l[3]==="top"),m(e,"bx--popover--top-left",l[3]==="top-left"),m(e,"bx--popover--top-right",l[3]==="top-right"),m(e,"bx--popover--bottom",l[3]==="bottom"),m(e,"bx--popover--bottom-left",l[3]==="bottom-left"),m(e,"bx--popover--bottom-right",l[3]==="bottom-right"),m(e,"bx--popover--left",l[3]==="left"),m(e,"bx--popover--left-bottom",l[3]==="left-bottom"),m(e,"bx--popover--left-top",l[3]==="left-top"),m(e,"bx--popover--right",l[3]==="right"),m(e,"bx--popover--right-bottom",l[3]==="right-bottom"),m(e,"bx--popover--right-top",l[3]==="right-top"),m(e,"bx--popover--open",l[0]),m(e,"bx--popover--relative",l[6])},m(f,h){A(f,e,h),T(e,t),a&&a.m(t,null),l[13](e),r=!0,n||(s=J(window,"click",l[12]),n=!0)},p(f,[h]){a&&a.p&&(!r||h&1024)&&ye(a,o,f,f[10],r?Se(o,f[10],h,null):Te(f[10]),null),ie(e,c=_e(u,[h&512&&f[9],(!r||h&576&&i!==(i=f[9].style+"; "+(f[6]&&"position: relative")))&&{style:i}])),m(e,"bx--popover",!0),m(e,"bx--popover--caret",f[2]),m(e,"bx--popover--light",f[4]),m(e,"bx--popover--high-contrast",f[5]),m(e,"bx--popover--top",f[3]==="top"),m(e,"bx--popover--top-left",f[3]==="top-left"),m(e,"bx--popover--top-right",f[3]==="top-right"),m(e,"bx--popover--bottom",f[3]==="bottom"),m(e,"bx--popover--bottom-left",f[3]==="bottom-left"),m(e,"bx--popover--bottom-right",f[3]==="bottom-right"),m(e,"bx--popover--left",f[3]==="left"),m(e,"bx--popover--left-bottom",f[3]==="left-bottom"),m(e,"bx--popover--left-top",f[3]==="left-top"),m(e,"bx--popover--right",f[3]==="right"),m(e,"bx--popover--right-bottom",f[3]==="right-bottom"),m(e,"bx--popover--right-top",f[3]==="right-top"),m(e,"bx--popover--open",f[0]),m(e,"bx--popover--relative",f[6])},i(f){r||(O(a,f),r=!0)},o(f){z(a,f),r=!1},d(f){f&&g(e),a&&a.d(f),l[13](null),n=!1,s()}}}function Bl(l,e,t){const i=["open","closeOnOutsideClick","caret","align","light","highContrast","relative"];let r=te(e,i),{$$slots:n={},$$scope:s}=e,{open:o=!1}=e,{closeOnOutsideClick:a=!1}=e,{caret:u=!1}=e,{align:c="top"}=e,{light:f=!1}=e,{highContrast:h=!1}=e,{relative:d=!1}=e;const b=Dt();let _=null;const k=p=>{o&&(_.contains(p.target)||(b("click:outside",{target:p.target}),a&&t(0,o=!1)))};function w(p){je[p?"unshift":"push"](()=>{_=p,t(7,_)})}return l.$$set=p=>{e=B(B({},e),he(p)),t(9,r=te(e,i)),"open"in p&&t(0,o=p.open),"closeOnOutsideClick"in p&&t(1,a=p.closeOnOutsideClick),"caret"in p&&t(2,u=p.caret),"align"in p&&t(3,c=p.align),"light"in p&&t(4,f=p.light),"highContrast"in p&&t(5,h=p.highContrast),"relative"in p&&t(6,d=p.relative),"$$scope"in p&&t(10,s=p.$$scope)},[o,a,u,c,f,h,d,_,b,r,s,n,k,w]}class jl extends be{constructor(e){super(),ge(this,e,Bl,ql,pe,{open:0,closeOnOutsideClick:1,caret:2,align:3,light:4,highContrast:5,relative:6})}}const Gl=jl,Fl=l=>({}),ct=l=>({});function Ql(l){let e;return{c(){e=G(l[4])},l(t){e=F(t,l[4])},m(t,i){A(t,e,i)},p(t,i){i&16&&X(e,t[4])},d(t){t&&g(e)}}}function dt(l){let e,t,i;var r=l[10][l[2]];function n(s){return{props:{class:"bx--progress-bar__status-icon"}}}return r&&(e=ze(r,n())),{c(){e&&ae(e.$$.fragment),t=le()},l(s){e&&ve(e.$$.fragment,s),t=le()},m(s,o){e&&oe(e,s,o),A(s,t,o),i=!0},p(s,o){if(o&4&&r!==(r=s[10][s[2]])){if(e){ce();const a=e;z(a.$$.fragment,1,0,()=>{ue(a,1)}),de()}r?(e=ze(r,n()),ae(e.$$.fragment),O(e.$$.fragment,1),oe(e,t.parentNode,t)):e=null}},i(s){i||(e&&O(e.$$.fragment,s),i=!0)},o(s){e&&z(e.$$.fragment,s),i=!1},d(s){s&&g(t),e&&ue(e,s)}}}function mt(l){let e,t;return{c(){e=L("div"),t=G(l[6]),this.h()},l(i){e=R(i,"DIV",{id:!0});var r=S(e);t=F(r,l[6]),r.forEach(g),this.h()},h(){v(e,"id",l[11]),m(e,"bx--progress-bar__helper-text",!0)},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&64&&X(t,i[6])},d(i){i&&g(e)}}}function Ul(l){let e,t,i,r,n,s,o,a,u,c,f,h,d;const b=l[15].labelText,_=we(b,l,l[14],ct),k=_||Ql(l);let w=(l[2]==="error"||l[2]==="finished")&&dt(l),p=l[6]&&mt(l),M=[l[12]],D={};for(let E=0;E<M.length;E+=1)D=B(D,M[E]);return{c(){e=L("div"),t=L("label"),k&&k.c(),i=x(),w&&w.c(),r=x(),n=L("div"),s=L("div"),h=x(),p&&p.c(),this.h()},l(E){e=R(E,"DIV",{});var P=S(e);t=R(P,"LABEL",{for:!0});var V=S(t);k&&k.l(V),i=$(V),w&&w.l(V),V.forEach(g),r=$(P),n=R(P,"DIV",{role:!0,id:!0,"aria-busy":!0,"aria-valuemin":!0,"aria-valuemax":!0,"aria-valuenow":!0,"aria-describedby":!0});var me=S(n);s=R(me,"DIV",{}),S(s).forEach(g),me.forEach(g),h=$(P),p&&p.l(P),P.forEach(g),this.h()},h(){v(t,"for",l[7]),m(t,"bx--progress-bar__label",!0),m(t,"bx--visually-hidden",l[5]),m(s,"bx--progress-bar__bar",!0),Pe(s,"transform",l[2]==="active"&&`scaleX(${l[8]/l[0]})`),v(n,"role","progressbar"),v(n,"id",l[7]),v(n,"aria-busy",o=l[2]==="active"),v(n,"aria-valuemin",a=l[9]?void 0:0),v(n,"aria-valuemax",u=l[9]?void 0:l[0]),v(n,"aria-valuenow",c=l[9]?void 0:l[8]),v(n,"aria-describedby",f=l[6]?l[11]:null),m(n,"bx--progress-bar__track",!0),ie(e,D),m(e,"bx--progress-bar",!0),m(e,"bx--progress-bar--indeterminate",l[9]),m(e,"bx--progress-bar--big",l[3]==="md"),m(e,"bx--progress-bar--small",l[3]==="sm"),m(e,"bx--progress-bar--inline",l[1]==="inline"),m(e,"bx--progress-bar--indented",l[1]==="indented"),m(e,"bx--progress-bar--error",l[2]==="error"),m(e,"bx--progress-bar--finished",l[2]==="finished")},m(E,P){A(E,e,P),T(e,t),k&&k.m(t,null),T(t,i),w&&w.m(t,null),T(e,r),T(e,n),T(n,s),T(e,h),p&&p.m(e,null),d=!0},p(E,[P]){_?_.p&&(!d||P&16384)&&ye(_,b,E,E[14],d?Se(b,E[14],P,Fl):Te(E[14]),ct):k&&k.p&&(!d||P&16)&&k.p(E,d?P:-1),E[2]==="error"||E[2]==="finished"?w?(w.p(E,P),P&4&&O(w,1)):(w=dt(E),w.c(),O(w,1),w.m(t,null)):w&&(ce(),z(w,1,1,()=>{w=null}),de()),(!d||P&128)&&v(t,"for",E[7]),(!d||P&32)&&m(t,"bx--visually-hidden",E[5]),P&261&&Pe(s,"transform",E[2]==="active"&&`scaleX(${E[8]/E[0]})`),(!d||P&128)&&v(n,"id",E[7]),(!d||P&4&&o!==(o=E[2]==="active"))&&v(n,"aria-busy",o),(!d||P&512&&a!==(a=E[9]?void 0:0))&&v(n,"aria-valuemin",a),(!d||P&513&&u!==(u=E[9]?void 0:E[0]))&&v(n,"aria-valuemax",u),(!d||P&768&&c!==(c=E[9]?void 0:E[8]))&&v(n,"aria-valuenow",c),(!d||P&64&&f!==(f=E[6]?E[11]:null))&&v(n,"aria-describedby",f),E[6]?p?p.p(E,P):(p=mt(E),p.c(),p.m(e,null)):p&&(p.d(1),p=null),ie(e,D=_e(M,[P&4096&&E[12]])),m(e,"bx--progress-bar",!0),m(e,"bx--progress-bar--indeterminate",E[9]),m(e,"bx--progress-bar--big",E[3]==="md"),m(e,"bx--progress-bar--small",E[3]==="sm"),m(e,"bx--progress-bar--inline",E[1]==="inline"),m(e,"bx--progress-bar--indented",E[1]==="indented"),m(e,"bx--progress-bar--error",E[2]==="error"),m(e,"bx--progress-bar--finished",E[2]==="finished")},i(E){d||(O(k,E),O(w),d=!0)},o(E){z(k,E),z(w),d=!1},d(E){E&&g(e),k&&k.d(E),w&&w.d(),p&&p.d()}}}function Yl(l,e,t){let i;const r=["value","max","kind","status","size","labelText","hideLabel","helperText","id"];let n=te(e,r),{$$slots:s={},$$scope:o}=e,{value:a=void 0}=e,{max:u=100}=e,{kind:c="default"}=e,{status:f="active"}=e,{size:h="md"}=e,{labelText:d=""}=e,{hideLabel:b=!1}=e,{helperText:_=""}=e,{id:k="ccs-"+Math.random().toString(36)}=e;const w={error:Zt,finished:xt};let p="ccs-"+Math.random().toString(36),M;return l.$$set=D=>{e=B(B({},e),he(D)),t(12,n=te(e,r)),"value"in D&&t(13,a=D.value),"max"in D&&t(0,u=D.max),"kind"in D&&t(1,c=D.kind),"status"in D&&t(2,f=D.status),"size"in D&&t(3,h=D.size),"labelText"in D&&t(4,d=D.labelText),"hideLabel"in D&&t(5,b=D.hideLabel),"helperText"in D&&t(6,_=D.helperText),"id"in D&&t(7,k=D.id),"$$scope"in D&&t(14,o=D.$$scope)},l.$$.update=()=>{l.$$.dirty&8196&&t(9,i=a===void 0&&f==="active"),l.$$.dirty&8197&&(f==="error"||a<0?t(8,M=0):a>u?t(8,M=u):t(8,M=a))},[u,c,f,h,d,b,_,k,M,i,w,p,n,a,o,s]}class Hl extends be{constructor(e){super(),ge(this,e,Yl,Ul,pe,{value:13,max:0,kind:1,status:2,size:3,labelText:4,hideLabel:5,helperText:6,id:7})}}const Wl=Hl;class Kl extends $t{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:rt()},t)}getOptimisticResult(e){return e.behavior=rt(),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 i,r,n,s,o,a;const{state:u}=e,c=super.createResult(e,t),{isFetching:f,isRefetching:h}=c,d=f&&((i=u.fetchMeta)==null||(r=i.fetchMore)==null?void 0:r.direction)==="forward",b=f&&((n=u.fetchMeta)==null||(s=n.fetchMore)==null?void 0:s.direction)==="backward";return{...c,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:el(t,(o=u.data)==null?void 0:o.pages),hasPreviousPage:tl(t,(a=u.data)==null?void 0:a.pages),isFetchingNextPage:d,isFetchingPreviousPage:b,isRefetching:h&&!d&&!b}}}function Jl(l,e,t){const i=ll(l,e,t);return il(i,Kl)}class Ce{static getConcepts(){return N(q,{method:"GET",url:"/api/v1/concepts/"})}static getConcept(e,t,i){return N(q,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},query:{draft:i},errors:{422:"Validation Error"}})}static editConcept(e,t,i){return N(q,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteConcept(e,t){return N(q,{method:"DELETE",url:"/api/v1/concepts/{namespace}/{concept_name}",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static getConceptColumnInfos(e,t){return N(q,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/column_infos",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static createConcept(e){return N(q,{method:"POST",url:"/api/v1/concepts/create",body:e,mediaType:"application/json",errors:{422:"Validation Error"}})}static mergeConceptDraft(e,t,i){return N(q,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}/merge_draft",path:{namespace:e,concept_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static getConceptModels(e,t){return N(q,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/model",path:{namespace:e,concept_name:t},errors:{422:"Validation Error"}})}static getConceptModel(e,t,i){return N(q,{method:"GET",url:"/api/v1/concepts/{namespace}/{concept_name}/model/{embedding_name}",path:{namespace:e,concept_name:t,embedding_name:i},errors:{422:"Validation Error"}})}static score(e,t,i,r){return N(q,{method:"POST",url:"/api/v1/concepts/{namespace}/{concept_name}/model/{embedding_name}/score",path:{namespace:e,concept_name:t,embedding_name:i},body:r,mediaType:"application/json",errors:{422:"Validation Error"}})}static generateExamples(e){return N(q,{method:"GET",url:"/api/v1/concepts/generate_examples",query:{description:e},errors:{422:"Validation Error"}})}}class tt{static getSources(){return N(q,{method:"GET",url:"/api/v1/data_loaders/"})}static getSourceSchema(e){return N(q,{method:"GET",url:"/api/v1/data_loaders/{source_name}",path:{source_name:e},errors:{422:"Validation Error"}})}static load(e,t){return N(q,{method:"POST",url:"/api/v1/data_loaders/{source_name}/load",path:{source_name:e},body:t,mediaType:"application/json",errors:{422:"Validation Error"}})}}class ne{static getDatasets(){return N(q,{method:"GET",url:"/api/v1/datasets/"})}static getManifest(e,t){return N(q,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static deleteDataset(e,t){return N(q,{method:"DELETE",url:"/api/v1/datasets/{namespace}/{dataset_name}",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static computeSignal(e,t,i){return N(q,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/compute_signal",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static deleteSignal(e,t,i){return N(q,{method:"DELETE",url:"/api/v1/datasets/{namespace}/{dataset_name}/delete_signal",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static getStats(e,t,i){return N(q,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/stats",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectRowsDownload(e,t,i){return N(q,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows_download",path:{namespace:e,dataset_name:t},query:{url_safe_options:i},errors:{422:"Validation Error"}})}static selectRows(e,t,i){return N(q,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectRowsSchema(e,t,i){return N(q,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_rows_schema",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static selectGroups(e,t,i){return N(q,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/select_groups",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}static getMedia(e,t,i,r){return N(q,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/media",path:{namespace:e,dataset_name:t},query:{item_id:i,leaf_path:r},errors:{422:"Validation Error"}})}static getSettings(e,t){return N(q,{method:"GET",url:"/api/v1/datasets/{namespace}/{dataset_name}/settings",path:{namespace:e,dataset_name:t},errors:{422:"Validation Error"}})}static updateSettings(e,t,i){return N(q,{method:"POST",url:"/api/v1/datasets/{namespace}/{dataset_name}/settings",path:{namespace:e,dataset_name:t},body:i,mediaType:"application/json",errors:{422:"Validation Error"}})}}class Xl{static login(e){return N(q,{method:"GET",url:"/google/login",query:{origin_url:e},errors:{422:"Validation Error"}})}static auth(){return N(q,{method:"GET",url:"/google/auth"})}static logout(){return N(q,{method:"GET",url:"/google/logout"})}}const Xe="*",Pi="__rowid__",Le="__value__",Ai={text:["string","string_span"],text_embedding:["embedding"],image:["binary"]};function Vi(l){return Zl(l)||xl(l)}function Zl(l){return["float16","float32","float64"].indexOf(l??"")>=0}function xl(l){return["int8","int16","int32","int64","uint8","uint16","uint32","uint64"].indexOf(l)>=0}function Li(l){return typeof l=="string"?l:l.map(e=>e.includes(".")?`"${e}"`:e).join(".")}function $l(l){return l.repeated_field?$l(l.repeated_field):l.dtype&&!["embedding","binary"].includes(l.dtype)}function Ri(l){return l.dtype&&!["embedding","binary"].includes(l.dtype)}function Ne(l){var t;return Array.isArray(l)?l:((t=l.match(/(?:"[^"]*"|[^.])+(?:\.+$)?/g))==null?void 0:t.map(i=>i.replace(/"/g,"")))||[]}function ei(l,e){if(!l||!e||(l=Ne(l),e=Ne(e),l.length!==e.length))return!1;for(let t=0;t<l.length;t++)if(l[t]!==e[t])return!1;return!0}function zi(l,e){return!l||!e||(l=Ne(l),e=Ne(e),l.length<e.length)?!1:ei(l.slice(0,e.length),e)}function lt(l,e){if(!l||!e||(l=Ne(l),e=Ne(e),l.length!==e.length))return!1;for(let t=0;t<l.length;t++)if(l[t]!==e[t]&&(l[t]!==e[t]&&l[t]!==Xe||l[t]===Xe&&!e[t].toString().match(/^\d+$/)))return!1;return!0}function Ni(l){return(l==null?void 0:l.signal_name)==="concept_score"}function qi(l,e=3){return l==null?"N/A":typeof l=="number"?l.toLocaleString(void 0,{maximumFractionDigits:e}):l instanceof Blob?"blob":Array.isArray(l)?l.join(", "):typeof l=="object"?Object.keys(l).length===2&&l.start!=null&&l.end!=null?`(${l.start}, ${l.end})`:JSON.stringify(l):l.toString()}function Bi(l){return l.path!=null}const Ge="__path__",Fe="__field__";function ti(l,e){if(l==null)throw Error("Item is null.");if(e.length===0)return l;const[t,...i]=e;return l[t]==null?null:ti(l[t],i)}function it(l){const e=$e(l,[]);return e.fields?{fields:e.fields,path:[]}:{fields:{},path:[]}}function At(l,e){const t=qe(e),i=et(l,t,[]);if(Array.isArray(i))throw new Error("Expected row to have a single root node");if(!i)throw new Error("Expected row to have children");return i[Le]=null,i[Ge]=[],i[Fe]=e,i}function qe(l){return l==null?[]:[l,...Object.values(l.fields||{}).flatMap(qe),...l.repeated_field?qe(l.repeated_field):[]].filter(t=>t.path.length>0)}function ji(l){return l==null?[]:qe(l).filter(e=>e.dtype!=null)}function Gi(l,e){return e==null?[]:(e?qe(e):[]).filter(i=>i.dtype==l)}function Je(l){let e;if(Array.isArray(l))e=[...l,...l.flatMap(Je)];else{const{[Le]:t,[Ge]:i,[Fe]:r,...n}=l,s=Object.values(n||{});e=[];for(const o of s)if(Array.isArray(o)){e=[...e,o];for(const a of o)e=[...e,a,...Je(a)]}else e=[...e,o,...Je(o)]}return e}function Fi(l,e){return qe(l).find(i=>lt(i.path,e))}function Qi(l,e){return Je(l).filter(i=>lt(e,Vt.path(i)))}function ht(l,e,t=!1){return li(e)&&(t=!0),e===l?t:e.fields!=null?Object.values(e.fields).some(i=>ht(l,i,t)):e.repeated_field!=null?ht(l,e.repeated_field,t):!1}function li(l){return l.signal!=null}const Vt={path:l=>{if(!l)return;const e=l[Ge];if(e==null)throw Error(`Item does not have a path defined: ${JSON.stringify(l)}`);return e},value:(l,e)=>l?l[Le]:null,field:l=>{if(l)return l[Fe]},dtype:l=>{const e=Vt.field(l);return e==null?void 0:e.dtype}};function $e(l,e){const{fields:t,repeated_field:i,...r}=l,n={...r,path:[]};if(t!=null){n.fields={};for(const[s,o]of Object.entries(t)){const a=$e(o,[...e,s]);a.path=[...e,s],n.fields[s]=a}}if(i!=null){const s=$e(i,[...e,Xe]);s.path=[...e,Xe],n.repeated_field=s}return n}function et(l,e,t){const i=e.find(n=>lt(n.path,t));let r={};if(Array.isArray(l))return r=l.map((n,s)=>et(n,e,[...t,s.toString()])),r[Le]=null,r[Ge]=t,r[Fe]=i,r;if(l!=null&&typeof l=="object"){const{[Le]:n,...s}=l;r=Object.entries(s).reduce((o,[a,u])=>(o[a]=et(u,e,[...t,a]),o),{}),r[Le]=n}else r[Le]=l;return r[Ge]=t,r[Fe]=i,r}function _t(l){let e,t;return{c(){e=H("title"),t=G(l[1])},l(i){e=W(i,"title",{});var r=S(e);t=F(r,l[1]),r.forEach(g)},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&g(e)}}}function ii(l){let e,t,i=l[1]&&_t(l),r=[{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]],n={};for(let s=0;s<r.length;s+=1)n=B(n,r[s]);return{c(){e=H("svg"),i&&i.c(),t=H("path"),this.h()},l(s){e=W(s,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=S(e);i&&i.l(o),t=W(o,"path",{d:!0}),S(t).forEach(g),o.forEach(g),this.h()},h(){v(t,"d","M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"),Re(e,n)},m(s,o){A(s,e,o),i&&i.m(e,null),T(e,t)},p(s,[o]){s[1]?i?i.p(s,o):(i=_t(s),i.c(),i.m(e,t)):i&&(i.d(1),i=null),Re(e,n=_e(r,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:s[0]},o&1&&{height:s[0]},o&4&&s[2],o&8&&s[3]]))},i:se,o:se,d(s){s&&g(e),i&&i.d()}}}function ri(l,e,t){let i,r;const n=["size","title"];let s=te(e,n),{size:o=16}=e,{title:a=void 0}=e;return l.$$set=u=>{t(5,e=B(B({},e),he(u))),t(3,s=te(e,n)),"size"in u&&t(0,o=u.size),"title"in u&&t(1,a=u.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||a),t(2,r={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=he(e),[o,a,r,s,i]}class ni extends be{constructor(e){super(),ge(this,e,ri,ii,pe,{size:0,title:1})}}const K="datasets",Lt="settings",bt=20,Ui=re(ne.getDatasets,K),Yi=re(ne.getManifest,K,{}),Hi=re(ne.getManifest,K,{select:l=>it(l.dataset_manifest.data_schema)}),Wi=re(function(e,t){return e&&t?ne.getManifest(e,t):Promise.resolve(null)},K,{select:l=>l?it(l.dataset_manifest.data_schema):null}),Ki=re(tt.getSources,K),Ji=re(tt.getSourceSchema,K,{select:l=>l}),Xi=Me(tt.load),Zi=Me(ne.computeSignal,{onSuccess:l=>{ee.invalidateQueries([nl]),sl(l.task_id,()=>{ee.invalidateQueries([K,"getManifest"]),ee.invalidateQueries([K,"selectRowsSchema"]),ee.invalidateQueries([K,"selectRows"])})}}),xi=Me(ne.deleteDataset,{onSuccess:()=>{ee.invalidateQueries([K])}}),$i=Me(ne.deleteSignal,{onSuccess:()=>{ee.invalidateQueries([K,"getManifest"]),ee.invalidateQueries([K,"selectRowsSchema"]),ee.invalidateQueries([K,"selectRows"])}}),er=re(ne.getStats,K),tr=rl(ne.getStats,K),lr=re(async function(e,t,i,r){const n=await ne.selectRows(e,t,i);return{rows:r==null?n.rows:n.rows.map(s=>At(s,r)),total_num_rows:n.total_num_rows}},K),ir=re(ne.selectRowsSchema,K,{select:l=>({schema:it(l.data_schema),...l})}),rr=re(ne.selectGroups,K),nr=(l,e,t,i)=>Jl({queryKey:[K,"selectRows",l,e,t],queryFn:({pageParam:r=0})=>ne.selectRows(l,e,{...t,limit:t.limit||bt,offset:r*(t.limit||bt)}),select:r=>({...r,pages:r.pages.map(n=>({rows:n.rows.map(s=>At(s,i)),total_num_rows:n.total_num_rows}))}),getNextPageParam:(r,n)=>n.length,enabled:!!i}),sr=re(ne.getSettings,Lt),ar=Me(ne.updateSettings,{onSuccess:()=>{ee.invalidateQueries([Lt])}}),De="concepts",or=re(Ce.getConcept,De),ur=re(Ce.getConcepts,De),fr=re(Ce.getConceptModels,De),cr=Me(Ce.getConceptModel,{onSuccess:()=>{ee.invalidateQueries([De])}}),dr=Me(Ce.createConcept,{onSuccess:()=>{ee.invalidateQueries([De])}}),mr=Me(Ce.editConcept,{onSuccess:()=>{ee.invalidateQueries([De]),ee.invalidateQueries([K,"selectRows"])}}),hr=Me(Ce.deleteConcept,{onSuccess:()=>ee.invalidateQueries([De])}),_r=re(Ce.score,De),br=re(Ce.getConceptColumnInfos,De),si=Me(Xl.logout,{onSuccess:()=>{ee.invalidateQueries([al]),ee.invalidateQueries([De]),ee.invalidateQueries([K])}});function gt(l){let e,t,i,r,n,s=`${l[2]}px`,o=`${Math.max(l[5]/2+Ke,Math.min(l[1],l[6]-l[5]/2-Ke))}px`,a;const u=[oi,ai],c=[];function f(h,d){return h[0]?0:h[3]?1:-1}return~(i=f(l))&&(r=c[i]=u[i](l)),{c(){e=L("div"),t=L("div"),r&&r.c(),this.h()},l(h){e=R(h,"DIV",{role:!0,class:!0});var d=S(e);t=R(d,"DIV",{class:!0});var b=S(t);r&&r.l(b),b.forEach(g),d.forEach(g),this.h()},h(){v(t,"class","min-w-xl text-container svelte-80e402"),v(e,"role","tooltip"),v(e,"class","hover-tooltip absolute mt-2 -translate-x-1/2 break-words border border-gray-300 bg-white p-2 shadow-md svelte-80e402"),Yt(()=>l[7].call(e)),Pe(e,"top",s),Pe(e,"left",o)},m(h,d){A(h,e,d),T(e,t),~i&&c[i].m(t,null),n=Ht(e,l[7].bind(e)),a=!0},p(h,d){let b=i;i=f(h),i===b?~i&&c[i].p(h,d):(r&&(ce(),z(c[b],1,1,()=>{c[b]=null}),de()),~i?(r=c[i],r?r.p(h,d):(r=c[i]=u[i](h),r.c()),O(r,1),r.m(t,null)):r=null),d&4&&s!==(s=`${h[2]}px`)&&Pe(e,"top",s),d&34&&o!==(o=`${Math.max(h[5]/2+Ke,Math.min(h[1],h[6]-h[5]/2-Ke))}px`)&&Pe(e,"left",o)},i(h){a||(O(r),a=!0)},o(h){z(r),a=!1},d(h){h&&g(e),~i&&c[i].d(),n()}}}function ai(l){let e,t,i;const r=[l[4]];var n=l[3];function s(o){let a={};for(let u=0;u<r.length;u+=1)a=B(a,r[u]);return{props:a}}return n&&(e=ze(n,s())),{c(){e&&ae(e.$$.fragment),t=le()},l(o){e&&ve(e.$$.fragment,o),t=le()},m(o,a){e&&oe(e,o,a),A(o,t,a),i=!0},p(o,a){const u=a&16?_e(r,[Wt(o[4])]):{};if(a&8&&n!==(n=o[3])){if(e){ce();const c=e;z(c.$$.fragment,1,0,()=>{ue(c,1)}),de()}n?(e=ze(n,s()),ae(e.$$.fragment),O(e.$$.fragment,1),oe(e,t.parentNode,t)):e=null}else n&&e.$set(u)},i(o){i||(e&&O(e.$$.fragment,o),i=!0)},o(o){e&&z(e.$$.fragment,o),i=!1},d(o){o&&g(t),e&&ue(e,o)}}}function oi(l){let e,t;return{c(){e=L("span"),t=G(l[0]),this.h()},l(i){e=R(i,"SPAN",{class:!0});var r=S(e);t=F(r,l[0]),r.forEach(g),this.h()},h(){v(e,"class","whitespace-pre-wrap")},m(i,r){A(i,e,r),T(e,t)},p(i,r){r&1&&X(t,i[0])},i:se,o:se,d(i){i&&g(e)}}}function ui(l){let e,t,i=l[0]!=""&&gt(l);return{c(){i&&i.c(),e=le()},l(r){i&&i.l(r),e=le()},m(r,n){i&&i.m(r,n),A(r,e,n),t=!0},p(r,[n]){r[0]!=""?i?(i.p(r,n),n&1&&O(i,1)):(i=gt(r),i.c(),O(i,1),i.m(e.parentNode,e)):i&&(ce(),z(i,1,1,()=>{i=null}),de())},i(r){t||(O(i),t=!0)},o(r){z(i),t=!1},d(r){i&&i.d(r),r&&g(e)}}}const Ke=10;function fi(l,e,t){let{text:i}=e,{x:r}=e,{y:n}=e,{component:s}=e,{props:o}=e;const a=window.innerWidth;let u=0;function c(){u=this.clientWidth,t(5,u)}return l.$$set=f=>{"text"in f&&t(0,i=f.text),"x"in f&&t(1,r=f.x),"y"in f&&t(2,n=f.y),"component"in f&&t(3,s=f.component),"props"in f&&t(4,o=f.props)},[i,r,n,s,o,u,a,c]}class ci extends be{constructor(e){super(),ge(this,e,fi,ui,pe,{text:0,x:1,y:2,component:3,props:4})}}function Rt(l,{text:e,component:t,props:i}){if(t==null&&e==null)return;let r,n=e,s=t,o=i;function a(){if(r!=null)return;const c=l.getBoundingClientRect();r=new ci({props:{text:n,component:s,props:o,x:c.left+c.width/2,y:c.bottom},target:document.body})}function u(){r==null||r.$destroy(),r=void 0}return l.addEventListener("mouseover",a),l.addEventListener("mouseleave",u),l.addEventListener("click",u),{update({text:c,component:f,props:h}){n=c,s=f,o=h,r==null||r.$set({tooltipText:c})},destroy(){u(),l.removeEventListener("mouseover",a),l.removeEventListener("mouseleave",u),l.removeEventListener("click",u)}}}function pt(l,e,t){const i=l.slice();i[13]=e[t][0],i[14]=e[t][1];const r=i[14].step_progress==null?void 0:i[14].step_progress;return i[15]=r,i}function vt(l){let e,t,i,r,n,s,o,a,u,c,f,h,d;const b=[hi,mi,di],_=[];function k(p,M){return p[5].length?0:p[4].length?1:2}r=k(l),n=_[r]=b[r](l);let w=l[5].length===1&&kt(l);return a=new Gl({props:{align:"bottom-right",caret:!0,closeOnOutsideClick:!0,open:l[1],$$slots:{default:[_i]},$$scope:{ctx:l}}}),a.$on("click:outside",l[11]),{c(){e=L("div"),t=L("button"),i=L("div"),n.c(),s=x(),w&&w.c(),o=x(),ae(a.$$.fragment),this.h()},l(p){e=R(p,"DIV",{});var M=S(e);t=R(M,"BUTTON",{class:!0});var D=S(t);i=R(D,"DIV",{class:!0});var E=S(i);n.l(E),E.forEach(g),s=$(D),w&&w.l(D),o=$(D),ve(a.$$.fragment,D),D.forEach(g),M.forEach(g),this.h()},h(){v(i,"class","relative z-10 flex gap-x-2"),t.disabled=u=!l[2],v(t,"class","task-button relative h-8 rounded border p-2 transition"),m(t,"opacity-40",!l[2]),m(t,"bg-white",!l[5].length),m(t,"bg-blue-200",l[5].length),m(t,"border-blue-400",l[5].length)},m(p,M){A(p,e,M),T(e,t),T(t,i),_[r].m(i,null),T(t,s),w&&w.m(t,null),T(t,o),oe(a,t,null),f=!0,h||(d=[J(t,"click",Kt(l[12])),Ct(c=Rt.call(null,e,{text:l[2]?"":"User does not have access to run tasks."}))],h=!0)},p(p,M){let D=r;r=k(p),r===D?_[r].p(p,M):(ce(),z(_[D],1,1,()=>{_[D]=null}),de(),n=_[r],n?n.p(p,M):(n=_[r]=b[r](p),n.c()),O(n,1),n.m(i,null)),p[5].length===1?w?w.p(p,M):(w=kt(p),w.c(),w.m(t,o)):w&&(w.d(1),w=null);const E={};M&2&&(E.open=p[1]),M&262145&&(E.$$scope={dirty:M,ctx:p}),a.$set(E),(!f||M&4&&u!==(u=!p[2]))&&(t.disabled=u),(!f||M&4)&&m(t,"opacity-40",!p[2]),(!f||M&32)&&m(t,"bg-white",!p[5].length),(!f||M&32)&&m(t,"bg-blue-200",p[5].length),(!f||M&32)&&m(t,"border-blue-400",p[5].length),c&&Ot(c.update)&&M&4&&c.update.call(null,{text:p[2]?"":"User does not have access to run tasks."})},i(p){f||(O(n),O(a.$$.fragment,p),f=!0)},o(p){z(n),z(a.$$.fragment,p),f=!1},d(p){p&&g(e),_[r].d(),w&&w.d(),ue(a),h=!1,Ze(d)}}}function di(l){let e,t,i;return t=new ni({}),{c(){e=G("Tasks "),ae(t.$$.fragment)},l(r){e=F(r,"Tasks "),ve(t.$$.fragment,r)},m(r,n){A(r,e,n),oe(t,r,n),i=!0},p:se,i(r){i||(O(t.$$.fragment,r),i=!0)},o(r){z(t.$$.fragment,r),i=!1},d(r){r&&g(e),ue(t,r)}}}function mi(l){let e=l[4].length+"",t,i,r=l[4].length>1?"s":"",n;return{c(){t=G(e),i=G(" failed task"),n=G(r)},l(s){t=F(s,e),i=F(s," failed task"),n=F(s,r)},m(s,o){A(s,t,o),A(s,i,o),A(s,n,o)},p(s,o){o&16&&e!==(e=s[4].length+"")&&X(t,e),o&16&&r!==(r=s[4].length>1?"s":"")&&X(n,r)},i:se,o:se,d(s){s&&g(t),s&&g(i),s&&g(n)}}}function hi(l){let e=l[5].length+"",t,i,r=l[5].length>1?"s":"",n,s,o,a;return o=new Nl({props:{withOverlay:!1,small:!0}}),{c(){t=G(e),i=G(" running task"),n=G(r),s=G("... "),ae(o.$$.fragment)},l(u){t=F(u,e),i=F(u," running task"),n=F(u,r),s=F(u,"... "),ve(o.$$.fragment,u)},m(u,c){A(u,t,c),A(u,i,c),A(u,n,c),A(u,s,c),oe(o,u,c),a=!0},p(u,c){(!a||c&32)&&e!==(e=u[5].length+"")&&X(t,e),(!a||c&32)&&r!==(r=u[5].length>1?"s":"")&&X(n,r)},i(u){a||(O(o.$$.fragment,u),a=!0)},o(u){z(o.$$.fragment,u),a=!1},d(u){u&&g(t),u&&g(i),u&&g(n),u&&g(s),ue(o,u)}}}function kt(l){let e,t=`${l[3]*100}%`;return{c(){e=L("div"),this.h()},l(i){e=R(i,"DIV",{class:!0}),S(e).forEach(g),this.h()},h(){v(e,"class","absolute left-0 top-0 z-0 h-full bg-blue-400 transition"),Pe(e,"width",t)},m(i,r){A(i,e,r)},p(i,r){r&8&&t!==(t=`${i[3]*100}%`)&&Pe(e,"width",t)},d(i){i&&g(e)}}}function Et(l,e){let t,i,r,n=e[14].name+"",s,o,a,u,c,f;return u=new Wl({props:{labelText:e[14].message||"",helperText:e[14].status!="completed"?e[14].details:"",value:e[14].status==="completed"?1:e[15],max:1,size:"sm",status:e[7][e[14].status]}}),{key:l,first:null,c(){t=L("div"),i=L("div"),r=L("div"),s=G(n),o=x(),a=L("div"),ae(u.$$.fragment),c=x(),this.h()},l(h){t=R(h,"DIV",{class:!0});var d=S(t);i=R(d,"DIV",{class:!0});var b=S(i);r=R(b,"DIV",{class:!0});var _=S(r);s=F(_,n),_.forEach(g),b.forEach(g),o=$(d),a=R(d,"DIV",{class:!0});var k=S(a);ve(u.$$.fragment,k),k.forEach(g),c=$(d),d.forEach(g),this.h()},h(){v(r,"class","mr-2"),v(i,"class","text-s flex flex-row"),v(a,"class","progress-container mt-3"),v(t,"class","relative border-b-2 border-slate-200 p-4 text-left last:border-b-0"),this.first=t},m(h,d){A(h,t,d),T(t,i),T(i,r),T(r,s),T(t,o),T(t,a),oe(u,a,null),T(t,c),f=!0},p(h,d){e=h,(!f||d&1)&&n!==(n=e[14].name+"")&&X(s,n);const b={};d&1&&(b.labelText=e[14].message||""),d&1&&(b.helperText=e[14].status!="completed"?e[14].details:""),d&1&&(b.value=e[14].status==="completed"?1:e[15]),d&1&&(b.status=e[7][e[14].status]),u.$set(b)},i(h){f||(O(u.$$.fragment,h),f=!0)},o(h){z(u.$$.fragment,h),f=!1},d(h){h&&g(t),ue(u)}}}function _i(l){let e,t=[],i=new Map,r,n=l[0];const s=o=>o[13];for(let o=0;o<n.length;o+=1){let a=pt(l,n,o),u=s(a);i.set(u,t[o]=Et(u,a))}return{c(){e=L("div");for(let o=0;o<t.length;o+=1)t[o].c();this.h()},l(o){e=R(o,"DIV",{class:!0});var a=S(e);for(let u=0;u<t.length;u+=1)t[u].l(a);a.forEach(g),this.h()},h(){v(e,"class","flex flex-col")},m(o,a){A(o,e,a);for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(e,null);r=!0},p(o,a){a&129&&(n=o[0],ce(),t=Jt(t,a,s,1,o,n,i,e,Xt,Et,null,pt),de())},i(o){if(!r){for(let a=0;a<n.length;a+=1)O(t[a]);r=!0}},o(o){for(let a=0;a<t.length;a+=1)z(t[a]);r=!1},d(o){o&&g(e);for(let a=0;a<t.length;a+=1)t[a].d()}}}function bi(l){let e,t,i=l[2]&&vt(l);return{c(){i&&i.c(),e=le()},l(r){i&&i.l(r),e=le()},m(r,n){i&&i.m(r,n),A(r,e,n),t=!0},p(r,[n]){r[2]?i?(i.p(r,n),n&4&&O(i,1)):(i=vt(r),i.c(),O(i,1),i.m(e.parentNode,e)):i&&(ce(),z(i,1,1,()=>{i=null}),de())},i(r){t||(O(i),t=!0)},o(r){z(i),t=!1},d(r){i&&i.d(r),r&&g(e)}}}function gi(l,e,t){let i,r,n,s,o,a,u;const c=ol();Ae(l,c,k=>t(10,u=k));let f=!1;const h={pending:"active",completed:"finished",error:"error"},d=Pt();Ae(l,d,k=>t(9,a=k));const b=()=>{f&&t(1,f=!1)},_=()=>t(1,f=!f);return l.$$.update=()=>{var k,w,p,M;l.$$.dirty&1024&&t(0,i=Object.entries(((k=u.data)==null?void 0:k.tasks)||{}).sort(([,D],[,E])=>Date.parse(E.start_timestamp)-Date.parse(D.start_timestamp))),l.$$.dirty&1&&t(5,r=i.filter(([,D])=>D.status==="pending")),l.$$.dirty&1&&t(4,n=i.filter(([,D])=>D.status==="error")),l.$$.dirty&1024&&t(3,s=((w=u.data)==null?void 0:w.progress)||0),l.$$.dirty&512&&t(2,o=((p=a.data)==null?void 0:p.access.dataset.compute_signals)||((M=a.data)==null?void 0:M.access.create_dataset))},[i,f,o,s,n,r,c,h,d,a,u,b,_]}class pi extends be{constructor(e){super(),ge(this,e,gi,bi,pe,{})}}const vi=l=>({}),wt=l=>({}),ki=l=>({}),yt=l=>({}),Ei=l=>({}),Tt=l=>({});function St(l){let e,t,i,r;const n=[yi,wi],s=[];function o(a,u){var c;return((c=a[1].data)==null?void 0:c.user)!=null?0:1}return e=o(l),t=s[e]=n[e](l),{c(){t.c(),i=le()},l(a){t.l(a),i=le()},m(a,u){s[e].m(a,u),A(a,i,u),r=!0},p(a,u){let c=e;e=o(a),e===c?s[e].p(a,u):(ce(),z(s[c],1,1,()=>{s[c]=null}),de(),t=s[e],t?t.p(a,u):(t=s[e]=n[e](a),t.c()),O(t,1),t.m(i.parentNode,i))},i(a){r||(O(t),r=!0)},o(a){z(t),r=!1},d(a){s[e].d(a),a&&g(i)}}}function wi(l){let e,t;return e=new ul({props:{size:"small",href:l[3],target:l[6],$$slots:{default:[Ti]},$$scope:{ctx:l}}}),{c(){ae(e.$$.fragment)},l(i){ve(e.$$.fragment,i)},m(i,r){oe(e,i,r),t=!0},p(i,r){const n={};r&256&&(n.$$scope={dirty:r,ctx:i}),e.$set(n)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){z(e.$$.fragment,i),t=!1},d(i){ue(e,i)}}}function yi(l){var h;let e,t,i=((h=l[1].data)==null?void 0:h.user.given_name)+"",r,n,s,o,a,u,c,f;return a=new yl({props:{flipped:!0,$$slots:{default:[Si]},$$scope:{ctx:l}}}),{c(){e=L("div"),t=L("div"),r=G(i),s=x(),o=L("div"),ae(a.$$.fragment),this.h()},l(d){e=R(d,"DIV",{class:!0});var b=S(e);t=R(b,"DIV",{class:!0});var _=S(t);r=F(_,i),_.forEach(g),s=$(b),o=R(b,"DIV",{});var k=S(o);ve(a.$$.fragment,k),k.forEach(g),b.forEach(g),this.h()},h(){v(t,"class","ml-2 mr-1 flex"),v(e,"class","flex h-9 flex-row items-center rounded border border-neutral-200")},m(d,b){var _,k;A(d,e,b),T(e,t),T(t,r),T(e,s),T(e,o),oe(a,o,null),u=!0,c||(f=Ct(n=Rt.call(null,t,{text:`Logged into Google as ${(_=l[1].data)==null?void 0:_.user.name} with email ${(k=l[1].data)==null?void 0:k.user.email}`})),c=!0)},p(d,b){var k,w,p;(!u||b&2)&&i!==(i=((k=d[1].data)==null?void 0:k.user.given_name)+"")&&X(r,i),n&&Ot(n.update)&&b&2&&n.update.call(null,{text:`Logged into Google as ${(w=d[1].data)==null?void 0:w.user.name} with email ${(p=d[1].data)==null?void 0:p.user.email}`});const _={};b&256&&(_.$$scope={dirty:b,ctx:d}),a.$set(_)},i(d){u||(O(a.$$.fragment,d),u=!0)},o(d){z(a.$$.fragment,d),u=!1},d(d){d&&g(e),ue(a),c=!1,f()}}}function Ti(l){let e;return{c(){e=G("Login")},l(t){e=F(t,"Login")},m(t,i){A(t,e,i)},d(t){t&&g(e)}}}function Si(l){let e,t;return e=new Pl({props:{class:"optionOne",text:"Logout"}}),e.$on("click",l[5]),{c(){ae(e.$$.fragment)},l(i){ve(e.$$.fragment,i)},m(i,r){oe(e,i,r),t=!0},p:se,i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){z(e.$$.fragment,i),t=!1},d(i){ue(e,i)}}}function Mi(l){var Ee;let e,t,i,r,n,s,o,a,u,c,f,h,d,b,_,k,w,p,M;const D=l[7]["header-subtext"],E=we(D,l,l[8],Tt),P=l[7]["header-center"],V=we(P,l,l[8],yt),me=l[7]["header-right"],U=we(me,l,l[8],wt);_=new pi({});let j=((Ee=l[1].data)==null?void 0:Ee.auth_enabled)&&St(l);const ke=l[7].default,Z=we(ke,l,l[8],null);return{c(){e=L("div"),t=L("div"),i=L("div"),r=L("a"),n=G(`Lilac
6
+ `),s=L("span"),o=G(l[0]),a=x(),u=L("div"),E&&E.c(),c=x(),f=L("div"),V&&V.c(),h=x(),d=L("div"),U&&U.c(),b=x(),ae(_.$$.fragment),k=x(),j&&j.c(),w=x(),p=L("div"),Z&&Z.c(),this.h()},l(C){e=R(C,"DIV",{class:!0});var Q=S(e);t=R(Q,"DIV",{class:!0});var fe=S(t);i=R(fe,"DIV",{class:!0});var I=S(i);r=R(I,"A",{class:!0,href:!0});var Be=S(r);n=F(Be,`Lilac
7
+ `),s=R(Be,"SPAN",{});var Qe=S(s);o=F(Qe,l[0]),Qe.forEach(g),Be.forEach(g),a=$(I),u=R(I,"DIV",{class:!0});var Ue=S(u);E&&E.l(Ue),Ue.forEach(g),I.forEach(g),c=$(fe),f=R(fe,"DIV",{class:!0});var Ye=S(f);V&&V.l(Ye),Ye.forEach(g),h=$(fe),d=R(fe,"DIV",{class:!0});var Oe=S(d);U&&U.l(Oe),b=$(Oe),ve(_.$$.fragment,Oe),k=$(Oe),j&&j.l(Oe),Oe.forEach(g),fe.forEach(g),w=$(Q),p=R(Q,"DIV",{class:!0});var He=S(p);Z&&Z.l(He),He.forEach(g),Q.forEach(g),this.h()},h(){v(r,"class","text-xl normal-case"),v(r,"href","/"),v(u,"class","mt-1 pl-4"),v(i,"class","mr-4 flex flex-row items-center"),v(f,"class","flex-grow flex-row items-center justify-center"),v(d,"class","flex flex-row items-center gap-x-2"),v(t,"class","flex flex-row items-center justify-between justify-items-center gap-x-12 border-b border-gray-200 px-4 py-2"),v(p,"class","flex h-full w-full overflow-hidden"),v(e,"class","flex h-full w-full flex-col")},m(C,Q){A(C,e,Q),T(e,t),T(t,i),T(i,r),T(r,n),T(r,s),T(s,o),T(i,a),T(i,u),E&&E.m(u,null),T(t,c),T(t,f),V&&V.m(f,null),T(t,h),T(t,d),U&&U.m(d,null),T(d,b),oe(_,d,null),T(d,k),j&&j.m(d,null),T(e,w),T(e,p),Z&&Z.m(p,null),M=!0},p(C,[Q]){var fe;(!M||Q&1)&&X(o,C[0]),E&&E.p&&(!M||Q&256)&&ye(E,D,C,C[8],M?Se(D,C[8],Q,Ei):Te(C[8]),Tt),V&&V.p&&(!M||Q&256)&&ye(V,P,C,C[8],M?Se(P,C[8],Q,ki):Te(C[8]),yt),U&&U.p&&(!M||Q&256)&&ye(U,me,C,C[8],M?Se(me,C[8],Q,vi):Te(C[8]),wt),(fe=C[1].data)!=null&&fe.auth_enabled?j?(j.p(C,Q),Q&2&&O(j,1)):(j=St(C),j.c(),O(j,1),j.m(d,null)):j&&(ce(),z(j,1,1,()=>{j=null}),de()),Z&&Z.p&&(!M||Q&256)&&ye(Z,ke,C,C[8],M?Se(ke,C[8],Q,null):Te(C[8]),null)},i(C){M||(O(E,C),O(V,C),O(U,C),O(_.$$.fragment,C),O(j),O(Z,C),M=!0)},o(C){z(E,C),z(V,C),z(U,C),z(_.$$.fragment,C),z(j),z(Z,C),M=!1},d(C){C&&g(e),E&&E.d(C),V&&V.d(C),U&&U.d(C),ue(_),j&&j.d(),Z&&Z.d(C)}}}function Di(l,e,t){let i,r,{$$slots:n={},$$scope:s}=e,{title:o}=e;const a=Pt();Ae(l,a,_=>t(1,r=_));const u=location.origin,c=`${u}/google/login?origin_url=${u}`,f=si();Ae(l,f,_=>t(9,i=_));function h(){i.mutate([])}const b=window.self!==window.top?"_blank":"";return l.$$set=_=>{"title"in _&&t(0,o=_.title),"$$scope"in _&&t(8,s=_.$$scope)},[o,r,a,c,f,h,b,n,s]}class gr extends be{constructor(e){super(),ge(this,e,Di,Mi,pe,{title:0})}}export{At as $,Xe as A,Fi as B,ni as C,sr as D,ar as E,lr as F,Gi as G,tr as H,ir as I,Ui as J,xi as K,Vt as L,Nl as M,dr as N,yl as O,gr as P,mr as Q,Ce as R,Bi as S,Ai as T,Pi as U,Le as V,lt as W,Vi as X,ti as Y,_r as Z,it as _,or as a,Wi as a0,cr as a1,fr as a2,br as a3,Ki as a4,Xi as a5,Ji as a6,Ne as b,qe as c,hr as d,ei as e,qi as f,zi as g,Rt as h,Ni as i,Qi as j,li as k,Je as l,Yi as m,Hi as n,nr as o,ji as p,ur as q,Zi as r,Li as s,$i as t,ht as u,$l as v,Ri as w,Pl as x,er as y,rr as z};
web/blueprint/build/_app/immutable/chunks/Page.9eecaba3.js DELETED
@@ -1,7 +0,0 @@
1
- import{S as ue,i as ce,s as de,E as N,_ as j,$ as Y,m as D,h as b,n as p,a0 as De,b as V,J as T,O as fe,a1 as ee,D as Z,F as ae,q as S,r as U,u as X,G as be,ao as mt,e as x,a as J,k as B,aq as bt,ap as gt,c as K,l as R,I as $,H as h,K as W,L as ge,M as ve,N as pe,g as L,v as oe,d as P,f as ne,P as Re,ac as rt,C as ot,R as Ie,T as vt,j as nt,x as Oe,y as te,z as he,A as le,B as ie,Q as ke,w as ye,aj as pt,p as Ee,ad as kt,ae as wt,W as Et,aa as It,a6 as st,a8 as at,X as Tt,Y as Dt}from"./index.4b0e533a.js";import{E as Ot,C as Mt,r as Ne,O as qe,e as yt,b as zt,A as Lt,q as Ct,a as ft,B as Vt}from"./taskQueries.c44da984.js";import{w as Ae}from"./index.08270dac.js";function Se(l){let e,t;return{c(){e=j("title"),t=S(l[1])},l(i){e=Y(i,"title",{});var r=D(e);t=U(r,l[1]),r.forEach(b)},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&b(e)}}}function At(l){let e,t,i,r,o=l[1]&&Se(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]],a={};for(let s=0;s<n.length;s+=1)a=N(a,n[s]);return{c(){e=j("svg"),o&&o.c(),t=j("circle"),i=j("circle"),r=j("circle"),this.h()},l(s){e=Y(s,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var f=D(e);o&&o.l(f),t=Y(f,"circle",{cx:!0,cy:!0,r:!0}),D(t).forEach(b),i=Y(f,"circle",{cx:!0,cy:!0,r:!0}),D(i).forEach(b),r=Y(f,"circle",{cx:!0,cy:!0,r:!0}),D(r).forEach(b),f.forEach(b),this.h()},h(){p(t,"cx","16"),p(t,"cy","8"),p(t,"r","2"),p(i,"cx","16"),p(i,"cy","16"),p(i,"r","2"),p(r,"cx","16"),p(r,"cy","24"),p(r,"r","2"),De(e,a)},m(s,f){V(s,e,f),o&&o.m(e,null),T(e,t),T(e,i),T(e,r)},p(s,[f]){s[1]?o?o.p(s,f):(o=Se(s),o.c(),o.m(e,t)):o&&(o.d(1),o=null),De(e,a=fe(n,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},f&1&&{width:s[0]},f&1&&{height:s[0]},f&4&&s[2],f&8&&s[3]]))},i:ee,o:ee,d(s){s&&b(e),o&&o.d()}}}function Bt(l,e,t){let i,r;const o=["size","title"];let n=Z(e,o),{size:a=16}=e,{title:s=void 0}=e;return l.$$set=f=>{t(5,e=N(N({},e),ae(f))),t(3,n=Z(e,o)),"size"in f&&t(0,a=f.size),"title"in f&&t(1,s=f.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||s),t(2,r={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[a,s,r,n,i]}class Rt extends ue{constructor(e){super(),ce(this,e,Bt,At,de,{size:0,title:1})}}const Pt=Rt;function Ue(l){let e,t;return{c(){e=j("title"),t=S(l[1])},l(i){e=Y(i,"title",{});var r=D(e);t=U(r,l[1]),r.forEach(b)},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&b(e)}}}function Nt(l){let e,t,i,r,o=l[1]&&Ue(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]],a={};for(let s=0;s<n.length;s+=1)a=N(a,n[s]);return{c(){e=j("svg"),o&&o.c(),t=j("circle"),i=j("circle"),r=j("circle"),this.h()},l(s){e=Y(s,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var f=D(e);o&&o.l(f),t=Y(f,"circle",{cx:!0,cy:!0,r:!0}),D(t).forEach(b),i=Y(f,"circle",{cx:!0,cy:!0,r:!0}),D(i).forEach(b),r=Y(f,"circle",{cx:!0,cy:!0,r:!0}),D(r).forEach(b),f.forEach(b),this.h()},h(){p(t,"cx","8"),p(t,"cy","16"),p(t,"r","2"),p(i,"cx","16"),p(i,"cy","16"),p(i,"r","2"),p(r,"cx","24"),p(r,"cy","16"),p(r,"r","2"),De(e,a)},m(s,f){V(s,e,f),o&&o.m(e,null),T(e,t),T(e,i),T(e,r)},p(s,[f]){s[1]?o?o.p(s,f):(o=Ue(s),o.c(),o.m(e,t)):o&&(o.d(1),o=null),De(e,a=fe(n,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},f&1&&{width:s[0]},f&1&&{height:s[0]},f&4&&s[2],f&8&&s[3]]))},i:ee,o:ee,d(s){s&&b(e),o&&o.d()}}}function qt(l,e,t){let i,r;const o=["size","title"];let n=Z(e,o),{size:a=16}=e,{title:s=void 0}=e;return l.$$set=f=>{t(5,e=N(N({},e),ae(f))),t(3,n=Z(e,o)),"size"in f&&t(0,a=f.size),"title"in f&&t(1,s=f.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||s),t(2,r={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[a,s,r,n,i]}class St extends ue{constructor(e){super(),ce(this,e,qt,Nt,de,{size:0,title:1})}}const Ut=St,Ft=l=>({}),Fe=l=>({});function Gt(l){let e,t,i;var r=l[1];function o(n){return{props:{"aria-label":n[10],title:n[10],class:"bx--overflow-menu__icon "+n[9]}}}return r&&(e=Oe(r,o(l))),{c(){e&&te(e.$$.fragment),t=x()},l(n){e&&he(e.$$.fragment,n),t=x()},m(n,a){e&&le(e,n,a),V(n,t,a),i=!0},p(n,a){const s={};if(a[0]&1024&&(s["aria-label"]=n[10]),a[0]&1024&&(s.title=n[10]),a[0]&512&&(s.class="bx--overflow-menu__icon "+n[9]),a[0]&2&&r!==(r=n[1])){if(e){oe();const f=e;P(f.$$.fragment,1,0,()=>{ie(f,1)}),ne()}r?(e=Oe(r,o(n)),te(e.$$.fragment),L(e.$$.fragment,1),le(e,t.parentNode,t)):e=null}else r&&e.$set(s)},i(n){i||(e&&L(e.$$.fragment,n),i=!0)},o(n){e&&P(e.$$.fragment,n),i=!1},d(n){n&&b(t),e&&ie(e,n)}}}function Ge(l){let e,t;const i=l[24].default,r=be(i,l,l[23],null);return{c(){e=B("ul"),r&&r.c(),this.h()},l(o){e=R(o,"UL",{role:!0,tabindex:!0,"aria-label":!0,"data-floating-menu-direction":!0,class:!0});var n=D(e);r&&r.l(n),n.forEach(b),this.h()},h(){p(e,"role","menu"),p(e,"tabindex","-1"),p(e,"aria-label",l[13]),p(e,"data-floating-menu-direction",l[5]),p(e,"class",l[8]),h(e,"bx--overflow-menu-options",!0),h(e,"bx--overflow-menu--flip",l[7]),h(e,"bx--overflow-menu-options--open",l[0]),h(e,"bx--overflow-menu-options--light",l[6]),h(e,"bx--overflow-menu-options--sm",l[4]==="sm"),h(e,"bx--overflow-menu-options--xl",l[4]==="xl"),h(e,"bx--breadcrumb-menu-options",!!l[14])},m(o,n){V(o,e,n),r&&r.m(e,null),l[31](e),t=!0},p(o,n){r&&r.p&&(!t||n[0]&8388608)&&ge(r,i,o,o[23],t?pe(i,o[23],n,null):ve(o[23]),null),(!t||n[0]&8192)&&p(e,"aria-label",o[13]),(!t||n[0]&32)&&p(e,"data-floating-menu-direction",o[5]),(!t||n[0]&256)&&p(e,"class",o[8]),(!t||n[0]&256)&&h(e,"bx--overflow-menu-options",!0),(!t||n[0]&384)&&h(e,"bx--overflow-menu--flip",o[7]),(!t||n[0]&257)&&h(e,"bx--overflow-menu-options--open",o[0]),(!t||n[0]&320)&&h(e,"bx--overflow-menu-options--light",o[6]),(!t||n[0]&272)&&h(e,"bx--overflow-menu-options--sm",o[4]==="sm"),(!t||n[0]&272)&&h(e,"bx--overflow-menu-options--xl",o[4]==="xl"),(!t||n[0]&16640)&&h(e,"bx--breadcrumb-menu-options",!!o[14])},i(o){t||(L(r,o),t=!0)},o(o){P(r,o),t=!1},d(o){o&&b(e),r&&r.d(o),l[31](null)}}}function Ht(l){let e,t,i,r,o,n,a,s;const f=l[24].menu,c=be(f,l,l[23],Fe),u=c||Gt(l);let m=l[0]&&Ge(l),d=[{type:"button"},{"aria-haspopup":""},{"aria-expanded":l[0]},{"aria-label":l[13]},{id:l[11]},l[19]],g={};for(let _=0;_<d.length;_+=1)g=N(g,d[_]);return{c(){e=new mt(!1),t=x(),i=J(),r=B("button"),u&&u.c(),o=J(),m&&m.c(),this.h()},l(_){const k=bt("svelte-7ztmff",document.head);e=gt(k,!1),t=x(),k.forEach(b),i=K(_),r=R(_,"BUTTON",{type:!0,"aria-haspopup":!0,"aria-expanded":!0,"aria-label":!0,id:!0});var E=D(r);u&&u.l(E),o=K(E),m&&m.l(E),E.forEach(b),this.h()},h(){e.a=t,$(r,g),h(r,"bx--overflow-menu",!0),h(r,"bx--overflow-menu--open",l[0]),h(r,"bx--overflow-menu--light",l[6]),h(r,"bx--overflow-menu--sm",l[4]==="sm"),h(r,"bx--overflow-menu--xl",l[4]==="xl")},m(_,k){e.m(l[12],document.head),T(document.head,t),V(_,i,k),V(_,r,k),u&&u.m(r,null),T(r,o),m&&m.m(r,null),r.autofocus&&r.focus(),l[32](r),n=!0,a||(s=[W(window,"click",l[30]),W(r,"click",l[25]),W(r,"click",l[33]),W(r,"mouseover",l[26]),W(r,"mouseenter",l[27]),W(r,"mouseleave",l[28]),W(r,"keydown",l[29]),W(r,"keydown",l[34]),W(r,"focusout",l[35])],a=!0)},p(_,k){(!n||k[0]&4096)&&e.p(_[12]),c?c.p&&(!n||k[0]&8388608)&&ge(c,f,_,_[23],n?pe(f,_[23],k,Ft):ve(_[23]),Fe):u&&u.p&&(!n||k[0]&1538)&&u.p(_,n?k:[-1,-1]),_[0]?m?(m.p(_,k),k[0]&1&&L(m,1)):(m=Ge(_),m.c(),L(m,1),m.m(r,null)):m&&(oe(),P(m,1,1,()=>{m=null}),ne()),$(r,g=fe(d,[{type:"button"},{"aria-haspopup":""},(!n||k[0]&1)&&{"aria-expanded":_[0]},(!n||k[0]&8192)&&{"aria-label":_[13]},(!n||k[0]&2048)&&{id:_[11]},k[0]&524288&&_[19]])),h(r,"bx--overflow-menu",!0),h(r,"bx--overflow-menu--open",_[0]),h(r,"bx--overflow-menu--light",_[6]),h(r,"bx--overflow-menu--sm",_[4]==="sm"),h(r,"bx--overflow-menu--xl",_[4]==="xl")},i(_){n||(L(u,_),L(m),n=!0)},o(_){P(u,_),P(m),n=!1},d(_){b(t),_&&e.d(),_&&b(i),_&&b(r),u&&u.d(_),m&&m.d(),l[32](null),a=!1,Re(s)}}}function jt(l,e,t){let i,r;const o=["size","direction","open","light","flipped","menuOptionsClass","icon","iconClass","iconDescription","id","buttonRef","menuRef"];let n=Z(e,o),a,s,f,{$$slots:c={},$$scope:u}=e,{size:m=void 0}=e,{direction:d="bottom"}=e,{open:g=!1}=e,{light:_=!1}=e,{flipped:k=!1}=e,{menuOptionsClass:E=void 0}=e,{icon:v=Pt}=e,{iconClass:O=void 0}=e,{iconDescription:M="Open and close list of options"}=e,{id:w="ccs-"+Math.random().toString(36)}=e,{buttonRef:C=null}=e,{menuRef:A=null}=e;const se=rt("BreadcrumbItem"),G=ot(),q=Ae([]);Ie(l,q,I=>t(22,s=I));const _e=Ae(void 0);Ie(l,_e,I=>t(37,f=I));const Q=Ae(void 0),me=Ae(-1);Ie(l,me,I=>t(21,a=I));let z,F=!0;vt("OverflowMenu",{focusedId:Q,add:({id:I,text:H,primaryFocus:Te,disabled:_t})=>{q.update(Pe=>(Te&&me.set(Pe.length),[...Pe,{id:I,text:H,primaryFocus:Te,disabled:_t,index:Pe.length}]))},update:I=>{_e.set(I)},change:I=>{let H=a+I;H<0?H=s.length-1:H>=s.length&&(H=0);let Te=s[H].disabled;for(;Te;)H=H+I,H<0?H=s.length-1:H>=s.length&&(H=0),Te=s[H].disabled;me.set(H)}}),nt(()=>{if(f){const{index:I,text:H}=s.filter(Te=>Te.id===f)[0];G("close",{index:I,text:H}),t(0,g=!1)}if(g){const{width:I,height:H}=C.getBoundingClientRect();t(20,z=I),!F&&a<0&&A.focus(),k&&(t(3,A.style.left="auto",A),t(3,A.style.right=0,A)),d==="top"?(t(3,A.style.top="auto",A),t(3,A.style.bottom=H+"px",A)):d==="bottom"&&t(3,A.style.top=H+"px",A),se&&(t(3,A.style.top=H+10+"px",A),t(3,A.style.left="-11px",A))}g||(q.set([]),_e.set(void 0),me.set(0)),F=!1});function re(I){ke.call(this,l,I)}function y(I){ke.call(this,l,I)}function Me(I){ke.call(this,l,I)}function ze(I){ke.call(this,l,I)}function Le(I){ke.call(this,l,I)}const Ce=({target:I})=>{C&&C.contains(I)||A&&!A.contains(I)&&t(0,g=!1)};function we(I){ye[I?"unshift":"push"](()=>{A=I,t(3,A)})}function Ve(I){ye[I?"unshift":"push"](()=>{C=I,t(2,C)})}const ct=({target:I})=>{A&&A.contains(I)||(t(0,g=!g),g||G("close"))},dt=I=>{g&&(["ArrowDown","ArrowLeft","ArrowRight","ArrowUp"].includes(I.key)?I.preventDefault():I.key==="Escape"&&(I.stopPropagation(),G("close"),t(0,g=!1),C.focus()))},ht=I=>{g&&(C.contains(I.relatedTarget)||(G("close"),t(0,g=!1)))};return l.$$set=I=>{t(39,e=N(N({},e),ae(I))),t(19,n=Z(e,o)),"size"in I&&t(4,m=I.size),"direction"in I&&t(5,d=I.direction),"open"in I&&t(0,g=I.open),"light"in I&&t(6,_=I.light),"flipped"in I&&t(7,k=I.flipped),"menuOptionsClass"in I&&t(8,E=I.menuOptionsClass),"icon"in I&&t(1,v=I.icon),"iconClass"in I&&t(9,O=I.iconClass),"iconDescription"in I&&t(10,M=I.iconDescription),"id"in I&&t(11,w=I.id),"buttonRef"in I&&t(2,C=I.buttonRef),"menuRef"in I&&t(3,A=I.menuRef),"$$scope"in I&&t(23,u=I.$$scope)},l.$$.update=()=>{t(13,i=e["aria-label"]||"menu"),l.$$.dirty[0]&6291456&&s[a]&&Q.set(s[a].id),l.$$.dirty[0]&1050624&&t(12,r=`<style>
2
- #${w} .bx--overflow-menu-options.bx--overflow-menu-options:after {
3
- width: ${z?z+"px":"2rem"};
4
- }
5
- </style>`)},se&&t(1,v=Ut),e=ae(e),[g,v,C,A,m,d,_,k,E,O,M,w,r,i,se,G,q,_e,me,n,z,a,s,u,c,re,y,Me,ze,Le,Ce,we,Ve,ct,dt,ht]}class Yt extends ue{constructor(e){super(),ce(this,e,jt,Ht,de,{size:4,direction:5,open:0,light:6,flipped:7,menuOptionsClass:8,icon:1,iconClass:9,iconDescription:10,id:11,buttonRef:2,menuRef:3},null,[-1,-1])}}const Wt=Yt;function Xt(l){let e,t,i,r;const o=l[16].default,n=be(o,l,l[15],null),a=n||Jt(l);let s=[l[7]],f={};for(let c=0;c<s.length;c+=1)f=N(f,s[c]);return{c(){e=B("button"),a&&a.c(),this.h()},l(c){e=R(c,"BUTTON",{});var u=D(e);a&&a.l(u),u.forEach(b),this.h()},h(){$(e,f)},m(c,u){V(c,e,u),a&&a.m(e,null),e.autofocus&&e.focus(),l[24](e),t=!0,i||(r=[W(e,"click",l[19]),W(e,"click",l[25]),W(e,"keydown",l[20]),W(e,"keydown",l[26])],i=!0)},p(c,u){n?n.p&&(!t||u&32768)&&ge(n,o,c,c[15],t?pe(o,c[15],u,null):ve(c[15]),null):a&&a.p&&(!t||u&2)&&a.p(c,t?u:-1),$(e,f=fe(s,[u&128&&c[7]]))},i(c){t||(L(a,c),t=!0)},o(c){P(a,c),t=!1},d(c){c&&b(e),a&&a.d(c),l[24](null),i=!1,Re(r)}}}function Qt(l){let e,t,i,r;const o=l[16].default,n=be(o,l,l[15],null),a=n||Kt(l);let s=[l[7]],f={};for(let c=0;c<s.length;c+=1)f=N(f,s[c]);return{c(){e=B("a"),a&&a.c(),this.h()},l(c){e=R(c,"A",{});var u=D(e);a&&a.l(u),u.forEach(b),this.h()},h(){$(e,f)},m(c,u){V(c,e,u),a&&a.m(e,null),l[21](e),t=!0,i||(r=[W(e,"click",l[17]),W(e,"click",l[22]),W(e,"keydown",l[18]),W(e,"keydown",l[23])],i=!0)},p(c,u){n?n.p&&(!t||u&32768)&&ge(n,o,c,c[15],t?pe(o,c[15],u,null):ve(c[15]),null):a&&a.p&&(!t||u&2)&&a.p(c,t?u:-1),$(e,f=fe(s,[u&128&&c[7]]))},i(c){t||(L(a,c),t=!0)},o(c){P(a,c),t=!1},d(c){c&&b(e),a&&a.d(c),l[21](null),i=!1,Re(r)}}}function Jt(l){let e,t;return{c(){e=B("div"),t=S(l[1]),this.h()},l(i){e=R(i,"DIV",{});var r=D(e);t=U(r,l[1]),r.forEach(b),this.h()},h(){h(e,"bx--overflow-menu-options__option-content",!0)},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&b(e)}}}function Kt(l){let e,t;return{c(){e=B("div"),t=S(l[1]),this.h()},l(i){e=R(i,"DIV",{});var r=D(e);t=U(r,l[1]),r.forEach(b),this.h()},h(){h(e,"bx--overflow-menu-options__option-content",!0)},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&b(e)}}}function Zt(l){let e,t,i,r;const o=[Qt,Xt],n=[];function a(c,u){return c[2]?0:1}t=a(l),i=n[t]=o[t](l);let s=[{role:"none"},{id:l[6]},l[11]],f={};for(let c=0;c<s.length;c+=1)f=N(f,s[c]);return{c(){e=B("li"),i.c(),this.h()},l(c){e=R(c,"LI",{role:!0,id:!0});var u=D(e);i.l(u),u.forEach(b),this.h()},h(){$(e,f),h(e,"bx--overflow-menu-options__option",!0),h(e,"bx--overflow-menu--divider",l[4]),h(e,"bx--overflow-menu-options__option--danger",l[5]),h(e,"bx--overflow-menu-options__option--disabled",l[3])},m(c,u){V(c,e,u),n[t].m(e,null),r=!0},p(c,[u]){let m=t;t=a(c),t===m?n[t].p(c,u):(oe(),P(n[m],1,1,()=>{n[m]=null}),ne(),i=n[t],i?i.p(c,u):(i=n[t]=o[t](c),i.c()),L(i,1),i.m(e,null)),$(e,f=fe(s,[{role:"none"},(!r||u&64)&&{id:c[6]},u&2048&&c[11]])),h(e,"bx--overflow-menu-options__option",!0),h(e,"bx--overflow-menu--divider",c[4]),h(e,"bx--overflow-menu-options__option--danger",c[5]),h(e,"bx--overflow-menu-options__option--disabled",c[3])},i(c){r||(L(i),r=!0)},o(c){P(i),r=!1},d(c){c&&b(e),n[t].d()}}}function xt(l,e,t){let i;const r=["text","href","primaryFocus","disabled","hasDivider","danger","requireTitle","id","ref"];let o=Z(e,r),n,{$$slots:a={},$$scope:s}=e;const f=pt(a);let{text:c="Provide text"}=e,{href:u=""}=e,{primaryFocus:m=!1}=e,{disabled:d=!1}=e,{hasDivider:g=!1}=e,{danger:_=!1}=e,{requireTitle:k=!0}=e,{id:E="ccs-"+Math.random().toString(36)}=e,{ref:v=null}=e;const{focusedId:O,add:M,update:w,change:C}=rt("OverflowMenu");Ie(l,O,y=>t(14,n=y)),M({id:E,text:c,primaryFocus:m,disabled:d}),nt(()=>{v&&m&&v.focus()});function A(y){ke.call(this,l,y)}function se(y){ke.call(this,l,y)}function G(y){ke.call(this,l,y)}function q(y){ke.call(this,l,y)}function _e(y){ye[y?"unshift":"push"](()=>{v=y,t(0,v)})}const Q=()=>{w(E)},me=({key:y})=>{y==="ArrowDown"?C(1):y==="ArrowUp"&&C(-1)};function z(y){ye[y?"unshift":"push"](()=>{v=y,t(0,v)})}const F=()=>{w(E)},re=({key:y})=>{y==="ArrowDown"?C(1):y==="ArrowUp"&&C(-1)};return l.$$set=y=>{e=N(N({},e),ae(y)),t(11,o=Z(e,r)),"text"in y&&t(1,c=y.text),"href"in y&&t(2,u=y.href),"primaryFocus"in y&&t(12,m=y.primaryFocus),"disabled"in y&&t(3,d=y.disabled),"hasDivider"in y&&t(4,g=y.hasDivider),"danger"in y&&t(5,_=y.danger),"requireTitle"in y&&t(13,k=y.requireTitle),"id"in y&&t(6,E=y.id),"ref"in y&&t(0,v=y.ref),"$$scope"in y&&t(15,s=y.$$scope)},l.$$.update=()=>{l.$$.dirty&16448&&t(12,m=n===E),l.$$.dirty&8206&&t(7,i={role:"menuitem",tabindex:"-1",class:"bx--overflow-menu-options__btn",disabled:u?void 0:d,href:u||void 0,title:k?f.default?void 0:c:void 0})},[v,c,u,d,g,_,E,i,O,w,C,o,m,k,n,s,a,A,se,G,q,_e,Q,me,z,F,re]}class $t extends ue{constructor(e){super(),ce(this,e,xt,Zt,de,{text:1,href:2,primaryFocus:12,disabled:3,hasDivider:4,danger:5,requireTitle:13,id:6,ref:0})}}const el=$t;function tl(l){let e,t,i,r,o,n,a,s,f,c=l[0]&&He(l),u=[{"aria-atomic":"true"},{"aria-labelledby":l[4]},{"aria-live":f=l[1]?"assertive":"off"},l[6]],m={};for(let d=0;d<u.length;d+=1)m=N(m,u[d]);return{c(){e=B("div"),t=B("label"),i=S(l[3]),r=J(),o=j("svg"),n=j("title"),a=S(l[3]),c&&c.c(),s=j("circle"),this.h()},l(d){e=R(d,"DIV",{"aria-atomic":!0,"aria-labelledby":!0,"aria-live":!0});var g=D(e);t=R(g,"LABEL",{id:!0});var _=D(t);i=U(_,l[3]),_.forEach(b),r=K(g),o=Y(g,"svg",{viewBox:!0});var k=D(o);n=Y(k,"title",{});var E=D(n);a=U(E,l[3]),E.forEach(b),c&&c.l(k),s=Y(k,"circle",{cx:!0,cy:!0,r:!0}),D(s).forEach(b),k.forEach(b),g.forEach(b),this.h()},h(){p(t,"id",l[4]),h(t,"bx--visually-hidden",!0),p(s,"cx","50%"),p(s,"cy","50%"),p(s,"r",l[5]),h(s,"bx--loading__stroke",!0),p(o,"viewBox","0 0 100 100"),h(o,"bx--loading__svg",!0),$(e,m),h(e,"bx--loading",!0),h(e,"bx--loading--small",l[0]),h(e,"bx--loading--stop",!l[1])},m(d,g){V(d,e,g),T(e,t),T(t,i),T(e,r),T(e,o),T(o,n),T(n,a),c&&c.m(o,null),T(o,s)},p(d,g){g&8&&X(i,d[3]),g&16&&p(t,"id",d[4]),g&8&&X(a,d[3]),d[0]?c?c.p(d,g):(c=He(d),c.c(),c.m(o,s)):c&&(c.d(1),c=null),g&32&&p(s,"r",d[5]),$(e,m=fe(u,[{"aria-atomic":"true"},g&16&&{"aria-labelledby":d[4]},g&2&&f!==(f=d[1]?"assertive":"off")&&{"aria-live":f},g&64&&d[6]])),h(e,"bx--loading",!0),h(e,"bx--loading--small",d[0]),h(e,"bx--loading--stop",!d[1])},d(d){d&&b(e),c&&c.d()}}}function ll(l){let e,t,i,r,o,n,a,s,f,c,u=l[0]&&je(l),m=[l[6]],d={};for(let g=0;g<m.length;g+=1)d=N(d,m[g]);return{c(){e=B("div"),t=B("div"),i=B("label"),r=S(l[3]),o=J(),n=j("svg"),a=j("title"),s=S(l[3]),u&&u.c(),f=j("circle"),this.h()},l(g){e=R(g,"DIV",{});var _=D(e);t=R(_,"DIV",{"aria-atomic":!0,"aria-labelledby":!0,"aria-live":!0});var k=D(t);i=R(k,"LABEL",{id:!0});var E=D(i);r=U(E,l[3]),E.forEach(b),o=K(k),n=Y(k,"svg",{viewBox:!0});var v=D(n);a=Y(v,"title",{});var O=D(a);s=U(O,l[3]),O.forEach(b),u&&u.l(v),f=Y(v,"circle",{cx:!0,cy:!0,r:!0}),D(f).forEach(b),v.forEach(b),k.forEach(b),_.forEach(b),this.h()},h(){p(i,"id",l[4]),h(i,"bx--visually-hidden",!0),p(f,"cx","50%"),p(f,"cy","50%"),p(f,"r",l[5]),h(f,"bx--loading__stroke",!0),p(n,"viewBox","0 0 100 100"),h(n,"bx--loading__svg",!0),p(t,"aria-atomic","true"),p(t,"aria-labelledby",l[4]),p(t,"aria-live",c=l[1]?"assertive":"off"),h(t,"bx--loading",!0),h(t,"bx--loading--small",l[0]),h(t,"bx--loading--stop",!l[1]),$(e,d),h(e,"bx--loading-overlay",!0),h(e,"bx--loading-overlay--stop",!l[1])},m(g,_){V(g,e,_),T(e,t),T(t,i),T(i,r),T(t,o),T(t,n),T(n,a),T(a,s),u&&u.m(n,null),T(n,f)},p(g,_){_&8&&X(r,g[3]),_&16&&p(i,"id",g[4]),_&8&&X(s,g[3]),g[0]?u?u.p(g,_):(u=je(g),u.c(),u.m(n,f)):u&&(u.d(1),u=null),_&32&&p(f,"r",g[5]),_&16&&p(t,"aria-labelledby",g[4]),_&2&&c!==(c=g[1]?"assertive":"off")&&p(t,"aria-live",c),_&1&&h(t,"bx--loading--small",g[0]),_&2&&h(t,"bx--loading--stop",!g[1]),$(e,d=fe(m,[_&64&&g[6]])),h(e,"bx--loading-overlay",!0),h(e,"bx--loading-overlay--stop",!g[1])},d(g){g&&b(e),u&&u.d()}}}function He(l){let e;return{c(){e=j("circle"),this.h()},l(t){e=Y(t,"circle",{cx:!0,cy:!0,r:!0}),D(e).forEach(b),this.h()},h(){p(e,"cx","50%"),p(e,"cy","50%"),p(e,"r",l[5]),h(e,"bx--loading__background",!0)},m(t,i){V(t,e,i)},p(t,i){i&32&&p(e,"r",t[5])},d(t){t&&b(e)}}}function je(l){let e;return{c(){e=j("circle"),this.h()},l(t){e=Y(t,"circle",{cx:!0,cy:!0,r:!0}),D(e).forEach(b),this.h()},h(){p(e,"cx","50%"),p(e,"cy","50%"),p(e,"r",l[5]),h(e,"bx--loading__background",!0)},m(t,i){V(t,e,i)},p(t,i){i&32&&p(e,"r",t[5])},d(t){t&&b(e)}}}function il(l){let e;function t(o,n){return o[2]?ll:tl}let i=t(l),r=i(l);return{c(){r.c(),e=x()},l(o){r.l(o),e=x()},m(o,n){r.m(o,n),V(o,e,n)},p(o,[n]){i===(i=t(o))&&r?r.p(o,n):(r.d(1),r=i(o),r&&(r.c(),r.m(e.parentNode,e)))},i:ee,o:ee,d(o){r.d(o),o&&b(e)}}}function rl(l,e,t){let i;const r=["small","active","withOverlay","description","id"];let o=Z(e,r),{small:n=!1}=e,{active:a=!0}=e,{withOverlay:s=!0}=e,{description:f="Active loading indicator"}=e,{id:c="ccs-"+Math.random().toString(36)}=e;return l.$$set=u=>{e=N(N({},e),ae(u)),t(6,o=Z(e,r)),"small"in u&&t(0,n=u.small),"active"in u&&t(1,a=u.active),"withOverlay"in u&&t(2,s=u.withOverlay),"description"in u&&t(3,f=u.description),"id"in u&&t(4,c=u.id)},l.$$.update=()=>{l.$$.dirty&1&&t(5,i=n?"42":"44")},[n,a,s,f,c,i,o]}class ol extends ue{constructor(e){super(),ce(this,e,rl,il,de,{small:0,active:1,withOverlay:2,description:3,id:4})}}const nl=ol;function sl(l){let e,t,i,r,o,n;const a=l[11].default,s=be(a,l,l[10],null);let f=[l[9],{style:i=l[9].style+"; "+(l[6]&&"position: relative")}],c={};for(let u=0;u<f.length;u+=1)c=N(c,f[u]);return{c(){e=B("div"),t=B("div"),s&&s.c(),this.h()},l(u){e=R(u,"DIV",{style:!0});var m=D(e);t=R(m,"DIV",{});var d=D(t);s&&s.l(d),d.forEach(b),m.forEach(b),this.h()},h(){h(t,"bx--popover-contents",!0),$(e,c),h(e,"bx--popover",!0),h(e,"bx--popover--caret",l[2]),h(e,"bx--popover--light",l[4]),h(e,"bx--popover--high-contrast",l[5]),h(e,"bx--popover--top",l[3]==="top"),h(e,"bx--popover--top-left",l[3]==="top-left"),h(e,"bx--popover--top-right",l[3]==="top-right"),h(e,"bx--popover--bottom",l[3]==="bottom"),h(e,"bx--popover--bottom-left",l[3]==="bottom-left"),h(e,"bx--popover--bottom-right",l[3]==="bottom-right"),h(e,"bx--popover--left",l[3]==="left"),h(e,"bx--popover--left-bottom",l[3]==="left-bottom"),h(e,"bx--popover--left-top",l[3]==="left-top"),h(e,"bx--popover--right",l[3]==="right"),h(e,"bx--popover--right-bottom",l[3]==="right-bottom"),h(e,"bx--popover--right-top",l[3]==="right-top"),h(e,"bx--popover--open",l[0]),h(e,"bx--popover--relative",l[6])},m(u,m){V(u,e,m),T(e,t),s&&s.m(t,null),l[13](e),r=!0,o||(n=W(window,"click",l[12]),o=!0)},p(u,[m]){s&&s.p&&(!r||m&1024)&&ge(s,a,u,u[10],r?pe(a,u[10],m,null):ve(u[10]),null),$(e,c=fe(f,[m&512&&u[9],(!r||m&576&&i!==(i=u[9].style+"; "+(u[6]&&"position: relative")))&&{style:i}])),h(e,"bx--popover",!0),h(e,"bx--popover--caret",u[2]),h(e,"bx--popover--light",u[4]),h(e,"bx--popover--high-contrast",u[5]),h(e,"bx--popover--top",u[3]==="top"),h(e,"bx--popover--top-left",u[3]==="top-left"),h(e,"bx--popover--top-right",u[3]==="top-right"),h(e,"bx--popover--bottom",u[3]==="bottom"),h(e,"bx--popover--bottom-left",u[3]==="bottom-left"),h(e,"bx--popover--bottom-right",u[3]==="bottom-right"),h(e,"bx--popover--left",u[3]==="left"),h(e,"bx--popover--left-bottom",u[3]==="left-bottom"),h(e,"bx--popover--left-top",u[3]==="left-top"),h(e,"bx--popover--right",u[3]==="right"),h(e,"bx--popover--right-bottom",u[3]==="right-bottom"),h(e,"bx--popover--right-top",u[3]==="right-top"),h(e,"bx--popover--open",u[0]),h(e,"bx--popover--relative",u[6])},i(u){r||(L(s,u),r=!0)},o(u){P(s,u),r=!1},d(u){u&&b(e),s&&s.d(u),l[13](null),o=!1,n()}}}function al(l,e,t){const i=["open","closeOnOutsideClick","caret","align","light","highContrast","relative"];let r=Z(e,i),{$$slots:o={},$$scope:n}=e,{open:a=!1}=e,{closeOnOutsideClick:s=!1}=e,{caret:f=!1}=e,{align:c="top"}=e,{light:u=!1}=e,{highContrast:m=!1}=e,{relative:d=!1}=e;const g=ot();let _=null;const k=v=>{a&&(_.contains(v.target)||(g("click:outside",{target:v.target}),s&&t(0,a=!1)))};function E(v){ye[v?"unshift":"push"](()=>{_=v,t(7,_)})}return l.$$set=v=>{e=N(N({},e),ae(v)),t(9,r=Z(e,i)),"open"in v&&t(0,a=v.open),"closeOnOutsideClick"in v&&t(1,s=v.closeOnOutsideClick),"caret"in v&&t(2,f=v.caret),"align"in v&&t(3,c=v.align),"light"in v&&t(4,u=v.light),"highContrast"in v&&t(5,m=v.highContrast),"relative"in v&&t(6,d=v.relative),"$$scope"in v&&t(10,n=v.$$scope)},[a,s,f,c,u,m,d,_,g,r,n,o,k,E]}class fl extends ue{constructor(e){super(),ce(this,e,al,sl,de,{open:0,closeOnOutsideClick:1,caret:2,align:3,light:4,highContrast:5,relative:6})}}const ul=fl,cl=l=>({}),Ye=l=>({});function dl(l){let e;return{c(){e=S(l[4])},l(t){e=U(t,l[4])},m(t,i){V(t,e,i)},p(t,i){i&16&&X(e,t[4])},d(t){t&&b(e)}}}function We(l){let e,t,i;var r=l[10][l[2]];function o(n){return{props:{class:"bx--progress-bar__status-icon"}}}return r&&(e=Oe(r,o())),{c(){e&&te(e.$$.fragment),t=x()},l(n){e&&he(e.$$.fragment,n),t=x()},m(n,a){e&&le(e,n,a),V(n,t,a),i=!0},p(n,a){if(a&4&&r!==(r=n[10][n[2]])){if(e){oe();const s=e;P(s.$$.fragment,1,0,()=>{ie(s,1)}),ne()}r?(e=Oe(r,o()),te(e.$$.fragment),L(e.$$.fragment,1),le(e,t.parentNode,t)):e=null}},i(n){i||(e&&L(e.$$.fragment,n),i=!0)},o(n){e&&P(e.$$.fragment,n),i=!1},d(n){n&&b(t),e&&ie(e,n)}}}function Xe(l){let e,t;return{c(){e=B("div"),t=S(l[6]),this.h()},l(i){e=R(i,"DIV",{id:!0});var r=D(e);t=U(r,l[6]),r.forEach(b),this.h()},h(){p(e,"id",l[11]),h(e,"bx--progress-bar__helper-text",!0)},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&64&&X(t,i[6])},d(i){i&&b(e)}}}function hl(l){let e,t,i,r,o,n,a,s,f,c,u,m,d;const g=l[15].labelText,_=be(g,l,l[14],Ye),k=_||dl(l);let E=(l[2]==="error"||l[2]==="finished")&&We(l),v=l[6]&&Xe(l),O=[l[12]],M={};for(let w=0;w<O.length;w+=1)M=N(M,O[w]);return{c(){e=B("div"),t=B("label"),k&&k.c(),i=J(),E&&E.c(),r=J(),o=B("div"),n=B("div"),m=J(),v&&v.c(),this.h()},l(w){e=R(w,"DIV",{});var C=D(e);t=R(C,"LABEL",{for:!0});var A=D(t);k&&k.l(A),i=K(A),E&&E.l(A),A.forEach(b),r=K(C),o=R(C,"DIV",{role:!0,id:!0,"aria-busy":!0,"aria-valuemin":!0,"aria-valuemax":!0,"aria-valuenow":!0,"aria-describedby":!0});var se=D(o);n=R(se,"DIV",{}),D(n).forEach(b),se.forEach(b),m=K(C),v&&v.l(C),C.forEach(b),this.h()},h(){p(t,"for",l[7]),h(t,"bx--progress-bar__label",!0),h(t,"bx--visually-hidden",l[5]),h(n,"bx--progress-bar__bar",!0),Ee(n,"transform",l[2]==="active"&&`scaleX(${l[8]/l[0]})`),p(o,"role","progressbar"),p(o,"id",l[7]),p(o,"aria-busy",a=l[2]==="active"),p(o,"aria-valuemin",s=l[9]?void 0:0),p(o,"aria-valuemax",f=l[9]?void 0:l[0]),p(o,"aria-valuenow",c=l[9]?void 0:l[8]),p(o,"aria-describedby",u=l[6]?l[11]:null),h(o,"bx--progress-bar__track",!0),$(e,M),h(e,"bx--progress-bar",!0),h(e,"bx--progress-bar--indeterminate",l[9]),h(e,"bx--progress-bar--big",l[3]==="md"),h(e,"bx--progress-bar--small",l[3]==="sm"),h(e,"bx--progress-bar--inline",l[1]==="inline"),h(e,"bx--progress-bar--indented",l[1]==="indented"),h(e,"bx--progress-bar--error",l[2]==="error"),h(e,"bx--progress-bar--finished",l[2]==="finished")},m(w,C){V(w,e,C),T(e,t),k&&k.m(t,null),T(t,i),E&&E.m(t,null),T(e,r),T(e,o),T(o,n),T(e,m),v&&v.m(e,null),d=!0},p(w,[C]){_?_.p&&(!d||C&16384)&&ge(_,g,w,w[14],d?pe(g,w[14],C,cl):ve(w[14]),Ye):k&&k.p&&(!d||C&16)&&k.p(w,d?C:-1),w[2]==="error"||w[2]==="finished"?E?(E.p(w,C),C&4&&L(E,1)):(E=We(w),E.c(),L(E,1),E.m(t,null)):E&&(oe(),P(E,1,1,()=>{E=null}),ne()),(!d||C&128)&&p(t,"for",w[7]),(!d||C&32)&&h(t,"bx--visually-hidden",w[5]),C&261&&Ee(n,"transform",w[2]==="active"&&`scaleX(${w[8]/w[0]})`),(!d||C&128)&&p(o,"id",w[7]),(!d||C&4&&a!==(a=w[2]==="active"))&&p(o,"aria-busy",a),(!d||C&512&&s!==(s=w[9]?void 0:0))&&p(o,"aria-valuemin",s),(!d||C&513&&f!==(f=w[9]?void 0:w[0]))&&p(o,"aria-valuemax",f),(!d||C&768&&c!==(c=w[9]?void 0:w[8]))&&p(o,"aria-valuenow",c),(!d||C&64&&u!==(u=w[6]?w[11]:null))&&p(o,"aria-describedby",u),w[6]?v?v.p(w,C):(v=Xe(w),v.c(),v.m(e,null)):v&&(v.d(1),v=null),$(e,M=fe(O,[C&4096&&w[12]])),h(e,"bx--progress-bar",!0),h(e,"bx--progress-bar--indeterminate",w[9]),h(e,"bx--progress-bar--big",w[3]==="md"),h(e,"bx--progress-bar--small",w[3]==="sm"),h(e,"bx--progress-bar--inline",w[1]==="inline"),h(e,"bx--progress-bar--indented",w[1]==="indented"),h(e,"bx--progress-bar--error",w[2]==="error"),h(e,"bx--progress-bar--finished",w[2]==="finished")},i(w){d||(L(k,w),L(E),d=!0)},o(w){P(k,w),P(E),d=!1},d(w){w&&b(e),k&&k.d(w),E&&E.d(),v&&v.d()}}}function _l(l,e,t){let i;const r=["value","max","kind","status","size","labelText","hideLabel","helperText","id"];let o=Z(e,r),{$$slots:n={},$$scope:a}=e,{value:s=void 0}=e,{max:f=100}=e,{kind:c="default"}=e,{status:u="active"}=e,{size:m="md"}=e,{labelText:d=""}=e,{hideLabel:g=!1}=e,{helperText:_=""}=e,{id:k="ccs-"+Math.random().toString(36)}=e;const E={error:Ot,finished:Mt};let v="ccs-"+Math.random().toString(36),O;return l.$$set=M=>{e=N(N({},e),ae(M)),t(12,o=Z(e,r)),"value"in M&&t(13,s=M.value),"max"in M&&t(0,f=M.max),"kind"in M&&t(1,c=M.kind),"status"in M&&t(2,u=M.status),"size"in M&&t(3,m=M.size),"labelText"in M&&t(4,d=M.labelText),"hideLabel"in M&&t(5,g=M.hideLabel),"helperText"in M&&t(6,_=M.helperText),"id"in M&&t(7,k=M.id),"$$scope"in M&&t(14,a=M.$$scope)},l.$$.update=()=>{l.$$.dirty&8196&&t(9,i=s===void 0&&u==="active"),l.$$.dirty&8197&&(u==="error"||s<0?t(8,O=0):s>f?t(8,O=f):t(8,O=s))},[f,c,u,m,d,g,_,k,O,i,E,v,o,s,a,n]}class ml extends ue{constructor(e){super(),ce(this,e,_l,hl,de,{value:13,max:0,kind:1,status:2,size:3,labelText:4,hideLabel:5,helperText:6,id:7})}}const bl=ml;class gl{static login(e){return Ne(qe,{method:"GET",url:"/google/login",query:{origin_url:e},errors:{422:"Validation Error"}})}static auth(){return Ne(qe,{method:"GET",url:"/google/auth"})}static logout(){return Ne(qe,{method:"GET",url:"/google/logout"})}}function Qe(l){let e,t;return{c(){e=j("title"),t=S(l[1])},l(i){e=Y(i,"title",{});var r=D(e);t=U(r,l[1]),r.forEach(b)},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&2&&X(t,i[1])},d(i){i&&b(e)}}}function vl(l){let e,t,i=l[1]&&Qe(l),r=[{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 n=0;n<r.length;n+=1)o=N(o,r[n]);return{c(){e=j("svg"),i&&i.c(),t=j("path"),this.h()},l(n){e=Y(n,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var a=D(e);i&&i.l(a),t=Y(a,"path",{d:!0}),D(t).forEach(b),a.forEach(b),this.h()},h(){p(t,"d","M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"),De(e,o)},m(n,a){V(n,e,a),i&&i.m(e,null),T(e,t)},p(n,[a]){n[1]?i?i.p(n,a):(i=Qe(n),i.c(),i.m(e,t)):i&&(i.d(1),i=null),De(e,o=fe(r,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},a&1&&{width:n[0]},a&1&&{height:n[0]},a&4&&n[2],a&8&&n[3]]))},i:ee,o:ee,d(n){n&&b(e),i&&i.d()}}}function pl(l,e,t){let i,r;const o=["size","title"];let n=Z(e,o),{size:a=16}=e,{title:s=void 0}=e;return l.$$set=f=>{t(5,e=N(N({},e),ae(f))),t(3,n=Z(e,o)),"size"in f&&t(0,a=f.size),"title"in f&&t(1,s=f.title)},l.$$.update=()=>{t(4,i=e["aria-label"]||e["aria-labelledby"]||s),t(2,r={"aria-hidden":i?void 0:!0,role:i?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[a,s,r,n,i]}class kl extends ue{constructor(e){super(),ce(this,e,pl,vl,de,{size:0,title:1})}}const wl=yt(gl.logout,{onSuccess:()=>zt.invalidateQueries([Lt])});function Je(l){let e,t,i,r,o,n=`${l[2]}px`,a=`${Math.max(l[5]/2+Be,Math.min(l[1],l[6]-l[5]/2-Be))}px`,s;const f=[Il,El],c=[];function u(m,d){return m[0]?0:m[3]?1:-1}return~(i=u(l))&&(r=c[i]=f[i](l)),{c(){e=B("div"),t=B("div"),r&&r.c(),this.h()},l(m){e=R(m,"DIV",{role:!0,class:!0});var d=D(e);t=R(d,"DIV",{class:!0});var g=D(t);r&&r.l(g),g.forEach(b),d.forEach(b),this.h()},h(){p(t,"class","min-w-xl text-container svelte-80e402"),p(e,"role","tooltip"),p(e,"class","hover-tooltip absolute mt-2 -translate-x-1/2 break-words border border-gray-300 bg-white p-2 shadow-md svelte-80e402"),kt(()=>l[7].call(e)),Ee(e,"top",n),Ee(e,"left",a)},m(m,d){V(m,e,d),T(e,t),~i&&c[i].m(t,null),o=wt(e,l[7].bind(e)),s=!0},p(m,d){let g=i;i=u(m),i===g?~i&&c[i].p(m,d):(r&&(oe(),P(c[g],1,1,()=>{c[g]=null}),ne()),~i?(r=c[i],r?r.p(m,d):(r=c[i]=f[i](m),r.c()),L(r,1),r.m(t,null)):r=null),d&4&&n!==(n=`${m[2]}px`)&&Ee(e,"top",n),d&34&&a!==(a=`${Math.max(m[5]/2+Be,Math.min(m[1],m[6]-m[5]/2-Be))}px`)&&Ee(e,"left",a)},i(m){s||(L(r),s=!0)},o(m){P(r),s=!1},d(m){m&&b(e),~i&&c[i].d(),o()}}}function El(l){let e,t,i;const r=[l[4]];var o=l[3];function n(a){let s={};for(let f=0;f<r.length;f+=1)s=N(s,r[f]);return{props:s}}return o&&(e=Oe(o,n())),{c(){e&&te(e.$$.fragment),t=x()},l(a){e&&he(e.$$.fragment,a),t=x()},m(a,s){e&&le(e,a,s),V(a,t,s),i=!0},p(a,s){const f=s&16?fe(r,[Et(a[4])]):{};if(s&8&&o!==(o=a[3])){if(e){oe();const c=e;P(c.$$.fragment,1,0,()=>{ie(c,1)}),ne()}o?(e=Oe(o,n()),te(e.$$.fragment),L(e.$$.fragment,1),le(e,t.parentNode,t)):e=null}else o&&e.$set(f)},i(a){i||(e&&L(e.$$.fragment,a),i=!0)},o(a){e&&P(e.$$.fragment,a),i=!1},d(a){a&&b(t),e&&ie(e,a)}}}function Il(l){let e,t;return{c(){e=B("span"),t=S(l[0]),this.h()},l(i){e=R(i,"SPAN",{class:!0});var r=D(e);t=U(r,l[0]),r.forEach(b),this.h()},h(){p(e,"class","whitespace-pre-wrap")},m(i,r){V(i,e,r),T(e,t)},p(i,r){r&1&&X(t,i[0])},i:ee,o:ee,d(i){i&&b(e)}}}function Tl(l){let e,t,i=l[0]!=""&&Je(l);return{c(){i&&i.c(),e=x()},l(r){i&&i.l(r),e=x()},m(r,o){i&&i.m(r,o),V(r,e,o),t=!0},p(r,[o]){r[0]!=""?i?(i.p(r,o),o&1&&L(i,1)):(i=Je(r),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(oe(),P(i,1,1,()=>{i=null}),ne())},i(r){t||(L(i),t=!0)},o(r){P(i),t=!1},d(r){i&&i.d(r),r&&b(e)}}}const Be=10;function Dl(l,e,t){let{text:i}=e,{x:r}=e,{y:o}=e,{component:n}=e,{props:a}=e;const s=window.innerWidth;let f=0;function c(){f=this.clientWidth,t(5,f)}return l.$$set=u=>{"text"in u&&t(0,i=u.text),"x"in u&&t(1,r=u.x),"y"in u&&t(2,o=u.y),"component"in u&&t(3,n=u.component),"props"in u&&t(4,a=u.props)},[i,r,o,n,a,f,s,c]}class Ol extends ue{constructor(e){super(),ce(this,e,Dl,Tl,de,{text:0,x:1,y:2,component:3,props:4})}}function ut(l,{text:e,component:t,props:i}){if(t==null&&e==null)return;let r,o=e,n=t,a=i;function s(){if(r!=null)return;const c=l.getBoundingClientRect();r=new Ol({props:{text:o,component:n,props:a,x:c.left+c.width/2,y:c.bottom},target:document.body})}function f(){r==null||r.$destroy(),r=void 0}return l.addEventListener("mouseover",s),l.addEventListener("mouseleave",f),l.addEventListener("click",f),{update({text:c,component:u,props:m}){o=c,n=u,a=m,r==null||r.$set({tooltipText:c})},destroy(){f(),l.removeEventListener("mouseover",s),l.removeEventListener("mouseleave",f),l.removeEventListener("click",f)}}}function Ke(l,e,t){const i=l.slice();i[13]=e[t][0],i[14]=e[t][1];const r=i[14].step_progress==null?void 0:i[14].step_progress;return i[15]=r,i}function Ze(l){let e,t,i,r,o,n,a,s,f,c,u,m,d;const g=[zl,yl,Ml],_=[];function k(v,O){return v[5].length?0:v[4].length?1:2}r=k(l),o=_[r]=g[r](l);let E=l[5].length===1&&xe(l);return s=new ul({props:{align:"bottom-right",caret:!0,closeOnOutsideClick:!0,open:l[1],$$slots:{default:[Ll]},$$scope:{ctx:l}}}),s.$on("click:outside",l[11]),{c(){e=B("div"),t=B("button"),i=B("div"),o.c(),n=J(),E&&E.c(),a=J(),te(s.$$.fragment),this.h()},l(v){e=R(v,"DIV",{});var O=D(e);t=R(O,"BUTTON",{class:!0});var M=D(t);i=R(M,"DIV",{class:!0});var w=D(i);o.l(w),w.forEach(b),n=K(M),E&&E.l(M),a=K(M),he(s.$$.fragment,M),M.forEach(b),O.forEach(b),this.h()},h(){p(i,"class","relative z-10 flex gap-x-2"),t.disabled=f=!l[2],p(t,"class","task-button relative h-8 rounded border p-2 transition"),h(t,"opacity-40",!l[2]),h(t,"bg-white",!l[5].length),h(t,"bg-blue-200",l[5].length),h(t,"border-blue-400",l[5].length)},m(v,O){V(v,e,O),T(e,t),T(t,i),_[r].m(i,null),T(t,n),E&&E.m(t,null),T(t,a),le(s,t,null),u=!0,m||(d=[W(t,"click",It(l[12])),st(c=ut.call(null,e,{text:l[2]?"":"User does not have access to run tasks."}))],m=!0)},p(v,O){let M=r;r=k(v),r===M?_[r].p(v,O):(oe(),P(_[M],1,1,()=>{_[M]=null}),ne(),o=_[r],o?o.p(v,O):(o=_[r]=g[r](v),o.c()),L(o,1),o.m(i,null)),v[5].length===1?E?E.p(v,O):(E=xe(v),E.c(),E.m(t,a)):E&&(E.d(1),E=null);const w={};O&2&&(w.open=v[1]),O&262145&&(w.$$scope={dirty:O,ctx:v}),s.$set(w),(!u||O&4&&f!==(f=!v[2]))&&(t.disabled=f),(!u||O&4)&&h(t,"opacity-40",!v[2]),(!u||O&32)&&h(t,"bg-white",!v[5].length),(!u||O&32)&&h(t,"bg-blue-200",v[5].length),(!u||O&32)&&h(t,"border-blue-400",v[5].length),c&&at(c.update)&&O&4&&c.update.call(null,{text:v[2]?"":"User does not have access to run tasks."})},i(v){u||(L(o),L(s.$$.fragment,v),u=!0)},o(v){P(o),P(s.$$.fragment,v),u=!1},d(v){v&&b(e),_[r].d(),E&&E.d(),ie(s),m=!1,Re(d)}}}function Ml(l){let e,t,i;return t=new kl({}),{c(){e=S("Tasks "),te(t.$$.fragment)},l(r){e=U(r,"Tasks "),he(t.$$.fragment,r)},m(r,o){V(r,e,o),le(t,r,o),i=!0},p:ee,i(r){i||(L(t.$$.fragment,r),i=!0)},o(r){P(t.$$.fragment,r),i=!1},d(r){r&&b(e),ie(t,r)}}}function yl(l){let e=l[4].length+"",t,i,r=l[4].length>1?"s":"",o;return{c(){t=S(e),i=S(" failed task"),o=S(r)},l(n){t=U(n,e),i=U(n," failed task"),o=U(n,r)},m(n,a){V(n,t,a),V(n,i,a),V(n,o,a)},p(n,a){a&16&&e!==(e=n[4].length+"")&&X(t,e),a&16&&r!==(r=n[4].length>1?"s":"")&&X(o,r)},i:ee,o:ee,d(n){n&&b(t),n&&b(i),n&&b(o)}}}function zl(l){let e=l[5].length+"",t,i,r=l[5].length>1?"s":"",o,n,a,s;return a=new nl({props:{withOverlay:!1,small:!0}}),{c(){t=S(e),i=S(" running task"),o=S(r),n=S("... "),te(a.$$.fragment)},l(f){t=U(f,e),i=U(f," running task"),o=U(f,r),n=U(f,"... "),he(a.$$.fragment,f)},m(f,c){V(f,t,c),V(f,i,c),V(f,o,c),V(f,n,c),le(a,f,c),s=!0},p(f,c){(!s||c&32)&&e!==(e=f[5].length+"")&&X(t,e),(!s||c&32)&&r!==(r=f[5].length>1?"s":"")&&X(o,r)},i(f){s||(L(a.$$.fragment,f),s=!0)},o(f){P(a.$$.fragment,f),s=!1},d(f){f&&b(t),f&&b(i),f&&b(o),f&&b(n),ie(a,f)}}}function xe(l){let e,t=`${l[3]*100}%`;return{c(){e=B("div"),this.h()},l(i){e=R(i,"DIV",{class:!0}),D(e).forEach(b),this.h()},h(){p(e,"class","absolute left-0 top-0 z-0 h-full bg-blue-400 transition"),Ee(e,"width",t)},m(i,r){V(i,e,r)},p(i,r){r&8&&t!==(t=`${i[3]*100}%`)&&Ee(e,"width",t)},d(i){i&&b(e)}}}function $e(l,e){let t,i,r,o=e[14].name+"",n,a,s,f,c,u;return f=new bl({props:{labelText:e[14].message||"",helperText:e[14].status!="completed"?e[14].details:"",value:e[14].status==="completed"?1:e[15],max:1,size:"sm",status:e[7][e[14].status]}}),{key:l,first:null,c(){t=B("div"),i=B("div"),r=B("div"),n=S(o),a=J(),s=B("div"),te(f.$$.fragment),c=J(),this.h()},l(m){t=R(m,"DIV",{class:!0});var d=D(t);i=R(d,"DIV",{class:!0});var g=D(i);r=R(g,"DIV",{class:!0});var _=D(r);n=U(_,o),_.forEach(b),g.forEach(b),a=K(d),s=R(d,"DIV",{class:!0});var k=D(s);he(f.$$.fragment,k),k.forEach(b),c=K(d),d.forEach(b),this.h()},h(){p(r,"class","mr-2"),p(i,"class","text-s flex flex-row"),p(s,"class","progress-container mt-3"),p(t,"class","relative border-b-2 border-slate-200 p-4 text-left last:border-b-0"),this.first=t},m(m,d){V(m,t,d),T(t,i),T(i,r),T(r,n),T(t,a),T(t,s),le(f,s,null),T(t,c),u=!0},p(m,d){e=m,(!u||d&1)&&o!==(o=e[14].name+"")&&X(n,o);const g={};d&1&&(g.labelText=e[14].message||""),d&1&&(g.helperText=e[14].status!="completed"?e[14].details:""),d&1&&(g.value=e[14].status==="completed"?1:e[15]),d&1&&(g.status=e[7][e[14].status]),f.$set(g)},i(m){u||(L(f.$$.fragment,m),u=!0)},o(m){P(f.$$.fragment,m),u=!1},d(m){m&&b(t),ie(f)}}}function Ll(l){let e,t=[],i=new Map,r,o=l[0];const n=a=>a[13];for(let a=0;a<o.length;a+=1){let s=Ke(l,o,a),f=n(s);i.set(f,t[a]=$e(f,s))}return{c(){e=B("div");for(let a=0;a<t.length;a+=1)t[a].c();this.h()},l(a){e=R(a,"DIV",{class:!0});var s=D(e);for(let f=0;f<t.length;f+=1)t[f].l(s);s.forEach(b),this.h()},h(){p(e,"class","flex flex-col")},m(a,s){V(a,e,s);for(let f=0;f<t.length;f+=1)t[f]&&t[f].m(e,null);r=!0},p(a,s){s&129&&(o=a[0],oe(),t=Tt(t,s,n,1,a,o,i,e,Dt,$e,null,Ke),ne())},i(a){if(!r){for(let s=0;s<o.length;s+=1)L(t[s]);r=!0}},o(a){for(let s=0;s<t.length;s+=1)P(t[s]);r=!1},d(a){a&&b(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function Cl(l){let e,t,i=l[2]&&Ze(l);return{c(){i&&i.c(),e=x()},l(r){i&&i.l(r),e=x()},m(r,o){i&&i.m(r,o),V(r,e,o),t=!0},p(r,[o]){r[2]?i?(i.p(r,o),o&4&&L(i,1)):(i=Ze(r),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(oe(),P(i,1,1,()=>{i=null}),ne())},i(r){t||(L(i),t=!0)},o(r){P(i),t=!1},d(r){i&&i.d(r),r&&b(e)}}}function Vl(l,e,t){let i,r,o,n,a,s,f;const c=Ct();Ie(l,c,k=>t(10,f=k));let u=!1;const m={pending:"active",completed:"finished",error:"error"},d=ft();Ie(l,d,k=>t(9,s=k));const g=()=>{u&&t(1,u=!1)},_=()=>t(1,u=!u);return l.$$.update=()=>{var k,E,v,O;l.$$.dirty&1024&&t(0,i=Object.entries(((k=f.data)==null?void 0:k.tasks)||{}).sort(([,M],[,w])=>Date.parse(w.start_timestamp)-Date.parse(M.start_timestamp))),l.$$.dirty&1&&t(5,r=i.filter(([,M])=>M.status==="pending")),l.$$.dirty&1&&t(4,o=i.filter(([,M])=>M.status==="error")),l.$$.dirty&1024&&t(3,n=((E=f.data)==null?void 0:E.progress)||0),l.$$.dirty&512&&t(2,a=((v=s.data)==null?void 0:v.access.dataset.compute_signals)||((O=s.data)==null?void 0:O.access.create_dataset))},[i,u,a,n,o,r,c,m,d,s,f,g,_]}class Al extends ue{constructor(e){super(),ce(this,e,Vl,Cl,de,{})}}const Bl=l=>({}),et=l=>({}),Rl=l=>({}),tt=l=>({}),Pl=l=>({}),lt=l=>({});function it(l){let e,t,i,r;const o=[ql,Nl],n=[];function a(s,f){var c;return((c=s[1].data)==null?void 0:c.user)!=null?0:1}return e=a(l),t=n[e]=o[e](l),{c(){t.c(),i=x()},l(s){t.l(s),i=x()},m(s,f){n[e].m(s,f),V(s,i,f),r=!0},p(s,f){let c=e;e=a(s),e===c?n[e].p(s,f):(oe(),P(n[c],1,1,()=>{n[c]=null}),ne(),t=n[e],t?t.p(s,f):(t=n[e]=o[e](s),t.c()),L(t,1),t.m(i.parentNode,i))},i(s){r||(L(t),r=!0)},o(s){P(t),r=!1},d(s){n[e].d(s),s&&b(i)}}}function Nl(l){let e,t;return e=new Vt({props:{size:"small",href:l[3],target:l[6],$$slots:{default:[Sl]},$$scope:{ctx:l}}}),{c(){te(e.$$.fragment)},l(i){he(e.$$.fragment,i)},m(i,r){le(e,i,r),t=!0},p(i,r){const o={};r&256&&(o.$$scope={dirty:r,ctx:i}),e.$set(o)},i(i){t||(L(e.$$.fragment,i),t=!0)},o(i){P(e.$$.fragment,i),t=!1},d(i){ie(e,i)}}}function ql(l){var m;let e,t,i=((m=l[1].data)==null?void 0:m.user.given_name)+"",r,o,n,a,s,f,c,u;return s=new Wt({props:{flipped:!0,$$slots:{default:[Ul]},$$scope:{ctx:l}}}),{c(){e=B("div"),t=B("div"),r=S(i),n=J(),a=B("div"),te(s.$$.fragment),this.h()},l(d){e=R(d,"DIV",{class:!0});var g=D(e);t=R(g,"DIV",{class:!0});var _=D(t);r=U(_,i),_.forEach(b),n=K(g),a=R(g,"DIV",{});var k=D(a);he(s.$$.fragment,k),k.forEach(b),g.forEach(b),this.h()},h(){p(t,"class","ml-2 mr-1 flex"),p(e,"class","flex h-9 flex-row items-center rounded border border-neutral-200")},m(d,g){var _,k;V(d,e,g),T(e,t),T(t,r),T(e,n),T(e,a),le(s,a,null),f=!0,c||(u=st(o=ut.call(null,t,{text:`Logged into Google as ${(_=l[1].data)==null?void 0:_.user.name} with email ${(k=l[1].data)==null?void 0:k.user.email}`})),c=!0)},p(d,g){var k,E,v;(!f||g&2)&&i!==(i=((k=d[1].data)==null?void 0:k.user.given_name)+"")&&X(r,i),o&&at(o.update)&&g&2&&o.update.call(null,{text:`Logged into Google as ${(E=d[1].data)==null?void 0:E.user.name} with email ${(v=d[1].data)==null?void 0:v.user.email}`});const _={};g&256&&(_.$$scope={dirty:g,ctx:d}),s.$set(_)},i(d){f||(L(s.$$.fragment,d),f=!0)},o(d){P(s.$$.fragment,d),f=!1},d(d){d&&b(e),ie(s),c=!1,u()}}}function Sl(l){let e;return{c(){e=S("Login")},l(t){e=U(t,"Login")},m(t,i){V(t,e,i)},d(t){t&&b(e)}}}function Ul(l){let e,t;return e=new el({props:{class:"optionOne",text:"Logout"}}),e.$on("click",l[5]),{c(){te(e.$$.fragment)},l(i){he(e.$$.fragment,i)},m(i,r){le(e,i,r),t=!0},p:ee,i(i){t||(L(e.$$.fragment,i),t=!0)},o(i){P(e.$$.fragment,i),t=!1},d(i){ie(e,i)}}}function Fl(l){var me;let e,t,i,r,o,n,a,s,f,c,u,m,d,g,_,k,E,v,O;const M=l[7]["header-subtext"],w=be(M,l,l[8],lt),C=l[7]["header-center"],A=be(C,l,l[8],tt),se=l[7]["header-right"],G=be(se,l,l[8],et);_=new Al({});let q=((me=l[1].data)==null?void 0:me.auth_enabled)&&it(l);const _e=l[7].default,Q=be(_e,l,l[8],null);return{c(){e=B("div"),t=B("div"),i=B("div"),r=B("a"),o=S(`Lilac
6
- `),n=B("span"),a=S(l[0]),s=J(),f=B("div"),w&&w.c(),c=J(),u=B("div"),A&&A.c(),m=J(),d=B("div"),G&&G.c(),g=J(),te(_.$$.fragment),k=J(),q&&q.c(),E=J(),v=B("div"),Q&&Q.c(),this.h()},l(z){e=R(z,"DIV",{class:!0});var F=D(e);t=R(F,"DIV",{class:!0});var re=D(t);i=R(re,"DIV",{class:!0});var y=D(i);r=R(y,"A",{class:!0,href:!0});var Me=D(r);o=U(Me,`Lilac
7
- `),n=R(Me,"SPAN",{});var ze=D(n);a=U(ze,l[0]),ze.forEach(b),Me.forEach(b),s=K(y),f=R(y,"DIV",{class:!0});var Le=D(f);w&&w.l(Le),Le.forEach(b),y.forEach(b),c=K(re),u=R(re,"DIV",{class:!0});var Ce=D(u);A&&A.l(Ce),Ce.forEach(b),m=K(re),d=R(re,"DIV",{class:!0});var we=D(d);G&&G.l(we),g=K(we),he(_.$$.fragment,we),k=K(we),q&&q.l(we),we.forEach(b),re.forEach(b),E=K(F),v=R(F,"DIV",{class:!0});var Ve=D(v);Q&&Q.l(Ve),Ve.forEach(b),F.forEach(b),this.h()},h(){p(r,"class","text-xl normal-case"),p(r,"href","/"),p(f,"class","mt-1 pl-4"),p(i,"class","mr-4 flex flex-row items-center"),p(u,"class","flex-grow flex-row items-center justify-center"),p(d,"class","flex flex-row items-center gap-x-2"),p(t,"class","flex flex-row items-center justify-between justify-items-center gap-x-12 border-b border-gray-200 px-4 py-2"),p(v,"class","flex h-full w-full overflow-hidden"),p(e,"class","flex h-full w-full flex-col")},m(z,F){V(z,e,F),T(e,t),T(t,i),T(i,r),T(r,o),T(r,n),T(n,a),T(i,s),T(i,f),w&&w.m(f,null),T(t,c),T(t,u),A&&A.m(u,null),T(t,m),T(t,d),G&&G.m(d,null),T(d,g),le(_,d,null),T(d,k),q&&q.m(d,null),T(e,E),T(e,v),Q&&Q.m(v,null),O=!0},p(z,[F]){var re;(!O||F&1)&&X(a,z[0]),w&&w.p&&(!O||F&256)&&ge(w,M,z,z[8],O?pe(M,z[8],F,Pl):ve(z[8]),lt),A&&A.p&&(!O||F&256)&&ge(A,C,z,z[8],O?pe(C,z[8],F,Rl):ve(z[8]),tt),G&&G.p&&(!O||F&256)&&ge(G,se,z,z[8],O?pe(se,z[8],F,Bl):ve(z[8]),et),(re=z[1].data)!=null&&re.auth_enabled?q?(q.p(z,F),F&2&&L(q,1)):(q=it(z),q.c(),L(q,1),q.m(d,null)):q&&(oe(),P(q,1,1,()=>{q=null}),ne()),Q&&Q.p&&(!O||F&256)&&ge(Q,_e,z,z[8],O?pe(_e,z[8],F,null):ve(z[8]),null)},i(z){O||(L(w,z),L(A,z),L(G,z),L(_.$$.fragment,z),L(q),L(Q,z),O=!0)},o(z){P(w,z),P(A,z),P(G,z),P(_.$$.fragment,z),P(q),P(Q,z),O=!1},d(z){z&&b(e),w&&w.d(z),A&&A.d(z),G&&G.d(z),ie(_),q&&q.d(),Q&&Q.d(z)}}}function Gl(l,e,t){let i,r,{$$slots:o={},$$scope:n}=e,{title:a}=e;const s=ft();Ie(l,s,_=>t(1,r=_));const f=location.origin,c=`${f}/google/login?origin_url=${f}`,u=wl();Ie(l,u,_=>t(9,i=_));function m(){i.mutate([])}const g=window.self!==window.top?"_blank":"";return l.$$set=_=>{"title"in _&&t(0,a=_.title),"$$scope"in _&&t(8,n=_.$$scope)},[a,r,s,c,u,m,g,o,n]}class Wl extends ue{constructor(e){super(),ce(this,e,Gl,Fl,de,{title:0})}}export{kl as C,nl as L,Wt as O,Wl as P,el as a,ut as h};
 
 
 
 
 
 
 
 
web/blueprint/build/_app/immutable/chunks/Toggle.f17d1ef5.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as U,i as G,s as J,E as M,_ as D,$ as P,m as k,h as d,n as g,a0 as V,b as C,J as A,O as ee,a1 as W,D as Z,F,q as K,r as Q,u as j,x as ne,k as I,y as ae,l as L,z as Me,I as se,H as E,A as oe,K as N,v as Ne,d as R,B as fe,f as we,g as S,P as He,Q as H,e as ve,G as re,a as ue,c as ce,L as he,M as _e,N as de,C as Ce}from"./index.4b0e533a.js";import{E as De,C as Pe}from"./taskMonitoringStore.c95c5d53.js";import{W as Ze,b as Fe}from"./SelectItem.ef497543.js";function ke(i){let e,t;return{c(){e=D("title"),t=K(i[1])},l(l){e=P(l,"title",{});var n=k(e);t=Q(n,i[1]),n.forEach(d)},m(l,n){C(l,e,n),A(e,t)},p(l,n){n&2&&j(t,l[1])},d(l){l&&d(e)}}}function Ie(i){let e,t,l=i[1]&&ke(i),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],u={};for(let s=0;s<n.length;s+=1)u=M(u,n[s]);return{c(){e=D("svg"),l&&l.c(),t=D("path"),this.h()},l(s){e=P(s,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var a=k(e);l&&l.l(a),t=P(a,"path",{d:!0}),k(t).forEach(d),a.forEach(d),this.h()},h(){g(t,"d","M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"),V(e,u)},m(s,a){C(s,e,a),l&&l.m(e,null),A(e,t)},p(s,[a]){s[1]?l?l.p(s,a):(l=ke(s),l.c(),l.m(e,t)):l&&(l.d(1),l=null),V(e,u=ee(n,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},a&1&&{width:s[0]},a&1&&{height:s[0]},a&4&&s[2],a&8&&s[3]]))},i:W,o:W,d(s){s&&d(e),l&&l.d()}}}function Le(i,e,t){let l,n;const u=["size","title"];let s=Z(e,u),{size:a=16}=e,{title:o=void 0}=e;return i.$$set=h=>{t(5,e=M(M({},e),F(h))),t(3,s=Z(e,u)),"size"in h&&t(0,a=h.size),"title"in h&&t(1,o=h.title)},i.$$.update=()=>{t(4,l=e["aria-label"]||e["aria-labelledby"]||o),t(2,n={"aria-hidden":l?void 0:!0,role:l?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=F(e),[a,o,n,s,l]}class Re extends U{constructor(e){super(),G(this,e,Le,Ie,J,{size:0,title:1})}}const Se=Re;function Ye(i){let e,t,l,n,u;var s=i[1];function a(c){return{props:{size:20,title:c[2],class:(c[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(c[0]==="inline"&&"bx--inline-notification__close-icon")}}}s&&(t=ne(s,a(i)));let o=[{type:"button"},{"aria-label":i[3]},{title:i[3]},i[4]],h={};for(let c=0;c<o.length;c+=1)h=M(h,o[c]);return{c(){e=I("button"),t&&ae(t.$$.fragment),this.h()},l(c){e=L(c,"BUTTON",{type:!0,"aria-label":!0,title:!0});var v=k(e);t&&Me(t.$$.fragment,v),v.forEach(d),this.h()},h(){se(e,h),E(e,"bx--toast-notification__close-button",i[0]==="toast"),E(e,"bx--inline-notification__close-button",i[0]==="inline")},m(c,v){C(c,e,v),t&&oe(t,e,null),e.autofocus&&e.focus(),l=!0,n||(u=[N(e,"click",i[5]),N(e,"mouseover",i[6]),N(e,"mouseenter",i[7]),N(e,"mouseleave",i[8])],n=!0)},p(c,[v]){const w={};if(v&4&&(w.title=c[2]),v&1&&(w.class=(c[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(c[0]==="inline"&&"bx--inline-notification__close-icon")),v&2&&s!==(s=c[1])){if(t){Ne();const b=t;R(b.$$.fragment,1,0,()=>{fe(b,1)}),we()}s?(t=ne(s,a(c)),ae(t.$$.fragment),S(t.$$.fragment,1),oe(t,e,null)):t=null}else s&&t.$set(w);se(e,h=ee(o,[{type:"button"},(!l||v&8)&&{"aria-label":c[3]},(!l||v&8)&&{title:c[3]},v&16&&c[4]])),E(e,"bx--toast-notification__close-button",c[0]==="toast"),E(e,"bx--inline-notification__close-button",c[0]==="inline")},i(c){l||(t&&S(t.$$.fragment,c),l=!0)},o(c){t&&R(t.$$.fragment,c),l=!1},d(c){c&&d(e),t&&fe(t),n=!1,He(u)}}}function qe(i,e,t){const l=["notificationType","icon","title","iconDescription"];let n=Z(e,l),{notificationType:u="toast"}=e,{icon:s=Se}=e,{title:a=void 0}=e,{iconDescription:o="Close icon"}=e;function h(b){H.call(this,i,b)}function c(b){H.call(this,i,b)}function v(b){H.call(this,i,b)}function w(b){H.call(this,i,b)}return i.$$set=b=>{e=M(M({},e),F(b)),t(4,n=Z(e,l)),"notificationType"in b&&t(0,u=b.notificationType),"icon"in b&&t(1,s=b.icon),"title"in b&&t(2,a=b.title),"iconDescription"in b&&t(3,o=b.iconDescription)},[u,s,a,o,n,h,c,v,w]}class ye extends U{constructor(e){super(),G(this,e,qe,Ye,J,{notificationType:0,icon:1,title:2,iconDescription:3})}}const ut=ye;function Ae(i){let e,t;return{c(){e=D("title"),t=K(i[1])},l(l){e=P(l,"title",{});var n=k(e);t=Q(n,i[1]),n.forEach(d)},m(l,n){C(l,e,n),A(e,t)},p(l,n){n&2&&j(t,l[1])},d(l){l&&d(e)}}}function Oe(i){let e,t,l,n=i[1]&&Ae(i),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let a=0;a<u.length;a+=1)s=M(s,u[a]);return{c(){e=D("svg"),n&&n.c(),t=D("path"),l=D("path"),this.h()},l(a){e=P(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=k(e);n&&n.l(o),t=P(o,"path",{fill:!0,d:!0,"data-icon-path":!0}),k(t).forEach(d),l=P(o,"path",{d:!0}),k(l).forEach(d),o.forEach(d),this.h()},h(){g(t,"fill","none"),g(t,"d","M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z"),g(t,"data-icon-path","inner-path"),g(l,"d","M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"),V(e,s)},m(a,o){C(a,e,o),n&&n.m(e,null),A(e,t),A(e,l)},p(a,[o]){a[1]?n?n.p(a,o):(n=Ae(a),n.c(),n.m(e,t)):n&&(n.d(1),n=null),V(e,s=ee(u,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:a[0]},o&1&&{height:a[0]},o&4&&a[2],o&8&&a[3]]))},i:W,o:W,d(a){a&&d(e),n&&n.d()}}}function Ve(i,e,t){let l,n;const u=["size","title"];let s=Z(e,u),{size:a=16}=e,{title:o=void 0}=e;return i.$$set=h=>{t(5,e=M(M({},e),F(h))),t(3,s=Z(e,u)),"size"in h&&t(0,a=h.size),"title"in h&&t(1,o=h.title)},i.$$.update=()=>{t(4,l=e["aria-label"]||e["aria-labelledby"]||o),t(2,n={"aria-hidden":l?void 0:!0,role:l?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=F(e),[a,o,n,s,l]}class We extends U{constructor(e){super(),G(this,e,Ve,Oe,J,{size:0,title:1})}}const Ue=We;function Te(i){let e,t;return{c(){e=D("title"),t=K(i[1])},l(l){e=P(l,"title",{});var n=k(e);t=Q(n,i[1]),n.forEach(d)},m(l,n){C(l,e,n),A(e,t)},p(l,n){n&2&&j(t,l[1])},d(l){l&&d(e)}}}function Ge(i){let e,t,l,n=i[1]&&Te(i),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let a=0;a<u.length;a+=1)s=M(s,u[a]);return{c(){e=D("svg"),n&&n.c(),t=D("path"),l=D("path"),this.h()},l(a){e=P(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=k(e);n&&n.l(o),t=P(o,"path",{fill:!0,d:!0,"data-icon-path":!0}),k(t).forEach(d),l=P(o,"path",{d:!0}),k(l).forEach(d),o.forEach(d),this.h()},h(){g(t,"fill","none"),g(t,"d","M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z"),g(t,"data-icon-path","inner-path"),g(l,"d","M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"),V(e,s)},m(a,o){C(a,e,o),n&&n.m(e,null),A(e,t),A(e,l)},p(a,[o]){a[1]?n?n.p(a,o):(n=Te(a),n.c(),n.m(e,t)):n&&(n.d(1),n=null),V(e,s=ee(u,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:a[0]},o&1&&{height:a[0]},o&4&&a[2],o&8&&a[3]]))},i:W,o:W,d(a){a&&d(e),n&&n.d()}}}function Je(i,e,t){let l,n;const u=["size","title"];let s=Z(e,u),{size:a=16}=e,{title:o=void 0}=e;return i.$$set=h=>{t(5,e=M(M({},e),F(h))),t(3,s=Z(e,u)),"size"in h&&t(0,a=h.size),"title"in h&&t(1,o=h.title)},i.$$.update=()=>{t(4,l=e["aria-label"]||e["aria-labelledby"]||o),t(2,n={"aria-hidden":l?void 0:!0,role:l?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=F(e),[a,o,n,s,l]}class Ke extends U{constructor(e){super(),G(this,e,Je,Ge,J,{size:0,title:1})}}const Qe=Ke;function je(i){let e,t,l;var n=i[3][i[0]];function u(s){return{props:{size:20,title:s[2],class:(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")}}}return n&&(e=ne(n,u(i))),{c(){e&&ae(e.$$.fragment),t=ve()},l(s){e&&Me(e.$$.fragment,s),t=ve()},m(s,a){e&&oe(e,s,a),C(s,t,a),l=!0},p(s,[a]){const o={};if(a&4&&(o.title=s[2]),a&2&&(o.class=(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")),a&1&&n!==(n=s[3][s[0]])){if(e){Ne();const h=e;R(h.$$.fragment,1,0,()=>{fe(h,1)}),we()}n?(e=ne(n,u(s)),ae(e.$$.fragment),S(e.$$.fragment,1),oe(e,t.parentNode,t)):e=null}else n&&e.$set(o)},i(s){l||(e&&S(e.$$.fragment,s),l=!0)},o(s){e&&R(e.$$.fragment,s),l=!1},d(s){s&&d(t),e&&fe(e,s)}}}function Xe(i,e,t){let{kind:l="error"}=e,{notificationType:n="toast"}=e,{iconDescription:u}=e;const s={error:De,"info-square":Qe,info:Ue,success:Pe,warning:Ze,"warning-alt":Fe};return i.$$set=a=>{"kind"in a&&t(0,l=a.kind),"notificationType"in a&&t(1,n=a.notificationType),"iconDescription"in a&&t(2,u=a.iconDescription)},[l,n,u,s]}class pe extends U{constructor(e){super(),G(this,e,Xe,je,J,{kind:0,notificationType:1,iconDescription:2})}}const ct=pe,xe=i=>({}),Be=i=>({}),$e=i=>({}),ze=i=>({}),et=i=>({}),Ee=i=>({});function tt(i){let e;return{c(){e=K(i[5])},l(t){e=Q(t,i[5])},m(t,l){C(t,e,l)},p(t,l){l&32&&j(e,t[5])},d(t){t&&d(e)}}}function it(i){let e;return{c(){e=K(i[3])},l(t){e=Q(t,i[3])},m(t,l){C(t,e,l)},p(t,l){l&8&&j(e,t[3])},d(t){t&&d(e)}}}function lt(i){let e;return{c(){e=K(i[4])},l(t){e=Q(t,i[4])},m(t,l){C(t,e,l)},p(t,l){l&16&&j(e,t[4])},d(t){t&&d(e)}}}function nt(i){let e,t,l,n,u,s,a,o,h,c,v,w,b,m,Y,te;const X=i[12].labelText,q=re(X,i,i[11],Ee),T=q||tt(i),p=i[12].labelA,y=re(p,i,i[11],ze),B=y||it(i),x=i[12].labelB,O=re(x,i,i[11],Be),z=O||lt(i);let $=[i[9],{style:b=i[9].style+"; user-select: none"}],r={};for(let f=0;f<$.length;f+=1)r=M(r,$[f]);return{c(){e=I("div"),t=I("input"),l=ue(),n=I("label"),u=I("span"),T&&T.c(),s=ue(),a=I("span"),o=I("span"),B&&B.c(),h=ue(),c=I("span"),z&&z.c(),this.h()},l(f){e=L(f,"DIV",{style:!0});var _=k(e);t=L(_,"INPUT",{role:!0,type:!0,id:!0,name:!0}),l=ce(_),n=L(_,"LABEL",{"aria-label":!0,for:!0});var ie=k(n);u=L(ie,"SPAN",{});var me=k(u);T&&T.l(me),me.forEach(d),s=ce(ie),a=L(ie,"SPAN",{style:!0});var le=k(a);o=L(le,"SPAN",{"aria-hidden":!0});var be=k(o);B&&B.l(be),be.forEach(d),h=ce(le),c=L(le,"SPAN",{"aria-hidden":!0});var ge=k(c);z&&z.l(ge),ge.forEach(d),le.forEach(d),ie.forEach(d),_.forEach(d),this.h()},h(){g(t,"role","switch"),g(t,"type","checkbox"),t.checked=i[0],t.disabled=i[2],g(t,"id",i[7]),g(t,"name",i[8]),E(t,"bx--toggle-input",!0),E(t,"bx--toggle-input--small",i[1]==="sm"),E(u,"bx--visually-hidden",i[6]),g(o,"aria-hidden","true"),E(o,"bx--toggle__text--off",!0),g(c,"aria-hidden","true"),E(c,"bx--toggle__text--on",!0),g(a,"style",v=i[6]&&"margin-top: 0"),E(a,"bx--toggle__switch",!0),g(n,"aria-label",w=i[5]?void 0:i[10]["aria-label"]||"Toggle"),g(n,"for",i[7]),E(n,"bx--toggle-input__label",!0),se(e,r),E(e,"bx--form-item",!0)},m(f,_){C(f,e,_),A(e,t),A(e,l),A(e,n),A(n,u),T&&T.m(u,null),A(n,s),A(n,a),A(a,o),B&&B.m(o,null),A(a,h),A(a,c),z&&z.m(c,null),m=!0,Y||(te=[N(t,"change",i[21]),N(t,"change",i[17]),N(t,"keyup",i[22]),N(t,"keyup",i[18]),N(t,"focus",i[19]),N(t,"blur",i[20]),N(e,"click",i[13]),N(e,"mouseover",i[14]),N(e,"mouseenter",i[15]),N(e,"mouseleave",i[16])],Y=!0)},p(f,[_]){(!m||_&1)&&(t.checked=f[0]),(!m||_&4)&&(t.disabled=f[2]),(!m||_&128)&&g(t,"id",f[7]),(!m||_&256)&&g(t,"name",f[8]),(!m||_&2)&&E(t,"bx--toggle-input--small",f[1]==="sm"),q?q.p&&(!m||_&2048)&&he(q,X,f,f[11],m?de(X,f[11],_,et):_e(f[11]),Ee):T&&T.p&&(!m||_&32)&&T.p(f,m?_:-1),(!m||_&64)&&E(u,"bx--visually-hidden",f[6]),y?y.p&&(!m||_&2048)&&he(y,p,f,f[11],m?de(p,f[11],_,$e):_e(f[11]),ze):B&&B.p&&(!m||_&8)&&B.p(f,m?_:-1),O?O.p&&(!m||_&2048)&&he(O,x,f,f[11],m?de(x,f[11],_,xe):_e(f[11]),Be):z&&z.p&&(!m||_&16)&&z.p(f,m?_:-1),(!m||_&64&&v!==(v=f[6]&&"margin-top: 0"))&&g(a,"style",v),(!m||_&1056&&w!==(w=f[5]?void 0:f[10]["aria-label"]||"Toggle"))&&g(n,"aria-label",w),(!m||_&128)&&g(n,"for",f[7]),se(e,r=ee($,[_&512&&f[9],(!m||_&512&&b!==(b=f[9].style+"; user-select: none"))&&{style:b}])),E(e,"bx--form-item",!0)},i(f){m||(S(T,f),S(B,f),S(z,f),m=!0)},o(f){R(T,f),R(B,f),R(z,f),m=!1},d(f){f&&d(e),T&&T.d(f),B&&B.d(f),z&&z.d(f),Y=!1,He(te)}}}function at(i,e,t){const l=["size","toggled","disabled","labelA","labelB","labelText","hideLabel","id","name"];let n=Z(e,l),{$$slots:u={},$$scope:s}=e,{size:a="default"}=e,{toggled:o=!1}=e,{disabled:h=!1}=e,{labelA:c="Off"}=e,{labelB:v="On"}=e,{labelText:w=""}=e,{hideLabel:b=!1}=e,{id:m="ccs-"+Math.random().toString(36)}=e,{name:Y=void 0}=e;const te=Ce();function X(r){H.call(this,i,r)}function q(r){H.call(this,i,r)}function T(r){H.call(this,i,r)}function p(r){H.call(this,i,r)}function y(r){H.call(this,i,r)}function B(r){H.call(this,i,r)}function x(r){H.call(this,i,r)}function O(r){H.call(this,i,r)}const z=()=>{t(0,o=!o)},$=r=>{(r.key===" "||r.key==="Enter")&&(r.preventDefault(),t(0,o=!o))};return i.$$set=r=>{t(10,e=M(M({},e),F(r))),t(9,n=Z(e,l)),"size"in r&&t(1,a=r.size),"toggled"in r&&t(0,o=r.toggled),"disabled"in r&&t(2,h=r.disabled),"labelA"in r&&t(3,c=r.labelA),"labelB"in r&&t(4,v=r.labelB),"labelText"in r&&t(5,w=r.labelText),"hideLabel"in r&&t(6,b=r.hideLabel),"id"in r&&t(7,m=r.id),"name"in r&&t(8,Y=r.name),"$$scope"in r&&t(11,s=r.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&te("toggle",{toggled:o})},e=F(e),[o,a,h,c,v,w,b,m,Y,n,e,s,u,X,q,T,p,y,B,x,O,z,$]}class st extends U{constructor(e){super(),G(this,e,at,nt,J,{size:1,toggled:0,disabled:2,labelA:3,labelB:4,labelText:5,hideLabel:6,id:7,name:8})}}const ht=st;export{Se as C,ct as N,ht as T,ut as a};
web/blueprint/build/_app/immutable/chunks/signalQueries.4bd4f734.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as O,i as T,s as V,E as S,k as b,a as N,l as g,m as v,c as Q,h as u,H as o,I as k,b as A,J as p,K as f,O as C,a1 as I,P as F,D as L,F as H,Q as _}from"./index.4b0e533a.js";import{r as q,O as x,e as D}from"./taskMonitoringStore.c95c5d53.js";function y(a){let e;return{c(){e=b("span"),this.h()},l(i){e=g(i,"SPAN",{}),v(e).forEach(u),this.h()},h(){o(e,"bx--label",!0),o(e,"bx--skeleton",!0)},m(i,l){A(i,e,l)},d(i){i&&u(e)}}}function J(a){let e,i,l,n,c,m,s=!a[0]&&y(),h=[a[1]],d={};for(let t=0;t<h.length;t+=1)d=S(d,h[t]);return{c(){e=b("div"),s&&s.c(),i=N(),l=b("div"),n=b("div"),this.h()},l(t){e=g(t,"DIV",{});var r=v(e);s&&s.l(r),i=Q(r),l=g(r,"DIV",{});var E=v(l);n=g(E,"DIV",{}),v(n).forEach(u),E.forEach(u),r.forEach(u),this.h()},h(){o(n,"bx--select-input",!0),o(l,"bx--select",!0),o(l,"bx--skeleton",!0),k(e,d),o(e,"bx--form-item",!0)},m(t,r){A(t,e,r),s&&s.m(e,null),p(e,i),p(e,l),p(l,n),c||(m=[f(e,"click",a[2]),f(e,"mouseover",a[3]),f(e,"mouseenter",a[4]),f(e,"mouseleave",a[5])],c=!0)},p(t,[r]){t[0]?s&&(s.d(1),s=null):s||(s=y(),s.c(),s.m(e,i)),k(e,d=C(h,[r&2&&t[1]])),o(e,"bx--form-item",!0)},i:I,o:I,d(t){t&&u(e),s&&s.d(),c=!1,F(m)}}}function K(a,e,i){const l=["hideLabel"];let n=L(e,l),{hideLabel:c=!1}=e;function m(t){_.call(this,a,t)}function s(t){_.call(this,a,t)}function h(t){_.call(this,a,t)}function d(t){_.call(this,a,t)}return a.$$set=t=>{e=S(S({},e),H(t)),i(1,n=L(e,l)),"hideLabel"in t&&i(0,c=t.hideLabel)},[c,n,m,s,h,d]}class j extends O{constructor(e){super(),T(this,e,K,J,V,{hideLabel:0})}}const M=j;class G{static getSignals(){return q(x,{method:"GET",url:"/api/v1/signals/"})}static getEmbeddings(){return q(x,{method:"GET",url:"/api/v1/signals/embeddings"})}}const P="signals",R=D(G.getSignals,P),U=D(G.getEmbeddings,P);export{M as S,R as a,U as q};
web/blueprint/build/_app/immutable/chunks/signalQueries.c8b052a4.js DELETED
@@ -1 +0,0 @@
1
- import{S as O,i as T,s as V,E as S,k as b,a as N,l as g,m as v,c as Q,h as u,H as o,I as k,b as A,J as p,K as f,O as C,a1 as I,P as F,D as L,F as H,Q as _}from"./index.4b0e533a.js";import{r as q,O as x,d as D}from"./taskQueries.c44da984.js";function y(a){let e;return{c(){e=b("span"),this.h()},l(i){e=g(i,"SPAN",{}),v(e).forEach(u),this.h()},h(){o(e,"bx--label",!0),o(e,"bx--skeleton",!0)},m(i,l){A(i,e,l)},d(i){i&&u(e)}}}function J(a){let e,i,l,n,c,m,s=!a[0]&&y(),h=[a[1]],d={};for(let t=0;t<h.length;t+=1)d=S(d,h[t]);return{c(){e=b("div"),s&&s.c(),i=N(),l=b("div"),n=b("div"),this.h()},l(t){e=g(t,"DIV",{});var r=v(e);s&&s.l(r),i=Q(r),l=g(r,"DIV",{});var E=v(l);n=g(E,"DIV",{}),v(n).forEach(u),E.forEach(u),r.forEach(u),this.h()},h(){o(n,"bx--select-input",!0),o(l,"bx--select",!0),o(l,"bx--skeleton",!0),k(e,d),o(e,"bx--form-item",!0)},m(t,r){A(t,e,r),s&&s.m(e,null),p(e,i),p(e,l),p(l,n),c||(m=[f(e,"click",a[2]),f(e,"mouseover",a[3]),f(e,"mouseenter",a[4]),f(e,"mouseleave",a[5])],c=!0)},p(t,[r]){t[0]?s&&(s.d(1),s=null):s||(s=y(),s.c(),s.m(e,i)),k(e,d=C(h,[r&2&&t[1]])),o(e,"bx--form-item",!0)},i:I,o:I,d(t){t&&u(e),s&&s.d(),c=!1,F(m)}}}function K(a,e,i){const l=["hideLabel"];let n=L(e,l),{hideLabel:c=!1}=e;function m(t){_.call(this,a,t)}function s(t){_.call(this,a,t)}function h(t){_.call(this,a,t)}function d(t){_.call(this,a,t)}return a.$$set=t=>{e=S(S({},e),H(t)),i(1,n=L(e,l)),"hideLabel"in t&&i(0,c=t.hideLabel)},[c,n,m,s,h,d]}class j extends O{constructor(e){super(),T(this,e,K,J,V,{hideLabel:0})}}const M=j;class G{static getSignals(){return q(x,{method:"GET",url:"/api/v1/signals/"})}static getEmbeddings(){return q(x,{method:"GET",url:"/api/v1/signals/embeddings"})}}const P="signals",R=D(G.getSignals,P),U=D(G.getEmbeddings,P);export{M as S,R as a,U as q};
 
 
web/blueprint/build/_app/immutable/chunks/{singletons.1b471814.js → singletons.bab60db5.js} RENAMED
@@ -1 +1 @@
1
- import{w as u}from"./index.08270dac.js";var p;const k=((p=globalThis.__sveltekit_wgxl16)==null?void 0:p.base)??"";var g;const w=((g=globalThis.__sveltekit_wgxl16)==null?void 0:g.assets)??k,m="1690001514145",T="sveltekit:snapshot",x="sveltekit:scroll",y="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function h(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function O(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=h(e)}}function U(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,l=!n||!!o||A(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),r=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:l,target:o,download:r}}function L(e){let t=null,n=null,o=null,l=null,r=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),l===null&&(l=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),r===null&&(r=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=h(s);function i(v){switch(v){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[l??"off"],keep_focus:i(t),noscroll:i(n),reload:i(r),replace_state:i(a)}}function _(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function l(a){n=!1,t.set(a)}function r(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:l,subscribe:r}}function E(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const l=await fetch(`${w}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!l.ok)return!1;const a=(await l.json()).version!==m;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function A(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let b;function N(e){b=e.client}function P(e){return(...t)=>b[e](...t)}const V={url:_({}),page:_({}),navigating:u(null),updated:E()};export{y as I,f as P,x as S,T as a,U as b,L as c,S as d,k as e,O as f,I as g,N as h,A as i,P as j,V as s};
 
1
+ import{w as u}from"./index.08270dac.js";var p;const k=((p=globalThis.__sveltekit_40tum4)==null?void 0:p.base)??"";var h;const m=((h=globalThis.__sveltekit_40tum4)==null?void 0:h.assets)??k,w="1690240976786",T="sveltekit:snapshot",y="sveltekit:scroll",I="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function S(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function x(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function g(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function O(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=g(e)}}function U(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||A(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function L(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=g(s);function i(v){switch(v){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function _(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function E(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${m}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==w;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function A(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let b;function N(e){b=e.client}function P(e){return(...t)=>b[e](...t)}const V={url:_({}),page:_({}),navigating:u(null),updated:E()};export{I,f as P,y as S,T as a,U as b,L as c,x as d,k as e,O as f,S as g,N as h,A as i,P as j,V as s};
web/blueprint/build/_app/immutable/chunks/taskMonitoringStore.9669b838.js DELETED
@@ -1 +0,0 @@
1
- import{S as W,i as G,s as J,E as M,_ as D,$ as P,m as k,h as d,n as g,a0 as U,b as H,J as A,O as ee,a1 as V,D as Z,F,q as K,r as Q,u as j,x as ne,k as I,y as ae,l as L,z as Me,I as se,H as E,A as oe,K as w,v as we,d as R,B as fe,f as Ce,g as S,P as Ne,Q as N,e as ve,G as re,a as ue,c as ce,L as he,M as _e,N as de,C as De}from"./index.4b0e533a.js";import{E as Pe,C as Ze}from"./taskQueries.c44da984.js";import{W as Fe,b as Ie}from"./SelectItem.ef497543.js";import{w as Le}from"./index.08270dac.js";function ke(i){let e,t;return{c(){e=D("title"),t=K(i[1])},l(l){e=P(l,"title",{});var n=k(e);t=Q(n,i[1]),n.forEach(d)},m(l,n){H(l,e,n),A(e,t)},p(l,n){n&2&&j(t,l[1])},d(l){l&&d(e)}}}function Re(i){let e,t,l=i[1]&&ke(i),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],u={};for(let s=0;s<n.length;s+=1)u=M(u,n[s]);return{c(){e=D("svg"),l&&l.c(),t=D("path"),this.h()},l(s){e=P(s,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var a=k(e);l&&l.l(a),t=P(a,"path",{d:!0}),k(t).forEach(d),a.forEach(d),this.h()},h(){g(t,"d","M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"),U(e,u)},m(s,a){H(s,e,a),l&&l.m(e,null),A(e,t)},p(s,[a]){s[1]?l?l.p(s,a):(l=ke(s),l.c(),l.m(e,t)):l&&(l.d(1),l=null),U(e,u=ee(n,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},a&1&&{width:s[0]},a&1&&{height:s[0]},a&4&&s[2],a&8&&s[3]]))},i:V,o:V,d(s){s&&d(e),l&&l.d()}}}function Se(i,e,t){let l,n;const u=["size","title"];let s=Z(e,u),{size:a=16}=e,{title:o=void 0}=e;return i.$$set=h=>{t(5,e=M(M({},e),F(h))),t(3,s=Z(e,u)),"size"in h&&t(0,a=h.size),"title"in h&&t(1,o=h.title)},i.$$.update=()=>{t(4,l=e["aria-label"]||e["aria-labelledby"]||o),t(2,n={"aria-hidden":l?void 0:!0,role:l?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=F(e),[a,o,n,s,l]}class Ye extends W{constructor(e){super(),G(this,e,Se,Re,J,{size:0,title:1})}}const qe=Ye;function ye(i){let e,t,l,n,u;var s=i[1];function a(c){return{props:{size:20,title:c[2],class:(c[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(c[0]==="inline"&&"bx--inline-notification__close-icon")}}}s&&(t=ne(s,a(i)));let o=[{type:"button"},{"aria-label":i[3]},{title:i[3]},i[4]],h={};for(let c=0;c<o.length;c+=1)h=M(h,o[c]);return{c(){e=I("button"),t&&ae(t.$$.fragment),this.h()},l(c){e=L(c,"BUTTON",{type:!0,"aria-label":!0,title:!0});var v=k(e);t&&Me(t.$$.fragment,v),v.forEach(d),this.h()},h(){se(e,h),E(e,"bx--toast-notification__close-button",i[0]==="toast"),E(e,"bx--inline-notification__close-button",i[0]==="inline")},m(c,v){H(c,e,v),t&&oe(t,e,null),e.autofocus&&e.focus(),l=!0,n||(u=[w(e,"click",i[5]),w(e,"mouseover",i[6]),w(e,"mouseenter",i[7]),w(e,"mouseleave",i[8])],n=!0)},p(c,[v]){const C={};if(v&4&&(C.title=c[2]),v&1&&(C.class=(c[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(c[0]==="inline"&&"bx--inline-notification__close-icon")),v&2&&s!==(s=c[1])){if(t){we();const m=t;R(m.$$.fragment,1,0,()=>{fe(m,1)}),Ce()}s?(t=ne(s,a(c)),ae(t.$$.fragment),S(t.$$.fragment,1),oe(t,e,null)):t=null}else s&&t.$set(C);se(e,h=ee(o,[{type:"button"},(!l||v&8)&&{"aria-label":c[3]},(!l||v&8)&&{title:c[3]},v&16&&c[4]])),E(e,"bx--toast-notification__close-button",c[0]==="toast"),E(e,"bx--inline-notification__close-button",c[0]==="inline")},i(c){l||(t&&S(t.$$.fragment,c),l=!0)},o(c){t&&R(t.$$.fragment,c),l=!1},d(c){c&&d(e),t&&fe(t),n=!1,Ne(u)}}}function Oe(i,e,t){const l=["notificationType","icon","title","iconDescription"];let n=Z(e,l),{notificationType:u="toast"}=e,{icon:s=qe}=e,{title:a=void 0}=e,{iconDescription:o="Close icon"}=e;function h(m){N.call(this,i,m)}function c(m){N.call(this,i,m)}function v(m){N.call(this,i,m)}function C(m){N.call(this,i,m)}return i.$$set=m=>{e=M(M({},e),F(m)),t(4,n=Z(e,l)),"notificationType"in m&&t(0,u=m.notificationType),"icon"in m&&t(1,s=m.icon),"title"in m&&t(2,a=m.title),"iconDescription"in m&&t(3,o=m.iconDescription)},[u,s,a,o,n,h,c,v,C]}class Ue extends W{constructor(e){super(),G(this,e,Oe,ye,J,{notificationType:0,icon:1,title:2,iconDescription:3})}}const _t=Ue;function Ae(i){let e,t;return{c(){e=D("title"),t=K(i[1])},l(l){e=P(l,"title",{});var n=k(e);t=Q(n,i[1]),n.forEach(d)},m(l,n){H(l,e,n),A(e,t)},p(l,n){n&2&&j(t,l[1])},d(l){l&&d(e)}}}function Ve(i){let e,t,l,n=i[1]&&Ae(i),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let a=0;a<u.length;a+=1)s=M(s,u[a]);return{c(){e=D("svg"),n&&n.c(),t=D("path"),l=D("path"),this.h()},l(a){e=P(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=k(e);n&&n.l(o),t=P(o,"path",{fill:!0,d:!0,"data-icon-path":!0}),k(t).forEach(d),l=P(o,"path",{d:!0}),k(l).forEach(d),o.forEach(d),this.h()},h(){g(t,"fill","none"),g(t,"d","M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z"),g(t,"data-icon-path","inner-path"),g(l,"d","M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"),U(e,s)},m(a,o){H(a,e,o),n&&n.m(e,null),A(e,t),A(e,l)},p(a,[o]){a[1]?n?n.p(a,o):(n=Ae(a),n.c(),n.m(e,t)):n&&(n.d(1),n=null),U(e,s=ee(u,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:a[0]},o&1&&{height:a[0]},o&4&&a[2],o&8&&a[3]]))},i:V,o:V,d(a){a&&d(e),n&&n.d()}}}function We(i,e,t){let l,n;const u=["size","title"];let s=Z(e,u),{size:a=16}=e,{title:o=void 0}=e;return i.$$set=h=>{t(5,e=M(M({},e),F(h))),t(3,s=Z(e,u)),"size"in h&&t(0,a=h.size),"title"in h&&t(1,o=h.title)},i.$$.update=()=>{t(4,l=e["aria-label"]||e["aria-labelledby"]||o),t(2,n={"aria-hidden":l?void 0:!0,role:l?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=F(e),[a,o,n,s,l]}class Ge extends W{constructor(e){super(),G(this,e,We,Ve,J,{size:0,title:1})}}const Je=Ge;function Te(i){let e,t;return{c(){e=D("title"),t=K(i[1])},l(l){e=P(l,"title",{});var n=k(e);t=Q(n,i[1]),n.forEach(d)},m(l,n){H(l,e,n),A(e,t)},p(l,n){n&2&&j(t,l[1])},d(l){l&&d(e)}}}function Ke(i){let e,t,l,n=i[1]&&Te(i),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let a=0;a<u.length;a+=1)s=M(s,u[a]);return{c(){e=D("svg"),n&&n.c(),t=D("path"),l=D("path"),this.h()},l(a){e=P(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=k(e);n&&n.l(o),t=P(o,"path",{fill:!0,d:!0,"data-icon-path":!0}),k(t).forEach(d),l=P(o,"path",{d:!0}),k(l).forEach(d),o.forEach(d),this.h()},h(){g(t,"fill","none"),g(t,"d","M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z"),g(t,"data-icon-path","inner-path"),g(l,"d","M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"),U(e,s)},m(a,o){H(a,e,o),n&&n.m(e,null),A(e,t),A(e,l)},p(a,[o]){a[1]?n?n.p(a,o):(n=Te(a),n.c(),n.m(e,t)):n&&(n.d(1),n=null),U(e,s=ee(u,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:a[0]},o&1&&{height:a[0]},o&4&&a[2],o&8&&a[3]]))},i:V,o:V,d(a){a&&d(e),n&&n.d()}}}function Qe(i,e,t){let l,n;const u=["size","title"];let s=Z(e,u),{size:a=16}=e,{title:o=void 0}=e;return i.$$set=h=>{t(5,e=M(M({},e),F(h))),t(3,s=Z(e,u)),"size"in h&&t(0,a=h.size),"title"in h&&t(1,o=h.title)},i.$$.update=()=>{t(4,l=e["aria-label"]||e["aria-labelledby"]||o),t(2,n={"aria-hidden":l?void 0:!0,role:l?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=F(e),[a,o,n,s,l]}class je extends W{constructor(e){super(),G(this,e,Qe,Ke,J,{size:0,title:1})}}const Xe=je;function pe(i){let e,t,l;var n=i[3][i[0]];function u(s){return{props:{size:20,title:s[2],class:(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")}}}return n&&(e=ne(n,u(i))),{c(){e&&ae(e.$$.fragment),t=ve()},l(s){e&&Me(e.$$.fragment,s),t=ve()},m(s,a){e&&oe(e,s,a),H(s,t,a),l=!0},p(s,[a]){const o={};if(a&4&&(o.title=s[2]),a&2&&(o.class=(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")),a&1&&n!==(n=s[3][s[0]])){if(e){we();const h=e;R(h.$$.fragment,1,0,()=>{fe(h,1)}),Ce()}n?(e=ne(n,u(s)),ae(e.$$.fragment),S(e.$$.fragment,1),oe(e,t.parentNode,t)):e=null}else n&&e.$set(o)},i(s){l||(e&&S(e.$$.fragment,s),l=!0)},o(s){e&&R(e.$$.fragment,s),l=!1},d(s){s&&d(t),e&&fe(e,s)}}}function xe(i,e,t){let{kind:l="error"}=e,{notificationType:n="toast"}=e,{iconDescription:u}=e;const s={error:Pe,"info-square":Xe,info:Je,success:Ze,warning:Fe,"warning-alt":Ie};return i.$$set=a=>{"kind"in a&&t(0,l=a.kind),"notificationType"in a&&t(1,n=a.notificationType),"iconDescription"in a&&t(2,u=a.iconDescription)},[l,n,u,s]}class $e extends W{constructor(e){super(),G(this,e,xe,pe,J,{kind:0,notificationType:1,iconDescription:2})}}const dt=$e,et=i=>({}),Be=i=>({}),tt=i=>({}),ze=i=>({}),it=i=>({}),Ee=i=>({});function lt(i){let e;return{c(){e=K(i[5])},l(t){e=Q(t,i[5])},m(t,l){H(t,e,l)},p(t,l){l&32&&j(e,t[5])},d(t){t&&d(e)}}}function nt(i){let e;return{c(){e=K(i[3])},l(t){e=Q(t,i[3])},m(t,l){H(t,e,l)},p(t,l){l&8&&j(e,t[3])},d(t){t&&d(e)}}}function at(i){let e;return{c(){e=K(i[4])},l(t){e=Q(t,i[4])},m(t,l){H(t,e,l)},p(t,l){l&16&&j(e,t[4])},d(t){t&&d(e)}}}function st(i){let e,t,l,n,u,s,a,o,h,c,v,C,m,b,Y,te;const X=i[12].labelText,q=re(X,i,i[11],Ee),T=q||lt(i),p=i[12].labelA,y=re(p,i,i[11],ze),B=y||nt(i),x=i[12].labelB,O=re(x,i,i[11],Be),z=O||at(i);let $=[i[9],{style:m=i[9].style+"; user-select: none"}],r={};for(let f=0;f<$.length;f+=1)r=M(r,$[f]);return{c(){e=I("div"),t=I("input"),l=ue(),n=I("label"),u=I("span"),T&&T.c(),s=ue(),a=I("span"),o=I("span"),B&&B.c(),h=ue(),c=I("span"),z&&z.c(),this.h()},l(f){e=L(f,"DIV",{style:!0});var _=k(e);t=L(_,"INPUT",{role:!0,type:!0,id:!0,name:!0}),l=ce(_),n=L(_,"LABEL",{"aria-label":!0,for:!0});var ie=k(n);u=L(ie,"SPAN",{});var be=k(u);T&&T.l(be),be.forEach(d),s=ce(ie),a=L(ie,"SPAN",{style:!0});var le=k(a);o=L(le,"SPAN",{"aria-hidden":!0});var me=k(o);B&&B.l(me),me.forEach(d),h=ce(le),c=L(le,"SPAN",{"aria-hidden":!0});var ge=k(c);z&&z.l(ge),ge.forEach(d),le.forEach(d),ie.forEach(d),_.forEach(d),this.h()},h(){g(t,"role","switch"),g(t,"type","checkbox"),t.checked=i[0],t.disabled=i[2],g(t,"id",i[7]),g(t,"name",i[8]),E(t,"bx--toggle-input",!0),E(t,"bx--toggle-input--small",i[1]==="sm"),E(u,"bx--visually-hidden",i[6]),g(o,"aria-hidden","true"),E(o,"bx--toggle__text--off",!0),g(c,"aria-hidden","true"),E(c,"bx--toggle__text--on",!0),g(a,"style",v=i[6]&&"margin-top: 0"),E(a,"bx--toggle__switch",!0),g(n,"aria-label",C=i[5]?void 0:i[10]["aria-label"]||"Toggle"),g(n,"for",i[7]),E(n,"bx--toggle-input__label",!0),se(e,r),E(e,"bx--form-item",!0)},m(f,_){H(f,e,_),A(e,t),A(e,l),A(e,n),A(n,u),T&&T.m(u,null),A(n,s),A(n,a),A(a,o),B&&B.m(o,null),A(a,h),A(a,c),z&&z.m(c,null),b=!0,Y||(te=[w(t,"change",i[21]),w(t,"change",i[17]),w(t,"keyup",i[22]),w(t,"keyup",i[18]),w(t,"focus",i[19]),w(t,"blur",i[20]),w(e,"click",i[13]),w(e,"mouseover",i[14]),w(e,"mouseenter",i[15]),w(e,"mouseleave",i[16])],Y=!0)},p(f,[_]){(!b||_&1)&&(t.checked=f[0]),(!b||_&4)&&(t.disabled=f[2]),(!b||_&128)&&g(t,"id",f[7]),(!b||_&256)&&g(t,"name",f[8]),(!b||_&2)&&E(t,"bx--toggle-input--small",f[1]==="sm"),q?q.p&&(!b||_&2048)&&he(q,X,f,f[11],b?de(X,f[11],_,it):_e(f[11]),Ee):T&&T.p&&(!b||_&32)&&T.p(f,b?_:-1),(!b||_&64)&&E(u,"bx--visually-hidden",f[6]),y?y.p&&(!b||_&2048)&&he(y,p,f,f[11],b?de(p,f[11],_,tt):_e(f[11]),ze):B&&B.p&&(!b||_&8)&&B.p(f,b?_:-1),O?O.p&&(!b||_&2048)&&he(O,x,f,f[11],b?de(x,f[11],_,et):_e(f[11]),Be):z&&z.p&&(!b||_&16)&&z.p(f,b?_:-1),(!b||_&64&&v!==(v=f[6]&&"margin-top: 0"))&&g(a,"style",v),(!b||_&1056&&C!==(C=f[5]?void 0:f[10]["aria-label"]||"Toggle"))&&g(n,"aria-label",C),(!b||_&128)&&g(n,"for",f[7]),se(e,r=ee($,[_&512&&f[9],(!b||_&512&&m!==(m=f[9].style+"; user-select: none"))&&{style:m}])),E(e,"bx--form-item",!0)},i(f){b||(S(T,f),S(B,f),S(z,f),b=!0)},o(f){R(T,f),R(B,f),R(z,f),b=!1},d(f){f&&d(e),T&&T.d(f),B&&B.d(f),z&&z.d(f),Y=!1,Ne(te)}}}function ot(i,e,t){const l=["size","toggled","disabled","labelA","labelB","labelText","hideLabel","id","name"];let n=Z(e,l),{$$slots:u={},$$scope:s}=e,{size:a="default"}=e,{toggled:o=!1}=e,{disabled:h=!1}=e,{labelA:c="Off"}=e,{labelB:v="On"}=e,{labelText:C=""}=e,{hideLabel:m=!1}=e,{id:b="ccs-"+Math.random().toString(36)}=e,{name:Y=void 0}=e;const te=De();function X(r){N.call(this,i,r)}function q(r){N.call(this,i,r)}function T(r){N.call(this,i,r)}function p(r){N.call(this,i,r)}function y(r){N.call(this,i,r)}function B(r){N.call(this,i,r)}function x(r){N.call(this,i,r)}function O(r){N.call(this,i,r)}const z=()=>{t(0,o=!o)},$=r=>{(r.key===" "||r.key==="Enter")&&(r.preventDefault(),t(0,o=!o))};return i.$$set=r=>{t(10,e=M(M({},e),F(r))),t(9,n=Z(e,l)),"size"in r&&t(1,a=r.size),"toggled"in r&&t(0,o=r.toggled),"disabled"in r&&t(2,h=r.disabled),"labelA"in r&&t(3,c=r.labelA),"labelB"in r&&t(4,v=r.labelB),"labelText"in r&&t(5,C=r.labelText),"hideLabel"in r&&t(6,m=r.hideLabel),"id"in r&&t(7,b=r.id),"name"in r&&t(8,Y=r.name),"$$scope"in r&&t(11,s=r.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&te("toggle",{toggled:o})},e=F(e),[o,a,h,c,v,C,m,b,Y,n,e,s,u,X,q,T,p,y,B,x,O,z,$]}class ft extends W{constructor(e){super(),G(this,e,ot,st,J,{size:1,toggled:0,disabled:2,labelA:3,labelB:4,labelText:5,hideLabel:6,id:7,name:8})}}const bt=ft,He=Le({taskCallbacks:new Map});function mt(i,e){He.update(t=>(t.taskCallbacks.set(i,e),t))}function gt(i){He.update(e=>{var t;for(const l of e.taskCallbacks.keys()){const n=i.tasks[l];((n==null?void 0:n.status)=="error"||n.status==="completed")&&((t=e.taskCallbacks.get(l))==null||t(n),e.taskCallbacks.delete(l))}return e})}export{qe as C,dt as N,bt as T,_t as a,gt as o,mt as w};
 
 
web/blueprint/build/_app/immutable/chunks/taskMonitoringStore.c95c5d53.js ADDED
@@ -0,0 +1 @@
 
 
1
+ var st=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var R=(s,e,t)=>(st(s,e,"read from private field"),t?t.call(s):e.get(s)),z=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)},U=(s,e,t,r)=>(st(s,e,"write to private field"),r?r.call(s,t):e.set(s,t),t);import{S as Qe,i as Fe,s as Ae,e as Re,b as I,a1 as ie,h as P,D as Y,E as k,F as ne,Q,k as ue,l as oe,m as D,I as Z,H as E,K as M,O as te,P as qe,q as me,r as be,J as N,v as Be,d as B,f as xe,g as x,ac as Ot,aj as Xt,w as rt,G as He,x as _e,a as Ct,y as he,c as Rt,z as ze,A as fe,L as Ge,M as We,N as Je,B as de,W as $t,u as Me,_ as J,$ as V,n as H,a0 as Se,T as es}from"./index.4b0e533a.js";import{r as ae,d as _t,w as St}from"./index.08270dac.js";function ts(s){let e,t,r,i=[s[2]],n={};for(let u=0;u<i.length;u+=1)n=k(n,i[u]);return{c(){e=ue("div"),this.h()},l(u){e=oe(u,"DIV",{}),D(e).forEach(P),this.h()},h(){Z(e,n),E(e,"bx--skeleton",!0),E(e,"bx--btn",!0),E(e,"bx--btn--field",s[1]==="field"),E(e,"bx--btn--sm",s[1]==="small"),E(e,"bx--btn--lg",s[1]==="lg"),E(e,"bx--btn--xl",s[1]==="xl")},m(u,a){I(u,e,a),t||(r=[M(e,"click",s[7]),M(e,"mouseover",s[8]),M(e,"mouseenter",s[9]),M(e,"mouseleave",s[10])],t=!0)},p(u,a){Z(e,n=te(i,[a&4&&u[2]])),E(e,"bx--skeleton",!0),E(e,"bx--btn",!0),E(e,"bx--btn--field",u[1]==="field"),E(e,"bx--btn--sm",u[1]==="small"),E(e,"bx--btn--lg",u[1]==="lg"),E(e,"bx--btn--xl",u[1]==="xl")},d(u){u&&P(e),t=!1,qe(r)}}}function ss(s){let e,t="",r,i,n,u,a=[{href:s[0]},{rel:i=s[2].target==="_blank"?"noopener noreferrer":void 0},{role:"button"},s[2]],o={};for(let l=0;l<a.length;l+=1)o=k(o,a[l]);return{c(){e=ue("a"),r=me(t),this.h()},l(l){e=oe(l,"A",{href:!0,rel:!0,role:!0});var h=D(e);r=be(h,t),h.forEach(P),this.h()},h(){Z(e,o),E(e,"bx--skeleton",!0),E(e,"bx--btn",!0),E(e,"bx--btn--field",s[1]==="field"),E(e,"bx--btn--sm",s[1]==="small"),E(e,"bx--btn--lg",s[1]==="lg"),E(e,"bx--btn--xl",s[1]==="xl")},m(l,h){I(l,e,h),N(e,r),n||(u=[M(e,"click",s[3]),M(e,"mouseover",s[4]),M(e,"mouseenter",s[5]),M(e,"mouseleave",s[6])],n=!0)},p(l,h){Z(e,o=te(a,[h&1&&{href:l[0]},h&4&&i!==(i=l[2].target==="_blank"?"noopener noreferrer":void 0)&&{rel:i},{role:"button"},h&4&&l[2]])),E(e,"bx--skeleton",!0),E(e,"bx--btn",!0),E(e,"bx--btn--field",l[1]==="field"),E(e,"bx--btn--sm",l[1]==="small"),E(e,"bx--btn--lg",l[1]==="lg"),E(e,"bx--btn--xl",l[1]==="xl")},d(l){l&&P(e),n=!1,qe(u)}}}function rs(s){let e;function t(n,u){return n[0]?ss:ts}let r=t(s),i=r(s);return{c(){i.c(),e=Re()},l(n){i.l(n),e=Re()},m(n,u){i.m(n,u),I(n,e,u)},p(n,[u]){r===(r=t(n))&&i?i.p(n,u):(i.d(1),i=r(n),i&&(i.c(),i.m(e.parentNode,e)))},i:ie,o:ie,d(n){i.d(n),n&&P(e)}}}function is(s,e,t){const r=["href","size"];let i=Y(e,r),{href:n=void 0}=e,{size:u="default"}=e;function a(f){Q.call(this,s,f)}function o(f){Q.call(this,s,f)}function l(f){Q.call(this,s,f)}function h(f){Q.call(this,s,f)}function p(f){Q.call(this,s,f)}function m(f){Q.call(this,s,f)}function d(f){Q.call(this,s,f)}function c(f){Q.call(this,s,f)}return s.$$set=f=>{e=k(k({},e),ne(f)),t(2,i=Y(e,r)),"href"in f&&t(0,n=f.href),"size"in f&&t(1,u=f.size)},[n,u,i,a,o,l,h,p,m,d,c]}class ns extends Qe{constructor(e){super(),Fe(this,e,is,rs,Ae,{href:0,size:1})}}const as=ns,us=s=>({props:s[0]&512}),it=s=>({props:s[9]});function os(s){let e,t,r,i,n,u,a=s[8]&&nt(s);const o=s[19].default,l=He(o,s,s[18],null);var h=s[2];function p(c){return{props:{"aria-hidden":"true",class:"bx--btn__icon",style:c[8]?"margin-left: 0":void 0,"aria-label":c[3]}}}h&&(r=_e(h,p(s)));let m=[s[9]],d={};for(let c=0;c<m.length;c+=1)d=k(d,m[c]);return{c(){e=ue("button"),a&&a.c(),t=Ct(),l&&l.c(),r&&he(r.$$.fragment),this.h()},l(c){e=oe(c,"BUTTON",{});var f=D(e);a&&a.l(f),t=Rt(f),l&&l.l(f),r&&ze(r.$$.fragment,f),f.forEach(P),this.h()},h(){Z(e,d)},m(c,f){I(c,e,f),a&&a.m(e,null),N(e,t),l&&l.m(e,null),r&&fe(r,e,null),e.autofocus&&e.focus(),s[33](e),i=!0,n||(u=[M(e,"click",s[24]),M(e,"mouseover",s[25]),M(e,"mouseenter",s[26]),M(e,"mouseleave",s[27])],n=!0)},p(c,f){c[8]?a?a.p(c,f):(a=nt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),l&&l.p&&(!i||f[0]&262144)&&Ge(l,o,c,c[18],i?Je(o,c[18],f,null):We(c[18]),null);const b={};if(f[0]&256&&(b.style=c[8]?"margin-left: 0":void 0),f[0]&8&&(b["aria-label"]=c[3]),f[0]&4&&h!==(h=c[2])){if(r){Be();const g=r;B(g.$$.fragment,1,0,()=>{de(g,1)}),xe()}h?(r=_e(h,p(c)),he(r.$$.fragment),x(r.$$.fragment,1),fe(r,e,null)):r=null}else h&&r.$set(b);Z(e,d=te(m,[f[0]&512&&c[9]]))},i(c){i||(x(l,c),r&&x(r.$$.fragment,c),i=!0)},o(c){B(l,c),r&&B(r.$$.fragment,c),i=!1},d(c){c&&P(e),a&&a.d(),l&&l.d(c),r&&de(r),s[33](null),n=!1,qe(u)}}}function ls(s){let e,t,r,i,n,u,a=s[8]&&at(s);const o=s[19].default,l=He(o,s,s[18],null);var h=s[2];function p(c){return{props:{"aria-hidden":"true",class:"bx--btn__icon","aria-label":c[3]}}}h&&(r=_e(h,p(s)));let m=[s[9]],d={};for(let c=0;c<m.length;c+=1)d=k(d,m[c]);return{c(){e=ue("a"),a&&a.c(),t=Ct(),l&&l.c(),r&&he(r.$$.fragment),this.h()},l(c){e=oe(c,"A",{});var f=D(e);a&&a.l(f),t=Rt(f),l&&l.l(f),r&&ze(r.$$.fragment,f),f.forEach(P),this.h()},h(){Z(e,d)},m(c,f){I(c,e,f),a&&a.m(e,null),N(e,t),l&&l.m(e,null),r&&fe(r,e,null),s[32](e),i=!0,n||(u=[M(e,"click",s[20]),M(e,"mouseover",s[21]),M(e,"mouseenter",s[22]),M(e,"mouseleave",s[23])],n=!0)},p(c,f){c[8]?a?a.p(c,f):(a=at(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),l&&l.p&&(!i||f[0]&262144)&&Ge(l,o,c,c[18],i?Je(o,c[18],f,null):We(c[18]),null);const b={};if(f[0]&8&&(b["aria-label"]=c[3]),f[0]&4&&h!==(h=c[2])){if(r){Be();const g=r;B(g.$$.fragment,1,0,()=>{de(g,1)}),xe()}h?(r=_e(h,p(c)),he(r.$$.fragment),x(r.$$.fragment,1),fe(r,e,null)):r=null}else h&&r.$set(b);Z(e,d=te(m,[f[0]&512&&c[9]]))},i(c){i||(x(l,c),r&&x(r.$$.fragment,c),i=!0)},o(c){B(l,c),r&&B(r.$$.fragment,c),i=!1},d(c){c&&P(e),a&&a.d(),l&&l.d(c),r&&de(r),s[32](null),n=!1,qe(u)}}}function cs(s){let e;const t=s[19].default,r=He(t,s,s[18],it);return{c(){r&&r.c()},l(i){r&&r.l(i)},m(i,n){r&&r.m(i,n),e=!0},p(i,n){r&&r.p&&(!e||n[0]&262656)&&Ge(r,t,i,i[18],e?Je(t,i[18],n,us):We(i[18]),it)},i(i){e||(x(r,i),e=!0)},o(i){B(r,i),e=!1},d(i){r&&r.d(i)}}}function hs(s){let e,t;const r=[{href:s[7]},{size:s[1]},s[10],{style:s[8]&&"width: 3rem;"}];let i={};for(let n=0;n<r.length;n+=1)i=k(i,r[n]);return e=new as({props:i}),e.$on("click",s[28]),e.$on("mouseover",s[29]),e.$on("mouseenter",s[30]),e.$on("mouseleave",s[31]),{c(){he(e.$$.fragment)},l(n){ze(e.$$.fragment,n)},m(n,u){fe(e,n,u),t=!0},p(n,u){const a=u[0]&1410?te(r,[u[0]&128&&{href:n[7]},u[0]&2&&{size:n[1]},u[0]&1024&&$t(n[10]),u[0]&256&&{style:n[8]&&"width: 3rem;"}]):{};e.$set(a)},i(n){t||(x(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){de(e,n)}}}function nt(s){let e,t;return{c(){e=ue("span"),t=me(s[3]),this.h()},l(r){e=oe(r,"SPAN",{});var i=D(e);t=be(i,s[3]),i.forEach(P),this.h()},h(){E(e,"bx--assistive-text",!0)},m(r,i){I(r,e,i),N(e,t)},p(r,i){i[0]&8&&Me(t,r[3])},d(r){r&&P(e)}}}function at(s){let e,t;return{c(){e=ue("span"),t=me(s[3]),this.h()},l(r){e=oe(r,"SPAN",{});var i=D(e);t=be(i,s[3]),i.forEach(P),this.h()},h(){E(e,"bx--assistive-text",!0)},m(r,i){I(r,e,i),N(e,t)},p(r,i){i[0]&8&&Me(t,r[3])},d(r){r&&P(e)}}}function fs(s){let e,t,r,i;const n=[hs,cs,ls,os],u=[];function a(o,l){return o[5]?0:o[4]?1:o[7]&&!o[6]?2:3}return e=a(s),t=u[e]=n[e](s),{c(){t.c(),r=Re()},l(o){t.l(o),r=Re()},m(o,l){u[e].m(o,l),I(o,r,l),i=!0},p(o,l){let h=e;e=a(o),e===h?u[e].p(o,l):(Be(),B(u[h],1,1,()=>{u[h]=null}),xe(),t=u[e],t?t.p(o,l):(t=u[e]=n[e](o),t.c()),x(t,1),t.m(r.parentNode,r))},i(o){i||(x(t),i=!0)},o(o){B(t),i=!1},d(o){u[e].d(o),o&&P(r)}}}function ds(s,e,t){let r,i;const n=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let u=Y(e,n),{$$slots:a={},$$scope:o}=e;const l=Xt(a);let{kind:h="primary"}=e,{size:p="default"}=e,{expressive:m=!1}=e,{isSelected:d=!1}=e,{icon:c=void 0}=e,{iconDescription:f=void 0}=e,{tooltipAlignment:b="center"}=e,{tooltipPosition:g="bottom"}=e,{as:F=!1}=e,{skeleton:_=!1}=e,{disabled:S=!1}=e,{href:A=void 0}=e,{tabindex:C="0"}=e,{type:O="button"}=e,{ref:v=null}=e;const q=Ot("ComposedModal");function X(y){Q.call(this,s,y)}function le(y){Q.call(this,s,y)}function tt(y){Q.call(this,s,y)}function De(y){Q.call(this,s,y)}function Bt(y){Q.call(this,s,y)}function xt(y){Q.call(this,s,y)}function Ht(y){Q.call(this,s,y)}function zt(y){Q.call(this,s,y)}function Gt(y){Q.call(this,s,y)}function Wt(y){Q.call(this,s,y)}function Jt(y){Q.call(this,s,y)}function Vt(y){Q.call(this,s,y)}function Yt(y){rt[y?"unshift":"push"](()=>{v=y,t(0,v)})}function Zt(y){rt[y?"unshift":"push"](()=>{v=y,t(0,v)})}return s.$$set=y=>{e=k(k({},e),ne(y)),t(10,u=Y(e,n)),"kind"in y&&t(11,h=y.kind),"size"in y&&t(1,p=y.size),"expressive"in y&&t(12,m=y.expressive),"isSelected"in y&&t(13,d=y.isSelected),"icon"in y&&t(2,c=y.icon),"iconDescription"in y&&t(3,f=y.iconDescription),"tooltipAlignment"in y&&t(14,b=y.tooltipAlignment),"tooltipPosition"in y&&t(15,g=y.tooltipPosition),"as"in y&&t(4,F=y.as),"skeleton"in y&&t(5,_=y.skeleton),"disabled"in y&&t(6,S=y.disabled),"href"in y&&t(7,A=y.href),"tabindex"in y&&t(16,C=y.tabindex),"type"in y&&t(17,O=y.type),"ref"in y&&t(0,v=y.ref),"$$scope"in y&&t(18,o=y.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&1&&q&&v&&q.declareRef(v),s.$$.dirty[0]&4&&t(8,r=c&&!l.default),t(9,i={type:A&&!S?void 0:O,tabindex:C,disabled:S===!0?!0:void 0,href:A,"aria-pressed":r&&h==="ghost"&&!A?d:void 0,...u,class:["bx--btn",m&&"bx--btn--expressive",(p==="small"&&!m||p==="sm"&&!m||p==="small"&&!m)&&"bx--btn--sm",p==="field"&&!m||p==="md"&&!m&&"bx--btn--md",p==="field"&&"bx--btn--field",p==="small"&&"bx--btn--sm",p==="lg"&&"bx--btn--lg",p==="xl"&&"bx--btn--xl",h&&`bx--btn--${h}`,S&&"bx--btn--disabled",r&&"bx--btn--icon-only",r&&"bx--tooltip__trigger",r&&"bx--tooltip--a11y",r&&g&&`bx--btn--icon-only--${g}`,r&&b&&`bx--tooltip--align-${b}`,r&&d&&h==="ghost"&&"bx--btn--selected",u.class].filter(Boolean).join(" ")})},[v,p,c,f,F,_,S,A,r,i,u,h,m,d,b,g,C,O,o,a,X,le,tt,De,Bt,xt,Ht,zt,Gt,Wt,Jt,Vt,Yt,Zt]}class ys extends Qe{constructor(e){super(),Fe(this,e,ds,fs,Ae,{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 cr=ys;function ut(s){let e,t;return{c(){e=J("title"),t=me(s[1])},l(r){e=V(r,"title",{});var i=D(e);t=be(i,s[1]),i.forEach(P)},m(r,i){I(r,e,i),N(e,t)},p(r,i){i&2&&Me(t,r[1])},d(r){r&&P(e)}}}function ps(s){let e,t,r,i=s[1]&&ut(s),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:s[0]},{height:s[0]},s[2],s[3]],u={};for(let a=0;a<n.length;a+=1)u=k(u,n[a]);return{c(){e=J("svg"),i&&i.c(),t=J("path"),r=J("path"),this.h()},l(a){e=V(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=D(e);i&&i.l(o),t=V(o,"path",{d:!0}),D(t).forEach(P),r=V(o,"path",{fill:!0,d:!0,"data-icon-path":!0}),D(r).forEach(P),o.forEach(P),this.h()},h(){H(t,"d","M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"),H(r,"fill","none"),H(r,"d","M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z"),H(r,"data-icon-path","inner-path"),Se(e,u)},m(a,o){I(a,e,o),i&&i.m(e,null),N(e,t),N(e,r)},p(a,[o]){a[1]?i?i.p(a,o):(i=ut(a),i.c(),i.m(e,t)):i&&(i.d(1),i=null),Se(e,u=te(n,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:a[0]},o&1&&{height:a[0]},o&4&&a[2],o&8&&a[3]]))},i:ie,o:ie,d(a){a&&P(e),i&&i.d()}}}function ms(s,e,t){let r,i;const n=["size","title"];let u=Y(e,n),{size:a=16}=e,{title:o=void 0}=e;return s.$$set=l=>{t(5,e=k(k({},e),ne(l))),t(3,u=Y(e,n)),"size"in l&&t(0,a=l.size),"title"in l&&t(1,o=l.title)},s.$$.update=()=>{t(4,r=e["aria-label"]||e["aria-labelledby"]||o),t(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ne(e),[a,o,i,u,r]}class bs extends Qe{constructor(e){super(),Fe(this,e,ms,ps,Ae,{size:0,title:1})}}const hr=bs;function ot(s){let e,t;return{c(){e=J("title"),t=me(s[1])},l(r){e=V(r,"title",{});var i=D(e);t=be(i,s[1]),i.forEach(P)},m(r,i){I(r,e,i),N(e,t)},p(r,i){i&2&&Me(t,r[1])},d(r){r&&P(e)}}}function vs(s){let e,t,r,i=s[1]&&ot(s),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:s[0]},{height:s[0]},s[2],s[3]],u={};for(let a=0;a<n.length;a+=1)u=k(u,n[a]);return{c(){e=J("svg"),i&&i.c(),t=J("path"),r=J("path"),this.h()},l(a){e=V(a,"svg",{xmlns:!0,viewBox:!0,fill:!0,preserveAspectRatio:!0,width:!0,height:!0});var o=D(e);i&&i.l(o),t=V(o,"path",{fill:!0,d:!0,"data-icon-path":!0,transform:!0}),D(t).forEach(P),r=V(o,"path",{d:!0}),D(r).forEach(P),o.forEach(P),this.h()},h(){H(t,"fill","none"),H(t,"d","M14.9 7.2H17.1V24.799H14.9z"),H(t,"data-icon-path","inner-path"),H(t,"transform","rotate(-45 16 16)"),H(r,"d","M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"),Se(e,u)},m(a,o){I(a,e,o),i&&i.m(e,null),N(e,t),N(e,r)},p(a,[o]){a[1]?i?i.p(a,o):(i=ot(a),i.c(),i.m(e,t)):i&&(i.d(1),i=null),Se(e,u=te(n,[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},o&1&&{width:a[0]},o&1&&{height:a[0]},o&4&&a[2],o&8&&a[3]]))},i:ie,o:ie,d(a){a&&P(e),i&&i.d()}}}function gs(s,e,t){let r,i;const n=["size","title"];let u=Y(e,n),{size:a=16}=e,{title:o=void 0}=e;return s.$$set=l=>{t(5,e=k(k({},e),ne(l))),t(3,u=Y(e,n)),"size"in l&&t(0,a=l.size),"title"in l&&t(1,o=l.title)},s.$$.update=()=>{t(4,r=e["aria-label"]||e["aria-labelledby"]||o),t(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ne(e),[a,o,i,u,r]}class Os extends Qe{constructor(e){super(),Fe(this,e,gs,vs,Ae,{size:0,title:1})}}const fr=Os;class se{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 ye=typeof window>"u"||"Deno"in window;function T(){}function Cs(s,e){return typeof s=="function"?s(e):s}function Ie(s){return typeof s=="number"&&s>=0&&s!==1/0}function lt(s,e){return s.filter(t=>!e.includes(t))}function Rs(s,e,t){const r=s.slice(0);return r[e]=t,r}function Et(s,e){return Math.max(s+(e||0)-Date.now(),0)}function ce(s,e,t){return ve(s)?typeof e=="function"?{...t,queryKey:s,queryFn:e}:{...e,queryKey:s}:s}function _s(s,e,t){return ve(s)?typeof e=="function"?{...t,mutationKey:s,mutationFn:e}:{...e,mutationKey:s}:typeof s=="function"?{...e,mutationFn:s}:{...s}}function G(s,e,t){return ve(s)?[{...e,queryKey:s},t]:[s||{},e]}function ct(s,e){const{type:t="all",exact:r,fetchStatus:i,predicate:n,queryKey:u,stale:a}=s;if(ve(u)){if(r){if(e.queryHash!==Ve(u,e.options))return!1}else if(!Ee(e.queryKey,u))return!1}if(t!=="all"){const o=e.isActive();if(t==="active"&&!o||t==="inactive"&&o)return!1}return!(typeof a=="boolean"&&e.isStale()!==a||typeof i<"u"&&i!==e.state.fetchStatus||n&&!n(e))}function ht(s,e){const{exact:t,fetching:r,predicate:i,mutationKey:n}=s;if(ve(n)){if(!e.options.mutationKey)return!1;if(t){if($(e.options.mutationKey)!==$(n))return!1}else if(!Ee(e.options.mutationKey,n))return!1}return!(typeof r=="boolean"&&e.state.status==="loading"!==r||i&&!i(e))}function Ve(s,e){return((e==null?void 0:e.queryKeyHashFn)||$)(s)}function $(s){return JSON.stringify(s,(e,t)=>je(t)?Object.keys(t).sort().reduce((r,i)=>(r[i]=t[i],r),{}):t)}function Ee(s,e){return Pt(s,e)}function Pt(s,e){return s===e?!0:typeof s!=typeof e?!1:s&&e&&typeof s=="object"&&typeof e=="object"?!Object.keys(e).some(t=>!Pt(s[t],e[t])):!1}function wt(s,e){if(s===e)return s;const t=ft(s)&&ft(e);if(t||je(s)&&je(e)){const r=t?s.length:Object.keys(s).length,i=t?e:Object.keys(e),n=i.length,u=t?[]:{};let a=0;for(let o=0;o<n;o++){const l=t?o:i[o];u[l]=wt(s[l],e[l]),u[l]===s[l]&&a++}return r===n&&a===r?s:u}return e}function Ue(s,e){if(s&&!e||e&&!s)return!1;for(const t in s)if(s[t]!==e[t])return!1;return!0}function ft(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function je(s){if(!dt(s))return!1;const e=s.constructor;if(typeof e>"u")return!0;const t=e.prototype;return!(!dt(t)||!t.hasOwnProperty("isPrototypeOf"))}function dt(s){return Object.prototype.toString.call(s)==="[object Object]"}function ve(s){return Array.isArray(s)}function Qt(s){return new Promise(e=>{setTimeout(e,s)})}function yt(s){Qt(0).then(s)}function Ss(){if(typeof AbortController=="function")return new AbortController}function Ne(s,e,t){return t.isDataEqual!=null&&t.isDataEqual(s,e)?s:typeof t.structuralSharing=="function"?t.structuralSharing(s,e):t.structuralSharing!==!1?wt(s,e):e}class Es extends se{constructor(){super(),this.setup=e=>{if(!ye&&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(r=>{typeof r=="boolean"?this.setFocused(r):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 Pe=new Es,pt=["online","offline"];class Ps extends se{constructor(){super(),this.setup=e=>{if(!ye&&window.addEventListener){const t=()=>e();return pt.forEach(r=>{window.addEventListener(r,t,!1)}),()=>{pt.forEach(r=>{window.removeEventListener(r,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(r=>{typeof r=="boolean"?this.setOnline(r):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 we=new Ps;function ws(s){return Math.min(1e3*2**s,3e4)}function ke(s){return(s??"online")==="online"?we.isOnline():!0}class Ft{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}}function Ce(s){return s instanceof Ft}function At(s){let e=!1,t=0,r=!1,i,n,u;const a=new Promise((b,g)=>{n=b,u=g}),o=b=>{r||(d(new Ft(b)),s.abort==null||s.abort())},l=()=>{e=!0},h=()=>{e=!1},p=()=>!Pe.isFocused()||s.networkMode!=="always"&&!we.isOnline(),m=b=>{r||(r=!0,s.onSuccess==null||s.onSuccess(b),i==null||i(),n(b))},d=b=>{r||(r=!0,s.onError==null||s.onError(b),i==null||i(),u(b))},c=()=>new Promise(b=>{i=g=>{const F=r||!p();return F&&b(g),F},s.onPause==null||s.onPause()}).then(()=>{i=void 0,r||s.onContinue==null||s.onContinue()}),f=()=>{if(r)return;let b;try{b=s.fn()}catch(g){b=Promise.reject(g)}Promise.resolve(b).then(m).catch(g=>{var F,_;if(r)return;const S=(F=s.retry)!=null?F:3,A=(_=s.retryDelay)!=null?_:ws,C=typeof A=="function"?A(t,g):A,O=S===!0||typeof S=="number"&&t<S||typeof S=="function"&&S(t,g);if(e||!O){d(g);return}t++,s.onFail==null||s.onFail(t,g),Qt(C).then(()=>{if(p())return c()}).then(()=>{e?d(g):f()})})};return ke(s.networkMode)?f():c().then(f),{promise:a,cancel:o,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:l,continueRetry:h}}const Ye=console;function Qs(){let s=[],e=0,t=h=>{h()},r=h=>{h()};const i=h=>{let p;e++;try{p=h()}finally{e--,e||a()}return p},n=h=>{e?s.push(h):yt(()=>{t(h)})},u=h=>(...p)=>{n(()=>{h(...p)})},a=()=>{const h=s;s=[],h.length&&yt(()=>{r(()=>{h.forEach(p=>{t(p)})})})};return{batch:i,batchCalls:u,schedule:n,setNotifyFunction:h=>{t=h},setBatchNotifyFunction:h=>{r=h}}}const w=Qs();class qt{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ie(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,e??(ye?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Fs extends qt{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||Ye,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||As(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 r=Ne(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const r=this.promise;return(t=this.retryer)==null||t.cancel(e),r?r.then(T).catch(T):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||!Et(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}onOnline(){var e;const t=this.observers.find(r=>r.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 r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&t!=null&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var n;return(n=this.retryer)==null||n.continueRetry(),this.promise}}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(c=>c.options.queryFn);d&&this.setOptions(d.options)}Array.isArray(this.options.queryKey);const u=Ss(),a={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},o=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>{if(u)return this.abortSignalConsumed=!0,u.signal}})};o(a);const l=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(a)):Promise.reject("Missing queryFn"),h={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};if(o(h),(r=this.options.behavior)==null||r.onFetch(h),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=h.fetchOptions)==null?void 0:i.meta)){var p;this.dispatch({type:"fetch",meta:(p=h.fetchOptions)==null?void 0:p.meta})}const m=d=>{if(Ce(d)&&d.silent||this.dispatch({type:"error",error:d}),!Ce(d)){var c,f,b,g;(c=(f=this.cache.config).onError)==null||c.call(f,d,this),(b=(g=this.cache.config).onSettled)==null||b.call(g,this.state.data,d,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=At({fn:h.fetchFn,abort:u==null?void 0:u.abort.bind(u),onSuccess:d=>{var c,f,b,g;if(typeof d>"u"){m(new Error(this.queryHash+" data is undefined"));return}this.setData(d),(c=(f=this.cache.config).onSuccess)==null||c.call(f,d,this),(b=(g=this.cache.config).onSettled)==null||b.call(g,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:m,onFail:(d,c)=>{this.dispatch({type:"failed",failureCount:d,error:c})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){const t=r=>{var i,n;switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=e.meta)!=null?i:null,fetchStatus:ke(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(n=e.dataUpdatedAt)!=null?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const u=e.error;return Ce(u)&&u.revert&&this.revertState?{...this.revertState}:{...r,error:u,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),w.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}function As(s){const e=typeof s.initialData=="function"?s.initialData():s.initialData,t=typeof e<"u",r=t?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:t?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"loading",fetchStatus:"idle"}}class qs extends se{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var i;const n=t.queryKey,u=(i=t.queryHash)!=null?i:Ve(n,t);let a=this.get(u);return a||(a=new Fs({cache:this,logger:e.getLogger(),queryKey:n,queryHash:u,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(a)),a}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(r=>r!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){w.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[r]=G(e,t);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>ct(r,i))}findAll(e,t){const[r]=G(e,t);return Object.keys(r).length>0?this.queries.filter(i=>ct(r,i)):this.queries}notify(e){w.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){w.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){w.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class Ms extends qt{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||Ye,this.observers=[],this.state=e.state||Mt(),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 O;return this.retryer=At({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(v,q)=>{this.dispatch({type:"failed",failureCount:v,error:q})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(O=this.options.retry)!=null?O:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t=this.state.status==="loading";try{var r,i,n,u,a,o,l,h;if(!t){var p,m,d,c;this.dispatch({type:"loading",variables:this.options.variables}),await((p=(m=this.mutationCache.config).onMutate)==null?void 0:p.call(m,this.state.variables,this));const v=await((d=(c=this.options).onMutate)==null?void 0:d.call(c,this.state.variables));v!==this.state.context&&this.dispatch({type:"loading",context:v,variables:this.state.variables})}const O=await e();return await((r=(i=this.mutationCache.config).onSuccess)==null?void 0:r.call(i,O,this.state.variables,this.state.context,this)),await((n=(u=this.options).onSuccess)==null?void 0:n.call(u,O,this.state.variables,this.state.context)),await((a=(o=this.mutationCache.config).onSettled)==null?void 0:a.call(o,O,null,this.state.variables,this.state.context,this)),await((l=(h=this.options).onSettled)==null?void 0:l.call(h,O,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:O}),O}catch(O){try{var f,b,g,F,_,S,A,C;throw await((f=(b=this.mutationCache.config).onError)==null?void 0:f.call(b,O,this.state.variables,this.state.context,this)),await((g=(F=this.options).onError)==null?void 0:g.call(F,O,this.state.variables,this.state.context)),await((_=(S=this.mutationCache.config).onSettled)==null?void 0:_.call(S,void 0,O,this.state.variables,this.state.context,this)),await((A=(C=this.options).onSettled)==null?void 0:A.call(C,void 0,O,this.state.variables,this.state.context)),O}finally{this.dispatch({type:"error",error:O})}}}dispatch(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ke(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...r,...e.state}}};this.state=t(this.state),w.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function Mt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class ks extends se{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){const i=new Ms({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,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(){w.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=>ht(e,t))}findAll(e){return this.mutations.filter(t=>ht(e,t))}notify(e){w.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(r=>r.state.isPaused);return w.batch(()=>t.reduce((r,i)=>r.then(()=>i.continue().catch(T)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function Ds(){return{onFetch:s=>{s.fetchFn=()=>{var e,t,r,i,n,u;const a=(e=s.fetchOptions)==null||(t=e.meta)==null?void 0:t.refetchPage,o=(r=s.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,l=o==null?void 0:o.pageParam,h=(o==null?void 0:o.direction)==="forward",p=(o==null?void 0:o.direction)==="backward",m=((n=s.state.data)==null?void 0:n.pages)||[],d=((u=s.state.data)==null?void 0:u.pageParams)||[];let c=d,f=!1;const b=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var O;if((O=s.signal)!=null&&O.aborted)f=!0;else{var v;(v=s.signal)==null||v.addEventListener("abort",()=>{f=!0})}return s.signal}})},g=s.options.queryFn||(()=>Promise.reject("Missing queryFn")),F=(C,O,v,q)=>(c=q?[O,...c]:[...c,O],q?[v,...C]:[...C,v]),_=(C,O,v,q)=>{if(f)return Promise.reject("Cancelled");if(typeof v>"u"&&!O&&C.length)return Promise.resolve(C);const X={queryKey:s.queryKey,pageParam:v,meta:s.options.meta};b(X);const le=g(X);return Promise.resolve(le).then(De=>F(C,v,De,q))};let S;if(!m.length)S=_([]);else if(h){const C=typeof l<"u",O=C?l:Le(s.options,m);S=_(m,C,O)}else if(p){const C=typeof l<"u",O=C?l:kt(s.options,m);S=_(m,C,O,!0)}else{c=[];const C=typeof s.options.getNextPageParam>"u";S=(a&&m[0]?a(m[0],0,m):!0)?_([],C,d[0]):Promise.resolve(F([],d[0],m[0]));for(let v=1;v<m.length;v++)S=S.then(q=>{if(a&&m[v]?a(m[v],v,m):!0){const le=C?d[v]:Le(s.options,q);return _(q,C,le)}return Promise.resolve(F(q,d[v],m[v]))})}return S.then(C=>({pages:C,pageParams:c}))}}}}function Le(s,e){return s.getNextPageParam==null?void 0:s.getNextPageParam(e[e.length-1],e)}function kt(s,e){return s.getPreviousPageParam==null?void 0:s.getPreviousPageParam(e[0],e)}function dr(s,e){if(s.getNextPageParam&&Array.isArray(e)){const t=Le(s,e);return typeof t<"u"&&t!==null&&t!==!1}}function yr(s,e){if(s.getPreviousPageParam&&Array.isArray(e)){const t=kt(s,e);return typeof t<"u"&&t!==null&&t!==!1}}class Ts{constructor(e={}){this.queryCache=e.queryCache||new qs,this.mutationCache=e.mutationCache||new ks,this.logger=e.logger||Ye,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=Pe.subscribe(()=>{Pe.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=we.subscribe(()=>{we.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[r]=G(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return(r=this.queryCache.find(e,t))==null?void 0:r.state.data}ensureQueryData(e,t,r){const i=ce(e,t,r),n=this.getQueryData(i.queryKey);return n?Promise.resolve(n):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:r})=>{const i=r.data;return[t,i]})}setQueryData(e,t,r){const i=this.queryCache.find(e),n=i==null?void 0:i.state.data,u=Cs(t,n);if(typeof u>"u")return;const a=ce(e),o=this.defaultQueryOptions(a);return this.queryCache.build(this,o).setData(u,{...r,manual:!0})}setQueriesData(e,t,r){return w.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,r)]))}getQueryState(e,t){var r;return(r=this.queryCache.find(e,t))==null?void 0:r.state}removeQueries(e,t){const[r]=G(e,t),i=this.queryCache;w.batch(()=>{i.findAll(r).forEach(n=>{i.remove(n)})})}resetQueries(e,t,r){const[i,n]=G(e,t,r),u=this.queryCache,a={type:"active",...i};return w.batch(()=>(u.findAll(i).forEach(o=>{o.reset()}),this.refetchQueries(a,n)))}cancelQueries(e,t,r){const[i,n={}]=G(e,t,r);typeof n.revert>"u"&&(n.revert=!0);const u=w.batch(()=>this.queryCache.findAll(i).map(a=>a.cancel(n)));return Promise.all(u).then(T).catch(T)}invalidateQueries(e,t,r){const[i,n]=G(e,t,r);return w.batch(()=>{var u,a;if(this.queryCache.findAll(i).forEach(l=>{l.invalidate()}),i.refetchType==="none")return Promise.resolve();const o={...i,type:(u=(a=i.refetchType)!=null?a:i.type)!=null?u:"active"};return this.refetchQueries(o,n)})}refetchQueries(e,t,r){const[i,n]=G(e,t,r),u=w.batch(()=>this.queryCache.findAll(i).filter(o=>!o.isDisabled()).map(o=>{var l;return o.fetch(void 0,{...n,cancelRefetch:(l=n==null?void 0:n.cancelRefetch)!=null?l:!0,meta:{refetchPage:i.refetchPage}})}));let a=Promise.all(u).then(T);return n!=null&&n.throwOnError||(a=a.catch(T)),a}fetchQuery(e,t,r){const i=ce(e,t,r),n=this.defaultQueryOptions(i);typeof n.retry>"u"&&(n.retry=!1);const u=this.queryCache.build(this,n);return u.isStaleByTime(n.staleTime)?u.fetch(n):Promise.resolve(u.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(T).catch(T)}fetchInfiniteQuery(e,t,r){const i=ce(e,t,r);return i.behavior=Ds(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(T).catch(T)}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 r=this.queryDefaults.find(i=>$(e)===$(i.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find(r=>Ee(e,r.queryKey));return t==null?void 0:t.defaultOptions}setMutationDefaults(e,t){const r=this.mutationDefaults.find(i=>$(e)===$(i.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find(r=>Ee(e,r.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=Ve(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 Dt extends se{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),mt(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ke(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ke(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),Ue(r,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=r.queryKey),this.updateQuery();const n=this.hasListeners();n&&bt(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(t),n&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const u=this.computeRefetchInterval();n&&(this.currentQuery!==i||this.options.enabled!==r.enabled||u!==this.currentRefetchInterval)&&this.updateRefetchInterval(u)}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(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),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),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,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(T)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),ye||this.currentResult.isStale||!Ie(this.options.staleTime))return;const t=Et(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,!(ye||this.options.enabled===!1||!Ie(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Pe.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 r=this.currentQuery,i=this.options,n=this.currentResult,u=this.currentResultState,a=this.currentResultOptions,o=e!==r,l=o?e.state:this.currentQueryInitialState,h=o?this.currentResult:this.previousQueryResult,{state:p}=e;let{dataUpdatedAt:m,error:d,errorUpdatedAt:c,fetchStatus:f,status:b}=p,g=!1,F=!1,_;if(t._optimisticResults){const v=this.hasListeners(),q=!v&&mt(e,t),X=v&&bt(e,r,t,i);(q||X)&&(f=ke(e.options.networkMode)?"fetching":"paused",m||(b="loading")),t._optimisticResults==="isRestoring"&&(f="idle")}if(t.keepPreviousData&&!p.dataUpdatedAt&&h!=null&&h.isSuccess&&b!=="error")_=h.data,m=h.dataUpdatedAt,b=h.status,g=!0;else if(t.select&&typeof p.data<"u")if(n&&p.data===(u==null?void 0:u.data)&&t.select===this.selectFn)_=this.selectResult;else try{this.selectFn=t.select,_=t.select(p.data),_=Ne(n==null?void 0:n.data,_,t),this.selectResult=_,this.selectError=null}catch(v){this.selectError=v}else _=p.data;if(typeof t.placeholderData<"u"&&typeof _>"u"&&b==="loading"){let v;if(n!=null&&n.isPlaceholderData&&t.placeholderData===(a==null?void 0:a.placeholderData))v=n.data;else if(v=typeof t.placeholderData=="function"?t.placeholderData():t.placeholderData,t.select&&typeof v<"u")try{v=t.select(v),this.selectError=null}catch(q){this.selectError=q}typeof v<"u"&&(b="success",_=Ne(n==null?void 0:n.data,v,t),F=!0)}this.selectError&&(d=this.selectError,_=this.selectResult,c=Date.now(),b="error");const S=f==="fetching",A=b==="loading",C=b==="error";return{status:b,fetchStatus:f,isLoading:A,isSuccess:b==="success",isError:C,isInitialLoading:A&&S,data:_,dataUpdatedAt:m,error:d,errorUpdatedAt:c,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>l.dataUpdateCount||p.errorUpdateCount>l.errorUpdateCount,isFetching:S,isRefetching:S&&!A,isLoadingError:C&&p.dataUpdatedAt===0,isPaused:f==="paused",isPlaceholderData:F,isPreviousData:g,isRefetchError:C&&p.dataUpdatedAt!==0,isStale:Ze(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Ue(r,t))return;this.currentResult=r;const i={cache:!0},n=()=>{if(!t)return!0;const{notifyOnChangeProps:u}=this.options;if(u==="all"||!u&&!this.trackedProps.size)return!0;const a=new Set(u??this.trackedProps);return this.options.useErrorBoundary&&a.add("error"),Object.keys(this.currentResult).some(o=>{const l=o;return this.currentResult[l]!==t[l]&&a.has(l)})};(e==null?void 0:e.listeners)!==!1&&n()&&(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"&&!Ce(e.error)&&(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){w.batch(()=>{if(e.onSuccess){var t,r,i,n;(t=(r=this.options).onSuccess)==null||t.call(r,this.currentResult.data),(i=(n=this.options).onSettled)==null||i.call(n,this.currentResult.data,null)}else if(e.onError){var u,a,o,l;(u=(a=this.options).onError)==null||u.call(a,this.currentResult.error),(o=(l=this.options).onSettled)==null||o.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach(({listener:h})=>{h(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function Is(s,e){return e.enabled!==!1&&!s.state.dataUpdatedAt&&!(s.state.status==="error"&&e.retryOnMount===!1)}function mt(s,e){return Is(s,e)||s.state.dataUpdatedAt>0&&Ke(s,e,e.refetchOnMount)}function Ke(s,e,t){if(e.enabled!==!1){const r=typeof t=="function"?t(s):t;return r==="always"||r!==!1&&Ze(s,e)}return!1}function bt(s,e,t,r){return t.enabled!==!1&&(s!==e||r.enabled===!1)&&(!t.suspense||s.state.status!=="error")&&Ze(s,t)}function Ze(s,e){return s.isStaleByTime(e.staleTime)}class Us extends se{constructor(e,t){super(),this.client=e,this.queries=[],this.result=[],this.observers=[],this.observersMap={},t&&this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.observers.forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.observers.forEach(e=>{e.destroy()})}setQueries(e,t){this.queries=e,w.batch(()=>{const r=this.observers,i=this.findMatchingObservers(this.queries);i.forEach(l=>l.observer.setOptions(l.defaultedQueryOptions,t));const n=i.map(l=>l.observer),u=Object.fromEntries(n.map(l=>[l.options.queryHash,l])),a=n.map(l=>l.getCurrentResult()),o=n.some((l,h)=>l!==r[h]);r.length===n.length&&!o||(this.observers=n,this.observersMap=u,this.result=a,this.hasListeners()&&(lt(r,n).forEach(l=>{l.destroy()}),lt(n,r).forEach(l=>{l.subscribe(h=>{this.onUpdate(l,h)})}),this.notify()))})}getCurrentResult(){return this.result}getQueries(){return this.observers.map(e=>e.getCurrentQuery())}getObservers(){return this.observers}getOptimisticResult(e){return this.findMatchingObservers(e).map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions))}findMatchingObservers(e){const t=this.observers,r=new Map(t.map(d=>[d.options.queryHash,d])),i=e.map(d=>this.client.defaultQueryOptions(d)),n=i.flatMap(d=>{const c=r.get(d.queryHash);return c!=null?[{defaultedQueryOptions:d,observer:c}]:[]}),u=new Set(n.map(d=>d.defaultedQueryOptions.queryHash)),a=i.filter(d=>!u.has(d.queryHash)),o=new Set(n.map(d=>d.observer)),l=t.filter(d=>!o.has(d)),h=d=>{const c=this.client.defaultQueryOptions(d),f=this.observersMap[c.queryHash];return f??new Dt(this.client,c)},p=a.map((d,c)=>{if(d.keepPreviousData){const f=l[c];if(f!==void 0)return{defaultedQueryOptions:d,observer:f}}return{defaultedQueryOptions:d,observer:h(d)}}),m=(d,c)=>i.indexOf(d.defaultedQueryOptions)-i.indexOf(c.defaultedQueryOptions);return n.concat(p).sort(m)}onUpdate(e,t){const r=this.observers.indexOf(e);r!==-1&&(this.result=Rs(this.result,r,t),this.notify())}notify(){w.batch(()=>{this.listeners.forEach(({listener:e})=>{e(this.result)})})}}class js extends se{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 r=this.options;this.options=this.client.defaultMutationOptions(e),Ue(r,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:Mt(),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){w.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(e.onSuccess){var t,r,i,n;(t=(r=this.mutateOptions).onSuccess)==null||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(i=(n=this.mutateOptions).onSettled)==null||i.call(n,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(e.onError){var u,a,o,l;(u=(a=this.mutateOptions).onError)==null||u.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(o=(l=this.mutateOptions).onSettled)==null||o.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}e.listeners&&this.listeners.forEach(({listener:h})=>{h(this.currentResult)})})}}const Tt="$$_queryClient",Ns=()=>{const s=Ot(Tt);if(!s)throw new Error("No QueryClient was found in Svelte context. Did you forget to wrap your component with QueryClientProvider?");return s},pr=s=>{es(Tt,s)};function Xe(){return Ns()}function Ls(s,e){const t=Xe(),r=t.defaultQueryOptions(s);r._optimisticResults="optimistic";let i=new e(t,r);r.onError&&(r.onError=w.batchCalls(r.onError)),r.onSuccess&&(r.onSuccess=w.batchCalls(r.onSuccess)),r.onSettled&&(r.onSettled=w.batchCalls(r.onSettled)),ae(i).subscribe(a=>{i=a,i.setOptions(r,{listeners:!1})});const n=ae(i.getCurrentResult(),a=>i.subscribe(w.batchCalls(a))),{subscribe:u}=_t(n,a=>(a=i.getOptimisticResult(r),r.notifyOnChangeProps?a:i.trackResult(a)));return{subscribe:u}}function Ks(s,e,t){const r=ce(s,e,t);return Ls(r,Dt)}function Bs(s){const e=Xe();function t(u){return u.map(a=>{const o=e.defaultQueryOptions(a);return o._optimisticResults="optimistic",o})}const r=t(s);let i=new Us(e,r);ae(i).subscribe(u=>{i=u,i.setQueries(r,{listeners:!1})});const{subscribe:n}=ae(i.getOptimisticResult(r),u=>i.subscribe(w.batchCalls(u)));return{subscribe:n}}function xs(s,e,t){const r=_s(s,e,t),i=Xe();let n=new js(i,r),u;ae(n).subscribe(l=>{n=l,u=(h,p)=>{n.mutate(h,p).catch(Hs)},n.setOptions(r)});const a=ae(n.getCurrentResult(),l=>n.subscribe(w.batchCalls(h=>l(h)))),{subscribe:o}=_t(a,l=>({...l,mutate:u,mutateAsync:l.mutate}));return{subscribe:o}}function Hs(){}const vt=St([]),mr=new Ts({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:1/0,retry:!1,onError:s=>{var e;console.error((e=s.body)==null?void 0:e.detail),vt.update(t=>[...t,s])}},mutations:{onError:s=>{var e;console.error((e=s.body)==null?void 0:e.detail),vt.update(t=>[...t,s])}}}});class gt extends Error{constructor(e,t,r){super(r),this.name="ApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.body=t.body,this.request=e}}class zs extends Error{constructor(e){super(e),this.name="CancelError"}get isCancelled(){return!0}}var L,K,j,W,ee,pe,re;class Gs{constructor(e){z(this,L,void 0);z(this,K,void 0);z(this,j,void 0);z(this,W,void 0);z(this,ee,void 0);z(this,pe,void 0);z(this,re,void 0);U(this,L,!1),U(this,K,!1),U(this,j,!1),U(this,W,[]),U(this,ee,new Promise((t,r)=>{U(this,pe,t),U(this,re,r);const i=a=>{var o;R(this,L)||R(this,K)||R(this,j)||(U(this,L,!0),(o=R(this,pe))==null||o.call(this,a))},n=a=>{var o;R(this,L)||R(this,K)||R(this,j)||(U(this,K,!0),(o=R(this,re))==null||o.call(this,a))},u=a=>{R(this,L)||R(this,K)||R(this,j)||R(this,W).push(a)};return Object.defineProperty(u,"isResolved",{get:()=>R(this,L)}),Object.defineProperty(u,"isRejected",{get:()=>R(this,K)}),Object.defineProperty(u,"isCancelled",{get:()=>R(this,j)}),e(i,n,u)}))}get[Symbol.toStringTag](){return"Cancellable Promise"}then(e,t){return R(this,ee).then(e,t)}catch(e){return R(this,ee).catch(e)}finally(e){return R(this,ee).finally(e)}cancel(){var e;if(!(R(this,L)||R(this,K)||R(this,j))){if(U(this,j,!0),R(this,W).length)try{for(const t of R(this,W))t()}catch(t){console.warn("Cancellation threw an error",t);return}R(this,W).length=0,(e=R(this,re))==null||e.call(this,new zs("Request aborted"))}}get isCancelled(){return R(this,j)}}L=new WeakMap,K=new WeakMap,j=new WeakMap,W=new WeakMap,ee=new WeakMap,pe=new WeakMap,re=new WeakMap;const It={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},$e=s=>s!=null,ge=s=>typeof s=="string",Te=s=>ge(s)&&s!=="",et=s=>typeof s=="object"&&typeof s.type=="string"&&typeof s.stream=="function"&&typeof s.arrayBuffer=="function"&&typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&/^(Blob|File)$/.test(s.constructor.name)&&/^(Blob|File)$/.test(s[Symbol.toStringTag]),Ut=s=>s instanceof FormData,Ws=s=>{try{return btoa(s)}catch{return Buffer.from(s).toString("base64")}},Js=s=>{const e=[],t=(i,n)=>{e.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(n))}`)},r=(i,n)=>{$e(n)&&(Array.isArray(n)?n.forEach(u=>{r(i,u)}):typeof n=="object"?Object.entries(n).forEach(([u,a])=>{r(`${i}[${u}]`,a)}):t(i,n))};return Object.entries(s).forEach(([i,n])=>{r(i,n)}),e.length>0?`?${e.join("&")}`:""},Vs=(s,e)=>{const t=s.ENCODE_PATH||encodeURI,r=e.url.replace("{api-version}",s.VERSION).replace(/{(.*?)}/g,(n,u)=>{var a;return(a=e.path)!=null&&a.hasOwnProperty(u)?t(String(e.path[u])):n}),i=`${s.BASE}${r}`;return e.query?`${i}${Js(e.query)}`:i},Ys=s=>{if(s.formData){const e=new FormData,t=(r,i)=>{ge(i)||et(i)?e.append(r,i):e.append(r,JSON.stringify(i))};return Object.entries(s.formData).filter(([r,i])=>$e(i)).forEach(([r,i])=>{Array.isArray(i)?i.forEach(n=>t(r,n)):t(r,i)}),e}},Oe=async(s,e)=>typeof e=="function"?e(s):e,Zs=async(s,e)=>{const t=await Oe(e,s.TOKEN),r=await Oe(e,s.USERNAME),i=await Oe(e,s.PASSWORD),n=await Oe(e,s.HEADERS),u=Object.entries({Accept:"application/json",...n,...e.headers}).filter(([a,o])=>$e(o)).reduce((a,[o,l])=>({...a,[o]:String(l)}),{});if(Te(t)&&(u.Authorization=`Bearer ${t}`),Te(r)&&Te(i)){const a=Ws(`${r}:${i}`);u.Authorization=`Basic ${a}`}return e.body&&(e.mediaType?u["Content-Type"]=e.mediaType:et(e.body)?u["Content-Type"]=e.body.type||"application/octet-stream":ge(e.body)?u["Content-Type"]="text/plain":Ut(e.body)||(u["Content-Type"]="application/json")),new Headers(u)},Xs=s=>{var e;if(s.body!==void 0)return(e=s.mediaType)!=null&&e.includes("/json")?JSON.stringify(s.body):ge(s.body)||et(s.body)||Ut(s.body)?s.body:JSON.stringify(s.body)},$s=async(s,e,t,r,i,n,u)=>{const a=new AbortController,o={headers:n,body:r??i,method:e.method,signal:a.signal};return s.WITH_CREDENTIALS&&(o.credentials=s.CREDENTIALS),u(()=>a.abort()),await fetch(t,o)},er=(s,e)=>{if(e){const t=s.headers.get(e);if(ge(t))return t}},tr=async s=>{if(s.status!==204)try{const e=s.headers.get("Content-Type");if(e)return["application/json","application/problem+json"].some(i=>e.toLowerCase().startsWith(i))?await s.json():await s.text()}catch(e){console.error(e)}},sr=(s,e)=>{const r={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...s.errors}[e.status];if(r)throw new gt(s,e,r);if(!e.ok)throw new gt(s,e,"Generic Error")},jt=(s,e)=>new Gs(async(t,r,i)=>{try{const n=Vs(s,e),u=Ys(e),a=Xs(e),o=await Zs(s,e);if(!i.isCancelled){const l=await $s(s,e,n,a,u,o,i),h=await tr(l),p=er(l,e.responseHeader),m={url:n,ok:l.ok,status:l.status,statusText:l.statusText,body:p??h};sr(e,m),t(m.body)}}catch(n){r(n)}});class rr{static authInfo(){return jt(It,{method:"GET",url:"/auth_info"})}}class ir{static getTaskManifest(){return jt(It,{method:"GET",url:"/api/v1/tasks/"})}}const Nt=(s,e,...t)=>[...s,e,...t];function Lt(s,e,t={}){return e=Array.isArray(e)?e:[e],(...r)=>Ks({queryKey:Nt(e,s.name,...r),queryFn:()=>s(...r),...t})}function br(s,e,t=[]){return e=Array.isArray(e)?e:[e],r=>{const i=r.map(n=>({queryKey:Nt(e,s.name,...n),queryFn:()=>s(...n),...t}));return Bs(i)}}function vr(s,e={}){return()=>xs({mutationFn:t=>s(...t),...e})}const nr="auth_info",gr=Lt(rr.authInfo,nr),ar="tasks",Or=Lt(ir.getTaskManifest,ar,{staleTime:500,refetchInterval:500,refetchIntervalInBackground:!1,refetchOnWindowFocus:!0}),Kt=St({taskCallbacks:new Map});function Cr(s,e){Kt.update(t=>(t.taskCallbacks.set(s,e),t))}function Rr(s){Kt.update(e=>{var t;for(const r of e.taskCallbacks.keys()){const i=s.tasks[r];((i==null?void 0:i.status)=="error"||i.status==="completed")&&((t=e.taskCallbacks.get(r))==null||t(i),e.taskCallbacks.delete(r))}return e})}export{nr as A,cr as B,hr as C,fr as E,It as O,Ts as Q,ar as T,gr as a,mr as b,vt as c,Ks as d,Lt as e,Dt as f,yr as g,dr as h,Ds as i,Ls as j,vr as k,br as l,Rr as o,ce as p,Or as q,jt as r,pr as s,Cr as w};