@wrongstack/webui 0.68.0 → 0.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-BH3RI9-8.js +94 -0
- package/dist/assets/{vendor-CzdG0ns2.js → vendor-DBuK7aZd.js} +74 -79
- package/dist/index.html +2 -2
- package/dist/index.js +47 -65
- package/dist/index.js.map +1 -1
- package/dist/server/entry.js.map +1 -1
- package/dist/server/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/assets/index-BeXRAkSS.js +0 -94
|
@@ -141,342 +141,337 @@ Error generating stack: `+a.message+`
|
|
|
141
141
|
*
|
|
142
142
|
* This source code is licensed under the ISC license.
|
|
143
143
|
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/const N4=le("
|
|
144
|
+
*/const N4=le("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
145
145
|
* @license lucide-react v0.469.0 - ISC
|
|
146
146
|
*
|
|
147
147
|
* This source code is licensed under the ISC license.
|
|
148
148
|
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
-
*/const L4=le("
|
|
149
|
+
*/const L4=le("CircleDot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
|
|
150
150
|
* @license lucide-react v0.469.0 - ISC
|
|
151
151
|
*
|
|
152
152
|
* This source code is licensed under the ISC license.
|
|
153
153
|
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
-
*/const U4=le("
|
|
154
|
+
*/const U4=le("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
|
|
155
155
|
* @license lucide-react v0.469.0 - ISC
|
|
156
156
|
*
|
|
157
157
|
* This source code is licensed under the ISC license.
|
|
158
158
|
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
-
*/const B4=le("
|
|
159
|
+
*/const B4=le("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|
160
160
|
* @license lucide-react v0.469.0 - ISC
|
|
161
161
|
*
|
|
162
162
|
* This source code is licensed under the ISC license.
|
|
163
163
|
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
-
*/const j4=le("
|
|
164
|
+
*/const j4=le("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
165
165
|
* @license lucide-react v0.469.0 - ISC
|
|
166
166
|
*
|
|
167
167
|
* This source code is licensed under the ISC license.
|
|
168
168
|
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
-
*/const H4=le("
|
|
169
|
+
*/const H4=le("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);/**
|
|
170
170
|
* @license lucide-react v0.469.0 - ISC
|
|
171
171
|
*
|
|
172
172
|
* This source code is licensed under the ISC license.
|
|
173
173
|
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
-
*/const q4=le("
|
|
174
|
+
*/const q4=le("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|
175
175
|
* @license lucide-react v0.469.0 - ISC
|
|
176
176
|
*
|
|
177
177
|
* This source code is licensed under the ISC license.
|
|
178
178
|
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/const V4=le("
|
|
179
|
+
*/const V4=le("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
|
180
180
|
* @license lucide-react v0.469.0 - ISC
|
|
181
181
|
*
|
|
182
182
|
* This source code is licensed under the ISC license.
|
|
183
183
|
* See the LICENSE file in the root directory of this source tree.
|
|
184
|
-
*/const Y4=le("
|
|
184
|
+
*/const Y4=le("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
|
|
185
185
|
* @license lucide-react v0.469.0 - ISC
|
|
186
186
|
*
|
|
187
187
|
* This source code is licensed under the ISC license.
|
|
188
188
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
|
-
*/const G4=le("
|
|
189
|
+
*/const G4=le("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
|
190
190
|
* @license lucide-react v0.469.0 - ISC
|
|
191
191
|
*
|
|
192
192
|
* This source code is licensed under the ISC license.
|
|
193
193
|
* See the LICENSE file in the root directory of this source tree.
|
|
194
|
-
*/const X4=le("
|
|
194
|
+
*/const X4=le("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
|
195
195
|
* @license lucide-react v0.469.0 - ISC
|
|
196
196
|
*
|
|
197
197
|
* This source code is licensed under the ISC license.
|
|
198
198
|
* See the LICENSE file in the root directory of this source tree.
|
|
199
|
-
*/const F4=le("
|
|
199
|
+
*/const F4=le("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
200
200
|
* @license lucide-react v0.469.0 - ISC
|
|
201
201
|
*
|
|
202
202
|
* This source code is licensed under the ISC license.
|
|
203
203
|
* See the LICENSE file in the root directory of this source tree.
|
|
204
|
-
*/const I4=le("
|
|
204
|
+
*/const I4=le("FileCode2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]]);/**
|
|
205
205
|
* @license lucide-react v0.469.0 - ISC
|
|
206
206
|
*
|
|
207
207
|
* This source code is licensed under the ISC license.
|
|
208
208
|
* See the LICENSE file in the root directory of this source tree.
|
|
209
|
-
*/const Q4=le("
|
|
209
|
+
*/const Q4=le("FilePen",[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]]);/**
|
|
210
210
|
* @license lucide-react v0.469.0 - ISC
|
|
211
211
|
*
|
|
212
212
|
* This source code is licensed under the ISC license.
|
|
213
213
|
* See the LICENSE file in the root directory of this source tree.
|
|
214
|
-
*/const Z4=le("
|
|
214
|
+
*/const Z4=le("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|
215
215
|
* @license lucide-react v0.469.0 - ISC
|
|
216
216
|
*
|
|
217
217
|
* This source code is licensed under the ISC license.
|
|
218
218
|
* See the LICENSE file in the root directory of this source tree.
|
|
219
|
-
*/const K4=le("
|
|
219
|
+
*/const K4=le("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/**
|
|
220
220
|
* @license lucide-react v0.469.0 - ISC
|
|
221
221
|
*
|
|
222
222
|
* This source code is licensed under the ISC license.
|
|
223
223
|
* See the LICENSE file in the root directory of this source tree.
|
|
224
|
-
*/const P4=le("
|
|
224
|
+
*/const P4=le("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
|
|
225
225
|
* @license lucide-react v0.469.0 - ISC
|
|
226
226
|
*
|
|
227
227
|
* This source code is licensed under the ISC license.
|
|
228
228
|
* See the LICENSE file in the root directory of this source tree.
|
|
229
|
-
*/const J4=le("
|
|
229
|
+
*/const J4=le("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
|
|
230
230
|
* @license lucide-react v0.469.0 - ISC
|
|
231
231
|
*
|
|
232
232
|
* This source code is licensed under the ISC license.
|
|
233
233
|
* See the LICENSE file in the root directory of this source tree.
|
|
234
|
-
*/const W4=le("
|
|
234
|
+
*/const W4=le("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|
235
235
|
* @license lucide-react v0.469.0 - ISC
|
|
236
236
|
*
|
|
237
237
|
* This source code is licensed under the ISC license.
|
|
238
238
|
* See the LICENSE file in the root directory of this source tree.
|
|
239
|
-
*/const $4=le("
|
|
239
|
+
*/const $4=le("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);/**
|
|
240
240
|
* @license lucide-react v0.469.0 - ISC
|
|
241
241
|
*
|
|
242
242
|
* This source code is licensed under the ISC license.
|
|
243
243
|
* See the LICENSE file in the root directory of this source tree.
|
|
244
|
-
*/const eT=le("
|
|
244
|
+
*/const eT=le("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
|
|
245
245
|
* @license lucide-react v0.469.0 - ISC
|
|
246
246
|
*
|
|
247
247
|
* This source code is licensed under the ISC license.
|
|
248
248
|
* See the LICENSE file in the root directory of this source tree.
|
|
249
|
-
*/const tT=le("
|
|
249
|
+
*/const tT=le("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
250
250
|
* @license lucide-react v0.469.0 - ISC
|
|
251
251
|
*
|
|
252
252
|
* This source code is licensed under the ISC license.
|
|
253
253
|
* See the LICENSE file in the root directory of this source tree.
|
|
254
|
-
*/const nT=le("
|
|
254
|
+
*/const nT=le("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
255
255
|
* @license lucide-react v0.469.0 - ISC
|
|
256
256
|
*
|
|
257
257
|
* This source code is licensed under the ISC license.
|
|
258
258
|
* See the LICENSE file in the root directory of this source tree.
|
|
259
|
-
*/const lT=le("
|
|
259
|
+
*/const lT=le("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/**
|
|
260
260
|
* @license lucide-react v0.469.0 - ISC
|
|
261
261
|
*
|
|
262
262
|
* This source code is licensed under the ISC license.
|
|
263
263
|
* See the LICENSE file in the root directory of this source tree.
|
|
264
|
-
*/const rT=le("
|
|
264
|
+
*/const rT=le("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);/**
|
|
265
265
|
* @license lucide-react v0.469.0 - ISC
|
|
266
266
|
*
|
|
267
267
|
* This source code is licensed under the ISC license.
|
|
268
268
|
* See the LICENSE file in the root directory of this source tree.
|
|
269
|
-
*/const iT=le("
|
|
269
|
+
*/const iT=le("ListTodo",[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
|
|
270
270
|
* @license lucide-react v0.469.0 - ISC
|
|
271
271
|
*
|
|
272
272
|
* This source code is licensed under the ISC license.
|
|
273
273
|
* See the LICENSE file in the root directory of this source tree.
|
|
274
|
-
*/const aT=le("
|
|
274
|
+
*/const aT=le("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
|
|
275
275
|
* @license lucide-react v0.469.0 - ISC
|
|
276
276
|
*
|
|
277
277
|
* This source code is licensed under the ISC license.
|
|
278
278
|
* See the LICENSE file in the root directory of this source tree.
|
|
279
|
-
*/const uT=le("
|
|
279
|
+
*/const uT=le("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/**
|
|
280
280
|
* @license lucide-react v0.469.0 - ISC
|
|
281
281
|
*
|
|
282
282
|
* This source code is licensed under the ISC license.
|
|
283
283
|
* See the LICENSE file in the root directory of this source tree.
|
|
284
|
-
*/const oT=le("
|
|
284
|
+
*/const oT=le("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|
285
285
|
* @license lucide-react v0.469.0 - ISC
|
|
286
286
|
*
|
|
287
287
|
* This source code is licensed under the ISC license.
|
|
288
288
|
* See the LICENSE file in the root directory of this source tree.
|
|
289
|
-
*/const cT=le("
|
|
289
|
+
*/const cT=le("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
|
|
290
290
|
* @license lucide-react v0.469.0 - ISC
|
|
291
291
|
*
|
|
292
292
|
* This source code is licensed under the ISC license.
|
|
293
293
|
* See the LICENSE file in the root directory of this source tree.
|
|
294
|
-
*/const sT=le("
|
|
294
|
+
*/const sT=le("MessageSquareWarning",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v2",key:"stiyo7"}],["path",{d:"M12 13h.01",key:"y0uutt"}]]);/**
|
|
295
295
|
* @license lucide-react v0.469.0 - ISC
|
|
296
296
|
*
|
|
297
297
|
* This source code is licensed under the ISC license.
|
|
298
298
|
* See the LICENSE file in the root directory of this source tree.
|
|
299
|
-
*/const fT=le("
|
|
299
|
+
*/const fT=le("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
|
|
300
300
|
* @license lucide-react v0.469.0 - ISC
|
|
301
301
|
*
|
|
302
302
|
* This source code is licensed under the ISC license.
|
|
303
303
|
* See the LICENSE file in the root directory of this source tree.
|
|
304
|
-
*/const dT=le("
|
|
304
|
+
*/const dT=le("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
|
305
305
|
* @license lucide-react v0.469.0 - ISC
|
|
306
306
|
*
|
|
307
307
|
* This source code is licensed under the ISC license.
|
|
308
308
|
* See the LICENSE file in the root directory of this source tree.
|
|
309
|
-
*/const hT=le("
|
|
309
|
+
*/const hT=le("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
310
310
|
* @license lucide-react v0.469.0 - ISC
|
|
311
311
|
*
|
|
312
312
|
* This source code is licensed under the ISC license.
|
|
313
313
|
* See the LICENSE file in the root directory of this source tree.
|
|
314
|
-
*/const pT=le("
|
|
314
|
+
*/const pT=le("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/**
|
|
315
315
|
* @license lucide-react v0.469.0 - ISC
|
|
316
316
|
*
|
|
317
317
|
* This source code is licensed under the ISC license.
|
|
318
318
|
* See the LICENSE file in the root directory of this source tree.
|
|
319
|
-
*/const mT=le("
|
|
319
|
+
*/const mT=le("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
|
|
320
320
|
* @license lucide-react v0.469.0 - ISC
|
|
321
321
|
*
|
|
322
322
|
* This source code is licensed under the ISC license.
|
|
323
323
|
* See the LICENSE file in the root directory of this source tree.
|
|
324
|
-
*/const gT=le("
|
|
324
|
+
*/const gT=le("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
|
325
325
|
* @license lucide-react v0.469.0 - ISC
|
|
326
326
|
*
|
|
327
327
|
* This source code is licensed under the ISC license.
|
|
328
328
|
* See the LICENSE file in the root directory of this source tree.
|
|
329
|
-
*/const yT=le("
|
|
329
|
+
*/const yT=le("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
|
|
330
330
|
* @license lucide-react v0.469.0 - ISC
|
|
331
331
|
*
|
|
332
332
|
* This source code is licensed under the ISC license.
|
|
333
333
|
* See the LICENSE file in the root directory of this source tree.
|
|
334
|
-
*/const vT=le("
|
|
334
|
+
*/const vT=le("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
|
|
335
335
|
* @license lucide-react v0.469.0 - ISC
|
|
336
336
|
*
|
|
337
337
|
* This source code is licensed under the ISC license.
|
|
338
338
|
* See the LICENSE file in the root directory of this source tree.
|
|
339
|
-
*/const bT=le("
|
|
339
|
+
*/const bT=le("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
|
|
340
340
|
* @license lucide-react v0.469.0 - ISC
|
|
341
341
|
*
|
|
342
342
|
* This source code is licensed under the ISC license.
|
|
343
343
|
* See the LICENSE file in the root directory of this source tree.
|
|
344
|
-
*/const ST=le("
|
|
344
|
+
*/const ST=le("PinOff",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]]);/**
|
|
345
345
|
* @license lucide-react v0.469.0 - ISC
|
|
346
346
|
*
|
|
347
347
|
* This source code is licensed under the ISC license.
|
|
348
348
|
* See the LICENSE file in the root directory of this source tree.
|
|
349
|
-
*/const xT=le("
|
|
349
|
+
*/const xT=le("Pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);/**
|
|
350
350
|
* @license lucide-react v0.469.0 - ISC
|
|
351
351
|
*
|
|
352
352
|
* This source code is licensed under the ISC license.
|
|
353
353
|
* See the LICENSE file in the root directory of this source tree.
|
|
354
|
-
*/const ET=le("
|
|
354
|
+
*/const ET=le("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
355
355
|
* @license lucide-react v0.469.0 - ISC
|
|
356
356
|
*
|
|
357
357
|
* This source code is licensed under the ISC license.
|
|
358
358
|
* See the LICENSE file in the root directory of this source tree.
|
|
359
|
-
*/const kT=le("
|
|
359
|
+
*/const kT=le("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
360
360
|
* @license lucide-react v0.469.0 - ISC
|
|
361
361
|
*
|
|
362
362
|
* This source code is licensed under the ISC license.
|
|
363
363
|
* See the LICENSE file in the root directory of this source tree.
|
|
364
|
-
*/const CT=le("
|
|
364
|
+
*/const CT=le("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
365
365
|
* @license lucide-react v0.469.0 - ISC
|
|
366
366
|
*
|
|
367
367
|
* This source code is licensed under the ISC license.
|
|
368
368
|
* See the LICENSE file in the root directory of this source tree.
|
|
369
|
-
*/const wT=le("
|
|
369
|
+
*/const wT=le("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
|
|
370
370
|
* @license lucide-react v0.469.0 - ISC
|
|
371
371
|
*
|
|
372
372
|
* This source code is licensed under the ISC license.
|
|
373
373
|
* See the LICENSE file in the root directory of this source tree.
|
|
374
|
-
*/const AT=le("
|
|
374
|
+
*/const AT=le("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
375
375
|
* @license lucide-react v0.469.0 - ISC
|
|
376
376
|
*
|
|
377
377
|
* This source code is licensed under the ISC license.
|
|
378
378
|
* See the LICENSE file in the root directory of this source tree.
|
|
379
|
-
*/const TT=le("
|
|
379
|
+
*/const TT=le("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
|
|
380
380
|
* @license lucide-react v0.469.0 - ISC
|
|
381
381
|
*
|
|
382
382
|
* This source code is licensed under the ISC license.
|
|
383
383
|
* See the LICENSE file in the root directory of this source tree.
|
|
384
|
-
*/const zT=le("
|
|
384
|
+
*/const zT=le("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
385
385
|
* @license lucide-react v0.469.0 - ISC
|
|
386
386
|
*
|
|
387
387
|
* This source code is licensed under the ISC license.
|
|
388
388
|
* See the LICENSE file in the root directory of this source tree.
|
|
389
|
-
*/const MT=le("
|
|
389
|
+
*/const MT=le("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
|
|
390
390
|
* @license lucide-react v0.469.0 - ISC
|
|
391
391
|
*
|
|
392
392
|
* This source code is licensed under the ISC license.
|
|
393
393
|
* See the LICENSE file in the root directory of this source tree.
|
|
394
|
-
*/const _T=le("
|
|
394
|
+
*/const _T=le("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
395
395
|
* @license lucide-react v0.469.0 - ISC
|
|
396
396
|
*
|
|
397
397
|
* This source code is licensed under the ISC license.
|
|
398
398
|
* See the LICENSE file in the root directory of this source tree.
|
|
399
|
-
*/const DT=le("
|
|
399
|
+
*/const DT=le("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
|
|
400
400
|
* @license lucide-react v0.469.0 - ISC
|
|
401
401
|
*
|
|
402
402
|
* This source code is licensed under the ISC license.
|
|
403
403
|
* See the LICENSE file in the root directory of this source tree.
|
|
404
|
-
*/const RT=le("
|
|
404
|
+
*/const RT=le("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
|
|
405
405
|
* @license lucide-react v0.469.0 - ISC
|
|
406
406
|
*
|
|
407
407
|
* This source code is licensed under the ISC license.
|
|
408
408
|
* See the LICENSE file in the root directory of this source tree.
|
|
409
|
-
*/const OT=le("
|
|
409
|
+
*/const OT=le("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
|
|
410
410
|
* @license lucide-react v0.469.0 - ISC
|
|
411
411
|
*
|
|
412
412
|
* This source code is licensed under the ISC license.
|
|
413
413
|
* See the LICENSE file in the root directory of this source tree.
|
|
414
|
-
*/const NT=le("
|
|
414
|
+
*/const NT=le("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
415
415
|
* @license lucide-react v0.469.0 - ISC
|
|
416
416
|
*
|
|
417
417
|
* This source code is licensed under the ISC license.
|
|
418
418
|
* See the LICENSE file in the root directory of this source tree.
|
|
419
|
-
*/const LT=le("
|
|
419
|
+
*/const LT=le("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
420
420
|
* @license lucide-react v0.469.0 - ISC
|
|
421
421
|
*
|
|
422
422
|
* This source code is licensed under the ISC license.
|
|
423
423
|
* See the LICENSE file in the root directory of this source tree.
|
|
424
|
-
*/const UT=le("
|
|
424
|
+
*/const UT=le("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
425
425
|
* @license lucide-react v0.469.0 - ISC
|
|
426
426
|
*
|
|
427
427
|
* This source code is licensed under the ISC license.
|
|
428
428
|
* See the LICENSE file in the root directory of this source tree.
|
|
429
|
-
*/const BT=le("
|
|
429
|
+
*/const BT=le("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
430
430
|
* @license lucide-react v0.469.0 - ISC
|
|
431
431
|
*
|
|
432
432
|
* This source code is licensed under the ISC license.
|
|
433
433
|
* See the LICENSE file in the root directory of this source tree.
|
|
434
|
-
*/const jT=le("
|
|
434
|
+
*/const jT=le("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
435
435
|
* @license lucide-react v0.469.0 - ISC
|
|
436
436
|
*
|
|
437
437
|
* This source code is licensed under the ISC license.
|
|
438
438
|
* See the LICENSE file in the root directory of this source tree.
|
|
439
|
-
*/const HT=le("
|
|
439
|
+
*/const HT=le("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
|
|
440
440
|
* @license lucide-react v0.469.0 - ISC
|
|
441
441
|
*
|
|
442
442
|
* This source code is licensed under the ISC license.
|
|
443
443
|
* See the LICENSE file in the root directory of this source tree.
|
|
444
|
-
*/const qT=le("
|
|
444
|
+
*/const qT=le("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
|
|
445
445
|
* @license lucide-react v0.469.0 - ISC
|
|
446
446
|
*
|
|
447
447
|
* This source code is licensed under the ISC license.
|
|
448
448
|
* See the LICENSE file in the root directory of this source tree.
|
|
449
|
-
*/const VT=le("
|
|
449
|
+
*/const VT=le("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
|
|
450
450
|
* @license lucide-react v0.469.0 - ISC
|
|
451
451
|
*
|
|
452
452
|
* This source code is licensed under the ISC license.
|
|
453
453
|
* See the LICENSE file in the root directory of this source tree.
|
|
454
|
-
*/const YT=le("
|
|
454
|
+
*/const YT=le("WifiOff",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
|
455
455
|
* @license lucide-react v0.469.0 - ISC
|
|
456
456
|
*
|
|
457
457
|
* This source code is licensed under the ISC license.
|
|
458
458
|
* See the LICENSE file in the root directory of this source tree.
|
|
459
|
-
*/const GT=le("
|
|
459
|
+
*/const GT=le("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
|
|
460
460
|
* @license lucide-react v0.469.0 - ISC
|
|
461
461
|
*
|
|
462
462
|
* This source code is licensed under the ISC license.
|
|
463
463
|
* See the LICENSE file in the root directory of this source tree.
|
|
464
|
-
*/const XT=le("
|
|
464
|
+
*/const XT=le("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
|
|
465
465
|
* @license lucide-react v0.469.0 - ISC
|
|
466
466
|
*
|
|
467
467
|
* This source code is licensed under the ISC license.
|
|
468
468
|
* See the LICENSE file in the root directory of this source tree.
|
|
469
|
-
*/const FT=le("
|
|
469
|
+
*/const FT=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
470
470
|
* @license lucide-react v0.469.0 - ISC
|
|
471
471
|
*
|
|
472
472
|
* This source code is licensed under the ISC license.
|
|
473
473
|
* See the LICENSE file in the root directory of this source tree.
|
|
474
|
-
*/const IT=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
475
|
-
* @license lucide-react v0.469.0 - ISC
|
|
476
|
-
*
|
|
477
|
-
* This source code is licensed under the ISC license.
|
|
478
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
479
|
-
*/const QT=le("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function eg(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function gf(...n){return r=>{let i=!1;const u=n.map(o=>{const c=eg(o,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():eg(n[o],null)}}}}function St(...n){return M.useCallback(gf(...n),n)}var R2=Symbol.for("react.lazy"),Bu=pf[" use ".trim().toString()];function O2(n){return typeof n=="object"&&n!==null&&"then"in n}function h1(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===R2&&"_payload"in n&&O2(n._payload)}function N2(n){const r=L2(n),i=M.forwardRef((u,o)=>{let{children:c,...f}=u;h1(c)&&typeof Bu=="function"&&(c=Bu(c._payload));const h=M.Children.toArray(c),m=h.find(B2);if(m){const p=m.props.children,y=h.map(g=>g===m?M.Children.count(p)>1?M.Children.only(null):M.isValidElement(p)?p.props.children:null:g);return te.jsx(r,{...f,ref:o,children:M.isValidElement(p)?M.cloneElement(p,void 0,y):null})}return te.jsx(r,{...f,ref:o,children:c})});return i.displayName=`${n}.Slot`,i}var ZT=N2("Slot");function L2(n){const r=M.forwardRef((i,u)=>{let{children:o,...c}=i;if(h1(o)&&typeof Bu=="function"&&(o=Bu(o._payload)),M.isValidElement(o)){const f=H2(o),h=j2(c,o.props);return o.type!==M.Fragment&&(h.ref=u?gf(u,f):f),M.cloneElement(o,h)}return M.Children.count(o)>1?M.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var U2=Symbol("radix.slottable");function B2(n){return M.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===U2}function j2(n,r){const i={...r};for(const u in r){const o=n[u],c=r[u];/^on[A-Z]/.test(u)?o&&c?i[u]=(...h)=>{const m=c(...h);return o(...h),m}:o&&(i[u]=o):u==="style"?i[u]={...o,...c}:u==="className"&&(i[u]=[o,c].filter(Boolean).join(" "))}return{...n,...i}}function H2(n){var u,o;let r=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(o=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:o.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}const tg=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,ng=Jb,KT=(n,r)=>i=>{var u;if((r==null?void 0:r.variants)==null)return ng(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:o,defaultVariants:c}=r,f=Object.keys(o).map(p=>{const y=i==null?void 0:i[p],g=c==null?void 0:c[p];if(y===null)return null;const b=tg(y)||tg(g);return o[p][b]}),h=i&&Object.entries(i).reduce((p,y)=>{let[g,b]=y;return b===void 0||(p[g]=b),p},{}),m=r==null||(u=r.compoundVariants)===null||u===void 0?void 0:u.reduce((p,y)=>{let{class:g,className:b,...S}=y;return Object.entries(S).every(k=>{let[C,T]=k;return Array.isArray(T)?T.includes({...c,...h}[C]):{...c,...h}[C]===T})?[...p,g,b]:p},[]);return ng(n,f,m,i==null?void 0:i.class,i==null?void 0:i.className)};function q2(n,r){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const V2=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Y2=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,G2={};function lg(n,r){return(G2.jsx?Y2:V2).test(n)}const X2=/[ \t\n\f\r]/g;function F2(n){return typeof n=="object"?n.type==="text"?rg(n.value):!1:rg(n)}function rg(n){return n.replace(X2,"")===""}class ta{constructor(r,i,u){this.normal=i,this.property=r,u&&(this.space=u)}}ta.prototype.normal={};ta.prototype.property={};ta.prototype.space=void 0;function p1(n,r){const i={},u={};for(const o of n)Object.assign(i,o.property),Object.assign(u,o.normal);return new ta(i,u,r)}function Ws(n){return n.toLowerCase()}class Lt{constructor(r,i){this.attribute=i,this.property=r}}Lt.prototype.attribute="";Lt.prototype.booleanish=!1;Lt.prototype.boolean=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.defined=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.number=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.property="";Lt.prototype.spaceSeparated=!1;Lt.prototype.space=void 0;let I2=0;const ke=Gl(),ut=Gl(),$s=Gl(),W=Gl(),Ie=Gl(),Hr=Gl(),Xt=Gl();function Gl(){return 2**++I2}const ef=Object.freeze(Object.defineProperty({__proto__:null,boolean:ke,booleanish:ut,commaOrSpaceSeparated:Xt,commaSeparated:Hr,number:W,overloadedBoolean:$s,spaceSeparated:Ie},Symbol.toStringTag,{value:"Module"})),ws=Object.keys(ef);class yf extends Lt{constructor(r,i,u,o){let c=-1;if(super(r,i),ig(this,"space",o),typeof u=="number")for(;++c<ws.length;){const f=ws[c];ig(this,ws[c],(u&ef[f])===ef[f])}}}yf.prototype.defined=!0;function ig(n,r,i){i&&(n[r]=i)}function Fr(n){const r={},i={};for(const[u,o]of Object.entries(n.properties)){const c=new yf(u,n.transform(n.attributes||{},u),o,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(c.mustUseProperty=!0),r[u]=c,i[Ws(u)]=u,i[Ws(c.attribute)]=u}return new ta(r,i,n.space)}const m1=Fr({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:Ie,ariaCurrent:null,ariaDescribedBy:Ie,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:Ie,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:Ie,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ie,ariaLevel:W,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:Ie,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:Ie,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:ut,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(n,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function g1(n,r){return r in n?n[r]:r}function y1(n,r){return g1(n,r.toLowerCase())}const Q2=Fr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hr,acceptCharset:Ie,accessKey:Ie,action:null,allow:null,allowFullScreen:ke,allowPaymentRequest:ke,allowUserMedia:ke,alt:null,as:null,async:ke,autoCapitalize:null,autoComplete:Ie,autoFocus:ke,autoPlay:ke,blocking:Ie,capture:null,charSet:null,checked:ke,cite:null,className:Ie,cols:W,colSpan:null,content:null,contentEditable:ut,controls:ke,controlsList:Ie,coords:W|Hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ke,defer:ke,dir:null,dirName:null,disabled:ke,download:$s,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ke,formTarget:null,headers:Ie,height:W,hidden:$s,high:W,href:null,hrefLang:null,htmlFor:Ie,httpEquiv:Ie,id:null,imageSizes:null,imageSrcSet:null,inert:ke,inputMode:null,integrity:null,is:null,isMap:ke,itemId:null,itemProp:Ie,itemRef:Ie,itemScope:ke,itemType:Ie,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ke,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:ke,muted:ke,name:null,nonce:null,noModule:ke,noValidate:ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ke,optimum:W,pattern:null,ping:Ie,placeholder:null,playsInline:ke,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ke,referrerPolicy:null,rel:Ie,required:ke,reversed:ke,rows:W,rowSpan:W,sandbox:Ie,scope:null,scoped:ke,seamless:ke,selected:ke,shadowRootClonable:ke,shadowRootDelegatesFocus:ke,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:ke,useMap:null,value:ut,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ie,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ke,declare:ke,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:ke,noHref:ke,noShade:ke,noWrap:ke,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ke,disableRemotePlayback:ke,prefix:null,property:null,results:W,security:null,unselectable:null},space:"html",transform:y1}),Z2=Fr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xt,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:Ie,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:ke,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hr,g2:Hr,glyphName:Hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:Xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ie,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xt,rev:Xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xt,requiredFeatures:Xt,requiredFonts:Xt,requiredFormats:Xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:Xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xt,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:g1}),v1=Fr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,r){return"xlink:"+r.slice(5).toLowerCase()}}),b1=Fr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:y1}),S1=Fr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,r){return"xml:"+r.slice(3).toLowerCase()}}),K2={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},P2=/[A-Z]/g,ag=/-[a-z]/g,J2=/^data[-\w.:]+$/i;function W2(n,r){const i=Ws(r);let u=r,o=Lt;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&J2.test(r)){if(r.charAt(4)==="-"){const c=r.slice(5).replace(ag,eS);u="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=r.slice(4);if(!ag.test(c)){let f=c.replace(P2,$2);f.charAt(0)!=="-"&&(f="-"+f),r="data"+f}}o=yf}return new o(u,r)}function $2(n){return"-"+n.toLowerCase()}function eS(n){return n.charAt(1).toUpperCase()}const tS=p1([m1,Q2,v1,b1,S1],"html"),vf=p1([m1,Z2,v1,b1,S1],"svg");function nS(n){return n.join(" ").trim()}var Rr={},As,ug;function lS(){if(ug)return As;ug=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,h=/^\s+|\s+$/g,m=`
|
|
474
|
+
*/const IT=le("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function eg(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function gf(...n){return r=>{let i=!1;const u=n.map(o=>{const c=eg(o,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():eg(n[o],null)}}}}function St(...n){return M.useCallback(gf(...n),n)}var R2=Symbol.for("react.lazy"),Bu=pf[" use ".trim().toString()];function O2(n){return typeof n=="object"&&n!==null&&"then"in n}function h1(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===R2&&"_payload"in n&&O2(n._payload)}function N2(n){const r=L2(n),i=M.forwardRef((u,o)=>{let{children:c,...f}=u;h1(c)&&typeof Bu=="function"&&(c=Bu(c._payload));const h=M.Children.toArray(c),m=h.find(B2);if(m){const p=m.props.children,y=h.map(g=>g===m?M.Children.count(p)>1?M.Children.only(null):M.isValidElement(p)?p.props.children:null:g);return te.jsx(r,{...f,ref:o,children:M.isValidElement(p)?M.cloneElement(p,void 0,y):null})}return te.jsx(r,{...f,ref:o,children:c})});return i.displayName=`${n}.Slot`,i}var QT=N2("Slot");function L2(n){const r=M.forwardRef((i,u)=>{let{children:o,...c}=i;if(h1(o)&&typeof Bu=="function"&&(o=Bu(o._payload)),M.isValidElement(o)){const f=H2(o),h=j2(c,o.props);return o.type!==M.Fragment&&(h.ref=u?gf(u,f):f),M.cloneElement(o,h)}return M.Children.count(o)>1?M.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var U2=Symbol("radix.slottable");function B2(n){return M.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===U2}function j2(n,r){const i={...r};for(const u in r){const o=n[u],c=r[u];/^on[A-Z]/.test(u)?o&&c?i[u]=(...h)=>{const m=c(...h);return o(...h),m}:o&&(i[u]=o):u==="style"?i[u]={...o,...c}:u==="className"&&(i[u]=[o,c].filter(Boolean).join(" "))}return{...n,...i}}function H2(n){var u,o;let r=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(o=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:o.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}const tg=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,ng=Jb,ZT=(n,r)=>i=>{var u;if((r==null?void 0:r.variants)==null)return ng(n,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:o,defaultVariants:c}=r,f=Object.keys(o).map(p=>{const y=i==null?void 0:i[p],g=c==null?void 0:c[p];if(y===null)return null;const b=tg(y)||tg(g);return o[p][b]}),h=i&&Object.entries(i).reduce((p,y)=>{let[g,b]=y;return b===void 0||(p[g]=b),p},{}),m=r==null||(u=r.compoundVariants)===null||u===void 0?void 0:u.reduce((p,y)=>{let{class:g,className:b,...S}=y;return Object.entries(S).every(k=>{let[C,T]=k;return Array.isArray(T)?T.includes({...c,...h}[C]):{...c,...h}[C]===T})?[...p,g,b]:p},[]);return ng(n,f,m,i==null?void 0:i.class,i==null?void 0:i.className)};function q2(n,r){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const V2=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Y2=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,G2={};function lg(n,r){return(G2.jsx?Y2:V2).test(n)}const X2=/[ \t\n\f\r]/g;function F2(n){return typeof n=="object"?n.type==="text"?rg(n.value):!1:rg(n)}function rg(n){return n.replace(X2,"")===""}class ta{constructor(r,i,u){this.normal=i,this.property=r,u&&(this.space=u)}}ta.prototype.normal={};ta.prototype.property={};ta.prototype.space=void 0;function p1(n,r){const i={},u={};for(const o of n)Object.assign(i,o.property),Object.assign(u,o.normal);return new ta(i,u,r)}function Ws(n){return n.toLowerCase()}class Lt{constructor(r,i){this.attribute=i,this.property=r}}Lt.prototype.attribute="";Lt.prototype.booleanish=!1;Lt.prototype.boolean=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.defined=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.number=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.property="";Lt.prototype.spaceSeparated=!1;Lt.prototype.space=void 0;let I2=0;const ke=Gl(),ut=Gl(),$s=Gl(),W=Gl(),Ie=Gl(),Hr=Gl(),Xt=Gl();function Gl(){return 2**++I2}const ef=Object.freeze(Object.defineProperty({__proto__:null,boolean:ke,booleanish:ut,commaOrSpaceSeparated:Xt,commaSeparated:Hr,number:W,overloadedBoolean:$s,spaceSeparated:Ie},Symbol.toStringTag,{value:"Module"})),ws=Object.keys(ef);class yf extends Lt{constructor(r,i,u,o){let c=-1;if(super(r,i),ig(this,"space",o),typeof u=="number")for(;++c<ws.length;){const f=ws[c];ig(this,ws[c],(u&ef[f])===ef[f])}}}yf.prototype.defined=!0;function ig(n,r,i){i&&(n[r]=i)}function Fr(n){const r={},i={};for(const[u,o]of Object.entries(n.properties)){const c=new yf(u,n.transform(n.attributes||{},u),o,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(c.mustUseProperty=!0),r[u]=c,i[Ws(u)]=u,i[Ws(c.attribute)]=u}return new ta(r,i,n.space)}const m1=Fr({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:Ie,ariaCurrent:null,ariaDescribedBy:Ie,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:Ie,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:Ie,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ie,ariaLevel:W,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:Ie,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:Ie,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:ut,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(n,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function g1(n,r){return r in n?n[r]:r}function y1(n,r){return g1(n,r.toLowerCase())}const Q2=Fr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hr,acceptCharset:Ie,accessKey:Ie,action:null,allow:null,allowFullScreen:ke,allowPaymentRequest:ke,allowUserMedia:ke,alt:null,as:null,async:ke,autoCapitalize:null,autoComplete:Ie,autoFocus:ke,autoPlay:ke,blocking:Ie,capture:null,charSet:null,checked:ke,cite:null,className:Ie,cols:W,colSpan:null,content:null,contentEditable:ut,controls:ke,controlsList:Ie,coords:W|Hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ke,defer:ke,dir:null,dirName:null,disabled:ke,download:$s,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ke,formTarget:null,headers:Ie,height:W,hidden:$s,high:W,href:null,hrefLang:null,htmlFor:Ie,httpEquiv:Ie,id:null,imageSizes:null,imageSrcSet:null,inert:ke,inputMode:null,integrity:null,is:null,isMap:ke,itemId:null,itemProp:Ie,itemRef:Ie,itemScope:ke,itemType:Ie,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ke,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:ke,muted:ke,name:null,nonce:null,noModule:ke,noValidate:ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ke,optimum:W,pattern:null,ping:Ie,placeholder:null,playsInline:ke,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ke,referrerPolicy:null,rel:Ie,required:ke,reversed:ke,rows:W,rowSpan:W,sandbox:Ie,scope:null,scoped:ke,seamless:ke,selected:ke,shadowRootClonable:ke,shadowRootDelegatesFocus:ke,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:ke,useMap:null,value:ut,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ie,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ke,declare:ke,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:ke,noHref:ke,noShade:ke,noWrap:ke,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ke,disableRemotePlayback:ke,prefix:null,property:null,results:W,security:null,unselectable:null},space:"html",transform:y1}),Z2=Fr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xt,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:Ie,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:ke,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hr,g2:Hr,glyphName:Hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:Xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ie,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xt,rev:Xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xt,requiredFeatures:Xt,requiredFonts:Xt,requiredFormats:Xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:Xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xt,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:g1}),v1=Fr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,r){return"xlink:"+r.slice(5).toLowerCase()}}),b1=Fr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:y1}),S1=Fr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,r){return"xml:"+r.slice(3).toLowerCase()}}),K2={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},P2=/[A-Z]/g,ag=/-[a-z]/g,J2=/^data[-\w.:]+$/i;function W2(n,r){const i=Ws(r);let u=r,o=Lt;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&J2.test(r)){if(r.charAt(4)==="-"){const c=r.slice(5).replace(ag,eS);u="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=r.slice(4);if(!ag.test(c)){let f=c.replace(P2,$2);f.charAt(0)!=="-"&&(f="-"+f),r="data"+f}}o=yf}return new o(u,r)}function $2(n){return"-"+n.toLowerCase()}function eS(n){return n.charAt(1).toUpperCase()}const tS=p1([m1,Q2,v1,b1,S1],"html"),vf=p1([m1,Z2,v1,b1,S1],"svg");function nS(n){return n.join(" ").trim()}var Rr={},As,ug;function lS(){if(ug)return As;ug=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,h=/^\s+|\s+$/g,m=`
|
|
480
475
|
`,p="/",y="*",g="",b="comment",S="declaration";function k(T,A){if(typeof T!="string")throw new TypeError("First argument must be a string");if(!T)return[];A=A||{};var q=1,O=1;function G(ue){var ee=ue.match(r);ee&&(q+=ee.length);var L=ue.lastIndexOf(m);O=~L?ue.length-L:O+ue.length}function P(){var ue={line:q,column:O};return function(ee){return ee.position=new U(ue),ie(),ee}}function U(ue){this.start=ue,this.end={line:q,column:O},this.source=A.source}U.prototype.content=T;function Q(ue){var ee=new Error(A.source+":"+q+":"+O+": "+ue);if(ee.reason=ue,ee.filename=A.source,ee.line=q,ee.column=O,ee.source=T,!A.silent)throw ee}function re(ue){var ee=ue.exec(T);if(ee){var L=ee[0];return G(L),T=T.slice(L.length),ee}}function ie(){re(i)}function N(ue){var ee;for(ue=ue||[];ee=$();)ee!==!1&&ue.push(ee);return ue}function $(){var ue=P();if(!(p!=T.charAt(0)||y!=T.charAt(1))){for(var ee=2;g!=T.charAt(ee)&&(y!=T.charAt(ee)||p!=T.charAt(ee+1));)++ee;if(ee+=2,g===T.charAt(ee-1))return Q("End of comment missing");var L=T.slice(2,ee-2);return O+=2,G(L),T=T.slice(ee),O+=2,ue({type:b,comment:L})}}function K(){var ue=P(),ee=re(u);if(ee){if($(),!re(o))return Q("property missing ':'");var L=re(c),J=ue({type:S,property:C(ee[0].replace(n,g)),value:L?C(L[0].replace(n,g)):g});return re(f),J}}function be(){var ue=[];N(ue);for(var ee;ee=K();)ee!==!1&&(ue.push(ee),N(ue));return ue}return ie(),be()}function C(T){return T?T.replace(h,g):g}return As=k,As}var og;function rS(){if(og)return Rr;og=1;var n=Rr&&Rr.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.default=i;const r=n(lS());function i(u,o){let c=null;if(!u||typeof u!="string")return c;const f=(0,r.default)(u),h=typeof o=="function";return f.forEach(m=>{if(m.type!=="declaration")return;const{property:p,value:y}=m;h?o(p,y,m):y&&(c=c||{},c[p]=y)}),c}return Rr}var Xi={},cg;function iS(){if(cg)return Xi;cg=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,u=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,c=function(p){return!p||i.test(p)||n.test(p)},f=function(p,y){return y.toUpperCase()},h=function(p,y){return"".concat(y,"-")},m=function(p,y){return y===void 0&&(y={}),c(p)?p:(p=p.toLowerCase(),y.reactCompat?p=p.replace(o,h):p=p.replace(u,h),p.replace(r,f))};return Xi.camelCase=m,Xi}var Fi,sg;function aS(){if(sg)return Fi;sg=1;var n=Fi&&Fi.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},r=n(rS()),i=iS();function u(o,c){var f={};return!o||typeof o!="string"||(0,r.default)(o,function(h,m){h&&m&&(f[(0,i.camelCase)(h,c)]=m)}),f}return u.default=u,Fi=u,Fi}var uS=aS();const oS=ea(uS),x1=E1("end"),bf=E1("start");function E1(n){return r;function r(i){const u=i&&i.position&&i.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function cS(n){const r=bf(n),i=x1(n);if(r&&i)return{start:r,end:i}}function Zi(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?fg(n.position):"start"in n||"end"in n?fg(n):"line"in n||"column"in n?tf(n):""}function tf(n){return dg(n&&n.line)+":"+dg(n&&n.column)}function fg(n){return tf(n&&n.start)+"-"+tf(n&&n.end)}function dg(n){return n&&typeof n=="number"?n:1}class xt extends Error{constructor(r,i,u){super(),typeof i=="string"&&(u=i,i=void 0);let o="",c={},f=!1;if(i&&("line"in i&&"column"in i?c={place:i}:"start"in i&&"end"in i?c={place:i}:"type"in i?c={ancestors:[i],place:i.position}:c={...i}),typeof r=="string"?o=r:!c.cause&&r&&(f=!0,o=r.message,c.cause=r),!c.ruleId&&!c.source&&typeof u=="string"){const m=u.indexOf(":");m===-1?c.ruleId=u:(c.source=u.slice(0,m),c.ruleId=u.slice(m+1))}if(!c.place&&c.ancestors&&c.ancestors){const m=c.ancestors[c.ancestors.length-1];m&&(c.place=m.position)}const h=c.place&&"start"in c.place?c.place.start:c.place;this.ancestors=c.ancestors||void 0,this.cause=c.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=h?h.line:void 0,this.name=Zi(c.place)||"1:1",this.place=c.place||void 0,this.reason=this.message,this.ruleId=c.ruleId||void 0,this.source=c.source||void 0,this.stack=f&&c.cause&&typeof c.cause.stack=="string"?c.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}xt.prototype.file="";xt.prototype.name="";xt.prototype.reason="";xt.prototype.message="";xt.prototype.stack="";xt.prototype.column=void 0;xt.prototype.line=void 0;xt.prototype.ancestors=void 0;xt.prototype.cause=void 0;xt.prototype.fatal=void 0;xt.prototype.place=void 0;xt.prototype.ruleId=void 0;xt.prototype.source=void 0;const Sf={}.hasOwnProperty,sS=new Map,fS=/[A-Z]/g,dS=new Set(["table","tbody","thead","tfoot","tr"]),hS=new Set(["td","th"]),k1="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pS(n,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=r.filePath||void 0;let u;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=ES(i,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=xS(i,r.jsx,r.jsxs)}const o={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:u,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?vf:tS,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},c=C1(o,n,void 0);return c&&typeof c!="string"?c:o.create(n,o.Fragment,{children:c||void 0},void 0)}function C1(n,r,i){if(r.type==="element")return mS(n,r,i);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return gS(n,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return vS(n,r,i);if(r.type==="mdxjsEsm")return yS(n,r);if(r.type==="root")return bS(n,r,i);if(r.type==="text")return SS(n,r)}function mS(n,r,i){const u=n.schema;let o=u;r.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=vf,n.schema=o),n.ancestors.push(r);const c=A1(n,r.tagName,!1),f=kS(n,r);let h=Ef(n,r);return dS.has(r.tagName)&&(h=h.filter(function(m){return typeof m=="string"?!F2(m):!0})),w1(n,f,c,r),xf(f,h),n.ancestors.pop(),n.schema=u,n.create(r,c,f,i)}function gS(n,r){if(r.data&&r.data.estree&&n.evaluater){const u=r.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}Wi(n,r.position)}function yS(n,r){if(r.data&&r.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(r.data.estree);Wi(n,r.position)}function vS(n,r,i){const u=n.schema;let o=u;r.name==="svg"&&u.space==="html"&&(o=vf,n.schema=o),n.ancestors.push(r);const c=r.name===null?n.Fragment:A1(n,r.name,!0),f=CS(n,r),h=Ef(n,r);return w1(n,f,c,r),xf(f,h),n.ancestors.pop(),n.schema=u,n.create(r,c,f,i)}function bS(n,r,i){const u={};return xf(u,Ef(n,r)),n.create(r,n.Fragment,u,i)}function SS(n,r){return r.value}function w1(n,r,i,u){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(r.node=u)}function xf(n,r){if(r.length>0){const i=r.length>1?r:r[0];i&&(n.children=i)}}function xS(n,r,i){return u;function u(o,c,f,h){const p=Array.isArray(f.children)?i:r;return h?p(c,f,h):p(c,f)}}function ES(n,r){return i;function i(u,o,c,f){const h=Array.isArray(c.children),m=bf(u);return r(o,c,f,h,{columnNumber:m?m.column-1:void 0,fileName:n,lineNumber:m?m.line:void 0},void 0)}}function kS(n,r){const i={};let u,o;for(o in r.properties)if(o!=="children"&&Sf.call(r.properties,o)){const c=wS(n,o,r.properties[o]);if(c){const[f,h]=c;n.tableCellAlignToStyle&&f==="align"&&typeof h=="string"&&hS.has(r.tagName)?u=h:i[f]=h}}if(u){const c=i.style||(i.style={});c[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return i}function CS(n,r){const i={};for(const u of r.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const c=u.data.estree.body[0];c.type;const f=c.expression;f.type;const h=f.properties[0];h.type,Object.assign(i,n.evaluater.evaluateExpression(h.argument))}else Wi(n,r.position);else{const o=u.name;let c;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const h=u.value.data.estree.body[0];h.type,c=n.evaluater.evaluateExpression(h.expression)}else Wi(n,r.position);else c=u.value===null?!0:u.value;i[o]=c}return i}function Ef(n,r){const i=[];let u=-1;const o=n.passKeys?new Map:sS;for(;++u<r.children.length;){const c=r.children[u];let f;if(n.passKeys){const m=c.type==="element"?c.tagName:c.type==="mdxJsxFlowElement"||c.type==="mdxJsxTextElement"?c.name:void 0;if(m){const p=o.get(m)||0;f=m+"-"+p,o.set(m,p+1)}}const h=C1(n,c,f);h!==void 0&&i.push(h)}return i}function wS(n,r,i){const u=W2(n.schema,r);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=u.commaSeparated?q2(i):nS(i)),u.property==="style"){let o=typeof i=="object"?i:AS(n,String(i));return n.stylePropertyNameCase==="css"&&(o=TS(o)),["style",o]}return[n.elementAttributeNameCase==="react"&&u.space?K2[u.property]||u.property:u.attribute,i]}}function AS(n,r){try{return oS(r,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const u=i,o=new xt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=n.filePath||void 0,o.url=k1+"#cannot-parse-style-attribute",o}}function A1(n,r,i){let u;if(!i)u={type:"Literal",value:r};else if(r.includes(".")){const o=r.split(".");let c=-1,f;for(;++c<o.length;){const h=lg(o[c])?{type:"Identifier",name:o[c]}:{type:"Literal",value:o[c]};f=f?{type:"MemberExpression",object:f,property:h,computed:!!(c&&h.type==="Literal"),optional:!1}:h}u=f}else u=lg(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(u.type==="Literal"){const o=u.value;return Sf.call(n.components,o)?n.components[o]:o}if(n.evaluater)return n.evaluater.evaluateExpression(u);Wi(n)}function Wi(n,r){const i=new xt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=k1+"#cannot-handle-mdx-estrees-without-createevaluater",i}function TS(n){const r={};let i;for(i in n)Sf.call(n,i)&&(r[zS(i)]=n[i]);return r}function zS(n){let r=n.replace(fS,MS);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function MS(n){return"-"+n.toLowerCase()}const Ts={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},_S={};function kf(n,r){const i=_S,u=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,o=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return T1(n,u,o)}function T1(n,r,i){if(DS(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(r&&"alt"in n&&n.alt)return n.alt;if("children"in n)return hg(n.children,r,i)}return Array.isArray(n)?hg(n,r,i):""}function hg(n,r,i){const u=[];let o=-1;for(;++o<n.length;)u[o]=T1(n[o],r,i);return u.join("")}function DS(n){return!!(n&&typeof n=="object")}const pg=document.createElement("i");function Cf(n){const r="&"+n+";";pg.innerHTML=r;const i=pg.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===r?!1:i}function It(n,r,i,u){const o=n.length;let c=0,f;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,i=i>0?i:0,u.length<1e4)f=Array.from(u),f.unshift(r,i),n.splice(...f);else for(i&&n.splice(r,i);c<u.length;)f=u.slice(c,c+1e4),f.unshift(r,0),n.splice(...f),c+=1e4,r+=1e4}function an(n,r){return n.length>0?(It(n,n.length,0,r),n):r}const mg={}.hasOwnProperty;function z1(n){const r={};let i=-1;for(;++i<n.length;)RS(r,n[i]);return r}function RS(n,r){let i;for(i in r){const o=(mg.call(n,i)?n[i]:void 0)||(n[i]={}),c=r[i];let f;if(c)for(f in c){mg.call(o,f)||(o[f]=[]);const h=c[f];OS(o[f],Array.isArray(h)?h:h?[h]:[])}}}function OS(n,r){let i=-1;const u=[];for(;++i<r.length;)(r[i].add==="after"?n:u).push(r[i]);It(n,0,0,u)}function M1(n,r){const i=Number.parseInt(n,r);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function dn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const wt=xl(/[A-Za-z]/),bt=xl(/[\dA-Za-z]/),NS=xl(/[#-'*+\--9=?A-Z^-~]/);function ju(n){return n!==null&&(n<32||n===127)}const nf=xl(/\d/),LS=xl(/[\dA-Fa-f]/),US=xl(/[!-/:-@[-`{-~]/);function he(n){return n!==null&&n<-2}function Fe(n){return n!==null&&(n<0||n===32)}function Te(n){return n===-2||n===-1||n===32}const Iu=xl(new RegExp("\\p{P}|\\p{S}","u")),Vl=xl(/\s/);function xl(n){return r;function r(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function Ir(n){const r=[];let i=-1,u=0,o=0;for(;++i<n.length;){const c=n.charCodeAt(i);let f="";if(c===37&&bt(n.charCodeAt(i+1))&&bt(n.charCodeAt(i+2)))o=2;else if(c<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(c))||(f=String.fromCharCode(c));else if(c>55295&&c<57344){const h=n.charCodeAt(i+1);c<56320&&h>56319&&h<57344?(f=String.fromCharCode(c,h),o=1):f="�"}else f=String.fromCharCode(c);f&&(r.push(n.slice(u,i),encodeURIComponent(f)),u=i+o+1,f=""),o&&(i+=o,o=0)}return r.join("")+n.slice(u)}function Re(n,r,i,u){const o=u?u-1:Number.POSITIVE_INFINITY;let c=0;return f;function f(m){return Te(m)?(n.enter(i),h(m)):r(m)}function h(m){return Te(m)&&c++<o?(n.consume(m),h):(n.exit(i),r(m))}}const BS={tokenize:jS};function jS(n){const r=n.attempt(this.parser.constructs.contentInitial,u,o);let i;return r;function u(h){if(h===null){n.consume(h);return}return n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),Re(n,r,"linePrefix")}function o(h){return n.enter("paragraph"),c(h)}function c(h){const m=n.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=m),i=m,f(h)}function f(h){if(h===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(h);return}return he(h)?(n.consume(h),n.exit("chunkText"),c):(n.consume(h),f)}}const HS={tokenize:qS},gg={tokenize:VS};function qS(n){const r=this,i=[];let u=0,o,c,f;return h;function h(O){if(u<i.length){const G=i[u];return r.containerState=G[1],n.attempt(G[0].continuation,m,p)(O)}return p(O)}function m(O){if(u++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&q();const G=r.events.length;let P=G,U;for(;P--;)if(r.events[P][0]==="exit"&&r.events[P][1].type==="chunkFlow"){U=r.events[P][1].end;break}A(u);let Q=G;for(;Q<r.events.length;)r.events[Q][1].end={...U},Q++;return It(r.events,P+1,0,r.events.slice(G)),r.events.length=Q,p(O)}return h(O)}function p(O){if(u===i.length){if(!o)return b(O);if(o.currentConstruct&&o.currentConstruct.concrete)return k(O);r.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},n.check(gg,y,g)(O)}function y(O){return o&&q(),A(u),b(O)}function g(O){return r.parser.lazy[r.now().line]=u!==i.length,f=r.now().offset,k(O)}function b(O){return r.containerState={},n.attempt(gg,S,k)(O)}function S(O){return u++,i.push([r.currentConstruct,r.containerState]),b(O)}function k(O){if(O===null){o&&q(),A(0),n.consume(O);return}return o=o||r.parser.flow(r.now()),n.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:c}),C(O)}function C(O){if(O===null){T(n.exit("chunkFlow"),!0),A(0),n.consume(O);return}return he(O)?(n.consume(O),T(n.exit("chunkFlow")),u=0,r.interrupt=void 0,h):(n.consume(O),C)}function T(O,G){const P=r.sliceStream(O);if(G&&P.push(null),O.previous=c,c&&(c.next=O),c=O,o.defineSkip(O.start),o.write(P),r.parser.lazy[O.start.line]){let U=o.events.length;for(;U--;)if(o.events[U][1].start.offset<f&&(!o.events[U][1].end||o.events[U][1].end.offset>f))return;const Q=r.events.length;let re=Q,ie,N;for(;re--;)if(r.events[re][0]==="exit"&&r.events[re][1].type==="chunkFlow"){if(ie){N=r.events[re][1].end;break}ie=!0}for(A(u),U=Q;U<r.events.length;)r.events[U][1].end={...N},U++;It(r.events,re+1,0,r.events.slice(Q)),r.events.length=U}}function A(O){let G=i.length;for(;G-- >O;){const P=i[G];r.containerState=P[1],P[0].exit.call(r,n)}i.length=O}function q(){o.write([null]),c=void 0,o=void 0,r.containerState._closeFlow=void 0}}function VS(n,r,i){return Re(n,n.attempt(this.parser.constructs.document,r,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Vr(n){if(n===null||Fe(n)||Vl(n))return 1;if(Iu(n))return 2}function Qu(n,r,i){const u=[];let o=-1;for(;++o<n.length;){const c=n[o].resolveAll;c&&!u.includes(c)&&(r=c(r,i),u.push(c))}return r}const lf={name:"attention",resolveAll:YS,tokenize:GS};function YS(n,r){let i=-1,u,o,c,f,h,m,p,y;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(u=i;u--;)if(n[u][0]==="exit"&&n[u][1].type==="attentionSequence"&&n[u][1]._open&&r.sliceSerialize(n[u][1]).charCodeAt(0)===r.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[u][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[u][1].end.offset-n[u][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;m=n[u][1].end.offset-n[u][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const g={...n[u][1].end},b={...n[i][1].start};yg(g,-m),yg(b,m),f={type:m>1?"strongSequence":"emphasisSequence",start:g,end:{...n[u][1].end}},h={type:m>1?"strongSequence":"emphasisSequence",start:{...n[i][1].start},end:b},c={type:m>1?"strongText":"emphasisText",start:{...n[u][1].end},end:{...n[i][1].start}},o={type:m>1?"strong":"emphasis",start:{...f.start},end:{...h.end}},n[u][1].end={...f.start},n[i][1].start={...h.end},p=[],n[u][1].end.offset-n[u][1].start.offset&&(p=an(p,[["enter",n[u][1],r],["exit",n[u][1],r]])),p=an(p,[["enter",o,r],["enter",f,r],["exit",f,r],["enter",c,r]]),p=an(p,Qu(r.parser.constructs.insideSpan.null,n.slice(u+1,i),r)),p=an(p,[["exit",c,r],["enter",h,r],["exit",h,r],["exit",o,r]]),n[i][1].end.offset-n[i][1].start.offset?(y=2,p=an(p,[["enter",n[i][1],r],["exit",n[i][1],r]])):y=0,It(n,u-1,i-u+3,p),i=u+p.length-y-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function GS(n,r){const i=this.parser.constructs.attentionMarkers.null,u=this.previous,o=Vr(u);let c;return f;function f(m){return c=m,n.enter("attentionSequence"),h(m)}function h(m){if(m===c)return n.consume(m),h;const p=n.exit("attentionSequence"),y=Vr(m),g=!y||y===2&&o||i.includes(m),b=!o||o===2&&y||i.includes(u);return p._open=!!(c===42?g:g&&(o||!b)),p._close=!!(c===42?b:b&&(y||!g)),r(m)}}function yg(n,r){n.column+=r,n.offset+=r,n._bufferIndex+=r}const XS={name:"autolink",tokenize:FS};function FS(n,r,i){let u=0;return o;function o(S){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(S),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),c}function c(S){return wt(S)?(n.consume(S),f):S===64?i(S):p(S)}function f(S){return S===43||S===45||S===46||bt(S)?(u=1,h(S)):p(S)}function h(S){return S===58?(n.consume(S),u=0,m):(S===43||S===45||S===46||bt(S))&&u++<32?(n.consume(S),h):(u=0,p(S))}function m(S){return S===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(S),n.exit("autolinkMarker"),n.exit("autolink"),r):S===null||S===32||S===60||ju(S)?i(S):(n.consume(S),m)}function p(S){return S===64?(n.consume(S),y):NS(S)?(n.consume(S),p):i(S)}function y(S){return bt(S)?g(S):i(S)}function g(S){return S===46?(n.consume(S),u=0,y):S===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(S),n.exit("autolinkMarker"),n.exit("autolink"),r):b(S)}function b(S){if((S===45||bt(S))&&u++<63){const k=S===45?b:g;return n.consume(S),k}return i(S)}}const na={partial:!0,tokenize:IS};function IS(n,r,i){return u;function u(c){return Te(c)?Re(n,o,"linePrefix")(c):o(c)}function o(c){return c===null||he(c)?r(c):i(c)}}const _1={continuation:{tokenize:ZS},exit:KS,name:"blockQuote",tokenize:QS};function QS(n,r,i){const u=this;return o;function o(f){if(f===62){const h=u.containerState;return h.open||(n.enter("blockQuote",{_container:!0}),h.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(f),n.exit("blockQuoteMarker"),c}return i(f)}function c(f){return Te(f)?(n.enter("blockQuotePrefixWhitespace"),n.consume(f),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),r):(n.exit("blockQuotePrefix"),r(f))}}function ZS(n,r,i){const u=this;return o;function o(f){return Te(f)?Re(n,c,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):c(f)}function c(f){return n.attempt(_1,r,i)(f)}}function KS(n){n.exit("blockQuote")}const D1={name:"characterEscape",tokenize:PS};function PS(n,r,i){return u;function u(c){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(c),n.exit("escapeMarker"),o}function o(c){return US(c)?(n.enter("characterEscapeValue"),n.consume(c),n.exit("characterEscapeValue"),n.exit("characterEscape"),r):i(c)}}const R1={name:"characterReference",tokenize:JS};function JS(n,r,i){const u=this;let o=0,c,f;return h;function h(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),m}function m(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),p):(n.enter("characterReferenceValue"),c=31,f=bt,y(g))}function p(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),c=6,f=LS,y):(n.enter("characterReferenceValue"),c=7,f=nf,y(g))}function y(g){if(g===59&&o){const b=n.exit("characterReferenceValue");return f===bt&&!Cf(u.sliceSerialize(b))?i(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),r)}return f(g)&&o++<c?(n.consume(g),y):i(g)}}const vg={partial:!0,tokenize:$S},bg={concrete:!0,name:"codeFenced",tokenize:WS};function WS(n,r,i){const u=this,o={partial:!0,tokenize:P};let c=0,f=0,h;return m;function m(U){return p(U)}function p(U){const Q=u.events[u.events.length-1];return c=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,h=U,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),y(U)}function y(U){return U===h?(f++,n.consume(U),y):f<3?i(U):(n.exit("codeFencedFenceSequence"),Te(U)?Re(n,g,"whitespace")(U):g(U))}function g(U){return U===null||he(U)?(n.exit("codeFencedFence"),u.interrupt?r(U):n.check(vg,C,G)(U)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),b(U))}function b(U){return U===null||he(U)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),g(U)):Te(U)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Re(n,S,"whitespace")(U)):U===96&&U===h?i(U):(n.consume(U),b)}function S(U){return U===null||he(U)?g(U):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),k(U))}function k(U){return U===null||he(U)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),g(U)):U===96&&U===h?i(U):(n.consume(U),k)}function C(U){return n.attempt(o,G,T)(U)}function T(U){return n.enter("lineEnding"),n.consume(U),n.exit("lineEnding"),A}function A(U){return c>0&&Te(U)?Re(n,q,"linePrefix",c+1)(U):q(U)}function q(U){return U===null||he(U)?n.check(vg,C,G)(U):(n.enter("codeFlowValue"),O(U))}function O(U){return U===null||he(U)?(n.exit("codeFlowValue"),q(U)):(n.consume(U),O)}function G(U){return n.exit("codeFenced"),r(U)}function P(U,Q,re){let ie=0;return N;function N(ee){return U.enter("lineEnding"),U.consume(ee),U.exit("lineEnding"),$}function $(ee){return U.enter("codeFencedFence"),Te(ee)?Re(U,K,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ee):K(ee)}function K(ee){return ee===h?(U.enter("codeFencedFenceSequence"),be(ee)):re(ee)}function be(ee){return ee===h?(ie++,U.consume(ee),be):ie>=f?(U.exit("codeFencedFenceSequence"),Te(ee)?Re(U,ue,"whitespace")(ee):ue(ee)):re(ee)}function ue(ee){return ee===null||he(ee)?(U.exit("codeFencedFence"),Q(ee)):re(ee)}}}function $S(n,r,i){const u=this;return o;function o(f){return f===null?i(f):(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c)}function c(f){return u.parser.lazy[u.now().line]?i(f):r(f)}}const zs={name:"codeIndented",tokenize:tx},ex={partial:!0,tokenize:nx};function tx(n,r,i){const u=this;return o;function o(p){return n.enter("codeIndented"),Re(n,c,"linePrefix",5)(p)}function c(p){const y=u.events[u.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?f(p):i(p)}function f(p){return p===null?m(p):he(p)?n.attempt(ex,f,m)(p):(n.enter("codeFlowValue"),h(p))}function h(p){return p===null||he(p)?(n.exit("codeFlowValue"),f(p)):(n.consume(p),h)}function m(p){return n.exit("codeIndented"),r(p)}}function nx(n,r,i){const u=this;return o;function o(f){return u.parser.lazy[u.now().line]?i(f):he(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),o):Re(n,c,"linePrefix",5)(f)}function c(f){const h=u.events[u.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?r(f):he(f)?o(f):i(f)}}const lx={name:"codeText",previous:ix,resolve:rx,tokenize:ax};function rx(n){let r=n.length-4,i=3,u,o;if((n[i][1].type==="lineEnding"||n[i][1].type==="space")&&(n[r][1].type==="lineEnding"||n[r][1].type==="space")){for(u=i;++u<r;)if(n[u][1].type==="codeTextData"){n[i][1].type="codeTextPadding",n[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(u=i-1,r++;++u<=r;)o===void 0?u!==r&&n[u][1].type!=="lineEnding"&&(o=u):(u===r||n[u][1].type==="lineEnding")&&(n[o][1].type="codeTextData",u!==o+2&&(n[o][1].end=n[u-1][1].end,n.splice(o+2,u-o-2),r-=u-o-2,u=o+2),o=void 0);return n}function ix(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ax(n,r,i){let u=0,o,c;return f;function f(g){return n.enter("codeText"),n.enter("codeTextSequence"),h(g)}function h(g){return g===96?(n.consume(g),u++,h):(n.exit("codeTextSequence"),m(g))}function m(g){return g===null?i(g):g===32?(n.enter("space"),n.consume(g),n.exit("space"),m):g===96?(c=n.enter("codeTextSequence"),o=0,y(g)):he(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),m):(n.enter("codeTextData"),p(g))}function p(g){return g===null||g===32||g===96||he(g)?(n.exit("codeTextData"),m(g)):(n.consume(g),p)}function y(g){return g===96?(n.consume(g),o++,y):o===u?(n.exit("codeTextSequence"),n.exit("codeText"),r(g)):(c.type="codeTextData",p(g))}}class ux{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,i){const u=i??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(r,u):r>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(r,i,u){const o=i||0;this.setCursor(Math.trunc(r));const c=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&Ii(this.left,u),c.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),Ii(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),Ii(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const i=this.left.splice(r,Number.POSITIVE_INFINITY);Ii(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);Ii(this.left,i.reverse())}}}function Ii(n,r){let i=0;if(r.length<1e4)n.push(...r);else for(;i<r.length;)n.push(...r.slice(i,i+1e4)),i+=1e4}function O1(n){const r={};let i=-1,u,o,c,f,h,m,p;const y=new ux(n);for(;++i<y.length;){for(;i in r;)i=r[i];if(u=y.get(i),i&&u[1].type==="chunkFlow"&&y.get(i-1)[1].type==="listItemPrefix"&&(m=u[1]._tokenizer.events,c=0,c<m.length&&m[c][1].type==="lineEndingBlank"&&(c+=2),c<m.length&&m[c][1].type==="content"))for(;++c<m.length&&m[c][1].type!=="content";)m[c][1].type==="chunkText"&&(m[c][1]._isInFirstContentOfListItem=!0,c++);if(u[0]==="enter")u[1].contentType&&(Object.assign(r,ox(y,i)),i=r[i],p=!0);else if(u[1]._container){for(c=i,o=void 0;c--;)if(f=y.get(c),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(o&&(y.get(o)[1].type="lineEndingBlank"),f[1].type="lineEnding",o=c);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;o&&(u[1].end={...y.get(o)[1].start},h=y.slice(o,i),h.unshift(u),y.splice(o,i-o+1,h))}}return It(n,0,Number.POSITIVE_INFINITY,y.slice(0)),!p}function ox(n,r){const i=n.get(r)[1],u=n.get(r)[2];let o=r-1;const c=[];let f=i._tokenizer;f||(f=u.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const h=f.events,m=[],p={};let y,g,b=-1,S=i,k=0,C=0;const T=[C];for(;S;){for(;n.get(++o)[1]!==S;);c.push(o),S._tokenizer||(y=u.sliceStream(S),S.next||y.push(null),g&&f.defineSkip(S.start),S._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(y),S._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),g=S,S=S.next}for(S=i;++b<h.length;)h[b][0]==="exit"&&h[b-1][0]==="enter"&&h[b][1].type===h[b-1][1].type&&h[b][1].start.line!==h[b][1].end.line&&(C=b+1,T.push(C),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(f.events=[],S?(S._tokenizer=void 0,S.previous=void 0):T.pop(),b=T.length;b--;){const A=h.slice(T[b],T[b+1]),q=c.pop();m.push([q,q+A.length-1]),n.splice(q,2,A)}for(m.reverse(),b=-1;++b<m.length;)p[k+m[b][0]]=k+m[b][1],k+=m[b][1]-m[b][0]-1;return p}const cx={resolve:fx,tokenize:dx},sx={partial:!0,tokenize:hx};function fx(n){return O1(n),n}function dx(n,r){let i;return u;function u(h){return n.enter("content"),i=n.enter("chunkContent",{contentType:"content"}),o(h)}function o(h){return h===null?c(h):he(h)?n.check(sx,f,c)(h):(n.consume(h),o)}function c(h){return n.exit("chunkContent"),n.exit("content"),r(h)}function f(h){return n.consume(h),n.exit("chunkContent"),i.next=n.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,o}}function hx(n,r,i){const u=this;return o;function o(f){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),Re(n,c,"linePrefix")}function c(f){if(f===null||he(f))return i(f);const h=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?r(f):n.interrupt(u.parser.constructs.flow,i,r)(f)}}function N1(n,r,i,u,o,c,f,h,m){const p=m||Number.POSITIVE_INFINITY;let y=0;return g;function g(A){return A===60?(n.enter(u),n.enter(o),n.enter(c),n.consume(A),n.exit(c),b):A===null||A===32||A===41||ju(A)?i(A):(n.enter(u),n.enter(f),n.enter(h),n.enter("chunkString",{contentType:"string"}),C(A))}function b(A){return A===62?(n.enter(c),n.consume(A),n.exit(c),n.exit(o),n.exit(u),r):(n.enter(h),n.enter("chunkString",{contentType:"string"}),S(A))}function S(A){return A===62?(n.exit("chunkString"),n.exit(h),b(A)):A===null||A===60||he(A)?i(A):(n.consume(A),A===92?k:S)}function k(A){return A===60||A===62||A===92?(n.consume(A),S):S(A)}function C(A){return!y&&(A===null||A===41||Fe(A))?(n.exit("chunkString"),n.exit(h),n.exit(f),n.exit(u),r(A)):y<p&&A===40?(n.consume(A),y++,C):A===41?(n.consume(A),y--,C):A===null||A===32||A===40||ju(A)?i(A):(n.consume(A),A===92?T:C)}function T(A){return A===40||A===41||A===92?(n.consume(A),C):C(A)}}function L1(n,r,i,u,o,c){const f=this;let h=0,m;return p;function p(S){return n.enter(u),n.enter(o),n.consume(S),n.exit(o),n.enter(c),y}function y(S){return h>999||S===null||S===91||S===93&&!m||S===94&&!h&&"_hiddenFootnoteSupport"in f.parser.constructs?i(S):S===93?(n.exit(c),n.enter(o),n.consume(S),n.exit(o),n.exit(u),r):he(S)?(n.enter("lineEnding"),n.consume(S),n.exit("lineEnding"),y):(n.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||S===91||S===93||he(S)||h++>999?(n.exit("chunkString"),y(S)):(n.consume(S),m||(m=!Te(S)),S===92?b:g)}function b(S){return S===91||S===92||S===93?(n.consume(S),h++,g):g(S)}}function U1(n,r,i,u,o,c){let f;return h;function h(b){return b===34||b===39||b===40?(n.enter(u),n.enter(o),n.consume(b),n.exit(o),f=b===40?41:b,m):i(b)}function m(b){return b===f?(n.enter(o),n.consume(b),n.exit(o),n.exit(u),r):(n.enter(c),p(b))}function p(b){return b===f?(n.exit(c),m(f)):b===null?i(b):he(b)?(n.enter("lineEnding"),n.consume(b),n.exit("lineEnding"),Re(n,p,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),y(b))}function y(b){return b===f||b===null||he(b)?(n.exit("chunkString"),p(b)):(n.consume(b),b===92?g:y)}function g(b){return b===f||b===92?(n.consume(b),y):y(b)}}function Ki(n,r){let i;return u;function u(o){return he(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i=!0,u):Te(o)?Re(n,u,i?"linePrefix":"lineSuffix")(o):r(o)}}const px={name:"definition",tokenize:gx},mx={partial:!0,tokenize:yx};function gx(n,r,i){const u=this;let o;return c;function c(S){return n.enter("definition"),f(S)}function f(S){return L1.call(u,n,h,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(S)}function h(S){return o=dn(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),S===58?(n.enter("definitionMarker"),n.consume(S),n.exit("definitionMarker"),m):i(S)}function m(S){return Fe(S)?Ki(n,p)(S):p(S)}function p(S){return N1(n,y,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(S)}function y(S){return n.attempt(mx,g,g)(S)}function g(S){return Te(S)?Re(n,b,"whitespace")(S):b(S)}function b(S){return S===null||he(S)?(n.exit("definition"),u.parser.defined.push(o),r(S)):i(S)}}function yx(n,r,i){return u;function u(h){return Fe(h)?Ki(n,o)(h):i(h)}function o(h){return U1(n,c,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function c(h){return Te(h)?Re(n,f,"whitespace")(h):f(h)}function f(h){return h===null||he(h)?r(h):i(h)}}const vx={name:"hardBreakEscape",tokenize:bx};function bx(n,r,i){return u;function u(c){return n.enter("hardBreakEscape"),n.consume(c),o}function o(c){return he(c)?(n.exit("hardBreakEscape"),r(c)):i(c)}}const Sx={name:"headingAtx",resolve:xx,tokenize:Ex};function xx(n,r){let i=n.length-2,u=3,o,c;return n[u][1].type==="whitespace"&&(u+=2),i-2>u&&n[i][1].type==="whitespace"&&(i-=2),n[i][1].type==="atxHeadingSequence"&&(u===i-1||i-4>u&&n[i-2][1].type==="whitespace")&&(i-=u+1===i?2:4),i>u&&(o={type:"atxHeadingText",start:n[u][1].start,end:n[i][1].end},c={type:"chunkText",start:n[u][1].start,end:n[i][1].end,contentType:"text"},It(n,u,i-u+1,[["enter",o,r],["enter",c,r],["exit",c,r],["exit",o,r]])),n}function Ex(n,r,i){let u=0;return o;function o(y){return n.enter("atxHeading"),c(y)}function c(y){return n.enter("atxHeadingSequence"),f(y)}function f(y){return y===35&&u++<6?(n.consume(y),f):y===null||Fe(y)?(n.exit("atxHeadingSequence"),h(y)):i(y)}function h(y){return y===35?(n.enter("atxHeadingSequence"),m(y)):y===null||he(y)?(n.exit("atxHeading"),r(y)):Te(y)?Re(n,h,"whitespace")(y):(n.enter("atxHeadingText"),p(y))}function m(y){return y===35?(n.consume(y),m):(n.exit("atxHeadingSequence"),h(y))}function p(y){return y===null||y===35||Fe(y)?(n.exit("atxHeadingText"),h(y)):(n.consume(y),p)}}const kx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Sg=["pre","script","style","textarea"],Cx={concrete:!0,name:"htmlFlow",resolveTo:Tx,tokenize:zx},wx={partial:!0,tokenize:_x},Ax={partial:!0,tokenize:Mx};function Tx(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type==="htmlFlow"););return r>1&&n[r-2][1].type==="linePrefix"&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function zx(n,r,i){const u=this;let o,c,f,h,m;return p;function p(E){return y(E)}function y(E){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(E),g}function g(E){return E===33?(n.consume(E),b):E===47?(n.consume(E),c=!0,C):E===63?(n.consume(E),o=3,u.interrupt?r:w):wt(E)?(n.consume(E),f=String.fromCharCode(E),T):i(E)}function b(E){return E===45?(n.consume(E),o=2,S):E===91?(n.consume(E),o=5,h=0,k):wt(E)?(n.consume(E),o=4,u.interrupt?r:w):i(E)}function S(E){return E===45?(n.consume(E),u.interrupt?r:w):i(E)}function k(E){const ae="CDATA[";return E===ae.charCodeAt(h++)?(n.consume(E),h===ae.length?u.interrupt?r:K:k):i(E)}function C(E){return wt(E)?(n.consume(E),f=String.fromCharCode(E),T):i(E)}function T(E){if(E===null||E===47||E===62||Fe(E)){const ae=E===47,me=f.toLowerCase();return!ae&&!c&&Sg.includes(me)?(o=1,u.interrupt?r(E):K(E)):kx.includes(f.toLowerCase())?(o=6,ae?(n.consume(E),A):u.interrupt?r(E):K(E)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?i(E):c?q(E):O(E))}return E===45||bt(E)?(n.consume(E),f+=String.fromCharCode(E),T):i(E)}function A(E){return E===62?(n.consume(E),u.interrupt?r:K):i(E)}function q(E){return Te(E)?(n.consume(E),q):N(E)}function O(E){return E===47?(n.consume(E),N):E===58||E===95||wt(E)?(n.consume(E),G):Te(E)?(n.consume(E),O):N(E)}function G(E){return E===45||E===46||E===58||E===95||bt(E)?(n.consume(E),G):P(E)}function P(E){return E===61?(n.consume(E),U):Te(E)?(n.consume(E),P):O(E)}function U(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(n.consume(E),m=E,Q):Te(E)?(n.consume(E),U):re(E)}function Q(E){return E===m?(n.consume(E),m=null,ie):E===null||he(E)?i(E):(n.consume(E),Q)}function re(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Fe(E)?P(E):(n.consume(E),re)}function ie(E){return E===47||E===62||Te(E)?O(E):i(E)}function N(E){return E===62?(n.consume(E),$):i(E)}function $(E){return E===null||he(E)?K(E):Te(E)?(n.consume(E),$):i(E)}function K(E){return E===45&&o===2?(n.consume(E),L):E===60&&o===1?(n.consume(E),J):E===62&&o===4?(n.consume(E),_):E===63&&o===3?(n.consume(E),w):E===93&&o===5?(n.consume(E),ye):he(E)&&(o===6||o===7)?(n.exit("htmlFlowData"),n.check(wx,X,be)(E)):E===null||he(E)?(n.exit("htmlFlowData"),be(E)):(n.consume(E),K)}function be(E){return n.check(Ax,ue,X)(E)}function ue(E){return n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),ee}function ee(E){return E===null||he(E)?be(E):(n.enter("htmlFlowData"),K(E))}function L(E){return E===45?(n.consume(E),w):K(E)}function J(E){return E===47?(n.consume(E),f="",ce):K(E)}function ce(E){if(E===62){const ae=f.toLowerCase();return Sg.includes(ae)?(n.consume(E),_):K(E)}return wt(E)&&f.length<8?(n.consume(E),f+=String.fromCharCode(E),ce):K(E)}function ye(E){return E===93?(n.consume(E),w):K(E)}function w(E){return E===62?(n.consume(E),_):E===45&&o===2?(n.consume(E),w):K(E)}function _(E){return E===null||he(E)?(n.exit("htmlFlowData"),X(E)):(n.consume(E),_)}function X(E){return n.exit("htmlFlow"),r(E)}}function Mx(n,r,i){const u=this;return o;function o(f){return he(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c):i(f)}function c(f){return u.parser.lazy[u.now().line]?i(f):r(f)}}function _x(n,r,i){return u;function u(o){return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),n.attempt(na,r,i)}}const Dx={name:"htmlText",tokenize:Rx};function Rx(n,r,i){const u=this;let o,c,f;return h;function h(w){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(w),m}function m(w){return w===33?(n.consume(w),p):w===47?(n.consume(w),P):w===63?(n.consume(w),O):wt(w)?(n.consume(w),re):i(w)}function p(w){return w===45?(n.consume(w),y):w===91?(n.consume(w),c=0,k):wt(w)?(n.consume(w),q):i(w)}function y(w){return w===45?(n.consume(w),S):i(w)}function g(w){return w===null?i(w):w===45?(n.consume(w),b):he(w)?(f=g,J(w)):(n.consume(w),g)}function b(w){return w===45?(n.consume(w),S):g(w)}function S(w){return w===62?L(w):w===45?b(w):g(w)}function k(w){const _="CDATA[";return w===_.charCodeAt(c++)?(n.consume(w),c===_.length?C:k):i(w)}function C(w){return w===null?i(w):w===93?(n.consume(w),T):he(w)?(f=C,J(w)):(n.consume(w),C)}function T(w){return w===93?(n.consume(w),A):C(w)}function A(w){return w===62?L(w):w===93?(n.consume(w),A):C(w)}function q(w){return w===null||w===62?L(w):he(w)?(f=q,J(w)):(n.consume(w),q)}function O(w){return w===null?i(w):w===63?(n.consume(w),G):he(w)?(f=O,J(w)):(n.consume(w),O)}function G(w){return w===62?L(w):O(w)}function P(w){return wt(w)?(n.consume(w),U):i(w)}function U(w){return w===45||bt(w)?(n.consume(w),U):Q(w)}function Q(w){return he(w)?(f=Q,J(w)):Te(w)?(n.consume(w),Q):L(w)}function re(w){return w===45||bt(w)?(n.consume(w),re):w===47||w===62||Fe(w)?ie(w):i(w)}function ie(w){return w===47?(n.consume(w),L):w===58||w===95||wt(w)?(n.consume(w),N):he(w)?(f=ie,J(w)):Te(w)?(n.consume(w),ie):L(w)}function N(w){return w===45||w===46||w===58||w===95||bt(w)?(n.consume(w),N):$(w)}function $(w){return w===61?(n.consume(w),K):he(w)?(f=$,J(w)):Te(w)?(n.consume(w),$):ie(w)}function K(w){return w===null||w===60||w===61||w===62||w===96?i(w):w===34||w===39?(n.consume(w),o=w,be):he(w)?(f=K,J(w)):Te(w)?(n.consume(w),K):(n.consume(w),ue)}function be(w){return w===o?(n.consume(w),o=void 0,ee):w===null?i(w):he(w)?(f=be,J(w)):(n.consume(w),be)}function ue(w){return w===null||w===34||w===39||w===60||w===61||w===96?i(w):w===47||w===62||Fe(w)?ie(w):(n.consume(w),ue)}function ee(w){return w===47||w===62||Fe(w)?ie(w):i(w)}function L(w){return w===62?(n.consume(w),n.exit("htmlTextData"),n.exit("htmlText"),r):i(w)}function J(w){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(w),n.exit("lineEnding"),ce}function ce(w){return Te(w)?Re(n,ye,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):ye(w)}function ye(w){return n.enter("htmlTextData"),f(w)}}const wf={name:"labelEnd",resolveAll:Ux,resolveTo:Bx,tokenize:jx},Ox={tokenize:Hx},Nx={tokenize:qx},Lx={tokenize:Vx};function Ux(n){let r=-1;const i=[];for(;++r<n.length;){const u=n[r][1];if(i.push(n[r]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const o=u.type==="labelImage"?4:2;u.type="data",r+=o}}return n.length!==i.length&&It(n,0,n.length,i),n}function Bx(n,r){let i=n.length,u=0,o,c,f,h;for(;i--;)if(o=n[i][1],c){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;n[i][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(f){if(n[i][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(c=i,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(f=i);const m={type:n[c][1].type==="labelLink"?"link":"image",start:{...n[c][1].start},end:{...n[n.length-1][1].end}},p={type:"label",start:{...n[c][1].start},end:{...n[f][1].end}},y={type:"labelText",start:{...n[c+u+2][1].end},end:{...n[f-2][1].start}};return h=[["enter",m,r],["enter",p,r]],h=an(h,n.slice(c+1,c+u+3)),h=an(h,[["enter",y,r]]),h=an(h,Qu(r.parser.constructs.insideSpan.null,n.slice(c+u+4,f-3),r)),h=an(h,[["exit",y,r],n[f-2],n[f-1],["exit",p,r]]),h=an(h,n.slice(f+1)),h=an(h,[["exit",m,r]]),It(n,c,n.length,h),n}function jx(n,r,i){const u=this;let o=u.events.length,c,f;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){c=u.events[o][1];break}return h;function h(b){return c?c._inactive?g(b):(f=u.parser.defined.includes(dn(u.sliceSerialize({start:c.end,end:u.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(b),n.exit("labelMarker"),n.exit("labelEnd"),m):i(b)}function m(b){return b===40?n.attempt(Ox,y,f?y:g)(b):b===91?n.attempt(Nx,y,f?p:g)(b):f?y(b):g(b)}function p(b){return n.attempt(Lx,y,g)(b)}function y(b){return r(b)}function g(b){return c._balanced=!0,i(b)}}function Hx(n,r,i){return u;function u(g){return n.enter("resource"),n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),o}function o(g){return Fe(g)?Ki(n,c)(g):c(g)}function c(g){return g===41?y(g):N1(n,f,h,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function f(g){return Fe(g)?Ki(n,m)(g):y(g)}function h(g){return i(g)}function m(g){return g===34||g===39||g===40?U1(n,p,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):y(g)}function p(g){return Fe(g)?Ki(n,y)(g):y(g)}function y(g){return g===41?(n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),n.exit("resource"),r):i(g)}}function qx(n,r,i){const u=this;return o;function o(h){return L1.call(u,n,c,f,"reference","referenceMarker","referenceString")(h)}function c(h){return u.parser.defined.includes(dn(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?r(h):i(h)}function f(h){return i(h)}}function Vx(n,r,i){return u;function u(c){return n.enter("reference"),n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),o}function o(c){return c===93?(n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),n.exit("reference"),r):i(c)}}const Yx={name:"labelStartImage",resolveAll:wf.resolveAll,tokenize:Gx};function Gx(n,r,i){const u=this;return o;function o(h){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(h),n.exit("labelImageMarker"),c}function c(h){return h===91?(n.enter("labelMarker"),n.consume(h),n.exit("labelMarker"),n.exit("labelImage"),f):i(h)}function f(h){return h===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(h):r(h)}}const Xx={name:"labelStartLink",resolveAll:wf.resolveAll,tokenize:Fx};function Fx(n,r,i){const u=this;return o;function o(f){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(f),n.exit("labelMarker"),n.exit("labelLink"),c}function c(f){return f===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(f):r(f)}}const Ms={name:"lineEnding",tokenize:Ix};function Ix(n,r){return i;function i(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),Re(n,r,"linePrefix")}}const Nu={name:"thematicBreak",tokenize:Qx};function Qx(n,r,i){let u=0,o;return c;function c(p){return n.enter("thematicBreak"),f(p)}function f(p){return o=p,h(p)}function h(p){return p===o?(n.enter("thematicBreakSequence"),m(p)):u>=3&&(p===null||he(p))?(n.exit("thematicBreak"),r(p)):i(p)}function m(p){return p===o?(n.consume(p),u++,m):(n.exit("thematicBreakSequence"),Te(p)?Re(n,h,"whitespace")(p):h(p))}}const Nt={continuation:{tokenize:Jx},exit:$x,name:"list",tokenize:Px},Zx={partial:!0,tokenize:eE},Kx={partial:!0,tokenize:Wx};function Px(n,r,i){const u=this,o=u.events[u.events.length-1];let c=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,f=0;return h;function h(S){const k=u.containerState.type||(S===42||S===43||S===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!u.containerState.marker||S===u.containerState.marker:nf(S)){if(u.containerState.type||(u.containerState.type=k,n.enter(k,{_container:!0})),k==="listUnordered")return n.enter("listItemPrefix"),S===42||S===45?n.check(Nu,i,p)(S):p(S);if(!u.interrupt||S===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),m(S)}return i(S)}function m(S){return nf(S)&&++f<10?(n.consume(S),m):(!u.interrupt||f<2)&&(u.containerState.marker?S===u.containerState.marker:S===41||S===46)?(n.exit("listItemValue"),p(S)):i(S)}function p(S){return n.enter("listItemMarker"),n.consume(S),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||S,n.check(na,u.interrupt?i:y,n.attempt(Zx,b,g))}function y(S){return u.containerState.initialBlankLine=!0,c++,b(S)}function g(S){return Te(S)?(n.enter("listItemPrefixWhitespace"),n.consume(S),n.exit("listItemPrefixWhitespace"),b):i(S)}function b(S){return u.containerState.size=c+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(S)}}function Jx(n,r,i){const u=this;return u.containerState._closeFlow=void 0,n.check(na,o,c);function o(h){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,Re(n,r,"listItemIndent",u.containerState.size+1)(h)}function c(h){return u.containerState.furtherBlankLines||!Te(h)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,f(h)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(Kx,r,f)(h))}function f(h){return u.containerState._closeFlow=!0,u.interrupt=void 0,Re(n,n.attempt(Nt,r,i),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function Wx(n,r,i){const u=this;return Re(n,o,"listItemIndent",u.containerState.size+1);function o(c){const f=u.events[u.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===u.containerState.size?r(c):i(c)}}function $x(n){n.exit(this.containerState.type)}function eE(n,r,i){const u=this;return Re(n,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(c){const f=u.events[u.events.length-1];return!Te(c)&&f&&f[1].type==="listItemPrefixWhitespace"?r(c):i(c)}}const xg={name:"setextUnderline",resolveTo:tE,tokenize:nE};function tE(n,r){let i=n.length,u,o,c;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type==="content"){u=i;break}n[i][1].type==="paragraph"&&(o=i)}else n[i][1].type==="content"&&n.splice(i,1),!c&&n[i][1].type==="definition"&&(c=i);const f={type:"setextHeading",start:{...n[u][1].start},end:{...n[n.length-1][1].end}};return n[o][1].type="setextHeadingText",c?(n.splice(o,0,["enter",f,r]),n.splice(c+1,0,["exit",n[u][1],r]),n[u][1].end={...n[c][1].end}):n[u][1]=f,n.push(["exit",f,r]),n}function nE(n,r,i){const u=this;let o;return c;function c(p){let y=u.events.length,g;for(;y--;)if(u.events[y][1].type!=="lineEnding"&&u.events[y][1].type!=="linePrefix"&&u.events[y][1].type!=="content"){g=u.events[y][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||g)?(n.enter("setextHeadingLine"),o=p,f(p)):i(p)}function f(p){return n.enter("setextHeadingLineSequence"),h(p)}function h(p){return p===o?(n.consume(p),h):(n.exit("setextHeadingLineSequence"),Te(p)?Re(n,m,"lineSuffix")(p):m(p))}function m(p){return p===null||he(p)?(n.exit("setextHeadingLine"),r(p)):i(p)}}const lE={tokenize:rE};function rE(n){const r=this,i=n.attempt(na,u,n.attempt(this.parser.constructs.flowInitial,o,Re(n,n.attempt(this.parser.constructs.flow,o,n.attempt(cx,o)),"linePrefix")));return i;function u(c){if(c===null){n.consume(c);return}return n.enter("lineEndingBlank"),n.consume(c),n.exit("lineEndingBlank"),r.currentConstruct=void 0,i}function o(c){if(c===null){n.consume(c);return}return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),r.currentConstruct=void 0,i}}const iE={resolveAll:j1()},aE=B1("string"),uE=B1("text");function B1(n){return{resolveAll:j1(n==="text"?oE:void 0),tokenize:r};function r(i){const u=this,o=this.parser.constructs[n],c=i.attempt(o,f,h);return f;function f(y){return p(y)?c(y):h(y)}function h(y){if(y===null){i.consume(y);return}return i.enter("data"),i.consume(y),m}function m(y){return p(y)?(i.exit("data"),c(y)):(i.consume(y),m)}function p(y){if(y===null)return!0;const g=o[y];let b=-1;if(g)for(;++b<g.length;){const S=g[b];if(!S.previous||S.previous.call(u,u.previous))return!0}return!1}}}function j1(n){return r;function r(i,u){let o=-1,c;for(;++o<=i.length;)c===void 0?i[o]&&i[o][1].type==="data"&&(c=o,o++):(!i[o]||i[o][1].type!=="data")&&(o!==c+2&&(i[c][1].end=i[o-1][1].end,i.splice(c+2,o-c-2),o=c+2),c=void 0);return n?n(i,u):i}}function oE(n,r){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type==="lineEnding")&&n[i-1][1].type==="data"){const u=n[i-1][1],o=r.sliceStream(u);let c=o.length,f=-1,h=0,m;for(;c--;){const p=o[c];if(typeof p=="string"){for(f=p.length;p.charCodeAt(f-1)===32;)h++,f--;if(f)break;f=-1}else if(p===-2)m=!0,h++;else if(p!==-1){c++;break}}if(r._contentTypeTextTrailing&&i===n.length&&(h=0),h){const p={type:i===n.length||m||h<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:c?f:u.start._bufferIndex+f,_index:u.start._index+c,line:u.end.line,column:u.end.column-h,offset:u.end.offset-h},end:{...u.end}};u.end={...p.start},u.start.offset===u.end.offset?Object.assign(u,p):(n.splice(i,0,["enter",p,r],["exit",p,r]),i+=2)}i++}return n}const cE={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:_1},sE={91:px},fE={[-2]:zs,[-1]:zs,32:zs},dE={35:Sx,42:Nu,45:[xg,Nu],60:Cx,61:xg,95:Nu,96:bg,126:bg},hE={38:R1,92:D1},pE={[-5]:Ms,[-4]:Ms,[-3]:Ms,33:Yx,38:R1,42:lf,60:[XS,Dx],91:Xx,92:[vx,D1],93:wf,95:lf,96:lx},mE={null:[lf,iE]},gE={null:[42,95]},yE={null:[]},vE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:gE,contentInitial:sE,disable:yE,document:cE,flow:dE,flowInitial:fE,insideSpan:mE,string:hE,text:pE},Symbol.toStringTag,{value:"Module"}));function bE(n,r,i){let u={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const o={},c=[];let f=[],h=[];const m={attempt:Q(P),check:Q(U),consume:q,enter:O,exit:G,interrupt:Q(U,{interrupt:!0})},p={code:null,containerState:{},defineSkip:C,events:[],now:k,parser:n,previous:null,sliceSerialize:b,sliceStream:S,write:g};let y=r.tokenize.call(p,m);return r.resolveAll&&c.push(r),p;function g($){return f=an(f,$),T(),f[f.length-1]!==null?[]:(re(r,0),p.events=Qu(c,p.events,p),p.events)}function b($,K){return xE(S($),K)}function S($){return SE(f,$)}function k(){const{_bufferIndex:$,_index:K,line:be,column:ue,offset:ee}=u;return{_bufferIndex:$,_index:K,line:be,column:ue,offset:ee}}function C($){o[$.line]=$.column,N()}function T(){let $;for(;u._index<f.length;){const K=f[u._index];if(typeof K=="string")for($=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===$&&u._bufferIndex<K.length;)A(K.charCodeAt(u._bufferIndex));else A(K)}}function A($){y=y($)}function q($){he($)?(u.line++,u.column=1,u.offset+=$===-3?2:1,N()):$!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===f[u._index].length&&(u._bufferIndex=-1,u._index++)),p.previous=$}function O($,K){const be=K||{};return be.type=$,be.start=k(),p.events.push(["enter",be,p]),h.push(be),be}function G($){const K=h.pop();return K.end=k(),p.events.push(["exit",K,p]),K}function P($,K){re($,K.from)}function U($,K){K.restore()}function Q($,K){return be;function be(ue,ee,L){let J,ce,ye,w;return Array.isArray(ue)?X(ue):"tokenize"in ue?X([ue]):_(ue);function _(fe){return ze;function ze(Pe){const He=Pe!==null&&fe[Pe],Qt=Pe!==null&&fe.null,En=[...Array.isArray(He)?He:He?[He]:[],...Array.isArray(Qt)?Qt:Qt?[Qt]:[]];return X(En)(Pe)}}function X(fe){return J=fe,ce=0,fe.length===0?L:E(fe[ce])}function E(fe){return ze;function ze(Pe){return w=ie(),ye=fe,fe.partial||(p.currentConstruct=fe),fe.name&&p.parser.constructs.disable.null.includes(fe.name)?me():fe.tokenize.call(K?Object.assign(Object.create(p),K):p,m,ae,me)(Pe)}}function ae(fe){return $(ye,w),ee}function me(fe){return w.restore(),++ce<J.length?E(J[ce]):L}}}function re($,K){$.resolveAll&&!c.includes($)&&c.push($),$.resolve&&It(p.events,K,p.events.length-K,$.resolve(p.events.slice(K),p)),$.resolveTo&&(p.events=$.resolveTo(p.events,p))}function ie(){const $=k(),K=p.previous,be=p.currentConstruct,ue=p.events.length,ee=Array.from(h);return{from:ue,restore:L};function L(){u=$,p.previous=K,p.currentConstruct=be,p.events.length=ue,h=ee,N()}}function N(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function SE(n,r){const i=r.start._index,u=r.start._bufferIndex,o=r.end._index,c=r.end._bufferIndex;let f;if(i===o)f=[n[i].slice(u,c)];else{if(f=n.slice(i,o),u>-1){const h=f[0];typeof h=="string"?f[0]=h.slice(u):f.shift()}c>0&&f.push(n[o].slice(0,c))}return f}function xE(n,r){let i=-1;const u=[];let o;for(;++i<n.length;){const c=n[i];let f;if(typeof c=="string")f=c;else switch(c){case-5:{f="\r";break}case-4:{f=`
|
|
481
476
|
`;break}case-3:{f=`\r
|
|
482
477
|
`;break}case-2:{f=r?" ":" ";break}case-1:{if(!r&&o)continue;f=" ";break}default:f=String.fromCharCode(c)}o=c===-2,u.push(f)}return u.join("")}function EE(n){const u={constructs:z1([vE,...(n||{}).extensions||[]]),content:o(BS),defined:[],document:o(HS),flow:o(lE),lazy:{},string:o(aE),text:o(uE)};return u;function o(c){return f;function f(h){return bE(u,c,h)}}}function kE(n){for(;!O1(n););return n}const Eg=/[\0\t\n\r]/g;function CE(){let n=1,r="",i=!0,u;return o;function o(c,f,h){const m=[];let p,y,g,b,S;for(c=r+(typeof c=="string"?c.toString():new TextDecoder(f||void 0).decode(c)),g=0,r="",i&&(c.charCodeAt(0)===65279&&g++,i=void 0);g<c.length;){if(Eg.lastIndex=g,p=Eg.exec(c),b=p&&p.index!==void 0?p.index:c.length,S=c.charCodeAt(b),!p){r=c.slice(g);break}if(S===10&&g===b&&u)m.push(-3),u=void 0;else switch(u&&(m.push(-5),u=void 0),g<b&&(m.push(c.slice(g,b)),n+=b-g),S){case 0:{m.push(65533),n++;break}case 9:{for(y=Math.ceil(n/4)*4,m.push(-2);n++<y;)m.push(-1);break}case 10:{m.push(-4),n=1;break}default:u=!0,n=1}g=b+1}return h&&(u&&m.push(-5),r&&m.push(r),m.push(null)),m}}const wE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function AE(n){return n.replace(wE,TE)}function TE(n,r,i){if(r)return r;if(i.charCodeAt(0)===35){const o=i.charCodeAt(1),c=o===120||o===88;return M1(i.slice(c?2:1),c?16:10)}return Cf(i)||n}const H1={}.hasOwnProperty;function zE(n,r,i){return r&&typeof r=="object"&&(i=r,r=void 0),ME(i)(kE(EE(i).document().write(CE()(n,r,!0))))}function ME(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Il),autolinkProtocol:ie,autolinkEmail:ie,atxHeading:c(Xl),blockQuote:c(Qt),characterEscape:ie,characterReference:ie,codeFenced:c(En),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:c(En,f),codeText:c(Qr,f),codeTextData:ie,data:ie,codeFlowValue:ie,definition:c(aa),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:c(kn),hardBreakEscape:c(Fl),hardBreakTrailing:c(Fl),htmlFlow:c(ua,f),htmlFlowData:ie,htmlText:c(ua,f),htmlTextData:ie,image:c(oa),label:f,link:c(Il),listItem:c(Zr),listItemValue:b,listOrdered:c(Ql,g),listUnordered:c(Ql),paragraph:c(no),reference:E,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:c(Xl),strong:c(lo),thematicBreak:c(ro)},exit:{atxHeading:m(),atxHeadingSequence:P,autolink:m(),autolinkEmail:He,autolinkProtocol:Pe,blockQuote:m(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:fe,characterReference:ze,codeFenced:m(T),codeFencedFence:C,codeFencedFenceInfo:S,codeFencedFenceMeta:k,codeFlowValue:N,codeIndented:m(A),codeText:m(ee),codeTextData:N,data:N,definition:m(),definitionDestinationString:G,definitionLabelString:q,definitionTitleString:O,emphasis:m(),hardBreakEscape:m(K),hardBreakTrailing:m(K),htmlFlow:m(be),htmlFlowData:N,htmlText:m(ue),htmlTextData:N,image:m(J),label:ye,labelText:ce,lineEnding:$,link:m(L),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:ae,resourceDestinationString:w,resourceTitleString:_,resource:X,setextHeading:m(re),setextHeadingLineSequence:Q,setextHeadingText:U,strong:m(),thematicBreak:m()}};q1(r,(n||{}).mdastExtensions||[]);const i={};return u;function u(F){let ne={type:"root",children:[]};const ge={stack:[ne],tokenStack:[],config:r,enter:h,exit:p,buffer:f,resume:y,data:i},Ce=[];let Ue=-1;for(;++Ue<F.length;)if(F[Ue][1].type==="listOrdered"||F[Ue][1].type==="listUnordered")if(F[Ue][0]==="enter")Ce.push(Ue);else{const Ut=Ce.pop();Ue=o(F,Ut,Ue)}for(Ue=-1;++Ue<F.length;){const Ut=r[F[Ue][0]];H1.call(Ut,F[Ue][1].type)&&Ut[F[Ue][1].type].call(Object.assign({sliceSerialize:F[Ue][2].sliceSerialize},ge),F[Ue][1])}if(ge.tokenStack.length>0){const Ut=ge.tokenStack[ge.tokenStack.length-1];(Ut[1]||kg).call(ge,void 0,Ut[0])}for(ne.position={start:bl(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:bl(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},Ue=-1;++Ue<r.transforms.length;)ne=r.transforms[Ue](ne)||ne;return ne}function o(F,ne,ge){let Ce=ne-1,Ue=-1,Ut=!1,Cn,kt,ct,At;for(;++Ce<=ge;){const Ge=F[Ce];switch(Ge[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ge[0]==="enter"?Ue++:Ue--,At=void 0;break}case"lineEndingBlank":{Ge[0]==="enter"&&(Cn&&!At&&!Ue&&!ct&&(ct=Ce),At=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:At=void 0}if(!Ue&&Ge[0]==="enter"&&Ge[1].type==="listItemPrefix"||Ue===-1&&Ge[0]==="exit"&&(Ge[1].type==="listUnordered"||Ge[1].type==="listOrdered")){if(Cn){let In=Ce;for(kt=void 0;In--;){const on=F[In];if(on[1].type==="lineEnding"||on[1].type==="lineEndingBlank"){if(on[0]==="exit")continue;kt&&(F[kt][1].type="lineEndingBlank",Ut=!0),on[1].type="lineEnding",kt=In}else if(!(on[1].type==="linePrefix"||on[1].type==="blockQuotePrefix"||on[1].type==="blockQuotePrefixWhitespace"||on[1].type==="blockQuoteMarker"||on[1].type==="listItemIndent"))break}ct&&(!kt||ct<kt)&&(Cn._spread=!0),Cn.end=Object.assign({},kt?F[kt][1].start:Ge[1].end),F.splice(kt||Ce,0,["exit",Cn,Ge[2]]),Ce++,ge++}if(Ge[1].type==="listItemPrefix"){const In={type:"listItem",_spread:!1,start:Object.assign({},Ge[1].start),end:void 0};Cn=In,F.splice(Ce,0,["enter",In,Ge[2]]),Ce++,ge++,ct=void 0,At=!0}}}return F[ne][1]._spread=Ut,ge}function c(F,ne){return ge;function ge(Ce){h.call(this,F(Ce),Ce),ne&&ne.call(this,Ce)}}function f(){this.stack.push({type:"fragment",children:[]})}function h(F,ne,ge){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([ne,ge||void 0]),F.position={start:bl(ne.start),end:void 0}}function m(F){return ne;function ne(ge){F&&F.call(this,ge),p.call(this,ge)}}function p(F,ne){const ge=this.stack.pop(),Ce=this.tokenStack.pop();if(Ce)Ce[0].type!==F.type&&(ne?ne.call(this,F,Ce[0]):(Ce[1]||kg).call(this,F,Ce[0]));else throw new Error("Cannot close `"+F.type+"` ("+Zi({start:F.start,end:F.end})+"): it’s not open");ge.position.end=bl(F.end)}function y(){return kf(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function b(F){if(this.data.expectingFirstListItemValue){const ne=this.stack[this.stack.length-2];ne.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function S(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.lang=F}function k(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.meta=F}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F.replace(/(\r?\n|\r)$/g,"")}function q(F){const ne=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ne,ge.identifier=dn(this.sliceSerialize(F)).toLowerCase()}function O(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.title=F}function G(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.url=F}function P(F){const ne=this.stack[this.stack.length-1];if(!ne.depth){const ge=this.sliceSerialize(F).length;ne.depth=ge}}function U(){this.data.setextHeadingSlurpLineEnding=!0}function Q(F){const ne=this.stack[this.stack.length-1];ne.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function re(){this.data.setextHeadingSlurpLineEnding=void 0}function ie(F){const ge=this.stack[this.stack.length-1].children;let Ce=ge[ge.length-1];(!Ce||Ce.type!=="text")&&(Ce=Et(),Ce.position={start:bl(F.start),end:void 0},ge.push(Ce)),this.stack.push(Ce)}function N(F){const ne=this.stack.pop();ne.value+=this.sliceSerialize(F),ne.position.end=bl(F.end)}function $(F){const ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ge=ne.children[ne.children.length-1];ge.position.end=bl(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(ne.type)&&(ie.call(this,F),N.call(this,F))}function K(){this.data.atHardBreak=!0}function be(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F}function ue(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F}function ee(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F}function L(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=ne,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function J(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=ne,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function ce(F){const ne=this.sliceSerialize(F),ge=this.stack[this.stack.length-2];ge.label=AE(ne),ge.identifier=dn(ne).toLowerCase()}function ye(){const F=this.stack[this.stack.length-1],ne=this.resume(),ge=this.stack[this.stack.length-1];if(this.data.inReference=!0,ge.type==="link"){const Ce=F.children;ge.children=Ce}else ge.alt=ne}function w(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.url=F}function _(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.title=F}function X(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function ae(F){const ne=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ne,ge.identifier=dn(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType="full"}function me(F){this.data.characterReferenceType=F.type}function fe(F){const ne=this.sliceSerialize(F),ge=this.data.characterReferenceType;let Ce;ge?(Ce=M1(ne,ge==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ce=Cf(ne);const Ue=this.stack[this.stack.length-1];Ue.value+=Ce}function ze(F){const ne=this.stack.pop();ne.position.end=bl(F.end)}function Pe(F){N.call(this,F);const ne=this.stack[this.stack.length-1];ne.url=this.sliceSerialize(F)}function He(F){N.call(this,F);const ne=this.stack[this.stack.length-1];ne.url="mailto:"+this.sliceSerialize(F)}function Qt(){return{type:"blockquote",children:[]}}function En(){return{type:"code",lang:null,meta:null,value:""}}function Qr(){return{type:"inlineCode",value:""}}function aa(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function kn(){return{type:"emphasis",children:[]}}function Xl(){return{type:"heading",depth:0,children:[]}}function Fl(){return{type:"break"}}function ua(){return{type:"html",value:""}}function oa(){return{type:"image",title:null,url:"",alt:null}}function Il(){return{type:"link",title:null,url:"",children:[]}}function Ql(F){return{type:"list",ordered:F.type==="listOrdered",start:null,spread:F._spread,children:[]}}function Zr(F){return{type:"listItem",spread:F._spread,checked:null,children:[]}}function no(){return{type:"paragraph",children:[]}}function lo(){return{type:"strong",children:[]}}function Et(){return{type:"text",value:""}}function ro(){return{type:"thematicBreak"}}}function bl(n){return{line:n.line,column:n.column,offset:n.offset}}function q1(n,r){let i=-1;for(;++i<r.length;){const u=r[i];Array.isArray(u)?q1(n,u):_E(n,u)}}function _E(n,r){let i;for(i in r)if(H1.call(r,i))switch(i){case"canContainEols":{const u=r[i];u&&n[i].push(...u);break}case"transforms":{const u=r[i];u&&n[i].push(...u);break}case"enter":case"exit":{const u=r[i];u&&Object.assign(n[i],u);break}}}function kg(n,r){throw n?new Error("Cannot close `"+n.type+"` ("+Zi({start:n.start,end:n.end})+"): a different token (`"+r.type+"`, "+Zi({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Zi({start:r.start,end:r.end})+") is still open")}function DE(n){const r=this;r.parser=i;function i(u){return zE(u,{...r.data("settings"),...n,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function RE(n,r){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(r),!0)};return n.patch(r,i),n.applyData(r,i)}function OE(n,r){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(r,i),[n.applyData(r,i),{type:"text",value:`
|
|
@@ -489,7 +484,7 @@ Error generating stack: `+a.message+`
|
|
|
489
484
|
`});++u<n.length;)u&&i.push({type:"text",value:`
|
|
490
485
|
`}),i.push(n[u]);return r&&n.length>0&&i.push({type:"text",value:`
|
|
491
486
|
`}),i}function _g(n){let r=0,i=n.charCodeAt(r);for(;i===9||i===32;)r++,i=n.charCodeAt(r);return n.slice(r)}function Dg(n,r){const i=xk(n,r),u=i.one(n,void 0),o=fk(i),c=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return o&&c.children.push({type:"text",value:`
|
|
492
|
-
`},o),c}function Ak(n,r){return n&&"run"in n?async function(i,u){const o=Dg(i,{file:u,...r});await n.run(o,u)}:function(i,u){return Dg(i,{file:u,...n||r})}}function Rg(n){if(n)throw n}var _s,Og;function Tk(){if(Og)return _s;Og=1;var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,u=Object.getOwnPropertyDescriptor,o=function(p){return typeof Array.isArray=="function"?Array.isArray(p):r.call(p)==="[object Array]"},c=function(p){if(!p||r.call(p)!=="[object Object]")return!1;var y=n.call(p,"constructor"),g=p.constructor&&p.constructor.prototype&&n.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!y&&!g)return!1;var b;for(b in p);return typeof b>"u"||n.call(p,b)},f=function(p,y){i&&y.name==="__proto__"?i(p,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):p[y.name]=y.newValue},h=function(p,y){if(y==="__proto__")if(n.call(p,y)){if(u)return u(p,y).value}else return;return p[y]};return _s=function m(){var p,y,g,b,S,k,C=arguments[0],T=1,A=arguments.length,q=!1;for(typeof C=="boolean"&&(q=C,C=arguments[1]||{},T=2),(C==null||typeof C!="object"&&typeof C!="function")&&(C={});T<A;++T)if(p=arguments[T],p!=null)for(y in p)g=h(C,y),b=h(p,y),C!==b&&(q&&b&&(c(b)||(S=o(b)))?(S?(S=!1,k=g&&o(g)?g:[]):k=g&&c(g)?g:{},f(C,{name:y,newValue:m(q,k,b)})):typeof b<"u"&&f(C,{name:y,newValue:b}));return C},_s}var zk=Tk();const Ds=ea(zk);function uf(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function Mk(){const n=[],r={run:i,use:u};return r;function i(...o){let c=-1;const f=o.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);h(null,...o);function h(m,...p){const y=n[++c];let g=-1;if(m){f(m);return}for(;++g<o.length;)(p[g]===null||p[g]===void 0)&&(p[g]=o[g]);o=p,y?_k(y,h)(...p):f(null,...p)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return n.push(o),r}}function _k(n,r){let i;return u;function u(...f){const h=n.length>f.length;let m;h&&f.push(o);try{m=n.apply(this,f)}catch(p){const y=p;if(h&&i)throw y;return o(y)}h||(m&&m.then&&typeof m.then=="function"?m.then(c,o):m instanceof Error?o(m):c(m))}function o(f,...h){i||(i=!0,r(f,...h))}function c(f){o(null,f)}}const vn={basename:Dk,dirname:Rk,extname:Ok,join:Nk,sep:"/"};function Dk(n,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');la(n);let i=0,u=-1,o=n.length,c;if(r===void 0||r.length===0||r.length>n.length){for(;o--;)if(n.codePointAt(o)===47){if(c){i=o+1;break}}else u<0&&(c=!0,u=o+1);return u<0?"":n.slice(i,u)}if(r===n)return"";let f=-1,h=r.length-1;for(;o--;)if(n.codePointAt(o)===47){if(c){i=o+1;break}}else f<0&&(c=!0,f=o+1),h>-1&&(n.codePointAt(o)===r.codePointAt(h--)?h<0&&(u=o):(h=-1,u=f));return i===u?u=f:u<0&&(u=n.length),n.slice(i,u)}function Rk(n){if(la(n),n.length===0)return".";let r=-1,i=n.length,u;for(;--i;)if(n.codePointAt(i)===47){if(u){r=i;break}}else u||(u=!0);return r<0?n.codePointAt(0)===47?"/":".":r===1&&n.codePointAt(0)===47?"//":n.slice(0,r)}function Ok(n){la(n);let r=n.length,i=-1,u=0,o=-1,c=0,f;for(;r--;){const h=n.codePointAt(r);if(h===47){if(f){u=r+1;break}continue}i<0&&(f=!0,i=r+1),h===46?o<0?o=r:c!==1&&(c=1):o>-1&&(c=-1)}return o<0||i<0||c===0||c===1&&o===i-1&&o===u+1?"":n.slice(o,i)}function Nk(...n){let r=-1,i;for(;++r<n.length;)la(n[r]),n[r]&&(i=i===void 0?n[r]:i+"/"+n[r]);return i===void 0?".":Lk(i)}function Lk(n){la(n);const r=n.codePointAt(0)===47;let i=Uk(n,!r);return i.length===0&&!r&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),r?"/"+i:i}function Uk(n,r){let i="",u=0,o=-1,c=0,f=-1,h,m;for(;++f<=n.length;){if(f<n.length)h=n.codePointAt(f);else{if(h===47)break;h=47}if(h===47){if(!(o===f-1||c===1))if(o!==f-1&&c===2){if(i.length<2||u!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(m=i.lastIndexOf("/"),m!==i.length-1){m<0?(i="",u=0):(i=i.slice(0,m),u=i.length-1-i.lastIndexOf("/")),o=f,c=0;continue}}else if(i.length>0){i="",u=0,o=f,c=0;continue}}r&&(i=i.length>0?i+"/..":"..",u=2)}else i.length>0?i+="/"+n.slice(o+1,f):i=n.slice(o+1,f),u=f-o-1;o=f,c=0}else h===46&&c>-1?c++:c=-1}return i}function la(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Bk={cwd:jk};function jk(){return"/"}function of(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function Hk(n){if(typeof n=="string")n=new URL(n);else if(!of(n)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(n.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return qk(n)}function qk(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const r=n.pathname;let i=-1;for(;++i<r.length;)if(r.codePointAt(i)===37&&r.codePointAt(i+1)===50){const u=r.codePointAt(i+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(r)}const Rs=["history","path","basename","stem","extname","dirname"];class Z1{constructor(r){let i;r?of(r)?i={path:r}:typeof r=="string"||Vk(r)?i={value:r}:i=r:i={},this.cwd="cwd"in i?"":Bk.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<Rs.length;){const c=Rs[u];c in i&&i[c]!==void 0&&i[c]!==null&&(this[c]=c==="history"?[...i[c]]:i[c])}let o;for(o in i)Rs.includes(o)||(this[o]=i[o])}get basename(){return typeof this.path=="string"?vn.basename(this.path):void 0}set basename(r){Ns(r,"basename"),Os(r,"basename"),this.path=vn.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?vn.dirname(this.path):void 0}set dirname(r){Ng(this.basename,"dirname"),this.path=vn.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?vn.extname(this.path):void 0}set extname(r){if(Os(r,"extname"),Ng(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=vn.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){of(r)&&(r=Hk(r)),Ns(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?vn.basename(this.path,this.extname):void 0}set stem(r){Ns(r,"stem"),Os(r,"stem"),this.path=vn.join(this.dirname||"",r+(this.extname||""))}fail(r,i,u){const o=this.message(r,i,u);throw o.fatal=!0,o}info(r,i,u){const o=this.message(r,i,u);return o.fatal=void 0,o}message(r,i,u){const o=new xt(r,i,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Os(n,r){if(n&&n.includes(vn.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+vn.sep+"`")}function Ns(n,r){if(!n)throw new Error("`"+r+"` cannot be empty")}function Ng(n,r){if(!n)throw new Error("Setting `"+r+"` requires `path` to be set too")}function Vk(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Yk=(function(n){const u=this.constructor.prototype,o=u[n],c=function(){return o.apply(c,arguments)};return Object.setPrototypeOf(c,u),c}),Gk={}.hasOwnProperty;class Df extends Yk{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Mk()}copy(){const r=new Df;let i=-1;for(;++i<this.attachers.length;){const u=this.attachers[i];r.use(...u)}return r.data(Ds(!0,{},this.namespace)),r}data(r,i){return typeof r=="string"?arguments.length===2?(Bs("data",this.frozen),this.namespace[r]=i,this):Gk.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Bs("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=i.call(r,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const i=Tu(r),u=this.parser||this.Parser;return Ls("parse",u),u(String(i),i)}process(r,i){const u=this;return this.freeze(),Ls("process",this.parser||this.Parser),Us("process",this.compiler||this.Compiler),i?o(void 0,i):new Promise(o);function o(c,f){const h=Tu(r),m=u.parse(h);u.run(m,h,function(y,g,b){if(y||!g||!b)return p(y);const S=g,k=u.stringify(S,b);Ik(k)?b.value=k:b.result=k,p(y,b)});function p(y,g){y||!g?f(y):c?c(g):i(void 0,g)}}}processSync(r){let i=!1,u;return this.freeze(),Ls("processSync",this.parser||this.Parser),Us("processSync",this.compiler||this.Compiler),this.process(r,o),Ug("processSync","process",i),u;function o(c,f){i=!0,Rg(c),u=f}}run(r,i,u){Lg(r),this.freeze();const o=this.transformers;return!u&&typeof i=="function"&&(u=i,i=void 0),u?c(void 0,u):new Promise(c);function c(f,h){const m=Tu(i);o.run(r,m,p);function p(y,g,b){const S=g||r;y?h(y):f?f(S):u(void 0,S,b)}}}runSync(r,i){let u=!1,o;return this.run(r,i,c),Ug("runSync","run",u),o;function c(f,h){Rg(f),o=h,u=!0}}stringify(r,i){this.freeze();const u=Tu(i),o=this.compiler||this.Compiler;return Us("stringify",o),Lg(r),o(r,u)}use(r,...i){const u=this.attachers,o=this.namespace;if(Bs("use",this.frozen),r!=null)if(typeof r=="function")m(r,i);else if(typeof r=="object")Array.isArray(r)?h(r):f(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function c(p){if(typeof p=="function")m(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[y,...g]=p;m(y,g)}else f(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function f(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(p.plugins),p.settings&&(o.settings=Ds(!0,o.settings,p.settings))}function h(p){let y=-1;if(p!=null)if(Array.isArray(p))for(;++y<p.length;){const g=p[y];c(g)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function m(p,y){let g=-1,b=-1;for(;++g<u.length;)if(u[g][0]===p){b=g;break}if(b===-1)u.push([p,...y]);else if(y.length>0){let[S,...k]=y;const C=u[b][1];uf(C)&&uf(S)&&(S=Ds(!0,C,S)),u[b]=[p,S,...k]}}}}const Xk=new Df().freeze();function Ls(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Us(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Bs(n,r){if(r)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Lg(n){if(!uf(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function Ug(n,r,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+r+"` instead")}function Tu(n){return Fk(n)?n:new Z1(n)}function Fk(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function Ik(n){return typeof n=="string"||Qk(n)}function Qk(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Zk="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bg=[],jg={allowDangerousHtml:!0},Kk=/^(https?|ircs?|mailto|xmpp)$/i,Pk=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function PT(n){const r=Jk(n),i=Wk(n);return $k(r.runSync(r.parse(i),i),n)}function Jk(n){const r=n.rehypePlugins||Bg,i=n.remarkPlugins||Bg,u=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...jg}:jg;return Xk().use(DE).use(i).use(Ak,u).use(r)}function Wk(n){const r=n.children||"",i=new Z1;return typeof r=="string"&&(i.value=r),i}function $k(n,r){const i=r.allowedElements,u=r.allowElement,o=r.components,c=r.disallowedElements,f=r.skipHtml,h=r.unwrapDisallowed,m=r.urlTransform||eC;for(const y of Pk)Object.hasOwn(r,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+Zk+y.id,void 0);return r.className&&(n={type:"element",tagName:"div",properties:{className:r.className},children:n.type==="root"?n.children:[n]}),_f(n,p),pS(n,{Fragment:te.Fragment,components:o,ignoreInvalidStyle:!0,jsx:te.jsx,jsxs:te.jsxs,passKeys:!0,passNode:!0});function p(y,g,b){if(y.type==="raw"&&b&&typeof g=="number")return f?b.children.splice(g,1):b.children[g]={type:"text",value:y.value},g;if(y.type==="element"){let S;for(S in Ts)if(Object.hasOwn(Ts,S)&&Object.hasOwn(y.properties,S)){const k=y.properties[S],C=Ts[S];(C===null||C.includes(y.tagName))&&(y.properties[S]=m(String(k||""),S,y))}}if(y.type==="element"){let S=i?!i.includes(y.tagName):c?c.includes(y.tagName):!1;if(!S&&u&&typeof g=="number"&&(S=!u(y,g,b)),S&&b&&typeof g=="number")return h&&y.children?b.children.splice(g,1,...y.children):b.children.splice(g,1),g}}}function eC(n){const r=n.indexOf(":"),i=n.indexOf("?"),u=n.indexOf("#"),o=n.indexOf("/");return r===-1||o!==-1&&r>o||i!==-1&&r>i||u!==-1&&r>u||Kk.test(n.slice(0,r))?n:""}function Hg(n,r){const i=String(n);if(typeof r!="string")throw new TypeError("Expected character");let u=0,o=i.indexOf(r);for(;o!==-1;)u++,o=i.indexOf(r,o+r.length);return u}function tC(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function nC(n,r,i){const o=Ku((i||{}).ignore||[]),c=lC(r);let f=-1;for(;++f<c.length;)Q1(n,"text",h);function h(p,y){let g=-1,b;for(;++g<y.length;){const S=y[g],k=b?b.children:void 0;if(o(S,k?k.indexOf(S):void 0,b))return;b=S}if(b)return m(p,y)}function m(p,y){const g=y[y.length-1],b=c[f][0],S=c[f][1];let k=0;const T=g.children.indexOf(p);let A=!1,q=[];b.lastIndex=0;let O=b.exec(p.value);for(;O;){const G=O.index,P={index:O.index,input:O.input,stack:[...y,p]};let U=S(...O,P);if(typeof U=="string"&&(U=U.length>0?{type:"text",value:U}:void 0),U===!1?b.lastIndex=G+1:(k!==G&&q.push({type:"text",value:p.value.slice(k,G)}),Array.isArray(U)?q.push(...U):U&&q.push(U),k=G+O[0].length,A=!0),!b.global)break;O=b.exec(p.value)}return A?(k<p.value.length&&q.push({type:"text",value:p.value.slice(k)}),g.children.splice(T,1,...q)):q=[p],T+q.length}}function lC(n){const r=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!n[0]||Array.isArray(n[0])?n:[n];let u=-1;for(;++u<i.length;){const o=i[u];r.push([rC(o[0]),iC(o[1])])}return r}function rC(n){return typeof n=="string"?new RegExp(tC(n),"g"):n}function iC(n){return typeof n=="function"?n:function(){return n}}const js="phrasing",Hs=["autolink","link","image","label"];function aC(){return{transforms:[hC],enter:{literalAutolink:oC,literalAutolinkEmail:qs,literalAutolinkHttp:qs,literalAutolinkWww:qs},exit:{literalAutolink:dC,literalAutolinkEmail:fC,literalAutolinkHttp:cC,literalAutolinkWww:sC}}}function uC(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:js,notInConstruct:Hs},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:js,notInConstruct:Hs},{character:":",before:"[ps]",after:"\\/",inConstruct:js,notInConstruct:Hs}]}}function oC(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function qs(n){this.config.enter.autolinkProtocol.call(this,n)}function cC(n){this.config.exit.autolinkProtocol.call(this,n)}function sC(n){this.config.exit.data.call(this,n);const r=this.stack[this.stack.length-1];r.type,r.url="http://"+this.sliceSerialize(n)}function fC(n){this.config.exit.autolinkEmail.call(this,n)}function dC(n){this.exit(n)}function hC(n){nC(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pC],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),mC]],{ignore:["link","linkReference"]})}function pC(n,r,i,u,o){let c="";if(!K1(o)||(/^w/i.test(r)&&(i=r+i,r="",c="http://"),!gC(i)))return!1;const f=yC(i+u);if(!f[0])return!1;const h={type:"link",title:null,url:c+r+f[0],children:[{type:"text",value:r+f[0]}]};return f[1]?[h,{type:"text",value:f[1]}]:h}function mC(n,r,i,u){return!K1(u,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+i,children:[{type:"text",value:r+"@"+i}]}}function gC(n){const r=n.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function yC(n){const r=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!r)return[n,void 0];n=n.slice(0,r.index);let i=r[0],u=i.indexOf(")");const o=Hg(n,"(");let c=Hg(n,")");for(;u!==-1&&o>c;)n+=i.slice(0,u+1),i=i.slice(u+1),u=i.indexOf(")"),c++;return[n,i]}function K1(n,r){const i=n.input.charCodeAt(n.index-1);return(n.index===0||Vl(i)||Iu(i))&&(!r||i!==47)}P1.peek=AC;function vC(){this.buffer()}function bC(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function SC(){this.buffer()}function xC(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function EC(n){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=dn(this.sliceSerialize(n)).toLowerCase(),i.label=r}function kC(n){this.exit(n)}function CC(n){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=dn(this.sliceSerialize(n)).toLowerCase(),i.label=r}function wC(n){this.exit(n)}function AC(){return"["}function P1(n,r,i,u){const o=i.createTracker(u);let c=o.move("[^");const f=i.enter("footnoteReference"),h=i.enter("reference");return c+=o.move(i.safe(i.associationId(n),{after:"]",before:c})),h(),f(),c+=o.move("]"),c}function TC(){return{enter:{gfmFootnoteCallString:vC,gfmFootnoteCall:bC,gfmFootnoteDefinitionLabelString:SC,gfmFootnoteDefinition:xC},exit:{gfmFootnoteCallString:EC,gfmFootnoteCall:kC,gfmFootnoteDefinitionLabelString:CC,gfmFootnoteDefinition:wC}}}function zC(n){let r=!1;return n&&n.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:i,footnoteReference:P1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(u,o,c,f){const h=c.createTracker(f);let m=h.move("[^");const p=c.enter("footnoteDefinition"),y=c.enter("label");return m+=h.move(c.safe(c.associationId(u),{before:m,after:"]"})),y(),m+=h.move("]:"),u.children&&u.children.length>0&&(h.shift(4),m+=h.move((r?`
|
|
487
|
+
`},o),c}function Ak(n,r){return n&&"run"in n?async function(i,u){const o=Dg(i,{file:u,...r});await n.run(o,u)}:function(i,u){return Dg(i,{file:u,...n||r})}}function Rg(n){if(n)throw n}var _s,Og;function Tk(){if(Og)return _s;Og=1;var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,u=Object.getOwnPropertyDescriptor,o=function(p){return typeof Array.isArray=="function"?Array.isArray(p):r.call(p)==="[object Array]"},c=function(p){if(!p||r.call(p)!=="[object Object]")return!1;var y=n.call(p,"constructor"),g=p.constructor&&p.constructor.prototype&&n.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!y&&!g)return!1;var b;for(b in p);return typeof b>"u"||n.call(p,b)},f=function(p,y){i&&y.name==="__proto__"?i(p,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):p[y.name]=y.newValue},h=function(p,y){if(y==="__proto__")if(n.call(p,y)){if(u)return u(p,y).value}else return;return p[y]};return _s=function m(){var p,y,g,b,S,k,C=arguments[0],T=1,A=arguments.length,q=!1;for(typeof C=="boolean"&&(q=C,C=arguments[1]||{},T=2),(C==null||typeof C!="object"&&typeof C!="function")&&(C={});T<A;++T)if(p=arguments[T],p!=null)for(y in p)g=h(C,y),b=h(p,y),C!==b&&(q&&b&&(c(b)||(S=o(b)))?(S?(S=!1,k=g&&o(g)?g:[]):k=g&&c(g)?g:{},f(C,{name:y,newValue:m(q,k,b)})):typeof b<"u"&&f(C,{name:y,newValue:b}));return C},_s}var zk=Tk();const Ds=ea(zk);function uf(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function Mk(){const n=[],r={run:i,use:u};return r;function i(...o){let c=-1;const f=o.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);h(null,...o);function h(m,...p){const y=n[++c];let g=-1;if(m){f(m);return}for(;++g<o.length;)(p[g]===null||p[g]===void 0)&&(p[g]=o[g]);o=p,y?_k(y,h)(...p):f(null,...p)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return n.push(o),r}}function _k(n,r){let i;return u;function u(...f){const h=n.length>f.length;let m;h&&f.push(o);try{m=n.apply(this,f)}catch(p){const y=p;if(h&&i)throw y;return o(y)}h||(m&&m.then&&typeof m.then=="function"?m.then(c,o):m instanceof Error?o(m):c(m))}function o(f,...h){i||(i=!0,r(f,...h))}function c(f){o(null,f)}}const vn={basename:Dk,dirname:Rk,extname:Ok,join:Nk,sep:"/"};function Dk(n,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');la(n);let i=0,u=-1,o=n.length,c;if(r===void 0||r.length===0||r.length>n.length){for(;o--;)if(n.codePointAt(o)===47){if(c){i=o+1;break}}else u<0&&(c=!0,u=o+1);return u<0?"":n.slice(i,u)}if(r===n)return"";let f=-1,h=r.length-1;for(;o--;)if(n.codePointAt(o)===47){if(c){i=o+1;break}}else f<0&&(c=!0,f=o+1),h>-1&&(n.codePointAt(o)===r.codePointAt(h--)?h<0&&(u=o):(h=-1,u=f));return i===u?u=f:u<0&&(u=n.length),n.slice(i,u)}function Rk(n){if(la(n),n.length===0)return".";let r=-1,i=n.length,u;for(;--i;)if(n.codePointAt(i)===47){if(u){r=i;break}}else u||(u=!0);return r<0?n.codePointAt(0)===47?"/":".":r===1&&n.codePointAt(0)===47?"//":n.slice(0,r)}function Ok(n){la(n);let r=n.length,i=-1,u=0,o=-1,c=0,f;for(;r--;){const h=n.codePointAt(r);if(h===47){if(f){u=r+1;break}continue}i<0&&(f=!0,i=r+1),h===46?o<0?o=r:c!==1&&(c=1):o>-1&&(c=-1)}return o<0||i<0||c===0||c===1&&o===i-1&&o===u+1?"":n.slice(o,i)}function Nk(...n){let r=-1,i;for(;++r<n.length;)la(n[r]),n[r]&&(i=i===void 0?n[r]:i+"/"+n[r]);return i===void 0?".":Lk(i)}function Lk(n){la(n);const r=n.codePointAt(0)===47;let i=Uk(n,!r);return i.length===0&&!r&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),r?"/"+i:i}function Uk(n,r){let i="",u=0,o=-1,c=0,f=-1,h,m;for(;++f<=n.length;){if(f<n.length)h=n.codePointAt(f);else{if(h===47)break;h=47}if(h===47){if(!(o===f-1||c===1))if(o!==f-1&&c===2){if(i.length<2||u!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(m=i.lastIndexOf("/"),m!==i.length-1){m<0?(i="",u=0):(i=i.slice(0,m),u=i.length-1-i.lastIndexOf("/")),o=f,c=0;continue}}else if(i.length>0){i="",u=0,o=f,c=0;continue}}r&&(i=i.length>0?i+"/..":"..",u=2)}else i.length>0?i+="/"+n.slice(o+1,f):i=n.slice(o+1,f),u=f-o-1;o=f,c=0}else h===46&&c>-1?c++:c=-1}return i}function la(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Bk={cwd:jk};function jk(){return"/"}function of(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function Hk(n){if(typeof n=="string")n=new URL(n);else if(!of(n)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(n.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return qk(n)}function qk(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const r=n.pathname;let i=-1;for(;++i<r.length;)if(r.codePointAt(i)===37&&r.codePointAt(i+1)===50){const u=r.codePointAt(i+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(r)}const Rs=["history","path","basename","stem","extname","dirname"];class Z1{constructor(r){let i;r?of(r)?i={path:r}:typeof r=="string"||Vk(r)?i={value:r}:i=r:i={},this.cwd="cwd"in i?"":Bk.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<Rs.length;){const c=Rs[u];c in i&&i[c]!==void 0&&i[c]!==null&&(this[c]=c==="history"?[...i[c]]:i[c])}let o;for(o in i)Rs.includes(o)||(this[o]=i[o])}get basename(){return typeof this.path=="string"?vn.basename(this.path):void 0}set basename(r){Ns(r,"basename"),Os(r,"basename"),this.path=vn.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?vn.dirname(this.path):void 0}set dirname(r){Ng(this.basename,"dirname"),this.path=vn.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?vn.extname(this.path):void 0}set extname(r){if(Os(r,"extname"),Ng(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=vn.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){of(r)&&(r=Hk(r)),Ns(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?vn.basename(this.path,this.extname):void 0}set stem(r){Ns(r,"stem"),Os(r,"stem"),this.path=vn.join(this.dirname||"",r+(this.extname||""))}fail(r,i,u){const o=this.message(r,i,u);throw o.fatal=!0,o}info(r,i,u){const o=this.message(r,i,u);return o.fatal=void 0,o}message(r,i,u){const o=new xt(r,i,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Os(n,r){if(n&&n.includes(vn.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+vn.sep+"`")}function Ns(n,r){if(!n)throw new Error("`"+r+"` cannot be empty")}function Ng(n,r){if(!n)throw new Error("Setting `"+r+"` requires `path` to be set too")}function Vk(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Yk=(function(n){const u=this.constructor.prototype,o=u[n],c=function(){return o.apply(c,arguments)};return Object.setPrototypeOf(c,u),c}),Gk={}.hasOwnProperty;class Df extends Yk{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Mk()}copy(){const r=new Df;let i=-1;for(;++i<this.attachers.length;){const u=this.attachers[i];r.use(...u)}return r.data(Ds(!0,{},this.namespace)),r}data(r,i){return typeof r=="string"?arguments.length===2?(Bs("data",this.frozen),this.namespace[r]=i,this):Gk.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Bs("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=i.call(r,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const i=Tu(r),u=this.parser||this.Parser;return Ls("parse",u),u(String(i),i)}process(r,i){const u=this;return this.freeze(),Ls("process",this.parser||this.Parser),Us("process",this.compiler||this.Compiler),i?o(void 0,i):new Promise(o);function o(c,f){const h=Tu(r),m=u.parse(h);u.run(m,h,function(y,g,b){if(y||!g||!b)return p(y);const S=g,k=u.stringify(S,b);Ik(k)?b.value=k:b.result=k,p(y,b)});function p(y,g){y||!g?f(y):c?c(g):i(void 0,g)}}}processSync(r){let i=!1,u;return this.freeze(),Ls("processSync",this.parser||this.Parser),Us("processSync",this.compiler||this.Compiler),this.process(r,o),Ug("processSync","process",i),u;function o(c,f){i=!0,Rg(c),u=f}}run(r,i,u){Lg(r),this.freeze();const o=this.transformers;return!u&&typeof i=="function"&&(u=i,i=void 0),u?c(void 0,u):new Promise(c);function c(f,h){const m=Tu(i);o.run(r,m,p);function p(y,g,b){const S=g||r;y?h(y):f?f(S):u(void 0,S,b)}}}runSync(r,i){let u=!1,o;return this.run(r,i,c),Ug("runSync","run",u),o;function c(f,h){Rg(f),o=h,u=!0}}stringify(r,i){this.freeze();const u=Tu(i),o=this.compiler||this.Compiler;return Us("stringify",o),Lg(r),o(r,u)}use(r,...i){const u=this.attachers,o=this.namespace;if(Bs("use",this.frozen),r!=null)if(typeof r=="function")m(r,i);else if(typeof r=="object")Array.isArray(r)?h(r):f(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function c(p){if(typeof p=="function")m(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[y,...g]=p;m(y,g)}else f(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function f(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(p.plugins),p.settings&&(o.settings=Ds(!0,o.settings,p.settings))}function h(p){let y=-1;if(p!=null)if(Array.isArray(p))for(;++y<p.length;){const g=p[y];c(g)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function m(p,y){let g=-1,b=-1;for(;++g<u.length;)if(u[g][0]===p){b=g;break}if(b===-1)u.push([p,...y]);else if(y.length>0){let[S,...k]=y;const C=u[b][1];uf(C)&&uf(S)&&(S=Ds(!0,C,S)),u[b]=[p,S,...k]}}}}const Xk=new Df().freeze();function Ls(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Us(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Bs(n,r){if(r)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Lg(n){if(!uf(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function Ug(n,r,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+r+"` instead")}function Tu(n){return Fk(n)?n:new Z1(n)}function Fk(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function Ik(n){return typeof n=="string"||Qk(n)}function Qk(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Zk="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bg=[],jg={allowDangerousHtml:!0},Kk=/^(https?|ircs?|mailto|xmpp)$/i,Pk=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function KT(n){const r=Jk(n),i=Wk(n);return $k(r.runSync(r.parse(i),i),n)}function Jk(n){const r=n.rehypePlugins||Bg,i=n.remarkPlugins||Bg,u=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...jg}:jg;return Xk().use(DE).use(i).use(Ak,u).use(r)}function Wk(n){const r=n.children||"",i=new Z1;return typeof r=="string"&&(i.value=r),i}function $k(n,r){const i=r.allowedElements,u=r.allowElement,o=r.components,c=r.disallowedElements,f=r.skipHtml,h=r.unwrapDisallowed,m=r.urlTransform||eC;for(const y of Pk)Object.hasOwn(r,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+Zk+y.id,void 0);return r.className&&(n={type:"element",tagName:"div",properties:{className:r.className},children:n.type==="root"?n.children:[n]}),_f(n,p),pS(n,{Fragment:te.Fragment,components:o,ignoreInvalidStyle:!0,jsx:te.jsx,jsxs:te.jsxs,passKeys:!0,passNode:!0});function p(y,g,b){if(y.type==="raw"&&b&&typeof g=="number")return f?b.children.splice(g,1):b.children[g]={type:"text",value:y.value},g;if(y.type==="element"){let S;for(S in Ts)if(Object.hasOwn(Ts,S)&&Object.hasOwn(y.properties,S)){const k=y.properties[S],C=Ts[S];(C===null||C.includes(y.tagName))&&(y.properties[S]=m(String(k||""),S,y))}}if(y.type==="element"){let S=i?!i.includes(y.tagName):c?c.includes(y.tagName):!1;if(!S&&u&&typeof g=="number"&&(S=!u(y,g,b)),S&&b&&typeof g=="number")return h&&y.children?b.children.splice(g,1,...y.children):b.children.splice(g,1),g}}}function eC(n){const r=n.indexOf(":"),i=n.indexOf("?"),u=n.indexOf("#"),o=n.indexOf("/");return r===-1||o!==-1&&r>o||i!==-1&&r>i||u!==-1&&r>u||Kk.test(n.slice(0,r))?n:""}function Hg(n,r){const i=String(n);if(typeof r!="string")throw new TypeError("Expected character");let u=0,o=i.indexOf(r);for(;o!==-1;)u++,o=i.indexOf(r,o+r.length);return u}function tC(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function nC(n,r,i){const o=Ku((i||{}).ignore||[]),c=lC(r);let f=-1;for(;++f<c.length;)Q1(n,"text",h);function h(p,y){let g=-1,b;for(;++g<y.length;){const S=y[g],k=b?b.children:void 0;if(o(S,k?k.indexOf(S):void 0,b))return;b=S}if(b)return m(p,y)}function m(p,y){const g=y[y.length-1],b=c[f][0],S=c[f][1];let k=0;const T=g.children.indexOf(p);let A=!1,q=[];b.lastIndex=0;let O=b.exec(p.value);for(;O;){const G=O.index,P={index:O.index,input:O.input,stack:[...y,p]};let U=S(...O,P);if(typeof U=="string"&&(U=U.length>0?{type:"text",value:U}:void 0),U===!1?b.lastIndex=G+1:(k!==G&&q.push({type:"text",value:p.value.slice(k,G)}),Array.isArray(U)?q.push(...U):U&&q.push(U),k=G+O[0].length,A=!0),!b.global)break;O=b.exec(p.value)}return A?(k<p.value.length&&q.push({type:"text",value:p.value.slice(k)}),g.children.splice(T,1,...q)):q=[p],T+q.length}}function lC(n){const r=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!n[0]||Array.isArray(n[0])?n:[n];let u=-1;for(;++u<i.length;){const o=i[u];r.push([rC(o[0]),iC(o[1])])}return r}function rC(n){return typeof n=="string"?new RegExp(tC(n),"g"):n}function iC(n){return typeof n=="function"?n:function(){return n}}const js="phrasing",Hs=["autolink","link","image","label"];function aC(){return{transforms:[hC],enter:{literalAutolink:oC,literalAutolinkEmail:qs,literalAutolinkHttp:qs,literalAutolinkWww:qs},exit:{literalAutolink:dC,literalAutolinkEmail:fC,literalAutolinkHttp:cC,literalAutolinkWww:sC}}}function uC(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:js,notInConstruct:Hs},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:js,notInConstruct:Hs},{character:":",before:"[ps]",after:"\\/",inConstruct:js,notInConstruct:Hs}]}}function oC(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function qs(n){this.config.enter.autolinkProtocol.call(this,n)}function cC(n){this.config.exit.autolinkProtocol.call(this,n)}function sC(n){this.config.exit.data.call(this,n);const r=this.stack[this.stack.length-1];r.type,r.url="http://"+this.sliceSerialize(n)}function fC(n){this.config.exit.autolinkEmail.call(this,n)}function dC(n){this.exit(n)}function hC(n){nC(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pC],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),mC]],{ignore:["link","linkReference"]})}function pC(n,r,i,u,o){let c="";if(!K1(o)||(/^w/i.test(r)&&(i=r+i,r="",c="http://"),!gC(i)))return!1;const f=yC(i+u);if(!f[0])return!1;const h={type:"link",title:null,url:c+r+f[0],children:[{type:"text",value:r+f[0]}]};return f[1]?[h,{type:"text",value:f[1]}]:h}function mC(n,r,i,u){return!K1(u,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+i,children:[{type:"text",value:r+"@"+i}]}}function gC(n){const r=n.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function yC(n){const r=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!r)return[n,void 0];n=n.slice(0,r.index);let i=r[0],u=i.indexOf(")");const o=Hg(n,"(");let c=Hg(n,")");for(;u!==-1&&o>c;)n+=i.slice(0,u+1),i=i.slice(u+1),u=i.indexOf(")"),c++;return[n,i]}function K1(n,r){const i=n.input.charCodeAt(n.index-1);return(n.index===0||Vl(i)||Iu(i))&&(!r||i!==47)}P1.peek=AC;function vC(){this.buffer()}function bC(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function SC(){this.buffer()}function xC(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function EC(n){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=dn(this.sliceSerialize(n)).toLowerCase(),i.label=r}function kC(n){this.exit(n)}function CC(n){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=dn(this.sliceSerialize(n)).toLowerCase(),i.label=r}function wC(n){this.exit(n)}function AC(){return"["}function P1(n,r,i,u){const o=i.createTracker(u);let c=o.move("[^");const f=i.enter("footnoteReference"),h=i.enter("reference");return c+=o.move(i.safe(i.associationId(n),{after:"]",before:c})),h(),f(),c+=o.move("]"),c}function TC(){return{enter:{gfmFootnoteCallString:vC,gfmFootnoteCall:bC,gfmFootnoteDefinitionLabelString:SC,gfmFootnoteDefinition:xC},exit:{gfmFootnoteCallString:EC,gfmFootnoteCall:kC,gfmFootnoteDefinitionLabelString:CC,gfmFootnoteDefinition:wC}}}function zC(n){let r=!1;return n&&n.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:i,footnoteReference:P1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(u,o,c,f){const h=c.createTracker(f);let m=h.move("[^");const p=c.enter("footnoteDefinition"),y=c.enter("label");return m+=h.move(c.safe(c.associationId(u),{before:m,after:"]"})),y(),m+=h.move("]:"),u.children&&u.children.length>0&&(h.shift(4),m+=h.move((r?`
|
|
493
488
|
`:" ")+c.indentLines(c.containerFlow(u,h.current()),r?J1:MC))),p(),m}}function MC(n,r,i){return r===0?n:J1(n,r,i)}function J1(n,r,i){return(i?"":" ")+n}const _C=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];W1.peek=LC;function DC(){return{canContainEols:["delete"],enter:{strikethrough:OC},exit:{strikethrough:NC}}}function RC(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_C}],handlers:{delete:W1}}}function OC(n){this.enter({type:"delete",children:[]},n)}function NC(n){this.exit(n)}function W1(n,r,i,u){const o=i.createTracker(u),c=i.enter("strikethrough");let f=o.move("~~");return f+=i.containerPhrasing(n,{...o.current(),before:f,after:"~"}),f+=o.move("~~"),c(),f}function LC(){return"~"}function UC(n){return n.length}function BC(n,r){const i=r||{},u=(i.align||[]).concat(),o=i.stringLength||UC,c=[],f=[],h=[],m=[];let p=0,y=-1;for(;++y<n.length;){const C=[],T=[];let A=-1;for(n[y].length>p&&(p=n[y].length);++A<n[y].length;){const q=jC(n[y][A]);if(i.alignDelimiters!==!1){const O=o(q);T[A]=O,(m[A]===void 0||O>m[A])&&(m[A]=O)}C.push(q)}f[y]=C,h[y]=T}let g=-1;if(typeof u=="object"&&"length"in u)for(;++g<p;)c[g]=qg(u[g]);else{const C=qg(u);for(;++g<p;)c[g]=C}g=-1;const b=[],S=[];for(;++g<p;){const C=c[g];let T="",A="";C===99?(T=":",A=":"):C===108?T=":":C===114&&(A=":");let q=i.alignDelimiters===!1?1:Math.max(1,m[g]-T.length-A.length);const O=T+"-".repeat(q)+A;i.alignDelimiters!==!1&&(q=T.length+q+A.length,q>m[g]&&(m[g]=q),S[g]=q),b[g]=O}f.splice(1,0,b),h.splice(1,0,S),y=-1;const k=[];for(;++y<f.length;){const C=f[y],T=h[y];g=-1;const A=[];for(;++g<p;){const q=C[g]||"";let O="",G="";if(i.alignDelimiters!==!1){const P=m[g]-(T[g]||0),U=c[g];U===114?O=" ".repeat(P):U===99?P%2?(O=" ".repeat(P/2+.5),G=" ".repeat(P/2-.5)):(O=" ".repeat(P/2),G=O):G=" ".repeat(P)}i.delimiterStart!==!1&&!g&&A.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&q==="")&&(i.delimiterStart!==!1||g)&&A.push(" "),i.alignDelimiters!==!1&&A.push(O),A.push(q),i.alignDelimiters!==!1&&A.push(G),i.padding!==!1&&A.push(" "),(i.delimiterEnd!==!1||g!==p-1)&&A.push("|")}k.push(i.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return k.join(`
|
|
494
489
|
`)}function jC(n){return n==null?"":String(n)}function qg(n){const r=typeof n=="string"?n.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}function HC(n,r,i,u){const o=i.enter("blockquote"),c=i.createTracker(u);c.move("> "),c.shift(2);const f=i.indentLines(i.containerFlow(n,c.current()),qC);return o(),f}function qC(n,r,i){return">"+(i?"":" ")+n}function VC(n,r){return Vg(n,r.inConstruct,!0)&&!Vg(n,r.notInConstruct,!1)}function Vg(n,r,i){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return i;let u=-1;for(;++u<r.length;)if(n.includes(r[u]))return!0;return!1}function Yg(n,r,i,u){let o=-1;for(;++o<i.unsafe.length;)if(i.unsafe[o].character===`
|
|
495
490
|
`&&VC(i.stack,i.unsafe[o]))return/[ \t]/.test(u.before)?"":" ";return`\\
|
|
@@ -504,8 +499,8 @@ Error generating stack: `+a.message+`
|
|
|
504
499
|
`))+1))}const f="#".repeat(o),h=i.enter("headingAtx"),m=i.enter("phrasing");c.move(f+" ");let p=i.containerPhrasing(n,{before:"# ",after:`
|
|
505
500
|
`,...c.current()});return/^[\t ]/.test(p)&&(p=$i(p.charCodeAt(0))+p.slice(1)),p=p?f+" "+p:f,i.options.closeAtx&&(p+=" "+f),m(),h(),p}ey.peek=WC;function ey(n){return n.value||""}function WC(){return"<"}ty.peek=$C;function ty(n,r,i,u){const o=Rf(i),c=o==='"'?"Quote":"Apostrophe",f=i.enter("image");let h=i.enter("label");const m=i.createTracker(u);let p=m.move("![");return p+=m.move(i.safe(n.alt,{before:p,after:"]",...m.current()})),p+=m.move("]("),h(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(h=i.enter("destinationLiteral"),p+=m.move("<"),p+=m.move(i.safe(n.url,{before:p,after:">",...m.current()})),p+=m.move(">")):(h=i.enter("destinationRaw"),p+=m.move(i.safe(n.url,{before:p,after:n.title?" ":")",...m.current()}))),h(),n.title&&(h=i.enter(`title${c}`),p+=m.move(" "+o),p+=m.move(i.safe(n.title,{before:p,after:o,...m.current()})),p+=m.move(o),h()),p+=m.move(")"),f(),p}function $C(){return"!"}ny.peek=ew;function ny(n,r,i,u){const o=n.referenceType,c=i.enter("imageReference");let f=i.enter("label");const h=i.createTracker(u);let m=h.move("![");const p=i.safe(n.alt,{before:m,after:"]",...h.current()});m+=h.move(p+"]["),f();const y=i.stack;i.stack=[],f=i.enter("reference");const g=i.safe(i.associationId(n),{before:m,after:"]",...h.current()});return f(),i.stack=y,c(),o==="full"||!p||p!==g?m+=h.move(g+"]"):o==="shortcut"?m=m.slice(0,-1):m+=h.move("]"),m}function ew(){return"!"}ly.peek=tw;function ly(n,r,i){let u=n.value||"",o="`",c=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(u);)o+="`";for(/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^`|`$/.test(u))&&(u=" "+u+" ");++c<i.unsafe.length;){const f=i.unsafe[c],h=i.compilePattern(f);let m;if(f.atBreak)for(;m=h.exec(u);){let p=m.index;u.charCodeAt(p)===10&&u.charCodeAt(p-1)===13&&p--,u=u.slice(0,p)+" "+u.slice(m.index+1)}}return o+u+o}function tw(){return"`"}function ry(n,r){const i=kf(n);return!!(!r.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(i===n.url||"mailto:"+i===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}iy.peek=nw;function iy(n,r,i,u){const o=Rf(i),c=o==='"'?"Quote":"Apostrophe",f=i.createTracker(u);let h,m;if(ry(n,i)){const y=i.stack;i.stack=[],h=i.enter("autolink");let g=f.move("<");return g+=f.move(i.containerPhrasing(n,{before:g,after:">",...f.current()})),g+=f.move(">"),h(),i.stack=y,g}h=i.enter("link"),m=i.enter("label");let p=f.move("[");return p+=f.move(i.containerPhrasing(n,{before:p,after:"](",...f.current()})),p+=f.move("]("),m(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(m=i.enter("destinationLiteral"),p+=f.move("<"),p+=f.move(i.safe(n.url,{before:p,after:">",...f.current()})),p+=f.move(">")):(m=i.enter("destinationRaw"),p+=f.move(i.safe(n.url,{before:p,after:n.title?" ":")",...f.current()}))),m(),n.title&&(m=i.enter(`title${c}`),p+=f.move(" "+o),p+=f.move(i.safe(n.title,{before:p,after:o,...f.current()})),p+=f.move(o),m()),p+=f.move(")"),h(),p}function nw(n,r,i){return ry(n,i)?"<":"["}ay.peek=lw;function ay(n,r,i,u){const o=n.referenceType,c=i.enter("linkReference");let f=i.enter("label");const h=i.createTracker(u);let m=h.move("[");const p=i.containerPhrasing(n,{before:m,after:"]",...h.current()});m+=h.move(p+"]["),f();const y=i.stack;i.stack=[],f=i.enter("reference");const g=i.safe(i.associationId(n),{before:m,after:"]",...h.current()});return f(),i.stack=y,c(),o==="full"||!p||p!==g?m+=h.move(g+"]"):o==="shortcut"?m=m.slice(0,-1):m+=h.move("]"),m}function lw(){return"["}function Of(n){const r=n.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function rw(n){const r=Of(n),i=n.options.bulletOther;if(!i)return r==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+i+"`) to be different");return i}function iw(n){const r=n.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function uy(n){const r=n.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function aw(n,r,i,u){const o=i.enter("list"),c=i.bulletCurrent;let f=n.ordered?iw(i):Of(i);const h=n.ordered?f==="."?")":".":rw(i);let m=r&&i.bulletLastUsed?f===i.bulletLastUsed:!1;if(!n.ordered){const y=n.children?n.children[0]:void 0;if((f==="*"||f==="-")&&y&&(!y.children||!y.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(m=!0),uy(i)===f&&y){let g=-1;for(;++g<n.children.length;){const b=n.children[g];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){m=!0;break}}}}m&&(f=h),i.bulletCurrent=f;const p=i.containerFlow(n,u);return i.bulletLastUsed=f,i.bulletCurrent=c,o(),p}function uw(n){const r=n.options.listItemIndent||"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function ow(n,r,i,u){const o=uw(i);let c=i.bulletCurrent||Of(i);r&&r.type==="list"&&r.ordered&&(c=(typeof r.start=="number"&&r.start>-1?r.start:1)+(i.options.incrementListMarker===!1?0:r.children.indexOf(n))+c);let f=c.length+1;(o==="tab"||o==="mixed"&&(r&&r.type==="list"&&r.spread||n.spread))&&(f=Math.ceil(f/4)*4);const h=i.createTracker(u);h.move(c+" ".repeat(f-c.length)),h.shift(f);const m=i.enter("listItem"),p=i.indentLines(i.containerFlow(n,h.current()),y);return m(),p;function y(g,b,S){return b?(S?"":" ".repeat(f))+g:(S?c:c+" ".repeat(f-c.length))+g}}function cw(n,r,i,u){const o=i.enter("paragraph"),c=i.enter("phrasing"),f=i.containerPhrasing(n,u);return c(),o(),f}const sw=Ku(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function fw(n,r,i,u){return(n.children.some(function(f){return sw(f)})?i.containerPhrasing:i.containerFlow).call(i,n,u)}function dw(n){const r=n.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}oy.peek=hw;function oy(n,r,i,u){const o=dw(i),c=i.enter("strong"),f=i.createTracker(u),h=f.move(o+o);let m=f.move(i.containerPhrasing(n,{after:o,before:h,...f.current()}));const p=m.charCodeAt(0),y=Vu(u.before.charCodeAt(u.before.length-1),p,o);y.inside&&(m=$i(p)+m.slice(1));const g=m.charCodeAt(m.length-1),b=Vu(u.after.charCodeAt(0),g,o);b.inside&&(m=m.slice(0,-1)+$i(g));const S=f.move(o+o);return c(),i.attentionEncodeSurroundingInfo={after:b.outside,before:y.outside},h+m+S}function hw(n,r,i){return i.options.strong||"*"}function pw(n,r,i,u){return i.safe(n.value,u)}function mw(n){const r=n.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function gw(n,r,i){const u=(uy(i)+(i.options.ruleSpaces?" ":"")).repeat(mw(i));return i.options.ruleSpaces?u.slice(0,-1):u}const cy={blockquote:HC,break:Yg,code:FC,definition:QC,emphasis:$1,hardBreak:Yg,heading:JC,html:ey,image:ty,imageReference:ny,inlineCode:ly,link:iy,linkReference:ay,list:aw,listItem:ow,paragraph:cw,root:fw,strong:oy,text:pw,thematicBreak:gw};function yw(){return{enter:{table:vw,tableData:Gg,tableHeader:Gg,tableRow:Sw},exit:{codeText:xw,table:bw,tableData:Vs,tableHeader:Vs,tableRow:Vs}}}function vw(n){const r=n._align;this.enter({type:"table",align:r.map(function(i){return i==="none"?null:i}),children:[]},n),this.data.inTable=!0}function bw(n){this.exit(n),this.data.inTable=void 0}function Sw(n){this.enter({type:"tableRow",children:[]},n)}function Vs(n){this.exit(n)}function Gg(n){this.enter({type:"tableCell",children:[]},n)}function xw(n){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,Ew));const i=this.stack[this.stack.length-1];i.type,i.value=r,this.exit(n)}function Ew(n,r){return r==="|"?r:n}function kw(n){const r=n||{},i=r.tableCellPadding,u=r.tablePipeAlign,o=r.stringLength,c=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
506
501
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:f,tableCell:m,tableRow:h}};function f(S,k,C,T){return p(y(S,C,T),S.align)}function h(S,k,C,T){const A=g(S,C,T),q=p([A]);return q.slice(0,q.indexOf(`
|
|
507
|
-
`))}function m(S,k,C,T){const A=C.enter("tableCell"),q=C.enter("phrasing"),O=C.containerPhrasing(S,{...T,before:c,after:c});return q(),A(),O}function p(S,k){return BC(S,{align:k,alignDelimiters:u,padding:i,stringLength:o})}function y(S,k,C){const T=S.children;let A=-1;const q=[],O=k.enter("table");for(;++A<T.length;)q[A]=g(T[A],k,C);return O(),q}function g(S,k,C){const T=S.children;let A=-1;const q=[],O=k.enter("tableRow");for(;++A<T.length;)q[A]=m(T[A],S,k,C);return O(),q}function b(S,k,C){let T=cy.inlineCode(S,k,C);return C.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function Cw(){return{exit:{taskListCheckValueChecked:Xg,taskListCheckValueUnchecked:Xg,paragraph:Aw}}}function ww(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Tw}}}function Xg(n){const r=this.stack[this.stack.length-2];r.type,r.checked=n.type==="taskListCheckValueChecked"}function Aw(n){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const u=i.children[0];if(u&&u.type==="text"){const o=r.children;let c=-1,f;for(;++c<o.length;){const h=o[c];if(h.type==="paragraph"){f=h;break}}f===i&&(u.value=u.value.slice(1),u.value.length===0?i.children.shift():i.position&&u.position&&typeof u.position.start.offset=="number"&&(u.position.start.column++,u.position.start.offset++,i.position.start=Object.assign({},u.position.start)))}}this.exit(n)}function Tw(n,r,i,u){const o=n.children[0],c=typeof n.checked=="boolean"&&o&&o.type==="paragraph",f="["+(n.checked?"x":" ")+"] ",h=i.createTracker(u);c&&h.move(f);let m=cy.listItem(n,r,i,{...u,...h.current()});return c&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,p)),m;function p(y){return y+f}}function zw(){return[aC(),TC(),DC(),yw(),Cw()]}function Mw(n){return{extensions:[uC(),zC(n),RC(),kw(n),ww()]}}const _w={tokenize:Uw,partial:!0},sy={tokenize:Bw,partial:!0},fy={tokenize:jw,partial:!0},dy={tokenize:Hw,partial:!0},Dw={tokenize:qw,partial:!0},hy={name:"wwwAutolink",tokenize:Nw,previous:my},py={name:"protocolAutolink",tokenize:Lw,previous:gy},Xn={name:"emailAutolink",tokenize:Ow,previous:yy},Sn={};function Rw(){return{text:Sn}}let ql=48;for(;ql<123;)Sn[ql]=Xn,ql++,ql===58?ql=65:ql===91&&(ql=97);Sn[43]=Xn;Sn[45]=Xn;Sn[46]=Xn;Sn[95]=Xn;Sn[72]=[Xn,py];Sn[104]=[Xn,py];Sn[87]=[Xn,hy];Sn[119]=[Xn,hy];function Ow(n,r,i){const u=this;let o,c;return f;function f(g){return!cf(g)||!yy.call(u,u.previous)||Nf(u.events)?i(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),h(g))}function h(g){return cf(g)?(n.consume(g),h):g===64?(n.consume(g),m):i(g)}function m(g){return g===46?n.check(Dw,y,p)(g):g===45||g===95||bt(g)?(c=!0,n.consume(g),m):y(g)}function p(g){return n.consume(g),o=!0,m}function y(g){return c&&o&&wt(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),r(g)):i(g)}}function Nw(n,r,i){const u=this;return o;function o(f){return f!==87&&f!==119||!my.call(u,u.previous)||Nf(u.events)?i(f):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(_w,n.attempt(sy,n.attempt(fy,c),i),i)(f))}function c(f){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),r(f)}}function Lw(n,r,i){const u=this;let o="",c=!1;return f;function f(g){return(g===72||g===104)&&gy.call(u,u.previous)&&!Nf(u.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),o+=String.fromCodePoint(g),n.consume(g),h):i(g)}function h(g){if(wt(g)&&o.length<5)return o+=String.fromCodePoint(g),n.consume(g),h;if(g===58){const b=o.toLowerCase();if(b==="http"||b==="https")return n.consume(g),m}return i(g)}function m(g){return g===47?(n.consume(g),c?p:(c=!0,m)):i(g)}function p(g){return g===null||ju(g)||Fe(g)||Vl(g)||Iu(g)?i(g):n.attempt(sy,n.attempt(fy,y),i)(g)}function y(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),r(g)}}function Uw(n,r,i){let u=0;return o;function o(f){return(f===87||f===119)&&u<3?(u++,n.consume(f),o):f===46&&u===3?(n.consume(f),c):i(f)}function c(f){return f===null?i(f):r(f)}}function Bw(n,r,i){let u,o,c;return f;function f(p){return p===46||p===95?n.check(dy,m,h)(p):p===null||Fe(p)||Vl(p)||p!==45&&Iu(p)?m(p):(c=!0,n.consume(p),f)}function h(p){return p===95?u=!0:(o=u,u=void 0),n.consume(p),f}function m(p){return o||u||!c?i(p):r(p)}}function jw(n,r){let i=0,u=0;return o;function o(f){return f===40?(i++,n.consume(f),o):f===41&&u<i?c(f):f===33||f===34||f===38||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===60||f===63||f===93||f===95||f===126?n.check(dy,r,c)(f):f===null||Fe(f)||Vl(f)?r(f):(n.consume(f),o)}function c(f){return f===41&&u++,n.consume(f),o}}function Hw(n,r,i){return u;function u(h){return h===33||h===34||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===63||h===95||h===126?(n.consume(h),u):h===38?(n.consume(h),c):h===93?(n.consume(h),o):h===60||h===null||Fe(h)||Vl(h)?r(h):i(h)}function o(h){return h===null||h===40||h===91||Fe(h)||Vl(h)?r(h):u(h)}function c(h){return wt(h)?f(h):i(h)}function f(h){return h===59?(n.consume(h),u):wt(h)?(n.consume(h),f):i(h)}}function qw(n,r,i){return u;function u(c){return n.consume(c),o}function o(c){return bt(c)?i(c):r(c)}}function my(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Fe(n)}function gy(n){return!wt(n)}function yy(n){return!(n===47||cf(n))}function cf(n){return n===43||n===45||n===46||n===95||bt(n)}function Nf(n){let r=n.length,i=!1;for(;r--;){const u=n[r][1];if((u.type==="labelLink"||u.type==="labelImage")&&!u._balanced){i=!0;break}if(u._gfmAutolinkLiteralWalkedInto){i=!1;break}}return n.length>0&&!i&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const Vw={tokenize:Kw,partial:!0};function Yw(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Iw,continuation:{tokenize:Qw},exit:Zw}},text:{91:{name:"gfmFootnoteCall",tokenize:Fw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Gw,resolveTo:Xw}}}}function Gw(n,r,i){const u=this;let o=u.events.length;const c=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let f;for(;o--;){const m=u.events[o][1];if(m.type==="labelImage"){f=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return h;function h(m){if(!f||!f._balanced)return i(m);const p=dn(u.sliceSerialize({start:f.end,end:u.now()}));return p.codePointAt(0)!==94||!c.includes(p.slice(1))?i(m):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(m),n.exit("gfmFootnoteCallLabelMarker"),r(m))}}function Xw(n,r){let i=n.length;for(;i--;)if(n[i][1].type==="labelImage"&&n[i][0]==="enter"){n[i][1];break}n[i+1][1].type="data",n[i+3][1].type="gfmFootnoteCallLabelMarker";const u={type:"gfmFootnoteCall",start:Object.assign({},n[i+3][1].start),end:Object.assign({},n[n.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},n[i+3][1].end),end:Object.assign({},n[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const c={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},n[n.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},h=[n[i+1],n[i+2],["enter",u,r],n[i+3],n[i+4],["enter",o,r],["exit",o,r],["enter",c,r],["enter",f,r],["exit",f,r],["exit",c,r],n[n.length-2],n[n.length-1],["exit",u,r]];return n.splice(i,n.length-i+1,...h),n}function Fw(n,r,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c=0,f;return h;function h(g){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),m}function m(g){return g!==94?i(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",p)}function p(g){if(c>999||g===93&&!f||g===null||g===91||Fe(g))return i(g);if(g===93){n.exit("chunkString");const b=n.exit("gfmFootnoteCallString");return o.includes(dn(u.sliceSerialize(b)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),r):i(g)}return Fe(g)||(f=!0),c++,n.consume(g),g===92?y:p}function y(g){return g===91||g===92||g===93?(n.consume(g),c++,p):p(g)}}function Iw(n,r,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c,f=0,h;return m;function m(k){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionLabelMarker"),p}function p(k){return k===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",y):i(k)}function y(k){if(f>999||k===93&&!h||k===null||k===91||Fe(k))return i(k);if(k===93){n.exit("chunkString");const C=n.exit("gfmFootnoteDefinitionLabelString");return c=dn(u.sliceSerialize(C)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),b}return Fe(k)||(h=!0),f++,n.consume(k),k===92?g:y}function g(k){return k===91||k===92||k===93?(n.consume(k),f++,y):y(k)}function b(k){return k===58?(n.enter("definitionMarker"),n.consume(k),n.exit("definitionMarker"),o.includes(c)||o.push(c),Re(n,S,"gfmFootnoteDefinitionWhitespace")):i(k)}function S(k){return r(k)}}function Qw(n,r,i){return n.check(na,r,n.attempt(Vw,r,i))}function Zw(n){n.exit("gfmFootnoteDefinition")}function Kw(n,r,i){const u=this;return Re(n,o,"gfmFootnoteDefinitionIndent",5);function o(c){const f=u.events[u.events.length-1];return f&&f[1].type==="gfmFootnoteDefinitionIndent"&&f[2].sliceSerialize(f[1],!0).length===4?r(c):i(c)}}function Pw(n){let i=(n||{}).singleTilde;const u={name:"strikethrough",tokenize:c,resolveAll:o};return i==null&&(i=!0),{text:{126:u},insideSpan:{null:[u]},attentionMarkers:{null:[126]}};function o(f,h){let m=-1;for(;++m<f.length;)if(f[m][0]==="enter"&&f[m][1].type==="strikethroughSequenceTemporary"&&f[m][1]._close){let p=m;for(;p--;)if(f[p][0]==="exit"&&f[p][1].type==="strikethroughSequenceTemporary"&&f[p][1]._open&&f[m][1].end.offset-f[m][1].start.offset===f[p][1].end.offset-f[p][1].start.offset){f[m][1].type="strikethroughSequence",f[p][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},f[p][1].start),end:Object.assign({},f[m][1].end)},g={type:"strikethroughText",start:Object.assign({},f[p][1].end),end:Object.assign({},f[m][1].start)},b=[["enter",y,h],["enter",f[p][1],h],["exit",f[p][1],h],["enter",g,h]],S=h.parser.constructs.insideSpan.null;S&&It(b,b.length,0,Qu(S,f.slice(p+1,m),h)),It(b,b.length,0,[["exit",g,h],["enter",f[m][1],h],["exit",f[m][1],h],["exit",y,h]]),It(f,p-1,m-p+3,b),m=p+b.length-2;break}}for(m=-1;++m<f.length;)f[m][1].type==="strikethroughSequenceTemporary"&&(f[m][1].type="data");return f}function c(f,h,m){const p=this.previous,y=this.events;let g=0;return b;function b(k){return p===126&&y[y.length-1][1].type!=="characterEscape"?m(k):(f.enter("strikethroughSequenceTemporary"),S(k))}function S(k){const C=Vr(p);if(k===126)return g>1?m(k):(f.consume(k),g++,S);if(g<2&&!i)return m(k);const T=f.exit("strikethroughSequenceTemporary"),A=Vr(k);return T._open=!A||A===2&&!!C,T._close=!C||C===2&&!!A,h(k)}}}class Jw{constructor(){this.map=[]}add(r,i,u){Ww(this,r,i,u)}consume(r){if(this.map.sort(function(c,f){return c[0]-f[0]}),this.map.length===0)return;let i=this.map.length;const u=[];for(;i>0;)i-=1,u.push(r.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),r.length=this.map[i][0];u.push(r.slice()),r.length=0;let o=u.pop();for(;o;){for(const c of o)r.push(c);o=u.pop()}this.map.length=0}}function Ww(n,r,i,u){let o=0;if(!(i===0&&u.length===0)){for(;o<n.map.length;){if(n.map[o][0]===r){n.map[o][1]+=i,n.map[o][2].push(...u);return}o+=1}n.map.push([r,i,u])}}function $w(n,r){let i=!1;const u=[];for(;r<n.length;){const o=n[r];if(i){if(o[0]==="enter")o[1].type==="tableContent"&&u.push(n[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(n[r-1][1].type==="tableDelimiterMarker"){const c=u.length-1;u[c]=u[c]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(i=!0);r+=1}return u}function eA(){return{flow:{null:{name:"table",tokenize:tA,resolveAll:nA}}}}function tA(n,r,i){const u=this;let o=0,c=0,f;return h;function h(N){let $=u.events.length-1;for(;$>-1;){const ue=u.events[$][1].type;if(ue==="lineEnding"||ue==="linePrefix")$--;else break}const K=$>-1?u.events[$][1].type:null,be=K==="tableHead"||K==="tableRow"?U:m;return be===U&&u.parser.lazy[u.now().line]?i(N):be(N)}function m(N){return n.enter("tableHead"),n.enter("tableRow"),p(N)}function p(N){return N===124||(f=!0,c+=1),y(N)}function y(N){return N===null?i(N):he(N)?c>1?(c=0,u.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(N),n.exit("lineEnding"),S):i(N):Te(N)?Re(n,y,"whitespace")(N):(c+=1,f&&(f=!1,o+=1),N===124?(n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),f=!0,y):(n.enter("data"),g(N)))}function g(N){return N===null||N===124||Fe(N)?(n.exit("data"),y(N)):(n.consume(N),N===92?b:g)}function b(N){return N===92||N===124?(n.consume(N),g):g(N)}function S(N){return u.interrupt=!1,u.parser.lazy[u.now().line]?i(N):(n.enter("tableDelimiterRow"),f=!1,Te(N)?Re(n,k,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):k(N))}function k(N){return N===45||N===58?T(N):N===124?(f=!0,n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),C):P(N)}function C(N){return Te(N)?Re(n,T,"whitespace")(N):T(N)}function T(N){return N===58?(c+=1,f=!0,n.enter("tableDelimiterMarker"),n.consume(N),n.exit("tableDelimiterMarker"),A):N===45?(c+=1,A(N)):N===null||he(N)?G(N):P(N)}function A(N){return N===45?(n.enter("tableDelimiterFiller"),q(N)):P(N)}function q(N){return N===45?(n.consume(N),q):N===58?(f=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(N),n.exit("tableDelimiterMarker"),O):(n.exit("tableDelimiterFiller"),O(N))}function O(N){return Te(N)?Re(n,G,"whitespace")(N):G(N)}function G(N){return N===124?k(N):N===null||he(N)?!f||o!==c?P(N):(n.exit("tableDelimiterRow"),n.exit("tableHead"),r(N)):P(N)}function P(N){return i(N)}function U(N){return n.enter("tableRow"),Q(N)}function Q(N){return N===124?(n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),Q):N===null||he(N)?(n.exit("tableRow"),r(N)):Te(N)?Re(n,Q,"whitespace")(N):(n.enter("data"),re(N))}function re(N){return N===null||N===124||Fe(N)?(n.exit("data"),Q(N)):(n.consume(N),N===92?ie:re)}function ie(N){return N===92||N===124?(n.consume(N),re):re(N)}}function nA(n,r){let i=-1,u=!0,o=0,c=[0,0,0,0],f=[0,0,0,0],h=!1,m=0,p,y,g;const b=new Jw;for(;++i<n.length;){const S=n[i],k=S[1];S[0]==="enter"?k.type==="tableHead"?(h=!1,m!==0&&(Fg(b,r,m,p,y),y=void 0,m=0),p={type:"table",start:Object.assign({},k.start),end:Object.assign({},k.end)},b.add(i,0,[["enter",p,r]])):k.type==="tableRow"||k.type==="tableDelimiterRow"?(u=!0,g=void 0,c=[0,0,0,0],f=[0,i+1,0,0],h&&(h=!1,y={type:"tableBody",start:Object.assign({},k.start),end:Object.assign({},k.end)},b.add(i,0,[["enter",y,r]])),o=k.type==="tableDelimiterRow"?2:y?3:1):o&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")?(u=!1,f[2]===0&&(c[1]!==0&&(f[0]=f[1],g=zu(b,r,c,o,void 0,g),c=[0,0,0,0]),f[2]=i)):k.type==="tableCellDivider"&&(u?u=!1:(c[1]!==0&&(f[0]=f[1],g=zu(b,r,c,o,void 0,g)),c=f,f=[c[1],i,0,0])):k.type==="tableHead"?(h=!0,m=i):k.type==="tableRow"||k.type==="tableDelimiterRow"?(m=i,c[1]!==0?(f[0]=f[1],g=zu(b,r,c,o,i,g)):f[1]!==0&&(g=zu(b,r,f,o,i,g)),o=0):o&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")&&(f[3]=i)}for(m!==0&&Fg(b,r,m,p,y),b.consume(r.events),i=-1;++i<r.events.length;){const S=r.events[i];S[0]==="enter"&&S[1].type==="table"&&(S[1]._align=$w(r.events,i))}return n}function zu(n,r,i,u,o,c){const f=u===1?"tableHeader":u===2?"tableDelimiter":"tableData",h="tableContent";i[0]!==0&&(c.end=Object.assign({},Br(r.events,i[0])),n.add(i[0],0,[["exit",c,r]]));const m=Br(r.events,i[1]);if(c={type:f,start:Object.assign({},m),end:Object.assign({},m)},n.add(i[1],0,[["enter",c,r]]),i[2]!==0){const p=Br(r.events,i[2]),y=Br(r.events,i[3]),g={type:h,start:Object.assign({},p),end:Object.assign({},y)};if(n.add(i[2],0,[["enter",g,r]]),u!==2){const b=r.events[i[2]],S=r.events[i[3]];if(b[1].end=Object.assign({},S[1].end),b[1].type="chunkText",b[1].contentType="text",i[3]>i[2]+1){const k=i[2]+1,C=i[3]-i[2]-1;n.add(k,C,[])}}n.add(i[3]+1,0,[["exit",g,r]])}return o!==void 0&&(c.end=Object.assign({},Br(r.events,o)),n.add(o,0,[["exit",c,r]]),c=void 0),c}function Fg(n,r,i,u,o){const c=[],f=Br(r.events,i);o&&(o.end=Object.assign({},f),c.push(["exit",o,r])),u.end=Object.assign({},f),c.push(["exit",u,r]),n.add(i+1,0,c)}function Br(n,r){const i=n[r],u=i[0]==="enter"?"start":"end";return i[1][u]}const lA={name:"tasklistCheck",tokenize:iA};function rA(){return{text:{91:lA}}}function iA(n,r,i){const u=this;return o;function o(m){return u.previous!==null||!u._gfmTasklistFirstContentOfListItem?i(m):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(m),n.exit("taskListCheckMarker"),c)}function c(m){return Fe(m)?(n.enter("taskListCheckValueUnchecked"),n.consume(m),n.exit("taskListCheckValueUnchecked"),f):m===88||m===120?(n.enter("taskListCheckValueChecked"),n.consume(m),n.exit("taskListCheckValueChecked"),f):i(m)}function f(m){return m===93?(n.enter("taskListCheckMarker"),n.consume(m),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),h):i(m)}function h(m){return he(m)?r(m):Te(m)?n.check({tokenize:aA},r,i)(m):i(m)}}function aA(n,r,i){return Re(n,u,"whitespace");function u(o){return o===null?i(o):r(o)}}function uA(n){return z1([Rw(),Yw(),Pw(n),eA(),rA()])}const oA={};function JT(n){const r=this,i=n||oA,u=r.data(),o=u.micromarkExtensions||(u.micromarkExtensions=[]),c=u.fromMarkdownExtensions||(u.fromMarkdownExtensions=[]),f=u.toMarkdownExtensions||(u.toMarkdownExtensions=[]);o.push(uA(i)),c.push(zw()),f.push(Mw(i))}var vy=i1();const cA=ea(vy);function Yu(n){const r=sA(n),i=M.forwardRef((u,o)=>{const{children:c,...f}=u,h=M.Children.toArray(c),m=h.find(dA);if(m){const p=m.props.children,y=h.map(g=>g===m?M.Children.count(p)>1?M.Children.only(null):M.isValidElement(p)?p.props.children:null:g);return te.jsx(r,{...f,ref:o,children:M.isValidElement(p)?M.cloneElement(p,void 0,y):null})}return te.jsx(r,{...f,ref:o,children:c})});return i.displayName=`${n}.Slot`,i}function sA(n){const r=M.forwardRef((i,u)=>{const{children:o,...c}=i;if(M.isValidElement(o)){const f=pA(o),h=hA(c,o.props);return o.type!==M.Fragment&&(h.ref=u?gf(u,f):f),M.cloneElement(o,h)}return M.Children.count(o)>1?M.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var fA=Symbol("radix.slottable");function dA(n){return M.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===fA}function hA(n,r){const i={...r};for(const u in r){const o=n[u],c=r[u];/^on[A-Z]/.test(u)?o&&c?i[u]=(...h)=>{const m=c(...h);return o(...h),m}:o&&(i[u]=o):u==="style"?i[u]={...o,...c}:u==="className"&&(i[u]=[o,c].filter(Boolean).join(" "))}return{...n,...i}}function pA(n){var u,o;let r=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(o=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:o.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var mA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ot=mA.reduce((n,r)=>{const i=Yu(`Primitive.${r}`),u=M.forwardRef((o,c)=>{const{asChild:f,...h}=o,m=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),te.jsx(m,{...h,ref:c})});return u.displayName=`Primitive.${r}`,{...n,[r]:u}},{});function gA(n,r){n&&vy.flushSync(()=>n.dispatchEvent(r))}var Yr=globalThis!=null&&globalThis.document?M.useLayoutEffect:()=>{};function yA(n,r){return M.useReducer((i,u)=>r[i][u]??i,n)}var Fn=n=>{const{present:r,children:i}=n,u=vA(r),o=typeof i=="function"?i({present:u.isPresent}):M.Children.only(i),c=St(u.ref,bA(o));return typeof i=="function"||u.isPresent?M.cloneElement(o,{ref:c}):null};Fn.displayName="Presence";function vA(n){const[r,i]=M.useState(),u=M.useRef(null),o=M.useRef(n),c=M.useRef("none"),f=n?"mounted":"unmounted",[h,m]=yA(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return M.useEffect(()=>{const p=Mu(u.current);c.current=h==="mounted"?p:"none"},[h]),Yr(()=>{const p=u.current,y=o.current;if(y!==n){const b=c.current,S=Mu(p);n?m("MOUNT"):S==="none"||(p==null?void 0:p.display)==="none"?m("UNMOUNT"):m(y&&b!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=n}},[n,m]),Yr(()=>{if(r){let p;const y=r.ownerDocument.defaultView??window,g=S=>{const C=Mu(u.current).includes(CSS.escape(S.animationName));if(S.target===r&&C&&(m("ANIMATION_END"),!o.current)){const T=r.style.animationFillMode;r.style.animationFillMode="forwards",p=y.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=T)})}},b=S=>{S.target===r&&(c.current=Mu(u.current))};return r.addEventListener("animationstart",b),r.addEventListener("animationcancel",g),r.addEventListener("animationend",g),()=>{y.clearTimeout(p),r.removeEventListener("animationstart",b),r.removeEventListener("animationcancel",g),r.removeEventListener("animationend",g)}}else m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:M.useCallback(p=>{u.current=p?getComputedStyle(p):null,i(p)},[])}}function Mu(n){return(n==null?void 0:n.animationName)||"none"}function bA(n){var u,o;let r=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(o=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:o.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function SA(n,r){const i=M.createContext(r),u=c=>{const{children:f,...h}=c,m=M.useMemo(()=>h,Object.values(h));return te.jsx(i.Provider,{value:m,children:f})};u.displayName=n+"Provider";function o(c){const f=M.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[u,o]}function ra(n,r=[]){let i=[];function u(c,f){const h=M.createContext(f),m=i.length;i=[...i,f];const p=g=>{var A;const{scope:b,children:S,...k}=g,C=((A=b==null?void 0:b[n])==null?void 0:A[m])||h,T=M.useMemo(()=>k,Object.values(k));return te.jsx(C.Provider,{value:T,children:S})};p.displayName=c+"Provider";function y(g,b){var C;const S=((C=b==null?void 0:b[n])==null?void 0:C[m])||h,k=M.useContext(S);if(k)return k;if(f!==void 0)return f;throw new Error(`\`${g}\` must be used within \`${c}\``)}return[p,y]}const o=()=>{const c=i.map(f=>M.createContext(f));return function(h){const m=(h==null?void 0:h[n])||c;return M.useMemo(()=>({[`__scope${n}`]:{...h,[n]:m}}),[h,m])}};return o.scopeName=n,[u,xA(o,...r)]}function xA(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const u=n.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const f=u.reduce((h,{useScope:m,scopeName:p})=>{const g=m(c)[`__scope${p}`];return{...h,...g}},{});return M.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}function Ft(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n}),M.useMemo(()=>(...i)=>{var u;return(u=r.current)==null?void 0:u.call(r,...i)},[])}var EA=M.createContext(void 0);function Lf(n){const r=M.useContext(EA);return n||r||"ltr"}function kA(n,[r,i]){return Math.min(i,Math.max(r,n))}function We(n,r,{checkForDefaultPrevented:i=!0}={}){return function(o){if(n==null||n(o),i===!1||!o.defaultPrevented)return r==null?void 0:r(o)}}function CA(n,r){return M.useReducer((i,u)=>r[i][u]??i,n)}var Uf="ScrollArea",[by]=ra(Uf),[wA,un]=by(Uf),Sy=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,type:u="hover",dir:o,scrollHideDelay:c=600,...f}=n,[h,m]=M.useState(null),[p,y]=M.useState(null),[g,b]=M.useState(null),[S,k]=M.useState(null),[C,T]=M.useState(null),[A,q]=M.useState(0),[O,G]=M.useState(0),[P,U]=M.useState(!1),[Q,re]=M.useState(!1),ie=St(r,$=>m($)),N=Lf(o);return te.jsx(wA,{scope:i,type:u,dir:N,scrollHideDelay:c,scrollArea:h,viewport:p,onViewportChange:y,content:g,onContentChange:b,scrollbarX:S,onScrollbarXChange:k,scrollbarXEnabled:P,onScrollbarXEnabledChange:U,scrollbarY:C,onScrollbarYChange:T,scrollbarYEnabled:Q,onScrollbarYEnabledChange:re,onCornerWidthChange:q,onCornerHeightChange:G,children:te.jsx(ot.div,{dir:N,...f,ref:ie,style:{position:"relative","--radix-scroll-area-corner-width":A+"px","--radix-scroll-area-corner-height":O+"px",...n.style}})})});Sy.displayName=Uf;var xy="ScrollAreaViewport",Ey=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,children:u,nonce:o,...c}=n,f=un(xy,i),h=M.useRef(null),m=St(r,h,f.onViewportChange);return te.jsxs(te.Fragment,{children:[te.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),te.jsx(ot.div,{"data-radix-scroll-area-viewport":"",...c,ref:m,style:{overflowX:f.scrollbarXEnabled?"scroll":"hidden",overflowY:f.scrollbarYEnabled?"scroll":"hidden",...n.style},children:te.jsx("div",{ref:f.onContentChange,style:{minWidth:"100%",display:"table"},children:u})})]})});Ey.displayName=xy;var xn="ScrollAreaScrollbar",AA=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:f}=o,h=n.orientation==="horizontal";return M.useEffect(()=>(h?c(!0):f(!0),()=>{h?c(!1):f(!1)}),[h,c,f]),o.type==="hover"?te.jsx(TA,{...u,ref:r,forceMount:i}):o.type==="scroll"?te.jsx(zA,{...u,ref:r,forceMount:i}):o.type==="auto"?te.jsx(ky,{...u,ref:r,forceMount:i}):o.type==="always"?te.jsx(Bf,{...u,ref:r}):null});AA.displayName=xn;var TA=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),[c,f]=M.useState(!1);return M.useEffect(()=>{const h=o.scrollArea;let m=0;if(h){const p=()=>{window.clearTimeout(m),f(!0)},y=()=>{m=window.setTimeout(()=>f(!1),o.scrollHideDelay)};return h.addEventListener("pointerenter",p),h.addEventListener("pointerleave",y),()=>{window.clearTimeout(m),h.removeEventListener("pointerenter",p),h.removeEventListener("pointerleave",y)}}},[o.scrollArea,o.scrollHideDelay]),te.jsx(Fn,{present:i||c,children:te.jsx(ky,{"data-state":c?"visible":"hidden",...u,ref:r})})}),zA=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),c=n.orientation==="horizontal",f=Wu(()=>m("SCROLL_END"),100),[h,m]=CA("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return M.useEffect(()=>{if(h==="idle"){const p=window.setTimeout(()=>m("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(p)}},[h,o.scrollHideDelay,m]),M.useEffect(()=>{const p=o.viewport,y=c?"scrollLeft":"scrollTop";if(p){let g=p[y];const b=()=>{const S=p[y];g!==S&&(m("SCROLL"),f()),g=S};return p.addEventListener("scroll",b),()=>p.removeEventListener("scroll",b)}},[o.viewport,c,m,f]),te.jsx(Fn,{present:i||h!=="hidden",children:te.jsx(Bf,{"data-state":h==="hidden"?"hidden":"visible",...u,ref:r,onPointerEnter:We(n.onPointerEnter,()=>m("POINTER_ENTER")),onPointerLeave:We(n.onPointerLeave,()=>m("POINTER_LEAVE"))})})}),ky=M.forwardRef((n,r)=>{const i=un(xn,n.__scopeScrollArea),{forceMount:u,...o}=n,[c,f]=M.useState(!1),h=n.orientation==="horizontal",m=Wu(()=>{if(i.viewport){const p=i.viewport.offsetWidth<i.viewport.scrollWidth,y=i.viewport.offsetHeight<i.viewport.scrollHeight;f(h?p:y)}},10);return Gr(i.viewport,m),Gr(i.content,m),te.jsx(Fn,{present:u||c,children:te.jsx(Bf,{"data-state":c?"visible":"hidden",...o,ref:r})})}),Bf=M.forwardRef((n,r)=>{const{orientation:i="vertical",...u}=n,o=un(xn,n.__scopeScrollArea),c=M.useRef(null),f=M.useRef(0),[h,m]=M.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=Ty(h.viewport,h.content),y={...u,sizes:h,onSizesChange:m,hasThumb:p>0&&p<1,onThumbChange:b=>c.current=b,onThumbPointerUp:()=>f.current=0,onThumbPointerDown:b=>f.current=b};function g(b,S){return LA(b,f.current,h,S)}return i==="horizontal"?te.jsx(MA,{...y,ref:r,onThumbPositionChange:()=>{if(o.viewport&&c.current){const b=o.viewport.scrollLeft,S=Ig(b,h,o.dir);c.current.style.transform=`translate3d(${S}px, 0, 0)`}},onWheelScroll:b=>{o.viewport&&(o.viewport.scrollLeft=b)},onDragScroll:b=>{o.viewport&&(o.viewport.scrollLeft=g(b,o.dir))}}):i==="vertical"?te.jsx(_A,{...y,ref:r,onThumbPositionChange:()=>{if(o.viewport&&c.current){const b=o.viewport.scrollTop,S=Ig(b,h);c.current.style.transform=`translate3d(0, ${S}px, 0)`}},onWheelScroll:b=>{o.viewport&&(o.viewport.scrollTop=b)},onDragScroll:b=>{o.viewport&&(o.viewport.scrollTop=g(b))}}):null}),MA=M.forwardRef((n,r)=>{const{sizes:i,onSizesChange:u,...o}=n,c=un(xn,n.__scopeScrollArea),[f,h]=M.useState(),m=M.useRef(null),p=St(r,m,c.onScrollbarXChange);return M.useEffect(()=>{m.current&&h(getComputedStyle(m.current))},[m]),te.jsx(wy,{"data-orientation":"horizontal",...o,ref:p,sizes:i,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Ju(i)+"px",...n.style},onThumbPointerDown:y=>n.onThumbPointerDown(y.x),onDragScroll:y=>n.onDragScroll(y.x),onWheelScroll:(y,g)=>{if(c.viewport){const b=c.viewport.scrollLeft+y.deltaX;n.onWheelScroll(b),My(b,g)&&y.preventDefault()}},onResize:()=>{m.current&&c.viewport&&f&&u({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:m.current.clientWidth,paddingStart:Xu(f.paddingLeft),paddingEnd:Xu(f.paddingRight)}})}})}),_A=M.forwardRef((n,r)=>{const{sizes:i,onSizesChange:u,...o}=n,c=un(xn,n.__scopeScrollArea),[f,h]=M.useState(),m=M.useRef(null),p=St(r,m,c.onScrollbarYChange);return M.useEffect(()=>{m.current&&h(getComputedStyle(m.current))},[m]),te.jsx(wy,{"data-orientation":"vertical",...o,ref:p,sizes:i,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Ju(i)+"px",...n.style},onThumbPointerDown:y=>n.onThumbPointerDown(y.y),onDragScroll:y=>n.onDragScroll(y.y),onWheelScroll:(y,g)=>{if(c.viewport){const b=c.viewport.scrollTop+y.deltaY;n.onWheelScroll(b),My(b,g)&&y.preventDefault()}},onResize:()=>{m.current&&c.viewport&&f&&u({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:m.current.clientHeight,paddingStart:Xu(f.paddingTop),paddingEnd:Xu(f.paddingBottom)}})}})}),[DA,Cy]=by(xn),wy=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,sizes:u,hasThumb:o,onThumbChange:c,onThumbPointerUp:f,onThumbPointerDown:h,onThumbPositionChange:m,onDragScroll:p,onWheelScroll:y,onResize:g,...b}=n,S=un(xn,i),[k,C]=M.useState(null),T=St(r,ie=>C(ie)),A=M.useRef(null),q=M.useRef(""),O=S.viewport,G=u.content-u.viewport,P=Ft(y),U=Ft(m),Q=Wu(g,10);function re(ie){if(A.current){const N=ie.clientX-A.current.left,$=ie.clientY-A.current.top;p({x:N,y:$})}}return M.useEffect(()=>{const ie=N=>{const $=N.target;(k==null?void 0:k.contains($))&&P(N,G)};return document.addEventListener("wheel",ie,{passive:!1}),()=>document.removeEventListener("wheel",ie,{passive:!1})},[O,k,G,P]),M.useEffect(U,[u,U]),Gr(k,Q),Gr(S.content,Q),te.jsx(DA,{scope:i,scrollbar:k,hasThumb:o,onThumbChange:Ft(c),onThumbPointerUp:Ft(f),onThumbPositionChange:U,onThumbPointerDown:Ft(h),children:te.jsx(ot.div,{...b,ref:T,style:{position:"absolute",...b.style},onPointerDown:We(n.onPointerDown,ie=>{ie.button===0&&(ie.target.setPointerCapture(ie.pointerId),A.current=k.getBoundingClientRect(),q.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),re(ie))}),onPointerMove:We(n.onPointerMove,re),onPointerUp:We(n.onPointerUp,ie=>{const N=ie.target;N.hasPointerCapture(ie.pointerId)&&N.releasePointerCapture(ie.pointerId),document.body.style.webkitUserSelect=q.current,S.viewport&&(S.viewport.style.scrollBehavior=""),A.current=null})})})}),Gu="ScrollAreaThumb",RA=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=Cy(Gu,n.__scopeScrollArea);return te.jsx(Fn,{present:i||o.hasThumb,children:te.jsx(OA,{ref:r,...u})})}),OA=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,style:u,...o}=n,c=un(Gu,i),f=Cy(Gu,i),{onThumbPositionChange:h}=f,m=St(r,g=>f.onThumbChange(g)),p=M.useRef(void 0),y=Wu(()=>{p.current&&(p.current(),p.current=void 0)},100);return M.useEffect(()=>{const g=c.viewport;if(g){const b=()=>{if(y(),!p.current){const S=UA(g,h);p.current=S,h()}};return h(),g.addEventListener("scroll",b),()=>g.removeEventListener("scroll",b)}},[c.viewport,y,h]),te.jsx(ot.div,{"data-state":f.hasThumb?"visible":"hidden",...o,ref:m,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...u},onPointerDownCapture:We(n.onPointerDownCapture,g=>{const S=g.target.getBoundingClientRect(),k=g.clientX-S.left,C=g.clientY-S.top;f.onThumbPointerDown({x:k,y:C})}),onPointerUp:We(n.onPointerUp,f.onThumbPointerUp)})});RA.displayName=Gu;var jf="ScrollAreaCorner",Ay=M.forwardRef((n,r)=>{const i=un(jf,n.__scopeScrollArea),u=!!(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&u?te.jsx(NA,{...n,ref:r}):null});Ay.displayName=jf;var NA=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,...u}=n,o=un(jf,i),[c,f]=M.useState(0),[h,m]=M.useState(0),p=!!(c&&h);return Gr(o.scrollbarX,()=>{var g;const y=((g=o.scrollbarX)==null?void 0:g.offsetHeight)||0;o.onCornerHeightChange(y),m(y)}),Gr(o.scrollbarY,()=>{var g;const y=((g=o.scrollbarY)==null?void 0:g.offsetWidth)||0;o.onCornerWidthChange(y),f(y)}),p?te.jsx(ot.div,{...u,ref:r,style:{width:c,height:h,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...n.style}}):null});function Xu(n){return n?parseInt(n,10):0}function Ty(n,r){const i=n/r;return isNaN(i)?0:i}function Ju(n){const r=Ty(n.viewport,n.content),i=n.scrollbar.paddingStart+n.scrollbar.paddingEnd,u=(n.scrollbar.size-i)*r;return Math.max(u,18)}function LA(n,r,i,u="ltr"){const o=Ju(i),c=o/2,f=r||c,h=o-f,m=i.scrollbar.paddingStart+f,p=i.scrollbar.size-i.scrollbar.paddingEnd-h,y=i.content-i.viewport,g=u==="ltr"?[0,y]:[y*-1,0];return zy([m,p],g)(n)}function Ig(n,r,i="ltr"){const u=Ju(r),o=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,c=r.scrollbar.size-o,f=r.content-r.viewport,h=c-u,m=i==="ltr"?[0,f]:[f*-1,0],p=kA(n,m);return zy([0,f],[0,h])(p)}function zy(n,r){return i=>{if(n[0]===n[1]||r[0]===r[1])return r[0];const u=(r[1]-r[0])/(n[1]-n[0]);return r[0]+u*(i-n[0])}}function My(n,r){return n>0&&n<r}var UA=(n,r=()=>{})=>{let i={left:n.scrollLeft,top:n.scrollTop},u=0;return(function o(){const c={left:n.scrollLeft,top:n.scrollTop},f=i.left!==c.left,h=i.top!==c.top;(f||h)&&r(),i=c,u=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(u)};function Wu(n,r){const i=Ft(n),u=M.useRef(0);return M.useEffect(()=>()=>window.clearTimeout(u.current),[]),M.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(i,r)},[i,r])}function Gr(n,r){const i=Ft(r);Yr(()=>{let u=0;if(n){const o=new ResizeObserver(()=>{cancelAnimationFrame(u),u=window.requestAnimationFrame(i)});return o.observe(n),()=>{window.cancelAnimationFrame(u),o.unobserve(n)}}},[n,i])}var WT=Sy,$T=Ey,ez=Ay,BA=pf[" useId ".trim().toString()]||(()=>{}),jA=0;function Ji(n){const[r,i]=M.useState(BA());return Yr(()=>{i(u=>u??String(jA++))},[n]),r?`radix-${r}`:""}var HA=pf[" useInsertionEffect ".trim().toString()]||Yr;function Hf({prop:n,defaultProp:r,onChange:i=()=>{},caller:u}){const[o,c,f]=qA({defaultProp:r,onChange:i}),h=n!==void 0,m=h?n:o;{const y=M.useRef(n!==void 0);M.useEffect(()=>{const g=y.current;g!==h&&console.warn(`${u} is changing from ${g?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=h},[h,u])}const p=M.useCallback(y=>{var g;if(h){const b=VA(y)?y(n):y;b!==n&&((g=f.current)==null||g.call(f,b))}else c(y)},[h,n,c,f]);return[m,p]}function qA({defaultProp:n,onChange:r}){const[i,u]=M.useState(n),o=M.useRef(i),c=M.useRef(r);return HA(()=>{c.current=r},[r]),M.useEffect(()=>{var f;o.current!==i&&((f=c.current)==null||f.call(c,i),o.current=i)},[i,o]),[i,u,c]}function VA(n){return typeof n=="function"}function YA(n,r=globalThis==null?void 0:globalThis.document){const i=Ft(n);M.useEffect(()=>{const u=o=>{o.key==="Escape"&&i(o)};return r.addEventListener("keydown",u,{capture:!0}),()=>r.removeEventListener("keydown",u,{capture:!0})},[i,r])}var GA="DismissableLayer",sf="dismissableLayer.update",XA="dismissableLayer.pointerDownOutside",FA="dismissableLayer.focusOutside",Qg,_y=M.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dy=M.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:u,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:f,onDismiss:h,...m}=n,p=M.useContext(_y),[y,g]=M.useState(null),b=(y==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,S]=M.useState({}),k=St(r,Q=>g(Q)),C=Array.from(p.layers),[T]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),A=C.indexOf(T),q=y?C.indexOf(y):-1,O=p.layersWithOutsidePointerEventsDisabled.size>0,G=q>=A,P=ZA(Q=>{const re=Q.target,ie=[...p.branches].some(N=>N.contains(re));!G||ie||(o==null||o(Q),f==null||f(Q),Q.defaultPrevented||h==null||h())},b),U=KA(Q=>{const re=Q.target;[...p.branches].some(N=>N.contains(re))||(c==null||c(Q),f==null||f(Q),Q.defaultPrevented||h==null||h())},b);return YA(Q=>{q===p.layers.size-1&&(u==null||u(Q),!Q.defaultPrevented&&h&&(Q.preventDefault(),h()))},b),M.useEffect(()=>{if(y)return i&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Qg=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),Zg(),()=>{i&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Qg)}},[y,b,i,p]),M.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),Zg())},[y,p]),M.useEffect(()=>{const Q=()=>S({});return document.addEventListener(sf,Q),()=>document.removeEventListener(sf,Q)},[]),te.jsx(ot.div,{...m,ref:k,style:{pointerEvents:O?G?"auto":"none":void 0,...n.style},onFocusCapture:We(n.onFocusCapture,U.onFocusCapture),onBlurCapture:We(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:We(n.onPointerDownCapture,P.onPointerDownCapture)})});Dy.displayName=GA;var IA="DismissableLayerBranch",QA=M.forwardRef((n,r)=>{const i=M.useContext(_y),u=M.useRef(null),o=St(r,u);return M.useEffect(()=>{const c=u.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),te.jsx(ot.div,{...n,ref:o})});QA.displayName=IA;function ZA(n,r=globalThis==null?void 0:globalThis.document){const i=Ft(n),u=M.useRef(!1),o=M.useRef(()=>{});return M.useEffect(()=>{const c=h=>{if(h.target&&!u.current){let m=function(){Ry(XA,i,p,{discrete:!0})};const p={originalEvent:h};h.pointerType==="touch"?(r.removeEventListener("click",o.current),o.current=m,r.addEventListener("click",o.current,{once:!0})):m()}else r.removeEventListener("click",o.current);u.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",o.current)}},[r,i]),{onPointerDownCapture:()=>u.current=!0}}function KA(n,r=globalThis==null?void 0:globalThis.document){const i=Ft(n),u=M.useRef(!1);return M.useEffect(()=>{const o=c=>{c.target&&!u.current&&Ry(FA,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",o),()=>r.removeEventListener("focusin",o)},[r,i]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}function Zg(){const n=new CustomEvent(sf);document.dispatchEvent(n)}function Ry(n,r,i,{discrete:u}){const o=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&o.addEventListener(n,r,{once:!0}),u?gA(o,c):o.dispatchEvent(c)}var Ys="focusScope.autoFocusOnMount",Gs="focusScope.autoFocusOnUnmount",Kg={bubbles:!1,cancelable:!0},PA="FocusScope",Oy=M.forwardRef((n,r)=>{const{loop:i=!1,trapped:u=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...f}=n,[h,m]=M.useState(null),p=Ft(o),y=Ft(c),g=M.useRef(null),b=St(r,C=>m(C)),S=M.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;M.useEffect(()=>{if(u){let C=function(O){if(S.paused||!h)return;const G=O.target;h.contains(G)?g.current=G:Sl(g.current,{select:!0})},T=function(O){if(S.paused||!h)return;const G=O.relatedTarget;G!==null&&(h.contains(G)||Sl(g.current,{select:!0}))},A=function(O){if(document.activeElement===document.body)for(const P of O)P.removedNodes.length>0&&Sl(h)};document.addEventListener("focusin",C),document.addEventListener("focusout",T);const q=new MutationObserver(A);return h&&q.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",T),q.disconnect()}}},[u,h,S.paused]),M.useEffect(()=>{if(h){Jg.add(S);const C=document.activeElement;if(!h.contains(C)){const A=new CustomEvent(Ys,Kg);h.addEventListener(Ys,p),h.dispatchEvent(A),A.defaultPrevented||(JA(n3(Ny(h)),{select:!0}),document.activeElement===C&&Sl(h))}return()=>{h.removeEventListener(Ys,p),setTimeout(()=>{const A=new CustomEvent(Gs,Kg);h.addEventListener(Gs,y),h.dispatchEvent(A),A.defaultPrevented||Sl(C??document.body,{select:!0}),h.removeEventListener(Gs,y),Jg.remove(S)},0)}}},[h,p,y,S]);const k=M.useCallback(C=>{if(!i&&!u||S.paused)return;const T=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,A=document.activeElement;if(T&&A){const q=C.currentTarget,[O,G]=WA(q);O&&G?!C.shiftKey&&A===G?(C.preventDefault(),i&&Sl(O,{select:!0})):C.shiftKey&&A===O&&(C.preventDefault(),i&&Sl(G,{select:!0})):A===q&&C.preventDefault()}},[i,u,S.paused]);return te.jsx(ot.div,{tabIndex:-1,...f,ref:b,onKeyDown:k})});Oy.displayName=PA;function JA(n,{select:r=!1}={}){const i=document.activeElement;for(const u of n)if(Sl(u,{select:r}),document.activeElement!==i)return}function WA(n){const r=Ny(n),i=Pg(r,n),u=Pg(r.reverse(),n);return[i,u]}function Ny(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:u=>{const o=u.tagName==="INPUT"&&u.type==="hidden";return u.disabled||u.hidden||o?NodeFilter.FILTER_SKIP:u.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Pg(n,r){for(const i of n)if(!$A(i,{upTo:r}))return i}function $A(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function e3(n){return n instanceof HTMLInputElement&&"select"in n}function Sl(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&e3(n)&&r&&n.select()}}var Jg=t3();function t3(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Wg(n,r),n.unshift(r)},remove(r){var i;n=Wg(n,r),(i=n[0])==null||i.resume()}}}function Wg(n,r){const i=[...n],u=i.indexOf(r);return u!==-1&&i.splice(u,1),i}function n3(n){return n.filter(r=>r.tagName!=="A")}var l3="Portal",Ly=M.forwardRef((n,r)=>{var h;const{container:i,...u}=n,[o,c]=M.useState(!1);Yr(()=>c(!0),[]);const f=i||o&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return f?cA.createPortal(te.jsx(ot.div,{...u,ref:r}),f):null});Ly.displayName=l3;var Xs=0;function r3(){M.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??$g()),document.body.insertAdjacentElement("beforeend",n[1]??$g()),Xs++,()=>{Xs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Xs--}},[])}function $g(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var bn=function(){return bn=Object.assign||function(r){for(var i,u=1,o=arguments.length;u<o;u++){i=arguments[u];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},bn.apply(this,arguments)};function Uy(n,r){var i={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&r.indexOf(u)<0&&(i[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,u=Object.getOwnPropertySymbols(n);o<u.length;o++)r.indexOf(u[o])<0&&Object.prototype.propertyIsEnumerable.call(n,u[o])&&(i[u[o]]=n[u[o]]);return i}function i3(n,r,i){if(i||arguments.length===2)for(var u=0,o=r.length,c;u<o;u++)(c||!(u in r))&&(c||(c=Array.prototype.slice.call(r,0,u)),c[u]=r[u]);return n.concat(c||Array.prototype.slice.call(r))}var Lu="right-scroll-bar-position",Uu="width-before-scroll-bar",a3="with-scroll-bars-hidden",u3="--removed-body-scroll-bar-size";function Fs(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function o3(n,r){var i=M.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(u){var o=i.value;o!==u&&(i.value=u,i.callback(u,o))}}}})[0];return i.callback=r,i.facade}var c3=typeof window<"u"?M.useLayoutEffect:M.useEffect,e1=new WeakMap;function s3(n,r){var i=o3(null,function(u){return n.forEach(function(o){return Fs(o,u)})});return c3(function(){var u=e1.get(i);if(u){var o=new Set(u),c=new Set(n),f=i.current;o.forEach(function(h){c.has(h)||Fs(h,null)}),c.forEach(function(h){o.has(h)||Fs(h,f)})}e1.set(i,n)},[n]),i}function f3(n){return n}function d3(n,r){r===void 0&&(r=f3);var i=[],u=!1,o={read:function(){if(u)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:n},useMedium:function(c){var f=r(c,u);return i.push(f),function(){i=i.filter(function(h){return h!==f})}},assignSyncMedium:function(c){for(u=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(h){return c(h)},filter:function(){return i}}},assignMedium:function(c){u=!0;var f=[];if(i.length){var h=i;i=[],h.forEach(c),f=i}var m=function(){var y=f;f=[],y.forEach(c)},p=function(){return Promise.resolve().then(m)};p(),i={push:function(y){f.push(y),p()},filter:function(y){return f=f.filter(y),i}}}};return o}function h3(n){n===void 0&&(n={});var r=d3(null);return r.options=bn({async:!0,ssr:!1},n),r}var By=function(n){var r=n.sideCar,i=Uy(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var u=r.read();if(!u)throw new Error("Sidecar medium not found");return M.createElement(u,bn({},i))};By.isSideCarExport=!0;function p3(n,r){return n.useMedium(r),By}var jy=h3(),Is=function(){},$u=M.forwardRef(function(n,r){var i=M.useRef(null),u=M.useState({onScrollCapture:Is,onWheelCapture:Is,onTouchMoveCapture:Is}),o=u[0],c=u[1],f=n.forwardProps,h=n.children,m=n.className,p=n.removeScrollBar,y=n.enabled,g=n.shards,b=n.sideCar,S=n.noRelative,k=n.noIsolation,C=n.inert,T=n.allowPinchZoom,A=n.as,q=A===void 0?"div":A,O=n.gapMode,G=Uy(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=b,U=s3([i,r]),Q=bn(bn({},G),o);return M.createElement(M.Fragment,null,y&&M.createElement(P,{sideCar:jy,removeScrollBar:p,shards:g,noRelative:S,noIsolation:k,inert:C,setCallbacks:c,allowPinchZoom:!!T,lockRef:i,gapMode:O}),f?M.cloneElement(M.Children.only(h),bn(bn({},Q),{ref:U})):M.createElement(q,bn({},Q,{className:m,ref:U}),h))});$u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};$u.classNames={fullWidth:Uu,zeroRight:Lu};var m3=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function g3(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=m3();return r&&n.setAttribute("nonce",r),n}function y3(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function v3(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var b3=function(){var n=0,r=null;return{add:function(i){n==0&&(r=g3())&&(y3(r,i),v3(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},S3=function(){var n=b3();return function(r,i){M.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Hy=function(){var n=S3(),r=function(i){var u=i.styles,o=i.dynamic;return n(u,o),null};return r},x3={left:0,top:0,right:0,gap:0},Qs=function(n){return parseInt(n||"",10)||0},E3=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],u=r[n==="padding"?"paddingTop":"marginTop"],o=r[n==="padding"?"paddingRight":"marginRight"];return[Qs(i),Qs(u),Qs(o)]},k3=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return x3;var r=E3(n),i=document.documentElement.clientWidth,u=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,u-i+r[2]-r[0])}},C3=Hy(),qr="data-scroll-locked",w3=function(n,r,i,u){var o=n.left,c=n.top,f=n.right,h=n.gap;return i===void 0&&(i="margin"),`
|
|
508
|
-
.`.concat(
|
|
502
|
+
`))}function m(S,k,C,T){const A=C.enter("tableCell"),q=C.enter("phrasing"),O=C.containerPhrasing(S,{...T,before:c,after:c});return q(),A(),O}function p(S,k){return BC(S,{align:k,alignDelimiters:u,padding:i,stringLength:o})}function y(S,k,C){const T=S.children;let A=-1;const q=[],O=k.enter("table");for(;++A<T.length;)q[A]=g(T[A],k,C);return O(),q}function g(S,k,C){const T=S.children;let A=-1;const q=[],O=k.enter("tableRow");for(;++A<T.length;)q[A]=m(T[A],S,k,C);return O(),q}function b(S,k,C){let T=cy.inlineCode(S,k,C);return C.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function Cw(){return{exit:{taskListCheckValueChecked:Xg,taskListCheckValueUnchecked:Xg,paragraph:Aw}}}function ww(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Tw}}}function Xg(n){const r=this.stack[this.stack.length-2];r.type,r.checked=n.type==="taskListCheckValueChecked"}function Aw(n){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const u=i.children[0];if(u&&u.type==="text"){const o=r.children;let c=-1,f;for(;++c<o.length;){const h=o[c];if(h.type==="paragraph"){f=h;break}}f===i&&(u.value=u.value.slice(1),u.value.length===0?i.children.shift():i.position&&u.position&&typeof u.position.start.offset=="number"&&(u.position.start.column++,u.position.start.offset++,i.position.start=Object.assign({},u.position.start)))}}this.exit(n)}function Tw(n,r,i,u){const o=n.children[0],c=typeof n.checked=="boolean"&&o&&o.type==="paragraph",f="["+(n.checked?"x":" ")+"] ",h=i.createTracker(u);c&&h.move(f);let m=cy.listItem(n,r,i,{...u,...h.current()});return c&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,p)),m;function p(y){return y+f}}function zw(){return[aC(),TC(),DC(),yw(),Cw()]}function Mw(n){return{extensions:[uC(),zC(n),RC(),kw(n),ww()]}}const _w={tokenize:Uw,partial:!0},sy={tokenize:Bw,partial:!0},fy={tokenize:jw,partial:!0},dy={tokenize:Hw,partial:!0},Dw={tokenize:qw,partial:!0},hy={name:"wwwAutolink",tokenize:Nw,previous:my},py={name:"protocolAutolink",tokenize:Lw,previous:gy},Xn={name:"emailAutolink",tokenize:Ow,previous:yy},Sn={};function Rw(){return{text:Sn}}let ql=48;for(;ql<123;)Sn[ql]=Xn,ql++,ql===58?ql=65:ql===91&&(ql=97);Sn[43]=Xn;Sn[45]=Xn;Sn[46]=Xn;Sn[95]=Xn;Sn[72]=[Xn,py];Sn[104]=[Xn,py];Sn[87]=[Xn,hy];Sn[119]=[Xn,hy];function Ow(n,r,i){const u=this;let o,c;return f;function f(g){return!cf(g)||!yy.call(u,u.previous)||Nf(u.events)?i(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),h(g))}function h(g){return cf(g)?(n.consume(g),h):g===64?(n.consume(g),m):i(g)}function m(g){return g===46?n.check(Dw,y,p)(g):g===45||g===95||bt(g)?(c=!0,n.consume(g),m):y(g)}function p(g){return n.consume(g),o=!0,m}function y(g){return c&&o&&wt(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),r(g)):i(g)}}function Nw(n,r,i){const u=this;return o;function o(f){return f!==87&&f!==119||!my.call(u,u.previous)||Nf(u.events)?i(f):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(_w,n.attempt(sy,n.attempt(fy,c),i),i)(f))}function c(f){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),r(f)}}function Lw(n,r,i){const u=this;let o="",c=!1;return f;function f(g){return(g===72||g===104)&&gy.call(u,u.previous)&&!Nf(u.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),o+=String.fromCodePoint(g),n.consume(g),h):i(g)}function h(g){if(wt(g)&&o.length<5)return o+=String.fromCodePoint(g),n.consume(g),h;if(g===58){const b=o.toLowerCase();if(b==="http"||b==="https")return n.consume(g),m}return i(g)}function m(g){return g===47?(n.consume(g),c?p:(c=!0,m)):i(g)}function p(g){return g===null||ju(g)||Fe(g)||Vl(g)||Iu(g)?i(g):n.attempt(sy,n.attempt(fy,y),i)(g)}function y(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),r(g)}}function Uw(n,r,i){let u=0;return o;function o(f){return(f===87||f===119)&&u<3?(u++,n.consume(f),o):f===46&&u===3?(n.consume(f),c):i(f)}function c(f){return f===null?i(f):r(f)}}function Bw(n,r,i){let u,o,c;return f;function f(p){return p===46||p===95?n.check(dy,m,h)(p):p===null||Fe(p)||Vl(p)||p!==45&&Iu(p)?m(p):(c=!0,n.consume(p),f)}function h(p){return p===95?u=!0:(o=u,u=void 0),n.consume(p),f}function m(p){return o||u||!c?i(p):r(p)}}function jw(n,r){let i=0,u=0;return o;function o(f){return f===40?(i++,n.consume(f),o):f===41&&u<i?c(f):f===33||f===34||f===38||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===60||f===63||f===93||f===95||f===126?n.check(dy,r,c)(f):f===null||Fe(f)||Vl(f)?r(f):(n.consume(f),o)}function c(f){return f===41&&u++,n.consume(f),o}}function Hw(n,r,i){return u;function u(h){return h===33||h===34||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===63||h===95||h===126?(n.consume(h),u):h===38?(n.consume(h),c):h===93?(n.consume(h),o):h===60||h===null||Fe(h)||Vl(h)?r(h):i(h)}function o(h){return h===null||h===40||h===91||Fe(h)||Vl(h)?r(h):u(h)}function c(h){return wt(h)?f(h):i(h)}function f(h){return h===59?(n.consume(h),u):wt(h)?(n.consume(h),f):i(h)}}function qw(n,r,i){return u;function u(c){return n.consume(c),o}function o(c){return bt(c)?i(c):r(c)}}function my(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Fe(n)}function gy(n){return!wt(n)}function yy(n){return!(n===47||cf(n))}function cf(n){return n===43||n===45||n===46||n===95||bt(n)}function Nf(n){let r=n.length,i=!1;for(;r--;){const u=n[r][1];if((u.type==="labelLink"||u.type==="labelImage")&&!u._balanced){i=!0;break}if(u._gfmAutolinkLiteralWalkedInto){i=!1;break}}return n.length>0&&!i&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const Vw={tokenize:Kw,partial:!0};function Yw(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Iw,continuation:{tokenize:Qw},exit:Zw}},text:{91:{name:"gfmFootnoteCall",tokenize:Fw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Gw,resolveTo:Xw}}}}function Gw(n,r,i){const u=this;let o=u.events.length;const c=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let f;for(;o--;){const m=u.events[o][1];if(m.type==="labelImage"){f=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return h;function h(m){if(!f||!f._balanced)return i(m);const p=dn(u.sliceSerialize({start:f.end,end:u.now()}));return p.codePointAt(0)!==94||!c.includes(p.slice(1))?i(m):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(m),n.exit("gfmFootnoteCallLabelMarker"),r(m))}}function Xw(n,r){let i=n.length;for(;i--;)if(n[i][1].type==="labelImage"&&n[i][0]==="enter"){n[i][1];break}n[i+1][1].type="data",n[i+3][1].type="gfmFootnoteCallLabelMarker";const u={type:"gfmFootnoteCall",start:Object.assign({},n[i+3][1].start),end:Object.assign({},n[n.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},n[i+3][1].end),end:Object.assign({},n[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const c={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},n[n.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},h=[n[i+1],n[i+2],["enter",u,r],n[i+3],n[i+4],["enter",o,r],["exit",o,r],["enter",c,r],["enter",f,r],["exit",f,r],["exit",c,r],n[n.length-2],n[n.length-1],["exit",u,r]];return n.splice(i,n.length-i+1,...h),n}function Fw(n,r,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c=0,f;return h;function h(g){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),m}function m(g){return g!==94?i(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",p)}function p(g){if(c>999||g===93&&!f||g===null||g===91||Fe(g))return i(g);if(g===93){n.exit("chunkString");const b=n.exit("gfmFootnoteCallString");return o.includes(dn(u.sliceSerialize(b)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),r):i(g)}return Fe(g)||(f=!0),c++,n.consume(g),g===92?y:p}function y(g){return g===91||g===92||g===93?(n.consume(g),c++,p):p(g)}}function Iw(n,r,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c,f=0,h;return m;function m(k){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionLabelMarker"),p}function p(k){return k===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",y):i(k)}function y(k){if(f>999||k===93&&!h||k===null||k===91||Fe(k))return i(k);if(k===93){n.exit("chunkString");const C=n.exit("gfmFootnoteDefinitionLabelString");return c=dn(u.sliceSerialize(C)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),b}return Fe(k)||(h=!0),f++,n.consume(k),k===92?g:y}function g(k){return k===91||k===92||k===93?(n.consume(k),f++,y):y(k)}function b(k){return k===58?(n.enter("definitionMarker"),n.consume(k),n.exit("definitionMarker"),o.includes(c)||o.push(c),Re(n,S,"gfmFootnoteDefinitionWhitespace")):i(k)}function S(k){return r(k)}}function Qw(n,r,i){return n.check(na,r,n.attempt(Vw,r,i))}function Zw(n){n.exit("gfmFootnoteDefinition")}function Kw(n,r,i){const u=this;return Re(n,o,"gfmFootnoteDefinitionIndent",5);function o(c){const f=u.events[u.events.length-1];return f&&f[1].type==="gfmFootnoteDefinitionIndent"&&f[2].sliceSerialize(f[1],!0).length===4?r(c):i(c)}}function Pw(n){let i=(n||{}).singleTilde;const u={name:"strikethrough",tokenize:c,resolveAll:o};return i==null&&(i=!0),{text:{126:u},insideSpan:{null:[u]},attentionMarkers:{null:[126]}};function o(f,h){let m=-1;for(;++m<f.length;)if(f[m][0]==="enter"&&f[m][1].type==="strikethroughSequenceTemporary"&&f[m][1]._close){let p=m;for(;p--;)if(f[p][0]==="exit"&&f[p][1].type==="strikethroughSequenceTemporary"&&f[p][1]._open&&f[m][1].end.offset-f[m][1].start.offset===f[p][1].end.offset-f[p][1].start.offset){f[m][1].type="strikethroughSequence",f[p][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},f[p][1].start),end:Object.assign({},f[m][1].end)},g={type:"strikethroughText",start:Object.assign({},f[p][1].end),end:Object.assign({},f[m][1].start)},b=[["enter",y,h],["enter",f[p][1],h],["exit",f[p][1],h],["enter",g,h]],S=h.parser.constructs.insideSpan.null;S&&It(b,b.length,0,Qu(S,f.slice(p+1,m),h)),It(b,b.length,0,[["exit",g,h],["enter",f[m][1],h],["exit",f[m][1],h],["exit",y,h]]),It(f,p-1,m-p+3,b),m=p+b.length-2;break}}for(m=-1;++m<f.length;)f[m][1].type==="strikethroughSequenceTemporary"&&(f[m][1].type="data");return f}function c(f,h,m){const p=this.previous,y=this.events;let g=0;return b;function b(k){return p===126&&y[y.length-1][1].type!=="characterEscape"?m(k):(f.enter("strikethroughSequenceTemporary"),S(k))}function S(k){const C=Vr(p);if(k===126)return g>1?m(k):(f.consume(k),g++,S);if(g<2&&!i)return m(k);const T=f.exit("strikethroughSequenceTemporary"),A=Vr(k);return T._open=!A||A===2&&!!C,T._close=!C||C===2&&!!A,h(k)}}}class Jw{constructor(){this.map=[]}add(r,i,u){Ww(this,r,i,u)}consume(r){if(this.map.sort(function(c,f){return c[0]-f[0]}),this.map.length===0)return;let i=this.map.length;const u=[];for(;i>0;)i-=1,u.push(r.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),r.length=this.map[i][0];u.push(r.slice()),r.length=0;let o=u.pop();for(;o;){for(const c of o)r.push(c);o=u.pop()}this.map.length=0}}function Ww(n,r,i,u){let o=0;if(!(i===0&&u.length===0)){for(;o<n.map.length;){if(n.map[o][0]===r){n.map[o][1]+=i,n.map[o][2].push(...u);return}o+=1}n.map.push([r,i,u])}}function $w(n,r){let i=!1;const u=[];for(;r<n.length;){const o=n[r];if(i){if(o[0]==="enter")o[1].type==="tableContent"&&u.push(n[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(n[r-1][1].type==="tableDelimiterMarker"){const c=u.length-1;u[c]=u[c]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(i=!0);r+=1}return u}function e3(){return{flow:{null:{name:"table",tokenize:t3,resolveAll:n3}}}}function t3(n,r,i){const u=this;let o=0,c=0,f;return h;function h(N){let $=u.events.length-1;for(;$>-1;){const ue=u.events[$][1].type;if(ue==="lineEnding"||ue==="linePrefix")$--;else break}const K=$>-1?u.events[$][1].type:null,be=K==="tableHead"||K==="tableRow"?U:m;return be===U&&u.parser.lazy[u.now().line]?i(N):be(N)}function m(N){return n.enter("tableHead"),n.enter("tableRow"),p(N)}function p(N){return N===124||(f=!0,c+=1),y(N)}function y(N){return N===null?i(N):he(N)?c>1?(c=0,u.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(N),n.exit("lineEnding"),S):i(N):Te(N)?Re(n,y,"whitespace")(N):(c+=1,f&&(f=!1,o+=1),N===124?(n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),f=!0,y):(n.enter("data"),g(N)))}function g(N){return N===null||N===124||Fe(N)?(n.exit("data"),y(N)):(n.consume(N),N===92?b:g)}function b(N){return N===92||N===124?(n.consume(N),g):g(N)}function S(N){return u.interrupt=!1,u.parser.lazy[u.now().line]?i(N):(n.enter("tableDelimiterRow"),f=!1,Te(N)?Re(n,k,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):k(N))}function k(N){return N===45||N===58?T(N):N===124?(f=!0,n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),C):P(N)}function C(N){return Te(N)?Re(n,T,"whitespace")(N):T(N)}function T(N){return N===58?(c+=1,f=!0,n.enter("tableDelimiterMarker"),n.consume(N),n.exit("tableDelimiterMarker"),A):N===45?(c+=1,A(N)):N===null||he(N)?G(N):P(N)}function A(N){return N===45?(n.enter("tableDelimiterFiller"),q(N)):P(N)}function q(N){return N===45?(n.consume(N),q):N===58?(f=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(N),n.exit("tableDelimiterMarker"),O):(n.exit("tableDelimiterFiller"),O(N))}function O(N){return Te(N)?Re(n,G,"whitespace")(N):G(N)}function G(N){return N===124?k(N):N===null||he(N)?!f||o!==c?P(N):(n.exit("tableDelimiterRow"),n.exit("tableHead"),r(N)):P(N)}function P(N){return i(N)}function U(N){return n.enter("tableRow"),Q(N)}function Q(N){return N===124?(n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),Q):N===null||he(N)?(n.exit("tableRow"),r(N)):Te(N)?Re(n,Q,"whitespace")(N):(n.enter("data"),re(N))}function re(N){return N===null||N===124||Fe(N)?(n.exit("data"),Q(N)):(n.consume(N),N===92?ie:re)}function ie(N){return N===92||N===124?(n.consume(N),re):re(N)}}function n3(n,r){let i=-1,u=!0,o=0,c=[0,0,0,0],f=[0,0,0,0],h=!1,m=0,p,y,g;const b=new Jw;for(;++i<n.length;){const S=n[i],k=S[1];S[0]==="enter"?k.type==="tableHead"?(h=!1,m!==0&&(Fg(b,r,m,p,y),y=void 0,m=0),p={type:"table",start:Object.assign({},k.start),end:Object.assign({},k.end)},b.add(i,0,[["enter",p,r]])):k.type==="tableRow"||k.type==="tableDelimiterRow"?(u=!0,g=void 0,c=[0,0,0,0],f=[0,i+1,0,0],h&&(h=!1,y={type:"tableBody",start:Object.assign({},k.start),end:Object.assign({},k.end)},b.add(i,0,[["enter",y,r]])),o=k.type==="tableDelimiterRow"?2:y?3:1):o&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")?(u=!1,f[2]===0&&(c[1]!==0&&(f[0]=f[1],g=zu(b,r,c,o,void 0,g),c=[0,0,0,0]),f[2]=i)):k.type==="tableCellDivider"&&(u?u=!1:(c[1]!==0&&(f[0]=f[1],g=zu(b,r,c,o,void 0,g)),c=f,f=[c[1],i,0,0])):k.type==="tableHead"?(h=!0,m=i):k.type==="tableRow"||k.type==="tableDelimiterRow"?(m=i,c[1]!==0?(f[0]=f[1],g=zu(b,r,c,o,i,g)):f[1]!==0&&(g=zu(b,r,f,o,i,g)),o=0):o&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")&&(f[3]=i)}for(m!==0&&Fg(b,r,m,p,y),b.consume(r.events),i=-1;++i<r.events.length;){const S=r.events[i];S[0]==="enter"&&S[1].type==="table"&&(S[1]._align=$w(r.events,i))}return n}function zu(n,r,i,u,o,c){const f=u===1?"tableHeader":u===2?"tableDelimiter":"tableData",h="tableContent";i[0]!==0&&(c.end=Object.assign({},Br(r.events,i[0])),n.add(i[0],0,[["exit",c,r]]));const m=Br(r.events,i[1]);if(c={type:f,start:Object.assign({},m),end:Object.assign({},m)},n.add(i[1],0,[["enter",c,r]]),i[2]!==0){const p=Br(r.events,i[2]),y=Br(r.events,i[3]),g={type:h,start:Object.assign({},p),end:Object.assign({},y)};if(n.add(i[2],0,[["enter",g,r]]),u!==2){const b=r.events[i[2]],S=r.events[i[3]];if(b[1].end=Object.assign({},S[1].end),b[1].type="chunkText",b[1].contentType="text",i[3]>i[2]+1){const k=i[2]+1,C=i[3]-i[2]-1;n.add(k,C,[])}}n.add(i[3]+1,0,[["exit",g,r]])}return o!==void 0&&(c.end=Object.assign({},Br(r.events,o)),n.add(o,0,[["exit",c,r]]),c=void 0),c}function Fg(n,r,i,u,o){const c=[],f=Br(r.events,i);o&&(o.end=Object.assign({},f),c.push(["exit",o,r])),u.end=Object.assign({},f),c.push(["exit",u,r]),n.add(i+1,0,c)}function Br(n,r){const i=n[r],u=i[0]==="enter"?"start":"end";return i[1][u]}const l3={name:"tasklistCheck",tokenize:i3};function r3(){return{text:{91:l3}}}function i3(n,r,i){const u=this;return o;function o(m){return u.previous!==null||!u._gfmTasklistFirstContentOfListItem?i(m):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(m),n.exit("taskListCheckMarker"),c)}function c(m){return Fe(m)?(n.enter("taskListCheckValueUnchecked"),n.consume(m),n.exit("taskListCheckValueUnchecked"),f):m===88||m===120?(n.enter("taskListCheckValueChecked"),n.consume(m),n.exit("taskListCheckValueChecked"),f):i(m)}function f(m){return m===93?(n.enter("taskListCheckMarker"),n.consume(m),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),h):i(m)}function h(m){return he(m)?r(m):Te(m)?n.check({tokenize:a3},r,i)(m):i(m)}}function a3(n,r,i){return Re(n,u,"whitespace");function u(o){return o===null?i(o):r(o)}}function u3(n){return z1([Rw(),Yw(),Pw(n),e3(),r3()])}const o3={};function PT(n){const r=this,i=n||o3,u=r.data(),o=u.micromarkExtensions||(u.micromarkExtensions=[]),c=u.fromMarkdownExtensions||(u.fromMarkdownExtensions=[]),f=u.toMarkdownExtensions||(u.toMarkdownExtensions=[]);o.push(u3(i)),c.push(zw()),f.push(Mw(i))}var vy=i1();const c3=ea(vy);function Yu(n){const r=s3(n),i=M.forwardRef((u,o)=>{const{children:c,...f}=u,h=M.Children.toArray(c),m=h.find(d3);if(m){const p=m.props.children,y=h.map(g=>g===m?M.Children.count(p)>1?M.Children.only(null):M.isValidElement(p)?p.props.children:null:g);return te.jsx(r,{...f,ref:o,children:M.isValidElement(p)?M.cloneElement(p,void 0,y):null})}return te.jsx(r,{...f,ref:o,children:c})});return i.displayName=`${n}.Slot`,i}function s3(n){const r=M.forwardRef((i,u)=>{const{children:o,...c}=i;if(M.isValidElement(o)){const f=p3(o),h=h3(c,o.props);return o.type!==M.Fragment&&(h.ref=u?gf(u,f):f),M.cloneElement(o,h)}return M.Children.count(o)>1?M.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var f3=Symbol("radix.slottable");function d3(n){return M.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===f3}function h3(n,r){const i={...r};for(const u in r){const o=n[u],c=r[u];/^on[A-Z]/.test(u)?o&&c?i[u]=(...h)=>{const m=c(...h);return o(...h),m}:o&&(i[u]=o):u==="style"?i[u]={...o,...c}:u==="className"&&(i[u]=[o,c].filter(Boolean).join(" "))}return{...n,...i}}function p3(n){var u,o;let r=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(o=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:o.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var m3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ot=m3.reduce((n,r)=>{const i=Yu(`Primitive.${r}`),u=M.forwardRef((o,c)=>{const{asChild:f,...h}=o,m=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),te.jsx(m,{...h,ref:c})});return u.displayName=`Primitive.${r}`,{...n,[r]:u}},{});function g3(n,r){n&&vy.flushSync(()=>n.dispatchEvent(r))}var Yr=globalThis!=null&&globalThis.document?M.useLayoutEffect:()=>{};function y3(n,r){return M.useReducer((i,u)=>r[i][u]??i,n)}var Fn=n=>{const{present:r,children:i}=n,u=v3(r),o=typeof i=="function"?i({present:u.isPresent}):M.Children.only(i),c=St(u.ref,b3(o));return typeof i=="function"||u.isPresent?M.cloneElement(o,{ref:c}):null};Fn.displayName="Presence";function v3(n){const[r,i]=M.useState(),u=M.useRef(null),o=M.useRef(n),c=M.useRef("none"),f=n?"mounted":"unmounted",[h,m]=y3(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return M.useEffect(()=>{const p=Mu(u.current);c.current=h==="mounted"?p:"none"},[h]),Yr(()=>{const p=u.current,y=o.current;if(y!==n){const b=c.current,S=Mu(p);n?m("MOUNT"):S==="none"||(p==null?void 0:p.display)==="none"?m("UNMOUNT"):m(y&&b!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=n}},[n,m]),Yr(()=>{if(r){let p;const y=r.ownerDocument.defaultView??window,g=S=>{const C=Mu(u.current).includes(CSS.escape(S.animationName));if(S.target===r&&C&&(m("ANIMATION_END"),!o.current)){const T=r.style.animationFillMode;r.style.animationFillMode="forwards",p=y.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=T)})}},b=S=>{S.target===r&&(c.current=Mu(u.current))};return r.addEventListener("animationstart",b),r.addEventListener("animationcancel",g),r.addEventListener("animationend",g),()=>{y.clearTimeout(p),r.removeEventListener("animationstart",b),r.removeEventListener("animationcancel",g),r.removeEventListener("animationend",g)}}else m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:M.useCallback(p=>{u.current=p?getComputedStyle(p):null,i(p)},[])}}function Mu(n){return(n==null?void 0:n.animationName)||"none"}function b3(n){var u,o;let r=(u=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:u.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=(o=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:o.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function S3(n,r){const i=M.createContext(r),u=c=>{const{children:f,...h}=c,m=M.useMemo(()=>h,Object.values(h));return te.jsx(i.Provider,{value:m,children:f})};u.displayName=n+"Provider";function o(c){const f=M.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[u,o]}function ra(n,r=[]){let i=[];function u(c,f){const h=M.createContext(f),m=i.length;i=[...i,f];const p=g=>{var A;const{scope:b,children:S,...k}=g,C=((A=b==null?void 0:b[n])==null?void 0:A[m])||h,T=M.useMemo(()=>k,Object.values(k));return te.jsx(C.Provider,{value:T,children:S})};p.displayName=c+"Provider";function y(g,b){var C;const S=((C=b==null?void 0:b[n])==null?void 0:C[m])||h,k=M.useContext(S);if(k)return k;if(f!==void 0)return f;throw new Error(`\`${g}\` must be used within \`${c}\``)}return[p,y]}const o=()=>{const c=i.map(f=>M.createContext(f));return function(h){const m=(h==null?void 0:h[n])||c;return M.useMemo(()=>({[`__scope${n}`]:{...h,[n]:m}}),[h,m])}};return o.scopeName=n,[u,x3(o,...r)]}function x3(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const u=n.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const f=u.reduce((h,{useScope:m,scopeName:p})=>{const g=m(c)[`__scope${p}`];return{...h,...g}},{});return M.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}function Ft(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n}),M.useMemo(()=>(...i)=>{var u;return(u=r.current)==null?void 0:u.call(r,...i)},[])}var E3=M.createContext(void 0);function Lf(n){const r=M.useContext(E3);return n||r||"ltr"}function k3(n,[r,i]){return Math.min(i,Math.max(r,n))}function We(n,r,{checkForDefaultPrevented:i=!0}={}){return function(o){if(n==null||n(o),i===!1||!o.defaultPrevented)return r==null?void 0:r(o)}}function C3(n,r){return M.useReducer((i,u)=>r[i][u]??i,n)}var Uf="ScrollArea",[by]=ra(Uf),[w3,un]=by(Uf),Sy=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,type:u="hover",dir:o,scrollHideDelay:c=600,...f}=n,[h,m]=M.useState(null),[p,y]=M.useState(null),[g,b]=M.useState(null),[S,k]=M.useState(null),[C,T]=M.useState(null),[A,q]=M.useState(0),[O,G]=M.useState(0),[P,U]=M.useState(!1),[Q,re]=M.useState(!1),ie=St(r,$=>m($)),N=Lf(o);return te.jsx(w3,{scope:i,type:u,dir:N,scrollHideDelay:c,scrollArea:h,viewport:p,onViewportChange:y,content:g,onContentChange:b,scrollbarX:S,onScrollbarXChange:k,scrollbarXEnabled:P,onScrollbarXEnabledChange:U,scrollbarY:C,onScrollbarYChange:T,scrollbarYEnabled:Q,onScrollbarYEnabledChange:re,onCornerWidthChange:q,onCornerHeightChange:G,children:te.jsx(ot.div,{dir:N,...f,ref:ie,style:{position:"relative","--radix-scroll-area-corner-width":A+"px","--radix-scroll-area-corner-height":O+"px",...n.style}})})});Sy.displayName=Uf;var xy="ScrollAreaViewport",Ey=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,children:u,nonce:o,...c}=n,f=un(xy,i),h=M.useRef(null),m=St(r,h,f.onViewportChange);return te.jsxs(te.Fragment,{children:[te.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),te.jsx(ot.div,{"data-radix-scroll-area-viewport":"",...c,ref:m,style:{overflowX:f.scrollbarXEnabled?"scroll":"hidden",overflowY:f.scrollbarYEnabled?"scroll":"hidden",...n.style},children:te.jsx("div",{ref:f.onContentChange,style:{minWidth:"100%",display:"table"},children:u})})]})});Ey.displayName=xy;var xn="ScrollAreaScrollbar",A3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:f}=o,h=n.orientation==="horizontal";return M.useEffect(()=>(h?c(!0):f(!0),()=>{h?c(!1):f(!1)}),[h,c,f]),o.type==="hover"?te.jsx(T3,{...u,ref:r,forceMount:i}):o.type==="scroll"?te.jsx(z3,{...u,ref:r,forceMount:i}):o.type==="auto"?te.jsx(ky,{...u,ref:r,forceMount:i}):o.type==="always"?te.jsx(Bf,{...u,ref:r}):null});A3.displayName=xn;var T3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),[c,f]=M.useState(!1);return M.useEffect(()=>{const h=o.scrollArea;let m=0;if(h){const p=()=>{window.clearTimeout(m),f(!0)},y=()=>{m=window.setTimeout(()=>f(!1),o.scrollHideDelay)};return h.addEventListener("pointerenter",p),h.addEventListener("pointerleave",y),()=>{window.clearTimeout(m),h.removeEventListener("pointerenter",p),h.removeEventListener("pointerleave",y)}}},[o.scrollArea,o.scrollHideDelay]),te.jsx(Fn,{present:i||c,children:te.jsx(ky,{"data-state":c?"visible":"hidden",...u,ref:r})})}),z3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),c=n.orientation==="horizontal",f=Wu(()=>m("SCROLL_END"),100),[h,m]=C3("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return M.useEffect(()=>{if(h==="idle"){const p=window.setTimeout(()=>m("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(p)}},[h,o.scrollHideDelay,m]),M.useEffect(()=>{const p=o.viewport,y=c?"scrollLeft":"scrollTop";if(p){let g=p[y];const b=()=>{const S=p[y];g!==S&&(m("SCROLL"),f()),g=S};return p.addEventListener("scroll",b),()=>p.removeEventListener("scroll",b)}},[o.viewport,c,m,f]),te.jsx(Fn,{present:i||h!=="hidden",children:te.jsx(Bf,{"data-state":h==="hidden"?"hidden":"visible",...u,ref:r,onPointerEnter:We(n.onPointerEnter,()=>m("POINTER_ENTER")),onPointerLeave:We(n.onPointerLeave,()=>m("POINTER_LEAVE"))})})}),ky=M.forwardRef((n,r)=>{const i=un(xn,n.__scopeScrollArea),{forceMount:u,...o}=n,[c,f]=M.useState(!1),h=n.orientation==="horizontal",m=Wu(()=>{if(i.viewport){const p=i.viewport.offsetWidth<i.viewport.scrollWidth,y=i.viewport.offsetHeight<i.viewport.scrollHeight;f(h?p:y)}},10);return Gr(i.viewport,m),Gr(i.content,m),te.jsx(Fn,{present:u||c,children:te.jsx(Bf,{"data-state":c?"visible":"hidden",...o,ref:r})})}),Bf=M.forwardRef((n,r)=>{const{orientation:i="vertical",...u}=n,o=un(xn,n.__scopeScrollArea),c=M.useRef(null),f=M.useRef(0),[h,m]=M.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=Ty(h.viewport,h.content),y={...u,sizes:h,onSizesChange:m,hasThumb:p>0&&p<1,onThumbChange:b=>c.current=b,onThumbPointerUp:()=>f.current=0,onThumbPointerDown:b=>f.current=b};function g(b,S){return L3(b,f.current,h,S)}return i==="horizontal"?te.jsx(M3,{...y,ref:r,onThumbPositionChange:()=>{if(o.viewport&&c.current){const b=o.viewport.scrollLeft,S=Ig(b,h,o.dir);c.current.style.transform=`translate3d(${S}px, 0, 0)`}},onWheelScroll:b=>{o.viewport&&(o.viewport.scrollLeft=b)},onDragScroll:b=>{o.viewport&&(o.viewport.scrollLeft=g(b,o.dir))}}):i==="vertical"?te.jsx(_3,{...y,ref:r,onThumbPositionChange:()=>{if(o.viewport&&c.current){const b=o.viewport.scrollTop,S=Ig(b,h);c.current.style.transform=`translate3d(0, ${S}px, 0)`}},onWheelScroll:b=>{o.viewport&&(o.viewport.scrollTop=b)},onDragScroll:b=>{o.viewport&&(o.viewport.scrollTop=g(b))}}):null}),M3=M.forwardRef((n,r)=>{const{sizes:i,onSizesChange:u,...o}=n,c=un(xn,n.__scopeScrollArea),[f,h]=M.useState(),m=M.useRef(null),p=St(r,m,c.onScrollbarXChange);return M.useEffect(()=>{m.current&&h(getComputedStyle(m.current))},[m]),te.jsx(wy,{"data-orientation":"horizontal",...o,ref:p,sizes:i,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Ju(i)+"px",...n.style},onThumbPointerDown:y=>n.onThumbPointerDown(y.x),onDragScroll:y=>n.onDragScroll(y.x),onWheelScroll:(y,g)=>{if(c.viewport){const b=c.viewport.scrollLeft+y.deltaX;n.onWheelScroll(b),My(b,g)&&y.preventDefault()}},onResize:()=>{m.current&&c.viewport&&f&&u({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:m.current.clientWidth,paddingStart:Xu(f.paddingLeft),paddingEnd:Xu(f.paddingRight)}})}})}),_3=M.forwardRef((n,r)=>{const{sizes:i,onSizesChange:u,...o}=n,c=un(xn,n.__scopeScrollArea),[f,h]=M.useState(),m=M.useRef(null),p=St(r,m,c.onScrollbarYChange);return M.useEffect(()=>{m.current&&h(getComputedStyle(m.current))},[m]),te.jsx(wy,{"data-orientation":"vertical",...o,ref:p,sizes:i,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Ju(i)+"px",...n.style},onThumbPointerDown:y=>n.onThumbPointerDown(y.y),onDragScroll:y=>n.onDragScroll(y.y),onWheelScroll:(y,g)=>{if(c.viewport){const b=c.viewport.scrollTop+y.deltaY;n.onWheelScroll(b),My(b,g)&&y.preventDefault()}},onResize:()=>{m.current&&c.viewport&&f&&u({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:m.current.clientHeight,paddingStart:Xu(f.paddingTop),paddingEnd:Xu(f.paddingBottom)}})}})}),[D3,Cy]=by(xn),wy=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,sizes:u,hasThumb:o,onThumbChange:c,onThumbPointerUp:f,onThumbPointerDown:h,onThumbPositionChange:m,onDragScroll:p,onWheelScroll:y,onResize:g,...b}=n,S=un(xn,i),[k,C]=M.useState(null),T=St(r,ie=>C(ie)),A=M.useRef(null),q=M.useRef(""),O=S.viewport,G=u.content-u.viewport,P=Ft(y),U=Ft(m),Q=Wu(g,10);function re(ie){if(A.current){const N=ie.clientX-A.current.left,$=ie.clientY-A.current.top;p({x:N,y:$})}}return M.useEffect(()=>{const ie=N=>{const $=N.target;(k==null?void 0:k.contains($))&&P(N,G)};return document.addEventListener("wheel",ie,{passive:!1}),()=>document.removeEventListener("wheel",ie,{passive:!1})},[O,k,G,P]),M.useEffect(U,[u,U]),Gr(k,Q),Gr(S.content,Q),te.jsx(D3,{scope:i,scrollbar:k,hasThumb:o,onThumbChange:Ft(c),onThumbPointerUp:Ft(f),onThumbPositionChange:U,onThumbPointerDown:Ft(h),children:te.jsx(ot.div,{...b,ref:T,style:{position:"absolute",...b.style},onPointerDown:We(n.onPointerDown,ie=>{ie.button===0&&(ie.target.setPointerCapture(ie.pointerId),A.current=k.getBoundingClientRect(),q.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),re(ie))}),onPointerMove:We(n.onPointerMove,re),onPointerUp:We(n.onPointerUp,ie=>{const N=ie.target;N.hasPointerCapture(ie.pointerId)&&N.releasePointerCapture(ie.pointerId),document.body.style.webkitUserSelect=q.current,S.viewport&&(S.viewport.style.scrollBehavior=""),A.current=null})})})}),Gu="ScrollAreaThumb",R3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=Cy(Gu,n.__scopeScrollArea);return te.jsx(Fn,{present:i||o.hasThumb,children:te.jsx(O3,{ref:r,...u})})}),O3=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,style:u,...o}=n,c=un(Gu,i),f=Cy(Gu,i),{onThumbPositionChange:h}=f,m=St(r,g=>f.onThumbChange(g)),p=M.useRef(void 0),y=Wu(()=>{p.current&&(p.current(),p.current=void 0)},100);return M.useEffect(()=>{const g=c.viewport;if(g){const b=()=>{if(y(),!p.current){const S=U3(g,h);p.current=S,h()}};return h(),g.addEventListener("scroll",b),()=>g.removeEventListener("scroll",b)}},[c.viewport,y,h]),te.jsx(ot.div,{"data-state":f.hasThumb?"visible":"hidden",...o,ref:m,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...u},onPointerDownCapture:We(n.onPointerDownCapture,g=>{const S=g.target.getBoundingClientRect(),k=g.clientX-S.left,C=g.clientY-S.top;f.onThumbPointerDown({x:k,y:C})}),onPointerUp:We(n.onPointerUp,f.onThumbPointerUp)})});R3.displayName=Gu;var jf="ScrollAreaCorner",Ay=M.forwardRef((n,r)=>{const i=un(jf,n.__scopeScrollArea),u=!!(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&u?te.jsx(N3,{...n,ref:r}):null});Ay.displayName=jf;var N3=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,...u}=n,o=un(jf,i),[c,f]=M.useState(0),[h,m]=M.useState(0),p=!!(c&&h);return Gr(o.scrollbarX,()=>{var g;const y=((g=o.scrollbarX)==null?void 0:g.offsetHeight)||0;o.onCornerHeightChange(y),m(y)}),Gr(o.scrollbarY,()=>{var g;const y=((g=o.scrollbarY)==null?void 0:g.offsetWidth)||0;o.onCornerWidthChange(y),f(y)}),p?te.jsx(ot.div,{...u,ref:r,style:{width:c,height:h,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...n.style}}):null});function Xu(n){return n?parseInt(n,10):0}function Ty(n,r){const i=n/r;return isNaN(i)?0:i}function Ju(n){const r=Ty(n.viewport,n.content),i=n.scrollbar.paddingStart+n.scrollbar.paddingEnd,u=(n.scrollbar.size-i)*r;return Math.max(u,18)}function L3(n,r,i,u="ltr"){const o=Ju(i),c=o/2,f=r||c,h=o-f,m=i.scrollbar.paddingStart+f,p=i.scrollbar.size-i.scrollbar.paddingEnd-h,y=i.content-i.viewport,g=u==="ltr"?[0,y]:[y*-1,0];return zy([m,p],g)(n)}function Ig(n,r,i="ltr"){const u=Ju(r),o=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,c=r.scrollbar.size-o,f=r.content-r.viewport,h=c-u,m=i==="ltr"?[0,f]:[f*-1,0],p=k3(n,m);return zy([0,f],[0,h])(p)}function zy(n,r){return i=>{if(n[0]===n[1]||r[0]===r[1])return r[0];const u=(r[1]-r[0])/(n[1]-n[0]);return r[0]+u*(i-n[0])}}function My(n,r){return n>0&&n<r}var U3=(n,r=()=>{})=>{let i={left:n.scrollLeft,top:n.scrollTop},u=0;return(function o(){const c={left:n.scrollLeft,top:n.scrollTop},f=i.left!==c.left,h=i.top!==c.top;(f||h)&&r(),i=c,u=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(u)};function Wu(n,r){const i=Ft(n),u=M.useRef(0);return M.useEffect(()=>()=>window.clearTimeout(u.current),[]),M.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(i,r)},[i,r])}function Gr(n,r){const i=Ft(r);Yr(()=>{let u=0;if(n){const o=new ResizeObserver(()=>{cancelAnimationFrame(u),u=window.requestAnimationFrame(i)});return o.observe(n),()=>{window.cancelAnimationFrame(u),o.unobserve(n)}}},[n,i])}var JT=Sy,WT=Ey,$T=Ay,B3=pf[" useId ".trim().toString()]||(()=>{}),j3=0;function Ji(n){const[r,i]=M.useState(B3());return Yr(()=>{i(u=>u??String(j3++))},[n]),r?`radix-${r}`:""}var H3=pf[" useInsertionEffect ".trim().toString()]||Yr;function Hf({prop:n,defaultProp:r,onChange:i=()=>{},caller:u}){const[o,c,f]=q3({defaultProp:r,onChange:i}),h=n!==void 0,m=h?n:o;{const y=M.useRef(n!==void 0);M.useEffect(()=>{const g=y.current;g!==h&&console.warn(`${u} is changing from ${g?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=h},[h,u])}const p=M.useCallback(y=>{var g;if(h){const b=V3(y)?y(n):y;b!==n&&((g=f.current)==null||g.call(f,b))}else c(y)},[h,n,c,f]);return[m,p]}function q3({defaultProp:n,onChange:r}){const[i,u]=M.useState(n),o=M.useRef(i),c=M.useRef(r);return H3(()=>{c.current=r},[r]),M.useEffect(()=>{var f;o.current!==i&&((f=c.current)==null||f.call(c,i),o.current=i)},[i,o]),[i,u,c]}function V3(n){return typeof n=="function"}function Y3(n,r=globalThis==null?void 0:globalThis.document){const i=Ft(n);M.useEffect(()=>{const u=o=>{o.key==="Escape"&&i(o)};return r.addEventListener("keydown",u,{capture:!0}),()=>r.removeEventListener("keydown",u,{capture:!0})},[i,r])}var G3="DismissableLayer",sf="dismissableLayer.update",X3="dismissableLayer.pointerDownOutside",F3="dismissableLayer.focusOutside",Qg,_y=M.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dy=M.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:u,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:f,onDismiss:h,...m}=n,p=M.useContext(_y),[y,g]=M.useState(null),b=(y==null?void 0:y.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,S]=M.useState({}),k=St(r,Q=>g(Q)),C=Array.from(p.layers),[T]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),A=C.indexOf(T),q=y?C.indexOf(y):-1,O=p.layersWithOutsidePointerEventsDisabled.size>0,G=q>=A,P=Z3(Q=>{const re=Q.target,ie=[...p.branches].some(N=>N.contains(re));!G||ie||(o==null||o(Q),f==null||f(Q),Q.defaultPrevented||h==null||h())},b),U=K3(Q=>{const re=Q.target;[...p.branches].some(N=>N.contains(re))||(c==null||c(Q),f==null||f(Q),Q.defaultPrevented||h==null||h())},b);return Y3(Q=>{q===p.layers.size-1&&(u==null||u(Q),!Q.defaultPrevented&&h&&(Q.preventDefault(),h()))},b),M.useEffect(()=>{if(y)return i&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Qg=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),Zg(),()=>{i&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Qg)}},[y,b,i,p]),M.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),Zg())},[y,p]),M.useEffect(()=>{const Q=()=>S({});return document.addEventListener(sf,Q),()=>document.removeEventListener(sf,Q)},[]),te.jsx(ot.div,{...m,ref:k,style:{pointerEvents:O?G?"auto":"none":void 0,...n.style},onFocusCapture:We(n.onFocusCapture,U.onFocusCapture),onBlurCapture:We(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:We(n.onPointerDownCapture,P.onPointerDownCapture)})});Dy.displayName=G3;var I3="DismissableLayerBranch",Q3=M.forwardRef((n,r)=>{const i=M.useContext(_y),u=M.useRef(null),o=St(r,u);return M.useEffect(()=>{const c=u.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),te.jsx(ot.div,{...n,ref:o})});Q3.displayName=I3;function Z3(n,r=globalThis==null?void 0:globalThis.document){const i=Ft(n),u=M.useRef(!1),o=M.useRef(()=>{});return M.useEffect(()=>{const c=h=>{if(h.target&&!u.current){let m=function(){Ry(X3,i,p,{discrete:!0})};const p={originalEvent:h};h.pointerType==="touch"?(r.removeEventListener("click",o.current),o.current=m,r.addEventListener("click",o.current,{once:!0})):m()}else r.removeEventListener("click",o.current);u.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",o.current)}},[r,i]),{onPointerDownCapture:()=>u.current=!0}}function K3(n,r=globalThis==null?void 0:globalThis.document){const i=Ft(n),u=M.useRef(!1);return M.useEffect(()=>{const o=c=>{c.target&&!u.current&&Ry(F3,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",o),()=>r.removeEventListener("focusin",o)},[r,i]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}function Zg(){const n=new CustomEvent(sf);document.dispatchEvent(n)}function Ry(n,r,i,{discrete:u}){const o=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&o.addEventListener(n,r,{once:!0}),u?g3(o,c):o.dispatchEvent(c)}var Ys="focusScope.autoFocusOnMount",Gs="focusScope.autoFocusOnUnmount",Kg={bubbles:!1,cancelable:!0},P3="FocusScope",Oy=M.forwardRef((n,r)=>{const{loop:i=!1,trapped:u=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...f}=n,[h,m]=M.useState(null),p=Ft(o),y=Ft(c),g=M.useRef(null),b=St(r,C=>m(C)),S=M.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;M.useEffect(()=>{if(u){let C=function(O){if(S.paused||!h)return;const G=O.target;h.contains(G)?g.current=G:Sl(g.current,{select:!0})},T=function(O){if(S.paused||!h)return;const G=O.relatedTarget;G!==null&&(h.contains(G)||Sl(g.current,{select:!0}))},A=function(O){if(document.activeElement===document.body)for(const P of O)P.removedNodes.length>0&&Sl(h)};document.addEventListener("focusin",C),document.addEventListener("focusout",T);const q=new MutationObserver(A);return h&&q.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",T),q.disconnect()}}},[u,h,S.paused]),M.useEffect(()=>{if(h){Jg.add(S);const C=document.activeElement;if(!h.contains(C)){const A=new CustomEvent(Ys,Kg);h.addEventListener(Ys,p),h.dispatchEvent(A),A.defaultPrevented||(J3(nA(Ny(h)),{select:!0}),document.activeElement===C&&Sl(h))}return()=>{h.removeEventListener(Ys,p),setTimeout(()=>{const A=new CustomEvent(Gs,Kg);h.addEventListener(Gs,y),h.dispatchEvent(A),A.defaultPrevented||Sl(C??document.body,{select:!0}),h.removeEventListener(Gs,y),Jg.remove(S)},0)}}},[h,p,y,S]);const k=M.useCallback(C=>{if(!i&&!u||S.paused)return;const T=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,A=document.activeElement;if(T&&A){const q=C.currentTarget,[O,G]=W3(q);O&&G?!C.shiftKey&&A===G?(C.preventDefault(),i&&Sl(O,{select:!0})):C.shiftKey&&A===O&&(C.preventDefault(),i&&Sl(G,{select:!0})):A===q&&C.preventDefault()}},[i,u,S.paused]);return te.jsx(ot.div,{tabIndex:-1,...f,ref:b,onKeyDown:k})});Oy.displayName=P3;function J3(n,{select:r=!1}={}){const i=document.activeElement;for(const u of n)if(Sl(u,{select:r}),document.activeElement!==i)return}function W3(n){const r=Ny(n),i=Pg(r,n),u=Pg(r.reverse(),n);return[i,u]}function Ny(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:u=>{const o=u.tagName==="INPUT"&&u.type==="hidden";return u.disabled||u.hidden||o?NodeFilter.FILTER_SKIP:u.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Pg(n,r){for(const i of n)if(!$3(i,{upTo:r}))return i}function $3(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function eA(n){return n instanceof HTMLInputElement&&"select"in n}function Sl(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&eA(n)&&r&&n.select()}}var Jg=tA();function tA(){let n=[];return{add(r){const i=n[0];r!==i&&(i==null||i.pause()),n=Wg(n,r),n.unshift(r)},remove(r){var i;n=Wg(n,r),(i=n[0])==null||i.resume()}}}function Wg(n,r){const i=[...n],u=i.indexOf(r);return u!==-1&&i.splice(u,1),i}function nA(n){return n.filter(r=>r.tagName!=="A")}var lA="Portal",Ly=M.forwardRef((n,r)=>{var h;const{container:i,...u}=n,[o,c]=M.useState(!1);Yr(()=>c(!0),[]);const f=i||o&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return f?c3.createPortal(te.jsx(ot.div,{...u,ref:r}),f):null});Ly.displayName=lA;var Xs=0;function rA(){M.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??$g()),document.body.insertAdjacentElement("beforeend",n[1]??$g()),Xs++,()=>{Xs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Xs--}},[])}function $g(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var bn=function(){return bn=Object.assign||function(r){for(var i,u=1,o=arguments.length;u<o;u++){i=arguments[u];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},bn.apply(this,arguments)};function Uy(n,r){var i={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&r.indexOf(u)<0&&(i[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,u=Object.getOwnPropertySymbols(n);o<u.length;o++)r.indexOf(u[o])<0&&Object.prototype.propertyIsEnumerable.call(n,u[o])&&(i[u[o]]=n[u[o]]);return i}function iA(n,r,i){if(i||arguments.length===2)for(var u=0,o=r.length,c;u<o;u++)(c||!(u in r))&&(c||(c=Array.prototype.slice.call(r,0,u)),c[u]=r[u]);return n.concat(c||Array.prototype.slice.call(r))}var Lu="right-scroll-bar-position",Uu="width-before-scroll-bar",aA="with-scroll-bars-hidden",uA="--removed-body-scroll-bar-size";function Fs(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function oA(n,r){var i=M.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(u){var o=i.value;o!==u&&(i.value=u,i.callback(u,o))}}}})[0];return i.callback=r,i.facade}var cA=typeof window<"u"?M.useLayoutEffect:M.useEffect,e1=new WeakMap;function sA(n,r){var i=oA(null,function(u){return n.forEach(function(o){return Fs(o,u)})});return cA(function(){var u=e1.get(i);if(u){var o=new Set(u),c=new Set(n),f=i.current;o.forEach(function(h){c.has(h)||Fs(h,null)}),c.forEach(function(h){o.has(h)||Fs(h,f)})}e1.set(i,n)},[n]),i}function fA(n){return n}function dA(n,r){r===void 0&&(r=fA);var i=[],u=!1,o={read:function(){if(u)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:n},useMedium:function(c){var f=r(c,u);return i.push(f),function(){i=i.filter(function(h){return h!==f})}},assignSyncMedium:function(c){for(u=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(h){return c(h)},filter:function(){return i}}},assignMedium:function(c){u=!0;var f=[];if(i.length){var h=i;i=[],h.forEach(c),f=i}var m=function(){var y=f;f=[],y.forEach(c)},p=function(){return Promise.resolve().then(m)};p(),i={push:function(y){f.push(y),p()},filter:function(y){return f=f.filter(y),i}}}};return o}function hA(n){n===void 0&&(n={});var r=dA(null);return r.options=bn({async:!0,ssr:!1},n),r}var By=function(n){var r=n.sideCar,i=Uy(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var u=r.read();if(!u)throw new Error("Sidecar medium not found");return M.createElement(u,bn({},i))};By.isSideCarExport=!0;function pA(n,r){return n.useMedium(r),By}var jy=hA(),Is=function(){},$u=M.forwardRef(function(n,r){var i=M.useRef(null),u=M.useState({onScrollCapture:Is,onWheelCapture:Is,onTouchMoveCapture:Is}),o=u[0],c=u[1],f=n.forwardProps,h=n.children,m=n.className,p=n.removeScrollBar,y=n.enabled,g=n.shards,b=n.sideCar,S=n.noRelative,k=n.noIsolation,C=n.inert,T=n.allowPinchZoom,A=n.as,q=A===void 0?"div":A,O=n.gapMode,G=Uy(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=b,U=sA([i,r]),Q=bn(bn({},G),o);return M.createElement(M.Fragment,null,y&&M.createElement(P,{sideCar:jy,removeScrollBar:p,shards:g,noRelative:S,noIsolation:k,inert:C,setCallbacks:c,allowPinchZoom:!!T,lockRef:i,gapMode:O}),f?M.cloneElement(M.Children.only(h),bn(bn({},Q),{ref:U})):M.createElement(q,bn({},Q,{className:m,ref:U}),h))});$u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};$u.classNames={fullWidth:Uu,zeroRight:Lu};var mA=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function gA(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=mA();return r&&n.setAttribute("nonce",r),n}function yA(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function vA(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var bA=function(){var n=0,r=null;return{add:function(i){n==0&&(r=gA())&&(yA(r,i),vA(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},SA=function(){var n=bA();return function(r,i){M.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Hy=function(){var n=SA(),r=function(i){var u=i.styles,o=i.dynamic;return n(u,o),null};return r},xA={left:0,top:0,right:0,gap:0},Qs=function(n){return parseInt(n||"",10)||0},EA=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],u=r[n==="padding"?"paddingTop":"marginTop"],o=r[n==="padding"?"paddingRight":"marginRight"];return[Qs(i),Qs(u),Qs(o)]},kA=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return xA;var r=EA(n),i=document.documentElement.clientWidth,u=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,u-i+r[2]-r[0])}},CA=Hy(),qr="data-scroll-locked",wA=function(n,r,i,u){var o=n.left,c=n.top,f=n.right,h=n.gap;return i===void 0&&(i="margin"),`
|
|
503
|
+
.`.concat(aA,` {
|
|
509
504
|
overflow: hidden `).concat(u,`;
|
|
510
505
|
padding-right: `).concat(h,"px ").concat(u,`;
|
|
511
506
|
}
|
|
@@ -539,13 +534,13 @@ Error generating stack: `+a.message+`
|
|
|
539
534
|
}
|
|
540
535
|
|
|
541
536
|
body[`).concat(qr,`] {
|
|
542
|
-
`).concat(
|
|
537
|
+
`).concat(uA,": ").concat(h,`px;
|
|
543
538
|
}
|
|
544
|
-
`)},t1=function(){var n=parseInt(document.body.getAttribute(qr)||"0",10);return isFinite(n)?n:0},
|
|
539
|
+
`)},t1=function(){var n=parseInt(document.body.getAttribute(qr)||"0",10);return isFinite(n)?n:0},AA=function(){M.useEffect(function(){return document.body.setAttribute(qr,(t1()+1).toString()),function(){var n=t1()-1;n<=0?document.body.removeAttribute(qr):document.body.setAttribute(qr,n.toString())}},[])},TA=function(n){var r=n.noRelative,i=n.noImportant,u=n.gapMode,o=u===void 0?"margin":u;AA();var c=M.useMemo(function(){return kA(o)},[o]);return M.createElement(CA,{styles:wA(c,!r,o,i?"":"!important")})},ff=!1;if(typeof window<"u")try{var _u=Object.defineProperty({},"passive",{get:function(){return ff=!0,!0}});window.addEventListener("test",_u,_u),window.removeEventListener("test",_u,_u)}catch{ff=!1}var Nr=ff?{passive:!1}:!1,zA=function(n){return n.tagName==="TEXTAREA"},qy=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!zA(n)&&i[r]==="visible")},MA=function(n){return qy(n,"overflowY")},_A=function(n){return qy(n,"overflowX")},n1=function(n,r){var i=r.ownerDocument,u=r;do{typeof ShadowRoot<"u"&&u instanceof ShadowRoot&&(u=u.host);var o=Vy(n,u);if(o){var c=Yy(n,u),f=c[1],h=c[2];if(f>h)return!0}u=u.parentNode}while(u&&u!==i.body);return!1},DA=function(n){var r=n.scrollTop,i=n.scrollHeight,u=n.clientHeight;return[r,i,u]},RA=function(n){var r=n.scrollLeft,i=n.scrollWidth,u=n.clientWidth;return[r,i,u]},Vy=function(n,r){return n==="v"?MA(r):_A(r)},Yy=function(n,r){return n==="v"?DA(r):RA(r)},OA=function(n,r){return n==="h"&&r==="rtl"?-1:1},NA=function(n,r,i,u,o){var c=OA(n,window.getComputedStyle(r).direction),f=c*u,h=i.target,m=r.contains(h),p=!1,y=f>0,g=0,b=0;do{if(!h)break;var S=Yy(n,h),k=S[0],C=S[1],T=S[2],A=C-T-c*k;(k||A)&&Vy(n,h)&&(g+=A,b+=k);var q=h.parentNode;h=q&&q.nodeType===Node.DOCUMENT_FRAGMENT_NODE?q.host:q}while(!m&&h!==document.body||m&&(r.contains(h)||r===h));return(y&&Math.abs(g)<1||!y&&Math.abs(b)<1)&&(p=!0),p},Du=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},l1=function(n){return[n.deltaX,n.deltaY]},r1=function(n){return n&&"current"in n?n.current:n},LA=function(n,r){return n[0]===r[0]&&n[1]===r[1]},UA=function(n){return`
|
|
545
540
|
.block-interactivity-`.concat(n,` {pointer-events: none;}
|
|
546
541
|
.allow-interactivity-`).concat(n,` {pointer-events: all;}
|
|
547
|
-
`)},
|
|
542
|
+
`)},BA=0,Lr=[];function jA(n){var r=M.useRef([]),i=M.useRef([0,0]),u=M.useRef(),o=M.useState(BA++)[0],c=M.useState(Hy)[0],f=M.useRef(n);M.useEffect(function(){f.current=n},[n]),M.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(o));var C=iA([n.lockRef.current],(n.shards||[]).map(r1),!0).filter(Boolean);return C.forEach(function(T){return T.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),C.forEach(function(T){return T.classList.remove("allow-interactivity-".concat(o))})}}},[n.inert,n.lockRef.current,n.shards]);var h=M.useCallback(function(C,T){if("touches"in C&&C.touches.length===2||C.type==="wheel"&&C.ctrlKey)return!f.current.allowPinchZoom;var A=Du(C),q=i.current,O="deltaX"in C?C.deltaX:q[0]-A[0],G="deltaY"in C?C.deltaY:q[1]-A[1],P,U=C.target,Q=Math.abs(O)>Math.abs(G)?"h":"v";if("touches"in C&&Q==="h"&&U.type==="range")return!1;var re=window.getSelection(),ie=re&&re.anchorNode,N=ie?ie===U||ie.contains(U):!1;if(N)return!1;var $=n1(Q,U);if(!$)return!0;if($?P=Q:(P=Q==="v"?"h":"v",$=n1(Q,U)),!$)return!1;if(!u.current&&"changedTouches"in C&&(O||G)&&(u.current=P),!P)return!0;var K=u.current||P;return NA(K,T,C,K==="h"?O:G)},[]),m=M.useCallback(function(C){var T=C;if(!(!Lr.length||Lr[Lr.length-1]!==c)){var A="deltaY"in T?l1(T):Du(T),q=r.current.filter(function(P){return P.name===T.type&&(P.target===T.target||T.target===P.shadowParent)&&LA(P.delta,A)})[0];if(q&&q.should){T.cancelable&&T.preventDefault();return}if(!q){var O=(f.current.shards||[]).map(r1).filter(Boolean).filter(function(P){return P.contains(T.target)}),G=O.length>0?h(T,O[0]):!f.current.noIsolation;G&&T.cancelable&&T.preventDefault()}}},[]),p=M.useCallback(function(C,T,A,q){var O={name:C,delta:T,target:A,should:q,shadowParent:HA(A)};r.current.push(O),setTimeout(function(){r.current=r.current.filter(function(G){return G!==O})},1)},[]),y=M.useCallback(function(C){i.current=Du(C),u.current=void 0},[]),g=M.useCallback(function(C){p(C.type,l1(C),C.target,h(C,n.lockRef.current))},[]),b=M.useCallback(function(C){p(C.type,Du(C),C.target,h(C,n.lockRef.current))},[]);M.useEffect(function(){return Lr.push(c),n.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:b}),document.addEventListener("wheel",m,Nr),document.addEventListener("touchmove",m,Nr),document.addEventListener("touchstart",y,Nr),function(){Lr=Lr.filter(function(C){return C!==c}),document.removeEventListener("wheel",m,Nr),document.removeEventListener("touchmove",m,Nr),document.removeEventListener("touchstart",y,Nr)}},[]);var S=n.removeScrollBar,k=n.inert;return M.createElement(M.Fragment,null,k?M.createElement(c,{styles:UA(o)}):null,S?M.createElement(TA,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function HA(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const qA=pA(jy,jA);var Gy=M.forwardRef(function(n,r){return M.createElement($u,bn({},n,{ref:r,sideCar:qA}))});Gy.classNames=$u.classNames;var VA=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Ur=new WeakMap,Ru=new WeakMap,Ou={},Zs=0,Xy=function(n){return n&&(n.host||Xy(n.parentNode))},YA=function(n,r){return r.map(function(i){if(n.contains(i))return i;var u=Xy(i);return u&&n.contains(u)?u:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},GA=function(n,r,i,u){var o=YA(r,Array.isArray(n)?n:[n]);Ou[i]||(Ou[i]=new WeakMap);var c=Ou[i],f=[],h=new Set,m=new Set(o),p=function(g){!g||h.has(g)||(h.add(g),p(g.parentNode))};o.forEach(p);var y=function(g){!g||m.has(g)||Array.prototype.forEach.call(g.children,function(b){if(h.has(b))y(b);else try{var S=b.getAttribute(u),k=S!==null&&S!=="false",C=(Ur.get(b)||0)+1,T=(c.get(b)||0)+1;Ur.set(b,C),c.set(b,T),f.push(b),C===1&&k&&Ru.set(b,!0),T===1&&b.setAttribute(i,"true"),k||b.setAttribute(u,"true")}catch(A){console.error("aria-hidden: cannot operate on ",b,A)}})};return y(r),h.clear(),Zs++,function(){f.forEach(function(g){var b=Ur.get(g)-1,S=c.get(g)-1;Ur.set(g,b),c.set(g,S),b||(Ru.has(g)||g.removeAttribute(u),Ru.delete(g)),S||g.removeAttribute(i)}),Zs--,Zs||(Ur=new WeakMap,Ur=new WeakMap,Ru=new WeakMap,Ou={})}},XA=function(n,r,i){i===void 0&&(i="data-aria-hidden");var u=Array.from(Array.isArray(n)?n:[n]),o=VA(n);return o?(u.push.apply(u,Array.from(o.querySelectorAll("[aria-live], script"))),GA(u,o,i,"aria-hidden")):function(){return null}},eo="Dialog",[Fy]=ra(eo),[FA,hn]=Fy(eo),Iy=n=>{const{__scopeDialog:r,children:i,open:u,defaultOpen:o,onOpenChange:c,modal:f=!0}=n,h=M.useRef(null),m=M.useRef(null),[p,y]=Hf({prop:u,defaultProp:o??!1,onChange:c,caller:eo});return te.jsx(FA,{scope:r,triggerRef:h,contentRef:m,contentId:Ji(),titleId:Ji(),descriptionId:Ji(),open:p,onOpenChange:y,onOpenToggle:M.useCallback(()=>y(g=>!g),[y]),modal:f,children:i})};Iy.displayName=eo;var Qy="DialogTrigger",IA=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(Qy,i),c=St(r,o.triggerRef);return te.jsx(ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Yf(o.open),...u,ref:c,onClick:We(n.onClick,o.onOpenToggle)})});IA.displayName=Qy;var qf="DialogPortal",[QA,Zy]=Fy(qf,{forceMount:void 0}),Ky=n=>{const{__scopeDialog:r,forceMount:i,children:u,container:o}=n,c=hn(qf,r);return te.jsx(QA,{scope:r,forceMount:i,children:M.Children.map(u,f=>te.jsx(Fn,{present:i||c.open,children:te.jsx(Ly,{asChild:!0,container:o,children:f})}))})};Ky.displayName=qf;var Fu="DialogOverlay",Py=M.forwardRef((n,r)=>{const i=Zy(Fu,n.__scopeDialog),{forceMount:u=i.forceMount,...o}=n,c=hn(Fu,n.__scopeDialog);return c.modal?te.jsx(Fn,{present:u||c.open,children:te.jsx(KA,{...o,ref:r})}):null});Py.displayName=Fu;var ZA=Yu("DialogOverlay.RemoveScroll"),KA=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(Fu,i);return te.jsx(Gy,{as:ZA,allowPinchZoom:!0,shards:[o.contentRef],children:te.jsx(ot.div,{"data-state":Yf(o.open),...u,ref:r,style:{pointerEvents:"auto",...u.style}})})}),Yl="DialogContent",Jy=M.forwardRef((n,r)=>{const i=Zy(Yl,n.__scopeDialog),{forceMount:u=i.forceMount,...o}=n,c=hn(Yl,n.__scopeDialog);return te.jsx(Fn,{present:u||c.open,children:c.modal?te.jsx(PA,{...o,ref:r}):te.jsx(JA,{...o,ref:r})})});Jy.displayName=Yl;var PA=M.forwardRef((n,r)=>{const i=hn(Yl,n.__scopeDialog),u=M.useRef(null),o=St(r,i.contentRef,u);return M.useEffect(()=>{const c=u.current;if(c)return XA(c)},[]),te.jsx(Wy,{...n,ref:o,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:We(n.onCloseAutoFocus,c=>{var f;c.preventDefault(),(f=i.triggerRef.current)==null||f.focus()}),onPointerDownOutside:We(n.onPointerDownOutside,c=>{const f=c.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0;(f.button===2||h)&&c.preventDefault()}),onFocusOutside:We(n.onFocusOutside,c=>c.preventDefault())})}),JA=M.forwardRef((n,r)=>{const i=hn(Yl,n.__scopeDialog),u=M.useRef(!1),o=M.useRef(!1);return te.jsx(Wy,{...n,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var f,h;(f=n.onCloseAutoFocus)==null||f.call(n,c),c.defaultPrevented||(u.current||(h=i.triggerRef.current)==null||h.focus(),c.preventDefault()),u.current=!1,o.current=!1},onInteractOutside:c=>{var m,p;(m=n.onInteractOutside)==null||m.call(n,c),c.defaultPrevented||(u.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const f=c.target;((p=i.triggerRef.current)==null?void 0:p.contains(f))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),Wy=M.forwardRef((n,r)=>{const{__scopeDialog:i,trapFocus:u,onOpenAutoFocus:o,onCloseAutoFocus:c,...f}=n,h=hn(Yl,i),m=M.useRef(null),p=St(r,m);return rA(),te.jsxs(te.Fragment,{children:[te.jsx(Oy,{asChild:!0,loop:!0,trapped:u,onMountAutoFocus:o,onUnmountAutoFocus:c,children:te.jsx(Dy,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":Yf(h.open),...f,ref:p,onDismiss:()=>h.onOpenChange(!1)})}),te.jsxs(te.Fragment,{children:[te.jsx(WA,{titleId:h.titleId}),te.jsx(e4,{contentRef:m,descriptionId:h.descriptionId})]})]})}),Vf="DialogTitle",$y=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(Vf,i);return te.jsx(ot.h2,{id:o.titleId,...u,ref:r})});$y.displayName=Vf;var e0="DialogDescription",t0=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(e0,i);return te.jsx(ot.p,{id:o.descriptionId,...u,ref:r})});t0.displayName=e0;var n0="DialogClose",l0=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(n0,i);return te.jsx(ot.button,{type:"button",...u,ref:r,onClick:We(n.onClick,()=>o.onOpenChange(!1))})});l0.displayName=n0;function Yf(n){return n?"open":"closed"}var r0="DialogTitleWarning",[ez,i0]=S3(r0,{contentName:Yl,titleName:Vf,docsSlug:"dialog"}),WA=({titleId:n})=>{const r=i0(r0),i=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
|
|
548
543
|
|
|
549
544
|
If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
550
545
|
|
|
551
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return M.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},$
|
|
546
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return M.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},$A="DialogDescriptionWarning",e4=({contentRef:n,descriptionId:r})=>{const u=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${i0($A).contentName}}.`;return M.useEffect(()=>{var c;const o=(c=n.current)==null?void 0:c.getAttribute("aria-describedby");r&&o&&(document.getElementById(r)||console.warn(u))},[u,n,r]),null},tz=Iy,nz=Ky,lz=Py,rz=Jy,iz=$y,az=t0,uz=l0;function t4(n){const r=n+"CollectionProvider",[i,u]=ra(r),[o,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=C=>{const{scope:T,children:A}=C,q=rn.useRef(null),O=rn.useRef(new Map).current;return te.jsx(o,{scope:T,itemMap:O,collectionRef:q,children:A})};f.displayName=r;const h=n+"CollectionSlot",m=Yu(h),p=rn.forwardRef((C,T)=>{const{scope:A,children:q}=C,O=c(h,A),G=St(T,O.collectionRef);return te.jsx(m,{ref:G,children:q})});p.displayName=h;const y=n+"CollectionItemSlot",g="data-radix-collection-item",b=Yu(y),S=rn.forwardRef((C,T)=>{const{scope:A,children:q,...O}=C,G=rn.useRef(null),P=St(T,G),U=c(y,A);return rn.useEffect(()=>(U.itemMap.set(G,{ref:G,...O}),()=>void U.itemMap.delete(G))),te.jsx(b,{[g]:"",ref:P,children:q})});S.displayName=y;function k(C){const T=c(n+"CollectionConsumer",C);return rn.useCallback(()=>{const q=T.collectionRef.current;if(!q)return[];const O=Array.from(q.querySelectorAll(`[${g}]`));return Array.from(T.itemMap.values()).sort((U,Q)=>O.indexOf(U.ref.current)-O.indexOf(Q.ref.current))},[T.collectionRef,T.itemMap])}return[{Provider:f,Slot:p,ItemSlot:S},k,u]}var Ks="rovingFocusGroup.onEntryFocus",n4={bubbles:!1,cancelable:!0},ia="RovingFocusGroup",[df,a0,l4]=t4(ia),[r4,u0]=ra(ia,[l4]),[i4,a4]=r4(ia),o0=M.forwardRef((n,r)=>te.jsx(df.Provider,{scope:n.__scopeRovingFocusGroup,children:te.jsx(df.Slot,{scope:n.__scopeRovingFocusGroup,children:te.jsx(u4,{...n,ref:r})})}));o0.displayName=ia;var u4=M.forwardRef((n,r)=>{const{__scopeRovingFocusGroup:i,orientation:u,loop:o=!1,dir:c,currentTabStopId:f,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:m,onEntryFocus:p,preventScrollOnEntryFocus:y=!1,...g}=n,b=M.useRef(null),S=St(r,b),k=Lf(c),[C,T]=Hf({prop:f,defaultProp:h??null,onChange:m,caller:ia}),[A,q]=M.useState(!1),O=Ft(p),G=a0(i),P=M.useRef(!1),[U,Q]=M.useState(0);return M.useEffect(()=>{const re=b.current;if(re)return re.addEventListener(Ks,O),()=>re.removeEventListener(Ks,O)},[O]),te.jsx(i4,{scope:i,orientation:u,dir:k,loop:o,currentTabStopId:C,onItemFocus:M.useCallback(re=>T(re),[T]),onItemShiftTab:M.useCallback(()=>q(!0),[]),onFocusableItemAdd:M.useCallback(()=>Q(re=>re+1),[]),onFocusableItemRemove:M.useCallback(()=>Q(re=>re-1),[]),children:te.jsx(ot.div,{tabIndex:A||U===0?-1:0,"data-orientation":u,...g,ref:S,style:{outline:"none",...n.style},onMouseDown:We(n.onMouseDown,()=>{P.current=!0}),onFocus:We(n.onFocus,re=>{const ie=!P.current;if(re.target===re.currentTarget&&ie&&!A){const N=new CustomEvent(Ks,n4);if(re.currentTarget.dispatchEvent(N),!N.defaultPrevented){const $=G().filter(L=>L.focusable),K=$.find(L=>L.active),be=$.find(L=>L.id===C),ee=[K,be,...$].filter(Boolean).map(L=>L.ref.current);f0(ee,y)}}P.current=!1}),onBlur:We(n.onBlur,()=>q(!1))})})}),c0="RovingFocusGroupItem",s0=M.forwardRef((n,r)=>{const{__scopeRovingFocusGroup:i,focusable:u=!0,active:o=!1,tabStopId:c,children:f,...h}=n,m=Ji(),p=c||m,y=a4(c0,i),g=y.currentTabStopId===p,b=a0(i),{onFocusableItemAdd:S,onFocusableItemRemove:k,currentTabStopId:C}=y;return M.useEffect(()=>{if(u)return S(),()=>k()},[u,S,k]),te.jsx(df.ItemSlot,{scope:i,id:p,focusable:u,active:o,children:te.jsx(ot.span,{tabIndex:g?0:-1,"data-orientation":y.orientation,...h,ref:r,onMouseDown:We(n.onMouseDown,T=>{u?y.onItemFocus(p):T.preventDefault()}),onFocus:We(n.onFocus,()=>y.onItemFocus(p)),onKeyDown:We(n.onKeyDown,T=>{if(T.key==="Tab"&&T.shiftKey){y.onItemShiftTab();return}if(T.target!==T.currentTarget)return;const A=s4(T,y.orientation,y.dir);if(A!==void 0){if(T.metaKey||T.ctrlKey||T.altKey||T.shiftKey)return;T.preventDefault();let O=b().filter(G=>G.focusable).map(G=>G.ref.current);if(A==="last")O.reverse();else if(A==="prev"||A==="next"){A==="prev"&&O.reverse();const G=O.indexOf(T.currentTarget);O=y.loop?f4(O,G+1):O.slice(G+1)}setTimeout(()=>f0(O))}}),children:typeof f=="function"?f({isCurrentTabStop:g,hasTabStop:C!=null}):f})})});s0.displayName=c0;var o4={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function c4(n,r){return r!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function s4(n,r,i){const u=c4(n.key,i);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(u))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(u)))return o4[u]}function f0(n,r=!1){const i=document.activeElement;for(const u of n)if(u===i||(u.focus({preventScroll:r}),document.activeElement!==i))return}function f4(n,r){return n.map((i,u)=>n[(r+u)%n.length])}var d4=o0,h4=s0,to="Tabs",[p4]=ra(to,[u0]),d0=u0(),[m4,Gf]=p4(to),h0=M.forwardRef((n,r)=>{const{__scopeTabs:i,value:u,onValueChange:o,defaultValue:c,orientation:f="horizontal",dir:h,activationMode:m="automatic",...p}=n,y=Lf(h),[g,b]=Hf({prop:u,onChange:o,defaultProp:c??"",caller:to});return te.jsx(m4,{scope:i,baseId:Ji(),value:g,onValueChange:b,orientation:f,dir:y,activationMode:m,children:te.jsx(ot.div,{dir:y,"data-orientation":f,...p,ref:r})})});h0.displayName=to;var p0="TabsList",m0=M.forwardRef((n,r)=>{const{__scopeTabs:i,loop:u=!0,...o}=n,c=Gf(p0,i),f=d0(i);return te.jsx(d4,{asChild:!0,...f,orientation:c.orientation,dir:c.dir,loop:u,children:te.jsx(ot.div,{role:"tablist","aria-orientation":c.orientation,...o,ref:r})})});m0.displayName=p0;var g0="TabsTrigger",y0=M.forwardRef((n,r)=>{const{__scopeTabs:i,value:u,disabled:o=!1,...c}=n,f=Gf(g0,i),h=d0(i),m=S0(f.baseId,u),p=x0(f.baseId,u),y=u===f.value;return te.jsx(h4,{asChild:!0,...h,focusable:!o,active:y,children:te.jsx(ot.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":p,"data-state":y?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:m,...c,ref:r,onMouseDown:We(n.onMouseDown,g=>{!o&&g.button===0&&g.ctrlKey===!1?f.onValueChange(u):g.preventDefault()}),onKeyDown:We(n.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&f.onValueChange(u)}),onFocus:We(n.onFocus,()=>{const g=f.activationMode!=="manual";!y&&!o&&g&&f.onValueChange(u)})})})});y0.displayName=g0;var v0="TabsContent",b0=M.forwardRef((n,r)=>{const{__scopeTabs:i,value:u,forceMount:o,children:c,...f}=n,h=Gf(v0,i),m=S0(h.baseId,u),p=x0(h.baseId,u),y=u===h.value,g=M.useRef(y);return M.useEffect(()=>{const b=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(b)},[]),te.jsx(Fn,{present:o||y,children:({present:b})=>te.jsx(ot.div,{"data-state":y?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":m,hidden:!b,id:p,tabIndex:0,...f,ref:r,style:{...n.style,animationDuration:g.current?"0s":void 0},children:b&&c})})});b0.displayName=v0;function S0(n,r){return`${n}-trigger-${r}`}function x0(n,r){return`${n}-content-${r}`}var oz=h0,cz=m0,sz=y0,fz=b0;export{KT as $,x4 as A,A4 as B,N4 as C,Y4 as D,_4 as E,P4 as F,J4 as G,$4 as H,tT as I,M4 as J,D4 as K,aT as L,hT as M,O4 as N,R4 as O,bT as P,q4 as Q,wT as R,_T as S,BT as T,jT as U,qT as V,XT as W,FT as X,LT as Y,w4 as Z,j4 as _,Jb as a,PT as a0,I4 as a1,ST as a2,xT as a3,C4 as a4,E4 as a5,IT as a6,nT as a7,k4 as a8,T4 as a9,W4 as aA,CT as aB,cz as aC,sz as aD,fz as aE,oz as aF,lT as aG,kT as aH,X4 as aI,pT as aJ,mT as aK,iT as aL,L4 as aM,B4 as aN,RT as aO,gT as aP,fT as aQ,g4 as aR,rn as aS,rT as aa,JT as ab,WT as ac,$T as ad,A3 as ae,R3 as af,yT as ag,K4 as ah,S4 as ai,H4 as aj,HT as ak,uT as al,sT as am,vT as an,F4 as ao,ET as ap,oT as aq,lz as ar,nz as as,rz as at,uz as au,iz as av,az as aw,tz as ax,MT as ay,Q4 as az,U4 as b,y4 as c,OT as d,z4 as e,UT as f,G4 as g,eT as h,zT as i,te as j,V4 as k,NT as l,dT as m,cT as n,VT as o,v4 as p,AT as q,M as r,Z4 as s,b4 as t,QT as u,ZT as v,DT as w,TT as x,GT as y,YT as z};
|