sqlmesh 0.202.2.dev7__py3-none-any.whl → 0.202.2.dev9__py3-none-any.whl
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.
- sqlmesh/_version.py +2 -2
- {sqlmesh-0.202.2.dev7.dist-info → sqlmesh-0.202.2.dev9.dist-info}/METADATA +1 -1
- {sqlmesh-0.202.2.dev7.dist-info → sqlmesh-0.202.2.dev9.dist-info}/RECORD +51 -51
- web/client/dist/assets/{Audits-BuHAmFO8.js → Audits-Jm353fhk.js} +1 -1
- web/client/dist/assets/{Banner-DFFgSp7_.js → Banner-DzWLWxS2.js} +1 -1
- web/client/dist/assets/{ChevronDownIcon-DtTgO9XQ.js → ChevronDownIcon-DND34_0j.js} +1 -1
- web/client/dist/assets/{ChevronRightIcon-UI3RytmK.js → ChevronRightIcon-BrnG7zJd.js} +1 -1
- web/client/dist/assets/{Content-aUn7pk46.js → Content-BaMgXJRh.js} +1 -1
- web/client/dist/assets/{Content-CpNCWToC.js → Content-DphTMPPH.js} +1 -1
- web/client/dist/assets/Data-MJRTjiHp.js +1 -0
- web/client/dist/assets/{DataCatalog-BTH7PLMa.js → DataCatalog-DnhHmqO9.js} +1 -1
- web/client/dist/assets/Editor-Bsp2nRii.js +1 -0
- web/client/dist/assets/{Editor-biLDBbAA.js → Editor-CD1DYOmd.js} +1 -1
- web/client/dist/assets/{Errors-CH0KFwsR.js → Errors-CwLLcKXv.js} +1 -1
- web/client/dist/assets/{FileExplorer-DajbVeH5.js → FileExplorer-CjiHTJqb.js} +1 -1
- web/client/dist/assets/{Footer-1kutyViJ.js → Footer-BeDVe5W7.js} +1 -1
- web/client/dist/assets/{Header-BeNTIlzT.js → Header-dh7a7qX-.js} +1 -1
- web/client/dist/assets/{Input-BGdTmRPV.js → Input-B-Ounlv_.js} +1 -1
- web/client/dist/assets/Lineage-DDBcnPQX.js +1 -0
- web/client/dist/assets/ListboxShow-CV2BuG5q.js +1 -0
- web/client/dist/assets/{ModelLineage-BVQJptIB.js → ModelLineage-B1JusHLp.js} +1 -1
- web/client/dist/assets/{Models-B5TYaoIH.js → Models-BILTGfK2.js} +1 -1
- web/client/dist/assets/{Page-D_es10yq.js → Page-SvStklIG.js} +1 -1
- web/client/dist/assets/{Plan-D4VG3U-s.js → Plan-BHC6Jsvb.js} +1 -1
- web/client/dist/assets/{PlusCircleIcon-M3NGeHST.js → PlusCircleIcon-BWbZTVU_.js} +1 -1
- web/client/dist/assets/{ReportErrors-CaaGo6UD.js → ReportErrors-h8_M9bTF.js} +1 -1
- web/client/dist/assets/{Root-DcJxWwG4.js → Root-yarU-KP7.js} +1 -1
- web/client/dist/assets/{SearchList-vj2s_Pnb.js → SearchList-BLcpQVJH.js} +1 -1
- web/client/dist/assets/{SelectEnvironment-GfN4mjDu.js → SelectEnvironment-BcN1dphw.js} +1 -1
- web/client/dist/assets/{SourceList-BioJ2XB9.js → SourceList-Kt2aCd0O.js} +1 -1
- web/client/dist/assets/{SourceListItem-DhUDAM6G.js → SourceListItem-B7x_VFKR.js} +1 -1
- web/client/dist/assets/{SplitPane-CqYEXonR.js → SplitPane-BH6IQnVH.js} +1 -1
- web/client/dist/assets/{Tests-D0MOEJwQ.js → Tests-ClEdNkg6.js} +1 -1
- web/client/dist/assets/{Welcome-ALXxKTT6.js → Welcome-D2UIox3v.js} +1 -1
- web/client/dist/assets/{context-C6O7H5eL.js → context-DieJUDVl.js} +17 -17
- web/client/dist/assets/{context-DUS5wzfN.js → context-DykI9LSF.js} +1 -1
- web/client/dist/assets/{editor-DQqZC36D.js → editor-DNt3hEcu.js} +1 -1
- web/client/dist/assets/{file-gUDWL5Z6.js → file-y5ZNtlGh.js} +1 -1
- web/client/dist/assets/{floating-ui.react-dom-9Mo3XjFw.js → floating-ui.react-dom-BX3awo09.js} +1 -1
- web/client/dist/assets/help-B59vE3aE.js +1 -0
- web/client/dist/assets/{help-CfEW8yRZ.js → help-DeXhqTBT.js} +1 -1
- web/client/dist/assets/index-DXRmsAbz.js +58 -0
- web/client/dist/assets/{index-Ditw2lX8.js → index-DyOMAzII.js} +1 -1
- web/client/dist/assets/{plan-BC79Qq7e.js → plan-B4z00b85.js} +1 -1
- web/client/dist/assets/popover-B6Q1laIx.js +13 -0
- web/client/dist/assets/{project-YuVl6ae5.js → project-BraqCC5X.js} +1 -1
- web/client/dist/index.html +1 -1
- web/client/dist/assets/Data-CZDVrGG4.js +0 -1
- web/client/dist/assets/Editor-aTj13TCY.js +0 -1
- web/client/dist/assets/Lineage-C7Aqseca.js +0 -1
- web/client/dist/assets/ListboxShow-BRUdoaSL.js +0 -1
- web/client/dist/assets/help-6Q7f7fjd.js +0 -1
- web/client/dist/assets/index-DH1v9iOD.js +0 -58
- web/client/dist/assets/popover-BS2D7N_A.js +0 -13
- {sqlmesh-0.202.2.dev7.dist-info → sqlmesh-0.202.2.dev9.dist-info}/WHEEL +0 -0
- {sqlmesh-0.202.2.dev7.dist-info → sqlmesh-0.202.2.dev9.dist-info}/entry_points.txt +0 -0
- {sqlmesh-0.202.2.dev7.dist-info → sqlmesh-0.202.2.dev9.dist-info}/licenses/LICENSE +0 -0
- {sqlmesh-0.202.2.dev7.dist-info → sqlmesh-0.202.2.dev9.dist-info}/top_level.txt +0 -0
sqlmesh/_version.py
CHANGED
|
@@ -17,5 +17,5 @@ __version__: str
|
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
|
18
18
|
version_tuple: VERSION_TUPLE
|
|
19
19
|
|
|
20
|
-
__version__ = version = '0.202.2.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 202, 2, '
|
|
20
|
+
__version__ = version = '0.202.2.dev9'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 202, 2, 'dev9')
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
sqlmesh/__init__.py,sha256=QjwaamJIdW7voXoS880yAx7tHm-Im4_mqGA-XJgafos,7631
|
|
2
|
-
sqlmesh/_version.py,sha256=
|
|
2
|
+
sqlmesh/_version.py,sha256=gUtfEQ1jSFtavgrJTglwquI-6_jIu4_RpCjl-5U4Uo8,528
|
|
3
3
|
sqlmesh/magics.py,sha256=bEzYqXHcM0P3CjyUZ1O9arlmXAdLAhoglKbQ29fD9AE,41842
|
|
4
4
|
sqlmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
sqlmesh/cicd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -285,53 +285,53 @@ sqlmesh/utils/pydantic.py,sha256=o_NsXbIpDqNpUA1Uc5xF0ZzoXQYYB0DfHwdRxBwXPNk,120
|
|
|
285
285
|
sqlmesh/utils/rich.py,sha256=cwQ5nJ6sgz64xHtoh6_ec7ReV5YpsOGhMtUJnwoRfEI,3549
|
|
286
286
|
sqlmesh/utils/windows.py,sha256=r7Yin4WEwbvH7sKA3hOJtRsclmscNuBeCklCfVPvtQs,611
|
|
287
287
|
sqlmesh/utils/yaml.py,sha256=hvo5lmybYLcIx4p6CQwufS8X4MbwS60lEBnCmYJCXmU,2336
|
|
288
|
-
sqlmesh-0.202.2.
|
|
288
|
+
sqlmesh-0.202.2.dev9.dist-info/licenses/LICENSE,sha256=OlMefUjgWJdULtf84BLW0AZZcY8DwdgQqb_1j2862j8,11346
|
|
289
289
|
web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
290
|
-
web/client/dist/index.html,sha256=
|
|
291
|
-
web/client/dist/assets/Audits-
|
|
292
|
-
web/client/dist/assets/Banner-
|
|
293
|
-
web/client/dist/assets/ChevronDownIcon-
|
|
294
|
-
web/client/dist/assets/ChevronRightIcon-
|
|
295
|
-
web/client/dist/assets/Content-
|
|
296
|
-
web/client/dist/assets/Content-
|
|
297
|
-
web/client/dist/assets/Data-
|
|
298
|
-
web/client/dist/assets/DataCatalog-
|
|
299
|
-
web/client/dist/assets/Editor-
|
|
300
|
-
web/client/dist/assets/Editor-
|
|
301
|
-
web/client/dist/assets/Errors-
|
|
302
|
-
web/client/dist/assets/FileExplorer-
|
|
303
|
-
web/client/dist/assets/Footer-
|
|
304
|
-
web/client/dist/assets/Header-
|
|
305
|
-
web/client/dist/assets/Input-
|
|
306
|
-
web/client/dist/assets/Lineage-
|
|
307
|
-
web/client/dist/assets/ListboxShow-
|
|
308
|
-
web/client/dist/assets/ModelLineage-
|
|
309
|
-
web/client/dist/assets/Models-
|
|
310
|
-
web/client/dist/assets/Page-
|
|
311
|
-
web/client/dist/assets/Plan-
|
|
312
|
-
web/client/dist/assets/PlusCircleIcon-
|
|
313
|
-
web/client/dist/assets/ReportErrors-
|
|
314
|
-
web/client/dist/assets/Root-
|
|
315
|
-
web/client/dist/assets/SearchList-
|
|
316
|
-
web/client/dist/assets/SelectEnvironment-
|
|
317
|
-
web/client/dist/assets/SourceList-
|
|
318
|
-
web/client/dist/assets/SourceListItem-
|
|
319
|
-
web/client/dist/assets/SplitPane-
|
|
320
|
-
web/client/dist/assets/Tests-
|
|
321
|
-
web/client/dist/assets/Welcome-
|
|
290
|
+
web/client/dist/index.html,sha256=SXykdSRNgrT1k6I2dPZPEfpxPjIsi8-yVFijt-naSA4,5472
|
|
291
|
+
web/client/dist/assets/Audits-Jm353fhk.js,sha256=ry6b5IKT3hLAfD5C3T2BqxulfauEV0n0YZ2vsP4eQ_U,1041
|
|
292
|
+
web/client/dist/assets/Banner-DzWLWxS2.js,sha256=vzPrZxjcxofNvk3vxaHqFhgDDX0rySi1OtdsG1cHfTw,1549
|
|
293
|
+
web/client/dist/assets/ChevronDownIcon-DND34_0j.js,sha256=LNWNDrmaD8qbA4DNNBuqmw55njPGhp1DtUoKoAJGYhw,553
|
|
294
|
+
web/client/dist/assets/ChevronRightIcon-BrnG7zJd.js,sha256=8vb-FKOMsZWy1duKtWherAuW15owsZ2Z6g78BAjXheM,553
|
|
295
|
+
web/client/dist/assets/Content-BaMgXJRh.js,sha256=3tUUaICWhjHR7AoMsQALHIoeIYV_XiTFS7M9YgH8bcI,803
|
|
296
|
+
web/client/dist/assets/Content-DphTMPPH.js,sha256=AZRhMvobUISOlm4ikDF-0PJjpEV4t1F2PgDaSvm_fgs,37525
|
|
297
|
+
web/client/dist/assets/Data-MJRTjiHp.js,sha256=YW2Mw4kuoLNddvIbBgIcMSkDIc2jXJXEkgE6IgPoGRI,983
|
|
298
|
+
web/client/dist/assets/DataCatalog-DnhHmqO9.js,sha256=XE_PjpTSejC2II29l5mw4PcC-9ppbwDh57vDpM-GnpY,122486
|
|
299
|
+
web/client/dist/assets/Editor-Bsp2nRii.js,sha256=Zew8vQqyu_ozFALZuSM7j2SuM7xtpbnsoIV2cM8Ff_c,43613
|
|
300
|
+
web/client/dist/assets/Editor-CD1DYOmd.js,sha256=Q_lbtb7i8gqFuAk33UMzRT9D3gbuoOaabKCxgSWi1-c,1490
|
|
301
|
+
web/client/dist/assets/Errors-CwLLcKXv.js,sha256=R0apS7oS3Un6joWY20t5HSlV5tVGe_3RaZAmn3TWAhg,1361
|
|
302
|
+
web/client/dist/assets/FileExplorer-CjiHTJqb.js,sha256=kPaqWIZVVunEzkmQvfuuc7Iif3ABYkZsGccK5jxa-K0,87619
|
|
303
|
+
web/client/dist/assets/Footer-BeDVe5W7.js,sha256=oEs-Qglc1O845MxU_OffMu6SWEfUAhJqqwSeHvt4ekw,700
|
|
304
|
+
web/client/dist/assets/Header-dh7a7qX-.js,sha256=l2Fw_hzv22gYwqIwM9utyYf0tSq0uFBuRtP4WWdiUpk,11424
|
|
305
|
+
web/client/dist/assets/Input-B-Ounlv_.js,sha256=GR7LpPI-9RWrUZ4wxi_wR1Iry3okKCgbOWrMV6yFABQ,54814
|
|
306
|
+
web/client/dist/assets/Lineage-DDBcnPQX.js,sha256=i8d5YkAwY8zZorQnQQNX7E39tkmVeHtBytAoZPn_JDM,1002
|
|
307
|
+
web/client/dist/assets/ListboxShow-CV2BuG5q.js,sha256=n2VmceDqqdWwxBSlCUPYkJEldw5JhW5vR5bNedFXHc0,30373
|
|
308
|
+
web/client/dist/assets/ModelLineage-B1JusHLp.js,sha256=1bSvCs_u-SAcGDyCsfGnk4hPbYGYRWqp2tC-xDLqJTA,15546
|
|
309
|
+
web/client/dist/assets/Models-BILTGfK2.js,sha256=zjTlrIrnSe8TNjFUiMo8sBfVKPaaH9bG5k7esvUH-4g,2194
|
|
310
|
+
web/client/dist/assets/Page-SvStklIG.js,sha256=ACD7_vqAOccVSbCd5LagItuXd6R-YALn-9sjMR0Nisw,589
|
|
311
|
+
web/client/dist/assets/Plan-BHC6Jsvb.js,sha256=9RpdqoOKHXfDzG7MCQFtRhVAOF_MndiWdD5pe0WuiwM,666
|
|
312
|
+
web/client/dist/assets/PlusCircleIcon-BWbZTVU_.js,sha256=hZv_aCywcDOCLpOalsiCM9viCF6YYRNItPv4TJKNgIY,11698
|
|
313
|
+
web/client/dist/assets/ReportErrors-h8_M9bTF.js,sha256=ZrHRocnJWuQaYmAjRhvzQS-mtxrD-l3IW_BI6JoWuP0,5419
|
|
314
|
+
web/client/dist/assets/Root-yarU-KP7.js,sha256=rXeZpypETvR6F6ztDXkKpR7MxEMgYIbC5jDBT7kAiQ0,42195
|
|
315
|
+
web/client/dist/assets/SearchList-BLcpQVJH.js,sha256=PBUA3pXz220WX-NiZ14QK2gTHYl_r7TqH-co42ywnUo,291947
|
|
316
|
+
web/client/dist/assets/SelectEnvironment-BcN1dphw.js,sha256=79Qdgm5-9eVsfntMHbwPfOdj1CYLnD-tmNoFFNjIS14,37637
|
|
317
|
+
web/client/dist/assets/SourceList-Kt2aCd0O.js,sha256=cYoXb3jRMHwf0ybG_8jd386awvDKp1lIgqe0IuCSodY,3205
|
|
318
|
+
web/client/dist/assets/SourceListItem-B7x_VFKR.js,sha256=7RInZX-bdFudaCGid67IxVfme-0dgFSfHX4f1pfISt8,1106
|
|
319
|
+
web/client/dist/assets/SplitPane-BH6IQnVH.js,sha256=GzgXHaE1RVIzG5Np7LQMAsSlCaYjTiVhDwIfATMRcfY,10439
|
|
320
|
+
web/client/dist/assets/Tests-ClEdNkg6.js,sha256=ifdr2Rthr631EOoUTZ4B_YlEXZMefvW1P39Qoz41B-Q,1014
|
|
321
|
+
web/client/dist/assets/Welcome-D2UIox3v.js,sha256=tAkuBNZpSwW3GEgFV7GLuAtSw9Q2BPLn1fBDVg8zXwA,354
|
|
322
322
|
web/client/dist/assets/_commonjs-dynamic-modules-TDtrdbi3.js,sha256=WQq4BXvAMsPhT58adqrv_QHaYJQT-xKIiBnKBDPB-uk,239
|
|
323
|
-
web/client/dist/assets/context-
|
|
324
|
-
web/client/dist/assets/context-
|
|
325
|
-
web/client/dist/assets/editor-
|
|
326
|
-
web/client/dist/assets/file-
|
|
327
|
-
web/client/dist/assets/floating-ui.react-dom-
|
|
328
|
-
web/client/dist/assets/help-
|
|
329
|
-
web/client/dist/assets/help-
|
|
330
|
-
web/client/dist/assets/index-
|
|
331
|
-
web/client/dist/assets/index-
|
|
332
|
-
web/client/dist/assets/plan-
|
|
333
|
-
web/client/dist/assets/popover-
|
|
334
|
-
web/client/dist/assets/project-
|
|
323
|
+
web/client/dist/assets/context-DieJUDVl.js,sha256=YwakjTxlqpB_o_lVm3ttpoqHBirJ-Zc7IhufSQU0ajQ,2046602
|
|
324
|
+
web/client/dist/assets/context-DykI9LSF.js,sha256=hKbQsUJ1GH3SeboS5DuXaTs3qlB1dkQPpcu7CrzqoEE,4517
|
|
325
|
+
web/client/dist/assets/editor-DNt3hEcu.js,sha256=ddFmUM5pE2QVPEXkSkwSQeLJdCIStE58WJRglPUvFOY,7858
|
|
326
|
+
web/client/dist/assets/file-y5ZNtlGh.js,sha256=l_SvjGe7z7ZFY83pVOABaqnpeiQySrsiH9jcS0fy6mA,2349
|
|
327
|
+
web/client/dist/assets/floating-ui.react-dom-BX3awo09.js,sha256=lEKILUsvQQwa_RV18YEe_wvdZcRrIqdV-fMx_b3AWtM,22390
|
|
328
|
+
web/client/dist/assets/help-B59vE3aE.js,sha256=Vy4k2eAY_7je9db4t0OcYbo7g7QHgngXM2Za7baFBgg,447
|
|
329
|
+
web/client/dist/assets/help-DeXhqTBT.js,sha256=QRQwCsH29Zz27p2i3qSeZSde2L4-a3yprUdHbbj7oYU,57842
|
|
330
|
+
web/client/dist/assets/index-DXRmsAbz.js,sha256=6SMn_hUs3emIGmuDBgppj5K9jNHZFcwfgK56eda2c5A,529787
|
|
331
|
+
web/client/dist/assets/index-DyOMAzII.js,sha256=UnddYJI2tJ502xXblZfdsfG64xxuvKoF4p2ZQsQ2veo,13375
|
|
332
|
+
web/client/dist/assets/plan-B4z00b85.js,sha256=VIdnrdxUj5i72PnOX7JY2WWraDmhcb7II_hbpefP_-Y,13754
|
|
333
|
+
web/client/dist/assets/popover-B6Q1laIx.js,sha256=fbUtiiIin4rXZP39vI8jRhbtyDv43Ze6OCzvMyDWsB4,68210
|
|
334
|
+
web/client/dist/assets/project-BraqCC5X.js,sha256=79cMD4b9RHMbnUJEz__S2F_Qh7-nN5-rW-dPEuewjLo,3338
|
|
335
335
|
web/client/dist/css/base.css,sha256=JApDmQihY7DRy5Bd30uYMm5NdMKm0QsEOMBsOuK7gyU,9048
|
|
336
336
|
web/client/dist/css/design.css,sha256=9VTHN-aYFVW6I53jUWbV8qaqo87tXyZTYSWFLC_sRQY,17057
|
|
337
337
|
web/client/dist/favicons/favicon.svg,sha256=ZPNT00J77RHUj6Nlh6Z4Puxnp_oq9RSqACjomhDRUXE,1586
|
|
@@ -403,8 +403,8 @@ web/server/api/endpoints/models.py,sha256=kwj0s7uve3iZSMfmjkoPVMFMeY1sD0peTeyrWf
|
|
|
403
403
|
web/server/api/endpoints/modules.py,sha256=8hqqgonGay_mJmpCw0IdbjsPhWlQH2VLdKAqha-myac,468
|
|
404
404
|
web/server/api/endpoints/plan.py,sha256=bbbY50W_2MsZSTxOHWMKz0tbIm75nsRSlPy8GI2fg9Q,9306
|
|
405
405
|
web/server/api/endpoints/table_diff.py,sha256=SCy3-pr5x6bEEiOaZGCDbiHQhpgxwmnz3Acqa2Ie6jI,2090
|
|
406
|
-
sqlmesh-0.202.2.
|
|
407
|
-
sqlmesh-0.202.2.
|
|
408
|
-
sqlmesh-0.202.2.
|
|
409
|
-
sqlmesh-0.202.2.
|
|
410
|
-
sqlmesh-0.202.2.
|
|
406
|
+
sqlmesh-0.202.2.dev9.dist-info/METADATA,sha256=1FIwHB7ZvYzwvmhGcoEbcXaQg5Tq8jXQ8L7aDRVbf70,26678
|
|
407
|
+
sqlmesh-0.202.2.dev9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
408
|
+
sqlmesh-0.202.2.dev9.dist-info/entry_points.txt,sha256=pIYKtg-u-uO7BK_Y0qrdmfyj0bYrcMc3Xiqr5WE3VFk,121
|
|
409
|
+
sqlmesh-0.202.2.dev9.dist-info/top_level.txt,sha256=bspjo5vjELQkuN0qKuTFIbsrUt3Zeo8D2mlKeHG1LdE,12
|
|
410
|
+
sqlmesh-0.202.2.dev9.dist-info/RECORD,,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as n,j as s,O as f,e as t,H as c,B as p,m as x,l as d}from"./index-
|
|
1
|
+
import{x as n,j as s,O as f,e as t,H as c,B as p,m as x,l as d}from"./index-DXRmsAbz.js";import{P as j}from"./Page-SvStklIG.js";import{u as h}from"./project-BraqCC5X.js";import{S as v}from"./SourceList-Kt2aCd0O.js";import{S as A}from"./SourceListItem-B7x_VFKR.js";import"./SplitPane-BH6IQnVH.js";import"./file-y5ZNtlGh.js";import"./Input-B-Ounlv_.js";import"./floating-ui.react-dom-BX3awo09.js";import"./index-DyOMAzII.js";function k(){const{pathname:a}=n(),i=h(e=>e.files),r=Array.from(i.values()).filter(e=>e.path.endsWith("audits"));return s.jsx(j,{sidebar:s.jsxs("div",{className:"flex flex-col w-full h-full",children:[s.jsx(v,{keyId:"basename",keyName:"basename",to:t.Audits,items:r,isActive:e=>`${t.Audits}/${e}`===a,className:"h-full",listItem:({to:e,name:o,description:m,text:l,disabled:u=!1})=>s.jsx(A,{to:e,name:o,text:l,description:m,disabled:u})}),s.jsx(c,{}),s.jsx("div",{className:"py-1 px-1 flex justify-end",children:s.jsx(p,{size:d.sm,variant:x.Neutral,children:"Run All"})})]}),content:s.jsx(f,{})})}export{k as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s,c as i,l as a,m as n,H as p}from"./index-
|
|
1
|
+
import{j as s,c as i,l as a,m as n,H as p}from"./index-DXRmsAbz.js";function l({variant:t=n.Neutral,size:e=a.md,isFull:r=!1,isCenter:u=!1,hasBackground:x=!0,hasBackgroundOnHover:f=!1,hasBorder:c=!1,children:m,className:b}){return s.jsx("div",{className:i("w-full text-sm px-4 overflow-hidden rounded-lg",e===a.sm&&"py-2",e===a.md&&"py-4",e===a.lg&&"py-6",r&&"h-full",u&&"justify-center items-center",c&&"border-2",w(t,x,f),b),children:m})}function g({className:t}){return s.jsx(p,{className:i("mx-4 w-full",t)})}function d({children:t,className:e}){return s.jsx("h4",{className:i("font-bold text-sm whitespace-nowrap text-left",e),children:t})}function o({children:t,className:e}){return s.jsx("p",{className:i("text-neutral-600",e),children:t})}l.Label=d;l.Description=o;l.Divider=g;function w(t,e=!0,r=!1){switch(t){case n.Primary:return[r?"hover:bg-primary-5":"",e?"bg-primary-5":"","text-primary-600 dark:text-primary-400"];case n.Success:return[r?"hover:bg-success-5":"",e?"bg-success-5":"","text-success-600 dark:text-success-400"];case n.Warning:return[r?"hover:bg-warning-5":"",e?"bg-warning-5":"","text-warning-600 dark:text-warning-400"];case n.Danger:return[r?"hover:bg-danger-5":"",e?"bg-danger-5":"","text-danger-600 dark:text-danger-400"];case n.Info:return[r?"hover:bg-info-5":"",e?"bg-info-5":"","text-info-600 dark:text-info-400"];case n.Neutral:return[r?"hover:bg-neutral-5":"",e?"bg-neutral-5":"","text-neutral-600 dark:text-neutral-400"];default:return["bg-transparent","text-neutral-600 dark:text-neutral-400"]}}export{l as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./index-
|
|
1
|
+
import{r as e}from"./index-DXRmsAbz.js";function t({title:r,titleId:a,...l},o){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":a},l),r?e.createElement("title",{id:a},r):null,e.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const c=e.forwardRef(t);export{c as F};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./index-
|
|
1
|
+
import{r as e}from"./index-DXRmsAbz.js";function o({title:r,titleId:a,...t},l){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":a},t),r?e.createElement("title",{id:a},r):null,e.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const i=e.forwardRef(o);export{i as F};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a,Q as l,v as e,j as r,U as n,e as d}from"./index-
|
|
1
|
+
import{d as a,Q as l,v as e,j as r,U as n,e as d}from"./index-DXRmsAbz.js";import{D as u}from"./ReportErrors-h8_M9bTF.js";import"./PlusCircleIcon-BWbZTVU_.js";import"./popover-B6Q1laIx.js";import"./floating-ui.react-dom-BX3awo09.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./SplitPane-BH6IQnVH.js";function v(){const{errors:i}=a(),{id:o}=l(),s=e(o)?void 0:Array.from(i).find(t=>t.id===o);return r.jsx("div",{className:"flex overflow-auto w-full h-full",children:e(s)?r.jsx(n,{link:d.Errors,description:e(o)?void 0:`Error ${o} Does Not Exist`,message:"Back To Errors"}):r.jsx("div",{className:"p-4 h-full w-full",children:r.jsx("div",{className:"w-full h-full p-4 rounded-lg bg-danger-5 text-danger-700",children:r.jsx(u,{error:s,scope:s.key,withSplitPane:!0})})})})}export{v as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as v,R as J,a as _,j as e,m as O,s as Qe,b as C,B as oe,v as E,l as T,c as w,M as De,f as V,I as Xe,J as de,i as I,K as Q,g as H,T as Me,H as ue,P as ye,C as es,A as $,q as ss,L as as,d as ns,k as ts,o as ls,p as is,Q as rs,U as os,e as cs}from"./index-DH1v9iOD.js";import{u as W,S as ds,A as us,a as Ne,b as R,E as A,P as z,c as ms}from"./SelectEnvironment-GfN4mjDu.js";import{u as j,a as Y,E as M}from"./plan-BC79Qq7e.js";import{B as S}from"./Banner-DFFgSp7_.js";import{V as L,F as ke,a as Pe,p as ps}from"./PlusCircleIcon-M3NGeHST.js";import{K as fs,L as $e,V as hs,y as xs,p as js,o as ce,$ as vs,W as gs,X as ys,_ as ws,Y as bs,a as Re,Z as Ns,z as se}from"./popover-BS2D7N_A.js";import{I as K}from"./Input-BGdTmRPV.js";import{H as ks,V as Ps,Q as Ts,w as Cs,u as Fs,a as As,l as Ss,T as Ds,N as Rs,U as Es,j as Bs,p as _s}from"./ListboxShow-BRUdoaSL.js";import{u as ze}from"./project-YuVl6ae5.js";import{F as we}from"./context-C6O7H5eL.js";import"./ModelLineage-BVQJptIB.js";import"./editor-DQqZC36D.js";import"./file-gUDWL5Z6.js";import"./SearchList-vj2s_Pnb.js";import"./help-6Q7f7fjd.js";import"./floating-ui.react-dom-9Mo3XjFw.js";import"./ChevronDownIcon-DtTgO9XQ.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./SourceList-BioJ2XB9.js";import"./index-Ditw2lX8.js";function Os({title:s,titleId:a,...t},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},t),s?v.createElement("title",{id:a},s):null,v.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))}const X=v.forwardRef(Os);let Te=v.createContext(null);Te.displayName="GroupContext";let Is=v.Fragment;function Ms(s){var a;let[t,r]=v.useState(null),[l,i]=Ts(),[c,u]=Cs(),o=v.useMemo(()=>({switch:t,setSwitch:r}),[t,r]),d={},m=s,n=$e();return J.createElement(u,{name:"Switch.Description",value:c},J.createElement(i,{name:"Switch.Label",value:l,props:{htmlFor:(a=o.switch)==null?void 0:a.id,onClick(h){t&&(hs(h.currentTarget)&&h.preventDefault(),t.click(),t.focus({preventScroll:!0}))}}},J.createElement(Te.Provider,{value:o},n({ourProps:d,theirProps:m,slot:{},defaultTag:Is,name:"Switch.Group"}))))}let $s="button";function zs(s,a){var t;let r=v.useId(),l=Fs(),i=As(),{id:c=l||`headlessui-switch-${r}`,disabled:u=i||!1,checked:o,defaultChecked:d,onChange:m,name:n,value:h,form:p,autoFocus:f=!1,...x}=s,F=v.useContext(Te),[B,D]=v.useState(null),N=v.useRef(null),k=xs(N,a,F===null?null:F.setSwitch,D),g=Ss(d),[P,Z]=Ds(o,m,g??!1),je=js(),[le,b]=v.useState(!1),ie=ce(()=>{b(!0),Z==null||Z(!P),je.nextFrame(()=>{b(!1)})}),re=ce(U=>{if(Ns(U.currentTarget))return U.preventDefault();U.preventDefault(),ie()}),ve=ce(U=>{U.key===Re.Space?(U.preventDefault(),ie()):U.key===Re.Enter&&_s(U.currentTarget)}),Le=ce(U=>U.preventDefault()),Ve=Rs(),Ge=Es(),{isFocusVisible:Fe,focusProps:He}=vs({autoFocus:f}),{isHovered:Ae,hoverProps:Ke}=gs({isDisabled:u}),{pressed:Se,pressProps:Ze}=ys({disabled:u}),qe=v.useMemo(()=>({checked:P,disabled:u,hover:Ae,focus:Fe,active:Se,autofocus:f,changing:le}),[P,Ae,Fe,Se,u,le,f]),We=ws({id:c,ref:k,role:"switch",type:bs(s,B),tabIndex:s.tabIndex===-1?0:(t=s.tabIndex)!=null?t:0,"aria-checked":P,"aria-labelledby":Ve,"aria-describedby":Ge,disabled:u||void 0,autoFocus:f,onClick:re,onKeyUp:ve,onKeyPress:Le},He,Ke,Ze),Ye=v.useCallback(()=>{if(g!==void 0)return Z==null?void 0:Z(g)},[Z,g]),Je=$e();return J.createElement(J.Fragment,null,n!=null&&J.createElement(Bs,{disabled:u,data:{[n]:h||"on"},overrides:{type:"checkbox",checked:P},form:p,onReset:Ye}),Je({ourProps:We,theirProps:x,slot:qe,defaultTag:$s,name:"Switch"}))}let Us=fs(zs),Ls=Ms,Vs=Ps,Gs=ks,ge=Object.assign(Us,{Group:Ls,Label:Vs,Description:Gs});function Hs(){const s=_(a=>a.environment);return e.jsx("div",{className:"flex flex-col px-4 py-2 w-full",children:e.jsx(S,{variant:O.Warning,children:e.jsx(L,{defaultOpen:!1,children:({open:a})=>e.jsxs(e.Fragment,{children:[e.jsxs(L.Button,{className:"w-full flex items-center justify-between",children:[e.jsx(S.Label,{className:"w-full",children:s.isInitialProd?"Initializing Prod Environment":"Prod Environment"}),s.isInitialProd&&e.jsx(e.Fragment,{children:a?e.jsx(ke,{className:"w-5 text-warning-500"}):e.jsx(Pe,{className:"w-5 text-warning-500"})})]}),s.isInitialProd&&e.jsx(L.Panel,{className:"px-2 text-sm mt-2",children:e.jsx(S.Description,{children:"Prod will be completely backfilled in order to ensure there are no data gaps. After this is applied, it is recommended to validate further changes in a dev environment before deploying to production."})})]})})})})}function Ks(s=0){return v.useCallback(a=>{setTimeout(()=>{a==null||a.focus()},s)},[s])}function Zs({run:s,apply:a,cancel:t,reset:r}){const l=Qe(),{change_categorization:i}=W(),c=_(b=>b.modules),u=_(b=>b.environment),o=_(b=>b.environments),d=_(b=>b.addConfirmation),m=_(b=>b.setShowConfirmation),n=j(b=>b.planAction),h=j(b=>b.planOverview),p=j(b=>b.planApply),f=j(b=>b.planCancel),x=Ks();function F(b){b.stopPropagation(),r()}function B(b){b.stopPropagation(),t()}function D(b){b.stopPropagation(),l(-1)}function N(b){b.stopPropagation();const ie=u.isProd&&C(u.isInitial),re=Array.from(i.values()).some(ve=>E(ve.category));ie?d({headline:"Applying Plan Directly On Prod Environment!",tagline:"Safer choice will be to select or add new environment first.",description:"Are you sure you want to apply your changes directly on prod?",yesText:`Yes, Run ${u.name}`,noText:"No, Cancel",action:a,details:re?["ATTENTION!","[Breaking Change] category will be applied to all uncategorized changes"]:void 0,children:e.jsxs("div",{className:"mt-5 pt-4",children:[e.jsx("h4",{className:"mb-2",children:`${o.size>1?"Select or ":""}Add Environment`}),e.jsxs("div",{className:"flex items-center relative",children:[o.size>1&&e.jsx(ds,{className:"mr-2",showAddEnvironment:!1,onSelect:()=>{m(!1)},size:T.md}),e.jsx(us,{className:"w-full",size:T.md,onAdd:()=>{m(!1)}})]})]})}):re?d({headline:"Some changes are missing categorization!",description:"Are you sure you want to proceed?",details:["[Breaking Change] category will be applied to all uncategorized changes"],yesText:"Yes, Apply",noText:"No, Cancel",action:a}):a()}function k(b){b.stopPropagation(),s()}const g=h.isFailed||p.isFailed||f.isSuccessful,P=C(n.isCancelling)&&C(n.isDone)&&(n.isProcessing?C(f.isSuccessful):!0)&&C(g),Z=n.isApplying||f.isCancelling||p.isRunning&&h.isFinished,je=g||C(n.isProcessing)&&C(n.isRun)&&C(n.isDone),le=c.showHistoryNavigation;return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"flex justify-between pt-2 pl-4 pr-2 pb-2",children:[e.jsx("div",{className:"flex w-full items-center",children:e.jsx(se,{appear:!0,show:P,enter:"transition ease duration-300 transform",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"transition ease duration-300 transform",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",className:"trasition-all duration-300 ease-in-out",as:"div",children:P&&e.jsx(oe,{disabled:n.isProcessing||f.isSuccessful||n.isDone,onClick:n.isRun?k:f.isSuccessful?void 0:N,ref:x,variant:f.isSuccessful?O.Danger:O.Primary,autoFocus:!0,className:"trasition-all duration-300 ease-in-out",children:e.jsx("span",{children:Y.getActionDisplayName(n,f.isSuccessful?[]:[M.RunningTask,M.Running,M.Run,M.Applying,M.ApplyBackfill,M.ApplyVirtual,M.ApplyChangesAndBackfill,M.ApplyMetadata],f.isSuccessful?"Canceled":"Done")})})})}),e.jsxs("div",{className:"flex items-center",children:[Z&&e.jsx(oe,{onClick:B,variant:O.Danger,disabled:n.isCancelling||n.isProcessing&&f.isSuccessful,children:Y.getActionDisplayName(n,n.isProcessing&&C(f.isSuccessful)?[M.Cancelling]:[],f.isSuccessful?"Finishing Cancellation...":"Cancel")}),je&&e.jsx(oe,{onClick:F,variant:O.Info,disabled:n.isCancelling||n.isProcessing&&f.isSuccessful,children:"Start Over"}),le&&e.jsx(oe,{onClick:D,variant:O.Info,children:"Go Back"})]})]})})}function qs({label:s,enabled:a,setEnabled:t,a11yTitle:r,size:l=T.md,disabled:i=!1,className:c}){return e.jsxs(ge.Group,{as:"div",className:"m-1",children:[e.jsxs(ge,{checked:i?!1:a,onChange:t,className:w("flex relative border-secondary-30 rounded-full m-0","shrink-0 focus:outline-none ring-secondary-300 ring-opacity-60 ring-offset ring-offset-secondary-100 focus:border-secondary-500 focus-visible:ring-opacity-75","transition duration-200 ease-in-out",a?"bg-secondary-500":"bg-secondary-20",c,i?"opacity-50 cursor-not-allowed":"cursor-pointer",l===T.sm&&"h-[14px] w-6 focus:ring-1 border",l===T.md&&"h-5 w-10 focus:ring-2 border-2",l===T.lg&&"h-7 w-14 focus:ring-4 border-2"),disabled:i,children:[e.jsx("span",{className:"sr-only",children:r}),e.jsx("span",{"aria-hidden":"true",className:w("pointer-events-none inline-block transform rounded-full shadow-md transition duration-200 ease-in-out","bg-light",l===T.sm&&"h-3 w-3",l===T.md&&"h-4 w-4",l===T.lg&&"h-6 w-6",a&&l===T.sm&&"translate-x-[10px]",a&&l===T.md&&"translate-x-5",a&&l===T.lg&&"translate-x-7")})]}),s!=null&&e.jsx(ge.Label,{className:w("text-xs font-light ml-1 text-neutral-600 dark:text-neutral-400"),children:s})]})}function q({label:s,info:a,enabled:t,disabled:r=!1,setEnabled:l,className:i}){return e.jsxs("div",{className:w("flex justify-between",i),children:[e.jsxs("label",{className:"block mb-1 px-3 text-sm font-bold",children:[s,e.jsx("small",{className:"block text-xs text-neutral-500",children:a})]}),e.jsx(qs,{disabled:r,enabled:t,setEnabled:l,size:T.lg})]})}function Ws({disabled:s=!1,className:a}){const t=Ne(),{start:r,end:l,isInitialPlanRun:i}=W();return e.jsxs("div",{className:w("flex w-full flex-wrap md:flex-nowrap",a),children:[e.jsx(K,{className:"w-full md:w-[50%]",label:"Start Date (UTC)",info:"The start datetime of the interval",disabled:s||i,children:({disabled:c,className:u})=>e.jsx(K.Textfield,{className:w(u,"w-full"),disabled:c,placeholder:"2023-12-13",value:r,onInput:o=>{o.stopPropagation(),t({type:R.DateStart,start:o.target.value})}})}),e.jsx(K,{className:"w-full md:w-[50%]",label:"End Date (UTC)",info:"The end datetime of the interval",disabled:s||i,children:({disabled:c,className:u})=>e.jsx(K.Textfield,{className:w(u,"w-full"),disabled:c,placeholder:"2022-12-13",value:l,onInput:o=>{o.stopPropagation(),t({type:R.DateEnd,end:o.target.value})}})})]})}function Ys(){const s=Ne(),{skip_tests:a,no_gaps:t,skip_backfill:r,forward_only:l,auto_apply:i,no_auto_categorization:c,restate_models:u,isInitialPlanRun:o,create_from:d,include_unmodified:m}=W(),n=v.useRef(null),h=j(N=>N.planAction),p=j(N=>N.planOverview),f=j(N=>N.planApply),x=_(N=>N.environment),F=_(N=>N.environments),B=De.getOnlyRemote(Array.from(F));v.useEffect(()=>{s({type:R.PlanOptions,...p.plan_options,skip_tests:!1})},[]);const D=h.isProcessing||h.isDone||f.isFinished||p.isLatest&&C(h.isRun)||p.isVirtualUpdate;return v.useEffect(()=>{var N;E(n.current)||h.isProcessing&&n.current.classList.contains("--is-open")&&((N=n.current)==null||N.click())},[n,h]),e.jsxs("form",{className:"w-full",children:[e.jsx("fieldset",{className:w(D&&"opacity-50 cursor-not-allowed"),children:e.jsx(Ws,{className:w(D&&"pointer-events-none")})}),e.jsx("fieldset",{className:"my-2",children:e.jsx(S,{children:e.jsx(L,{defaultOpen:h.isRun,children:({open:N})=>e.jsxs(e.Fragment,{children:[e.jsxs(L.Button,{ref:n,className:w("w-full flex items-center",N&&"--is-open"),children:[e.jsxs(S.Label,{className:"mr-2 text-sm w-full",children:[e.jsx("span",{children:"Additional Options"}),D&&e.jsx("span",{className:"ml-1",children:"(Read Only)"})]}),N?e.jsx(ke,{className:"h-5 w-5 text-neutral-400"}):e.jsx(Pe,{className:"h-5 w-5 text-neutral-400"})]}),e.jsxs(L.Panel,{unmount:!1,className:w("py-4 text-sm text-neutral-500",D&&"opacity-50 cursor-not-allowed"),children:[e.jsx("div",{className:w(D&&"pointer-events-none"),children:e.jsxs("div",{className:"flex flex-wrap md:flex-nowrap",children:[C(x.isProd)&&e.jsx(K,{className:"w-full",label:"Create From Environment",info:"The environment to base the plan on rather than local files",disabled:B.length<2,children:({className:k,disabled:g})=>e.jsx(K.Selector,{className:w(k,"w-full"),list:De.getOnlyRemote(Array.from(F)).filter(P=>P!==x).map(P=>({value:P.name,text:P.name})),onChange:P=>{s({type:R.PlanOptions,create_from:P})},value:d,disabled:g})}),e.jsx(K,{className:"w-full",label:"Restate Models",info:`Restate data for specified models and models
|
|
1
|
+
import{r as v,R as J,a as _,j as e,m as O,s as Qe,b as C,B as oe,v as E,l as T,c as w,M as De,f as V,I as Xe,J as de,i as I,K as Q,g as H,T as Me,H as ue,P as ye,C as es,A as $,q as ss,L as as,d as ns,k as ts,o as ls,p as is,Q as rs,U as os,e as cs}from"./index-DXRmsAbz.js";import{u as W,S as ds,A as us,a as Ne,b as R,E as A,P as z,c as ms}from"./SelectEnvironment-BcN1dphw.js";import{u as j,a as Y,E as M}from"./plan-B4z00b85.js";import{B as S}from"./Banner-DzWLWxS2.js";import{V as L,F as ke,a as Pe,p as ps}from"./PlusCircleIcon-BWbZTVU_.js";import{K as fs,L as $e,V as hs,y as xs,p as js,o as ce,$ as vs,W as gs,X as ys,_ as ws,Y as bs,a as Re,Z as Ns,z as se}from"./popover-B6Q1laIx.js";import{I as K}from"./Input-B-Ounlv_.js";import{H as ks,V as Ps,Q as Ts,w as Cs,u as Fs,a as As,l as Ss,T as Ds,N as Rs,U as Es,j as Bs,p as _s}from"./ListboxShow-CV2BuG5q.js";import{u as ze}from"./project-BraqCC5X.js";import{F as we}from"./context-DieJUDVl.js";import"./ModelLineage-B1JusHLp.js";import"./editor-DNt3hEcu.js";import"./file-y5ZNtlGh.js";import"./SearchList-BLcpQVJH.js";import"./help-B59vE3aE.js";import"./floating-ui.react-dom-BX3awo09.js";import"./ChevronDownIcon-DND34_0j.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./SourceList-Kt2aCd0O.js";import"./index-DyOMAzII.js";function Os({title:s,titleId:a,...t},r){return v.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":a},t),s?v.createElement("title",{id:a},s):null,v.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))}const X=v.forwardRef(Os);let Te=v.createContext(null);Te.displayName="GroupContext";let Is=v.Fragment;function Ms(s){var a;let[t,r]=v.useState(null),[l,i]=Ts(),[c,u]=Cs(),o=v.useMemo(()=>({switch:t,setSwitch:r}),[t,r]),d={},m=s,n=$e();return J.createElement(u,{name:"Switch.Description",value:c},J.createElement(i,{name:"Switch.Label",value:l,props:{htmlFor:(a=o.switch)==null?void 0:a.id,onClick(h){t&&(hs(h.currentTarget)&&h.preventDefault(),t.click(),t.focus({preventScroll:!0}))}}},J.createElement(Te.Provider,{value:o},n({ourProps:d,theirProps:m,slot:{},defaultTag:Is,name:"Switch.Group"}))))}let $s="button";function zs(s,a){var t;let r=v.useId(),l=Fs(),i=As(),{id:c=l||`headlessui-switch-${r}`,disabled:u=i||!1,checked:o,defaultChecked:d,onChange:m,name:n,value:h,form:p,autoFocus:f=!1,...x}=s,F=v.useContext(Te),[B,D]=v.useState(null),N=v.useRef(null),k=xs(N,a,F===null?null:F.setSwitch,D),g=Ss(d),[P,Z]=Ds(o,m,g??!1),je=js(),[le,b]=v.useState(!1),ie=ce(()=>{b(!0),Z==null||Z(!P),je.nextFrame(()=>{b(!1)})}),re=ce(U=>{if(Ns(U.currentTarget))return U.preventDefault();U.preventDefault(),ie()}),ve=ce(U=>{U.key===Re.Space?(U.preventDefault(),ie()):U.key===Re.Enter&&_s(U.currentTarget)}),Le=ce(U=>U.preventDefault()),Ve=Rs(),Ge=Es(),{isFocusVisible:Fe,focusProps:He}=vs({autoFocus:f}),{isHovered:Ae,hoverProps:Ke}=gs({isDisabled:u}),{pressed:Se,pressProps:Ze}=ys({disabled:u}),qe=v.useMemo(()=>({checked:P,disabled:u,hover:Ae,focus:Fe,active:Se,autofocus:f,changing:le}),[P,Ae,Fe,Se,u,le,f]),We=ws({id:c,ref:k,role:"switch",type:bs(s,B),tabIndex:s.tabIndex===-1?0:(t=s.tabIndex)!=null?t:0,"aria-checked":P,"aria-labelledby":Ve,"aria-describedby":Ge,disabled:u||void 0,autoFocus:f,onClick:re,onKeyUp:ve,onKeyPress:Le},He,Ke,Ze),Ye=v.useCallback(()=>{if(g!==void 0)return Z==null?void 0:Z(g)},[Z,g]),Je=$e();return J.createElement(J.Fragment,null,n!=null&&J.createElement(Bs,{disabled:u,data:{[n]:h||"on"},overrides:{type:"checkbox",checked:P},form:p,onReset:Ye}),Je({ourProps:We,theirProps:x,slot:qe,defaultTag:$s,name:"Switch"}))}let Us=fs(zs),Ls=Ms,Vs=Ps,Gs=ks,ge=Object.assign(Us,{Group:Ls,Label:Vs,Description:Gs});function Hs(){const s=_(a=>a.environment);return e.jsx("div",{className:"flex flex-col px-4 py-2 w-full",children:e.jsx(S,{variant:O.Warning,children:e.jsx(L,{defaultOpen:!1,children:({open:a})=>e.jsxs(e.Fragment,{children:[e.jsxs(L.Button,{className:"w-full flex items-center justify-between",children:[e.jsx(S.Label,{className:"w-full",children:s.isInitialProd?"Initializing Prod Environment":"Prod Environment"}),s.isInitialProd&&e.jsx(e.Fragment,{children:a?e.jsx(ke,{className:"w-5 text-warning-500"}):e.jsx(Pe,{className:"w-5 text-warning-500"})})]}),s.isInitialProd&&e.jsx(L.Panel,{className:"px-2 text-sm mt-2",children:e.jsx(S.Description,{children:"Prod will be completely backfilled in order to ensure there are no data gaps. After this is applied, it is recommended to validate further changes in a dev environment before deploying to production."})})]})})})})}function Ks(s=0){return v.useCallback(a=>{setTimeout(()=>{a==null||a.focus()},s)},[s])}function Zs({run:s,apply:a,cancel:t,reset:r}){const l=Qe(),{change_categorization:i}=W(),c=_(b=>b.modules),u=_(b=>b.environment),o=_(b=>b.environments),d=_(b=>b.addConfirmation),m=_(b=>b.setShowConfirmation),n=j(b=>b.planAction),h=j(b=>b.planOverview),p=j(b=>b.planApply),f=j(b=>b.planCancel),x=Ks();function F(b){b.stopPropagation(),r()}function B(b){b.stopPropagation(),t()}function D(b){b.stopPropagation(),l(-1)}function N(b){b.stopPropagation();const ie=u.isProd&&C(u.isInitial),re=Array.from(i.values()).some(ve=>E(ve.category));ie?d({headline:"Applying Plan Directly On Prod Environment!",tagline:"Safer choice will be to select or add new environment first.",description:"Are you sure you want to apply your changes directly on prod?",yesText:`Yes, Run ${u.name}`,noText:"No, Cancel",action:a,details:re?["ATTENTION!","[Breaking Change] category will be applied to all uncategorized changes"]:void 0,children:e.jsxs("div",{className:"mt-5 pt-4",children:[e.jsx("h4",{className:"mb-2",children:`${o.size>1?"Select or ":""}Add Environment`}),e.jsxs("div",{className:"flex items-center relative",children:[o.size>1&&e.jsx(ds,{className:"mr-2",showAddEnvironment:!1,onSelect:()=>{m(!1)},size:T.md}),e.jsx(us,{className:"w-full",size:T.md,onAdd:()=>{m(!1)}})]})]})}):re?d({headline:"Some changes are missing categorization!",description:"Are you sure you want to proceed?",details:["[Breaking Change] category will be applied to all uncategorized changes"],yesText:"Yes, Apply",noText:"No, Cancel",action:a}):a()}function k(b){b.stopPropagation(),s()}const g=h.isFailed||p.isFailed||f.isSuccessful,P=C(n.isCancelling)&&C(n.isDone)&&(n.isProcessing?C(f.isSuccessful):!0)&&C(g),Z=n.isApplying||f.isCancelling||p.isRunning&&h.isFinished,je=g||C(n.isProcessing)&&C(n.isRun)&&C(n.isDone),le=c.showHistoryNavigation;return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"flex justify-between pt-2 pl-4 pr-2 pb-2",children:[e.jsx("div",{className:"flex w-full items-center",children:e.jsx(se,{appear:!0,show:P,enter:"transition ease duration-300 transform",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"transition ease duration-300 transform",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",className:"trasition-all duration-300 ease-in-out",as:"div",children:P&&e.jsx(oe,{disabled:n.isProcessing||f.isSuccessful||n.isDone,onClick:n.isRun?k:f.isSuccessful?void 0:N,ref:x,variant:f.isSuccessful?O.Danger:O.Primary,autoFocus:!0,className:"trasition-all duration-300 ease-in-out",children:e.jsx("span",{children:Y.getActionDisplayName(n,f.isSuccessful?[]:[M.RunningTask,M.Running,M.Run,M.Applying,M.ApplyBackfill,M.ApplyVirtual,M.ApplyChangesAndBackfill,M.ApplyMetadata],f.isSuccessful?"Canceled":"Done")})})})}),e.jsxs("div",{className:"flex items-center",children:[Z&&e.jsx(oe,{onClick:B,variant:O.Danger,disabled:n.isCancelling||n.isProcessing&&f.isSuccessful,children:Y.getActionDisplayName(n,n.isProcessing&&C(f.isSuccessful)?[M.Cancelling]:[],f.isSuccessful?"Finishing Cancellation...":"Cancel")}),je&&e.jsx(oe,{onClick:F,variant:O.Info,disabled:n.isCancelling||n.isProcessing&&f.isSuccessful,children:"Start Over"}),le&&e.jsx(oe,{onClick:D,variant:O.Info,children:"Go Back"})]})]})})}function qs({label:s,enabled:a,setEnabled:t,a11yTitle:r,size:l=T.md,disabled:i=!1,className:c}){return e.jsxs(ge.Group,{as:"div",className:"m-1",children:[e.jsxs(ge,{checked:i?!1:a,onChange:t,className:w("flex relative border-secondary-30 rounded-full m-0","shrink-0 focus:outline-none ring-secondary-300 ring-opacity-60 ring-offset ring-offset-secondary-100 focus:border-secondary-500 focus-visible:ring-opacity-75","transition duration-200 ease-in-out",a?"bg-secondary-500":"bg-secondary-20",c,i?"opacity-50 cursor-not-allowed":"cursor-pointer",l===T.sm&&"h-[14px] w-6 focus:ring-1 border",l===T.md&&"h-5 w-10 focus:ring-2 border-2",l===T.lg&&"h-7 w-14 focus:ring-4 border-2"),disabled:i,children:[e.jsx("span",{className:"sr-only",children:r}),e.jsx("span",{"aria-hidden":"true",className:w("pointer-events-none inline-block transform rounded-full shadow-md transition duration-200 ease-in-out","bg-light",l===T.sm&&"h-3 w-3",l===T.md&&"h-4 w-4",l===T.lg&&"h-6 w-6",a&&l===T.sm&&"translate-x-[10px]",a&&l===T.md&&"translate-x-5",a&&l===T.lg&&"translate-x-7")})]}),s!=null&&e.jsx(ge.Label,{className:w("text-xs font-light ml-1 text-neutral-600 dark:text-neutral-400"),children:s})]})}function q({label:s,info:a,enabled:t,disabled:r=!1,setEnabled:l,className:i}){return e.jsxs("div",{className:w("flex justify-between",i),children:[e.jsxs("label",{className:"block mb-1 px-3 text-sm font-bold",children:[s,e.jsx("small",{className:"block text-xs text-neutral-500",children:a})]}),e.jsx(qs,{disabled:r,enabled:t,setEnabled:l,size:T.lg})]})}function Ws({disabled:s=!1,className:a}){const t=Ne(),{start:r,end:l,isInitialPlanRun:i}=W();return e.jsxs("div",{className:w("flex w-full flex-wrap md:flex-nowrap",a),children:[e.jsx(K,{className:"w-full md:w-[50%]",label:"Start Date (UTC)",info:"The start datetime of the interval",disabled:s||i,children:({disabled:c,className:u})=>e.jsx(K.Textfield,{className:w(u,"w-full"),disabled:c,placeholder:"2023-12-13",value:r,onInput:o=>{o.stopPropagation(),t({type:R.DateStart,start:o.target.value})}})}),e.jsx(K,{className:"w-full md:w-[50%]",label:"End Date (UTC)",info:"The end datetime of the interval",disabled:s||i,children:({disabled:c,className:u})=>e.jsx(K.Textfield,{className:w(u,"w-full"),disabled:c,placeholder:"2022-12-13",value:l,onInput:o=>{o.stopPropagation(),t({type:R.DateEnd,end:o.target.value})}})})]})}function Ys(){const s=Ne(),{skip_tests:a,no_gaps:t,skip_backfill:r,forward_only:l,auto_apply:i,no_auto_categorization:c,restate_models:u,isInitialPlanRun:o,create_from:d,include_unmodified:m}=W(),n=v.useRef(null),h=j(N=>N.planAction),p=j(N=>N.planOverview),f=j(N=>N.planApply),x=_(N=>N.environment),F=_(N=>N.environments),B=De.getOnlyRemote(Array.from(F));v.useEffect(()=>{s({type:R.PlanOptions,...p.plan_options,skip_tests:!1})},[]);const D=h.isProcessing||h.isDone||f.isFinished||p.isLatest&&C(h.isRun)||p.isVirtualUpdate;return v.useEffect(()=>{var N;E(n.current)||h.isProcessing&&n.current.classList.contains("--is-open")&&((N=n.current)==null||N.click())},[n,h]),e.jsxs("form",{className:"w-full",children:[e.jsx("fieldset",{className:w(D&&"opacity-50 cursor-not-allowed"),children:e.jsx(Ws,{className:w(D&&"pointer-events-none")})}),e.jsx("fieldset",{className:"my-2",children:e.jsx(S,{children:e.jsx(L,{defaultOpen:h.isRun,children:({open:N})=>e.jsxs(e.Fragment,{children:[e.jsxs(L.Button,{ref:n,className:w("w-full flex items-center",N&&"--is-open"),children:[e.jsxs(S.Label,{className:"mr-2 text-sm w-full",children:[e.jsx("span",{children:"Additional Options"}),D&&e.jsx("span",{className:"ml-1",children:"(Read Only)"})]}),N?e.jsx(ke,{className:"h-5 w-5 text-neutral-400"}):e.jsx(Pe,{className:"h-5 w-5 text-neutral-400"})]}),e.jsxs(L.Panel,{unmount:!1,className:w("py-4 text-sm text-neutral-500",D&&"opacity-50 cursor-not-allowed"),children:[e.jsx("div",{className:w(D&&"pointer-events-none"),children:e.jsxs("div",{className:"flex flex-wrap md:flex-nowrap",children:[C(x.isProd)&&e.jsx(K,{className:"w-full",label:"Create From Environment",info:"The environment to base the plan on rather than local files",disabled:B.length<2,children:({className:k,disabled:g})=>e.jsx(K.Selector,{className:w(k,"w-full"),list:De.getOnlyRemote(Array.from(F)).filter(P=>P!==x).map(P=>({value:P.name,text:P.name})),onChange:P=>{s({type:R.PlanOptions,create_from:P})},value:d,disabled:g})}),e.jsx(K,{className:"w-full",label:"Restate Models",info:`Restate data for specified models and models
|
|
2
2
|
downstream from the one specified. For production
|
|
3
3
|
environment, all related model versions will have
|
|
4
4
|
their intervals wiped, but only the current
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Q as x,a as m,v as h,P as a,a4 as c,a5 as D,a6 as P,r as T,j as u}from"./index-DXRmsAbz.js";import{g as b,T as g}from"./help-DeXhqTBT.js";import{u as r}from"./editor-DNt3hEcu.js";import"./index-DyOMAzII.js";import"./floating-ui.react-dom-BX3awo09.js";import"./Input-B-Ounlv_.js";import"./file-y5ZNtlGh.js";const d=1440*60*1e3;function S(){const{modelName:o}=x(),p=m(e=>e.models),s=m(e=>e.lastSelectedModel),v=r(e=>e.previewTable),i=r(e=>e.setPreviewQuery),n=r(e=>e.setPreviewTable),t=h(o)||o===(s==null?void 0:s.name)?s:p.get(encodeURI(o)),l={model:t.displayName,start:a(c(Date.now()-d)),end:a(new Date),execution_time:a(c(Date.now()-d)),limit:1e3},{refetch:f}=D(l),{refetch:w}=P(l);return T.useEffect(()=>{i(void 0),n(void 0),f().then(({data:e})=>{i(e==null?void 0:e.sql)}),w().then(({data:e})=>{n(b(e))})},[t]),u.jsx("div",{className:"flex overflow-hidden w-full h-full px-2",children:u.jsx(g,{headline:t==null?void 0:t.displayName,data:v??[[],[]]})})}export{S as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a1 as jt,j as C,i as Ae,b as bn,g as Ht,C as Nr,D as Dr,a2 as Fr,f as _r,P as Or,Q as Mr,s as Rr,a as tn,a3 as Br,v as we,r as jr,U as Hr,e as Xn,L as Ur,S as Vr}from"./index-DH1v9iOD.js";import{M as qr,u as $r,L as Yr,C as Kr,a as rn}from"./context-C6O7H5eL.js";import{T as Qr,a as ln,b as Wr,c as Xr,d as Gn,e as ge,f as Gr,g as Jr,h as Jn,i as Zn,j as Zr,k as et,l as nt}from"./SearchList-vj2s_Pnb.js";import ei from"./ModelLineage-BVQJptIB.js";import{E as on}from"./file-gUDWL5Z6.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./floating-ui.react-dom-9Mo3XjFw.js";import"./editor-DQqZC36D.js";import"./project-YuVl6ae5.js";import"./help-6Q7f7fjd.js";import"./SourceList-BioJ2XB9.js";import"./Input-BGdTmRPV.js";import"./index-Ditw2lX8.js";import"./popover-BS2D7N_A.js";import"./ListboxShow-BRUdoaSL.js";function ni(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const ti=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ri=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ii={};function tt(e,n){return(ii.jsx?ri:ti).test(e)}const li=/[ \t\n\f\r]/g;function oi(e){return typeof e=="object"?e.type==="text"?rt(e.value):!1:rt(e)}function rt(e){return e.replace(li,"")===""}class qe{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}qe.prototype.normal={};qe.prototype.property={};qe.prototype.space=void 0;function Ut(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new qe(t,r,n)}function wn(e){return e.toLowerCase()}class Z{constructor(n,t){this.attribute=t,this.property=n}}Z.prototype.attribute="";Z.prototype.booleanish=!1;Z.prototype.boolean=!1;Z.prototype.commaOrSpaceSeparated=!1;Z.prototype.commaSeparated=!1;Z.prototype.defined=!1;Z.prototype.mustUseProperty=!1;Z.prototype.number=!1;Z.prototype.overloadedBoolean=!1;Z.prototype.property="";Z.prototype.spaceSeparated=!1;Z.prototype.space=void 0;let ai=0;const F=Se(),Y=Se(),Sn=Se(),x=Se(),V=Se(),ve=Se(),ne=Se();function Se(){return 2**++ai}const Cn=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:Y,commaOrSpaceSeparated:ne,commaSeparated:ve,number:x,overloadedBoolean:Sn,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),an=Object.keys(Cn);class Ln extends Z{constructor(n,t,r,i){let l=-1;if(super(n,t),it(this,"space",i),typeof r=="number")for(;++l<an.length;){const o=an[l];it(this,an[l],(r&Cn[o])===Cn[o])}}}Ln.prototype.defined=!0;function it(e,n,t){t&&(e[n]=t)}function Le(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const l=new Ln(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),n[r]=l,t[wn(r)]=r,t[wn(l.attribute)]=r}return new qe(n,t,e.space)}const Vt=Le({properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:V,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:x,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:V,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:Y,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function qt(e,n){return n in e?e[n]:n}function $t(e,n){return qt(e,n.toLowerCase())}const ui=Le({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ve,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:V,autoFocus:F,autoPlay:F,blocking:V,capture:null,charSet:null,checked:F,cite:null,className:V,cols:x,colSpan:null,content:null,contentEditable:Y,controls:F,controlsList:V,coords:x|ve,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Sn,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:V,height:x,hidden:Sn,high:x,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:V,itemRef:V,itemScope:F,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,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:F,optimum:x,pattern:null,ping:V,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:V,required:F,reversed:F,rows:x,rowSpan:x,sandbox:V,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootDelegatesFocus:F,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:F,useMap:null,value:Y,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:F,noHref:F,noShade:F,noWrap:F,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:F,disableRemotePlayback:F,prefix:null,property:null,results:x,security:null,unselectable:null},space:"html",transform:$t}),si=Le({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:ne,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:V,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:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:F,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,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:ve,g2:ve,glyphName:ve,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:ne,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,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:x,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:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ne,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ne,rev:ne,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ne,requiredFeatures:ne,requiredFonts:ne,requiredFormats:ne,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:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:ne,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ne,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ne,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:qt}),Yt=Le({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Kt=Le({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$t}),Qt=Le({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),ci={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"},pi=/[A-Z]/g,lt=/-[a-z]/g,fi=/^data[-\w.:]+$/i;function hi(e,n){const t=wn(n);let r=n,i=Z;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&fi.test(n)){if(n.charAt(4)==="-"){const l=n.slice(5).replace(lt,di);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=n.slice(4);if(!lt.test(l)){let o=l.replace(pi,mi);o.charAt(0)!=="-"&&(o="-"+o),n="data"+o}}i=Ln}return new i(r,n)}function mi(e){return"-"+e.toLowerCase()}function di(e){return e.charAt(1).toUpperCase()}const gi=Ut([Vt,ui,Yt,Kt,Qt],"html"),Nn=Ut([Vt,si,Yt,Kt,Qt],"svg");function yi(e){return e.join(" ").trim()}var Te={},un,ot;function xi(){if(ot)return un;ot=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,t=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,a=/^\s+|\s+$/g,s=`
|
|
1
|
+
import{a1 as jt,j as C,i as Ae,b as bn,g as Ht,C as Nr,D as Dr,a2 as Fr,f as _r,P as Or,Q as Mr,s as Rr,a as tn,a3 as Br,v as we,r as jr,U as Hr,e as Xn,L as Ur,S as Vr}from"./index-DXRmsAbz.js";import{M as qr,u as $r,L as Yr,C as Kr,a as rn}from"./context-DieJUDVl.js";import{T as Qr,a as ln,b as Wr,c as Xr,d as Gn,e as ge,f as Gr,g as Jr,h as Jn,i as Zn,j as Zr,k as et,l as nt}from"./SearchList-BLcpQVJH.js";import ei from"./ModelLineage-B1JusHLp.js";import{E as on}from"./file-y5ZNtlGh.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";import"./floating-ui.react-dom-BX3awo09.js";import"./editor-DNt3hEcu.js";import"./project-BraqCC5X.js";import"./help-B59vE3aE.js";import"./SourceList-Kt2aCd0O.js";import"./Input-B-Ounlv_.js";import"./index-DyOMAzII.js";import"./popover-B6Q1laIx.js";import"./ListboxShow-CV2BuG5q.js";function ni(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const ti=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ri=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ii={};function tt(e,n){return(ii.jsx?ri:ti).test(e)}const li=/[ \t\n\f\r]/g;function oi(e){return typeof e=="object"?e.type==="text"?rt(e.value):!1:rt(e)}function rt(e){return e.replace(li,"")===""}class qe{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}qe.prototype.normal={};qe.prototype.property={};qe.prototype.space=void 0;function Ut(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new qe(t,r,n)}function wn(e){return e.toLowerCase()}class Z{constructor(n,t){this.attribute=t,this.property=n}}Z.prototype.attribute="";Z.prototype.booleanish=!1;Z.prototype.boolean=!1;Z.prototype.commaOrSpaceSeparated=!1;Z.prototype.commaSeparated=!1;Z.prototype.defined=!1;Z.prototype.mustUseProperty=!1;Z.prototype.number=!1;Z.prototype.overloadedBoolean=!1;Z.prototype.property="";Z.prototype.spaceSeparated=!1;Z.prototype.space=void 0;let ai=0;const F=Se(),Y=Se(),Sn=Se(),x=Se(),V=Se(),ve=Se(),ne=Se();function Se(){return 2**++ai}const Cn=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:Y,commaOrSpaceSeparated:ne,commaSeparated:ve,number:x,overloadedBoolean:Sn,spaceSeparated:V},Symbol.toStringTag,{value:"Module"})),an=Object.keys(Cn);class Ln extends Z{constructor(n,t,r,i){let l=-1;if(super(n,t),it(this,"space",i),typeof r=="number")for(;++l<an.length;){const o=an[l];it(this,an[l],(r&Cn[o])===Cn[o])}}}Ln.prototype.defined=!0;function it(e,n,t){t&&(e[n]=t)}function Le(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const l=new Ln(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),n[r]=l,t[wn(r)]=r,t[wn(l.attribute)]=r}return new qe(n,t,e.space)}const Vt=Le({properties:{ariaActiveDescendant:null,ariaAtomic:Y,ariaAutoComplete:null,ariaBusy:Y,ariaChecked:Y,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,ariaControls:V,ariaCurrent:null,ariaDescribedBy:V,ariaDetails:null,ariaDisabled:Y,ariaDropEffect:V,ariaErrorMessage:null,ariaExpanded:Y,ariaFlowTo:V,ariaGrabbed:Y,ariaHasPopup:null,ariaHidden:Y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:V,ariaLevel:x,ariaLive:null,ariaModal:Y,ariaMultiLine:Y,ariaMultiSelectable:Y,ariaOrientation:null,ariaOwns:V,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:Y,ariaReadOnly:Y,ariaRelevant:null,ariaRequired:Y,ariaRoleDescription:V,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:Y,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function qt(e,n){return n in e?e[n]:n}function $t(e,n){return qt(e,n.toLowerCase())}const ui=Le({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ve,acceptCharset:V,accessKey:V,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:V,autoFocus:F,autoPlay:F,blocking:V,capture:null,charSet:null,checked:F,cite:null,className:V,cols:x,colSpan:null,content:null,contentEditable:Y,controls:F,controlsList:V,coords:x|ve,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Sn,draggable:Y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:V,height:x,hidden:Sn,high:x,href:null,hrefLang:null,htmlFor:V,httpEquiv:V,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:V,itemRef:V,itemScope:F,itemType:V,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,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:F,optimum:x,pattern:null,ping:V,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:V,required:F,reversed:F,rows:x,rowSpan:x,sandbox:V,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootDelegatesFocus:F,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:Y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:F,useMap:null,value:Y,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:V,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:F,noHref:F,noShade:F,noWrap:F,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:Y,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:F,disableRemotePlayback:F,prefix:null,property:null,results:x,security:null,unselectable:null},space:"html",transform:$t}),si=Le({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:ne,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:V,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:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:F,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,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:ve,g2:ve,glyphName:ve,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:ne,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,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:x,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:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:V,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ne,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ne,rev:ne,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ne,requiredFeatures:ne,requiredFonts:ne,requiredFormats:ne,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:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:ne,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ne,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ne,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:qt}),Yt=Le({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Kt=Le({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$t}),Qt=Le({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),ci={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"},pi=/[A-Z]/g,lt=/-[a-z]/g,fi=/^data[-\w.:]+$/i;function hi(e,n){const t=wn(n);let r=n,i=Z;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&fi.test(n)){if(n.charAt(4)==="-"){const l=n.slice(5).replace(lt,di);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=n.slice(4);if(!lt.test(l)){let o=l.replace(pi,mi);o.charAt(0)!=="-"&&(o="-"+o),n="data"+o}}i=Ln}return new i(r,n)}function mi(e){return"-"+e.toLowerCase()}function di(e){return e.charAt(1).toUpperCase()}const gi=Ut([Vt,ui,Yt,Kt,Qt],"html"),Nn=Ut([Vt,si,Yt,Kt,Qt],"svg");function yi(e){return e.join(" ").trim()}var Te={},un,ot;function xi(){if(ot)return un;ot=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,t=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,a=/^\s+|\s+$/g,s=`
|
|
2
2
|
`,u="/",c="*",f="",h="comment",p="declaration";un=function(b,z){if(typeof b!="string")throw new TypeError("First argument must be a string");if(!b)return[];z=z||{};var k=1,v=1;function E(P){var I=P.match(n);I&&(k+=I.length);var N=P.lastIndexOf(s);v=~N?P.length-N:v+P.length}function j(){var P={line:k,column:v};return function(I){return I.position=new U(P),$(),I}}function U(P){this.start=P,this.end={line:k,column:v},this.source=z.source}U.prototype.content=b;function y(P){var I=new Error(z.source+":"+k+":"+v+": "+P);if(I.reason=P,I.filename=z.source,I.line=k,I.column=v,I.source=b,!z.silent)throw I}function O(P){var I=P.exec(b);if(I){var N=I[0];return E(N),b=b.slice(N.length),I}}function $(){O(t)}function R(P){var I;for(P=P||[];I=B();)I!==!1&&P.push(I);return P}function B(){var P=j();if(!(u!=b.charAt(0)||c!=b.charAt(1))){for(var I=2;f!=b.charAt(I)&&(c!=b.charAt(I)||u!=b.charAt(I+1));)++I;if(I+=2,f===b.charAt(I-1))return y("End of comment missing");var N=b.slice(2,I-2);return v+=2,E(N),b=b.slice(I),v+=2,P({type:h,comment:N})}}function A(){var P=j(),I=O(r);if(I){if(B(),!O(i))return y("property missing ':'");var N=O(l),K=P({type:p,property:S(I[0].replace(e,f)),value:N?S(N[0].replace(e,f)):f});return O(o),K}}function T(){var P=[];R(P);for(var I;I=A();)I!==!1&&(P.push(I),R(P));return P}return $(),T()};function S(b){return b?b.replace(a,f):f}return un}var at;function ki(){if(at)return Te;at=1;var e=Te&&Te.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Te,"__esModule",{value:!0}),Te.default=t;var n=e(xi());function t(r,i){var l=null;if(!r||typeof r!="string")return l;var o=(0,n.default)(r),a=typeof i=="function";return o.forEach(function(s){if(s.type==="declaration"){var u=s.property,c=s.value;a?i(u,c,s):c&&(l=l||{},l[u]=c)}}),l}return Te}var Oe={},ut;function bi(){if(ut)return Oe;ut=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,t=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,l=function(u){return!u||t.test(u)||e.test(u)},o=function(u,c){return c.toUpperCase()},a=function(u,c){return"".concat(c,"-")},s=function(u,c){return c===void 0&&(c={}),l(u)?u:(u=u.toLowerCase(),c.reactCompat?u=u.replace(i,a):u=u.replace(r,a),u.replace(n,o))};return Oe.camelCase=s,Oe}var Me,st;function wi(){if(st)return Me;st=1;var e=Me&&Me.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},n=e(ki()),t=bi();function r(i,l){var o={};return!i||typeof i!="string"||(0,n.default)(i,function(a,s){a&&s&&(o[(0,t.camelCase)(a,l)]=s)}),o}return r.default=r,Me=r,Me}var Si=wi();const Ci=jt(Si),Wt=Xt("end"),Dn=Xt("start");function Xt(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Ei(e){const n=Dn(e),t=Wt(e);if(n&&t)return{start:n,end:t}}function je(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ct(e.position):"start"in e||"end"in e?ct(e):"line"in e||"column"in e?En(e):""}function En(e){return pt(e&&e.line)+":"+pt(e&&e.column)}function ct(e){return En(e&&e.start)+"-"+En(e&&e.end)}function pt(e){return e&&typeof e=="number"?e:1}class X extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",l={},o=!1;if(t&&("line"in t&&"column"in t?l={place:t}:"start"in t&&"end"in t?l={place:t}:"type"in t?l={ancestors:[t],place:t.position}:l={...t}),typeof n=="string"?i=n:!l.cause&&n&&(o=!0,i=n.message,l.cause=n),!l.ruleId&&!l.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?l.ruleId=r:(l.source=r.slice(0,s),l.ruleId=r.slice(s+1))}if(!l.place&&l.ancestors&&l.ancestors){const s=l.ancestors[l.ancestors.length-1];s&&(l.place=s.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=je(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}X.prototype.file="";X.prototype.name="";X.prototype.reason="";X.prototype.message="";X.prototype.stack="";X.prototype.column=void 0;X.prototype.line=void 0;X.prototype.ancestors=void 0;X.prototype.cause=void 0;X.prototype.fatal=void 0;X.prototype.place=void 0;X.prototype.ruleId=void 0;X.prototype.source=void 0;const Fn={}.hasOwnProperty,Ii=new Map,Ti=/[A-Z]/g,Pi=new Set(["table","tbody","thead","tfoot","tr"]),Ai=new Set(["td","th"]),Gt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function vi(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Mi(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Oi(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Nn:gi,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},l=Jt(i,e,void 0);return l&&typeof l!="string"?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}function Jt(e,n,t){if(n.type==="element")return zi(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return Li(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return Di(e,n,t);if(n.type==="mdxjsEsm")return Ni(e,n);if(n.type==="root")return Fi(e,n,t);if(n.type==="text")return _i(e,n)}function zi(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Nn,e.schema=i),e.ancestors.push(n);const l=er(e,n.tagName,!1),o=Ri(e,n);let a=On(e,n);return Pi.has(n.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!oi(s):!0})),Zt(e,o,l,n),_n(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function Li(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ve(e,n.position)}function Ni(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Ve(e,n.position)}function Di(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=Nn,e.schema=i),e.ancestors.push(n);const l=n.name===null?e.Fragment:er(e,n.name,!0),o=Bi(e,n),a=On(e,n);return Zt(e,o,l,n),_n(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function Fi(e,n,t){const r={};return _n(r,On(e,n)),e.create(n,e.Fragment,r,t)}function _i(e,n){return n.value}function Zt(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function _n(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function Oi(e,n,t){return r;function r(i,l,o,a){const u=Array.isArray(o.children)?t:n;return a?u(l,o,a):u(l,o)}}function Mi(e,n){return t;function t(r,i,l,o){const a=Array.isArray(l.children),s=Dn(r);return n(i,l,o,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function Ri(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&Fn.call(n.properties,i)){const l=ji(e,i,n.properties[i]);if(l){const[o,a]=l;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&Ai.has(n.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function Bi(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,e.evaluater.evaluateExpression(a.argument))}else Ve(e,n.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,l=e.evaluater.evaluateExpression(a.expression)}else Ve(e,n.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function On(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:Ii;for(;++r<n.children.length;){const l=n.children[r];let o;if(e.passKeys){const s=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(s){const u=i.get(s)||0;o=s+"-"+u,i.set(s,u+1)}}const a=Jt(e,l,o);a!==void 0&&t.push(a)}return t}function ji(e,n,t){const r=hi(e.schema,n);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?ni(t):yi(t)),r.property==="style"){let i=typeof t=="object"?t:Hi(e,String(t));return e.stylePropertyNameCase==="css"&&(i=Ui(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?ci[r.property]||r.property:r.attribute,t]}}function Hi(e,n){try{return Ci(n,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const r=t,i=new X("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Gt+"#cannot-parse-style-attribute",i}}function er(e,n,t){let r;if(!t)r={type:"Literal",value:n};else if(n.includes(".")){const i=n.split(".");let l=-1,o;for(;++l<i.length;){const a=tt(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(l&&a.type==="Literal"),optional:!1}:a}r=o}else r=tt(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(r.type==="Literal"){const i=r.value;return Fn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ve(e)}function Ve(e,n){const t=new X("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=Gt+"#cannot-handle-mdx-estrees-without-createevaluater",t}function Ui(e){const n={};let t;for(t in e)Fn.call(e,t)&&(n[Vi(t)]=e[t]);return n}function Vi(e){let n=e.replace(Ti,qi);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function qi(e){return"-"+e.toLowerCase()}const sn={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"]},$i={};function Yi(e,n){const t=$i,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return nr(e,r,i)}function nr(e,n,t){if(Ki(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ft(e.children,n,t)}return Array.isArray(e)?ft(e,n,t):""}function ft(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=nr(e[i],n,t);return r.join("")}function Ki(e){return!!(e&&typeof e=="object")}const ht=document.createElement("i");function Mn(e){const n="&"+e+";";ht.innerHTML=n;const t=ht.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}function ce(e,n,t,r){const i=e.length;let l=0,o;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);l<r.length;)o=r.slice(l,l+1e4),o.unshift(n,0),e.splice(...o),l+=1e4,n+=1e4}function re(e,n){return e.length>0?(ce(e,e.length,0,n),e):n}const mt={}.hasOwnProperty;function Qi(e){const n={};let t=-1;for(;++t<e.length;)Wi(n,e[t]);return n}function Wi(e,n){let t;for(t in n){const i=(mt.call(e,t)?e[t]:void 0)||(e[t]={}),l=n[t];let o;if(l)for(o in l){mt.call(i,o)||(i[o]=[]);const a=l[o];Xi(i[o],Array.isArray(a)?a:a?[a]:[])}}}function Xi(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);ce(e,0,0,r)}function tr(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function ze(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const se=xe(/[A-Za-z]/),te=xe(/[\dA-Za-z]/),Gi=xe(/[#-'*+\--9=?A-Z^-~]/);function In(e){return e!==null&&(e<32||e===127)}const Tn=xe(/\d/),Ji=xe(/[\dA-Fa-f]/),Zi=xe(/[!-/:-@[-`{-~]/);function L(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function M(e){return e===-2||e===-1||e===32}const el=xe(new RegExp("\\p{P}|\\p{S}","u")),nl=xe(/\s/);function xe(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Ne(e){const n=[];let t=-1,r=0,i=0;for(;++t<e.length;){const l=e.charCodeAt(t);let o="";if(l===37&&te(e.charCodeAt(t+1))&&te(e.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const a=e.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function q(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(s){return M(s)?(e.enter(t),a(s)):n(s)}function a(s){return M(s)&&l++<i?(e.consume(s),a):(e.exit(t),n(s))}}const tl={tokenize:rl};function rl(e){const n=e.attempt(this.parser.constructs.contentInitial,r,i);let t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),q(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),l(a)}function l(a){const s=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return L(a)?(e.consume(a),e.exit("chunkText"),l):(e.consume(a),o)}}const il={tokenize:ll},dt={tokenize:ol};function ll(e){const n=this,t=[];let r=0,i,l,o;return a;function a(E){if(r<t.length){const j=t[r];return n.containerState=j[1],e.attempt(j[0].continuation,s,u)(E)}return u(E)}function s(E){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&v();const j=n.events.length;let U=j,y;for(;U--;)if(n.events[U][0]==="exit"&&n.events[U][1].type==="chunkFlow"){y=n.events[U][1].end;break}k(r);let O=j;for(;O<n.events.length;)n.events[O][1].end={...y},O++;return ce(n.events,U+1,0,n.events.slice(j)),n.events.length=O,u(E)}return a(E)}function u(E){if(r===t.length){if(!i)return h(E);if(i.currentConstruct&&i.currentConstruct.concrete)return S(E);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(dt,c,f)(E)}function c(E){return i&&v(),k(r),h(E)}function f(E){return n.parser.lazy[n.now().line]=r!==t.length,o=n.now().offset,S(E)}function h(E){return n.containerState={},e.attempt(dt,p,S)(E)}function p(E){return r++,t.push([n.currentConstruct,n.containerState]),h(E)}function S(E){if(E===null){i&&v(),k(0),e.consume(E);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:l}),b(E)}function b(E){if(E===null){z(e.exit("chunkFlow"),!0),k(0),e.consume(E);return}return L(E)?(e.consume(E),z(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(E),b)}function z(E,j){const U=n.sliceStream(E);if(j&&U.push(null),E.previous=l,l&&(l.next=E),l=E,i.defineSkip(E.start),i.write(U),n.parser.lazy[E.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<o&&(!i.events[y][1].end||i.events[y][1].end.offset>o))return;const O=n.events.length;let $=O,R,B;for(;$--;)if(n.events[$][0]==="exit"&&n.events[$][1].type==="chunkFlow"){if(R){B=n.events[$][1].end;break}R=!0}for(k(r),y=O;y<n.events.length;)n.events[y][1].end={...B},y++;ce(n.events,$+1,0,n.events.slice(O)),n.events.length=y}}function k(E){let j=t.length;for(;j-- >E;){const U=t[j];n.containerState=U[1],U[0].exit.call(n,e)}t.length=E}function v(){i.write([null]),l=void 0,i=void 0,n.containerState._closeFlow=void 0}}function ol(e,n,t){return q(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function gt(e){if(e===null||J(e)||nl(e))return 1;if(el(e))return 2}function Rn(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const l=e[i].resolveAll;l&&!r.includes(l)&&(n=l(n,t),r.push(l))}return n}const Pn={name:"attention",resolveAll:al,tokenize:ul};function al(e,n){let t=-1,r,i,l,o,a,s,u,c;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const f={...e[r][1].end},h={...e[t][1].start};yt(f,-s),yt(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:h},l={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[t][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[t][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=re(u,[["enter",e[r][1],n],["exit",e[r][1],n]])),u=re(u,[["enter",i,n],["enter",o,n],["exit",o,n],["enter",l,n]]),u=re(u,Rn(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),u=re(u,[["exit",l,n],["enter",a,n],["exit",a,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(c=2,u=re(u,[["enter",e[t][1],n],["exit",e[t][1],n]])):c=0,ce(e,r-1,t-r+3,u),t=r+u.length-c-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function ul(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=gt(r);let l;return o;function o(s){return l=s,e.enter("attentionSequence"),a(s)}function a(s){if(s===l)return e.consume(s),a;const u=e.exit("attentionSequence"),c=gt(s),f=!c||c===2&&i||t.includes(s),h=!i||i===2&&c||t.includes(r);return u._open=!!(l===42?f:f&&(i||!h)),u._close=!!(l===42?h:h&&(c||!f)),n(s)}}function yt(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const sl={name:"autolink",tokenize:cl};function cl(e,n,t){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(p){return se(p)?(e.consume(p),o):p===64?t(p):u(p)}function o(p){return p===43||p===45||p===46||te(p)?(r=1,a(p)):u(p)}function a(p){return p===58?(e.consume(p),r=0,s):(p===43||p===45||p===46||te(p))&&r++<32?(e.consume(p),a):(r=0,u(p))}function s(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):p===null||p===32||p===60||In(p)?t(p):(e.consume(p),s)}function u(p){return p===64?(e.consume(p),c):Gi(p)?(e.consume(p),u):t(p)}function c(p){return te(p)?f(p):t(p)}function f(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):h(p)}function h(p){if((p===45||te(p))&&r++<63){const S=p===45?h:f;return e.consume(p),S}return t(p)}}const Ze={partial:!0,tokenize:pl};function pl(e,n,t){return r;function r(l){return M(l)?q(e,i,"linePrefix")(l):i(l)}function i(l){return l===null||L(l)?n(l):t(l)}}const rr={continuation:{tokenize:hl},exit:ml,name:"blockQuote",tokenize:fl};function fl(e,n,t){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return t(o)}function l(o){return M(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(o))}}function hl(e,n,t){const r=this;return i;function i(o){return M(o)?q(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(rr,n,t)(o)}}function ml(e){e.exit("blockQuote")}const ir={name:"characterEscape",tokenize:dl};function dl(e,n,t){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),i}function i(l){return Zi(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(l)}}const lr={name:"characterReference",tokenize:gl};function gl(e,n,t){const r=this;let i=0,l,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),s}function s(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),l=31,o=te,c(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=Ji,c):(e.enter("characterReferenceValue"),l=7,o=Tn,c(f))}function c(f){if(f===59&&i){const h=e.exit("characterReferenceValue");return o===te&&!Mn(r.sliceSerialize(h))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return o(f)&&i++<l?(e.consume(f),c):t(f)}}const xt={partial:!0,tokenize:xl},kt={concrete:!0,name:"codeFenced",tokenize:yl};function yl(e,n,t){const r=this,i={partial:!0,tokenize:U};let l=0,o=0,a;return s;function s(y){return u(y)}function u(y){const O=r.events[r.events.length-1];return l=O&&O[1].type==="linePrefix"?O[2].sliceSerialize(O[1],!0).length:0,a=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(y)}function c(y){return y===a?(o++,e.consume(y),c):o<3?t(y):(e.exit("codeFencedFenceSequence"),M(y)?q(e,f,"whitespace")(y):f(y))}function f(y){return y===null||L(y)?(e.exit("codeFencedFence"),r.interrupt?n(y):e.check(xt,b,j)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(y))}function h(y){return y===null||L(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(y)):M(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),q(e,p,"whitespace")(y)):y===96&&y===a?t(y):(e.consume(y),h)}function p(y){return y===null||L(y)?f(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(y))}function S(y){return y===null||L(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(y)):y===96&&y===a?t(y):(e.consume(y),S)}function b(y){return e.attempt(i,j,z)(y)}function z(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),k}function k(y){return l>0&&M(y)?q(e,v,"linePrefix",l+1)(y):v(y)}function v(y){return y===null||L(y)?e.check(xt,b,j)(y):(e.enter("codeFlowValue"),E(y))}function E(y){return y===null||L(y)?(e.exit("codeFlowValue"),v(y)):(e.consume(y),E)}function j(y){return e.exit("codeFenced"),n(y)}function U(y,O,$){let R=0;return B;function B(N){return y.enter("lineEnding"),y.consume(N),y.exit("lineEnding"),A}function A(N){return y.enter("codeFencedFence"),M(N)?q(y,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):T(N)}function T(N){return N===a?(y.enter("codeFencedFenceSequence"),P(N)):$(N)}function P(N){return N===a?(R++,y.consume(N),P):R>=o?(y.exit("codeFencedFenceSequence"),M(N)?q(y,I,"whitespace")(N):I(N)):$(N)}function I(N){return N===null||L(N)?(y.exit("codeFencedFence"),O(N)):$(N)}}}function xl(e,n,t){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}const cn={name:"codeIndented",tokenize:bl},kl={partial:!0,tokenize:wl};function bl(e,n,t){const r=this;return i;function i(u){return e.enter("codeIndented"),q(e,l,"linePrefix",5)(u)}function l(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(u):t(u)}function o(u){return u===null?s(u):L(u)?e.attempt(kl,o,s)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||L(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),a)}function s(u){return e.exit("codeIndented"),n(u)}}function wl(e,n,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):L(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):q(e,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):L(o)?i(o):t(o)}}const Sl={name:"codeText",previous:El,resolve:Cl,tokenize:Il};function Cl(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function El(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Il(e,n,t){let r=0,i,l;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),s(f))}function s(f){return f===null?t(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),s):f===96?(l=e.enter("codeTextSequence"),i=0,c(f)):L(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||L(f)?(e.exit("codeTextData"),s(f)):(e.consume(f),u)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(f)):(l.type="codeTextData",u(f))}}class Tl{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,t){const r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(n,r):n>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(n,t,r){const i=t||0;this.setCursor(Math.trunc(n));const l=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Re(this.left,r),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),Re(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),Re(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const t=this.left.splice(n,Number.POSITIVE_INFINITY);Re(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);Re(this.left,t.reverse())}}}function Re(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function or(e){const n={};let t=-1,r,i,l,o,a,s,u;const c=new Tl(e);for(;++t<c.length;){for(;t in n;)t=n[t];if(r=c.get(t),t&&r[1].type==="chunkFlow"&&c.get(t-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,l=0,l<s.length&&s[l][1].type==="lineEndingBlank"&&(l+=2),l<s.length&&s[l][1].type==="content"))for(;++l<s.length&&s[l][1].type!=="content";)s[l][1].type==="chunkText"&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,Pl(c,t)),t=n[t],u=!0);else if(r[1]._container){for(l=t,i=void 0;l--;)if(o=c.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},a=c.slice(i,t),a.unshift(r),c.splice(i,t-i+1,a))}}return ce(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function Pl(e,n){const t=e.get(n)[1],r=e.get(n)[2];let i=n-1;const l=[];let o=t._tokenizer;o||(o=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,s=[],u={};let c,f,h=-1,p=t,S=0,b=0;const z=[b];for(;p;){for(;e.get(++i)[1]!==p;);l.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=t;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(b=h+1,z.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):z.pop(),h=z.length;h--;){const k=a.slice(z[h],z[h+1]),v=l.pop();s.push([v,v+k.length-1]),e.splice(v,2,k)}for(s.reverse(),h=-1;++h<s.length;)u[S+s[h][0]]=S+s[h][1],S+=s[h][1]-s[h][0]-1;return u}const Al={resolve:zl,tokenize:Ll},vl={partial:!0,tokenize:Nl};function zl(e){return or(e),e}function Ll(e,n){let t;return r;function r(a){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):L(a)?e.check(vl,o,l)(a):(e.consume(a),i)}function l(a){return e.exit("chunkContent"),e.exit("content"),n(a)}function o(a){return e.consume(a),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function Nl(e,n,t){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),q(e,l,"linePrefix")}function l(o){if(o===null||L(o))return t(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}}function ar(e,n,t,r,i,l,o,a,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return f;function f(k){return k===60?(e.enter(r),e.enter(i),e.enter(l),e.consume(k),e.exit(l),h):k===null||k===32||k===41||In(k)?t(k):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),b(k))}function h(k){return k===62?(e.enter(l),e.consume(k),e.exit(l),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===62?(e.exit("chunkString"),e.exit(a),h(k)):k===null||k===60||L(k)?t(k):(e.consume(k),k===92?S:p)}function S(k){return k===60||k===62||k===92?(e.consume(k),p):p(k)}function b(k){return!c&&(k===null||k===41||J(k))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),n(k)):c<u&&k===40?(e.consume(k),c++,b):k===41?(e.consume(k),c--,b):k===null||k===32||k===40||In(k)?t(k):(e.consume(k),k===92?z:b)}function z(k){return k===40||k===41||k===92?(e.consume(k),b):b(k)}}function ur(e,n,t,r,i,l){const o=this;let a=0,s;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(l),c}function c(p){return a>999||p===null||p===91||p===93&&!s||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(p):p===93?(e.exit(l),e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):L(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||L(p)||a++>999?(e.exit("chunkString"),c(p)):(e.consume(p),s||(s=!M(p)),p===92?h:f)}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function sr(e,n,t,r,i,l){let o;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,s):t(h)}function s(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),n):(e.enter(l),u(h))}function u(h){return h===o?(e.exit(l),s(o)):h===null?t(h):L(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),q(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===o||h===null||L(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?f:c)}function f(h){return h===o||h===92?(e.consume(h),c):c(h)}}function He(e,n){let t;return r;function r(i){return L(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):M(i)?q(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const Dl={name:"definition",tokenize:_l},Fl={partial:!0,tokenize:Ol};function _l(e,n,t){const r=this;let i;return l;function l(p){return e.enter("definition"),o(p)}function o(p){return ur.call(r,e,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=ze(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):t(p)}function s(p){return J(p)?He(e,u)(p):u(p)}function u(p){return ar(e,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(Fl,f,f)(p)}function f(p){return M(p)?q(e,h,"whitespace")(p):h(p)}function h(p){return p===null||L(p)?(e.exit("definition"),r.parser.defined.push(i),n(p)):t(p)}}function Ol(e,n,t){return r;function r(a){return J(a)?He(e,i)(a):t(a)}function i(a){return sr(e,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return M(a)?q(e,o,"whitespace")(a):o(a)}function o(a){return a===null||L(a)?n(a):t(a)}}const Ml={name:"hardBreakEscape",tokenize:Rl};function Rl(e,n,t){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),i}function i(l){return L(l)?(e.exit("hardBreakEscape"),n(l)):t(l)}}const Bl={name:"headingAtx",resolve:jl,tokenize:Hl};function jl(e,n){let t=e.length-2,r=3,i,l;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},l={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},ce(e,r,t-r+1,[["enter",i,n],["enter",l,n],["exit",l,n],["exit",i,n]])),e}function Hl(e,n,t){let r=0;return i;function i(c){return e.enter("atxHeading"),l(c)}function l(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||J(c)?(e.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||L(c)?(e.exit("atxHeading"),n(c)):M(c)?q(e,a,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||J(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),u)}}const Ul=["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"],bt=["pre","script","style","textarea"],Vl={concrete:!0,name:"htmlFlow",resolveTo:Yl,tokenize:Kl},ql={partial:!0,tokenize:Wl},$l={partial:!0,tokenize:Ql};function Yl(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function Kl(e,n,t){const r=this;let i,l,o,a,s;return u;function u(d){return c(d)}function c(d){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(d),f}function f(d){return d===33?(e.consume(d),h):d===47?(e.consume(d),l=!0,b):d===63?(e.consume(d),i=3,r.interrupt?n:m):se(d)?(e.consume(d),o=String.fromCharCode(d),z):t(d)}function h(d){return d===45?(e.consume(d),i=2,p):d===91?(e.consume(d),i=5,a=0,S):se(d)?(e.consume(d),i=4,r.interrupt?n:m):t(d)}function p(d){return d===45?(e.consume(d),r.interrupt?n:m):t(d)}function S(d){const oe="CDATA[";return d===oe.charCodeAt(a++)?(e.consume(d),a===oe.length?r.interrupt?n:T:S):t(d)}function b(d){return se(d)?(e.consume(d),o=String.fromCharCode(d),z):t(d)}function z(d){if(d===null||d===47||d===62||J(d)){const oe=d===47,ke=o.toLowerCase();return!oe&&!l&&bt.includes(ke)?(i=1,r.interrupt?n(d):T(d)):Ul.includes(o.toLowerCase())?(i=6,oe?(e.consume(d),k):r.interrupt?n(d):T(d)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(d):l?v(d):E(d))}return d===45||te(d)?(e.consume(d),o+=String.fromCharCode(d),z):t(d)}function k(d){return d===62?(e.consume(d),r.interrupt?n:T):t(d)}function v(d){return M(d)?(e.consume(d),v):B(d)}function E(d){return d===47?(e.consume(d),B):d===58||d===95||se(d)?(e.consume(d),j):M(d)?(e.consume(d),E):B(d)}function j(d){return d===45||d===46||d===58||d===95||te(d)?(e.consume(d),j):U(d)}function U(d){return d===61?(e.consume(d),y):M(d)?(e.consume(d),U):E(d)}function y(d){return d===null||d===60||d===61||d===62||d===96?t(d):d===34||d===39?(e.consume(d),s=d,O):M(d)?(e.consume(d),y):$(d)}function O(d){return d===s?(e.consume(d),s=null,R):d===null||L(d)?t(d):(e.consume(d),O)}function $(d){return d===null||d===34||d===39||d===47||d===60||d===61||d===62||d===96||J(d)?U(d):(e.consume(d),$)}function R(d){return d===47||d===62||M(d)?E(d):t(d)}function B(d){return d===62?(e.consume(d),A):t(d)}function A(d){return d===null||L(d)?T(d):M(d)?(e.consume(d),A):t(d)}function T(d){return d===45&&i===2?(e.consume(d),K):d===60&&i===1?(e.consume(d),Q):d===62&&i===4?(e.consume(d),le):d===63&&i===3?(e.consume(d),m):d===93&&i===5?(e.consume(d),pe):L(d)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(ql,fe,P)(d)):d===null||L(d)?(e.exit("htmlFlowData"),P(d)):(e.consume(d),T)}function P(d){return e.check($l,I,fe)(d)}function I(d){return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),N}function N(d){return d===null||L(d)?P(d):(e.enter("htmlFlowData"),T(d))}function K(d){return d===45?(e.consume(d),m):T(d)}function Q(d){return d===47?(e.consume(d),o="",ie):T(d)}function ie(d){if(d===62){const oe=o.toLowerCase();return bt.includes(oe)?(e.consume(d),le):T(d)}return se(d)&&o.length<8?(e.consume(d),o+=String.fromCharCode(d),ie):T(d)}function pe(d){return d===93?(e.consume(d),m):T(d)}function m(d){return d===62?(e.consume(d),le):d===45&&i===2?(e.consume(d),m):T(d)}function le(d){return d===null||L(d)?(e.exit("htmlFlowData"),fe(d)):(e.consume(d),le)}function fe(d){return e.exit("htmlFlow"),n(d)}}function Ql(e,n,t){const r=this;return i;function i(o){return L(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}function Wl(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ze,n,t)}}const Xl={name:"htmlText",tokenize:Gl};function Gl(e,n,t){const r=this;let i,l,o;return a;function a(m){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(m),s}function s(m){return m===33?(e.consume(m),u):m===47?(e.consume(m),U):m===63?(e.consume(m),E):se(m)?(e.consume(m),$):t(m)}function u(m){return m===45?(e.consume(m),c):m===91?(e.consume(m),l=0,S):se(m)?(e.consume(m),v):t(m)}function c(m){return m===45?(e.consume(m),p):t(m)}function f(m){return m===null?t(m):m===45?(e.consume(m),h):L(m)?(o=f,Q(m)):(e.consume(m),f)}function h(m){return m===45?(e.consume(m),p):f(m)}function p(m){return m===62?K(m):m===45?h(m):f(m)}function S(m){const le="CDATA[";return m===le.charCodeAt(l++)?(e.consume(m),l===le.length?b:S):t(m)}function b(m){return m===null?t(m):m===93?(e.consume(m),z):L(m)?(o=b,Q(m)):(e.consume(m),b)}function z(m){return m===93?(e.consume(m),k):b(m)}function k(m){return m===62?K(m):m===93?(e.consume(m),k):b(m)}function v(m){return m===null||m===62?K(m):L(m)?(o=v,Q(m)):(e.consume(m),v)}function E(m){return m===null?t(m):m===63?(e.consume(m),j):L(m)?(o=E,Q(m)):(e.consume(m),E)}function j(m){return m===62?K(m):E(m)}function U(m){return se(m)?(e.consume(m),y):t(m)}function y(m){return m===45||te(m)?(e.consume(m),y):O(m)}function O(m){return L(m)?(o=O,Q(m)):M(m)?(e.consume(m),O):K(m)}function $(m){return m===45||te(m)?(e.consume(m),$):m===47||m===62||J(m)?R(m):t(m)}function R(m){return m===47?(e.consume(m),K):m===58||m===95||se(m)?(e.consume(m),B):L(m)?(o=R,Q(m)):M(m)?(e.consume(m),R):K(m)}function B(m){return m===45||m===46||m===58||m===95||te(m)?(e.consume(m),B):A(m)}function A(m){return m===61?(e.consume(m),T):L(m)?(o=A,Q(m)):M(m)?(e.consume(m),A):R(m)}function T(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(e.consume(m),i=m,P):L(m)?(o=T,Q(m)):M(m)?(e.consume(m),T):(e.consume(m),I)}function P(m){return m===i?(e.consume(m),i=void 0,N):m===null?t(m):L(m)?(o=P,Q(m)):(e.consume(m),P)}function I(m){return m===null||m===34||m===39||m===60||m===61||m===96?t(m):m===47||m===62||J(m)?R(m):(e.consume(m),I)}function N(m){return m===47||m===62||J(m)?R(m):t(m)}function K(m){return m===62?(e.consume(m),e.exit("htmlTextData"),e.exit("htmlText"),n):t(m)}function Q(m){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ie}function ie(m){return M(m)?q(e,pe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m):pe(m)}function pe(m){return e.enter("htmlTextData"),o(m)}}const Bn={name:"labelEnd",resolveAll:no,resolveTo:to,tokenize:ro},Jl={tokenize:io},Zl={tokenize:lo},eo={tokenize:oo};function no(e){let n=-1;const t=[];for(;++n<e.length;){const r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&ce(e,0,e.length,t),e}function to(e,n){let t=e.length,r=0,i,l,o,a;for(;t--;)if(i=e[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const s={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",s,n],["enter",u,n]],a=re(a,e.slice(l+1,l+r+3)),a=re(a,[["enter",c,n]]),a=re(a,Rn(n.parser.constructs.insideSpan.null,e.slice(l+r+4,o-3),n)),a=re(a,[["exit",c,n],e[o-2],e[o-1],["exit",u,n]]),a=re(a,e.slice(o+1)),a=re(a,[["exit",s,n]]),ce(e,l,e.length,a),e}function ro(e,n,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return a;function a(h){return l?l._inactive?f(h):(o=r.parser.defined.includes(ze(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):t(h)}function s(h){return h===40?e.attempt(Jl,c,o?c:f)(h):h===91?e.attempt(Zl,c,o?u:f)(h):o?c(h):f(h)}function u(h){return e.attempt(eo,c,f)(h)}function c(h){return n(h)}function f(h){return l._balanced=!0,t(h)}}function io(e,n,t){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return J(f)?He(e,l)(f):l(f)}function l(f){return f===41?c(f):ar(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return J(f)?He(e,s)(f):c(f)}function a(f){return t(f)}function s(f){return f===34||f===39||f===40?sr(e,u,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function u(f){return J(f)?He(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}function lo(e,n,t){const r=this;return i;function i(a){return ur.call(r,e,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(ze(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(a):t(a)}function o(a){return t(a)}}function oo(e,n,t){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),i}function i(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),n):t(l)}}const ao={name:"labelStartImage",resolveAll:Bn.resolveAll,tokenize:uo};function uo(e,n,t){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),l}function l(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):n(a)}}const so={name:"labelStartLink",resolveAll:Bn.resolveAll,tokenize:co};function co(e,n,t){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):n(o)}}const pn={name:"lineEnding",tokenize:po};function po(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),q(e,n,"linePrefix")}}const Xe={name:"thematicBreak",tokenize:fo};function fo(e,n,t){let r=0,i;return l;function l(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):r>=3&&(u===null||L(u))?(e.exit("thematicBreak"),n(u)):t(u)}function s(u){return u===i?(e.consume(u),r++,s):(e.exit("thematicBreakSequence"),M(u)?q(e,a,"whitespace")(u):a(u))}}const G={continuation:{tokenize:yo},exit:ko,name:"list",tokenize:go},ho={partial:!0,tokenize:bo},mo={partial:!0,tokenize:xo};function go(e,n,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(p){const S=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(S==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Tn(p)){if(r.containerState.type||(r.containerState.type=S,e.enter(S,{_container:!0})),S==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Xe,t,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return t(p)}function s(p){return Tn(p)&&++o<10?(e.consume(p),s):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):t(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Ze,r.interrupt?t:c,e.attempt(ho,h,f))}function c(p){return r.containerState.initialBlankLine=!0,l++,h(p)}function f(p){return M(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):t(p)}function h(p){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function yo(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Ze,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,q(e,n,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!M(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(mo,n,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,q(e,e.attempt(G,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function xo(e,n,t){const r=this;return q(e,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(l):t(l)}}function ko(e){e.exit(this.containerState.type)}function bo(e,n,t){const r=this;return q(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!M(l)&&o&&o[1].type==="listItemPrefixWhitespace"?n(l):t(l)}}const wt={name:"setextUnderline",resolveTo:wo,tokenize:So};function wo(e,n){let t=e.length,r,i,l;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!l&&e[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",l?(e.splice(i,0,["enter",o,n]),e.splice(l+1,0,["exit",e[r][1],n]),e[r][1].end={...e[l][1].end}):e[r][1]=o,e.push(["exit",o,n]),e}function So(e,n,t){const r=this;let i;return l;function l(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=u,o(u)):t(u)}function o(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),M(u)?q(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||L(u)?(e.exit("setextHeadingLine"),n(u)):t(u)}}const Co={tokenize:Eo};function Eo(e){const n=this,t=e.attempt(Ze,r,e.attempt(this.parser.constructs.flowInitial,i,q(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Al,i)),"linePrefix")));return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const Io={resolveAll:pr()},To=cr("string"),Po=cr("text");function cr(e){return{resolveAll:pr(e==="text"?Ao:void 0),tokenize:n};function n(t){const r=this,i=this.parser.constructs[e],l=t.attempt(i,o,a);return o;function o(c){return u(c)?l(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),s}function s(c){return u(c)?(t.exit("data"),l(c)):(t.consume(c),s)}function u(c){if(c===null)return!0;const f=i[c];let h=-1;if(f)for(;++h<f.length;){const p=f[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function pr(e){return n;function n(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return e?e(t,r):t}}function Ao(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const r=e[t-1][1],i=n.sliceStream(r);let l=i.length,o=-1,a=0,s;for(;l--;){const u=i[l];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(u===-2)s=!0,a++;else if(u!==-1){l++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(a=0),a){const u={type:t===e.length||s||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:r.start._bufferIndex+o,_index:r.start._index+l,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(t,0,["enter",u,n],["exit",u,n]),t+=2)}t++}return e}const vo={42:G,43:G,45:G,48:G,49:G,50:G,51:G,52:G,53:G,54:G,55:G,56:G,57:G,62:rr},zo={91:Dl},Lo={[-2]:cn,[-1]:cn,32:cn},No={35:Bl,42:Xe,45:[wt,Xe],60:Vl,61:wt,95:Xe,96:kt,126:kt},Do={38:lr,92:ir},Fo={[-5]:pn,[-4]:pn,[-3]:pn,33:ao,38:lr,42:Pn,60:[sl,Xl],91:so,92:[Ml,ir],93:Bn,95:Pn,96:Sl},_o={null:[Pn,Io]},Oo={null:[42,95]},Mo={null:[]},Ro=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Oo,contentInitial:zo,disable:Mo,document:vo,flow:No,flowInitial:Lo,insideSpan:_o,string:Do,text:Fo},Symbol.toStringTag,{value:"Module"}));function Bo(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},l=[];let o=[],a=[];const s={attempt:O(U),check:O(y),consume:v,enter:E,exit:j,interrupt:O(y,{interrupt:!0})},u={code:null,containerState:{},defineSkip:b,events:[],now:S,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:f};let c=n.tokenize.call(u,s);return n.resolveAll&&l.push(n),u;function f(A){return o=re(o,A),z(),o[o.length-1]!==null?[]:($(n,0),u.events=Rn(l,u.events,u),u.events)}function h(A,T){return Ho(p(A),T)}function p(A){return jo(o,A)}function S(){const{_bufferIndex:A,_index:T,line:P,column:I,offset:N}=r;return{_bufferIndex:A,_index:T,line:P,column:I,offset:N}}function b(A){i[A.line]=A.column,B()}function z(){let A;for(;r._index<o.length;){const T=o[r._index];if(typeof T=="string")for(A=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===A&&r._bufferIndex<T.length;)k(T.charCodeAt(r._bufferIndex));else k(T)}}function k(A){c=c(A)}function v(A){L(A)?(r.line++,r.column=1,r.offset+=A===-3?2:1,B()):A!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=A}function E(A,T){const P=T||{};return P.type=A,P.start=S(),u.events.push(["enter",P,u]),a.push(P),P}function j(A){const T=a.pop();return T.end=S(),u.events.push(["exit",T,u]),T}function U(A,T){$(A,T.from)}function y(A,T){T.restore()}function O(A,T){return P;function P(I,N,K){let Q,ie,pe,m;return Array.isArray(I)?fe(I):"tokenize"in I?fe([I]):le(I);function le(W){return De;function De(de){const Ce=de!==null&&W[de],Ee=de!==null&&W.null,Ye=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(Ee)?Ee:Ee?[Ee]:[]];return fe(Ye)(de)}}function fe(W){return Q=W,ie=0,W.length===0?K:d(W[ie])}function d(W){return De;function De(de){return m=R(),pe=W,W.partial||(u.currentConstruct=W),W.name&&u.parser.constructs.disable.null.includes(W.name)?ke():W.tokenize.call(T?Object.assign(Object.create(u),T):u,s,oe,ke)(de)}}function oe(W){return A(pe,m),N}function ke(W){return m.restore(),++ie<Q.length?d(Q[ie]):K}}}function $(A,T){A.resolveAll&&!l.includes(A)&&l.push(A),A.resolve&&ce(u.events,T,u.events.length-T,A.resolve(u.events.slice(T),u)),A.resolveTo&&(u.events=A.resolveTo(u.events,u))}function R(){const A=S(),T=u.previous,P=u.currentConstruct,I=u.events.length,N=Array.from(a);return{from:I,restore:K};function K(){r=A,u.previous=T,u.currentConstruct=P,u.events.length=I,a=N,B()}}function B(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function jo(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,l=n.end._bufferIndex;let o;if(t===i)o=[e[t].slice(r,l)];else{if(o=e.slice(t,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(e[i].slice(0,l))}return o}function Ho(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const l=e[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
|
|
3
3
|
`;break}case-3:{o=`\r
|
|
4
4
|
`;break}case-2:{o=n?" ":" ";break}case-1:{if(!n&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}function Uo(e){const r={constructs:Qi([Ro,...(e||{}).extensions||[]]),content:i(tl),defined:[],document:i(il),flow:i(Co),lazy:{},string:i(To),text:i(Po)};return r;function i(l){return o;function o(a){return Bo(r,l,a)}}}function Vo(e){for(;!or(e););return e}const St=/[\0\t\n\r]/g;function qo(){let e=1,n="",t=!0,r;return i;function i(l,o,a){const s=[];let u,c,f,h,p;for(l=n+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),f=0,n="",t&&(l.charCodeAt(0)===65279&&f++,t=void 0);f<l.length;){if(St.lastIndex=f,u=St.exec(l),h=u&&u.index!==void 0?u.index:l.length,p=l.charCodeAt(h),!u){n=l.slice(f);break}if(p===10&&f===h&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),f<h&&(s.push(l.slice(f,h)),e+=h-f),p){case 0:{s.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,s.push(-2);e++<c;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:r=!0,e=1}f=h+1}return a&&(r&&s.push(-5),n&&s.push(n),s.push(null)),s}}const $o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Yo(e){return e.replace($o,Ko)}function Ko(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return tr(t.slice(l?2:1),l?16:10)}return Mn(t)||e}const fr={}.hasOwnProperty;function Qo(e,n,t){return typeof n!="string"&&(t=n,n=void 0),Wo(t)(Vo(Uo(t).document().write(qo()(e,n,!0))))}function Wo(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Qn),autolinkProtocol:R,autolinkEmail:R,atxHeading:l($n),blockQuote:l(Ee),characterEscape:R,characterReference:R,codeFenced:l(Ye),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(Ye,o),codeText:l(Cr,o),codeTextData:R,data:R,codeFlowValue:R,definition:l(Er),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(Ir),hardBreakEscape:l(Yn),hardBreakTrailing:l(Yn),htmlFlow:l(Kn,o),htmlFlowData:R,htmlText:l(Kn,o),htmlTextData:R,image:l(Tr),label:o,link:l(Qn),listItem:l(Pr),listItemValue:h,listOrdered:l(Wn,f),listUnordered:l(Wn),paragraph:l(Ar),reference:d,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l($n),strong:l(vr),thematicBreak:l(Lr)},exit:{atxHeading:s(),atxHeadingSequence:U,autolink:s(),autolinkEmail:Ce,autolinkProtocol:de,blockQuote:s(),characterEscapeValue:B,characterReferenceMarkerHexadecimal:ke,characterReferenceMarkerNumeric:ke,characterReferenceValue:W,characterReference:De,codeFenced:s(z),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:S,codeFlowValue:B,codeIndented:s(k),codeText:s(N),codeTextData:B,data:B,definition:s(),definitionDestinationString:j,definitionLabelString:v,definitionTitleString:E,emphasis:s(),hardBreakEscape:s(T),hardBreakTrailing:s(T),htmlFlow:s(P),htmlFlowData:B,htmlText:s(I),htmlTextData:B,image:s(Q),label:pe,labelText:ie,lineEnding:A,link:s(K),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:oe,resourceDestinationString:m,resourceTitleString:le,resource:fe,setextHeading:s($),setextHeadingLineSequence:O,setextHeadingText:y,strong:s(),thematicBreak:s()}};hr(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(g){let w={type:"root",children:[]};const D={stack:[w],tokenStack:[],config:n,enter:a,exit:u,buffer:o,resume:c,data:t},_=[];let H=-1;for(;++H<g.length;)if(g[H][1].type==="listOrdered"||g[H][1].type==="listUnordered")if(g[H][0]==="enter")_.push(H);else{const ae=_.pop();H=i(g,ae,H)}for(H=-1;++H<g.length;){const ae=n[g[H][0]];fr.call(ae,g[H][1].type)&&ae[g[H][1].type].call(Object.assign({sliceSerialize:g[H][2].sliceSerialize},D),g[H][1])}if(D.tokenStack.length>0){const ae=D.tokenStack[D.tokenStack.length-1];(ae[1]||Ct).call(D,void 0,ae[0])}for(w.position={start:ye(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:ye(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},H=-1;++H<n.transforms.length;)w=n.transforms[H](w)||w;return w}function i(g,w,D){let _=w-1,H=-1,ae=!1,be,he,Fe,_e;for(;++_<=D;){const ee=g[_];switch(ee[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ee[0]==="enter"?H++:H--,_e=void 0;break}case"lineEndingBlank":{ee[0]==="enter"&&(be&&!_e&&!H&&!Fe&&(Fe=_),_e=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:_e=void 0}if(!H&&ee[0]==="enter"&&ee[1].type==="listItemPrefix"||H===-1&&ee[0]==="exit"&&(ee[1].type==="listUnordered"||ee[1].type==="listOrdered")){if(be){let Ie=_;for(he=void 0;Ie--;){const me=g[Ie];if(me[1].type==="lineEnding"||me[1].type==="lineEndingBlank"){if(me[0]==="exit")continue;he&&(g[he][1].type="lineEndingBlank",ae=!0),me[1].type="lineEnding",he=Ie}else if(!(me[1].type==="linePrefix"||me[1].type==="blockQuotePrefix"||me[1].type==="blockQuotePrefixWhitespace"||me[1].type==="blockQuoteMarker"||me[1].type==="listItemIndent"))break}Fe&&(!he||Fe<he)&&(be._spread=!0),be.end=Object.assign({},he?g[he][1].start:ee[1].end),g.splice(he||_,0,["exit",be,ee[2]]),_++,D++}if(ee[1].type==="listItemPrefix"){const Ie={type:"listItem",_spread:!1,start:Object.assign({},ee[1].start),end:void 0};be=Ie,g.splice(_,0,["enter",Ie,ee[2]]),_++,D++,Fe=void 0,_e=!0}}}return g[w][1]._spread=ae,D}function l(g,w){return D;function D(_){a.call(this,g(_),_),w&&w.call(this,_)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(g,w,D){this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([w,D||void 0]),g.position={start:ye(w.start),end:void 0}}function s(g){return w;function w(D){g&&g.call(this,D),u.call(this,D)}}function u(g,w){const D=this.stack.pop(),_=this.tokenStack.pop();if(_)_[0].type!==g.type&&(w?w.call(this,g,_[0]):(_[1]||Ct).call(this,g,_[0]));else throw new Error("Cannot close `"+g.type+"` ("+je({start:g.start,end:g.end})+"): it’s not open");D.position.end=ye(g.end)}function c(){return Yi(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function h(g){if(this.data.expectingFirstListItemValue){const w=this.stack[this.stack.length-2];w.start=Number.parseInt(this.sliceSerialize(g),10),this.data.expectingFirstListItemValue=void 0}}function p(){const g=this.resume(),w=this.stack[this.stack.length-1];w.lang=g}function S(){const g=this.resume(),w=this.stack[this.stack.length-1];w.meta=g}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function z(){const g=this.resume(),w=this.stack[this.stack.length-1];w.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const g=this.resume(),w=this.stack[this.stack.length-1];w.value=g.replace(/(\r?\n|\r)$/g,"")}function v(g){const w=this.resume(),D=this.stack[this.stack.length-1];D.label=w,D.identifier=ze(this.sliceSerialize(g)).toLowerCase()}function E(){const g=this.resume(),w=this.stack[this.stack.length-1];w.title=g}function j(){const g=this.resume(),w=this.stack[this.stack.length-1];w.url=g}function U(g){const w=this.stack[this.stack.length-1];if(!w.depth){const D=this.sliceSerialize(g).length;w.depth=D}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function O(g){const w=this.stack[this.stack.length-1];w.depth=this.sliceSerialize(g).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function R(g){const D=this.stack[this.stack.length-1].children;let _=D[D.length-1];(!_||_.type!=="text")&&(_=zr(),_.position={start:ye(g.start),end:void 0},D.push(_)),this.stack.push(_)}function B(g){const w=this.stack.pop();w.value+=this.sliceSerialize(g),w.position.end=ye(g.end)}function A(g){const w=this.stack[this.stack.length-1];if(this.data.atHardBreak){const D=w.children[w.children.length-1];D.position.end=ye(g.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(w.type)&&(R.call(this,g),B.call(this,g))}function T(){this.data.atHardBreak=!0}function P(){const g=this.resume(),w=this.stack[this.stack.length-1];w.value=g}function I(){const g=this.resume(),w=this.stack[this.stack.length-1];w.value=g}function N(){const g=this.resume(),w=this.stack[this.stack.length-1];w.value=g}function K(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const w=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=w,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function Q(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const w=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=w,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function ie(g){const w=this.sliceSerialize(g),D=this.stack[this.stack.length-2];D.label=Yo(w),D.identifier=ze(w).toLowerCase()}function pe(){const g=this.stack[this.stack.length-1],w=this.resume(),D=this.stack[this.stack.length-1];if(this.data.inReference=!0,D.type==="link"){const _=g.children;D.children=_}else D.alt=w}function m(){const g=this.resume(),w=this.stack[this.stack.length-1];w.url=g}function le(){const g=this.resume(),w=this.stack[this.stack.length-1];w.title=g}function fe(){this.data.inReference=void 0}function d(){this.data.referenceType="collapsed"}function oe(g){const w=this.resume(),D=this.stack[this.stack.length-1];D.label=w,D.identifier=ze(this.sliceSerialize(g)).toLowerCase(),this.data.referenceType="full"}function ke(g){this.data.characterReferenceType=g.type}function W(g){const w=this.sliceSerialize(g),D=this.data.characterReferenceType;let _;D?(_=tr(w,D==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_=Mn(w);const H=this.stack[this.stack.length-1];H.value+=_}function De(g){const w=this.stack.pop();w.position.end=ye(g.end)}function de(g){B.call(this,g);const w=this.stack[this.stack.length-1];w.url=this.sliceSerialize(g)}function Ce(g){B.call(this,g);const w=this.stack[this.stack.length-1];w.url="mailto:"+this.sliceSerialize(g)}function Ee(){return{type:"blockquote",children:[]}}function Ye(){return{type:"code",lang:null,meta:null,value:""}}function Cr(){return{type:"inlineCode",value:""}}function Er(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ir(){return{type:"emphasis",children:[]}}function $n(){return{type:"heading",depth:0,children:[]}}function Yn(){return{type:"break"}}function Kn(){return{type:"html",value:""}}function Tr(){return{type:"image",title:null,url:"",alt:null}}function Qn(){return{type:"link",title:null,url:"",children:[]}}function Wn(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function Pr(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function Ar(){return{type:"paragraph",children:[]}}function vr(){return{type:"strong",children:[]}}function zr(){return{type:"text",value:""}}function Lr(){return{type:"thematicBreak"}}}function ye(e){return{line:e.line,column:e.column,offset:e.offset}}function hr(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?hr(e,r):Xo(e,r)}}function Xo(e,n){let t;for(t in n)if(fr.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function Ct(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+je({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+je({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+je({start:n.start,end:n.end})+") is still open")}function Go(e){const n=this;n.parser=t;function t(r){return Qo(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function Jo(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function Zo(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:`
|